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

package bundle_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"
)

// GetSkuBundleOKCode is the HTTP code returned for type GetSkuBundleOK
const GetSkuBundleOKCode int = 200

/*GetSkuBundleOK sku bundle returned

swagger:response getSkuBundleOK
*/
type GetSkuBundleOK struct {

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

// NewGetSkuBundleOK creates GetSkuBundleOK with default headers values
func NewGetSkuBundleOK() *GetSkuBundleOK {

	return &GetSkuBundleOK{}
}

// WithPayload adds the payload to the get sku bundle o k response
func (o *GetSkuBundleOK) WithPayload(payload *models.SkuBundle) *GetSkuBundleOK {
	o.Payload = payload
	return o
}

// SetPayload sets the payload to the get sku bundle o k response
func (o *GetSkuBundleOK) SetPayload(payload *models.SkuBundle) {
	o.Payload = payload
}

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

// GetSkuBundleNotFoundCode is the HTTP code returned for type GetSkuBundleNotFound
const GetSkuBundleNotFoundCode int = 404

/*GetSkuBundleNotFound sku bundle with id not found

swagger:response getSkuBundleNotFound
*/
type GetSkuBundleNotFound struct {

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

// NewGetSkuBundleNotFound creates GetSkuBundleNotFound with default headers values
func NewGetSkuBundleNotFound() *GetSkuBundleNotFound {

	return &GetSkuBundleNotFound{}
}

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

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

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

// GetSkuBundleInternalServerErrorCode is the HTTP code returned for type GetSkuBundleInternalServerError
const GetSkuBundleInternalServerErrorCode int = 500

/*GetSkuBundleInternalServerError unexpected error

swagger:response getSkuBundleInternalServerError
*/
type GetSkuBundleInternalServerError struct {

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

// NewGetSkuBundleInternalServerError creates GetSkuBundleInternalServerError with default headers values
func NewGetSkuBundleInternalServerError() *GetSkuBundleInternalServerError {

	return &GetSkuBundleInternalServerError{}
}

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

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

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