Package com.sportdataapi.data
Class TopScorer.Team
java.lang.Object
com.sportdataapi.data.TopScorer.Team
- Enclosing class:
- TopScorer
public class TopScorer.Team
extends java.lang.Object
Team object for scorers in Sportdataapi.com.
- Author:
- ralph
-
Constructor Summary
Constructors Constructor Description Team()
Constructor. -
Method Summary
-
Constructor Details
-
Team
public Team()Constructor.
-
-
Method Details
-
getId
public int getId()Returns the id.- Returns:
- the id
-
setId
public void setId(int id)Sets the id.- Parameters:
id
- the id to set
-
getName
public java.lang.String getName()Returns the name.- Returns:
- the name
-
setName
public void setName(java.lang.String name)Sets the name.- Parameters:
name
- the name to set
-
toString
public java.lang.String toString()- Overrides:
toString
in classjava.lang.Object
-