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

package com.azure.maps.weather.models;

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

/** Keyword for the latest status of the alert. */
public final class LatestStatusKeyword extends ExpandableStringEnum<LatestStatusKeyword> {
    /** Static value New for LatestStatusKeyword. */
    public static final LatestStatusKeyword NEW = fromString("New");

    /** Static value Extend for LatestStatusKeyword. */
    public static final LatestStatusKeyword EXTEND = fromString("Extend");

    /** Static value Cancel for LatestStatusKeyword. */
    public static final LatestStatusKeyword CANCEL = fromString("Cancel");

    /** Static value Correct for LatestStatusKeyword. */
    public static final LatestStatusKeyword CORRECT = fromString("Correct");

    /** Static value Expire for LatestStatusKeyword. */
    public static final LatestStatusKeyword EXPIRE = fromString("Expire");

    /** Static value Upgrade for LatestStatusKeyword. */
    public static final LatestStatusKeyword UPGRADE = fromString("Upgrade");

    /** Static value Continue for LatestStatusKeyword. */
    public static final LatestStatusKeyword CONTINUE = fromString("Continue");

    /** Static value Update for LatestStatusKeyword. */
    public static final LatestStatusKeyword UPDATE = fromString("Update");

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

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