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

package com.azure.resourcemanager.connectedvmware.models;

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

/** Defines values for FirmwareType. */
public final class FirmwareType extends ExpandableStringEnum<FirmwareType> {
    /** Static value bios for FirmwareType. */
    public static final FirmwareType BIOS = fromString("bios");

    /** Static value efi for FirmwareType. */
    public static final FirmwareType EFI = fromString("efi");

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

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