UNPKG

@devopness/sdk-js

Version:

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

100 lines (99 loc) 2.43 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 { ActionRelationShallow } from './action-relation-shallow'; import { Credential } from './credential'; import { NetworkProvisionInput } from './network-provision-input'; /** * * @export * @interface NetworkRelation */ export interface NetworkRelation { /** * The unique id of the given record * @type {number} * @memberof NetworkRelation */ id: number; /** * Numeric ID of the project to which the network belongs to * @type {number} * @memberof NetworkRelation */ project_id: number; /** * Numeric ID of the environment to which the network belongs to * @type {number} * @memberof NetworkRelation */ environment_id: number; /** * The id of the user who created the network * @type {number} * @memberof NetworkRelation */ created_by: number; /** * If true, the network is auto-generated * @type {boolean} * @memberof NetworkRelation */ is_auto_generated: boolean; /** * The name of the cloud provider * @type {string} * @memberof NetworkRelation */ provider_name: string; /** * The human readable version of the provider\'s name * @type {string} * @memberof NetworkRelation */ provider_name_human_readable: string; /** * * @type {Credential} * @memberof NetworkRelation */ credential?: Credential; /** * The networks\'s name * @type {string} * @memberof NetworkRelation */ name: string; /** * * @type {NetworkProvisionInput} * @memberof NetworkRelation */ provision_input: NetworkProvisionInput; /** * * @type {ActionRelationShallow} * @memberof NetworkRelation */ last_action?: ActionRelationShallow | null; /** * The date and time when the record was created * @type {string} * @memberof NetworkRelation */ created_at?: string; /** * The date and time when the record was last updated * @type {string} * @memberof NetworkRelation */ updated_at?: string; }