Sha256: 27f5a00423aae8c6e22401b7df2625f5ed5b7c357d5fde42b25176f2931e9a83

Contents?: true

Size: 414 Bytes

Versions: 4

Compression:

Stored size: 414 Bytes

Contents

# frozen_string_literal: true

module Cocina
  module Models
    class ObjectMetadata < Struct
      # When the object was created.
      attribute? :created, Types::Params::DateTime
      # When the object was modified.
      attribute? :modified, Types::Params::DateTime
      # Key for optimistic locking. The contents of the key is not specified.
      attribute :lock, Types::Strict::String
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
cocina-models-0.79.0 lib/cocina/models/object_metadata.rb
cocina-models-0.78.0 lib/cocina/models/object_metadata.rb
cocina-models-0.77.0 lib/cocina/models/object_metadata.rb
cocina-models-0.76.0 lib/cocina/models/object_metadata.rb