Class ArticleContent


  • public final class ArticleContent
    extends java.lang.Object
    • Method Detail

      • getType

        public java.util.Optional<java.lang.String> getType()
        Returns:
        The type of object - article_content .
      • getTitle

        public java.util.Optional<java.lang.String> getTitle()
        Returns:
        The title of the article.
      • getDescription

        public java.util.Optional<java.lang.String> getDescription()
        Returns:
        The description of the article.
      • getBody

        public java.util.Optional<java.lang.String> getBody()
        Returns:
        The body of the article.
      • getAuthorId

        public java.util.Optional<java.lang.Integer> getAuthorId()
        Returns:
        The ID of the author of the article.
      • getState

        public java.util.Optional<ArticleContent.State> getState()
        Returns:
        Whether the article is published or is a draft .
      • getCreatedAt

        public java.util.Optional<java.lang.Integer> getCreatedAt()
        Returns:
        The time when the article was created (seconds).
      • getUpdatedAt

        public java.util.Optional<java.lang.Integer> getUpdatedAt()
        Returns:
        The time when the article was last updated (seconds).
      • getUrl

        public java.util.Optional<java.lang.String> getUrl()
        Returns:
        The URL of the article.
      • equals

        public boolean equals​(java.lang.Object other)
        Overrides:
        equals in class java.lang.Object
      • getAdditionalProperties

        public java.util.Map<java.lang.String,​java.lang.Object> getAdditionalProperties()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object