Class TestingApi

java.lang.Object
io.quarkiverse.mailpit.test.rest.TestingApi

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", comments="Generator version: 7.5.0") public class TestingApi extends Object
  • Constructor Details

    • TestingApi

      public TestingApi()
    • TestingApi

      public TestingApi(ApiClient apiClient)
  • Method Details

    • getApiException

      protected ApiException getApiException(String operationId, HttpResponse<InputStream> response) throws IOException
      Throws:
      IOException
    • getMessageHTML

      public void getMessageHTML(String ID) throws ApiException
      Render message HTML part Renders just the message's HTML part which can be used for UI integration testing. Attached inline images are modified to link to the API provided they exist. Note that is the message does not contain a HTML part then an 404 error is returned. The ID can be set to `latest` to return the latest message.
      Parameters:
      ID - Database ID or latest (required)
      Throws:
      ApiException - if fails to make API call
    • getMessageHTMLWithHttpInfo

      public ApiResponse<Void> getMessageHTMLWithHttpInfo(String ID) throws ApiException
      Render message HTML part Renders just the message's HTML part which can be used for UI integration testing. Attached inline images are modified to link to the API provided they exist. Note that is the message does not contain a HTML part then an 404 error is returned. The ID can be set to `latest` to return the latest message.
      Parameters:
      ID - Database ID or latest (required)
      Returns:
      ApiResponse<Void>
      Throws:
      ApiException - if fails to make API call
    • getMessageText

      public void getMessageText(String ID) throws ApiException
      Render message text part Renders just the message's text part which can be used for UI integration testing. The ID can be set to `latest` to return the latest message.
      Parameters:
      ID - Database ID or latest (required)
      Throws:
      ApiException - if fails to make API call
    • getMessageTextWithHttpInfo

      public ApiResponse<Void> getMessageTextWithHttpInfo(String ID) throws ApiException
      Render message text part Renders just the message's text part which can be used for UI integration testing. The ID can be set to `latest` to return the latest message.
      Parameters:
      ID - Database ID or latest (required)
      Returns:
      ApiResponse<Void>
      Throws:
      ApiException - if fails to make API call