Class PhoneNumberSearchResult
java.lang.Object
com.azure.communication.phonenumbers.models.PhoneNumberSearchResult
The PhoneNumberSearchResult model.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the assignmentType property: Phone number's assignment type.Get the capabilities property: Capabilities of a phone number.getCost()
Get the cost property: The incurred cost for a single phone number.Get the phoneNumbers property: The phone numbers that are available.Get the phoneNumberType property: The phone number's type, e.g.Get the searchExpiresBy property: The date that this search result expires and phone numbers are no longer on hold.Get the searchId property: The search id.
-
Constructor Details
-
PhoneNumberSearchResult
public PhoneNumberSearchResult()
-
-
Method Details
-
getSearchId
Get the searchId property: The search id.- Returns:
- the searchId value.
-
getPhoneNumbers
Get the phoneNumbers property: The phone numbers that are available. Can be fewer than the desired search quantity.- Returns:
- the phoneNumbers value.
-
getPhoneNumberType
Get the phoneNumberType property: The phone number's type, e.g. geographic, or tollFree.- Returns:
- the phoneNumberType value.
-
getAssignmentType
Get the assignmentType property: Phone number's assignment type.- Returns:
- the assignmentType value.
-
getCapabilities
Get the capabilities property: Capabilities of a phone number.- Returns:
- the capabilities value.
-
getCost
Get the cost property: The incurred cost for a single phone number.- Returns:
- the cost value.
-
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.
-