Class EndUserComment

  • public class EndUserComment
    extends java.lang.Object
    EndUserComment object is used to model the difference the API for updating a Request has with fetching a list of Comments for a given request.

    Note: This should only be used for the creation of comments.

    • Constructor Summary

      Constructor and Description
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      java.util.List<java.lang.String> getAttachments()
      Gets the attachments for this comment.
      void setAttachments(java.util.List<java.lang.String> attachments)
      Sets the attachments for this comment
      void setValue(java.lang.String value)
      Sets the value of this comment, e.g.
      • Methods inherited from class java.lang.Object

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

      • EndUserComment

        public EndUserComment()
    • Method Detail

      • setValue

        public void setValue(java.lang.String value)
        Sets the value of this comment, e.g. "My printer is on fire"
        value - the value of the comment to set
      • getAttachments

        public java.util.List<java.lang.String> getAttachments()
        Gets the attachments for this comment.

        This returns a copy of the attachments. If you want to set them then use EndUserComment.setAttachments(List)

        The attachments for this comment
      • setAttachments

        public void setAttachments(java.util.List<java.lang.String> attachments)
        Sets the attachments for this comment
        attachments - the attachments to set