Class PhoneNumberOperation

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

public final class PhoneNumberOperation extends Object
The PhoneNumberOperation model.
  • 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

    • getStatus

      public PhoneNumberOperationStatus getStatus()
      Get the status property: Status of operation.
      Returns:
      the status value.
    • getResourceLocation

      public String getResourceLocation()
      Get the resourceLocation property: URL for retrieving the result of the operation, if any.
      Returns:
      the resourceLocation value.
    • 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.
    • getOperationType

      public PhoneNumberOperationType getOperationType()
      Get the operationType property: The type of operation, e.g. Search.
      Returns:
      the operationType value.
    • getLastActionDateTime

      public OffsetDateTime getLastActionDateTime()
      Get the lastActionDateTime property: The most recent date that the operation was changed.
      Returns:
      the lastActionDateTime value.