PhoneNumberOperation Class

  • java.lang.Object
    • com.azure.communication.phonenumbers.models.PhoneNumberOperation

public final class PhoneNumberOperation

The PhoneNumberOperation model.

Constructor Summary

Constructor Description
PhoneNumberOperation(PhoneNumberOperationStatus status, String resourceLocation, OffsetDateTime createdDateTime, String id, PhoneNumberOperationType operationType, OffsetDateTime lastActionDateTime)

The PhoneNumberOperation model.

Method Summary

Modifier and Type Method and Description
OffsetDateTime getCreatedDateTime()

Get the createdDateTime property: The date that the operation was created.

String getId()

Get the id property: Id of operation.

OffsetDateTime getLastActionDateTime()

Get the lastActionDateTime property: The most recent date that the operation was changed.

PhoneNumberOperationType getOperationType()

Get the operationType property: The type of operation, e.g.

String getResourceLocation()

Get the resourceLocation property: URL for retrieving the result of the operation, if any.

PhoneNumberOperationStatus getStatus()

Get the status property: Status of operation.

Methods inherited from java.lang.Object

Constructor Details

PhoneNumberOperation

public PhoneNumberOperation(PhoneNumberOperationStatus status, String resourceLocation, OffsetDateTime createdDateTime, String id, PhoneNumberOperationType operationType, OffsetDateTime lastActionDateTime)

The PhoneNumberOperation model.

Parameters:

status - The status property: Status of operation.
resourceLocation - The resourceLocation property: URL for retrieving the result of the operation, if any.
createdDateTime - The createdDateTime property: The date that the operation was created.
id - The id property: Id of operation.
operationType - The operationType property: The type of operation, e.g. Search.
lastActionDateTime - The lastActionDateTime property: The most recent date that the operation was changed.

Method Details

getCreatedDateTime

public OffsetDateTime getCreatedDateTime()

Get the createdDateTime property: The date that the operation was created.

Returns:

the createdDateTime value.

getId

public String getId()

Get the id property: Id of operation.

Returns:

the id value.

getLastActionDateTime

public OffsetDateTime getLastActionDateTime()

Get the lastActionDateTime property: The most recent date that the operation was changed.

Returns:

the lastActionDateTime value.

getOperationType

public PhoneNumberOperationType getOperationType()

Get the operationType property: The type of operation, e.g. Search.

Returns:

the operationType value.

getResourceLocation

public String getResourceLocation()

Get the resourceLocation property: URL for retrieving the result of the operation, if any.

Returns:

the resourceLocation value.

getStatus

public PhoneNumberOperationStatus getStatus()

Get the status property: Status of operation.

Returns:

the status value.

Applies to