lib/openactive/models/schema/program_membership.rb in openactive-0.2.2 vs lib/openactive/models/schema/program_membership.rb in openactive-0.3.0
- old
+ new
@@ -6,43 +6,43 @@
# @return [String]
def type
"schema:ProgramMembership"
end
- # @return [OpenActive::Models::Schema::QuantitativeValue,BigDecimal,URI,nil]
+ # @return [BigDecimal,OpenActive::Models::Schema::QuantitativeValue,URI,nil]
define_property :membership_points_earned, as: "membershipPointsEarned", types: [
- "OpenActive::Models::Schema::QuantitativeValue",
"Number",
+ "OpenActive::Models::Schema::QuantitativeValue",
"URI",
"null",
]
+ # @return [OpenActive::Models::Schema::Organization,OpenActive::Models::Schema::Person,URI]
+ define_property :member, as: "member", types: [
+ "OpenActive::Models::Schema::Organization",
+ "OpenActive::Models::Schema::Person",
+ "URI",
+ ]
+
# @return [String]
define_property :membership_number, as: "membershipNumber", types: [
"string",
]
- # @return [OpenActive::Models::Schema::Person,OpenActive::Models::Schema::Organization,URI]
- define_property :members, as: "members", types: [
- "OpenActive::Models::Schema::Person",
+ # @return [OpenActive::Models::Schema::Organization,URI]
+ define_property :hosting_organization, as: "hostingOrganization", types: [
"OpenActive::Models::Schema::Organization",
"URI",
]
# @return [String]
define_property :program_name, as: "programName", types: [
"string",
]
- # @return [OpenActive::Models::Schema::Organization,OpenActive::Models::Schema::Person,URI]
- define_property :member, as: "member", types: [
- "OpenActive::Models::Schema::Organization",
+ # @return [OpenActive::Models::Schema::Person,OpenActive::Models::Schema::Organization,URI]
+ define_property :members, as: "members", types: [
"OpenActive::Models::Schema::Person",
- "URI",
- ]
-
- # @return [OpenActive::Models::Schema::Organization,URI]
- define_property :hosting_organization, as: "hostingOrganization", types: [
"OpenActive::Models::Schema::Organization",
"URI",
]
end
end