Class Content

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

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

    • Content

      public Content()
  • Method Details

    • getSection

      public String getSection()
    • setSection

      public void setSection(String section)
    • withSection

      public Content withSection(String section)
    • getContent

      public String getContent()
    • setContent

      public void setContent(String content)
    • withContent

      public Content withContent(String content)
    • getFrontMatter

      public String getFrontMatter()
    • setFrontMatter

      public void setFrontMatter(String frontMatter)
    • withFrontMatter

      public Content withFrontMatter(String frontMatter)
    • fromJson

      public static Content 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