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

package com.azure.maps.search.models;

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

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

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

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