public class PhoneNumberStatusForSmsRequest
extends com.aliyun.tea.TeaModel
限定符和类型 | 字段和说明 |
---|---|
String |
authCode
The authorization code.
|
String |
inputNumber
The phone number to be queried.
|
String |
mask
The encryption method of the phone number.
|
Long |
ownerId |
String |
resourceOwnerAccount |
Long |
resourceOwnerId |
构造器和说明 |
---|
PhoneNumberStatusForSmsRequest() |
限定符和类型 | 方法和说明 |
---|---|
static PhoneNumberStatusForSmsRequest |
build(Map<String,?> map) |
String |
getAuthCode() |
String |
getInputNumber() |
String |
getMask() |
Long |
getOwnerId() |
String |
getResourceOwnerAccount() |
Long |
getResourceOwnerId() |
PhoneNumberStatusForSmsRequest |
setAuthCode(String authCode) |
PhoneNumberStatusForSmsRequest |
setInputNumber(String inputNumber) |
PhoneNumberStatusForSmsRequest |
setMask(String mask) |
PhoneNumberStatusForSmsRequest |
setOwnerId(Long ownerId) |
PhoneNumberStatusForSmsRequest |
setResourceOwnerAccount(String resourceOwnerAccount) |
PhoneNumberStatusForSmsRequest |
setResourceOwnerId(Long resourceOwnerId) |
@NameInMap(value="AuthCode") public String authCode
The authorization code.
> On the **My Applications** page in the [Cell Phone Number Service console](https://dytns.console.aliyun.com/analysis/apply), you can obtain the authorization code (also known as authorization ID).
This parameter is required.
@NameInMap(value="InputNumber") public String inputNumber
The phone number to be queried.
* If the value of Mask is NORMAL, specify an 11-digit phone number in plaintext.
* If the value of Mask is MD5, specify a 32-bit string that is encrypted by using MD5.
* If the value of Mask is SHA256, specify a 64-bit string that is encrypted by using SHA256.
> Letters in the encrypted strings are not case-sensitive.
This parameter is required.
@NameInMap(value="Mask") public String mask
The encryption method of the phone number. Valid values:
* **NORMAL**: plaintext
* **MD5**
* **SHA256**
This parameter is required.
@NameInMap(value="OwnerId") public Long ownerId
@NameInMap(value="ResourceOwnerAccount") public String resourceOwnerAccount
@NameInMap(value="ResourceOwnerId") public Long resourceOwnerId
public static PhoneNumberStatusForSmsRequest build(Map<String,?> map) throws Exception
Exception
public PhoneNumberStatusForSmsRequest setAuthCode(String authCode)
public String getAuthCode()
public PhoneNumberStatusForSmsRequest setInputNumber(String inputNumber)
public String getInputNumber()
public PhoneNumberStatusForSmsRequest setMask(String mask)
public String getMask()
public PhoneNumberStatusForSmsRequest setOwnerId(Long ownerId)
public Long getOwnerId()
public PhoneNumberStatusForSmsRequest setResourceOwnerAccount(String resourceOwnerAccount)
public String getResourceOwnerAccount()
public PhoneNumberStatusForSmsRequest setResourceOwnerId(Long resourceOwnerId)
public Long getResourceOwnerId()
Copyright © 2024. All rights reserved.