lib/openactive/models/schema/creative_work_series.rb in openactive-0.2.2 vs lib/openactive/models/schema/creative_work_series.rb in openactive-0.3.0
- old
+ new
@@ -1,9 +1,9 @@
module OpenActive
module Models
module Schema
- class CreativeWorkSeries < ::OpenActive::Models::Schema::Series
+ class CreativeWorkSeries < ::OpenActive::Models::Schema::CreativeWork
# @!attribute type
# @return [String]
def type
"schema:CreativeWorkSeries"
end
@@ -13,19 +13,19 @@
"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",
+ ]
+
+ # @return [String]
+ define_property :issn, as: "issn", types: [
+ "string",
]
end
end
end
end