/** * 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 StatusPagesCreateStatusPageMaintenancePayloadV2 */ export interface StatusPagesCreateStatusPageMaintenancePayloadV2 { /** * An array of IDs of component affected by the maintenance window */ affected_component_ids: Array; /** * Whether to publish updates automatically, moving this maintenance window to in progress at start_at and to complete at end_at. Defaults to false, which means you publish those updates yourself. When notify_subscribers is true, the automated updates notify subscribers too. Publishing your own update that sets maintenance_status turns automation off. */ automate_maintenance_status?: boolean; /** * The time the maintenance window ends */ end_at: Date; /** * A unique key to de-duplicate requests. If you send a request with an idempotency_key that was already used, the original response will be returned. */ idempotency_key: string; /** * Current status for this status page maintenance window */ maintenance_status: StatusPagesCreateStatusPageMaintenancePayloadV2MaintenanceStatusEnum; /** * Markdown initial update on this status page maintenance window */ message: string; /** * A title for the maintenance window */ name: string; /** * Whether to notify subscribers about this status page maintenance. If your status page has more than 1000 subscribers, requests that set this to true are rejected. This limit applies only to the public API: publishing from the incident.io dashboard or Slack always notifies every subscriber. */ notify_subscribers: boolean; /** * The time the maintenance window starts */ start_at: Date; /** * ID of the status page. You can find this by calling the ListStatusPages endpoint. */ status_page_id: string; } /** * @export */ export declare const StatusPagesCreateStatusPageMaintenancePayloadV2MaintenanceStatusEnum: { readonly MaintenanceScheduled: "maintenance_scheduled"; readonly MaintenanceInProgress: "maintenance_in_progress"; readonly MaintenanceComplete: "maintenance_complete"; }; export type StatusPagesCreateStatusPageMaintenancePayloadV2MaintenanceStatusEnum = typeof StatusPagesCreateStatusPageMaintenancePayloadV2MaintenanceStatusEnum[keyof typeof StatusPagesCreateStatusPageMaintenancePayloadV2MaintenanceStatusEnum]; /** * Check if a given object implements the StatusPagesCreateStatusPageMaintenancePayloadV2 interface. */ export declare function instanceOfStatusPagesCreateStatusPageMaintenancePayloadV2(value: object): value is StatusPagesCreateStatusPageMaintenancePayloadV2; export declare function StatusPagesCreateStatusPageMaintenancePayloadV2FromJSON(json: any): StatusPagesCreateStatusPageMaintenancePayloadV2; export declare function StatusPagesCreateStatusPageMaintenancePayloadV2FromJSONTyped(json: any, ignoreDiscriminator: boolean): StatusPagesCreateStatusPageMaintenancePayloadV2; export declare function StatusPagesCreateStatusPageMaintenancePayloadV2ToJSON(json: any): StatusPagesCreateStatusPageMaintenancePayloadV2; export declare function StatusPagesCreateStatusPageMaintenancePayloadV2ToJSONTyped(value?: StatusPagesCreateStatusPageMaintenancePayloadV2 | null, ignoreDiscriminator?: boolean): any;