Freigeben über


ErrorSubCode Class

  • java.lang.Object
    • com.microsoft.rest.ExpandableStringEnum
      • com.microsoft.azure.cognitiveservices.search.entitysearch.models.ErrorSubCode

public final class ErrorSubCode
extends com.microsoft.rest.ExpandableStringEnum<ErrorSubCode>

Defines values for ErrorSubCode.

Field Summary

Modifier and Type Field and Description
static final ErrorSubCode AUTHORIZATION_DISABLED

Static value AuthorizationDisabled for ErrorSubCode.

static final ErrorSubCode AUTHORIZATION_EXPIRED

Static value AuthorizationExpired for ErrorSubCode.

static final ErrorSubCode AUTHORIZATION_MISSING

Static value AuthorizationMissing for ErrorSubCode.

static final ErrorSubCode AUTHORIZATION_REDUNDANCY

Static value AuthorizationRedundancy for ErrorSubCode.

static final ErrorSubCode BLOCKED

Static value Blocked for ErrorSubCode.

static final ErrorSubCode HTTP_NOT_ALLOWED

Static value HttpNotAllowed for ErrorSubCode.

static final ErrorSubCode NOT_IMPLEMENTED

Static value NotImplemented for ErrorSubCode.

static final ErrorSubCode PARAMETER_INVALID_VALUE

Static value ParameterInvalidValue for ErrorSubCode.

static final ErrorSubCode PARAMETER_MISSING

Static value ParameterMissing for ErrorSubCode.

static final ErrorSubCode RESOURCE_ERROR

Static value ResourceError for ErrorSubCode.

static final ErrorSubCode UNEXPECTED_ERROR

Static value UnexpectedError for ErrorSubCode.

Constructor Summary

Constructor Description
ErrorSubCode()

Method Summary

Modifier and Type Method and Description
static ErrorSubCode fromString(String name)

Creates or finds a ErrorSubCode from its string representation.

static java.util.Collection<ErrorSubCode> values()

Methods inherited from com.microsoft.rest.ExpandableStringEnum

com.microsoft.rest.ExpandableStringEnum.<T>fromString com.microsoft.rest.ExpandableStringEnum.<T>values com.microsoft.rest.ExpandableStringEnum.equals com.microsoft.rest.ExpandableStringEnum.hashCode com.microsoft.rest.ExpandableStringEnum.toString com.microsoft.rest.ExpandableStringEnum.withNameValue

Methods inherited from java.lang.Object

java.lang.Object.clone java.lang.Object.finalize java.lang.Object.getClass java.lang.Object.notify java.lang.Object.notifyAll java.lang.Object.wait java.lang.Object.wait java.lang.Object.wait

Field Details

AUTHORIZATION_DISABLED

public static final ErrorSubCode AUTHORIZATION_DISABLED

Static value AuthorizationDisabled for ErrorSubCode.

AUTHORIZATION_EXPIRED

public static final ErrorSubCode AUTHORIZATION_EXPIRED

Static value AuthorizationExpired for ErrorSubCode.

AUTHORIZATION_MISSING

public static final ErrorSubCode AUTHORIZATION_MISSING

Static value AuthorizationMissing for ErrorSubCode.

AUTHORIZATION_REDUNDANCY

public static final ErrorSubCode AUTHORIZATION_REDUNDANCY

Static value AuthorizationRedundancy for ErrorSubCode.

BLOCKED

public static final ErrorSubCode BLOCKED

Static value Blocked for ErrorSubCode.

HTTP_NOT_ALLOWED

public static final ErrorSubCode HTTP_NOT_ALLOWED

Static value HttpNotAllowed for ErrorSubCode.

NOT_IMPLEMENTED

public static final ErrorSubCode NOT_IMPLEMENTED

Static value NotImplemented for ErrorSubCode.

PARAMETER_INVALID_VALUE

public static final ErrorSubCode PARAMETER_INVALID_VALUE

Static value ParameterInvalidValue for ErrorSubCode.

PARAMETER_MISSING

public static final ErrorSubCode PARAMETER_MISSING

Static value ParameterMissing for ErrorSubCode.

RESOURCE_ERROR

public static final ErrorSubCode RESOURCE_ERROR

Static value ResourceError for ErrorSubCode.

UNEXPECTED_ERROR

public static final ErrorSubCode UNEXPECTED_ERROR

Static value UnexpectedError for ErrorSubCode.

Constructor Details

ErrorSubCode

public ErrorSubCode()

Method Details

fromString

public static ErrorSubCode fromString(String name)

Creates or finds a ErrorSubCode from its string representation.

Parameters:

name - a name to look for

Returns:

the corresponding ErrorSubCode

values

public static Collection values()

Returns:

known ErrorSubCode values

Applies to