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

// CommonVCUChargingStatus common v c u charging status
//
// swagger:model common.VCUChargingStatus
type CommonVCUChargingStatus struct {

	// charging status
	ChargingStatus string `json:"charging_status,omitempty"`
}

// Validate validates this common v c u charging status
func (m *CommonVCUChargingStatus) Validate(formats strfmt.Registry) error {
	return nil
}

// ContextValidate validates this common v c u charging status based on context it is used
func (m *CommonVCUChargingStatus) ContextValidate(ctx context.Context, formats strfmt.Registry) error {
	return nil
}

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

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