Sha256: 06346a81d630d838b7ead63b97015610f2641b9da77858d09c7d4eb982a879f2

Contents?: true

Size: 880 Bytes

Versions: 36

Compression:

Stored size: 880 Bytes

Contents

# frozen_string_literal: true

module Cocina
  module Models
    # Access metadata for files
    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

36 entries across 36 versions & 1 rubygems

Version Path
cocina-models-0.89.0 lib/cocina/models/file_access.rb
cocina-models-0.88.0 lib/cocina/models/file_access.rb
cocina-models-0.87.1 lib/cocina/models/file_access.rb
cocina-models-0.87.0 lib/cocina/models/file_access.rb
cocina-models-0.86.0 lib/cocina/models/file_access.rb
cocina-models-0.85.0 lib/cocina/models/file_access.rb
cocina-models-0.84.5 lib/cocina/models/file_access.rb
cocina-models-0.84.4 lib/cocina/models/file_access.rb
cocina-models-0.84.3 lib/cocina/models/file_access.rb
cocina-models-0.84.2 lib/cocina/models/file_access.rb
cocina-models-0.84.1 lib/cocina/models/file_access.rb
cocina-models-0.84.0 lib/cocina/models/file_access.rb
cocina-models-0.83.0 lib/cocina/models/file_access.rb
cocina-models-0.82.0 lib/cocina/models/file_access.rb
cocina-models-0.81.0 lib/cocina/models/file_access.rb
cocina-models-0.80.0 lib/cocina/models/file_access.rb