// This file is auto-generated, don't edit it import * as $dara from '@darabonba/typescript'; export class UpdateUserRequest extends $dara.Model { /** * @remarks * The new description of the RAM user. * * The description must be 1 to 128 characters in length. * * @example * This is a cloud computing engineer. */ newComments?: string; /** * @remarks * The new display name of the RAM user. * * The name must be 1 to 24 characters in length. * * @example * new */ newDisplayName?: string; /** * @remarks * The new email address of the RAM user. * * > This parameter is valid only on the China site (aliyun.com). * * @example * alice@example.com */ newEmail?: string; /** * @remarks * The new mobile phone number of the RAM user. * * Format: \\-\\. * * > This parameter is valid only on the China site (aliyun.com). * * @example * 86-1868888**** */ newMobilePhone?: string; /** * @remarks * The new logon name of the RAM user. * * The name is in the format of `@.onaliyun.com`. `` indicates the name of the RAM user. `.onaliyun.com` indicates the default domain name. * * The value of `NewUserPrincipalName` must be `1 to 128` characters in length and can contain letters, digits, periods (.), hyphens (-), and underscores (_). The value of `` must be `1 to 64` characters in length. * * @example * new@example.onaliyun.com */ newUserPrincipalName?: string; /** * @remarks * The ID of the RAM user. * * > You must specify only one of the following parameters: `UserPrincipalName` and `UserId`. * * @example * 20732900249392**** */ userId?: string; /** * @remarks * The logon name of the RAM user. * * > You must specify only one of the following parameters: `UserPrincipalName` and `UserId`. * * @example * test@example.onaliyun.com */ userPrincipalName?: string; static names(): { [key: string]: string } { return { newComments: 'NewComments', newDisplayName: 'NewDisplayName', newEmail: 'NewEmail', newMobilePhone: 'NewMobilePhone', newUserPrincipalName: 'NewUserPrincipalName', userId: 'UserId', userPrincipalName: 'UserPrincipalName', }; } static types(): { [key: string]: any } { return { newComments: 'string', newDisplayName: 'string', newEmail: 'string', newMobilePhone: 'string', newUserPrincipalName: 'string', userId: 'string', userPrincipalName: 'string', }; } validate() { super.validate(); } constructor(map?: { [key: string]: any }) { super(map); } }