com.aliyun.sdk.service.agency20221216.models.ResendEmailRequest Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of alibabacloud-agency20221216 Show documentation
Show all versions of alibabacloud-agency20221216 Show documentation
Alibaba Cloud Agency (20221216) Async SDK for Java
The newest version!
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.agency20221216.models;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link ResendEmailRequest} extends {@link RequestModel}
*
* ResendEmailRequest
*/
public class ResendEmailRequest extends Request {
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("InviteId")
@com.aliyun.core.annotation.Validation(required = true)
private Long inviteId;
private ResendEmailRequest(Builder builder) {
super(builder);
this.inviteId = builder.inviteId;
}
public static Builder builder() {
return new Builder();
}
public static ResendEmailRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return inviteId
*/
public Long getInviteId() {
return this.inviteId;
}
public static final class Builder extends Request.Builder {
private Long inviteId;
private Builder() {
super();
}
private Builder(ResendEmailRequest request) {
super(request);
this.inviteId = request.inviteId;
}
/**
* Invitation ID, from interface InviteSubAccount
* Note: This field type is Long, which may result in precision loss in serialization/deserialization process. Please ensure the value does not exceed 9007199254740991.
* This parameter is required.
*
* example:
* 176
*/
public Builder inviteId(Long inviteId) {
this.putQueryParameter("InviteId", inviteId);
this.inviteId = inviteId;
return this;
}
@Override
public ResendEmailRequest build() {
return new ResendEmailRequest(this);
}
}
}