Sha256: 3f1bd148ff18ed1ffdc2547cd1d213e34493c35983a4ce2a34ff4387c177d792
Contents?: true
Size: 801 Bytes
Versions: 30
Compression:
Stored size: 801 Bytes
Contents
# frozen_string_literal: true module Cocina module Models class FileAccess < Struct # Access level attribute :access, Types::Strict::String.default('dark').enum('world', 'stanford', 'location-based', 'citation-only', 'dark').meta(omittable: true) # Available for controlled digital lending. attribute :controlledDigitalLending, Types::Strict::Bool.meta(omittable: true) # Download access level for a file attribute :download, Types::Strict::String.default('none').enum('world', 'stanford', 'location-based', 'none').meta(omittable: true) # If access is "location-based", which location should have access. attribute :readLocation, Types::Strict::String.enum('spec', 'music', 'ars', 'art', 'hoover', 'm&m').meta(omittable: true) end end end
Version data entries
30 entries across 30 versions & 1 rubygems