public class AccountInfo extends AbstractModel
Constructor and Description |
---|
AccountInfo() |
Modifier and Type | Method and Description |
---|---|
Long |
getAccountType()
Get 用户账号类型(默认开通 QQ 开放账号、手机号,手机 MD5 账号类型查询。如需使用微信开放账号,则需要 提交工单 由腾讯云进行资格审核,审核通过后方可正常使用微信开放账号):
1:QQ开放账号。
2:微信开放账号。
4:手机号(暂仅支持国内手机号)。
8:设备号(imei/imeiMD5/idfa/idfaMd5)。
0:其他。
10004:手机号MD5(标准中国大陆手机号11位,MD5后取32位小写值)
|
OtherAccountInfo |
getOtherAccount()
Get 其它账号信息,AccountType是0、4、8或10004时,该字段必填。
|
QQAccountInfo |
getQQAccount()
Get QQ账号信息,AccountType是1时,该字段必填。
|
WeChatAccountInfo |
getWeChatAccount()
Get 微信账号信息,AccountType是2时,该字段必填。
|
void |
setAccountType(Long AccountType)
Set 用户账号类型(默认开通 QQ 开放账号、手机号,手机 MD5 账号类型查询。如需使用微信开放账号,则需要 提交工单 由腾讯云进行资格审核,审核通过后方可正常使用微信开放账号):
1:QQ开放账号。
2:微信开放账号。
4:手机号(暂仅支持国内手机号)。
8:设备号(imei/imeiMD5/idfa/idfaMd5)。
0:其他。
10004:手机号MD5(标准中国大陆手机号11位,MD5后取32位小写值)
|
void |
setOtherAccount(OtherAccountInfo OtherAccount)
Set 其它账号信息,AccountType是0、4、8或10004时,该字段必填。
|
void |
setQQAccount(QQAccountInfo QQAccount)
Set QQ账号信息,AccountType是1时,该字段必填。
|
void |
setWeChatAccount(WeChatAccountInfo WeChatAccount)
Set 微信账号信息,AccountType是2时,该字段必填。
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, getMultipartRequestParams, set, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, toJsonString
public Long getAccountType()
public void setAccountType(Long AccountType)
AccountType
- 用户账号类型(默认开通 QQ 开放账号、手机号,手机 MD5 账号类型查询。如需使用微信开放账号,则需要 提交工单 由腾讯云进行资格审核,审核通过后方可正常使用微信开放账号):
1:QQ开放账号。
2:微信开放账号。
4:手机号(暂仅支持国内手机号)。
8:设备号(imei/imeiMD5/idfa/idfaMd5)。
0:其他。
10004:手机号MD5(标准中国大陆手机号11位,MD5后取32位小写值)public QQAccountInfo getQQAccount()
public void setQQAccount(QQAccountInfo QQAccount)
QQAccount
- QQ账号信息,AccountType是1时,该字段必填。public WeChatAccountInfo getWeChatAccount()
public void setWeChatAccount(WeChatAccountInfo WeChatAccount)
WeChatAccount
- 微信账号信息,AccountType是2时,该字段必填。public OtherAccountInfo getOtherAccount()
public void setOtherAccount(OtherAccountInfo OtherAccount)
OtherAccount
- 其它账号信息,AccountType是0、4、8或10004时,该字段必填。Copyright © 2020. All rights reserved.