Module
x/windmill/windmill-api/models/CompletedJob.ts
Windmill deno client (separated from the main repo because most of the code is auto-generated from the openapi and not worth committing)
Extremely Popular
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220/** * 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 { FlowStatus } from './FlowStatus.ts';import { FlowValue } from './FlowValue.ts';import { HttpFile } from '../http/http.ts';
export class CompletedJob { 'workspaceId'?: string; 'id': string; 'parentJob'?: string; 'createdBy': string; 'createdAt': Date; 'startedAt': Date; 'durationMs': number; 'success': boolean; 'scriptPath'?: string; 'scriptHash'?: string; 'args'?: { [key: string]: any; }; 'result'?: any; 'logs'?: string; 'deleted'?: boolean; 'rawCode'?: string; 'canceled': boolean; 'canceledBy'?: string; 'canceledReason'?: string; 'jobKind': CompletedJobJobKindEnum; 'schedulePath'?: string; /** * The user (u/userfoo) or group (g/groupfoo) whom the execution of this script will be permissioned_as and by extension its DT_TOKEN. */ 'permissionedAs': string; 'flowStatus'?: FlowStatus; 'rawFlow'?: FlowValue; 'isFlowStep': boolean; 'language'?: CompletedJobLanguageEnum; 'isSkipped': 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": "id", "baseName": "id", "type": "string", "format": "uuid" }, { "name": "parentJob", "baseName": "parent_job", "type": "string", "format": "uuid" }, { "name": "createdBy", "baseName": "created_by", "type": "string", "format": "" }, { "name": "createdAt", "baseName": "created_at", "type": "Date", "format": "date-time" }, { "name": "startedAt", "baseName": "started_at", "type": "Date", "format": "date-time" }, { "name": "durationMs", "baseName": "duration_ms", "type": "number", "format": "" }, { "name": "success", "baseName": "success", "type": "boolean", "format": "" }, { "name": "scriptPath", "baseName": "script_path", "type": "string", "format": "" }, { "name": "scriptHash", "baseName": "script_hash", "type": "string", "format": "" }, { "name": "args", "baseName": "args", "type": "{ [key: string]: any; }", "format": "" }, { "name": "result", "baseName": "result", "type": "any", "format": "" }, { "name": "logs", "baseName": "logs", "type": "string", "format": "" }, { "name": "deleted", "baseName": "deleted", "type": "boolean", "format": "" }, { "name": "rawCode", "baseName": "raw_code", "type": "string", "format": "" }, { "name": "canceled", "baseName": "canceled", "type": "boolean", "format": "" }, { "name": "canceledBy", "baseName": "canceled_by", "type": "string", "format": "" }, { "name": "canceledReason", "baseName": "canceled_reason", "type": "string", "format": "" }, { "name": "jobKind", "baseName": "job_kind", "type": "CompletedJobJobKindEnum", "format": "" }, { "name": "schedulePath", "baseName": "schedule_path", "type": "string", "format": "" }, { "name": "permissionedAs", "baseName": "permissioned_as", "type": "string", "format": "" }, { "name": "flowStatus", "baseName": "flow_status", "type": "FlowStatus", "format": "" }, { "name": "rawFlow", "baseName": "raw_flow", "type": "FlowValue", "format": "" }, { "name": "isFlowStep", "baseName": "is_flow_step", "type": "boolean", "format": "" }, { "name": "language", "baseName": "language", "type": "CompletedJobLanguageEnum", "format": "" }, { "name": "isSkipped", "baseName": "is_skipped", "type": "boolean", "format": "" } ];
static getAttributeTypeMap() { return CompletedJob.attributeTypeMap; }
public constructor() { }}
export type CompletedJobJobKindEnum = "script" | "preview" | "dependencies" | "flow" | "flowpreview" | "script_hub" ;export type CompletedJobLanguageEnum = "python3" | "deno" ;