com.microsoft.azure.cognitiveservices.search.customimagesearch.models.ErrorSubCode Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of azure-cognitiveservices-customimagesearch Show documentation
Show all versions of azure-cognitiveservices-customimagesearch Show documentation
This package contains Microsoft Cognitive Service Custom Image Search SDK.
The newest version!
/**
* 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.search.customimagesearch.models;
import java.util.Collection;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.microsoft.rest.ExpandableStringEnum;
/**
* Defines values for ErrorSubCode.
*/
public final class ErrorSubCode extends ExpandableStringEnum {
/** Static value UnexpectedError for ErrorSubCode. */
public static final ErrorSubCode UNEXPECTED_ERROR = fromString("UnexpectedError");
/** Static value ResourceError for ErrorSubCode. */
public static final ErrorSubCode RESOURCE_ERROR = fromString("ResourceError");
/** Static value NotImplemented for ErrorSubCode. */
public static final ErrorSubCode NOT_IMPLEMENTED = fromString("NotImplemented");
/** Static value ParameterMissing for ErrorSubCode. */
public static final ErrorSubCode PARAMETER_MISSING = fromString("ParameterMissing");
/** Static value ParameterInvalidValue for ErrorSubCode. */
public static final ErrorSubCode PARAMETER_INVALID_VALUE = fromString("ParameterInvalidValue");
/** Static value HttpNotAllowed for ErrorSubCode. */
public static final ErrorSubCode HTTP_NOT_ALLOWED = fromString("HttpNotAllowed");
/** Static value Blocked for ErrorSubCode. */
public static final ErrorSubCode BLOCKED = fromString("Blocked");
/** Static value AuthorizationMissing for ErrorSubCode. */
public static final ErrorSubCode AUTHORIZATION_MISSING = fromString("AuthorizationMissing");
/** Static value AuthorizationRedundancy for ErrorSubCode. */
public static final ErrorSubCode AUTHORIZATION_REDUNDANCY = fromString("AuthorizationRedundancy");
/** Static value AuthorizationDisabled for ErrorSubCode. */
public static final ErrorSubCode AUTHORIZATION_DISABLED = fromString("AuthorizationDisabled");
/** Static value AuthorizationExpired for ErrorSubCode. */
public static final ErrorSubCode AUTHORIZATION_EXPIRED = fromString("AuthorizationExpired");
/**
* Creates or finds a ErrorSubCode from its string representation.
* @param name a name to look for
* @return the corresponding ErrorSubCode
*/
@JsonCreator
public static ErrorSubCode fromString(String name) {
return fromString(name, ErrorSubCode.class);
}
/**
* @return known ErrorSubCode values
*/
public static Collection values() {
return values(ErrorSubCode.class);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy