| 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.v1; | 3 library googleapis.tagmanager.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 2665 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2676 fingerprint = _json["fingerprint"]; | 2676 fingerprint = _json["fingerprint"]; |
| 2677 } | 2677 } |
| 2678 if (_json.containsKey("name")) { | 2678 if (_json.containsKey("name")) { |
| 2679 name = _json["name"]; | 2679 name = _json["name"]; |
| 2680 } | 2680 } |
| 2681 if (_json.containsKey("shareData")) { | 2681 if (_json.containsKey("shareData")) { |
| 2682 shareData = _json["shareData"]; | 2682 shareData = _json["shareData"]; |
| 2683 } | 2683 } |
| 2684 } | 2684 } |
| 2685 | 2685 |
| 2686 core.Map toJson() { | 2686 core.Map<core.String, core.Object> toJson() { |
| 2687 var _json = new core.Map(); | 2687 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
| 2688 if (accountId != null) { | 2688 if (accountId != null) { |
| 2689 _json["accountId"] = accountId; | 2689 _json["accountId"] = accountId; |
| 2690 } | 2690 } |
| 2691 if (fingerprint != null) { | 2691 if (fingerprint != null) { |
| 2692 _json["fingerprint"] = fingerprint; | 2692 _json["fingerprint"] = fingerprint; |
| 2693 } | 2693 } |
| 2694 if (name != null) { | 2694 if (name != null) { |
| 2695 _json["name"] = name; | 2695 _json["name"] = name; |
| 2696 } | 2696 } |
| 2697 if (shareData != null) { | 2697 if (shareData != null) { |
| (...skipping 11 matching lines...) Expand all Loading... |
| 2709 core.List<core.String> permission; | 2709 core.List<core.String> permission; |
| 2710 | 2710 |
| 2711 AccountAccess(); | 2711 AccountAccess(); |
| 2712 | 2712 |
| 2713 AccountAccess.fromJson(core.Map _json) { | 2713 AccountAccess.fromJson(core.Map _json) { |
| 2714 if (_json.containsKey("permission")) { | 2714 if (_json.containsKey("permission")) { |
| 2715 permission = _json["permission"]; | 2715 permission = _json["permission"]; |
| 2716 } | 2716 } |
| 2717 } | 2717 } |
| 2718 | 2718 |
| 2719 core.Map toJson() { | 2719 core.Map<core.String, core.Object> toJson() { |
| 2720 var _json = new core.Map(); | 2720 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
| 2721 if (permission != null) { | 2721 if (permission != null) { |
| 2722 _json["permission"] = permission; | 2722 _json["permission"] = permission; |
| 2723 } | 2723 } |
| 2724 return _json; | 2724 return _json; |
| 2725 } | 2725 } |
| 2726 } | 2726 } |
| 2727 | 2727 |
| 2728 /** Represents a predicate. */ | 2728 /** Represents a predicate. */ |
| 2729 class Condition { | 2729 class Condition { |
| 2730 /** | 2730 /** |
| (...skipping 30 matching lines...) Expand all Loading... |
| 2761 | 2761 |
| 2762 Condition.fromJson(core.Map _json) { | 2762 Condition.fromJson(core.Map _json) { |
| 2763 if (_json.containsKey("parameter")) { | 2763 if (_json.containsKey("parameter")) { |
| 2764 parameter = _json["parameter"].map((value) => new Parameter.fromJson(value
)).toList(); | 2764 parameter = _json["parameter"].map((value) => new Parameter.fromJson(value
)).toList(); |
| 2765 } | 2765 } |
| 2766 if (_json.containsKey("type")) { | 2766 if (_json.containsKey("type")) { |
| 2767 type = _json["type"]; | 2767 type = _json["type"]; |
| 2768 } | 2768 } |
| 2769 } | 2769 } |
| 2770 | 2770 |
| 2771 core.Map toJson() { | 2771 core.Map<core.String, core.Object> toJson() { |
| 2772 var _json = new core.Map(); | 2772 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
| 2773 if (parameter != null) { | 2773 if (parameter != null) { |
| 2774 _json["parameter"] = parameter.map((value) => (value).toJson()).toList(); | 2774 _json["parameter"] = parameter.map((value) => (value).toJson()).toList(); |
| 2775 } | 2775 } |
| 2776 if (type != null) { | 2776 if (type != null) { |
| 2777 _json["type"] = type; | 2777 _json["type"] = type; |
| 2778 } | 2778 } |
| 2779 return _json; | 2779 return _json; |
| 2780 } | 2780 } |
| 2781 } | 2781 } |
| 2782 | 2782 |
| (...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2849 timeZoneCountryId = _json["timeZoneCountryId"]; | 2849 timeZoneCountryId = _json["timeZoneCountryId"]; |
| 2850 } | 2850 } |
| 2851 if (_json.containsKey("timeZoneId")) { | 2851 if (_json.containsKey("timeZoneId")) { |
| 2852 timeZoneId = _json["timeZoneId"]; | 2852 timeZoneId = _json["timeZoneId"]; |
| 2853 } | 2853 } |
| 2854 if (_json.containsKey("usageContext")) { | 2854 if (_json.containsKey("usageContext")) { |
| 2855 usageContext = _json["usageContext"]; | 2855 usageContext = _json["usageContext"]; |
| 2856 } | 2856 } |
| 2857 } | 2857 } |
| 2858 | 2858 |
| 2859 core.Map toJson() { | 2859 core.Map<core.String, core.Object> toJson() { |
| 2860 var _json = new core.Map(); | 2860 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
| 2861 if (accountId != null) { | 2861 if (accountId != null) { |
| 2862 _json["accountId"] = accountId; | 2862 _json["accountId"] = accountId; |
| 2863 } | 2863 } |
| 2864 if (containerId != null) { | 2864 if (containerId != null) { |
| 2865 _json["containerId"] = containerId; | 2865 _json["containerId"] = containerId; |
| 2866 } | 2866 } |
| 2867 if (domainName != null) { | 2867 if (domainName != null) { |
| 2868 _json["domainName"] = domainName; | 2868 _json["domainName"] = domainName; |
| 2869 } | 2869 } |
| 2870 if (enabledBuiltInVariable != null) { | 2870 if (enabledBuiltInVariable != null) { |
| (...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2909 | 2909 |
| 2910 ContainerAccess.fromJson(core.Map _json) { | 2910 ContainerAccess.fromJson(core.Map _json) { |
| 2911 if (_json.containsKey("containerId")) { | 2911 if (_json.containsKey("containerId")) { |
| 2912 containerId = _json["containerId"]; | 2912 containerId = _json["containerId"]; |
| 2913 } | 2913 } |
| 2914 if (_json.containsKey("permission")) { | 2914 if (_json.containsKey("permission")) { |
| 2915 permission = _json["permission"]; | 2915 permission = _json["permission"]; |
| 2916 } | 2916 } |
| 2917 } | 2917 } |
| 2918 | 2918 |
| 2919 core.Map toJson() { | 2919 core.Map<core.String, core.Object> toJson() { |
| 2920 var _json = new core.Map(); | 2920 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
| 2921 if (containerId != null) { | 2921 if (containerId != null) { |
| 2922 _json["containerId"] = containerId; | 2922 _json["containerId"] = containerId; |
| 2923 } | 2923 } |
| 2924 if (permission != null) { | 2924 if (permission != null) { |
| 2925 _json["permission"] = permission; | 2925 _json["permission"] = permission; |
| 2926 } | 2926 } |
| 2927 return _json; | 2927 return _json; |
| 2928 } | 2928 } |
| 2929 } | 2929 } |
| 2930 | 2930 |
| (...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3004 tag = _json["tag"].map((value) => new Tag.fromJson(value)).toList(); | 3004 tag = _json["tag"].map((value) => new Tag.fromJson(value)).toList(); |
| 3005 } | 3005 } |
| 3006 if (_json.containsKey("trigger")) { | 3006 if (_json.containsKey("trigger")) { |
| 3007 trigger = _json["trigger"].map((value) => new Trigger.fromJson(value)).toL
ist(); | 3007 trigger = _json["trigger"].map((value) => new Trigger.fromJson(value)).toL
ist(); |
| 3008 } | 3008 } |
| 3009 if (_json.containsKey("variable")) { | 3009 if (_json.containsKey("variable")) { |
| 3010 variable = _json["variable"].map((value) => new Variable.fromJson(value)).
toList(); | 3010 variable = _json["variable"].map((value) => new Variable.fromJson(value)).
toList(); |
| 3011 } | 3011 } |
| 3012 } | 3012 } |
| 3013 | 3013 |
| 3014 core.Map toJson() { | 3014 core.Map<core.String, core.Object> toJson() { |
| 3015 var _json = new core.Map(); | 3015 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
| 3016 if (accountId != null) { | 3016 if (accountId != null) { |
| 3017 _json["accountId"] = accountId; | 3017 _json["accountId"] = accountId; |
| 3018 } | 3018 } |
| 3019 if (container != null) { | 3019 if (container != null) { |
| 3020 _json["container"] = (container).toJson(); | 3020 _json["container"] = (container).toJson(); |
| 3021 } | 3021 } |
| 3022 if (containerId != null) { | 3022 if (containerId != null) { |
| 3023 _json["containerId"] = containerId; | 3023 _json["containerId"] = containerId; |
| 3024 } | 3024 } |
| 3025 if (containerVersionId != null) { | 3025 if (containerVersionId != null) { |
| (...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3112 numTags = _json["numTags"]; | 3112 numTags = _json["numTags"]; |
| 3113 } | 3113 } |
| 3114 if (_json.containsKey("numTriggers")) { | 3114 if (_json.containsKey("numTriggers")) { |
| 3115 numTriggers = _json["numTriggers"]; | 3115 numTriggers = _json["numTriggers"]; |
| 3116 } | 3116 } |
| 3117 if (_json.containsKey("numVariables")) { | 3117 if (_json.containsKey("numVariables")) { |
| 3118 numVariables = _json["numVariables"]; | 3118 numVariables = _json["numVariables"]; |
| 3119 } | 3119 } |
| 3120 } | 3120 } |
| 3121 | 3121 |
| 3122 core.Map toJson() { | 3122 core.Map<core.String, core.Object> toJson() { |
| 3123 var _json = new core.Map(); | 3123 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
| 3124 if (accountId != null) { | 3124 if (accountId != null) { |
| 3125 _json["accountId"] = accountId; | 3125 _json["accountId"] = accountId; |
| 3126 } | 3126 } |
| 3127 if (containerId != null) { | 3127 if (containerId != null) { |
| 3128 _json["containerId"] = containerId; | 3128 _json["containerId"] = containerId; |
| 3129 } | 3129 } |
| 3130 if (containerVersionId != null) { | 3130 if (containerVersionId != null) { |
| 3131 _json["containerVersionId"] = containerVersionId; | 3131 _json["containerVersionId"] = containerVersionId; |
| 3132 } | 3132 } |
| 3133 if (deleted != null) { | 3133 if (deleted != null) { |
| (...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3174 name = _json["name"]; | 3174 name = _json["name"]; |
| 3175 } | 3175 } |
| 3176 if (_json.containsKey("notes")) { | 3176 if (_json.containsKey("notes")) { |
| 3177 notes = _json["notes"]; | 3177 notes = _json["notes"]; |
| 3178 } | 3178 } |
| 3179 if (_json.containsKey("quickPreview")) { | 3179 if (_json.containsKey("quickPreview")) { |
| 3180 quickPreview = _json["quickPreview"]; | 3180 quickPreview = _json["quickPreview"]; |
| 3181 } | 3181 } |
| 3182 } | 3182 } |
| 3183 | 3183 |
| 3184 core.Map toJson() { | 3184 core.Map<core.String, core.Object> toJson() { |
| 3185 var _json = new core.Map(); | 3185 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
| 3186 if (name != null) { | 3186 if (name != null) { |
| 3187 _json["name"] = name; | 3187 _json["name"] = name; |
| 3188 } | 3188 } |
| 3189 if (notes != null) { | 3189 if (notes != null) { |
| 3190 _json["notes"] = notes; | 3190 _json["notes"] = notes; |
| 3191 } | 3191 } |
| 3192 if (quickPreview != null) { | 3192 if (quickPreview != null) { |
| 3193 _json["quickPreview"] = quickPreview; | 3193 _json["quickPreview"] = quickPreview; |
| 3194 } | 3194 } |
| 3195 return _json; | 3195 return _json; |
| (...skipping 11 matching lines...) Expand all Loading... |
| 3207 | 3207 |
| 3208 CreateContainerVersionResponse.fromJson(core.Map _json) { | 3208 CreateContainerVersionResponse.fromJson(core.Map _json) { |
| 3209 if (_json.containsKey("compilerError")) { | 3209 if (_json.containsKey("compilerError")) { |
| 3210 compilerError = _json["compilerError"]; | 3210 compilerError = _json["compilerError"]; |
| 3211 } | 3211 } |
| 3212 if (_json.containsKey("containerVersion")) { | 3212 if (_json.containsKey("containerVersion")) { |
| 3213 containerVersion = new ContainerVersion.fromJson(_json["containerVersion"]
); | 3213 containerVersion = new ContainerVersion.fromJson(_json["containerVersion"]
); |
| 3214 } | 3214 } |
| 3215 } | 3215 } |
| 3216 | 3216 |
| 3217 core.Map toJson() { | 3217 core.Map<core.String, core.Object> toJson() { |
| 3218 var _json = new core.Map(); | 3218 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
| 3219 if (compilerError != null) { | 3219 if (compilerError != null) { |
| 3220 _json["compilerError"] = compilerError; | 3220 _json["compilerError"] = compilerError; |
| 3221 } | 3221 } |
| 3222 if (containerVersion != null) { | 3222 if (containerVersion != null) { |
| 3223 _json["containerVersion"] = (containerVersion).toJson(); | 3223 _json["containerVersion"] = (containerVersion).toJson(); |
| 3224 } | 3224 } |
| 3225 return _json; | 3225 return _json; |
| 3226 } | 3226 } |
| 3227 } | 3227 } |
| 3228 | 3228 |
| (...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3306 name = _json["name"]; | 3306 name = _json["name"]; |
| 3307 } | 3307 } |
| 3308 if (_json.containsKey("type")) { | 3308 if (_json.containsKey("type")) { |
| 3309 type = _json["type"]; | 3309 type = _json["type"]; |
| 3310 } | 3310 } |
| 3311 if (_json.containsKey("url")) { | 3311 if (_json.containsKey("url")) { |
| 3312 url = _json["url"]; | 3312 url = _json["url"]; |
| 3313 } | 3313 } |
| 3314 } | 3314 } |
| 3315 | 3315 |
| 3316 core.Map toJson() { | 3316 core.Map<core.String, core.Object> toJson() { |
| 3317 var _json = new core.Map(); | 3317 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
| 3318 if (accountId != null) { | 3318 if (accountId != null) { |
| 3319 _json["accountId"] = accountId; | 3319 _json["accountId"] = accountId; |
| 3320 } | 3320 } |
| 3321 if (authorizationCode != null) { | 3321 if (authorizationCode != null) { |
| 3322 _json["authorizationCode"] = authorizationCode; | 3322 _json["authorizationCode"] = authorizationCode; |
| 3323 } | 3323 } |
| 3324 if (authorizationTimestampMs != null) { | 3324 if (authorizationTimestampMs != null) { |
| 3325 _json["authorizationTimestampMs"] = authorizationTimestampMs; | 3325 _json["authorizationTimestampMs"] = authorizationTimestampMs; |
| 3326 } | 3326 } |
| 3327 if (containerId != null) { | 3327 if (containerId != null) { |
| (...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3384 fingerprint = _json["fingerprint"]; | 3384 fingerprint = _json["fingerprint"]; |
| 3385 } | 3385 } |
| 3386 if (_json.containsKey("folderId")) { | 3386 if (_json.containsKey("folderId")) { |
| 3387 folderId = _json["folderId"]; | 3387 folderId = _json["folderId"]; |
| 3388 } | 3388 } |
| 3389 if (_json.containsKey("name")) { | 3389 if (_json.containsKey("name")) { |
| 3390 name = _json["name"]; | 3390 name = _json["name"]; |
| 3391 } | 3391 } |
| 3392 } | 3392 } |
| 3393 | 3393 |
| 3394 core.Map toJson() { | 3394 core.Map<core.String, core.Object> toJson() { |
| 3395 var _json = new core.Map(); | 3395 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
| 3396 if (accountId != null) { | 3396 if (accountId != null) { |
| 3397 _json["accountId"] = accountId; | 3397 _json["accountId"] = accountId; |
| 3398 } | 3398 } |
| 3399 if (containerId != null) { | 3399 if (containerId != null) { |
| 3400 _json["containerId"] = containerId; | 3400 _json["containerId"] = containerId; |
| 3401 } | 3401 } |
| 3402 if (fingerprint != null) { | 3402 if (fingerprint != null) { |
| 3403 _json["fingerprint"] = fingerprint; | 3403 _json["fingerprint"] = fingerprint; |
| 3404 } | 3404 } |
| 3405 if (folderId != null) { | 3405 if (folderId != null) { |
| (...skipping 22 matching lines...) Expand all Loading... |
| 3428 tag = _json["tag"].map((value) => new Tag.fromJson(value)).toList(); | 3428 tag = _json["tag"].map((value) => new Tag.fromJson(value)).toList(); |
| 3429 } | 3429 } |
| 3430 if (_json.containsKey("trigger")) { | 3430 if (_json.containsKey("trigger")) { |
| 3431 trigger = _json["trigger"].map((value) => new Trigger.fromJson(value)).toL
ist(); | 3431 trigger = _json["trigger"].map((value) => new Trigger.fromJson(value)).toL
ist(); |
| 3432 } | 3432 } |
| 3433 if (_json.containsKey("variable")) { | 3433 if (_json.containsKey("variable")) { |
| 3434 variable = _json["variable"].map((value) => new Variable.fromJson(value)).
toList(); | 3434 variable = _json["variable"].map((value) => new Variable.fromJson(value)).
toList(); |
| 3435 } | 3435 } |
| 3436 } | 3436 } |
| 3437 | 3437 |
| 3438 core.Map toJson() { | 3438 core.Map<core.String, core.Object> toJson() { |
| 3439 var _json = new core.Map(); | 3439 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
| 3440 if (tag != null) { | 3440 if (tag != null) { |
| 3441 _json["tag"] = tag.map((value) => (value).toJson()).toList(); | 3441 _json["tag"] = tag.map((value) => (value).toJson()).toList(); |
| 3442 } | 3442 } |
| 3443 if (trigger != null) { | 3443 if (trigger != null) { |
| 3444 _json["trigger"] = trigger.map((value) => (value).toJson()).toList(); | 3444 _json["trigger"] = trigger.map((value) => (value).toJson()).toList(); |
| 3445 } | 3445 } |
| 3446 if (variable != null) { | 3446 if (variable != null) { |
| 3447 _json["variable"] = variable.map((value) => (value).toJson()).toList(); | 3447 _json["variable"] = variable.map((value) => (value).toJson()).toList(); |
| 3448 } | 3448 } |
| 3449 return _json; | 3449 return _json; |
| 3450 } | 3450 } |
| 3451 } | 3451 } |
| 3452 | 3452 |
| 3453 /** List AccountUsers Response. */ | 3453 /** List AccountUsers Response. */ |
| 3454 class ListAccountUsersResponse { | 3454 class ListAccountUsersResponse { |
| 3455 /** All GTM AccountUsers of a GTM Account. */ | 3455 /** All GTM AccountUsers of a GTM Account. */ |
| 3456 core.List<UserAccess> userAccess; | 3456 core.List<UserAccess> userAccess; |
| 3457 | 3457 |
| 3458 ListAccountUsersResponse(); | 3458 ListAccountUsersResponse(); |
| 3459 | 3459 |
| 3460 ListAccountUsersResponse.fromJson(core.Map _json) { | 3460 ListAccountUsersResponse.fromJson(core.Map _json) { |
| 3461 if (_json.containsKey("userAccess")) { | 3461 if (_json.containsKey("userAccess")) { |
| 3462 userAccess = _json["userAccess"].map((value) => new UserAccess.fromJson(va
lue)).toList(); | 3462 userAccess = _json["userAccess"].map((value) => new UserAccess.fromJson(va
lue)).toList(); |
| 3463 } | 3463 } |
| 3464 } | 3464 } |
| 3465 | 3465 |
| 3466 core.Map toJson() { | 3466 core.Map<core.String, core.Object> toJson() { |
| 3467 var _json = new core.Map(); | 3467 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
| 3468 if (userAccess != null) { | 3468 if (userAccess != null) { |
| 3469 _json["userAccess"] = userAccess.map((value) => (value).toJson()).toList()
; | 3469 _json["userAccess"] = userAccess.map((value) => (value).toJson()).toList()
; |
| 3470 } | 3470 } |
| 3471 return _json; | 3471 return _json; |
| 3472 } | 3472 } |
| 3473 } | 3473 } |
| 3474 | 3474 |
| 3475 /** List Accounts Response. */ | 3475 /** List Accounts Response. */ |
| 3476 class ListAccountsResponse { | 3476 class ListAccountsResponse { |
| 3477 /** List of GTM Accounts that a user has access to. */ | 3477 /** List of GTM Accounts that a user has access to. */ |
| 3478 core.List<Account> accounts; | 3478 core.List<Account> accounts; |
| 3479 | 3479 |
| 3480 ListAccountsResponse(); | 3480 ListAccountsResponse(); |
| 3481 | 3481 |
| 3482 ListAccountsResponse.fromJson(core.Map _json) { | 3482 ListAccountsResponse.fromJson(core.Map _json) { |
| 3483 if (_json.containsKey("accounts")) { | 3483 if (_json.containsKey("accounts")) { |
| 3484 accounts = _json["accounts"].map((value) => new Account.fromJson(value)).t
oList(); | 3484 accounts = _json["accounts"].map((value) => new Account.fromJson(value)).t
oList(); |
| 3485 } | 3485 } |
| 3486 } | 3486 } |
| 3487 | 3487 |
| 3488 core.Map toJson() { | 3488 core.Map<core.String, core.Object> toJson() { |
| 3489 var _json = new core.Map(); | 3489 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
| 3490 if (accounts != null) { | 3490 if (accounts != null) { |
| 3491 _json["accounts"] = accounts.map((value) => (value).toJson()).toList(); | 3491 _json["accounts"] = accounts.map((value) => (value).toJson()).toList(); |
| 3492 } | 3492 } |
| 3493 return _json; | 3493 return _json; |
| 3494 } | 3494 } |
| 3495 } | 3495 } |
| 3496 | 3496 |
| 3497 /** List container versions response. */ | 3497 /** List container versions response. */ |
| 3498 class ListContainerVersionsResponse { | 3498 class ListContainerVersionsResponse { |
| 3499 /** All versions of a GTM Container. */ | 3499 /** All versions of a GTM Container. */ |
| 3500 core.List<ContainerVersion> containerVersion; | 3500 core.List<ContainerVersion> containerVersion; |
| 3501 /** All container version headers of a GTM Container. */ | 3501 /** All container version headers of a GTM Container. */ |
| 3502 core.List<ContainerVersionHeader> containerVersionHeader; | 3502 core.List<ContainerVersionHeader> containerVersionHeader; |
| 3503 | 3503 |
| 3504 ListContainerVersionsResponse(); | 3504 ListContainerVersionsResponse(); |
| 3505 | 3505 |
| 3506 ListContainerVersionsResponse.fromJson(core.Map _json) { | 3506 ListContainerVersionsResponse.fromJson(core.Map _json) { |
| 3507 if (_json.containsKey("containerVersion")) { | 3507 if (_json.containsKey("containerVersion")) { |
| 3508 containerVersion = _json["containerVersion"].map((value) => new ContainerV
ersion.fromJson(value)).toList(); | 3508 containerVersion = _json["containerVersion"].map((value) => new ContainerV
ersion.fromJson(value)).toList(); |
| 3509 } | 3509 } |
| 3510 if (_json.containsKey("containerVersionHeader")) { | 3510 if (_json.containsKey("containerVersionHeader")) { |
| 3511 containerVersionHeader = _json["containerVersionHeader"].map((value) => ne
w ContainerVersionHeader.fromJson(value)).toList(); | 3511 containerVersionHeader = _json["containerVersionHeader"].map((value) => ne
w ContainerVersionHeader.fromJson(value)).toList(); |
| 3512 } | 3512 } |
| 3513 } | 3513 } |
| 3514 | 3514 |
| 3515 core.Map toJson() { | 3515 core.Map<core.String, core.Object> toJson() { |
| 3516 var _json = new core.Map(); | 3516 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
| 3517 if (containerVersion != null) { | 3517 if (containerVersion != null) { |
| 3518 _json["containerVersion"] = containerVersion.map((value) => (value).toJson
()).toList(); | 3518 _json["containerVersion"] = containerVersion.map((value) => (value).toJson
()).toList(); |
| 3519 } | 3519 } |
| 3520 if (containerVersionHeader != null) { | 3520 if (containerVersionHeader != null) { |
| 3521 _json["containerVersionHeader"] = containerVersionHeader.map((value) => (v
alue).toJson()).toList(); | 3521 _json["containerVersionHeader"] = containerVersionHeader.map((value) => (v
alue).toJson()).toList(); |
| 3522 } | 3522 } |
| 3523 return _json; | 3523 return _json; |
| 3524 } | 3524 } |
| 3525 } | 3525 } |
| 3526 | 3526 |
| 3527 /** List Containers Response. */ | 3527 /** List Containers Response. */ |
| 3528 class ListContainersResponse { | 3528 class ListContainersResponse { |
| 3529 /** All Containers of a GTM Account. */ | 3529 /** All Containers of a GTM Account. */ |
| 3530 core.List<Container> containers; | 3530 core.List<Container> containers; |
| 3531 | 3531 |
| 3532 ListContainersResponse(); | 3532 ListContainersResponse(); |
| 3533 | 3533 |
| 3534 ListContainersResponse.fromJson(core.Map _json) { | 3534 ListContainersResponse.fromJson(core.Map _json) { |
| 3535 if (_json.containsKey("containers")) { | 3535 if (_json.containsKey("containers")) { |
| 3536 containers = _json["containers"].map((value) => new Container.fromJson(val
ue)).toList(); | 3536 containers = _json["containers"].map((value) => new Container.fromJson(val
ue)).toList(); |
| 3537 } | 3537 } |
| 3538 } | 3538 } |
| 3539 | 3539 |
| 3540 core.Map toJson() { | 3540 core.Map<core.String, core.Object> toJson() { |
| 3541 var _json = new core.Map(); | 3541 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
| 3542 if (containers != null) { | 3542 if (containers != null) { |
| 3543 _json["containers"] = containers.map((value) => (value).toJson()).toList()
; | 3543 _json["containers"] = containers.map((value) => (value).toJson()).toList()
; |
| 3544 } | 3544 } |
| 3545 return _json; | 3545 return _json; |
| 3546 } | 3546 } |
| 3547 } | 3547 } |
| 3548 | 3548 |
| 3549 /** List Environments Response. */ | 3549 /** List Environments Response. */ |
| 3550 class ListEnvironmentsResponse { | 3550 class ListEnvironmentsResponse { |
| 3551 /** All Environments of a GTM Container. */ | 3551 /** All Environments of a GTM Container. */ |
| 3552 core.List<Environment> environments; | 3552 core.List<Environment> environments; |
| 3553 | 3553 |
| 3554 ListEnvironmentsResponse(); | 3554 ListEnvironmentsResponse(); |
| 3555 | 3555 |
| 3556 ListEnvironmentsResponse.fromJson(core.Map _json) { | 3556 ListEnvironmentsResponse.fromJson(core.Map _json) { |
| 3557 if (_json.containsKey("environments")) { | 3557 if (_json.containsKey("environments")) { |
| 3558 environments = _json["environments"].map((value) => new Environment.fromJs
on(value)).toList(); | 3558 environments = _json["environments"].map((value) => new Environment.fromJs
on(value)).toList(); |
| 3559 } | 3559 } |
| 3560 } | 3560 } |
| 3561 | 3561 |
| 3562 core.Map toJson() { | 3562 core.Map<core.String, core.Object> toJson() { |
| 3563 var _json = new core.Map(); | 3563 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
| 3564 if (environments != null) { | 3564 if (environments != null) { |
| 3565 _json["environments"] = environments.map((value) => (value).toJson()).toLi
st(); | 3565 _json["environments"] = environments.map((value) => (value).toJson()).toLi
st(); |
| 3566 } | 3566 } |
| 3567 return _json; | 3567 return _json; |
| 3568 } | 3568 } |
| 3569 } | 3569 } |
| 3570 | 3570 |
| 3571 /** List Folders Response. */ | 3571 /** List Folders Response. */ |
| 3572 class ListFoldersResponse { | 3572 class ListFoldersResponse { |
| 3573 /** All GTM Folders of a GTM Container. */ | 3573 /** All GTM Folders of a GTM Container. */ |
| 3574 core.List<Folder> folders; | 3574 core.List<Folder> folders; |
| 3575 | 3575 |
| 3576 ListFoldersResponse(); | 3576 ListFoldersResponse(); |
| 3577 | 3577 |
| 3578 ListFoldersResponse.fromJson(core.Map _json) { | 3578 ListFoldersResponse.fromJson(core.Map _json) { |
| 3579 if (_json.containsKey("folders")) { | 3579 if (_json.containsKey("folders")) { |
| 3580 folders = _json["folders"].map((value) => new Folder.fromJson(value)).toLi
st(); | 3580 folders = _json["folders"].map((value) => new Folder.fromJson(value)).toLi
st(); |
| 3581 } | 3581 } |
| 3582 } | 3582 } |
| 3583 | 3583 |
| 3584 core.Map toJson() { | 3584 core.Map<core.String, core.Object> toJson() { |
| 3585 var _json = new core.Map(); | 3585 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
| 3586 if (folders != null) { | 3586 if (folders != null) { |
| 3587 _json["folders"] = folders.map((value) => (value).toJson()).toList(); | 3587 _json["folders"] = folders.map((value) => (value).toJson()).toList(); |
| 3588 } | 3588 } |
| 3589 return _json; | 3589 return _json; |
| 3590 } | 3590 } |
| 3591 } | 3591 } |
| 3592 | 3592 |
| 3593 /** List Tags Response. */ | 3593 /** List Tags Response. */ |
| 3594 class ListTagsResponse { | 3594 class ListTagsResponse { |
| 3595 /** All GTM Tags of a GTM Container. */ | 3595 /** All GTM Tags of a GTM Container. */ |
| 3596 core.List<Tag> tags; | 3596 core.List<Tag> tags; |
| 3597 | 3597 |
| 3598 ListTagsResponse(); | 3598 ListTagsResponse(); |
| 3599 | 3599 |
| 3600 ListTagsResponse.fromJson(core.Map _json) { | 3600 ListTagsResponse.fromJson(core.Map _json) { |
| 3601 if (_json.containsKey("tags")) { | 3601 if (_json.containsKey("tags")) { |
| 3602 tags = _json["tags"].map((value) => new Tag.fromJson(value)).toList(); | 3602 tags = _json["tags"].map((value) => new Tag.fromJson(value)).toList(); |
| 3603 } | 3603 } |
| 3604 } | 3604 } |
| 3605 | 3605 |
| 3606 core.Map toJson() { | 3606 core.Map<core.String, core.Object> toJson() { |
| 3607 var _json = new core.Map(); | 3607 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
| 3608 if (tags != null) { | 3608 if (tags != null) { |
| 3609 _json["tags"] = tags.map((value) => (value).toJson()).toList(); | 3609 _json["tags"] = tags.map((value) => (value).toJson()).toList(); |
| 3610 } | 3610 } |
| 3611 return _json; | 3611 return _json; |
| 3612 } | 3612 } |
| 3613 } | 3613 } |
| 3614 | 3614 |
| 3615 /** List triggers response. */ | 3615 /** List triggers response. */ |
| 3616 class ListTriggersResponse { | 3616 class ListTriggersResponse { |
| 3617 /** All GTM Triggers of a GTM Container. */ | 3617 /** All GTM Triggers of a GTM Container. */ |
| 3618 core.List<Trigger> triggers; | 3618 core.List<Trigger> triggers; |
| 3619 | 3619 |
| 3620 ListTriggersResponse(); | 3620 ListTriggersResponse(); |
| 3621 | 3621 |
| 3622 ListTriggersResponse.fromJson(core.Map _json) { | 3622 ListTriggersResponse.fromJson(core.Map _json) { |
| 3623 if (_json.containsKey("triggers")) { | 3623 if (_json.containsKey("triggers")) { |
| 3624 triggers = _json["triggers"].map((value) => new Trigger.fromJson(value)).t
oList(); | 3624 triggers = _json["triggers"].map((value) => new Trigger.fromJson(value)).t
oList(); |
| 3625 } | 3625 } |
| 3626 } | 3626 } |
| 3627 | 3627 |
| 3628 core.Map toJson() { | 3628 core.Map<core.String, core.Object> toJson() { |
| 3629 var _json = new core.Map(); | 3629 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
| 3630 if (triggers != null) { | 3630 if (triggers != null) { |
| 3631 _json["triggers"] = triggers.map((value) => (value).toJson()).toList(); | 3631 _json["triggers"] = triggers.map((value) => (value).toJson()).toList(); |
| 3632 } | 3632 } |
| 3633 return _json; | 3633 return _json; |
| 3634 } | 3634 } |
| 3635 } | 3635 } |
| 3636 | 3636 |
| 3637 /** List Variables Response. */ | 3637 /** List Variables Response. */ |
| 3638 class ListVariablesResponse { | 3638 class ListVariablesResponse { |
| 3639 /** All GTM Variables of a GTM Container. */ | 3639 /** All GTM Variables of a GTM Container. */ |
| 3640 core.List<Variable> variables; | 3640 core.List<Variable> variables; |
| 3641 | 3641 |
| 3642 ListVariablesResponse(); | 3642 ListVariablesResponse(); |
| 3643 | 3643 |
| 3644 ListVariablesResponse.fromJson(core.Map _json) { | 3644 ListVariablesResponse.fromJson(core.Map _json) { |
| 3645 if (_json.containsKey("variables")) { | 3645 if (_json.containsKey("variables")) { |
| 3646 variables = _json["variables"].map((value) => new Variable.fromJson(value)
).toList(); | 3646 variables = _json["variables"].map((value) => new Variable.fromJson(value)
).toList(); |
| 3647 } | 3647 } |
| 3648 } | 3648 } |
| 3649 | 3649 |
| 3650 core.Map toJson() { | 3650 core.Map<core.String, core.Object> toJson() { |
| 3651 var _json = new core.Map(); | 3651 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
| 3652 if (variables != null) { | 3652 if (variables != null) { |
| 3653 _json["variables"] = variables.map((value) => (value).toJson()).toList(); | 3653 _json["variables"] = variables.map((value) => (value).toJson()).toList(); |
| 3654 } | 3654 } |
| 3655 return _json; | 3655 return _json; |
| 3656 } | 3656 } |
| 3657 } | 3657 } |
| 3658 | 3658 |
| 3659 /** Represents a Google Tag Manager Macro. */ | 3659 /** Represents a Google Tag Manager Macro. */ |
| 3660 class Macro { | 3660 class Macro { |
| 3661 /** GTM Account ID. */ | 3661 /** GTM Account ID. */ |
| (...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3733 scheduleEndMs = _json["scheduleEndMs"]; | 3733 scheduleEndMs = _json["scheduleEndMs"]; |
| 3734 } | 3734 } |
| 3735 if (_json.containsKey("scheduleStartMs")) { | 3735 if (_json.containsKey("scheduleStartMs")) { |
| 3736 scheduleStartMs = _json["scheduleStartMs"]; | 3736 scheduleStartMs = _json["scheduleStartMs"]; |
| 3737 } | 3737 } |
| 3738 if (_json.containsKey("type")) { | 3738 if (_json.containsKey("type")) { |
| 3739 type = _json["type"]; | 3739 type = _json["type"]; |
| 3740 } | 3740 } |
| 3741 } | 3741 } |
| 3742 | 3742 |
| 3743 core.Map toJson() { | 3743 core.Map<core.String, core.Object> toJson() { |
| 3744 var _json = new core.Map(); | 3744 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
| 3745 if (accountId != null) { | 3745 if (accountId != null) { |
| 3746 _json["accountId"] = accountId; | 3746 _json["accountId"] = accountId; |
| 3747 } | 3747 } |
| 3748 if (containerId != null) { | 3748 if (containerId != null) { |
| 3749 _json["containerId"] = containerId; | 3749 _json["containerId"] = containerId; |
| 3750 } | 3750 } |
| 3751 if (disablingRuleId != null) { | 3751 if (disablingRuleId != null) { |
| 3752 _json["disablingRuleId"] = disablingRuleId; | 3752 _json["disablingRuleId"] = disablingRuleId; |
| 3753 } | 3753 } |
| 3754 if (enablingRuleId != null) { | 3754 if (enablingRuleId != null) { |
| (...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3831 map = _json["map"].map((value) => new Parameter.fromJson(value)).toList(); | 3831 map = _json["map"].map((value) => new Parameter.fromJson(value)).toList(); |
| 3832 } | 3832 } |
| 3833 if (_json.containsKey("type")) { | 3833 if (_json.containsKey("type")) { |
| 3834 type = _json["type"]; | 3834 type = _json["type"]; |
| 3835 } | 3835 } |
| 3836 if (_json.containsKey("value")) { | 3836 if (_json.containsKey("value")) { |
| 3837 value = _json["value"]; | 3837 value = _json["value"]; |
| 3838 } | 3838 } |
| 3839 } | 3839 } |
| 3840 | 3840 |
| 3841 core.Map toJson() { | 3841 core.Map<core.String, core.Object> toJson() { |
| 3842 var _json = new core.Map(); | 3842 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
| 3843 if (key != null) { | 3843 if (key != null) { |
| 3844 _json["key"] = key; | 3844 _json["key"] = key; |
| 3845 } | 3845 } |
| 3846 if (list != null) { | 3846 if (list != null) { |
| 3847 _json["list"] = list.map((value) => (value).toJson()).toList(); | 3847 _json["list"] = list.map((value) => (value).toJson()).toList(); |
| 3848 } | 3848 } |
| 3849 if (map != null) { | 3849 if (map != null) { |
| 3850 _json["map"] = map.map((value) => (value).toJson()).toList(); | 3850 _json["map"] = map.map((value) => (value).toJson()).toList(); |
| 3851 } | 3851 } |
| 3852 if (type != null) { | 3852 if (type != null) { |
| (...skipping 17 matching lines...) Expand all Loading... |
| 3870 | 3870 |
| 3871 PublishContainerVersionResponse.fromJson(core.Map _json) { | 3871 PublishContainerVersionResponse.fromJson(core.Map _json) { |
| 3872 if (_json.containsKey("compilerError")) { | 3872 if (_json.containsKey("compilerError")) { |
| 3873 compilerError = _json["compilerError"]; | 3873 compilerError = _json["compilerError"]; |
| 3874 } | 3874 } |
| 3875 if (_json.containsKey("containerVersion")) { | 3875 if (_json.containsKey("containerVersion")) { |
| 3876 containerVersion = new ContainerVersion.fromJson(_json["containerVersion"]
); | 3876 containerVersion = new ContainerVersion.fromJson(_json["containerVersion"]
); |
| 3877 } | 3877 } |
| 3878 } | 3878 } |
| 3879 | 3879 |
| 3880 core.Map toJson() { | 3880 core.Map<core.String, core.Object> toJson() { |
| 3881 var _json = new core.Map(); | 3881 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
| 3882 if (compilerError != null) { | 3882 if (compilerError != null) { |
| 3883 _json["compilerError"] = compilerError; | 3883 _json["compilerError"] = compilerError; |
| 3884 } | 3884 } |
| 3885 if (containerVersion != null) { | 3885 if (containerVersion != null) { |
| 3886 _json["containerVersion"] = (containerVersion).toJson(); | 3886 _json["containerVersion"] = (containerVersion).toJson(); |
| 3887 } | 3887 } |
| 3888 return _json; | 3888 return _json; |
| 3889 } | 3889 } |
| 3890 } | 3890 } |
| 3891 | 3891 |
| (...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3930 name = _json["name"]; | 3930 name = _json["name"]; |
| 3931 } | 3931 } |
| 3932 if (_json.containsKey("notes")) { | 3932 if (_json.containsKey("notes")) { |
| 3933 notes = _json["notes"]; | 3933 notes = _json["notes"]; |
| 3934 } | 3934 } |
| 3935 if (_json.containsKey("ruleId")) { | 3935 if (_json.containsKey("ruleId")) { |
| 3936 ruleId = _json["ruleId"]; | 3936 ruleId = _json["ruleId"]; |
| 3937 } | 3937 } |
| 3938 } | 3938 } |
| 3939 | 3939 |
| 3940 core.Map toJson() { | 3940 core.Map<core.String, core.Object> toJson() { |
| 3941 var _json = new core.Map(); | 3941 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
| 3942 if (accountId != null) { | 3942 if (accountId != null) { |
| 3943 _json["accountId"] = accountId; | 3943 _json["accountId"] = accountId; |
| 3944 } | 3944 } |
| 3945 if (condition != null) { | 3945 if (condition != null) { |
| 3946 _json["condition"] = condition.map((value) => (value).toJson()).toList(); | 3946 _json["condition"] = condition.map((value) => (value).toJson()).toList(); |
| 3947 } | 3947 } |
| 3948 if (containerId != null) { | 3948 if (containerId != null) { |
| 3949 _json["containerId"] = containerId; | 3949 _json["containerId"] = containerId; |
| 3950 } | 3950 } |
| 3951 if (fingerprint != null) { | 3951 if (fingerprint != null) { |
| (...skipping 25 matching lines...) Expand all Loading... |
| 3977 | 3977 |
| 3978 SetupTag.fromJson(core.Map _json) { | 3978 SetupTag.fromJson(core.Map _json) { |
| 3979 if (_json.containsKey("stopOnSetupFailure")) { | 3979 if (_json.containsKey("stopOnSetupFailure")) { |
| 3980 stopOnSetupFailure = _json["stopOnSetupFailure"]; | 3980 stopOnSetupFailure = _json["stopOnSetupFailure"]; |
| 3981 } | 3981 } |
| 3982 if (_json.containsKey("tagName")) { | 3982 if (_json.containsKey("tagName")) { |
| 3983 tagName = _json["tagName"]; | 3983 tagName = _json["tagName"]; |
| 3984 } | 3984 } |
| 3985 } | 3985 } |
| 3986 | 3986 |
| 3987 core.Map toJson() { | 3987 core.Map<core.String, core.Object> toJson() { |
| 3988 var _json = new core.Map(); | 3988 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
| 3989 if (stopOnSetupFailure != null) { | 3989 if (stopOnSetupFailure != null) { |
| 3990 _json["stopOnSetupFailure"] = stopOnSetupFailure; | 3990 _json["stopOnSetupFailure"] = stopOnSetupFailure; |
| 3991 } | 3991 } |
| 3992 if (tagName != null) { | 3992 if (tagName != null) { |
| 3993 _json["tagName"] = tagName; | 3993 _json["tagName"] = tagName; |
| 3994 } | 3994 } |
| 3995 return _json; | 3995 return _json; |
| 3996 } | 3996 } |
| 3997 } | 3997 } |
| 3998 | 3998 |
| (...skipping 126 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4125 tagId = _json["tagId"]; | 4125 tagId = _json["tagId"]; |
| 4126 } | 4126 } |
| 4127 if (_json.containsKey("teardownTag")) { | 4127 if (_json.containsKey("teardownTag")) { |
| 4128 teardownTag = _json["teardownTag"].map((value) => new TeardownTag.fromJson
(value)).toList(); | 4128 teardownTag = _json["teardownTag"].map((value) => new TeardownTag.fromJson
(value)).toList(); |
| 4129 } | 4129 } |
| 4130 if (_json.containsKey("type")) { | 4130 if (_json.containsKey("type")) { |
| 4131 type = _json["type"]; | 4131 type = _json["type"]; |
| 4132 } | 4132 } |
| 4133 } | 4133 } |
| 4134 | 4134 |
| 4135 core.Map toJson() { | 4135 core.Map<core.String, core.Object> toJson() { |
| 4136 var _json = new core.Map(); | 4136 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
| 4137 if (accountId != null) { | 4137 if (accountId != null) { |
| 4138 _json["accountId"] = accountId; | 4138 _json["accountId"] = accountId; |
| 4139 } | 4139 } |
| 4140 if (blockingRuleId != null) { | 4140 if (blockingRuleId != null) { |
| 4141 _json["blockingRuleId"] = blockingRuleId; | 4141 _json["blockingRuleId"] = blockingRuleId; |
| 4142 } | 4142 } |
| 4143 if (blockingTriggerId != null) { | 4143 if (blockingTriggerId != null) { |
| 4144 _json["blockingTriggerId"] = blockingTriggerId; | 4144 _json["blockingTriggerId"] = blockingTriggerId; |
| 4145 } | 4145 } |
| 4146 if (containerId != null) { | 4146 if (containerId != null) { |
| (...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4212 | 4212 |
| 4213 TeardownTag.fromJson(core.Map _json) { | 4213 TeardownTag.fromJson(core.Map _json) { |
| 4214 if (_json.containsKey("stopTeardownOnFailure")) { | 4214 if (_json.containsKey("stopTeardownOnFailure")) { |
| 4215 stopTeardownOnFailure = _json["stopTeardownOnFailure"]; | 4215 stopTeardownOnFailure = _json["stopTeardownOnFailure"]; |
| 4216 } | 4216 } |
| 4217 if (_json.containsKey("tagName")) { | 4217 if (_json.containsKey("tagName")) { |
| 4218 tagName = _json["tagName"]; | 4218 tagName = _json["tagName"]; |
| 4219 } | 4219 } |
| 4220 } | 4220 } |
| 4221 | 4221 |
| 4222 core.Map toJson() { | 4222 core.Map<core.String, core.Object> toJson() { |
| 4223 var _json = new core.Map(); | 4223 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
| 4224 if (stopTeardownOnFailure != null) { | 4224 if (stopTeardownOnFailure != null) { |
| 4225 _json["stopTeardownOnFailure"] = stopTeardownOnFailure; | 4225 _json["stopTeardownOnFailure"] = stopTeardownOnFailure; |
| 4226 } | 4226 } |
| 4227 if (tagName != null) { | 4227 if (tagName != null) { |
| 4228 _json["tagName"] = tagName; | 4228 _json["tagName"] = tagName; |
| 4229 } | 4229 } |
| 4230 return _json; | 4230 return _json; |
| 4231 } | 4231 } |
| 4232 } | 4232 } |
| 4233 | 4233 |
| (...skipping 149 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4383 videoPercentageList = new Parameter.fromJson(_json["videoPercentageList"])
; | 4383 videoPercentageList = new Parameter.fromJson(_json["videoPercentageList"])
; |
| 4384 } | 4384 } |
| 4385 if (_json.containsKey("waitForTags")) { | 4385 if (_json.containsKey("waitForTags")) { |
| 4386 waitForTags = new Parameter.fromJson(_json["waitForTags"]); | 4386 waitForTags = new Parameter.fromJson(_json["waitForTags"]); |
| 4387 } | 4387 } |
| 4388 if (_json.containsKey("waitForTagsTimeout")) { | 4388 if (_json.containsKey("waitForTagsTimeout")) { |
| 4389 waitForTagsTimeout = new Parameter.fromJson(_json["waitForTagsTimeout"]); | 4389 waitForTagsTimeout = new Parameter.fromJson(_json["waitForTagsTimeout"]); |
| 4390 } | 4390 } |
| 4391 } | 4391 } |
| 4392 | 4392 |
| 4393 core.Map toJson() { | 4393 core.Map<core.String, core.Object> toJson() { |
| 4394 var _json = new core.Map(); | 4394 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
| 4395 if (accountId != null) { | 4395 if (accountId != null) { |
| 4396 _json["accountId"] = accountId; | 4396 _json["accountId"] = accountId; |
| 4397 } | 4397 } |
| 4398 if (autoEventFilter != null) { | 4398 if (autoEventFilter != null) { |
| 4399 _json["autoEventFilter"] = autoEventFilter.map((value) => (value).toJson()
).toList(); | 4399 _json["autoEventFilter"] = autoEventFilter.map((value) => (value).toJson()
).toList(); |
| 4400 } | 4400 } |
| 4401 if (checkValidation != null) { | 4401 if (checkValidation != null) { |
| 4402 _json["checkValidation"] = (checkValidation).toJson(); | 4402 _json["checkValidation"] = (checkValidation).toJson(); |
| 4403 } | 4403 } |
| 4404 if (containerId != null) { | 4404 if (containerId != null) { |
| (...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4479 containerAccess = _json["containerAccess"].map((value) => new ContainerAcc
ess.fromJson(value)).toList(); | 4479 containerAccess = _json["containerAccess"].map((value) => new ContainerAcc
ess.fromJson(value)).toList(); |
| 4480 } | 4480 } |
| 4481 if (_json.containsKey("emailAddress")) { | 4481 if (_json.containsKey("emailAddress")) { |
| 4482 emailAddress = _json["emailAddress"]; | 4482 emailAddress = _json["emailAddress"]; |
| 4483 } | 4483 } |
| 4484 if (_json.containsKey("permissionId")) { | 4484 if (_json.containsKey("permissionId")) { |
| 4485 permissionId = _json["permissionId"]; | 4485 permissionId = _json["permissionId"]; |
| 4486 } | 4486 } |
| 4487 } | 4487 } |
| 4488 | 4488 |
| 4489 core.Map toJson() { | 4489 core.Map<core.String, core.Object> toJson() { |
| 4490 var _json = new core.Map(); | 4490 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
| 4491 if (accountAccess != null) { | 4491 if (accountAccess != null) { |
| 4492 _json["accountAccess"] = (accountAccess).toJson(); | 4492 _json["accountAccess"] = (accountAccess).toJson(); |
| 4493 } | 4493 } |
| 4494 if (accountId != null) { | 4494 if (accountId != null) { |
| 4495 _json["accountId"] = accountId; | 4495 _json["accountId"] = accountId; |
| 4496 } | 4496 } |
| 4497 if (containerAccess != null) { | 4497 if (containerAccess != null) { |
| 4498 _json["containerAccess"] = containerAccess.map((value) => (value).toJson()
).toList(); | 4498 _json["containerAccess"] = containerAccess.map((value) => (value).toJson()
).toList(); |
| 4499 } | 4499 } |
| 4500 if (emailAddress != null) { | 4500 if (emailAddress != null) { |
| (...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4584 scheduleStartMs = _json["scheduleStartMs"]; | 4584 scheduleStartMs = _json["scheduleStartMs"]; |
| 4585 } | 4585 } |
| 4586 if (_json.containsKey("type")) { | 4586 if (_json.containsKey("type")) { |
| 4587 type = _json["type"]; | 4587 type = _json["type"]; |
| 4588 } | 4588 } |
| 4589 if (_json.containsKey("variableId")) { | 4589 if (_json.containsKey("variableId")) { |
| 4590 variableId = _json["variableId"]; | 4590 variableId = _json["variableId"]; |
| 4591 } | 4591 } |
| 4592 } | 4592 } |
| 4593 | 4593 |
| 4594 core.Map toJson() { | 4594 core.Map<core.String, core.Object> toJson() { |
| 4595 var _json = new core.Map(); | 4595 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
| 4596 if (accountId != null) { | 4596 if (accountId != null) { |
| 4597 _json["accountId"] = accountId; | 4597 _json["accountId"] = accountId; |
| 4598 } | 4598 } |
| 4599 if (containerId != null) { | 4599 if (containerId != null) { |
| 4600 _json["containerId"] = containerId; | 4600 _json["containerId"] = containerId; |
| 4601 } | 4601 } |
| 4602 if (disablingTriggerId != null) { | 4602 if (disablingTriggerId != null) { |
| 4603 _json["disablingTriggerId"] = disablingTriggerId; | 4603 _json["disablingTriggerId"] = disablingTriggerId; |
| 4604 } | 4604 } |
| 4605 if (enablingTriggerId != null) { | 4605 if (enablingTriggerId != null) { |
| (...skipping 22 matching lines...) Expand all Loading... |
| 4628 } | 4628 } |
| 4629 if (type != null) { | 4629 if (type != null) { |
| 4630 _json["type"] = type; | 4630 _json["type"] = type; |
| 4631 } | 4631 } |
| 4632 if (variableId != null) { | 4632 if (variableId != null) { |
| 4633 _json["variableId"] = variableId; | 4633 _json["variableId"] = variableId; |
| 4634 } | 4634 } |
| 4635 return _json; | 4635 return _json; |
| 4636 } | 4636 } |
| 4637 } | 4637 } |
| OLD | NEW |