code: public List<VersionInfo> list(UUID appId, ListVersionsOptionalParameter listOptionalParameter) {
          return listWithServiceResponseAsync(appId, listOptionalParameter).toBlocking().single().body();
      }
docs: Gets the application versions info.
  
  @param appId The application ID.
  @param listOptionalParameter the object representing the optional parameters to be set before calling this API
  @throws IllegalArgumentException thrown if parameters fail the validation
  @throws ErrorResponseException thrown if the request is rejected by server
  @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent
  @return the List&lt;VersionInfo&gt; object if successful.