func NewDeleteFamilyInternalServerError() *DeleteFamilyInternalServerError {
	return &DeleteFamilyInternalServerError{}
}
NewDeleteFamilyInternalServerError creates a DeleteFamilyInternalServerError with default headers values
package families
import (
	"fmt"
	"io"
	"github.com/go-openapi/runtime"
	"github.com/go-openapi/strfmt"
	"github.com/fugue/fugue-client/models"
)
type DeleteFamilyReader struct {
	formats strfmt.Registry
}
func (o *DeleteFamilyReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error) {
	switch response.Code() {
	case 204:
		result := NewDeleteFamilyNoContent()
		if err := result.readResponse(response, consumer, o.formats); err != nil {
			return nil, err
		}
		return result, nil
	case 400:
		result := NewDeleteFamilyBadRequest()
		if err := result.readResponse(response, consumer, o.formats); err != nil {
			return nil, err
		}
		return nil, result
	case 401:
		result := NewDeleteFamilyUnauthorized()
		if err := result.readResponse(response, consumer, o.formats); err != nil {
			return nil, err
		}
		return nil, result
	case 403:
		result := NewDeleteFamilyForbidden()
		if err := result.readResponse(response, consumer, o.formats); err != nil {
			return nil, err
		}
		return nil, result
	case 500:
		result := NewDeleteFamilyInternalServerError()
		if err := result.readResponse(response, consumer, o.formats); err != nil {
			return nil, err
		}
		return nil, result
	default:
		return nil, runtime.NewAPIError("unknown error", response, response.Code())
	}
}
func NewDeleteFamilyNoContent() *DeleteFamilyNoContent {
	return &DeleteFamilyNoContent{}
}
type DeleteFamilyNoContent struct {
}
func (o *DeleteFamilyNoContent) Error() string {
	return fmt.Sprintf("[DELETE /families/{family_id}][%d] deleteFamilyNoContent ", 204)
}
func (o *DeleteFamilyNoContent) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error {
	return nil
}
func NewDeleteFamilyBadRequest() *DeleteFamilyBadRequest {
	return &DeleteFamilyBadRequest{}
}
type DeleteFamilyBadRequest struct {
	Payload *models.BadRequestError
}
func (o *DeleteFamilyBadRequest) Error() string {
	return fmt.Sprintf("[DELETE /families/{family_id}][%d] deleteFamilyBadRequest  %+v", 400, o.Payload)
}
func (o *DeleteFamilyBadRequest) GetPayload() *models.BadRequestError {
	return o.Payload
}
func (o *DeleteFamilyBadRequest) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error {
	o.Payload = new(models.BadRequestError)
	if err := consumer.Consume(response.Body(), o.Payload); err != nil && err != io.EOF {
		return err
	}
	return nil
}
func NewDeleteFamilyUnauthorized() *DeleteFamilyUnauthorized {
	return &DeleteFamilyUnauthorized{}
}
type DeleteFamilyUnauthorized struct {
	Payload *models.AuthenticationError
}
func (o *DeleteFamilyUnauthorized) Error() string {
	return fmt.Sprintf("[DELETE /families/{family_id}][%d] deleteFamilyUnauthorized  %+v", 401, o.Payload)
}
func (o *DeleteFamilyUnauthorized) GetPayload() *models.AuthenticationError {
	return o.Payload
}
func (o *DeleteFamilyUnauthorized) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error {
	o.Payload = new(models.AuthenticationError)
	if err := consumer.Consume(response.Body(), o.Payload); err != nil && err != io.EOF {
		return err
	}
	return nil
}
func NewDeleteFamilyForbidden() *DeleteFamilyForbidden {
	return &DeleteFamilyForbidden{}
}
type DeleteFamilyForbidden struct {
	Payload *models.AuthorizationError
}
func (o *DeleteFamilyForbidden) Error() string {
	return fmt.Sprintf("[DELETE /families/{family_id}][%d] deleteFamilyForbidden  %+v", 403, o.Payload)
}
func (o *DeleteFamilyForbidden) GetPayload() *models.AuthorizationError {
	return o.Payload
}
func (o *DeleteFamilyForbidden) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error {
	o.Payload = new(models.AuthorizationError)
	if err := consumer.Consume(response.Body(), o.Payload); err != nil && err != io.EOF {
		return err
	}
	return nil
}