public class LeagueAPI extends Object
| Constructor and Description |
|---|
LeagueAPI() |
| Modifier and Type | Method and Description |
|---|---|
String |
addTeam(Team team) |
void |
deleteTeam(String teamId) |
Fixture |
getFixture() |
Match |
getMatch(String homeTeamId,
String awayTeamId) |
Positions |
getPositions() |
Team |
getTeam(String teamId) |
Teams |
getTeams(String city) |
void |
initialize() |
void |
updateScore(String homeTeamId,
String awayTeamId,
Score score) |
void |
updateTeam(String teamId,
UpdateTeam updateTeam) |
public void initialize()
public void deleteTeam(String teamId) throws org.mule.module.apikit.exception.MuleRestException
org.mule.module.apikit.exception.MuleRestExceptionpublic Match getMatch(String homeTeamId, String awayTeamId) throws org.mule.module.apikit.exception.MuleRestException
org.mule.module.apikit.exception.MuleRestExceptionpublic Team getTeam(String teamId) throws org.mule.module.apikit.exception.MuleRestException
org.mule.module.apikit.exception.MuleRestExceptionpublic Positions getPositions() throws org.mule.module.apikit.exception.MuleRestException
org.mule.module.apikit.exception.MuleRestExceptionpublic Fixture getFixture()
public String addTeam(Team team) throws org.mule.module.apikit.exception.MuleRestException
org.mule.module.apikit.exception.MuleRestExceptionpublic void updateScore(String homeTeamId, String awayTeamId, Score score) throws org.mule.module.apikit.exception.MuleRestException
org.mule.module.apikit.exception.MuleRestExceptionpublic void updateTeam(String teamId, UpdateTeam updateTeam) throws org.mule.module.apikit.exception.MuleRestException
org.mule.module.apikit.exception.MuleRestExceptionCopyright © 2022. All rights reserved.