Package com.sportdataapi.data
Class OddsData
java.lang.Object
com.sportdataapi.data.OddsData
public class OddsData
extends java.lang.Object
Odds data information.
- Author:
- ralph
-
Constructor Summary
Constructors Constructor Description OddsData()
Constructor. -
Method Summary
Modifier and Type Method Description java.lang.String
getAway()
Returns the away.java.lang.String
getDraw()
Returns the draw.java.lang.String
getHandicap()
Returns the handicap.java.lang.String
getHome()
Returns the home.java.lang.String
getMinute()
Returns the minute.java.lang.String
getOver()
Returns the over.MatchResult
getScore()
Returns the score.java.lang.String
getUnder()
Returns the under.void
setAway(java.lang.String away)
Sets the away.void
setDraw(java.lang.String draw)
Sets the draw.void
setHandicap(java.lang.String handicap)
Sets the handicap.void
setHome(java.lang.String home)
Sets the home.void
setMinute(java.lang.String minute)
Sets the minute.void
setOver(java.lang.String over)
Sets the over.void
setScore(MatchResult score)
Sets the score.void
setUnder(java.lang.String under)
Sets the under.java.lang.String
toString()
-
Constructor Details
-
OddsData
public OddsData()Constructor.
-
-
Method Details
-
getHome
public java.lang.String getHome()Returns the home.- Returns:
- the home
-
setHome
public void setHome(java.lang.String home)Sets the home.- Parameters:
home
- the home to set
-
getDraw
public java.lang.String getDraw()Returns the draw.- Returns:
- the draw
-
setDraw
public void setDraw(java.lang.String draw)Sets the draw.- Parameters:
draw
- the draw to set
-
getAway
public java.lang.String getAway()Returns the away.- Returns:
- the away
-
setAway
public void setAway(java.lang.String away)Sets the away.- Parameters:
away
- the away to set
-
getHandicap
public java.lang.String getHandicap()Returns the handicap.- Returns:
- the handicap
-
setHandicap
public void setHandicap(java.lang.String handicap)Sets the handicap.- Parameters:
handicap
- the handicap to set
-
getScore
Returns the score.- Returns:
- the score
-
setScore
Sets the score.- Parameters:
score
- the score to set
-
getMinute
public java.lang.String getMinute()Returns the minute.- Returns:
- the minute
-
setMinute
public void setMinute(java.lang.String minute)Sets the minute.- Parameters:
minute
- the minute to set
-
getOver
public java.lang.String getOver()Returns the over.- Returns:
- the over
-
setOver
public void setOver(java.lang.String over)Sets the over.- Parameters:
over
- the over to set
-
getUnder
public java.lang.String getUnder()Returns the under.- Returns:
- the under
-
setUnder
public void setUnder(java.lang.String under)Sets the under.- Parameters:
under
- the under to set
-
toString
public java.lang.String toString()- Overrides:
toString
in classjava.lang.Object
-