
com.aliyun.sdk.service.dytnsapi20200217.models.UAIDCollectionRequest 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 UAIDCollectionRequest} extends {@link RequestModel}
*
* UAIDCollectionRequest
*/
public class UAIDCollectionRequest 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("Carrier")
private String carrier;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("Ip")
private String ip;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("OutId")
@com.aliyun.core.annotation.Validation(required = true)
private String outId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("OwnerId")
private Long ownerId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("Province")
private String province;
@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("Token")
@com.aliyun.core.annotation.Validation(required = true)
private String token;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("UserGrantId")
private String userGrantId;
private UAIDCollectionRequest(Builder builder) {
super(builder);
this.authCode = builder.authCode;
this.carrier = builder.carrier;
this.ip = builder.ip;
this.outId = builder.outId;
this.ownerId = builder.ownerId;
this.province = builder.province;
this.resourceOwnerAccount = builder.resourceOwnerAccount;
this.resourceOwnerId = builder.resourceOwnerId;
this.token = builder.token;
this.userGrantId = builder.userGrantId;
}
public static Builder builder() {
return new Builder();
}
public static UAIDCollectionRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return authCode
*/
public String getAuthCode() {
return this.authCode;
}
/**
* @return carrier
*/
public String getCarrier() {
return this.carrier;
}
/**
* @return ip
*/
public String getIp() {
return this.ip;
}
/**
* @return outId
*/
public String getOutId() {
return this.outId;
}
/**
* @return ownerId
*/
public Long getOwnerId() {
return this.ownerId;
}
/**
* @return province
*/
public String getProvince() {
return this.province;
}
/**
* @return resourceOwnerAccount
*/
public String getResourceOwnerAccount() {
return this.resourceOwnerAccount;
}
/**
* @return resourceOwnerId
*/
public Long getResourceOwnerId() {
return this.resourceOwnerId;
}
/**
* @return token
*/
public String getToken() {
return this.token;
}
/**
* @return userGrantId
*/
public String getUserGrantId() {
return this.userGrantId;
}
public static final class Builder extends Request.Builder {
private String authCode;
private String carrier;
private String ip;
private String outId;
private Long ownerId;
private String province;
private String resourceOwnerAccount;
private Long resourceOwnerId;
private String token;
private String userGrantId;
private Builder() {
super();
}
private Builder(UAIDCollectionRequest request) {
super(request);
this.authCode = request.authCode;
this.carrier = request.carrier;
this.ip = request.ip;
this.outId = request.outId;
this.ownerId = request.ownerId;
this.province = request.province;
this.resourceOwnerAccount = request.resourceOwnerAccount;
this.resourceOwnerId = request.resourceOwnerId;
this.token = request.token;
this.userGrantId = request.userGrantId;
}
/**
* This parameter is required.
*
* example:
* 示例值
*/
public Builder authCode(String authCode) {
this.putQueryParameter("AuthCode", authCode);
this.authCode = authCode;
return this;
}
/**
* Carrier.
*/
public Builder carrier(String carrier) {
this.putQueryParameter("Carrier", carrier);
this.carrier = carrier;
return this;
}
/**
* Ip.
*/
public Builder ip(String ip) {
this.putQueryParameter("Ip", ip);
this.ip = ip;
return this;
}
/**
* This parameter is required.
*
* example:
* 示例值示例值
*/
public Builder outId(String outId) {
this.putQueryParameter("OutId", outId);
this.outId = outId;
return this;
}
/**
* OwnerId.
*/
public Builder ownerId(Long ownerId) {
this.putQueryParameter("OwnerId", ownerId);
this.ownerId = ownerId;
return this;
}
/**
* Province.
*/
public Builder province(String province) {
this.putQueryParameter("Province", province);
this.province = province;
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;
}
/**
* This parameter is required.
*
* example:
* 示例值示例值
*/
public Builder token(String token) {
this.putQueryParameter("Token", token);
this.token = token;
return this;
}
/**
* UserGrantId.
*/
public Builder userGrantId(String userGrantId) {
this.putQueryParameter("UserGrantId", userGrantId);
this.userGrantId = userGrantId;
return this;
}
@Override
public UAIDCollectionRequest build() {
return new UAIDCollectionRequest(this);
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy