/** * 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. */ import type { StatusPageMaintenanceComponentMaintenancePeriodV2 } from './StatusPageMaintenanceComponentMaintenancePeriodV2.js'; import type { StatusPageMaintenanceUpdateV2 } from './StatusPageMaintenanceUpdateV2.js'; /** * * @export * @interface StatusPageMaintenanceV2 */ export interface StatusPageMaintenanceV2 { /** * Whether updates are published automatically, moving this maintenance window to in progress at its start time and to complete at its end time */ automate_maintenance_status: boolean; /** * A list of time periods where components were under maintenance during this status page maintenance window */ component_maintenance_periods: Array; /** * A unique ID for this status page maintenance window */ id: string; /** * Current status for this maintenance window */ maintenance_status: StatusPageMaintenanceV2MaintenanceStatusEnum; /** * A title for the maintenance window */ name: string; /** * When this status page maintenance window was published to the status page */ published_at: Date; /** * The ID of the corresponding status page */ status_page_id: string; /** * A list of updates posted to this status page maintenance window */ updates: Array; } /** * @export */ export declare const StatusPageMaintenanceV2MaintenanceStatusEnum: { readonly MaintenanceScheduled: "maintenance_scheduled"; readonly MaintenanceInProgress: "maintenance_in_progress"; readonly MaintenanceComplete: "maintenance_complete"; }; export type StatusPageMaintenanceV2MaintenanceStatusEnum = typeof StatusPageMaintenanceV2MaintenanceStatusEnum[keyof typeof StatusPageMaintenanceV2MaintenanceStatusEnum]; /** * Check if a given object implements the StatusPageMaintenanceV2 interface. */ export declare function instanceOfStatusPageMaintenanceV2(value: object): value is StatusPageMaintenanceV2; export declare function StatusPageMaintenanceV2FromJSON(json: any): StatusPageMaintenanceV2; export declare function StatusPageMaintenanceV2FromJSONTyped(json: any, ignoreDiscriminator: boolean): StatusPageMaintenanceV2; export declare function StatusPageMaintenanceV2ToJSON(json: any): StatusPageMaintenanceV2; export declare function StatusPageMaintenanceV2ToJSONTyped(value?: StatusPageMaintenanceV2 | null, ignoreDiscriminator?: boolean): any;