Class Discussion

    • Constructor Detail

      • Discussion

        public Discussion()
        Constructors
      • Discussion

        public Discussion​(java.lang.String commentText)
    • Method Detail

      • getReadOnly

        public java.lang.Boolean getReadOnly()
        Gets the read only status
        Returns:
        the read only status
      • setReadOnly

        public Discussion setReadOnly​(java.lang.Boolean readOnly)
        Sets the read only status.
        Parameters:
        readOnly - the read only status
      • getCreatedBy

        public User getCreatedBy()
        Gets the created by
        Returns:
        the created by
      • setCreatedBy

        public Discussion setCreatedBy​(User createdBy)
        Sets the created by.
        Parameters:
        createdBy - the created by
      • getTitle

        public java.lang.String getTitle()
        Gets the title for the discussion.
        Returns:
        the title
      • setTitle

        public Discussion setTitle​(java.lang.String title)
        Sets the title for the discussion.
        Parameters:
        title - the new title
      • getComments

        public java.util.List<Comment> getComments()
        Gets the comments for the discussion.
        Returns:
        the comments
      • setComments

        public Discussion setComments​(java.util.List<Comment> comments)
        Sets the comments for the discussion.
        Parameters:
        comments - the new comments
      • getComment

        public Comment getComment()
        Gets the comment for the discussion.
        Returns:
        the comment
      • setComment

        public Discussion setComment​(Comment comment)
        Sets the comment for the discussion (outbound only, i.e. POST - will otherwise be null).
        Parameters:
        comment - the new comment
      • getCommentAttachments

        public java.util.List<Attachment> getCommentAttachments()
        Gets the comment attachments.
        Returns:
        the comment attachments
      • setCommentAttachments

        public Discussion setCommentAttachments​(java.util.List<Attachment> commentAttachments)
        Sets the comment attachments.
        Parameters:
        commentAttachments - the new comment attachments
      • getCommentCount

        public java.lang.Integer getCommentCount()
        Gets the discussion comment count
        Returns:
        the comment count
      • setCommentCount

        public Discussion setCommentCount​(java.lang.Integer commentCount)
        Sets the discussion comment count
        Parameters:
        commentCount - the new comment count
        Returns:
        the Discussion
      • getLastCommentedAt

        public java.util.Date getLastCommentedAt()
        Gets the date a comment was last added to a discussion..
        Returns:
        the last commented at
      • setLastCommentedAt

        public Discussion setLastCommentedAt​(java.util.Date lastCommentedAt)
        Sets the date a comment was last added to a discussion.
        Parameters:
        lastCommentedAt - the new last commented at
      • getLastCommentedUser

        public User getLastCommentedUser()
        Gets the user that last commented in the discussion.
        Returns:
        the last commented user
      • setLastCommentedUser

        public Discussion setLastCommentedUser​(User lastCommentedUser)
        Sets the user that last commented in the discussion.
        Parameters:
        lastCommentedUser - the new last commented user
      • getAccessLevel

        public java.lang.String getAccessLevel()
        Gets the access level.
        Returns:
        the access level
      • setAccessLevel

        public Discussion setAccessLevel​(java.lang.String accessLevel)
        Sets the access level.
        Parameters:
        accessLevel - the new access level
      • getParentId

        public java.lang.Long getParentId()
        Gets the ID of the directly associated row or sheet
        Returns:
        the parent ID
      • setParentId

        public Discussion setParentId​(java.lang.Long parentId)
        Sets the ID of the directly associated row or sheet
        Parameters:
        parentId - the new access level
      • getParentType

        public ParentType getParentType()
        Gets the type to row or sheet
        Returns:
        the parent type
      • setParentType

        public Discussion setParentType​(ParentType parentType)
        Sets the type to row or sheet
        Parameters:
        parentType - the new access level