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

com.aliyun.sdk.service.dm20170622.models.GetMailAddressMsgCallBackUrlRequest Maven / Gradle / Ivy

The newest version!
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.dm20170622.models;

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

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

GetMailAddressMsgCallBackUrlRequest

*/ public class GetMailAddressMsgCallBackUrlRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("MailFrom") @com.aliyun.core.annotation.Validation(required = true) private String mailFrom; @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; private GetMailAddressMsgCallBackUrlRequest(Builder builder) { super(builder); this.mailFrom = builder.mailFrom; this.ownerId = builder.ownerId; this.resourceOwnerAccount = builder.resourceOwnerAccount; this.resourceOwnerId = builder.resourceOwnerId; } public static Builder builder() { return new Builder(); } public static GetMailAddressMsgCallBackUrlRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return mailFrom */ public String getMailFrom() { return this.mailFrom; } /** * @return ownerId */ public Long getOwnerId() { return this.ownerId; } /** * @return resourceOwnerAccount */ public String getResourceOwnerAccount() { return this.resourceOwnerAccount; } /** * @return resourceOwnerId */ public Long getResourceOwnerId() { return this.resourceOwnerId; } public static final class Builder extends Request.Builder { private String mailFrom; private Long ownerId; private String resourceOwnerAccount; private Long resourceOwnerId; private Builder() { super(); } private Builder(GetMailAddressMsgCallBackUrlRequest request) { super(request); this.mailFrom = request.mailFrom; this.ownerId = request.ownerId; this.resourceOwnerAccount = request.resourceOwnerAccount; this.resourceOwnerId = request.resourceOwnerId; } /** * MailFrom. */ public Builder mailFrom(String mailFrom) { this.putQueryParameter("MailFrom", mailFrom); this.mailFrom = mailFrom; 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; } @Override public GetMailAddressMsgCallBackUrlRequest build() { return new GetMailAddressMsgCallBackUrlRequest(this); } } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy