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

package com.azure.resourcemanager.edgeorder.models;

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

/** Defines values for AddressValidationStatus. */
public final class AddressValidationStatus extends ExpandableStringEnum<AddressValidationStatus> {
    /** Static value Valid for AddressValidationStatus. */
    public static final AddressValidationStatus VALID = fromString("Valid");

    /** Static value Invalid for AddressValidationStatus. */
    public static final AddressValidationStatus INVALID = fromString("Invalid");

    /** Static value Ambiguous for AddressValidationStatus. */
    public static final AddressValidationStatus AMBIGUOUS = fromString("Ambiguous");

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

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