Sha256: 4a7bd757dd3d7dab49ac96e1e44e6902ecbfe48b7242d5f214948cebe01bc5c0

Contents?: true

Size: 717 Bytes

Versions: 7

Compression:

Stored size: 717 Bytes

Contents

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

        # @return [DateTime,Date,nil]
        define_property :start_date, as: "startDate", types: [
          "DateTime",
          "Date",
          "null",
        ]

        # @return [String]
        define_property :issn, as: "issn", types: [
          "string",
        ]

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

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
openactive-0.2.2 lib/openactive/models/schema/creative_work_series.rb
openactive-0.2.1 lib/openactive/models/schema/creative_work_series.rb
openactive-0.2.0 lib/openactive/models/schema/creative_work_series.rb
openactive-0.1.2 lib/openactive/models/schema/creative_work_series.rb
openactive-0.1.1 lib/openactive/models/schema/creative_work_series.rb
openactive-0.1.0 lib/openactive/models/schema/creative_work_series.rb
openactive-0.1.0.rc1 lib/openactive/models/schema/creative_work_series.rb