Class CommentsClient
- java.lang.Object
-
- com.merge.api.resources.ticketing.comments.CommentsClient
-
public class CommentsClient extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description protected ClientOptionsclientOptions
-
Constructor Summary
Constructors Constructor Description CommentsClient(ClientOptions clientOptions)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CommentResponsecreate(CommentEndpointRequest request)Creates aCommentobject with the given values.CommentResponsecreate(CommentEndpointRequest request, RequestOptions requestOptions)Creates aCommentobject with the given values.PaginatedCommentListlist()Returns a list ofCommentobjects.PaginatedCommentListlist(CommentsListRequest request)Returns a list ofCommentobjects.PaginatedCommentListlist(CommentsListRequest request, RequestOptions requestOptions)Returns a list ofCommentobjects.MetaResponsemetaPostRetrieve()Returns metadata forCommentPOSTs.MetaResponsemetaPostRetrieve(RequestOptions requestOptions)Returns metadata forCommentPOSTs.Commentretrieve(java.lang.String id)Returns aCommentobject with the givenid.Commentretrieve(java.lang.String id, CommentsRetrieveRequest request)Returns aCommentobject with the givenid.Commentretrieve(java.lang.String id, CommentsRetrieveRequest request, RequestOptions requestOptions)Returns aCommentobject with the givenid.
-
-
-
Field Detail
-
clientOptions
protected final ClientOptions clientOptions
-
-
Constructor Detail
-
CommentsClient
public CommentsClient(ClientOptions clientOptions)
-
-
Method Detail
-
list
public PaginatedCommentList list()
Returns a list ofCommentobjects.
-
list
public PaginatedCommentList list(CommentsListRequest request)
Returns a list ofCommentobjects.
-
list
public PaginatedCommentList list(CommentsListRequest request, RequestOptions requestOptions)
Returns a list ofCommentobjects.
-
create
public CommentResponse create(CommentEndpointRequest request)
Creates aCommentobject with the given values.
-
create
public CommentResponse create(CommentEndpointRequest request, RequestOptions requestOptions)
Creates aCommentobject with the given values.
-
retrieve
public Comment retrieve(java.lang.String id)
Returns aCommentobject with the givenid.
-
retrieve
public Comment retrieve(java.lang.String id, CommentsRetrieveRequest request)
Returns aCommentobject with the givenid.
-
retrieve
public Comment retrieve(java.lang.String id, CommentsRetrieveRequest request, RequestOptions requestOptions)
Returns aCommentobject with the givenid.
-
metaPostRetrieve
public MetaResponse metaPostRetrieve()
Returns metadata forCommentPOSTs.
-
metaPostRetrieve
public MetaResponse metaPostRetrieve(RequestOptions requestOptions)
Returns metadata forCommentPOSTs.
-
-