Class EmailSendResult
java.lang.Object
com.azure.communication.email.models.EmailSendResult
Status of the long running operation.
-
Constructor Summary
ConstructorsConstructorDescriptionEmailSendResult(String id, EmailSendStatus status, com.azure.core.models.ResponseError error) Creates an instance of EmailSendResult class. -
Method Summary
-
Constructor Details
-
EmailSendResult
public EmailSendResult(String id, EmailSendStatus status, com.azure.core.models.ResponseError error) Creates an instance of EmailSendResult class.- Parameters:
id- the id value to set.status- the status value to set.error- the error value to set.
-
-
Method Details
-
getId
Get the id property: The unique id of the operation. Use a UUID.- Returns:
- the id value.
-
getStatus
Get the status property: Status of operation.- Returns:
- the status value.
-
getError
public com.azure.core.models.ResponseError getError()Get the error property: Response error when status is a non-success terminal state.- Returns:
- the error value.
-