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.
    rs.baselib.util.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​(rs.baselib.util.RsDate lastUpdated)
    Sets the lastUpdated.
    void setOdds​(OddsData odds)
    Sets the odds.
    java.lang.String toString()

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Constructor Details

  • 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

      public OddsData getOdds()
      Returns the odds.
      Returns:
      the odds
    • setOdds

      public void setOdds​(OddsData odds)
      Sets the odds.
      Parameters:
      odds - the odds to set
    • getLastUpdated

      public rs.baselib.util.RsDate getLastUpdated()
      Returns the lastUpdated.
      Returns:
      the lastUpdated
    • setLastUpdated

      public void setLastUpdated​(rs.baselib.util.RsDate lastUpdated)
      Sets the lastUpdated.
      Parameters:
      lastUpdated - the lastUpdated to set
    • toString

      public java.lang.String toString()
      Overrides:
      toString in class java.lang.Object