/** * 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 ManagedResourcesCreateManagedResourcePayloadV2 */ export interface ManagedResourcesCreateManagedResourcePayloadV2 { /** * Annotations that track metadata about this resource */ annotations: { [key: string]: string; }; /** * The ID of the resource that this relates to */ resource_id: string; /** * The type of the related resource */ resource_type: ManagedResourcesCreateManagedResourcePayloadV2ResourceTypeEnum; } /** * @export */ export declare const ManagedResourcesCreateManagedResourcePayloadV2ResourceTypeEnum: { readonly AccessGrant: "access_grant"; readonly AccessGroup: "access_group"; readonly AlertGroupingPreference: "alert_grouping_preference"; readonly AlertRoute: "alert_route"; readonly AlertRule: "alert_rule"; readonly AlertSource: "alert_source"; readonly ApiKey: "api_key"; readonly IncidentForm: "incident_form"; readonly IncidentTemplate: "incident_template"; readonly EscalationPath: "escalation_path"; readonly EscalationPathTemplate: "escalation_path_template"; readonly Policy: "policy"; readonly Schedule: "schedule"; readonly ScheduleSyncTarget: "schedule_sync_target"; readonly ScheduleSyncRule: "schedule_sync_rule"; readonly Secret: "secret"; readonly StatusPageComponent: "status_page_component"; readonly StatusPageComponentProperty: "status_page_component_property"; readonly StatusPageComponentPropertyOption: "status_page_component_property_option"; readonly StatusPageStructure: "status_page_structure"; readonly TeamGroupingPreference: "team_grouping_preference"; readonly Workflow: "workflow"; }; export type ManagedResourcesCreateManagedResourcePayloadV2ResourceTypeEnum = typeof ManagedResourcesCreateManagedResourcePayloadV2ResourceTypeEnum[keyof typeof ManagedResourcesCreateManagedResourcePayloadV2ResourceTypeEnum]; /** * Check if a given object implements the ManagedResourcesCreateManagedResourcePayloadV2 interface. */ export declare function instanceOfManagedResourcesCreateManagedResourcePayloadV2(value: object): value is ManagedResourcesCreateManagedResourcePayloadV2; export declare function ManagedResourcesCreateManagedResourcePayloadV2FromJSON(json: any): ManagedResourcesCreateManagedResourcePayloadV2; export declare function ManagedResourcesCreateManagedResourcePayloadV2FromJSONTyped(json: any, ignoreDiscriminator: boolean): ManagedResourcesCreateManagedResourcePayloadV2; export declare function ManagedResourcesCreateManagedResourcePayloadV2ToJSON(json: any): ManagedResourcesCreateManagedResourcePayloadV2; export declare function ManagedResourcesCreateManagedResourcePayloadV2ToJSONTyped(value?: ManagedResourcesCreateManagedResourcePayloadV2 | null, ignoreDiscriminator?: boolean): any;