public class DescribePhoneNumberOnlineTimeRequest
extends com.aliyun.tea.TeaModel
限定符和类型 | 字段和说明 |
---|---|
String |
authCode
The authorization code.
|
String |
carrier
The carrier.
|
String |
inputNumber
The phone number to be queried.
|
String |
mask
The encryption method of the phone number.
|
Long |
ownerId |
String |
resourceOwnerAccount |
Long |
resourceOwnerId |
构造器和说明 |
---|
DescribePhoneNumberOnlineTimeRequest() |
限定符和类型 | 方法和说明 |
---|---|
static DescribePhoneNumberOnlineTimeRequest |
build(Map<String,?> map) |
String |
getAuthCode() |
String |
getCarrier() |
String |
getInputNumber() |
String |
getMask() |
Long |
getOwnerId() |
String |
getResourceOwnerAccount() |
Long |
getResourceOwnerId() |
DescribePhoneNumberOnlineTimeRequest |
setAuthCode(String authCode) |
DescribePhoneNumberOnlineTimeRequest |
setCarrier(String carrier) |
DescribePhoneNumberOnlineTimeRequest |
setInputNumber(String inputNumber) |
DescribePhoneNumberOnlineTimeRequest |
setMask(String mask) |
DescribePhoneNumberOnlineTimeRequest |
setOwnerId(Long ownerId) |
DescribePhoneNumberOnlineTimeRequest |
setResourceOwnerAccount(String resourceOwnerAccount) |
DescribePhoneNumberOnlineTimeRequest |
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="Carrier") public String carrier
The carrier. Valid values:
* **MOBILE**: China Mobile
* **UNICOM**: China Unicom
* **TELECOM**: China Telecom
> Alibaba Cloud automatically determines the carrier based on the carrier who assigns the phone number. Therefore, the value of this field does not affect the query result.
@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**: The phone number is not encrypted.
* **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 DescribePhoneNumberOnlineTimeRequest build(Map<String,?> map) throws Exception
Exception
public DescribePhoneNumberOnlineTimeRequest setAuthCode(String authCode)
public String getAuthCode()
public DescribePhoneNumberOnlineTimeRequest setCarrier(String carrier)
public String getCarrier()
public DescribePhoneNumberOnlineTimeRequest setInputNumber(String inputNumber)
public String getInputNumber()
public DescribePhoneNumberOnlineTimeRequest setMask(String mask)
public String getMask()
public DescribePhoneNumberOnlineTimeRequest setOwnerId(Long ownerId)
public Long getOwnerId()
public DescribePhoneNumberOnlineTimeRequest setResourceOwnerAccount(String resourceOwnerAccount)
public String getResourceOwnerAccount()
public DescribePhoneNumberOnlineTimeRequest setResourceOwnerId(Long resourceOwnerId)
public Long getResourceOwnerId()
Copyright © 2024. All rights reserved.