func (m *TallyResult) UnmarshalBinary(b []byte) error {
	var res TallyResult
	if err := swag.ReadJSON(b, &res); err != nil {
		return err
	}
	*m = res
	return nil
}
UnmarshalBinary interface implementation
package models
import (
	"github.com/go-openapi/strfmt"
	"github.com/go-openapi/swag"
)
type TallyResult struct {
	Abstain string `json:"abstain,omitempty"`
	No string `json:"no,omitempty"`
	NoWithVeto string `json:"no_with_veto,omitempty"`
	Yes string `json:"yes,omitempty"`
}
func (m *TallyResult) Validate(formats strfmt.Registry) error {
	return nil
}
func (m *TallyResult) MarshalBinary() ([]byte, error) {
	if m == nil {
		return nil, nil
	}
	return swag.WriteJSON(m)
}