class TeamsTemplate extends AbstractGithubTemplate implements TeamsOperations {

	@Override
	public Team updateTeam(long teamId, TeamRequest teamRequest) {
		Map<String, Object> uriVariables = new HashMap<>();
		uriVariables.put("teamid", teamId);

		RequestEntity<TeamRequest> entity = RequestEntity.patch(buildUri("/teams/{teamid}", uriVariables))
				.contentType(MediaType.APPLICATION_JSON).body(teamRequest);

		return getRestOperations().exchange(entity, Team.class).getBody();
	}

	public  TeamsTemplate(RestOperations restOperations, GithubApiUriUtil uriUtil);
	public  TeamsTemplate(RestOperations restOperations);

}