Class: TencentCloud::Postgres::V20170312::ResetAccountPasswordRequest

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

Overview

ResetAccountPassword请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(dbinstanceid = nil, username = nil, password = nil) ⇒ ResetAccountPasswordRequest

Returns a new instance of ResetAccountPasswordRequest.



7112
7113
7114
7115
7116
# File 'lib/v20170312/models.rb', line 7112

def initialize(dbinstanceid=nil, username=nil, password=nil)
  @DBInstanceId = dbinstanceid
  @UserName = username
  @Password = password
end

Instance Attribute Details

#DBInstanceIdObject

密码设置规则如下:

  • 长度8~ 32位,推荐使用12位以上的密码

  • 不能以“ / ”开头

  • 必须包含以下四项:

    1. 小写字母a ~ z

    2. 大写字母 A ~ Z

    3. 数字 0 ~ 9

    4. 特殊字符 ()‘~!@#$%^&*-+=_|{}[]:<>,.?/

Parameters:



7110
7111
7112
# File 'lib/v20170312/models.rb', line 7110

def DBInstanceId
  @DBInstanceId
end

#PasswordObject

密码设置规则如下:

  • 长度8~ 32位,推荐使用12位以上的密码

  • 不能以“ / ”开头

  • 必须包含以下四项:

    1. 小写字母a ~ z

    2. 大写字母 A ~ Z

    3. 数字 0 ~ 9

    4. 特殊字符 ()‘~!@#$%^&*-+=_|{}[]:<>,.?/

Parameters:



7110
7111
7112
# File 'lib/v20170312/models.rb', line 7110

def Password
  @Password
end

#UserNameObject

密码设置规则如下:

  • 长度8~ 32位,推荐使用12位以上的密码

  • 不能以“ / ”开头

  • 必须包含以下四项:

    1. 小写字母a ~ z

    2. 大写字母 A ~ Z

    3. 数字 0 ~ 9

    4. 特殊字符 ()‘~!@#$%^&*-+=_|{}[]:<>,.?/

Parameters:



7110
7111
7112
# File 'lib/v20170312/models.rb', line 7110

def UserName
  @UserName
end

Instance Method Details

#deserialize(params) ⇒ Object



7118
7119
7120
7121
7122
# File 'lib/v20170312/models.rb', line 7118

def deserialize(params)
  @DBInstanceId = params['DBInstanceId']
  @UserName = params['UserName']
  @Password = params['Password']
end