Package zendesk.support
Class EndUserComment
- java.lang.Object
-
- zendesk.support.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
Constructors Constructor and Description EndUserComment()
-
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 commentvoid
setValue(java.lang.String value)
Sets the value of this comment, e.g.
-
-
-
Method Detail
-
setValue
public void setValue(java.lang.String value)
Sets the value of this comment, e.g. "My printer is on fire"- Parameters:
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)
- Returns:
- The attachments for this comment
-
setAttachments
public void setAttachments(java.util.List<java.lang.String> attachments)
Sets the attachments for this comment- Parameters:
attachments
- the attachments to set
-
-