| 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.admin.directory_v1; | 3 library googleapis.admin.directory_v1; |
| 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 6260 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 6271 core.String etag; | 6271 core.String etag; |
| 6272 /** | 6272 /** |
| 6273 * Unique identifier of customer member (Read-only) Unique identifier of group | 6273 * Unique identifier of customer member (Read-only) Unique identifier of group |
| 6274 * (Read-only) Unique identifier of member (Read-only) | 6274 * (Read-only) Unique identifier of member (Read-only) |
| 6275 */ | 6275 */ |
| 6276 core.String id; | 6276 core.String id; |
| 6277 /** Kind of resource this is. */ | 6277 /** Kind of resource this is. */ |
| 6278 core.String kind; | 6278 core.String kind; |
| 6279 /** Role of member */ | 6279 /** Role of member */ |
| 6280 core.String role; | 6280 core.String role; |
| 6281 /** Status of member (Immutable) */ |
| 6282 core.String status; |
| 6281 /** Type of member (Immutable) */ | 6283 /** Type of member (Immutable) */ |
| 6282 core.String type; | 6284 core.String type; |
| 6283 | 6285 |
| 6284 Member(); | 6286 Member(); |
| 6285 | 6287 |
| 6286 Member.fromJson(core.Map _json) { | 6288 Member.fromJson(core.Map _json) { |
| 6287 if (_json.containsKey("email")) { | 6289 if (_json.containsKey("email")) { |
| 6288 email = _json["email"]; | 6290 email = _json["email"]; |
| 6289 } | 6291 } |
| 6290 if (_json.containsKey("etag")) { | 6292 if (_json.containsKey("etag")) { |
| 6291 etag = _json["etag"]; | 6293 etag = _json["etag"]; |
| 6292 } | 6294 } |
| 6293 if (_json.containsKey("id")) { | 6295 if (_json.containsKey("id")) { |
| 6294 id = _json["id"]; | 6296 id = _json["id"]; |
| 6295 } | 6297 } |
| 6296 if (_json.containsKey("kind")) { | 6298 if (_json.containsKey("kind")) { |
| 6297 kind = _json["kind"]; | 6299 kind = _json["kind"]; |
| 6298 } | 6300 } |
| 6299 if (_json.containsKey("role")) { | 6301 if (_json.containsKey("role")) { |
| 6300 role = _json["role"]; | 6302 role = _json["role"]; |
| 6301 } | 6303 } |
| 6304 if (_json.containsKey("status")) { |
| 6305 status = _json["status"]; |
| 6306 } |
| 6302 if (_json.containsKey("type")) { | 6307 if (_json.containsKey("type")) { |
| 6303 type = _json["type"]; | 6308 type = _json["type"]; |
| 6304 } | 6309 } |
| 6305 } | 6310 } |
| 6306 | 6311 |
| 6307 core.Map toJson() { | 6312 core.Map toJson() { |
| 6308 var _json = new core.Map(); | 6313 var _json = new core.Map(); |
| 6309 if (email != null) { | 6314 if (email != null) { |
| 6310 _json["email"] = email; | 6315 _json["email"] = email; |
| 6311 } | 6316 } |
| 6312 if (etag != null) { | 6317 if (etag != null) { |
| 6313 _json["etag"] = etag; | 6318 _json["etag"] = etag; |
| 6314 } | 6319 } |
| 6315 if (id != null) { | 6320 if (id != null) { |
| 6316 _json["id"] = id; | 6321 _json["id"] = id; |
| 6317 } | 6322 } |
| 6318 if (kind != null) { | 6323 if (kind != null) { |
| 6319 _json["kind"] = kind; | 6324 _json["kind"] = kind; |
| 6320 } | 6325 } |
| 6321 if (role != null) { | 6326 if (role != null) { |
| 6322 _json["role"] = role; | 6327 _json["role"] = role; |
| 6323 } | 6328 } |
| 6329 if (status != null) { |
| 6330 _json["status"] = status; |
| 6331 } |
| 6324 if (type != null) { | 6332 if (type != null) { |
| 6325 _json["type"] = type; | 6333 _json["type"] = type; |
| 6326 } | 6334 } |
| 6327 return _json; | 6335 return _json; |
| 6328 } | 6336 } |
| 6329 } | 6337 } |
| 6330 | 6338 |
| 6331 /** JSON response template for List Members operation in Directory API. */ | 6339 /** JSON response template for List Members operation in Directory API. */ |
| 6332 class Members { | 6340 class Members { |
| 6333 /** ETag of the resource. */ | 6341 /** ETag of the resource. */ |
| (...skipping 2719 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 9053 } | 9061 } |
| 9054 if (items != null) { | 9062 if (items != null) { |
| 9055 _json["items"] = items.map((value) => (value).toJson()).toList(); | 9063 _json["items"] = items.map((value) => (value).toJson()).toList(); |
| 9056 } | 9064 } |
| 9057 if (kind != null) { | 9065 if (kind != null) { |
| 9058 _json["kind"] = kind; | 9066 _json["kind"] = kind; |
| 9059 } | 9067 } |
| 9060 return _json; | 9068 return _json; |
| 9061 } | 9069 } |
| 9062 } | 9070 } |
| OLD | NEW |