Class AcsSmsEventBaseProperties

java.lang.Object
com.azure.messaging.eventgrid.systemevents.AcsSmsEventBaseProperties
Direct Known Subclasses:
AcsSmsDeliveryReportReceivedEventData, AcsSmsReceivedEventData

public class AcsSmsEventBaseProperties extends Object
Schema of common properties of all SMS events.
  • Constructor Details

    • AcsSmsEventBaseProperties

      public AcsSmsEventBaseProperties()
  • Method Details

    • getMessageId

      public String getMessageId()
      Get the messageId property: The identity of the SMS message.
      Returns:
      the messageId value.
    • setMessageId

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

      public String getFrom()
      Get the from property: The identity of SMS message sender.
      Returns:
      the from value.
    • setFrom

      public AcsSmsEventBaseProperties setFrom(String from)
      Set the from property: The identity of SMS message sender.
      Parameters:
      from - the from value to set.
      Returns:
      the AcsSmsEventBaseProperties object itself.
    • getTo

      public String getTo()
      Get the to property: The identity of SMS message receiver.
      Returns:
      the to value.
    • setTo

      public AcsSmsEventBaseProperties setTo(String to)
      Set the to property: The identity of SMS message receiver.
      Parameters:
      to - the to value to set.
      Returns:
      the AcsSmsEventBaseProperties object itself.