PhoneNumberOperation Class
- java.
lang. Object - com.
azure. communication. phonenumbers. models. PhoneNumberOperation
- com.
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 Phone |
Method Summary
Modifier and Type | Method and Description |
---|---|
Offset |
getCreatedDateTime()
Get the created |
String |
getId()
Get the id property: Id of operation. |
Offset |
getLastActionDateTime()
Get the last |
Phone |
getOperationType()
Get the operation |
String |
getResourceLocation()
Get the resource |
Phone |
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:
Method Details
getCreatedDateTime
public OffsetDateTime getCreatedDateTime()
Get the createdDateTime property: The date that the operation was created.
Returns:
getId
public String getId()
Get the id property: Id of operation.
Returns:
getLastActionDateTime
public OffsetDateTime getLastActionDateTime()
Get the lastActionDateTime property: The most recent date that the operation was changed.
Returns:
getOperationType
public PhoneNumberOperationType getOperationType()
Get the operationType property: The type of operation, e.g. Search.
Returns:
getResourceLocation
public String getResourceLocation()
Get the resourceLocation property: URL for retrieving the result of the operation, if any.
Returns:
getStatus
public PhoneNumberOperationStatus getStatus()
Get the status property: Status of operation.
Returns:
Applies to
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for