Sha256: b0d9d3b9cd933aa6e3c6bf03b9cbcf6b912d25e73541a45584f0ff7f9baf99c7

Contents?: true

Size: 1.07 KB

Versions: 14

Compression:

Stored size: 1.07 KB

Contents

module DwollaSwagger
  # 
  class WebhookAttempt < BaseObject
    attr_accessor :id, :request, :response
    # attribute mapping from ruby-style variable name to JSON key
    def self.attribute_map
      {
        
        # 
        :'id' => :'id',
        
        # 
        :'request' => :'request',
        
        # 
        :'response' => :'response'
        
      }
    end

    # attribute type
    def self.swagger_types
      {
        :'id' => :'string',
        :'request' => :'WebhookHttpRequest',
        :'response' => :'WebhookHttpResponse'
        
      }
    end

    def initialize(attributes = {})
      return if !attributes.is_a?(Hash) || attributes.empty?

      # convert string to symbol for hash key
      attributes = attributes.inject({}){|memo,(k,v)| memo[k.to_sym] = v; memo}

      
      if attributes[:'id']
        @id = attributes[:'id']
      end
      
      if attributes[:'request']
        @request = attributes[:'request']
      end
      
      if attributes[:'response']
        @response = attributes[:'response']
      end
      
    end
  end
end

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
dwolla_swagger-1.0.13 lib/dwolla_swagger/models/webhook_attempt.rb
dwolla_swagger-1.0.12 lib/dwolla_swagger/models/webhook_attempt.rb
dwolla_swagger-1.0.11 lib/dwolla_swagger/models/webhook_attempt.rb
dwolla_swagger-1.0.10 lib/dwolla_swagger/models/webhook_attempt.rb
dwolla_swagger-1.0.9 lib/dwolla_swagger/models/webhook_attempt.rb
dwolla_swagger-1.0.8 lib/dwolla_swagger/models/webhook_attempt.rb
dwolla_swagger-1.0.7 lib/dwolla_swagger/models/webhook_attempt.rb
dwolla_swagger-1.0.6 lib/dwolla_swagger/models/webhook_attempt.rb
dwolla_swagger-1.0.5 lib/dwolla_swagger/models/webhook_attempt.rb
dwolla_swagger-1.0.4 lib/dwolla_swagger/models/webhook_attempt.rb
dwolla_swagger-1.0.3 lib/dwolla_swagger/models/webhook_attempt.rb
dwolla_swagger-1.0.2 lib/dwolla_swagger/models/webhook_attempt.rb
dwolla_swagger-1.0.1 lib/dwolla_swagger/models/webhook_attempt.rb
dwolla_swagger-1.0.0 lib/dwolla_swagger/models/webhook_attempt.rb