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

package metadata

// 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/openziti/zrok/rest_model_zrok"
)

// OrgAccountOverviewOKCode is the HTTP code returned for type OrgAccountOverviewOK
const OrgAccountOverviewOKCode int = 200

/*
OrgAccountOverviewOK ok

swagger:response orgAccountOverviewOK
*/
type OrgAccountOverviewOK struct {

	/*
	  In: Body
	*/
	Payload *rest_model_zrok.Overview `json:"body,omitempty"`
}

// NewOrgAccountOverviewOK creates OrgAccountOverviewOK with default headers values
func NewOrgAccountOverviewOK() *OrgAccountOverviewOK {

	return &OrgAccountOverviewOK{}
}

// WithPayload adds the payload to the org account overview o k response
func (o *OrgAccountOverviewOK) WithPayload(payload *rest_model_zrok.Overview) *OrgAccountOverviewOK {
	o.Payload = payload
	return o
}

// SetPayload sets the payload to the org account overview o k response
func (o *OrgAccountOverviewOK) SetPayload(payload *rest_model_zrok.Overview) {
	o.Payload = payload
}

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

// OrgAccountOverviewNotFoundCode is the HTTP code returned for type OrgAccountOverviewNotFound
const OrgAccountOverviewNotFoundCode int = 404

/*
OrgAccountOverviewNotFound not found

swagger:response orgAccountOverviewNotFound
*/
type OrgAccountOverviewNotFound struct {
}

// NewOrgAccountOverviewNotFound creates OrgAccountOverviewNotFound with default headers values
func NewOrgAccountOverviewNotFound() *OrgAccountOverviewNotFound {

	return &OrgAccountOverviewNotFound{}
}

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

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

	rw.WriteHeader(404)
}

// OrgAccountOverviewInternalServerErrorCode is the HTTP code returned for type OrgAccountOverviewInternalServerError
const OrgAccountOverviewInternalServerErrorCode int = 500

/*
OrgAccountOverviewInternalServerError internal server error

swagger:response orgAccountOverviewInternalServerError
*/
type OrgAccountOverviewInternalServerError struct {
}

// NewOrgAccountOverviewInternalServerError creates OrgAccountOverviewInternalServerError with default headers values
func NewOrgAccountOverviewInternalServerError() *OrgAccountOverviewInternalServerError {

	return &OrgAccountOverviewInternalServerError{}
}

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

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

	rw.WriteHeader(500)
}
