// This file is auto-generated, don't edit it import * as $dara from '@darabonba/typescript'; export class DescribeVSwitchesResponseBodyVSwitchesVSwitch extends $dara.Model { availableIpAddressCount?: number; cidrBlock?: string; creationTime?: string; description?: string; isDefault?: boolean; resourceGroupId?: string; status?: string; vSwitchId?: string; vSwitchName?: string; vpcId?: string; zoneId?: string; static names(): { [key: string]: string } { return { availableIpAddressCount: 'AvailableIpAddressCount', cidrBlock: 'CidrBlock', creationTime: 'CreationTime', description: 'Description', isDefault: 'IsDefault', resourceGroupId: 'ResourceGroupId', status: 'Status', vSwitchId: 'VSwitchId', vSwitchName: 'VSwitchName', vpcId: 'VpcId', zoneId: 'ZoneId', }; } static types(): { [key: string]: any } { return { availableIpAddressCount: 'number', cidrBlock: 'string', creationTime: 'string', description: 'string', isDefault: 'boolean', resourceGroupId: 'string', status: 'string', vSwitchId: 'string', vSwitchName: 'string', vpcId: 'string', zoneId: 'string', }; } validate() { super.validate(); } constructor(map?: { [key: string]: any }) { super(map); } } export class DescribeVSwitchesResponseBodyVSwitches extends $dara.Model { vSwitch?: DescribeVSwitchesResponseBodyVSwitchesVSwitch[]; static names(): { [key: string]: string } { return { vSwitch: 'VSwitch', }; } static types(): { [key: string]: any } { return { vSwitch: { 'type': 'array', 'itemType': DescribeVSwitchesResponseBodyVSwitchesVSwitch }, }; } validate() { if(Array.isArray(this.vSwitch)) { $dara.Model.validateArray(this.vSwitch); } super.validate(); } constructor(map?: { [key: string]: any }) { super(map); } } export class DescribeVSwitchesResponseBody extends $dara.Model { pageNumber?: number; pageSize?: number; requestId?: string; totalCount?: number; vSwitches?: DescribeVSwitchesResponseBodyVSwitches; static names(): { [key: string]: string } { return { pageNumber: 'PageNumber', pageSize: 'PageSize', requestId: 'RequestId', totalCount: 'TotalCount', vSwitches: 'VSwitches', }; } static types(): { [key: string]: any } { return { pageNumber: 'number', pageSize: 'number', requestId: 'string', totalCount: 'number', vSwitches: DescribeVSwitchesResponseBodyVSwitches, }; } validate() { if(this.vSwitches && typeof (this.vSwitches as any).validate === 'function') { (this.vSwitches as any).validate(); } super.validate(); } constructor(map?: { [key: string]: any }) { super(map); } }