func (m *PrivateRemoveFromAddressBookResponse) UnmarshalBinary(b []byte) error {
	var res PrivateRemoveFromAddressBookResponse
	if err := swag.ReadJSON(b, &res); err != nil {
		return err
	}
	*m = res
	return nil
}
UnmarshalBinary interface implementation
package models
import (
	strfmt "github.com/go-openapi/strfmt"
	"github.com/go-openapi/errors"
	"github.com/go-openapi/swag"
	"github.com/go-openapi/validate"
)
type PrivateRemoveFromAddressBookResponse struct {
	Result *string `json:"result"`
}
func (m *PrivateRemoveFromAddressBookResponse) Validate(formats strfmt.Registry) error {
	var res []error
	if err := m.validateResult(formats); err != nil {
		res = append(res, err)
	}
	if len(res) > 0 {
		return errors.CompositeValidationError(res...)
	}
	return nil
}
func (m *PrivateRemoveFromAddressBookResponse) validateResult(formats strfmt.Registry) error {
	if err := validate.Required("result", "body", m.Result); err != nil {
		return err
	}
	return nil
}
func (m *PrivateRemoveFromAddressBookResponse) MarshalBinary() ([]byte, error) {
	if m == nil {
		return nil, nil
	}
	return swag.WriteJSON(m)
}