
com.aliyun.ims20190815.models.CreateUserResponseBody Maven / Gradle / Ivy
Show all versions of ims20190815 Show documentation
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.ims20190815.models;
import com.aliyun.tea.*;
public class CreateUserResponseBody extends TeaModel {
/**
* The request ID.
*
* example:
* 2BB8C44A-2862-4922-AD43-03924749173B
*/
@NameInMap("RequestId")
public String requestId;
/**
* The information about the RAM user.
*/
@NameInMap("User")
public CreateUserResponseBodyUser user;
public static CreateUserResponseBody build(java.util.Map map) throws Exception {
CreateUserResponseBody self = new CreateUserResponseBody();
return TeaModel.build(map, self);
}
public CreateUserResponseBody setRequestId(String requestId) {
this.requestId = requestId;
return this;
}
public String getRequestId() {
return this.requestId;
}
public CreateUserResponseBody setUser(CreateUserResponseBodyUser user) {
this.user = user;
return this;
}
public CreateUserResponseBodyUser getUser() {
return this.user;
}
public static class CreateUserResponseBodyUserTagsTag extends TeaModel {
/**
* The tag key.
*
* example:
* operator
*/
@NameInMap("TagKey")
public String tagKey;
/**
* The tag value.
*
* example:
* alice
*/
@NameInMap("TagValue")
public String tagValue;
public static CreateUserResponseBodyUserTagsTag build(java.util.Map map) throws Exception {
CreateUserResponseBodyUserTagsTag self = new CreateUserResponseBodyUserTagsTag();
return TeaModel.build(map, self);
}
public CreateUserResponseBodyUserTagsTag setTagKey(String tagKey) {
this.tagKey = tagKey;
return this;
}
public String getTagKey() {
return this.tagKey;
}
public CreateUserResponseBodyUserTagsTag setTagValue(String tagValue) {
this.tagValue = tagValue;
return this;
}
public String getTagValue() {
return this.tagValue;
}
}
public static class CreateUserResponseBodyUserTags extends TeaModel {
@NameInMap("Tag")
public java.util.List tag;
public static CreateUserResponseBodyUserTags build(java.util.Map map) throws Exception {
CreateUserResponseBodyUserTags self = new CreateUserResponseBodyUserTags();
return TeaModel.build(map, self);
}
public CreateUserResponseBodyUserTags setTag(java.util.List tag) {
this.tag = tag;
return this;
}
public java.util.List getTag() {
return this.tag;
}
}
public static class CreateUserResponseBodyUser extends TeaModel {
/**
* The description.
*
* example:
* This is a cloud computing engineer.
*/
@NameInMap("Comments")
public String comments;
/**
* The time when the RAM user was created.
*
* example:
* 2020-10-12T09:12:00Z
*/
@NameInMap("CreateDate")
public String createDate;
/**
* The display name of the RAM user.
*
* example:
* test
*/
@NameInMap("DisplayName")
public String displayName;
/**
* The email address of the RAM user.
*
* This parameter is valid only on the China site (aliyun.com).
*
*
* example:
*
*/
@NameInMap("Email")
public String email;
/**
* The last time when the RAM user logged on to the Alibaba Cloud Management Console.
*
* example:
* 2020-10-12T09:12:00Z
*/
@NameInMap("LastLoginDate")
public String lastLoginDate;
/**
* The mobile phone number of the RAM user.
*
* This parameter is valid only on the China site (aliyun.com).
*
*
* example:
* 86-1868888****
*/
@NameInMap("MobilePhone")
public String mobilePhone;
/**
* The source of the RAM user. Valid values:
*
* - Manual: The RAM user is manually created in the RAM console.
* - SCIM: The RAM user is mapped by using System for Cross-domain Identity Management (SCIM).
* - CloudSSO: The RAM user is mapped from a CloudSSO user.
*
*
* example:
* Manual
*/
@NameInMap("ProvisionType")
public String provisionType;
/**
* The tag value.
*/
@NameInMap("Tags")
public CreateUserResponseBodyUserTags tags;
/**
* The time when the information about the RAM user was updated.
*
* example:
* 2020-10-12T09:12:00Z
*/
@NameInMap("UpdateDate")
public String updateDate;
/**
* The ID of the RAM user.
*
* example:
* 20732900249392****
*/
@NameInMap("UserId")
public String userId;
/**
* The logon name of the RAM user.
*
* example:
*
*/
@NameInMap("UserPrincipalName")
public String userPrincipalName;
public static CreateUserResponseBodyUser build(java.util.Map map) throws Exception {
CreateUserResponseBodyUser self = new CreateUserResponseBodyUser();
return TeaModel.build(map, self);
}
public CreateUserResponseBodyUser setComments(String comments) {
this.comments = comments;
return this;
}
public String getComments() {
return this.comments;
}
public CreateUserResponseBodyUser setCreateDate(String createDate) {
this.createDate = createDate;
return this;
}
public String getCreateDate() {
return this.createDate;
}
public CreateUserResponseBodyUser setDisplayName(String displayName) {
this.displayName = displayName;
return this;
}
public String getDisplayName() {
return this.displayName;
}
public CreateUserResponseBodyUser setEmail(String email) {
this.email = email;
return this;
}
public String getEmail() {
return this.email;
}
public CreateUserResponseBodyUser setLastLoginDate(String lastLoginDate) {
this.lastLoginDate = lastLoginDate;
return this;
}
public String getLastLoginDate() {
return this.lastLoginDate;
}
public CreateUserResponseBodyUser setMobilePhone(String mobilePhone) {
this.mobilePhone = mobilePhone;
return this;
}
public String getMobilePhone() {
return this.mobilePhone;
}
public CreateUserResponseBodyUser setProvisionType(String provisionType) {
this.provisionType = provisionType;
return this;
}
public String getProvisionType() {
return this.provisionType;
}
public CreateUserResponseBodyUser setTags(CreateUserResponseBodyUserTags tags) {
this.tags = tags;
return this;
}
public CreateUserResponseBodyUserTags getTags() {
return this.tags;
}
public CreateUserResponseBodyUser setUpdateDate(String updateDate) {
this.updateDate = updateDate;
return this;
}
public String getUpdateDate() {
return this.updateDate;
}
public CreateUserResponseBodyUser setUserId(String userId) {
this.userId = userId;
return this;
}
public String getUserId() {
return this.userId;
}
public CreateUserResponseBodyUser setUserPrincipalName(String userPrincipalName) {
this.userPrincipalName = userPrincipalName;
return this;
}
public String getUserPrincipalName() {
return this.userPrincipalName;
}
}
}