Skip to content

Commit 209e8bb

Browse files
Update data models (#35)
1 parent ccce624 commit 209e8bb

4 files changed

Lines changed: 19 additions & 5 deletions

File tree

lib/openactive/enums/order_item_status.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ class OrderItemStatus < TypesafeEnum::Base
66
new :SellerCancelled, "https://openactive.io/SellerCancelled"
77
new :CustomerCancelled, "https://openactive.io/CustomerCancelled"
88
new :OrderItemConfirmed, "https://openactive.io/OrderItemConfirmed"
9-
new :CustomerAttended, "https://openactive.io/CustomerAttended"
10-
new :CustomerAbsent, "https://openactive.io/CustomerAbsent"
9+
new :AttendeeAttended, "https://openactive.io/AttendeeAttended"
10+
new :AttendeeAbsent, "https://openactive.io/AttendeeAbsent"
1111
end
1212
end
1313
end

lib/openactive/files_index.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -719,6 +719,8 @@
719719
"/models/schema/ask_action.rb",
720720
"/models/schema/ask_public_news_article.rb",
721721
"/models/schema/assign_action.rb",
722+
"/models/attendee_absent_simulate_action.rb",
723+
"/models/attendee_attended_simulate_action.rb",
722724
"/models/schema/attorney.rb",
723725
"/models/audio_object.rb",
724726
"/models/schema/authorize_action.rb",
@@ -855,7 +857,6 @@
855857
"/models/schema/office_equipment_store.rb",
856858
"/models/opening_hours_specification.rb",
857859
"/models/schema/opinion_news_article.rb",
858-
"/models/opportunity_attendance_update_simulate_action.rb",
859860
"/models/schema/optician.rb",
860861
"/models/order_quote.rb",
861862
"/models/schema/outlet_store.rb",

lib/openactive/models/opportunity_attendance_update_simulate_action.rb renamed to lib/openactive/models/attendee_absent_simulate_action.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@ module OpenActive
22
module Models
33
# [NOTICE: This class is part of the Open Booking API Test Interface, and MUST NOT be used in production.]
44
# This type is derived from https://schema.org/Action, which means that any of this type's properties within schema.org may also be used.
5-
class OpportunityAttendanceUpdateSimulateAction < ::OpenActive::Models::OpenBookingSimulateAction
5+
class AttendeeAbsentSimulateAction < ::OpenActive::Models::OpenBookingSimulateAction
66
# @!attribute type
77
# @return [String]
88
def type
9-
"test:OpportunityAttendanceUpdateSimulateAction"
9+
"test:AttendeeAbsentSimulateAction"
1010
end
1111
end
1212
end
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
module OpenActive
2+
module Models
3+
# [NOTICE: This class is part of the Open Booking API Test Interface, and MUST NOT be used in production.]
4+
# This type is derived from https://schema.org/Action, which means that any of this type's properties within schema.org may also be used.
5+
class AttendeeAttendedSimulateAction < ::OpenActive::Models::OpenBookingSimulateAction
6+
# @!attribute type
7+
# @return [String]
8+
def type
9+
"test:AttendeeAttendedSimulateAction"
10+
end
11+
end
12+
end
13+
end

0 commit comments

Comments
 (0)