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

com.aliyun.sdk.service.dataphin_public20230630.models.UpdateTenantMemberRequest Maven / Gradle / Ivy

The newest version!
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.dataphin_public20230630.models;

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

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

UpdateTenantMemberRequest

*/ public class UpdateTenantMemberRequest extends Request { @com.aliyun.core.annotation.Host @com.aliyun.core.annotation.NameInMap("RegionId") private String regionId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("OpTenantId") @com.aliyun.core.annotation.Validation(required = true) private Long opTenantId; @com.aliyun.core.annotation.Body @com.aliyun.core.annotation.NameInMap("UpdateCommand") @com.aliyun.core.annotation.Validation(required = true) private UpdateCommand updateCommand; private UpdateTenantMemberRequest(Builder builder) { super(builder); this.regionId = builder.regionId; this.opTenantId = builder.opTenantId; this.updateCommand = builder.updateCommand; } public static Builder builder() { return new Builder(); } public static UpdateTenantMemberRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return regionId */ public String getRegionId() { return this.regionId; } /** * @return opTenantId */ public Long getOpTenantId() { return this.opTenantId; } /** * @return updateCommand */ public UpdateCommand getUpdateCommand() { return this.updateCommand; } public static final class Builder extends Request.Builder { private String regionId; private Long opTenantId; private UpdateCommand updateCommand; private Builder() { super(); } private Builder(UpdateTenantMemberRequest request) { super(request); this.regionId = request.regionId; this.opTenantId = request.opTenantId; this.updateCommand = request.updateCommand; } /** * RegionId. */ public Builder regionId(String regionId) { this.putHostParameter("RegionId", regionId); this.regionId = regionId; return this; } /** *

This parameter is required.

* * example: *

30001011

*/ public Builder opTenantId(Long opTenantId) { this.putQueryParameter("OpTenantId", opTenantId); this.opTenantId = opTenantId; return this; } /** *

This parameter is required.

*/ public Builder updateCommand(UpdateCommand updateCommand) { String updateCommandShrink = shrink(updateCommand, "UpdateCommand", "json"); this.putBodyParameter("UpdateCommand", updateCommandShrink); this.updateCommand = updateCommand; return this; } @Override public UpdateTenantMemberRequest build() { return new UpdateTenantMemberRequest(this); } } /** * * {@link UpdateTenantMemberRequest} extends {@link TeaModel} * *

UpdateTenantMemberRequest

*/ public static class MemberList extends TeaModel { @com.aliyun.core.annotation.NameInMap("DingNumber") private String dingNumber; @com.aliyun.core.annotation.NameInMap("Mail") private String mail; @com.aliyun.core.annotation.NameInMap("MobilePhone") private String mobilePhone; @com.aliyun.core.annotation.NameInMap("RoleList") private java.util.List roleList; @com.aliyun.core.annotation.NameInMap("UserId") private String userId; private MemberList(Builder builder) { this.dingNumber = builder.dingNumber; this.mail = builder.mail; this.mobilePhone = builder.mobilePhone; this.roleList = builder.roleList; this.userId = builder.userId; } public static Builder builder() { return new Builder(); } public static MemberList create() { return builder().build(); } /** * @return dingNumber */ public String getDingNumber() { return this.dingNumber; } /** * @return mail */ public String getMail() { return this.mail; } /** * @return mobilePhone */ public String getMobilePhone() { return this.mobilePhone; } /** * @return roleList */ public java.util.List getRoleList() { return this.roleList; } /** * @return userId */ public String getUserId() { return this.userId; } public static final class Builder { private String dingNumber; private String mail; private String mobilePhone; private java.util.List roleList; private String userId; /** * DingNumber. */ public Builder dingNumber(String dingNumber) { this.dingNumber = dingNumber; return this; } /** * Mail. */ public Builder mail(String mail) { this.mail = mail; return this; } /** * MobilePhone. */ public Builder mobilePhone(String mobilePhone) { this.mobilePhone = mobilePhone; return this; } /** * RoleList. */ public Builder roleList(java.util.List roleList) { this.roleList = roleList; return this; } /** * UserId. */ public Builder userId(String userId) { this.userId = userId; return this; } public MemberList build() { return new MemberList(this); } } } /** * * {@link UpdateTenantMemberRequest} extends {@link TeaModel} * *

UpdateTenantMemberRequest

*/ public static class UpdateCommand extends TeaModel { @com.aliyun.core.annotation.NameInMap("MemberList") @com.aliyun.core.annotation.Validation(required = true) private java.util.List memberList; private UpdateCommand(Builder builder) { this.memberList = builder.memberList; } public static Builder builder() { return new Builder(); } public static UpdateCommand create() { return builder().build(); } /** * @return memberList */ public java.util.List getMemberList() { return this.memberList; } public static final class Builder { private java.util.List memberList; /** *

This parameter is required.

*/ public Builder memberList(java.util.List memberList) { this.memberList = memberList; return this; } public UpdateCommand build() { return new UpdateCommand(this); } } } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy