Class AcsSmsDeliveryReportReceivedEventData

java.lang.Object
com.azure.messaging.eventgrid.systemevents.AcsSmsEventBaseProperties
com.azure.messaging.eventgrid.systemevents.AcsSmsDeliveryReportReceivedEventData
All Implemented Interfaces:
com.azure.json.JsonSerializable<AcsSmsEventBaseProperties>

public final class AcsSmsDeliveryReportReceivedEventData extends AcsSmsEventBaseProperties
Schema of the Data property of an EventGridEvent for a Microsoft.Communication.SMSDeliveryReportReceived event.
  • Method Details

    • 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.
    • getDeliveryAttempts

      public List<AcsSmsDeliveryAttemptProperties> getDeliveryAttempts()
      Get the deliveryAttempts property: List of details of delivery attempts made.
      Returns:
      the deliveryAttempts 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.
    • getTo

      public String getTo()
      Get the to property: The identity of SMS message receiver.
      Overrides:
      getTo in class AcsSmsEventBaseProperties
      Returns:
      the to value.
    • getFrom

      public String getFrom()
      Get the from property: The identity of SMS message sender.
      Overrides:
      getFrom in class AcsSmsEventBaseProperties
      Returns:
      the from value.
    • getMessageId

      public String getMessageId()
      Get the messageId property: The identity of the SMS message.
      Overrides:
      getMessageId in class AcsSmsEventBaseProperties
      Returns:
      the messageId value.
    • toJson

      public com.azure.json.JsonWriter toJson(com.azure.json.JsonWriter jsonWriter) throws IOException
      Specified by:
      toJson in interface com.azure.json.JsonSerializable<AcsSmsEventBaseProperties>
      Overrides:
      toJson in class AcsSmsEventBaseProperties
      Throws:
      IOException
    • fromJson

      public static AcsSmsDeliveryReportReceivedEventData fromJson(com.azure.json.JsonReader jsonReader) throws IOException
      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:
      IllegalStateException - If the deserialized JSON object was missing any required properties.
      IOException - If an error occurs while reading the AcsSmsDeliveryReportReceivedEventData.