Sha256: 60dc688e979048a23dbecf73232683cd093adb0384a03c26f0d9a77aa4efe99f
Contents?: true
Size: 669 Bytes
Versions: 3
Compression:
Stored size: 669 Bytes
Contents
# frozen_string_literal: true module Cocina module Models # A request to create a FileSet object. # This is the same as a FileSet, but without externalIdentifier (as that wouldn't have been created yet) # See http://sul-dlss.github.io/cocina-models/maps/FileSet.json class RequestFileSet < Struct # Structural sub-schema that contains RequestFile (unlike the one in FileSet which contains File) class Structural < Struct attribute :contains, Types::Strict::Array.of(RequestFile).meta(omittable: true) end include FileSetAttributes attribute(:structural, Structural.default { Structural.new }) end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
cocina-models-0.29.0 | lib/cocina/models/request_file_set.rb |
cocina-models-0.28.0 | lib/cocina/models/request_file_set.rb |
cocina-models-0.27.0 | lib/cocina/models/request_file_set.rb |