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

package com.azure.media.videoanalyzer.edge.models;

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

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

    /** Static value Manual for OnvifSystemDateTimeType. */
    public static final OnvifSystemDateTimeType MANUAL = fromString("Manual");

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

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