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.
5046 5047 5048 5049 5050 5051 |
# File 'lib/v20180317/models.rb', line 5046 def initialize(loadbalancerid=nil, vip=nil, listeners=nil, region=nil) @LoadBalancerId = loadbalancerid @Vip = vip @Listeners = listeners @Region = region end |
Instance Attribute Details
#Listeners ⇒ Object
5044 5045 5046 |
# File 'lib/v20180317/models.rb', line 5044 def Listeners @Listeners end |
#LoadBalancerId ⇒ Object
5044 5045 5046 |
# File 'lib/v20180317/models.rb', line 5044 def LoadBalancerId @LoadBalancerId end |
#Region ⇒ Object
5044 5045 5046 |
# File 'lib/v20180317/models.rb', line 5044 def Region @Region end |
#Vip ⇒ Object
5044 5045 5046 |
# File 'lib/v20180317/models.rb', line 5044 def Vip @Vip end |
Instance Method Details
#deserialize(params) ⇒ Object
5053 5054 5055 5056 5057 5058 5059 5060 5061 5062 5063 5064 5065 |
# File 'lib/v20180317/models.rb', line 5053 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 |