func (a *NotificationApiService) Delete(ctx context.Context, notificationId string) (*http.Response, error) {
	var (
		localVarHttpMethod = strings.ToUpper("Delete")
		localVarPostBody   interface{}
		localVarFileName   string
		localVarFileBytes  []byte
	)

	// create path and map variables
	localVarPath := a.client.cfg.BasePath + "/notification/{notificationId}"
	localVarPath = strings.Replace(localVarPath, "{"+"notificationId"+"}", fmt.Sprintf("%v", notificationId), -1)

	localVarHeaderParams := make(map[string]string)
	localVarQueryParams := url.Values{}
	localVarFormParams := url.Values{}

	// to determine the Content-Type header
	localVarHttpContentTypes := []string{}

	// set Content-Type header
	localVarHttpContentType := selectHeaderContentType(localVarHttpContentTypes)
	if localVarHttpContentType != "" {
		localVarHeaderParams["Content-Type"] = localVarHttpContentType
	}

	// to determine the Accept header
	localVarHttpHeaderAccepts := []string{}

	// set Accept header
	localVarHttpHeaderAccept := selectHeaderAccept(localVarHttpHeaderAccepts)
	if localVarHttpHeaderAccept != "" {
		localVarHeaderParams["Accept"] = localVarHttpHeaderAccept
	}
	r, err := a.client.prepareRequest(ctx, localVarPath, localVarHttpMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFileName, localVarFileBytes)
	if err != nil {
		return nil, err
	}

	localVarHttpResponse, err := a.client.callAPI(r)
	if err != nil || localVarHttpResponse == nil {
		return localVarHttpResponse, err
	}

	localVarBody, err := ioutil.ReadAll(localVarHttpResponse.Body)
	localVarHttpResponse.Body.Close()
	if err != nil {
		return localVarHttpResponse, err
	}

	if localVarHttpResponse.StatusCode >= 300 {
		newErr := GenericSwaggerError{
			body:  localVarBody,
			error: localVarHttpResponse.Status,
		}

		return localVarHttpResponse, newErr
	}

	return localVarHttpResponse, nil
}
/*
NotificationApiService Delete a notification configuration

 * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
 * @param notificationId The unique notification ID


*/
NotificationApiService Delete a notification configuration

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param notificationId The unique notification ID
/ * NotificationApiService Delete a notification configuration * @param ctx context . Context - for authentication logging cancellation deadlines tracing etc . Passed from http . Request or context . Background () . * @param notificationId The unique notification ID * /
func (a *NotificationApiService) Delete(ctx context.Context, notificationId string) (*http.Response, error) {
	var (
		localVarHttpMethod = strings.ToUpper("Delete")
		localVarPostBody   interface{}
		localVarFileName   string
		localVarFileBytes  []byte
	)
	localVarPath := a.client.cfg.BasePath + "/notification/{notificationId}"
	localVarPath = strings.Replace(localVarPath, "{"+"notificationId"+"}", fmt.Sprintf("%v", notificationId), -1)
	localVarHeaderParams := make(map[string]string)
	localVarQueryParams := url.Values{}
	localVarFormParams := url.Values{}
	localVarHttpContentTypes := []string{}
	localVarHttpContentType := selectHeaderContentType(localVarHttpContentTypes)
	if localVarHttpContentType != "" {
		localVarHeaderParams["Content-Type"] = localVarHttpContentType
	}
	localVarHttpHeaderAccepts := []string{}
	localVarHttpHeaderAccept := selectHeaderAccept(localVarHttpHeaderAccepts)
	if localVarHttpHeaderAccept != "" {
		localVarHeaderParams["Accept"] = localVarHttpHeaderAccept
	}
	r, err := a.client.prepareRequest(ctx, localVarPath, localVarHttpMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFileName, localVarFileBytes)
	if err != nil {
		return nil, err
	}
	localVarHttpResponse, err := a.client.callAPI(r)
	if err != nil || localVarHttpResponse == nil {
		return localVarHttpResponse, err
	}
	localVarBody, err := ioutil.ReadAll(localVarHttpResponse.Body)
	localVarHttpResponse.Body.Close()
	if err != nil {
		return localVarHttpResponse, err
	}
	if localVarHttpResponse.StatusCode >= 300 {
		newErr := GenericSwaggerError{
			body:  localVarBody,
			error: localVarHttpResponse.Status,
		}
		return localVarHttpResponse, newErr
	}
	return localVarHttpResponse, nil
}
func ( a * NotificationApiService ) Delete ( ctx context . Context , notificationId string ) ( * http . Response , error ) { var ( localVarHttpMethod = strings . ToUpper ( " " ) localVarPostBody interface { } localVarFileName string localVarFileBytes [ ] byte ) localVarPath := a . client . cfg . BasePath + " " localVarPath = strings . Replace ( localVarPath , " " + " " + " " , fmt . Sprintf ( " " , notificationId ) , - 1 ) localVarHeaderParams := make ( map [ string ] string ) localVarQueryParams := url . Values { } localVarFormParams := url . Values { } localVarHttpContentTypes := [ ] string { } localVarHttpContentType := selectHeaderContentType ( localVarHttpContentTypes ) if localVarHttpContentType != " " { localVarHeaderParams [ " " ] = localVarHttpContentType } localVarHttpHeaderAccepts := [ ] string { } localVarHttpHeaderAccept := selectHeaderAccept ( localVarHttpHeaderAccepts ) if localVarHttpHeaderAccept != " " { localVarHeaderParams [ " " ] = localVarHttpHeaderAccept } r , err := a . client . prepareRequest ( ctx , localVarPath , localVarHttpMethod , localVarPostBody , localVarHeaderParams , localVarQueryParams , localVarFormParams , localVarFileName , localVarFileBytes ) if err != nil { return nil , err } localVarHttpResponse , err := a . client . callAPI ( r ) if err != nil || localVarHttpResponse == nil { return localVarHttpResponse , err } localVarBody , err := ioutil . ReadAll ( localVarHttpResponse . Body ) localVarHttpResponse . Body . Close ( ) if err != nil { return localVarHttpResponse , err } if localVarHttpResponse . StatusCode >= 300 { newErr := GenericSwaggerError { body : localVarBody , error : localVarHttpResponse . Status , } return localVarHttpResponse , newErr } return localVarHttpResponse , nil }
NotificationApiService Delete a notification configuration
NotificationApiService Delete a notification configuration
// create path and map variables // to determine the Content-Type header // set Content-Type header // to determine the Accept header // set Accept header