All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.azure.ai.metricsadvisor.models.FeedbackQueryTimeMode Maven / Gradle / Ivy

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

package com.azure.ai.metricsadvisor.models;

import com.azure.core.util.ExpandableStringEnum;
import java.util.Collection;

/**
 * time mode to filter feedback.
 */
public final class FeedbackQueryTimeMode extends ExpandableStringEnum {
    /**
     * Static value MetricTimestamp for FeedbackQueryTimeMode.
     */
    public static final FeedbackQueryTimeMode METRIC_TIMESTAMP = fromString("MetricTimestamp");

    /**
     * Static value FeedbackCreatedTime for FeedbackQueryTimeMode.
     */
    public static final FeedbackQueryTimeMode FEEDBACK_CREATED_TIME = fromString("FeedbackCreatedTime");

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

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

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




© 2015 - 2025 Weber Informatics LLC | Privacy Policy