apiV2TutorTutorFeedbackDestroyWithHttpInfo method

Future<Response> apiV2TutorTutorFeedbackDestroyWithHttpInfo(
  1. int bookingPk
)

Performs an HTTP 'DELETE /api/v2/tutor/tutor_feedback/{booking__pk}/' operation and returns the Response. Parameters:

  • int bookingPk (required): A unique integer value identifying this tutor feedback.

Implementation

Future<Response> apiV2TutorTutorFeedbackDestroyWithHttpInfo(int bookingPk,) async {
  // ignore: prefer_const_declarations
  final path = r'/api/v2/tutor/tutor_feedback/{booking__pk}/'
    .replaceAll('{booking__pk}', bookingPk.toString());

  // ignore: prefer_final_locals
  Object? postBody;

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

  const contentTypes = <String>[];


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