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
4946 4947 4948 4949 4950 4951 |
# File 'lib/v20180317/models.rb', line 4946 def initialize(loadbalancerid=nil, vip=nil, listeners=nil, region=nil) @LoadBalancerId = loadbalancerid @Vip = vip @Listeners = listeners @Region = region end |
Instance Attribute Details
#Listeners ⇒ Object
4944 4945 4946 |
# File 'lib/v20180317/models.rb', line 4944 def Listeners @Listeners end |
#LoadBalancerId ⇒ Object
4944 4945 4946 |
# File 'lib/v20180317/models.rb', line 4944 def LoadBalancerId @LoadBalancerId end |
#Region ⇒ Object
4944 4945 4946 |
# File 'lib/v20180317/models.rb', line 4944 def Region @Region end |
#Vip ⇒ Object
4944 4945 4946 |
# File 'lib/v20180317/models.rb', line 4944 def Vip @Vip end |
Instance Method Details
#deserialize(params) ⇒ Object
4953 4954 4955 4956 4957 4958 4959 4960 4961 4962 4963 4964 4965 |
# File 'lib/v20180317/models.rb', line 4953 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 |