Class BaseAnnouncement

  • Direct Known Subclasses:
    Announcement, AnnouncementSummary

    @Generated(value="OracleSDKGenerator",
               comments="API Version: 0.0.1")
    public class BaseAnnouncement
    extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
    Incident information that forms the basis of an announcement.

    Avoid entering confidential information.
    Note: Objects should always be created or deserialized using the Builder. This model distinguishes fields that are null because they are unset from fields that are explicitly set to null. This is done in the setter methods of the Builder, which maintain a set of all explicitly set fields called Builder#__explicitlySet__. The hashCode() and equals(Object) methods are implemented to take the explicitly set fields into account. The constructor, on the other hand, does not take the explicitly set fields into account (since the constructor cannot distinguish explicit null from unset null).

    • Method Detail

      • getId

        public String getId()
        The OCID of the announcement.
        Returns:
        the value
      • getReferenceTicketNumber

        public String getReferenceTicketNumber()
        The reference Jira ticket number.
        Returns:
        the value
      • getSummary

        public String getSummary()
        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.

        Returns:
        the value
      • getTimeOneTitle

        public String getTimeOneTitle()
        The label associated with an initial time value.

        Example: Time Started

        Returns:
        the value
      • getTimeOneType

        public BaseAnnouncement.TimeOneType getTimeOneType()
        The type of a time associated with an initial time value.

        If the timeOneTitle attribute is present, then the timeOneTitle attribute contains a label of timeOneType in English. Example: START_TIME

        Returns:
        the value
      • getTimeOneValue

        public Date getTimeOneValue()
        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 timeOneType attribute describes the meaning.

        Returns:
        the value
      • getTimeTwoTitle

        public String getTimeTwoTitle()
        The label associated with a second time value.

        Example: Time Ended

        Returns:
        the value
      • getTimeTwoType

        public BaseAnnouncement.TimeTwoType getTimeTwoType()
        The type of a time associated with second time value.

        If the timeTwoTitle attribute is present, then the timeTwoTitle attribute contains a label of timeTwoType in English. Example: END_TIME

        Returns:
        the value
      • getTimeTwoValue

        public Date getTimeTwoValue()
        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 timeTwoType attribute describes the meaning.

        Returns:
        the value
      • getServices

        public List<String> getServices()
        Impacted Oracle Cloud Infrastructure services.
        Returns:
        the value
      • getAffectedRegions

        public List<String> getAffectedRegions()
        Impacted regions.
        Returns:
        the value
      • getAnnouncementType

        public BaseAnnouncement.AnnouncementType getAnnouncementType()
        The type of announcement.

        An announcement’s type signals its severity.

        Returns:
        the value
      • getIsBanner

        public Boolean getIsBanner()
        Whether the announcement is displayed as a banner in the console.
        Returns:
        the value
      • getTimeCreated

        public Date getTimeCreated()
        The date and time the announcement was created, expressed in RFC 3339 timestamp format.

        Example: 2019-01-01T17:43:01.389+0000

        Returns:
        the value
      • getTimeUpdated

        public Date getTimeUpdated()
        The date and time the announcement was last updated, expressed in RFC 3339 timestamp format.

        Example: 2019-01-01T17:43:01.389+0000

        Returns:
        the value
      • getEnvironmentName

        public String getEnvironmentName()
        The name of the environment that this announcement pertains to.
        Returns:
        the value
      • getPlatformType

        public BaseAnnouncement.PlatformType getPlatformType()
        The platform type that this announcement pertains to.
        Returns:
        the value
      • getChainId

        public String getChainId()
        The sequence of connected announcements, or announcement chain, that this announcement belongs to.

        Related announcements share the same chain ID.

        Returns:
        the value
      • toString

        public String toString()
        Overrides:
        toString in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
      • toString

        public String toString​(boolean includeByteArrayContents)
        Return a string representation of the object.
        Parameters:
        includeByteArrayContents - true to include the full contents of byte arrays
        Returns:
        string representation
      • equals

        public boolean equals​(Object o)
        Overrides:
        equals in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel