/**
 * 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 { ResourceSummaryItem } from './resource-summary-item';
import { TeamRelation } from './team-relation';
import { UserRelation } from './user-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;
    /**
     * Summary of the resource
     * @type {Array<ResourceSummaryItem>}
     * @memberof Environment
     */
    resource_summary?: Array<ResourceSummaryItem>;
    /**
     *
     * @type {Array<TeamRelation>}
     * @memberof Environment
     */
    teams: Array<TeamRelation>;
    /**
     *
     * @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;
}
