InnerError Class

  • java.lang.Object
    • com.azure.resourcemanager.dataprotection.models.InnerError

Implements

public final class InnerError
implements JsonSerializable<InnerError>

Inner Error.

Method Summary

Modifier and Type Method and Description
Map<String,String> additionalInfo()

Get the additionalInfo property: Any Key value pairs that can be provided to the client for additional verbose information.

String code()

Get the code property: Unique code for this error.

InnerError embeddedInnerError()

Get the embeddedInnerError property: Child Inner Error, to allow Nesting.

static InnerError fromJson(JsonReader jsonReader)

Reads an instance of InnerError from the JsonReader.

JsonWriter toJson(JsonWriter jsonWriter)

Methods inherited from java.lang.Object

Method Details

additionalInfo

public Map<String,String> additionalInfo()

Get the additionalInfo property: Any Key value pairs that can be provided to the client for additional verbose information.

Returns:

the additionalInfo value.

code

public String code()

Get the code property: Unique code for this error.

Returns:

the code value.

embeddedInnerError

public InnerError embeddedInnerError()

Get the embeddedInnerError property: Child Inner Error, to allow Nesting.

Returns:

the embeddedInnerError value.

fromJson

public static InnerError fromJson(JsonReader jsonReader)

Reads an instance of InnerError from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of InnerError if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If an error occurs while reading the InnerError.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

Applies to