/** * 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 ExternalResourceV1 */ export interface ExternalResourceV1 { /** * ID of the resource in the external system */ external_id: string; /** * URL of the resource */ permalink: string; /** * E.g. PagerDuty: the external system that holds the resource */ resource_type: ExternalResourceV1ResourceTypeEnum; /** * Title of resource */ title: string; } /** * @export */ export declare const ExternalResourceV1ResourceTypeEnum: { readonly PagerDutyIncident: "pager_duty_incident"; readonly OpsgenieAlert: "opsgenie_alert"; readonly DatadogMonitorAlert: "datadog_monitor_alert"; readonly GithubPullRequest: "github_pull_request"; readonly GitlabMergeRequest: "gitlab_merge_request"; readonly SentryIssue: "sentry_issue"; readonly JiraIssue: "jira_issue"; readonly JsmAlert: "jsm_alert"; readonly AtlassianStatuspageIncident: "atlassian_statuspage_incident"; readonly ZendeskTicket: "zendesk_ticket"; readonly GoogleCalendarEvent: "google_calendar_event"; readonly OutlookCalendarEvent: "outlook_calendar_event"; readonly SlackFile: "slack_file"; readonly SalesforceCase: "salesforce_case"; readonly PylonIssue: "pylon_issue"; readonly ArbitraryUrl: "arbitrary_url"; readonly Scrubbed: "scrubbed"; readonly StatuspageIncident: "statuspage_incident"; }; export type ExternalResourceV1ResourceTypeEnum = typeof ExternalResourceV1ResourceTypeEnum[keyof typeof ExternalResourceV1ResourceTypeEnum]; /** * Check if a given object implements the ExternalResourceV1 interface. */ export declare function instanceOfExternalResourceV1(value: object): value is ExternalResourceV1; export declare function ExternalResourceV1FromJSON(json: any): ExternalResourceV1; export declare function ExternalResourceV1FromJSONTyped(json: any, ignoreDiscriminator: boolean): ExternalResourceV1; export declare function ExternalResourceV1ToJSON(json: any): ExternalResourceV1; export declare function ExternalResourceV1ToJSONTyped(value?: ExternalResourceV1 | null, ignoreDiscriminator?: boolean): any;