Class: TencentCloud::Clb::V20180317::DescribeTargetsResponse
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Clb::V20180317::DescribeTargetsResponse
- Defined in:
- lib/v20180317/models.rb
Overview
DescribeTargets返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(listeners = nil, requestid = nil) ⇒ DescribeTargetsResponse
constructor
A new instance of DescribeTargetsResponse.
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
#Listeners ⇒ Object
4239 4240 4241 |
# File 'lib/v20180317/models.rb', line 4239 def Listeners @Listeners end |
#RequestId ⇒ Object
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 |