com.aliyun.sdk.service.domain_intl20171218.models.VerifyEmailRequest Maven / Gradle / Ivy
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.domain_intl20171218.models;
import com.aliyun.core.annotation.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
* {@link VerifyEmailRequest} extends {@link RequestModel}
*
* VerifyEmailRequest
*/
public class VerifyEmailRequest extends Request {
@Query
@NameInMap("Lang")
private String lang;
@Query
@NameInMap("Token")
@Validation(required = true)
private String token;
@Query
@NameInMap("UserClientIp")
private String userClientIp;
private VerifyEmailRequest(Builder builder) {
super(builder);
this.lang = builder.lang;
this.token = builder.token;
this.userClientIp = builder.userClientIp;
}
public static Builder builder() {
return new Builder();
}
public static VerifyEmailRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return lang
*/
public String getLang() {
return this.lang;
}
/**
* @return token
*/
public String getToken() {
return this.token;
}
/**
* @return userClientIp
*/
public String getUserClientIp() {
return this.userClientIp;
}
public static final class Builder extends Request.Builder {
private String lang;
private String token;
private String userClientIp;
private Builder() {
super();
}
private Builder(VerifyEmailRequest request) {
super(request);
this.lang = request.lang;
this.token = request.token;
this.userClientIp = request.userClientIp;
}
/**
* Lang.
*/
public Builder lang(String lang) {
this.putQueryParameter("Lang", lang);
this.lang = lang;
return this;
}
/**
* Token.
*/
public Builder token(String token) {
this.putQueryParameter("Token", token);
this.token = token;
return this;
}
/**
* UserClientIp.
*/
public Builder userClientIp(String userClientIp) {
this.putQueryParameter("UserClientIp", userClientIp);
this.userClientIp = userClientIp;
return this;
}
@Override
public VerifyEmailRequest build() {
return new VerifyEmailRequest(this);
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy