func (o *StartSpoeTransactionTooManyRequestsBody) UnmarshalBinary(b []byte) error {
	var res StartSpoeTransactionTooManyRequestsBody
	if err := swag.ReadJSON(b, &res); err != nil {
		return err
	}
	*o = res
	return nil
}
UnmarshalBinary interface implementation
package spoe_transactions
import (
	"net/http"
	"github.com/go-openapi/runtime/middleware"
	"github.com/go-openapi/strfmt"
	"github.com/go-openapi/swag"
)
type StartSpoeTransactionHandlerFunc func(StartSpoeTransactionParams, interface{}) middleware.Responder
func (fn StartSpoeTransactionHandlerFunc) Handle(params StartSpoeTransactionParams, principal interface{}) middleware.Responder {
	return fn(params, principal)
}
type StartSpoeTransactionHandler interface {
	Handle(StartSpoeTransactionParams, interface{}) middleware.Responder
}
func NewStartSpoeTransaction(ctx *middleware.Context, handler StartSpoeTransactionHandler) *StartSpoeTransaction {
	return &StartSpoeTransaction{Context: ctx, Handler: handler}
}
type StartSpoeTransaction struct {
	Context *middleware.Context
	Handler StartSpoeTransactionHandler
}
func (o *StartSpoeTransaction) ServeHTTP(rw http.ResponseWriter, r *http.Request) {
	route, rCtx, _ := o.Context.RouteInfo(r)
	if rCtx != nil {
		r = rCtx
	}
	var Params = NewStartSpoeTransactionParams()
	uprinc, aCtx, err := o.Context.Authorize(r, route)
	if err != nil {
		o.Context.Respond(rw, r, route.Produces, route, err)
		return
	}
	if aCtx != nil {
		r = aCtx
	}
	var principal interface{}
	if uprinc != nil {
		principal = uprinc
	}
	if err := o.Context.BindValidRequest(r, route, &Params); err != nil {  
		o.Context.Respond(rw, r, route.Produces, route, err)
		return
	}
	res := o.Handler.Handle(Params, principal)  
	o.Context.Respond(rw, r, route.Produces, route, res)
}
type StartSpoeTransactionTooManyRequestsBody struct {
	Code int64 `json:"code,omitempty"`
	Message string `json:"message,omitempty"`
}
func (o *StartSpoeTransactionTooManyRequestsBody) Validate(formats strfmt.Registry) error {
	return nil
}
func (o *StartSpoeTransactionTooManyRequestsBody) MarshalBinary() ([]byte, error) {
	if o == nil {
		return nil, nil
	}
	return swag.WriteJSON(o)
}