Class AcsSmsDeliveryReportReceivedEventData

java.lang.Object
com.azure.messaging.eventgrid.systemevents.AcsSmsEventBaseProperties
com.azure.messaging.eventgrid.systemevents.AcsSmsDeliveryReportReceivedEventData

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

    • AcsSmsDeliveryReportReceivedEventData

      public AcsSmsDeliveryReportReceivedEventData()
  • Method Details

    • getDeliveryStatus

      public String getDeliveryStatus()
      Get the deliveryStatus property: Status of Delivery.
      Returns:
      the deliveryStatus value.
    • 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.
    • getDeliveryStatusDetails

      public String getDeliveryStatusDetails()
      Get the deliveryStatusDetails property: Details about Delivery Status.
      Returns:
      the deliveryStatusDetails value.
    • 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.
    • getDeliveryAttempts

      public List<AcsSmsDeliveryAttemptProperties> getDeliveryAttempts()
      Get the deliveryAttempts property: List of details of delivery attempts made.
      Returns:
      the deliveryAttempts value.
    • setDeliveryAttempts

      public AcsSmsDeliveryReportReceivedEventData setDeliveryAttempts(List<AcsSmsDeliveryAttemptProperties> deliveryAttempts)
      Set the deliveryAttempts property: List of details of delivery attempts made.
      Parameters:
      deliveryAttempts - the deliveryAttempts value to set.
      Returns:
      the AcsSmsDeliveryReportReceivedEventData object itself.
    • getReceivedTimestamp

      public OffsetDateTime getReceivedTimestamp()
      Get the receivedTimestamp property: The time at which the SMS delivery report was received.
      Returns:
      the receivedTimestamp value.
    • 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.
    • getTag

      public String getTag()
      Get the tag property: Customer Content.
      Returns:
      the tag value.
    • setTag

      Set the tag property: Customer Content.
      Parameters:
      tag - the tag value to set.
      Returns:
      the AcsSmsDeliveryReportReceivedEventData object itself.
    • setMessageId

      public AcsSmsDeliveryReportReceivedEventData setMessageId(String messageId)
      Set the messageId property: The identity of the SMS message.
      Overrides:
      setMessageId in class AcsSmsEventBaseProperties
      Parameters:
      messageId - the messageId value to set.
      Returns:
      the AcsSmsEventBaseProperties object itself.
    • setFrom

      Set the from property: The identity of SMS message sender.
      Overrides:
      setFrom in class AcsSmsEventBaseProperties
      Parameters:
      from - the from value to set.
      Returns:
      the AcsSmsEventBaseProperties object itself.
    • setTo

      Set the to property: The identity of SMS message receiver.
      Overrides:
      setTo in class AcsSmsEventBaseProperties
      Parameters:
      to - the to value to set.
      Returns:
      the AcsSmsEventBaseProperties object itself.