// Code generated by go-swagger; DO NOT EDIT.

package models

import (
	"context"

	"github.com/go-openapi/strfmt"
	"github.com/go-openapi/swag"
)

// ExamplepbEntityID examplepb entity Id
//
// swagger:model examplepbEntityId
type ExamplepbEntityID struct {

	// value
	Value string `json:"value,omitempty"`
}

// Validate validates this examplepb entity Id
func (m *ExamplepbEntityID) Validate(formats strfmt.Registry) error {
	return nil
}

// ContextValidate validates this examplepb entity Id based on context it is used
func (m *ExamplepbEntityID) ContextValidate(ctx context.Context, formats strfmt.Registry) error {
	return nil
}

// MarshalBinary interface implementation
func (m *ExamplepbEntityID) MarshalBinary() ([]byte, error) {
	if m == nil {
		return nil, nil
	}
	return swag.WriteJSON(m)
}

// UnmarshalBinary interface implementation
func (m *ExamplepbEntityID) UnmarshalBinary(b []byte) error {
	var res ExamplepbEntityID
	if err := swag.ReadJSON(b, &res); err != nil {
		return err
	}
	*m = res
	return nil
}
