Class: TencentCloud::Bmlb::V20180625::DevicesBindInfoLoadBalancer
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Bmlb::V20180625::DevicesBindInfoLoadBalancer
- Defined in:
- lib/v20180625/models.rb
Overview
获取设备绑定信息时返回的设备被绑定所在的负载均衡信息。
Instance Attribute Summary collapse
- #AppId ⇒ Object
- #Exclusive ⇒ Object
- #L4ListenerSet ⇒ Object
- #L7ListenerSet ⇒ Object
- #LoadBalancerId ⇒ Object
- #ProjectId ⇒ Object
- #TgwSetType ⇒ Object
- #Vip ⇒ Object
- #VpcId ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(loadbalancerid = nil, appid = nil, projectid = nil, vpcid = nil, vip = nil, tgwsettype = nil, exclusive = nil, l4listenerset = nil, l7listenerset = nil) ⇒ DevicesBindInfoLoadBalancer
constructor
A new instance of DevicesBindInfoLoadBalancer.
Constructor Details
#initialize(loadbalancerid = nil, appid = nil, projectid = nil, vpcid = nil, vip = nil, tgwsettype = nil, exclusive = nil, l4listenerset = nil, l7listenerset = nil) ⇒ DevicesBindInfoLoadBalancer
Returns a new instance of DevicesBindInfoLoadBalancer.
2218 2219 2220 2221 2222 2223 2224 2225 2226 2227 2228 |
# File 'lib/v20180625/models.rb', line 2218 def initialize(loadbalancerid=nil, appid=nil, projectid=nil, vpcid=nil, vip=nil, tgwsettype=nil, exclusive=nil, l4listenerset=nil, l7listenerset=nil) @LoadBalancerId = loadbalancerid @AppId = appid @ProjectId = projectid @VpcId = vpcid @Vip = vip @TgwSetType = tgwsettype @Exclusive = exclusive @L4ListenerSet = l4listenerset @L7ListenerSet = l7listenerset end |
Instance Attribute Details
#AppId ⇒ Object
2216 2217 2218 |
# File 'lib/v20180625/models.rb', line 2216 def AppId @AppId end |
#Exclusive ⇒ Object
2216 2217 2218 |
# File 'lib/v20180625/models.rb', line 2216 def Exclusive @Exclusive end |
#L4ListenerSet ⇒ Object
2216 2217 2218 |
# File 'lib/v20180625/models.rb', line 2216 def L4ListenerSet @L4ListenerSet end |
#L7ListenerSet ⇒ Object
2216 2217 2218 |
# File 'lib/v20180625/models.rb', line 2216 def L7ListenerSet @L7ListenerSet end |
#LoadBalancerId ⇒ Object
2216 2217 2218 |
# File 'lib/v20180625/models.rb', line 2216 def LoadBalancerId @LoadBalancerId end |
#ProjectId ⇒ Object
2216 2217 2218 |
# File 'lib/v20180625/models.rb', line 2216 def ProjectId @ProjectId end |
#TgwSetType ⇒ Object
2216 2217 2218 |
# File 'lib/v20180625/models.rb', line 2216 def TgwSetType @TgwSetType end |
#Vip ⇒ Object
2216 2217 2218 |
# File 'lib/v20180625/models.rb', line 2216 def Vip @Vip end |
#VpcId ⇒ Object
2216 2217 2218 |
# File 'lib/v20180625/models.rb', line 2216 def VpcId @VpcId end |
Instance Method Details
#deserialize(params) ⇒ Object
2230 2231 2232 2233 2234 2235 2236 2237 2238 2239 2240 2241 2242 2243 2244 2245 2246 2247 2248 2249 2250 2251 2252 2253 2254 |
# File 'lib/v20180625/models.rb', line 2230 def deserialize(params) @LoadBalancerId = params['LoadBalancerId'] @AppId = params['AppId'] @ProjectId = params['ProjectId'] @VpcId = params['VpcId'] @Vip = params['Vip'] @TgwSetType = params['TgwSetType'] @Exclusive = params['Exclusive'] unless params['L4ListenerSet'].nil? @L4ListenerSet = [] params['L4ListenerSet'].each do |i| devicesbindinfol4listener_tmp = DevicesBindInfoL4Listener.new devicesbindinfol4listener_tmp.deserialize(i) @L4ListenerSet << devicesbindinfol4listener_tmp end end unless params['L7ListenerSet'].nil? @L7ListenerSet = [] params['L7ListenerSet'].each do |i| devicesbindinfol7listener_tmp = DevicesBindInfoL7Listener.new devicesbindinfol7listener_tmp.deserialize(i) @L7ListenerSet << devicesbindinfol7listener_tmp end end end |