mirror of
https://github.com/openziti/zrok.git
synced 2025-08-18 11:49:51 +02:00
113 lines
3.0 KiB
Go
113 lines
3.0 KiB
Go
// Code generated by go-swagger; DO NOT EDIT.
|
|
|
|
package admin
|
|
|
|
// This file was generated by the swagger tool.
|
|
// Editing this file might prove futile when you re-run the swagger generate command
|
|
|
|
import (
|
|
"net/http"
|
|
|
|
"github.com/go-openapi/runtime"
|
|
)
|
|
|
|
// DeleteAccountOKCode is the HTTP code returned for type DeleteAccountOK
|
|
const DeleteAccountOKCode int = 200
|
|
|
|
/*
|
|
DeleteAccountOK ok
|
|
|
|
swagger:response deleteAccountOK
|
|
*/
|
|
type DeleteAccountOK struct {
|
|
}
|
|
|
|
// NewDeleteAccountOK creates DeleteAccountOK with default headers values
|
|
func NewDeleteAccountOK() *DeleteAccountOK {
|
|
|
|
return &DeleteAccountOK{}
|
|
}
|
|
|
|
// WriteResponse to the client
|
|
func (o *DeleteAccountOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer) {
|
|
|
|
rw.Header().Del(runtime.HeaderContentType) //Remove Content-Type on empty responses
|
|
|
|
rw.WriteHeader(200)
|
|
}
|
|
|
|
// DeleteAccountUnauthorizedCode is the HTTP code returned for type DeleteAccountUnauthorized
|
|
const DeleteAccountUnauthorizedCode int = 401
|
|
|
|
/*
|
|
DeleteAccountUnauthorized unauthorized
|
|
|
|
swagger:response deleteAccountUnauthorized
|
|
*/
|
|
type DeleteAccountUnauthorized struct {
|
|
}
|
|
|
|
// NewDeleteAccountUnauthorized creates DeleteAccountUnauthorized with default headers values
|
|
func NewDeleteAccountUnauthorized() *DeleteAccountUnauthorized {
|
|
|
|
return &DeleteAccountUnauthorized{}
|
|
}
|
|
|
|
// WriteResponse to the client
|
|
func (o *DeleteAccountUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer) {
|
|
|
|
rw.Header().Del(runtime.HeaderContentType) //Remove Content-Type on empty responses
|
|
|
|
rw.WriteHeader(401)
|
|
}
|
|
|
|
// DeleteAccountNotFoundCode is the HTTP code returned for type DeleteAccountNotFound
|
|
const DeleteAccountNotFoundCode int = 404
|
|
|
|
/*
|
|
DeleteAccountNotFound not found
|
|
|
|
swagger:response deleteAccountNotFound
|
|
*/
|
|
type DeleteAccountNotFound struct {
|
|
}
|
|
|
|
// NewDeleteAccountNotFound creates DeleteAccountNotFound with default headers values
|
|
func NewDeleteAccountNotFound() *DeleteAccountNotFound {
|
|
|
|
return &DeleteAccountNotFound{}
|
|
}
|
|
|
|
// WriteResponse to the client
|
|
func (o *DeleteAccountNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer) {
|
|
|
|
rw.Header().Del(runtime.HeaderContentType) //Remove Content-Type on empty responses
|
|
|
|
rw.WriteHeader(404)
|
|
}
|
|
|
|
// DeleteAccountInternalServerErrorCode is the HTTP code returned for type DeleteAccountInternalServerError
|
|
const DeleteAccountInternalServerErrorCode int = 500
|
|
|
|
/*
|
|
DeleteAccountInternalServerError internal server error
|
|
|
|
swagger:response deleteAccountInternalServerError
|
|
*/
|
|
type DeleteAccountInternalServerError struct {
|
|
}
|
|
|
|
// NewDeleteAccountInternalServerError creates DeleteAccountInternalServerError with default headers values
|
|
func NewDeleteAccountInternalServerError() *DeleteAccountInternalServerError {
|
|
|
|
return &DeleteAccountInternalServerError{}
|
|
}
|
|
|
|
// WriteResponse to the client
|
|
func (o *DeleteAccountInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer) {
|
|
|
|
rw.Header().Del(runtime.HeaderContentType) //Remove Content-Type on empty responses
|
|
|
|
rw.WriteHeader(500)
|
|
}
|