/**
 * Copyright (c) Microsoft Corporation. All rights reserved.
 * Licensed under the MIT License. See License.txt in the project root for
 * license information.
 *
 * Code generated by Microsoft (R) AutoRest Code Generator.
 */

package com.microsoft.azure.cognitiveservices.vision.customvision.training.models;

import java.util.Collection;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.microsoft.rest.ExpandableStringEnum;

/**
 * Defines values for ExportStatus.
 */
public final class ExportStatus extends ExpandableStringEnum<ExportStatus> {
    /** Static value Exporting for ExportStatus. */
    public static final ExportStatus EXPORTING = fromString("Exporting");

    /** Static value Failed for ExportStatus. */
    public static final ExportStatus FAILED = fromString("Failed");

    /** Static value Done for ExportStatus. */
    public static final ExportStatus DONE = fromString("Done");

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

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