lib/openactive/models/schema/message.rb in openactive-0.2.2 vs lib/openactive/models/schema/message.rb in openactive-0.3.0
- old
+ new
@@ -6,73 +6,73 @@
# @return [String]
def type
"schema:Message"
end
- # @return [OpenActive::Models::Schema::Person,OpenActive::Models::Schema::Audience,OpenActive::Models::Schema::Organization,URI]
- define_property :sender, as: "sender", types: [
+ # @return [OpenActive::Models::Schema::Person,OpenActive::Models::Schema::ContactPoint,OpenActive::Models::Schema::Organization,URI]
+ define_property :bcc_recipient, as: "bccRecipient", types: [
"OpenActive::Models::Schema::Person",
+ "OpenActive::Models::Schema::ContactPoint",
+ "OpenActive::Models::Schema::Organization",
+ "URI",
+ ]
+
+ # @return [OpenActive::Models::Schema::Person,OpenActive::Models::Schema::Audience,OpenActive::Models::Schema::ContactPoint,OpenActive::Models::Schema::Organization,URI]
+ define_property :recipient, as: "recipient", types: [
+ "OpenActive::Models::Schema::Person",
"OpenActive::Models::Schema::Audience",
+ "OpenActive::Models::Schema::ContactPoint",
"OpenActive::Models::Schema::Organization",
"URI",
]
- # @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::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",
+ # @return [OpenActive::Models::Schema::Person,OpenActive::Models::Schema::Organization,OpenActive::Models::Schema::ContactPoint,URI]
+ define_property :cc_recipient, as: "ccRecipient", types: [
"OpenActive::Models::Schema::Person",
"OpenActive::Models::Schema::Organization",
+ "OpenActive::Models::Schema::ContactPoint",
"URI",
]
# @return [OpenActive::Models::Schema::CreativeWork,URI]
define_property :message_attachment, as: "messageAttachment", types: [
"OpenActive::Models::Schema::CreativeWork",
"URI",
]
- # @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::Organization",
+ # @return [OpenActive::Models::Schema::ContactPoint,OpenActive::Models::Schema::Person,OpenActive::Models::Schema::Audience,OpenActive::Models::Schema::Organization,URI]
+ define_property :to_recipient, as: "toRecipient", types: [
"OpenActive::Models::Schema::ContactPoint",
"OpenActive::Models::Schema::Person",
"OpenActive::Models::Schema::Audience",
- "URI",
- ]
-
- # @return [OpenActive::Models::Schema::ContactPoint,OpenActive::Models::Schema::Person,OpenActive::Models::Schema::Organization,URI]
- define_property :cc_recipient, as: "ccRecipient", types: [
- "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 [DateTime,nil]
- define_property :date_received, as: "dateReceived", types: [
+ # @return [Date,DateTime,nil]
+ define_property :date_read, as: "dateRead", types: [
+ "Date",
"DateTime",
"null",
]
- # @return [OpenActive::Models::Schema::Person,OpenActive::Models::Schema::Organization,OpenActive::Models::Schema::ContactPoint,URI]
- define_property :bcc_recipient, as: "bccRecipient", types: [
+ # @return [OpenActive::Models::Schema::Person,OpenActive::Models::Schema::Audience,OpenActive::Models::Schema::Organization,URI]
+ define_property :sender, as: "sender", types: [
"OpenActive::Models::Schema::Person",
+ "OpenActive::Models::Schema::Audience",
"OpenActive::Models::Schema::Organization",
- "OpenActive::Models::Schema::ContactPoint",
"URI",
]
end
end
end