credV2CredentialsRetrieve2WithHttpInfo method

Future<Response> credV2CredentialsRetrieve2WithHttpInfo(
  1. String entityId
)

Performs an HTTP 'GET /api/cred/v2/credentials/{entity_id}' operation and returns the Response. Parameters:

Implementation

Future<Response> credV2CredentialsRetrieve2WithHttpInfo(String entityId,) async {
  // ignore: prefer_const_declarations
  final path = r'/api/cred/v2/credentials/{entity_id}'
    .replaceAll('{entity_id}', entityId);

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