riskDatasetsWithHttpInfo method

Future<Response> riskDatasetsWithHttpInfo()

List this org's datasets

Datasets lists this org's datasets, each with its newest version. An org that has declared none gets an empty list; a store that cannot be reached gets a refusal, never an empty list, because the two read identically and only one of them is true.

Note: This method returns the HTTP Response.

Implementation

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

  // 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,
  );
}