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

package models

import (
	"context"

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

// ExamplepbEmbedded Embedded represents a message embedded in SimpleMessage.
//
// swagger:model examplepbEmbedded
type ExamplepbEmbedded struct {

	// note
	Note string `json:"note,omitempty"`

	// progress
	Progress string `json:"progress,omitempty"`
}

// Validate validates this examplepb embedded
func (m *ExamplepbEmbedded) Validate(formats strfmt.Registry) error {
	return nil
}

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

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

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