Class BaseAnnouncement
- java.lang.Object
- 
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
- 
- com.oracle.bmc.announcementsservice.model.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.ExplicitlySetBmcModelIncident information that forms the basis of an announcement.Avoid entering confidential information. 
 Note: Objects should always be created or deserialized using theBuilder. 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 theBuilder, which maintain a set of all explicitly set fields calledBuilder#__explicitlySet__. ThehashCode()andequals(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).
- 
- 
Nested Class SummaryNested Classes Modifier and Type Class Description static classBaseAnnouncement.AnnouncementTypeThe type of announcement.static classBaseAnnouncement.LifecycleStateThe current lifecycle state of the announcement.static classBaseAnnouncement.PlatformTypeThe platform type that this announcement pertains to.static classBaseAnnouncement.TimeOneTypeThe type of a time associated with an initial time value.static classBaseAnnouncement.TimeTwoTypeThe type of a time associated with second time value.
 - 
Constructor SummaryConstructors Modifier Constructor Description protectedBaseAnnouncement(String id, String referenceTicketNumber, String summary, String timeOneTitle, BaseAnnouncement.TimeOneType timeOneType, Date timeOneValue, String timeTwoTitle, BaseAnnouncement.TimeTwoType timeTwoType, Date timeTwoValue, List<String> services, List<String> affectedRegions, BaseAnnouncement.AnnouncementType announcementType, BaseAnnouncement.LifecycleState lifecycleState, Boolean isBanner, Date timeCreated, Date timeUpdated, String environmentName, BaseAnnouncement.PlatformType platformType, String chainId)Deprecated.
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)List<String>getAffectedRegions()Impacted regions.BaseAnnouncement.AnnouncementTypegetAnnouncementType()The type of announcement.StringgetChainId()The sequence of connected announcements, or announcement chain, that this announcement belongs to.StringgetEnvironmentName()The name of the environment that this announcement pertains to.StringgetId()The OCID of the announcement.BooleangetIsBanner()Whether the announcement is displayed as a banner in the console.BaseAnnouncement.LifecycleStategetLifecycleState()The current lifecycle state of the announcement.BaseAnnouncement.PlatformTypegetPlatformType()The platform type that this announcement pertains to.StringgetReferenceTicketNumber()The reference Jira ticket number.List<String>getServices()Impacted Oracle Cloud Infrastructure services.StringgetSummary()A summary of the issue.DategetTimeCreated()The date and time the announcement was created, expressed in RFC 3339 timestamp format.StringgetTimeOneTitle()The label associated with an initial time value.BaseAnnouncement.TimeOneTypegetTimeOneType()The type of a time associated with an initial time value.DategetTimeOneValue()The actual value of the first time value for the event.StringgetTimeTwoTitle()The label associated with a second time value.BaseAnnouncement.TimeTwoTypegetTimeTwoType()The type of a time associated with second time value.DategetTimeTwoValue()The actual value of the second time value.DategetTimeUpdated()The date and time the announcement was last updated, expressed in RFC 3339 timestamp format.inthashCode()StringtoString()StringtoString(boolean includeByteArrayContents)Return a string representation of the object.
 
- 
- 
- 
Constructor Detail- 
BaseAnnouncement@Deprecated @ConstructorProperties({"id","referenceTicketNumber","summary","timeOneTitle","timeOneType","timeOneValue","timeTwoTitle","timeTwoType","timeTwoValue","services","affectedRegions","announcementType","lifecycleState","isBanner","timeCreated","timeUpdated","environmentName","platformType","chainId"}) protected BaseAnnouncement(String id, String referenceTicketNumber, String summary, String timeOneTitle, BaseAnnouncement.TimeOneType timeOneType, Date timeOneValue, String timeTwoTitle, BaseAnnouncement.TimeTwoType timeTwoType, Date timeTwoValue, List<String> services, List<String> affectedRegions, BaseAnnouncement.AnnouncementType announcementType, BaseAnnouncement.LifecycleState lifecycleState, Boolean isBanner, Date timeCreated, Date timeUpdated, String environmentName, BaseAnnouncement.PlatformType platformType, String chainId) Deprecated.
 
- 
 - 
Method Detail- 
getIdpublic String getId() The OCID of the announcement.- Returns:
- the value
 
 - 
getReferenceTicketNumberpublic String getReferenceTicketNumber() The reference Jira ticket number.- Returns:
- the value
 
 - 
getSummarypublic 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
 
 - 
getTimeOneTitlepublic String getTimeOneTitle() The label associated with an initial time value.Example: Time Started - Returns:
- the value
 
 - 
getTimeOneTypepublic 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
 
 - 
getTimeOneValuepublic 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
 
 - 
getTimeTwoTitlepublic String getTimeTwoTitle() The label associated with a second time value.Example: Time Ended - Returns:
- the value
 
 - 
getTimeTwoTypepublic 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
 
 - 
getTimeTwoValuepublic 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
 
 - 
getServicespublic List<String> getServices() Impacted Oracle Cloud Infrastructure services.- Returns:
- the value
 
 - 
getAnnouncementTypepublic BaseAnnouncement.AnnouncementType getAnnouncementType() The type of announcement.An announcement’s type signals its severity. - Returns:
- the value
 
 - 
getLifecycleStatepublic BaseAnnouncement.LifecycleState getLifecycleState() The current lifecycle state of the announcement.- Returns:
- the value
 
 - 
getIsBannerpublic Boolean getIsBanner() Whether the announcement is displayed as a banner in the console.- Returns:
- the value
 
 - 
getTimeCreatedpublic 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
 
 - 
getTimeUpdatedpublic 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
 
 - 
getEnvironmentNamepublic String getEnvironmentName() The name of the environment that this announcement pertains to.- Returns:
- the value
 
 - 
getPlatformTypepublic BaseAnnouncement.PlatformType getPlatformType() The platform type that this announcement pertains to.- Returns:
- the value
 
 - 
getChainIdpublic 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
 
 - 
toStringpublic String toString() - Overrides:
- toStringin class- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
 
 - 
toStringpublic 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
 
 - 
equalspublic boolean equals(Object o) - Overrides:
- equalsin class- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
 
 - 
hashCodepublic int hashCode() - Overrides:
- hashCodein class- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
 
 
- 
 
-