Class EmailSendResult

java.lang.Object
com.azure.communication.email.models.EmailSendResult

public final class EmailSendResult extends Object
Status of the long running operation.
  • 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

      public String getId()
      Get the id property: The unique id of the operation. Use a UUID.
      Returns:
      the id value.
    • getStatus

      public EmailSendStatus 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.