Class: TencentCloud::Postgres::V20170312::CreateAccountRequest

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

Overview

CreateAccount请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(dbinstanceid = nil, username = nil, type = nil, password = nil, remark = nil, opencam = nil) ⇒ CreateAccountRequest



674
675
676
677
678
679
680
681
# File 'lib/v20170312/models.rb', line 674

def initialize(dbinstanceid=nil, username=nil, type=nil, password=nil, remark=nil, opencam=nil)
  @DBInstanceId = dbinstanceid
  @UserName = username
  @Type = type
  @Password = password
  @Remark = remark
  @OpenCam = opencam
end

Instance Attribute Details

#DBInstanceIdObject

小写字母 a ~ z 大写字母 A ~ Z 数字 0 ~ 9 特殊字符 ()‘~!@#$%^&*-+=_|{}[]:<>,.?/



672
673
674
# File 'lib/v20170312/models.rb', line 672

def DBInstanceId
  @DBInstanceId
end

#OpenCamObject

小写字母 a ~ z 大写字母 A ~ Z 数字 0 ~ 9 特殊字符 ()‘~!@#$%^&*-+=_|{}[]:<>,.?/



672
673
674
# File 'lib/v20170312/models.rb', line 672

def OpenCam
  @OpenCam
end

#PasswordObject

小写字母 a ~ z 大写字母 A ~ Z 数字 0 ~ 9 特殊字符 ()‘~!@#$%^&*-+=_|{}[]:<>,.?/



672
673
674
# File 'lib/v20170312/models.rb', line 672

def Password
  @Password
end

#RemarkObject

小写字母 a ~ z 大写字母 A ~ Z 数字 0 ~ 9 特殊字符 ()‘~!@#$%^&*-+=_|{}[]:<>,.?/



672
673
674
# File 'lib/v20170312/models.rb', line 672

def Remark
  @Remark
end

#TypeObject

小写字母 a ~ z 大写字母 A ~ Z 数字 0 ~ 9 特殊字符 ()‘~!@#$%^&*-+=_|{}[]:<>,.?/



672
673
674
# File 'lib/v20170312/models.rb', line 672

def Type
  @Type
end

#UserNameObject

小写字母 a ~ z 大写字母 A ~ Z 数字 0 ~ 9 特殊字符 ()‘~!@#$%^&*-+=_|{}[]:<>,.?/



672
673
674
# File 'lib/v20170312/models.rb', line 672

def UserName
  @UserName
end

Instance Method Details

#deserialize(params) ⇒ Object



683
684
685
686
687
688
689
690
# File 'lib/v20170312/models.rb', line 683

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