Class: TencentCloud::Cwp::V20180228::DescribeScreenGeneralStatResponse
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cwp::V20180228::DescribeScreenGeneralStatResponse
- Defined in:
- lib/v20180228/models.rb
Overview
DescribeScreenGeneralStat返回参数结构体
Instance Attribute Summary collapse
-
#Machines ⇒ Object
value : 表示对应的数量 value : 表示对应的数量.
-
#Protection ⇒ Object
value : 表示对应的数量 value : 表示对应的数量.
-
#RequestId ⇒ Object
value : 表示对应的数量 value : 表示对应的数量.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(machines = nil, protection = nil, requestid = nil) ⇒ DescribeScreenGeneralStatResponse
constructor
A new instance of DescribeScreenGeneralStatResponse.
Constructor Details
#initialize(machines = nil, protection = nil, requestid = nil) ⇒ DescribeScreenGeneralStatResponse
Returns a new instance of DescribeScreenGeneralStatResponse.
21590 21591 21592 21593 21594 |
# File 'lib/v20180228/models.rb', line 21590 def initialize(machines=nil, protection=nil, requestid=nil) @Machines = machines @Protection = protection @RequestId = requestid end |
Instance Attribute Details
#Machines ⇒ Object
value : 表示对应的数量value : 表示对应的数量
21588 21589 21590 |
# File 'lib/v20180228/models.rb', line 21588 def Machines @Machines end |
#Protection ⇒ Object
value : 表示对应的数量value : 表示对应的数量
21588 21589 21590 |
# File 'lib/v20180228/models.rb', line 21588 def Protection @Protection end |
#RequestId ⇒ Object
value : 表示对应的数量value : 表示对应的数量
21588 21589 21590 |
# File 'lib/v20180228/models.rb', line 21588 def RequestId @RequestId end |
Instance Method Details
#deserialize(params) ⇒ Object
21596 21597 21598 21599 21600 21601 21602 21603 21604 21605 21606 21607 21608 21609 21610 21611 21612 21613 21614 |
# File 'lib/v20180228/models.rb', line 21596 def deserialize(params) unless params['Machines'].nil? @Machines = [] params['Machines'].each do |i| screennamevalue_tmp = ScreenNameValue.new screennamevalue_tmp.deserialize(i) @Machines << screennamevalue_tmp end end unless params['Protection'].nil? @Protection = [] params['Protection'].each do |i| screennamevalue_tmp = ScreenNameValue.new screennamevalue_tmp.deserialize(i) @Protection << screennamevalue_tmp end end @RequestId = params['RequestId'] end |