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.
12400 12401 12402 12403 12404 12405 12406 12407 12408 |
# File 'lib/v20170320/models.rb', line 12400 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
12398 12399 12400 |
# File 'lib/v20170320/models.rb', line 12398 def Connection @Connection end |
#Cpu ⇒ Object
12398 12399 12400 |
# File 'lib/v20170320/models.rb', line 12398 def Cpu @Cpu end |
#Mem ⇒ Object
12398 12399 12400 |
# File 'lib/v20170320/models.rb', line 12398 def Mem @Mem end |
#ProxyId ⇒ Object
12398 12399 12400 |
# File 'lib/v20170320/models.rb', line 12398 def ProxyId @ProxyId end |
#Region ⇒ Object
12398 12399 12400 |
# File 'lib/v20170320/models.rb', line 12398 def Region @Region end |
#Status ⇒ Object
12398 12399 12400 |
# File 'lib/v20170320/models.rb', line 12398 def Status @Status end |
#Zone ⇒ Object
12398 12399 12400 |
# File 'lib/v20170320/models.rb', line 12398 def Zone @Zone end |
Instance Method Details
#deserialize(params) ⇒ Object
12410 12411 12412 12413 12414 12415 12416 12417 12418 |
# File 'lib/v20170320/models.rb', line 12410 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 |