![JAR search and dependency download from the Maven repository](/logo.png)
com.tencentcloudapi.organization.v20210331.models.ProvisionRoleConfigurationRequest Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of tencentcloud-sdk-java-intl-en Show documentation
Show all versions of tencentcloud-sdk-java-intl-en Show documentation
Tencent Cloud API SDK for Java
/*
* Copyright (c) 2017-2018 THL A29 Limited, a Tencent company. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.tencentcloudapi.organization.v20210331.models;
import com.tencentcloudapi.common.AbstractModel;
import com.tencentcloudapi.common.SSEResponseModel;
import com.google.gson.annotations.SerializedName;
import com.google.gson.annotations.Expose;
import java.util.HashMap;
public class ProvisionRoleConfigurationRequest extends AbstractModel {
/**
* Space ID.
*/
@SerializedName("ZoneId")
@Expose
private String ZoneId;
/**
* Permission configuration ID.
*/
@SerializedName("RoleConfigurationId")
@Expose
private String RoleConfigurationId;
/**
* Type of the synchronized target account of the Tencent Cloud Organization. ManagerUin: admin account; MemberUin: member account.
*/
@SerializedName("TargetType")
@Expose
private String TargetType;
/**
* UIN of the target account of the Tencent Cloud Organization.
*/
@SerializedName("TargetUin")
@Expose
private Long TargetUin;
/**
* Get Space ID.
* @return ZoneId Space ID.
*/
public String getZoneId() {
return this.ZoneId;
}
/**
* Set Space ID.
* @param ZoneId Space ID.
*/
public void setZoneId(String ZoneId) {
this.ZoneId = ZoneId;
}
/**
* Get Permission configuration ID.
* @return RoleConfigurationId Permission configuration ID.
*/
public String getRoleConfigurationId() {
return this.RoleConfigurationId;
}
/**
* Set Permission configuration ID.
* @param RoleConfigurationId Permission configuration ID.
*/
public void setRoleConfigurationId(String RoleConfigurationId) {
this.RoleConfigurationId = RoleConfigurationId;
}
/**
* Get Type of the synchronized target account of the Tencent Cloud Organization. ManagerUin: admin account; MemberUin: member account.
* @return TargetType Type of the synchronized target account of the Tencent Cloud Organization. ManagerUin: admin account; MemberUin: member account.
*/
public String getTargetType() {
return this.TargetType;
}
/**
* Set Type of the synchronized target account of the Tencent Cloud Organization. ManagerUin: admin account; MemberUin: member account.
* @param TargetType Type of the synchronized target account of the Tencent Cloud Organization. ManagerUin: admin account; MemberUin: member account.
*/
public void setTargetType(String TargetType) {
this.TargetType = TargetType;
}
/**
* Get UIN of the target account of the Tencent Cloud Organization.
* @return TargetUin UIN of the target account of the Tencent Cloud Organization.
*/
public Long getTargetUin() {
return this.TargetUin;
}
/**
* Set UIN of the target account of the Tencent Cloud Organization.
* @param TargetUin UIN of the target account of the Tencent Cloud Organization.
*/
public void setTargetUin(Long TargetUin) {
this.TargetUin = TargetUin;
}
public ProvisionRoleConfigurationRequest() {
}
/**
* NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy,
* and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy.
*/
public ProvisionRoleConfigurationRequest(ProvisionRoleConfigurationRequest source) {
if (source.ZoneId != null) {
this.ZoneId = new String(source.ZoneId);
}
if (source.RoleConfigurationId != null) {
this.RoleConfigurationId = new String(source.RoleConfigurationId);
}
if (source.TargetType != null) {
this.TargetType = new String(source.TargetType);
}
if (source.TargetUin != null) {
this.TargetUin = new Long(source.TargetUin);
}
}
/**
* Internal implementation, normal users should not use it.
*/
public void toMap(HashMap map, String prefix) {
this.setParamSimple(map, prefix + "ZoneId", this.ZoneId);
this.setParamSimple(map, prefix + "RoleConfigurationId", this.RoleConfigurationId);
this.setParamSimple(map, prefix + "TargetType", this.TargetType);
this.setParamSimple(map, prefix + "TargetUin", this.TargetUin);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy