Class: TencentCloud::Cdb::V20170320::ProxyInst
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cdb::V20170320::ProxyInst
- Defined in:
- lib/v20170320/models.rb
Overview
代理实例
Instance Attribute Summary collapse
- #InstanceId ⇒ Object
- #InstanceName ⇒ Object
- #InstanceType ⇒ Object
- #InstNodeId ⇒ Object
- #InstNodeRole ⇒ Object
- #Region ⇒ Object
- #Status ⇒ Object
- #Weight ⇒ Object
- #Zone ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(instanceid = nil, instancename = nil, instancetype = nil, status = nil, weight = nil, region = nil, zone = nil, instnodeid = nil, instnoderole = nil) ⇒ ProxyInst
constructor
A new instance of ProxyInst.
Constructor Details
#initialize(instanceid = nil, instancename = nil, instancetype = nil, status = nil, weight = nil, region = nil, zone = nil, instnodeid = nil, instnoderole = nil) ⇒ ProxyInst
Returns a new instance of ProxyInst.
12356 12357 12358 12359 12360 12361 12362 12363 12364 12365 12366 |
# File 'lib/v20170320/models.rb', line 12356 def initialize(instanceid=nil, instancename=nil, instancetype=nil, status=nil, weight=nil, region=nil, zone=nil, instnodeid=nil, instnoderole=nil) @InstanceId = instanceid @InstanceName = instancename @InstanceType = instancetype @Status = status @Weight = weight @Region = region @Zone = zone @InstNodeId = instnodeid @InstNodeRole = instnoderole end |
Instance Attribute Details
#InstanceId ⇒ Object
12354 12355 12356 |
# File 'lib/v20170320/models.rb', line 12354 def InstanceId @InstanceId end |
#InstanceName ⇒ Object
12354 12355 12356 |
# File 'lib/v20170320/models.rb', line 12354 def InstanceName @InstanceName end |
#InstanceType ⇒ Object
12354 12355 12356 |
# File 'lib/v20170320/models.rb', line 12354 def InstanceType @InstanceType end |
#InstNodeId ⇒ Object
12354 12355 12356 |
# File 'lib/v20170320/models.rb', line 12354 def InstNodeId @InstNodeId end |
#InstNodeRole ⇒ Object
12354 12355 12356 |
# File 'lib/v20170320/models.rb', line 12354 def InstNodeRole @InstNodeRole end |
#Region ⇒ Object
12354 12355 12356 |
# File 'lib/v20170320/models.rb', line 12354 def Region @Region end |
#Status ⇒ Object
12354 12355 12356 |
# File 'lib/v20170320/models.rb', line 12354 def Status @Status end |
#Weight ⇒ Object
12354 12355 12356 |
# File 'lib/v20170320/models.rb', line 12354 def Weight @Weight end |
#Zone ⇒ Object
12354 12355 12356 |
# File 'lib/v20170320/models.rb', line 12354 def Zone @Zone end |
Instance Method Details
#deserialize(params) ⇒ Object
12368 12369 12370 12371 12372 12373 12374 12375 12376 12377 12378 |
# File 'lib/v20170320/models.rb', line 12368 def deserialize(params) @InstanceId = params['InstanceId'] @InstanceName = params['InstanceName'] @InstanceType = params['InstanceType'] @Status = params['Status'] @Weight = params['Weight'] @Region = params['Region'] @Zone = params['Zone'] @InstNodeId = params['InstNodeId'] @InstNodeRole = params['InstNodeRole'] end |