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.
12091 12092 12093 12094 12095 |
# File 'lib/v20180228/models.rb', line 12091 def initialize(totalcount=nil, effecthostlist=nil, requestid=nil) @TotalCount = totalcount @EffectHostList = effecthostlist @RequestId = requestid end |
Instance Attribute Details
#EffectHostList ⇒ Object
12089 12090 12091 |
# File 'lib/v20180228/models.rb', line 12089 def EffectHostList @EffectHostList end |
#RequestId ⇒ Object
12089 12090 12091 |
# File 'lib/v20180228/models.rb', line 12089 def RequestId @RequestId end |
#TotalCount ⇒ Object
12089 12090 12091 |
# File 'lib/v20180228/models.rb', line 12089 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
12097 12098 12099 12100 12101 12102 12103 12104 12105 12106 12107 12108 |
# File 'lib/v20180228/models.rb', line 12097 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 |