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

// Billing20201105EstimatedPackageItemPrice IndividualPrice contains the individual hourly and monthly prices as well the itemKey for each product.
//
// swagger:model billing_20201105EstimatedPackageItemPrice
type Billing20201105EstimatedPackageItemPrice struct {

	// hourly_price is the hourly cost for each individual product.
	HourlyPrice string `json:"hourly_price,omitempty"`

	// item_key is the item key of the estimated cost.
	ItemKey string `json:"item_key,omitempty"`

	// monthly_price is the monthly cost for each individual product.
	MonthlyPrice string `json:"monthly_price,omitempty"`
}

// Validate validates this billing 20201105 estimated package item price
func (m *Billing20201105EstimatedPackageItemPrice) Validate(formats strfmt.Registry) error {
	return nil
}

// ContextValidate validates this billing 20201105 estimated package item price based on context it is used
func (m *Billing20201105EstimatedPackageItemPrice) ContextValidate(ctx context.Context, formats strfmt.Registry) error {
	return nil
}

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

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