Class PhoneNumberSearchResult


  • public final class PhoneNumberSearchResult
    extends Object
    The PhoneNumberSearchResult model.
    • Constructor Detail

      • PhoneNumberSearchResult

        public PhoneNumberSearchResult()
    • Method Detail

      • getSearchId

        public String getSearchId()
        Get the searchId property: The search id.
        Returns:
        the searchId value.
      • getPhoneNumbers

        public List<String> getPhoneNumbers()
        Get the phoneNumbers property: The phone numbers that are available. Can be fewer than the desired search quantity.
        Returns:
        the phoneNumbers value.
      • getPhoneNumberType

        public PhoneNumberType getPhoneNumberType()
        Get the phoneNumberType property: The phone number's type, e.g. geographic, or tollFree.
        Returns:
        the phoneNumberType value.
      • getAssignmentType

        public PhoneNumberAssignmentType getAssignmentType()
        Get the assignmentType property: Phone number's assignment type.
        Returns:
        the assignmentType value.
      • getCapabilities

        public PhoneNumberCapabilities getCapabilities()
        Get the capabilities property: Capabilities of a phone number.
        Returns:
        the capabilities value.
      • getCost

        public PhoneNumberCost getCost()
        Get the cost property: The incurred cost for a single phone number.
        Returns:
        the cost value.
      • getSearchExpiresBy

        public OffsetDateTime getSearchExpiresBy()
        Get the searchExpiresBy property: The date that this search result expires and phone numbers are no longer on hold. A search result expires in less than 15min, e.g. 2020-11-19T16:31:49.048Z.
        Returns:
        the searchExpiresBy value.