Sha256: 6cbb9aa34ddddc61a23d8ae980bf93102eef2daa3446793cff41e4559b91d474

Contents?: true

Size: 791 Bytes

Versions: 4

Compression:

Stored size: 791 Bytes

Contents

module OpenActive
  module Models
    module Schema
      class ArchiveComponent < ::OpenActive::Models::Schema::CreativeWork
        # @!attribute type
        # @return [String]
        def type
          "schema:ArchiveComponent"
        end

        # @return [OpenActive::Models::Schema::Place,String,OpenActive::Models::Schema::PostalAddress]
        define_property :item_location, as: "itemLocation", types: [
          "OpenActive::Models::Schema::Place",
          "string",
          "OpenActive::Models::Schema::PostalAddress",
        ]

        # @return [OpenActive::Models::Schema::ArchiveOrganization]
        define_property :holding_archive, as: "holdingArchive", types: [
          "OpenActive::Models::Schema::ArchiveOrganization",
        ]
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
openactive-0.1.2 lib/openactive/models/schema/archive_component.rb
openactive-0.1.1 lib/openactive/models/schema/archive_component.rb
openactive-0.1.0 lib/openactive/models/schema/archive_component.rb
openactive-0.1.0.rc1 lib/openactive/models/schema/archive_component.rb