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

package price_management

// 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/Cyclops-Labs/cyclops-4-hpc.git/services/plan-manager/models"
)

// GetSkuPriceOKCode is the HTTP code returned for type GetSkuPriceOK
const GetSkuPriceOKCode int = 200

/*GetSkuPriceOK sku price returned

swagger:response getSkuPriceOK
*/
type GetSkuPriceOK struct {

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

// NewGetSkuPriceOK creates GetSkuPriceOK with default headers values
func NewGetSkuPriceOK() *GetSkuPriceOK {

	return &GetSkuPriceOK{}
}

// WithPayload adds the payload to the get sku price o k response
func (o *GetSkuPriceOK) WithPayload(payload *models.SkuPrice) *GetSkuPriceOK {
	o.Payload = payload
	return o
}

// SetPayload sets the payload to the get sku price o k response
func (o *GetSkuPriceOK) SetPayload(payload *models.SkuPrice) {
	o.Payload = payload
}

// WriteResponse to the client
func (o *GetSkuPriceOK) 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
		}
	}
}

// GetSkuPriceNotFoundCode is the HTTP code returned for type GetSkuPriceNotFound
const GetSkuPriceNotFoundCode int = 404

/*GetSkuPriceNotFound sku price with skupriceid not found

swagger:response getSkuPriceNotFound
*/
type GetSkuPriceNotFound struct {

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

// NewGetSkuPriceNotFound creates GetSkuPriceNotFound with default headers values
func NewGetSkuPriceNotFound() *GetSkuPriceNotFound {

	return &GetSkuPriceNotFound{}
}

// WithPayload adds the payload to the get sku price not found response
func (o *GetSkuPriceNotFound) WithPayload(payload *models.ErrorResponse) *GetSkuPriceNotFound {
	o.Payload = payload
	return o
}

// SetPayload sets the payload to the get sku price not found response
func (o *GetSkuPriceNotFound) SetPayload(payload *models.ErrorResponse) {
	o.Payload = payload
}

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

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

// GetSkuPriceInternalServerErrorCode is the HTTP code returned for type GetSkuPriceInternalServerError
const GetSkuPriceInternalServerErrorCode int = 500

/*GetSkuPriceInternalServerError unexpected error

swagger:response getSkuPriceInternalServerError
*/
type GetSkuPriceInternalServerError struct {

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

// NewGetSkuPriceInternalServerError creates GetSkuPriceInternalServerError with default headers values
func NewGetSkuPriceInternalServerError() *GetSkuPriceInternalServerError {

	return &GetSkuPriceInternalServerError{}
}

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

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

// WriteResponse to the client
func (o *GetSkuPriceInternalServerError) 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
		}
	}
}
