Class: TencentCloud::Sqlserver::V20180328::AccountPassword

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

Overview

实例账号密码信息

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(username = nil, password = nil, encryptedversion = nil) ⇒ AccountPassword

Returns a new instance of AccountPassword.



157
158
159
160
161
# File 'lib/v20180328/models.rb', line 157

def initialize(username=nil, password=nil, encryptedversion=nil)
  @UserName = username
  @Password = password
  @EncryptedVersion = encryptedversion
end

Instance Attribute Details

#EncryptedVersionObject

Parameters:

  • UserName:

    用户名

  • Password:

    密码

  • EncryptedVersion:

    加密密钥版本号,0表示不使用加密



155
156
157
# File 'lib/v20180328/models.rb', line 155

def EncryptedVersion
  @EncryptedVersion
end

#PasswordObject

Parameters:

  • UserName:

    用户名

  • Password:

    密码

  • EncryptedVersion:

    加密密钥版本号,0表示不使用加密



155
156
157
# File 'lib/v20180328/models.rb', line 155

def Password
  @Password
end

#UserNameObject

Parameters:

  • UserName:

    用户名

  • Password:

    密码

  • EncryptedVersion:

    加密密钥版本号,0表示不使用加密



155
156
157
# File 'lib/v20180328/models.rb', line 155

def UserName
  @UserName
end

Instance Method Details

#deserialize(params) ⇒ Object



163
164
165
166
167
# File 'lib/v20180328/models.rb', line 163

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