Class: TencentCloud::Bmlb::V20180625::BindL4BackendsRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Bmlb::V20180625::BindL4BackendsRequest
- Defined in:
- lib/v20180625/models.rb
Overview
BindL4Backends请求参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(loadbalancerid = nil, listenerid = nil, backendset = nil, bindtype = nil) ⇒ BindL4BackendsRequest
constructor
A new instance of BindL4BackendsRequest.
Constructor Details
#initialize(loadbalancerid = nil, listenerid = nil, backendset = nil, bindtype = nil) ⇒ BindL4BackendsRequest
Returns a new instance of BindL4BackendsRequest.
61 62 63 64 65 66 |
# File 'lib/v20180625/models.rb', line 61 def initialize(loadbalancerid=nil, listenerid=nil, backendset=nil, bindtype=nil) @LoadBalancerId = loadbalancerid @ListenerId = listenerid @BackendSet = backendset @BindType = bindtype end |
Instance Attribute Details
#BackendSet ⇒ Object
59 60 61 |
# File 'lib/v20180625/models.rb', line 59 def BackendSet @BackendSet end |
#BindType ⇒ Object
59 60 61 |
# File 'lib/v20180625/models.rb', line 59 def BindType @BindType end |
#ListenerId ⇒ Object
59 60 61 |
# File 'lib/v20180625/models.rb', line 59 def ListenerId @ListenerId end |
#LoadBalancerId ⇒ Object
59 60 61 |
# File 'lib/v20180625/models.rb', line 59 def LoadBalancerId @LoadBalancerId end |
Instance Method Details
#deserialize(params) ⇒ Object
68 69 70 71 72 73 74 75 76 77 78 79 80 |
# File 'lib/v20180625/models.rb', line 68 def deserialize(params) @LoadBalancerId = params['LoadBalancerId'] @ListenerId = params['ListenerId'] unless params['BackendSet'].nil? @BackendSet = [] params['BackendSet'].each do |i| bindl4backend_tmp = BindL4Backend.new bindl4backend_tmp.deserialize(i) @BackendSet << bindl4backend_tmp end end @BindType = params['BindType'] end |