code: public NotifMessagesResponse getMessages(String notifId, Integer offset, Integer count, String order) throws ApiException {
          ApiResponse<NotifMessagesResponse> resp = getMessagesWithHttpInfo(notifId, offset, count, order);
          return resp.getData();
      }
docs: Get Messages
  Get Messages
  @param notifId Notification ID. (required)
  @param offset Offset for pagination. (optional)
  @param count Desired count of items in the result set. (optional)
  @param order Sort order of results by ts. Either &#39;asc&#39; or &#39;desc&#39;. (optional)
  @return NotifMessagesResponse
  @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body