func (m *PrivateSettlementResponse) UnmarshalJSON(raw []byte) error {
	var aO0 BaseMessage
	if err := swag.ReadJSON(raw, &aO0); err != nil {
		return err
	}
	m.BaseMessage = aO0
	var dataAO1 struct {
		Result *PrivateSettlementResponseAO1Result `json:"result"`
	}
	if err := swag.ReadJSON(raw, &dataAO1); err != nil {
		return err
	}
	m.Result = dataAO1.Result
	return nil
}
UnmarshalJSON unmarshals this object from a JSON structure
package models
import (
	"strconv"
	strfmt "github.com/go-openapi/strfmt"
	"github.com/go-openapi/errors"
	"github.com/go-openapi/swag"
	"github.com/go-openapi/validate"
)
type PrivateSettlementResponse struct {
	BaseMessage
	Result *PrivateSettlementResponseAO1Result `json:"result"`
}