func NewDeleteRuleWaiverForbidden() *DeleteRuleWaiverForbidden {
	return &DeleteRuleWaiverForbidden{}
}
NewDeleteRuleWaiverForbidden creates a DeleteRuleWaiverForbidden with default headers values
package rule_waivers
import (
	"fmt"
	"io"
	"github.com/go-openapi/runtime"
	"github.com/go-openapi/strfmt"
	"github.com/fugue/fugue-client/models"
)
type DeleteRuleWaiverReader struct {
	formats strfmt.Registry
}
func (o *DeleteRuleWaiverReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error) {
	switch response.Code() {
	case 204:
		result := NewDeleteRuleWaiverNoContent()
		if err := result.readResponse(response, consumer, o.formats); err != nil {
			return nil, err
		}
		return result, nil
	case 401:
		result := NewDeleteRuleWaiverUnauthorized()
		if err := result.readResponse(response, consumer, o.formats); err != nil {
			return nil, err
		}
		return nil, result
	case 403:
		result := NewDeleteRuleWaiverForbidden()
		if err := result.readResponse(response, consumer, o.formats); err != nil {
			return nil, err
		}
		return nil, result
	case 404:
		result := NewDeleteRuleWaiverNotFound()
		if err := result.readResponse(response, consumer, o.formats); err != nil {
			return nil, err
		}
		return nil, result
	case 500:
		result := NewDeleteRuleWaiverInternalServerError()
		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 NewDeleteRuleWaiverNoContent() *DeleteRuleWaiverNoContent {
	return &DeleteRuleWaiverNoContent{}
}
type DeleteRuleWaiverNoContent struct {
}
func (o *DeleteRuleWaiverNoContent) Error() string {
	return fmt.Sprintf("[DELETE /rule_waivers/{rule_waiver_id}][%d] deleteRuleWaiverNoContent ", 204)
}
func (o *DeleteRuleWaiverNoContent) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error {
	return nil
}
func NewDeleteRuleWaiverUnauthorized() *DeleteRuleWaiverUnauthorized {
	return &DeleteRuleWaiverUnauthorized{}
}
type DeleteRuleWaiverUnauthorized struct {
	Payload *models.AuthenticationError
}
func (o *DeleteRuleWaiverUnauthorized) Error() string {
	return fmt.Sprintf("[DELETE /rule_waivers/{rule_waiver_id}][%d] deleteRuleWaiverUnauthorized  %+v", 401, o.Payload)
}
func (o *DeleteRuleWaiverUnauthorized) GetPayload() *models.AuthenticationError {
	return o.Payload
}
func (o *DeleteRuleWaiverUnauthorized) 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
}