Sha256: 8ec6721f0f6a2b71b3f2c2b05491c0cdc50ba6eb5b6cc87428895fd6ee2799fe
Contents?: true
Size: 1.3 KB
Versions: 17
Compression:
Stored size: 1.3 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 :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) # 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
17 entries across 17 versions & 1 rubygems