// This file is auto-generated, don't edit it import * as $dara from '@darabonba/typescript'; export class ListRolesResponseBodyRolesRoleTagsTag extends $dara.Model { tagKey?: string; tagValue?: string; static names(): { [key: string]: string } { return { tagKey: 'TagKey', tagValue: 'TagValue', }; } static types(): { [key: string]: any } { return { tagKey: 'string', tagValue: 'string', }; } validate() { super.validate(); } constructor(map?: { [key: string]: any }) { super(map); } } export class ListRolesResponseBodyRolesRoleTags extends $dara.Model { tag?: ListRolesResponseBodyRolesRoleTagsTag[]; static names(): { [key: string]: string } { return { tag: 'Tag', }; } static types(): { [key: string]: any } { return { tag: { 'type': 'array', 'itemType': ListRolesResponseBodyRolesRoleTagsTag }, }; } validate() { if(Array.isArray(this.tag)) { $dara.Model.validateArray(this.tag); } super.validate(); } constructor(map?: { [key: string]: any }) { super(map); } } export class ListRolesResponseBodyRolesRole extends $dara.Model { arn?: string; createDate?: string; description?: string; maxSessionDuration?: number; roleId?: string; roleName?: string; tags?: ListRolesResponseBodyRolesRoleTags; updateDate?: string; static names(): { [key: string]: string } { return { arn: 'Arn', createDate: 'CreateDate', description: 'Description', maxSessionDuration: 'MaxSessionDuration', roleId: 'RoleId', roleName: 'RoleName', tags: 'Tags', updateDate: 'UpdateDate', }; } static types(): { [key: string]: any } { return { arn: 'string', createDate: 'string', description: 'string', maxSessionDuration: 'number', roleId: 'string', roleName: 'string', tags: ListRolesResponseBodyRolesRoleTags, updateDate: 'string', }; } validate() { if(this.tags && typeof (this.tags as any).validate === 'function') { (this.tags as any).validate(); } super.validate(); } constructor(map?: { [key: string]: any }) { super(map); } } export class ListRolesResponseBodyRoles extends $dara.Model { role?: ListRolesResponseBodyRolesRole[]; static names(): { [key: string]: string } { return { role: 'Role', }; } static types(): { [key: string]: any } { return { role: { 'type': 'array', 'itemType': ListRolesResponseBodyRolesRole }, }; } validate() { if(Array.isArray(this.role)) { $dara.Model.validateArray(this.role); } super.validate(); } constructor(map?: { [key: string]: any }) { super(map); } } export class ListRolesResponseBody extends $dara.Model { /** * @remarks * Indicates whether the response is truncated. * * @example * true */ isTruncated?: boolean; /** * @remarks * The marker. This parameter is returned only if the value of `IsTruncated` is `true`. If the parameter is returned, you can call this operation again and set this parameter to obtain the truncated part.```` * * @example * EXAMPLE */ marker?: string; /** * @remarks * The request ID. * * @example * 7B8A4E7D-6CFF-471D-84DF-195A7A241ECB */ requestId?: string; roles?: ListRolesResponseBodyRoles; static names(): { [key: string]: string } { return { isTruncated: 'IsTruncated', marker: 'Marker', requestId: 'RequestId', roles: 'Roles', }; } static types(): { [key: string]: any } { return { isTruncated: 'boolean', marker: 'string', requestId: 'string', roles: ListRolesResponseBodyRoles, }; } validate() { if(this.roles && typeof (this.roles as any).validate === 'function') { (this.roles as any).validate(); } super.validate(); } constructor(map?: { [key: string]: any }) { super(map); } }