func (o *DeleteRelationTupleBadRequestBody) UnmarshalBinary(b []byte) error {
	var res DeleteRelationTupleBadRequestBody
	if err := swag.ReadJSON(b, &res); err != nil {
		return err
	}
	*o = res
	return nil
}
UnmarshalBinary interface implementation
package write
import (
	"context"
	"fmt"
	"io"
	"github.com/go-openapi/runtime"
	"github.com/go-openapi/strfmt"
	"github.com/go-openapi/swag"
)
type DeleteRelationTupleReader struct {
	formats strfmt.Registry
}
func (o *DeleteRelationTupleReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error) {
	switch response.Code() {
	case 204:
		result := NewDeleteRelationTupleNoContent()
		if err := result.readResponse(response, consumer, o.formats); err != nil {
			return nil, err
		}
		return result, nil
	case 400:
		result := NewDeleteRelationTupleBadRequest()
		if err := result.readResponse(response, consumer, o.formats); err != nil {
			return nil, err
		}
		return nil, result
	case 500:
		result := NewDeleteRelationTupleInternalServerError()
		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 NewDeleteRelationTupleNoContent() *DeleteRelationTupleNoContent {
	return &DeleteRelationTupleNoContent{}
}
type DeleteRelationTupleNoContent struct {
}
func (o *DeleteRelationTupleNoContent) Error() string {
	return fmt.Sprintf("[DELETE /relation-tuples][%d] deleteRelationTupleNoContent ", 204)
}
func (o *DeleteRelationTupleNoContent) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error {
	return nil
}
func NewDeleteRelationTupleBadRequest() *DeleteRelationTupleBadRequest {
	return &DeleteRelationTupleBadRequest{}
}
type DeleteRelationTupleBadRequest struct {
	Payload *DeleteRelationTupleBadRequestBody
}
func (o *DeleteRelationTupleBadRequest) Error() string {
	return fmt.Sprintf("[DELETE /relation-tuples][%d] deleteRelationTupleBadRequest  %+v", 400, o.Payload)
}
func (o *DeleteRelationTupleBadRequest) GetPayload() *DeleteRelationTupleBadRequestBody {
	return o.Payload
}
func (o *DeleteRelationTupleBadRequest) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error {
	o.Payload = new(DeleteRelationTupleBadRequestBody)
	if err := consumer.Consume(response.Body(), o.Payload); err != nil && err != io.EOF {
		return err
	}
	return nil
}
func NewDeleteRelationTupleInternalServerError() *DeleteRelationTupleInternalServerError {
	return &DeleteRelationTupleInternalServerError{}
}
type DeleteRelationTupleInternalServerError struct {
	Payload *DeleteRelationTupleInternalServerErrorBody
}
func (o *DeleteRelationTupleInternalServerError) Error() string {
	return fmt.Sprintf("[DELETE /relation-tuples][%d] deleteRelationTupleInternalServerError  %+v", 500, o.Payload)
}
func (o *DeleteRelationTupleInternalServerError) GetPayload() *DeleteRelationTupleInternalServerErrorBody {
	return o.Payload
}
func (o *DeleteRelationTupleInternalServerError) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error {
	o.Payload = new(DeleteRelationTupleInternalServerErrorBody)
	if err := consumer.Consume(response.Body(), o.Payload); err != nil && err != io.EOF {
		return err
	}
	return nil
}
type DeleteRelationTupleBadRequestBody 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"`
}
func (o *DeleteRelationTupleBadRequestBody) Validate(formats strfmt.Registry) error {
	return nil
}
func (o *DeleteRelationTupleBadRequestBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error {
	return nil
}
func (o *DeleteRelationTupleBadRequestBody) MarshalBinary() ([]byte, error) {
	if o == nil {
		return nil, nil
	}
	return swag.WriteJSON(o)
}