Sha256: 8176bf999ddbf0cf823059fbe8424cdbb8a055f0a1e7e1e1cd24eac015078497

Contents?: true

Size: 506 Bytes

Versions: 40

Compression:

Stored size: 506 Bytes

Contents

# frozen_string_literal: true

module Cocina
  module Models
    class StanfordAccess < Struct
      # Access level.
      attribute :view, Types::Strict::String.enum('stanford')
      # Download access level.
      attribute :download, Types::Strict::String.enum('stanford')
      # 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.99.1 lib/cocina/models/stanford_access.rb
cocina-models-0.99.0 lib/cocina/models/stanford_access.rb
cocina-models-0.98.1 lib/cocina/models/stanford_access.rb
cocina-models-0.98.0 lib/cocina/models/stanford_access.rb
cocina-models-0.96.0 lib/cocina/models/stanford_access.rb
cocina-models-0.95.1 lib/cocina/models/stanford_access.rb
cocina-models-0.95.0 lib/cocina/models/stanford_access.rb
cocina-models-0.94.2 lib/cocina/models/stanford_access.rb
cocina-models-0.94.1 lib/cocina/models/stanford_access.rb
cocina-models-0.94.0 lib/cocina/models/stanford_access.rb
cocina-models-0.93.1 lib/cocina/models/stanford_access.rb
cocina-models-0.93.0 lib/cocina/models/stanford_access.rb
cocina-models-0.92.0 lib/cocina/models/stanford_access.rb
cocina-models-0.91.4 lib/cocina/models/stanford_access.rb
cocina-models-0.91.3 lib/cocina/models/stanford_access.rb
cocina-models-0.91.2 lib/cocina/models/stanford_access.rb
cocina-models-0.91.1 lib/cocina/models/stanford_access.rb
cocina-models-0.91.0 lib/cocina/models/stanford_access.rb
cocina-models-0.90.0 lib/cocina/models/stanford_access.rb
cocina-models-0.89.1 lib/cocina/models/stanford_access.rb