Sha256: 29f6c0f69016ba33e37a6ee3e8fe7a92b7b5e6cb87bf7e71afa75cbd9e7149f4

Contents?: true

Size: 1.43 KB

Versions: 21

Compression:

Stored size: 1.43 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')
      # Download access level.
      # Validation of this property is relaxed. See the openapi for full validation.
      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
      # Validation of this property is relaxed. See the openapi for full validation.
      attribute? :controlledDigitalLending, Types::Strict::Bool.optional.default(false)
      # 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
      # example: Property rights reside with the repository. Literary rights reside with the creators of the documents or their heirs. To obtain permission to publish or reproduce, please contact the Public Services Librarian of the Dept. of Special Collections (http://library.stanford.edu/spc).
      attribute? :useAndReproductionStatement, UseAndReproductionStatement.optional
    end
  end
end

Version data entries

21 entries across 21 versions & 1 rubygems

Version Path
cocina-models-0.99.1 lib/cocina/models/embargo.rb
cocina-models-0.99.0 lib/cocina/models/embargo.rb
cocina-models-0.98.1 lib/cocina/models/embargo.rb
cocina-models-0.98.0 lib/cocina/models/embargo.rb
cocina-models-0.96.0 lib/cocina/models/embargo.rb
cocina-models-0.95.1 lib/cocina/models/embargo.rb
cocina-models-0.95.0 lib/cocina/models/embargo.rb
cocina-models-0.94.2 lib/cocina/models/embargo.rb
cocina-models-0.94.1 lib/cocina/models/embargo.rb
cocina-models-0.94.0 lib/cocina/models/embargo.rb
cocina-models-0.93.1 lib/cocina/models/embargo.rb
cocina-models-0.93.0 lib/cocina/models/embargo.rb
cocina-models-0.92.0 lib/cocina/models/embargo.rb
cocina-models-0.91.4 lib/cocina/models/embargo.rb
cocina-models-0.91.3 lib/cocina/models/embargo.rb
cocina-models-0.91.2 lib/cocina/models/embargo.rb
cocina-models-0.91.1 lib/cocina/models/embargo.rb
cocina-models-0.91.0 lib/cocina/models/embargo.rb
cocina-models-0.90.0 lib/cocina/models/embargo.rb
cocina-models-0.89.1 lib/cocina/models/embargo.rb