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.bigquery.v2; | 3 library googleapis.bigquery.v2; |
4 | 4 |
5 import 'dart:core' as core; | 5 import 'dart:core' as core; |
6 import 'dart:collection' as collection; | 6 import 'dart:collection' as collection; |
7 import 'dart:async' as async; | 7 import 'dart:async' as async; |
8 import 'dart:convert' as convert; | 8 import 'dart:convert' as convert; |
9 | 9 |
10 import 'package:_discoveryapis_commons/_discoveryapis_commons.dart' as commons; | 10 import 'package:_discoveryapis_commons/_discoveryapis_commons.dart' as commons; |
(...skipping 5032 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5043 core.String id; | 5043 core.String id; |
5044 /** The resource type. */ | 5044 /** The resource type. */ |
5045 core.String kind; | 5045 core.String kind; |
5046 /** | 5046 /** |
5047 * [Experimental] The labels associated with this table. You can use these to | 5047 * [Experimental] The labels associated with this table. You can use these to |
5048 * organize and group your tables. | 5048 * organize and group your tables. |
5049 */ | 5049 */ |
5050 core.Map<core.String, core.String> labels; | 5050 core.Map<core.String, core.String> labels; |
5051 /** A reference uniquely identifying the table. */ | 5051 /** A reference uniquely identifying the table. */ |
5052 TableReference tableReference; | 5052 TableReference tableReference; |
| 5053 /** [Experimental] The time-based partitioning for this table. */ |
| 5054 TimePartitioning timePartitioning; |
5053 /** The type of table. Possible values are: TABLE, VIEW. */ | 5055 /** The type of table. Possible values are: TABLE, VIEW. */ |
5054 core.String type; | 5056 core.String type; |
5055 /** Additional details for a view. */ | 5057 /** Additional details for a view. */ |
5056 TableListTablesView view; | 5058 TableListTablesView view; |
5057 | 5059 |
5058 TableListTables(); | 5060 TableListTables(); |
5059 | 5061 |
5060 TableListTables.fromJson(core.Map _json) { | 5062 TableListTables.fromJson(core.Map _json) { |
5061 if (_json.containsKey("friendlyName")) { | 5063 if (_json.containsKey("friendlyName")) { |
5062 friendlyName = _json["friendlyName"]; | 5064 friendlyName = _json["friendlyName"]; |
5063 } | 5065 } |
5064 if (_json.containsKey("id")) { | 5066 if (_json.containsKey("id")) { |
5065 id = _json["id"]; | 5067 id = _json["id"]; |
5066 } | 5068 } |
5067 if (_json.containsKey("kind")) { | 5069 if (_json.containsKey("kind")) { |
5068 kind = _json["kind"]; | 5070 kind = _json["kind"]; |
5069 } | 5071 } |
5070 if (_json.containsKey("labels")) { | 5072 if (_json.containsKey("labels")) { |
5071 labels = _json["labels"]; | 5073 labels = _json["labels"]; |
5072 } | 5074 } |
5073 if (_json.containsKey("tableReference")) { | 5075 if (_json.containsKey("tableReference")) { |
5074 tableReference = new TableReference.fromJson(_json["tableReference"]); | 5076 tableReference = new TableReference.fromJson(_json["tableReference"]); |
5075 } | 5077 } |
| 5078 if (_json.containsKey("timePartitioning")) { |
| 5079 timePartitioning = new TimePartitioning.fromJson(_json["timePartitioning"]
); |
| 5080 } |
5076 if (_json.containsKey("type")) { | 5081 if (_json.containsKey("type")) { |
5077 type = _json["type"]; | 5082 type = _json["type"]; |
5078 } | 5083 } |
5079 if (_json.containsKey("view")) { | 5084 if (_json.containsKey("view")) { |
5080 view = new TableListTablesView.fromJson(_json["view"]); | 5085 view = new TableListTablesView.fromJson(_json["view"]); |
5081 } | 5086 } |
5082 } | 5087 } |
5083 | 5088 |
5084 core.Map<core.String, core.Object> toJson() { | 5089 core.Map<core.String, core.Object> toJson() { |
5085 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); | 5090 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
5086 if (friendlyName != null) { | 5091 if (friendlyName != null) { |
5087 _json["friendlyName"] = friendlyName; | 5092 _json["friendlyName"] = friendlyName; |
5088 } | 5093 } |
5089 if (id != null) { | 5094 if (id != null) { |
5090 _json["id"] = id; | 5095 _json["id"] = id; |
5091 } | 5096 } |
5092 if (kind != null) { | 5097 if (kind != null) { |
5093 _json["kind"] = kind; | 5098 _json["kind"] = kind; |
5094 } | 5099 } |
5095 if (labels != null) { | 5100 if (labels != null) { |
5096 _json["labels"] = labels; | 5101 _json["labels"] = labels; |
5097 } | 5102 } |
5098 if (tableReference != null) { | 5103 if (tableReference != null) { |
5099 _json["tableReference"] = (tableReference).toJson(); | 5104 _json["tableReference"] = (tableReference).toJson(); |
5100 } | 5105 } |
| 5106 if (timePartitioning != null) { |
| 5107 _json["timePartitioning"] = (timePartitioning).toJson(); |
| 5108 } |
5101 if (type != null) { | 5109 if (type != null) { |
5102 _json["type"] = type; | 5110 _json["type"] = type; |
5103 } | 5111 } |
5104 if (view != null) { | 5112 if (view != null) { |
5105 _json["view"] = (view).toJson(); | 5113 _json["view"] = (view).toJson(); |
5106 } | 5114 } |
5107 return _json; | 5115 return _json; |
5108 } | 5116 } |
5109 } | 5117 } |
5110 | 5118 |
(...skipping 241 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5352 } | 5360 } |
5353 if (useLegacySql != null) { | 5361 if (useLegacySql != null) { |
5354 _json["useLegacySql"] = useLegacySql; | 5362 _json["useLegacySql"] = useLegacySql; |
5355 } | 5363 } |
5356 if (userDefinedFunctionResources != null) { | 5364 if (userDefinedFunctionResources != null) { |
5357 _json["userDefinedFunctionResources"] = userDefinedFunctionResources.map((
value) => (value).toJson()).toList(); | 5365 _json["userDefinedFunctionResources"] = userDefinedFunctionResources.map((
value) => (value).toJson()).toList(); |
5358 } | 5366 } |
5359 return _json; | 5367 return _json; |
5360 } | 5368 } |
5361 } | 5369 } |
OLD | NEW |