Sha256: d405e8975f54efb6a40f2ce11b0949d939496e312c09536f5f40e268402f7316

Contents?: true

Size: 848 Bytes

Versions: 4

Compression:

Stored size: 848 Bytes

Contents

# 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')
      # Download access level.
      # Validation of this property is relaxed. See the openapi for full validation.
      attribute? :download, Types::Strict::String.optional.default('none')
      # 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
      # Validation of this property is relaxed. See the openapi for full validation.
      attribute? :controlledDigitalLending, Types::Strict::Bool.optional.default(false)
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
cocina-models-0.79.0 lib/cocina/models/file_access.rb
cocina-models-0.78.0 lib/cocina/models/file_access.rb
cocina-models-0.77.0 lib/cocina/models/file_access.rb
cocina-models-0.76.0 lib/cocina/models/file_access.rb