Method: OCI::DatabaseMigration::Models::DumpTransferDetails#initialize

Defined in:
lib/oci/database_migration/models/dump_transfer_details.rb

#initialize(attributes = {}) ⇒ DumpTransferDetails

Initializes the object

Parameters:

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

    Model attributes in the form of hash

Options Hash (attributes):



45
46
47
48
49
50
51
52
53
54
# File 'lib/oci/database_migration/models/dump_transfer_details.rb', line 45

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 }

  self.source = attributes[:'source'] if attributes[:'source']

  self.target = attributes[:'target'] if attributes[:'target']
end