Class DeleteInboxMessageResource

java.lang.Object
esendex.sdk.java.service.resource.base.Resource
esendex.sdk.java.service.resource.message.DeleteInboxMessageResource

public class DeleteInboxMessageResource extends Resource
This operation will remove an individual message from an Inbox. As the message is identified by its GUID there is no additional need to specify which Account the message belongs to.
Author:
Mike Whittaker
  • Constructor Details

    • DeleteInboxMessageResource

      public DeleteInboxMessageResource(Authenticator auth, String id)
      Instantiates a new delete inbox message resource.
      Parameters:
      auth - the authenticator
      id - the id
  • Method Details

    • getEndpointChild

      protected String getEndpointChild()
      Gets the child portion of the url required to access the resource. The child part is appended to the base url and must not start with a '/' The base url is of the form 'http://api.esendex.com/{version}/' where version maybe similar to 'v1.0'
      Specified by:
      getEndpointChild in class Resource
      Returns:
      the child portion of the url required to access this resource
    • getRequestMethod

      protected HttpRequestMethod getRequestMethod()
      Gets the HttpRequestMethod that this service stipulates eg GET, POST, PUT, DELETE.
      Specified by:
      getRequestMethod in class Resource
      Returns:
      the required HttpRequestMethod