lib/openactive/models/schema/audio_object.rb in openactive-0.1.2 vs lib/openactive/models/schema/audio_object.rb in openactive-0.2.0
- old
+ new
@@ -6,18 +6,19 @@
# @return [String]
def type
"schema:AudioObject"
end
- # @return [String,OpenActive::Models::Schema::MediaObject]
- define_property :caption, as: "caption", types: [
+ # @return [String]
+ define_property :transcript, as: "transcript", types: [
"string",
- "OpenActive::Models::Schema::MediaObject",
]
- # @return [String]
- define_property :transcript, as: "transcript", types: [
+ # @return [String,OpenActive::Models::Schema::MediaObject,URI]
+ define_property :caption, as: "caption", types: [
"string",
+ "OpenActive::Models::Schema::MediaObject",
+ "URI",
]
end
end
end
end