// 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 FhirServiceKind. */
public final class FhirServiceKind extends ExpandableStringEnum<FhirServiceKind> {
    /** Static value fhir-Stu3 for FhirServiceKind. */
    public static final FhirServiceKind FHIR_STU3 = fromString("fhir-Stu3");

    /** Static value fhir-R4 for FhirServiceKind. */
    public static final FhirServiceKind FHIR_R4 = fromString("fhir-R4");

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

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