java.lang.Object
com.azure.communication.callautomation.models.CallSource

public final class CallSource extends Object
The CallSource model.
  • Constructor Summary

    Constructors
    Constructor
    Description
    CallSource(com.azure.communication.common.CommunicationIdentifier identifier)
    Constructor of the class
  • Method Summary

    Modifier and Type
    Method
    Description
    com.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.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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

      public CallSource 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.
      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.