Sha256: cacbf04774841de058092c4474836dbe385bdcf3a4119e25eae998918e4de526

Contents?: true

Size: 482 Bytes

Versions: 34

Compression:

Stored size: 482 Bytes

Contents

# frozen_string_literal: true

module Cocina
  module Models
    class RequestFileSet < Struct
      include Checkable

      TYPES = ['http://cocina.sul.stanford.edu/models/fileset.jsonld'].freeze

      attribute :type, Types::Strict::String.enum(*RequestFileSet::TYPES)
      attribute :label, Types::Strict::String
      attribute :version, Types::Strict::Integer
      attribute(:structural, RequestFileSetStructural.default { RequestFileSetStructural.new })
    end
  end
end

Version data entries

34 entries across 34 versions & 1 rubygems

Version Path
cocina-models-0.40.1 lib/cocina/models/request_file_set.rb
cocina-models-0.40.0 lib/cocina/models/request_file_set.rb
cocina-models-0.39.0 lib/cocina/models/request_file_set.rb
cocina-models-0.38.0 lib/cocina/models/request_file_set.rb
cocina-models-0.37.0 lib/cocina/models/request_file_set.rb
cocina-models-0.36.0 lib/cocina/models/request_file_set.rb
cocina-models-0.35.0 lib/cocina/models/request_file_set.rb
cocina-models-0.34.1 lib/cocina/models/request_file_set.rb
cocina-models-0.34.0 lib/cocina/models/request_file_set.rb
cocina-models-0.33.0 lib/cocina/models/request_file_set.rb
cocina-models-0.32.0 lib/cocina/models/request_file_set.rb
cocina-models-0.31.1 lib/cocina/models/request_file_set.rb
cocina-models-0.31.0 lib/cocina/models/request_file_set.rb
cocina-models-0.30.0 lib/cocina/models/request_file_set.rb