![JAR search and dependency download from the Maven repository](/logo.png)
com.tencentcloudapi.ciam.v20220331.models.CreateUserRequest 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.v20220331.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 CreateUserRequest extends AbstractModel {
/**
* User directory ID
*/
@SerializedName("UserStoreId")
@Expose
private String UserStoreId;
/**
* Mobile number
*/
@SerializedName("PhoneNumber")
@Expose
private String PhoneNumber;
/**
* Email address
*/
@SerializedName("Email")
@Expose
private String Email;
/**
* Password
*/
@SerializedName("Password")
@Expose
private String Password;
/**
* Username
*/
@SerializedName("UserName")
@Expose
private String UserName;
/**
* Nickname
*/
@SerializedName("Nickname")
@Expose
private String Nickname;
/**
* Address
*/
@SerializedName("Address")
@Expose
private String Address;
/**
* User group ID
*/
@SerializedName("UserGroup")
@Expose
private String [] UserGroup;
/**
* Date of birth
*/
@SerializedName("Birthdate")
@Expose
private Long Birthdate;
/**
* Custom attribute
*/
@SerializedName("CustomizationAttributes")
@Expose
private MemberMap [] CustomizationAttributes;
/**
* Index field 1
*/
@SerializedName("IndexedAttribute1")
@Expose
private String IndexedAttribute1;
/**
* Index field 2
*/
@SerializedName("IndexedAttribute2")
@Expose
private String IndexedAttribute2;
/**
* Index field 3
*/
@SerializedName("IndexedAttribute3")
@Expose
private String IndexedAttribute3;
/**
* Index field 4
*/
@SerializedName("IndexedAttribute4")
@Expose
private String IndexedAttribute4;
/**
* Index field 5
*/
@SerializedName("IndexedAttribute5")
@Expose
private String IndexedAttribute5;
/**
* 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 Mobile number
* @return PhoneNumber Mobile number
*/
public String getPhoneNumber() {
return this.PhoneNumber;
}
/**
* Set Mobile number
* @param PhoneNumber Mobile number
*/
public void setPhoneNumber(String PhoneNumber) {
this.PhoneNumber = PhoneNumber;
}
/**
* Get Email address
* @return Email Email address
*/
public String getEmail() {
return this.Email;
}
/**
* Set Email address
* @param Email Email address
*/
public void setEmail(String Email) {
this.Email = Email;
}
/**
* Get Password
* @return Password Password
*/
public String getPassword() {
return this.Password;
}
/**
* Set Password
* @param Password Password
*/
public void setPassword(String Password) {
this.Password = Password;
}
/**
* Get Username
* @return UserName Username
*/
public String getUserName() {
return this.UserName;
}
/**
* Set Username
* @param UserName Username
*/
public void setUserName(String UserName) {
this.UserName = UserName;
}
/**
* Get Nickname
* @return Nickname Nickname
*/
public String getNickname() {
return this.Nickname;
}
/**
* Set Nickname
* @param Nickname Nickname
*/
public void setNickname(String Nickname) {
this.Nickname = Nickname;
}
/**
* Get Address
* @return Address Address
*/
public String getAddress() {
return this.Address;
}
/**
* Set Address
* @param Address Address
*/
public void setAddress(String Address) {
this.Address = Address;
}
/**
* Get User group ID
* @return UserGroup User group ID
*/
public String [] getUserGroup() {
return this.UserGroup;
}
/**
* Set User group ID
* @param UserGroup User group ID
*/
public void setUserGroup(String [] UserGroup) {
this.UserGroup = UserGroup;
}
/**
* Get Date of birth
* @return Birthdate Date of birth
*/
public Long getBirthdate() {
return this.Birthdate;
}
/**
* Set Date of birth
* @param Birthdate Date of birth
*/
public void setBirthdate(Long Birthdate) {
this.Birthdate = Birthdate;
}
/**
* Get Custom attribute
* @return CustomizationAttributes Custom attribute
*/
public MemberMap [] getCustomizationAttributes() {
return this.CustomizationAttributes;
}
/**
* Set Custom attribute
* @param CustomizationAttributes Custom attribute
*/
public void setCustomizationAttributes(MemberMap [] CustomizationAttributes) {
this.CustomizationAttributes = CustomizationAttributes;
}
/**
* Get Index field 1
* @return IndexedAttribute1 Index field 1
*/
public String getIndexedAttribute1() {
return this.IndexedAttribute1;
}
/**
* Set Index field 1
* @param IndexedAttribute1 Index field 1
*/
public void setIndexedAttribute1(String IndexedAttribute1) {
this.IndexedAttribute1 = IndexedAttribute1;
}
/**
* Get Index field 2
* @return IndexedAttribute2 Index field 2
*/
public String getIndexedAttribute2() {
return this.IndexedAttribute2;
}
/**
* Set Index field 2
* @param IndexedAttribute2 Index field 2
*/
public void setIndexedAttribute2(String IndexedAttribute2) {
this.IndexedAttribute2 = IndexedAttribute2;
}
/**
* Get Index field 3
* @return IndexedAttribute3 Index field 3
*/
public String getIndexedAttribute3() {
return this.IndexedAttribute3;
}
/**
* Set Index field 3
* @param IndexedAttribute3 Index field 3
*/
public void setIndexedAttribute3(String IndexedAttribute3) {
this.IndexedAttribute3 = IndexedAttribute3;
}
/**
* Get Index field 4
* @return IndexedAttribute4 Index field 4
*/
public String getIndexedAttribute4() {
return this.IndexedAttribute4;
}
/**
* Set Index field 4
* @param IndexedAttribute4 Index field 4
*/
public void setIndexedAttribute4(String IndexedAttribute4) {
this.IndexedAttribute4 = IndexedAttribute4;
}
/**
* Get Index field 5
* @return IndexedAttribute5 Index field 5
*/
public String getIndexedAttribute5() {
return this.IndexedAttribute5;
}
/**
* Set Index field 5
* @param IndexedAttribute5 Index field 5
*/
public void setIndexedAttribute5(String IndexedAttribute5) {
this.IndexedAttribute5 = IndexedAttribute5;
}
public CreateUserRequest() {
}
/**
* 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 CreateUserRequest(CreateUserRequest source) {
if (source.UserStoreId != null) {
this.UserStoreId = new String(source.UserStoreId);
}
if (source.PhoneNumber != null) {
this.PhoneNumber = new String(source.PhoneNumber);
}
if (source.Email != null) {
this.Email = new String(source.Email);
}
if (source.Password != null) {
this.Password = new String(source.Password);
}
if (source.UserName != null) {
this.UserName = new String(source.UserName);
}
if (source.Nickname != null) {
this.Nickname = new String(source.Nickname);
}
if (source.Address != null) {
this.Address = new String(source.Address);
}
if (source.UserGroup != null) {
this.UserGroup = new String[source.UserGroup.length];
for (int i = 0; i < source.UserGroup.length; i++) {
this.UserGroup[i] = new String(source.UserGroup[i]);
}
}
if (source.Birthdate != null) {
this.Birthdate = new Long(source.Birthdate);
}
if (source.CustomizationAttributes != null) {
this.CustomizationAttributes = new MemberMap[source.CustomizationAttributes.length];
for (int i = 0; i < source.CustomizationAttributes.length; i++) {
this.CustomizationAttributes[i] = new MemberMap(source.CustomizationAttributes[i]);
}
}
if (source.IndexedAttribute1 != null) {
this.IndexedAttribute1 = new String(source.IndexedAttribute1);
}
if (source.IndexedAttribute2 != null) {
this.IndexedAttribute2 = new String(source.IndexedAttribute2);
}
if (source.IndexedAttribute3 != null) {
this.IndexedAttribute3 = new String(source.IndexedAttribute3);
}
if (source.IndexedAttribute4 != null) {
this.IndexedAttribute4 = new String(source.IndexedAttribute4);
}
if (source.IndexedAttribute5 != null) {
this.IndexedAttribute5 = new String(source.IndexedAttribute5);
}
}
/**
* Internal implementation, normal users should not use it.
*/
public void toMap(HashMap map, String prefix) {
this.setParamSimple(map, prefix + "UserStoreId", this.UserStoreId);
this.setParamSimple(map, prefix + "PhoneNumber", this.PhoneNumber);
this.setParamSimple(map, prefix + "Email", this.Email);
this.setParamSimple(map, prefix + "Password", this.Password);
this.setParamSimple(map, prefix + "UserName", this.UserName);
this.setParamSimple(map, prefix + "Nickname", this.Nickname);
this.setParamSimple(map, prefix + "Address", this.Address);
this.setParamArraySimple(map, prefix + "UserGroup.", this.UserGroup);
this.setParamSimple(map, prefix + "Birthdate", this.Birthdate);
this.setParamArrayObj(map, prefix + "CustomizationAttributes.", this.CustomizationAttributes);
this.setParamSimple(map, prefix + "IndexedAttribute1", this.IndexedAttribute1);
this.setParamSimple(map, prefix + "IndexedAttribute2", this.IndexedAttribute2);
this.setParamSimple(map, prefix + "IndexedAttribute3", this.IndexedAttribute3);
this.setParamSimple(map, prefix + "IndexedAttribute4", this.IndexedAttribute4);
this.setParamSimple(map, prefix + "IndexedAttribute5", this.IndexedAttribute5);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy