# File lib/aws/dynamo_db/primary_key_element.rb, line 28
      def initialize(hash)
        @name = hash[:name] || hash["AttributeName"]
        @type = hash[:type] || ATTRIBUTE_TYPES[hash["AttributeType"]]
      end