code: public com.squareup.okhttp.Call getLastNormalizedMessagesAsync(Integer count, String sdids, String fieldPresence, final ApiCallback<NormalizedMessagesEnvelope> callback) throws ApiException {
  
          ProgressResponseBody.ProgressListener progressListener = null;
          ProgressRequestBody.ProgressRequestListener progressRequestListener = null;
  
          if (callback != null) {
              progressListener = new ProgressResponseBody.ProgressListener() {
                  @Override
                  public void update(long bytesRead, long contentLength, boolean done) {
                      callback.onDownloadProgress(bytesRead, contentLength, done);
                  }
              };
  
              progressRequestListener = new ProgressRequestBody.ProgressRequestListener() {
                  @Override
                  public void onRequestProgress(long bytesWritten, long contentLength, boolean done) {
                      callback.onUploadProgress(bytesWritten, contentLength, done);
                  }
              };
          }
  
          com.squareup.okhttp.Call call = getLastNormalizedMessagesValidateBeforeCall(count, sdids, fieldPresence, progressListener, progressRequestListener);
          Type localVarReturnType = new TypeToken<NormalizedMessagesEnvelope>(){}.getType();
          apiClient.executeAsync(call, localVarReturnType, callback);
          return call;
      }
docs: Get Last Normalized Message (asynchronously)
  Get last messages normalized.
  @param count Number of items to return per query. (optional)
  @param sdids Comma separated list of source device IDs (minimum: 1). (optional)
  @param fieldPresence String representing a field from the specified device ID. (optional)
  @param callback The callback to be executed when the API call finishes
  @return The request call
  @throws ApiException If fail to process the API call, e.g. serializing the request body object