/** * 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 IncidentAttachmentsCreatePayloadV1Resource */ export interface IncidentAttachmentsCreatePayloadV1Resource { /** * Emoji shortcode representing the link, without surrounding colons. Only supported for the arbitrary_url resource type. */ emoji?: string; /** * ID of the resource in the external system */ external_id?: string; /** * E.g. PagerDuty: the external system that holds the resource */ resource_type: IncidentAttachmentsCreatePayloadV1ResourceResourceTypeEnum; /** * Human readable title for the link. Only supported for the arbitrary_url resource type. */ title?: string; /** * URL of the external resource to attach for the given resource type. */ url?: string; } /** * @export */ export declare const IncidentAttachmentsCreatePayloadV1ResourceResourceTypeEnum: { 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 IncidentAttachmentsCreatePayloadV1ResourceResourceTypeEnum = typeof IncidentAttachmentsCreatePayloadV1ResourceResourceTypeEnum[keyof typeof IncidentAttachmentsCreatePayloadV1ResourceResourceTypeEnum]; /** * Check if a given object implements the IncidentAttachmentsCreatePayloadV1Resource interface. */ export declare function instanceOfIncidentAttachmentsCreatePayloadV1Resource(value: object): value is IncidentAttachmentsCreatePayloadV1Resource; export declare function IncidentAttachmentsCreatePayloadV1ResourceFromJSON(json: any): IncidentAttachmentsCreatePayloadV1Resource; export declare function IncidentAttachmentsCreatePayloadV1ResourceFromJSONTyped(json: any, ignoreDiscriminator: boolean): IncidentAttachmentsCreatePayloadV1Resource; export declare function IncidentAttachmentsCreatePayloadV1ResourceToJSON(json: any): IncidentAttachmentsCreatePayloadV1Resource; export declare function IncidentAttachmentsCreatePayloadV1ResourceToJSONTyped(value?: IncidentAttachmentsCreatePayloadV1Resource | null, ignoreDiscriminator?: boolean): any;