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

com.aliyun.sdk.service.cloudapi20160701.models.DescribeAppsForProviderRequest Maven / Gradle / Ivy

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

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

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

DescribeAppsForProviderRequest

*/ public class DescribeAppsForProviderRequest extends Request { @Query @NameInMap("AppId") private Long appId; @Query @NameInMap("AppOwnerId") private Long appOwnerId; @Query @NameInMap("PageNumber") private Integer pageNumber; @Query @NameInMap("PageSize") @Validation(maximum = 100, minimum = 1) private Integer pageSize; @Query @NameInMap("SecurityToken") private String securityToken; private DescribeAppsForProviderRequest(Builder builder) { super(builder); this.appId = builder.appId; this.appOwnerId = builder.appOwnerId; this.pageNumber = builder.pageNumber; this.pageSize = builder.pageSize; this.securityToken = builder.securityToken; } public static Builder builder() { return new Builder(); } public static DescribeAppsForProviderRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return appId */ public Long getAppId() { return this.appId; } /** * @return appOwnerId */ public Long getAppOwnerId() { return this.appOwnerId; } /** * @return pageNumber */ public Integer getPageNumber() { return this.pageNumber; } /** * @return pageSize */ public Integer getPageSize() { return this.pageSize; } /** * @return securityToken */ public String getSecurityToken() { return this.securityToken; } public static final class Builder extends Request.Builder { private Long appId; private Long appOwnerId; private Integer pageNumber; private Integer pageSize; private String securityToken; private Builder() { super(); } private Builder(DescribeAppsForProviderRequest request) { super(request); this.appId = request.appId; this.appOwnerId = request.appOwnerId; this.pageNumber = request.pageNumber; this.pageSize = request.pageSize; this.securityToken = request.securityToken; } /** * AppId. */ public Builder appId(Long appId) { this.putQueryParameter("AppId", appId); this.appId = appId; return this; } /** * AppOwnerId. */ public Builder appOwnerId(Long appOwnerId) { this.putQueryParameter("AppOwnerId", appOwnerId); this.appOwnerId = appOwnerId; 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; } /** * SecurityToken. */ public Builder securityToken(String securityToken) { this.putQueryParameter("SecurityToken", securityToken); this.securityToken = securityToken; return this; } @Override public DescribeAppsForProviderRequest build() { return new DescribeAppsForProviderRequest(this); } } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy