Method: OCI::Database::Models::DbIormConfigUpdateDetail#initialize
- Defined in:
- lib/oci/database/models/db_iorm_config_update_detail.rb
#initialize(attributes = {}) ⇒ DbIormConfigUpdateDetail
Initializes the object
48 49 50 51 52 53 54 55 56 57 58 59 60 61 |
# File 'lib/oci/database/models/db_iorm_config_update_detail.rb', line 48 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.db_name = attributes[:'dbName'] if attributes[:'dbName'] raise 'You cannot provide both :dbName and :db_name' if attributes.key?(:'dbName') && attributes.key?(:'db_name') self.db_name = attributes[:'db_name'] if attributes[:'db_name'] self.share = attributes[:'share'] if attributes[:'share'] end |