| Modifier and Type | Class and Description |
|---|---|
static class |
Team.Serializer
For internal use only.
|
| Modifier and Type | Field and Description |
|---|---|
protected String |
id |
protected String |
name |
| Constructor and Description |
|---|
Team(String id,
String name)
Information about a team.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getId()
The team's unique ID.
|
String |
getName()
The name of the team.
|
int |
hashCode() |
String |
toString() |
String |
toStringMultiline()
Returns a String representation of this object formatted for easier
readability.
|
public Team(String id, String name)
id - The team's unique ID. Must not be null.name - The name of the team. Must not be null.IllegalArgumentException - If any argument does not meet its
preconditions.public String getId()
null.public String getName()
null.public String toStringMultiline()
The returned String may contain newlines.