SnapOddsPlayer

public final class SnapOddsPlayer

Represent a player for a sport event

Constructors

Link copied to clipboard
SnapOddsPlayer SnapOddsPlayer(@Json(name = "id") Long id, @Json(name = "name") String name, @Json(name = "teamId") Long teamId)

Functions

Link copied to clipboard
final Long getId()

Internal identifier for this player

Link copied to clipboard
final String getName()

The name of the player

Link copied to clipboard
final Long getTeamId()

The id of the team of this player - refers to the id of a SnapOddsCompetitor

Properties

Link copied to clipboard
private final Long id

Internal identifier for this player

Link copied to clipboard
private final String name

The name of the player

Link copied to clipboard
private final Long teamId

The id of the team of this player - refers to the id of a SnapOddsCompetitor