PhoneNumberEntity Class

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

public final class PhoneNumberEntity

The PhoneNumberEntity model.

Constructor Summary

Constructor Description
PhoneNumberEntity()

Method Summary

Modifier and Type Method and Description
OffsetDateTime getCreatedAt()

Get the createdAt property: Date and time the entity is created.

String getDisplayName()

Get the displayName property: Name of the entity.

OffsetDateTime getFocDate()

Get the focDate property: The Firm Order Confirmation date of the phone number entity.

String getId()

Get the id property: The id of the entity.

Integer getQuantity()

Get the quantity property: Quantity of requested phone numbers in the entity.

Integer getQuantityObtained()

Get the quantityObtained property: Quantity of acquired phone numbers in the entity.

String getStatus()

Get the status property: Status of the entity.

PhoneNumberEntity setCreatedAt(OffsetDateTime createdAt)

Set the createdAt property: Date and time the entity is created.

PhoneNumberEntity setDisplayName(String displayName)

Set the displayName property: Name of the entity.

PhoneNumberEntity setFocDate(OffsetDateTime focDate)

Set the focDate property: The Firm Order Confirmation date of the phone number entity.

PhoneNumberEntity setId(String id)

Set the id property: The id of the entity.

PhoneNumberEntity setQuantity(Integer quantity)

Set the quantity property: Quantity of requested phone numbers in the entity.

PhoneNumberEntity setQuantityObtained(Integer quantityObtained)

Set the quantityObtained property: Quantity of acquired phone numbers in the entity.

PhoneNumberEntity setStatus(String status)

Set the status property: Status of the entity.

Methods inherited from java.lang.Object

Constructor Details

PhoneNumberEntity

public PhoneNumberEntity()

Method Details

getCreatedAt

public OffsetDateTime getCreatedAt()

Get the createdAt property: Date and time the entity is created.

Returns:

the createdAt value.

getDisplayName

public String getDisplayName()

Get the displayName property: Name of the entity.

Returns:

the displayName value.

getFocDate

public OffsetDateTime getFocDate()

Get the focDate property: The Firm Order Confirmation date of the phone number entity.

Returns:

the focDate value.

getId

public String getId()

Get the id property: The id of the entity. It is the search id of a search. It is the release id of a release.

Returns:

the id value.

getQuantity

public Integer getQuantity()

Get the quantity property: Quantity of requested phone numbers in the entity.

Returns:

the quantity value.

getQuantityObtained

public Integer getQuantityObtained()

Get the quantityObtained property: Quantity of acquired phone numbers in the entity.

Returns:

the quantityObtained value.

getStatus

public String getStatus()

Get the status property: Status of the entity.

Returns:

the status value.

setCreatedAt

public PhoneNumberEntity setCreatedAt(OffsetDateTime createdAt)

Set the createdAt property: Date and time the entity is created.

Parameters:

createdAt - the createdAt value to set.

Returns:

the PhoneNumberEntity object itself.

setDisplayName

public PhoneNumberEntity setDisplayName(String displayName)

Set the displayName property: Name of the entity.

Parameters:

displayName - the displayName value to set.

Returns:

the PhoneNumberEntity object itself.

setFocDate

public PhoneNumberEntity setFocDate(OffsetDateTime focDate)

Set the focDate property: The Firm Order Confirmation date of the phone number entity.

Parameters:

focDate - the focDate value to set.

Returns:

the PhoneNumberEntity object itself.

setId

public PhoneNumberEntity setId(String id)

Set the id property: The id of the entity. It is the search id of a search. It is the release id of a release.

Parameters:

id - the id value to set.

Returns:

the PhoneNumberEntity object itself.

setQuantity

public PhoneNumberEntity setQuantity(Integer quantity)

Set the quantity property: Quantity of requested phone numbers in the entity.

Parameters:

quantity - the quantity value to set.

Returns:

the PhoneNumberEntity object itself.

setQuantityObtained

public PhoneNumberEntity setQuantityObtained(Integer quantityObtained)

Set the quantityObtained property: Quantity of acquired phone numbers in the entity.

Parameters:

quantityObtained - the quantityObtained value to set.

Returns:

the PhoneNumberEntity object itself.

setStatus

public PhoneNumberEntity setStatus(String status)

Set the status property: Status of the entity.

Parameters:

status - the status value to set.

Returns:

the PhoneNumberEntity object itself.

Applies to