SendMessageResult Class

  • java.lang.Object
    • com.azure.communication.messages.models.SendMessageResult

Implements

public final class SendMessageResult
implements JsonSerializable<SendMessageResult>

Result of the send message operation.

Method Summary

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

Reads an instance of SendMessageResult from the JsonReader.

List<MessageReceipt> getReceipts()

Get the receipts property: Receipts of the send message operation.

JsonWriter toJson(JsonWriter jsonWriter)

Methods inherited from java.lang.Object

Method Details

fromJson

public static SendMessageResult fromJson(JsonReader jsonReader)

Reads an instance of SendMessageResult from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

Throws:

IOException

- If the deserialized JSON object was missing any required properties.

getReceipts

public List getReceipts()

Get the receipts property: Receipts of the send message operation.

Returns:

the receipts value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

Applies to