Package com.sportdataapi.data
Class BookmakerOdds
java.lang.Object
com.sportdataapi.data.BookmakerOdds
public class BookmakerOdds
extends java.lang.Object
Odds for a specific bookmaker.
- Author:
- ralph
-
Constructor Summary
Constructors Constructor Description BookmakerOdds()
Constructor. -
Method Summary
Modifier and Type Method Description int
getBookmakerId()
Returns the bookmakerId.java.lang.String
getBookmakerName()
Returns the bookmakerName.RsDate
getLastUpdated()
Returns the lastUpdated.OddsData
getOdds()
Returns the odds.void
setBookmakerId(int bookmakerId)
Sets the bookmakerId.void
setBookmakerName(java.lang.String bookmakerName)
Sets the bookmakerName.void
setLastUpdated(RsDate lastUpdated)
Sets the lastUpdated.void
setOdds(OddsData odds)
Sets the odds.java.lang.String
toString()
-
Constructor Details
-
BookmakerOdds
public BookmakerOdds()Constructor.
-
-
Method Details
-
getBookmakerId
public int getBookmakerId()Returns the bookmakerId.- Returns:
- the bookmakerId
-
setBookmakerId
public void setBookmakerId(int bookmakerId)Sets the bookmakerId.- Parameters:
bookmakerId
- the bookmakerId to set
-
getBookmakerName
public java.lang.String getBookmakerName()Returns the bookmakerName.- Returns:
- the bookmakerName
-
setBookmakerName
public void setBookmakerName(java.lang.String bookmakerName)Sets the bookmakerName.- Parameters:
bookmakerName
- the bookmakerName to set
-
getOdds
Returns the odds.- Returns:
- the odds
-
setOdds
Sets the odds.- Parameters:
odds
- the odds to set
-
getLastUpdated
Returns the lastUpdated.- Returns:
- the lastUpdated
-
setLastUpdated
Sets the lastUpdated.- Parameters:
lastUpdated
- the lastUpdated to set
-
toString
public java.lang.String toString()- Overrides:
toString
in classjava.lang.Object
-