Class CommentRequest
- java.lang.Object
-
- com.merge.api.resources.ticketing.types.CommentRequest
-
public final class CommentRequest extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classCommentRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static CommentRequest.Builderbuilder()booleanequals(java.lang.Object other)java.util.Map<java.lang.String,java.lang.Object>getAdditionalProperties()java.util.Optional<java.lang.String>getBody()java.util.Optional<CommentRequestContact>getContact()java.util.Optional<java.lang.String>getHtmlBody()java.util.Optional<java.util.Map<java.lang.String,com.fasterxml.jackson.databind.JsonNode>>getIntegrationParams()java.util.Optional<java.lang.Boolean>getIsPrivate()java.util.Optional<java.util.Map<java.lang.String,com.fasterxml.jackson.databind.JsonNode>>getLinkedAccountParams()java.util.Optional<CommentRequestTicket>getTicket()java.util.Optional<CommentRequestUser>getUser()inthashCode()java.lang.StringtoString()
-
-
-
Method Detail
-
getUser
public java.util.Optional<CommentRequestUser> getUser()
- Returns:
- The author of the Comment, if the author is a User. If the third party does not support specifying an author, we will append "[Posted on behalf of {name}]" to the comment.
-
getContact
public java.util.Optional<CommentRequestContact> getContact()
- Returns:
- The author of the Comment, if the author is a Contact.If the third party does not support specifying an author, we will append "[Posted on behalf of {name}]" to the comment.
-
getBody
public java.util.Optional<java.lang.String> getBody()
- Returns:
- The comment's text body.
-
getHtmlBody
public java.util.Optional<java.lang.String> getHtmlBody()
- Returns:
- The comment's text body formatted as html.
-
getTicket
public java.util.Optional<CommentRequestTicket> getTicket()
- Returns:
- The ticket associated with the comment.
-
getIsPrivate
public java.util.Optional<java.lang.Boolean> getIsPrivate()
- Returns:
- Whether or not the comment is internal.
-
getIntegrationParams
public java.util.Optional<java.util.Map<java.lang.String,com.fasterxml.jackson.databind.JsonNode>> getIntegrationParams()
-
getLinkedAccountParams
public java.util.Optional<java.util.Map<java.lang.String,com.fasterxml.jackson.databind.JsonNode>> getLinkedAccountParams()
-
equals
public boolean equals(java.lang.Object other)
- Overrides:
equalsin classjava.lang.Object
-
getAdditionalProperties
public java.util.Map<java.lang.String,java.lang.Object> getAdditionalProperties()
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
builder
public static CommentRequest.Builder builder()
-
-