Sha256: d95c4d5eca2255558fb8820ef18b06c490e4858494df1491d2da47e4dbe0bb5e

Contents?: true

Size: 511 Bytes

Versions: 35

Compression:

Stored size: 511 Bytes

Contents

# frozen_string_literal: true

module Cocina
  module Models
    class CitationOnlyAccess < Struct
      # Access level.
      attribute :view, Types::Strict::String.enum('citation-only')
      # Download access level.
      attribute :download, Types::Strict::String.enum('none')
      # Not used for this access type, must be null.
      attribute? :location, Types::Strict::String.optional.enum('')
      attribute? :controlledDigitalLending, Types::Strict::Bool.default(false).enum(false)
    end
  end
end

Version data entries

35 entries across 35 versions & 1 rubygems

Version Path
cocina-models-0.95.1 lib/cocina/models/citation_only_access.rb
cocina-models-0.95.0 lib/cocina/models/citation_only_access.rb
cocina-models-0.94.2 lib/cocina/models/citation_only_access.rb
cocina-models-0.94.1 lib/cocina/models/citation_only_access.rb
cocina-models-0.94.0 lib/cocina/models/citation_only_access.rb
cocina-models-0.93.1 lib/cocina/models/citation_only_access.rb
cocina-models-0.93.0 lib/cocina/models/citation_only_access.rb
cocina-models-0.92.0 lib/cocina/models/citation_only_access.rb
cocina-models-0.91.4 lib/cocina/models/citation_only_access.rb
cocina-models-0.91.3 lib/cocina/models/citation_only_access.rb
cocina-models-0.91.2 lib/cocina/models/citation_only_access.rb
cocina-models-0.91.1 lib/cocina/models/citation_only_access.rb
cocina-models-0.91.0 lib/cocina/models/citation_only_access.rb
cocina-models-0.90.0 lib/cocina/models/citation_only_access.rb
cocina-models-0.89.1 lib/cocina/models/citation_only_access.rb
cocina-models-0.89.0 lib/cocina/models/citation_only_access.rb
cocina-models-0.88.0 lib/cocina/models/citation_only_access.rb
cocina-models-0.87.1 lib/cocina/models/citation_only_access.rb
cocina-models-0.87.0 lib/cocina/models/citation_only_access.rb
cocina-models-0.86.0 lib/cocina/models/citation_only_access.rb