lib/openactive/models/schema/reservation.rb in openactive-0.3.0 vs lib/openactive/models/schema/reservation.rb in openactive-0.4.0
- old
+ new
@@ -6,89 +6,89 @@
# @return [String]
def type
"schema:Reservation"
end
+ # @return [OpenActive::Models::Schema::Organization,OpenActive::Models::Schema::Person,URI]
+ define_property :booking_agent, as: "bookingAgent", types: [
+ "OpenActive::Models::Schema::Organization",
+ "OpenActive::Models::Schema::Person",
+ "URI",
+ ]
+
# @return [DateTime,nil]
- define_property :modified_time, as: "modifiedTime", types: [
+ define_property :booking_time, as: "bookingTime", types: [
"DateTime",
"null",
]
- # @return [OpenActive::Models::Schema::PriceSpecification,BigDecimal,String,URI,nil]
- define_property :total_price, as: "totalPrice", types: [
- "OpenActive::Models::Schema::PriceSpecification",
- "Number",
+ # @return [String]
+ define_property :price_currency, as: "priceCurrency", types: [
"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 [DateTime,nil]
+ define_property :modified_time, as: "modifiedTime", types: [
+ "DateTime",
+ "null",
]
- # @return [OpenActive::Models::Schema::Organization,OpenActive::Models::Schema::Person,URI]
- define_property :provider, as: "provider", types: [
- "OpenActive::Models::Schema::Organization",
- "OpenActive::Models::Schema::Person",
+ # @return [OpenActive::Models::Schema::Thing,URI]
+ define_property :reservation_for, as: "reservationFor", types: [
+ "OpenActive::Models::Schema::Thing",
"URI",
]
+ # @return [String]
+ define_property :reservation_id, as: "reservationId", 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",
]
- # @return [DateTime,nil]
- define_property :booking_time, as: "bookingTime", types: [
- "DateTime",
+ # @return [String,BigDecimal,OpenActive::Models::Schema::PriceSpecification,URI,nil]
+ define_property :total_price, as: "totalPrice", types: [
+ "string",
+ "Number",
+ "OpenActive::Models::Schema::PriceSpecification",
+ "URI",
"null",
]
- # @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: [
+ define_property :provider, as: "provider", types: [
"OpenActive::Models::Schema::Person",
"OpenActive::Models::Schema::Organization",
"URI",
]
- # @return [String]
- define_property :price_currency, as: "priceCurrency", types: [
- "string",
+ # @return [OpenActive::Models::Schema::ReservationStatusType,URI]
+ define_property :reservation_status, as: "reservationStatus", types: [
+ "OpenActive::Models::Schema::ReservationStatusType",
+ "URI",
]
- # @return [String]
- define_property :reservation_id, as: "reservationId", types: [
- "string",
- ]
-
# @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",
]
- # @return [OpenActive::Models::Schema::Thing,URI]
- define_property :reservation_for, as: "reservationFor", types: [
- "OpenActive::Models::Schema::Thing",
+ # @return [OpenActive::Models::Schema::ProgramMembership,URI]
+ define_property :program_membership_used, as: "programMembershipUsed", types: [
+ "OpenActive::Models::Schema::ProgramMembership",
"URI",
]
end
end
end