Class: TencentCloud::Cynosdb::V20190107::ModifyAccountHostRequest

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

Overview

ModifyAccountHost请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(clusterid = nil, newhost = nil, account = nil) ⇒ ModifyAccountHostRequest

Returns a new instance of ModifyAccountHostRequest.



9554
9555
9556
9557
9558
# File 'lib/v20190107/models.rb', line 9554

def initialize(clusterid=nil, newhost=nil, =nil)
  @ClusterId = clusterid
  @NewHost = newhost
  @Account = 
end

Instance Attribute Details

#AccountObject

Parameters:

  • ClusterId:

    集群id

  • NewHost:

    新主机

  • Account:

    账号信息



9552
9553
9554
# File 'lib/v20190107/models.rb', line 9552

def 
  @Account
end

#ClusterIdObject

Parameters:

  • ClusterId:

    集群id

  • NewHost:

    新主机

  • Account:

    账号信息



9552
9553
9554
# File 'lib/v20190107/models.rb', line 9552

def ClusterId
  @ClusterId
end

#NewHostObject

Parameters:

  • ClusterId:

    集群id

  • NewHost:

    新主机

  • Account:

    账号信息



9552
9553
9554
# File 'lib/v20190107/models.rb', line 9552

def NewHost
  @NewHost
end

Instance Method Details

#deserialize(params) ⇒ Object



9560
9561
9562
9563
9564
9565
9566
9567
# File 'lib/v20190107/models.rb', line 9560

def deserialize(params)
  @ClusterId = params['ClusterId']
  @NewHost = params['NewHost']
  unless params['Account'].nil?
    @Account = InputAccount.new
    @Account.deserialize(params['Account'])
  end
end