lib/openactive/models/schema/movie.rb in openactive-0.3.0 vs lib/openactive/models/schema/movie.rb in openactive-0.4.0

- old
+ new

@@ -6,74 +6,74 @@ # @return [String] def type "schema:Movie" end + # @return [OpenActive::Models::Schema::Person,URI] + define_property :actors, as: "actors", types: [ + "OpenActive::Models::Schema::Person", + "URI", + ] + # @return [OpenActive::Models::Schema::Country,URI] define_property :country_of_origin, as: "countryOfOrigin", types: [ "OpenActive::Models::Schema::Country", "URI", ] - # @return [OpenActive::Models::Schema::Person,URI] - define_property :director, as: "director", types: [ - "OpenActive::Models::Schema::Person", - "URI", - ] - # @return [URI,String] define_property :title_eidr, as: "titleEIDR", types: [ "URI", "string", ] - # @return [OpenActive::Models::Schema::Language,String,URI] - define_property :subtitle_language, as: "subtitleLanguage", types: [ - "OpenActive::Models::Schema::Language", - "string", + # @return [OpenActive::Models::Schema::VideoObject,URI] + define_property :trailer, as: "trailer", types: [ + "OpenActive::Models::Schema::VideoObject", "URI", ] - # @return [OpenActive::Models::Schema::Person,URI] - define_property :actor, as: "actor", types: [ + # @return [OpenActive::Models::Schema::Organization,URI] + define_property :production_company, as: "productionCompany", types: [ + "OpenActive::Models::Schema::Organization", + "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", "URI", ] - # @return [OpenActive::Models::Schema::VideoObject,URI] - define_property :trailer, as: "trailer", types: [ - "OpenActive::Models::Schema::VideoObject", + # @return [OpenActive::Models::Schema::Person,URI] + define_property :directors, as: "directors", types: [ + "OpenActive::Models::Schema::Person", "URI", ] # @return [ActiveSupport::Duration,URI,nil] define_property :duration, as: "duration", types: [ "DateInterval", "URI", "null", ] - # @return [OpenActive::Models::Schema::Organization,URI] - define_property :production_company, as: "productionCompany", types: [ - "OpenActive::Models::Schema::Organization", + # @return [String,OpenActive::Models::Schema::Language,URI] + define_property :subtitle_language, as: "subtitleLanguage", types: [ + "string", + "OpenActive::Models::Schema::Language", "URI", ] # @return [OpenActive::Models::Schema::Person,URI] - define_property :actors, as: "actors", types: [ + define_property :director, as: "director", types: [ "OpenActive::Models::Schema::Person", "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", - "URI", - ] - # @return [OpenActive::Models::Schema::Person,URI] - define_property :directors, as: "directors", types: [ + define_property :actor, as: "actor", types: [ "OpenActive::Models::Schema::Person", "URI", ] end end