Table of Contents

Namespace Mailtrap.EmailLogs.Models

Classes

EmailLogCiOptionalStringFilter

Filter by string with case-insensitive operators and optional value (e.g. subject). Operators: ci_contain, ci_not_contain, ci_equal, ci_not_equal, empty, not_empty. Value optional for empty/not_empty. For ci_equal and ci_not_equal, either Value or Values may be set (array emits repeated value params).

EmailLogCiStringFilter

Filter by string with case-insensitive operators (to, from, email_service_provider_response, recipient_mx). Operators: ci_contain, ci_not_contain, ci_equal, ci_not_equal. For ci_equal and ci_not_equal, either Value or Values may be set (array emits repeated value params).

EmailLogEventType

Event type values for the events filter (API: delivery, open, click, bounce, spam, unsubscribe, soft_bounce, reject, suspension).

EmailLogEventsFilter

Filter by events. Operators: include_event, not_include_event. Value(s): delivery, open, click, bounce, spam, unsubscribe, soft_bounce, reject, suspension.

EmailLogExactStringFilter

Filter by exact string (email_service_provider, category). Operators: equal, not_equal. Either Value or Values may be set (array emits repeated value params).

EmailLogFilterOperatorCi

Case-insensitive filter operators for to, from, and similar text fields (API: ci_contain, ci_not_contain, ci_equal, ci_not_equal).

EmailLogFilterOperatorCiStringOptional

Filter operators for CI string with optional value (e.g. subject). API: ci_contain, ci_not_contain, ci_equal, ci_not_equal, empty, not_empty.

EmailLogFilterOperatorEqualNotEqual

Filter operators for status, exact, sending_domain_id, sending_stream (API: equal, not_equal).

EmailLogFilterOperatorEvents

Filter operators for events (API: include_event, not_include_event).

EmailLogFilterOperatorIp

Filter operators for client_ip, sending_ip (API: equal, not_equal, contain, not_contain).

EmailLogFilterOperatorNumber

Filter operators for numeric fields clicks_count, opens_count (API: equal, greater_than, less_than).

EmailLogMessage

Represents an email log message (list item or single message with events).

EmailLogMessageEvent

Base type for an email log message event. Use EventType or pattern matching on the derived type to determine which details apply. The polymorphic discriminator in JSON is "event_type"; this type does not declare a matching property so the converter can use it exclusively.

EmailLogMessageEventBounce

Email log message event for event_type = bounce.

EmailLogMessageEventClick

Email log message event for event_type = click.

EmailLogMessageEventDelivery

Email log message event for event_type = delivery.

EmailLogMessageEventOpen

Email log message event for event_type = open.

EmailLogMessageEventReject

Email log message event for event_type = reject.

EmailLogMessageEventSoftBounce

Email log message event for event_type = soft_bounce.

EmailLogMessageEventSpam

Email log message event for event_type = spam.

EmailLogMessageEventSuspension

Email log message event for event_type = suspension.

EmailLogMessageEventUnsubscribe

Email log message event for event_type = unsubscribe.

EmailLogNumberFilter

Filter by numeric value (e.g. clicks_count, opens_count). Operators: equal, greater_than, less_than.

EmailLogSendingDomainIdFilter

Filter by sending domain ID. Operators: equal, not_equal. Either Value or Values may be set (array emits repeated value params).

EmailLogSendingStreamFilter

Filter by sending stream. Operators: equal, not_equal. Value(s): transactional, bulk. Either Value or Values may be set (array emits repeated value params).

EmailLogStatus

Represents the status of an email log message.

EmailLogStatusFilter

Filter by message status. Operators: equal, not_equal. Value(s): delivered, not_delivered, enqueued, opted_out.

EmailLogStringFilter

Filter by string (e.g. client_ip or sending_ip). Operators: equal, not_equal, contain, not_contain. For equal and not_equal, either Value or Values may be set (array emits repeated value params).

EmailLogsFilterClause

Filter clause with operator and single value or multiple values. For operators equal, not_equal, ci_equal, ci_not_equal, include_event, not_include_event the value may be single or an array.

EmailLogsListFilter

Filter for listing email logs. Uses typed filter fields per spec (concrete operators per field).

EmailLogsListResponse

Response for listing email logs.

EventDetailsBounce

Event details for event_type = soft_bounce or bounce.

EventDetailsClick

Event details for event_type = click.

EventDetailsDelivery

Event details for event_type = delivery.

EventDetailsOpen

Event details for event_type = open.

EventDetailsReject

Event details for event_type = suspension or reject.

EventDetailsSpam

Event details for event_type = spam.

EventDetailsUnsubscribe

Event details for event_type = unsubscribe.

SendingStream

Represents the sending stream for an email log message.