lib/cocina/models/file_access.rb in cocina-models-0.75.0 vs lib/cocina/models/file_access.rb in cocina-models-0.76.0

- old
+ new

@@ -3,17 +3,17 @@ 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) + 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').meta(omittable: true) + 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.meta(omittable: true) + attribute? :location, Types::Strict::String.optional # Validation of this property is relaxed. See the openapi for full validation. - attribute :controlledDigitalLending, Types::Strict::Bool.optional.meta(omittable: true) + attribute? :controlledDigitalLending, Types::Strict::Bool.optional.default(false) end end end