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

com.aliyun.sdk.service.dysmsapi20170525.models.QuerySmsTemplateListRequest Maven / Gradle / Ivy

There is a newer version: 3.0.1
Show newest version
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.dysmsapi20170525.models;

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

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

QuerySmsTemplateListRequest

*/ public class QuerySmsTemplateListRequest extends Request { @Query @NameInMap("OwnerId") private Long ownerId; @Query @NameInMap("PageIndex") private Integer pageIndex; @Query @NameInMap("PageSize") @Validation(maximum = 50, minimum = 1) private Integer pageSize; @Query @NameInMap("ResourceOwnerAccount") private String resourceOwnerAccount; @Query @NameInMap("ResourceOwnerId") private Long resourceOwnerId; private QuerySmsTemplateListRequest(Builder builder) { super(builder); this.ownerId = builder.ownerId; this.pageIndex = builder.pageIndex; this.pageSize = builder.pageSize; this.resourceOwnerAccount = builder.resourceOwnerAccount; this.resourceOwnerId = builder.resourceOwnerId; } public static Builder builder() { return new Builder(); } public static QuerySmsTemplateListRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return ownerId */ public Long getOwnerId() { return this.ownerId; } /** * @return pageIndex */ public Integer getPageIndex() { return this.pageIndex; } /** * @return pageSize */ public Integer getPageSize() { return this.pageSize; } /** * @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 Long ownerId; private Integer pageIndex; private Integer pageSize; private String resourceOwnerAccount; private Long resourceOwnerId; private Builder() { super(); } private Builder(QuerySmsTemplateListRequest response) { super(response); this.ownerId = response.ownerId; this.pageIndex = response.pageIndex; this.pageSize = response.pageSize; this.resourceOwnerAccount = response.resourceOwnerAccount; this.resourceOwnerId = response.resourceOwnerId; } /** * OwnerId. */ public Builder ownerId(Long ownerId) { this.putQueryParameter("OwnerId", ownerId); this.ownerId = ownerId; return this; } /** * PageIndex. */ public Builder pageIndex(Integer pageIndex) { this.putQueryParameter("PageIndex", pageIndex); this.pageIndex = pageIndex; 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; } @Override public QuerySmsTemplateListRequest build() { return new QuerySmsTemplateListRequest(this); } } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy