public class Announcement extends Entity
| Modifier and Type | Class and Description |
|---|---|
class |
Announcement.AnnouncementCollection |
| Modifier and Type | Field and Description |
|---|---|
@Nullable String |
announcementId |
@NotNull List<Attachment> |
attachments |
@NotNull String |
body |
@Nullable String |
channel |
@NotNull String |
createdByDisplayName |
long |
createdOn |
@NotNull String |
entityId |
@NotNull String |
entityTitle |
@NotNull String |
siteId |
@NotNull String |
siteTitle |
@NotNull String |
title |
entityReference, entityURL, id| Constructor and Description |
|---|
Announcement(@NotNull String id,
@NotNull String entityReference,
@NotNull URL entityURL,
@NotNull String entityId,
@NotNull String entityTitle,
@NotNull String title,
@NotNull String body,
@NotNull String createdByDisplayName,
long createdOn,
@NotNull List<Attachment> attachments,
@NotNull String siteId,
@Nullable String announcementId,
@NotNull String siteTitle,
@Nullable String channel) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(@Nullable Object object) |
int |
hashCode() |
compareTo, fromJsonArray, fromJsonObject, toJsonArray, toJsonObject@NotNull public final @NotNull String entityId
@NotNull public final @NotNull String entityTitle
@NotNull public final @NotNull String title
@NotNull public final @NotNull String body
@NotNull public final @NotNull String createdByDisplayName
public final long createdOn
@NotNull public final @NotNull List<Attachment> attachments
@NotNull public final @NotNull String siteId
@Nullable public final @Nullable String announcementId
@NotNull public final @NotNull String siteTitle
@Nullable public final @Nullable String channel
public Announcement(@NotNull
@NotNull String id,
@NotNull
@NotNull String entityReference,
@NotNull
@NotNull URL entityURL,
@NotNull
@NotNull String entityId,
@NotNull
@NotNull String entityTitle,
@NotNull
@NotNull String title,
@NotNull
@NotNull String body,
@NotNull
@NotNull String createdByDisplayName,
long createdOn,
@NotNull
@NotNull List<Attachment> attachments,
@NotNull
@NotNull String siteId,
@Nullable
@Nullable String announcementId,
@NotNull
@NotNull String siteTitle,
@Nullable
@Nullable String channel)
Copyright © 2016. All rights reserved.