// This file is auto-generated, don't edit it import * as $dara from '@darabonba/typescript'; import { AiRtcAuthCodeDTO } from "./AiRtcAuthCodeDto"; export class GetAiRtcAuthCodeListResponseBody extends $dara.Model { /** * @remarks * An array of AiRtcAuthCodeDTO objects, each representing an authorization code. */ authCodeList?: AiRtcAuthCodeDTO[]; /** * @remarks * The error code. * * @example * Success */ code?: string; /** * @remarks * The HTTP status code. * * @example * 200 */ httpStatusCode?: number; /** * @remarks * The error message. * * @example * OK */ message?: string; /** * @remarks * The request ID. * * @example * 7B117AF5-2A16-412C-B127-FA6175ED1*** */ requestId?: string; /** * @remarks * Indicates whether the call was successful. * * @example * true */ success?: boolean; /** * @remarks * The total number of entries returned. * * @example * 10 */ totalCount?: number; static names(): { [key: string]: string } { return { authCodeList: 'AuthCodeList', code: 'Code', httpStatusCode: 'HttpStatusCode', message: 'Message', requestId: 'RequestId', success: 'Success', totalCount: 'TotalCount', }; } static types(): { [key: string]: any } { return { authCodeList: { 'type': 'array', 'itemType': AiRtcAuthCodeDTO }, code: 'string', httpStatusCode: 'number', message: 'string', requestId: 'string', success: 'boolean', totalCount: 'number', }; } validate() { if(Array.isArray(this.authCodeList)) { $dara.Model.validateArray(this.authCodeList); } super.validate(); } constructor(map?: { [key: string]: any }) { super(map); } }