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

package com.azure.resourcemanager.edgeorder.models;

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

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

    /** Static value CM for LengthHeightUnit. */
    public static final LengthHeightUnit CM = fromString("CM");

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

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