Class: TencentCloud::Clb::V20180317::DescribeCrossTargetsResponse

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

Overview

DescribeCrossTargets返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(totalcount = nil, crosstargetset = nil, requestid = nil) ⇒ DescribeCrossTargetsResponse

Returns a new instance of DescribeCrossTargetsResponse.



2902
2903
2904
2905
2906
# File 'lib/v20180317/models.rb', line 2902

def initialize(totalcount=nil, crosstargetset=nil, requestid=nil)
  @TotalCount = totalcount
  @CrossTargetSet = crosstargetset
  @RequestId = requestid
end

Instance Attribute Details

#CrossTargetSetObject

Parameters:

  • TotalCount:

    后端服务列表总数。

  • CrossTargetSet:

    后端服务列表。

  • RequestId:

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



2900
2901
2902
# File 'lib/v20180317/models.rb', line 2900

def CrossTargetSet
  @CrossTargetSet
end

#RequestIdObject

Parameters:

  • TotalCount:

    后端服务列表总数。

  • CrossTargetSet:

    后端服务列表。

  • RequestId:

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



2900
2901
2902
# File 'lib/v20180317/models.rb', line 2900

def RequestId
  @RequestId
end

#TotalCountObject

Parameters:

  • TotalCount:

    后端服务列表总数。

  • CrossTargetSet:

    后端服务列表。

  • RequestId:

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



2900
2901
2902
# File 'lib/v20180317/models.rb', line 2900

def TotalCount
  @TotalCount
end

Instance Method Details

#deserialize(params) ⇒ Object



2908
2909
2910
2911
2912
2913
2914
2915
2916
2917
2918
2919
# File 'lib/v20180317/models.rb', line 2908

def deserialize(params)
  @TotalCount = params['TotalCount']
  unless params['CrossTargetSet'].nil?
    @CrossTargetSet = []
    params['CrossTargetSet'].each do |i|
      crosstargets_tmp = CrossTargets.new
      crosstargets_tmp.deserialize(i)
      @CrossTargetSet << crosstargets_tmp
    end
  end
  @RequestId = params['RequestId']
end