func (o *GetWasmContractsContractAddressStoreRawOKBody) UnmarshalBinary(b []byte) error {
	var res GetWasmContractsContractAddressStoreRawOKBody
	if err := swag.ReadJSON(b, &res); err != nil {
		return err
	}
	*o = res
	return nil
}
UnmarshalBinary interface implementation
package wasm
import (
	"fmt"
	"io"
	"github.com/go-openapi/errors"
	"github.com/go-openapi/runtime"
	"github.com/go-openapi/strfmt"
	"github.com/go-openapi/swag"
)
type GetWasmContractsContractAddressStoreRawReader struct {
	formats strfmt.Registry
}
func (o *GetWasmContractsContractAddressStoreRawReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error) {
	switch response.Code() {
	case 200:
		result := NewGetWasmContractsContractAddressStoreRawOK()
		if err := result.readResponse(response, consumer, o.formats); err != nil {
			return nil, err
		}
		return result, nil
	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 NewGetWasmContractsContractAddressStoreRawOK() *GetWasmContractsContractAddressStoreRawOK {
	return &GetWasmContractsContractAddressStoreRawOK{}
}
type GetWasmContractsContractAddressStoreRawOK struct {
	Payload *GetWasmContractsContractAddressStoreRawOKBody
}
func (o *GetWasmContractsContractAddressStoreRawOK) Error() string {
	return fmt.Sprintf("[GET /wasm/contracts/{contractAddress}/store/raw][%d] getWasmContractsContractAddressStoreRawOK  %+v", 200, o.Payload)
}
func (o *GetWasmContractsContractAddressStoreRawOK) GetPayload() *GetWasmContractsContractAddressStoreRawOKBody {
	return o.Payload
}
func (o *GetWasmContractsContractAddressStoreRawOK) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error {
	o.Payload = new(GetWasmContractsContractAddressStoreRawOKBody)
	if err := consumer.Consume(response.Body(), o.Payload); err != nil && err != io.EOF {
		return err
	}
	return nil
}
type GetWasmContractsContractAddressStoreRawOKBody struct {
	Height string `json:"height,omitempty"`
	Result *GetWasmContractsContractAddressStoreRawOKBodyResult `json:"result,omitempty"`
}
func (o *GetWasmContractsContractAddressStoreRawOKBody) Validate(formats strfmt.Registry) error {
	var res []error
	if err := o.validateResult(formats); err != nil {
		res = append(res, err)
	}
	if len(res) > 0 {
		return errors.CompositeValidationError(res...)
	}
	return nil
}
func (o *GetWasmContractsContractAddressStoreRawOKBody) validateResult(formats strfmt.Registry) error {
	if swag.IsZero(o.Result) {  
		return nil
	}
	if o.Result != nil {
		if err := o.Result.Validate(formats); err != nil {
			if ve, ok := err.(*errors.Validation); ok {
				return ve.ValidateName("getWasmContractsContractAddressStoreRawOK" + "." + "result")
			}
			return err
		}
	}
	return nil
}
func (o *GetWasmContractsContractAddressStoreRawOKBody) MarshalBinary() ([]byte, error) {
	if o == nil {
		return nil, nil
	}
	return swag.WriteJSON(o)
}