Class: TencentCloud::Cdb::V20170320::ModifyAccountPasswordRequest
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cdb::V20170320::ModifyAccountPasswordRequest
- Defined in:
- lib/v20170320/models.rb
Overview
ModifyAccountPassword请求参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(instanceid = nil, newpassword = nil, accounts = nil) ⇒ ModifyAccountPasswordRequest
constructor
A new instance of ModifyAccountPasswordRequest.
Constructor Details
#initialize(instanceid = nil, newpassword = nil, accounts = nil) ⇒ ModifyAccountPasswordRequest
Returns a new instance of ModifyAccountPasswordRequest.
10045 10046 10047 10048 10049 |
# File 'lib/v20170320/models.rb', line 10045 def initialize(instanceid=nil, newpassword=nil, accounts=nil) @InstanceId = instanceid @NewPassword = newpassword @Accounts = accounts end |
Instance Attribute Details
#Accounts ⇒ Object
10043 10044 10045 |
# File 'lib/v20170320/models.rb', line 10043 def Accounts @Accounts end |
#InstanceId ⇒ Object
10043 10044 10045 |
# File 'lib/v20170320/models.rb', line 10043 def InstanceId @InstanceId end |
#NewPassword ⇒ Object
10043 10044 10045 |
# File 'lib/v20170320/models.rb', line 10043 def NewPassword @NewPassword end |
Instance Method Details
#deserialize(params) ⇒ Object
10051 10052 10053 10054 10055 10056 10057 10058 10059 10060 10061 10062 |
# File 'lib/v20170320/models.rb', line 10051 def deserialize(params) @InstanceId = params['InstanceId'] @NewPassword = params['NewPassword'] unless params['Accounts'].nil? @Accounts = [] params['Accounts'].each do |i| account_tmp = Account.new account_tmp.deserialize(i) @Accounts << account_tmp end end end |