Class: TencentCloud::Cdb::V20170320::ProxyNode
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cdb::V20170320::ProxyNode
- Defined in:
- lib/v20170320/models.rb
Overview
代理节点
Instance Attribute Summary collapse
- #Connection ⇒ Object
- #Cpu ⇒ Object
- #Mem ⇒ Object
- #ProxyId ⇒ Object
- #Region ⇒ Object
- #Status ⇒ Object
- #Zone ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(proxyid = nil, cpu = nil, mem = nil, status = nil, zone = nil, region = nil, connection = nil) ⇒ ProxyNode
constructor
A new instance of ProxyNode.
Constructor Details
#initialize(proxyid = nil, cpu = nil, mem = nil, status = nil, zone = nil, region = nil, connection = nil) ⇒ ProxyNode
Returns a new instance of ProxyNode.
12527 12528 12529 12530 12531 12532 12533 12534 12535 |
# File 'lib/v20170320/models.rb', line 12527 def initialize(proxyid=nil, cpu=nil, mem=nil, status=nil, zone=nil, region=nil, connection=nil) @ProxyId = proxyid @Cpu = cpu @Mem = mem @Status = status @Zone = zone @Region = region @Connection = connection end |
Instance Attribute Details
#Connection ⇒ Object
12525 12526 12527 |
# File 'lib/v20170320/models.rb', line 12525 def Connection @Connection end |
#Cpu ⇒ Object
12525 12526 12527 |
# File 'lib/v20170320/models.rb', line 12525 def Cpu @Cpu end |
#Mem ⇒ Object
12525 12526 12527 |
# File 'lib/v20170320/models.rb', line 12525 def Mem @Mem end |
#ProxyId ⇒ Object
12525 12526 12527 |
# File 'lib/v20170320/models.rb', line 12525 def ProxyId @ProxyId end |
#Region ⇒ Object
12525 12526 12527 |
# File 'lib/v20170320/models.rb', line 12525 def Region @Region end |
#Status ⇒ Object
12525 12526 12527 |
# File 'lib/v20170320/models.rb', line 12525 def Status @Status end |
#Zone ⇒ Object
12525 12526 12527 |
# File 'lib/v20170320/models.rb', line 12525 def Zone @Zone end |
Instance Method Details
#deserialize(params) ⇒ Object
12537 12538 12539 12540 12541 12542 12543 12544 12545 |
# File 'lib/v20170320/models.rb', line 12537 def deserialize(params) @ProxyId = params['ProxyId'] @Cpu = params['Cpu'] @Mem = params['Mem'] @Status = params['Status'] @Zone = params['Zone'] @Region = params['Region'] @Connection = params['Connection'] end |