Class: TencentCloud::Bmlb::V20180625::BindL7BackendsRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Bmlb::V20180625::BindL7BackendsRequest
- Defined in:
- lib/v20180625/models.rb
Overview
BindL7Backends请求参数结构体
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) ⇒ BindL7BackendsRequest
constructor
A new instance of BindL7BackendsRequest.
Constructor Details
#initialize(loadbalancerid = nil, listenerid = nil, domainid = nil, locationid = nil, backendset = nil, bindtype = nil) ⇒ BindL7BackendsRequest
Returns a new instance of BindL7BackendsRequest.
144 145 146 147 148 149 150 151 |
# File 'lib/v20180625/models.rb', line 144 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
142 143 144 |
# File 'lib/v20180625/models.rb', line 142 def BackendSet @BackendSet end |
#BindType ⇒ Object
142 143 144 |
# File 'lib/v20180625/models.rb', line 142 def BindType @BindType end |
#DomainId ⇒ Object
142 143 144 |
# File 'lib/v20180625/models.rb', line 142 def DomainId @DomainId end |
#ListenerId ⇒ Object
142 143 144 |
# File 'lib/v20180625/models.rb', line 142 def ListenerId @ListenerId end |
#LoadBalancerId ⇒ Object
142 143 144 |
# File 'lib/v20180625/models.rb', line 142 def LoadBalancerId @LoadBalancerId end |
#LocationId ⇒ Object
142 143 144 |
# File 'lib/v20180625/models.rb', line 142 def LocationId @LocationId end |
Instance Method Details
#deserialize(params) ⇒ Object
153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 |
# File 'lib/v20180625/models.rb', line 153 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| bindl7backend_tmp = BindL7Backend.new bindl7backend_tmp.deserialize(i) @BackendSet << bindl7backend_tmp end end @BindType = params['BindType'] end |