Class: TencentCloud::Cdb::V20170320::ModifyAccountDescriptionRequest

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

Overview

ModifyAccountDescription请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(instanceid = nil, accounts = nil, description = nil) ⇒ ModifyAccountDescriptionRequest



9895
9896
9897
9898
9899
# File 'lib/v20170320/models.rb', line 9895

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

Instance Attribute Details

#AccountsObject



9893
9894
9895
# File 'lib/v20170320/models.rb', line 9893

def Accounts
  @Accounts
end

#DescriptionObject



9893
9894
9895
# File 'lib/v20170320/models.rb', line 9893

def Description
  @Description
end

#InstanceIdObject



9893
9894
9895
# File 'lib/v20170320/models.rb', line 9893

def InstanceId
  @InstanceId
end

Instance Method Details

#deserialize(params) ⇒ Object



9901
9902
9903
9904
9905
9906
9907
9908
9909
9910
9911
9912
# File 'lib/v20170320/models.rb', line 9901

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