@Generated(value="OracleSDKGenerator", comments="API Version: 0.0.1") public class BaseAnnouncement extends Object
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
#__explicitlySet__
. The hashCode()
and equals(Object)
methods are implemented to take
#__explicitlySet__
into account. The constructor, on the other hand, does not set #__explicitlySet__
(since the constructor cannot distinguish explicit null
from unset null
).
Modifier and Type | Class and Description |
---|---|
static class |
BaseAnnouncement.AnnouncementType
The type of announcement.
|
static class |
BaseAnnouncement.LifecycleState
The current lifecycle state of the announcement.
|
Modifier | Constructor and Description |
---|---|
protected |
BaseAnnouncement(String id,
String referenceTicketNumber,
String summary,
String timeOneTitle,
Date timeOneValue,
String timeTwoTitle,
Date timeTwoValue,
List<String> services,
List<String> affectedRegions,
BaseAnnouncement.AnnouncementType announcementType,
BaseAnnouncement.LifecycleState lifecycleState,
Boolean isBanner,
Date timeCreated,
Date timeUpdated)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
protected boolean |
canEqual(Object other) |
boolean |
equals(Object o) |
List<String> |
getAffectedRegions()
Impacted regions.
|
BaseAnnouncement.AnnouncementType |
getAnnouncementType()
The type of announcement.
|
String |
getId()
The OCID of the announcement.
|
Boolean |
getIsBanner()
Whether the announcement is displayed as a banner in the console.
|
BaseAnnouncement.LifecycleState |
getLifecycleState()
The current lifecycle state of the announcement.
|
String |
getReferenceTicketNumber()
The reference Jira ticket number.
|
List<String> |
getServices()
Impacted Oracle Cloud Infrastructure services.
|
String |
getSummary()
A summary of the issue.
|
Date |
getTimeCreated()
The date and time the announcement was created, expressed in RFC 3339 timestamp format.
|
String |
getTimeOneTitle()
The label associated with an initial time value.
|
Date |
getTimeOneValue()
The actual value of the first time value for the event.
|
String |
getTimeTwoTitle()
The label associated with a second time value.
|
Date |
getTimeTwoValue()
The actual value of the second time value.
|
Date |
getTimeUpdated()
The date and time the announcement was last updated, expressed in RFC 3339 timestamp format.
|
int |
hashCode() |
String |
toString() |
@ConstructorProperties(value={"id","referenceTicketNumber","summary","timeOneTitle","timeOneValue","timeTwoTitle","timeTwoValue","services","affectedRegions","announcementType","lifecycleState","isBanner","timeCreated","timeUpdated"}) @Deprecated protected BaseAnnouncement(String id, String referenceTicketNumber, String summary, String timeOneTitle, Date timeOneValue, String timeTwoTitle, Date timeTwoValue, List<String> services, List<String> affectedRegions, BaseAnnouncement.AnnouncementType announcementType, BaseAnnouncement.LifecycleState lifecycleState, Boolean isBanner, Date timeCreated, Date timeUpdated)
public String getId()
The OCID of the announcement.
public String getReferenceTicketNumber()
The reference Jira ticket number.
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.
public String getTimeOneTitle()
The label associated with an initial time value.
Example: Time Started
public Date getTimeOneValue()
The actual value of the first time value for the event. Typically, this is the time an event started, but the meaning can vary, depending on the announcement type.
public String getTimeTwoTitle()
The label associated with a second time value.
Example: Time Ended
public Date getTimeTwoValue()
The actual value of the second time value. Typically, this is the time an event ended, but the meaning can vary, depending on the announcement type.
public BaseAnnouncement.AnnouncementType getAnnouncementType()
The type of announcement. An announcement’s type signals its severity.
public BaseAnnouncement.LifecycleState getLifecycleState()
The current lifecycle state of the announcement.
public Boolean getIsBanner()
Whether the announcement is displayed as a banner in the console.
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
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
protected boolean canEqual(Object other)
Copyright © 2016–2021. All rights reserved.