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.cloudfunctions.v1; | 3 library googleapis.cloudfunctions.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 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
59 request = _json["request"]; | 59 request = _json["request"]; |
60 } | 60 } |
61 if (_json.containsKey("target")) { | 61 if (_json.containsKey("target")) { |
62 target = _json["target"]; | 62 target = _json["target"]; |
63 } | 63 } |
64 if (_json.containsKey("type")) { | 64 if (_json.containsKey("type")) { |
65 type = _json["type"]; | 65 type = _json["type"]; |
66 } | 66 } |
67 } | 67 } |
68 | 68 |
69 core.Map toJson() { | 69 core.Map<core.String, core.Object> toJson() { |
70 var _json = new core.Map(); | 70 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
71 if (request != null) { | 71 if (request != null) { |
72 _json["request"] = request; | 72 _json["request"] = request; |
73 } | 73 } |
74 if (target != null) { | 74 if (target != null) { |
75 _json["target"] = target; | 75 _json["target"] = target; |
76 } | 76 } |
77 if (type != null) { | 77 if (type != null) { |
78 _json["type"] = type; | 78 _json["type"] = type; |
79 } | 79 } |
80 return _json; | 80 return _json; |
81 } | 81 } |
82 } | 82 } |
OLD | NEW |