Sha256: 95259b55260383ec946a049967d59e912777575cbce101ba446c5852434dc8a6

Contents?: true

Size: 951 Bytes

Versions: 4

Compression:

Stored size: 951 Bytes

Contents

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

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

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

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

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

Version data entries

4 entries across 4 versions & 1 rubygems

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