/**
 * 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.computervision.models;

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

/**
 * Defines values for ComputerVisionInnerErrorCodeValue.
 */
public final class ComputerVisionInnerErrorCodeValue extends ExpandableStringEnum<ComputerVisionInnerErrorCodeValue> {
    /** Static value InvalidImageFormat for ComputerVisionInnerErrorCodeValue. */
    public static final ComputerVisionInnerErrorCodeValue INVALID_IMAGE_FORMAT = fromString("InvalidImageFormat");

    /** Static value UnsupportedMediaType for ComputerVisionInnerErrorCodeValue. */
    public static final ComputerVisionInnerErrorCodeValue UNSUPPORTED_MEDIA_TYPE = fromString("UnsupportedMediaType");

    /** Static value InvalidImageUrl for ComputerVisionInnerErrorCodeValue. */
    public static final ComputerVisionInnerErrorCodeValue INVALID_IMAGE_URL = fromString("InvalidImageUrl");

    /** Static value NotSupportedFeature for ComputerVisionInnerErrorCodeValue. */
    public static final ComputerVisionInnerErrorCodeValue NOT_SUPPORTED_FEATURE = fromString("NotSupportedFeature");

    /** Static value NotSupportedImage for ComputerVisionInnerErrorCodeValue. */
    public static final ComputerVisionInnerErrorCodeValue NOT_SUPPORTED_IMAGE = fromString("NotSupportedImage");

    /** Static value Timeout for ComputerVisionInnerErrorCodeValue. */
    public static final ComputerVisionInnerErrorCodeValue TIMEOUT = fromString("Timeout");

    /** Static value InternalServerError for ComputerVisionInnerErrorCodeValue. */
    public static final ComputerVisionInnerErrorCodeValue INTERNAL_SERVER_ERROR = fromString("InternalServerError");

    /** Static value InvalidImageSize for ComputerVisionInnerErrorCodeValue. */
    public static final ComputerVisionInnerErrorCodeValue INVALID_IMAGE_SIZE = fromString("InvalidImageSize");

    /** Static value BadArgument for ComputerVisionInnerErrorCodeValue. */
    public static final ComputerVisionInnerErrorCodeValue BAD_ARGUMENT = fromString("BadArgument");

    /** Static value DetectFaceError for ComputerVisionInnerErrorCodeValue. */
    public static final ComputerVisionInnerErrorCodeValue DETECT_FACE_ERROR = fromString("DetectFaceError");

    /** Static value NotSupportedLanguage for ComputerVisionInnerErrorCodeValue. */
    public static final ComputerVisionInnerErrorCodeValue NOT_SUPPORTED_LANGUAGE = fromString("NotSupportedLanguage");

    /** Static value InvalidThumbnailSize for ComputerVisionInnerErrorCodeValue. */
    public static final ComputerVisionInnerErrorCodeValue INVALID_THUMBNAIL_SIZE = fromString("InvalidThumbnailSize");

    /** Static value InvalidDetails for ComputerVisionInnerErrorCodeValue. */
    public static final ComputerVisionInnerErrorCodeValue INVALID_DETAILS = fromString("InvalidDetails");

    /** Static value InvalidModel for ComputerVisionInnerErrorCodeValue. */
    public static final ComputerVisionInnerErrorCodeValue INVALID_MODEL = fromString("InvalidModel");

    /** Static value CancelledRequest for ComputerVisionInnerErrorCodeValue. */
    public static final ComputerVisionInnerErrorCodeValue CANCELLED_REQUEST = fromString("CancelledRequest");

    /** Static value NotSupportedVisualFeature for ComputerVisionInnerErrorCodeValue. */
    public static final ComputerVisionInnerErrorCodeValue NOT_SUPPORTED_VISUAL_FEATURE = fromString("NotSupportedVisualFeature");

    /** Static value FailedToProcess for ComputerVisionInnerErrorCodeValue. */
    public static final ComputerVisionInnerErrorCodeValue FAILED_TO_PROCESS = fromString("FailedToProcess");

    /** Static value Unspecified for ComputerVisionInnerErrorCodeValue. */
    public static final ComputerVisionInnerErrorCodeValue UNSPECIFIED = fromString("Unspecified");

    /** Static value StorageException for ComputerVisionInnerErrorCodeValue. */
    public static final ComputerVisionInnerErrorCodeValue STORAGE_EXCEPTION = fromString("StorageException");

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

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