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

package com.azure.resourcemanager.recoveryservicessiterecovery.models;

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

/** A value indicating whether security update required. */
public final class AgentVersionStatus extends ExpandableStringEnum<AgentVersionStatus> {
    /** Static value Supported for AgentVersionStatus. */
    public static final AgentVersionStatus SUPPORTED = fromString("Supported");

    /** Static value NotSupported for AgentVersionStatus. */
    public static final AgentVersionStatus NOT_SUPPORTED = fromString("NotSupported");

    /** Static value Deprecated for AgentVersionStatus. */
    public static final AgentVersionStatus DEPRECATED = fromString("Deprecated");

    /** Static value UpdateRequired for AgentVersionStatus. */
    public static final AgentVersionStatus UPDATE_REQUIRED = fromString("UpdateRequired");

    /** Static value SecurityUpdateRequired for AgentVersionStatus. */
    public static final AgentVersionStatus SECURITY_UPDATE_REQUIRED = fromString("SecurityUpdateRequired");

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

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

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