lib/openactive/models/schema/program_membership.rb in openactive-0.1.2 vs lib/openactive/models/schema/program_membership.rb in openactive-0.2.0
- old
+ new
@@ -6,41 +6,45 @@
# @return [String]
def type
"schema:ProgramMembership"
end
- # @return [OpenActive::Models::Schema::QuantitativeValue,BigDecimal,nil]
+ # @return [OpenActive::Models::Schema::QuantitativeValue,BigDecimal,URI,nil]
define_property :membership_points_earned, as: "membershipPointsEarned", types: [
"OpenActive::Models::Schema::QuantitativeValue",
"Number",
+ "URI",
"null",
]
# @return [String]
- define_property :program_name, as: "programName", types: [
+ define_property :membership_number, as: "membershipNumber", types: [
"string",
]
- # @return [OpenActive::Models::Schema::Organization]
- define_property :hosting_organization, as: "hostingOrganization", types: [
+ # @return [OpenActive::Models::Schema::Person,OpenActive::Models::Schema::Organization,URI]
+ define_property :members, as: "members", types: [
+ "OpenActive::Models::Schema::Person",
"OpenActive::Models::Schema::Organization",
+ "URI",
]
- # @return [OpenActive::Models::Schema::Organization,OpenActive::Models::Schema::Person]
- define_property :member, as: "member", types: [
- "OpenActive::Models::Schema::Organization",
- "OpenActive::Models::Schema::Person",
+ # @return [String]
+ define_property :program_name, as: "programName", types: [
+ "string",
]
- # @return [OpenActive::Models::Schema::Organization,OpenActive::Models::Schema::Person]
- define_property :members, as: "members", types: [
+ # @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::Organization,URI]
+ define_property :hosting_organization, as: "hostingOrganization", types: [
+ "OpenActive::Models::Schema::Organization",
+ "URI",
]
end
end
end
end