Sha256: 27d90cdcbde3e1fd4bd02367988a9952bbfc17cf234f9e18a555fd02e52fe722
Contents?: true
Size: 565 Bytes
Versions: 17
Compression:
Stored size: 565 Bytes
Contents
# frozen_string_literal: true module Cocina module Models class CitationOnlyAccess < Struct # Access level. attribute :access, Types::Strict::String.enum('citation-only') # 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) attribute :controlledDigitalLending, Types::Strict::Bool.enum(false).meta(omittable: true) end end end
Version data entries
17 entries across 17 versions & 1 rubygems