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 Summary
Constructors Constructor Description AcsSmsEventBaseProperties()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getFrom()
Get the from property: The identity of SMS message sender.String
getMessageId()
Get the messageId property: The identity of the SMS message.String
getTo()
Get the to property: The identity of SMS message receiver.AcsSmsEventBaseProperties
setFrom(String from)
Set the from property: The identity of SMS message sender.AcsSmsEventBaseProperties
setMessageId(String messageId)
Set the messageId property: The identity of the SMS message.AcsSmsEventBaseProperties
setTo(String to)
Set the to property: The identity of SMS message receiver.
-
-
-
Method Detail
-
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.
-
-