Method: OCI::DatabaseTools::Models::DatabaseToolsKeyStoreContentSummary#initialize
- Defined in:
- lib/oci/database_tools/models/database_tools_key_store_content_summary.rb
#initialize(attributes = {}) ⇒ DatabaseToolsKeyStoreContentSummary
Initializes the object
61 62 63 64 65 66 67 68 69 70 71 72 |
# File 'lib/oci/database_tools/models/database_tools_key_store_content_summary.rb', line 61 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.value_type = attributes[:'valueType'] if attributes[:'valueType'] raise 'You cannot provide both :valueType and :value_type' if attributes.key?(:'valueType') && attributes.key?(:'value_type') self.value_type = attributes[:'value_type'] if attributes[:'value_type'] end |