lib/openactive/models/schema/clip.rb in openactive-0.1.2 vs lib/openactive/models/schema/clip.rb in openactive-0.2.0
- old
+ new
@@ -6,67 +6,79 @@
# @return [String]
def type
"schema:Clip"
end
- # @return [OpenActive::Models::Schema::Person]
+ # @return [OpenActive::Models::Schema::CreativeWorkSeason,URI]
+ define_property :part_of_season, as: "partOfSeason", types: [
+ "OpenActive::Models::Schema::CreativeWorkSeason",
+ "URI",
+ ]
+
+ # @return [OpenActive::Models::Schema::Person,URI]
define_property :directors, as: "directors", types: [
"OpenActive::Models::Schema::Person",
+ "URI",
]
- # @return [BigDecimal,nil]
- define_property :start_offset, as: "startOffset", types: [
- "Number",
- "null",
- ]
-
- # @return [OpenActive::Models::Schema::Person]
+ # @return [OpenActive::Models::Schema::Person,URI]
define_property :actor, as: "actor", types: [
"OpenActive::Models::Schema::Person",
+ "URI",
]
- # @return [BigDecimal,nil]
- define_property :end_offset, as: "endOffset", types: [
- "Number",
- "null",
+ # @return [OpenActive::Models::Schema::Episode,URI]
+ define_property :part_of_episode, as: "partOfEpisode", types: [
+ "OpenActive::Models::Schema::Episode",
+ "URI",
]
- # @return [String,int,nil]
+ # @return [int,String,nil]
define_property :clip_number, as: "clipNumber", types: [
- "string",
"int",
+ "string",
"null",
]
- # @return [OpenActive::Models::Schema::Person]
- define_property :actors, as: "actors", types: [
+ # @return [OpenActive::Models::Schema::Person,URI]
+ define_property :director, as: "director", types: [
"OpenActive::Models::Schema::Person",
+ "URI",
]
- # @return [OpenActive::Models::Schema::Person]
- define_property :director, as: "director", types: [
+ # @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::CreativeWorkSeries]
- define_property :part_of_series, as: "partOfSeries", types: [
- "OpenActive::Models::Schema::CreativeWorkSeries",
+ # @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::MusicGroup,OpenActive::Models::Schema::Person]
- define_property :music_by, as: "musicBy", types: [
- "OpenActive::Models::Schema::MusicGroup",
+ # @return [OpenActive::Models::Schema::Person,URI]
+ define_property :actors, as: "actors", types: [
"OpenActive::Models::Schema::Person",
+ "URI",
]
- # @return [OpenActive::Models::Schema::CreativeWorkSeason]
- define_property :part_of_season, as: "partOfSeason", types: [
- "OpenActive::Models::Schema::CreativeWorkSeason",
+ # @return [OpenActive::Models::Schema::CreativeWorkSeries,URI]
+ define_property :part_of_series, as: "partOfSeries", types: [
+ "OpenActive::Models::Schema::CreativeWorkSeries",
+ "URI",
]
- # @return [OpenActive::Models::Schema::Episode]
- define_property :part_of_episode, as: "partOfEpisode", types: [
- "OpenActive::Models::Schema::Episode",
+ # @return [OpenActive::Models::Schema::HyperTocEntry,BigDecimal,URI,nil]
+ define_property :start_offset, as: "startOffset", types: [
+ "OpenActive::Models::Schema::HyperTocEntry",
+ "Number",
+ "URI",
+ "null",
]
end
end
end
end