Interface Competitor.Builder

  • Method Details

    • name

      The name of the competitor, as provided by the data source.

      Parameters:
      name - The name of the competitor, as provided by the data source.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • isHome

      Competitor.Builder isHome(Boolean isHome)

      Specifies whether this competitor is the home side in the fixture. If true, this competitor is the home side. If false, this competitor is the away side.

      Parameters:
      isHome - Specifies whether this competitor is the home side in the fixture. If true, this competitor is the home side. If false, this competitor is the away side.
      Returns:
      Returns a reference to this object so that method calls can be chained together.