code: public ApiResponse<GetSubResponse> getSubWithHttpInfo() throws ApiException {
          com.squareup.okhttp.Call call = getSubValidateBeforeCall(null, null);
          Type localVarReturnType = new TypeToken<GetSubResponse>(){}.getType();
          return apiClient.execute(call, localVarReturnType);
      }
docs: Get sub.
  Sub
  @return ApiResponse&lt;GetSubResponse&gt;
  @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body