Class: TencentCloud::Tse::V20201207::ModifyUpstreamNodeStatusRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tse::V20201207::ModifyUpstreamNodeStatusRequest
- Defined in:
- lib/v20201207/models.rb
Overview
ModifyUpstreamNodeStatus请求参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(gatewayid = nil, servicename = nil, host = nil, port = nil, status = nil) ⇒ ModifyUpstreamNodeStatusRequest
constructor
A new instance of ModifyUpstreamNodeStatusRequest.
Constructor Details
#initialize(gatewayid = nil, servicename = nil, host = nil, port = nil, status = nil) ⇒ ModifyUpstreamNodeStatusRequest
Returns a new instance of ModifyUpstreamNodeStatusRequest.
10612 10613 10614 10615 10616 10617 10618 |
# File 'lib/v20201207/models.rb', line 10612 def initialize(gatewayid=nil, servicename=nil, host=nil, port=nil, status=nil) @GatewayId = gatewayid @ServiceName = servicename @Host = host @Port = port @Status = status end |
Instance Attribute Details
#GatewayId ⇒ Object
10610 10611 10612 |
# File 'lib/v20201207/models.rb', line 10610 def GatewayId @GatewayId end |
#Host ⇒ Object
10610 10611 10612 |
# File 'lib/v20201207/models.rb', line 10610 def Host @Host end |
#Port ⇒ Object
10610 10611 10612 |
# File 'lib/v20201207/models.rb', line 10610 def Port @Port end |
#ServiceName ⇒ Object
10610 10611 10612 |
# File 'lib/v20201207/models.rb', line 10610 def ServiceName @ServiceName end |
#Status ⇒ Object
10610 10611 10612 |
# File 'lib/v20201207/models.rb', line 10610 def Status @Status end |
Instance Method Details
#deserialize(params) ⇒ Object
10620 10621 10622 10623 10624 10625 10626 |
# File 'lib/v20201207/models.rb', line 10620 def deserialize(params) @GatewayId = params['GatewayId'] @ServiceName = params['ServiceName'] @Host = params['Host'] @Port = params['Port'] @Status = params['Status'] end |