Class: TencentCloud::Mongodb::V20190725::ResetDBInstancePasswordRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Mongodb::V20190725::ResetDBInstancePasswordRequest
- Defined in:
- lib/v20190725/models.rb
Overview
ResetDBInstancePassword请求参数结构体
Instance Attribute Summary collapse
-
#InstanceId ⇒ Object
- 8-32个字符长度。 - 至少包含字母、数字和字符(!@#%^*()_)中的两种。.
-
#Password ⇒ Object
- 8-32个字符长度。 - 至少包含字母、数字和字符(!@#%^*()_)中的两种。.
-
#UserName ⇒ Object
- 8-32个字符长度。 - 至少包含字母、数字和字符(!@#%^*()_)中的两种。.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(instanceid = nil, username = nil, password = nil) ⇒ ResetDBInstancePasswordRequest
constructor
A new instance of ResetDBInstancePasswordRequest.
Constructor Details
#initialize(instanceid = nil, username = nil, password = nil) ⇒ ResetDBInstancePasswordRequest
Returns a new instance of ResetDBInstancePasswordRequest.
5546 5547 5548 5549 5550 |
# File 'lib/v20190725/models.rb', line 5546 def initialize(instanceid=nil, username=nil, password=nil) @InstanceId = instanceid @UserName = username @Password = password end |
Instance Attribute Details
#InstanceId ⇒ Object
- 8-32个字符长度。
- 至少包含字母、数字和字符(!@#%^*()_)中的两种。
5544 5545 5546 |
# File 'lib/v20190725/models.rb', line 5544 def InstanceId @InstanceId end |
#Password ⇒ Object
- 8-32个字符长度。
- 至少包含字母、数字和字符(!@#%^*()_)中的两种。
5544 5545 5546 |
# File 'lib/v20190725/models.rb', line 5544 def Password @Password end |
#UserName ⇒ Object
- 8-32个字符长度。
- 至少包含字母、数字和字符(!@#%^*()_)中的两种。
5544 5545 5546 |
# File 'lib/v20190725/models.rb', line 5544 def UserName @UserName end |
Instance Method Details
#deserialize(params) ⇒ Object
5552 5553 5554 5555 5556 |
# File 'lib/v20190725/models.rb', line 5552 def deserialize(params) @InstanceId = params['InstanceId'] @UserName = params['UserName'] @Password = params['Password'] end |