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.
10207 10208 10209 10210 10211 |
# File 'lib/v20170320/models.rb', line 10207 def initialize(instanceid=nil, newpassword=nil, accounts=nil) @InstanceId = instanceid @NewPassword = newpassword @Accounts = accounts end |
Instance Attribute Details
#Accounts ⇒ Object
10205 10206 10207 |
# File 'lib/v20170320/models.rb', line 10205 def Accounts @Accounts end |
#InstanceId ⇒ Object
10205 10206 10207 |
# File 'lib/v20170320/models.rb', line 10205 def InstanceId @InstanceId end |
#NewPassword ⇒ Object
10205 10206 10207 |
# File 'lib/v20170320/models.rb', line 10205 def NewPassword @NewPassword end |
Instance Method Details
#deserialize(params) ⇒ Object
10213 10214 10215 10216 10217 10218 10219 10220 10221 10222 10223 10224 |
# File 'lib/v20170320/models.rb', line 10213 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 |