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

package com.azure.maps.timezone.models;

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

/** Defines values for TimezoneOptions. */
public final class TimeZoneOptions extends ExpandableStringEnum<TimeZoneOptions> {
    /** Static value none for TimezoneOptions. */
    public static final TimeZoneOptions NONE = fromString("none");

    /** Static value zoneInfo for TimezoneOptions. */
    public static final TimeZoneOptions ZONE_INFO = fromString("zoneInfo");

    /** Static value transitions for TimezoneOptions. */
    public static final TimeZoneOptions TRANSITIONS = fromString("transitions");

    /** Static value all for TimezoneOptions. */
    public static final TimeZoneOptions ALL = fromString("all");

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

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