// 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"
	"encoding/json"

	"github.com/go-openapi/errors"
	"github.com/go-openapi/strfmt"
	"github.com/go-openapi/validate"
)

// HashicorpCloudBoundary20211221ClusterMarketingSKU ClusterMarketingSKU is available SKUs for HCP Boundary clusters used for in billing and enterprise feature
//
// - CLUSTER_MARKETING_SKU_UNSPECIFIED: CLUSTER_MARKETING_SKU_UNSPECIFIED is unspecified
//   - CLUSTER_MARKETING_SKU_STANDARD: CLUSTER_MARKETING_SKU_STANDARD is 'standard' SKU
//   - CLUSTER_MARKETING_SKU_PLUS: CLUSTER_MARKETING_SKU_PLUS is a 'plus' SKU
//
// swagger:model hashicorp.cloud.boundary_20211221.ClusterMarketingSKU
type HashicorpCloudBoundary20211221ClusterMarketingSKU string

func NewHashicorpCloudBoundary20211221ClusterMarketingSKU(value HashicorpCloudBoundary20211221ClusterMarketingSKU) *HashicorpCloudBoundary20211221ClusterMarketingSKU {
	return &value
}

// Pointer returns a pointer to a freshly-allocated HashicorpCloudBoundary20211221ClusterMarketingSKU.
func (m HashicorpCloudBoundary20211221ClusterMarketingSKU) Pointer() *HashicorpCloudBoundary20211221ClusterMarketingSKU {
	return &m
}

const (

	// HashicorpCloudBoundary20211221ClusterMarketingSKUCLUSTERMARKETINGSKUUNSPECIFIED captures enum value "CLUSTER_MARKETING_SKU_UNSPECIFIED"
	HashicorpCloudBoundary20211221ClusterMarketingSKUCLUSTERMARKETINGSKUUNSPECIFIED HashicorpCloudBoundary20211221ClusterMarketingSKU = "CLUSTER_MARKETING_SKU_UNSPECIFIED"

	// HashicorpCloudBoundary20211221ClusterMarketingSKUCLUSTERMARKETINGSKUSTANDARD captures enum value "CLUSTER_MARKETING_SKU_STANDARD"
	HashicorpCloudBoundary20211221ClusterMarketingSKUCLUSTERMARKETINGSKUSTANDARD HashicorpCloudBoundary20211221ClusterMarketingSKU = "CLUSTER_MARKETING_SKU_STANDARD"

	// HashicorpCloudBoundary20211221ClusterMarketingSKUCLUSTERMARKETINGSKUPLUS captures enum value "CLUSTER_MARKETING_SKU_PLUS"
	HashicorpCloudBoundary20211221ClusterMarketingSKUCLUSTERMARKETINGSKUPLUS HashicorpCloudBoundary20211221ClusterMarketingSKU = "CLUSTER_MARKETING_SKU_PLUS"
)

// for schema
var hashicorpCloudBoundary20211221ClusterMarketingSKUEnum []interface{}

func init() {
	var res []HashicorpCloudBoundary20211221ClusterMarketingSKU
	if err := json.Unmarshal([]byte(`["CLUSTER_MARKETING_SKU_UNSPECIFIED","CLUSTER_MARKETING_SKU_STANDARD","CLUSTER_MARKETING_SKU_PLUS"]`), &res); err != nil {
		panic(err)
	}
	for _, v := range res {
		hashicorpCloudBoundary20211221ClusterMarketingSKUEnum = append(hashicorpCloudBoundary20211221ClusterMarketingSKUEnum, v)
	}
}

func (m HashicorpCloudBoundary20211221ClusterMarketingSKU) validateHashicorpCloudBoundary20211221ClusterMarketingSKUEnum(path, location string, value HashicorpCloudBoundary20211221ClusterMarketingSKU) error {
	if err := validate.EnumCase(path, location, value, hashicorpCloudBoundary20211221ClusterMarketingSKUEnum, true); err != nil {
		return err
	}
	return nil
}

// Validate validates this hashicorp cloud boundary 20211221 cluster marketing s k u
func (m HashicorpCloudBoundary20211221ClusterMarketingSKU) Validate(formats strfmt.Registry) error {
	var res []error

	// value enum
	if err := m.validateHashicorpCloudBoundary20211221ClusterMarketingSKUEnum("", "body", m); err != nil {
		return err
	}

	if len(res) > 0 {
		return errors.CompositeValidationError(res...)
	}
	return nil
}

// ContextValidate validates this hashicorp cloud boundary 20211221 cluster marketing s k u based on context it is used
func (m HashicorpCloudBoundary20211221ClusterMarketingSKU) ContextValidate(ctx context.Context, formats strfmt.Registry) error {
	return nil
}
