/** * Announcements Service API * Manage Oracle Cloud Infrastructure console announcements. * OpenAPI spec version: 0.0.1 * * * NOTE: This class is auto generated by OracleSDKGenerator. * Do not edit the class manually. * * Copyright (c) 2020, 2026, Oracle and/or its affiliates. All rights reserved. * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. */ /** * Incident information that forms the basis of an announcement. Avoid entering confidential information. */ export interface BaseAnnouncement { /** * The OCID of the announcement. */ "id": string; /** * The reference Jira ticket number. */ "referenceTicketNumber": string; /** * A summary of the issue. A summary might appear in the console banner view of the announcement or in * an email subject line. Avoid entering confidential information. * */ "summary": string; /** * The label associated with an initial time value. * Example: {@code Time Started} * */ "timeOneTitle"?: string; /** * The type of a time associated with an initial time value. If the {@code timeOneTitle} attribute is present, then the {@code timeOneTitle} attribute contains a label of {@code timeOneType} in English. * Example: {@code START_TIME} * */ "timeOneType"?: BaseAnnouncement.TimeOneType; /** * The actual value of the first time value for the event. Typically, this denotes the time an event started, but the meaning * can vary, depending on the announcement type. The {@code timeOneType} attribute describes the meaning. * */ "timeOneValue"?: Date; /** * The label associated with a second time value. * Example: {@code Time Ended} * */ "timeTwoTitle"?: string; /** * The type of a time associated with second time value. If the {@code timeTwoTitle} attribute is present, then the {@code timeTwoTitle} attribute contains a label of {@code timeTwoType} in English. * Example: {@code END_TIME} * */ "timeTwoType"?: BaseAnnouncement.TimeTwoType; /** * The actual value of the second time value. Typically, this denotes the time an event ended, but the meaning * can vary, depending on the announcement type. The {@code timeTwoType} attribute describes the meaning. * */ "timeTwoValue"?: Date; /** * Impacted Oracle Cloud Infrastructure services. */ "services": Array; /** * Impacted regions. */ "affectedRegions": Array; /** * The type of announcement. An announcement's type signals its severity. */ "announcementType": BaseAnnouncement.AnnouncementType; /** * The current lifecycle state of the announcement. */ "lifecycleState": BaseAnnouncement.LifecycleState; /** * Whether the announcement is displayed as a banner in the console. */ "isBanner": boolean; /** * The date and time the announcement was created, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. * Example: {@code 2019-01-01T17:43:01.389+0000} * */ "timeCreated"?: Date; /** * The date and time the announcement was last updated, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. * Example: {@code 2019-01-01T17:43:01.389+0000} * */ "timeUpdated"?: Date; /** * The name of the environment that this announcement pertains to. * */ "environmentName"?: string; /** * The platform type that this announcement pertains to. * */ "platformType"?: BaseAnnouncement.PlatformType; /** * The sequence of connected announcements, or announcement chain, that this announcement belongs to. Related announcements share the same chain ID. */ "chainId"?: string; "type": string; } export declare namespace BaseAnnouncement { enum TimeOneType { ActionRequiredBy = "ACTION_REQUIRED_BY", NewStartTime = "NEW_START_TIME", OriginalEndTime = "ORIGINAL_END_TIME", ReportDate = "REPORT_DATE", StartTime = "START_TIME", TimeDetected = "TIME_DETECTED", /** * This value is used if a service returns a value for this enum that is not recognized by this * version of the SDK. */ UnknownValue = "UNKNOWN_VALUE" } enum TimeTwoType { EndTime = "END_TIME", NewEndTime = "NEW_END_TIME", EstimatedEndTime = "ESTIMATED_END_TIME", /** * This value is used if a service returns a value for this enum that is not recognized by this * version of the SDK. */ UnknownValue = "UNKNOWN_VALUE" } enum AnnouncementType { ActionRecommended = "ACTION_RECOMMENDED", ActionRequired = "ACTION_REQUIRED", EmergencyChange = "EMERGENCY_CHANGE", EmergencyMaintenance = "EMERGENCY_MAINTENANCE", EmergencyMaintenanceComplete = "EMERGENCY_MAINTENANCE_COMPLETE", EmergencyMaintenanceExtended = "EMERGENCY_MAINTENANCE_EXTENDED", EmergencyMaintenanceRescheduled = "EMERGENCY_MAINTENANCE_RESCHEDULED", Information = "INFORMATION", PlannedChange = "PLANNED_CHANGE", PlannedChangeComplete = "PLANNED_CHANGE_COMPLETE", PlannedChangeExtended = "PLANNED_CHANGE_EXTENDED", PlannedChangeRescheduled = "PLANNED_CHANGE_RESCHEDULED", ProductionEventNotification = "PRODUCTION_EVENT_NOTIFICATION", ScheduledMaintenance = "SCHEDULED_MAINTENANCE", /** * This value is used if a service returns a value for this enum that is not recognized by this * version of the SDK. */ UnknownValue = "UNKNOWN_VALUE" } enum LifecycleState { Active = "ACTIVE", Inactive = "INACTIVE", /** * This value is used if a service returns a value for this enum that is not recognized by this * version of the SDK. */ UnknownValue = "UNKNOWN_VALUE" } enum PlatformType { Iaas = "IAAS", Saas = "SAAS", Paas = "PAAS", /** * This value is used if a service returns a value for this enum that is not recognized by this * version of the SDK. */ UnknownValue = "UNKNOWN_VALUE" } function getJsonObj(obj: BaseAnnouncement): object; function getDeserializedJsonObj(obj: BaseAnnouncement): object; }