func (o *PostCheckBadRequestBody) Validate(formats strfmt.Registry) error {
	return nil
}
Validate validates this post check bad request body
package read
import (
	"context"
	"fmt"
	"io"
	"github.com/go-openapi/runtime"
	"github.com/go-openapi/strfmt"
	"github.com/go-openapi/swag"
	"github.com/ory/keto/internal/httpclient/models"
)
type PostCheckReader struct {
	formats strfmt.Registry
}
func (o *PostCheckReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error) {
	switch response.Code() {
	case 200:
		result := NewPostCheckOK()
		if err := result.readResponse(response, consumer, o.formats); err != nil {
			return nil, err
		}
		return result, nil
	case 400:
		result := NewPostCheckBadRequest()
		if err := result.readResponse(response, consumer, o.formats); err != nil {
			return nil, err
		}
		return nil, result
	case 403:
		result := NewPostCheckForbidden()
		if err := result.readResponse(response, consumer, o.formats); err != nil {
			return nil, err
		}
		return nil, result
	case 500:
		result := NewPostCheckInternalServerError()
		if err := result.readResponse(response, consumer, o.formats); err != nil {
			return nil, err
		}
		return nil, result
	default:
		return nil, runtime.NewAPIError("response status code does not match any response statuses defined for this endpoint in the swagger spec", response, response.Code())
	}
}
func NewPostCheckOK() *PostCheckOK {
	return &PostCheckOK{}
}
type PostCheckOK struct {
	Payload *models.GetCheckResponse
}
func (o *PostCheckOK) Error() string {
	return fmt.Sprintf("[POST /check][%d] postCheckOK  %+v", 200, o.Payload)
}
func (o *PostCheckOK) GetPayload() *models.GetCheckResponse {
	return o.Payload
}
func (o *PostCheckOK) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error {
	o.Payload = new(models.GetCheckResponse)
	if err := consumer.Consume(response.Body(), o.Payload); err != nil && err != io.EOF {
		return err
	}
	return nil
}
func NewPostCheckBadRequest() *PostCheckBadRequest {
	return &PostCheckBadRequest{}
}
type PostCheckBadRequest struct {
	Payload *PostCheckBadRequestBody
}
func (o *PostCheckBadRequest) Error() string {
	return fmt.Sprintf("[POST /check][%d] postCheckBadRequest  %+v", 400, o.Payload)
}
func (o *PostCheckBadRequest) GetPayload() *PostCheckBadRequestBody {
	return o.Payload
}
func (o *PostCheckBadRequest) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error {
	o.Payload = new(PostCheckBadRequestBody)
	if err := consumer.Consume(response.Body(), o.Payload); err != nil && err != io.EOF {
		return err
	}
	return nil
}
func NewPostCheckForbidden() *PostCheckForbidden {
	return &PostCheckForbidden{}
}
type PostCheckForbidden struct {
	Payload *models.GetCheckResponse
}
func (o *PostCheckForbidden) Error() string {
	return fmt.Sprintf("[POST /check][%d] postCheckForbidden  %+v", 403, o.Payload)
}
func (o *PostCheckForbidden) GetPayload() *models.GetCheckResponse {
	return o.Payload
}
func (o *PostCheckForbidden) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error {
	o.Payload = new(models.GetCheckResponse)
	if err := consumer.Consume(response.Body(), o.Payload); err != nil && err != io.EOF {
		return err
	}
	return nil
}
func NewPostCheckInternalServerError() *PostCheckInternalServerError {
	return &PostCheckInternalServerError{}
}
type PostCheckInternalServerError struct {
	Payload *PostCheckInternalServerErrorBody
}
func (o *PostCheckInternalServerError) Error() string {
	return fmt.Sprintf("[POST /check][%d] postCheckInternalServerError  %+v", 500, o.Payload)
}
func (o *PostCheckInternalServerError) GetPayload() *PostCheckInternalServerErrorBody {
	return o.Payload
}
func (o *PostCheckInternalServerError) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error {
	o.Payload = new(PostCheckInternalServerErrorBody)
	if err := consumer.Consume(response.Body(), o.Payload); err != nil && err != io.EOF {
		return err
	}
	return nil
}
type PostCheckBadRequestBody struct {
	Code int64 `json:"code,omitempty"`
	Details []interface{} `json:"details"`
	Message string `json:"message,omitempty"`
	Reason string `json:"reason,omitempty"`
	Request string `json:"request,omitempty"`
	Status string `json:"status,omitempty"`
}