mailslurp_client 15.19.6 → 15.19.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/mailslurp_client/models/alias_projection.rb +39 -39
- data/lib/mailslurp_client/models/attachment_projection.rb +29 -29
- data/lib/mailslurp_client/models/bounce_projection.rb +15 -15
- data/lib/mailslurp_client/models/bounce_recipient_projection.rb +15 -15
- data/lib/mailslurp_client/models/connector_projection.rb +30 -30
- data/lib/mailslurp_client/models/connector_sync_event_projection.rb +15 -15
- data/lib/mailslurp_client/models/contact_projection.rb +10 -10
- data/lib/mailslurp_client/models/email_projection.rb +23 -23
- data/lib/mailslurp_client/models/expired_inbox_record_projection.rb +19 -19
- data/lib/mailslurp_client/models/imap_email_projection.rb +15 -15
- data/lib/mailslurp_client/models/inbox_forwarder_event_projection.rb +17 -17
- data/lib/mailslurp_client/models/inbox_replier_event_projection.rb +20 -20
- data/lib/mailslurp_client/models/list_unsubscribe_recipient_projection.rb +15 -15
- data/lib/mailslurp_client/models/missed_email_projection.rb +10 -10
- data/lib/mailslurp_client/models/phone_number_projection.rb +15 -15
- data/lib/mailslurp_client/models/sent_email_projection.rb +35 -35
- data/lib/mailslurp_client/models/sms_projection.rb +29 -29
- data/lib/mailslurp_client/models/template_projection.rb +17 -17
- data/lib/mailslurp_client/models/thread_projection.rb +41 -41
- data/lib/mailslurp_client/models/tracking_pixel_projection.rb +27 -27
- data/lib/mailslurp_client/models/unknown_missed_email_projection.rb +10 -10
- data/lib/mailslurp_client/models/webhook_projection.rb +25 -25
- data/lib/mailslurp_client/version.rb +1 -1
- metadata +1 -1
| @@ -15,15 +15,13 @@ require 'date' | |
| 15 15 | 
             
            module MailSlurpClient
         | 
| 16 16 | 
             
              # Connector
         | 
| 17 17 | 
             
              class ConnectorProjection
         | 
| 18 | 
            -
                attr_accessor :created_at
         | 
| 19 | 
            -
             | 
| 20 18 | 
             
                attr_accessor :enabled
         | 
| 21 19 |  | 
| 22 | 
            -
                attr_accessor : | 
| 20 | 
            +
                attr_accessor :email_address
         | 
| 23 21 |  | 
| 24 22 | 
             
                attr_accessor :user_id
         | 
| 25 23 |  | 
| 26 | 
            -
                attr_accessor : | 
| 24 | 
            +
                attr_accessor :inbox_id
         | 
| 27 25 |  | 
| 28 26 | 
             
                attr_accessor :sync_enabled
         | 
| 29 27 |  | 
| @@ -31,6 +29,8 @@ module MailSlurpClient | |
| 31 29 |  | 
| 32 30 | 
             
                attr_accessor :sync_interval
         | 
| 33 31 |  | 
| 32 | 
            +
                attr_accessor :created_at
         | 
| 33 | 
            +
             | 
| 34 34 | 
             
                attr_accessor :name
         | 
| 35 35 |  | 
| 36 36 | 
             
                attr_accessor :id
         | 
| @@ -60,14 +60,14 @@ module MailSlurpClient | |
| 60 60 | 
             
                # Attribute mapping from ruby-style variable name to JSON key.
         | 
| 61 61 | 
             
                def self.attribute_map
         | 
| 62 62 | 
             
                  {
         | 
| 63 | 
            -
                    :'created_at' => :'createdAt',
         | 
| 64 63 | 
             
                    :'enabled' => :'enabled',
         | 
| 65 | 
            -
                    :'inbox_id' => :'inboxId',
         | 
| 66 | 
            -
                    :'user_id' => :'userId',
         | 
| 67 64 | 
             
                    :'email_address' => :'emailAddress',
         | 
| 65 | 
            +
                    :'user_id' => :'userId',
         | 
| 66 | 
            +
                    :'inbox_id' => :'inboxId',
         | 
| 68 67 | 
             
                    :'sync_enabled' => :'syncEnabled',
         | 
| 69 68 | 
             
                    :'sync_schedule_type' => :'syncScheduleType',
         | 
| 70 69 | 
             
                    :'sync_interval' => :'syncInterval',
         | 
| 70 | 
            +
                    :'created_at' => :'createdAt',
         | 
| 71 71 | 
             
                    :'name' => :'name',
         | 
| 72 72 | 
             
                    :'id' => :'id'
         | 
| 73 73 | 
             
                  }
         | 
| @@ -76,14 +76,14 @@ module MailSlurpClient | |
| 76 76 | 
             
                # Attribute type mapping.
         | 
| 77 77 | 
             
                def self.openapi_types
         | 
| 78 78 | 
             
                  {
         | 
| 79 | 
            -
                    :'created_at' => :'DateTime',
         | 
| 80 79 | 
             
                    :'enabled' => :'Boolean',
         | 
| 81 | 
            -
                    :'inbox_id' => :'String',
         | 
| 82 | 
            -
                    :'user_id' => :'String',
         | 
| 83 80 | 
             
                    :'email_address' => :'String',
         | 
| 81 | 
            +
                    :'user_id' => :'String',
         | 
| 82 | 
            +
                    :'inbox_id' => :'String',
         | 
| 84 83 | 
             
                    :'sync_enabled' => :'Boolean',
         | 
| 85 84 | 
             
                    :'sync_schedule_type' => :'String',
         | 
| 86 85 | 
             
                    :'sync_interval' => :'Integer',
         | 
| 86 | 
            +
                    :'created_at' => :'DateTime',
         | 
| 87 87 | 
             
                    :'name' => :'String',
         | 
| 88 88 | 
             
                    :'id' => :'String'
         | 
| 89 89 | 
             
                  }
         | 
