Class News

java.lang.Object
io.gs2.news.model.News
All Implemented Interfaces:
IModel, Serializable

public class News extends Object implements IModel, Serializable
See Also:
  • Constructor Details

    • News

      public News()
  • Method Details

    • getSection

      public String getSection()
    • setSection

      public void setSection(String section)
    • withSection

      public News withSection(String section)
    • getContent

      public String getContent()
    • setContent

      public void setContent(String content)
    • withContent

      public News withContent(String content)
    • getTitle

      public String getTitle()
    • setTitle

      public void setTitle(String title)
    • withTitle

      public News withTitle(String title)
    • getScheduleEventId

      public String getScheduleEventId()
    • setScheduleEventId

      public void setScheduleEventId(String scheduleEventId)
    • withScheduleEventId

      public News withScheduleEventId(String scheduleEventId)
    • getTimestamp

      public Long getTimestamp()
    • setTimestamp

      public void setTimestamp(Long timestamp)
    • withTimestamp

      public News withTimestamp(Long timestamp)
    • getFrontMatter

      public String getFrontMatter()
    • setFrontMatter

      public void setFrontMatter(String frontMatter)
    • withFrontMatter

      public News withFrontMatter(String frontMatter)
    • fromJson

      public static News fromJson(com.fasterxml.jackson.databind.JsonNode data)
    • toJson

      public com.fasterxml.jackson.databind.JsonNode toJson()
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object