Class PhoneNumberOperation
java.lang.Object
com.azure.communication.phonenumbers.models.PhoneNumberOperation
The PhoneNumberOperation model.
-
Constructor Summary
ConstructorDescriptionPhoneNumberOperation
(PhoneNumberOperationStatus status, String resourceLocation, OffsetDateTime createdDateTime, String id, PhoneNumberOperationType operationType, OffsetDateTime lastActionDateTime) The PhoneNumberOperation model. -
Method Summary
Modifier and TypeMethodDescriptionGet the createdDateTime property: The date that the operation was created.getId()
Get the id property: Id of operation.Get the lastActionDateTime property: The most recent date that the operation was changed.Get the operationType property: The type of operation, e.g.Get the resourceLocation property: URL for retrieving the result of the operation, if any.Get the status property: Status of operation.
-
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
Get the status property: Status of operation.- Returns:
- the status value.
-
getResourceLocation
Get the resourceLocation property: URL for retrieving the result of the operation, if any.- Returns:
- the resourceLocation value.
-
getCreatedDateTime
Get the createdDateTime property: The date that the operation was created.- Returns:
- the createdDateTime value.
-
getId
Get the id property: Id of operation.- Returns:
- the id value.
-
getOperationType
Get the operationType property: The type of operation, e.g. Search.- Returns:
- the operationType value.
-
getLastActionDateTime
Get the lastActionDateTime property: The most recent date that the operation was changed.- Returns:
- the lastActionDateTime value.
-