Class Comment

    • Constructor Summary

      Constructors 
      Constructor and Description
      Comment() 
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      java.util.List<java.lang.String> getAttachments()
      Gets the attachments of the comment
      java.lang.Long getAuthorId()
      Gets the ID of the author who created the comment.
      java.lang.String getBody()
      Gets the body of the comment in plain text
      java.util.Date getCreatedAt()
      Gets the date that the comment was created at
      java.lang.String getHtmlBody()
      Gets the HTML body of the comment
      java.lang.Long getId()
      Gets the ID of the comment
      java.lang.String getRequestId()
      Gets the ID of the request that this comment belongs to
      java.lang.String getUrl()
      Gets the API URL of the comment
      boolean isPublic()
      Checks if this comment is public or not
      void setAttachments(java.util.List<java.lang.String> attachments)
      Sets the attachments of the comment
      void setAuthorId(java.lang.Long authorId)
      Sets the ID of the author who created the comment
      void setBody(java.lang.String body)
      Sets the body of the comment in plain text
      void setCreatedAt(java.util.Date createdAt)
      Sets the date that the comment that the comment was created at
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • Comment

        public Comment()
    • Method Detail

      • getUrl

        public java.lang.String getUrl()
        Gets the API URL of the comment
        Returns:
        the API url of the comment
      • getId

        public java.lang.Long getId()
        Gets the ID of the comment
        Returns:
        the ID of the comment
      • getRequestId

        public java.lang.String getRequestId()
        Gets the ID of the request that this comment belongs to
        Returns:
        the ID of the request that this comment belongs to
      • getBody

        public java.lang.String getBody()
        Gets the body of the comment in plain text
        Returns:
        the body of the comment in plain text
      • setBody

        public void setBody(java.lang.String body)
        Sets the body of the comment in plain text
        Parameters:
        body - the body of the comment in plain text
      • getHtmlBody

        public java.lang.String getHtmlBody()
        Gets the HTML body of the comment
        Returns:
        the HTML body of the comment
      • isPublic

        public boolean isPublic()
        Checks if this comment is public or not
        Returns:
        true if the comment is public, false otherwise
      • getAuthorId

        public java.lang.Long getAuthorId()
        Gets the ID of the author who created the comment.
        Returns:
        the ID of the author who created the comment.
      • setAuthorId

        public void setAuthorId(java.lang.Long authorId)
        Sets the ID of the author who created the comment
        Parameters:
        authorId - the ID of the author to set
      • getAttachments

        public java.util.List<java.lang.String> getAttachments()
        Gets the attachments of the comment
        Returns:
        the attachments of the comment
      • setAttachments

        public void setAttachments(java.util.List<java.lang.String> attachments)
        Sets the attachments of the comment
        Parameters:
        attachments - the attachments to set
      • getCreatedAt

        public java.util.Date getCreatedAt()
        Gets the date that the comment was created at
        Returns:
        the date that the comment was created at
      • setCreatedAt

        public void setCreatedAt(java.util.Date createdAt)
        Sets the date that the comment that the comment was created at
        Parameters:
        createdAt - the date to set