| 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.tagmanager.v2; | 3 library googleapis.tagmanager.v2; |
| 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 3543 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3554 path = _json["path"]; | 3554 path = _json["path"]; |
| 3555 } | 3555 } |
| 3556 if (_json.containsKey("shareData")) { | 3556 if (_json.containsKey("shareData")) { |
| 3557 shareData = _json["shareData"]; | 3557 shareData = _json["shareData"]; |
| 3558 } | 3558 } |
| 3559 if (_json.containsKey("tagManagerUrl")) { | 3559 if (_json.containsKey("tagManagerUrl")) { |
| 3560 tagManagerUrl = _json["tagManagerUrl"]; | 3560 tagManagerUrl = _json["tagManagerUrl"]; |
| 3561 } | 3561 } |
| 3562 } | 3562 } |
| 3563 | 3563 |
| 3564 core.Map toJson() { | 3564 core.Map<core.String, core.Object> toJson() { |
| 3565 var _json = new core.Map(); | 3565 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
| 3566 if (accountId != null) { | 3566 if (accountId != null) { |
| 3567 _json["accountId"] = accountId; | 3567 _json["accountId"] = accountId; |
| 3568 } | 3568 } |
| 3569 if (fingerprint != null) { | 3569 if (fingerprint != null) { |
| 3570 _json["fingerprint"] = fingerprint; | 3570 _json["fingerprint"] = fingerprint; |
| 3571 } | 3571 } |
| 3572 if (name != null) { | 3572 if (name != null) { |
| 3573 _json["name"] = name; | 3573 _json["name"] = name; |
| 3574 } | 3574 } |
| 3575 if (path != null) { | 3575 if (path != null) { |
| (...skipping 22 matching lines...) Expand all Loading... |
| 3598 core.String permission; | 3598 core.String permission; |
| 3599 | 3599 |
| 3600 AccountAccess(); | 3600 AccountAccess(); |
| 3601 | 3601 |
| 3602 AccountAccess.fromJson(core.Map _json) { | 3602 AccountAccess.fromJson(core.Map _json) { |
| 3603 if (_json.containsKey("permission")) { | 3603 if (_json.containsKey("permission")) { |
| 3604 permission = _json["permission"]; | 3604 permission = _json["permission"]; |
| 3605 } | 3605 } |
| 3606 } | 3606 } |
| 3607 | 3607 |
| 3608 core.Map toJson() { | 3608 core.Map<core.String, core.Object> toJson() { |
| 3609 var _json = new core.Map(); | 3609 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
| 3610 if (permission != null) { | 3610 if (permission != null) { |
| 3611 _json["permission"] = permission; | 3611 _json["permission"] = permission; |
| 3612 } | 3612 } |
| 3613 return _json; | 3613 return _json; |
| 3614 } | 3614 } |
| 3615 } | 3615 } |
| 3616 | 3616 |
| 3617 /** | 3617 /** |
| 3618 * Built-in variables are a special category of variables that are pre-created | 3618 * Built-in variables are a special category of variables that are pre-created |
| 3619 * and non-customizable. They provide common functionality like accessing | 3619 * and non-customizable. They provide common functionality like accessing |
| (...skipping 123 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3743 path = _json["path"]; | 3743 path = _json["path"]; |
| 3744 } | 3744 } |
| 3745 if (_json.containsKey("type")) { | 3745 if (_json.containsKey("type")) { |
| 3746 type = _json["type"]; | 3746 type = _json["type"]; |
| 3747 } | 3747 } |
| 3748 if (_json.containsKey("workspaceId")) { | 3748 if (_json.containsKey("workspaceId")) { |
| 3749 workspaceId = _json["workspaceId"]; | 3749 workspaceId = _json["workspaceId"]; |
| 3750 } | 3750 } |
| 3751 } | 3751 } |
| 3752 | 3752 |
| 3753 core.Map toJson() { | 3753 core.Map<core.String, core.Object> toJson() { |
| 3754 var _json = new core.Map(); | 3754 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
| 3755 if (accountId != null) { | 3755 if (accountId != null) { |
| 3756 _json["accountId"] = accountId; | 3756 _json["accountId"] = accountId; |
| 3757 } | 3757 } |
| 3758 if (containerId != null) { | 3758 if (containerId != null) { |
| 3759 _json["containerId"] = containerId; | 3759 _json["containerId"] = containerId; |
| 3760 } | 3760 } |
| 3761 if (name != null) { | 3761 if (name != null) { |
| 3762 _json["name"] = name; | 3762 _json["name"] = name; |
| 3763 } | 3763 } |
| 3764 if (path != null) { | 3764 if (path != null) { |
| (...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3811 | 3811 |
| 3812 Condition.fromJson(core.Map _json) { | 3812 Condition.fromJson(core.Map _json) { |
| 3813 if (_json.containsKey("parameter")) { | 3813 if (_json.containsKey("parameter")) { |
| 3814 parameter = _json["parameter"].map((value) => new Parameter.fromJson(value
)).toList(); | 3814 parameter = _json["parameter"].map((value) => new Parameter.fromJson(value
)).toList(); |
| 3815 } | 3815 } |
| 3816 if (_json.containsKey("type")) { | 3816 if (_json.containsKey("type")) { |
| 3817 type = _json["type"]; | 3817 type = _json["type"]; |
| 3818 } | 3818 } |
| 3819 } | 3819 } |
| 3820 | 3820 |
| 3821 core.Map toJson() { | 3821 core.Map<core.String, core.Object> toJson() { |
| 3822 var _json = new core.Map(); | 3822 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
| 3823 if (parameter != null) { | 3823 if (parameter != null) { |
| 3824 _json["parameter"] = parameter.map((value) => (value).toJson()).toList(); | 3824 _json["parameter"] = parameter.map((value) => (value).toJson()).toList(); |
| 3825 } | 3825 } |
| 3826 if (type != null) { | 3826 if (type != null) { |
| 3827 _json["type"] = type; | 3827 _json["type"] = type; |
| 3828 } | 3828 } |
| 3829 return _json; | 3829 return _json; |
| 3830 } | 3830 } |
| 3831 } | 3831 } |
| 3832 | 3832 |
| (...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3890 publicId = _json["publicId"]; | 3890 publicId = _json["publicId"]; |
| 3891 } | 3891 } |
| 3892 if (_json.containsKey("tagManagerUrl")) { | 3892 if (_json.containsKey("tagManagerUrl")) { |
| 3893 tagManagerUrl = _json["tagManagerUrl"]; | 3893 tagManagerUrl = _json["tagManagerUrl"]; |
| 3894 } | 3894 } |
| 3895 if (_json.containsKey("usageContext")) { | 3895 if (_json.containsKey("usageContext")) { |
| 3896 usageContext = _json["usageContext"]; | 3896 usageContext = _json["usageContext"]; |
| 3897 } | 3897 } |
| 3898 } | 3898 } |
| 3899 | 3899 |
| 3900 core.Map toJson() { | 3900 core.Map<core.String, core.Object> toJson() { |
| 3901 var _json = new core.Map(); | 3901 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
| 3902 if (accountId != null) { | 3902 if (accountId != null) { |
| 3903 _json["accountId"] = accountId; | 3903 _json["accountId"] = accountId; |
| 3904 } | 3904 } |
| 3905 if (containerId != null) { | 3905 if (containerId != null) { |
| 3906 _json["containerId"] = containerId; | 3906 _json["containerId"] = containerId; |
| 3907 } | 3907 } |
| 3908 if (domainName != null) { | 3908 if (domainName != null) { |
| 3909 _json["domainName"] = domainName; | 3909 _json["domainName"] = domainName; |
| 3910 } | 3910 } |
| 3911 if (fingerprint != null) { | 3911 if (fingerprint != null) { |
| (...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3953 | 3953 |
| 3954 ContainerAccess.fromJson(core.Map _json) { | 3954 ContainerAccess.fromJson(core.Map _json) { |
| 3955 if (_json.containsKey("containerId")) { | 3955 if (_json.containsKey("containerId")) { |
| 3956 containerId = _json["containerId"]; | 3956 containerId = _json["containerId"]; |
| 3957 } | 3957 } |
| 3958 if (_json.containsKey("permission")) { | 3958 if (_json.containsKey("permission")) { |
| 3959 permission = _json["permission"]; | 3959 permission = _json["permission"]; |
| 3960 } | 3960 } |
| 3961 } | 3961 } |
| 3962 | 3962 |
| 3963 core.Map toJson() { | 3963 core.Map<core.String, core.Object> toJson() { |
| 3964 var _json = new core.Map(); | 3964 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
| 3965 if (containerId != null) { | 3965 if (containerId != null) { |
| 3966 _json["containerId"] = containerId; | 3966 _json["containerId"] = containerId; |
| 3967 } | 3967 } |
| 3968 if (permission != null) { | 3968 if (permission != null) { |
| 3969 _json["permission"] = permission; | 3969 _json["permission"] = permission; |
| 3970 } | 3970 } |
| 3971 return _json; | 3971 return _json; |
| 3972 } | 3972 } |
| 3973 } | 3973 } |
| 3974 | 3974 |
| (...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4055 tagManagerUrl = _json["tagManagerUrl"]; | 4055 tagManagerUrl = _json["tagManagerUrl"]; |
| 4056 } | 4056 } |
| 4057 if (_json.containsKey("trigger")) { | 4057 if (_json.containsKey("trigger")) { |
| 4058 trigger = _json["trigger"].map((value) => new Trigger.fromJson(value)).toL
ist(); | 4058 trigger = _json["trigger"].map((value) => new Trigger.fromJson(value)).toL
ist(); |
| 4059 } | 4059 } |
| 4060 if (_json.containsKey("variable")) { | 4060 if (_json.containsKey("variable")) { |
| 4061 variable = _json["variable"].map((value) => new Variable.fromJson(value)).
toList(); | 4061 variable = _json["variable"].map((value) => new Variable.fromJson(value)).
toList(); |
| 4062 } | 4062 } |
| 4063 } | 4063 } |
| 4064 | 4064 |
| 4065 core.Map toJson() { | 4065 core.Map<core.String, core.Object> toJson() { |
| 4066 var _json = new core.Map(); | 4066 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
| 4067 if (accountId != null) { | 4067 if (accountId != null) { |
| 4068 _json["accountId"] = accountId; | 4068 _json["accountId"] = accountId; |
| 4069 } | 4069 } |
| 4070 if (builtInVariable != null) { | 4070 if (builtInVariable != null) { |
| 4071 _json["builtInVariable"] = builtInVariable.map((value) => (value).toJson()
).toList(); | 4071 _json["builtInVariable"] = builtInVariable.map((value) => (value).toJson()
).toList(); |
| 4072 } | 4072 } |
| 4073 if (container != null) { | 4073 if (container != null) { |
| 4074 _json["container"] = (container).toJson(); | 4074 _json["container"] = (container).toJson(); |
| 4075 } | 4075 } |
| 4076 if (containerId != null) { | 4076 if (containerId != null) { |
| (...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4171 numTriggers = _json["numTriggers"]; | 4171 numTriggers = _json["numTriggers"]; |
| 4172 } | 4172 } |
| 4173 if (_json.containsKey("numVariables")) { | 4173 if (_json.containsKey("numVariables")) { |
| 4174 numVariables = _json["numVariables"]; | 4174 numVariables = _json["numVariables"]; |
| 4175 } | 4175 } |
| 4176 if (_json.containsKey("path")) { | 4176 if (_json.containsKey("path")) { |
| 4177 path = _json["path"]; | 4177 path = _json["path"]; |
| 4178 } | 4178 } |
| 4179 } | 4179 } |
| 4180 | 4180 |
| 4181 core.Map toJson() { | 4181 core.Map<core.String, core.Object> toJson() { |
| 4182 var _json = new core.Map(); | 4182 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
| 4183 if (accountId != null) { | 4183 if (accountId != null) { |
| 4184 _json["accountId"] = accountId; | 4184 _json["accountId"] = accountId; |
| 4185 } | 4185 } |
| 4186 if (containerId != null) { | 4186 if (containerId != null) { |
| 4187 _json["containerId"] = containerId; | 4187 _json["containerId"] = containerId; |
| 4188 } | 4188 } |
| 4189 if (containerVersionId != null) { | 4189 if (containerVersionId != null) { |
| 4190 _json["containerVersionId"] = containerVersionId; | 4190 _json["containerVersionId"] = containerVersionId; |
| 4191 } | 4191 } |
| 4192 if (deleted != null) { | 4192 if (deleted != null) { |
| (...skipping 29 matching lines...) Expand all Loading... |
| 4222 core.List<BuiltInVariable> builtInVariable; | 4222 core.List<BuiltInVariable> builtInVariable; |
| 4223 | 4223 |
| 4224 CreateBuiltInVariableResponse(); | 4224 CreateBuiltInVariableResponse(); |
| 4225 | 4225 |
| 4226 CreateBuiltInVariableResponse.fromJson(core.Map _json) { | 4226 CreateBuiltInVariableResponse.fromJson(core.Map _json) { |
| 4227 if (_json.containsKey("builtInVariable")) { | 4227 if (_json.containsKey("builtInVariable")) { |
| 4228 builtInVariable = _json["builtInVariable"].map((value) => new BuiltInVaria
ble.fromJson(value)).toList(); | 4228 builtInVariable = _json["builtInVariable"].map((value) => new BuiltInVaria
ble.fromJson(value)).toList(); |
| 4229 } | 4229 } |
| 4230 } | 4230 } |
| 4231 | 4231 |
| 4232 core.Map toJson() { | 4232 core.Map<core.String, core.Object> toJson() { |
| 4233 var _json = new core.Map(); | 4233 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
| 4234 if (builtInVariable != null) { | 4234 if (builtInVariable != null) { |
| 4235 _json["builtInVariable"] = builtInVariable.map((value) => (value).toJson()
).toList(); | 4235 _json["builtInVariable"] = builtInVariable.map((value) => (value).toJson()
).toList(); |
| 4236 } | 4236 } |
| 4237 return _json; | 4237 return _json; |
| 4238 } | 4238 } |
| 4239 } | 4239 } |
| 4240 | 4240 |
| 4241 /** Options for new container versions. */ | 4241 /** Options for new container versions. */ |
| 4242 class CreateContainerVersionRequestVersionOptions { | 4242 class CreateContainerVersionRequestVersionOptions { |
| 4243 /** The name of the container version to be created. */ | 4243 /** The name of the container version to be created. */ |
| 4244 core.String name; | 4244 core.String name; |
| 4245 /** The notes of the container version to be created. */ | 4245 /** The notes of the container version to be created. */ |
| 4246 core.String notes; | 4246 core.String notes; |
| 4247 | 4247 |
| 4248 CreateContainerVersionRequestVersionOptions(); | 4248 CreateContainerVersionRequestVersionOptions(); |
| 4249 | 4249 |
| 4250 CreateContainerVersionRequestVersionOptions.fromJson(core.Map _json) { | 4250 CreateContainerVersionRequestVersionOptions.fromJson(core.Map _json) { |
| 4251 if (_json.containsKey("name")) { | 4251 if (_json.containsKey("name")) { |
| 4252 name = _json["name"]; | 4252 name = _json["name"]; |
| 4253 } | 4253 } |
| 4254 if (_json.containsKey("notes")) { | 4254 if (_json.containsKey("notes")) { |
| 4255 notes = _json["notes"]; | 4255 notes = _json["notes"]; |
| 4256 } | 4256 } |
| 4257 } | 4257 } |
| 4258 | 4258 |
| 4259 core.Map toJson() { | 4259 core.Map<core.String, core.Object> toJson() { |
| 4260 var _json = new core.Map(); | 4260 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
| 4261 if (name != null) { | 4261 if (name != null) { |
| 4262 _json["name"] = name; | 4262 _json["name"] = name; |
| 4263 } | 4263 } |
| 4264 if (notes != null) { | 4264 if (notes != null) { |
| 4265 _json["notes"] = notes; | 4265 _json["notes"] = notes; |
| 4266 } | 4266 } |
| 4267 return _json; | 4267 return _json; |
| 4268 } | 4268 } |
| 4269 } | 4269 } |
| 4270 | 4270 |
| (...skipping 25 matching lines...) Expand all Loading... |
| 4296 containerVersion = new ContainerVersion.fromJson(_json["containerVersion"]
); | 4296 containerVersion = new ContainerVersion.fromJson(_json["containerVersion"]
); |
| 4297 } | 4297 } |
| 4298 if (_json.containsKey("newWorkspacePath")) { | 4298 if (_json.containsKey("newWorkspacePath")) { |
| 4299 newWorkspacePath = _json["newWorkspacePath"]; | 4299 newWorkspacePath = _json["newWorkspacePath"]; |
| 4300 } | 4300 } |
| 4301 if (_json.containsKey("syncStatus")) { | 4301 if (_json.containsKey("syncStatus")) { |
| 4302 syncStatus = new SyncStatus.fromJson(_json["syncStatus"]); | 4302 syncStatus = new SyncStatus.fromJson(_json["syncStatus"]); |
| 4303 } | 4303 } |
| 4304 } | 4304 } |
| 4305 | 4305 |
| 4306 core.Map toJson() { | 4306 core.Map<core.String, core.Object> toJson() { |
| 4307 var _json = new core.Map(); | 4307 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
| 4308 if (compilerError != null) { | 4308 if (compilerError != null) { |
| 4309 _json["compilerError"] = compilerError; | 4309 _json["compilerError"] = compilerError; |
| 4310 } | 4310 } |
| 4311 if (containerVersion != null) { | 4311 if (containerVersion != null) { |
| 4312 _json["containerVersion"] = (containerVersion).toJson(); | 4312 _json["containerVersion"] = (containerVersion).toJson(); |
| 4313 } | 4313 } |
| 4314 if (newWorkspacePath != null) { | 4314 if (newWorkspacePath != null) { |
| 4315 _json["newWorkspacePath"] = newWorkspacePath; | 4315 _json["newWorkspacePath"] = newWorkspacePath; |
| 4316 } | 4316 } |
| 4317 if (syncStatus != null) { | 4317 if (syncStatus != null) { |
| (...skipping 16 matching lines...) Expand all Loading... |
| 4334 | 4334 |
| 4335 CreateWorkspaceProposalRequest.fromJson(core.Map _json) { | 4335 CreateWorkspaceProposalRequest.fromJson(core.Map _json) { |
| 4336 if (_json.containsKey("initialComment")) { | 4336 if (_json.containsKey("initialComment")) { |
| 4337 initialComment = new WorkspaceProposalHistoryComment.fromJson(_json["initi
alComment"]); | 4337 initialComment = new WorkspaceProposalHistoryComment.fromJson(_json["initi
alComment"]); |
| 4338 } | 4338 } |
| 4339 if (_json.containsKey("reviewers")) { | 4339 if (_json.containsKey("reviewers")) { |
| 4340 reviewers = _json["reviewers"].map((value) => new WorkspaceProposalUser.fr
omJson(value)).toList(); | 4340 reviewers = _json["reviewers"].map((value) => new WorkspaceProposalUser.fr
omJson(value)).toList(); |
| 4341 } | 4341 } |
| 4342 } | 4342 } |
| 4343 | 4343 |
| 4344 core.Map toJson() { | 4344 core.Map<core.String, core.Object> toJson() { |
| 4345 var _json = new core.Map(); | 4345 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
| 4346 if (initialComment != null) { | 4346 if (initialComment != null) { |
| 4347 _json["initialComment"] = (initialComment).toJson(); | 4347 _json["initialComment"] = (initialComment).toJson(); |
| 4348 } | 4348 } |
| 4349 if (reviewers != null) { | 4349 if (reviewers != null) { |
| 4350 _json["reviewers"] = reviewers.map((value) => (value).toJson()).toList(); | 4350 _json["reviewers"] = reviewers.map((value) => (value).toJson()).toList(); |
| 4351 } | 4351 } |
| 4352 return _json; | 4352 return _json; |
| 4353 } | 4353 } |
| 4354 } | 4354 } |
| 4355 | 4355 |
| (...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4390 tag = new Tag.fromJson(_json["tag"]); | 4390 tag = new Tag.fromJson(_json["tag"]); |
| 4391 } | 4391 } |
| 4392 if (_json.containsKey("trigger")) { | 4392 if (_json.containsKey("trigger")) { |
| 4393 trigger = new Trigger.fromJson(_json["trigger"]); | 4393 trigger = new Trigger.fromJson(_json["trigger"]); |
| 4394 } | 4394 } |
| 4395 if (_json.containsKey("variable")) { | 4395 if (_json.containsKey("variable")) { |
| 4396 variable = new Variable.fromJson(_json["variable"]); | 4396 variable = new Variable.fromJson(_json["variable"]); |
| 4397 } | 4397 } |
| 4398 } | 4398 } |
| 4399 | 4399 |
| 4400 core.Map toJson() { | 4400 core.Map<core.String, core.Object> toJson() { |
| 4401 var _json = new core.Map(); | 4401 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
| 4402 if (changeStatus != null) { | 4402 if (changeStatus != null) { |
| 4403 _json["changeStatus"] = changeStatus; | 4403 _json["changeStatus"] = changeStatus; |
| 4404 } | 4404 } |
| 4405 if (folder != null) { | 4405 if (folder != null) { |
| 4406 _json["folder"] = (folder).toJson(); | 4406 _json["folder"] = (folder).toJson(); |
| 4407 } | 4407 } |
| 4408 if (tag != null) { | 4408 if (tag != null) { |
| 4409 _json["tag"] = (tag).toJson(); | 4409 _json["tag"] = (tag).toJson(); |
| 4410 } | 4410 } |
| 4411 if (trigger != null) { | 4411 if (trigger != null) { |
| (...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4514 type = _json["type"]; | 4514 type = _json["type"]; |
| 4515 } | 4515 } |
| 4516 if (_json.containsKey("url")) { | 4516 if (_json.containsKey("url")) { |
| 4517 url = _json["url"]; | 4517 url = _json["url"]; |
| 4518 } | 4518 } |
| 4519 if (_json.containsKey("workspaceId")) { | 4519 if (_json.containsKey("workspaceId")) { |
| 4520 workspaceId = _json["workspaceId"]; | 4520 workspaceId = _json["workspaceId"]; |
| 4521 } | 4521 } |
| 4522 } | 4522 } |
| 4523 | 4523 |
| 4524 core.Map toJson() { | 4524 core.Map<core.String, core.Object> toJson() { |
| 4525 var _json = new core.Map(); | 4525 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
| 4526 if (accountId != null) { | 4526 if (accountId != null) { |
| 4527 _json["accountId"] = accountId; | 4527 _json["accountId"] = accountId; |
| 4528 } | 4528 } |
| 4529 if (authorizationCode != null) { | 4529 if (authorizationCode != null) { |
| 4530 _json["authorizationCode"] = authorizationCode; | 4530 _json["authorizationCode"] = authorizationCode; |
| 4531 } | 4531 } |
| 4532 if (authorizationTimestamp != null) { | 4532 if (authorizationTimestamp != null) { |
| 4533 _json["authorizationTimestamp"] = (authorizationTimestamp).toJson(); | 4533 _json["authorizationTimestamp"] = (authorizationTimestamp).toJson(); |
| 4534 } | 4534 } |
| 4535 if (containerId != null) { | 4535 if (containerId != null) { |
| (...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4621 path = _json["path"]; | 4621 path = _json["path"]; |
| 4622 } | 4622 } |
| 4623 if (_json.containsKey("tagManagerUrl")) { | 4623 if (_json.containsKey("tagManagerUrl")) { |
| 4624 tagManagerUrl = _json["tagManagerUrl"]; | 4624 tagManagerUrl = _json["tagManagerUrl"]; |
| 4625 } | 4625 } |
| 4626 if (_json.containsKey("workspaceId")) { | 4626 if (_json.containsKey("workspaceId")) { |
| 4627 workspaceId = _json["workspaceId"]; | 4627 workspaceId = _json["workspaceId"]; |
| 4628 } | 4628 } |
| 4629 } | 4629 } |
| 4630 | 4630 |
| 4631 core.Map toJson() { | 4631 core.Map<core.String, core.Object> toJson() { |
| 4632 var _json = new core.Map(); | 4632 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
| 4633 if (accountId != null) { | 4633 if (accountId != null) { |
| 4634 _json["accountId"] = accountId; | 4634 _json["accountId"] = accountId; |
| 4635 } | 4635 } |
| 4636 if (containerId != null) { | 4636 if (containerId != null) { |
| 4637 _json["containerId"] = containerId; | 4637 _json["containerId"] = containerId; |
| 4638 } | 4638 } |
| 4639 if (fingerprint != null) { | 4639 if (fingerprint != null) { |
| 4640 _json["fingerprint"] = fingerprint; | 4640 _json["fingerprint"] = fingerprint; |
| 4641 } | 4641 } |
| 4642 if (folderId != null) { | 4642 if (folderId != null) { |
| (...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4682 tag = _json["tag"].map((value) => new Tag.fromJson(value)).toList(); | 4682 tag = _json["tag"].map((value) => new Tag.fromJson(value)).toList(); |
| 4683 } | 4683 } |
| 4684 if (_json.containsKey("trigger")) { | 4684 if (_json.containsKey("trigger")) { |
| 4685 trigger = _json["trigger"].map((value) => new Trigger.fromJson(value)).toL
ist(); | 4685 trigger = _json["trigger"].map((value) => new Trigger.fromJson(value)).toL
ist(); |
| 4686 } | 4686 } |
| 4687 if (_json.containsKey("variable")) { | 4687 if (_json.containsKey("variable")) { |
| 4688 variable = _json["variable"].map((value) => new Variable.fromJson(value)).
toList(); | 4688 variable = _json["variable"].map((value) => new Variable.fromJson(value)).
toList(); |
| 4689 } | 4689 } |
| 4690 } | 4690 } |
| 4691 | 4691 |
| 4692 core.Map toJson() { | 4692 core.Map<core.String, core.Object> toJson() { |
| 4693 var _json = new core.Map(); | 4693 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
| 4694 if (nextPageToken != null) { | 4694 if (nextPageToken != null) { |
| 4695 _json["nextPageToken"] = nextPageToken; | 4695 _json["nextPageToken"] = nextPageToken; |
| 4696 } | 4696 } |
| 4697 if (tag != null) { | 4697 if (tag != null) { |
| 4698 _json["tag"] = tag.map((value) => (value).toJson()).toList(); | 4698 _json["tag"] = tag.map((value) => (value).toJson()).toList(); |
| 4699 } | 4699 } |
| 4700 if (trigger != null) { | 4700 if (trigger != null) { |
| 4701 _json["trigger"] = trigger.map((value) => (value).toJson()).toList(); | 4701 _json["trigger"] = trigger.map((value) => (value).toJson()).toList(); |
| 4702 } | 4702 } |
| 4703 if (variable != null) { | 4703 if (variable != null) { |
| (...skipping 17 matching lines...) Expand all Loading... |
| 4721 | 4721 |
| 4722 GetWorkspaceStatusResponse.fromJson(core.Map _json) { | 4722 GetWorkspaceStatusResponse.fromJson(core.Map _json) { |
| 4723 if (_json.containsKey("mergeConflict")) { | 4723 if (_json.containsKey("mergeConflict")) { |
| 4724 mergeConflict = _json["mergeConflict"].map((value) => new MergeConflict.fr
omJson(value)).toList(); | 4724 mergeConflict = _json["mergeConflict"].map((value) => new MergeConflict.fr
omJson(value)).toList(); |
| 4725 } | 4725 } |
| 4726 if (_json.containsKey("workspaceChange")) { | 4726 if (_json.containsKey("workspaceChange")) { |
| 4727 workspaceChange = _json["workspaceChange"].map((value) => new Entity.fromJ
son(value)).toList(); | 4727 workspaceChange = _json["workspaceChange"].map((value) => new Entity.fromJ
son(value)).toList(); |
| 4728 } | 4728 } |
| 4729 } | 4729 } |
| 4730 | 4730 |
| 4731 core.Map toJson() { | 4731 core.Map<core.String, core.Object> toJson() { |
| 4732 var _json = new core.Map(); | 4732 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
| 4733 if (mergeConflict != null) { | 4733 if (mergeConflict != null) { |
| 4734 _json["mergeConflict"] = mergeConflict.map((value) => (value).toJson()).to
List(); | 4734 _json["mergeConflict"] = mergeConflict.map((value) => (value).toJson()).to
List(); |
| 4735 } | 4735 } |
| 4736 if (workspaceChange != null) { | 4736 if (workspaceChange != null) { |
| 4737 _json["workspaceChange"] = workspaceChange.map((value) => (value).toJson()
).toList(); | 4737 _json["workspaceChange"] = workspaceChange.map((value) => (value).toJson()
).toList(); |
| 4738 } | 4738 } |
| 4739 return _json; | 4739 return _json; |
| 4740 } | 4740 } |
| 4741 } | 4741 } |
| 4742 | 4742 |
| 4743 /** List Accounts Response. */ | 4743 /** List Accounts Response. */ |
| 4744 class ListAccountsResponse { | 4744 class ListAccountsResponse { |
| 4745 /** List of GTM Accounts that a user has access to. */ | 4745 /** List of GTM Accounts that a user has access to. */ |
| 4746 core.List<Account> account; | 4746 core.List<Account> account; |
| 4747 /** Continuation token for fetching the next page of results. */ | 4747 /** Continuation token for fetching the next page of results. */ |
| 4748 core.String nextPageToken; | 4748 core.String nextPageToken; |
| 4749 | 4749 |
| 4750 ListAccountsResponse(); | 4750 ListAccountsResponse(); |
| 4751 | 4751 |
| 4752 ListAccountsResponse.fromJson(core.Map _json) { | 4752 ListAccountsResponse.fromJson(core.Map _json) { |
| 4753 if (_json.containsKey("account")) { | 4753 if (_json.containsKey("account")) { |
| 4754 account = _json["account"].map((value) => new Account.fromJson(value)).toL
ist(); | 4754 account = _json["account"].map((value) => new Account.fromJson(value)).toL
ist(); |
| 4755 } | 4755 } |
| 4756 if (_json.containsKey("nextPageToken")) { | 4756 if (_json.containsKey("nextPageToken")) { |
| 4757 nextPageToken = _json["nextPageToken"]; | 4757 nextPageToken = _json["nextPageToken"]; |
| 4758 } | 4758 } |
| 4759 } | 4759 } |
| 4760 | 4760 |
| 4761 core.Map toJson() { | 4761 core.Map<core.String, core.Object> toJson() { |
| 4762 var _json = new core.Map(); | 4762 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
| 4763 if (account != null) { | 4763 if (account != null) { |
| 4764 _json["account"] = account.map((value) => (value).toJson()).toList(); | 4764 _json["account"] = account.map((value) => (value).toJson()).toList(); |
| 4765 } | 4765 } |
| 4766 if (nextPageToken != null) { | 4766 if (nextPageToken != null) { |
| 4767 _json["nextPageToken"] = nextPageToken; | 4767 _json["nextPageToken"] = nextPageToken; |
| 4768 } | 4768 } |
| 4769 return _json; | 4769 return _json; |
| 4770 } | 4770 } |
| 4771 } | 4771 } |
| 4772 | 4772 |
| 4773 /** List container versions response. */ | 4773 /** List container versions response. */ |
| 4774 class ListContainerVersionsResponse { | 4774 class ListContainerVersionsResponse { |
| 4775 /** All container version headers of a GTM Container. */ | 4775 /** All container version headers of a GTM Container. */ |
| 4776 core.List<ContainerVersionHeader> containerVersionHeader; | 4776 core.List<ContainerVersionHeader> containerVersionHeader; |
| 4777 /** Continuation token for fetching the next page of results. */ | 4777 /** Continuation token for fetching the next page of results. */ |
| 4778 core.String nextPageToken; | 4778 core.String nextPageToken; |
| 4779 | 4779 |
| 4780 ListContainerVersionsResponse(); | 4780 ListContainerVersionsResponse(); |
| 4781 | 4781 |
| 4782 ListContainerVersionsResponse.fromJson(core.Map _json) { | 4782 ListContainerVersionsResponse.fromJson(core.Map _json) { |
| 4783 if (_json.containsKey("containerVersionHeader")) { | 4783 if (_json.containsKey("containerVersionHeader")) { |
| 4784 containerVersionHeader = _json["containerVersionHeader"].map((value) => ne
w ContainerVersionHeader.fromJson(value)).toList(); | 4784 containerVersionHeader = _json["containerVersionHeader"].map((value) => ne
w ContainerVersionHeader.fromJson(value)).toList(); |
| 4785 } | 4785 } |
| 4786 if (_json.containsKey("nextPageToken")) { | 4786 if (_json.containsKey("nextPageToken")) { |
| 4787 nextPageToken = _json["nextPageToken"]; | 4787 nextPageToken = _json["nextPageToken"]; |
| 4788 } | 4788 } |
| 4789 } | 4789 } |
| 4790 | 4790 |
| 4791 core.Map toJson() { | 4791 core.Map<core.String, core.Object> toJson() { |
| 4792 var _json = new core.Map(); | 4792 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
| 4793 if (containerVersionHeader != null) { | 4793 if (containerVersionHeader != null) { |
| 4794 _json["containerVersionHeader"] = containerVersionHeader.map((value) => (v
alue).toJson()).toList(); | 4794 _json["containerVersionHeader"] = containerVersionHeader.map((value) => (v
alue).toJson()).toList(); |
| 4795 } | 4795 } |
| 4796 if (nextPageToken != null) { | 4796 if (nextPageToken != null) { |
| 4797 _json["nextPageToken"] = nextPageToken; | 4797 _json["nextPageToken"] = nextPageToken; |
| 4798 } | 4798 } |
| 4799 return _json; | 4799 return _json; |
| 4800 } | 4800 } |
| 4801 } | 4801 } |
| 4802 | 4802 |
| 4803 /** List Containers Response. */ | 4803 /** List Containers Response. */ |
| 4804 class ListContainersResponse { | 4804 class ListContainersResponse { |
| 4805 /** All Containers of a GTM Account. */ | 4805 /** All Containers of a GTM Account. */ |
| 4806 core.List<Container> container; | 4806 core.List<Container> container; |
| 4807 /** Continuation token for fetching the next page of results. */ | 4807 /** Continuation token for fetching the next page of results. */ |
| 4808 core.String nextPageToken; | 4808 core.String nextPageToken; |
| 4809 | 4809 |
| 4810 ListContainersResponse(); | 4810 ListContainersResponse(); |
| 4811 | 4811 |
| 4812 ListContainersResponse.fromJson(core.Map _json) { | 4812 ListContainersResponse.fromJson(core.Map _json) { |
| 4813 if (_json.containsKey("container")) { | 4813 if (_json.containsKey("container")) { |
| 4814 container = _json["container"].map((value) => new Container.fromJson(value
)).toList(); | 4814 container = _json["container"].map((value) => new Container.fromJson(value
)).toList(); |
| 4815 } | 4815 } |
| 4816 if (_json.containsKey("nextPageToken")) { | 4816 if (_json.containsKey("nextPageToken")) { |
| 4817 nextPageToken = _json["nextPageToken"]; | 4817 nextPageToken = _json["nextPageToken"]; |
| 4818 } | 4818 } |
| 4819 } | 4819 } |
| 4820 | 4820 |
| 4821 core.Map toJson() { | 4821 core.Map<core.String, core.Object> toJson() { |
| 4822 var _json = new core.Map(); | 4822 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
| 4823 if (container != null) { | 4823 if (container != null) { |
| 4824 _json["container"] = container.map((value) => (value).toJson()).toList(); | 4824 _json["container"] = container.map((value) => (value).toJson()).toList(); |
| 4825 } | 4825 } |
| 4826 if (nextPageToken != null) { | 4826 if (nextPageToken != null) { |
| 4827 _json["nextPageToken"] = nextPageToken; | 4827 _json["nextPageToken"] = nextPageToken; |
| 4828 } | 4828 } |
| 4829 return _json; | 4829 return _json; |
| 4830 } | 4830 } |
| 4831 } | 4831 } |
| 4832 | 4832 |
| 4833 /** A list of enabled built-in variables. */ | 4833 /** A list of enabled built-in variables. */ |
| 4834 class ListEnabledBuiltInVariablesResponse { | 4834 class ListEnabledBuiltInVariablesResponse { |
| 4835 /** All GTM BuiltInVariables of a GTM container. */ | 4835 /** All GTM BuiltInVariables of a GTM container. */ |
| 4836 core.List<BuiltInVariable> builtInVariable; | 4836 core.List<BuiltInVariable> builtInVariable; |
| 4837 /** Continuation token for fetching the next page of results. */ | 4837 /** Continuation token for fetching the next page of results. */ |
| 4838 core.String nextPageToken; | 4838 core.String nextPageToken; |
| 4839 | 4839 |
| 4840 ListEnabledBuiltInVariablesResponse(); | 4840 ListEnabledBuiltInVariablesResponse(); |
| 4841 | 4841 |
| 4842 ListEnabledBuiltInVariablesResponse.fromJson(core.Map _json) { | 4842 ListEnabledBuiltInVariablesResponse.fromJson(core.Map _json) { |
| 4843 if (_json.containsKey("builtInVariable")) { | 4843 if (_json.containsKey("builtInVariable")) { |
| 4844 builtInVariable = _json["builtInVariable"].map((value) => new BuiltInVaria
ble.fromJson(value)).toList(); | 4844 builtInVariable = _json["builtInVariable"].map((value) => new BuiltInVaria
ble.fromJson(value)).toList(); |
| 4845 } | 4845 } |
| 4846 if (_json.containsKey("nextPageToken")) { | 4846 if (_json.containsKey("nextPageToken")) { |
| 4847 nextPageToken = _json["nextPageToken"]; | 4847 nextPageToken = _json["nextPageToken"]; |
| 4848 } | 4848 } |
| 4849 } | 4849 } |
| 4850 | 4850 |
| 4851 core.Map toJson() { | 4851 core.Map<core.String, core.Object> toJson() { |
| 4852 var _json = new core.Map(); | 4852 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
| 4853 if (builtInVariable != null) { | 4853 if (builtInVariable != null) { |
| 4854 _json["builtInVariable"] = builtInVariable.map((value) => (value).toJson()
).toList(); | 4854 _json["builtInVariable"] = builtInVariable.map((value) => (value).toJson()
).toList(); |
| 4855 } | 4855 } |
| 4856 if (nextPageToken != null) { | 4856 if (nextPageToken != null) { |
| 4857 _json["nextPageToken"] = nextPageToken; | 4857 _json["nextPageToken"] = nextPageToken; |
| 4858 } | 4858 } |
| 4859 return _json; | 4859 return _json; |
| 4860 } | 4860 } |
| 4861 } | 4861 } |
| 4862 | 4862 |
| 4863 /** List Environments Response. */ | 4863 /** List Environments Response. */ |
| 4864 class ListEnvironmentsResponse { | 4864 class ListEnvironmentsResponse { |
| 4865 /** All Environments of a GTM Container. */ | 4865 /** All Environments of a GTM Container. */ |
| 4866 core.List<Environment> environment; | 4866 core.List<Environment> environment; |
| 4867 /** Continuation token for fetching the next page of results. */ | 4867 /** Continuation token for fetching the next page of results. */ |
| 4868 core.String nextPageToken; | 4868 core.String nextPageToken; |
| 4869 | 4869 |
| 4870 ListEnvironmentsResponse(); | 4870 ListEnvironmentsResponse(); |
| 4871 | 4871 |
| 4872 ListEnvironmentsResponse.fromJson(core.Map _json) { | 4872 ListEnvironmentsResponse.fromJson(core.Map _json) { |
| 4873 if (_json.containsKey("environment")) { | 4873 if (_json.containsKey("environment")) { |
| 4874 environment = _json["environment"].map((value) => new Environment.fromJson
(value)).toList(); | 4874 environment = _json["environment"].map((value) => new Environment.fromJson
(value)).toList(); |
| 4875 } | 4875 } |
| 4876 if (_json.containsKey("nextPageToken")) { | 4876 if (_json.containsKey("nextPageToken")) { |
| 4877 nextPageToken = _json["nextPageToken"]; | 4877 nextPageToken = _json["nextPageToken"]; |
| 4878 } | 4878 } |
| 4879 } | 4879 } |
| 4880 | 4880 |
| 4881 core.Map toJson() { | 4881 core.Map<core.String, core.Object> toJson() { |
| 4882 var _json = new core.Map(); | 4882 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
| 4883 if (environment != null) { | 4883 if (environment != null) { |
| 4884 _json["environment"] = environment.map((value) => (value).toJson()).toList
(); | 4884 _json["environment"] = environment.map((value) => (value).toJson()).toList
(); |
| 4885 } | 4885 } |
| 4886 if (nextPageToken != null) { | 4886 if (nextPageToken != null) { |
| 4887 _json["nextPageToken"] = nextPageToken; | 4887 _json["nextPageToken"] = nextPageToken; |
| 4888 } | 4888 } |
| 4889 return _json; | 4889 return _json; |
| 4890 } | 4890 } |
| 4891 } | 4891 } |
| 4892 | 4892 |
| 4893 /** List Folders Response. */ | 4893 /** List Folders Response. */ |
| 4894 class ListFoldersResponse { | 4894 class ListFoldersResponse { |
| 4895 /** All GTM Folders of a GTM Container. */ | 4895 /** All GTM Folders of a GTM Container. */ |
| 4896 core.List<Folder> folder; | 4896 core.List<Folder> folder; |
| 4897 /** Continuation token for fetching the next page of results. */ | 4897 /** Continuation token for fetching the next page of results. */ |
| 4898 core.String nextPageToken; | 4898 core.String nextPageToken; |
| 4899 | 4899 |
| 4900 ListFoldersResponse(); | 4900 ListFoldersResponse(); |
| 4901 | 4901 |
| 4902 ListFoldersResponse.fromJson(core.Map _json) { | 4902 ListFoldersResponse.fromJson(core.Map _json) { |
| 4903 if (_json.containsKey("folder")) { | 4903 if (_json.containsKey("folder")) { |
| 4904 folder = _json["folder"].map((value) => new Folder.fromJson(value)).toList
(); | 4904 folder = _json["folder"].map((value) => new Folder.fromJson(value)).toList
(); |
| 4905 } | 4905 } |
| 4906 if (_json.containsKey("nextPageToken")) { | 4906 if (_json.containsKey("nextPageToken")) { |
| 4907 nextPageToken = _json["nextPageToken"]; | 4907 nextPageToken = _json["nextPageToken"]; |
| 4908 } | 4908 } |
| 4909 } | 4909 } |
| 4910 | 4910 |
| 4911 core.Map toJson() { | 4911 core.Map<core.String, core.Object> toJson() { |
| 4912 var _json = new core.Map(); | 4912 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
| 4913 if (folder != null) { | 4913 if (folder != null) { |
| 4914 _json["folder"] = folder.map((value) => (value).toJson()).toList(); | 4914 _json["folder"] = folder.map((value) => (value).toJson()).toList(); |
| 4915 } | 4915 } |
| 4916 if (nextPageToken != null) { | 4916 if (nextPageToken != null) { |
| 4917 _json["nextPageToken"] = nextPageToken; | 4917 _json["nextPageToken"] = nextPageToken; |
| 4918 } | 4918 } |
| 4919 return _json; | 4919 return _json; |
| 4920 } | 4920 } |
| 4921 } | 4921 } |
| 4922 | 4922 |
| 4923 /** List Tags Response. */ | 4923 /** List Tags Response. */ |
| 4924 class ListTagsResponse { | 4924 class ListTagsResponse { |
| 4925 /** Continuation token for fetching the next page of results. */ | 4925 /** Continuation token for fetching the next page of results. */ |
| 4926 core.String nextPageToken; | 4926 core.String nextPageToken; |
| 4927 /** All GTM Tags of a GTM Container. */ | 4927 /** All GTM Tags of a GTM Container. */ |
| 4928 core.List<Tag> tag; | 4928 core.List<Tag> tag; |
| 4929 | 4929 |
| 4930 ListTagsResponse(); | 4930 ListTagsResponse(); |
| 4931 | 4931 |
| 4932 ListTagsResponse.fromJson(core.Map _json) { | 4932 ListTagsResponse.fromJson(core.Map _json) { |
| 4933 if (_json.containsKey("nextPageToken")) { | 4933 if (_json.containsKey("nextPageToken")) { |
| 4934 nextPageToken = _json["nextPageToken"]; | 4934 nextPageToken = _json["nextPageToken"]; |
| 4935 } | 4935 } |
| 4936 if (_json.containsKey("tag")) { | 4936 if (_json.containsKey("tag")) { |
| 4937 tag = _json["tag"].map((value) => new Tag.fromJson(value)).toList(); | 4937 tag = _json["tag"].map((value) => new Tag.fromJson(value)).toList(); |
| 4938 } | 4938 } |
| 4939 } | 4939 } |
| 4940 | 4940 |
| 4941 core.Map toJson() { | 4941 core.Map<core.String, core.Object> toJson() { |
| 4942 var _json = new core.Map(); | 4942 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
| 4943 if (nextPageToken != null) { | 4943 if (nextPageToken != null) { |
| 4944 _json["nextPageToken"] = nextPageToken; | 4944 _json["nextPageToken"] = nextPageToken; |
| 4945 } | 4945 } |
| 4946 if (tag != null) { | 4946 if (tag != null) { |
| 4947 _json["tag"] = tag.map((value) => (value).toJson()).toList(); | 4947 _json["tag"] = tag.map((value) => (value).toJson()).toList(); |
| 4948 } | 4948 } |
| 4949 return _json; | 4949 return _json; |
| 4950 } | 4950 } |
| 4951 } | 4951 } |
| 4952 | 4952 |
| 4953 /** List triggers response. */ | 4953 /** List triggers response. */ |
| 4954 class ListTriggersResponse { | 4954 class ListTriggersResponse { |
| 4955 /** Continuation token for fetching the next page of results. */ | 4955 /** Continuation token for fetching the next page of results. */ |
| 4956 core.String nextPageToken; | 4956 core.String nextPageToken; |
| 4957 /** All GTM Triggers of a GTM Container. */ | 4957 /** All GTM Triggers of a GTM Container. */ |
| 4958 core.List<Trigger> trigger; | 4958 core.List<Trigger> trigger; |
| 4959 | 4959 |
| 4960 ListTriggersResponse(); | 4960 ListTriggersResponse(); |
| 4961 | 4961 |
| 4962 ListTriggersResponse.fromJson(core.Map _json) { | 4962 ListTriggersResponse.fromJson(core.Map _json) { |
| 4963 if (_json.containsKey("nextPageToken")) { | 4963 if (_json.containsKey("nextPageToken")) { |
| 4964 nextPageToken = _json["nextPageToken"]; | 4964 nextPageToken = _json["nextPageToken"]; |
| 4965 } | 4965 } |
| 4966 if (_json.containsKey("trigger")) { | 4966 if (_json.containsKey("trigger")) { |
| 4967 trigger = _json["trigger"].map((value) => new Trigger.fromJson(value)).toL
ist(); | 4967 trigger = _json["trigger"].map((value) => new Trigger.fromJson(value)).toL
ist(); |
| 4968 } | 4968 } |
| 4969 } | 4969 } |
| 4970 | 4970 |
| 4971 core.Map toJson() { | 4971 core.Map<core.String, core.Object> toJson() { |
| 4972 var _json = new core.Map(); | 4972 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
| 4973 if (nextPageToken != null) { | 4973 if (nextPageToken != null) { |
| 4974 _json["nextPageToken"] = nextPageToken; | 4974 _json["nextPageToken"] = nextPageToken; |
| 4975 } | 4975 } |
| 4976 if (trigger != null) { | 4976 if (trigger != null) { |
| 4977 _json["trigger"] = trigger.map((value) => (value).toJson()).toList(); | 4977 _json["trigger"] = trigger.map((value) => (value).toJson()).toList(); |
| 4978 } | 4978 } |
| 4979 return _json; | 4979 return _json; |
| 4980 } | 4980 } |
| 4981 } | 4981 } |
| 4982 | 4982 |
| 4983 /** List user permissions response. */ | 4983 /** List user permissions response. */ |
| 4984 class ListUserPermissionsResponse { | 4984 class ListUserPermissionsResponse { |
| 4985 /** Continuation token for fetching the next page of results. */ | 4985 /** Continuation token for fetching the next page of results. */ |
| 4986 core.String nextPageToken; | 4986 core.String nextPageToken; |
| 4987 /** All GTM UserPermissions of a GTM Account. */ | 4987 /** All GTM UserPermissions of a GTM Account. */ |
| 4988 core.List<UserPermission> userPermission; | 4988 core.List<UserPermission> userPermission; |
| 4989 | 4989 |
| 4990 ListUserPermissionsResponse(); | 4990 ListUserPermissionsResponse(); |
| 4991 | 4991 |
| 4992 ListUserPermissionsResponse.fromJson(core.Map _json) { | 4992 ListUserPermissionsResponse.fromJson(core.Map _json) { |
| 4993 if (_json.containsKey("nextPageToken")) { | 4993 if (_json.containsKey("nextPageToken")) { |
| 4994 nextPageToken = _json["nextPageToken"]; | 4994 nextPageToken = _json["nextPageToken"]; |
| 4995 } | 4995 } |
| 4996 if (_json.containsKey("userPermission")) { | 4996 if (_json.containsKey("userPermission")) { |
| 4997 userPermission = _json["userPermission"].map((value) => new UserPermission
.fromJson(value)).toList(); | 4997 userPermission = _json["userPermission"].map((value) => new UserPermission
.fromJson(value)).toList(); |
| 4998 } | 4998 } |
| 4999 } | 4999 } |
| 5000 | 5000 |
| 5001 core.Map toJson() { | 5001 core.Map<core.String, core.Object> toJson() { |
| 5002 var _json = new core.Map(); | 5002 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
| 5003 if (nextPageToken != null) { | 5003 if (nextPageToken != null) { |
| 5004 _json["nextPageToken"] = nextPageToken; | 5004 _json["nextPageToken"] = nextPageToken; |
| 5005 } | 5005 } |
| 5006 if (userPermission != null) { | 5006 if (userPermission != null) { |
| 5007 _json["userPermission"] = userPermission.map((value) => (value).toJson()).
toList(); | 5007 _json["userPermission"] = userPermission.map((value) => (value).toJson()).
toList(); |
| 5008 } | 5008 } |
| 5009 return _json; | 5009 return _json; |
| 5010 } | 5010 } |
| 5011 } | 5011 } |
| 5012 | 5012 |
| 5013 /** List Variables Response. */ | 5013 /** List Variables Response. */ |
| 5014 class ListVariablesResponse { | 5014 class ListVariablesResponse { |
| 5015 /** Continuation token for fetching the next page of results. */ | 5015 /** Continuation token for fetching the next page of results. */ |
| 5016 core.String nextPageToken; | 5016 core.String nextPageToken; |
| 5017 /** All GTM Variables of a GTM Container. */ | 5017 /** All GTM Variables of a GTM Container. */ |
| 5018 core.List<Variable> variable; | 5018 core.List<Variable> variable; |
| 5019 | 5019 |
| 5020 ListVariablesResponse(); | 5020 ListVariablesResponse(); |
| 5021 | 5021 |
| 5022 ListVariablesResponse.fromJson(core.Map _json) { | 5022 ListVariablesResponse.fromJson(core.Map _json) { |
| 5023 if (_json.containsKey("nextPageToken")) { | 5023 if (_json.containsKey("nextPageToken")) { |
| 5024 nextPageToken = _json["nextPageToken"]; | 5024 nextPageToken = _json["nextPageToken"]; |
| 5025 } | 5025 } |
| 5026 if (_json.containsKey("variable")) { | 5026 if (_json.containsKey("variable")) { |
| 5027 variable = _json["variable"].map((value) => new Variable.fromJson(value)).
toList(); | 5027 variable = _json["variable"].map((value) => new Variable.fromJson(value)).
toList(); |
| 5028 } | 5028 } |
| 5029 } | 5029 } |
| 5030 | 5030 |
| 5031 core.Map toJson() { | 5031 core.Map<core.String, core.Object> toJson() { |
| 5032 var _json = new core.Map(); | 5032 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
| 5033 if (nextPageToken != null) { | 5033 if (nextPageToken != null) { |
| 5034 _json["nextPageToken"] = nextPageToken; | 5034 _json["nextPageToken"] = nextPageToken; |
| 5035 } | 5035 } |
| 5036 if (variable != null) { | 5036 if (variable != null) { |
| 5037 _json["variable"] = variable.map((value) => (value).toJson()).toList(); | 5037 _json["variable"] = variable.map((value) => (value).toJson()).toList(); |
| 5038 } | 5038 } |
| 5039 return _json; | 5039 return _json; |
| 5040 } | 5040 } |
| 5041 } | 5041 } |
| 5042 | 5042 |
| 5043 /** A list of workspaces in a container. */ | 5043 /** A list of workspaces in a container. */ |
| 5044 class ListWorkspacesResponse { | 5044 class ListWorkspacesResponse { |
| 5045 /** Continuation token for fetching the next page of results. */ | 5045 /** Continuation token for fetching the next page of results. */ |
| 5046 core.String nextPageToken; | 5046 core.String nextPageToken; |
| 5047 /** All Workspaces of a GTM Container. */ | 5047 /** All Workspaces of a GTM Container. */ |
| 5048 core.List<Workspace> workspace; | 5048 core.List<Workspace> workspace; |
| 5049 | 5049 |
| 5050 ListWorkspacesResponse(); | 5050 ListWorkspacesResponse(); |
| 5051 | 5051 |
| 5052 ListWorkspacesResponse.fromJson(core.Map _json) { | 5052 ListWorkspacesResponse.fromJson(core.Map _json) { |
| 5053 if (_json.containsKey("nextPageToken")) { | 5053 if (_json.containsKey("nextPageToken")) { |
| 5054 nextPageToken = _json["nextPageToken"]; | 5054 nextPageToken = _json["nextPageToken"]; |
| 5055 } | 5055 } |
| 5056 if (_json.containsKey("workspace")) { | 5056 if (_json.containsKey("workspace")) { |
| 5057 workspace = _json["workspace"].map((value) => new Workspace.fromJson(value
)).toList(); | 5057 workspace = _json["workspace"].map((value) => new Workspace.fromJson(value
)).toList(); |
| 5058 } | 5058 } |
| 5059 } | 5059 } |
| 5060 | 5060 |
| 5061 core.Map toJson() { | 5061 core.Map<core.String, core.Object> toJson() { |
| 5062 var _json = new core.Map(); | 5062 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
| 5063 if (nextPageToken != null) { | 5063 if (nextPageToken != null) { |
| 5064 _json["nextPageToken"] = nextPageToken; | 5064 _json["nextPageToken"] = nextPageToken; |
| 5065 } | 5065 } |
| 5066 if (workspace != null) { | 5066 if (workspace != null) { |
| 5067 _json["workspace"] = workspace.map((value) => (value).toJson()).toList(); | 5067 _json["workspace"] = workspace.map((value) => (value).toJson()).toList(); |
| 5068 } | 5068 } |
| 5069 return _json; | 5069 return _json; |
| 5070 } | 5070 } |
| 5071 } | 5071 } |
| 5072 | 5072 |
| (...skipping 16 matching lines...) Expand all Loading... |
| 5089 | 5089 |
| 5090 MergeConflict.fromJson(core.Map _json) { | 5090 MergeConflict.fromJson(core.Map _json) { |
| 5091 if (_json.containsKey("entityInBaseVersion")) { | 5091 if (_json.containsKey("entityInBaseVersion")) { |
| 5092 entityInBaseVersion = new Entity.fromJson(_json["entityInBaseVersion"]); | 5092 entityInBaseVersion = new Entity.fromJson(_json["entityInBaseVersion"]); |
| 5093 } | 5093 } |
| 5094 if (_json.containsKey("entityInWorkspace")) { | 5094 if (_json.containsKey("entityInWorkspace")) { |
| 5095 entityInWorkspace = new Entity.fromJson(_json["entityInWorkspace"]); | 5095 entityInWorkspace = new Entity.fromJson(_json["entityInWorkspace"]); |
| 5096 } | 5096 } |
| 5097 } | 5097 } |
| 5098 | 5098 |
| 5099 core.Map toJson() { | 5099 core.Map<core.String, core.Object> toJson() { |
| 5100 var _json = new core.Map(); | 5100 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
| 5101 if (entityInBaseVersion != null) { | 5101 if (entityInBaseVersion != null) { |
| 5102 _json["entityInBaseVersion"] = (entityInBaseVersion).toJson(); | 5102 _json["entityInBaseVersion"] = (entityInBaseVersion).toJson(); |
| 5103 } | 5103 } |
| 5104 if (entityInWorkspace != null) { | 5104 if (entityInWorkspace != null) { |
| 5105 _json["entityInWorkspace"] = (entityInWorkspace).toJson(); | 5105 _json["entityInWorkspace"] = (entityInWorkspace).toJson(); |
| 5106 } | 5106 } |
| 5107 return _json; | 5107 return _json; |
| 5108 } | 5108 } |
| 5109 } | 5109 } |
| 5110 | 5110 |
| (...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5155 map = _json["map"].map((value) => new Parameter.fromJson(value)).toList(); | 5155 map = _json["map"].map((value) => new Parameter.fromJson(value)).toList(); |
| 5156 } | 5156 } |
| 5157 if (_json.containsKey("type")) { | 5157 if (_json.containsKey("type")) { |
| 5158 type = _json["type"]; | 5158 type = _json["type"]; |
| 5159 } | 5159 } |
| 5160 if (_json.containsKey("value")) { | 5160 if (_json.containsKey("value")) { |
| 5161 value = _json["value"]; | 5161 value = _json["value"]; |
| 5162 } | 5162 } |
| 5163 } | 5163 } |
| 5164 | 5164 |
| 5165 core.Map toJson() { | 5165 core.Map<core.String, core.Object> toJson() { |
| 5166 var _json = new core.Map(); | 5166 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
| 5167 if (key != null) { | 5167 if (key != null) { |
| 5168 _json["key"] = key; | 5168 _json["key"] = key; |
| 5169 } | 5169 } |
| 5170 if (list != null) { | 5170 if (list != null) { |
| 5171 _json["list"] = list.map((value) => (value).toJson()).toList(); | 5171 _json["list"] = list.map((value) => (value).toJson()).toList(); |
| 5172 } | 5172 } |
| 5173 if (map != null) { | 5173 if (map != null) { |
| 5174 _json["map"] = map.map((value) => (value).toJson()).toList(); | 5174 _json["map"] = map.map((value) => (value).toJson()).toList(); |
| 5175 } | 5175 } |
| 5176 if (type != null) { | 5176 if (type != null) { |
| (...skipping 17 matching lines...) Expand all Loading... |
| 5194 | 5194 |
| 5195 PublishContainerVersionResponse.fromJson(core.Map _json) { | 5195 PublishContainerVersionResponse.fromJson(core.Map _json) { |
| 5196 if (_json.containsKey("compilerError")) { | 5196 if (_json.containsKey("compilerError")) { |
| 5197 compilerError = _json["compilerError"]; | 5197 compilerError = _json["compilerError"]; |
| 5198 } | 5198 } |
| 5199 if (_json.containsKey("containerVersion")) { | 5199 if (_json.containsKey("containerVersion")) { |
| 5200 containerVersion = new ContainerVersion.fromJson(_json["containerVersion"]
); | 5200 containerVersion = new ContainerVersion.fromJson(_json["containerVersion"]
); |
| 5201 } | 5201 } |
| 5202 } | 5202 } |
| 5203 | 5203 |
| 5204 core.Map toJson() { | 5204 core.Map<core.String, core.Object> toJson() { |
| 5205 var _json = new core.Map(); | 5205 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
| 5206 if (compilerError != null) { | 5206 if (compilerError != null) { |
| 5207 _json["compilerError"] = compilerError; | 5207 _json["compilerError"] = compilerError; |
| 5208 } | 5208 } |
| 5209 if (containerVersion != null) { | 5209 if (containerVersion != null) { |
| 5210 _json["containerVersion"] = (containerVersion).toJson(); | 5210 _json["containerVersion"] = (containerVersion).toJson(); |
| 5211 } | 5211 } |
| 5212 return _json; | 5212 return _json; |
| 5213 } | 5213 } |
| 5214 } | 5214 } |
| 5215 | 5215 |
| (...skipping 16 matching lines...) Expand all Loading... |
| 5232 compilerError = _json["compilerError"]; | 5232 compilerError = _json["compilerError"]; |
| 5233 } | 5233 } |
| 5234 if (_json.containsKey("containerVersion")) { | 5234 if (_json.containsKey("containerVersion")) { |
| 5235 containerVersion = new ContainerVersion.fromJson(_json["containerVersion"]
); | 5235 containerVersion = new ContainerVersion.fromJson(_json["containerVersion"]
); |
| 5236 } | 5236 } |
| 5237 if (_json.containsKey("syncStatus")) { | 5237 if (_json.containsKey("syncStatus")) { |
| 5238 syncStatus = new SyncStatus.fromJson(_json["syncStatus"]); | 5238 syncStatus = new SyncStatus.fromJson(_json["syncStatus"]); |
| 5239 } | 5239 } |
| 5240 } | 5240 } |
| 5241 | 5241 |
| 5242 core.Map toJson() { | 5242 core.Map<core.String, core.Object> toJson() { |
| 5243 var _json = new core.Map(); | 5243 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
| 5244 if (compilerError != null) { | 5244 if (compilerError != null) { |
| 5245 _json["compilerError"] = compilerError; | 5245 _json["compilerError"] = compilerError; |
| 5246 } | 5246 } |
| 5247 if (containerVersion != null) { | 5247 if (containerVersion != null) { |
| 5248 _json["containerVersion"] = (containerVersion).toJson(); | 5248 _json["containerVersion"] = (containerVersion).toJson(); |
| 5249 } | 5249 } |
| 5250 if (syncStatus != null) { | 5250 if (syncStatus != null) { |
| 5251 _json["syncStatus"] = (syncStatus).toJson(); | 5251 _json["syncStatus"] = (syncStatus).toJson(); |
| 5252 } | 5252 } |
| 5253 return _json; | 5253 return _json; |
| 5254 } | 5254 } |
| 5255 } | 5255 } |
| 5256 | 5256 |
| 5257 /** The result of reverting a built-in variable in a workspace. */ | 5257 /** The result of reverting a built-in variable in a workspace. */ |
| 5258 class RevertBuiltInVariableResponse { | 5258 class RevertBuiltInVariableResponse { |
| 5259 /** Whether the built-in variable is enabled after reversion. */ | 5259 /** Whether the built-in variable is enabled after reversion. */ |
| 5260 core.bool enabled; | 5260 core.bool enabled; |
| 5261 | 5261 |
| 5262 RevertBuiltInVariableResponse(); | 5262 RevertBuiltInVariableResponse(); |
| 5263 | 5263 |
| 5264 RevertBuiltInVariableResponse.fromJson(core.Map _json) { | 5264 RevertBuiltInVariableResponse.fromJson(core.Map _json) { |
| 5265 if (_json.containsKey("enabled")) { | 5265 if (_json.containsKey("enabled")) { |
| 5266 enabled = _json["enabled"]; | 5266 enabled = _json["enabled"]; |
| 5267 } | 5267 } |
| 5268 } | 5268 } |
| 5269 | 5269 |
| 5270 core.Map toJson() { | 5270 core.Map<core.String, core.Object> toJson() { |
| 5271 var _json = new core.Map(); | 5271 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
| 5272 if (enabled != null) { | 5272 if (enabled != null) { |
| 5273 _json["enabled"] = enabled; | 5273 _json["enabled"] = enabled; |
| 5274 } | 5274 } |
| 5275 return _json; | 5275 return _json; |
| 5276 } | 5276 } |
| 5277 } | 5277 } |
| 5278 | 5278 |
| 5279 /** The result of reverting folder changes in a workspace. */ | 5279 /** The result of reverting folder changes in a workspace. */ |
| 5280 class RevertFolderResponse { | 5280 class RevertFolderResponse { |
| 5281 /** | 5281 /** |
| 5282 * Folder as it appears in the latest container version since the last | 5282 * Folder as it appears in the latest container version since the last |
| 5283 * workspace synchronization operation. If no folder is present, that means | 5283 * workspace synchronization operation. If no folder is present, that means |
| 5284 * the folder was deleted in the latest container version. | 5284 * the folder was deleted in the latest container version. |
| 5285 */ | 5285 */ |
| 5286 Folder folder; | 5286 Folder folder; |
| 5287 | 5287 |
| 5288 RevertFolderResponse(); | 5288 RevertFolderResponse(); |
| 5289 | 5289 |
| 5290 RevertFolderResponse.fromJson(core.Map _json) { | 5290 RevertFolderResponse.fromJson(core.Map _json) { |
| 5291 if (_json.containsKey("folder")) { | 5291 if (_json.containsKey("folder")) { |
| 5292 folder = new Folder.fromJson(_json["folder"]); | 5292 folder = new Folder.fromJson(_json["folder"]); |
| 5293 } | 5293 } |
| 5294 } | 5294 } |
| 5295 | 5295 |
| 5296 core.Map toJson() { | 5296 core.Map<core.String, core.Object> toJson() { |
| 5297 var _json = new core.Map(); | 5297 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
| 5298 if (folder != null) { | 5298 if (folder != null) { |
| 5299 _json["folder"] = (folder).toJson(); | 5299 _json["folder"] = (folder).toJson(); |
| 5300 } | 5300 } |
| 5301 return _json; | 5301 return _json; |
| 5302 } | 5302 } |
| 5303 } | 5303 } |
| 5304 | 5304 |
| 5305 /** The result of reverting a tag in a workspace. */ | 5305 /** The result of reverting a tag in a workspace. */ |
| 5306 class RevertTagResponse { | 5306 class RevertTagResponse { |
| 5307 /** | 5307 /** |
| 5308 * Tag as it appears in the latest container version since the last workspace | 5308 * Tag as it appears in the latest container version since the last workspace |
| 5309 * synchronization operation. If no tag is present, that means the tag was | 5309 * synchronization operation. If no tag is present, that means the tag was |
| 5310 * deleted in the latest container version. | 5310 * deleted in the latest container version. |
| 5311 */ | 5311 */ |
| 5312 Tag tag; | 5312 Tag tag; |
| 5313 | 5313 |
| 5314 RevertTagResponse(); | 5314 RevertTagResponse(); |
| 5315 | 5315 |
| 5316 RevertTagResponse.fromJson(core.Map _json) { | 5316 RevertTagResponse.fromJson(core.Map _json) { |
| 5317 if (_json.containsKey("tag")) { | 5317 if (_json.containsKey("tag")) { |
| 5318 tag = new Tag.fromJson(_json["tag"]); | 5318 tag = new Tag.fromJson(_json["tag"]); |
| 5319 } | 5319 } |
| 5320 } | 5320 } |
| 5321 | 5321 |
| 5322 core.Map toJson() { | 5322 core.Map<core.String, core.Object> toJson() { |
| 5323 var _json = new core.Map(); | 5323 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
| 5324 if (tag != null) { | 5324 if (tag != null) { |
| 5325 _json["tag"] = (tag).toJson(); | 5325 _json["tag"] = (tag).toJson(); |
| 5326 } | 5326 } |
| 5327 return _json; | 5327 return _json; |
| 5328 } | 5328 } |
| 5329 } | 5329 } |
| 5330 | 5330 |
| 5331 /** The result of reverting a trigger in a workspace. */ | 5331 /** The result of reverting a trigger in a workspace. */ |
| 5332 class RevertTriggerResponse { | 5332 class RevertTriggerResponse { |
| 5333 /** | 5333 /** |
| 5334 * Trigger as it appears in the latest container version since the last | 5334 * Trigger as it appears in the latest container version since the last |
| 5335 * workspace synchronization operation. If no trigger is present, that means | 5335 * workspace synchronization operation. If no trigger is present, that means |
| 5336 * the trigger was deleted in the latest container version. | 5336 * the trigger was deleted in the latest container version. |
| 5337 */ | 5337 */ |
| 5338 Trigger trigger; | 5338 Trigger trigger; |
| 5339 | 5339 |
| 5340 RevertTriggerResponse(); | 5340 RevertTriggerResponse(); |
| 5341 | 5341 |
| 5342 RevertTriggerResponse.fromJson(core.Map _json) { | 5342 RevertTriggerResponse.fromJson(core.Map _json) { |
| 5343 if (_json.containsKey("trigger")) { | 5343 if (_json.containsKey("trigger")) { |
| 5344 trigger = new Trigger.fromJson(_json["trigger"]); | 5344 trigger = new Trigger.fromJson(_json["trigger"]); |
| 5345 } | 5345 } |
| 5346 } | 5346 } |
| 5347 | 5347 |
| 5348 core.Map toJson() { | 5348 core.Map<core.String, core.Object> toJson() { |
| 5349 var _json = new core.Map(); | 5349 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
| 5350 if (trigger != null) { | 5350 if (trigger != null) { |
| 5351 _json["trigger"] = (trigger).toJson(); | 5351 _json["trigger"] = (trigger).toJson(); |
| 5352 } | 5352 } |
| 5353 return _json; | 5353 return _json; |
| 5354 } | 5354 } |
| 5355 } | 5355 } |
| 5356 | 5356 |
| 5357 /** The result of reverting a variable in a workspace. */ | 5357 /** The result of reverting a variable in a workspace. */ |
| 5358 class RevertVariableResponse { | 5358 class RevertVariableResponse { |
| 5359 /** | 5359 /** |
| 5360 * Variable as it appears in the latest container version since the last | 5360 * Variable as it appears in the latest container version since the last |
| 5361 * workspace synchronization operation. If no variable is present, that means | 5361 * workspace synchronization operation. If no variable is present, that means |
| 5362 * the variable was deleted in the latest container version. | 5362 * the variable was deleted in the latest container version. |
| 5363 */ | 5363 */ |
| 5364 Variable variable; | 5364 Variable variable; |
| 5365 | 5365 |
| 5366 RevertVariableResponse(); | 5366 RevertVariableResponse(); |
| 5367 | 5367 |
| 5368 RevertVariableResponse.fromJson(core.Map _json) { | 5368 RevertVariableResponse.fromJson(core.Map _json) { |
| 5369 if (_json.containsKey("variable")) { | 5369 if (_json.containsKey("variable")) { |
| 5370 variable = new Variable.fromJson(_json["variable"]); | 5370 variable = new Variable.fromJson(_json["variable"]); |
| 5371 } | 5371 } |
| 5372 } | 5372 } |
| 5373 | 5373 |
| 5374 core.Map toJson() { | 5374 core.Map<core.String, core.Object> toJson() { |
| 5375 var _json = new core.Map(); | 5375 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
| 5376 if (variable != null) { | 5376 if (variable != null) { |
| 5377 _json["variable"] = (variable).toJson(); | 5377 _json["variable"] = (variable).toJson(); |
| 5378 } | 5378 } |
| 5379 return _json; | 5379 return _json; |
| 5380 } | 5380 } |
| 5381 } | 5381 } |
| 5382 | 5382 |
| 5383 /** | 5383 /** |
| 5384 * Represents a reference to atag that fires before another tag in order to set | 5384 * Represents a reference to atag that fires before another tag in order to set |
| 5385 * up dependencies. | 5385 * up dependencies. |
| (...skipping 11 matching lines...) Expand all Loading... |
| 5397 | 5397 |
| 5398 SetupTag.fromJson(core.Map _json) { | 5398 SetupTag.fromJson(core.Map _json) { |
| 5399 if (_json.containsKey("stopOnSetupFailure")) { | 5399 if (_json.containsKey("stopOnSetupFailure")) { |
| 5400 stopOnSetupFailure = _json["stopOnSetupFailure"]; | 5400 stopOnSetupFailure = _json["stopOnSetupFailure"]; |
| 5401 } | 5401 } |
| 5402 if (_json.containsKey("tagName")) { | 5402 if (_json.containsKey("tagName")) { |
| 5403 tagName = _json["tagName"]; | 5403 tagName = _json["tagName"]; |
| 5404 } | 5404 } |
| 5405 } | 5405 } |
| 5406 | 5406 |
| 5407 core.Map toJson() { | 5407 core.Map<core.String, core.Object> toJson() { |
| 5408 var _json = new core.Map(); | 5408 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
| 5409 if (stopOnSetupFailure != null) { | 5409 if (stopOnSetupFailure != null) { |
| 5410 _json["stopOnSetupFailure"] = stopOnSetupFailure; | 5410 _json["stopOnSetupFailure"] = stopOnSetupFailure; |
| 5411 } | 5411 } |
| 5412 if (tagName != null) { | 5412 if (tagName != null) { |
| 5413 _json["tagName"] = tagName; | 5413 _json["tagName"] = tagName; |
| 5414 } | 5414 } |
| 5415 return _json; | 5415 return _json; |
| 5416 } | 5416 } |
| 5417 } | 5417 } |
| 5418 | 5418 |
| 5419 /** The status of a workspace after synchronization. */ | 5419 /** The status of a workspace after synchronization. */ |
| 5420 class SyncStatus { | 5420 class SyncStatus { |
| 5421 /** Synchornization operation detected a merge conflict. */ | 5421 /** Synchornization operation detected a merge conflict. */ |
| 5422 core.bool mergeConflict; | 5422 core.bool mergeConflict; |
| 5423 /** An error occurred during the synchronization operation. */ | 5423 /** An error occurred during the synchronization operation. */ |
| 5424 core.bool syncError; | 5424 core.bool syncError; |
| 5425 | 5425 |
| 5426 SyncStatus(); | 5426 SyncStatus(); |
| 5427 | 5427 |
| 5428 SyncStatus.fromJson(core.Map _json) { | 5428 SyncStatus.fromJson(core.Map _json) { |
| 5429 if (_json.containsKey("mergeConflict")) { | 5429 if (_json.containsKey("mergeConflict")) { |
| 5430 mergeConflict = _json["mergeConflict"]; | 5430 mergeConflict = _json["mergeConflict"]; |
| 5431 } | 5431 } |
| 5432 if (_json.containsKey("syncError")) { | 5432 if (_json.containsKey("syncError")) { |
| 5433 syncError = _json["syncError"]; | 5433 syncError = _json["syncError"]; |
| 5434 } | 5434 } |
| 5435 } | 5435 } |
| 5436 | 5436 |
| 5437 core.Map toJson() { | 5437 core.Map<core.String, core.Object> toJson() { |
| 5438 var _json = new core.Map(); | 5438 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
| 5439 if (mergeConflict != null) { | 5439 if (mergeConflict != null) { |
| 5440 _json["mergeConflict"] = mergeConflict; | 5440 _json["mergeConflict"] = mergeConflict; |
| 5441 } | 5441 } |
| 5442 if (syncError != null) { | 5442 if (syncError != null) { |
| 5443 _json["syncError"] = syncError; | 5443 _json["syncError"] = syncError; |
| 5444 } | 5444 } |
| 5445 return _json; | 5445 return _json; |
| 5446 } | 5446 } |
| 5447 } | 5447 } |
| 5448 | 5448 |
| (...skipping 16 matching lines...) Expand all Loading... |
| 5465 | 5465 |
| 5466 SyncWorkspaceResponse.fromJson(core.Map _json) { | 5466 SyncWorkspaceResponse.fromJson(core.Map _json) { |
| 5467 if (_json.containsKey("mergeConflict")) { | 5467 if (_json.containsKey("mergeConflict")) { |
| 5468 mergeConflict = _json["mergeConflict"].map((value) => new MergeConflict.fr
omJson(value)).toList(); | 5468 mergeConflict = _json["mergeConflict"].map((value) => new MergeConflict.fr
omJson(value)).toList(); |
| 5469 } | 5469 } |
| 5470 if (_json.containsKey("syncStatus")) { | 5470 if (_json.containsKey("syncStatus")) { |
| 5471 syncStatus = new SyncStatus.fromJson(_json["syncStatus"]); | 5471 syncStatus = new SyncStatus.fromJson(_json["syncStatus"]); |
| 5472 } | 5472 } |
| 5473 } | 5473 } |
| 5474 | 5474 |
| 5475 core.Map toJson() { | 5475 core.Map<core.String, core.Object> toJson() { |
| 5476 var _json = new core.Map(); | 5476 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
| 5477 if (mergeConflict != null) { | 5477 if (mergeConflict != null) { |
| 5478 _json["mergeConflict"] = mergeConflict.map((value) => (value).toJson()).to
List(); | 5478 _json["mergeConflict"] = mergeConflict.map((value) => (value).toJson()).to
List(); |
| 5479 } | 5479 } |
| 5480 if (syncStatus != null) { | 5480 if (syncStatus != null) { |
| 5481 _json["syncStatus"] = (syncStatus).toJson(); | 5481 _json["syncStatus"] = (syncStatus).toJson(); |
| 5482 } | 5482 } |
| 5483 return _json; | 5483 return _json; |
| 5484 } | 5484 } |
| 5485 } | 5485 } |
| 5486 | 5486 |
| (...skipping 142 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5629 teardownTag = _json["teardownTag"].map((value) => new TeardownTag.fromJson
(value)).toList(); | 5629 teardownTag = _json["teardownTag"].map((value) => new TeardownTag.fromJson
(value)).toList(); |
| 5630 } | 5630 } |
| 5631 if (_json.containsKey("type")) { | 5631 if (_json.containsKey("type")) { |
| 5632 type = _json["type"]; | 5632 type = _json["type"]; |
| 5633 } | 5633 } |
| 5634 if (_json.containsKey("workspaceId")) { | 5634 if (_json.containsKey("workspaceId")) { |
| 5635 workspaceId = _json["workspaceId"]; | 5635 workspaceId = _json["workspaceId"]; |
| 5636 } | 5636 } |
| 5637 } | 5637 } |
| 5638 | 5638 |
| 5639 core.Map toJson() { | 5639 core.Map<core.String, core.Object> toJson() { |
| 5640 var _json = new core.Map(); | 5640 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
| 5641 if (accountId != null) { | 5641 if (accountId != null) { |
| 5642 _json["accountId"] = accountId; | 5642 _json["accountId"] = accountId; |
| 5643 } | 5643 } |
| 5644 if (blockingRuleId != null) { | 5644 if (blockingRuleId != null) { |
| 5645 _json["blockingRuleId"] = blockingRuleId; | 5645 _json["blockingRuleId"] = blockingRuleId; |
| 5646 } | 5646 } |
| 5647 if (blockingTriggerId != null) { | 5647 if (blockingTriggerId != null) { |
| 5648 _json["blockingTriggerId"] = blockingTriggerId; | 5648 _json["blockingTriggerId"] = blockingTriggerId; |
| 5649 } | 5649 } |
| 5650 if (containerId != null) { | 5650 if (containerId != null) { |
| (...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5729 | 5729 |
| 5730 TeardownTag.fromJson(core.Map _json) { | 5730 TeardownTag.fromJson(core.Map _json) { |
| 5731 if (_json.containsKey("stopTeardownOnFailure")) { | 5731 if (_json.containsKey("stopTeardownOnFailure")) { |
| 5732 stopTeardownOnFailure = _json["stopTeardownOnFailure"]; | 5732 stopTeardownOnFailure = _json["stopTeardownOnFailure"]; |
| 5733 } | 5733 } |
| 5734 if (_json.containsKey("tagName")) { | 5734 if (_json.containsKey("tagName")) { |
| 5735 tagName = _json["tagName"]; | 5735 tagName = _json["tagName"]; |
| 5736 } | 5736 } |
| 5737 } | 5737 } |
| 5738 | 5738 |
| 5739 core.Map toJson() { | 5739 core.Map<core.String, core.Object> toJson() { |
| 5740 var _json = new core.Map(); | 5740 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
| 5741 if (stopTeardownOnFailure != null) { | 5741 if (stopTeardownOnFailure != null) { |
| 5742 _json["stopTeardownOnFailure"] = stopTeardownOnFailure; | 5742 _json["stopTeardownOnFailure"] = stopTeardownOnFailure; |
| 5743 } | 5743 } |
| 5744 if (tagName != null) { | 5744 if (tagName != null) { |
| 5745 _json["tagName"] = tagName; | 5745 _json["tagName"] = tagName; |
| 5746 } | 5746 } |
| 5747 return _json; | 5747 return _json; |
| 5748 } | 5748 } |
| 5749 } | 5749 } |
| 5750 | 5750 |
| (...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5839 | 5839 |
| 5840 Timestamp.fromJson(core.Map _json) { | 5840 Timestamp.fromJson(core.Map _json) { |
| 5841 if (_json.containsKey("nanos")) { | 5841 if (_json.containsKey("nanos")) { |
| 5842 nanos = _json["nanos"]; | 5842 nanos = _json["nanos"]; |
| 5843 } | 5843 } |
| 5844 if (_json.containsKey("seconds")) { | 5844 if (_json.containsKey("seconds")) { |
| 5845 seconds = _json["seconds"]; | 5845 seconds = _json["seconds"]; |
| 5846 } | 5846 } |
| 5847 } | 5847 } |
| 5848 | 5848 |
| 5849 core.Map toJson() { | 5849 core.Map<core.String, core.Object> toJson() { |
| 5850 var _json = new core.Map(); | 5850 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
| 5851 if (nanos != null) { | 5851 if (nanos != null) { |
| 5852 _json["nanos"] = nanos; | 5852 _json["nanos"] = nanos; |
| 5853 } | 5853 } |
| 5854 if (seconds != null) { | 5854 if (seconds != null) { |
| 5855 _json["seconds"] = seconds; | 5855 _json["seconds"] = seconds; |
| 5856 } | 5856 } |
| 5857 return _json; | 5857 return _json; |
| 5858 } | 5858 } |
| 5859 } | 5859 } |
| 5860 | 5860 |
| (...skipping 249 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 6110 waitForTags = new Parameter.fromJson(_json["waitForTags"]); | 6110 waitForTags = new Parameter.fromJson(_json["waitForTags"]); |
| 6111 } | 6111 } |
| 6112 if (_json.containsKey("waitForTagsTimeout")) { | 6112 if (_json.containsKey("waitForTagsTimeout")) { |
| 6113 waitForTagsTimeout = new Parameter.fromJson(_json["waitForTagsTimeout"]); | 6113 waitForTagsTimeout = new Parameter.fromJson(_json["waitForTagsTimeout"]); |
| 6114 } | 6114 } |
| 6115 if (_json.containsKey("workspaceId")) { | 6115 if (_json.containsKey("workspaceId")) { |
| 6116 workspaceId = _json["workspaceId"]; | 6116 workspaceId = _json["workspaceId"]; |
| 6117 } | 6117 } |
| 6118 } | 6118 } |
| 6119 | 6119 |
| 6120 core.Map toJson() { | 6120 core.Map<core.String, core.Object> toJson() { |
| 6121 var _json = new core.Map(); | 6121 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
| 6122 if (accountId != null) { | 6122 if (accountId != null) { |
| 6123 _json["accountId"] = accountId; | 6123 _json["accountId"] = accountId; |
| 6124 } | 6124 } |
| 6125 if (autoEventFilter != null) { | 6125 if (autoEventFilter != null) { |
| 6126 _json["autoEventFilter"] = autoEventFilter.map((value) => (value).toJson()
).toList(); | 6126 _json["autoEventFilter"] = autoEventFilter.map((value) => (value).toJson()
).toList(); |
| 6127 } | 6127 } |
| 6128 if (checkValidation != null) { | 6128 if (checkValidation != null) { |
| 6129 _json["checkValidation"] = (checkValidation).toJson(); | 6129 _json["checkValidation"] = (checkValidation).toJson(); |
| 6130 } | 6130 } |
| 6131 if (containerId != null) { | 6131 if (containerId != null) { |
| (...skipping 119 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 6251 newComment = new WorkspaceProposalHistoryComment.fromJson(_json["newCommen
t"]); | 6251 newComment = new WorkspaceProposalHistoryComment.fromJson(_json["newCommen
t"]); |
| 6252 } | 6252 } |
| 6253 if (_json.containsKey("reviewers")) { | 6253 if (_json.containsKey("reviewers")) { |
| 6254 reviewers = _json["reviewers"].map((value) => new WorkspaceProposalUser.fr
omJson(value)).toList(); | 6254 reviewers = _json["reviewers"].map((value) => new WorkspaceProposalUser.fr
omJson(value)).toList(); |
| 6255 } | 6255 } |
| 6256 if (_json.containsKey("status")) { | 6256 if (_json.containsKey("status")) { |
| 6257 status = _json["status"]; | 6257 status = _json["status"]; |
| 6258 } | 6258 } |
| 6259 } | 6259 } |
| 6260 | 6260 |
| 6261 core.Map toJson() { | 6261 core.Map<core.String, core.Object> toJson() { |
| 6262 var _json = new core.Map(); | 6262 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
| 6263 if (fingerprint != null) { | 6263 if (fingerprint != null) { |
| 6264 _json["fingerprint"] = fingerprint; | 6264 _json["fingerprint"] = fingerprint; |
| 6265 } | 6265 } |
| 6266 if (newComment != null) { | 6266 if (newComment != null) { |
| 6267 _json["newComment"] = (newComment).toJson(); | 6267 _json["newComment"] = (newComment).toJson(); |
| 6268 } | 6268 } |
| 6269 if (reviewers != null) { | 6269 if (reviewers != null) { |
| 6270 _json["reviewers"] = reviewers.map((value) => (value).toJson()).toList(); | 6270 _json["reviewers"] = reviewers.map((value) => (value).toJson()).toList(); |
| 6271 } | 6271 } |
| 6272 if (status != null) { | 6272 if (status != null) { |
| (...skipping 29 matching lines...) Expand all Loading... |
| 6302 containerAccess = _json["containerAccess"].map((value) => new ContainerAcc
ess.fromJson(value)).toList(); | 6302 containerAccess = _json["containerAccess"].map((value) => new ContainerAcc
ess.fromJson(value)).toList(); |
| 6303 } | 6303 } |
| 6304 if (_json.containsKey("emailAddress")) { | 6304 if (_json.containsKey("emailAddress")) { |
| 6305 emailAddress = _json["emailAddress"]; | 6305 emailAddress = _json["emailAddress"]; |
| 6306 } | 6306 } |
| 6307 if (_json.containsKey("path")) { | 6307 if (_json.containsKey("path")) { |
| 6308 path = _json["path"]; | 6308 path = _json["path"]; |
| 6309 } | 6309 } |
| 6310 } | 6310 } |
| 6311 | 6311 |
| 6312 core.Map toJson() { | 6312 core.Map<core.String, core.Object> toJson() { |
| 6313 var _json = new core.Map(); | 6313 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
| 6314 if (accountAccess != null) { | 6314 if (accountAccess != null) { |
| 6315 _json["accountAccess"] = (accountAccess).toJson(); | 6315 _json["accountAccess"] = (accountAccess).toJson(); |
| 6316 } | 6316 } |
| 6317 if (accountId != null) { | 6317 if (accountId != null) { |
| 6318 _json["accountId"] = accountId; | 6318 _json["accountId"] = accountId; |
| 6319 } | 6319 } |
| 6320 if (containerAccess != null) { | 6320 if (containerAccess != null) { |
| 6321 _json["containerAccess"] = containerAccess.map((value) => (value).toJson()
).toList(); | 6321 _json["containerAccess"] = containerAccess.map((value) => (value).toJson()
).toList(); |
| 6322 } | 6322 } |
| 6323 if (emailAddress != null) { | 6323 if (emailAddress != null) { |
| (...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 6422 type = _json["type"]; | 6422 type = _json["type"]; |
| 6423 } | 6423 } |
| 6424 if (_json.containsKey("variableId")) { | 6424 if (_json.containsKey("variableId")) { |
| 6425 variableId = _json["variableId"]; | 6425 variableId = _json["variableId"]; |
| 6426 } | 6426 } |
| 6427 if (_json.containsKey("workspaceId")) { | 6427 if (_json.containsKey("workspaceId")) { |
| 6428 workspaceId = _json["workspaceId"]; | 6428 workspaceId = _json["workspaceId"]; |
| 6429 } | 6429 } |
| 6430 } | 6430 } |
| 6431 | 6431 |
| 6432 core.Map toJson() { | 6432 core.Map<core.String, core.Object> toJson() { |
| 6433 var _json = new core.Map(); | 6433 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
| 6434 if (accountId != null) { | 6434 if (accountId != null) { |
| 6435 _json["accountId"] = accountId; | 6435 _json["accountId"] = accountId; |
| 6436 } | 6436 } |
| 6437 if (containerId != null) { | 6437 if (containerId != null) { |
| 6438 _json["containerId"] = containerId; | 6438 _json["containerId"] = containerId; |
| 6439 } | 6439 } |
| 6440 if (disablingTriggerId != null) { | 6440 if (disablingTriggerId != null) { |
| 6441 _json["disablingTriggerId"] = disablingTriggerId; | 6441 _json["disablingTriggerId"] = disablingTriggerId; |
| 6442 } | 6442 } |
| 6443 if (enablingTriggerId != null) { | 6443 if (enablingTriggerId != null) { |
| (...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 6527 path = _json["path"]; | 6527 path = _json["path"]; |
| 6528 } | 6528 } |
| 6529 if (_json.containsKey("tagManagerUrl")) { | 6529 if (_json.containsKey("tagManagerUrl")) { |
| 6530 tagManagerUrl = _json["tagManagerUrl"]; | 6530 tagManagerUrl = _json["tagManagerUrl"]; |
| 6531 } | 6531 } |
| 6532 if (_json.containsKey("workspaceId")) { | 6532 if (_json.containsKey("workspaceId")) { |
| 6533 workspaceId = _json["workspaceId"]; | 6533 workspaceId = _json["workspaceId"]; |
| 6534 } | 6534 } |
| 6535 } | 6535 } |
| 6536 | 6536 |
| 6537 core.Map toJson() { | 6537 core.Map<core.String, core.Object> toJson() { |
| 6538 var _json = new core.Map(); | 6538 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
| 6539 if (accountId != null) { | 6539 if (accountId != null) { |
| 6540 _json["accountId"] = accountId; | 6540 _json["accountId"] = accountId; |
| 6541 } | 6541 } |
| 6542 if (containerId != null) { | 6542 if (containerId != null) { |
| 6543 _json["containerId"] = containerId; | 6543 _json["containerId"] = containerId; |
| 6544 } | 6544 } |
| 6545 if (description != null) { | 6545 if (description != null) { |
| 6546 _json["description"] = description; | 6546 _json["description"] = description; |
| 6547 } | 6547 } |
| 6548 if (fingerprint != null) { | 6548 if (fingerprint != null) { |
| (...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 6610 path = _json["path"]; | 6610 path = _json["path"]; |
| 6611 } | 6611 } |
| 6612 if (_json.containsKey("reviewers")) { | 6612 if (_json.containsKey("reviewers")) { |
| 6613 reviewers = _json["reviewers"].map((value) => new WorkspaceProposalUser.fr
omJson(value)).toList(); | 6613 reviewers = _json["reviewers"].map((value) => new WorkspaceProposalUser.fr
omJson(value)).toList(); |
| 6614 } | 6614 } |
| 6615 if (_json.containsKey("status")) { | 6615 if (_json.containsKey("status")) { |
| 6616 status = _json["status"]; | 6616 status = _json["status"]; |
| 6617 } | 6617 } |
| 6618 } | 6618 } |
| 6619 | 6619 |
| 6620 core.Map toJson() { | 6620 core.Map<core.String, core.Object> toJson() { |
| 6621 var _json = new core.Map(); | 6621 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
| 6622 if (authors != null) { | 6622 if (authors != null) { |
| 6623 _json["authors"] = authors.map((value) => (value).toJson()).toList(); | 6623 _json["authors"] = authors.map((value) => (value).toJson()).toList(); |
| 6624 } | 6624 } |
| 6625 if (fingerprint != null) { | 6625 if (fingerprint != null) { |
| 6626 _json["fingerprint"] = fingerprint; | 6626 _json["fingerprint"] = fingerprint; |
| 6627 } | 6627 } |
| 6628 if (history != null) { | 6628 if (history != null) { |
| 6629 _json["history"] = history.map((value) => (value).toJson()).toList(); | 6629 _json["history"] = history.map((value) => (value).toJson()).toList(); |
| 6630 } | 6630 } |
| 6631 if (path != null) { | 6631 if (path != null) { |
| (...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 6675 createdTimestamp = new Timestamp.fromJson(_json["createdTimestamp"]); | 6675 createdTimestamp = new Timestamp.fromJson(_json["createdTimestamp"]); |
| 6676 } | 6676 } |
| 6677 if (_json.containsKey("statusChange")) { | 6677 if (_json.containsKey("statusChange")) { |
| 6678 statusChange = new WorkspaceProposalHistoryStatusChange.fromJson(_json["st
atusChange"]); | 6678 statusChange = new WorkspaceProposalHistoryStatusChange.fromJson(_json["st
atusChange"]); |
| 6679 } | 6679 } |
| 6680 if (_json.containsKey("type")) { | 6680 if (_json.containsKey("type")) { |
| 6681 type = _json["type"]; | 6681 type = _json["type"]; |
| 6682 } | 6682 } |
| 6683 } | 6683 } |
| 6684 | 6684 |
| 6685 core.Map toJson() { | 6685 core.Map<core.String, core.Object> toJson() { |
| 6686 var _json = new core.Map(); | 6686 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
| 6687 if (comment != null) { | 6687 if (comment != null) { |
| 6688 _json["comment"] = (comment).toJson(); | 6688 _json["comment"] = (comment).toJson(); |
| 6689 } | 6689 } |
| 6690 if (createdBy != null) { | 6690 if (createdBy != null) { |
| 6691 _json["createdBy"] = (createdBy).toJson(); | 6691 _json["createdBy"] = (createdBy).toJson(); |
| 6692 } | 6692 } |
| 6693 if (createdTimestamp != null) { | 6693 if (createdTimestamp != null) { |
| 6694 _json["createdTimestamp"] = (createdTimestamp).toJson(); | 6694 _json["createdTimestamp"] = (createdTimestamp).toJson(); |
| 6695 } | 6695 } |
| 6696 if (statusChange != null) { | 6696 if (statusChange != null) { |
| (...skipping 12 matching lines...) Expand all Loading... |
| 6709 core.String content; | 6709 core.String content; |
| 6710 | 6710 |
| 6711 WorkspaceProposalHistoryComment(); | 6711 WorkspaceProposalHistoryComment(); |
| 6712 | 6712 |
| 6713 WorkspaceProposalHistoryComment.fromJson(core.Map _json) { | 6713 WorkspaceProposalHistoryComment.fromJson(core.Map _json) { |
| 6714 if (_json.containsKey("content")) { | 6714 if (_json.containsKey("content")) { |
| 6715 content = _json["content"]; | 6715 content = _json["content"]; |
| 6716 } | 6716 } |
| 6717 } | 6717 } |
| 6718 | 6718 |
| 6719 core.Map toJson() { | 6719 core.Map<core.String, core.Object> toJson() { |
| 6720 var _json = new core.Map(); | 6720 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
| 6721 if (content != null) { | 6721 if (content != null) { |
| 6722 _json["content"] = content; | 6722 _json["content"] = content; |
| 6723 } | 6723 } |
| 6724 return _json; | 6724 return _json; |
| 6725 } | 6725 } |
| 6726 } | 6726 } |
| 6727 | 6727 |
| 6728 /** A change in the proposal's status. */ | 6728 /** A change in the proposal's status. */ |
| 6729 class WorkspaceProposalHistoryStatusChange { | 6729 class WorkspaceProposalHistoryStatusChange { |
| 6730 /** | 6730 /** |
| (...skipping 23 matching lines...) Expand all Loading... |
| 6754 | 6754 |
| 6755 WorkspaceProposalHistoryStatusChange.fromJson(core.Map _json) { | 6755 WorkspaceProposalHistoryStatusChange.fromJson(core.Map _json) { |
| 6756 if (_json.containsKey("newStatus")) { | 6756 if (_json.containsKey("newStatus")) { |
| 6757 newStatus = _json["newStatus"]; | 6757 newStatus = _json["newStatus"]; |
| 6758 } | 6758 } |
| 6759 if (_json.containsKey("oldStatus")) { | 6759 if (_json.containsKey("oldStatus")) { |
| 6760 oldStatus = _json["oldStatus"]; | 6760 oldStatus = _json["oldStatus"]; |
| 6761 } | 6761 } |
| 6762 } | 6762 } |
| 6763 | 6763 |
| 6764 core.Map toJson() { | 6764 core.Map<core.String, core.Object> toJson() { |
| 6765 var _json = new core.Map(); | 6765 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
| 6766 if (newStatus != null) { | 6766 if (newStatus != null) { |
| 6767 _json["newStatus"] = newStatus; | 6767 _json["newStatus"] = newStatus; |
| 6768 } | 6768 } |
| 6769 if (oldStatus != null) { | 6769 if (oldStatus != null) { |
| 6770 _json["oldStatus"] = oldStatus; | 6770 _json["oldStatus"] = oldStatus; |
| 6771 } | 6771 } |
| 6772 return _json; | 6772 return _json; |
| 6773 } | 6773 } |
| 6774 } | 6774 } |
| 6775 | 6775 |
| (...skipping 15 matching lines...) Expand all Loading... |
| 6791 | 6791 |
| 6792 WorkspaceProposalUser.fromJson(core.Map _json) { | 6792 WorkspaceProposalUser.fromJson(core.Map _json) { |
| 6793 if (_json.containsKey("gaiaId")) { | 6793 if (_json.containsKey("gaiaId")) { |
| 6794 gaiaId = _json["gaiaId"]; | 6794 gaiaId = _json["gaiaId"]; |
| 6795 } | 6795 } |
| 6796 if (_json.containsKey("type")) { | 6796 if (_json.containsKey("type")) { |
| 6797 type = _json["type"]; | 6797 type = _json["type"]; |
| 6798 } | 6798 } |
| 6799 } | 6799 } |
| 6800 | 6800 |
| 6801 core.Map toJson() { | 6801 core.Map<core.String, core.Object> toJson() { |
| 6802 var _json = new core.Map(); | 6802 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
| 6803 if (gaiaId != null) { | 6803 if (gaiaId != null) { |
| 6804 _json["gaiaId"] = gaiaId; | 6804 _json["gaiaId"] = gaiaId; |
| 6805 } | 6805 } |
| 6806 if (type != null) { | 6806 if (type != null) { |
| 6807 _json["type"] = type; | 6807 _json["type"] = type; |
| 6808 } | 6808 } |
| 6809 return _json; | 6809 return _json; |
| 6810 } | 6810 } |
| 6811 } | 6811 } |
| OLD | NEW |