Interface CommentServiceGrpc.AsyncService (0.26.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
Name Description
request CreateCommentRequest
responseObserver io.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
Name Description
request ListCommentsRequest
responseObserver io.grpc.stub.StreamObserver<ListCommentsResponse>