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

package admin

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

// ListOrganizationMembersOKCode is the HTTP code returned for type ListOrganizationMembersOK
const ListOrganizationMembersOKCode int = 200

/*
ListOrganizationMembersOK list organization members

swagger:response listOrganizationMembersOK
*/
type ListOrganizationMembersOK struct {

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

// NewListOrganizationMembersOK creates ListOrganizationMembersOK with default headers values
func NewListOrganizationMembersOK() *ListOrganizationMembersOK {

	return &ListOrganizationMembersOK{}
}

// WithPayload adds the payload to the list organization members o k response
func (o *ListOrganizationMembersOK) WithPayload(payload *ListOrganizationMembersOKBody) *ListOrganizationMembersOK {
	o.Payload = payload
	return o
}

// SetPayload sets the payload to the list organization members o k response
func (o *ListOrganizationMembersOK) SetPayload(payload *ListOrganizationMembersOKBody) {
	o.Payload = payload
}

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

// ListOrganizationMembersUnauthorizedCode is the HTTP code returned for type ListOrganizationMembersUnauthorized
const ListOrganizationMembersUnauthorizedCode int = 401

/*
ListOrganizationMembersUnauthorized unauthorized

swagger:response listOrganizationMembersUnauthorized
*/
type ListOrganizationMembersUnauthorized struct {
}

// NewListOrganizationMembersUnauthorized creates ListOrganizationMembersUnauthorized with default headers values
func NewListOrganizationMembersUnauthorized() *ListOrganizationMembersUnauthorized {

	return &ListOrganizationMembersUnauthorized{}
}

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

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

	rw.WriteHeader(401)
}

// ListOrganizationMembersNotFoundCode is the HTTP code returned for type ListOrganizationMembersNotFound
const ListOrganizationMembersNotFoundCode int = 404

/*
ListOrganizationMembersNotFound not found

swagger:response listOrganizationMembersNotFound
*/
type ListOrganizationMembersNotFound struct {
}

// NewListOrganizationMembersNotFound creates ListOrganizationMembersNotFound with default headers values
func NewListOrganizationMembersNotFound() *ListOrganizationMembersNotFound {

	return &ListOrganizationMembersNotFound{}
}

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

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

	rw.WriteHeader(404)
}

// ListOrganizationMembersInternalServerErrorCode is the HTTP code returned for type ListOrganizationMembersInternalServerError
const ListOrganizationMembersInternalServerErrorCode int = 500

/*
ListOrganizationMembersInternalServerError internal server error

swagger:response listOrganizationMembersInternalServerError
*/
type ListOrganizationMembersInternalServerError struct {
}

// NewListOrganizationMembersInternalServerError creates ListOrganizationMembersInternalServerError with default headers values
func NewListOrganizationMembersInternalServerError() *ListOrganizationMembersInternalServerError {

	return &ListOrganizationMembersInternalServerError{}
}

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

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

	rw.WriteHeader(500)
}
