Class: TencentCloud::Clb::V20180317::LBItem
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Clb::V20180317::LBItem
- Defined in:
- lib/v20180317/models.rb
Overview
反查Lb绑定关系。
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(loadbalancerid = nil, vip = nil, listeners = nil, region = nil) ⇒ LBItem
constructor
A new instance of LBItem.
Constructor Details
#initialize(loadbalancerid = nil, vip = nil, listeners = nil, region = nil) ⇒ LBItem
Returns a new instance of LBItem.
5010 5011 5012 5013 5014 5015 |
# File 'lib/v20180317/models.rb', line 5010 def initialize(loadbalancerid=nil, vip=nil, listeners=nil, region=nil) @LoadBalancerId = loadbalancerid @Vip = vip @Listeners = listeners @Region = region end |
Instance Attribute Details
#Listeners ⇒ Object
5008 5009 5010 |
# File 'lib/v20180317/models.rb', line 5008 def Listeners @Listeners end |
#LoadBalancerId ⇒ Object
5008 5009 5010 |
# File 'lib/v20180317/models.rb', line 5008 def LoadBalancerId @LoadBalancerId end |
#Region ⇒ Object
5008 5009 5010 |
# File 'lib/v20180317/models.rb', line 5008 def Region @Region end |
#Vip ⇒ Object
5008 5009 5010 |
# File 'lib/v20180317/models.rb', line 5008 def Vip @Vip end |
Instance Method Details
#deserialize(params) ⇒ Object
5017 5018 5019 5020 5021 5022 5023 5024 5025 5026 5027 5028 5029 |
# File 'lib/v20180317/models.rb', line 5017 def deserialize(params) @LoadBalancerId = params['LoadBalancerId'] @Vip = params['Vip'] unless params['Listeners'].nil? @Listeners = [] params['Listeners'].each do |i| listeneritem_tmp = ListenerItem.new listeneritem_tmp.deserialize(i) @Listeners << listeneritem_tmp end end @Region = params['Region'] end |