Class Activities


  • public class Activities
    extends Object

    Activities class.

    Version:
    $Id: $Id
    Author:
    john
    • Constructor Detail

      • Activities

        public Activities​(MailerSend apiReference)
        Do not initialize directly. This should only be accessed from MailerSend.activities
        Parameters:
        apiReference - a MailerSend object.
    • Method Detail

      • getActivities

        public ActivitiesList getActivities​(String domainId,
                                            int page,
                                            int limit,
                                            Date dateFrom,
                                            Date dateTo,
                                            String[] events)
                                     throws MailerSendException
        Gets the activities for the given domain id. Allows for pagination and filtering
        Parameters:
        domainId - The id of the domain to get the activities for
        page - The results page
        limit - How many results to return per page (default 25)
        dateFrom - The from date to filter the results
        dateTo - The to date to filter the results
        events - A list of events to filter the results
        Returns:
        the found list of activities
        Throws:
        MailerSendException