Class: TencentCloud::Cwp::V20180228::DescribeBaselineEffectHostListResponse

Inherits:
TencentCloud::Common::AbstractModel
  • Object
show all
Defined in:
lib/v20180228/models.rb

Overview

DescribeBaselineEffectHostList返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#EffectHostListObject

Parameters:

  • 记录总数

  • 影响服务器列表

  • 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。



12010
12011
12012
# File 'lib/v20180228/models.rb', line 12010

def EffectHostList
  @EffectHostList
end

#RequestIdObject

Parameters:

  • 记录总数

  • 影响服务器列表

  • 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。



12010
12011
12012
# File 'lib/v20180228/models.rb', line 12010

def RequestId
  @RequestId
end

#TotalCountObject

Parameters:

  • 记录总数

  • 影响服务器列表

  • 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。



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