Sha256: dfe5930021e987f3093575c309db0f4c5143d5d7873bc61d084e993d7e8018b9

Contents?: true

Size: 833 Bytes

Versions: 5

Compression:

Stored size: 833 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::ArchiveOrganization,URI]
        define_property :holding_archive, as: "holdingArchive", types: [
          "OpenActive::Models::Schema::ArchiveOrganization",
          "URI",
        ]

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

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
openactive-0.5.0 lib/openactive/models/schema/archive_component.rb
openactive-0.4.0 lib/openactive/models/schema/archive_component.rb
openactive-0.2.2 lib/openactive/models/schema/archive_component.rb
openactive-0.2.1 lib/openactive/models/schema/archive_component.rb
openactive-0.2.0 lib/openactive/models/schema/archive_component.rb