Google_PlayerScoreResponse

The Google Books Importer Google PlayerScoreResponse class.

Defined (1)

The class is defined in the following location(s).

/src/contrib/Google_GamesService.php  
  1. class Google_PlayerScoreResponse extends Google_Model { 
  2. public $beatenScoreTimeSpans; 
  3. public $formattedScore; 
  4. public $kind; 
  5. public $leaderboardId; 
  6. protected $__unbeatenScoresType = 'Google_PlayerScore'; 
  7. protected $__unbeatenScoresDataType = 'array'; 
  8. public $unbeatenScores; 
  9. public function setBeatenScoreTimeSpans(/** array(Google_string) */ $beatenScoreTimeSpans) { 
  10. $this->assertIsArray($beatenScoreTimeSpans, 'Google_string', __METHOD__); 
  11. $this->beatenScoreTimeSpans = $beatenScoreTimeSpans; 
  12. public function getBeatenScoreTimeSpans() { 
  13. return $this->beatenScoreTimeSpans; 
  14. public function setFormattedScore( $formattedScore) { 
  15. $this->formattedScore = $formattedScore; 
  16. public function getFormattedScore() { 
  17. return $this->formattedScore; 
  18. public function setKind( $kind) { 
  19. $this->kind = $kind; 
  20. public function getKind() { 
  21. return $this->kind; 
  22. public function setLeaderboardId( $leaderboardId) { 
  23. $this->leaderboardId = $leaderboardId; 
  24. public function getLeaderboardId() { 
  25. return $this->leaderboardId; 
  26. public function setUnbeatenScores(/** array(Google_PlayerScore) */ $unbeatenScores) { 
  27. $this->assertIsArray($unbeatenScores, 'Google_PlayerScore', __METHOD__); 
  28. $this->unbeatenScores = $unbeatenScores; 
  29. public function getUnbeatenScores() { 
  30. return $this->unbeatenScores;