//                           _       _
// __      _____  __ ___   ___  __ _| |_ ___
// \ \ /\ / / _ \/ _` \ \ / / |/ _` | __/ _ \
//  \ V  V /  __/ (_| |\ V /| | (_| | ||  __/
//   \_/\_/ \___|\__,_| \_/ |_|\__,_|\__\___|
//
//  Copyright © 2016 - 2026 Weaviate B.V. All rights reserved.
//
//  CONTACT: hello@weaviate.io
//

// Code generated by go-swagger; DO NOT EDIT.

package classifications

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

	"github.com/weaviate/weaviate/entities/models"
)

// ClassificationsGetOKCode is the HTTP code returned for type ClassificationsGetOK
const ClassificationsGetOKCode int = 200

/*
ClassificationsGetOK Successfully retrieved the classification details.

swagger:response classificationsGetOK
*/
type ClassificationsGetOK struct {

	/*
	  In: Body
	*/
	Payload *models.Classification `json:"body,omitempty"`
}

// NewClassificationsGetOK creates ClassificationsGetOK with default headers values
func NewClassificationsGetOK() *ClassificationsGetOK {

	return &ClassificationsGetOK{}
}

// WithPayload adds the payload to the classifications get o k response
func (o *ClassificationsGetOK) WithPayload(payload *models.Classification) *ClassificationsGetOK {
	o.Payload = payload
	return o
}

// SetPayload sets the payload to the classifications get o k response
func (o *ClassificationsGetOK) SetPayload(payload *models.Classification) {
	o.Payload = payload
}

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

	rw.WriteHeader(200)
	if o.Payload != nil {
		payload := o.Payload
		if err := producer.Produce(rw, payload); err != nil {
			panic(err) // let the recovery middleware deal with this
		}
	}
}

// ClassificationsGetUnauthorizedCode is the HTTP code returned for type ClassificationsGetUnauthorized
const ClassificationsGetUnauthorizedCode int = 401

/*
ClassificationsGetUnauthorized Unauthorized or invalid credentials.

swagger:response classificationsGetUnauthorized
*/
type ClassificationsGetUnauthorized struct {
}

// NewClassificationsGetUnauthorized creates ClassificationsGetUnauthorized with default headers values
func NewClassificationsGetUnauthorized() *ClassificationsGetUnauthorized {

	return &ClassificationsGetUnauthorized{}
}

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

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

	rw.WriteHeader(401)
}

// ClassificationsGetForbiddenCode is the HTTP code returned for type ClassificationsGetForbidden
const ClassificationsGetForbiddenCode int = 403

/*
ClassificationsGetForbidden Forbidden

swagger:response classificationsGetForbidden
*/
type ClassificationsGetForbidden struct {

	/*
	  In: Body
	*/
	Payload *models.ErrorResponse `json:"body,omitempty"`
}

// NewClassificationsGetForbidden creates ClassificationsGetForbidden with default headers values
func NewClassificationsGetForbidden() *ClassificationsGetForbidden {

	return &ClassificationsGetForbidden{}
}

// WithPayload adds the payload to the classifications get forbidden response
func (o *ClassificationsGetForbidden) WithPayload(payload *models.ErrorResponse) *ClassificationsGetForbidden {
	o.Payload = payload
	return o
}

// SetPayload sets the payload to the classifications get forbidden response
func (o *ClassificationsGetForbidden) SetPayload(payload *models.ErrorResponse) {
	o.Payload = payload
}

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

	rw.WriteHeader(403)
	if o.Payload != nil {
		payload := o.Payload
		if err := producer.Produce(rw, payload); err != nil {
			panic(err) // let the recovery middleware deal with this
		}
	}
}

// ClassificationsGetNotFoundCode is the HTTP code returned for type ClassificationsGetNotFound
const ClassificationsGetNotFoundCode int = 404

/*
ClassificationsGetNotFound Classification with the given ID not found.

swagger:response classificationsGetNotFound
*/
type ClassificationsGetNotFound struct {
}

// NewClassificationsGetNotFound creates ClassificationsGetNotFound with default headers values
func NewClassificationsGetNotFound() *ClassificationsGetNotFound {

	return &ClassificationsGetNotFound{}
}

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

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

	rw.WriteHeader(404)
}

// ClassificationsGetInternalServerErrorCode is the HTTP code returned for type ClassificationsGetInternalServerError
const ClassificationsGetInternalServerErrorCode int = 500

/*
ClassificationsGetInternalServerError An internal server error occurred while retrieving the classification status. Check the ErrorResponse for details.

swagger:response classificationsGetInternalServerError
*/
type ClassificationsGetInternalServerError struct {

	/*
	  In: Body
	*/
	Payload *models.ErrorResponse `json:"body,omitempty"`
}

// NewClassificationsGetInternalServerError creates ClassificationsGetInternalServerError with default headers values
func NewClassificationsGetInternalServerError() *ClassificationsGetInternalServerError {

	return &ClassificationsGetInternalServerError{}
}

// WithPayload adds the payload to the classifications get internal server error response
func (o *ClassificationsGetInternalServerError) WithPayload(payload *models.ErrorResponse) *ClassificationsGetInternalServerError {
	o.Payload = payload
	return o
}

// SetPayload sets the payload to the classifications get internal server error response
func (o *ClassificationsGetInternalServerError) SetPayload(payload *models.ErrorResponse) {
	o.Payload = payload
}

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

	rw.WriteHeader(500)
	if o.Payload != nil {
		payload := o.Payload
		if err := producer.Produce(rw, payload); err != nil {
			panic(err) // let the recovery middleware deal with this
		}
	}
}
