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

// Billing20201105SupportLevel SupportLevel represents the support level associated with a product type
//
// swagger:model billing_20201105SupportLevel
type Billing20201105SupportLevel struct {

	// product_type is the product type this support level is for.
	ProductType string `json:"product_type,omitempty"`

	// support_level is the support level for the product_type
	SupportLevel string `json:"support_level,omitempty"`
}

// Validate validates this billing 20201105 support level
func (m *Billing20201105SupportLevel) Validate(formats strfmt.Registry) error {
	return nil
}

// ContextValidate validates this billing 20201105 support level based on context it is used
func (m *Billing20201105SupportLevel) ContextValidate(ctx context.Context, formats strfmt.Registry) error {
	return nil
}

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

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