UNPKG

onshape-clients

Version:

The meta package for creating the various Onshape clients

136 lines (129 loc) 3.45 kB
/** * Onshape REST API * The Onshape REST API consumed by all clients. * * OpenAPI spec version: 1.93 * Contact: api-support@onshape.zendesk.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ import { BTThumbnailInfo } from './bTThumbnailInfo'; import { BTUserBasicSummaryInfo } from './bTUserBasicSummaryInfo'; import { BTVersionInfo } from './bTVersionInfo'; export class BTWorkspaceInfo { 'isReadOnly'?: boolean; 'canDelete'?: boolean; 'parent'?: string; 'type'?: string; 'description'?: string; 'microversion'?: string; 'creator'?: BTUserBasicSummaryInfo; 'modifiedAt'?: Date; 'documentId'?: string; 'createdAt'?: Date; 'lastModifier'?: BTUserBasicSummaryInfo; 'thumbnail'?: BTThumbnailInfo; 'parents'?: Array<BTVersionInfo>; 'overrideDate'?: Date; 'name'?: string; 'id'?: string; 'href'?: string; 'viewRef'?: string; static discriminator: string | undefined = undefined; static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "isReadOnly", "baseName": "isReadOnly", "type": "boolean" }, { "name": "canDelete", "baseName": "canDelete", "type": "boolean" }, { "name": "parent", "baseName": "parent", "type": "string" }, { "name": "type", "baseName": "type", "type": "string" }, { "name": "description", "baseName": "description", "type": "string" }, { "name": "microversion", "baseName": "microversion", "type": "string" }, { "name": "creator", "baseName": "creator", "type": "BTUserBasicSummaryInfo" }, { "name": "modifiedAt", "baseName": "modifiedAt", "type": "Date" }, { "name": "documentId", "baseName": "documentId", "type": "string" }, { "name": "createdAt", "baseName": "createdAt", "type": "Date" }, { "name": "lastModifier", "baseName": "lastModifier", "type": "BTUserBasicSummaryInfo" }, { "name": "thumbnail", "baseName": "thumbnail", "type": "BTThumbnailInfo" }, { "name": "parents", "baseName": "parents", "type": "Array<BTVersionInfo>" }, { "name": "overrideDate", "baseName": "overrideDate", "type": "Date" }, { "name": "name", "baseName": "name", "type": "string" }, { "name": "id", "baseName": "id", "type": "string" }, { "name": "href", "baseName": "href", "type": "string" }, { "name": "viewRef", "baseName": "viewRef", "type": "string" } ]; static getAttributeTypeMap() { return BTWorkspaceInfo.attributeTypeMap; } }