Sha256: b4e4238561cf39b5ed8a20197c3ef7ec2bbb3339fba4a095bc56f4dd8c502fce

Contents?: true

Size: 603 Bytes

Versions: 17

Compression:

Stored size: 603 Bytes

Contents

# frozen_string_literal: true

module Cocina
  module Models
    class ControlledDigitalLendingAccess < Struct
      # Access level.
      attribute :access, Types::Strict::String.enum('stanford')
      # Download access level.
      attribute :download, Types::Strict::String.enum('none')
      # If access is "location-based", which location should have access.
      attribute :readLocation, Types::Strict::String.optional.enum('').meta(omittable: true)
      # Available for controlled digital lending.
      attribute :controlledDigitalLending, Types::Strict::Bool.default(false)
    end
  end
end

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
cocina-models-0.67.1 lib/cocina/models/controlled_digital_lending_access.rb
cocina-models-0.67.0 lib/cocina/models/controlled_digital_lending_access.rb
cocina-models-0.66.0 lib/cocina/models/controlled_digital_lending_access.rb
cocina-models-0.65.1 lib/cocina/models/controlled_digital_lending_access.rb
cocina-models-0.65.0 lib/cocina/models/controlled_digital_lending_access.rb
cocina-models-0.64.0 lib/cocina/models/controlled_digital_lending_access.rb
cocina-models-0.63.1 lib/cocina/models/controlled_digital_lending_access.rb
cocina-models-0.63.0 lib/cocina/models/controlled_digital_lending_access.rb
cocina-models-0.62.1 lib/cocina/models/controlled_digital_lending_access.rb
cocina-models-0.62.0 lib/cocina/models/controlled_digital_lending_access.rb
cocina-models-0.61.3 lib/cocina/models/controlled_digital_lending_access.rb
cocina-models-0.61.2 lib/cocina/models/controlled_digital_lending_access.rb
cocina-models-0.61.1 lib/cocina/models/controlled_digital_lending_access.rb
cocina-models-0.61.0 lib/cocina/models/controlled_digital_lending_access.rb
cocina-models-0.60.0 lib/cocina/models/controlled_digital_lending_access.rb
cocina-models-0.59.1 lib/cocina/models/controlled_digital_lending_access.rb
cocina-models-0.59.0 lib/cocina/models/controlled_digital_lending_access.rb