Class: TencentCloud::Sqlserver::V20180328::ResetAccountPasswordRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Sqlserver::V20180328::ResetAccountPasswordRequest
- Defined in:
- lib/v20180328/models.rb
Overview
ResetAccountPassword请求参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(instanceid = nil, accounts = nil) ⇒ ResetAccountPasswordRequest
constructor
A new instance of ResetAccountPasswordRequest.
Constructor Details
#initialize(instanceid = nil, accounts = nil) ⇒ ResetAccountPasswordRequest
Returns a new instance of ResetAccountPasswordRequest.
10609 10610 10611 10612 |
# File 'lib/v20180328/models.rb', line 10609 def initialize(instanceid=nil, accounts=nil) @InstanceId = instanceid @Accounts = accounts end |
Instance Attribute Details
#Accounts ⇒ Object
10607 10608 10609 |
# File 'lib/v20180328/models.rb', line 10607 def Accounts @Accounts end |
#InstanceId ⇒ Object
10607 10608 10609 |
# File 'lib/v20180328/models.rb', line 10607 def InstanceId @InstanceId end |
Instance Method Details
#deserialize(params) ⇒ Object
10614 10615 10616 10617 10618 10619 10620 10621 10622 10623 10624 |
# File 'lib/v20180328/models.rb', line 10614 def deserialize(params) @InstanceId = params['InstanceId'] unless params['Accounts'].nil? @Accounts = [] params['Accounts'].each do |i| accountpassword_tmp = AccountPassword.new accountpassword_tmp.deserialize(i) @Accounts << accountpassword_tmp end end end |