Class: TencentCloud::Bmlb::V20180625::ModifyL4BackendPortRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Bmlb::V20180625::ModifyL4BackendPortRequest
- Defined in:
- lib/v20180625/models.rb
Overview
ModifyL4BackendPort请求参数结构体
Instance Attribute Summary collapse
- #BindType ⇒ Object
- #InstanceId ⇒ Object
- #ListenerId ⇒ Object
- #LoadBalancerId ⇒ Object
- #NewPort ⇒ Object
- #Port ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(loadbalancerid = nil, listenerid = nil, instanceid = nil, port = nil, newport = nil, bindtype = nil) ⇒ ModifyL4BackendPortRequest
constructor
A new instance of ModifyL4BackendPortRequest.
Constructor Details
#initialize(loadbalancerid = nil, listenerid = nil, instanceid = nil, port = nil, newport = nil, bindtype = nil) ⇒ ModifyL4BackendPortRequest
Returns a new instance of ModifyL4BackendPortRequest.
3285 3286 3287 3288 3289 3290 3291 3292 |
# File 'lib/v20180625/models.rb', line 3285 def initialize(loadbalancerid=nil, listenerid=nil, instanceid=nil, port=nil, newport=nil, bindtype=nil) @LoadBalancerId = loadbalancerid @ListenerId = listenerid @InstanceId = instanceid @Port = port @NewPort = newport @BindType = bindtype end |
Instance Attribute Details
#BindType ⇒ Object
3283 3284 3285 |
# File 'lib/v20180625/models.rb', line 3283 def BindType @BindType end |
#InstanceId ⇒ Object
3283 3284 3285 |
# File 'lib/v20180625/models.rb', line 3283 def InstanceId @InstanceId end |
#ListenerId ⇒ Object
3283 3284 3285 |
# File 'lib/v20180625/models.rb', line 3283 def ListenerId @ListenerId end |
#LoadBalancerId ⇒ Object
3283 3284 3285 |
# File 'lib/v20180625/models.rb', line 3283 def LoadBalancerId @LoadBalancerId end |
#NewPort ⇒ Object
3283 3284 3285 |
# File 'lib/v20180625/models.rb', line 3283 def NewPort @NewPort end |
#Port ⇒ Object
3283 3284 3285 |
# File 'lib/v20180625/models.rb', line 3283 def Port @Port end |
Instance Method Details
#deserialize(params) ⇒ Object
3294 3295 3296 3297 3298 3299 3300 3301 |
# File 'lib/v20180625/models.rb', line 3294 def deserialize(params) @LoadBalancerId = params['LoadBalancerId'] @ListenerId = params['ListenerId'] @InstanceId = params['InstanceId'] @Port = params['Port'] @NewPort = params['NewPort'] @BindType = params['BindType'] end |