def teams(self): """Get teams""" return TeamCollection(self, ResourcePath("teams"))
def joined_teams(self): """Get the teams in Microsoft Teams that the user is a direct member of.""" return self.properties.get( 'joinedTeams', TeamCollection(self.context, ResourcePath("joinedTeams", self.resource_path)))
def joinedTeams(self): """Get the teams in Microsoft Teams that the user is a direct member of.""" if self.is_property_available('joinedTeams'): return self.properties['joinedTeams'] else: return TeamCollection(self.context, ResourcePath("joinedTeams", self.resource_path))