com.aliyun.sdk.service.aliding20230426.models.DeleteMeetingRoomRequest Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of alibabacloud-aliding20230426 Show documentation
Show all versions of alibabacloud-aliding20230426 Show documentation
Alibaba Cloud aliding (20230426) Async SDK for Java
// 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 DeleteMeetingRoomRequest} extends {@link RequestModel}
*
* DeleteMeetingRoomRequest
*/
public class DeleteMeetingRoomRequest 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("RoomId")
@com.aliyun.core.annotation.Validation(required = true)
private String roomId;
@com.aliyun.core.annotation.Body
@com.aliyun.core.annotation.NameInMap("TenantContext")
private TenantContext tenantContext;
private DeleteMeetingRoomRequest(Builder builder) {
super(builder);
this.accountContext = builder.accountContext;
this.roomId = builder.roomId;
this.tenantContext = builder.tenantContext;
}
public static Builder builder() {
return new Builder();
}
public static DeleteMeetingRoomRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return accountContext
*/
public AccountContext getAccountContext() {
return this.accountContext;
}
/**
* @return roomId
*/
public String getRoomId() {
return this.roomId;
}
/**
* @return tenantContext
*/
public TenantContext getTenantContext() {
return this.tenantContext;
}
public static final class Builder extends Request.Builder {
private AccountContext accountContext;
private String roomId;
private TenantContext tenantContext;
private Builder() {
super();
}
private Builder(DeleteMeetingRoomRequest request) {
super(request);
this.accountContext = request.accountContext;
this.roomId = request.roomId;
this.tenantContext = request.tenantContext;
}
/**
* AccountContext.
*/
public Builder accountContext(AccountContext accountContext) {
String accountContextShrink = shrink(accountContext, "AccountContext", "json");
this.putHeaderParameter("AccountContext", accountContextShrink);
this.accountContext = accountContext;
return this;
}
/**
* RoomId.
*/
public Builder roomId(String roomId) {
this.putBodyParameter("RoomId", roomId);
this.roomId = roomId;
return this;
}
/**
* TenantContext.
*/
public Builder tenantContext(TenantContext tenantContext) {
String tenantContextShrink = shrink(tenantContext, "TenantContext", "json");
this.putBodyParameter("TenantContext", tenantContextShrink);
this.tenantContext = tenantContext;
return this;
}
@Override
public DeleteMeetingRoomRequest build() {
return new DeleteMeetingRoomRequest(this);
}
}
public static class AccountContext extends TeaModel {
@com.aliyun.core.annotation.NameInMap("accountId")
@com.aliyun.core.annotation.Validation(required = true)
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);
}
}
}
}