Share via


ResultInformation Class

  • java.lang.Object
    • com.azure.communication.callautomation.models.events.ResultInformation

Implements

public final class ResultInformation
implements JsonSerializable<ResultInformation>

The ResultInformation model.

Method Summary

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

Reads an instance of ResultInformation from the JsonReader.

Integer getCode()

Get the code property: The code property.

String getMessage()

Get the message property: The message property.

Integer getSubCode()

Get the subCode property: The subCode property.

JsonWriter toJson(JsonWriter jsonWriter)

Methods inherited from java.lang.Object

Method Details

fromJson

public static ResultInformation fromJson(JsonReader jsonReader)

Reads an instance of ResultInformation from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

getCode

public Integer getCode()

Get the code property: The code property.

Returns:

the code value.

getMessage

public String getMessage()

Get the message property: The message property.

Returns:

the message value.

getSubCode

public Integer getSubCode()

Get the subCode property: The subCode property.

Returns:

the subCode value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

Applies to