Method: DocuSign_Admin::UserIdentityRequest#initialize

Defined in:
lib/docusign_admin/models/user_identity_request.rb

#initialize(attributes = {}) ⇒ UserIdentityRequest

Initializes the object

Parameters:

  • attributes (Hash) (defaults to: {})

    Model attributes in the form of hash



34
35
36
37
38
39
40
41
42
43
# File 'lib/docusign_admin/models/user_identity_request.rb', line 34

def initialize(attributes = {})
  return unless attributes.is_a?(Hash)

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

  if attributes.has_key?(:'id')
    self.id = attributes[:'id']
  end
end