lib/openactive/models/schema/communicate_action.rb in openactive-0.1.2 vs lib/openactive/models/schema/communicate_action.rb in openactive-0.2.0

- old
+ new

@@ -6,31 +6,35 @@ # @return [String] def type "schema:CommunicateAction" end - # @return [OpenActive::Models::Schema::Language] - define_property :language, as: "language", types: [ - "OpenActive::Models::Schema::Language", - ] - - # @return [OpenActive::Models::Schema::Person,OpenActive::Models::Schema::ContactPoint,OpenActive::Models::Schema::Organization,OpenActive::Models::Schema::Audience] + # @return [OpenActive::Models::Schema::Organization,OpenActive::Models::Schema::ContactPoint,OpenActive::Models::Schema::Person,OpenActive::Models::Schema::Audience,URI] define_property :recipient, as: "recipient", types: [ - "OpenActive::Models::Schema::Person", - "OpenActive::Models::Schema::ContactPoint", "OpenActive::Models::Schema::Organization", + "OpenActive::Models::Schema::ContactPoint", + "OpenActive::Models::Schema::Person", "OpenActive::Models::Schema::Audience", + "URI", ] - # @return [String,OpenActive::Models::Schema::Language] - define_property :in_language, as: "inLanguage", types: [ - "string", + # @return [OpenActive::Models::Schema::Language,URI] + define_property :language, as: "language", types: [ "OpenActive::Models::Schema::Language", + "URI", ] - # @return [OpenActive::Models::Schema::Thing] + # @return [OpenActive::Models::Schema::Thing,URI] define_property :about, as: "about", types: [ "OpenActive::Models::Schema::Thing", + "URI", + ] + + # @return [String,OpenActive::Models::Schema::Language,URI] + define_property :in_language, as: "inLanguage", types: [ + "string", + "OpenActive::Models::Schema::Language", + "URI", ] end end end end