// 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"
)

// GrantsOKCode is the HTTP code returned for type GrantsOK
const GrantsOKCode int = 200

/*
GrantsOK ok

swagger:response grantsOK
*/
type GrantsOK struct {
}

// NewGrantsOK creates GrantsOK with default headers values
func NewGrantsOK() *GrantsOK {

	return &GrantsOK{}
}

// WriteResponse to the client
func (o *GrantsOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer) {

	rw.Header().Del(runtime.HeaderContentType) //Remove Content-Type on empty responses

	rw.WriteHeader(200)
}

// GrantsUnauthorizedCode is the HTTP code returned for type GrantsUnauthorized
const GrantsUnauthorizedCode int = 401

/*
GrantsUnauthorized unauthorized

swagger:response grantsUnauthorized
*/
type GrantsUnauthorized struct {
}

// NewGrantsUnauthorized creates GrantsUnauthorized with default headers values
func NewGrantsUnauthorized() *GrantsUnauthorized {

	return &GrantsUnauthorized{}
}

// WriteResponse to the client
func (o *GrantsUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer) {

	rw.Header().Del(runtime.HeaderContentType) //Remove Content-Type on empty responses

	rw.WriteHeader(401)
}

// GrantsNotFoundCode is the HTTP code returned for type GrantsNotFound
const GrantsNotFoundCode int = 404

/*
GrantsNotFound not found

swagger:response grantsNotFound
*/
type GrantsNotFound struct {
}

// NewGrantsNotFound creates GrantsNotFound with default headers values
func NewGrantsNotFound() *GrantsNotFound {

	return &GrantsNotFound{}
}

// WriteResponse to the client
func (o *GrantsNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer) {

	rw.Header().Del(runtime.HeaderContentType) //Remove Content-Type on empty responses

	rw.WriteHeader(404)
}

// GrantsInternalServerErrorCode is the HTTP code returned for type GrantsInternalServerError
const GrantsInternalServerErrorCode int = 500

/*
GrantsInternalServerError internal server error

swagger:response grantsInternalServerError
*/
type GrantsInternalServerError struct {
}

// NewGrantsInternalServerError creates GrantsInternalServerError with default headers values
func NewGrantsInternalServerError() *GrantsInternalServerError {

	return &GrantsInternalServerError{}
}

// WriteResponse to the client
func (o *GrantsInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer) {

	rw.Header().Del(runtime.HeaderContentType) //Remove Content-Type on empty responses

	rw.WriteHeader(500)
}
