@Introspected public class FlashBriefingItem extends java.lang.Object implements java.lang.Comparable<FlashBriefingItem>
Constructor and Description |
---|
FlashBriefingItem()
Constructor.
|
Modifier and Type | Method and Description |
---|---|
int |
compareTo(FlashBriefingItem o)
Flash briefing items should be provided in order from newest to oldest, based on the date value for the item.
|
java.lang.String |
getMainText() |
java.lang.String |
getRedirectionUrl() |
java.lang.String |
getStreamUrl() |
java.lang.String |
getTitleText() |
java.lang.String |
getUid() |
java.time.ZonedDateTime |
getUpdateDate() |
void |
setMainText(java.lang.String mainText) |
void |
setRedirectionUrl(java.lang.String redirectionUrl) |
void |
setStreamUrl(java.lang.String streamUrl) |
void |
setTitleText(java.lang.String titleText) |
void |
setUid(java.lang.String uid) |
void |
setUpdateDate(java.time.ZonedDateTime updateDate) |
@NonNull public java.lang.String getUid()
public void setUid(@NonNull java.lang.String uid)
uid
- A unique identifier for the feed item@NonNull public java.time.ZonedDateTime getUpdateDate()
public void setUpdateDate(@NonNull java.time.ZonedDateTime updateDate)
updateDate
- the date that indicates the freshness of the feed item@NonNull public java.lang.String getTitleText()
public void setTitleText(@NonNull java.lang.String titleText)
titleText
- Title of the feed item to display in the alexa app.@NonNull public java.lang.String getMainText()
public void setMainText(@NonNull java.lang.String mainText)
mainText
- The text that alexa read to the customer.@Nullable public java.lang.String getStreamUrl()
public void setStreamUrl(@Nullable java.lang.String streamUrl)
streamUrl
- Sets an HTTPs URL specifying the location of the audio content.@NonNull public java.lang.String getRedirectionUrl()
public void setRedirectionUrl(@NonNull java.lang.String redirectionUrl)
redirectionUrl
- Sets the url target for the Read more link in he alexa app.public int compareTo(FlashBriefingItem o)
compareTo
in interface java.lang.Comparable<FlashBriefingItem>
o
- Flash briefing item being compared toupdateDate
.