// This file is auto-generated, don't edit it import * as $dara from '@darabonba/typescript'; export class BindMFADeviceRequest extends $dara.Model { /** * @remarks * The first verification code. * * > You can call the [CreateVirtualMFADevice](https://help.aliyun.com/document_detail/186179.html) operation to create an MFA device and generate a key (value of `Base32StringSeed`). Then, use the key on the Alibaba Cloud app to manually add an MFA device, and obtain the two consecutive verification codes. * * @example * 123456 */ authenticationCode1?: string; /** * @remarks * The second verification code. * * > You can call the [CreateVirtualMFADevice](https://help.aliyun.com/document_detail/186179.html) operation to create an MFA device and generate a key (value of `Base32StringSeed`). Then, use the key on the Alibaba Cloud app to manually add an MFA device, and obtain the two consecutive verification codes. * * @example * 654321 */ authenticationCode2?: string; /** * @remarks * The serial number of the MFA device. * * > You can call the [CreateVirtualMFADevice](https://help.aliyun.com/document_detail/186179.html) operation to obtain the serial number of the MFA device. * * @example * acs:ram::177242285274****:mfa/device001 */ serialNumber?: string; /** * @remarks * The logon name of the RAM user. * * This parameter is required. * * @example * test@example.onaliyun.com */ userPrincipalName?: string; static names(): { [key: string]: string } { return { authenticationCode1: 'AuthenticationCode1', authenticationCode2: 'AuthenticationCode2', serialNumber: 'SerialNumber', userPrincipalName: 'UserPrincipalName', }; } static types(): { [key: string]: any } { return { authenticationCode1: 'string', authenticationCode2: 'string', serialNumber: 'string', userPrincipalName: 'string', }; } validate() { super.validate(); } constructor(map?: { [key: string]: any }) { super(map); } }