SinglesPlayer
Singles player
type SinglesPlayer {
resultText: String
hasWon: Boolean!
score: Int!
isLeading: Boolean
teamCode: String
playerId: Int!
holeScores: [MatchHoleScore]
}
Fields
SinglesPlayer.resultText
● String
scalar
The result of the match 1UP, 4&3, 23H, etc. null if the player did not win
SinglesPlayer.hasWon
● Boolean!
non-null scalar
Flag indicating if the player won the match
SinglesPlayer.score
● Int!
non-null scalar
The numeric value for the players score relative to their opponent
SinglesPlayer.isLeading
● Boolean
scalar
Flag indicating if the player is currently leading an in progress match
SinglesPlayer.teamCode
● String
scalar
The team code
SinglesPlayer.playerId
● Int!
non-null scalar
The id of the player
SinglesPlayer.holeScores
● [MatchHoleScore]
list object
The hole by hole scores for the match
Member of
Singles
object