lib/openactive/models/schema/clip.rb in openactive-0.2.2 vs lib/openactive/models/schema/clip.rb in openactive-0.3.0
- old
+ new
@@ -6,18 +6,28 @@
# @return [String]
def type
"schema:Clip"
end
- # @return [OpenActive::Models::Schema::CreativeWorkSeason,URI]
- define_property :part_of_season, as: "partOfSeason", types: [
- "OpenActive::Models::Schema::CreativeWorkSeason",
+ # @return [BigDecimal,OpenActive::Models::Schema::HyperTocEntry,URI,nil]
+ define_property :start_offset, as: "startOffset", types: [
+ "Number",
+ "OpenActive::Models::Schema::HyperTocEntry",
"URI",
+ "null",
]
+ # @return [BigDecimal,OpenActive::Models::Schema::HyperTocEntry,URI,nil]
+ define_property :end_offset, as: "endOffset", types: [
+ "Number",
+ "OpenActive::Models::Schema::HyperTocEntry",
+ "URI",
+ "null",
+ ]
+
# @return [OpenActive::Models::Schema::Person,URI]
- define_property :directors, as: "directors", types: [
+ define_property :director, as: "director", types: [
"OpenActive::Models::Schema::Person",
"URI",
]
# @return [OpenActive::Models::Schema::Person,URI]
@@ -30,55 +40,45 @@
define_property :part_of_episode, as: "partOfEpisode", types: [
"OpenActive::Models::Schema::Episode",
"URI",
]
- # @return [int,String,nil]
+ # @return [String,int,nil]
define_property :clip_number, as: "clipNumber", types: [
- "int",
"string",
+ "int",
"null",
]
- # @return [OpenActive::Models::Schema::Person,URI]
- define_property :director, as: "director", types: [
- "OpenActive::Models::Schema::Person",
+ # @return [OpenActive::Models::Schema::CreativeWorkSeries,URI]
+ define_property :part_of_series, as: "partOfSeries", types: [
+ "OpenActive::Models::Schema::CreativeWorkSeries",
"URI",
]
- # @return [OpenActive::Models::Schema::Person,OpenActive::Models::Schema::MusicGroup,URI]
- define_property :music_by, as: "musicBy", types: [
- "OpenActive::Models::Schema::Person",
- "OpenActive::Models::Schema::MusicGroup",
+ # @return [OpenActive::Models::Schema::CreativeWorkSeason,URI]
+ define_property :part_of_season, as: "partOfSeason", types: [
+ "OpenActive::Models::Schema::CreativeWorkSeason",
"URI",
]
- # @return [OpenActive::Models::Schema::HyperTocEntry,BigDecimal,URI,nil]
- define_property :end_offset, as: "endOffset", types: [
- "OpenActive::Models::Schema::HyperTocEntry",
- "Number",
- "URI",
- "null",
- ]
-
# @return [OpenActive::Models::Schema::Person,URI]
define_property :actors, as: "actors", types: [
"OpenActive::Models::Schema::Person",
"URI",
]
- # @return [OpenActive::Models::Schema::CreativeWorkSeries,URI]
- define_property :part_of_series, as: "partOfSeries", types: [
- "OpenActive::Models::Schema::CreativeWorkSeries",
+ # @return [OpenActive::Models::Schema::Person,OpenActive::Models::Schema::MusicGroup,URI]
+ define_property :music_by, as: "musicBy", types: [
+ "OpenActive::Models::Schema::Person",
+ "OpenActive::Models::Schema::MusicGroup",
"URI",
]
- # @return [OpenActive::Models::Schema::HyperTocEntry,BigDecimal,URI,nil]
- define_property :start_offset, as: "startOffset", types: [
- "OpenActive::Models::Schema::HyperTocEntry",
- "Number",
+ # @return [OpenActive::Models::Schema::Person,URI]
+ define_property :directors, as: "directors", types: [
+ "OpenActive::Models::Schema::Person",
"URI",
- "null",
]
end
end
end
end