Player: Player Class

Description Public fields Methods

Description

Player Class

Player Class

Public fields

id
first_name
last_name
team
height
weight
jersey
year
position
city
state
country

Methods

Public methods


Method new()

Usage
Player$new(
  id,
  first_name,
  last_name,
  team,
  height,
  weight,
  jersey,
  year,
  position,
  city,
  state,
  country
)

Method toJSON()

Usage
Player$toJSON()

Method fromJSON()

Usage
Player$fromJSON(PlayerJson)

Method toJSONString()

Usage
Player$toJSONString()

Method fromJSONString()

Usage
Player$fromJSONString(PlayerJson)

Method clone()

The objects of this class are cloneable with this method.

Usage
Player$clone(deep = FALSE)
Arguments
deep

Whether to make a deep clone.


saiemgilani/cfbd-api-R documentation built on Feb. 16, 2021, 12:07 a.m.