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

package com.azure.resourcemanager.machinelearning.models;

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

/** Defines values for ScheduleListViewType. */
public final class ScheduleListViewType extends ExpandableStringEnum<ScheduleListViewType> {
    /** Static value EnabledOnly for ScheduleListViewType. */
    public static final ScheduleListViewType ENABLED_ONLY = fromString("EnabledOnly");

    /** Static value DisabledOnly for ScheduleListViewType. */
    public static final ScheduleListViewType DISABLED_ONLY = fromString("DisabledOnly");

    /** Static value All for ScheduleListViewType. */
    public static final ScheduleListViewType ALL = fromString("All");

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

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

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