Method: OCI::Opsi::Models::ExadataInsights#initialize
- Defined in:
- lib/oci/opsi/models/exadata_insights.rb
#initialize(attributes = {}) ⇒ ExadataInsights
Initializes the object
39 40 41 42 43 44 45 46 47 48 49 50 |
# File 'lib/oci/opsi/models/exadata_insights.rb', line 39 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.exadata_insights = attributes[:'exadataInsights'] if attributes[:'exadataInsights'] raise 'You cannot provide both :exadataInsights and :exadata_insights' if attributes.key?(:'exadataInsights') && attributes.key?(:'exadata_insights') self.exadata_insights = attributes[:'exadata_insights'] if attributes[:'exadata_insights'] end |