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.
21201 21202 21203 21204 21205 |
# File 'lib/v20180228/models.rb', line 21201 def initialize(machines=nil, protection=nil, requestid=nil) @Machines = machines @Protection = protection @RequestId = requestid end |
Instance Attribute Details
#Machines ⇒ Object
value : 表示对应的数量 value : 表示对应的数量
21199 21200 21201 |
# File 'lib/v20180228/models.rb', line 21199 def Machines @Machines end |
#Protection ⇒ Object
value : 表示对应的数量 value : 表示对应的数量
21199 21200 21201 |
# File 'lib/v20180228/models.rb', line 21199 def Protection @Protection end |
#RequestId ⇒ Object
value : 表示对应的数量 value : 表示对应的数量
21199 21200 21201 |
# File 'lib/v20180228/models.rb', line 21199 def RequestId @RequestId end |
Instance Method Details
#deserialize(params) ⇒ Object
21207 21208 21209 21210 21211 21212 21213 21214 21215 21216 21217 21218 21219 21220 21221 21222 21223 21224 21225 |
# File 'lib/v20180228/models.rb', line 21207 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 |