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

// ListOrgMembersOKCode is the HTTP code returned for type ListOrgMembersOK
const ListOrgMembersOKCode int = 200

/*
ListOrgMembersOK ok

swagger:response listOrgMembersOK
*/
type ListOrgMembersOK struct {

	/*
	  In: Body
	*/
	Payload *ListOrgMembersOKBody `json:"body,omitempty"`
}

// NewListOrgMembersOK creates ListOrgMembersOK with default headers values
func NewListOrgMembersOK() *ListOrgMembersOK {

	return &ListOrgMembersOK{}
}

// WithPayload adds the payload to the list org members o k response
func (o *ListOrgMembersOK) WithPayload(payload *ListOrgMembersOKBody) *ListOrgMembersOK {
	o.Payload = payload
	return o
}

// SetPayload sets the payload to the list org members o k response
func (o *ListOrgMembersOK) SetPayload(payload *ListOrgMembersOKBody) {
	o.Payload = payload
}

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

// ListOrgMembersNotFoundCode is the HTTP code returned for type ListOrgMembersNotFound
const ListOrgMembersNotFoundCode int = 404

/*
ListOrgMembersNotFound not found

swagger:response listOrgMembersNotFound
*/
type ListOrgMembersNotFound struct {
}

// NewListOrgMembersNotFound creates ListOrgMembersNotFound with default headers values
func NewListOrgMembersNotFound() *ListOrgMembersNotFound {

	return &ListOrgMembersNotFound{}
}

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

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

	rw.WriteHeader(404)
}

// ListOrgMembersInternalServerErrorCode is the HTTP code returned for type ListOrgMembersInternalServerError
const ListOrgMembersInternalServerErrorCode int = 500

/*
ListOrgMembersInternalServerError internal server error

swagger:response listOrgMembersInternalServerError
*/
type ListOrgMembersInternalServerError struct {
}

// NewListOrgMembersInternalServerError creates ListOrgMembersInternalServerError with default headers values
func NewListOrgMembersInternalServerError() *ListOrgMembersInternalServerError {

	return &ListOrgMembersInternalServerError{}
}

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

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

	rw.WriteHeader(500)
}
