Class ApplicationAssignedNumber

java.lang.Object
com.sinch.sdk.domains.voice.models.ApplicationAssignedNumber

public class ApplicationAssignedNumber extends Object
Information about your number.
  • Method Details

    • getNumber

      public E164PhoneNumber getNumber()
      The phone number
      Returns:
      The phone number
    • getApplicationKey

      public String getApplicationKey()
      Indicates the application where the number was assigned.
      Returns:
      Application key value
    • getCapability

      public CapabilityType getCapability()
      Indicates the DID (Direct Inward CapabilityType) capabilityType that was assigned to the chosen application.

      Please note that the DID needs to support the selected capabilityType.

      Returns:
      The capabilityType
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • builder

      public static ApplicationAssignedNumber.Builder builder()
      Create a builder instance
      Returns:
      Dedicated builder