Class: TencentCloud::Clb::V20180317::DescribeTargetsResponse

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

Overview

DescribeTargets返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(listeners = nil, requestid = nil) ⇒ DescribeTargetsResponse

Returns a new instance of DescribeTargetsResponse.



4241
4242
4243
4244
# File 'lib/v20180317/models.rb', line 4241

def initialize(listeners=nil, requestid=nil)
  @Listeners = listeners
  @RequestId = requestid
end

Instance Attribute Details

#ListenersObject

Parameters:

  • Listeners:

    监听器后端绑定的机器信息。

  • RequestId:

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



4239
4240
4241
# File 'lib/v20180317/models.rb', line 4239

def Listeners
  @Listeners
end

#RequestIdObject

Parameters:

  • Listeners:

    监听器后端绑定的机器信息。

  • RequestId:

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



4239
4240
4241
# File 'lib/v20180317/models.rb', line 4239

def RequestId
  @RequestId
end

Instance Method Details

#deserialize(params) ⇒ Object



4246
4247
4248
4249
4250
4251
4252
4253
4254
4255
4256
# File 'lib/v20180317/models.rb', line 4246

def deserialize(params)
  unless params['Listeners'].nil?
    @Listeners = []
    params['Listeners'].each do |i|
      listenerbackend_tmp = ListenerBackend.new
      listenerbackend_tmp.deserialize(i)
      @Listeners << listenerbackend_tmp
    end
  end
  @RequestId = params['RequestId']
end