Show / Hide Table of Contents

Class DepthChart

Contains the deserialized JSON responses from the Stats API, as well as their associated properties. These are the model classes that the functions in the Api class return.

Inheritance
object
DepthChart
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: BaseballSharp.Models
Assembly: BaseballSharp.dll
Syntax
public class DepthChart

Properties

| Edit this page View Source

JerseyNumber

Declaration
public string? JerseyNumber { get; set; }
Property Value
Type Description
string
| Edit this page View Source

PlayerFullName

Full name of the player.

Declaration
public string? PlayerFullName { get; set; }
Property Value
Type Description
string
| Edit this page View Source

PlayerId

The player's ID number. Useful for building other calls.

Declaration
public int? PlayerId { get; set; }
Property Value
Type Description
int?
| Edit this page View Source

PositionAbbrevition

Declaration
public string? PositionAbbrevition { get; set; }
Property Value
Type Description
string
| Edit this page View Source

PositionCode

Declaration
public string? PositionCode { get; set; }
Property Value
Type Description
string
| Edit this page View Source

PositionName

Name of the position held by the player, eg: "Pitcher".

Declaration
public string? PositionName { get; set; }
Property Value
Type Description
string
| Edit this page View Source

PositionType

Declaration
public string? PositionType { get; set; }
Property Value
Type Description
string
| Edit this page View Source

RosterType

The roster type.

Declaration
public string? RosterType { get; set; }
Property Value
Type Description
string
| Edit this page View Source

StatusCode

Declaration
public string? StatusCode { get; set; }
Property Value
Type Description
string
| Edit this page View Source

StatusDescription

A description of the player's status, eg: "Active".

Declaration
public string? StatusDescription { get; set; }
Property Value
Type Description
string
| Edit this page View Source

TeamId

The team's ID number. Useful for building other calls.

Declaration
public int? TeamId { get; set; }
Property Value
Type Description
int?
  • Edit this page
  • View Source
In this article
Back to top Generated by DocFX