/**
 * 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 { UserRelation } from './user-relation';
import { VariableTarget } from './variable-target';
import { VariableType } from './variable-type';
/**
 *
 * @export
 * @interface Variable
 */
export interface Variable {
    /**
     * The ID of the given variable
     * @type {number}
     * @memberof Variable
     */
    id: number;
    /**
     * The unique key used to identify the variable on the target
     * @type {string}
     * @memberof Variable
     */
    key: string;
    /**
     *
     * @type {VariableType}
     * @memberof Variable
     */
    type: VariableType;
    /**
     * A text describing the variable, provided by the end user
     * @type {string}
     * @memberof Variable
     */
    description: string | null;
    /**
     * The value to be assigned to this variable when deployed to its target
     * @type {string}
     * @memberof Variable
     */
    value: string | null;
    /**
     *
     * @type {VariableTarget}
     * @memberof Variable
     */
    target: VariableTarget;
    /**
     * Human readable version of target
     * @type {string}
     * @memberof Variable
     */
    target_human_readable: string;
    /**
     * The ID of the resource this variable is linked to
     * @type {number}
     * @memberof Variable
     */
    resource_id: number | null;
    /**
     * The name of the resource this variable is linked to
     * @type {string}
     * @memberof Variable
     */
    resource_type: string;
    /**
     * Indicates if the variable value should be visible or not in the deployment logs
     * @type {boolean}
     * @memberof Variable
     */
    hidden: boolean;
    /**
     *
     * @type {UserRelation}
     * @memberof Variable
     */
    created_by_user?: UserRelation | null;
    /**
     * The date and time when the record was created
     * @type {string}
     * @memberof Variable
     */
    created_at: string;
    /**
     * The date and time when the record was last updated
     * @type {string}
     * @memberof Variable
     */
    updated_at: string;
}
