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

package com.azure.resourcemanager.timeseriesinsights.models;

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

/** An enum that represents the format of the local timestamp property that needs to be set. */
public final class LocalTimestampFormat extends ExpandableStringEnum<LocalTimestampFormat> {
    /** Static value Embedded for LocalTimestampFormat. */
    public static final LocalTimestampFormat EMBEDDED = fromString("Embedded");

    /**
     * Creates a new instance of LocalTimestampFormat value.
     *
     * @deprecated Use the {@link #fromString(String)} factory method.
     */
    @Deprecated
    public LocalTimestampFormat() {
    }

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

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