public class Announcement extends Entity implements Serializable, Cloneable
| Modifier and Type | Class and Description |
|---|---|
class |
Announcement.AnnouncementCollection |
| Modifier and Type | Field and Description |
|---|---|
String |
announcementId |
List<Attachment> |
attachments |
String |
body |
String |
channel |
String |
createdByDisplayName |
Date |
createdOn |
String |
entityId |
String |
entityTitle |
String |
id |
String |
siteId |
String |
siteTitle |
String |
title |
entityReference, entityURL| Constructor and Description |
|---|
Announcement(String id,
String entityReference,
URL entityURL,
String entityId,
String entityTitle,
String title,
String body,
String createdByDisplayName,
Date createdOn,
List<Attachment> attachments,
String siteId,
String announcementId,
String siteTitle,
String channel) |
| Modifier and Type | Method and Description |
|---|---|
Announcement |
clone() |
boolean |
equals(Object object) |
int |
hashCode() |
com.google.gson.JsonObject |
toJsonObject()
Creates the JsonObject of the Entity
|
@NotNull public final String entityId
@NotNull public final String entityTitle
@NotNull public final String title
@NotNull public final String body
@NotNull public final String createdByDisplayName
@NotNull public final Date createdOn
@NotNull public final List<Attachment> attachments
@NotNull public final String siteId
@Nullable public final String announcementId
@NotNull public final String siteTitle
@Nullable public final String channel
@Nullable public final String id
public Announcement(@Nullable
String id,
@NotNull
String entityReference,
@NotNull
URL entityURL,
@NotNull
String entityId,
@NotNull
String entityTitle,
@NotNull
String title,
@NotNull
String body,
@NotNull
String createdByDisplayName,
@NotNull
Date createdOn,
@NotNull
List<Attachment> attachments,
@NotNull
String siteId,
@Nullable
String announcementId,
@NotNull
String siteTitle,
@Nullable
String channel)
@NotNull public Announcement clone() throws CloneNotSupportedException
clone in class EntityCloneNotSupportedException@NotNull public com.google.gson.JsonObject toJsonObject()
EntitytoJsonObject in interface JsonSerializabletoJsonObject in class EntityCopyright © 2016. All rights reserved.