UNPKG

@devopness/sdk-js

Version:

Devopness API JS/TS SDK - Painless essential DevOps to everyone

116 lines (115 loc) 2.79 kB
/** * devopness API * Devopness API - Painless essential DevOps to everyone * * The version of the OpenAPI document: latest * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ import { ActionRelation } from './action-relation'; import { ApplicationRelation } from './application-relation'; import { CronJobPattern } from './cron-job-pattern'; import { EnvironmentRelation } from './environment-relation'; import { ProjectRelation } from './project-relation'; import { ServerRelation } from './server-relation'; import { UserRelation } from './user-relation'; /** * * @export * @interface CronJob */ export interface CronJob { /** * The ID of the given cron job * @type {number} * @memberof CronJob */ id: number; /** * The name of the cron job * @type {string} * @memberof CronJob */ name: string; /** * The command line to be executed when running the cron job * @type {string} * @memberof CronJob */ command: string; /** * The name of the Unix user on behalf of which the cron job will be executed * @type {string} * @memberof CronJob */ run_as_user: string; /** * A cron expression consisting of Minute, Hour, Day of Month, Month and Day of Week subexpressions * @type {string} * @memberof CronJob */ pattern: string; /** * * @type {CronJobPattern} * @memberof CronJob */ pattern_human_readable: CronJobPattern; /** * Indicates if the cron job was auto_generated by `Devopness` itself * @type {boolean} * @memberof CronJob */ is_auto_generated: boolean; /** * * @type {ActionRelation} * @memberof CronJob */ last_action: ActionRelation | null; /** * * @type {UserRelation} * @memberof CronJob */ created_by_user: UserRelation; /** * * @type {ApplicationRelation} * @memberof CronJob */ application: ApplicationRelation | null; /** * * @type {ProjectRelation} * @memberof CronJob */ project: ProjectRelation | null; /** * * @type {EnvironmentRelation} * @memberof CronJob */ environment: EnvironmentRelation | null; /** * * @type {Array<ServerRelation>} * @memberof CronJob */ servers: Array<ServerRelation>; /** * The date and time when the record was created * @type {string} * @memberof CronJob */ created_at: string; /** * The date and time when the record was last updated * @type {string} * @memberof CronJob */ updated_at: string; }