| @@ -110,24 +110,20 @@ module MailSlurpClient | |
| 110 110 | 
             
                    h[k.to_sym] = v
         | 
| 111 111 | 
             
                  }
         | 
| 112 112 |  | 
| 113 | 
            -
                  if attributes.key?(:'created_at')
         | 
| 114 | 
            -
                    self.created_at = attributes[:'created_at']
         | 
| 115 | 
            -
                  end
         | 
| 116 | 
            -
             | 
| 117 113 | 
             
                  if attributes.key?(:'enabled')
         | 
| 118 114 | 
             
                    self.enabled = attributes[:'enabled']
         | 
| 119 115 | 
             
                  end
         | 
| 120 116 |  | 
| 121 | 
            -
                  if attributes.key?(:' | 
| 122 | 
            -
                    self. | 
| 117 | 
            +
                  if attributes.key?(:'email_address')
         | 
| 118 | 
            +
                    self.email_address = attributes[:'email_address']
         | 
| 123 119 | 
             
                  end
         | 
| 124 120 |  | 
| 125 121 | 
             
                  if attributes.key?(:'user_id')
         | 
| 126 122 | 
             
                    self.user_id = attributes[:'user_id']
         | 
| 127 123 | 
             
                  end
         | 
| 128 124 |  | 
| 129 | 
            -
                  if attributes.key?(:' | 
| 130 | 
            -
                    self. | 
| 125 | 
            +
                  if attributes.key?(:'inbox_id')
         | 
| 126 | 
            +
                    self.inbox_id = attributes[:'inbox_id']
         | 
| 131 127 | 
             
                  end
         | 
| 132 128 |  | 
| 133 129 | 
             
                  if attributes.key?(:'sync_enabled')
         | 
| @@ -142,6 +138,10 @@ module MailSlurpClient | |
| 142 138 | 
             
                    self.sync_interval = attributes[:'sync_interval']
         | 
| 143 139 | 
             
                  end
         | 
| 144 140 |  | 
| 141 | 
            +
                  if attributes.key?(:'created_at')
         | 
| 142 | 
            +
                    self.created_at = attributes[:'created_at']
         | 
| 143 | 
            +
                  end
         | 
| 144 | 
            +
             | 
| 145 145 | 
             
                  if attributes.key?(:'name')
         | 
| 146 146 | 
             
                    self.name = attributes[:'name']
         | 
| 147 147 | 
             
                  end
         | 
| @@ -155,34 +155,34 @@ module MailSlurpClient | |
| 155 155 | 
             
                # @return Array for valid properties with the reasons
         | 
| 156 156 | 
             
                def list_invalid_properties
         | 
| 157 157 | 
             
                  invalid_properties = Array.new
         | 
| 158 | 
            -
                  if @ | 
| 159 | 
            -
                    invalid_properties.push('invalid value for " | 
| 158 | 
            +
                  if @user_id.nil?
         | 
| 159 | 
            +
                    invalid_properties.push('invalid value for "user_id", user_id cannot be nil.')
         | 
| 160 160 | 
             
                  end
         | 
| 161 161 |  | 
| 162 162 | 
             
                  if @inbox_id.nil?
         | 
| 163 163 | 
             
                    invalid_properties.push('invalid value for "inbox_id", inbox_id cannot be nil.')
         | 
| 164 164 | 
             
                  end
         | 
| 165 165 |  | 
| 166 | 
            -
                  if @user_id.nil?
         | 
| 167 | 
            -
                    invalid_properties.push('invalid value for "user_id", user_id cannot be nil.')
         | 
| 168 | 
            -
                  end
         | 
| 169 | 
            -
             | 
| 170 166 | 
             
                  if @sync_schedule_type.nil?
         | 
| 171 167 | 
             
                    invalid_properties.push('invalid value for "sync_schedule_type", sync_schedule_type cannot be nil.')
         | 
| 172 168 | 
             
                  end
         | 
| 173 169 |  | 
| 170 | 
            +
                  if @created_at.nil?
         | 
| 171 | 
            +
                    invalid_properties.push('invalid value for "created_at", created_at cannot be nil.')
         | 
| 172 | 
            +
                  end
         | 
| 173 | 
            +
             | 
| 174 174 | 
             
                  invalid_properties
         | 
| 175 175 | 
             
                end
         | 
| 176 176 |  | 
| 177 177 | 
             
                # Check to see if the all the properties in the model are valid
         | 
| 178 178 | 
             
                # @return true if the model is valid
         | 
| 179 179 | 
             
                def valid?
         | 
| 180 | 
            -
                  return false if @created_at.nil?
         | 
| 181 | 
            -
                  return false if @inbox_id.nil?
         | 
| 182 180 | 
             
                  return false if @user_id.nil?
         | 
| 181 | 
            +
                  return false if @inbox_id.nil?
         | 
| 183 182 | 
             
                  return false if @sync_schedule_type.nil?
         | 
| 184 183 | 
             
                  sync_schedule_type_validator = EnumAttributeValidator.new('String', ["INTERVAL"])
         | 
| 185 184 | 
             
                  return false unless sync_schedule_type_validator.valid?(@sync_schedule_type)
         | 
| 185 | 
            +
                  return false if @created_at.nil?
         | 
| 186 186 | 
             
                  true
         | 
| 187 187 | 
             
                end
         | 
| 188 188 |  | 
| @@ -201,14 +201,14 @@ module MailSlurpClient | |
| 201 201 | 
             
                def ==(o)
         | 
| 202 202 | 
             
                  return true if self.equal?(o)
         | 
| 203 203 | 
             
                  self.class == o.class &&
         | 
| 204 | 
            -
                      created_at == o.created_at &&
         | 
| 205 204 | 
             
                      enabled == o.enabled &&
         | 
| 206 | 
            -
                      inbox_id == o.inbox_id &&
         | 
| 207 | 
            -
                      user_id == o.user_id &&
         | 
| 208 205 | 
             
                      email_address == o.email_address &&
         | 
| 206 | 
            +
                      user_id == o.user_id &&
         | 
| 207 | 
            +
                      inbox_id == o.inbox_id &&
         | 
| 209 208 | 
             
                      sync_enabled == o.sync_enabled &&
         | 
| 210 209 | 
             
                      sync_schedule_type == o.sync_schedule_type &&
         | 
| 211 210 | 
             
                      sync_interval == o.sync_interval &&
         | 
| 211 | 
            +
                      created_at == o.created_at &&
         | 
| 212 212 | 
             
                      name == o.name &&
         | 
| 213 213 | 
             
                      id == o.id
         | 
| 214 214 | 
             
                end
         | 
| @@ -222,7 +222,7 @@ module MailSlurpClient | |
| 222 222 | 
             
                # Calculates hash code according to all attributes.
         | 
| 223 223 | 
             
                # @return [Integer] Hash code
         | 
| 224 224 | 
             
                def hash
         | 
| 225 | 
            -
                  [ | 
| 225 | 
            +
                  [enabled, email_address, user_id, inbox_id, sync_enabled, sync_schedule_type, sync_interval, created_at, name, id].hash
         | 
| 226 226 | 
             
                end
         | 
| 227 227 |  | 
| 228 228 | 
             
                # Builds the object from hash
         | 
| @@ -15,14 +15,14 @@ require 'date' | |
| 15 15 | 
             
            module MailSlurpClient
         | 
| 16 16 | 
             
              # ConnectorSyncEventProjection
         | 
| 17 17 | 
             
              class ConnectorSyncEventProjection
         | 
| 18 | 
            -
                attr_accessor :created_at
         | 
| 19 | 
            -
             | 
| 20 18 | 
             
                attr_accessor :connector_id
         | 
| 21 19 |  | 
| 22 20 | 
             
                attr_accessor :sync_count
         | 
| 23 21 |  | 
| 24 22 | 
             
                attr_accessor :sync_status
         | 
| 25 23 |  | 
| 24 | 
            +
                attr_accessor :created_at
         | 
| 25 | 
            +
             | 
| 26 26 | 
             
                attr_accessor :message
         | 
| 27 27 |  | 
| 28 28 | 
             
                attr_accessor :id
         | 
| @@ -52,10 +52,10 @@ module MailSlurpClient | |
| 52 52 | 
             
                # Attribute mapping from ruby-style variable name to JSON key.
         | 
| 53 53 | 
             
                def self.attribute_map
         | 
| 54 54 | 
             
                  {
         | 
| 55 | 
            -
                    :'created_at' => :'createdAt',
         | 
| 56 55 | 
             
                    :'connector_id' => :'connectorId',
         | 
| 57 56 | 
             
                    :'sync_count' => :'syncCount',
         | 
| 58 57 | 
             
                    :'sync_status' => :'syncStatus',
         | 
| 58 | 
            +
                    :'created_at' => :'createdAt',
         | 
| 59 59 | 
             
                    :'message' => :'message',
         | 
| 60 60 | 
             
                    :'id' => :'id'
         | 
| 61 61 | 
             
                  }
         | 
| @@ -64,10 +64,10 @@ module MailSlurpClient | |
| 64 64 | 
             
                # Attribute type mapping.
         | 
| 65 65 | 
             
                def self.openapi_types
         | 
| 66 66 | 
             
                  {
         | 
| 67 | 
            -
                    :'created_at' => :'DateTime',
         | 
| 68 67 | 
             
                    :'connector_id' => :'String',
         | 
| 69 68 | 
             
                    :'sync_count' => :'Integer',
         | 
| 70 69 | 
             
                    :'sync_status' => :'String',
         | 
| 70 | 
            +
                    :'created_at' => :'DateTime',
         | 
| 71 71 | 
             
                    :'message' => :'String',
         | 
| 72 72 | 
             
                    :'id' => :'String'
         | 
| 73 73 | 
             
                  }
         | 
| @@ -94,10 +94,6 @@ module MailSlurpClient | |
| 94 94 | 
             
                    h[k.to_sym] = v
         | 
| 95 95 | 
             
                  }
         | 
| 96 96 |  | 
| 97 | 
            -
                  if attributes.key?(:'created_at')
         | 
| 98 | 
            -
                    self.created_at = attributes[:'created_at']
         | 
| 99 | 
            -
                  end
         | 
| 100 | 
            -
             | 
| 101 97 | 
             
                  if attributes.key?(:'connector_id')
         | 
| 102 98 | 
             
                    self.connector_id = attributes[:'connector_id']
         | 
| 103 99 | 
             
                  end
         | 
| @@ -110,6 +106,10 @@ module MailSlurpClient | |
| 110 106 | 
             
                    self.sync_status = attributes[:'sync_status']
         | 
| 111 107 | 
             
                  end
         | 
| 112 108 |  | 
| 109 | 
            +
                  if attributes.key?(:'created_at')
         | 
| 110 | 
            +
                    self.created_at = attributes[:'created_at']
         | 
| 111 | 
            +
                  end
         | 
| 112 | 
            +
             | 
| 113 113 | 
             
                  if attributes.key?(:'message')
         | 
| 114 114 | 
             
                    self.message = attributes[:'message']
         | 
| 115 115 | 
             
                  end
         | 
| @@ -123,10 +123,6 @@ module MailSlurpClient | |
| 123 123 | 
             
                # @return Array for valid properties with the reasons
         | 
| 124 124 | 
             
                def list_invalid_properties
         | 
| 125 125 | 
             
                  invalid_properties = Array.new
         | 
| 126 | 
            -
                  if @created_at.nil?
         | 
| 127 | 
            -
                    invalid_properties.push('invalid value for "created_at", created_at cannot be nil.')
         | 
| 128 | 
            -
                  end
         | 
| 129 | 
            -
             | 
| 130 126 | 
             
                  if @connector_id.nil?
         | 
| 131 127 | 
             
                    invalid_properties.push('invalid value for "connector_id", connector_id cannot be nil.')
         | 
| 132 128 | 
             
                  end
         | 
| @@ -139,18 +135,22 @@ module MailSlurpClient | |
| 139 135 | 
             
                    invalid_properties.push('invalid value for "sync_status", sync_status cannot be nil.')
         | 
| 140 136 | 
             
                  end
         | 
| 141 137 |  | 
| 138 | 
            +
                  if @created_at.nil?
         | 
| 139 | 
            +
                    invalid_properties.push('invalid value for "created_at", created_at cannot be nil.')
         | 
| 140 | 
            +
                  end
         | 
| 141 | 
            +
             | 
| 142 142 | 
             
                  invalid_properties
         | 
| 143 143 | 
             
                end
         | 
| 144 144 |  | 
| 145 145 | 
             
                # Check to see if the all the properties in the model are valid
         | 
| 146 146 | 
             
                # @return true if the model is valid
         | 
| 147 147 | 
             
                def valid?
         | 
| 148 | 
            -
                  return false if @created_at.nil?
         | 
| 149 148 | 
             
                  return false if @connector_id.nil?
         | 
| 150 149 | 
             
                  return false if @sync_count.nil?
         | 
| 151 150 | 
             
                  return false if @sync_status.nil?
         | 
| 152 151 | 
             
                  sync_status_validator = EnumAttributeValidator.new('String', ["SUCCESS", "INTERNAL_ERROR", "SUBSCRIPTION_ERROR", "CONNECTION_ERROR", "NOT_FOUND"])
         | 
| 153 152 | 
             
                  return false unless sync_status_validator.valid?(@sync_status)
         | 
| 153 | 
            +
                  return false if @created_at.nil?
         | 
| 154 154 | 
             
                  true
         | 
| 155 155 | 
             
                end
         | 
| 156 156 |  | 
| @@ -169,10 +169,10 @@ module MailSlurpClient | |
| 169 169 | 
             
                def ==(o)
         | 
| 170 170 | 
             
                  return true if self.equal?(o)
         | 
| 171 171 | 
             
                  self.class == o.class &&
         | 
| 172 | 
            -
                      created_at == o.created_at &&
         | 
| 173 172 | 
             
                      connector_id == o.connector_id &&
         | 
| 174 173 | 
             
                      sync_count == o.sync_count &&
         | 
| 175 174 | 
             
                      sync_status == o.sync_status &&
         | 
| 175 | 
            +
                      created_at == o.created_at &&
         | 
| 176 176 | 
             
                      message == o.message &&
         | 
| 177 177 | 
             
                      id == o.id
         | 
| 178 178 | 
             
                end
         | 
| @@ -186,7 +186,7 @@ module MailSlurpClient | |
| 186 186 | 
             
                # Calculates hash code according to all attributes.
         | 
| 187 187 | 
             
                # @return [Integer] Hash code
         | 
| 188 188 | 
             
                def hash
         | 
| 189 | 
            -
                  [ | 
| 189 | 
            +
                  [connector_id, sync_count, sync_status, created_at, message, id].hash
         | 
| 190 190 | 
             
                end
         | 
| 191 191 |  | 
| 192 192 | 
             
                # Builds the object from hash
         | 
| @@ -15,8 +15,6 @@ require 'date' | |
| 15 15 | 
             
            module MailSlurpClient
         | 
| 16 16 | 
             
              # Email contact for address book
         | 
| 17 17 | 
             
              class ContactProjection
         | 
| 18 | 
            -
                attr_accessor :created_at
         | 
| 19 | 
            -
             | 
| 20 18 | 
             
                attr_accessor :email_address
         | 
| 21 19 |  | 
| 22 20 | 
             
                attr_accessor :email_addresses
         | 
| @@ -29,6 +27,8 @@ module MailSlurpClient | |
| 29 27 |  | 
| 30 28 | 
             
                attr_accessor :opt_out
         | 
| 31 29 |  | 
| 30 | 
            +
                attr_accessor :created_at
         | 
| 31 | 
            +
             | 
| 32 32 | 
             
                attr_accessor :id
         | 
| 33 33 |  | 
| 34 34 | 
             
                attr_accessor :group_id
         | 
| @@ -36,13 +36,13 @@ module MailSlurpClient | |
| 36 36 | 
             
                # Attribute mapping from ruby-style variable name to JSON key.
         | 
| 37 37 | 
             
                def self.attribute_map
         | 
| 38 38 | 
             
                  {
         | 
| 39 | 
            -
                    :'created_at' => :'createdAt',
         | 
| 40 39 | 
             
                    :'email_address' => :'emailAddress',
         | 
| 41 40 | 
             
                    :'email_addresses' => :'emailAddresses',
         | 
| 42 41 | 
             
                    :'first_name' => :'firstName',
         | 
| 43 42 | 
             
                    :'last_name' => :'lastName',
         | 
| 44 43 | 
             
                    :'company' => :'company',
         | 
| 45 44 | 
             
                    :'opt_out' => :'optOut',
         | 
| 45 | 
            +
                    :'created_at' => :'createdAt',
         | 
| 46 46 | 
             
                    :'id' => :'id',
         | 
| 47 47 | 
             
                    :'group_id' => :'groupId'
         | 
| 48 48 | 
             
                  }
         | 
| @@ -51,13 +51,13 @@ module MailSlurpClient | |
| 51 51 | 
             
                # Attribute type mapping.
         | 
| 52 52 | 
             
                def self.openapi_types
         | 
| 53 53 | 
             
                  {
         | 
| 54 | 
            -
                    :'created_at' => :'DateTime',
         | 
| 55 54 | 
             
                    :'email_address' => :'String',
         | 
| 56 55 | 
             
                    :'email_addresses' => :'Array<String>',
         | 
| 57 56 | 
             
                    :'first_name' => :'String',
         | 
| 58 57 | 
             
                    :'last_name' => :'String',
         | 
| 59 58 | 
             
                    :'company' => :'String',
         | 
| 60 59 | 
             
                    :'opt_out' => :'Boolean',
         | 
| 60 | 
            +
                    :'created_at' => :'DateTime',
         | 
| 61 61 | 
             
                    :'id' => :'String',
         | 
| 62 62 | 
             
                    :'group_id' => :'String'
         | 
| 63 63 | 
             
                  }
         | 
| @@ -91,10 +91,6 @@ module MailSlurpClient | |
| 91 91 | 
             
                    h[k.to_sym] = v
         | 
| 92 92 | 
             
                  }
         | 
| 93 93 |  | 
| 94 | 
            -
                  if attributes.key?(:'created_at')
         | 
| 95 | 
            -
                    self.created_at = attributes[:'created_at']
         | 
| 96 | 
            -
                  end
         | 
| 97 | 
            -
             | 
| 98 94 | 
             
                  if attributes.key?(:'email_address')
         | 
| 99 95 | 
             
                    self.email_address = attributes[:'email_address']
         | 
| 100 96 | 
             
                  end
         | 
| @@ -121,6 +117,10 @@ module MailSlurpClient | |
| 121 117 | 
             
                    self.opt_out = attributes[:'opt_out']
         | 
| 122 118 | 
             
                  end
         | 
| 123 119 |  | 
| 120 | 
            +
                  if attributes.key?(:'created_at')
         | 
| 121 | 
            +
                    self.created_at = attributes[:'created_at']
         | 
| 122 | 
            +
                  end
         | 
| 123 | 
            +
             | 
| 124 124 | 
             
                  if attributes.key?(:'id')
         | 
| 125 125 | 
             
                    self.id = attributes[:'id']
         | 
| 126 126 | 
             
                  end
         | 
| @@ -158,13 +158,13 @@ module MailSlurpClient | |
| 158 158 | 
             
                def ==(o)
         | 
| 159 159 | 
             
                  return true if self.equal?(o)
         | 
| 160 160 | 
             
                  self.class == o.class &&
         | 
| 161 | 
            -
                      created_at == o.created_at &&
         | 
| 162 161 | 
             
                      email_address == o.email_address &&
         | 
| 163 162 | 
             
                      email_addresses == o.email_addresses &&
         | 
| 164 163 | 
             
                      first_name == o.first_name &&
         | 
| 165 164 | 
             
                      last_name == o.last_name &&
         | 
| 166 165 | 
             
                      company == o.company &&
         | 
| 167 166 | 
             
                      opt_out == o.opt_out &&
         | 
| 167 | 
            +
                      created_at == o.created_at &&
         | 
| 168 168 | 
             
                      id == o.id &&
         | 
| 169 169 | 
             
                      group_id == o.group_id
         | 
| 170 170 | 
             
                end
         | 
| @@ -178,7 +178,7 @@ module MailSlurpClient | |
| 178 178 | 
             
                # Calculates hash code according to all attributes.
         | 
| 179 179 | 
             
                # @return [Integer] Hash code
         | 
| 180 180 | 
             
                def hash
         | 
| 181 | 
            -
                  [ | 
| 181 | 
            +
                  [email_address, email_addresses, first_name, last_name, company, opt_out, created_at, id, group_id].hash
         | 
| 182 182 | 
             
                end
         | 
| 183 183 |  | 
| 184 184 | 
             
                # Builds the object from hash
         | 
| @@ -15,12 +15,10 @@ require 'date' | |
| 15 15 | 
             
            module MailSlurpClient
         | 
| 16 16 | 
             
              # A compact representation of a full email. Used in list endpoints to keep response sizes low. Body and attachments are not included. To get all fields of the email use the `getEmail` method with the email projection's ID. See `EmailDto` for documentation on projection properties.
         | 
| 17 17 | 
             
              class EmailProjection
         | 
| 18 | 
            -
                attr_accessor : | 
| 18 | 
            +
                attr_accessor :attachments
         | 
| 19 19 |  | 
| 20 20 | 
             
                attr_accessor :inbox_id
         | 
| 21 21 |  | 
| 22 | 
            -
                attr_accessor :attachments
         | 
| 23 | 
            -
             | 
| 24 22 | 
             
                attr_accessor :to
         | 
| 25 23 |  | 
| 26 24 | 
             
                attr_accessor :domain_id
         | 
| @@ -39,6 +37,8 @@ module MailSlurpClient | |
| 39 37 |  | 
| 40 38 | 
             
                attr_accessor :text_excerpt
         | 
| 41 39 |  | 
| 40 | 
            +
                attr_accessor :created_at
         | 
| 41 | 
            +
             | 
| 42 42 | 
             
                attr_accessor :subject
         | 
| 43 43 |  | 
| 44 44 | 
             
                attr_accessor :id
         | 
| @@ -48,9 +48,8 @@ module MailSlurpClient | |
| 48 48 | 
             
                # Attribute mapping from ruby-style variable name to JSON key.
         | 
| 49 49 | 
             
                def self.attribute_map
         | 
| 50 50 | 
             
                  {
         | 
| 51 | 
            -
                    :'created_at' => :'createdAt',
         | 
| 52 | 
            -
                    :'inbox_id' => :'inboxId',
         | 
| 53 51 | 
             
                    :'attachments' => :'attachments',
         | 
| 52 | 
            +
                    :'inbox_id' => :'inboxId',
         | 
| 54 53 | 
             
                    :'to' => :'to',
         | 
| 55 54 | 
             
                    :'domain_id' => :'domainId',
         | 
| 56 55 | 
             
                    :'bcc' => :'bcc',
         | 
| @@ -60,6 +59,7 @@ module MailSlurpClient | |
| 60 59 | 
             
                    :'team_access' => :'teamAccess',
         | 
| 61 60 | 
             
                    :'body_md5_hash' => :'bodyMD5Hash',
         | 
| 62 61 | 
             
                    :'text_excerpt' => :'textExcerpt',
         | 
| 62 | 
            +
                    :'created_at' => :'createdAt',
         | 
| 63 63 | 
             
                    :'subject' => :'subject',
         | 
| 64 64 | 
             
                    :'id' => :'id',
         | 
| 65 65 | 
             
                    :'from' => :'from'
         | 
| @@ -69,9 +69,8 @@ module MailSlurpClient | |
| 69 69 | 
             
                # Attribute type mapping.
         | 
| 70 70 | 
             
                def self.openapi_types
         | 
| 71 71 | 
             
                  {
         | 
| 72 | 
            -
                    :'created_at' => :'DateTime',
         | 
| 73 | 
            -
                    :'inbox_id' => :'String',
         | 
| 74 72 | 
             
                    :'attachments' => :'Array<String>',
         | 
| 73 | 
            +
                    :'inbox_id' => :'String',
         | 
| 75 74 | 
             
                    :'to' => :'Array<String>',
         | 
| 76 75 | 
             
                    :'domain_id' => :'String',
         | 
| 77 76 | 
             
                    :'bcc' => :'Array<String>',
         | 
| @@ -81,6 +80,7 @@ module MailSlurpClient | |
| 81 80 | 
             
                    :'team_access' => :'Boolean',
         | 
| 82 81 | 
             
                    :'body_md5_hash' => :'String',
         | 
| 83 82 | 
             
                    :'text_excerpt' => :'String',
         | 
| 83 | 
            +
                    :'created_at' => :'DateTime',
         | 
| 84 84 | 
             
                    :'subject' => :'String',
         | 
| 85 85 | 
             
                    :'id' => :'String',
         | 
| 86 86 | 
             
                    :'from' => :'String'
         | 
| @@ -117,20 +117,16 @@ module MailSlurpClient | |
| 117 117 | 
             
                    h[k.to_sym] = v
         | 
| 118 118 | 
             
                  }
         | 
| 119 119 |  | 
| 120 | 
            -
                  if attributes.key?(:'created_at')
         | 
| 121 | 
            -
                    self.created_at = attributes[:'created_at']
         | 
| 122 | 
            -
                  end
         | 
| 123 | 
            -
             | 
| 124 | 
            -
                  if attributes.key?(:'inbox_id')
         | 
| 125 | 
            -
                    self.inbox_id = attributes[:'inbox_id']
         | 
| 126 | 
            -
                  end
         | 
| 127 | 
            -
             | 
| 128 120 | 
             
                  if attributes.key?(:'attachments')
         | 
| 129 121 | 
             
                    if (value = attributes[:'attachments']).is_a?(Array)
         | 
| 130 122 | 
             
                      self.attachments = value
         | 
| 131 123 | 
             
                    end
         | 
| 132 124 | 
             
                  end
         | 
| 133 125 |  | 
| 126 | 
            +
                  if attributes.key?(:'inbox_id')
         | 
| 127 | 
            +
                    self.inbox_id = attributes[:'inbox_id']
         | 
| 128 | 
            +
                  end
         | 
| 129 | 
            +
             | 
| 134 130 | 
             
                  if attributes.key?(:'to')
         | 
| 135 131 | 
             
                    if (value = attributes[:'to']).is_a?(Array)
         | 
| 136 132 | 
             
                      self.to = value
         | 
| @@ -173,6 +169,10 @@ module MailSlurpClient | |
| 173 169 | 
             
                    self.text_excerpt = attributes[:'text_excerpt']
         | 
| 174 170 | 
             
                  end
         | 
| 175 171 |  | 
| 172 | 
            +
                  if attributes.key?(:'created_at')
         | 
| 173 | 
            +
                    self.created_at = attributes[:'created_at']
         | 
| 174 | 
            +
                  end
         | 
| 175 | 
            +
             | 
| 176 176 | 
             
                  if attributes.key?(:'subject')
         | 
| 177 177 | 
             
                    self.subject = attributes[:'subject']
         | 
| 178 178 | 
             
                  end
         | 
| @@ -190,10 +190,6 @@ module MailSlurpClient | |
| 190 190 | 
             
                # @return Array for valid properties with the reasons
         | 
| 191 191 | 
             
                def list_invalid_properties
         | 
| 192 192 | 
             
                  invalid_properties = Array.new
         | 
| 193 | 
            -
                  if @created_at.nil?
         | 
| 194 | 
            -
                    invalid_properties.push('invalid value for "created_at", created_at cannot be nil.')
         | 
| 195 | 
            -
                  end
         | 
| 196 | 
            -
             | 
| 197 193 | 
             
                  if @inbox_id.nil?
         | 
| 198 194 | 
             
                    invalid_properties.push('invalid value for "inbox_id", inbox_id cannot be nil.')
         | 
| 199 195 | 
             
                  end
         | 
| @@ -210,6 +206,10 @@ module MailSlurpClient | |
| 210 206 | 
             
                    invalid_properties.push('invalid value for "team_access", team_access cannot be nil.')
         | 
| 211 207 | 
             
                  end
         | 
| 212 208 |  | 
| 209 | 
            +
                  if @created_at.nil?
         | 
| 210 | 
            +
                    invalid_properties.push('invalid value for "created_at", created_at cannot be nil.')
         | 
| 211 | 
            +
                  end
         | 
| 212 | 
            +
             | 
| 213 213 | 
             
                  if @id.nil?
         | 
| 214 214 | 
             
                    invalid_properties.push('invalid value for "id", id cannot be nil.')
         | 
| 215 215 | 
             
                  end
         | 
| @@ -220,11 +220,11 @@ module MailSlurpClient | |
| 220 220 | 
             
                # Check to see if the all the properties in the model are valid
         | 
| 221 221 | 
             
                # @return true if the model is valid
         | 
| 222 222 | 
             
                def valid?
         | 
| 223 | 
            -
                  return false if @created_at.nil?
         | 
| 224 223 | 
             
                  return false if @inbox_id.nil?
         | 
| 225 224 | 
             
                  return false if @to.nil?
         | 
| 226 225 | 
             
                  return false if @read.nil?
         | 
| 227 226 | 
             
                  return false if @team_access.nil?
         | 
| 227 | 
            +
                  return false if @created_at.nil?
         | 
| 228 228 | 
             
                  return false if @id.nil?
         | 
| 229 229 | 
             
                  true
         | 
| 230 230 | 
             
                end
         | 
| @@ -234,9 +234,8 @@ module MailSlurpClient | |
| 234 234 | 
             
                def ==(o)
         | 
| 235 235 | 
             
                  return true if self.equal?(o)
         | 
| 236 236 | 
             
                  self.class == o.class &&
         | 
| 237 | 
            -
                      created_at == o.created_at &&
         | 
| 238 | 
            -
                      inbox_id == o.inbox_id &&
         | 
| 239 237 | 
             
                      attachments == o.attachments &&
         | 
| 238 | 
            +
                      inbox_id == o.inbox_id &&
         | 
| 240 239 | 
             
                      to == o.to &&
         | 
| 241 240 | 
             
                      domain_id == o.domain_id &&
         | 
| 242 241 | 
             
                      bcc == o.bcc &&
         | 
| @@ -246,6 +245,7 @@ module MailSlurpClient | |
| 246 245 | 
             
                      team_access == o.team_access &&
         | 
| 247 246 | 
             
                      body_md5_hash == o.body_md5_hash &&
         | 
| 248 247 | 
             
                      text_excerpt == o.text_excerpt &&
         | 
| 248 | 
            +
                      created_at == o.created_at &&
         | 
| 249 249 | 
             
                      subject == o.subject &&
         | 
| 250 250 | 
             
                      id == o.id &&
         | 
| 251 251 | 
             
                      from == o.from
         | 
| @@ -260,7 +260,7 @@ module MailSlurpClient | |
| 260 260 | 
             
                # Calculates hash code according to all attributes.
         | 
| 261 261 | 
             
                # @return [Integer] Hash code
         | 
| 262 262 | 
             
                def hash
         | 
| 263 | 
            -
                  [ | 
| 263 | 
            +
                  [attachments, inbox_id, to, domain_id, bcc, cc, read, body_excerpt, team_access, body_md5_hash, text_excerpt, created_at, subject, id, from].hash
         | 
| 264 264 | 
             
                end
         | 
| 265 265 |  | 
| 266 266 | 
             
                # Builds the object from hash
         | 
| @@ -15,20 +15,20 @@ require 'date' | |
| 15 15 | 
             
            module MailSlurpClient
         | 
| 16 16 | 
             
              # Record of inbox expiration
         | 
| 17 17 | 
             
              class ExpiredInboxRecordProjection
         | 
| 18 | 
            -
                attr_accessor : | 
| 18 | 
            +
                attr_accessor :email_address
         | 
| 19 19 |  | 
| 20 20 | 
             
                attr_accessor :user_id
         | 
| 21 21 |  | 
| 22 | 
            -
                attr_accessor : | 
| 22 | 
            +
                attr_accessor :created_at
         | 
| 23 23 |  | 
| 24 24 | 
             
                attr_accessor :id
         | 
| 25 25 |  | 
| 26 26 | 
             
                # Attribute mapping from ruby-style variable name to JSON key.
         | 
| 27 27 | 
             
                def self.attribute_map
         | 
| 28 28 | 
             
                  {
         | 
| 29 | 
            -
                    :'created_at' => :'createdAt',
         | 
| 30 | 
            -
                    :'user_id' => :'userId',
         | 
| 31 29 | 
             
                    :'email_address' => :'emailAddress',
         | 
| 30 | 
            +
                    :'user_id' => :'userId',
         | 
| 31 | 
            +
                    :'created_at' => :'createdAt',
         | 
| 32 32 | 
             
                    :'id' => :'id'
         | 
| 33 33 | 
             
                  }
         | 
| 34 34 | 
             
                end
         | 
| @@ -36,9 +36,9 @@ module MailSlurpClient | |
| 36 36 | 
             
                # Attribute type mapping.
         | 
| 37 37 | 
             
                def self.openapi_types
         | 
| 38 38 | 
             
                  {
         | 
| 39 | 
            -
                    :'created_at' => :'DateTime',
         | 
| 40 | 
            -
                    :'user_id' => :'String',
         | 
| 41 39 | 
             
                    :'email_address' => :'String',
         | 
| 40 | 
            +
                    :'user_id' => :'String',
         | 
| 41 | 
            +
                    :'created_at' => :'DateTime',
         | 
| 42 42 | 
             
                    :'id' => :'String'
         | 
| 43 43 | 
             
                  }
         | 
| 44 44 | 
             
                end
         | 
| @@ -64,16 +64,16 @@ module MailSlurpClient | |
| 64 64 | 
             
                    h[k.to_sym] = v
         | 
| 65 65 | 
             
                  }
         | 
| 66 66 |  | 
| 67 | 
            -
                  if attributes.key?(:' | 
| 68 | 
            -
                    self. | 
| 67 | 
            +
                  if attributes.key?(:'email_address')
         | 
| 68 | 
            +
                    self.email_address = attributes[:'email_address']
         | 
| 69 69 | 
             
                  end
         | 
| 70 70 |  | 
| 71 71 | 
             
                  if attributes.key?(:'user_id')
         | 
| 72 72 | 
             
                    self.user_id = attributes[:'user_id']
         | 
| 73 73 | 
             
                  end
         | 
| 74 74 |  | 
| 75 | 
            -
                  if attributes.key?(:' | 
| 76 | 
            -
                    self. | 
| 75 | 
            +
                  if attributes.key?(:'created_at')
         | 
| 76 | 
            +
                    self.created_at = attributes[:'created_at']
         | 
| 77 77 | 
             
                  end
         | 
| 78 78 |  | 
| 79 79 | 
             
                  if attributes.key?(:'id')
         | 
| @@ -85,16 +85,16 @@ module MailSlurpClient | |
| 85 85 | 
             
                # @return Array for valid properties with the reasons
         | 
| 86 86 | 
             
                def list_invalid_properties
         | 
| 87 87 | 
             
                  invalid_properties = Array.new
         | 
| 88 | 
            -
                  if @ | 
| 89 | 
            -
                    invalid_properties.push('invalid value for " | 
| 88 | 
            +
                  if @email_address.nil?
         | 
| 89 | 
            +
                    invalid_properties.push('invalid value for "email_address", email_address cannot be nil.')
         | 
| 90 90 | 
             
                  end
         | 
| 91 91 |  | 
| 92 92 | 
             
                  if @user_id.nil?
         | 
| 93 93 | 
             
                    invalid_properties.push('invalid value for "user_id", user_id cannot be nil.')
         | 
| 94 94 | 
             
                  end
         | 
| 95 95 |  | 
| 96 | 
            -
                  if @ | 
| 97 | 
            -
                    invalid_properties.push('invalid value for " | 
| 96 | 
            +
                  if @created_at.nil?
         | 
| 97 | 
            +
                    invalid_properties.push('invalid value for "created_at", created_at cannot be nil.')
         | 
| 98 98 | 
             
                  end
         | 
| 99 99 |  | 
| 100 100 | 
             
                  if @id.nil?
         | 
| @@ -107,9 +107,9 @@ module MailSlurpClient | |
| 107 107 | 
             
                # Check to see if the all the properties in the model are valid
         | 
| 108 108 | 
             
                # @return true if the model is valid
         | 
| 109 109 | 
             
                def valid?
         | 
| 110 | 
            -
                  return false if @created_at.nil?
         | 
| 111 | 
            -
                  return false if @user_id.nil?
         | 
| 112 110 | 
             
                  return false if @email_address.nil?
         | 
| 111 | 
            +
                  return false if @user_id.nil?
         | 
| 112 | 
            +
                  return false if @created_at.nil?
         | 
| 113 113 | 
             
                  return false if @id.nil?
         | 
| 114 114 | 
             
                  true
         | 
| 115 115 | 
             
                end
         | 
| @@ -119,9 +119,9 @@ module MailSlurpClient | |
| 119 119 | 
             
                def ==(o)
         | 
| 120 120 | 
             
                  return true if self.equal?(o)
         | 
| 121 121 | 
             
                  self.class == o.class &&
         | 
| 122 | 
            -
                      created_at == o.created_at &&
         | 
| 123 | 
            -
                      user_id == o.user_id &&
         | 
| 124 122 | 
             
                      email_address == o.email_address &&
         | 
| 123 | 
            +
                      user_id == o.user_id &&
         | 
| 124 | 
            +
                      created_at == o.created_at &&
         | 
| 125 125 | 
             
                      id == o.id
         | 
| 126 126 | 
             
                end
         | 
| 127 127 |  | 
| @@ -134,7 +134,7 @@ module MailSlurpClient | |
| 134 134 | 
             
                # Calculates hash code according to all attributes.
         | 
| 135 135 | 
             
                # @return [Integer] Hash code
         | 
| 136 136 | 
             
                def hash
         | 
| 137 | 
            -
                  [ | 
| 137 | 
            +
                  [email_address, user_id, created_at, id].hash
         | 
| 138 138 | 
             
                end
         | 
| 139 139 |  | 
| 140 140 | 
             
                # Builds the object from hash
         |