Class: TencentCloud::Bmlb::V20180625::ModifyL7BackendWeightRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Bmlb::V20180625::ModifyL7BackendWeightRequest
- Defined in:
- lib/v20180625/models.rb
Overview
ModifyL7BackendWeight请求参数结构体
Instance Attribute Summary collapse
- #BindType ⇒ Object
- #DomainId ⇒ Object
- #InstanceId ⇒ Object
- #ListenerId ⇒ Object
- #LoadBalancerId ⇒ Object
- #LocationId ⇒ Object
- #Port ⇒ Object
- #Weight ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(loadbalancerid = nil, listenerid = nil, domainid = nil, locationid = nil, instanceid = nil, weight = nil, port = nil, bindtype = nil) ⇒ ModifyL7BackendWeightRequest
constructor
A new instance of ModifyL7BackendWeightRequest.
Constructor Details
#initialize(loadbalancerid = nil, listenerid = nil, domainid = nil, locationid = nil, instanceid = nil, weight = nil, port = nil, bindtype = nil) ⇒ ModifyL7BackendWeightRequest
Returns a new instance of ModifyL7BackendWeightRequest.
3621 3622 3623 3624 3625 3626 3627 3628 3629 3630 |
# File 'lib/v20180625/models.rb', line 3621 def initialize(loadbalancerid=nil, listenerid=nil, domainid=nil, locationid=nil, instanceid=nil, weight=nil, port=nil, bindtype=nil) @LoadBalancerId = loadbalancerid @ListenerId = listenerid @DomainId = domainid @LocationId = locationid @InstanceId = instanceid @Weight = weight @Port = port @BindType = bindtype end |
Instance Attribute Details
#BindType ⇒ Object
3619 3620 3621 |
# File 'lib/v20180625/models.rb', line 3619 def BindType @BindType end |
#DomainId ⇒ Object
3619 3620 3621 |
# File 'lib/v20180625/models.rb', line 3619 def DomainId @DomainId end |
#InstanceId ⇒ Object
3619 3620 3621 |
# File 'lib/v20180625/models.rb', line 3619 def InstanceId @InstanceId end |
#ListenerId ⇒ Object
3619 3620 3621 |
# File 'lib/v20180625/models.rb', line 3619 def ListenerId @ListenerId end |
#LoadBalancerId ⇒ Object
3619 3620 3621 |
# File 'lib/v20180625/models.rb', line 3619 def LoadBalancerId @LoadBalancerId end |
#LocationId ⇒ Object
3619 3620 3621 |
# File 'lib/v20180625/models.rb', line 3619 def LocationId @LocationId end |
#Port ⇒ Object
3619 3620 3621 |
# File 'lib/v20180625/models.rb', line 3619 def Port @Port end |
#Weight ⇒ Object
3619 3620 3621 |
# File 'lib/v20180625/models.rb', line 3619 def Weight @Weight end |
Instance Method Details
#deserialize(params) ⇒ Object
3632 3633 3634 3635 3636 3637 3638 3639 3640 3641 |
# File 'lib/v20180625/models.rb', line 3632 def deserialize(params) @LoadBalancerId = params['LoadBalancerId'] @ListenerId = params['ListenerId'] @DomainId = params['DomainId'] @LocationId = params['LocationId'] @InstanceId = params['InstanceId'] @Weight = params['Weight'] @Port = params['Port'] @BindType = params['BindType'] end |