// This file is auto-generated, don't edit it import * as $dara from '@darabonba/typescript'; import { ChannelAssemblySourceLocation } from "./ChannelAssemblySourceLocation"; export class ListSourceLocationsResponseBody extends $dara.Model { /** * @remarks * The page number. Default value: 1. * * @example * 1 */ pageNo?: number; /** * @remarks * The number of entries per page. Default value: 20. Valid values: 1 to 100. * * @example * 10 */ pageSize?: number; /** * @remarks * **Request ID** * * @example * xxx-xxxx-xxxxx-xxxx */ requestId?: string; /** * @remarks * The source locations. */ sourceLocationList?: ChannelAssemblySourceLocation[]; /** * @remarks * The total number of entries returned. * * @example * 100 */ totalCount?: number; static names(): { [key: string]: string } { return { pageNo: 'PageNo', pageSize: 'PageSize', requestId: 'RequestId', sourceLocationList: 'SourceLocationList', totalCount: 'TotalCount', }; } static types(): { [key: string]: any } { return { pageNo: 'number', pageSize: 'number', requestId: 'string', sourceLocationList: { 'type': 'array', 'itemType': ChannelAssemblySourceLocation }, totalCount: 'number', }; } validate() { if(Array.isArray(this.sourceLocationList)) { $dara.Model.validateArray(this.sourceLocationList); } super.validate(); } constructor(map?: { [key: string]: any }) { super(map); } }