Sha256: 93d59a1359b60f4972272a2d14e8e169efe67ea4f50653ca0a0d0914eb8497cb

Contents?: true

Size: 917 Bytes

Versions: 17

Compression:

Stored size: 917 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').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

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
cocina-models-0.75.0 lib/cocina/models/file_access.rb
cocina-models-0.74.1 lib/cocina/models/file_access.rb
cocina-models-0.74.0 lib/cocina/models/file_access.rb
cocina-models-0.73.6 lib/cocina/models/file_access.rb
cocina-models-0.73.5 lib/cocina/models/file_access.rb
cocina-models-0.73.4 lib/cocina/models/file_access.rb
cocina-models-0.73.3 lib/cocina/models/file_access.rb
cocina-models-0.73.2 lib/cocina/models/file_access.rb
cocina-models-0.73.1 lib/cocina/models/file_access.rb
cocina-models-0.73.0 lib/cocina/models/file_access.rb
cocina-models-0.72.0 lib/cocina/models/file_access.rb
cocina-models-0.71.0 lib/cocina/models/file_access.rb
cocina-models-0.70.0 lib/cocina/models/file_access.rb
cocina-models-0.69.2 lib/cocina/models/file_access.rb
cocina-models-0.69.1 lib/cocina/models/file_access.rb
cocina-models-0.69.0 lib/cocina/models/file_access.rb
cocina-models-0.68.0 lib/cocina/models/file_access.rb