UNPKG

@devopness/sdk-js

Version:

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

88 lines (87 loc) 2.22 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 { EnvironmentType } from './environment-type'; import { ProjectRelation } from './project-relation'; import { ResourceSummaryItem } from './resource-summary-item'; /** * * @export * @interface EnvironmentRelation */ export interface EnvironmentRelation { /** * Unique id of the given record * @type {number} * @memberof EnvironmentRelation */ id: number; /** * * @type {EnvironmentType} * @memberof EnvironmentRelation */ type: EnvironmentType; /** * The human readable version of the type * @type {string} * @memberof EnvironmentRelation */ type_human_readable: string; /** * Environment\'s name * @type {string} * @memberof EnvironmentRelation */ name: string; /** * Environment\'s description * @type {string} * @memberof EnvironmentRelation */ description: string | null; /** * Number of credits used in the current monthly billing cycle by actions of resources in the environment. * @type {number} * @memberof EnvironmentRelation */ used_credits?: number; /** * Summary of the resource * @type {Array<ResourceSummaryItem>} * @memberof EnvironmentRelation */ resource_summary?: Array<ResourceSummaryItem>; /** * The date and time when the record was created * @type {string} * @memberof EnvironmentRelation */ created_at: string; /** * The date and time when the record was last updated * @type {string} * @memberof EnvironmentRelation */ updated_at: string; /** * The date and time when the record was archived * @type {string} * @memberof EnvironmentRelation */ archived_at: string | null; /** * * @type {ProjectRelation} * @memberof EnvironmentRelation */ project: ProjectRelation | null; }