module OpenActive module Models module Schema class Message < ::OpenActive::Models::Schema::CreativeWork # @!attribute type # @return [String] def type "schema:Message" end # @return [OpenActive::Models::Schema::Audience,OpenActive::Models::Schema::Person,OpenActive::Models::Schema::Organization] define_property :sender, as: "sender", types: [ "OpenActive::Models::Schema::Audience", "OpenActive::Models::Schema::Person", "OpenActive::Models::Schema::Organization", ] # @return [OpenActive::Models::Schema::ContactPoint,OpenActive::Models::Schema::Person,OpenActive::Models::Schema::Organization,OpenActive::Models::Schema::Audience] define_property :to_recipient, as: "toRecipient", types: [ "OpenActive::Models::Schema::ContactPoint", "OpenActive::Models::Schema::Person", "OpenActive::Models::Schema::Organization", "OpenActive::Models::Schema::Audience", ] # @return [DateTime,nil] define_property :date_received, as: "dateReceived", types: [ "DateTime", "null", ] # @return [OpenActive::Models::Schema::CreativeWork] define_property :message_attachment, as: "messageAttachment", types: [ "OpenActive::Models::Schema::CreativeWork", ] # @return [OpenActive::Models::Schema::Person,OpenActive::Models::Schema::ContactPoint,OpenActive::Models::Schema::Organization,OpenActive::Models::Schema::Audience] define_property :recipient, as: "recipient", types: [ "OpenActive::Models::Schema::Person", "OpenActive::Models::Schema::ContactPoint", "OpenActive::Models::Schema::Organization", "OpenActive::Models::Schema::Audience", ] # @return [OpenActive::Models::Schema::Person,OpenActive::Models::Schema::ContactPoint,OpenActive::Models::Schema::Organization] define_property :cc_recipient, as: "ccRecipient", types: [ "OpenActive::Models::Schema::Person", "OpenActive::Models::Schema::ContactPoint", "OpenActive::Models::Schema::Organization", ] # @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: [ "DateTime", "Date", "null", ] end end end end