Class UpdateMessageStatusResource

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

public class UpdateMessageStatusResource extends Resource
This operation will mark an individual Inbox Message as having been read or unread. The PUT request does not require the Message Header object to be included in the request body.
Author:
Mike Whittaker
  • Constructor Details

    • UpdateMessageStatusResource

      public UpdateMessageStatusResource(Authenticator auth, String id, HttpQuery query)
      Instantiates a new update message status resource.
      Parameters:
      auth - the authenticator
      id - the id
      query - the query
  • 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