onshape-clients
Version:
The meta package for creating the various Onshape clients
50 lines (43 loc) • 1.29 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 { BTAdminRolePermissionParams } from './bTAdminRolePermissionParams';
export class BTAdminRoleParams {
'name'?: string;
'permissions'?: Array<BTAdminRolePermissionParams>;
'id'?: string;
'description'?: string;
static discriminator: string | undefined = undefined;
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
{
"name": "name",
"baseName": "name",
"type": "string"
},
{
"name": "permissions",
"baseName": "permissions",
"type": "Array<BTAdminRolePermissionParams>"
},
{
"name": "id",
"baseName": "id",
"type": "string"
},
{
"name": "description",
"baseName": "description",
"type": "string"
} ];
static getAttributeTypeMap() {
return BTAdminRoleParams.attributeTypeMap;
}
}