riskReferenceSetsWithHttpInfo method

Future<Response> riskReferenceSetsWithHttpInfo()

Lists every set this plane publishes, with its version and how fresh it is.

Lists every set this plane publishes, with its version and how fresh it is. Read the Stale and Refused lists first: they are the two ways this plane can be quietly wrong, and they are reported rather than inferred. A set in Refused answers nothing — it has never loaded, it is held by another component, or it names a source we hold no licence for.

Note: This method returns the HTTP Response.

Implementation

Future<Response> riskReferenceSetsWithHttpInfo() async {
  // ignore: prefer_const_declarations
  final path = r'/v1/reference';

  // ignore: prefer_final_locals
  Object? postBody;

  final queryParams = <QueryParam>[];
  final headerParams = <String, String>{};
  final formParams = <String, String>{};

  const contentTypes = <String>[];


  return apiClient.invokeAPI(
    path,
    'GET',
    queryParams,
    postBody,
    headerParams,
    formParams,
    contentTypes.isEmpty ? null : contentTypes.first,
  );
}