public class TwoElementsVerificationRequest
extends com.aliyun.tea.TeaModel
限定符和类型 | 字段和说明 |
---|---|
String |
authCode
The authorization code.
|
String |
inputNumber
The phone number to be verified.
|
String |
mask
The encryption method.
|
String |
name
The name to be verified.
|
Long |
ownerId |
String |
resourceOwnerAccount |
Long |
resourceOwnerId |
构造器和说明 |
---|
TwoElementsVerificationRequest() |
限定符和类型 | 方法和说明 |
---|---|
static TwoElementsVerificationRequest |
build(Map<String,?> map) |
String |
getAuthCode() |
String |
getInputNumber() |
String |
getMask() |
String |
getName() |
Long |
getOwnerId() |
String |
getResourceOwnerAccount() |
Long |
getResourceOwnerId() |
TwoElementsVerificationRequest |
setAuthCode(String authCode) |
TwoElementsVerificationRequest |
setInputNumber(String inputNumber) |
TwoElementsVerificationRequest |
setMask(String mask) |
TwoElementsVerificationRequest |
setName(String name) |
TwoElementsVerificationRequest |
setOwnerId(Long ownerId) |
TwoElementsVerificationRequest |
setResourceOwnerAccount(String resourceOwnerAccount) |
TwoElementsVerificationRequest |
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 verified.
* If the value of Mask is NORMAL, specify a value in plaintext for this field.
* If the value of Mask is MD5, specify a MD5-encrypted value for this field.
* If the value of Mask is SHA256, specify a SHA256-encrypted value for this field.
> Letters in the encrypted strings are not case-sensitive.
This parameter is required.
@NameInMap(value="Mask") public String mask
The encryption method. Valid values:
* **NORMAL**: plaintext
* **MD5**
* **SHA256**
This parameter is required.
@NameInMap(value="Name") public String name
The name to be verified.
* If the value of Mask is NORMAL, specify a value in plaintext for this field.
* If the value of Mask is MD5, specify a MD5-encrypted value for this field.
* If the value of Mask is SHA256, specify a SHA256-encrypted value for this field.
> Letters in the encrypted strings are not case-sensitive.
This parameter is required.
@NameInMap(value="OwnerId") public Long ownerId
@NameInMap(value="ResourceOwnerAccount") public String resourceOwnerAccount
@NameInMap(value="ResourceOwnerId") public Long resourceOwnerId
public static TwoElementsVerificationRequest build(Map<String,?> map) throws Exception
Exception
public TwoElementsVerificationRequest setAuthCode(String authCode)
public String getAuthCode()
public TwoElementsVerificationRequest setInputNumber(String inputNumber)
public String getInputNumber()
public TwoElementsVerificationRequest setMask(String mask)
public String getMask()
public TwoElementsVerificationRequest setName(String name)
public String getName()
public TwoElementsVerificationRequest setOwnerId(Long ownerId)
public Long getOwnerId()
public TwoElementsVerificationRequest setResourceOwnerAccount(String resourceOwnerAccount)
public String getResourceOwnerAccount()
public TwoElementsVerificationRequest setResourceOwnerId(Long resourceOwnerId)
public Long getResourceOwnerId()
Copyright © 2024. All rights reserved.