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

com.aliyun.pds20220301.models.CreateUserResponseBody Maven / Gradle / Ivy

There is a newer version: 4.0.0
Show newest version
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.pds20220301.models;

import com.aliyun.tea.*;

public class CreateUserResponseBody extends TeaModel {
    /**
     * 

The URL of the profile picture.

* * example: *

http://aa.com/1.jpg

*/ @NameInMap("avatar") public String avatar; /** *

The time when the user was created. This value is a UNIX timestamp representing the number of milliseconds that have elapsed since January 1, 1970, 00:00:00 UTC.

* * example: *

1639762579768

*/ @NameInMap("created_at") public Long createdAt; /** *

The user who created the user.

* * example: *

user1

*/ @NameInMap("creator") public String creator; /** *

The ID of the default drive.

* * example: *

1

*/ @NameInMap("default_drive_id") public String defaultDriveId; /** *

The description of the user.

* * example: *

vipuser

*/ @NameInMap("description") public String description; /** *

The domain ID.

* * example: *

bj1

*/ @NameInMap("domain_id") public String domainId; /** *

The email address.

* * example: *

[email protected]

*/ @NameInMap("email") public String email; /** *

The nickname of the user.

* * example: *

001

*/ @NameInMap("nick_name") public String nickName; /** *

The phone number.

* * example: *

13900001111

*/ @NameInMap("phone") public String phone; /** *

The role of the user. Valid values:

*
    *
  • superadmin
  • *
  • admin
  • *
  • user
  • *
* * example: *

admin

*/ @NameInMap("role") public String role; /** *

The state of the user. Valid values:

*
    *
  • disabled: The user is prohibited from logon.
  • *
  • enabled: The user is in a normal state.
  • *
* * example: *

enabled

*/ @NameInMap("status") public String status; /** *

The time when the user was modified. This value is a UNIX timestamp representing the number of milliseconds that have elapsed since January 1, 1970, 00:00:00 UTC.

* * example: *

1639762579768

*/ @NameInMap("updated_at") public Long updatedAt; /** *

The custom data.

*/ @NameInMap("user_data") public java.util.Map userData; /** *

The user ID.

* * example: *

dingding_abc001

*/ @NameInMap("user_id") public String userId; /** *

The username.

* * example: *

pds

*/ @NameInMap("user_name") public String userName; public static CreateUserResponseBody build(java.util.Map map) throws Exception { CreateUserResponseBody self = new CreateUserResponseBody(); return TeaModel.build(map, self); } public CreateUserResponseBody setAvatar(String avatar) { this.avatar = avatar; return this; } public String getAvatar() { return this.avatar; } public CreateUserResponseBody setCreatedAt(Long createdAt) { this.createdAt = createdAt; return this; } public Long getCreatedAt() { return this.createdAt; } public CreateUserResponseBody setCreator(String creator) { this.creator = creator; return this; } public String getCreator() { return this.creator; } public CreateUserResponseBody setDefaultDriveId(String defaultDriveId) { this.defaultDriveId = defaultDriveId; return this; } public String getDefaultDriveId() { return this.defaultDriveId; } public CreateUserResponseBody setDescription(String description) { this.description = description; return this; } public String getDescription() { return this.description; } public CreateUserResponseBody setDomainId(String domainId) { this.domainId = domainId; return this; } public String getDomainId() { return this.domainId; } public CreateUserResponseBody setEmail(String email) { this.email = email; return this; } public String getEmail() { return this.email; } public CreateUserResponseBody setNickName(String nickName) { this.nickName = nickName; return this; } public String getNickName() { return this.nickName; } public CreateUserResponseBody setPhone(String phone) { this.phone = phone; return this; } public String getPhone() { return this.phone; } public CreateUserResponseBody setRole(String role) { this.role = role; return this; } public String getRole() { return this.role; } public CreateUserResponseBody setStatus(String status) { this.status = status; return this; } public String getStatus() { return this.status; } public CreateUserResponseBody setUpdatedAt(Long updatedAt) { this.updatedAt = updatedAt; return this; } public Long getUpdatedAt() { return this.updatedAt; } public CreateUserResponseBody setUserData(java.util.Map userData) { this.userData = userData; return this; } public java.util.Map getUserData() { return this.userData; } public CreateUserResponseBody setUserId(String userId) { this.userId = userId; return this; } public String getUserId() { return this.userId; } public CreateUserResponseBody setUserName(String userName) { this.userName = userName; return this; } public String getUserName() { return this.userName; } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy