lib/openactive/models/schema/sports_team.rb in openactive-0.1.2 vs lib/openactive/models/schema/sports_team.rb in openactive-0.2.0
- old
+ new
@@ -6,24 +6,26 @@
# @return [String]
def type
"schema:SportsTeam"
end
+ # @return [OpenActive::Models::Schema::Person,URI]
+ define_property :coach, as: "coach", types: [
+ "OpenActive::Models::Schema::Person",
+ "URI",
+ ]
+
# @return [OpenActive::Enums::Schema::GenderType,String,nil]
define_property :gender, as: "gender", types: [
"OpenActive::Enums::Schema::GenderType",
"string",
"null",
]
- # @return [OpenActive::Models::Schema::Person]
- define_property :coach, as: "coach", types: [
- "OpenActive::Models::Schema::Person",
- ]
-
- # @return [OpenActive::Models::Schema::Person]
+ # @return [OpenActive::Models::Schema::Person,URI]
define_property :athlete, as: "athlete", types: [
"OpenActive::Models::Schema::Person",
+ "URI",
]
end
end
end
end