func NewTestCustomRuleInputForbidden() *TestCustomRuleInputForbidden {
	return &TestCustomRuleInputForbidden{}
}
NewTestCustomRuleInputForbidden creates a TestCustomRuleInputForbidden with default headers values
package custom_rules
import (
	"fmt"
	"io"
	"github.com/go-openapi/runtime"
	"github.com/go-openapi/strfmt"
	"github.com/fugue/fugue-client/models"
)
type TestCustomRuleInputReader struct {
	formats strfmt.Registry
}
func (o *TestCustomRuleInputReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error) {
	switch response.Code() {
	case 200:
		result := NewTestCustomRuleInputOK()
		if err := result.readResponse(response, consumer, o.formats); err != nil {
			return nil, err
		}
		return result, nil
	case 400:
		result := NewTestCustomRuleInputBadRequest()
		if err := result.readResponse(response, consumer, o.formats); err != nil {
			return nil, err
		}
		return nil, result
	case 401:
		result := NewTestCustomRuleInputUnauthorized()
		if err := result.readResponse(response, consumer, o.formats); err != nil {
			return nil, err
		}
		return nil, result
	case 403:
		result := NewTestCustomRuleInputForbidden()
		if err := result.readResponse(response, consumer, o.formats); err != nil {
			return nil, err
		}
		return nil, result
	case 500:
		result := NewTestCustomRuleInputInternalServerError()
		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 NewTestCustomRuleInputOK() *TestCustomRuleInputOK {
	return &TestCustomRuleInputOK{}
}
type TestCustomRuleInputOK struct {
	Payload *models.TestCustomRuleInputScan
}
func (o *TestCustomRuleInputOK) Error() string {
	return fmt.Sprintf("[GET /rules/test/input][%d] testCustomRuleInputOK  %+v", 200, o.Payload)
}
func (o *TestCustomRuleInputOK) GetPayload() *models.TestCustomRuleInputScan {
	return o.Payload
}
func (o *TestCustomRuleInputOK) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error {
	o.Payload = new(models.TestCustomRuleInputScan)
	if err := consumer.Consume(response.Body(), o.Payload); err != nil && err != io.EOF {
		return err
	}
	return nil
}
func NewTestCustomRuleInputBadRequest() *TestCustomRuleInputBadRequest {
	return &TestCustomRuleInputBadRequest{}
}
type TestCustomRuleInputBadRequest struct {
	Payload *models.BadRequestError
}
func (o *TestCustomRuleInputBadRequest) Error() string {
	return fmt.Sprintf("[GET /rules/test/input][%d] testCustomRuleInputBadRequest  %+v", 400, o.Payload)
}
func (o *TestCustomRuleInputBadRequest) GetPayload() *models.BadRequestError {
	return o.Payload
}
func (o *TestCustomRuleInputBadRequest) 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 NewTestCustomRuleInputUnauthorized() *TestCustomRuleInputUnauthorized {
	return &TestCustomRuleInputUnauthorized{}
}
type TestCustomRuleInputUnauthorized struct {
	Payload *models.AuthenticationError
}
func (o *TestCustomRuleInputUnauthorized) Error() string {
	return fmt.Sprintf("[GET /rules/test/input][%d] testCustomRuleInputUnauthorized  %+v", 401, o.Payload)
}
func (o *TestCustomRuleInputUnauthorized) GetPayload() *models.AuthenticationError {
	return o.Payload
}
func (o *TestCustomRuleInputUnauthorized) 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
}