Skip to main content
Module

x/windmill/windmill-api/models/Resource.ts

Windmill deno client (separated from the main repo because most of the code is auto-generated from the openapi and not worth committing)
Go to Latest
File
/** * Windmill server API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * * OpenAPI spec version: 1.28.1 * Contact: contact@windmill.dev * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */
import { HttpFile } from '../http/http.ts';
export class Resource { 'workspaceId'?: string; 'path': string; 'description'?: string; 'resourceType': string; 'value'?: any; 'isOauth': boolean; 'extraPerms'?: { [key: string]: boolean; };
static readonly discriminator: string | undefined = undefined;
static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ { "name": "workspaceId", "baseName": "workspace_id", "type": "string", "format": "" }, { "name": "path", "baseName": "path", "type": "string", "format": "" }, { "name": "description", "baseName": "description", "type": "string", "format": "" }, { "name": "resourceType", "baseName": "resource_type", "type": "string", "format": "" }, { "name": "value", "baseName": "value", "type": "any", "format": "" }, { "name": "isOauth", "baseName": "is_oauth", "type": "boolean", "format": "" }, { "name": "extraPerms", "baseName": "extra_perms", "type": "{ [key: string]: boolean; }", "format": "" } ];
static getAttributeTypeMap() { return Resource.attributeTypeMap; }
public constructor() { }}