Class: TencentCloud::Bmlb::V20180625::UnbindL7BackendsRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Bmlb::V20180625::UnbindL7BackendsRequest
- Defined in:
- lib/v20180625/models.rb
Overview
UnbindL7Backends请求参数结构体
Instance Attribute Summary collapse
- #BackendSet ⇒ Object
- #BindType ⇒ Object
- #DomainId ⇒ Object
- #ListenerId ⇒ Object
- #LoadBalancerId ⇒ Object
- #LocationId ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(loadbalancerid = nil, listenerid = nil, domainid = nil, locationid = nil, backendset = nil, bindtype = nil) ⇒ UnbindL7BackendsRequest
constructor
A new instance of UnbindL7BackendsRequest.
Constructor Details
#initialize(loadbalancerid = nil, listenerid = nil, domainid = nil, locationid = nil, backendset = nil, bindtype = nil) ⇒ UnbindL7BackendsRequest
Returns a new instance of UnbindL7BackendsRequest.
4513 4514 4515 4516 4517 4518 4519 4520 |
# File 'lib/v20180625/models.rb', line 4513 def initialize(loadbalancerid=nil, listenerid=nil, domainid=nil, locationid=nil, backendset=nil, bindtype=nil) @LoadBalancerId = loadbalancerid @ListenerId = listenerid @DomainId = domainid @LocationId = locationid @BackendSet = backendset @BindType = bindtype end |
Instance Attribute Details
#BackendSet ⇒ Object
4511 4512 4513 |
# File 'lib/v20180625/models.rb', line 4511 def BackendSet @BackendSet end |
#BindType ⇒ Object
4511 4512 4513 |
# File 'lib/v20180625/models.rb', line 4511 def BindType @BindType end |
#DomainId ⇒ Object
4511 4512 4513 |
# File 'lib/v20180625/models.rb', line 4511 def DomainId @DomainId end |
#ListenerId ⇒ Object
4511 4512 4513 |
# File 'lib/v20180625/models.rb', line 4511 def ListenerId @ListenerId end |
#LoadBalancerId ⇒ Object
4511 4512 4513 |
# File 'lib/v20180625/models.rb', line 4511 def LoadBalancerId @LoadBalancerId end |
#LocationId ⇒ Object
4511 4512 4513 |
# File 'lib/v20180625/models.rb', line 4511 def LocationId @LocationId end |
Instance Method Details
#deserialize(params) ⇒ Object
4522 4523 4524 4525 4526 4527 4528 4529 4530 4531 4532 4533 4534 4535 4536 |
# File 'lib/v20180625/models.rb', line 4522 def deserialize(params) @LoadBalancerId = params['LoadBalancerId'] @ListenerId = params['ListenerId'] @DomainId = params['DomainId'] @LocationId = params['LocationId'] unless params['BackendSet'].nil? @BackendSet = [] params['BackendSet'].each do |i| unbindl7backend_tmp = UnbindL7Backend.new unbindl7backend_tmp.deserialize(i) @BackendSet << unbindl7backend_tmp end end @BindType = params['BindType'] end |