# frozen_string_literal: true module Cocina module Models class FileAccess < Struct # Access level. # Validation of this property is relaxed. See the openapi for full validation. attribute :view, Types::Strict::String.optional.default('dark').meta(omittable: true) # Download access level. # Validation of this property is relaxed. See the openapi for full validation. attribute :download, Types::Strict::String.optional.default('none').meta(omittable: true) # Not used for this access type, must be null. # Validation of this property is relaxed. See the openapi for full validation. attribute :location, Types::Strict::String.optional.meta(omittable: true) # Validation of this property is relaxed. See the openapi for full validation. attribute :controlledDigitalLending, Types::Strict::Bool.optional.meta(omittable: true) end end end