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

package models

import (
	"context"

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

// ExamplepbUnannotatedEmbedded Embedded represents a message embedded in SimpleMessage.
//
// swagger:model examplepbUnannotatedEmbedded
type ExamplepbUnannotatedEmbedded struct {

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

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

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

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

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

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