Class AcsSmsReceivedEventData


  • public final class AcsSmsReceivedEventData
    extends AcsSmsEventBaseProperties
    Schema of the Data property of an EventGridEvent for a Microsoft.Communication.SMSReceived event.
    • Constructor Detail

      • AcsSmsReceivedEventData

        public AcsSmsReceivedEventData()
    • Method Detail

      • getMessage

        public String getMessage()
        Get the message property: The SMS content.
        Returns:
        the message value.
      • setMessage

        public AcsSmsReceivedEventData setMessage​(String message)
        Set the message property: The SMS content.
        Parameters:
        message - the message value to set.
        Returns:
        the AcsSmsReceivedEventData object itself.
      • getReceivedTimestamp

        public OffsetDateTime getReceivedTimestamp()
        Get the receivedTimestamp property: The time at which the SMS was received.
        Returns:
        the receivedTimestamp value.
      • setReceivedTimestamp

        public AcsSmsReceivedEventData setReceivedTimestamp​(OffsetDateTime receivedTimestamp)
        Set the receivedTimestamp property: The time at which the SMS was received.
        Parameters:
        receivedTimestamp - the receivedTimestamp value to set.
        Returns:
        the AcsSmsReceivedEventData object itself.