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

com.aliyun.sdk.service.aliding20230426.models.SetRowsVisibilityRequest 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 SetRowsVisibilityRequest} extends {@link RequestModel}
 *
 * 

SetRowsVisibilityRequest

*/ public class SetRowsVisibilityRequest 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("Row") @com.aliyun.core.annotation.Validation(required = true) private Long row; @com.aliyun.core.annotation.Body @com.aliyun.core.annotation.NameInMap("RowCount") @com.aliyun.core.annotation.Validation(required = true) private Long rowCount; @com.aliyun.core.annotation.Body @com.aliyun.core.annotation.NameInMap("SheetId") @com.aliyun.core.annotation.Validation(required = true) private String sheetId; @com.aliyun.core.annotation.Body @com.aliyun.core.annotation.NameInMap("TenantContext") private TenantContext tenantContext; @com.aliyun.core.annotation.Body @com.aliyun.core.annotation.NameInMap("Visibility") @com.aliyun.core.annotation.Validation(required = true) private String visibility; @com.aliyun.core.annotation.Body @com.aliyun.core.annotation.NameInMap("WorkbookId") @com.aliyun.core.annotation.Validation(required = true) private String workbookId; private SetRowsVisibilityRequest(Builder builder) { super(builder); this.accountContext = builder.accountContext; this.row = builder.row; this.rowCount = builder.rowCount; this.sheetId = builder.sheetId; this.tenantContext = builder.tenantContext; this.visibility = builder.visibility; this.workbookId = builder.workbookId; } public static Builder builder() { return new Builder(); } public static SetRowsVisibilityRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return accountContext */ public AccountContext getAccountContext() { return this.accountContext; } /** * @return row */ public Long getRow() { return this.row; } /** * @return rowCount */ public Long getRowCount() { return this.rowCount; } /** * @return sheetId */ public String getSheetId() { return this.sheetId; } /** * @return tenantContext */ public TenantContext getTenantContext() { return this.tenantContext; } /** * @return visibility */ public String getVisibility() { return this.visibility; } /** * @return workbookId */ public String getWorkbookId() { return this.workbookId; } public static final class Builder extends Request.Builder { private AccountContext accountContext; private Long row; private Long rowCount; private String sheetId; private TenantContext tenantContext; private String visibility; private String workbookId; private Builder() { super(); } private Builder(SetRowsVisibilityRequest request) { super(request); this.accountContext = request.accountContext; this.row = request.row; this.rowCount = request.rowCount; this.sheetId = request.sheetId; this.tenantContext = request.tenantContext; this.visibility = request.visibility; this.workbookId = request.workbookId; } /** * AccountContext. */ public Builder accountContext(AccountContext accountContext) { String accountContextShrink = shrink(accountContext, "AccountContext", "json"); this.putHeaderParameter("AccountContext", accountContextShrink); this.accountContext = accountContext; return this; } /** * Row. */ public Builder row(Long row) { this.putBodyParameter("Row", row); this.row = row; return this; } /** * RowCount. */ public Builder rowCount(Long rowCount) { this.putBodyParameter("RowCount", rowCount); this.rowCount = rowCount; return this; } /** * SheetId. */ public Builder sheetId(String sheetId) { this.putBodyParameter("SheetId", sheetId); this.sheetId = sheetId; return this; } /** * TenantContext. */ public Builder tenantContext(TenantContext tenantContext) { String tenantContextShrink = shrink(tenantContext, "TenantContext", "json"); this.putBodyParameter("TenantContext", tenantContextShrink); this.tenantContext = tenantContext; return this; } /** * Visibility. */ public Builder visibility(String visibility) { this.putBodyParameter("Visibility", visibility); this.visibility = visibility; return this; } /** * WorkbookId. */ public Builder workbookId(String workbookId) { this.putBodyParameter("WorkbookId", workbookId); this.workbookId = workbookId; return this; } @Override public SetRowsVisibilityRequest build() { return new SetRowsVisibilityRequest(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