ErrorAdditionalInfo Class

  • java.lang.Object
    • com.azure.maps.render.models.ErrorAdditionalInfo

Implements

public final class ErrorAdditionalInfo
implements JsonSerializable<ErrorAdditionalInfo>

The resource management error additional info.

Constructor Summary

Constructor Description
ErrorAdditionalInfo()

Creates an instance of ErrorAdditionalInfo class.

Method Summary

Modifier and Type Method and Description
static ErrorAdditionalInfo fromJson(JsonReader jsonReader)

Reads an instance of ErrorAdditionalInfo from the JsonReader.

Object getInfo()

Get the info property: The additional info.

String getType()

Get the type property: The additional info type.

JsonWriter toJson(JsonWriter jsonWriter)

Methods inherited from java.lang.Object

Constructor Details

ErrorAdditionalInfo

public ErrorAdditionalInfo()

Creates an instance of ErrorAdditionalInfo class.

Method Details

fromJson

public static ErrorAdditionalInfo fromJson(JsonReader jsonReader)

Reads an instance of ErrorAdditionalInfo from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of ErrorAdditionalInfo 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 ErrorAdditionalInfo.

getInfo

public Object getInfo()

Get the info property: The additional info.

Returns:

the info value.

getType

public String getType()

Get the type property: The additional info type.

Returns:

the type value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

Applies to