AcsSmsDeliveryReportReceivedEventData Class

public final class AcsSmsDeliveryReportReceivedEventData
extends AcsSmsEventBaseProperties

Schema of the Data property of an EventGridEvent for a Microsoft.Communication.SMSDeliveryReportReceived event.

Constructor Summary

Constructor Description
AcsSmsDeliveryReportReceivedEventData()

Creates an instance of AcsSmsDeliveryReportReceivedEventData class.

Method Summary

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

Reads an instance of AcsSmsDeliveryReportReceivedEventData from the JsonReader.

List<AcsSmsDeliveryAttemptProperties> getDeliveryAttempts()

Get the deliveryAttempts property: List of details of delivery attempts made.

String getDeliveryStatus()

Get the deliveryStatus property: Status of Delivery.

String getDeliveryStatusDetails()

Get the deliveryStatusDetails property: Details about Delivery Status.

OffsetDateTime getReceivedTimestamp()

Get the receivedTimestamp property: The time at which the SMS delivery report was received.

String getTag()

Get the tag property: Customer Content.

AcsSmsDeliveryReportReceivedEventData setDeliveryAttempts(List<AcsSmsDeliveryAttemptProperties> deliveryAttempts)

Set the deliveryAttempts property: List of details of delivery attempts made.

AcsSmsDeliveryReportReceivedEventData setDeliveryStatus(String deliveryStatus)

Set the deliveryStatus property: Status of Delivery.

AcsSmsDeliveryReportReceivedEventData setDeliveryStatusDetails(String deliveryStatusDetails)

Set the deliveryStatusDetails property: Details about Delivery Status.

AcsSmsDeliveryReportReceivedEventData setFrom(String from)

Set the from property: The identity of SMS message sender.

AcsSmsDeliveryReportReceivedEventData setMessageId(String messageId)

Set the messageId property: The identity of the SMS message.

AcsSmsDeliveryReportReceivedEventData setReceivedTimestamp(OffsetDateTime receivedTimestamp)

Set the receivedTimestamp property: The time at which the SMS delivery report was received.

AcsSmsDeliveryReportReceivedEventData setTag(String tag)

Set the tag property: Customer Content.

AcsSmsDeliveryReportReceivedEventData setTo(String to)

Set the to property: The identity of SMS message receiver.

JsonWriter toJson(JsonWriter jsonWriter)

Methods inherited from AcsSmsEventBaseProperties

Methods inherited from java.lang.Object

Constructor Details

AcsSmsDeliveryReportReceivedEventData

public AcsSmsDeliveryReportReceivedEventData()

Creates an instance of AcsSmsDeliveryReportReceivedEventData class.

Method Details

fromJson

public static AcsSmsDeliveryReportReceivedEventData fromJson(JsonReader jsonReader)

Reads an instance of AcsSmsDeliveryReportReceivedEventData from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

getDeliveryAttempts

public List getDeliveryAttempts()

Get the deliveryAttempts property: List of details of delivery attempts made.

Returns:

the deliveryAttempts value.

getDeliveryStatus

public String getDeliveryStatus()

Get the deliveryStatus property: Status of Delivery.

Returns:

the deliveryStatus value.

getDeliveryStatusDetails

public String getDeliveryStatusDetails()

Get the deliveryStatusDetails property: Details about Delivery Status.

Returns:

the deliveryStatusDetails value.

getReceivedTimestamp

public OffsetDateTime getReceivedTimestamp()

Get the receivedTimestamp property: The time at which the SMS delivery report was received.

Returns:

the receivedTimestamp value.

getTag

public String getTag()

Get the tag property: Customer Content.

Returns:

the tag value.

setDeliveryAttempts

public AcsSmsDeliveryReportReceivedEventData setDeliveryAttempts(List deliveryAttempts)

Set the deliveryAttempts property: List of details of delivery attempts made.

Parameters:

deliveryAttempts - the deliveryAttempts value to set.

Returns:

the AcsSmsDeliveryReportReceivedEventData object itself.

setDeliveryStatus

public AcsSmsDeliveryReportReceivedEventData setDeliveryStatus(String deliveryStatus)

Set the deliveryStatus property: Status of Delivery.

Parameters:

deliveryStatus - the deliveryStatus value to set.

Returns:

the AcsSmsDeliveryReportReceivedEventData object itself.

setDeliveryStatusDetails

public AcsSmsDeliveryReportReceivedEventData setDeliveryStatusDetails(String deliveryStatusDetails)

Set the deliveryStatusDetails property: Details about Delivery Status.

Parameters:

deliveryStatusDetails - the deliveryStatusDetails value to set.

Returns:

the AcsSmsDeliveryReportReceivedEventData object itself.

setFrom

public AcsSmsDeliveryReportReceivedEventData setFrom(String from)

Set the from property: The identity of SMS message sender.

Overrides:

AcsSmsDeliveryReportReceivedEventData.setFrom(String from)

Parameters:

from

setMessageId

public AcsSmsDeliveryReportReceivedEventData setMessageId(String messageId)

Set the messageId property: The identity of the SMS message.

Overrides:

AcsSmsDeliveryReportReceivedEventData.setMessageId(String messageId)

Parameters:

messageId

setReceivedTimestamp

public AcsSmsDeliveryReportReceivedEventData setReceivedTimestamp(OffsetDateTime receivedTimestamp)

Set the receivedTimestamp property: The time at which the SMS delivery report was received.

Parameters:

receivedTimestamp - the receivedTimestamp value to set.

Returns:

the AcsSmsDeliveryReportReceivedEventData object itself.

setTag

public AcsSmsDeliveryReportReceivedEventData setTag(String tag)

Set the tag property: Customer Content.

Parameters:

tag - the tag value to set.

Returns:

the AcsSmsDeliveryReportReceivedEventData object itself.

setTo

public AcsSmsDeliveryReportReceivedEventData setTo(String to)

Set the to property: The identity of SMS message receiver.

Overrides:

AcsSmsDeliveryReportReceivedEventData.setTo(String to)

Parameters:

to

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

AcsSmsDeliveryReportReceivedEventData.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

Applies to