// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates.  All rights reserved.
// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
// Code generated. DO NOT EDIT.

// LogAnalytics API
//
// The LogAnalytics API for the LogAnalytics service.
//

package loganalytics

import (
	"strings"
)

// ObjectCollectionRuleLifecycleStatesEnum Enum with underlying type: string
type ObjectCollectionRuleLifecycleStatesEnum string

// Set of constants representing the allowable values for ObjectCollectionRuleLifecycleStatesEnum
const (
	ObjectCollectionRuleLifecycleStatesActive   ObjectCollectionRuleLifecycleStatesEnum = "ACTIVE"
	ObjectCollectionRuleLifecycleStatesDeleted  ObjectCollectionRuleLifecycleStatesEnum = "DELETED"
	ObjectCollectionRuleLifecycleStatesInactive ObjectCollectionRuleLifecycleStatesEnum = "INACTIVE"
)

var mappingObjectCollectionRuleLifecycleStatesEnum = map[string]ObjectCollectionRuleLifecycleStatesEnum{
	"ACTIVE":   ObjectCollectionRuleLifecycleStatesActive,
	"DELETED":  ObjectCollectionRuleLifecycleStatesDeleted,
	"INACTIVE": ObjectCollectionRuleLifecycleStatesInactive,
}

var mappingObjectCollectionRuleLifecycleStatesEnumLowerCase = map[string]ObjectCollectionRuleLifecycleStatesEnum{
	"active":   ObjectCollectionRuleLifecycleStatesActive,
	"deleted":  ObjectCollectionRuleLifecycleStatesDeleted,
	"inactive": ObjectCollectionRuleLifecycleStatesInactive,
}

// GetObjectCollectionRuleLifecycleStatesEnumValues Enumerates the set of values for ObjectCollectionRuleLifecycleStatesEnum
func GetObjectCollectionRuleLifecycleStatesEnumValues() []ObjectCollectionRuleLifecycleStatesEnum {
	values := make([]ObjectCollectionRuleLifecycleStatesEnum, 0)
	for _, v := range mappingObjectCollectionRuleLifecycleStatesEnum {
		values = append(values, v)
	}
	return values
}

// GetObjectCollectionRuleLifecycleStatesEnumStringValues Enumerates the set of values in String for ObjectCollectionRuleLifecycleStatesEnum
func GetObjectCollectionRuleLifecycleStatesEnumStringValues() []string {
	return []string{
		"ACTIVE",
		"DELETED",
		"INACTIVE",
	}
}

// GetMappingObjectCollectionRuleLifecycleStatesEnum performs case Insensitive comparison on enum value and return the desired enum
func GetMappingObjectCollectionRuleLifecycleStatesEnum(val string) (ObjectCollectionRuleLifecycleStatesEnum, bool) {
	enum, ok := mappingObjectCollectionRuleLifecycleStatesEnumLowerCase[strings.ToLower(val)]
	return enum, ok
}
