Class: TencentCloud::Cdb::V20170320::ProxyGroupInfo

Inherits:
TencentCloud::Common::AbstractModel
  • Object
show all
Defined in:
lib/v20170320/models.rb

Overview

代理组详情

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(proxygroupid = nil, proxyversion = nil, supportupgradeproxyversion = nil, status = nil, taskstatus = nil, proxynode = nil, proxyaddress = nil, connectionpoollimit = nil, supportcreateproxyaddress = nil, supportupgradeproxymysqlversion = nil) ⇒ ProxyGroupInfo



12292
12293
12294
12295
12296
12297
12298
12299
12300
12301
12302
12303
# File 'lib/v20170320/models.rb', line 12292

def initialize(proxygroupid=nil, proxyversion=nil, supportupgradeproxyversion=nil, status=nil, taskstatus=nil, proxynode=nil, proxyaddress=nil, connectionpoollimit=nil, supportcreateproxyaddress=nil, supportupgradeproxymysqlversion=nil)
  @ProxyGroupId = proxygroupid
  @ProxyVersion = proxyversion
  @SupportUpgradeProxyVersion = supportupgradeproxyversion
  @Status = status
  @TaskStatus = taskstatus
  @ProxyNode = proxynode
  @ProxyAddress = proxyaddress
  @ConnectionPoolLimit = connectionpoollimit
  @SupportCreateProxyAddress = supportcreateproxyaddress
  @SupportUpgradeProxyMysqlVersion = supportupgradeproxymysqlversion
end

Instance Attribute Details

#ConnectionPoolLimitObject



12290
12291
12292
# File 'lib/v20170320/models.rb', line 12290

def ConnectionPoolLimit
  @ConnectionPoolLimit
end

#ProxyAddressObject



12290
12291
12292
# File 'lib/v20170320/models.rb', line 12290

def ProxyAddress
  @ProxyAddress
end

#ProxyGroupIdObject



12290
12291
12292
# File 'lib/v20170320/models.rb', line 12290

def ProxyGroupId
  @ProxyGroupId
end

#ProxyNodeObject



12290
12291
12292
# File 'lib/v20170320/models.rb', line 12290

def ProxyNode
  @ProxyNode
end

#ProxyVersionObject



12290
12291
12292
# File 'lib/v20170320/models.rb', line 12290

def ProxyVersion
  @ProxyVersion
end

#StatusObject



12290
12291
12292
# File 'lib/v20170320/models.rb', line 12290

def Status
  @Status
end

#SupportCreateProxyAddressObject



12290
12291
12292
# File 'lib/v20170320/models.rb', line 12290

def SupportCreateProxyAddress
  @SupportCreateProxyAddress
end

#SupportUpgradeProxyMysqlVersionObject



12290
12291
12292
# File 'lib/v20170320/models.rb', line 12290

def SupportUpgradeProxyMysqlVersion
  @SupportUpgradeProxyMysqlVersion
end

#SupportUpgradeProxyVersionObject



12290
12291
12292
# File 'lib/v20170320/models.rb', line 12290

def SupportUpgradeProxyVersion
  @SupportUpgradeProxyVersion
end

#TaskStatusObject



12290
12291
12292
# File 'lib/v20170320/models.rb', line 12290

def TaskStatus
  @TaskStatus
end

Instance Method Details

#deserialize(params) ⇒ Object



12305
12306
12307
12308
12309
12310
12311
12312
12313
12314
12315
12316
12317
12318
12319
12320
12321
12322
12323
12324
12325
12326
12327
12328
12329
12330
# File 'lib/v20170320/models.rb', line 12305

def deserialize(params)
  @ProxyGroupId = params['ProxyGroupId']
  @ProxyVersion = params['ProxyVersion']
  @SupportUpgradeProxyVersion = params['SupportUpgradeProxyVersion']
  @Status = params['Status']
  @TaskStatus = params['TaskStatus']
  unless params['ProxyNode'].nil?
    @ProxyNode = []
    params['ProxyNode'].each do |i|
      proxynode_tmp = ProxyNode.new
      proxynode_tmp.deserialize(i)
      @ProxyNode << proxynode_tmp
    end
  end
  unless params['ProxyAddress'].nil?
    @ProxyAddress = []
    params['ProxyAddress'].each do |i|
      proxyaddress_tmp = ProxyAddress.new
      proxyaddress_tmp.deserialize(i)
      @ProxyAddress << proxyaddress_tmp
    end
  end
  @ConnectionPoolLimit = params['ConnectionPoolLimit']
  @SupportCreateProxyAddress = params['SupportCreateProxyAddress']
  @SupportUpgradeProxyMysqlVersion = params['SupportUpgradeProxyMysqlVersion']
end