lib/openactive/models/person.rb in openactive-0.2.2 vs lib/openactive/models/person.rb in openactive-0.3.0
- old
+ new
@@ -35,23 +35,35 @@
# @return [String]
define_property :email, as: "email", types: [
"string",
]
+ # @return [OpenActive::Models::Person]
+ define_property :emergency_contact, as: "emergencyContact", types: [
+ "OpenActive::Models::Person",
+ ]
+
# @return [String]
define_property :family_name, as: "familyName", types: [
"string",
]
- # @return [OpenActive::Enums::Schema::GenderType,nil]
+ # @return [String,OpenActive::Enums::Schema::GenderType,nil]
define_property :gender, as: "gender", types: [
+ "string",
"OpenActive::Enums::Schema::GenderType",
"null",
]
# @return [String]
define_property :given_name, as: "givenName", types: [
"string",
+ ]
+
+ # @return [OpenActive::Models::CustomerAccount,URI]
+ define_property :has_account, as: "hasAccount", types: [
+ "OpenActive::Models::CustomerAccount",
+ "URI",
]
# @return [Boolean,nil]
define_property :is_open_booking_allowed, as: "isOpenBookingAllowed", types: [
"bool",