Interface CommentServiceGrpc.AsyncService

All Known Implementing Classes:
CommentServiceGrpc.CommentServiceImplBase
Enclosing class:
CommentServiceGrpc

public static interface CommentServiceGrpc.AsyncService
 A service to manage comments on cases.
 
  • Method Details

    • listComments

      default void listComments(ListCommentsRequest request, io.grpc.stub.StreamObserver<ListCommentsResponse> responseObserver)
       List all the comments associated with a case.
       
    • createComment

      default void createComment(CreateCommentRequest request, io.grpc.stub.StreamObserver<Comment> responseObserver)
       Add a new comment to a case.
       The comment must have the following fields set: `body`.
       
    • getComment

      default void getComment(GetCommentRequest request, io.grpc.stub.StreamObserver<Comment> responseObserver)
       Retrieve a comment.