onshape-clients
Version:
The meta package for creating the various Onshape clients
56 lines (49 loc) • 1.3 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 { Plan } from './plan';
export class SubscriptionItem {
'id'?: string;
'object'?: string;
'created'?: number;
'plan'?: Plan;
'quantity'?: number;
static discriminator: string | undefined = undefined;
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
{
"name": "id",
"baseName": "id",
"type": "string"
},
{
"name": "object",
"baseName": "object",
"type": "string"
},
{
"name": "created",
"baseName": "created",
"type": "number"
},
{
"name": "plan",
"baseName": "plan",
"type": "Plan"
},
{
"name": "quantity",
"baseName": "quantity",
"type": "number"
} ];
static getAttributeTypeMap() {
return SubscriptionItem.attributeTypeMap;
}
}