PhoneNumberReservation Class
- java.
lang. Object - com.
azure. communication. administration. models. PhoneNumberReservation
- com.
public final class PhoneNumberReservation
The PhoneNumberReservation model.
Constructor Summary
| Constructor | Description | |
|---|---|---|
| PhoneNumberReservation() | ||
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| String |
getAreaCode()
Get the area |
|
Offset |
getCreatedAt()
Get the created |
| String |
getDescription()
Get the description property: The description of the search. |
| String |
getDisplayName()
Get the display |
| Integer |
getErrorCode()
Get the error |
|
List<Location |
getLocationOptions()
Get the location |
| List<String> |
getPhoneNumbers()
Get the phone |
| List<String> |
getPhonePlanIds()
Get the phone |
| Integer |
getQuantity()
Get the quantity property: The quantity of phone numbers in the search. |
|
Offset |
getReservationExpiryDate()
Get the reservation |
| String |
getReservationId()
Get the reservation |
|
Search |
getStatus()
Get the status property: The status of the search. |
|
Phone |
setAreaCode(String areaCode)
Set the area |
|
Phone |
setCreatedAt(OffsetDateTime createdAt)
Set the created |
|
Phone |
setDescription(String description)
Set the description property: The description of the search. |
|
Phone |
setDisplayName(String displayName)
Set the display |
|
Phone |
setErrorCode(Integer errorCode)
Set the error |
|
Phone |
setLocationOptions(List<LocationOptionsDetails> locationOptions)
Set the location |
|
Phone |
setPhoneNumbers(List<String> phoneNumbers)
Set the phone |
|
Phone |
setPhonePlanIds(List<String> phonePlanIds)
Set the phone |
|
Phone |
setQuantity(Integer quantity)
Set the quantity property: The quantity of phone numbers in the search. |
|
Phone |
setReservationExpiryDate(OffsetDateTime reservationExpiryDate)
Set the reservation |
|
Phone |
setReservationId(String reservationId)
Set the reservation |
|
Phone |
setStatus(SearchStatus status)
Set the status property: The status of the search. |
Methods inherited from java.lang.Object
Constructor Details
PhoneNumberReservation
public PhoneNumberReservation()
Method Details
getAreaCode
public String getAreaCode()
Get the areaCode property: The area code of the search.
Returns:
getCreatedAt
public OffsetDateTime getCreatedAt()
Get the createdAt property: The creation time of the search.
Returns:
getDescription
public String getDescription()
Get the description property: The description of the search.
Returns:
getDisplayName
public String getDisplayName()
Get the displayName property: The name of the search.
Returns:
getErrorCode
public Integer getErrorCode()
Get the errorCode property: The error code of the search.
Returns:
getLocationOptions
public List<LocationOptionsDetails> getLocationOptions()
Get the locationOptions property: The location options of the search.
Returns:
getPhoneNumbers
public List<String> getPhoneNumbers()
Get the phoneNumbers property: The list of phone numbers in the search, in the case the status is reserved or success.
Returns:
getPhonePlanIds
public List<String> getPhonePlanIds()
Get the phonePlanIds property: The phone plan ids of the search.
Returns:
getQuantity
public Integer getQuantity()
Get the quantity property: The quantity of phone numbers in the search.
Returns:
getReservationExpiryDate
public OffsetDateTime getReservationExpiryDate()
Get the reservationExpiryDate property: The date that search expires and the numbers become available.
Returns:
getReservationId
public String getReservationId()
Get the reservationId property: The id of the search.
Returns:
getStatus
public SearchStatus getStatus()
Get the status property: The status of the search.
Returns:
setAreaCode
public PhoneNumberReservation setAreaCode(String areaCode)
Set the areaCode property: The area code of the search.
Parameters:
Returns:
setCreatedAt
public PhoneNumberReservation setCreatedAt(OffsetDateTime createdAt)
Set the createdAt property: The creation time of the search.
Parameters:
Returns:
setDescription
public PhoneNumberReservation setDescription(String description)
Set the description property: The description of the search.
Parameters:
Returns:
setDisplayName
public PhoneNumberReservation setDisplayName(String displayName)
Set the displayName property: The name of the search.
Parameters:
Returns:
setErrorCode
public PhoneNumberReservation setErrorCode(Integer errorCode)
Set the errorCode property: The error code of the search.
Parameters:
Returns:
setLocationOptions
public PhoneNumberReservation setLocationOptions(List<LocationOptionsDetails> locationOptions)
Set the locationOptions property: The location options of the search.
Parameters:
Returns:
setPhoneNumbers
public PhoneNumberReservation setPhoneNumbers(List<String> phoneNumbers)
Set the phoneNumbers property: The list of phone numbers in the search, in the case the status is reserved or success.
Parameters:
Returns:
setPhonePlanIds
public PhoneNumberReservation setPhonePlanIds(List<String> phonePlanIds)
Set the phonePlanIds property: The phone plan ids of the search.
Parameters:
Returns:
setQuantity
public PhoneNumberReservation setQuantity(Integer quantity)
Set the quantity property: The quantity of phone numbers in the search.
Parameters:
Returns:
setReservationExpiryDate
public PhoneNumberReservation setReservationExpiryDate(OffsetDateTime reservationExpiryDate)
Set the reservationExpiryDate property: The date that search expires and the numbers become available.
Parameters:
Returns:
setReservationId
public PhoneNumberReservation setReservationId(String reservationId)
Set the reservationId property: The id of the search.
Parameters:
Returns:
setStatus
public PhoneNumberReservation setStatus(SearchStatus status)
Set the status property: The status of the search.
Parameters:
Returns: