Class: TencentCloud::Rce::V20201103::AccountInfo
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Rce::V20201103::AccountInfo
- Defined in:
- lib/v20201103/models.rb
Overview
账号信息。
Instance Attribute Summary collapse
-
#AccountType ⇒ Object
1:QQ开放账号 2:微信开放账号 10004:手机号MD5,中国大陆11位手机号进行MD5加密,取32位小写值 10005:手机号SHA256,中国大陆11位手机号进行SHA256加密,取64位小写值.
-
#OtherAccount ⇒ Object
1:QQ开放账号 2:微信开放账号 10004:手机号MD5,中国大陆11位手机号进行MD5加密,取32位小写值 10005:手机号SHA256,中国大陆11位手机号进行SHA256加密,取64位小写值.
-
#QQAccount ⇒ Object
1:QQ开放账号 2:微信开放账号 10004:手机号MD5,中国大陆11位手机号进行MD5加密,取32位小写值 10005:手机号SHA256,中国大陆11位手机号进行SHA256加密,取64位小写值.
-
#WeChatAccount ⇒ Object
1:QQ开放账号 2:微信开放账号 10004:手机号MD5,中国大陆11位手机号进行MD5加密,取32位小写值 10005:手机号SHA256,中国大陆11位手机号进行SHA256加密,取64位小写值.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(accounttype = nil, qqaccount = nil, wechataccount = nil, otheraccount = nil) ⇒ AccountInfo
constructor
A new instance of AccountInfo.
Constructor Details
#initialize(accounttype = nil, qqaccount = nil, wechataccount = nil, otheraccount = nil) ⇒ AccountInfo
37 38 39 40 41 42 |
# File 'lib/v20201103/models.rb', line 37 def initialize(accounttype=nil, qqaccount=nil, wechataccount=nil, otheraccount=nil) @AccountType = accounttype @QQAccount = qqaccount @WeChatAccount = wechataccount @OtherAccount = otheraccount end |
Instance Attribute Details
#AccountType ⇒ Object
1:QQ开放账号2:微信开放账号10004:手机号MD5,中国大陆11位手机号进行MD5加密,取32位小写值10005:手机号SHA256,中国大陆11位手机号进行SHA256加密,取64位小写值
35 36 37 |
# File 'lib/v20201103/models.rb', line 35 def AccountType @AccountType end |
#OtherAccount ⇒ Object
1:QQ开放账号2:微信开放账号10004:手机号MD5,中国大陆11位手机号进行MD5加密,取32位小写值10005:手机号SHA256,中国大陆11位手机号进行SHA256加密,取64位小写值
35 36 37 |
# File 'lib/v20201103/models.rb', line 35 def OtherAccount @OtherAccount end |
#QQAccount ⇒ Object
1:QQ开放账号2:微信开放账号10004:手机号MD5,中国大陆11位手机号进行MD5加密,取32位小写值10005:手机号SHA256,中国大陆11位手机号进行SHA256加密,取64位小写值
35 36 37 |
# File 'lib/v20201103/models.rb', line 35 def QQAccount @QQAccount end |
#WeChatAccount ⇒ Object
1:QQ开放账号2:微信开放账号10004:手机号MD5,中国大陆11位手机号进行MD5加密,取32位小写值10005:手机号SHA256,中国大陆11位手机号进行SHA256加密,取64位小写值
35 36 37 |
# File 'lib/v20201103/models.rb', line 35 def WeChatAccount @WeChatAccount end |
Instance Method Details
#deserialize(params) ⇒ Object
44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 |
# File 'lib/v20201103/models.rb', line 44 def deserialize(params) @AccountType = params['AccountType'] unless params['QQAccount'].nil? @QQAccount = QQAccountInfo.new @QQAccount.deserialize(params['QQAccount']) end unless params['WeChatAccount'].nil? @WeChatAccount = WeChatAccountInfo.new @WeChatAccount.deserialize(params['WeChatAccount']) end unless params['OtherAccount'].nil? @OtherAccount = OtherAccountInfo.new @OtherAccount.deserialize(params['OtherAccount']) end end |