com.tencentcloudapi.ciam.v20210420.models.UserGroup 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.ciam.v20210420.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 UserGroup extends AbstractModel {
/**
* User group ID
*/
@SerializedName("UserGroupId")
@Expose
private String UserGroupId;
/**
* User group name
*/
@SerializedName("DisplayName")
@Expose
private String DisplayName;
/**
* User group description
Note: this field may return null, indicating that no valid values can be obtained.
*/
@SerializedName("Description")
@Expose
private String Description;
/**
* User directory ID
*/
@SerializedName("UserStoreId")
@Expose
private String UserStoreId;
/**
* Tenant ID
*/
@SerializedName("TenantId")
@Expose
private String TenantId;
/**
* Get User group ID
* @return UserGroupId User group ID
*/
public String getUserGroupId() {
return this.UserGroupId;
}
/**
* Set User group ID
* @param UserGroupId User group ID
*/
public void setUserGroupId(String UserGroupId) {
this.UserGroupId = UserGroupId;
}
/**
* Get User group name
* @return DisplayName User group name
*/
public String getDisplayName() {
return this.DisplayName;
}
/**
* Set User group name
* @param DisplayName User group name
*/
public void setDisplayName(String DisplayName) {
this.DisplayName = DisplayName;
}
/**
* Get User group description
Note: this field may return null, indicating that no valid values can be obtained.
* @return Description User group description
Note: this field may return null, indicating that no valid values can be obtained.
*/
public String getDescription() {
return this.Description;
}
/**
* Set User group description
Note: this field may return null, indicating that no valid values can be obtained.
* @param Description User group description
Note: this field may return null, indicating that no valid values can be obtained.
*/
public void setDescription(String Description) {
this.Description = Description;
}
/**
* Get User directory ID
* @return UserStoreId User directory ID
*/
public String getUserStoreId() {
return this.UserStoreId;
}
/**
* Set User directory ID
* @param UserStoreId User directory ID
*/
public void setUserStoreId(String UserStoreId) {
this.UserStoreId = UserStoreId;
}
/**
* Get Tenant ID
* @return TenantId Tenant ID
*/
public String getTenantId() {
return this.TenantId;
}
/**
* Set Tenant ID
* @param TenantId Tenant ID
*/
public void setTenantId(String TenantId) {
this.TenantId = TenantId;
}
public UserGroup() {
}
/**
* 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 UserGroup(UserGroup source) {
if (source.UserGroupId != null) {
this.UserGroupId = new String(source.UserGroupId);
}
if (source.DisplayName != null) {
this.DisplayName = new String(source.DisplayName);
}
if (source.Description != null) {
this.Description = new String(source.Description);
}
if (source.UserStoreId != null) {
this.UserStoreId = new String(source.UserStoreId);
}
if (source.TenantId != null) {
this.TenantId = new String(source.TenantId);
}
}
/**
* Internal implementation, normal users should not use it.
*/
public void toMap(HashMap map, String prefix) {
this.setParamSimple(map, prefix + "UserGroupId", this.UserGroupId);
this.setParamSimple(map, prefix + "DisplayName", this.DisplayName);
this.setParamSimple(map, prefix + "Description", this.Description);
this.setParamSimple(map, prefix + "UserStoreId", this.UserStoreId);
this.setParamSimple(map, prefix + "TenantId", this.TenantId);
}
}