com.aliyun.sdk.service.cloudapi20160714.models.DescribeApisByAppRequest 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 DescribeApisByAppRequest} extends {@link RequestModel}
*
* DescribeApisByAppRequest
*/
public class DescribeApisByAppRequest extends Request {
@Query
@NameInMap("ApiName")
private String apiName;
@Query
@NameInMap("ApiUid")
private String apiUid;
@Query
@NameInMap("AppId")
@Validation(required = true)
private Long appId;
@Query
@NameInMap("Description")
private String description;
@Query
@NameInMap("Method")
private String method;
@Query
@NameInMap("PageNumber")
private Integer pageNumber;
@Query
@NameInMap("PageSize")
private Integer pageSize;
@Query
@NameInMap("Path")
private String path;
@Query
@NameInMap("SecurityToken")
private String securityToken;
private DescribeApisByAppRequest(Builder builder) {
super(builder);
this.apiName = builder.apiName;
this.apiUid = builder.apiUid;
this.appId = builder.appId;
this.description = builder.description;
this.method = builder.method;
this.pageNumber = builder.pageNumber;
this.pageSize = builder.pageSize;
this.path = builder.path;
this.securityToken = builder.securityToken;
}
public static Builder builder() {
return new Builder();
}
public static DescribeApisByAppRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return apiName
*/
public String getApiName() {
return this.apiName;
}
/**
* @return apiUid
*/
public String getApiUid() {
return this.apiUid;
}
/**
* @return appId
*/
public Long getAppId() {
return this.appId;
}
/**
* @return description
*/
public String getDescription() {
return this.description;
}
/**
* @return method
*/
public String getMethod() {
return this.method;
}
/**
* @return pageNumber
*/
public Integer getPageNumber() {
return this.pageNumber;
}
/**
* @return pageSize
*/
public Integer getPageSize() {
return this.pageSize;
}
/**
* @return path
*/
public String getPath() {
return this.path;
}
/**
* @return securityToken
*/
public String getSecurityToken() {
return this.securityToken;
}
public static final class Builder extends Request.Builder {
private String apiName;
private String apiUid;
private Long appId;
private String description;
private String method;
private Integer pageNumber;
private Integer pageSize;
private String path;
private String securityToken;
private Builder() {
super();
}
private Builder(DescribeApisByAppRequest request) {
super(request);
this.apiName = request.apiName;
this.apiUid = request.apiUid;
this.appId = request.appId;
this.description = request.description;
this.method = request.method;
this.pageNumber = request.pageNumber;
this.pageSize = request.pageSize;
this.path = request.path;
this.securityToken = request.securityToken;
}
/**
* ApiName.
*/
public Builder apiName(String apiName) {
this.putQueryParameter("ApiName", apiName);
this.apiName = apiName;
return this;
}
/**
* ApiUid.
*/
public Builder apiUid(String apiUid) {
this.putQueryParameter("ApiUid", apiUid);
this.apiUid = apiUid;
return this;
}
/**
* AppId.
*/
public Builder appId(Long appId) {
this.putQueryParameter("AppId", appId);
this.appId = appId;
return this;
}
/**
* Description.
*/
public Builder description(String description) {
this.putQueryParameter("Description", description);
this.description = description;
return this;
}
/**
* Method.
*/
public Builder method(String method) {
this.putQueryParameter("Method", method);
this.method = method;
return this;
}
/**
* PageNumber.
*/
public Builder pageNumber(Integer pageNumber) {
this.putQueryParameter("PageNumber", pageNumber);
this.pageNumber = pageNumber;
return this;
}
/**
* PageSize.
*/
public Builder pageSize(Integer pageSize) {
this.putQueryParameter("PageSize", pageSize);
this.pageSize = pageSize;
return this;
}
/**
* Path.
*/
public Builder path(String path) {
this.putQueryParameter("Path", path);
this.path = path;
return this;
}
/**
* SecurityToken.
*/
public Builder securityToken(String securityToken) {
this.putQueryParameter("SecurityToken", securityToken);
this.securityToken = securityToken;
return this;
}
@Override
public DescribeApisByAppRequest build() {
return new DescribeApisByAppRequest(this);
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy