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

// FeatureSupportLevelID feature support level id
//
// swagger:model feature-support-level-id
type FeatureSupportLevelID string

func NewFeatureSupportLevelID(value FeatureSupportLevelID) *FeatureSupportLevelID {
	return &value
}

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

const (

	// FeatureSupportLevelIDSNO captures enum value "SNO"
	FeatureSupportLevelIDSNO FeatureSupportLevelID = "SNO"

	// FeatureSupportLevelIDTNA captures enum value "TNA"
	FeatureSupportLevelIDTNA FeatureSupportLevelID = "TNA"

	// FeatureSupportLevelIDTNF captures enum value "TNF"
	FeatureSupportLevelIDTNF FeatureSupportLevelID = "TNF"

	// FeatureSupportLevelIDVIPAUTOALLOC captures enum value "VIP_AUTO_ALLOC"
	FeatureSupportLevelIDVIPAUTOALLOC FeatureSupportLevelID = "VIP_AUTO_ALLOC"

	// FeatureSupportLevelIDCUSTOMMANIFEST captures enum value "CUSTOM_MANIFEST"
	FeatureSupportLevelIDCUSTOMMANIFEST FeatureSupportLevelID = "CUSTOM_MANIFEST"

	// FeatureSupportLevelIDSINGLENODEEXPANSION captures enum value "SINGLE_NODE_EXPANSION"
	FeatureSupportLevelIDSINGLENODEEXPANSION FeatureSupportLevelID = "SINGLE_NODE_EXPANSION"

	// FeatureSupportLevelIDLVM captures enum value "LVM"
	FeatureSupportLevelIDLVM FeatureSupportLevelID = "LVM"

	// FeatureSupportLevelIDODF captures enum value "ODF"
	FeatureSupportLevelIDODF FeatureSupportLevelID = "ODF"

	// FeatureSupportLevelIDLSO captures enum value "LSO"
	FeatureSupportLevelIDLSO FeatureSupportLevelID = "LSO"

	// FeatureSupportLevelIDCNV captures enum value "CNV"
	FeatureSupportLevelIDCNV FeatureSupportLevelID = "CNV"

	// FeatureSupportLevelIDMCE captures enum value "MCE"
	FeatureSupportLevelIDMCE FeatureSupportLevelID = "MCE"

	// FeatureSupportLevelIDMTV captures enum value "MTV"
	FeatureSupportLevelIDMTV FeatureSupportLevelID = "MTV"

	// FeatureSupportLevelIDOSC captures enum value "OSC"
	FeatureSupportLevelIDOSC FeatureSupportLevelID = "OSC"

	// FeatureSupportLevelIDNUTANIXINTEGRATION captures enum value "NUTANIX_INTEGRATION"
	FeatureSupportLevelIDNUTANIXINTEGRATION FeatureSupportLevelID = "NUTANIX_INTEGRATION"

	// FeatureSupportLevelIDBAREMETALPLATFORM captures enum value "BAREMETAL_PLATFORM"
	FeatureSupportLevelIDBAREMETALPLATFORM FeatureSupportLevelID = "BAREMETAL_PLATFORM"

	// FeatureSupportLevelIDNONEPLATFORM captures enum value "NONE_PLATFORM"
	FeatureSupportLevelIDNONEPLATFORM FeatureSupportLevelID = "NONE_PLATFORM"

	// FeatureSupportLevelIDVSPHEREINTEGRATION captures enum value "VSPHERE_INTEGRATION"
	FeatureSupportLevelIDVSPHEREINTEGRATION FeatureSupportLevelID = "VSPHERE_INTEGRATION"

	// FeatureSupportLevelIDDUALSTACKVIPS captures enum value "DUAL_STACK_VIPS"
	FeatureSupportLevelIDDUALSTACKVIPS FeatureSupportLevelID = "DUAL_STACK_VIPS"

	// FeatureSupportLevelIDCLUSTERMANAGEDNETWORKING captures enum value "CLUSTER_MANAGED_NETWORKING"
	FeatureSupportLevelIDCLUSTERMANAGEDNETWORKING FeatureSupportLevelID = "CLUSTER_MANAGED_NETWORKING"

	// FeatureSupportLevelIDUSERMANAGEDNETWORKING captures enum value "USER_MANAGED_NETWORKING"
	FeatureSupportLevelIDUSERMANAGEDNETWORKING FeatureSupportLevelID = "USER_MANAGED_NETWORKING"

	// FeatureSupportLevelIDMINIMALISO captures enum value "MINIMAL_ISO"
	FeatureSupportLevelIDMINIMALISO FeatureSupportLevelID = "MINIMAL_ISO"

	// FeatureSupportLevelIDFULLISO captures enum value "FULL_ISO"
	FeatureSupportLevelIDFULLISO FeatureSupportLevelID = "FULL_ISO"

	// FeatureSupportLevelIDEXTERNALPLATFORMOCI captures enum value "EXTERNAL_PLATFORM_OCI"
	FeatureSupportLevelIDEXTERNALPLATFORMOCI FeatureSupportLevelID = "EXTERNAL_PLATFORM_OCI"

	// FeatureSupportLevelIDDUALSTACK captures enum value "DUAL_STACK"
	FeatureSupportLevelIDDUALSTACK FeatureSupportLevelID = "DUAL_STACK"

	// FeatureSupportLevelIDPLATFORMMANAGEDNETWORKING captures enum value "PLATFORM_MANAGED_NETWORKING"
	FeatureSupportLevelIDPLATFORMMANAGEDNETWORKING FeatureSupportLevelID = "PLATFORM_MANAGED_NETWORKING"

	// FeatureSupportLevelIDEXTERNALPLATFORM captures enum value "EXTERNAL_PLATFORM"
	FeatureSupportLevelIDEXTERNALPLATFORM FeatureSupportLevelID = "EXTERNAL_PLATFORM"

	// FeatureSupportLevelIDOVNNETWORKTYPE captures enum value "OVN_NETWORK_TYPE"
	FeatureSupportLevelIDOVNNETWORKTYPE FeatureSupportLevelID = "OVN_NETWORK_TYPE"

	// FeatureSupportLevelIDSDNNETWORKTYPE captures enum value "SDN_NETWORK_TYPE"
	FeatureSupportLevelIDSDNNETWORKTYPE FeatureSupportLevelID = "SDN_NETWORK_TYPE"

	// FeatureSupportLevelIDCILIUMNETWORKTYPE captures enum value "CILIUM_NETWORK_TYPE"
	FeatureSupportLevelIDCILIUMNETWORKTYPE FeatureSupportLevelID = "CILIUM_NETWORK_TYPE"

	// FeatureSupportLevelIDCALICONETWORKTYPE captures enum value "CALICO_NETWORK_TYPE"
	FeatureSupportLevelIDCALICONETWORKTYPE FeatureSupportLevelID = "CALICO_NETWORK_TYPE"

	// FeatureSupportLevelIDCISCOACINETWORKTYPE captures enum value "CISCO_ACI_NETWORK_TYPE"
	FeatureSupportLevelIDCISCOACINETWORKTYPE FeatureSupportLevelID = "CISCO_ACI_NETWORK_TYPE"

	// FeatureSupportLevelIDNONENETWORKTYPE captures enum value "NONE_NETWORK_TYPE"
	FeatureSupportLevelIDNONENETWORKTYPE FeatureSupportLevelID = "NONE_NETWORK_TYPE"

	// FeatureSupportLevelIDNODEFEATUREDISCOVERY captures enum value "NODE_FEATURE_DISCOVERY"
	FeatureSupportLevelIDNODEFEATUREDISCOVERY FeatureSupportLevelID = "NODE_FEATURE_DISCOVERY"

	// FeatureSupportLevelIDNVIDIAGPU captures enum value "NVIDIA_GPU"
	FeatureSupportLevelIDNVIDIAGPU FeatureSupportLevelID = "NVIDIA_GPU"

	// FeatureSupportLevelIDPIPELINES captures enum value "PIPELINES"
	FeatureSupportLevelIDPIPELINES FeatureSupportLevelID = "PIPELINES"

	// FeatureSupportLevelIDSERVICEMESH captures enum value "SERVICEMESH"
	FeatureSupportLevelIDSERVICEMESH FeatureSupportLevelID = "SERVICEMESH"

	// FeatureSupportLevelIDSERVERLESS captures enum value "SERVERLESS"
	FeatureSupportLevelIDSERVERLESS FeatureSupportLevelID = "SERVERLESS"

	// FeatureSupportLevelIDOPENSHIFTAI captures enum value "OPENSHIFT_AI"
	FeatureSupportLevelIDOPENSHIFTAI FeatureSupportLevelID = "OPENSHIFT_AI"

	// FeatureSupportLevelIDNONSTANDARDHACONTROLPLANE captures enum value "NON_STANDARD_HA_CONTROL_PLANE"
	FeatureSupportLevelIDNONSTANDARDHACONTROLPLANE FeatureSupportLevelID = "NON_STANDARD_HA_CONTROL_PLANE"

	// FeatureSupportLevelIDAUTHORINO captures enum value "AUTHORINO"
	FeatureSupportLevelIDAUTHORINO FeatureSupportLevelID = "AUTHORINO"

	// FeatureSupportLevelIDUSERMANAGEDLOADBALANCER captures enum value "USER_MANAGED_LOAD_BALANCER"
	FeatureSupportLevelIDUSERMANAGEDLOADBALANCER FeatureSupportLevelID = "USER_MANAGED_LOAD_BALANCER"

	// FeatureSupportLevelIDNMSTATE captures enum value "NMSTATE"
	FeatureSupportLevelIDNMSTATE FeatureSupportLevelID = "NMSTATE"

	// FeatureSupportLevelIDAMDGPU captures enum value "AMD_GPU"
	FeatureSupportLevelIDAMDGPU FeatureSupportLevelID = "AMD_GPU"

	// FeatureSupportLevelIDKMM captures enum value "KMM"
	FeatureSupportLevelIDKMM FeatureSupportLevelID = "KMM"

	// FeatureSupportLevelIDNODEHEALTHCHECK captures enum value "NODE_HEALTHCHECK"
	FeatureSupportLevelIDNODEHEALTHCHECK FeatureSupportLevelID = "NODE_HEALTHCHECK"

	// FeatureSupportLevelIDSELFNODEREMEDIATION captures enum value "SELF_NODE_REMEDIATION"
	FeatureSupportLevelIDSELFNODEREMEDIATION FeatureSupportLevelID = "SELF_NODE_REMEDIATION"

	// FeatureSupportLevelIDFENCEAGENTSREMEDIATION captures enum value "FENCE_AGENTS_REMEDIATION"
	FeatureSupportLevelIDFENCEAGENTSREMEDIATION FeatureSupportLevelID = "FENCE_AGENTS_REMEDIATION"

	// FeatureSupportLevelIDNODEMAINTENANCE captures enum value "NODE_MAINTENANCE"
	FeatureSupportLevelIDNODEMAINTENANCE FeatureSupportLevelID = "NODE_MAINTENANCE"

	// FeatureSupportLevelIDKUBEDESCHEDULER captures enum value "KUBE_DESCHEDULER"
	FeatureSupportLevelIDKUBEDESCHEDULER FeatureSupportLevelID = "KUBE_DESCHEDULER"

	// FeatureSupportLevelIDCLUSTEROBSERVABILITY captures enum value "CLUSTER_OBSERVABILITY"
	FeatureSupportLevelIDCLUSTEROBSERVABILITY FeatureSupportLevelID = "CLUSTER_OBSERVABILITY"

	// FeatureSupportLevelIDNUMARESOURCES captures enum value "NUMA_RESOURCES"
	FeatureSupportLevelIDNUMARESOURCES FeatureSupportLevelID = "NUMA_RESOURCES"

	// FeatureSupportLevelIDOADP captures enum value "OADP"
	FeatureSupportLevelIDOADP FeatureSupportLevelID = "OADP"

	// FeatureSupportLevelIDMETALLB captures enum value "METALLB"
	FeatureSupportLevelIDMETALLB FeatureSupportLevelID = "METALLB"

	// FeatureSupportLevelIDDUALSTACKPRIMARYIPV6 captures enum value "DUAL_STACK_PRIMARY_IPV6"
	FeatureSupportLevelIDDUALSTACKPRIMARYIPV6 FeatureSupportLevelID = "DUAL_STACK_PRIMARY_IPV6"

	// FeatureSupportLevelIDLOKI captures enum value "LOKI"
	FeatureSupportLevelIDLOKI FeatureSupportLevelID = "LOKI"

	// FeatureSupportLevelIDOPENSHIFTLOGGING captures enum value "OPENSHIFT_LOGGING"
	FeatureSupportLevelIDOPENSHIFTLOGGING FeatureSupportLevelID = "OPENSHIFT_LOGGING"
)

