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.groupsmigration.v1; | 3 library googleapis.groupsmigration.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 95 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
106 | 106 |
107 Groups.fromJson(core.Map _json) { | 107 Groups.fromJson(core.Map _json) { |
108 if (_json.containsKey("kind")) { | 108 if (_json.containsKey("kind")) { |
109 kind = _json["kind"]; | 109 kind = _json["kind"]; |
110 } | 110 } |
111 if (_json.containsKey("responseCode")) { | 111 if (_json.containsKey("responseCode")) { |
112 responseCode = _json["responseCode"]; | 112 responseCode = _json["responseCode"]; |
113 } | 113 } |
114 } | 114 } |
115 | 115 |
116 core.Map toJson() { | 116 core.Map<core.String, core.Object> toJson() { |
117 var _json = new core.Map(); | 117 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
118 if (kind != null) { | 118 if (kind != null) { |
119 _json["kind"] = kind; | 119 _json["kind"] = kind; |
120 } | 120 } |
121 if (responseCode != null) { | 121 if (responseCode != null) { |
122 _json["responseCode"] = responseCode; | 122 _json["responseCode"] = responseCode; |
123 } | 123 } |
124 return _json; | 124 return _json; |
125 } | 125 } |
126 } | 126 } |
OLD | NEW |