onshape-clients
Version:
The meta package for creating the various Onshape clients
85 lines (78 loc) • 2.1 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.
*/
export class BTActionInfo {
'method'?: string;
'tooltip'?: string;
'isApproverAction'?: boolean;
'showIfApprovers'?: boolean;
'showIfNoApprovers'?: boolean;
'alwaysAllow'?: boolean;
'label'?: string;
'action'?: string;
'uiHint'?: string;
'isAdminOverride'?: boolean;
static discriminator: string | undefined = undefined;
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
{
"name": "method",
"baseName": "method",
"type": "string"
},
{
"name": "tooltip",
"baseName": "tooltip",
"type": "string"
},
{
"name": "isApproverAction",
"baseName": "isApproverAction",
"type": "boolean"
},
{
"name": "showIfApprovers",
"baseName": "showIfApprovers",
"type": "boolean"
},
{
"name": "showIfNoApprovers",
"baseName": "showIfNoApprovers",
"type": "boolean"
},
{
"name": "alwaysAllow",
"baseName": "alwaysAllow",
"type": "boolean"
},
{
"name": "label",
"baseName": "label",
"type": "string"
},
{
"name": "action",
"baseName": "action",
"type": "string"
},
{
"name": "uiHint",
"baseName": "uiHint",
"type": "string"
},
{
"name": "isAdminOverride",
"baseName": "isAdminOverride",
"type": "boolean"
} ];
static getAttributeTypeMap() {
return BTActionInfo.attributeTypeMap;
}
}