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.



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

#EffectHostListObject

Parameters:

  • TotalCount:

    记录总数

  • EffectHostList:

    影响服务器列表

  • RequestId:

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



12089
12090
12091
# File 'lib/v20180228/models.rb', line 12089

def EffectHostList
  @EffectHostList
end

#RequestIdObject

Parameters:

  • TotalCount:

    记录总数

  • EffectHostList:

    影响服务器列表

  • RequestId:

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



12089
12090
12091
# File 'lib/v20180228/models.rb', line 12089

def RequestId
  @RequestId
end

#TotalCountObject

Parameters:

  • TotalCount:

    记录总数

  • EffectHostList:

    影响服务器列表

  • RequestId:

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



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