OLD | NEW |
1 // This is a generated file (see the discoveryapis_generator project). | 1 // This is a generated file (see the discoveryapis_generator project). |
2 | 2 |
3 library googleapis.games.v1; | 3 library googleapis.games.v1; |
4 | 4 |
5 import 'dart:core' as core; | 5 import 'dart:core' as core; |
6 import 'dart:async' as async; | 6 import 'dart:async' as async; |
7 import 'dart:convert' as convert; | 7 import 'dart:convert' as convert; |
8 | 8 |
9 import 'package:_discoveryapis_commons/_discoveryapis_commons.dart' as commons; | 9 import 'package:_discoveryapis_commons/_discoveryapis_commons.dart' as commons; |
10 import 'package:crypto/crypto.dart' as crypto; | 10 import 'package:crypto/crypto.dart' as crypto; |
(...skipping 950 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
961 * recently. | 961 * recently. |
962 * - "played_with" : Retrieve a list of players you have played a multiplayer | 962 * - "played_with" : Retrieve a list of players you have played a multiplayer |
963 * game (realtime or turn-based) with recently. | 963 * game (realtime or turn-based) with recently. |
964 * | 964 * |
965 * [language] - The preferred language to use for strings returned by this | 965 * [language] - The preferred language to use for strings returned by this |
966 * method. | 966 * method. |
967 * | 967 * |
968 * [maxResults] - The maximum number of player resources to return in the | 968 * [maxResults] - The maximum number of player resources to return in the |
969 * response, used for paging. For any response, the actual number of player | 969 * response, used for paging. For any response, the actual number of player |
970 * resources returned may be less than the specified maxResults. | 970 * resources returned may be less than the specified maxResults. |
971 * Value must be between "1" and "15". | 971 * Value must be between "1" and "50". |
972 * | 972 * |
973 * [pageToken] - The token returned by the previous request. | 973 * [pageToken] - The token returned by the previous request. |
974 * | 974 * |
975 * Completes with a [PlayerListResponse]. | 975 * Completes with a [PlayerListResponse]. |
976 * | 976 * |
977 * Completes with a [commons.ApiRequestError] if the API endpoint returned an | 977 * Completes with a [commons.ApiRequestError] if the API endpoint returned an |
978 * error. | 978 * error. |
979 * | 979 * |
980 * If the used [http.Client] completes with an error when making a REST call, | 980 * If the used [http.Client] completes with an error when making a REST call, |
981 * this method will complete with the same error. | 981 * this method will complete with the same error. |
(...skipping 8057 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
9039 } | 9039 } |
9040 if (pendingParticipantId != null) { | 9040 if (pendingParticipantId != null) { |
9041 _json["pendingParticipantId"] = pendingParticipantId; | 9041 _json["pendingParticipantId"] = pendingParticipantId; |
9042 } | 9042 } |
9043 if (results != null) { | 9043 if (results != null) { |
9044 _json["results"] = results.map((value) => (value).toJson()).toList(); | 9044 _json["results"] = results.map((value) => (value).toJson()).toList(); |
9045 } | 9045 } |
9046 return _json; | 9046 return _json; |
9047 } | 9047 } |
9048 } | 9048 } |
OLD | NEW |