Interface CommentServiceGrpc.AsyncService (0.3.0)

public static interface CommentServiceGrpc.AsyncService

A service to manage comments on cases.

Methods

createComment(CreateCommentRequest request, StreamObserver<Comment> responseObserver)

public default void createComment(CreateCommentRequest request, StreamObserver<Comment> responseObserver)

Add a new comment to the specified Case. The comment object must have the following fields set: body.

Parameters
NameDescription
requestCreateCommentRequest
responseObserverio.grpc.stub.StreamObserver<Comment>

listComments(ListCommentsRequest request, StreamObserver<ListCommentsResponse> responseObserver)

public default void listComments(ListCommentsRequest request, StreamObserver<ListCommentsResponse> responseObserver)

Retrieve all Comments associated with the Case object.

Parameters
NameDescription
requestListCommentsRequest
responseObserverio.grpc.stub.StreamObserver<ListCommentsResponse>