lib/onfido/models/webhook_event_payload.rb in onfido-3.4.0 vs lib/onfido/models/webhook_event_payload.rb in onfido-4.0.0
- old
+ new
@@ -4,11 +4,11 @@
#The Onfido API (v3.6)
The version of the OpenAPI document: v3.6
Generated by: https://openapi-generator.tech
-Generator version: 7.6.0
+Generator version: 7.9.0
=end
require 'date'
require 'time'
@@ -21,11 +21,10 @@
# The event that triggered this webhook.
attr_accessor :action
attr_accessor :object
- # The resource affected by this event.
attr_accessor :resource
class EnumAttributeValidator
attr_reader :datatype
attr_reader :allowable_values
@@ -64,13 +63,13 @@
end
# Attribute type mapping.
def self.openapi_types
{
- :'resource_type' => :'String',
+ :'resource_type' => :'WebhookEventResourceType',
:'action' => :'WebhookEventType',
:'object' => :'WebhookEventPayloadObject',
- :'resource' => :'Object'
+ :'resource' => :'WebhookEventPayloadResource'
}
end
# List of attributes with nullable: true
def self.openapi_nullable