com.aliyun.sdk.service.cloudapi20160714.models.DescribeApiSignaturesRequest Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of alibabacloud-cloudapi20160714 Show documentation
Show all versions of alibabacloud-cloudapi20160714 Show documentation
Alibaba Cloud CloudAPI (20160714) Async SDK for Java
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.cloudapi20160714.models;
import com.aliyun.core.annotation.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
* {@link DescribeApiSignaturesRequest} extends {@link RequestModel}
*
* DescribeApiSignaturesRequest
*/
public class DescribeApiSignaturesRequest extends Request {
@Query
@NameInMap("ApiIds")
private String apiIds;
@Query
@NameInMap("GroupId")
@Validation(required = true)
private String groupId;
@Query
@NameInMap("PageNumber")
private Integer pageNumber;
@Query
@NameInMap("PageSize")
@Validation(maximum = 100, minimum = 1)
private Integer pageSize;
@Query
@NameInMap("SecurityToken")
private String securityToken;
@Query
@NameInMap("StageName")
@Validation(required = true)
private String stageName;
private DescribeApiSignaturesRequest(Builder builder) {
super(builder);
this.apiIds = builder.apiIds;
this.groupId = builder.groupId;
this.pageNumber = builder.pageNumber;
this.pageSize = builder.pageSize;
this.securityToken = builder.securityToken;
this.stageName = builder.stageName;
}
public static Builder builder() {
return new Builder();
}
public static DescribeApiSignaturesRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return apiIds
*/
public String getApiIds() {
return this.apiIds;
}
/**
* @return groupId
*/
public String getGroupId() {
return this.groupId;
}
/**
* @return pageNumber
*/
public Integer getPageNumber() {
return this.pageNumber;
}
/**
* @return pageSize
*/
public Integer getPageSize() {
return this.pageSize;
}
/**
* @return securityToken
*/
public String getSecurityToken() {
return this.securityToken;
}
/**
* @return stageName
*/
public String getStageName() {
return this.stageName;
}
public static final class Builder extends Request.Builder {
private String apiIds;
private String groupId;
private Integer pageNumber;
private Integer pageSize;
private String securityToken;
private String stageName;
private Builder() {
super();
}
private Builder(DescribeApiSignaturesRequest request) {
super(request);
this.apiIds = request.apiIds;
this.groupId = request.groupId;
this.pageNumber = request.pageNumber;
this.pageSize = request.pageSize;
this.securityToken = request.securityToken;
this.stageName = request.stageName;
}
/**
* The number of entries to return on each page. Maximum value: 100. Default value: 10.
*/
public Builder apiIds(String apiIds) {
this.putQueryParameter("ApiIds", apiIds);
this.apiIds = apiIds;
return this;
}
/**
* The number of the page to return. Pages start from page 1. Default value: 1.
*/
public Builder groupId(String groupId) {
this.putQueryParameter("GroupId", groupId);
this.groupId = groupId;
return this;
}
/**
* The page number of the returned page.
*/
public Builder pageNumber(Integer pageNumber) {
this.putQueryParameter("PageNumber", pageNumber);
this.pageNumber = pageNumber;
return this;
}
/**
* The ID of the request.
*/
public Builder pageSize(Integer pageSize) {
this.putQueryParameter("PageSize", pageSize);
this.pageSize = pageSize;
return this;
}
/**
* SecurityToken.
*/
public Builder securityToken(String securityToken) {
this.putQueryParameter("SecurityToken", securityToken);
this.securityToken = securityToken;
return this;
}
/**
* The IDs of the APIs that you want to query. Separate multiple API IDs with commas (,). A maximum of 100 API IDs can be entered.
*/
public Builder stageName(String stageName) {
this.putQueryParameter("StageName", stageName);
this.stageName = stageName;
return this;
}
@Override
public DescribeApiSignaturesRequest build() {
return new DescribeApiSignaturesRequest(this);
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy