Method: OCI::DataIntegration::Models::ConfigProvider#initialize
- Defined in:
- lib/oci/data_integration/models/config_provider.rb
#initialize(attributes = {}) ⇒ ConfigProvider
Initializes the object
46 47 48 49 50 51 52 53 54 55 56 57 58 59 |
# File 'lib/oci/data_integration/models/config_provider.rb', line 46 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.bindings = attributes[:'bindings'] if attributes[:'bindings'] self.child_providers = attributes[:'childProviders'] if attributes[:'childProviders'] raise 'You cannot provide both :childProviders and :child_providers' if attributes.key?(:'childProviders') && attributes.key?(:'child_providers') self.child_providers = attributes[:'child_providers'] if attributes[:'child_providers'] end |