Sha256: 877cb5560af50ed8068df33fcf0b7d56896aee44214c126ab921880964e32f23

Contents?: true

Size: 528 Bytes

Versions: 40

Compression:

Stored size: 528 Bytes

Contents

# frozen_string_literal: true

module Cocina
  module Models
    class DarkAccess < Struct
      # Access level.
      attribute? :view, Types::Strict::String.default('dark').enum('dark')
      # Download access level.
      attribute? :download, Types::Strict::String.default('none').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

40 entries across 40 versions & 1 rubygems

Version Path
cocina-models-0.89.0 lib/cocina/models/dark_access.rb
cocina-models-0.88.0 lib/cocina/models/dark_access.rb
cocina-models-0.87.1 lib/cocina/models/dark_access.rb
cocina-models-0.87.0 lib/cocina/models/dark_access.rb
cocina-models-0.86.0 lib/cocina/models/dark_access.rb
cocina-models-0.85.0 lib/cocina/models/dark_access.rb
cocina-models-0.84.5 lib/cocina/models/dark_access.rb
cocina-models-0.84.4 lib/cocina/models/dark_access.rb
cocina-models-0.84.3 lib/cocina/models/dark_access.rb
cocina-models-0.84.2 lib/cocina/models/dark_access.rb
cocina-models-0.84.1 lib/cocina/models/dark_access.rb
cocina-models-0.84.0 lib/cocina/models/dark_access.rb
cocina-models-0.83.0 lib/cocina/models/dark_access.rb
cocina-models-0.82.0 lib/cocina/models/dark_access.rb
cocina-models-0.81.0 lib/cocina/models/dark_access.rb
cocina-models-0.80.0 lib/cocina/models/dark_access.rb
cocina-models-0.79.0 lib/cocina/models/dark_access.rb
cocina-models-0.78.0 lib/cocina/models/dark_access.rb
cocina-models-0.77.0 lib/cocina/models/dark_access.rb
cocina-models-0.76.0 lib/cocina/models/dark_access.rb