Drive: Drive Class

Description Public fields Methods

Description

Drive Class

Drive Class

Public fields

offense
offense_conference
defense
defense_conference
game_id
id
drive_number
scoring
start_period
start_yardline
start_yards_to_goal
start_time
end_period
end_yardline
end_yards_to_goal
end_time
plays
yards
drive_result

Methods

Public methods


Method new()

Usage
Drive$new(
  offense,
  offense_conference,
  defense,
  defense_conference,
  game_id,
  id,
  drive_number,
  scoring,
  start_period,
  start_yardline,
  start_yards_to_goal,
  start_time,
  end_period,
  end_yardline,
  end_yards_to_goal,
  end_time,
  plays,
  yards,
  drive_result
)

Method toJSON()

Usage
Drive$toJSON()

Method fromJSON()

Usage
Drive$fromJSON(DriveJson)

Method toJSONString()

Usage
Drive$toJSONString()

Method fromJSONString()

Usage
Drive$fromJSONString(DriveJson)

Method clone()

The objects of this class are cloneable with this method.

Usage
Drive$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.