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

// Billing20201105CustomizedInput CustomizedInput allows the quantity of dependent products (i.e. number of Vault Clients for a Vault Cluster) to be specified for the cost estimation.
//
// swagger:model billing_20201105CustomizedInput
type Billing20201105CustomizedInput struct {

	// item_key is the item key that had the product key in the package.
	ItemKey string `json:"item_key,omitempty"`

	// quantity describes the value that corresponds to each item_key key. It is the estimated hourly usage.
	Quantity int32 `json:"quantity,omitempty"`
}

// Validate validates this billing 20201105 customized input
func (m *Billing20201105CustomizedInput) Validate(formats strfmt.Registry) error {
	return nil
}

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

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

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