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
5128 5129 5130 5131 5132 5133 |
# File 'lib/v20180317/models.rb', line 5128 def initialize(loadbalancerid=nil, vip=nil, listeners=nil, region=nil) @LoadBalancerId = loadbalancerid @Vip = vip @Listeners = listeners @Region = region end |
Instance Attribute Details
#Listeners ⇒ Object
5126 5127 5128 |
# File 'lib/v20180317/models.rb', line 5126 def Listeners @Listeners end |
#LoadBalancerId ⇒ Object
5126 5127 5128 |
# File 'lib/v20180317/models.rb', line 5126 def LoadBalancerId @LoadBalancerId end |
#Region ⇒ Object
5126 5127 5128 |
# File 'lib/v20180317/models.rb', line 5126 def Region @Region end |
#Vip ⇒ Object
5126 5127 5128 |
# File 'lib/v20180317/models.rb', line 5126 def Vip @Vip end |
Instance Method Details
#deserialize(params) ⇒ Object
5135 5136 5137 5138 5139 5140 5141 5142 5143 5144 5145 5146 5147 |
# File 'lib/v20180317/models.rb', line 5135 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 |