// for schema
var featureSupportLevelIdEnum []interface{}

func init() {
	var res []FeatureSupportLevelID
	if err := json.Unmarshal([]byte(`["SNO","TNA","TNF","VIP_AUTO_ALLOC","CUSTOM_MANIFEST","SINGLE_NODE_EXPANSION","LVM","ODF","LSO","CNV","MCE","MTV","OSC","NUTANIX_INTEGRATION","BAREMETAL_PLATFORM","NONE_PLATFORM","VSPHERE_INTEGRATION","DUAL_STACK_VIPS","CLUSTER_MANAGED_NETWORKING","USER_MANAGED_NETWORKING","MINIMAL_ISO","FULL_ISO","EXTERNAL_PLATFORM_OCI","DUAL_STACK","PLATFORM_MANAGED_NETWORKING","EXTERNAL_PLATFORM","OVN_NETWORK_TYPE","SDN_NETWORK_TYPE","CILIUM_NETWORK_TYPE","CALICO_NETWORK_TYPE","CISCO_ACI_NETWORK_TYPE","NONE_NETWORK_TYPE","NODE_FEATURE_DISCOVERY","NVIDIA_GPU","PIPELINES","SERVICEMESH","SERVERLESS","OPENSHIFT_AI","NON_STANDARD_HA_CONTROL_PLANE","AUTHORINO","USER_MANAGED_LOAD_BALANCER","NMSTATE","AMD_GPU","KMM","NODE_HEALTHCHECK","SELF_NODE_REMEDIATION","FENCE_AGENTS_REMEDIATION","NODE_MAINTENANCE","KUBE_DESCHEDULER","CLUSTER_OBSERVABILITY","NUMA_RESOURCES","OADP","METALLB","DUAL_STACK_PRIMARY_IPV6","LOKI","OPENSHIFT_LOGGING"]`), &res); err != nil {
		panic(err)
	}
	for _, v := range res {
		featureSupportLevelIdEnum = append(featureSupportLevelIdEnum, v)
	}
}

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

// Validate validates this feature support level id
func (m FeatureSupportLevelID) Validate(formats strfmt.Registry) error {
	var res []error

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

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

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