Class: TencentCloud::Cdb::V20170320::DeleteAccountsRequest
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cdb::V20170320::DeleteAccountsRequest
- Defined in:
- lib/v20170320/models.rb
Overview
DeleteAccounts请求参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(instanceid = nil, accounts = nil) ⇒ DeleteAccountsRequest
constructor
A new instance of DeleteAccountsRequest.
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
#Accounts ⇒ Object
3859 3860 3861 |
# File 'lib/v20170320/models.rb', line 3859 def Accounts @Accounts end |
#InstanceId ⇒ Object
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| account_tmp = Account.new account_tmp.deserialize(i) @Accounts << account_tmp end end end |