Sha256: 8ced04123caf144bb0a8a3a87714223116be24486ea2b1f233855147311f9ef9

Contents?: true

Size: 796 Bytes

Versions: 4

Compression:

Stored size: 796 Bytes

Contents

# frozen_string_literal: true

module Cocina
  module Models
    # A linkage between an object and a Folio catalog record
    class FolioCatalogLink < Struct
      # Catalog that is the source of the linked record.
      # example: folio
      attribute :catalog, Types::Strict::String.enum('folio', 'previous folio')
      # Only one of the catkeys should be designated for refreshing. This means that this key is the one used to pull metadata from the catalog if there is more than one key present.
      attribute :refresh, Types::Strict::Bool.default(false)
      # Record identifier that is unique within the context of the linked record's catalog.
      attribute :catalogRecordId, MigratedFromSymphonyIdentifier | MigratedFromVoyagerIdentifier | CreatedInFolioIdentifier
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
cocina-models-0.89.0 lib/cocina/models/folio_catalog_link.rb
cocina-models-0.88.0 lib/cocina/models/folio_catalog_link.rb
cocina-models-0.87.1 lib/cocina/models/folio_catalog_link.rb
cocina-models-0.87.0 lib/cocina/models/folio_catalog_link.rb