// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Code generated by Microsoft (R) AutoRest Code Generator.

package com.azure.resourcemanager.healthcareapis.models;

import com.azure.core.util.ExpandableStringEnum;
import com.fasterxml.jackson.annotation.JsonCreator;
import java.util.Collection;

/** Defines values for ServiceEventState. */
public final class ServiceEventState extends ExpandableStringEnum<ServiceEventState> {
    /** Static value Disabled for ServiceEventState. */
    public static final ServiceEventState DISABLED = fromString("Disabled");

    /** Static value Enabled for ServiceEventState. */
    public static final ServiceEventState ENABLED = fromString("Enabled");

    /** Static value Updating for ServiceEventState. */
    public static final ServiceEventState UPDATING = fromString("Updating");

    /**
     * Creates or finds a ServiceEventState from its string representation.
     *
     * @param name a name to look for.
     * @return the corresponding ServiceEventState.
     */
    @JsonCreator
    public static ServiceEventState fromString(String name) {
        return fromString(name, ServiceEventState.class);
    }

    /** @return known ServiceEventState values. */
    public static Collection<ServiceEventState> values() {
        return values(ServiceEventState.class);
    }
}
