// 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"
)

// Boot boot
//
// swagger:model boot
type Boot struct {

	// current boot mode
	CurrentBootMode string `json:"current_boot_mode,omitempty"`

	// pxe interface
	PxeInterface string `json:"pxe_interface,omitempty"`
}

// Validate validates this boot
func (m *Boot) Validate(formats strfmt.Registry) error {
	return nil
}

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

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

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