func (m *Vote) MarshalBinary() ([]byte, error) {
	if m == nil {
		return nil, nil
	}
	return swag.WriteJSON(m)
}
MarshalBinary interface implementation
package models
import (
	"github.com/go-openapi/strfmt"
	"github.com/go-openapi/swag"
)
type Vote struct {
	Option string `json:"option,omitempty"`
	ProposalID string `json:"proposal_id,omitempty"`
	Voter string `json:"voter,omitempty"`
}
func (m *Vote) Validate(formats strfmt.Registry) error {
	return nil
}