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

com.aliyun.sdk.service.aliding20230426.models.QueryOrgHonorsRequest Maven / Gradle / Ivy

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

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

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

QueryOrgHonorsRequest

*/ public class QueryOrgHonorsRequest extends Request { @com.aliyun.core.annotation.Header @com.aliyun.core.annotation.NameInMap("AccountContext") private AccountContext accountContext; @com.aliyun.core.annotation.Body @com.aliyun.core.annotation.NameInMap("TenantContext") private TenantContext tenantContext; @com.aliyun.core.annotation.Body @com.aliyun.core.annotation.NameInMap("maxResults") private Integer maxResults; @com.aliyun.core.annotation.Body @com.aliyun.core.annotation.NameInMap("nextToken") @com.aliyun.core.annotation.Validation(required = true) private String nextToken; @com.aliyun.core.annotation.Body @com.aliyun.core.annotation.NameInMap("orgId") @com.aliyun.core.annotation.Validation(required = true) private Long orgId; private QueryOrgHonorsRequest(Builder builder) { super(builder); this.accountContext = builder.accountContext; this.tenantContext = builder.tenantContext; this.maxResults = builder.maxResults; this.nextToken = builder.nextToken; this.orgId = builder.orgId; } public static Builder builder() { return new Builder(); } public static QueryOrgHonorsRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return accountContext */ public AccountContext getAccountContext() { return this.accountContext; } /** * @return tenantContext */ public TenantContext getTenantContext() { return this.tenantContext; } /** * @return maxResults */ public Integer getMaxResults() { return this.maxResults; } /** * @return nextToken */ public String getNextToken() { return this.nextToken; } /** * @return orgId */ public Long getOrgId() { return this.orgId; } public static final class Builder extends Request.Builder { private AccountContext accountContext; private TenantContext tenantContext; private Integer maxResults; private String nextToken; private Long orgId; private Builder() { super(); } private Builder(QueryOrgHonorsRequest request) { super(request); this.accountContext = request.accountContext; this.tenantContext = request.tenantContext; this.maxResults = request.maxResults; this.nextToken = request.nextToken; this.orgId = request.orgId; } /** * AccountContext. */ public Builder accountContext(AccountContext accountContext) { String accountContextShrink = shrink(accountContext, "AccountContext", "json"); this.putHeaderParameter("AccountContext", accountContextShrink); this.accountContext = accountContext; return this; } /** * TenantContext. */ public Builder tenantContext(TenantContext tenantContext) { String tenantContextShrink = shrink(tenantContext, "TenantContext", "json"); this.putBodyParameter("TenantContext", tenantContextShrink); this.tenantContext = tenantContext; return this; } /** * maxResults. */ public Builder maxResults(Integer maxResults) { this.putBodyParameter("maxResults", maxResults); this.maxResults = maxResults; return this; } /** * nextToken. */ public Builder nextToken(String nextToken) { this.putBodyParameter("nextToken", nextToken); this.nextToken = nextToken; return this; } /** * orgId. */ public Builder orgId(Long orgId) { this.putBodyParameter("orgId", orgId); this.orgId = orgId; return this; } @Override public QueryOrgHonorsRequest build() { return new QueryOrgHonorsRequest(this); } } public static class AccountContext extends TeaModel { @com.aliyun.core.annotation.NameInMap("accountId") private String accountId; private AccountContext(Builder builder) { this.accountId = builder.accountId; } public static Builder builder() { return new Builder(); } public static AccountContext create() { return builder().build(); } /** * @return accountId */ public String getAccountId() { return this.accountId; } public static final class Builder { private String accountId; /** * accountId. */ public Builder accountId(String accountId) { this.accountId = accountId; return this; } public AccountContext build() { return new AccountContext(this); } } } public static class TenantContext extends TeaModel { @com.aliyun.core.annotation.NameInMap("tenantId") private String tenantId; private TenantContext(Builder builder) { this.tenantId = builder.tenantId; } public static Builder builder() { return new Builder(); } public static TenantContext create() { return builder().build(); } /** * @return tenantId */ public String getTenantId() { return this.tenantId; } public static final class Builder { private String tenantId; /** * tenantId. */ public Builder tenantId(String tenantId) { this.tenantId = tenantId; return this; } public TenantContext build() { return new TenantContext(this); } } } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy