Class: TencentCloud::Cdb::V20170320::DeleteAccountsRequest

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

Overview

DeleteAccounts请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(instanceid = nil, accounts = nil) ⇒ DeleteAccountsRequest

Returns a new instance of DeleteAccountsRequest.



3861
3862
3863
3864
# File 'lib/v20170320/models.rb', line 3861

def initialize(instanceid=nil, accounts=nil)
  @InstanceId = instanceid
  @Accounts = accounts
end

Instance Attribute Details

#AccountsObject

Parameters:

  • InstanceId:

    实例 ID,格式如:cdb-c1nl9rpv,与云数据库控制台页面中显示的实例 ID 相同。

  • Accounts:

    云数据库账号。



3859
3860
3861
# File 'lib/v20170320/models.rb', line 3859

def Accounts
  @Accounts
end

#InstanceIdObject

Parameters:

  • InstanceId:

    实例 ID,格式如:cdb-c1nl9rpv,与云数据库控制台页面中显示的实例 ID 相同。

  • Accounts:

    云数据库账号。



3859
3860
3861
# File 'lib/v20170320/models.rb', line 3859

def InstanceId
  @InstanceId
end

Instance Method Details

#deserialize(params) ⇒ Object



3866
3867
3868
3869
3870
3871
3872
3873
3874
3875
3876
# File 'lib/v20170320/models.rb', line 3866

def deserialize(params)
  @InstanceId = params['InstanceId']
  unless params['Accounts'].nil?
    @Accounts = []
    params['Accounts'].each do |i|
       = .new
      .deserialize(i)
      @Accounts << 
    end
  end
end