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

package models

// This file was generated by the swagger tool.
// Editing this file might prove futile when you re-run the swagger generate command

import (
	"context"

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

// HandlersUpdateManifestECURequest handlers update manifest e c u request
//
// swagger:model handlers.UpdateManifestECURequest
type HandlersUpdateManifestECURequest struct {

	// hw versions
	HwVersions string `json:"hw_versions,omitempty"`

	// install priority
	InstallPriority int64 `json:"install_priority,omitempty"`

	// manifest id
	ManifestID int64 `json:"manifest_id,omitempty"`

	// mode
	Mode string `json:"mode,omitempty"`

	// name
	Name string `json:"name,omitempty"`

	// self download
	SelfDownload bool `json:"self_download,omitempty"`

	// version
	Version string `json:"version,omitempty"`
}

// Validate validates this handlers update manifest e c u request
func (m *HandlersUpdateManifestECURequest) Validate(formats strfmt.Registry) error {
	return nil
}

// ContextValidate validates this handlers update manifest e c u request based on context it is used
func (m *HandlersUpdateManifestECURequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error {
	return nil
}

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

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