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.datastore.v1; | 3 library googleapis.datastore.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:http/http.dart' as http; | 10 import 'package:http/http.dart' as http; |
(...skipping 1581 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1592 core.int skippedResults; | 1592 core.int skippedResults; |
1593 /** | 1593 /** |
1594 * The version number of the snapshot this batch was returned from. | 1594 * The version number of the snapshot this batch was returned from. |
1595 * This applies to the range of results from the query's `start_cursor` (or | 1595 * This applies to the range of results from the query's `start_cursor` (or |
1596 * the beginning of the query if no cursor was given) to this batch's | 1596 * the beginning of the query if no cursor was given) to this batch's |
1597 * `end_cursor` (not the query's `end_cursor`). | 1597 * `end_cursor` (not the query's `end_cursor`). |
1598 * | 1598 * |
1599 * In a single transaction, subsequent query result batches for the same query | 1599 * In a single transaction, subsequent query result batches for the same query |
1600 * can have a greater snapshot version number. Each batch's snapshot version | 1600 * can have a greater snapshot version number. Each batch's snapshot version |
1601 * is valid for all preceding batches. | 1601 * is valid for all preceding batches. |
| 1602 * The value will be zero for eventually consistent queries. |
1602 */ | 1603 */ |
1603 core.String snapshotVersion; | 1604 core.String snapshotVersion; |
1604 | 1605 |
1605 QueryResultBatch(); | 1606 QueryResultBatch(); |
1606 | 1607 |
1607 QueryResultBatch.fromJson(core.Map _json) { | 1608 QueryResultBatch.fromJson(core.Map _json) { |
1608 if (_json.containsKey("endCursor")) { | 1609 if (_json.containsKey("endCursor")) { |
1609 endCursor = _json["endCursor"]; | 1610 endCursor = _json["endCursor"]; |
1610 } | 1611 } |
1611 if (_json.containsKey("entityResultType")) { | 1612 if (_json.containsKey("entityResultType")) { |
(...skipping 376 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1988 } | 1989 } |
1989 if (stringValue != null) { | 1990 if (stringValue != null) { |
1990 _json["stringValue"] = stringValue; | 1991 _json["stringValue"] = stringValue; |
1991 } | 1992 } |
1992 if (timestampValue != null) { | 1993 if (timestampValue != null) { |
1993 _json["timestampValue"] = timestampValue; | 1994 _json["timestampValue"] = timestampValue; |
1994 } | 1995 } |
1995 return _json; | 1996 return _json; |
1996 } | 1997 } |
1997 } | 1998 } |
OLD | NEW |