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

com.aliyun.sdk.service.dm20170622.models.QueryReceiverByParamRequest 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 QueryReceiverByParamRequest} extends {@link RequestModel}
 *
 * 

QueryReceiverByParamRequest

*/ public class QueryReceiverByParamRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("KeyWord") private String keyWord; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("OwnerId") private Long ownerId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("PageNo") private Integer pageNo; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("PageSize") @com.aliyun.core.annotation.Validation(maximum = 50, minimum = 1) private Integer pageSize; @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("Status") @com.aliyun.core.annotation.Validation(maximum = 2) private Integer status; private QueryReceiverByParamRequest(Builder builder) { super(builder); this.keyWord = builder.keyWord; this.ownerId = builder.ownerId; this.pageNo = builder.pageNo; this.pageSize = builder.pageSize; this.resourceOwnerAccount = builder.resourceOwnerAccount; this.resourceOwnerId = builder.resourceOwnerId; this.status = builder.status; } public static Builder builder() { return new Builder(); } public static QueryReceiverByParamRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return keyWord */ public String getKeyWord() { return this.keyWord; } /** * @return ownerId */ public Long getOwnerId() { return this.ownerId; } /** * @return pageNo */ public Integer getPageNo() { return this.pageNo; } /** * @return pageSize */ public Integer getPageSize() { return this.pageSize; } /** * @return resourceOwnerAccount */ public String getResourceOwnerAccount() { return this.resourceOwnerAccount; } /** * @return resourceOwnerId */ public Long getResourceOwnerId() { return this.resourceOwnerId; } /** * @return status */ public Integer getStatus() { return this.status; } public static final class Builder extends Request.Builder { private String keyWord; private Long ownerId; private Integer pageNo; private Integer pageSize; private String resourceOwnerAccount; private Long resourceOwnerId; private Integer status; private Builder() { super(); } private Builder(QueryReceiverByParamRequest request) { super(request); this.keyWord = request.keyWord; this.ownerId = request.ownerId; this.pageNo = request.pageNo; this.pageSize = request.pageSize; this.resourceOwnerAccount = request.resourceOwnerAccount; this.resourceOwnerId = request.resourceOwnerId; this.status = request.status; } /** * KeyWord. */ public Builder keyWord(String keyWord) { this.putQueryParameter("KeyWord", keyWord); this.keyWord = keyWord; return this; } /** * OwnerId. */ public Builder ownerId(Long ownerId) { this.putQueryParameter("OwnerId", ownerId); this.ownerId = ownerId; return this; } /** * PageNo. */ public Builder pageNo(Integer pageNo) { this.putQueryParameter("PageNo", pageNo); this.pageNo = pageNo; return this; } /** * PageSize. */ public Builder pageSize(Integer pageSize) { this.putQueryParameter("PageSize", pageSize); this.pageSize = pageSize; 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; } /** * Status. */ public Builder status(Integer status) { this.putQueryParameter("Status", status); this.status = status; return this; } @Override public QueryReceiverByParamRequest build() { return new QueryReceiverByParamRequest(this); } } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy