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

- old
+ new

@@ -6,68 +6,74 @@ # @return [String] def type "schema:Message" end - # @return [OpenActive::Models::Schema::Audience,OpenActive::Models::Schema::Person,OpenActive::Models::Schema::Organization] + # @return [OpenActive::Models::Schema::Person,OpenActive::Models::Schema::Audience,OpenActive::Models::Schema::Organization,URI] define_property :sender, as: "sender", types: [ - "OpenActive::Models::Schema::Audience", "OpenActive::Models::Schema::Person", + "OpenActive::Models::Schema::Audience", "OpenActive::Models::Schema::Organization", + "URI", ] - # @return [OpenActive::Models::Schema::ContactPoint,OpenActive::Models::Schema::Person,OpenActive::Models::Schema::Organization,OpenActive::Models::Schema::Audience] + # @return [DateTime,Date,nil] + define_property :date_read, as: "dateRead", types: [ + "DateTime", + "Date", + "null", + ] + + # @return [OpenActive::Models::Schema::ContactPoint,OpenActive::Models::Schema::Audience,OpenActive::Models::Schema::Person,OpenActive::Models::Schema::Organization,URI] define_property :to_recipient, as: "toRecipient", types: [ "OpenActive::Models::Schema::ContactPoint", + "OpenActive::Models::Schema::Audience", "OpenActive::Models::Schema::Person", "OpenActive::Models::Schema::Organization", - "OpenActive::Models::Schema::Audience", + "URI", ] - # @return [DateTime,nil] - define_property :date_received, as: "dateReceived", types: [ - "DateTime", - "null", - ] - - # @return [OpenActive::Models::Schema::CreativeWork] + # @return [OpenActive::Models::Schema::CreativeWork,URI] define_property :message_attachment, as: "messageAttachment", types: [ "OpenActive::Models::Schema::CreativeWork", + "URI", ] - # @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 [OpenActive::Models::Schema::Person,OpenActive::Models::Schema::ContactPoint,OpenActive::Models::Schema::Organization] + # @return [OpenActive::Models::Schema::ContactPoint,OpenActive::Models::Schema::Person,OpenActive::Models::Schema::Organization,URI] define_property :cc_recipient, as: "ccRecipient", types: [ - "OpenActive::Models::Schema::Person", "OpenActive::Models::Schema::ContactPoint", + "OpenActive::Models::Schema::Person", "OpenActive::Models::Schema::Organization", + "URI", ] # @return [DateTime,nil] define_property :date_sent, as: "dateSent", types: [ "DateTime", "null", ] - # @return [OpenActive::Models::Schema::ContactPoint,OpenActive::Models::Schema::Organization,OpenActive::Models::Schema::Person] - define_property :bcc_recipient, as: "bccRecipient", types: [ - "OpenActive::Models::Schema::ContactPoint", - "OpenActive::Models::Schema::Organization", - "OpenActive::Models::Schema::Person", - ] - - # @return [DateTime,Date,nil] - define_property :date_read, as: "dateRead", types: [ + # @return [DateTime,nil] + define_property :date_received, as: "dateReceived", types: [ "DateTime", - "Date", "null", + ] + + # @return [OpenActive::Models::Schema::Person,OpenActive::Models::Schema::Organization,OpenActive::Models::Schema::ContactPoint,URI] + define_property :bcc_recipient, as: "bccRecipient", types: [ + "OpenActive::Models::Schema::Person", + "OpenActive::Models::Schema::Organization", + "OpenActive::Models::Schema::ContactPoint", + "URI", ] end end end end