@apillon/sdk
Version:
▶◀ Apillon SDK for NodeJS ▶◀
32 lines • 842 B
TypeScript
import { ApillonModel } from '../../lib/apillon';
import { JobStatus } from '../../types/cloud-functions';
export declare class CloudFunctionJob extends ApillonModel {
/**
* Unique identifier of the cloud function.
*/
functionUuid: string;
/**
* Name of the job.
*/
name: string;
/**
* CID of the script to be executed by the job.
*/
scriptCid: string;
/**
* Number of processors to use for the job.
*/
slots: number;
/**
* Status of the job.
*/
jobStatus: JobStatus;
constructor(uuid: string, data?: Partial<CloudFunctionJob>);
/**
* Deletes a specific job.
* @returns {Promise<void>}
*/
delete(): Promise<void>;
protected serializeFilter(key: string, value: any): any;
}
//# sourceMappingURL=cloud-function-job.d.ts.map