@Generated(value="OracleSDKGenerator", comments="API Version: 0.0.1") public final class AnnouncementSummary extends BaseAnnouncement
A summary representation of an announcement.
Note: Objects should always be created or deserialized using the AnnouncementSummary.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 AnnouncementSummary.Builder
, which maintain a
set of all explicitly set fields called ExplicitlySetBmcModel.__explicitlySet__
. The hashCode()
and
equals(Object)
methods are implemented to take ExplicitlySetBmcModel.__explicitlySet__
into account.
The constructor, on the other hand, does not set ExplicitlySetBmcModel.__explicitlySet__
(since the
constructor cannot distinguish explicit null
from unset null
).
Modifier and Type | Class and Description |
---|---|
static class |
AnnouncementSummary.Builder |
BaseAnnouncement.AnnouncementType, BaseAnnouncement.LifecycleState, BaseAnnouncement.PlatformType, BaseAnnouncement.TimeOneType, BaseAnnouncement.TimeTwoType
Constructor and Description |
---|
AnnouncementSummary(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)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static AnnouncementSummary.Builder |
builder()
Create a new builder.
|
boolean |
equals(Object o) |
int |
hashCode() |
AnnouncementSummary.Builder |
toBuilder() |
String |
toString() |
String |
toString(boolean includeByteArrayContents)
Return a string representation of the object.
|
getAffectedRegions, getAnnouncementType, getEnvironmentName, getId, getIsBanner, getLifecycleState, getPlatformType, getReferenceTicketNumber, getServices, getSummary, getTimeCreated, getTimeOneTitle, getTimeOneType, getTimeOneValue, getTimeTwoTitle, getTimeTwoType, getTimeTwoValue, getTimeUpdated
markPropertyAsExplicitlySet, wasPropertyExplicitlySet
@Deprecated public AnnouncementSummary(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)
public static AnnouncementSummary.Builder builder()
Create a new builder.
public AnnouncementSummary.Builder toBuilder()
public String toString()
toString
in class BaseAnnouncement
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.
toString
in class BaseAnnouncement
includeByteArrayContents
- true to include the full contents of byte arrayspublic boolean equals(Object o)
equals
in class BaseAnnouncement
public int hashCode()
hashCode
in class BaseAnnouncement
Copyright © 2016–2023. All rights reserved.