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

package com.azure.resourcemanager.marketplaceordering.models;

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

/** Defines values for OfferType. */
public final class OfferType extends ExpandableStringEnum<OfferType> {
    /** Static value virtualmachine for OfferType. */
    public static final OfferType VIRTUALMACHINE = fromString("virtualmachine");

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

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