Class CallSource
java.lang.Object
com.azure.communication.callautomation.models.CallSource
The CallSource model.
-
Constructor Summary
ConstructorDescriptionCallSource
(com.azure.communication.common.CommunicationIdentifier identifier) Constructor of the class -
Method Summary
Modifier and TypeMethodDescriptioncom.azure.communication.common.PhoneNumberIdentifier
Get the callerId property: The alternate identity of the source of the call if dialing out to a pstn number.com.azure.communication.common.CommunicationIdentifier
Get the identifier property: The identifier property.setCallerId
(com.azure.communication.common.PhoneNumberIdentifier callerId) Set the callerId property: The alternate identity of the source of the call if dialing out to a pstn number.
-
Constructor Details
-
CallSource
public CallSource(com.azure.communication.common.CommunicationIdentifier identifier) Constructor of the class- Parameters:
identifier
- the identifier value to set. Required.
-
-
Method Details
-
getCallerId
public com.azure.communication.common.PhoneNumberIdentifier getCallerId()Get the callerId property: The alternate identity of the source of the call if dialing out to a pstn number.- Returns:
- the callerId value.
-
setCallerId
Set the callerId property: The alternate identity of the source of the call if dialing out to a pstn number.- Parameters:
callerId
- the callerId value to set.- Returns:
- the CallSource object itself.
-
getIdentifier
public com.azure.communication.common.CommunicationIdentifier getIdentifier()Get the identifier property: The identifier property.- Returns:
- the identifier value.
-