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

package com.azure.resourcemanager.desktopvirtualization.models;

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

/** Application type of application. */
public final class ApplicationType extends ExpandableStringEnum<ApplicationType> {
    /** Static value RemoteApp for ApplicationType. */
    public static final ApplicationType REMOTE_APP = fromString("RemoteApp");

    /** Static value Desktop for ApplicationType. */
    public static final ApplicationType DESKTOP = fromString("Desktop");

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

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

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