Sha256: 464daeca66ecd22cabdbe71ee5914679148fd6bce521d657a61c2463d1dd9eab

Contents?: true

Size: 456 Bytes

Versions: 13

Compression:

Stored size: 456 Bytes

Contents

# frozen_string_literal: true

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

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
cocina-models-0.75.0 lib/cocina/models/object_metadata.rb
cocina-models-0.74.1 lib/cocina/models/object_metadata.rb
cocina-models-0.74.0 lib/cocina/models/object_metadata.rb
cocina-models-0.73.6 lib/cocina/models/object_metadata.rb
cocina-models-0.73.5 lib/cocina/models/object_metadata.rb
cocina-models-0.73.4 lib/cocina/models/object_metadata.rb
cocina-models-0.73.3 lib/cocina/models/object_metadata.rb
cocina-models-0.73.2 lib/cocina/models/object_metadata.rb
cocina-models-0.73.1 lib/cocina/models/object_metadata.rb
cocina-models-0.73.0 lib/cocina/models/object_metadata.rb
cocina-models-0.72.0 lib/cocina/models/object_metadata.rb
cocina-models-0.71.0 lib/cocina/models/object_metadata.rb
cocina-models-0.70.0 lib/cocina/models/object_metadata.rb