Sha256: 98871481d7d20d367db30f2b8b5fd9bd1ed850065b4852c4ccfdcd913ac4ce65

Contents?: true

Size: 972 Bytes

Versions: 3

Compression:

Stored size: 972 Bytes

Contents

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

        # @return [DateTime,Date,nil]
        define_property :date_modified, as: "dateModified", types: [
          "DateTime",
          "Date",
          "null",
        ]

        # @return [OpenActive::Models::Schema::Thing,URI]
        define_property :item, as: "item", types: [
          "OpenActive::Models::Schema::Thing",
          "URI",
        ]

        # @return [DateTime,Date,nil]
        define_property :date_created, as: "dateCreated", types: [
          "DateTime",
          "Date",
          "null",
        ]

        # @return [DateTime,Date,nil]
        define_property :date_deleted, as: "dateDeleted", types: [
          "DateTime",
          "Date",
          "null",
        ]
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
openactive-0.2.2 lib/openactive/models/schema/data_feed_item.rb
openactive-0.2.1 lib/openactive/models/schema/data_feed_item.rb
openactive-0.2.0 lib/openactive/models/schema/data_feed_item.rb