code: public ApiResponse<NotifMessagesResponse> getMessagesWithHttpInfo(String notifId, Integer offset, Integer count, String order) throws ApiException {
          com.squareup.okhttp.Call call = getMessagesValidateBeforeCall(notifId, offset, count, order, null, null);
          Type localVarReturnType = new TypeToken<NotifMessagesResponse>(){}.getType();
          return apiClient.execute(call, localVarReturnType);
      }
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 ApiResponse&lt;NotifMessagesResponse&gt;
  @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body