lib/openactive/models/schema/reservation.rb in openactive-0.2.2 vs lib/openactive/models/schema/reservation.rb in openactive-0.3.0
- old
+ new
@@ -6,34 +6,44 @@
# @return [String]
def type
"schema:Reservation"
end
- # @return [OpenActive::Models::Schema::Person,OpenActive::Models::Schema::Organization,URI]
- define_property :under_name, as: "underName", types: [
- "OpenActive::Models::Schema::Person",
- "OpenActive::Models::Schema::Organization",
+ # @return [DateTime,nil]
+ define_property :modified_time, as: "modifiedTime", types: [
+ "DateTime",
+ "null",
+ ]
+
+ # @return [OpenActive::Models::Schema::PriceSpecification,BigDecimal,String,URI,nil]
+ define_property :total_price, as: "totalPrice", types: [
+ "OpenActive::Models::Schema::PriceSpecification",
+ "Number",
+ "string",
"URI",
+ "null",
]
+ # @return [OpenActive::Models::Schema::Ticket,URI]
+ define_property :reserved_ticket, as: "reservedTicket", types: [
+ "OpenActive::Models::Schema::Ticket",
+ "URI",
+ ]
+
# @return [OpenActive::Models::Schema::ReservationStatusType,URI]
define_property :reservation_status, as: "reservationStatus", types: [
"OpenActive::Models::Schema::ReservationStatusType",
"URI",
]
- # @return [OpenActive::Models::Schema::ProgramMembership,URI]
- define_property :program_membership_used, as: "programMembershipUsed", types: [
- "OpenActive::Models::Schema::ProgramMembership",
+ # @return [OpenActive::Models::Schema::Organization,OpenActive::Models::Schema::Person,URI]
+ define_property :provider, as: "provider", types: [
+ "OpenActive::Models::Schema::Organization",
+ "OpenActive::Models::Schema::Person",
"URI",
]
- # @return [String]
- define_property :price_currency, as: "priceCurrency", types: [
- "string",
- ]
-
# @return [OpenActive::Models::Schema::Person,OpenActive::Models::Schema::Organization,URI]
define_property :broker, as: "broker", types: [
"OpenActive::Models::Schema::Person",
"OpenActive::Models::Schema::Organization",
"URI",
@@ -43,52 +53,42 @@
define_property :booking_time, as: "bookingTime", types: [
"DateTime",
"null",
]
- # @return [OpenActive::Models::Schema::Organization,OpenActive::Models::Schema::Person,URI]
- define_property :provider, as: "provider", types: [
- "OpenActive::Models::Schema::Organization",
+ # @return [OpenActive::Models::Schema::ProgramMembership,URI]
+ define_property :program_membership_used, as: "programMembershipUsed", types: [
+ "OpenActive::Models::Schema::ProgramMembership",
+ "URI",
+ ]
+
+ # @return [OpenActive::Models::Schema::Person,OpenActive::Models::Schema::Organization,URI]
+ define_property :booking_agent, as: "bookingAgent", types: [
"OpenActive::Models::Schema::Person",
+ "OpenActive::Models::Schema::Organization",
"URI",
]
# @return [String]
- define_property :reservation_id, as: "reservationId", types: [
+ define_property :price_currency, as: "priceCurrency", types: [
"string",
]
- # @return [DateTime,nil]
- define_property :modified_time, as: "modifiedTime", types: [
- "DateTime",
- "null",
+ # @return [String]
+ define_property :reservation_id, as: "reservationId", types: [
+ "string",
]
- # @return [BigDecimal,String,OpenActive::Models::Schema::PriceSpecification,URI,nil]
- define_property :total_price, as: "totalPrice", types: [
- "Number",
- "string",
- "OpenActive::Models::Schema::PriceSpecification",
+ # @return [OpenActive::Models::Schema::Organization,OpenActive::Models::Schema::Person,URI]
+ define_property :under_name, as: "underName", types: [
+ "OpenActive::Models::Schema::Organization",
+ "OpenActive::Models::Schema::Person",
"URI",
- "null",
]
# @return [OpenActive::Models::Schema::Thing,URI]
define_property :reservation_for, as: "reservationFor", types: [
"OpenActive::Models::Schema::Thing",
- "URI",
- ]
-
- # @return [OpenActive::Models::Schema::Person,OpenActive::Models::Schema::Organization,URI]
- define_property :booking_agent, as: "bookingAgent", types: [
- "OpenActive::Models::Schema::Person",
- "OpenActive::Models::Schema::Organization",
- "URI",
- ]
-
- # @return [OpenActive::Models::Schema::Ticket,URI]
- define_property :reserved_ticket, as: "reservedTicket", types: [
- "OpenActive::Models::Schema::Ticket",
"URI",
]
end
end
end