Class: TencentCloud::Bmlb::V20180625::ModifyL4BackendWeightRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Bmlb::V20180625::ModifyL4BackendWeightRequest
- Defined in:
- lib/v20180625/models.rb
Overview
ModifyL4BackendWeight请求参数结构体
Instance Attribute Summary collapse
- #BindType ⇒ Object
- #InstanceId ⇒ Object
- #ListenerId ⇒ Object
- #LoadBalancerId ⇒ Object
- #Port ⇒ Object
- #Weight ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(loadbalancerid = nil, listenerid = nil, instanceid = nil, weight = nil, port = nil, bindtype = nil) ⇒ ModifyL4BackendWeightRequest
constructor
A new instance of ModifyL4BackendWeightRequest.
Constructor Details
#initialize(loadbalancerid = nil, listenerid = nil, instanceid = nil, weight = nil, port = nil, bindtype = nil) ⇒ ModifyL4BackendWeightRequest
Returns a new instance of ModifyL4BackendWeightRequest.
3397 3398 3399 3400 3401 3402 3403 3404 |
# File 'lib/v20180625/models.rb', line 3397 def initialize(loadbalancerid=nil, listenerid=nil, instanceid=nil, weight=nil, port=nil, bindtype=nil) @LoadBalancerId = loadbalancerid @ListenerId = listenerid @InstanceId = instanceid @Weight = weight @Port = port @BindType = bindtype end |
Instance Attribute Details
#BindType ⇒ Object
3395 3396 3397 |
# File 'lib/v20180625/models.rb', line 3395 def BindType @BindType end |
#InstanceId ⇒ Object
3395 3396 3397 |
# File 'lib/v20180625/models.rb', line 3395 def InstanceId @InstanceId end |
#ListenerId ⇒ Object
3395 3396 3397 |
# File 'lib/v20180625/models.rb', line 3395 def ListenerId @ListenerId end |
#LoadBalancerId ⇒ Object
3395 3396 3397 |
# File 'lib/v20180625/models.rb', line 3395 def LoadBalancerId @LoadBalancerId end |
#Port ⇒ Object
3395 3396 3397 |
# File 'lib/v20180625/models.rb', line 3395 def Port @Port end |
#Weight ⇒ Object
3395 3396 3397 |
# File 'lib/v20180625/models.rb', line 3395 def Weight @Weight end |
Instance Method Details
#deserialize(params) ⇒ Object
3406 3407 3408 3409 3410 3411 3412 3413 |
# File 'lib/v20180625/models.rb', line 3406 def deserialize(params) @LoadBalancerId = params['LoadBalancerId'] @ListenerId = params['ListenerId'] @InstanceId = params['InstanceId'] @Weight = params['Weight'] @Port = params['Port'] @BindType = params['BindType'] end |