/** * incident.io * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * * The version of the OpenAPI document: 1.0.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ /** * * @export * @interface IncidentTypeV1 */ export interface IncidentTypeV1 { /** * Whether incidents of this must always, or can optionally, be created in triage */ create_in_triage: IncidentTypeV1CreateInTriageEnum; /** * When this resource was created */ created_at: Date; /** * What is this incident type for? */ description: string; /** * Unique identifier for this Incident Type */ id: string; /** * The default Incident Type is used when no other type is explicitly specified */ is_default: boolean; /** * The name of this Incident Type */ name: string; /** * IDs of the teams that own this incident type */ owning_team_ids?: Array; /** * Should all incidents created with this Incident Type be private? */ private_incidents_only: boolean; /** * When this resource was last updated */ updated_at: Date; } /** * @export */ export declare const IncidentTypeV1CreateInTriageEnum: { readonly Always: "always"; readonly Optional: "optional"; }; export type IncidentTypeV1CreateInTriageEnum = typeof IncidentTypeV1CreateInTriageEnum[keyof typeof IncidentTypeV1CreateInTriageEnum]; /** * Check if a given object implements the IncidentTypeV1 interface. */ export declare function instanceOfIncidentTypeV1(value: object): value is IncidentTypeV1; export declare function IncidentTypeV1FromJSON(json: any): IncidentTypeV1; export declare function IncidentTypeV1FromJSONTyped(json: any, ignoreDiscriminator: boolean): IncidentTypeV1; export declare function IncidentTypeV1ToJSON(json: any): IncidentTypeV1; export declare function IncidentTypeV1ToJSONTyped(value?: IncidentTypeV1 | null, ignoreDiscriminator?: boolean): any;