// This file is auto-generated, don't edit it import * as $dara from '@darabonba/typescript'; export class ListUserBasicInfosRequestTag extends $dara.Model { /** * @remarks * The key of tag N. * * Valid values of N: 1 to 20. N must be consecutive. * * @example * operator */ key?: string; /** * @remarks * The value of tag N. * * Valid values of N: 1 to 20. N must be consecutive. * * @example * alice */ value?: string; static names(): { [key: string]: string } { return { key: 'Key', value: 'Value', }; } static types(): { [key: string]: any } { return { key: 'string', value: 'string', }; } validate() { super.validate(); } constructor(map?: { [key: string]: any }) { super(map); } } export class ListUserBasicInfosRequest extends $dara.Model { /** * @remarks * The `marker`. If part of a previous response is truncated, you can use this parameter to obtain the truncated part. * * @example * EXAMPLE */ marker?: string; /** * @remarks * The number of entries to return. If a response is truncated because it reaches the value of `MaxItems`, the value of `IsTruncated` will be `true`. * * Valid values: 1 to 1000. Default value: 100. * * @example * 100 */ maxItems?: number; /** * @remarks * The status of the RAM users that you want to query. Valid values: active, freeze, and active,freeze. If you set the value to active,freeze, RAM users in both active and freeze states are queried. If you leave the parameter empty, the value active is used by default. If the Tag parameter is specified, you cannot specify the Status parameter. In this case, RAM users in both states are queried. * * @example * active */ status?: string; /** * @remarks * The tags. */ tag?: ListUserBasicInfosRequestTag[]; static names(): { [key: string]: string } { return { marker: 'Marker', maxItems: 'MaxItems', status: 'Status', tag: 'Tag', }; } static types(): { [key: string]: any } { return { marker: 'string', maxItems: 'number', status: 'string', tag: { 'type': 'array', 'itemType': ListUserBasicInfosRequestTag }, }; } validate() { if(Array.isArray(this.tag)) { $dara.Model.validateArray(this.tag); } super.validate(); } constructor(map?: { [key: string]: any }) { super(map); } }