CreateReservationOptions Class

  • java.lang.Object
    • com.azure.communication.administration.models.CreateReservationOptions

public final class CreateReservationOptions

The CreateReservationOptions model.

Constructor Summary

Constructor Description
CreateReservationOptions()

Method Summary

Modifier and Type Method and Description
String getAreaCode()

Get the areaCode property: The area code from which to create the search.

String getDescription()

Get the description property: Description of the search.

String getDisplayName()

Get the displayName property: Display name of the search.

List<LocationOptionsDetails> getLocationOptions()

Get the locationOptions property: The location options of the search.

List<String> getPhonePlanIds()

Get the phonePlanIds property: The plan subtype ids from which to create the search.

Integer getQuantity()

Get the quantity property: The quantity of phone numbers to request.

CreateReservationOptions setAreaCode(String areaCode)

Set the areaCode property: The area code from which to create the search.

CreateReservationOptions setDescription(String description)

Set the description property: Description of the search.

CreateReservationOptions setDisplayName(String displayName)

Set the displayName property: Display name of the search.

CreateReservationOptions setLocationOptions(List<LocationOptionsDetails> locationOptions)

Set the locationOptions property: The location options of the search.

CreateReservationOptions setPhonePlanIds(List<String> phonePlanIds)

Set the phonePlanIds property: The plan subtype ids from which to create the search.

CreateReservationOptions setQuantity(Integer quantity)

Set the quantity property: The quantity of phone numbers to request.

Methods inherited from java.lang.Object

Constructor Details

CreateReservationOptions

public CreateReservationOptions()

Method Details

getAreaCode

public String getAreaCode()

Get the areaCode property: The area code from which to create the search.

Returns:

the areaCode value.

getDescription

public String getDescription()

Get the description property: Description of the search.

Returns:

the description value.

getDisplayName

public String getDisplayName()

Get the displayName property: Display name of the search.

Returns:

the displayName value.

getLocationOptions

public List<LocationOptionsDetails> getLocationOptions()

Get the locationOptions property: The location options of the search.

Returns:

the locationOptions value.

getPhonePlanIds

public List<String> getPhonePlanIds()

Get the phonePlanIds property: The plan subtype ids from which to create the search.

Returns:

the phonePlanIds value.

getQuantity

public Integer getQuantity()

Get the quantity property: The quantity of phone numbers to request.

Returns:

the quantity value.

setAreaCode

public CreateReservationOptions setAreaCode(String areaCode)

Set the areaCode property: The area code from which to create the search.

Parameters:

areaCode - the areaCode value to set.

Returns:

the CreateReservationOptions object itself.

setDescription

public CreateReservationOptions setDescription(String description)

Set the description property: Description of the search.

Parameters:

description - the description value to set.

Returns:

the CreateReservationOptions object itself.

setDisplayName

public CreateReservationOptions setDisplayName(String displayName)

Set the displayName property: Display name of the search.

Parameters:

displayName - the displayName value to set.

Returns:

the CreateReservationOptions object itself.

setLocationOptions

public CreateReservationOptions setLocationOptions(List<LocationOptionsDetails> locationOptions)

Set the locationOptions property: The location options of the search.

Parameters:

locationOptions - the locationOptions value to set.

Returns:

the CreateReservationOptions object itself.

setPhonePlanIds

public CreateReservationOptions setPhonePlanIds(List<String> phonePlanIds)

Set the phonePlanIds property: The plan subtype ids from which to create the search.

Parameters:

phonePlanIds - the phonePlanIds value to set.

Returns:

the CreateReservationOptions object itself.

setQuantity

public CreateReservationOptions setQuantity(Integer quantity)

Set the quantity property: The quantity of phone numbers to request.

Parameters:

quantity - the quantity value to set.

Returns:

the CreateReservationOptions object itself.

Applies to