onshape-clients
Version:
The meta package for creating the various Onshape clients
81 lines (74 loc) • 2.85 kB
text/typescript
/**
* 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 { BTComponentUsagesSummary } from './bTComponentUsagesSummary';
import { BTUserUsagesSummary } from './bTUserUsagesSummary';
export class BTStandardContentUsageSummary {
'topUsedComponentsByLatestVersions'?: { [key: string]: BTComponentUsagesSummary; };
'topUsedComponentsByWorkspaces'?: { [key: string]: BTComponentUsagesSummary; };
'topUsersByLatestVersions'?: { [key: string]: BTUserUsagesSummary; };
'topUsersByWorkspaces'?: { [key: string]: BTUserUsagesSummary; };
'topComponentsUsedAlongWithByLatestVersions'?: { [key: string]: BTComponentUsagesSummary; };
'workspaceUseCount'?: number;
'latestVersionUseCount'?: number;
'versionUseCount'?: number;
'topUsersSummaryDone'?: boolean;
static discriminator: string | undefined = undefined;
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
{
"name": "topUsedComponentsByLatestVersions",
"baseName": "topUsedComponentsByLatestVersions",
"type": "{ [key: string]: BTComponentUsagesSummary; }"
},
{
"name": "topUsedComponentsByWorkspaces",
"baseName": "topUsedComponentsByWorkspaces",
"type": "{ [key: string]: BTComponentUsagesSummary; }"
},
{
"name": "topUsersByLatestVersions",
"baseName": "topUsersByLatestVersions",
"type": "{ [key: string]: BTUserUsagesSummary; }"
},
{
"name": "topUsersByWorkspaces",
"baseName": "topUsersByWorkspaces",
"type": "{ [key: string]: BTUserUsagesSummary; }"
},
{
"name": "topComponentsUsedAlongWithByLatestVersions",
"baseName": "topComponentsUsedAlongWithByLatestVersions",
"type": "{ [key: string]: BTComponentUsagesSummary; }"
},
{
"name": "workspaceUseCount",
"baseName": "workspaceUseCount",
"type": "number"
},
{
"name": "latestVersionUseCount",
"baseName": "latestVersionUseCount",
"type": "number"
},
{
"name": "versionUseCount",
"baseName": "versionUseCount",
"type": "number"
},
{
"name": "topUsersSummaryDone",
"baseName": "topUsersSummaryDone",
"type": "boolean"
} ];
static getAttributeTypeMap() {
return BTStandardContentUsageSummary.attributeTypeMap;
}
}