cs-20151215/src/models/DescribeClustersResponseBody.ts (108 lines of code) (raw):

// This file is auto-generated, don't edit it import * as $dara from '@darabonba/typescript'; import { DescribeClustersResponseBodyTags } from "./DescribeClustersResponseBodyTags"; export class DescribeClustersResponseBody extends $dara.Model { clusterId?: string; clusterType?: string; created?: string; currentVersion?: string; dataDiskCategory?: string; dataDiskSize?: number; deletionProtection?: boolean; dockerVersion?: string; externalLoadbalancerId?: string; initVersion?: string; masterUrl?: string; metaData?: string; name?: string; networkMode?: string; privateZone?: boolean; profile?: string; regionId?: string; resourceGroupId?: string; securityGroupId?: string; size?: number; state?: string; subnetCidr?: string; tags?: DescribeClustersResponseBodyTags[]; updated?: string; vpcId?: string; vswitchCidr?: string; vswitchId?: string; workerRamRoleName?: string; zoneId?: string; static names(): { [key: string]: string } { return { clusterId: 'cluster_id', clusterType: 'cluster_type', created: 'created', currentVersion: 'current_version', dataDiskCategory: 'data_disk_category', dataDiskSize: 'data_disk_size', deletionProtection: 'deletion_protection', dockerVersion: 'docker_version', externalLoadbalancerId: 'external_loadbalancer_id', initVersion: 'init_version', masterUrl: 'master_url', metaData: 'meta_data', name: 'name', networkMode: 'network_mode', privateZone: 'private_zone', profile: 'profile', regionId: 'region_id', resourceGroupId: 'resource_group_id', securityGroupId: 'security_group_id', size: 'size', state: 'state', subnetCidr: 'subnet_cidr', tags: 'tags', updated: 'updated', vpcId: 'vpc_id', vswitchCidr: 'vswitch_cidr', vswitchId: 'vswitch_id', workerRamRoleName: 'worker_ram_role_name', zoneId: 'zone_id', }; } static types(): { [key: string]: any } { return { clusterId: 'string', clusterType: 'string', created: 'string', currentVersion: 'string', dataDiskCategory: 'string', dataDiskSize: 'number', deletionProtection: 'boolean', dockerVersion: 'string', externalLoadbalancerId: 'string', initVersion: 'string', masterUrl: 'string', metaData: 'string', name: 'string', networkMode: 'string', privateZone: 'boolean', profile: 'string', regionId: 'string', resourceGroupId: 'string', securityGroupId: 'string', size: 'number', state: 'string', subnetCidr: 'string', tags: { 'type': 'array', 'itemType': DescribeClustersResponseBodyTags }, updated: 'string', vpcId: 'string', vswitchCidr: 'string', vswitchId: 'string', workerRamRoleName: 'string', zoneId: 'string', }; } validate() { if(Array.isArray(this.tags)) { $dara.Model.validateArray(this.tags); } super.validate(); } constructor(map?: { [key: string]: any }) { super(map); } }