All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.aliyun.sdk.service.dytnsapi20200217.models.DescribePhoneNumberOperatorAttributeRequest Maven / Gradle / Ivy

// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.dytnsapi20200217.models;

import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;

/**
 * 
 * {@link DescribePhoneNumberOperatorAttributeRequest} extends {@link RequestModel}
 *
 * 

DescribePhoneNumberOperatorAttributeRequest

*/ public class DescribePhoneNumberOperatorAttributeRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("AuthCode") @com.aliyun.core.annotation.Validation(required = true) private String authCode; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("FlowName") private String flowName; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("InputNumber") @com.aliyun.core.annotation.Validation(required = true) private String inputNumber; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Mask") @com.aliyun.core.annotation.Validation(required = true) private String mask; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("OwnerId") private Long ownerId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("ResourceOwnerAccount") private String resourceOwnerAccount; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("ResourceOwnerId") private Long resourceOwnerId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("ResultCount") private String resultCount; private DescribePhoneNumberOperatorAttributeRequest(Builder builder) { super(builder); this.authCode = builder.authCode; this.flowName = builder.flowName; this.inputNumber = builder.inputNumber; this.mask = builder.mask; this.ownerId = builder.ownerId; this.resourceOwnerAccount = builder.resourceOwnerAccount; this.resourceOwnerId = builder.resourceOwnerId; this.resultCount = builder.resultCount; } public static Builder builder() { return new Builder(); } public static DescribePhoneNumberOperatorAttributeRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return authCode */ public String getAuthCode() { return this.authCode; } /** * @return flowName */ public String getFlowName() { return this.flowName; } /** * @return inputNumber */ public String getInputNumber() { return this.inputNumber; } /** * @return mask */ public String getMask() { return this.mask; } /** * @return ownerId */ public Long getOwnerId() { return this.ownerId; } /** * @return resourceOwnerAccount */ public String getResourceOwnerAccount() { return this.resourceOwnerAccount; } /** * @return resourceOwnerId */ public Long getResourceOwnerId() { return this.resourceOwnerId; } /** * @return resultCount */ public String getResultCount() { return this.resultCount; } public static final class Builder extends Request.Builder { private String authCode; private String flowName; private String inputNumber; private String mask; private Long ownerId; private String resourceOwnerAccount; private Long resourceOwnerId; private String resultCount; private Builder() { super(); } private Builder(DescribePhoneNumberOperatorAttributeRequest request) { super(request); this.authCode = request.authCode; this.flowName = request.flowName; this.inputNumber = request.inputNumber; this.mask = request.mask; this.ownerId = request.ownerId; this.resourceOwnerAccount = request.resourceOwnerAccount; this.resourceOwnerId = request.resourceOwnerId; this.resultCount = request.resultCount; } /** *

The authorization code.

*
*

On the My Applications page in the Cell Phone Number Service console, you can obtain the authorization code (also known as authorization ID).

*
*

This parameter is required.

* * example: *

Dd1r***4id

*/ public Builder authCode(String authCode) { this.putQueryParameter("AuthCode", authCode); this.authCode = authCode; return this; } /** * FlowName. */ public Builder flowName(String flowName) { this.putQueryParameter("FlowName", flowName); this.flowName = flowName; return this; } /** *

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.

* * example: *

139****1234

*/ public Builder inputNumber(String inputNumber) { this.putQueryParameter("InputNumber", inputNumber); this.inputNumber = inputNumber; return this; } /** *

The encryption method of the phone number. Valid values:

*
    *
  • NORMAL: The phone number is not encrypted.
  • *
  • MD5: The phone number is MD5-encrypted.
  • *
  • SHA256: The phone number is SHA256-encrypted.
  • *
*
*

Letters in the string must be uppercase.

*
*

This parameter is required.

* * example: *

MD5

*/ public Builder mask(String mask) { this.putQueryParameter("Mask", mask); this.mask = mask; return this; } /** * OwnerId. */ public Builder ownerId(Long ownerId) { this.putQueryParameter("OwnerId", ownerId); this.ownerId = ownerId; return this; } /** * ResourceOwnerAccount. */ public Builder resourceOwnerAccount(String resourceOwnerAccount) { this.putQueryParameter("ResourceOwnerAccount", resourceOwnerAccount); this.resourceOwnerAccount = resourceOwnerAccount; return this; } /** * ResourceOwnerId. */ public Builder resourceOwnerId(Long resourceOwnerId) { this.putQueryParameter("ResourceOwnerId", resourceOwnerId); this.resourceOwnerId = resourceOwnerId; return this; } /** * ResultCount. */ public Builder resultCount(String resultCount) { this.putQueryParameter("ResultCount", resultCount); this.resultCount = resultCount; return this; } @Override public DescribePhoneNumberOperatorAttributeRequest build() { return new DescribePhoneNumberOperatorAttributeRequest(this); } } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy