// This file is auto-generated, don't edit it import * as $dara from '@darabonba/typescript'; export class UpdateUserResponseBodyUser extends $dara.Model { /** * @remarks * The description. * * @example * This is a cloud computing engineer. */ comments?: string; /** * @remarks * The time when the RAM user was created. * * @example * 2020-10-12T09:12:00Z */ createDate?: string; /** * @remarks * The display name of the RAM user. * * @example * new */ displayName?: string; /** * @remarks * The email address of the RAM user. * * > This parameter is valid only on the China site (aliyun.com). * * @example * alice@example.com */ email?: string; /** * @remarks * The last time when the RAM user logged on to the Alibaba Cloud Management Console. * * @example * 2020-10-12T09:12:00Z */ lastLoginDate?: string; /** * @remarks * The mobile phone number of the RAM user. * * > This parameter is valid only on the China site (aliyun.com). * * @example * 86-1868888**** */ mobilePhone?: string; /** * @remarks * 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 */ provisionType?: string; /** * @remarks * The time when the information about the RAM user was updated. * * @example * 2020-10-13T09:19:49Z */ updateDate?: string; /** * @remarks * The ID of the RAM user. * * @example * 20732900249392**** */ userId?: string; /** * @remarks * The logon name of the RAM user. * * @example * new@example.onaliyun.com */ userPrincipalName?: string; static names(): { [key: string]: string } { return { comments: 'Comments', createDate: 'CreateDate', displayName: 'DisplayName', email: 'Email', lastLoginDate: 'LastLoginDate', mobilePhone: 'MobilePhone', provisionType: 'ProvisionType', updateDate: 'UpdateDate', userId: 'UserId', userPrincipalName: 'UserPrincipalName', }; } static types(): { [key: string]: any } { return { comments: 'string', createDate: 'string', displayName: 'string', email: 'string', lastLoginDate: 'string', mobilePhone: 'string', provisionType: 'string', updateDate: 'string', userId: 'string', userPrincipalName: 'string', }; } validate() { super.validate(); } constructor(map?: { [key: string]: any }) { super(map); } } export class UpdateUserResponseBody extends $dara.Model { /** * @remarks * The request ID. * * @example * 1B56DD42-6962-4F89-A19C-079EED1F0FE3 */ requestId?: string; /** * @remarks * The information about the RAM user. */ user?: UpdateUserResponseBodyUser; static names(): { [key: string]: string } { return { requestId: 'RequestId', user: 'User', }; } static types(): { [key: string]: any } { return { requestId: 'string', user: UpdateUserResponseBodyUser, }; } validate() { if(this.user && typeof (this.user as any).validate === 'function') { (this.user as any).validate(); } super.validate(); } constructor(map?: { [key: string]: any }) { super(map); } }