Class: Mailtrap::Suppression

Inherits:
Struct
  • Object
show all
Defined in:
lib/mailtrap/suppression.rb

Overview

Data Transfer Object for Suppression

Instance Attribute Summary collapse

Instance Attribute Details

#created_at ⇒ String (readonly)

The creation timestamp

Returns:

  • (String) —

    the current value of created_at



22
23
24
# File 'lib/mailtrap/suppression.rb', line 22

def created_at
  @created_at
end

#domain_name ⇒ String? (readonly)

The domain name

Returns:

  • (String, nil) —

    the current value of domain_name



22
23
24
# File 'lib/mailtrap/suppression.rb', line 22

def domain_name
  @domain_name
end

#email ⇒ String (readonly)

The email address

Returns:

  • (String) —

    the current value of email



22
23
24
# File 'lib/mailtrap/suppression.rb', line 22

def email
  @email
end

#id ⇒ String (readonly)

The suppression UUID

Returns:

  • (String) —

    the current value of id



22
23
24
# File 'lib/mailtrap/suppression.rb', line 22

def id
  @id
end

#message_bounce_category ⇒ String? (readonly)

The bounce category

Returns:

  • (String, nil) —

    the current value of message_bounce_category



22
23
24
# File 'lib/mailtrap/suppression.rb', line 22

def message_bounce_category
  @message_bounce_category
end

#message_category ⇒ String? (readonly)

The message category

Returns:

  • (String, nil) —

    the current value of message_category



22
23
24
# File 'lib/mailtrap/suppression.rb', line 22

def message_category
  @message_category
end

#message_client_ip ⇒ String? (readonly)

The client IP

Returns:

  • (String, nil) —

    the current value of message_client_ip



22
23
24
# File 'lib/mailtrap/suppression.rb', line 22

def message_client_ip
  @message_client_ip
end

#message_created_at ⇒ String? (readonly)

The message creation timestamp

Returns:

  • (String, nil) —

    the current value of message_created_at



22
23
24
# File 'lib/mailtrap/suppression.rb', line 22

def message_created_at
  @message_created_at
end

#message_esp_response ⇒ String? (readonly)

The ESP response

Returns:

  • (String, nil) —

    the current value of message_esp_response



22
23
24
# File 'lib/mailtrap/suppression.rb', line 22

def message_esp_response
  @message_esp_response
end

#message_esp_server_type ⇒ String? (readonly)

The ESP server type

Returns:

  • (String, nil) —

    the current value of message_esp_server_type



22
23
24
# File 'lib/mailtrap/suppression.rb', line 22

def message_esp_server_type
  @message_esp_server_type
end

#message_outgoing_ip ⇒ String? (readonly)

The outgoing IP

Returns:

  • (String, nil) —

    the current value of message_outgoing_ip



22
23
24
# File 'lib/mailtrap/suppression.rb', line 22

def message_outgoing_ip
  @message_outgoing_ip
end

#message_recipient_mx_name ⇒ String? (readonly)

The recipient MX name

Returns:

  • (String, nil) —

    the current value of message_recipient_mx_name



22
23
24
# File 'lib/mailtrap/suppression.rb', line 22

def message_recipient_mx_name
  @message_recipient_mx_name
end

#message_sender_email ⇒ String? (readonly)

The sender email

Returns:

  • (String, nil) —

    the current value of message_sender_email



22
23
24
# File 'lib/mailtrap/suppression.rb', line 22

def message_sender_email
  @message_sender_email
end

#message_subject ⇒ String? (readonly)

The message subject

Returns:

  • (String, nil) —

    the current value of message_subject



22
23
24
# File 'lib/mailtrap/suppression.rb', line 22

def message_subject
  @message_subject
end

#sending_stream ⇒ String (readonly)

The sending stream

Returns:

  • (String) —

    the current value of sending_stream



22
23
24
# File 'lib/mailtrap/suppression.rb', line 22

def sending_stream
  @sending_stream
end

#type ⇒ String (readonly)

The suppression type

Returns:

  • (String) —

    the current value of type



22
23
24
# File 'lib/mailtrap/suppression.rb', line 22

def type
  @type
end