Sha256: 607f530927ce7cff12e62db35b9495d5ceb138f51248c487ebc8e9e92c525756
Contents?: true
Size: 1.33 KB
Versions: 3
Compression:
Stored size: 1.33 KB
Contents
# frozen_string_literal: true module Cocina module Models class Embargo < Struct # Access level. # Validation of this property is relaxed. See the openapi for full validation. attribute :access, 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) # If access is "location-based", which location should have access. # Validation of this property is relaxed. See the openapi for full validation. attribute :readLocation, 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) # Date when the Collection is released from an embargo. # example: 2029-06-22T07:00:00.000+00:00 attribute :releaseDate, Types::Params::DateTime # The human readable use and reproduction statement that applies when the embargo expires. # example: These materials are in the public domain. attribute :useAndReproductionStatement, Types::Strict::String.optional.meta(omittable: true) end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
cocina-models-0.67.1 | lib/cocina/models/embargo.rb |
cocina-models-0.67.0 | lib/cocina/models/embargo.rb |
cocina-models-0.66.0 | lib/cocina/models/embargo.rb |