Class: TencentCloud::Cwp::V20180228::DescribeBaselineEffectHostListResponse
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cwp::V20180228::DescribeBaselineEffectHostListResponse
- Defined in:
- lib/v20180228/models.rb
Overview
DescribeBaselineEffectHostList返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(totalcount = nil, effecthostlist = nil, requestid = nil) ⇒ DescribeBaselineEffectHostListResponse
constructor
A new instance of DescribeBaselineEffectHostListResponse.
Constructor Details
#initialize(totalcount = nil, effecthostlist = nil, requestid = nil) ⇒ DescribeBaselineEffectHostListResponse
Returns a new instance of DescribeBaselineEffectHostListResponse.
12012 12013 12014 12015 12016 |
# File 'lib/v20180228/models.rb', line 12012 def initialize(totalcount=nil, effecthostlist=nil, requestid=nil) @TotalCount = totalcount @EffectHostList = effecthostlist @RequestId = requestid end |
Instance Attribute Details
#EffectHostList ⇒ Object
12010 12011 12012 |
# File 'lib/v20180228/models.rb', line 12010 def EffectHostList @EffectHostList end |
#RequestId ⇒ Object
12010 12011 12012 |
# File 'lib/v20180228/models.rb', line 12010 def RequestId @RequestId end |
#TotalCount ⇒ Object
12010 12011 12012 |
# File 'lib/v20180228/models.rb', line 12010 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
12018 12019 12020 12021 12022 12023 12024 12025 12026 12027 12028 12029 |
# File 'lib/v20180228/models.rb', line 12018 def deserialize(params) @TotalCount = params['TotalCount'] unless params['EffectHostList'].nil? @EffectHostList = [] params['EffectHostList'].each do |i| baselineeffecthost_tmp = BaselineEffectHost.new baselineeffecthost_tmp.deserialize(i) @EffectHostList << baselineeffecthost_tmp end end @RequestId = params['RequestId'] end |