lib/openactive/models/schema/creative_work_season.rb in openactive-0.2.2 vs lib/openactive/models/schema/creative_work_season.rb in openactive-0.3.0
- old
+ new
@@ -6,23 +6,10 @@
# @return [String]
def type
"schema:CreativeWorkSeason"
end
- # @return [int,String,nil]
- define_property :season_number, as: "seasonNumber", types: [
- "int",
- "string",
- "null",
- ]
-
- # @return [OpenActive::Models::Schema::Person,URI]
- define_property :actor, as: "actor", types: [
- "OpenActive::Models::Schema::Person",
- "URI",
- ]
-
# @return [DateTime,Date,nil]
define_property :start_date, as: "startDate", types: [
"DateTime",
"Date",
"null",
@@ -32,19 +19,19 @@
define_property :director, as: "director", types: [
"OpenActive::Models::Schema::Person",
"URI",
]
- # @return [int,nil]
- define_property :number_of_episodes, as: "numberOfEpisodes", types: [
- "int",
- "null",
+ # @return [OpenActive::Models::Schema::Person,URI]
+ define_property :actor, as: "actor", types: [
+ "OpenActive::Models::Schema::Person",
+ "URI",
]
- # @return [OpenActive::Models::Schema::Episode,URI]
- define_property :episodes, as: "episodes", types: [
- "OpenActive::Models::Schema::Episode",
+ # @return [OpenActive::Models::Schema::VideoObject,URI]
+ define_property :trailer, as: "trailer", types: [
+ "OpenActive::Models::Schema::VideoObject",
"URI",
]
# @return [Date,DateTime,nil]
define_property :end_date, as: "endDate", types: [
@@ -52,29 +39,42 @@
"DateTime",
"null",
]
# @return [OpenActive::Models::Schema::Episode,URI]
- define_property :episode, as: "episode", types: [
+ define_property :episodes, as: "episodes", types: [
"OpenActive::Models::Schema::Episode",
"URI",
]
+ # @return [int,nil]
+ define_property :number_of_episodes, as: "numberOfEpisodes", types: [
+ "int",
+ "null",
+ ]
+
+ # @return [OpenActive::Models::Schema::CreativeWorkSeries,URI]
+ define_property :part_of_series, as: "partOfSeries", types: [
+ "OpenActive::Models::Schema::CreativeWorkSeries",
+ "URI",
+ ]
+
# @return [OpenActive::Models::Schema::Organization,URI]
define_property :production_company, as: "productionCompany", types: [
"OpenActive::Models::Schema::Organization",
"URI",
]
- # @return [OpenActive::Models::Schema::VideoObject,URI]
- define_property :trailer, as: "trailer", types: [
- "OpenActive::Models::Schema::VideoObject",
- "URI",
+ # @return [String,int,nil]
+ define_property :season_number, as: "seasonNumber", types: [
+ "string",
+ "int",
+ "null",
]
- # @return [OpenActive::Models::Schema::CreativeWorkSeries,URI]
- define_property :part_of_series, as: "partOfSeries", types: [
- "OpenActive::Models::Schema::CreativeWorkSeries",
+ # @return [OpenActive::Models::Schema::Episode,URI]
+ define_property :episode, as: "episode", types: [
+ "OpenActive::Models::Schema::Episode",
"URI",
]
end
end
end