Class: TencentCloud::Clb::V20180317::DescribeListenersResponse
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Clb::V20180317::DescribeListenersResponse
- Defined in:
- lib/v20180317/models.rb
Overview
DescribeListeners返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(listeners = nil, totalcount = nil, requestid = nil) ⇒ DescribeListenersResponse
constructor
A new instance of DescribeListenersResponse.
Constructor Details
#initialize(listeners = nil, totalcount = nil, requestid = nil) ⇒ DescribeListenersResponse
Returns a new instance of DescribeListenersResponse.
3323 3324 3325 3326 3327 |
# File 'lib/v20180317/models.rb', line 3323 def initialize(listeners=nil, totalcount=nil, requestid=nil) @Listeners = listeners @TotalCount = totalcount @RequestId = requestid end |
Instance Attribute Details
#Listeners ⇒ Object
3321 3322 3323 |
# File 'lib/v20180317/models.rb', line 3321 def Listeners @Listeners end |
#RequestId ⇒ Object
3321 3322 3323 |
# File 'lib/v20180317/models.rb', line 3321 def RequestId @RequestId end |
#TotalCount ⇒ Object
3321 3322 3323 |
# File 'lib/v20180317/models.rb', line 3321 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
3329 3330 3331 3332 3333 3334 3335 3336 3337 3338 3339 3340 |
# File 'lib/v20180317/models.rb', line 3329 def deserialize(params) unless params['Listeners'].nil? @Listeners = [] params['Listeners'].each do |i| listener_tmp = Listener.new listener_tmp.deserialize(i) @Listeners << listener_tmp end end @TotalCount = params['TotalCount'] @RequestId = params['RequestId'] end |