@thlmenezes/sdk-js
Version:
Devopness API JS/TS SDK - Painless essential DevOps to everyone
165 lines (164 loc) • 4.1 kB
TypeScript
/**
* 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 { ApplicationRelation } from './application-relation';
import { CredentialRelation } from './credential-relation';
import { CronJobRelation } from './cron-job-relation';
import { DaemonRelation } from './daemon-relation';
import { EnvironmentType } from './environment-type';
import { NetworkRelation } from './network-relation';
import { NetworkRuleRelation } from './network-rule-relation';
import { ServerRelation } from './server-relation';
import { ServiceRelation } from './service-relation';
import { SshKeyRelation } from './ssh-key-relation';
import { SslCertificateRelation } from './ssl-certificate-relation';
import { TeamRelation } from './team-relation';
import { UserRelation } from './user-relation';
import { VirtualHostRelation } from './virtual-host-relation';
/**
*
* @export
* @interface Environment
*/
export interface Environment {
/**
* Unique id of the given record
* @type {number}
* @memberof Environment
*/
id: number;
/**
*
* @type {EnvironmentType}
* @memberof Environment
*/
type: EnvironmentType;
/**
* The human readable version of the type
* @type {string}
* @memberof Environment
*/
type_human_readable: string;
/**
* Environment\'s name
* @type {string}
* @memberof Environment
*/
name: string;
/**
* Environment\'s description
* @type {string}
* @memberof Environment
*/
description: string | null;
/**
* Indicates whether the record was archived
* @type {boolean}
* @memberof Environment
*/
is_archived: boolean;
/**
*
* @type {Array<ServerRelation>}
* @memberof Environment
*/
servers: Array<ServerRelation>;
/**
*
* @type {Array<CredentialRelation>}
* @memberof Environment
*/
credentials: Array<CredentialRelation>;
/**
*
* @type {Array<CronJobRelation>}
* @memberof Environment
*/
cron_jobs: Array<CronJobRelation>;
/**
*
* @type {Array<DaemonRelation>}
* @memberof Environment
*/
daemons: Array<DaemonRelation>;
/**
*
* @type {Array<NetworkRelation>}
* @memberof Environment
*/
networks: Array<NetworkRelation>;
/**
*
* @type {Array<NetworkRuleRelation>}
* @memberof Environment
*/
network_rules: Array<NetworkRuleRelation>;
/**
*
* @type {Array<ApplicationRelation>}
* @memberof Environment
*/
applications: Array<ApplicationRelation>;
/**
*
* @type {Array<ServiceRelation>}
* @memberof Environment
*/
services: Array<ServiceRelation>;
/**
*
* @type {Array<SshKeyRelation>}
* @memberof Environment
*/
ssh_keys: Array<SshKeyRelation>;
/**
*
* @type {Array<SslCertificateRelation>}
* @memberof Environment
*/
ssl_certificates: Array<SslCertificateRelation>;
/**
*
* @type {Array<TeamRelation>}
* @memberof Environment
*/
teams: Array<TeamRelation>;
/**
*
* @type {Array<VirtualHostRelation>}
* @memberof Environment
*/
virtual_hosts: Array<VirtualHostRelation>;
/**
*
* @type {UserRelation}
* @memberof Environment
*/
created_by_user: UserRelation;
/**
* The list of permissions granted for this role
* @type {Array<string>}
* @memberof Environment
*/
current_user_permissions: Array<string>;
/**
* The date and time when the record was created
* @type {string}
* @memberof Environment
*/
created_at: string;
/**
* The date and time when the record was last updated
* @type {string}
* @memberof Environment
*/
updated_at: string;
}