java.lang.Object
com.sportradar.livedata.sdk.feed.livescout.entities.LiveScoutEntityBase
com.sportradar.livedata.sdk.feed.livescout.entities.PlayerEntity
All Implemented Interfaces:
Serializable

public class PlayerEntity extends LiveScoutEntityBase implements Serializable
A player in the lineup.
See Also:
  • Constructor Details

    • PlayerEntity

      public PlayerEntity()
  • Method Details

    • getId

      public int getId()
      ID of the player.
      Returns:
      id
    • getAttributes

      public List<AttributeEntity> getAttributes()
      List of attributes
      Returns:
      attributes
    • getMatchRoles

      public List<MatchRoleEntity> getMatchRoles()
      List of match roles
      Returns:
      match roles
    • getSpecificContracts

      public List<String> getSpecificContracts()
      Restrictions may apply due to existing contractual obligations. For example people with 2-way contract cannot have open player markets.
      Returns:
      names of specific contracts
    • getName

      public String getName()
      Name of the player.
      Returns:
      name
    • getNickname

      public String getNickname()
      Gets nickname
      Returns:
      nickname
    • getPosition

      public String getPosition()
      Get the position of the player?
      Returns:
      player position
    • getShirtNumber

      public int getShirtNumber()
      Shirt number.
      Returns:
      shirt number
    • getTeam

      public Team getTeam()
      Team of the player.
      Returns:
      team
    • getOrder

      public Integer getOrder()
      Order of the player
      Returns:
      order
    • isSubstitute

      public Boolean isSubstitute()
      Is the player a substitute?
      Returns:
      substitute