catocli 2.0.1__py3-none-any.whl → 2.0.3__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of catocli might be problematic. Click here for more details.

Files changed (108) hide show
  1. catocli/Utils/clidriver.py +41 -6
  2. catocli/__init__.py +1 -1
  3. catocli/parsers/custom/__init__.py +7 -5
  4. catocli/parsers/custom/customLib.py +490 -1
  5. catocli/parsers/custom/export_rules/__init__.py +5 -1
  6. catocli/parsers/custom/export_rules/export_rules.py +32 -183
  7. catocli/parsers/custom/export_sites/__init__.py +20 -0
  8. catocli/parsers/custom/export_sites/export_sites.py +365 -0
  9. catocli/parsers/custom/import_rules_to_tf/__init__.py +3 -3
  10. catocli/parsers/custom/import_rules_to_tf/import_rules_to_tf.py +20 -146
  11. catocli/parsers/custom/import_sites_to_tf/__init__.py +45 -0
  12. catocli/parsers/custom/import_sites_to_tf/import_sites_to_tf.py +891 -0
  13. catocli/parsers/mutation_accountManagement/__init__.py +18 -21
  14. catocli/parsers/mutation_admin/__init__.py +18 -21
  15. catocli/parsers/mutation_container/__init__.py +6 -7
  16. catocli/parsers/mutation_hardware/__init__.py +6 -7
  17. catocli/parsers/mutation_policy/__init__.py +666 -588
  18. catocli/parsers/mutation_policy_terminalServer/README.md +7 -0
  19. catocli/parsers/mutation_policy_terminalServer_addRule/README.md +18 -0
  20. catocli/parsers/mutation_policy_terminalServer_addSection/README.md +18 -0
  21. catocli/parsers/mutation_policy_terminalServer_createPolicyRevision/README.md +18 -0
  22. catocli/parsers/mutation_policy_terminalServer_discardPolicyRevision/README.md +18 -0
  23. catocli/parsers/mutation_policy_terminalServer_moveRule/README.md +18 -0
  24. catocli/parsers/mutation_policy_terminalServer_moveSection/README.md +18 -0
  25. catocli/parsers/mutation_policy_terminalServer_publishPolicyRevision/README.md +18 -0
  26. catocli/parsers/mutation_policy_terminalServer_removeRule/README.md +18 -0
  27. catocli/parsers/mutation_policy_terminalServer_removeSection/README.md +18 -0
  28. catocli/parsers/mutation_policy_terminalServer_updatePolicy/README.md +18 -0
  29. catocli/parsers/mutation_policy_terminalServer_updateRule/README.md +18 -0
  30. catocli/parsers/mutation_policy_terminalServer_updateSection/README.md +18 -0
  31. catocli/parsers/mutation_sandbox/__init__.py +12 -14
  32. catocli/parsers/mutation_site/__init__.py +189 -175
  33. catocli/parsers/mutation_site_addSocketAddOnCard/README.md +17 -0
  34. catocli/parsers/mutation_site_removeSocketAddOnCard/README.md +17 -0
  35. catocli/parsers/mutation_site_startSiteUpgrade/README.md +17 -0
  36. catocli/parsers/mutation_sites/__init__.py +189 -175
  37. catocli/parsers/mutation_sites_addSocketAddOnCard/README.md +17 -0
  38. catocli/parsers/mutation_sites_removeSocketAddOnCard/README.md +17 -0
  39. catocli/parsers/mutation_sites_startSiteUpgrade/README.md +17 -0
  40. catocli/parsers/mutation_xdr/__init__.py +18 -21
  41. catocli/parsers/parserApiClient.py +36 -11
  42. catocli/parsers/query_accountBySubdomain/__init__.py +6 -7
  43. catocli/parsers/query_accountManagement/__init__.py +6 -7
  44. catocli/parsers/query_accountMetrics/__init__.py +6 -7
  45. catocli/parsers/query_accountRoles/__init__.py +6 -7
  46. catocli/parsers/query_accountSnapshot/__init__.py +6 -7
  47. catocli/parsers/query_admin/__init__.py +6 -7
  48. catocli/parsers/query_admins/__init__.py +6 -7
  49. catocli/parsers/query_appStats/__init__.py +6 -7
  50. catocli/parsers/query_appStatsTimeSeries/__init__.py +6 -7
  51. catocli/parsers/query_auditFeed/__init__.py +6 -7
  52. catocli/parsers/query_catalogs/__init__.py +6 -7
  53. catocli/parsers/query_container/__init__.py +6 -7
  54. catocli/parsers/query_devices/README.md +2 -1
  55. catocli/parsers/query_devices/__init__.py +6 -7
  56. catocli/parsers/query_entityLookup/__init__.py +6 -7
  57. catocli/parsers/query_events/__init__.py +6 -7
  58. catocli/parsers/query_eventsFeed/README.md +1 -1
  59. catocli/parsers/query_eventsFeed/__init__.py +6 -7
  60. catocli/parsers/query_eventsTimeSeries/__init__.py +6 -7
  61. catocli/parsers/query_hardware/__init__.py +6 -7
  62. catocli/parsers/query_hardwareManagement/__init__.py +6 -7
  63. catocli/parsers/query_licensing/__init__.py +6 -7
  64. catocli/parsers/query_policy/README.md +2 -1
  65. catocli/parsers/query_policy/__init__.py +6 -7
  66. catocli/parsers/query_sandbox/__init__.py +6 -7
  67. catocli/parsers/query_site/README.md +2 -1
  68. catocli/parsers/query_site/__init__.py +6 -7
  69. catocli/parsers/query_siteLocation/__init__.py +4 -8
  70. catocli/parsers/query_subDomains/__init__.py +6 -7
  71. catocli/parsers/query_xdr/__init__.py +12 -14
  72. catocli/parsers/raw/README.md +4 -0
  73. catocli/parsers/raw/__init__.py +5 -2
  74. {catocli-2.0.1.dist-info → catocli-2.0.3.dist-info}/METADATA +1 -1
  75. {catocli-2.0.1.dist-info → catocli-2.0.3.dist-info}/RECORD +108 -67
  76. graphql_client/api/call_api.py +12 -6
  77. models/mutation.policy.remotePortFwd.updateRule.json +6 -6
  78. models/mutation.policy.terminalServer.addRule.json +2403 -0
  79. models/mutation.policy.terminalServer.addSection.json +1358 -0
  80. models/mutation.policy.terminalServer.createPolicyRevision.json +1873 -0
  81. models/mutation.policy.terminalServer.discardPolicyRevision.json +1807 -0
  82. models/mutation.policy.terminalServer.moveRule.json +1605 -0
  83. models/mutation.policy.terminalServer.moveSection.json +1259 -0
  84. models/mutation.policy.terminalServer.publishPolicyRevision.json +1864 -0
  85. models/mutation.policy.terminalServer.removeRule.json +1253 -0
  86. models/mutation.policy.terminalServer.removeSection.json +958 -0
  87. models/mutation.policy.terminalServer.updatePolicy.json +1883 -0
  88. models/mutation.policy.terminalServer.updateRule.json +2096 -0
  89. models/mutation.policy.terminalServer.updateSection.json +1111 -0
  90. models/mutation.site.addSocketAddOnCard.json +1050 -0
  91. models/mutation.site.removeSocketAddOnCard.json +786 -0
  92. models/mutation.site.startSiteUpgrade.json +802 -0
  93. models/mutation.sites.addSocketAddOnCard.json +1050 -0
  94. models/mutation.sites.removeSocketAddOnCard.json +786 -0
  95. models/mutation.sites.startSiteUpgrade.json +802 -0
  96. models/query.devices.json +311 -2
  97. models/query.events.json +48 -0
  98. models/query.eventsFeed.json +12 -0
  99. models/query.eventsTimeSeries.json +36 -0
  100. models/query.licensing.json +21815 -10093
  101. models/query.policy.json +1898 -305
  102. models/query.site.json +225 -0
  103. models/query.siteLocation.json +97190 -295396
  104. schema/catolib.py +63 -30
  105. {catocli-2.0.1.dist-info → catocli-2.0.3.dist-info}/LICENSE +0 -0
  106. {catocli-2.0.1.dist-info → catocli-2.0.3.dist-info}/WHEEL +0 -0
  107. {catocli-2.0.1.dist-info → catocli-2.0.3.dist-info}/entry_points.txt +0 -0
  108. {catocli-2.0.1.dist-info → catocli-2.0.3.dist-info}/top_level.txt +0 -0
@@ -18,168 +18,156 @@ def mutation_policy_parse(mutation_subparsers):
18
18
  help='addRule() appTenantRestriction operation',
19
19
  usage=get_help("mutation_policy_appTenantRestriction_addRule"))
20
20
 
21
- mutation_policy_appTenantRestriction_addRule_parser.add_argument('json', help='Variables in JSON format.')
21
+ mutation_policy_appTenantRestriction_addRule_parser.add_argument('json', nargs='?', default='{}', help='Variables in JSON format (defaults to empty object if not provided).')
22
22
  mutation_policy_appTenantRestriction_addRule_parser.add_argument('-accountID', help='Override the CATO_ACCOUNT_ID environment variable with this value.')
23
- mutation_policy_appTenantRestriction_addRule_parser.add_argument('-t', const=True, default=False, nargs='?',
24
- help='Print test request preview without sending api call')
25
- mutation_policy_appTenantRestriction_addRule_parser.add_argument('-v', const=True, default=False, nargs='?',
26
- help='Verbose output')
27
- mutation_policy_appTenantRestriction_addRule_parser.add_argument('-p', const=True, default=False, nargs='?',
28
- help='Pretty print')
23
+ mutation_policy_appTenantRestriction_addRule_parser.add_argument('-t', const=True, default=False, nargs='?', help='Print GraphQL query without sending API call')
24
+ mutation_policy_appTenantRestriction_addRule_parser.add_argument('-v', const=True, default=False, nargs='?', help='Verbose output')
25
+ mutation_policy_appTenantRestriction_addRule_parser.add_argument('-p', const=True, default=False, nargs='?', help='Pretty print')
26
+ mutation_policy_appTenantRestriction_addRule_parser.add_argument('-H', '--header', action='append', dest='headers', help='Add custom headers in "Key: Value" format. Can be used multiple times.')
27
+ mutation_policy_appTenantRestriction_addRule_parser.add_argument('--headers-file', dest='headers_file', help='Load headers from a file. Each line should contain a header in "Key: Value" format.')
29
28
  mutation_policy_appTenantRestriction_addRule_parser.set_defaults(func=createRequest,operation_name='mutation.policy.appTenantRestriction.addRule')
30
29
 
31
30
  mutation_policy_appTenantRestriction_addSection_parser = mutation_policy_appTenantRestriction_subparsers.add_parser('addSection',
32
31
  help='addSection() appTenantRestriction operation',
33
32
  usage=get_help("mutation_policy_appTenantRestriction_addSection"))
34
33
 
35
- mutation_policy_appTenantRestriction_addSection_parser.add_argument('json', help='Variables in JSON format.')
34
+ mutation_policy_appTenantRestriction_addSection_parser.add_argument('json', nargs='?', default='{}', help='Variables in JSON format (defaults to empty object if not provided).')
36
35
  mutation_policy_appTenantRestriction_addSection_parser.add_argument('-accountID', help='Override the CATO_ACCOUNT_ID environment variable with this value.')
37
- mutation_policy_appTenantRestriction_addSection_parser.add_argument('-t', const=True, default=False, nargs='?',
38
- help='Print test request preview without sending api call')
39
- mutation_policy_appTenantRestriction_addSection_parser.add_argument('-v', const=True, default=False, nargs='?',
40
- help='Verbose output')
41
- mutation_policy_appTenantRestriction_addSection_parser.add_argument('-p', const=True, default=False, nargs='?',
42
- help='Pretty print')
36
+ mutation_policy_appTenantRestriction_addSection_parser.add_argument('-t', const=True, default=False, nargs='?', help='Print GraphQL query without sending API call')
37
+ mutation_policy_appTenantRestriction_addSection_parser.add_argument('-v', const=True, default=False, nargs='?', help='Verbose output')
38
+ mutation_policy_appTenantRestriction_addSection_parser.add_argument('-p', const=True, default=False, nargs='?', help='Pretty print')
39
+ mutation_policy_appTenantRestriction_addSection_parser.add_argument('-H', '--header', action='append', dest='headers', help='Add custom headers in "Key: Value" format. Can be used multiple times.')
40
+ mutation_policy_appTenantRestriction_addSection_parser.add_argument('--headers-file', dest='headers_file', help='Load headers from a file. Each line should contain a header in "Key: Value" format.')
43
41
  mutation_policy_appTenantRestriction_addSection_parser.set_defaults(func=createRequest,operation_name='mutation.policy.appTenantRestriction.addSection')
44
42
 
45
43
  mutation_policy_appTenantRestriction_createPolicyRevision_parser = mutation_policy_appTenantRestriction_subparsers.add_parser('createPolicyRevision',
46
44
  help='createPolicyRevision() appTenantRestriction operation',
47
45
  usage=get_help("mutation_policy_appTenantRestriction_createPolicyRevision"))
48
46
 
49
- mutation_policy_appTenantRestriction_createPolicyRevision_parser.add_argument('json', help='Variables in JSON format.')
47
+ mutation_policy_appTenantRestriction_createPolicyRevision_parser.add_argument('json', nargs='?', default='{}', help='Variables in JSON format (defaults to empty object if not provided).')
50
48
  mutation_policy_appTenantRestriction_createPolicyRevision_parser.add_argument('-accountID', help='Override the CATO_ACCOUNT_ID environment variable with this value.')
51
- mutation_policy_appTenantRestriction_createPolicyRevision_parser.add_argument('-t', const=True, default=False, nargs='?',
52
- help='Print test request preview without sending api call')
53
- mutation_policy_appTenantRestriction_createPolicyRevision_parser.add_argument('-v', const=True, default=False, nargs='?',
54
- help='Verbose output')
55
- mutation_policy_appTenantRestriction_createPolicyRevision_parser.add_argument('-p', const=True, default=False, nargs='?',
56
- help='Pretty print')
49
+ mutation_policy_appTenantRestriction_createPolicyRevision_parser.add_argument('-t', const=True, default=False, nargs='?', help='Print GraphQL query without sending API call')
50
+ mutation_policy_appTenantRestriction_createPolicyRevision_parser.add_argument('-v', const=True, default=False, nargs='?', help='Verbose output')
51
+ mutation_policy_appTenantRestriction_createPolicyRevision_parser.add_argument('-p', const=True, default=False, nargs='?', help='Pretty print')
52
+ mutation_policy_appTenantRestriction_createPolicyRevision_parser.add_argument('-H', '--header', action='append', dest='headers', help='Add custom headers in "Key: Value" format. Can be used multiple times.')
53
+ mutation_policy_appTenantRestriction_createPolicyRevision_parser.add_argument('--headers-file', dest='headers_file', help='Load headers from a file. Each line should contain a header in "Key: Value" format.')
57
54
  mutation_policy_appTenantRestriction_createPolicyRevision_parser.set_defaults(func=createRequest,operation_name='mutation.policy.appTenantRestriction.createPolicyRevision')
58
55
 
59
56
  mutation_policy_appTenantRestriction_discardPolicyRevision_parser = mutation_policy_appTenantRestriction_subparsers.add_parser('discardPolicyRevision',
60
57
  help='discardPolicyRevision() appTenantRestriction operation',
61
58
  usage=get_help("mutation_policy_appTenantRestriction_discardPolicyRevision"))
62
59
 
63
- mutation_policy_appTenantRestriction_discardPolicyRevision_parser.add_argument('json', help='Variables in JSON format.')
60
+ mutation_policy_appTenantRestriction_discardPolicyRevision_parser.add_argument('json', nargs='?', default='{}', help='Variables in JSON format (defaults to empty object if not provided).')
64
61
  mutation_policy_appTenantRestriction_discardPolicyRevision_parser.add_argument('-accountID', help='Override the CATO_ACCOUNT_ID environment variable with this value.')
65
- mutation_policy_appTenantRestriction_discardPolicyRevision_parser.add_argument('-t', const=True, default=False, nargs='?',
66
- help='Print test request preview without sending api call')
67
- mutation_policy_appTenantRestriction_discardPolicyRevision_parser.add_argument('-v', const=True, default=False, nargs='?',
68
- help='Verbose output')
69
- mutation_policy_appTenantRestriction_discardPolicyRevision_parser.add_argument('-p', const=True, default=False, nargs='?',
70
- help='Pretty print')
62
+ mutation_policy_appTenantRestriction_discardPolicyRevision_parser.add_argument('-t', const=True, default=False, nargs='?', help='Print GraphQL query without sending API call')
63
+ mutation_policy_appTenantRestriction_discardPolicyRevision_parser.add_argument('-v', const=True, default=False, nargs='?', help='Verbose output')
64
+ mutation_policy_appTenantRestriction_discardPolicyRevision_parser.add_argument('-p', const=True, default=False, nargs='?', help='Pretty print')
65
+ mutation_policy_appTenantRestriction_discardPolicyRevision_parser.add_argument('-H', '--header', action='append', dest='headers', help='Add custom headers in "Key: Value" format. Can be used multiple times.')
66
+ mutation_policy_appTenantRestriction_discardPolicyRevision_parser.add_argument('--headers-file', dest='headers_file', help='Load headers from a file. Each line should contain a header in "Key: Value" format.')
71
67
  mutation_policy_appTenantRestriction_discardPolicyRevision_parser.set_defaults(func=createRequest,operation_name='mutation.policy.appTenantRestriction.discardPolicyRevision')
72
68
 
73
69
  mutation_policy_appTenantRestriction_moveRule_parser = mutation_policy_appTenantRestriction_subparsers.add_parser('moveRule',
74
70
  help='moveRule() appTenantRestriction operation',
75
71
  usage=get_help("mutation_policy_appTenantRestriction_moveRule"))
76
72
 
77
- mutation_policy_appTenantRestriction_moveRule_parser.add_argument('json', help='Variables in JSON format.')
73
+ mutation_policy_appTenantRestriction_moveRule_parser.add_argument('json', nargs='?', default='{}', help='Variables in JSON format (defaults to empty object if not provided).')
78
74
  mutation_policy_appTenantRestriction_moveRule_parser.add_argument('-accountID', help='Override the CATO_ACCOUNT_ID environment variable with this value.')
79
- mutation_policy_appTenantRestriction_moveRule_parser.add_argument('-t', const=True, default=False, nargs='?',
80
- help='Print test request preview without sending api call')
81
- mutation_policy_appTenantRestriction_moveRule_parser.add_argument('-v', const=True, default=False, nargs='?',
82
- help='Verbose output')
83
- mutation_policy_appTenantRestriction_moveRule_parser.add_argument('-p', const=True, default=False, nargs='?',
84
- help='Pretty print')
75
+ mutation_policy_appTenantRestriction_moveRule_parser.add_argument('-t', const=True, default=False, nargs='?', help='Print GraphQL query without sending API call')
76
+ mutation_policy_appTenantRestriction_moveRule_parser.add_argument('-v', const=True, default=False, nargs='?', help='Verbose output')
77
+ mutation_policy_appTenantRestriction_moveRule_parser.add_argument('-p', const=True, default=False, nargs='?', help='Pretty print')
78
+ mutation_policy_appTenantRestriction_moveRule_parser.add_argument('-H', '--header', action='append', dest='headers', help='Add custom headers in "Key: Value" format. Can be used multiple times.')
79
+ mutation_policy_appTenantRestriction_moveRule_parser.add_argument('--headers-file', dest='headers_file', help='Load headers from a file. Each line should contain a header in "Key: Value" format.')
85
80
  mutation_policy_appTenantRestriction_moveRule_parser.set_defaults(func=createRequest,operation_name='mutation.policy.appTenantRestriction.moveRule')
86
81
 
87
82
  mutation_policy_appTenantRestriction_moveSection_parser = mutation_policy_appTenantRestriction_subparsers.add_parser('moveSection',
88
83
  help='moveSection() appTenantRestriction operation',
89
84
  usage=get_help("mutation_policy_appTenantRestriction_moveSection"))
90
85
 
91
- mutation_policy_appTenantRestriction_moveSection_parser.add_argument('json', help='Variables in JSON format.')
86
+ mutation_policy_appTenantRestriction_moveSection_parser.add_argument('json', nargs='?', default='{}', help='Variables in JSON format (defaults to empty object if not provided).')
92
87
  mutation_policy_appTenantRestriction_moveSection_parser.add_argument('-accountID', help='Override the CATO_ACCOUNT_ID environment variable with this value.')
93
- mutation_policy_appTenantRestriction_moveSection_parser.add_argument('-t', const=True, default=False, nargs='?',
94
- help='Print test request preview without sending api call')
95
- mutation_policy_appTenantRestriction_moveSection_parser.add_argument('-v', const=True, default=False, nargs='?',
96
- help='Verbose output')
97
- mutation_policy_appTenantRestriction_moveSection_parser.add_argument('-p', const=True, default=False, nargs='?',
98
- help='Pretty print')
88
+ mutation_policy_appTenantRestriction_moveSection_parser.add_argument('-t', const=True, default=False, nargs='?', help='Print GraphQL query without sending API call')
89
+ mutation_policy_appTenantRestriction_moveSection_parser.add_argument('-v', const=True, default=False, nargs='?', help='Verbose output')
90
+ mutation_policy_appTenantRestriction_moveSection_parser.add_argument('-p', const=True, default=False, nargs='?', help='Pretty print')
91
+ mutation_policy_appTenantRestriction_moveSection_parser.add_argument('-H', '--header', action='append', dest='headers', help='Add custom headers in "Key: Value" format. Can be used multiple times.')
92
+ mutation_policy_appTenantRestriction_moveSection_parser.add_argument('--headers-file', dest='headers_file', help='Load headers from a file. Each line should contain a header in "Key: Value" format.')
99
93
  mutation_policy_appTenantRestriction_moveSection_parser.set_defaults(func=createRequest,operation_name='mutation.policy.appTenantRestriction.moveSection')
100
94
 
101
95
  mutation_policy_appTenantRestriction_publishPolicyRevision_parser = mutation_policy_appTenantRestriction_subparsers.add_parser('publishPolicyRevision',
102
96
  help='publishPolicyRevision() appTenantRestriction operation',
103
97
  usage=get_help("mutation_policy_appTenantRestriction_publishPolicyRevision"))
104
98
 
105
- mutation_policy_appTenantRestriction_publishPolicyRevision_parser.add_argument('json', help='Variables in JSON format.')
99
+ mutation_policy_appTenantRestriction_publishPolicyRevision_parser.add_argument('json', nargs='?', default='{}', help='Variables in JSON format (defaults to empty object if not provided).')
106
100
  mutation_policy_appTenantRestriction_publishPolicyRevision_parser.add_argument('-accountID', help='Override the CATO_ACCOUNT_ID environment variable with this value.')
107
- mutation_policy_appTenantRestriction_publishPolicyRevision_parser.add_argument('-t', const=True, default=False, nargs='?',
108
- help='Print test request preview without sending api call')
109
- mutation_policy_appTenantRestriction_publishPolicyRevision_parser.add_argument('-v', const=True, default=False, nargs='?',
110
- help='Verbose output')
111
- mutation_policy_appTenantRestriction_publishPolicyRevision_parser.add_argument('-p', const=True, default=False, nargs='?',
112
- help='Pretty print')
101
+ mutation_policy_appTenantRestriction_publishPolicyRevision_parser.add_argument('-t', const=True, default=False, nargs='?', help='Print GraphQL query without sending API call')
102
+ mutation_policy_appTenantRestriction_publishPolicyRevision_parser.add_argument('-v', const=True, default=False, nargs='?', help='Verbose output')
103
+ mutation_policy_appTenantRestriction_publishPolicyRevision_parser.add_argument('-p', const=True, default=False, nargs='?', help='Pretty print')
104
+ mutation_policy_appTenantRestriction_publishPolicyRevision_parser.add_argument('-H', '--header', action='append', dest='headers', help='Add custom headers in "Key: Value" format. Can be used multiple times.')
105
+ mutation_policy_appTenantRestriction_publishPolicyRevision_parser.add_argument('--headers-file', dest='headers_file', help='Load headers from a file. Each line should contain a header in "Key: Value" format.')
113
106
  mutation_policy_appTenantRestriction_publishPolicyRevision_parser.set_defaults(func=createRequest,operation_name='mutation.policy.appTenantRestriction.publishPolicyRevision')
114
107
 
115
108
  mutation_policy_appTenantRestriction_removeRule_parser = mutation_policy_appTenantRestriction_subparsers.add_parser('removeRule',
116
109
  help='removeRule() appTenantRestriction operation',
117
110
  usage=get_help("mutation_policy_appTenantRestriction_removeRule"))
118
111
 
119
- mutation_policy_appTenantRestriction_removeRule_parser.add_argument('json', help='Variables in JSON format.')
112
+ mutation_policy_appTenantRestriction_removeRule_parser.add_argument('json', nargs='?', default='{}', help='Variables in JSON format (defaults to empty object if not provided).')
120
113
  mutation_policy_appTenantRestriction_removeRule_parser.add_argument('-accountID', help='Override the CATO_ACCOUNT_ID environment variable with this value.')
121
- mutation_policy_appTenantRestriction_removeRule_parser.add_argument('-t', const=True, default=False, nargs='?',
122
- help='Print test request preview without sending api call')
123
- mutation_policy_appTenantRestriction_removeRule_parser.add_argument('-v', const=True, default=False, nargs='?',
124
- help='Verbose output')
125
- mutation_policy_appTenantRestriction_removeRule_parser.add_argument('-p', const=True, default=False, nargs='?',
126
- help='Pretty print')
114
+ mutation_policy_appTenantRestriction_removeRule_parser.add_argument('-t', const=True, default=False, nargs='?', help='Print GraphQL query without sending API call')
115
+ mutation_policy_appTenantRestriction_removeRule_parser.add_argument('-v', const=True, default=False, nargs='?', help='Verbose output')
116
+ mutation_policy_appTenantRestriction_removeRule_parser.add_argument('-p', const=True, default=False, nargs='?', help='Pretty print')
117
+ mutation_policy_appTenantRestriction_removeRule_parser.add_argument('-H', '--header', action='append', dest='headers', help='Add custom headers in "Key: Value" format. Can be used multiple times.')
118
+ mutation_policy_appTenantRestriction_removeRule_parser.add_argument('--headers-file', dest='headers_file', help='Load headers from a file. Each line should contain a header in "Key: Value" format.')
127
119
  mutation_policy_appTenantRestriction_removeRule_parser.set_defaults(func=createRequest,operation_name='mutation.policy.appTenantRestriction.removeRule')
128
120
 
129
121
  mutation_policy_appTenantRestriction_removeSection_parser = mutation_policy_appTenantRestriction_subparsers.add_parser('removeSection',
130
122
  help='removeSection() appTenantRestriction operation',
131
123
  usage=get_help("mutation_policy_appTenantRestriction_removeSection"))
132
124
 
133
- mutation_policy_appTenantRestriction_removeSection_parser.add_argument('json', help='Variables in JSON format.')
125
+ mutation_policy_appTenantRestriction_removeSection_parser.add_argument('json', nargs='?', default='{}', help='Variables in JSON format (defaults to empty object if not provided).')
134
126
  mutation_policy_appTenantRestriction_removeSection_parser.add_argument('-accountID', help='Override the CATO_ACCOUNT_ID environment variable with this value.')
135
- mutation_policy_appTenantRestriction_removeSection_parser.add_argument('-t', const=True, default=False, nargs='?',
136
- help='Print test request preview without sending api call')
137
- mutation_policy_appTenantRestriction_removeSection_parser.add_argument('-v', const=True, default=False, nargs='?',
138
- help='Verbose output')
139
- mutation_policy_appTenantRestriction_removeSection_parser.add_argument('-p', const=True, default=False, nargs='?',
140
- help='Pretty print')
127
+ mutation_policy_appTenantRestriction_removeSection_parser.add_argument('-t', const=True, default=False, nargs='?', help='Print GraphQL query without sending API call')
128
+ mutation_policy_appTenantRestriction_removeSection_parser.add_argument('-v', const=True, default=False, nargs='?', help='Verbose output')
129
+ mutation_policy_appTenantRestriction_removeSection_parser.add_argument('-p', const=True, default=False, nargs='?', help='Pretty print')
130
+ mutation_policy_appTenantRestriction_removeSection_parser.add_argument('-H', '--header', action='append', dest='headers', help='Add custom headers in "Key: Value" format. Can be used multiple times.')
131
+ mutation_policy_appTenantRestriction_removeSection_parser.add_argument('--headers-file', dest='headers_file', help='Load headers from a file. Each line should contain a header in "Key: Value" format.')
141
132
  mutation_policy_appTenantRestriction_removeSection_parser.set_defaults(func=createRequest,operation_name='mutation.policy.appTenantRestriction.removeSection')
142
133
 
143
134
  mutation_policy_appTenantRestriction_updatePolicy_parser = mutation_policy_appTenantRestriction_subparsers.add_parser('updatePolicy',
144
135
  help='updatePolicy() appTenantRestriction operation',
145
136
  usage=get_help("mutation_policy_appTenantRestriction_updatePolicy"))
146
137
 
147
- mutation_policy_appTenantRestriction_updatePolicy_parser.add_argument('json', help='Variables in JSON format.')
138
+ mutation_policy_appTenantRestriction_updatePolicy_parser.add_argument('json', nargs='?', default='{}', help='Variables in JSON format (defaults to empty object if not provided).')
148
139
  mutation_policy_appTenantRestriction_updatePolicy_parser.add_argument('-accountID', help='Override the CATO_ACCOUNT_ID environment variable with this value.')
149
- mutation_policy_appTenantRestriction_updatePolicy_parser.add_argument('-t', const=True, default=False, nargs='?',
150
- help='Print test request preview without sending api call')
151
- mutation_policy_appTenantRestriction_updatePolicy_parser.add_argument('-v', const=True, default=False, nargs='?',
152
- help='Verbose output')
153
- mutation_policy_appTenantRestriction_updatePolicy_parser.add_argument('-p', const=True, default=False, nargs='?',
154
- help='Pretty print')
140
+ mutation_policy_appTenantRestriction_updatePolicy_parser.add_argument('-t', const=True, default=False, nargs='?', help='Print GraphQL query without sending API call')
141
+ mutation_policy_appTenantRestriction_updatePolicy_parser.add_argument('-v', const=True, default=False, nargs='?', help='Verbose output')
142
+ mutation_policy_appTenantRestriction_updatePolicy_parser.add_argument('-p', const=True, default=False, nargs='?', help='Pretty print')
143
+ mutation_policy_appTenantRestriction_updatePolicy_parser.add_argument('-H', '--header', action='append', dest='headers', help='Add custom headers in "Key: Value" format. Can be used multiple times.')
144
+ mutation_policy_appTenantRestriction_updatePolicy_parser.add_argument('--headers-file', dest='headers_file', help='Load headers from a file. Each line should contain a header in "Key: Value" format.')
155
145
  mutation_policy_appTenantRestriction_updatePolicy_parser.set_defaults(func=createRequest,operation_name='mutation.policy.appTenantRestriction.updatePolicy')
156
146
 
157
147
  mutation_policy_appTenantRestriction_updateRule_parser = mutation_policy_appTenantRestriction_subparsers.add_parser('updateRule',
158
148
  help='updateRule() appTenantRestriction operation',
159
149
  usage=get_help("mutation_policy_appTenantRestriction_updateRule"))
160
150
 
161
- mutation_policy_appTenantRestriction_updateRule_parser.add_argument('json', help='Variables in JSON format.')
151
+ mutation_policy_appTenantRestriction_updateRule_parser.add_argument('json', nargs='?', default='{}', help='Variables in JSON format (defaults to empty object if not provided).')
162
152
  mutation_policy_appTenantRestriction_updateRule_parser.add_argument('-accountID', help='Override the CATO_ACCOUNT_ID environment variable with this value.')
163
- mutation_policy_appTenantRestriction_updateRule_parser.add_argument('-t', const=True, default=False, nargs='?',
164
- help='Print test request preview without sending api call')
165
- mutation_policy_appTenantRestriction_updateRule_parser.add_argument('-v', const=True, default=False, nargs='?',
166
- help='Verbose output')
167
- mutation_policy_appTenantRestriction_updateRule_parser.add_argument('-p', const=True, default=False, nargs='?',
168
- help='Pretty print')
153
+ mutation_policy_appTenantRestriction_updateRule_parser.add_argument('-t', const=True, default=False, nargs='?', help='Print GraphQL query without sending API call')
154
+ mutation_policy_appTenantRestriction_updateRule_parser.add_argument('-v', const=True, default=False, nargs='?', help='Verbose output')
155
+ mutation_policy_appTenantRestriction_updateRule_parser.add_argument('-p', const=True, default=False, nargs='?', help='Pretty print')
156
+ mutation_policy_appTenantRestriction_updateRule_parser.add_argument('-H', '--header', action='append', dest='headers', help='Add custom headers in "Key: Value" format. Can be used multiple times.')
157
+ mutation_policy_appTenantRestriction_updateRule_parser.add_argument('--headers-file', dest='headers_file', help='Load headers from a file. Each line should contain a header in "Key: Value" format.')
169
158
  mutation_policy_appTenantRestriction_updateRule_parser.set_defaults(func=createRequest,operation_name='mutation.policy.appTenantRestriction.updateRule')
170
159
 
171
160
  mutation_policy_appTenantRestriction_updateSection_parser = mutation_policy_appTenantRestriction_subparsers.add_parser('updateSection',
172
161
  help='updateSection() appTenantRestriction operation',
173
162
  usage=get_help("mutation_policy_appTenantRestriction_updateSection"))
174
163
 
175
- mutation_policy_appTenantRestriction_updateSection_parser.add_argument('json', help='Variables in JSON format.')
164
+ mutation_policy_appTenantRestriction_updateSection_parser.add_argument('json', nargs='?', default='{}', help='Variables in JSON format (defaults to empty object if not provided).')
176
165
  mutation_policy_appTenantRestriction_updateSection_parser.add_argument('-accountID', help='Override the CATO_ACCOUNT_ID environment variable with this value.')
177
- mutation_policy_appTenantRestriction_updateSection_parser.add_argument('-t', const=True, default=False, nargs='?',
178
- help='Print test request preview without sending api call')
179
- mutation_policy_appTenantRestriction_updateSection_parser.add_argument('-v', const=True, default=False, nargs='?',
180
- help='Verbose output')
181
- mutation_policy_appTenantRestriction_updateSection_parser.add_argument('-p', const=True, default=False, nargs='?',
182
- help='Pretty print')
166
+ mutation_policy_appTenantRestriction_updateSection_parser.add_argument('-t', const=True, default=False, nargs='?', help='Print GraphQL query without sending API call')
167
+ mutation_policy_appTenantRestriction_updateSection_parser.add_argument('-v', const=True, default=False, nargs='?', help='Verbose output')
168
+ mutation_policy_appTenantRestriction_updateSection_parser.add_argument('-p', const=True, default=False, nargs='?', help='Pretty print')
169
+ mutation_policy_appTenantRestriction_updateSection_parser.add_argument('-H', '--header', action='append', dest='headers', help='Add custom headers in "Key: Value" format. Can be used multiple times.')
170
+ mutation_policy_appTenantRestriction_updateSection_parser.add_argument('--headers-file', dest='headers_file', help='Load headers from a file. Each line should contain a header in "Key: Value" format.')
183
171
  mutation_policy_appTenantRestriction_updateSection_parser.set_defaults(func=createRequest,operation_name='mutation.policy.appTenantRestriction.updateSection')
184
172
 
185
173
  mutation_policy_dynamicIpAllocation_parser = mutation_policy_subparsers.add_parser('dynamicIpAllocation',
@@ -192,168 +180,156 @@ def mutation_policy_parse(mutation_subparsers):
192
180
  help='addRule() dynamicIpAllocation operation',
193
181
  usage=get_help("mutation_policy_dynamicIpAllocation_addRule"))
194
182
 
195
- mutation_policy_dynamicIpAllocation_addRule_parser.add_argument('json', help='Variables in JSON format.')
183
+ mutation_policy_dynamicIpAllocation_addRule_parser.add_argument('json', nargs='?', default='{}', help='Variables in JSON format (defaults to empty object if not provided).')
196
184
  mutation_policy_dynamicIpAllocation_addRule_parser.add_argument('-accountID', help='Override the CATO_ACCOUNT_ID environment variable with this value.')
197
- mutation_policy_dynamicIpAllocation_addRule_parser.add_argument('-t', const=True, default=False, nargs='?',
198
- help='Print test request preview without sending api call')
199
- mutation_policy_dynamicIpAllocation_addRule_parser.add_argument('-v', const=True, default=False, nargs='?',
200
- help='Verbose output')
201
- mutation_policy_dynamicIpAllocation_addRule_parser.add_argument('-p', const=True, default=False, nargs='?',
202
- help='Pretty print')
185
+ mutation_policy_dynamicIpAllocation_addRule_parser.add_argument('-t', const=True, default=False, nargs='?', help='Print GraphQL query without sending API call')
186
+ mutation_policy_dynamicIpAllocation_addRule_parser.add_argument('-v', const=True, default=False, nargs='?', help='Verbose output')
187
+ mutation_policy_dynamicIpAllocation_addRule_parser.add_argument('-p', const=True, default=False, nargs='?', help='Pretty print')
188
+ mutation_policy_dynamicIpAllocation_addRule_parser.add_argument('-H', '--header', action='append', dest='headers', help='Add custom headers in "Key: Value" format. Can be used multiple times.')
189
+ mutation_policy_dynamicIpAllocation_addRule_parser.add_argument('--headers-file', dest='headers_file', help='Load headers from a file. Each line should contain a header in "Key: Value" format.')
203
190
  mutation_policy_dynamicIpAllocation_addRule_parser.set_defaults(func=createRequest,operation_name='mutation.policy.dynamicIpAllocation.addRule')
204
191
 
205
192
  mutation_policy_dynamicIpAllocation_addSection_parser = mutation_policy_dynamicIpAllocation_subparsers.add_parser('addSection',
206
193
  help='addSection() dynamicIpAllocation operation',
207
194
  usage=get_help("mutation_policy_dynamicIpAllocation_addSection"))
208
195
 
209
- mutation_policy_dynamicIpAllocation_addSection_parser.add_argument('json', help='Variables in JSON format.')
196
+ mutation_policy_dynamicIpAllocation_addSection_parser.add_argument('json', nargs='?', default='{}', help='Variables in JSON format (defaults to empty object if not provided).')
210
197
  mutation_policy_dynamicIpAllocation_addSection_parser.add_argument('-accountID', help='Override the CATO_ACCOUNT_ID environment variable with this value.')
211
- mutation_policy_dynamicIpAllocation_addSection_parser.add_argument('-t', const=True, default=False, nargs='?',
212
- help='Print test request preview without sending api call')
213
- mutation_policy_dynamicIpAllocation_addSection_parser.add_argument('-v', const=True, default=False, nargs='?',
214
- help='Verbose output')
215
- mutation_policy_dynamicIpAllocation_addSection_parser.add_argument('-p', const=True, default=False, nargs='?',
216
- help='Pretty print')
198
+ mutation_policy_dynamicIpAllocation_addSection_parser.add_argument('-t', const=True, default=False, nargs='?', help='Print GraphQL query without sending API call')
199
+ mutation_policy_dynamicIpAllocation_addSection_parser.add_argument('-v', const=True, default=False, nargs='?', help='Verbose output')
200
+ mutation_policy_dynamicIpAllocation_addSection_parser.add_argument('-p', const=True, default=False, nargs='?', help='Pretty print')
201
+ mutation_policy_dynamicIpAllocation_addSection_parser.add_argument('-H', '--header', action='append', dest='headers', help='Add custom headers in "Key: Value" format. Can be used multiple times.')
202
+ mutation_policy_dynamicIpAllocation_addSection_parser.add_argument('--headers-file', dest='headers_file', help='Load headers from a file. Each line should contain a header in "Key: Value" format.')
217
203
  mutation_policy_dynamicIpAllocation_addSection_parser.set_defaults(func=createRequest,operation_name='mutation.policy.dynamicIpAllocation.addSection')
218
204
 
219
205
  mutation_policy_dynamicIpAllocation_createPolicyRevision_parser = mutation_policy_dynamicIpAllocation_subparsers.add_parser('createPolicyRevision',
220
206
  help='createPolicyRevision() dynamicIpAllocation operation',
221
207
  usage=get_help("mutation_policy_dynamicIpAllocation_createPolicyRevision"))
222
208
 
223
- mutation_policy_dynamicIpAllocation_createPolicyRevision_parser.add_argument('json', help='Variables in JSON format.')
209
+ mutation_policy_dynamicIpAllocation_createPolicyRevision_parser.add_argument('json', nargs='?', default='{}', help='Variables in JSON format (defaults to empty object if not provided).')
224
210
  mutation_policy_dynamicIpAllocation_createPolicyRevision_parser.add_argument('-accountID', help='Override the CATO_ACCOUNT_ID environment variable with this value.')
225
- mutation_policy_dynamicIpAllocation_createPolicyRevision_parser.add_argument('-t', const=True, default=False, nargs='?',
226
- help='Print test request preview without sending api call')
227
- mutation_policy_dynamicIpAllocation_createPolicyRevision_parser.add_argument('-v', const=True, default=False, nargs='?',
228
- help='Verbose output')
229
- mutation_policy_dynamicIpAllocation_createPolicyRevision_parser.add_argument('-p', const=True, default=False, nargs='?',
230
- help='Pretty print')
211
+ mutation_policy_dynamicIpAllocation_createPolicyRevision_parser.add_argument('-t', const=True, default=False, nargs='?', help='Print GraphQL query without sending API call')
212
+ mutation_policy_dynamicIpAllocation_createPolicyRevision_parser.add_argument('-v', const=True, default=False, nargs='?', help='Verbose output')
213
+ mutation_policy_dynamicIpAllocation_createPolicyRevision_parser.add_argument('-p', const=True, default=False, nargs='?', help='Pretty print')
214
+ mutation_policy_dynamicIpAllocation_createPolicyRevision_parser.add_argument('-H', '--header', action='append', dest='headers', help='Add custom headers in "Key: Value" format. Can be used multiple times.')
215
+ mutation_policy_dynamicIpAllocation_createPolicyRevision_parser.add_argument('--headers-file', dest='headers_file', help='Load headers from a file. Each line should contain a header in "Key: Value" format.')
231
216
  mutation_policy_dynamicIpAllocation_createPolicyRevision_parser.set_defaults(func=createRequest,operation_name='mutation.policy.dynamicIpAllocation.createPolicyRevision')
232
217
 
233
218
  mutation_policy_dynamicIpAllocation_discardPolicyRevision_parser = mutation_policy_dynamicIpAllocation_subparsers.add_parser('discardPolicyRevision',
234
219
  help='discardPolicyRevision() dynamicIpAllocation operation',
235
220
  usage=get_help("mutation_policy_dynamicIpAllocation_discardPolicyRevision"))
236
221
 
237
- mutation_policy_dynamicIpAllocation_discardPolicyRevision_parser.add_argument('json', help='Variables in JSON format.')
222
+ mutation_policy_dynamicIpAllocation_discardPolicyRevision_parser.add_argument('json', nargs='?', default='{}', help='Variables in JSON format (defaults to empty object if not provided).')
238
223
  mutation_policy_dynamicIpAllocation_discardPolicyRevision_parser.add_argument('-accountID', help='Override the CATO_ACCOUNT_ID environment variable with this value.')
239
- mutation_policy_dynamicIpAllocation_discardPolicyRevision_parser.add_argument('-t', const=True, default=False, nargs='?',
240
- help='Print test request preview without sending api call')
241
- mutation_policy_dynamicIpAllocation_discardPolicyRevision_parser.add_argument('-v', const=True, default=False, nargs='?',
242
- help='Verbose output')
243
- mutation_policy_dynamicIpAllocation_discardPolicyRevision_parser.add_argument('-p', const=True, default=False, nargs='?',
244
- help='Pretty print')
224
+ mutation_policy_dynamicIpAllocation_discardPolicyRevision_parser.add_argument('-t', const=True, default=False, nargs='?', help='Print GraphQL query without sending API call')
225
+ mutation_policy_dynamicIpAllocation_discardPolicyRevision_parser.add_argument('-v', const=True, default=False, nargs='?', help='Verbose output')
226
+ mutation_policy_dynamicIpAllocation_discardPolicyRevision_parser.add_argument('-p', const=True, default=False, nargs='?', help='Pretty print')
227
+ mutation_policy_dynamicIpAllocation_discardPolicyRevision_parser.add_argument('-H', '--header', action='append', dest='headers', help='Add custom headers in "Key: Value" format. Can be used multiple times.')
228
+ mutation_policy_dynamicIpAllocation_discardPolicyRevision_parser.add_argument('--headers-file', dest='headers_file', help='Load headers from a file. Each line should contain a header in "Key: Value" format.')
245
229
  mutation_policy_dynamicIpAllocation_discardPolicyRevision_parser.set_defaults(func=createRequest,operation_name='mutation.policy.dynamicIpAllocation.discardPolicyRevision')
246
230
 
247
231
  mutation_policy_dynamicIpAllocation_moveRule_parser = mutation_policy_dynamicIpAllocation_subparsers.add_parser('moveRule',
248
232
  help='moveRule() dynamicIpAllocation operation',
249
233
  usage=get_help("mutation_policy_dynamicIpAllocation_moveRule"))
250
234
 
251
- mutation_policy_dynamicIpAllocation_moveRule_parser.add_argument('json', help='Variables in JSON format.')
235
+ mutation_policy_dynamicIpAllocation_moveRule_parser.add_argument('json', nargs='?', default='{}', help='Variables in JSON format (defaults to empty object if not provided).')
252
236
  mutation_policy_dynamicIpAllocation_moveRule_parser.add_argument('-accountID', help='Override the CATO_ACCOUNT_ID environment variable with this value.')
253
- mutation_policy_dynamicIpAllocation_moveRule_parser.add_argument('-t', const=True, default=False, nargs='?',
254
- help='Print test request preview without sending api call')
255
- mutation_policy_dynamicIpAllocation_moveRule_parser.add_argument('-v', const=True, default=False, nargs='?',
256
- help='Verbose output')
257
- mutation_policy_dynamicIpAllocation_moveRule_parser.add_argument('-p', const=True, default=False, nargs='?',
258
- help='Pretty print')
237
+ mutation_policy_dynamicIpAllocation_moveRule_parser.add_argument('-t', const=True, default=False, nargs='?', help='Print GraphQL query without sending API call')
238
+ mutation_policy_dynamicIpAllocation_moveRule_parser.add_argument('-v', const=True, default=False, nargs='?', help='Verbose output')
239
+ mutation_policy_dynamicIpAllocation_moveRule_parser.add_argument('-p', const=True, default=False, nargs='?', help='Pretty print')
240
+ mutation_policy_dynamicIpAllocation_moveRule_parser.add_argument('-H', '--header', action='append', dest='headers', help='Add custom headers in "Key: Value" format. Can be used multiple times.')
241
+ mutation_policy_dynamicIpAllocation_moveRule_parser.add_argument('--headers-file', dest='headers_file', help='Load headers from a file. Each line should contain a header in "Key: Value" format.')
259
242
  mutation_policy_dynamicIpAllocation_moveRule_parser.set_defaults(func=createRequest,operation_name='mutation.policy.dynamicIpAllocation.moveRule')
260
243
 
261
244
  mutation_policy_dynamicIpAllocation_moveSection_parser = mutation_policy_dynamicIpAllocation_subparsers.add_parser('moveSection',
262
245
  help='moveSection() dynamicIpAllocation operation',
263
246
  usage=get_help("mutation_policy_dynamicIpAllocation_moveSection"))
264
247
 
265
- mutation_policy_dynamicIpAllocation_moveSection_parser.add_argument('json', help='Variables in JSON format.')
248
+ mutation_policy_dynamicIpAllocation_moveSection_parser.add_argument('json', nargs='?', default='{}', help='Variables in JSON format (defaults to empty object if not provided).')
266
249
  mutation_policy_dynamicIpAllocation_moveSection_parser.add_argument('-accountID', help='Override the CATO_ACCOUNT_ID environment variable with this value.')
267
- mutation_policy_dynamicIpAllocation_moveSection_parser.add_argument('-t', const=True, default=False, nargs='?',
268
- help='Print test request preview without sending api call')
269
- mutation_policy_dynamicIpAllocation_moveSection_parser.add_argument('-v', const=True, default=False, nargs='?',
270
- help='Verbose output')
271
- mutation_policy_dynamicIpAllocation_moveSection_parser.add_argument('-p', const=True, default=False, nargs='?',
272
- help='Pretty print')
250
+ mutation_policy_dynamicIpAllocation_moveSection_parser.add_argument('-t', const=True, default=False, nargs='?', help='Print GraphQL query without sending API call')
251
+ mutation_policy_dynamicIpAllocation_moveSection_parser.add_argument('-v', const=True, default=False, nargs='?', help='Verbose output')
252
+ mutation_policy_dynamicIpAllocation_moveSection_parser.add_argument('-p', const=True, default=False, nargs='?', help='Pretty print')
253
+ mutation_policy_dynamicIpAllocation_moveSection_parser.add_argument('-H', '--header', action='append', dest='headers', help='Add custom headers in "Key: Value" format. Can be used multiple times.')
254
+ mutation_policy_dynamicIpAllocation_moveSection_parser.add_argument('--headers-file', dest='headers_file', help='Load headers from a file. Each line should contain a header in "Key: Value" format.')
273
255
  mutation_policy_dynamicIpAllocation_moveSection_parser.set_defaults(func=createRequest,operation_name='mutation.policy.dynamicIpAllocation.moveSection')
274
256
 
275
257
  mutation_policy_dynamicIpAllocation_publishPolicyRevision_parser = mutation_policy_dynamicIpAllocation_subparsers.add_parser('publishPolicyRevision',
276
258
  help='publishPolicyRevision() dynamicIpAllocation operation',
277
259
  usage=get_help("mutation_policy_dynamicIpAllocation_publishPolicyRevision"))
278
260
 
279
- mutation_policy_dynamicIpAllocation_publishPolicyRevision_parser.add_argument('json', help='Variables in JSON format.')
261
+ mutation_policy_dynamicIpAllocation_publishPolicyRevision_parser.add_argument('json', nargs='?', default='{}', help='Variables in JSON format (defaults to empty object if not provided).')
280
262
  mutation_policy_dynamicIpAllocation_publishPolicyRevision_parser.add_argument('-accountID', help='Override the CATO_ACCOUNT_ID environment variable with this value.')
281
- mutation_policy_dynamicIpAllocation_publishPolicyRevision_parser.add_argument('-t', const=True, default=False, nargs='?',
282
- help='Print test request preview without sending api call')
283
- mutation_policy_dynamicIpAllocation_publishPolicyRevision_parser.add_argument('-v', const=True, default=False, nargs='?',
284
- help='Verbose output')
285
- mutation_policy_dynamicIpAllocation_publishPolicyRevision_parser.add_argument('-p', const=True, default=False, nargs='?',
286
- help='Pretty print')
263
+ mutation_policy_dynamicIpAllocation_publishPolicyRevision_parser.add_argument('-t', const=True, default=False, nargs='?', help='Print GraphQL query without sending API call')
264
+ mutation_policy_dynamicIpAllocation_publishPolicyRevision_parser.add_argument('-v', const=True, default=False, nargs='?', help='Verbose output')
265
+ mutation_policy_dynamicIpAllocation_publishPolicyRevision_parser.add_argument('-p', const=True, default=False, nargs='?', help='Pretty print')
266
+ mutation_policy_dynamicIpAllocation_publishPolicyRevision_parser.add_argument('-H', '--header', action='append', dest='headers', help='Add custom headers in "Key: Value" format. Can be used multiple times.')
267
+ mutation_policy_dynamicIpAllocation_publishPolicyRevision_parser.add_argument('--headers-file', dest='headers_file', help='Load headers from a file. Each line should contain a header in "Key: Value" format.')
287
268
  mutation_policy_dynamicIpAllocation_publishPolicyRevision_parser.set_defaults(func=createRequest,operation_name='mutation.policy.dynamicIpAllocation.publishPolicyRevision')
288
269
 
289
270
  mutation_policy_dynamicIpAllocation_removeRule_parser = mutation_policy_dynamicIpAllocation_subparsers.add_parser('removeRule',
290
271
  help='removeRule() dynamicIpAllocation operation',
291
272
  usage=get_help("mutation_policy_dynamicIpAllocation_removeRule"))
292
273
 
293
- mutation_policy_dynamicIpAllocation_removeRule_parser.add_argument('json', help='Variables in JSON format.')
274
+ mutation_policy_dynamicIpAllocation_removeRule_parser.add_argument('json', nargs='?', default='{}', help='Variables in JSON format (defaults to empty object if not provided).')
294
275
  mutation_policy_dynamicIpAllocation_removeRule_parser.add_argument('-accountID', help='Override the CATO_ACCOUNT_ID environment variable with this value.')
295
- mutation_policy_dynamicIpAllocation_removeRule_parser.add_argument('-t', const=True, default=False, nargs='?',
296
- help='Print test request preview without sending api call')
297
- mutation_policy_dynamicIpAllocation_removeRule_parser.add_argument('-v', const=True, default=False, nargs='?',
298
- help='Verbose output')
299
- mutation_policy_dynamicIpAllocation_removeRule_parser.add_argument('-p', const=True, default=False, nargs='?',
300
- help='Pretty print')
276
+ mutation_policy_dynamicIpAllocation_removeRule_parser.add_argument('-t', const=True, default=False, nargs='?', help='Print GraphQL query without sending API call')
277
+ mutation_policy_dynamicIpAllocation_removeRule_parser.add_argument('-v', const=True, default=False, nargs='?', help='Verbose output')
278
+ mutation_policy_dynamicIpAllocation_removeRule_parser.add_argument('-p', const=True, default=False, nargs='?', help='Pretty print')
279
+ mutation_policy_dynamicIpAllocation_removeRule_parser.add_argument('-H', '--header', action='append', dest='headers', help='Add custom headers in "Key: Value" format. Can be used multiple times.')
280
+ mutation_policy_dynamicIpAllocation_removeRule_parser.add_argument('--headers-file', dest='headers_file', help='Load headers from a file. Each line should contain a header in "Key: Value" format.')
301
281
  mutation_policy_dynamicIpAllocation_removeRule_parser.set_defaults(func=createRequest,operation_name='mutation.policy.dynamicIpAllocation.removeRule')
302
282
 
303
283
  mutation_policy_dynamicIpAllocation_removeSection_parser = mutation_policy_dynamicIpAllocation_subparsers.add_parser('removeSection',
304
284
  help='removeSection() dynamicIpAllocation operation',
305
285
  usage=get_help("mutation_policy_dynamicIpAllocation_removeSection"))
306
286
 
307
- mutation_policy_dynamicIpAllocation_removeSection_parser.add_argument('json', help='Variables in JSON format.')
287
+ mutation_policy_dynamicIpAllocation_removeSection_parser.add_argument('json', nargs='?', default='{}', help='Variables in JSON format (defaults to empty object if not provided).')
308
288
  mutation_policy_dynamicIpAllocation_removeSection_parser.add_argument('-accountID', help='Override the CATO_ACCOUNT_ID environment variable with this value.')
309
- mutation_policy_dynamicIpAllocation_removeSection_parser.add_argument('-t', const=True, default=False, nargs='?',
310
- help='Print test request preview without sending api call')
311
- mutation_policy_dynamicIpAllocation_removeSection_parser.add_argument('-v', const=True, default=False, nargs='?',
312
- help='Verbose output')
313
- mutation_policy_dynamicIpAllocation_removeSection_parser.add_argument('-p', const=True, default=False, nargs='?',
314
- help='Pretty print')
289
+ mutation_policy_dynamicIpAllocation_removeSection_parser.add_argument('-t', const=True, default=False, nargs='?', help='Print GraphQL query without sending API call')
290
+ mutation_policy_dynamicIpAllocation_removeSection_parser.add_argument('-v', const=True, default=False, nargs='?', help='Verbose output')
291
+ mutation_policy_dynamicIpAllocation_removeSection_parser.add_argument('-p', const=True, default=False, nargs='?', help='Pretty print')
292
+ mutation_policy_dynamicIpAllocation_removeSection_parser.add_argument('-H', '--header', action='append', dest='headers', help='Add custom headers in "Key: Value" format. Can be used multiple times.')
293
+ mutation_policy_dynamicIpAllocation_removeSection_parser.add_argument('--headers-file', dest='headers_file', help='Load headers from a file. Each line should contain a header in "Key: Value" format.')
315
294
  mutation_policy_dynamicIpAllocation_removeSection_parser.set_defaults(func=createRequest,operation_name='mutation.policy.dynamicIpAllocation.removeSection')
316
295
 
317
296
  mutation_policy_dynamicIpAllocation_updatePolicy_parser = mutation_policy_dynamicIpAllocation_subparsers.add_parser('updatePolicy',
318
297
  help='updatePolicy() dynamicIpAllocation operation',
319
298
  usage=get_help("mutation_policy_dynamicIpAllocation_updatePolicy"))
320
299
 
321
- mutation_policy_dynamicIpAllocation_updatePolicy_parser.add_argument('json', help='Variables in JSON format.')
300
+ mutation_policy_dynamicIpAllocation_updatePolicy_parser.add_argument('json', nargs='?', default='{}', help='Variables in JSON format (defaults to empty object if not provided).')
322
301
  mutation_policy_dynamicIpAllocation_updatePolicy_parser.add_argument('-accountID', help='Override the CATO_ACCOUNT_ID environment variable with this value.')
323
- mutation_policy_dynamicIpAllocation_updatePolicy_parser.add_argument('-t', const=True, default=False, nargs='?',
324
- help='Print test request preview without sending api call')
325
- mutation_policy_dynamicIpAllocation_updatePolicy_parser.add_argument('-v', const=True, default=False, nargs='?',
326
- help='Verbose output')
327
- mutation_policy_dynamicIpAllocation_updatePolicy_parser.add_argument('-p', const=True, default=False, nargs='?',
328
- help='Pretty print')
302
+ mutation_policy_dynamicIpAllocation_updatePolicy_parser.add_argument('-t', const=True, default=False, nargs='?', help='Print GraphQL query without sending API call')
303
+ mutation_policy_dynamicIpAllocation_updatePolicy_parser.add_argument('-v', const=True, default=False, nargs='?', help='Verbose output')
304
+ mutation_policy_dynamicIpAllocation_updatePolicy_parser.add_argument('-p', const=True, default=False, nargs='?', help='Pretty print')
305
+ mutation_policy_dynamicIpAllocation_updatePolicy_parser.add_argument('-H', '--header', action='append', dest='headers', help='Add custom headers in "Key: Value" format. Can be used multiple times.')
306
+ mutation_policy_dynamicIpAllocation_updatePolicy_parser.add_argument('--headers-file', dest='headers_file', help='Load headers from a file. Each line should contain a header in "Key: Value" format.')
329
307
  mutation_policy_dynamicIpAllocation_updatePolicy_parser.set_defaults(func=createRequest,operation_name='mutation.policy.dynamicIpAllocation.updatePolicy')
330
308
 
331
309
  mutation_policy_dynamicIpAllocation_updateRule_parser = mutation_policy_dynamicIpAllocation_subparsers.add_parser('updateRule',
332
310
  help='updateRule() dynamicIpAllocation operation',
333
311
  usage=get_help("mutation_policy_dynamicIpAllocation_updateRule"))
334
312
 
335
- mutation_policy_dynamicIpAllocation_updateRule_parser.add_argument('json', help='Variables in JSON format.')
313
+ mutation_policy_dynamicIpAllocation_updateRule_parser.add_argument('json', nargs='?', default='{}', help='Variables in JSON format (defaults to empty object if not provided).')
336
314
  mutation_policy_dynamicIpAllocation_updateRule_parser.add_argument('-accountID', help='Override the CATO_ACCOUNT_ID environment variable with this value.')
337
- mutation_policy_dynamicIpAllocation_updateRule_parser.add_argument('-t', const=True, default=False, nargs='?',
338
- help='Print test request preview without sending api call')
339
- mutation_policy_dynamicIpAllocation_updateRule_parser.add_argument('-v', const=True, default=False, nargs='?',
340
- help='Verbose output')
341
- mutation_policy_dynamicIpAllocation_updateRule_parser.add_argument('-p', const=True, default=False, nargs='?',
342
- help='Pretty print')
315
+ mutation_policy_dynamicIpAllocation_updateRule_parser.add_argument('-t', const=True, default=False, nargs='?', help='Print GraphQL query without sending API call')
316
+ mutation_policy_dynamicIpAllocation_updateRule_parser.add_argument('-v', const=True, default=False, nargs='?', help='Verbose output')
317
+ mutation_policy_dynamicIpAllocation_updateRule_parser.add_argument('-p', const=True, default=False, nargs='?', help='Pretty print')
318
+ mutation_policy_dynamicIpAllocation_updateRule_parser.add_argument('-H', '--header', action='append', dest='headers', help='Add custom headers in "Key: Value" format. Can be used multiple times.')
319
+ mutation_policy_dynamicIpAllocation_updateRule_parser.add_argument('--headers-file', dest='headers_file', help='Load headers from a file. Each line should contain a header in "Key: Value" format.')
343
320
  mutation_policy_dynamicIpAllocation_updateRule_parser.set_defaults(func=createRequest,operation_name='mutation.policy.dynamicIpAllocation.updateRule')
344
321
 
345
322
  mutation_policy_dynamicIpAllocation_updateSection_parser = mutation_policy_dynamicIpAllocation_subparsers.add_parser('updateSection',
346
323
  help='updateSection() dynamicIpAllocation operation',
347
324
  usage=get_help("mutation_policy_dynamicIpAllocation_updateSection"))
348
325
 
349
- mutation_policy_dynamicIpAllocation_updateSection_parser.add_argument('json', help='Variables in JSON format.')
326
+ mutation_policy_dynamicIpAllocation_updateSection_parser.add_argument('json', nargs='?', default='{}', help='Variables in JSON format (defaults to empty object if not provided).')
350
327
  mutation_policy_dynamicIpAllocation_updateSection_parser.add_argument('-accountID', help='Override the CATO_ACCOUNT_ID environment variable with this value.')
351
- mutation_policy_dynamicIpAllocation_updateSection_parser.add_argument('-t', const=True, default=False, nargs='?',
352
- help='Print test request preview without sending api call')
353
- mutation_policy_dynamicIpAllocation_updateSection_parser.add_argument('-v', const=True, default=False, nargs='?',
354
- help='Verbose output')
355
- mutation_policy_dynamicIpAllocation_updateSection_parser.add_argument('-p', const=True, default=False, nargs='?',
356
- help='Pretty print')
328
+ mutation_policy_dynamicIpAllocation_updateSection_parser.add_argument('-t', const=True, default=False, nargs='?', help='Print GraphQL query without sending API call')
329
+ mutation_policy_dynamicIpAllocation_updateSection_parser.add_argument('-v', const=True, default=False, nargs='?', help='Verbose output')
330
+ mutation_policy_dynamicIpAllocation_updateSection_parser.add_argument('-p', const=True, default=False, nargs='?', help='Pretty print')
331
+ mutation_policy_dynamicIpAllocation_updateSection_parser.add_argument('-H', '--header', action='append', dest='headers', help='Add custom headers in "Key: Value" format. Can be used multiple times.')
332
+ mutation_policy_dynamicIpAllocation_updateSection_parser.add_argument('--headers-file', dest='headers_file', help='Load headers from a file. Each line should contain a header in "Key: Value" format.')
357
333
  mutation_policy_dynamicIpAllocation_updateSection_parser.set_defaults(func=createRequest,operation_name='mutation.policy.dynamicIpAllocation.updateSection')
358
334
 
359
335
  mutation_policy_internetFirewall_parser = mutation_policy_subparsers.add_parser('internetFirewall',
@@ -366,168 +342,156 @@ def mutation_policy_parse(mutation_subparsers):
366
342
  help='addRule() internetFirewall operation',
367
343
  usage=get_help("mutation_policy_internetFirewall_addRule"))
368
344
 
369
- mutation_policy_internetFirewall_addRule_parser.add_argument('json', help='Variables in JSON format.')
345
+ mutation_policy_internetFirewall_addRule_parser.add_argument('json', nargs='?', default='{}', help='Variables in JSON format (defaults to empty object if not provided).')
370
346
  mutation_policy_internetFirewall_addRule_parser.add_argument('-accountID', help='Override the CATO_ACCOUNT_ID environment variable with this value.')
371
- mutation_policy_internetFirewall_addRule_parser.add_argument('-t', const=True, default=False, nargs='?',
372
- help='Print test request preview without sending api call')
373
- mutation_policy_internetFirewall_addRule_parser.add_argument('-v', const=True, default=False, nargs='?',
374
- help='Verbose output')
375
- mutation_policy_internetFirewall_addRule_parser.add_argument('-p', const=True, default=False, nargs='?',
376
- help='Pretty print')
347
+ mutation_policy_internetFirewall_addRule_parser.add_argument('-t', const=True, default=False, nargs='?', help='Print GraphQL query without sending API call')
348
+ mutation_policy_internetFirewall_addRule_parser.add_argument('-v', const=True, default=False, nargs='?', help='Verbose output')
349
+ mutation_policy_internetFirewall_addRule_parser.add_argument('-p', const=True, default=False, nargs='?', help='Pretty print')
350
+ mutation_policy_internetFirewall_addRule_parser.add_argument('-H', '--header', action='append', dest='headers', help='Add custom headers in "Key: Value" format. Can be used multiple times.')
351
+ mutation_policy_internetFirewall_addRule_parser.add_argument('--headers-file', dest='headers_file', help='Load headers from a file. Each line should contain a header in "Key: Value" format.')
377
352
  mutation_policy_internetFirewall_addRule_parser.set_defaults(func=createRequest,operation_name='mutation.policy.internetFirewall.addRule')
378
353
 
379
354
  mutation_policy_internetFirewall_addSection_parser = mutation_policy_internetFirewall_subparsers.add_parser('addSection',
380
355
  help='addSection() internetFirewall operation',
381
356
  usage=get_help("mutation_policy_internetFirewall_addSection"))
382
357
 
383
- mutation_policy_internetFirewall_addSection_parser.add_argument('json', help='Variables in JSON format.')
358
+ mutation_policy_internetFirewall_addSection_parser.add_argument('json', nargs='?', default='{}', help='Variables in JSON format (defaults to empty object if not provided).')
384
359
  mutation_policy_internetFirewall_addSection_parser.add_argument('-accountID', help='Override the CATO_ACCOUNT_ID environment variable with this value.')
385
- mutation_policy_internetFirewall_addSection_parser.add_argument('-t', const=True, default=False, nargs='?',
386
- help='Print test request preview without sending api call')
387
- mutation_policy_internetFirewall_addSection_parser.add_argument('-v', const=True, default=False, nargs='?',
388
- help='Verbose output')
389
- mutation_policy_internetFirewall_addSection_parser.add_argument('-p', const=True, default=False, nargs='?',
390
- help='Pretty print')
360
+ mutation_policy_internetFirewall_addSection_parser.add_argument('-t', const=True, default=False, nargs='?', help='Print GraphQL query without sending API call')
361
+ mutation_policy_internetFirewall_addSection_parser.add_argument('-v', const=True, default=False, nargs='?', help='Verbose output')
362
+ mutation_policy_internetFirewall_addSection_parser.add_argument('-p', const=True, default=False, nargs='?', help='Pretty print')
363
+ mutation_policy_internetFirewall_addSection_parser.add_argument('-H', '--header', action='append', dest='headers', help='Add custom headers in "Key: Value" format. Can be used multiple times.')
364
+ mutation_policy_internetFirewall_addSection_parser.add_argument('--headers-file', dest='headers_file', help='Load headers from a file. Each line should contain a header in "Key: Value" format.')
391
365
  mutation_policy_internetFirewall_addSection_parser.set_defaults(func=createRequest,operation_name='mutation.policy.internetFirewall.addSection')
392
366
 
393
367
  mutation_policy_internetFirewall_createPolicyRevision_parser = mutation_policy_internetFirewall_subparsers.add_parser('createPolicyRevision',
394
368
  help='createPolicyRevision() internetFirewall operation',
395
369
  usage=get_help("mutation_policy_internetFirewall_createPolicyRevision"))
396
370
 
397
- mutation_policy_internetFirewall_createPolicyRevision_parser.add_argument('json', help='Variables in JSON format.')
371
+ mutation_policy_internetFirewall_createPolicyRevision_parser.add_argument('json', nargs='?', default='{}', help='Variables in JSON format (defaults to empty object if not provided).')
398
372
  mutation_policy_internetFirewall_createPolicyRevision_parser.add_argument('-accountID', help='Override the CATO_ACCOUNT_ID environment variable with this value.')
399
- mutation_policy_internetFirewall_createPolicyRevision_parser.add_argument('-t', const=True, default=False, nargs='?',
400
- help='Print test request preview without sending api call')
401
- mutation_policy_internetFirewall_createPolicyRevision_parser.add_argument('-v', const=True, default=False, nargs='?',
402
- help='Verbose output')
403
- mutation_policy_internetFirewall_createPolicyRevision_parser.add_argument('-p', const=True, default=False, nargs='?',
404
- help='Pretty print')
373
+ mutation_policy_internetFirewall_createPolicyRevision_parser.add_argument('-t', const=True, default=False, nargs='?', help='Print GraphQL query without sending API call')
374
+ mutation_policy_internetFirewall_createPolicyRevision_parser.add_argument('-v', const=True, default=False, nargs='?', help='Verbose output')
375
+ mutation_policy_internetFirewall_createPolicyRevision_parser.add_argument('-p', const=True, default=False, nargs='?', help='Pretty print')
376
+ mutation_policy_internetFirewall_createPolicyRevision_parser.add_argument('-H', '--header', action='append', dest='headers', help='Add custom headers in "Key: Value" format. Can be used multiple times.')
377
+ mutation_policy_internetFirewall_createPolicyRevision_parser.add_argument('--headers-file', dest='headers_file', help='Load headers from a file. Each line should contain a header in "Key: Value" format.')
405
378
  mutation_policy_internetFirewall_createPolicyRevision_parser.set_defaults(func=createRequest,operation_name='mutation.policy.internetFirewall.createPolicyRevision')
406
379
 
407
380
  mutation_policy_internetFirewall_discardPolicyRevision_parser = mutation_policy_internetFirewall_subparsers.add_parser('discardPolicyRevision',
408
381
  help='discardPolicyRevision() internetFirewall operation',
409
382
  usage=get_help("mutation_policy_internetFirewall_discardPolicyRevision"))
410
383
 
411
- mutation_policy_internetFirewall_discardPolicyRevision_parser.add_argument('json', help='Variables in JSON format.')
384
+ mutation_policy_internetFirewall_discardPolicyRevision_parser.add_argument('json', nargs='?', default='{}', help='Variables in JSON format (defaults to empty object if not provided).')
412
385
  mutation_policy_internetFirewall_discardPolicyRevision_parser.add_argument('-accountID', help='Override the CATO_ACCOUNT_ID environment variable with this value.')
413
- mutation_policy_internetFirewall_discardPolicyRevision_parser.add_argument('-t', const=True, default=False, nargs='?',
414
- help='Print test request preview without sending api call')
415
- mutation_policy_internetFirewall_discardPolicyRevision_parser.add_argument('-v', const=True, default=False, nargs='?',
416
- help='Verbose output')
417
- mutation_policy_internetFirewall_discardPolicyRevision_parser.add_argument('-p', const=True, default=False, nargs='?',
418
- help='Pretty print')
386
+ mutation_policy_internetFirewall_discardPolicyRevision_parser.add_argument('-t', const=True, default=False, nargs='?', help='Print GraphQL query without sending API call')
387
+ mutation_policy_internetFirewall_discardPolicyRevision_parser.add_argument('-v', const=True, default=False, nargs='?', help='Verbose output')
388
+ mutation_policy_internetFirewall_discardPolicyRevision_parser.add_argument('-p', const=True, default=False, nargs='?', help='Pretty print')
389
+ mutation_policy_internetFirewall_discardPolicyRevision_parser.add_argument('-H', '--header', action='append', dest='headers', help='Add custom headers in "Key: Value" format. Can be used multiple times.')
390
+ mutation_policy_internetFirewall_discardPolicyRevision_parser.add_argument('--headers-file', dest='headers_file', help='Load headers from a file. Each line should contain a header in "Key: Value" format.')
419
391
  mutation_policy_internetFirewall_discardPolicyRevision_parser.set_defaults(func=createRequest,operation_name='mutation.policy.internetFirewall.discardPolicyRevision')
420
392
 
421
393
  mutation_policy_internetFirewall_moveRule_parser = mutation_policy_internetFirewall_subparsers.add_parser('moveRule',
422
394
  help='moveRule() internetFirewall operation',
423
395
  usage=get_help("mutation_policy_internetFirewall_moveRule"))
424
396
 
425
- mutation_policy_internetFirewall_moveRule_parser.add_argument('json', help='Variables in JSON format.')
397
+ mutation_policy_internetFirewall_moveRule_parser.add_argument('json', nargs='?', default='{}', help='Variables in JSON format (defaults to empty object if not provided).')
426
398
  mutation_policy_internetFirewall_moveRule_parser.add_argument('-accountID', help='Override the CATO_ACCOUNT_ID environment variable with this value.')
427
- mutation_policy_internetFirewall_moveRule_parser.add_argument('-t', const=True, default=False, nargs='?',
428
- help='Print test request preview without sending api call')
429
- mutation_policy_internetFirewall_moveRule_parser.add_argument('-v', const=True, default=False, nargs='?',
430
- help='Verbose output')
431
- mutation_policy_internetFirewall_moveRule_parser.add_argument('-p', const=True, default=False, nargs='?',
432
- help='Pretty print')
399
+ mutation_policy_internetFirewall_moveRule_parser.add_argument('-t', const=True, default=False, nargs='?', help='Print GraphQL query without sending API call')
400
+ mutation_policy_internetFirewall_moveRule_parser.add_argument('-v', const=True, default=False, nargs='?', help='Verbose output')
401
+ mutation_policy_internetFirewall_moveRule_parser.add_argument('-p', const=True, default=False, nargs='?', help='Pretty print')
402
+ mutation_policy_internetFirewall_moveRule_parser.add_argument('-H', '--header', action='append', dest='headers', help='Add custom headers in "Key: Value" format. Can be used multiple times.')
403
+ mutation_policy_internetFirewall_moveRule_parser.add_argument('--headers-file', dest='headers_file', help='Load headers from a file. Each line should contain a header in "Key: Value" format.')
433
404
  mutation_policy_internetFirewall_moveRule_parser.set_defaults(func=createRequest,operation_name='mutation.policy.internetFirewall.moveRule')
434
405
 
435
406
  mutation_policy_internetFirewall_moveSection_parser = mutation_policy_internetFirewall_subparsers.add_parser('moveSection',
436
407
  help='moveSection() internetFirewall operation',
437
408
  usage=get_help("mutation_policy_internetFirewall_moveSection"))
438
409
 
439
- mutation_policy_internetFirewall_moveSection_parser.add_argument('json', help='Variables in JSON format.')
410
+ mutation_policy_internetFirewall_moveSection_parser.add_argument('json', nargs='?', default='{}', help='Variables in JSON format (defaults to empty object if not provided).')
440
411
  mutation_policy_internetFirewall_moveSection_parser.add_argument('-accountID', help='Override the CATO_ACCOUNT_ID environment variable with this value.')
441
- mutation_policy_internetFirewall_moveSection_parser.add_argument('-t', const=True, default=False, nargs='?',
442
- help='Print test request preview without sending api call')
443
- mutation_policy_internetFirewall_moveSection_parser.add_argument('-v', const=True, default=False, nargs='?',
444
- help='Verbose output')
445
- mutation_policy_internetFirewall_moveSection_parser.add_argument('-p', const=True, default=False, nargs='?',
446
- help='Pretty print')
412
+ mutation_policy_internetFirewall_moveSection_parser.add_argument('-t', const=True, default=False, nargs='?', help='Print GraphQL query without sending API call')
413
+ mutation_policy_internetFirewall_moveSection_parser.add_argument('-v', const=True, default=False, nargs='?', help='Verbose output')
414
+ mutation_policy_internetFirewall_moveSection_parser.add_argument('-p', const=True, default=False, nargs='?', help='Pretty print')
415
+ mutation_policy_internetFirewall_moveSection_parser.add_argument('-H', '--header', action='append', dest='headers', help='Add custom headers in "Key: Value" format. Can be used multiple times.')
416
+ mutation_policy_internetFirewall_moveSection_parser.add_argument('--headers-file', dest='headers_file', help='Load headers from a file. Each line should contain a header in "Key: Value" format.')
447
417
  mutation_policy_internetFirewall_moveSection_parser.set_defaults(func=createRequest,operation_name='mutation.policy.internetFirewall.moveSection')
448
418
 
449
419
  mutation_policy_internetFirewall_publishPolicyRevision_parser = mutation_policy_internetFirewall_subparsers.add_parser('publishPolicyRevision',
450
420
  help='publishPolicyRevision() internetFirewall operation',
451
421
  usage=get_help("mutation_policy_internetFirewall_publishPolicyRevision"))
452
422
 
453
- mutation_policy_internetFirewall_publishPolicyRevision_parser.add_argument('json', help='Variables in JSON format.')
423
+ mutation_policy_internetFirewall_publishPolicyRevision_parser.add_argument('json', nargs='?', default='{}', help='Variables in JSON format (defaults to empty object if not provided).')
454
424
  mutation_policy_internetFirewall_publishPolicyRevision_parser.add_argument('-accountID', help='Override the CATO_ACCOUNT_ID environment variable with this value.')
455
- mutation_policy_internetFirewall_publishPolicyRevision_parser.add_argument('-t', const=True, default=False, nargs='?',
456
- help='Print test request preview without sending api call')
457
- mutation_policy_internetFirewall_publishPolicyRevision_parser.add_argument('-v', const=True, default=False, nargs='?',
458
- help='Verbose output')
459
- mutation_policy_internetFirewall_publishPolicyRevision_parser.add_argument('-p', const=True, default=False, nargs='?',
460
- help='Pretty print')
425
+ mutation_policy_internetFirewall_publishPolicyRevision_parser.add_argument('-t', const=True, default=False, nargs='?', help='Print GraphQL query without sending API call')
426
+ mutation_policy_internetFirewall_publishPolicyRevision_parser.add_argument('-v', const=True, default=False, nargs='?', help='Verbose output')
427
+ mutation_policy_internetFirewall_publishPolicyRevision_parser.add_argument('-p', const=True, default=False, nargs='?', help='Pretty print')
428
+ mutation_policy_internetFirewall_publishPolicyRevision_parser.add_argument('-H', '--header', action='append', dest='headers', help='Add custom headers in "Key: Value" format. Can be used multiple times.')
429
+ mutation_policy_internetFirewall_publishPolicyRevision_parser.add_argument('--headers-file', dest='headers_file', help='Load headers from a file. Each line should contain a header in "Key: Value" format.')
461
430
  mutation_policy_internetFirewall_publishPolicyRevision_parser.set_defaults(func=createRequest,operation_name='mutation.policy.internetFirewall.publishPolicyRevision')
462
431
 
463
432
  mutation_policy_internetFirewall_removeRule_parser = mutation_policy_internetFirewall_subparsers.add_parser('removeRule',
464
433
  help='removeRule() internetFirewall operation',
465
434
  usage=get_help("mutation_policy_internetFirewall_removeRule"))
466
435
 
467
- mutation_policy_internetFirewall_removeRule_parser.add_argument('json', help='Variables in JSON format.')
436
+ mutation_policy_internetFirewall_removeRule_parser.add_argument('json', nargs='?', default='{}', help='Variables in JSON format (defaults to empty object if not provided).')
468
437
  mutation_policy_internetFirewall_removeRule_parser.add_argument('-accountID', help='Override the CATO_ACCOUNT_ID environment variable with this value.')
469
- mutation_policy_internetFirewall_removeRule_parser.add_argument('-t', const=True, default=False, nargs='?',
470
- help='Print test request preview without sending api call')
471
- mutation_policy_internetFirewall_removeRule_parser.add_argument('-v', const=True, default=False, nargs='?',
472
- help='Verbose output')
473
- mutation_policy_internetFirewall_removeRule_parser.add_argument('-p', const=True, default=False, nargs='?',
474
- help='Pretty print')
438
+ mutation_policy_internetFirewall_removeRule_parser.add_argument('-t', const=True, default=False, nargs='?', help='Print GraphQL query without sending API call')
439
+ mutation_policy_internetFirewall_removeRule_parser.add_argument('-v', const=True, default=False, nargs='?', help='Verbose output')
440
+ mutation_policy_internetFirewall_removeRule_parser.add_argument('-p', const=True, default=False, nargs='?', help='Pretty print')
441
+ mutation_policy_internetFirewall_removeRule_parser.add_argument('-H', '--header', action='append', dest='headers', help='Add custom headers in "Key: Value" format. Can be used multiple times.')
442
+ mutation_policy_internetFirewall_removeRule_parser.add_argument('--headers-file', dest='headers_file', help='Load headers from a file. Each line should contain a header in "Key: Value" format.')
475
443
  mutation_policy_internetFirewall_removeRule_parser.set_defaults(func=createRequest,operation_name='mutation.policy.internetFirewall.removeRule')
476
444
 
477
445
  mutation_policy_internetFirewall_removeSection_parser = mutation_policy_internetFirewall_subparsers.add_parser('removeSection',
478
446
  help='removeSection() internetFirewall operation',
479
447
  usage=get_help("mutation_policy_internetFirewall_removeSection"))
480
448
 
481
- mutation_policy_internetFirewall_removeSection_parser.add_argument('json', help='Variables in JSON format.')
449
+ mutation_policy_internetFirewall_removeSection_parser.add_argument('json', nargs='?', default='{}', help='Variables in JSON format (defaults to empty object if not provided).')
482
450
  mutation_policy_internetFirewall_removeSection_parser.add_argument('-accountID', help='Override the CATO_ACCOUNT_ID environment variable with this value.')
483
- mutation_policy_internetFirewall_removeSection_parser.add_argument('-t', const=True, default=False, nargs='?',
484
- help='Print test request preview without sending api call')
485
- mutation_policy_internetFirewall_removeSection_parser.add_argument('-v', const=True, default=False, nargs='?',
486
- help='Verbose output')
487
- mutation_policy_internetFirewall_removeSection_parser.add_argument('-p', const=True, default=False, nargs='?',
488
- help='Pretty print')
451
+ mutation_policy_internetFirewall_removeSection_parser.add_argument('-t', const=True, default=False, nargs='?', help='Print GraphQL query without sending API call')
452
+ mutation_policy_internetFirewall_removeSection_parser.add_argument('-v', const=True, default=False, nargs='?', help='Verbose output')
453
+ mutation_policy_internetFirewall_removeSection_parser.add_argument('-p', const=True, default=False, nargs='?', help='Pretty print')
454
+ mutation_policy_internetFirewall_removeSection_parser.add_argument('-H', '--header', action='append', dest='headers', help='Add custom headers in "Key: Value" format. Can be used multiple times.')
455
+ mutation_policy_internetFirewall_removeSection_parser.add_argument('--headers-file', dest='headers_file', help='Load headers from a file. Each line should contain a header in "Key: Value" format.')
489
456
  mutation_policy_internetFirewall_removeSection_parser.set_defaults(func=createRequest,operation_name='mutation.policy.internetFirewall.removeSection')
490
457
 
491
458
  mutation_policy_internetFirewall_updatePolicy_parser = mutation_policy_internetFirewall_subparsers.add_parser('updatePolicy',
492
459
  help='updatePolicy() internetFirewall operation',
493
460
  usage=get_help("mutation_policy_internetFirewall_updatePolicy"))
494
461
 
495
- mutation_policy_internetFirewall_updatePolicy_parser.add_argument('json', help='Variables in JSON format.')
462
+ mutation_policy_internetFirewall_updatePolicy_parser.add_argument('json', nargs='?', default='{}', help='Variables in JSON format (defaults to empty object if not provided).')
496
463
  mutation_policy_internetFirewall_updatePolicy_parser.add_argument('-accountID', help='Override the CATO_ACCOUNT_ID environment variable with this value.')
497
- mutation_policy_internetFirewall_updatePolicy_parser.add_argument('-t', const=True, default=False, nargs='?',
498
- help='Print test request preview without sending api call')
499
- mutation_policy_internetFirewall_updatePolicy_parser.add_argument('-v', const=True, default=False, nargs='?',
500
- help='Verbose output')
501
- mutation_policy_internetFirewall_updatePolicy_parser.add_argument('-p', const=True, default=False, nargs='?',
502
- help='Pretty print')
464
+ mutation_policy_internetFirewall_updatePolicy_parser.add_argument('-t', const=True, default=False, nargs='?', help='Print GraphQL query without sending API call')
465
+ mutation_policy_internetFirewall_updatePolicy_parser.add_argument('-v', const=True, default=False, nargs='?', help='Verbose output')
466
+ mutation_policy_internetFirewall_updatePolicy_parser.add_argument('-p', const=True, default=False, nargs='?', help='Pretty print')
467
+ mutation_policy_internetFirewall_updatePolicy_parser.add_argument('-H', '--header', action='append', dest='headers', help='Add custom headers in "Key: Value" format. Can be used multiple times.')
468
+ mutation_policy_internetFirewall_updatePolicy_parser.add_argument('--headers-file', dest='headers_file', help='Load headers from a file. Each line should contain a header in "Key: Value" format.')
503
469
  mutation_policy_internetFirewall_updatePolicy_parser.set_defaults(func=createRequest,operation_name='mutation.policy.internetFirewall.updatePolicy')
504
470
 
505
471
  mutation_policy_internetFirewall_updateRule_parser = mutation_policy_internetFirewall_subparsers.add_parser('updateRule',
506
472
  help='updateRule() internetFirewall operation',
507
473
  usage=get_help("mutation_policy_internetFirewall_updateRule"))
508
474
 
509
- mutation_policy_internetFirewall_updateRule_parser.add_argument('json', help='Variables in JSON format.')
475
+ mutation_policy_internetFirewall_updateRule_parser.add_argument('json', nargs='?', default='{}', help='Variables in JSON format (defaults to empty object if not provided).')
510
476
  mutation_policy_internetFirewall_updateRule_parser.add_argument('-accountID', help='Override the CATO_ACCOUNT_ID environment variable with this value.')
511
- mutation_policy_internetFirewall_updateRule_parser.add_argument('-t', const=True, default=False, nargs='?',
512
- help='Print test request preview without sending api call')
513
- mutation_policy_internetFirewall_updateRule_parser.add_argument('-v', const=True, default=False, nargs='?',
514
- help='Verbose output')
515
- mutation_policy_internetFirewall_updateRule_parser.add_argument('-p', const=True, default=False, nargs='?',
516
- help='Pretty print')
477
+ mutation_policy_internetFirewall_updateRule_parser.add_argument('-t', const=True, default=False, nargs='?', help='Print GraphQL query without sending API call')
478
+ mutation_policy_internetFirewall_updateRule_parser.add_argument('-v', const=True, default=False, nargs='?', help='Verbose output')
479
+ mutation_policy_internetFirewall_updateRule_parser.add_argument('-p', const=True, default=False, nargs='?', help='Pretty print')
480
+ mutation_policy_internetFirewall_updateRule_parser.add_argument('-H', '--header', action='append', dest='headers', help='Add custom headers in "Key: Value" format. Can be used multiple times.')
481
+ mutation_policy_internetFirewall_updateRule_parser.add_argument('--headers-file', dest='headers_file', help='Load headers from a file. Each line should contain a header in "Key: Value" format.')
517
482
  mutation_policy_internetFirewall_updateRule_parser.set_defaults(func=createRequest,operation_name='mutation.policy.internetFirewall.updateRule')
518
483
 
519
484
  mutation_policy_internetFirewall_updateSection_parser = mutation_policy_internetFirewall_subparsers.add_parser('updateSection',
520
485
  help='updateSection() internetFirewall operation',
521
486
  usage=get_help("mutation_policy_internetFirewall_updateSection"))
522
487
 
523
- mutation_policy_internetFirewall_updateSection_parser.add_argument('json', help='Variables in JSON format.')
488
+ mutation_policy_internetFirewall_updateSection_parser.add_argument('json', nargs='?', default='{}', help='Variables in JSON format (defaults to empty object if not provided).')
524
489
  mutation_policy_internetFirewall_updateSection_parser.add_argument('-accountID', help='Override the CATO_ACCOUNT_ID environment variable with this value.')
525
- mutation_policy_internetFirewall_updateSection_parser.add_argument('-t', const=True, default=False, nargs='?',
526
- help='Print test request preview without sending api call')
527
- mutation_policy_internetFirewall_updateSection_parser.add_argument('-v', const=True, default=False, nargs='?',
528
- help='Verbose output')
529
- mutation_policy_internetFirewall_updateSection_parser.add_argument('-p', const=True, default=False, nargs='?',
530
- help='Pretty print')
490
+ mutation_policy_internetFirewall_updateSection_parser.add_argument('-t', const=True, default=False, nargs='?', help='Print GraphQL query without sending API call')
491
+ mutation_policy_internetFirewall_updateSection_parser.add_argument('-v', const=True, default=False, nargs='?', help='Verbose output')
492
+ mutation_policy_internetFirewall_updateSection_parser.add_argument('-p', const=True, default=False, nargs='?', help='Pretty print')
493
+ mutation_policy_internetFirewall_updateSection_parser.add_argument('-H', '--header', action='append', dest='headers', help='Add custom headers in "Key: Value" format. Can be used multiple times.')
494
+ mutation_policy_internetFirewall_updateSection_parser.add_argument('--headers-file', dest='headers_file', help='Load headers from a file. Each line should contain a header in "Key: Value" format.')
531
495
  mutation_policy_internetFirewall_updateSection_parser.set_defaults(func=createRequest,operation_name='mutation.policy.internetFirewall.updateSection')
532
496
 
533
497
  mutation_policy_remotePortFwd_parser = mutation_policy_subparsers.add_parser('remotePortFwd',
@@ -540,168 +504,156 @@ def mutation_policy_parse(mutation_subparsers):
540
504
  help='addRule() remotePortFwd operation',
541
505
  usage=get_help("mutation_policy_remotePortFwd_addRule"))
542
506
 
543
- mutation_policy_remotePortFwd_addRule_parser.add_argument('json', help='Variables in JSON format.')
507
+ mutation_policy_remotePortFwd_addRule_parser.add_argument('json', nargs='?', default='{}', help='Variables in JSON format (defaults to empty object if not provided).')
544
508
  mutation_policy_remotePortFwd_addRule_parser.add_argument('-accountID', help='Override the CATO_ACCOUNT_ID environment variable with this value.')
545
- mutation_policy_remotePortFwd_addRule_parser.add_argument('-t', const=True, default=False, nargs='?',
546
- help='Print test request preview without sending api call')
547
- mutation_policy_remotePortFwd_addRule_parser.add_argument('-v', const=True, default=False, nargs='?',
548
- help='Verbose output')
549
- mutation_policy_remotePortFwd_addRule_parser.add_argument('-p', const=True, default=False, nargs='?',
550
- help='Pretty print')
509
+ mutation_policy_remotePortFwd_addRule_parser.add_argument('-t', const=True, default=False, nargs='?', help='Print GraphQL query without sending API call')
510
+ mutation_policy_remotePortFwd_addRule_parser.add_argument('-v', const=True, default=False, nargs='?', help='Verbose output')
511
+ mutation_policy_remotePortFwd_addRule_parser.add_argument('-p', const=True, default=False, nargs='?', help='Pretty print')
512
+ mutation_policy_remotePortFwd_addRule_parser.add_argument('-H', '--header', action='append', dest='headers', help='Add custom headers in "Key: Value" format. Can be used multiple times.')
513
+ mutation_policy_remotePortFwd_addRule_parser.add_argument('--headers-file', dest='headers_file', help='Load headers from a file. Each line should contain a header in "Key: Value" format.')
551
514
  mutation_policy_remotePortFwd_addRule_parser.set_defaults(func=createRequest,operation_name='mutation.policy.remotePortFwd.addRule')
552
515
 
553
516
  mutation_policy_remotePortFwd_addSection_parser = mutation_policy_remotePortFwd_subparsers.add_parser('addSection',
554
517
  help='addSection() remotePortFwd operation',
555
518
  usage=get_help("mutation_policy_remotePortFwd_addSection"))
556
519
 
557
- mutation_policy_remotePortFwd_addSection_parser.add_argument('json', help='Variables in JSON format.')
520
+ mutation_policy_remotePortFwd_addSection_parser.add_argument('json', nargs='?', default='{}', help='Variables in JSON format (defaults to empty object if not provided).')
558
521
  mutation_policy_remotePortFwd_addSection_parser.add_argument('-accountID', help='Override the CATO_ACCOUNT_ID environment variable with this value.')
559
- mutation_policy_remotePortFwd_addSection_parser.add_argument('-t', const=True, default=False, nargs='?',
560
- help='Print test request preview without sending api call')
561
- mutation_policy_remotePortFwd_addSection_parser.add_argument('-v', const=True, default=False, nargs='?',
562
- help='Verbose output')
563
- mutation_policy_remotePortFwd_addSection_parser.add_argument('-p', const=True, default=False, nargs='?',
564
- help='Pretty print')
522
+ mutation_policy_remotePortFwd_addSection_parser.add_argument('-t', const=True, default=False, nargs='?', help='Print GraphQL query without sending API call')
523
+ mutation_policy_remotePortFwd_addSection_parser.add_argument('-v', const=True, default=False, nargs='?', help='Verbose output')
524
+ mutation_policy_remotePortFwd_addSection_parser.add_argument('-p', const=True, default=False, nargs='?', help='Pretty print')
525
+ mutation_policy_remotePortFwd_addSection_parser.add_argument('-H', '--header', action='append', dest='headers', help='Add custom headers in "Key: Value" format. Can be used multiple times.')
526
+ mutation_policy_remotePortFwd_addSection_parser.add_argument('--headers-file', dest='headers_file', help='Load headers from a file. Each line should contain a header in "Key: Value" format.')
565
527
  mutation_policy_remotePortFwd_addSection_parser.set_defaults(func=createRequest,operation_name='mutation.policy.remotePortFwd.addSection')
566
528
 
567
529
  mutation_policy_remotePortFwd_createPolicyRevision_parser = mutation_policy_remotePortFwd_subparsers.add_parser('createPolicyRevision',
568
530
  help='createPolicyRevision() remotePortFwd operation',
569
531
  usage=get_help("mutation_policy_remotePortFwd_createPolicyRevision"))
570
532
 
571
- mutation_policy_remotePortFwd_createPolicyRevision_parser.add_argument('json', help='Variables in JSON format.')
533
+ mutation_policy_remotePortFwd_createPolicyRevision_parser.add_argument('json', nargs='?', default='{}', help='Variables in JSON format (defaults to empty object if not provided).')
572
534
  mutation_policy_remotePortFwd_createPolicyRevision_parser.add_argument('-accountID', help='Override the CATO_ACCOUNT_ID environment variable with this value.')
573
- mutation_policy_remotePortFwd_createPolicyRevision_parser.add_argument('-t', const=True, default=False, nargs='?',
574
- help='Print test request preview without sending api call')
575
- mutation_policy_remotePortFwd_createPolicyRevision_parser.add_argument('-v', const=True, default=False, nargs='?',
576
- help='Verbose output')
577
- mutation_policy_remotePortFwd_createPolicyRevision_parser.add_argument('-p', const=True, default=False, nargs='?',
578
- help='Pretty print')
535
+ mutation_policy_remotePortFwd_createPolicyRevision_parser.add_argument('-t', const=True, default=False, nargs='?', help='Print GraphQL query without sending API call')
536
+ mutation_policy_remotePortFwd_createPolicyRevision_parser.add_argument('-v', const=True, default=False, nargs='?', help='Verbose output')
537
+ mutation_policy_remotePortFwd_createPolicyRevision_parser.add_argument('-p', const=True, default=False, nargs='?', help='Pretty print')
538
+ mutation_policy_remotePortFwd_createPolicyRevision_parser.add_argument('-H', '--header', action='append', dest='headers', help='Add custom headers in "Key: Value" format. Can be used multiple times.')
539
+ mutation_policy_remotePortFwd_createPolicyRevision_parser.add_argument('--headers-file', dest='headers_file', help='Load headers from a file. Each line should contain a header in "Key: Value" format.')
579
540
  mutation_policy_remotePortFwd_createPolicyRevision_parser.set_defaults(func=createRequest,operation_name='mutation.policy.remotePortFwd.createPolicyRevision')
580
541
 
581
542
  mutation_policy_remotePortFwd_discardPolicyRevision_parser = mutation_policy_remotePortFwd_subparsers.add_parser('discardPolicyRevision',
582
543
  help='discardPolicyRevision() remotePortFwd operation',
583
544
  usage=get_help("mutation_policy_remotePortFwd_discardPolicyRevision"))
584
545
 
585
- mutation_policy_remotePortFwd_discardPolicyRevision_parser.add_argument('json', help='Variables in JSON format.')
546
+ mutation_policy_remotePortFwd_discardPolicyRevision_parser.add_argument('json', nargs='?', default='{}', help='Variables in JSON format (defaults to empty object if not provided).')
586
547
  mutation_policy_remotePortFwd_discardPolicyRevision_parser.add_argument('-accountID', help='Override the CATO_ACCOUNT_ID environment variable with this value.')
587
- mutation_policy_remotePortFwd_discardPolicyRevision_parser.add_argument('-t', const=True, default=False, nargs='?',
588
- help='Print test request preview without sending api call')
589
- mutation_policy_remotePortFwd_discardPolicyRevision_parser.add_argument('-v', const=True, default=False, nargs='?',
590
- help='Verbose output')
591
- mutation_policy_remotePortFwd_discardPolicyRevision_parser.add_argument('-p', const=True, default=False, nargs='?',
592
- help='Pretty print')
548
+ mutation_policy_remotePortFwd_discardPolicyRevision_parser.add_argument('-t', const=True, default=False, nargs='?', help='Print GraphQL query without sending API call')
549
+ mutation_policy_remotePortFwd_discardPolicyRevision_parser.add_argument('-v', const=True, default=False, nargs='?', help='Verbose output')
550
+ mutation_policy_remotePortFwd_discardPolicyRevision_parser.add_argument('-p', const=True, default=False, nargs='?', help='Pretty print')
551
+ mutation_policy_remotePortFwd_discardPolicyRevision_parser.add_argument('-H', '--header', action='append', dest='headers', help='Add custom headers in "Key: Value" format. Can be used multiple times.')
552
+ mutation_policy_remotePortFwd_discardPolicyRevision_parser.add_argument('--headers-file', dest='headers_file', help='Load headers from a file. Each line should contain a header in "Key: Value" format.')
593
553
  mutation_policy_remotePortFwd_discardPolicyRevision_parser.set_defaults(func=createRequest,operation_name='mutation.policy.remotePortFwd.discardPolicyRevision')
594
554
 
595
555
  mutation_policy_remotePortFwd_moveRule_parser = mutation_policy_remotePortFwd_subparsers.add_parser('moveRule',
596
556
  help='moveRule() remotePortFwd operation',
597
557
  usage=get_help("mutation_policy_remotePortFwd_moveRule"))
598
558
 
599
- mutation_policy_remotePortFwd_moveRule_parser.add_argument('json', help='Variables in JSON format.')
559
+ mutation_policy_remotePortFwd_moveRule_parser.add_argument('json', nargs='?', default='{}', help='Variables in JSON format (defaults to empty object if not provided).')
600
560
  mutation_policy_remotePortFwd_moveRule_parser.add_argument('-accountID', help='Override the CATO_ACCOUNT_ID environment variable with this value.')
601
- mutation_policy_remotePortFwd_moveRule_parser.add_argument('-t', const=True, default=False, nargs='?',
602
- help='Print test request preview without sending api call')
603
- mutation_policy_remotePortFwd_moveRule_parser.add_argument('-v', const=True, default=False, nargs='?',
604
- help='Verbose output')
605
- mutation_policy_remotePortFwd_moveRule_parser.add_argument('-p', const=True, default=False, nargs='?',
606
- help='Pretty print')
561
+ mutation_policy_remotePortFwd_moveRule_parser.add_argument('-t', const=True, default=False, nargs='?', help='Print GraphQL query without sending API call')
562
+ mutation_policy_remotePortFwd_moveRule_parser.add_argument('-v', const=True, default=False, nargs='?', help='Verbose output')
563
+ mutation_policy_remotePortFwd_moveRule_parser.add_argument('-p', const=True, default=False, nargs='?', help='Pretty print')
564
+ mutation_policy_remotePortFwd_moveRule_parser.add_argument('-H', '--header', action='append', dest='headers', help='Add custom headers in "Key: Value" format. Can be used multiple times.')
565
+ mutation_policy_remotePortFwd_moveRule_parser.add_argument('--headers-file', dest='headers_file', help='Load headers from a file. Each line should contain a header in "Key: Value" format.')
607
566
  mutation_policy_remotePortFwd_moveRule_parser.set_defaults(func=createRequest,operation_name='mutation.policy.remotePortFwd.moveRule')
608
567
 
609
568
  mutation_policy_remotePortFwd_moveSection_parser = mutation_policy_remotePortFwd_subparsers.add_parser('moveSection',
610
569
  help='moveSection() remotePortFwd operation',
611
570
  usage=get_help("mutation_policy_remotePortFwd_moveSection"))
612
571
 
613
- mutation_policy_remotePortFwd_moveSection_parser.add_argument('json', help='Variables in JSON format.')
572
+ mutation_policy_remotePortFwd_moveSection_parser.add_argument('json', nargs='?', default='{}', help='Variables in JSON format (defaults to empty object if not provided).')
614
573
  mutation_policy_remotePortFwd_moveSection_parser.add_argument('-accountID', help='Override the CATO_ACCOUNT_ID environment variable with this value.')
615
- mutation_policy_remotePortFwd_moveSection_parser.add_argument('-t', const=True, default=False, nargs='?',
616
- help='Print test request preview without sending api call')
617
- mutation_policy_remotePortFwd_moveSection_parser.add_argument('-v', const=True, default=False, nargs='?',
618
- help='Verbose output')
619
- mutation_policy_remotePortFwd_moveSection_parser.add_argument('-p', const=True, default=False, nargs='?',
620
- help='Pretty print')
574
+ mutation_policy_remotePortFwd_moveSection_parser.add_argument('-t', const=True, default=False, nargs='?', help='Print GraphQL query without sending API call')
575
+ mutation_policy_remotePortFwd_moveSection_parser.add_argument('-v', const=True, default=False, nargs='?', help='Verbose output')
576
+ mutation_policy_remotePortFwd_moveSection_parser.add_argument('-p', const=True, default=False, nargs='?', help='Pretty print')
577
+ mutation_policy_remotePortFwd_moveSection_parser.add_argument('-H', '--header', action='append', dest='headers', help='Add custom headers in "Key: Value" format. Can be used multiple times.')
578
+ mutation_policy_remotePortFwd_moveSection_parser.add_argument('--headers-file', dest='headers_file', help='Load headers from a file. Each line should contain a header in "Key: Value" format.')
621
579
  mutation_policy_remotePortFwd_moveSection_parser.set_defaults(func=createRequest,operation_name='mutation.policy.remotePortFwd.moveSection')
622
580
 
623
581
  mutation_policy_remotePortFwd_publishPolicyRevision_parser = mutation_policy_remotePortFwd_subparsers.add_parser('publishPolicyRevision',
624
582
  help='publishPolicyRevision() remotePortFwd operation',
625
583
  usage=get_help("mutation_policy_remotePortFwd_publishPolicyRevision"))
626
584
 
627
- mutation_policy_remotePortFwd_publishPolicyRevision_parser.add_argument('json', help='Variables in JSON format.')
585
+ mutation_policy_remotePortFwd_publishPolicyRevision_parser.add_argument('json', nargs='?', default='{}', help='Variables in JSON format (defaults to empty object if not provided).')
628
586
  mutation_policy_remotePortFwd_publishPolicyRevision_parser.add_argument('-accountID', help='Override the CATO_ACCOUNT_ID environment variable with this value.')
629
- mutation_policy_remotePortFwd_publishPolicyRevision_parser.add_argument('-t', const=True, default=False, nargs='?',
630
- help='Print test request preview without sending api call')
631
- mutation_policy_remotePortFwd_publishPolicyRevision_parser.add_argument('-v', const=True, default=False, nargs='?',
632
- help='Verbose output')
633
- mutation_policy_remotePortFwd_publishPolicyRevision_parser.add_argument('-p', const=True, default=False, nargs='?',
634
- help='Pretty print')
587
+ mutation_policy_remotePortFwd_publishPolicyRevision_parser.add_argument('-t', const=True, default=False, nargs='?', help='Print GraphQL query without sending API call')
588
+ mutation_policy_remotePortFwd_publishPolicyRevision_parser.add_argument('-v', const=True, default=False, nargs='?', help='Verbose output')
589
+ mutation_policy_remotePortFwd_publishPolicyRevision_parser.add_argument('-p', const=True, default=False, nargs='?', help='Pretty print')
590
+ mutation_policy_remotePortFwd_publishPolicyRevision_parser.add_argument('-H', '--header', action='append', dest='headers', help='Add custom headers in "Key: Value" format. Can be used multiple times.')
591
+ mutation_policy_remotePortFwd_publishPolicyRevision_parser.add_argument('--headers-file', dest='headers_file', help='Load headers from a file. Each line should contain a header in "Key: Value" format.')
635
592
  mutation_policy_remotePortFwd_publishPolicyRevision_parser.set_defaults(func=createRequest,operation_name='mutation.policy.remotePortFwd.publishPolicyRevision')
636
593
 
637
594
  mutation_policy_remotePortFwd_removeRule_parser = mutation_policy_remotePortFwd_subparsers.add_parser('removeRule',
638
595
  help='removeRule() remotePortFwd operation',
639
596
  usage=get_help("mutation_policy_remotePortFwd_removeRule"))
640
597
 
641
- mutation_policy_remotePortFwd_removeRule_parser.add_argument('json', help='Variables in JSON format.')
598
+ mutation_policy_remotePortFwd_removeRule_parser.add_argument('json', nargs='?', default='{}', help='Variables in JSON format (defaults to empty object if not provided).')
642
599
  mutation_policy_remotePortFwd_removeRule_parser.add_argument('-accountID', help='Override the CATO_ACCOUNT_ID environment variable with this value.')
643
- mutation_policy_remotePortFwd_removeRule_parser.add_argument('-t', const=True, default=False, nargs='?',
644
- help='Print test request preview without sending api call')
645
- mutation_policy_remotePortFwd_removeRule_parser.add_argument('-v', const=True, default=False, nargs='?',
646
- help='Verbose output')
647
- mutation_policy_remotePortFwd_removeRule_parser.add_argument('-p', const=True, default=False, nargs='?',
648
- help='Pretty print')
600
+ mutation_policy_remotePortFwd_removeRule_parser.add_argument('-t', const=True, default=False, nargs='?', help='Print GraphQL query without sending API call')
601
+ mutation_policy_remotePortFwd_removeRule_parser.add_argument('-v', const=True, default=False, nargs='?', help='Verbose output')
602
+ mutation_policy_remotePortFwd_removeRule_parser.add_argument('-p', const=True, default=False, nargs='?', help='Pretty print')
603
+ mutation_policy_remotePortFwd_removeRule_parser.add_argument('-H', '--header', action='append', dest='headers', help='Add custom headers in "Key: Value" format. Can be used multiple times.')
604
+ mutation_policy_remotePortFwd_removeRule_parser.add_argument('--headers-file', dest='headers_file', help='Load headers from a file. Each line should contain a header in "Key: Value" format.')
649
605
  mutation_policy_remotePortFwd_removeRule_parser.set_defaults(func=createRequest,operation_name='mutation.policy.remotePortFwd.removeRule')
650
606
 
651
607
  mutation_policy_remotePortFwd_removeSection_parser = mutation_policy_remotePortFwd_subparsers.add_parser('removeSection',
652
608
  help='removeSection() remotePortFwd operation',
653
609
  usage=get_help("mutation_policy_remotePortFwd_removeSection"))
654
610
 
655
- mutation_policy_remotePortFwd_removeSection_parser.add_argument('json', help='Variables in JSON format.')
611
+ mutation_policy_remotePortFwd_removeSection_parser.add_argument('json', nargs='?', default='{}', help='Variables in JSON format (defaults to empty object if not provided).')
656
612
  mutation_policy_remotePortFwd_removeSection_parser.add_argument('-accountID', help='Override the CATO_ACCOUNT_ID environment variable with this value.')
657
- mutation_policy_remotePortFwd_removeSection_parser.add_argument('-t', const=True, default=False, nargs='?',
658
- help='Print test request preview without sending api call')
659
- mutation_policy_remotePortFwd_removeSection_parser.add_argument('-v', const=True, default=False, nargs='?',
660
- help='Verbose output')
661
- mutation_policy_remotePortFwd_removeSection_parser.add_argument('-p', const=True, default=False, nargs='?',
662
- help='Pretty print')
613
+ mutation_policy_remotePortFwd_removeSection_parser.add_argument('-t', const=True, default=False, nargs='?', help='Print GraphQL query without sending API call')
614
+ mutation_policy_remotePortFwd_removeSection_parser.add_argument('-v', const=True, default=False, nargs='?', help='Verbose output')
615
+ mutation_policy_remotePortFwd_removeSection_parser.add_argument('-p', const=True, default=False, nargs='?', help='Pretty print')
616
+ mutation_policy_remotePortFwd_removeSection_parser.add_argument('-H', '--header', action='append', dest='headers', help='Add custom headers in "Key: Value" format. Can be used multiple times.')
617
+ mutation_policy_remotePortFwd_removeSection_parser.add_argument('--headers-file', dest='headers_file', help='Load headers from a file. Each line should contain a header in "Key: Value" format.')
663
618
  mutation_policy_remotePortFwd_removeSection_parser.set_defaults(func=createRequest,operation_name='mutation.policy.remotePortFwd.removeSection')
664
619
 
665
620
  mutation_policy_remotePortFwd_updatePolicy_parser = mutation_policy_remotePortFwd_subparsers.add_parser('updatePolicy',
666
621
  help='updatePolicy() remotePortFwd operation',
667
622
  usage=get_help("mutation_policy_remotePortFwd_updatePolicy"))
668
623
 
669
- mutation_policy_remotePortFwd_updatePolicy_parser.add_argument('json', help='Variables in JSON format.')
624
+ mutation_policy_remotePortFwd_updatePolicy_parser.add_argument('json', nargs='?', default='{}', help='Variables in JSON format (defaults to empty object if not provided).')
670
625
  mutation_policy_remotePortFwd_updatePolicy_parser.add_argument('-accountID', help='Override the CATO_ACCOUNT_ID environment variable with this value.')
671
- mutation_policy_remotePortFwd_updatePolicy_parser.add_argument('-t', const=True, default=False, nargs='?',
672
- help='Print test request preview without sending api call')
673
- mutation_policy_remotePortFwd_updatePolicy_parser.add_argument('-v', const=True, default=False, nargs='?',
674
- help='Verbose output')
675
- mutation_policy_remotePortFwd_updatePolicy_parser.add_argument('-p', const=True, default=False, nargs='?',
676
- help='Pretty print')
626
+ mutation_policy_remotePortFwd_updatePolicy_parser.add_argument('-t', const=True, default=False, nargs='?', help='Print GraphQL query without sending API call')
627
+ mutation_policy_remotePortFwd_updatePolicy_parser.add_argument('-v', const=True, default=False, nargs='?', help='Verbose output')
628
+ mutation_policy_remotePortFwd_updatePolicy_parser.add_argument('-p', const=True, default=False, nargs='?', help='Pretty print')
629
+ mutation_policy_remotePortFwd_updatePolicy_parser.add_argument('-H', '--header', action='append', dest='headers', help='Add custom headers in "Key: Value" format. Can be used multiple times.')
630
+ mutation_policy_remotePortFwd_updatePolicy_parser.add_argument('--headers-file', dest='headers_file', help='Load headers from a file. Each line should contain a header in "Key: Value" format.')
677
631
  mutation_policy_remotePortFwd_updatePolicy_parser.set_defaults(func=createRequest,operation_name='mutation.policy.remotePortFwd.updatePolicy')
678
632
 
679
633
  mutation_policy_remotePortFwd_updateRule_parser = mutation_policy_remotePortFwd_subparsers.add_parser('updateRule',
680
634
  help='updateRule() remotePortFwd operation',
681
635
  usage=get_help("mutation_policy_remotePortFwd_updateRule"))
682
636
 
683
- mutation_policy_remotePortFwd_updateRule_parser.add_argument('json', help='Variables in JSON format.')
637
+ mutation_policy_remotePortFwd_updateRule_parser.add_argument('json', nargs='?', default='{}', help='Variables in JSON format (defaults to empty object if not provided).')
684
638
  mutation_policy_remotePortFwd_updateRule_parser.add_argument('-accountID', help='Override the CATO_ACCOUNT_ID environment variable with this value.')
685
- mutation_policy_remotePortFwd_updateRule_parser.add_argument('-t', const=True, default=False, nargs='?',
686
- help='Print test request preview without sending api call')
687
- mutation_policy_remotePortFwd_updateRule_parser.add_argument('-v', const=True, default=False, nargs='?',
688
- help='Verbose output')
689
- mutation_policy_remotePortFwd_updateRule_parser.add_argument('-p', const=True, default=False, nargs='?',
690
- help='Pretty print')
639
+ mutation_policy_remotePortFwd_updateRule_parser.add_argument('-t', const=True, default=False, nargs='?', help='Print GraphQL query without sending API call')
640
+ mutation_policy_remotePortFwd_updateRule_parser.add_argument('-v', const=True, default=False, nargs='?', help='Verbose output')
641
+ mutation_policy_remotePortFwd_updateRule_parser.add_argument('-p', const=True, default=False, nargs='?', help='Pretty print')
642
+ mutation_policy_remotePortFwd_updateRule_parser.add_argument('-H', '--header', action='append', dest='headers', help='Add custom headers in "Key: Value" format. Can be used multiple times.')
643
+ mutation_policy_remotePortFwd_updateRule_parser.add_argument('--headers-file', dest='headers_file', help='Load headers from a file. Each line should contain a header in "Key: Value" format.')
691
644
  mutation_policy_remotePortFwd_updateRule_parser.set_defaults(func=createRequest,operation_name='mutation.policy.remotePortFwd.updateRule')
692
645
 
693
646
  mutation_policy_remotePortFwd_updateSection_parser = mutation_policy_remotePortFwd_subparsers.add_parser('updateSection',
694
647
  help='updateSection() remotePortFwd operation',
695
648
  usage=get_help("mutation_policy_remotePortFwd_updateSection"))
696
649
 
697
- mutation_policy_remotePortFwd_updateSection_parser.add_argument('json', help='Variables in JSON format.')
650
+ mutation_policy_remotePortFwd_updateSection_parser.add_argument('json', nargs='?', default='{}', help='Variables in JSON format (defaults to empty object if not provided).')
698
651
  mutation_policy_remotePortFwd_updateSection_parser.add_argument('-accountID', help='Override the CATO_ACCOUNT_ID environment variable with this value.')
699
- mutation_policy_remotePortFwd_updateSection_parser.add_argument('-t', const=True, default=False, nargs='?',
700
- help='Print test request preview without sending api call')
701
- mutation_policy_remotePortFwd_updateSection_parser.add_argument('-v', const=True, default=False, nargs='?',
702
- help='Verbose output')
703
- mutation_policy_remotePortFwd_updateSection_parser.add_argument('-p', const=True, default=False, nargs='?',
704
- help='Pretty print')
652
+ mutation_policy_remotePortFwd_updateSection_parser.add_argument('-t', const=True, default=False, nargs='?', help='Print GraphQL query without sending API call')
653
+ mutation_policy_remotePortFwd_updateSection_parser.add_argument('-v', const=True, default=False, nargs='?', help='Verbose output')
654
+ mutation_policy_remotePortFwd_updateSection_parser.add_argument('-p', const=True, default=False, nargs='?', help='Pretty print')
655
+ mutation_policy_remotePortFwd_updateSection_parser.add_argument('-H', '--header', action='append', dest='headers', help='Add custom headers in "Key: Value" format. Can be used multiple times.')
656
+ mutation_policy_remotePortFwd_updateSection_parser.add_argument('--headers-file', dest='headers_file', help='Load headers from a file. Each line should contain a header in "Key: Value" format.')
705
657
  mutation_policy_remotePortFwd_updateSection_parser.set_defaults(func=createRequest,operation_name='mutation.policy.remotePortFwd.updateSection')
706
658
 
707
659
  mutation_policy_socketLan_parser = mutation_policy_subparsers.add_parser('socketLan',
@@ -714,170 +666,320 @@ def mutation_policy_parse(mutation_subparsers):
714
666
  help='addRule() socketLan operation',
715
667
  usage=get_help("mutation_policy_socketLan_addRule"))
716
668
 
717
- mutation_policy_socketLan_addRule_parser.add_argument('json', help='Variables in JSON format.')
669
+ mutation_policy_socketLan_addRule_parser.add_argument('json', nargs='?', default='{}', help='Variables in JSON format (defaults to empty object if not provided).')
718
670
  mutation_policy_socketLan_addRule_parser.add_argument('-accountID', help='Override the CATO_ACCOUNT_ID environment variable with this value.')
719
- mutation_policy_socketLan_addRule_parser.add_argument('-t', const=True, default=False, nargs='?',
720
- help='Print test request preview without sending api call')
721
- mutation_policy_socketLan_addRule_parser.add_argument('-v', const=True, default=False, nargs='?',
722
- help='Verbose output')
723
- mutation_policy_socketLan_addRule_parser.add_argument('-p', const=True, default=False, nargs='?',
724
- help='Pretty print')
671
+ mutation_policy_socketLan_addRule_parser.add_argument('-t', const=True, default=False, nargs='?', help='Print GraphQL query without sending API call')
672
+ mutation_policy_socketLan_addRule_parser.add_argument('-v', const=True, default=False, nargs='?', help='Verbose output')
673
+ mutation_policy_socketLan_addRule_parser.add_argument('-p', const=True, default=False, nargs='?', help='Pretty print')
674
+ mutation_policy_socketLan_addRule_parser.add_argument('-H', '--header', action='append', dest='headers', help='Add custom headers in "Key: Value" format. Can be used multiple times.')
675
+ mutation_policy_socketLan_addRule_parser.add_argument('--headers-file', dest='headers_file', help='Load headers from a file. Each line should contain a header in "Key: Value" format.')
725
676
  mutation_policy_socketLan_addRule_parser.set_defaults(func=createRequest,operation_name='mutation.policy.socketLan.addRule')
726
677
 
727
678
  mutation_policy_socketLan_addSection_parser = mutation_policy_socketLan_subparsers.add_parser('addSection',
728
679
  help='addSection() socketLan operation',
729
680
  usage=get_help("mutation_policy_socketLan_addSection"))
730
681
 
731
- mutation_policy_socketLan_addSection_parser.add_argument('json', help='Variables in JSON format.')
682
+ mutation_policy_socketLan_addSection_parser.add_argument('json', nargs='?', default='{}', help='Variables in JSON format (defaults to empty object if not provided).')
732
683
  mutation_policy_socketLan_addSection_parser.add_argument('-accountID', help='Override the CATO_ACCOUNT_ID environment variable with this value.')
733
- mutation_policy_socketLan_addSection_parser.add_argument('-t', const=True, default=False, nargs='?',
734
- help='Print test request preview without sending api call')
735
- mutation_policy_socketLan_addSection_parser.add_argument('-v', const=True, default=False, nargs='?',
736
- help='Verbose output')
737
- mutation_policy_socketLan_addSection_parser.add_argument('-p', const=True, default=False, nargs='?',
738
- help='Pretty print')
684
+ mutation_policy_socketLan_addSection_parser.add_argument('-t', const=True, default=False, nargs='?', help='Print GraphQL query without sending API call')
685
+ mutation_policy_socketLan_addSection_parser.add_argument('-v', const=True, default=False, nargs='?', help='Verbose output')
686
+ mutation_policy_socketLan_addSection_parser.add_argument('-p', const=True, default=False, nargs='?', help='Pretty print')
687
+ mutation_policy_socketLan_addSection_parser.add_argument('-H', '--header', action='append', dest='headers', help='Add custom headers in "Key: Value" format. Can be used multiple times.')
688
+ mutation_policy_socketLan_addSection_parser.add_argument('--headers-file', dest='headers_file', help='Load headers from a file. Each line should contain a header in "Key: Value" format.')
739
689
  mutation_policy_socketLan_addSection_parser.set_defaults(func=createRequest,operation_name='mutation.policy.socketLan.addSection')
740
690
 
741
691
  mutation_policy_socketLan_createPolicyRevision_parser = mutation_policy_socketLan_subparsers.add_parser('createPolicyRevision',
742
692
  help='createPolicyRevision() socketLan operation',
743
693
  usage=get_help("mutation_policy_socketLan_createPolicyRevision"))
744
694
 
745
- mutation_policy_socketLan_createPolicyRevision_parser.add_argument('json', help='Variables in JSON format.')
695
+ mutation_policy_socketLan_createPolicyRevision_parser.add_argument('json', nargs='?', default='{}', help='Variables in JSON format (defaults to empty object if not provided).')
746
696
  mutation_policy_socketLan_createPolicyRevision_parser.add_argument('-accountID', help='Override the CATO_ACCOUNT_ID environment variable with this value.')
747
- mutation_policy_socketLan_createPolicyRevision_parser.add_argument('-t', const=True, default=False, nargs='?',
748
- help='Print test request preview without sending api call')
749
- mutation_policy_socketLan_createPolicyRevision_parser.add_argument('-v', const=True, default=False, nargs='?',
750
- help='Verbose output')
751
- mutation_policy_socketLan_createPolicyRevision_parser.add_argument('-p', const=True, default=False, nargs='?',
752
- help='Pretty print')
697
+ mutation_policy_socketLan_createPolicyRevision_parser.add_argument('-t', const=True, default=False, nargs='?', help='Print GraphQL query without sending API call')
698
+ mutation_policy_socketLan_createPolicyRevision_parser.add_argument('-v', const=True, default=False, nargs='?', help='Verbose output')
699
+ mutation_policy_socketLan_createPolicyRevision_parser.add_argument('-p', const=True, default=False, nargs='?', help='Pretty print')
700
+ mutation_policy_socketLan_createPolicyRevision_parser.add_argument('-H', '--header', action='append', dest='headers', help='Add custom headers in "Key: Value" format. Can be used multiple times.')
701
+ mutation_policy_socketLan_createPolicyRevision_parser.add_argument('--headers-file', dest='headers_file', help='Load headers from a file. Each line should contain a header in "Key: Value" format.')
753
702
  mutation_policy_socketLan_createPolicyRevision_parser.set_defaults(func=createRequest,operation_name='mutation.policy.socketLan.createPolicyRevision')
754
703
 
755
704
  mutation_policy_socketLan_discardPolicyRevision_parser = mutation_policy_socketLan_subparsers.add_parser('discardPolicyRevision',
756
705
  help='discardPolicyRevision() socketLan operation',
757
706
  usage=get_help("mutation_policy_socketLan_discardPolicyRevision"))
758
707
 
759
- mutation_policy_socketLan_discardPolicyRevision_parser.add_argument('json', help='Variables in JSON format.')
708
+ mutation_policy_socketLan_discardPolicyRevision_parser.add_argument('json', nargs='?', default='{}', help='Variables in JSON format (defaults to empty object if not provided).')
760
709
  mutation_policy_socketLan_discardPolicyRevision_parser.add_argument('-accountID', help='Override the CATO_ACCOUNT_ID environment variable with this value.')
761
- mutation_policy_socketLan_discardPolicyRevision_parser.add_argument('-t', const=True, default=False, nargs='?',
762
- help='Print test request preview without sending api call')
763
- mutation_policy_socketLan_discardPolicyRevision_parser.add_argument('-v', const=True, default=False, nargs='?',
764
- help='Verbose output')
765
- mutation_policy_socketLan_discardPolicyRevision_parser.add_argument('-p', const=True, default=False, nargs='?',
766
- help='Pretty print')
710
+ mutation_policy_socketLan_discardPolicyRevision_parser.add_argument('-t', const=True, default=False, nargs='?', help='Print GraphQL query without sending API call')
711
+ mutation_policy_socketLan_discardPolicyRevision_parser.add_argument('-v', const=True, default=False, nargs='?', help='Verbose output')
712
+ mutation_policy_socketLan_discardPolicyRevision_parser.add_argument('-p', const=True, default=False, nargs='?', help='Pretty print')
713
+ mutation_policy_socketLan_discardPolicyRevision_parser.add_argument('-H', '--header', action='append', dest='headers', help='Add custom headers in "Key: Value" format. Can be used multiple times.')
714
+ mutation_policy_socketLan_discardPolicyRevision_parser.add_argument('--headers-file', dest='headers_file', help='Load headers from a file. Each line should contain a header in "Key: Value" format.')
767
715
  mutation_policy_socketLan_discardPolicyRevision_parser.set_defaults(func=createRequest,operation_name='mutation.policy.socketLan.discardPolicyRevision')
768
716
 
769
717
  mutation_policy_socketLan_moveRule_parser = mutation_policy_socketLan_subparsers.add_parser('moveRule',
770
718
  help='moveRule() socketLan operation',
771
719
  usage=get_help("mutation_policy_socketLan_moveRule"))
772
720
 
773
- mutation_policy_socketLan_moveRule_parser.add_argument('json', help='Variables in JSON format.')
721
+ mutation_policy_socketLan_moveRule_parser.add_argument('json', nargs='?', default='{}', help='Variables in JSON format (defaults to empty object if not provided).')
774
722
  mutation_policy_socketLan_moveRule_parser.add_argument('-accountID', help='Override the CATO_ACCOUNT_ID environment variable with this value.')
775
- mutation_policy_socketLan_moveRule_parser.add_argument('-t', const=True, default=False, nargs='?',
776
- help='Print test request preview without sending api call')
777
- mutation_policy_socketLan_moveRule_parser.add_argument('-v', const=True, default=False, nargs='?',
778
- help='Verbose output')
779
- mutation_policy_socketLan_moveRule_parser.add_argument('-p', const=True, default=False, nargs='?',
780
- help='Pretty print')
723
+ mutation_policy_socketLan_moveRule_parser.add_argument('-t', const=True, default=False, nargs='?', help='Print GraphQL query without sending API call')
724
+ mutation_policy_socketLan_moveRule_parser.add_argument('-v', const=True, default=False, nargs='?', help='Verbose output')
725
+ mutation_policy_socketLan_moveRule_parser.add_argument('-p', const=True, default=False, nargs='?', help='Pretty print')
726
+ mutation_policy_socketLan_moveRule_parser.add_argument('-H', '--header', action='append', dest='headers', help='Add custom headers in "Key: Value" format. Can be used multiple times.')
727
+ mutation_policy_socketLan_moveRule_parser.add_argument('--headers-file', dest='headers_file', help='Load headers from a file. Each line should contain a header in "Key: Value" format.')
781
728
  mutation_policy_socketLan_moveRule_parser.set_defaults(func=createRequest,operation_name='mutation.policy.socketLan.moveRule')
782
729
 
783
730
  mutation_policy_socketLan_moveSection_parser = mutation_policy_socketLan_subparsers.add_parser('moveSection',
784
731
  help='moveSection() socketLan operation',
785
732
  usage=get_help("mutation_policy_socketLan_moveSection"))
786
733
 
787
- mutation_policy_socketLan_moveSection_parser.add_argument('json', help='Variables in JSON format.')
734
+ mutation_policy_socketLan_moveSection_parser.add_argument('json', nargs='?', default='{}', help='Variables in JSON format (defaults to empty object if not provided).')
788
735
  mutation_policy_socketLan_moveSection_parser.add_argument('-accountID', help='Override the CATO_ACCOUNT_ID environment variable with this value.')
789
- mutation_policy_socketLan_moveSection_parser.add_argument('-t', const=True, default=False, nargs='?',
790
- help='Print test request preview without sending api call')
791
- mutation_policy_socketLan_moveSection_parser.add_argument('-v', const=True, default=False, nargs='?',
792
- help='Verbose output')
793
- mutation_policy_socketLan_moveSection_parser.add_argument('-p', const=True, default=False, nargs='?',
794
- help='Pretty print')
736
+ mutation_policy_socketLan_moveSection_parser.add_argument('-t', const=True, default=False, nargs='?', help='Print GraphQL query without sending API call')
737
+ mutation_policy_socketLan_moveSection_parser.add_argument('-v', const=True, default=False, nargs='?', help='Verbose output')
738
+ mutation_policy_socketLan_moveSection_parser.add_argument('-p', const=True, default=False, nargs='?', help='Pretty print')
739
+ mutation_policy_socketLan_moveSection_parser.add_argument('-H', '--header', action='append', dest='headers', help='Add custom headers in "Key: Value" format. Can be used multiple times.')
740
+ mutation_policy_socketLan_moveSection_parser.add_argument('--headers-file', dest='headers_file', help='Load headers from a file. Each line should contain a header in "Key: Value" format.')
795
741
  mutation_policy_socketLan_moveSection_parser.set_defaults(func=createRequest,operation_name='mutation.policy.socketLan.moveSection')
796
742
 
797
743
  mutation_policy_socketLan_publishPolicyRevision_parser = mutation_policy_socketLan_subparsers.add_parser('publishPolicyRevision',
798
744
  help='publishPolicyRevision() socketLan operation',
799
745
  usage=get_help("mutation_policy_socketLan_publishPolicyRevision"))
800
746
 
801
- mutation_policy_socketLan_publishPolicyRevision_parser.add_argument('json', help='Variables in JSON format.')
747
+ mutation_policy_socketLan_publishPolicyRevision_parser.add_argument('json', nargs='?', default='{}', help='Variables in JSON format (defaults to empty object if not provided).')
802
748
  mutation_policy_socketLan_publishPolicyRevision_parser.add_argument('-accountID', help='Override the CATO_ACCOUNT_ID environment variable with this value.')
803
- mutation_policy_socketLan_publishPolicyRevision_parser.add_argument('-t', const=True, default=False, nargs='?',
804
- help='Print test request preview without sending api call')
805
- mutation_policy_socketLan_publishPolicyRevision_parser.add_argument('-v', const=True, default=False, nargs='?',
806
- help='Verbose output')
807
- mutation_policy_socketLan_publishPolicyRevision_parser.add_argument('-p', const=True, default=False, nargs='?',
808
- help='Pretty print')
749
+ mutation_policy_socketLan_publishPolicyRevision_parser.add_argument('-t', const=True, default=False, nargs='?', help='Print GraphQL query without sending API call')
750
+ mutation_policy_socketLan_publishPolicyRevision_parser.add_argument('-v', const=True, default=False, nargs='?', help='Verbose output')
751
+ mutation_policy_socketLan_publishPolicyRevision_parser.add_argument('-p', const=True, default=False, nargs='?', help='Pretty print')
752
+ mutation_policy_socketLan_publishPolicyRevision_parser.add_argument('-H', '--header', action='append', dest='headers', help='Add custom headers in "Key: Value" format. Can be used multiple times.')
753
+ mutation_policy_socketLan_publishPolicyRevision_parser.add_argument('--headers-file', dest='headers_file', help='Load headers from a file. Each line should contain a header in "Key: Value" format.')
809
754
  mutation_policy_socketLan_publishPolicyRevision_parser.set_defaults(func=createRequest,operation_name='mutation.policy.socketLan.publishPolicyRevision')
810
755
 
811
756
  mutation_policy_socketLan_removeRule_parser = mutation_policy_socketLan_subparsers.add_parser('removeRule',
812
757
  help='removeRule() socketLan operation',
813
758
  usage=get_help("mutation_policy_socketLan_removeRule"))
814
759
 
815
- mutation_policy_socketLan_removeRule_parser.add_argument('json', help='Variables in JSON format.')
760
+ mutation_policy_socketLan_removeRule_parser.add_argument('json', nargs='?', default='{}', help='Variables in JSON format (defaults to empty object if not provided).')
816
761
  mutation_policy_socketLan_removeRule_parser.add_argument('-accountID', help='Override the CATO_ACCOUNT_ID environment variable with this value.')
817
- mutation_policy_socketLan_removeRule_parser.add_argument('-t', const=True, default=False, nargs='?',
818
- help='Print test request preview without sending api call')
819
- mutation_policy_socketLan_removeRule_parser.add_argument('-v', const=True, default=False, nargs='?',
820
- help='Verbose output')
821
- mutation_policy_socketLan_removeRule_parser.add_argument('-p', const=True, default=False, nargs='?',
822
- help='Pretty print')
762
+ mutation_policy_socketLan_removeRule_parser.add_argument('-t', const=True, default=False, nargs='?', help='Print GraphQL query without sending API call')
763
+ mutation_policy_socketLan_removeRule_parser.add_argument('-v', const=True, default=False, nargs='?', help='Verbose output')
764
+ mutation_policy_socketLan_removeRule_parser.add_argument('-p', const=True, default=False, nargs='?', help='Pretty print')
765
+ mutation_policy_socketLan_removeRule_parser.add_argument('-H', '--header', action='append', dest='headers', help='Add custom headers in "Key: Value" format. Can be used multiple times.')
766
+ mutation_policy_socketLan_removeRule_parser.add_argument('--headers-file', dest='headers_file', help='Load headers from a file. Each line should contain a header in "Key: Value" format.')
823
767
  mutation_policy_socketLan_removeRule_parser.set_defaults(func=createRequest,operation_name='mutation.policy.socketLan.removeRule')
824
768
 
825
769
  mutation_policy_socketLan_removeSection_parser = mutation_policy_socketLan_subparsers.add_parser('removeSection',
826
770
  help='removeSection() socketLan operation',
827
771
  usage=get_help("mutation_policy_socketLan_removeSection"))
828
772
 
829
- mutation_policy_socketLan_removeSection_parser.add_argument('json', help='Variables in JSON format.')
773
+ mutation_policy_socketLan_removeSection_parser.add_argument('json', nargs='?', default='{}', help='Variables in JSON format (defaults to empty object if not provided).')
830
774
  mutation_policy_socketLan_removeSection_parser.add_argument('-accountID', help='Override the CATO_ACCOUNT_ID environment variable with this value.')
831
- mutation_policy_socketLan_removeSection_parser.add_argument('-t', const=True, default=False, nargs='?',
832
- help='Print test request preview without sending api call')
833
- mutation_policy_socketLan_removeSection_parser.add_argument('-v', const=True, default=False, nargs='?',
834
- help='Verbose output')
835
- mutation_policy_socketLan_removeSection_parser.add_argument('-p', const=True, default=False, nargs='?',
836
- help='Pretty print')
775
+ mutation_policy_socketLan_removeSection_parser.add_argument('-t', const=True, default=False, nargs='?', help='Print GraphQL query without sending API call')
776
+ mutation_policy_socketLan_removeSection_parser.add_argument('-v', const=True, default=False, nargs='?', help='Verbose output')
777
+ mutation_policy_socketLan_removeSection_parser.add_argument('-p', const=True, default=False, nargs='?', help='Pretty print')
778
+ mutation_policy_socketLan_removeSection_parser.add_argument('-H', '--header', action='append', dest='headers', help='Add custom headers in "Key: Value" format. Can be used multiple times.')
779
+ mutation_policy_socketLan_removeSection_parser.add_argument('--headers-file', dest='headers_file', help='Load headers from a file. Each line should contain a header in "Key: Value" format.')
837
780
  mutation_policy_socketLan_removeSection_parser.set_defaults(func=createRequest,operation_name='mutation.policy.socketLan.removeSection')
838
781
 
839
782
  mutation_policy_socketLan_updatePolicy_parser = mutation_policy_socketLan_subparsers.add_parser('updatePolicy',
840
783
  help='updatePolicy() socketLan operation',
841
784
  usage=get_help("mutation_policy_socketLan_updatePolicy"))
842
785
 
843
- mutation_policy_socketLan_updatePolicy_parser.add_argument('json', help='Variables in JSON format.')
786
+ mutation_policy_socketLan_updatePolicy_parser.add_argument('json', nargs='?', default='{}', help='Variables in JSON format (defaults to empty object if not provided).')
844
787
  mutation_policy_socketLan_updatePolicy_parser.add_argument('-accountID', help='Override the CATO_ACCOUNT_ID environment variable with this value.')
845
- mutation_policy_socketLan_updatePolicy_parser.add_argument('-t', const=True, default=False, nargs='?',
846
- help='Print test request preview without sending api call')
847
- mutation_policy_socketLan_updatePolicy_parser.add_argument('-v', const=True, default=False, nargs='?',
848
- help='Verbose output')
849
- mutation_policy_socketLan_updatePolicy_parser.add_argument('-p', const=True, default=False, nargs='?',
850
- help='Pretty print')
788
+ mutation_policy_socketLan_updatePolicy_parser.add_argument('-t', const=True, default=False, nargs='?', help='Print GraphQL query without sending API call')
789
+ mutation_policy_socketLan_updatePolicy_parser.add_argument('-v', const=True, default=False, nargs='?', help='Verbose output')
790
+ mutation_policy_socketLan_updatePolicy_parser.add_argument('-p', const=True, default=False, nargs='?', help='Pretty print')
791
+ mutation_policy_socketLan_updatePolicy_parser.add_argument('-H', '--header', action='append', dest='headers', help='Add custom headers in "Key: Value" format. Can be used multiple times.')
792
+ mutation_policy_socketLan_updatePolicy_parser.add_argument('--headers-file', dest='headers_file', help='Load headers from a file. Each line should contain a header in "Key: Value" format.')
851
793
  mutation_policy_socketLan_updatePolicy_parser.set_defaults(func=createRequest,operation_name='mutation.policy.socketLan.updatePolicy')
852
794
 
853
795
  mutation_policy_socketLan_updateRule_parser = mutation_policy_socketLan_subparsers.add_parser('updateRule',
854
796
  help='updateRule() socketLan operation',
855
797
  usage=get_help("mutation_policy_socketLan_updateRule"))
856
798
 
857
- mutation_policy_socketLan_updateRule_parser.add_argument('json', help='Variables in JSON format.')
799
+ mutation_policy_socketLan_updateRule_parser.add_argument('json', nargs='?', default='{}', help='Variables in JSON format (defaults to empty object if not provided).')
858
800
  mutation_policy_socketLan_updateRule_parser.add_argument('-accountID', help='Override the CATO_ACCOUNT_ID environment variable with this value.')
859
- mutation_policy_socketLan_updateRule_parser.add_argument('-t', const=True, default=False, nargs='?',
860
- help='Print test request preview without sending api call')
861
- mutation_policy_socketLan_updateRule_parser.add_argument('-v', const=True, default=False, nargs='?',
862
- help='Verbose output')
863
- mutation_policy_socketLan_updateRule_parser.add_argument('-p', const=True, default=False, nargs='?',
864
- help='Pretty print')
801
+ mutation_policy_socketLan_updateRule_parser.add_argument('-t', const=True, default=False, nargs='?', help='Print GraphQL query without sending API call')
802
+ mutation_policy_socketLan_updateRule_parser.add_argument('-v', const=True, default=False, nargs='?', help='Verbose output')
803
+ mutation_policy_socketLan_updateRule_parser.add_argument('-p', const=True, default=False, nargs='?', help='Pretty print')
804
+ mutation_policy_socketLan_updateRule_parser.add_argument('-H', '--header', action='append', dest='headers', help='Add custom headers in "Key: Value" format. Can be used multiple times.')
805
+ mutation_policy_socketLan_updateRule_parser.add_argument('--headers-file', dest='headers_file', help='Load headers from a file. Each line should contain a header in "Key: Value" format.')
865
806
  mutation_policy_socketLan_updateRule_parser.set_defaults(func=createRequest,operation_name='mutation.policy.socketLan.updateRule')
866
807
 
867
808
  mutation_policy_socketLan_updateSection_parser = mutation_policy_socketLan_subparsers.add_parser('updateSection',
868
809
  help='updateSection() socketLan operation',
869
810
  usage=get_help("mutation_policy_socketLan_updateSection"))
870
811
 
871
- mutation_policy_socketLan_updateSection_parser.add_argument('json', help='Variables in JSON format.')
812
+ mutation_policy_socketLan_updateSection_parser.add_argument('json', nargs='?', default='{}', help='Variables in JSON format (defaults to empty object if not provided).')
872
813
  mutation_policy_socketLan_updateSection_parser.add_argument('-accountID', help='Override the CATO_ACCOUNT_ID environment variable with this value.')
873
- mutation_policy_socketLan_updateSection_parser.add_argument('-t', const=True, default=False, nargs='?',
874
- help='Print test request preview without sending api call')
875
- mutation_policy_socketLan_updateSection_parser.add_argument('-v', const=True, default=False, nargs='?',
876
- help='Verbose output')
877
- mutation_policy_socketLan_updateSection_parser.add_argument('-p', const=True, default=False, nargs='?',
878
- help='Pretty print')
814
+ mutation_policy_socketLan_updateSection_parser.add_argument('-t', const=True, default=False, nargs='?', help='Print GraphQL query without sending API call')
815
+ mutation_policy_socketLan_updateSection_parser.add_argument('-v', const=True, default=False, nargs='?', help='Verbose output')
816
+ mutation_policy_socketLan_updateSection_parser.add_argument('-p', const=True, default=False, nargs='?', help='Pretty print')
817
+ mutation_policy_socketLan_updateSection_parser.add_argument('-H', '--header', action='append', dest='headers', help='Add custom headers in "Key: Value" format. Can be used multiple times.')
818
+ mutation_policy_socketLan_updateSection_parser.add_argument('--headers-file', dest='headers_file', help='Load headers from a file. Each line should contain a header in "Key: Value" format.')
879
819
  mutation_policy_socketLan_updateSection_parser.set_defaults(func=createRequest,operation_name='mutation.policy.socketLan.updateSection')
880
820
 
821
+ mutation_policy_terminalServer_parser = mutation_policy_subparsers.add_parser('terminalServer',
822
+ help='terminalServer() policy operation',
823
+ usage=get_help("mutation_policy_terminalServer"))
824
+
825
+ mutation_policy_terminalServer_subparsers = mutation_policy_terminalServer_parser.add_subparsers()
826
+
827
+ mutation_policy_terminalServer_addRule_parser = mutation_policy_terminalServer_subparsers.add_parser('addRule',
828
+ help='addRule() terminalServer operation',
829
+ usage=get_help("mutation_policy_terminalServer_addRule"))
830
+
831
+ mutation_policy_terminalServer_addRule_parser.add_argument('json', nargs='?', default='{}', help='Variables in JSON format (defaults to empty object if not provided).')
832
+ mutation_policy_terminalServer_addRule_parser.add_argument('-accountID', help='Override the CATO_ACCOUNT_ID environment variable with this value.')
833
+ mutation_policy_terminalServer_addRule_parser.add_argument('-t', const=True, default=False, nargs='?', help='Print GraphQL query without sending API call')
834
+ mutation_policy_terminalServer_addRule_parser.add_argument('-v', const=True, default=False, nargs='?', help='Verbose output')
835
+ mutation_policy_terminalServer_addRule_parser.add_argument('-p', const=True, default=False, nargs='?', help='Pretty print')
836
+ mutation_policy_terminalServer_addRule_parser.add_argument('-H', '--header', action='append', dest='headers', help='Add custom headers in "Key: Value" format. Can be used multiple times.')
837
+ mutation_policy_terminalServer_addRule_parser.add_argument('--headers-file', dest='headers_file', help='Load headers from a file. Each line should contain a header in "Key: Value" format.')
838
+ mutation_policy_terminalServer_addRule_parser.set_defaults(func=createRequest,operation_name='mutation.policy.terminalServer.addRule')
839
+
840
+ mutation_policy_terminalServer_addSection_parser = mutation_policy_terminalServer_subparsers.add_parser('addSection',
841
+ help='addSection() terminalServer operation',
842
+ usage=get_help("mutation_policy_terminalServer_addSection"))
843
+
844
+ mutation_policy_terminalServer_addSection_parser.add_argument('json', nargs='?', default='{}', help='Variables in JSON format (defaults to empty object if not provided).')
845
+ mutation_policy_terminalServer_addSection_parser.add_argument('-accountID', help='Override the CATO_ACCOUNT_ID environment variable with this value.')
846
+ mutation_policy_terminalServer_addSection_parser.add_argument('-t', const=True, default=False, nargs='?', help='Print GraphQL query without sending API call')
847
+ mutation_policy_terminalServer_addSection_parser.add_argument('-v', const=True, default=False, nargs='?', help='Verbose output')
848
+ mutation_policy_terminalServer_addSection_parser.add_argument('-p', const=True, default=False, nargs='?', help='Pretty print')
849
+ mutation_policy_terminalServer_addSection_parser.add_argument('-H', '--header', action='append', dest='headers', help='Add custom headers in "Key: Value" format. Can be used multiple times.')
850
+ mutation_policy_terminalServer_addSection_parser.add_argument('--headers-file', dest='headers_file', help='Load headers from a file. Each line should contain a header in "Key: Value" format.')
851
+ mutation_policy_terminalServer_addSection_parser.set_defaults(func=createRequest,operation_name='mutation.policy.terminalServer.addSection')
852
+
853
+ mutation_policy_terminalServer_createPolicyRevision_parser = mutation_policy_terminalServer_subparsers.add_parser('createPolicyRevision',
854
+ help='createPolicyRevision() terminalServer operation',
855
+ usage=get_help("mutation_policy_terminalServer_createPolicyRevision"))
856
+
857
+ mutation_policy_terminalServer_createPolicyRevision_parser.add_argument('json', nargs='?', default='{}', help='Variables in JSON format (defaults to empty object if not provided).')
858
+ mutation_policy_terminalServer_createPolicyRevision_parser.add_argument('-accountID', help='Override the CATO_ACCOUNT_ID environment variable with this value.')
859
+ mutation_policy_terminalServer_createPolicyRevision_parser.add_argument('-t', const=True, default=False, nargs='?', help='Print GraphQL query without sending API call')
860
+ mutation_policy_terminalServer_createPolicyRevision_parser.add_argument('-v', const=True, default=False, nargs='?', help='Verbose output')
861
+ mutation_policy_terminalServer_createPolicyRevision_parser.add_argument('-p', const=True, default=False, nargs='?', help='Pretty print')
862
+ mutation_policy_terminalServer_createPolicyRevision_parser.add_argument('-H', '--header', action='append', dest='headers', help='Add custom headers in "Key: Value" format. Can be used multiple times.')
863
+ mutation_policy_terminalServer_createPolicyRevision_parser.add_argument('--headers-file', dest='headers_file', help='Load headers from a file. Each line should contain a header in "Key: Value" format.')
864
+ mutation_policy_terminalServer_createPolicyRevision_parser.set_defaults(func=createRequest,operation_name='mutation.policy.terminalServer.createPolicyRevision')
865
+
866
+ mutation_policy_terminalServer_discardPolicyRevision_parser = mutation_policy_terminalServer_subparsers.add_parser('discardPolicyRevision',
867
+ help='discardPolicyRevision() terminalServer operation',
868
+ usage=get_help("mutation_policy_terminalServer_discardPolicyRevision"))
869
+
870
+ mutation_policy_terminalServer_discardPolicyRevision_parser.add_argument('json', nargs='?', default='{}', help='Variables in JSON format (defaults to empty object if not provided).')
871
+ mutation_policy_terminalServer_discardPolicyRevision_parser.add_argument('-accountID', help='Override the CATO_ACCOUNT_ID environment variable with this value.')
872
+ mutation_policy_terminalServer_discardPolicyRevision_parser.add_argument('-t', const=True, default=False, nargs='?', help='Print GraphQL query without sending API call')
873
+ mutation_policy_terminalServer_discardPolicyRevision_parser.add_argument('-v', const=True, default=False, nargs='?', help='Verbose output')
874
+ mutation_policy_terminalServer_discardPolicyRevision_parser.add_argument('-p', const=True, default=False, nargs='?', help='Pretty print')
875
+ mutation_policy_terminalServer_discardPolicyRevision_parser.add_argument('-H', '--header', action='append', dest='headers', help='Add custom headers in "Key: Value" format. Can be used multiple times.')
876
+ mutation_policy_terminalServer_discardPolicyRevision_parser.add_argument('--headers-file', dest='headers_file', help='Load headers from a file. Each line should contain a header in "Key: Value" format.')
877
+ mutation_policy_terminalServer_discardPolicyRevision_parser.set_defaults(func=createRequest,operation_name='mutation.policy.terminalServer.discardPolicyRevision')
878
+
879
+ mutation_policy_terminalServer_moveRule_parser = mutation_policy_terminalServer_subparsers.add_parser('moveRule',
880
+ help='moveRule() terminalServer operation',
881
+ usage=get_help("mutation_policy_terminalServer_moveRule"))
882
+
883
+ mutation_policy_terminalServer_moveRule_parser.add_argument('json', nargs='?', default='{}', help='Variables in JSON format (defaults to empty object if not provided).')
884
+ mutation_policy_terminalServer_moveRule_parser.add_argument('-accountID', help='Override the CATO_ACCOUNT_ID environment variable with this value.')
885
+ mutation_policy_terminalServer_moveRule_parser.add_argument('-t', const=True, default=False, nargs='?', help='Print GraphQL query without sending API call')
886
+ mutation_policy_terminalServer_moveRule_parser.add_argument('-v', const=True, default=False, nargs='?', help='Verbose output')
887
+ mutation_policy_terminalServer_moveRule_parser.add_argument('-p', const=True, default=False, nargs='?', help='Pretty print')
888
+ mutation_policy_terminalServer_moveRule_parser.add_argument('-H', '--header', action='append', dest='headers', help='Add custom headers in "Key: Value" format. Can be used multiple times.')
889
+ mutation_policy_terminalServer_moveRule_parser.add_argument('--headers-file', dest='headers_file', help='Load headers from a file. Each line should contain a header in "Key: Value" format.')
890
+ mutation_policy_terminalServer_moveRule_parser.set_defaults(func=createRequest,operation_name='mutation.policy.terminalServer.moveRule')
891
+
892
+ mutation_policy_terminalServer_moveSection_parser = mutation_policy_terminalServer_subparsers.add_parser('moveSection',
893
+ help='moveSection() terminalServer operation',
894
+ usage=get_help("mutation_policy_terminalServer_moveSection"))
895
+
896
+ mutation_policy_terminalServer_moveSection_parser.add_argument('json', nargs='?', default='{}', help='Variables in JSON format (defaults to empty object if not provided).')
897
+ mutation_policy_terminalServer_moveSection_parser.add_argument('-accountID', help='Override the CATO_ACCOUNT_ID environment variable with this value.')
898
+ mutation_policy_terminalServer_moveSection_parser.add_argument('-t', const=True, default=False, nargs='?', help='Print GraphQL query without sending API call')
899
+ mutation_policy_terminalServer_moveSection_parser.add_argument('-v', const=True, default=False, nargs='?', help='Verbose output')
900
+ mutation_policy_terminalServer_moveSection_parser.add_argument('-p', const=True, default=False, nargs='?', help='Pretty print')
901
+ mutation_policy_terminalServer_moveSection_parser.add_argument('-H', '--header', action='append', dest='headers', help='Add custom headers in "Key: Value" format. Can be used multiple times.')
902
+ mutation_policy_terminalServer_moveSection_parser.add_argument('--headers-file', dest='headers_file', help='Load headers from a file. Each line should contain a header in "Key: Value" format.')
903
+ mutation_policy_terminalServer_moveSection_parser.set_defaults(func=createRequest,operation_name='mutation.policy.terminalServer.moveSection')
904
+
905
+ mutation_policy_terminalServer_publishPolicyRevision_parser = mutation_policy_terminalServer_subparsers.add_parser('publishPolicyRevision',
906
+ help='publishPolicyRevision() terminalServer operation',
907
+ usage=get_help("mutation_policy_terminalServer_publishPolicyRevision"))
908
+
909
+ mutation_policy_terminalServer_publishPolicyRevision_parser.add_argument('json', nargs='?', default='{}', help='Variables in JSON format (defaults to empty object if not provided).')
910
+ mutation_policy_terminalServer_publishPolicyRevision_parser.add_argument('-accountID', help='Override the CATO_ACCOUNT_ID environment variable with this value.')
911
+ mutation_policy_terminalServer_publishPolicyRevision_parser.add_argument('-t', const=True, default=False, nargs='?', help='Print GraphQL query without sending API call')
912
+ mutation_policy_terminalServer_publishPolicyRevision_parser.add_argument('-v', const=True, default=False, nargs='?', help='Verbose output')
913
+ mutation_policy_terminalServer_publishPolicyRevision_parser.add_argument('-p', const=True, default=False, nargs='?', help='Pretty print')
914
+ mutation_policy_terminalServer_publishPolicyRevision_parser.add_argument('-H', '--header', action='append', dest='headers', help='Add custom headers in "Key: Value" format. Can be used multiple times.')
915
+ mutation_policy_terminalServer_publishPolicyRevision_parser.add_argument('--headers-file', dest='headers_file', help='Load headers from a file. Each line should contain a header in "Key: Value" format.')
916
+ mutation_policy_terminalServer_publishPolicyRevision_parser.set_defaults(func=createRequest,operation_name='mutation.policy.terminalServer.publishPolicyRevision')
917
+
918
+ mutation_policy_terminalServer_removeRule_parser = mutation_policy_terminalServer_subparsers.add_parser('removeRule',
919
+ help='removeRule() terminalServer operation',
920
+ usage=get_help("mutation_policy_terminalServer_removeRule"))
921
+
922
+ mutation_policy_terminalServer_removeRule_parser.add_argument('json', nargs='?', default='{}', help='Variables in JSON format (defaults to empty object if not provided).')
923
+ mutation_policy_terminalServer_removeRule_parser.add_argument('-accountID', help='Override the CATO_ACCOUNT_ID environment variable with this value.')
924
+ mutation_policy_terminalServer_removeRule_parser.add_argument('-t', const=True, default=False, nargs='?', help='Print GraphQL query without sending API call')
925
+ mutation_policy_terminalServer_removeRule_parser.add_argument('-v', const=True, default=False, nargs='?', help='Verbose output')
926
+ mutation_policy_terminalServer_removeRule_parser.add_argument('-p', const=True, default=False, nargs='?', help='Pretty print')
927
+ mutation_policy_terminalServer_removeRule_parser.add_argument('-H', '--header', action='append', dest='headers', help='Add custom headers in "Key: Value" format. Can be used multiple times.')
928
+ mutation_policy_terminalServer_removeRule_parser.add_argument('--headers-file', dest='headers_file', help='Load headers from a file. Each line should contain a header in "Key: Value" format.')
929
+ mutation_policy_terminalServer_removeRule_parser.set_defaults(func=createRequest,operation_name='mutation.policy.terminalServer.removeRule')
930
+
931
+ mutation_policy_terminalServer_removeSection_parser = mutation_policy_terminalServer_subparsers.add_parser('removeSection',
932
+ help='removeSection() terminalServer operation',
933
+ usage=get_help("mutation_policy_terminalServer_removeSection"))
934
+
935
+ mutation_policy_terminalServer_removeSection_parser.add_argument('json', nargs='?', default='{}', help='Variables in JSON format (defaults to empty object if not provided).')
936
+ mutation_policy_terminalServer_removeSection_parser.add_argument('-accountID', help='Override the CATO_ACCOUNT_ID environment variable with this value.')
937
+ mutation_policy_terminalServer_removeSection_parser.add_argument('-t', const=True, default=False, nargs='?', help='Print GraphQL query without sending API call')
938
+ mutation_policy_terminalServer_removeSection_parser.add_argument('-v', const=True, default=False, nargs='?', help='Verbose output')
939
+ mutation_policy_terminalServer_removeSection_parser.add_argument('-p', const=True, default=False, nargs='?', help='Pretty print')
940
+ mutation_policy_terminalServer_removeSection_parser.add_argument('-H', '--header', action='append', dest='headers', help='Add custom headers in "Key: Value" format. Can be used multiple times.')
941
+ mutation_policy_terminalServer_removeSection_parser.add_argument('--headers-file', dest='headers_file', help='Load headers from a file. Each line should contain a header in "Key: Value" format.')
942
+ mutation_policy_terminalServer_removeSection_parser.set_defaults(func=createRequest,operation_name='mutation.policy.terminalServer.removeSection')
943
+
944
+ mutation_policy_terminalServer_updatePolicy_parser = mutation_policy_terminalServer_subparsers.add_parser('updatePolicy',
945
+ help='updatePolicy() terminalServer operation',
946
+ usage=get_help("mutation_policy_terminalServer_updatePolicy"))
947
+
948
+ mutation_policy_terminalServer_updatePolicy_parser.add_argument('json', nargs='?', default='{}', help='Variables in JSON format (defaults to empty object if not provided).')
949
+ mutation_policy_terminalServer_updatePolicy_parser.add_argument('-accountID', help='Override the CATO_ACCOUNT_ID environment variable with this value.')
950
+ mutation_policy_terminalServer_updatePolicy_parser.add_argument('-t', const=True, default=False, nargs='?', help='Print GraphQL query without sending API call')
951
+ mutation_policy_terminalServer_updatePolicy_parser.add_argument('-v', const=True, default=False, nargs='?', help='Verbose output')
952
+ mutation_policy_terminalServer_updatePolicy_parser.add_argument('-p', const=True, default=False, nargs='?', help='Pretty print')
953
+ mutation_policy_terminalServer_updatePolicy_parser.add_argument('-H', '--header', action='append', dest='headers', help='Add custom headers in "Key: Value" format. Can be used multiple times.')
954
+ mutation_policy_terminalServer_updatePolicy_parser.add_argument('--headers-file', dest='headers_file', help='Load headers from a file. Each line should contain a header in "Key: Value" format.')
955
+ mutation_policy_terminalServer_updatePolicy_parser.set_defaults(func=createRequest,operation_name='mutation.policy.terminalServer.updatePolicy')
956
+
957
+ mutation_policy_terminalServer_updateRule_parser = mutation_policy_terminalServer_subparsers.add_parser('updateRule',
958
+ help='updateRule() terminalServer operation',
959
+ usage=get_help("mutation_policy_terminalServer_updateRule"))
960
+
961
+ mutation_policy_terminalServer_updateRule_parser.add_argument('json', nargs='?', default='{}', help='Variables in JSON format (defaults to empty object if not provided).')
962
+ mutation_policy_terminalServer_updateRule_parser.add_argument('-accountID', help='Override the CATO_ACCOUNT_ID environment variable with this value.')
963
+ mutation_policy_terminalServer_updateRule_parser.add_argument('-t', const=True, default=False, nargs='?', help='Print GraphQL query without sending API call')
964
+ mutation_policy_terminalServer_updateRule_parser.add_argument('-v', const=True, default=False, nargs='?', help='Verbose output')
965
+ mutation_policy_terminalServer_updateRule_parser.add_argument('-p', const=True, default=False, nargs='?', help='Pretty print')
966
+ mutation_policy_terminalServer_updateRule_parser.add_argument('-H', '--header', action='append', dest='headers', help='Add custom headers in "Key: Value" format. Can be used multiple times.')
967
+ mutation_policy_terminalServer_updateRule_parser.add_argument('--headers-file', dest='headers_file', help='Load headers from a file. Each line should contain a header in "Key: Value" format.')
968
+ mutation_policy_terminalServer_updateRule_parser.set_defaults(func=createRequest,operation_name='mutation.policy.terminalServer.updateRule')
969
+
970
+ mutation_policy_terminalServer_updateSection_parser = mutation_policy_terminalServer_subparsers.add_parser('updateSection',
971
+ help='updateSection() terminalServer operation',
972
+ usage=get_help("mutation_policy_terminalServer_updateSection"))
973
+
974
+ mutation_policy_terminalServer_updateSection_parser.add_argument('json', nargs='?', default='{}', help='Variables in JSON format (defaults to empty object if not provided).')
975
+ mutation_policy_terminalServer_updateSection_parser.add_argument('-accountID', help='Override the CATO_ACCOUNT_ID environment variable with this value.')
976
+ mutation_policy_terminalServer_updateSection_parser.add_argument('-t', const=True, default=False, nargs='?', help='Print GraphQL query without sending API call')
977
+ mutation_policy_terminalServer_updateSection_parser.add_argument('-v', const=True, default=False, nargs='?', help='Verbose output')
978
+ mutation_policy_terminalServer_updateSection_parser.add_argument('-p', const=True, default=False, nargs='?', help='Pretty print')
979
+ mutation_policy_terminalServer_updateSection_parser.add_argument('-H', '--header', action='append', dest='headers', help='Add custom headers in "Key: Value" format. Can be used multiple times.')
980
+ mutation_policy_terminalServer_updateSection_parser.add_argument('--headers-file', dest='headers_file', help='Load headers from a file. Each line should contain a header in "Key: Value" format.')
981
+ mutation_policy_terminalServer_updateSection_parser.set_defaults(func=createRequest,operation_name='mutation.policy.terminalServer.updateSection')
982
+
881
983
  mutation_policy_wanFirewall_parser = mutation_policy_subparsers.add_parser('wanFirewall',
882
984
  help='wanFirewall() policy operation',
883
985
  usage=get_help("mutation_policy_wanFirewall"))
@@ -888,168 +990,156 @@ def mutation_policy_parse(mutation_subparsers):
888
990
  help='addRule() wanFirewall operation',
889
991
  usage=get_help("mutation_policy_wanFirewall_addRule"))
890
992
 
891
- mutation_policy_wanFirewall_addRule_parser.add_argument('json', help='Variables in JSON format.')
993
+ mutation_policy_wanFirewall_addRule_parser.add_argument('json', nargs='?', default='{}', help='Variables in JSON format (defaults to empty object if not provided).')
892
994
  mutation_policy_wanFirewall_addRule_parser.add_argument('-accountID', help='Override the CATO_ACCOUNT_ID environment variable with this value.')
893
- mutation_policy_wanFirewall_addRule_parser.add_argument('-t', const=True, default=False, nargs='?',
894
- help='Print test request preview without sending api call')
895
- mutation_policy_wanFirewall_addRule_parser.add_argument('-v', const=True, default=False, nargs='?',
896
- help='Verbose output')
897
- mutation_policy_wanFirewall_addRule_parser.add_argument('-p', const=True, default=False, nargs='?',
898
- help='Pretty print')
995
+ mutation_policy_wanFirewall_addRule_parser.add_argument('-t', const=True, default=False, nargs='?', help='Print GraphQL query without sending API call')
996
+ mutation_policy_wanFirewall_addRule_parser.add_argument('-v', const=True, default=False, nargs='?', help='Verbose output')
997
+ mutation_policy_wanFirewall_addRule_parser.add_argument('-p', const=True, default=False, nargs='?', help='Pretty print')
998
+ mutation_policy_wanFirewall_addRule_parser.add_argument('-H', '--header', action='append', dest='headers', help='Add custom headers in "Key: Value" format. Can be used multiple times.')
999
+ mutation_policy_wanFirewall_addRule_parser.add_argument('--headers-file', dest='headers_file', help='Load headers from a file. Each line should contain a header in "Key: Value" format.')
899
1000
  mutation_policy_wanFirewall_addRule_parser.set_defaults(func=createRequest,operation_name='mutation.policy.wanFirewall.addRule')
900
1001
 
901
1002
  mutation_policy_wanFirewall_addSection_parser = mutation_policy_wanFirewall_subparsers.add_parser('addSection',
902
1003
  help='addSection() wanFirewall operation',
903
1004
  usage=get_help("mutation_policy_wanFirewall_addSection"))
904
1005
 
905
- mutation_policy_wanFirewall_addSection_parser.add_argument('json', help='Variables in JSON format.')
1006
+ mutation_policy_wanFirewall_addSection_parser.add_argument('json', nargs='?', default='{}', help='Variables in JSON format (defaults to empty object if not provided).')
906
1007
  mutation_policy_wanFirewall_addSection_parser.add_argument('-accountID', help='Override the CATO_ACCOUNT_ID environment variable with this value.')
907
- mutation_policy_wanFirewall_addSection_parser.add_argument('-t', const=True, default=False, nargs='?',
908
- help='Print test request preview without sending api call')
909
- mutation_policy_wanFirewall_addSection_parser.add_argument('-v', const=True, default=False, nargs='?',
910
- help='Verbose output')
911
- mutation_policy_wanFirewall_addSection_parser.add_argument('-p', const=True, default=False, nargs='?',
912
- help='Pretty print')
1008
+ mutation_policy_wanFirewall_addSection_parser.add_argument('-t', const=True, default=False, nargs='?', help='Print GraphQL query without sending API call')
1009
+ mutation_policy_wanFirewall_addSection_parser.add_argument('-v', const=True, default=False, nargs='?', help='Verbose output')
1010
+ mutation_policy_wanFirewall_addSection_parser.add_argument('-p', const=True, default=False, nargs='?', help='Pretty print')
1011
+ mutation_policy_wanFirewall_addSection_parser.add_argument('-H', '--header', action='append', dest='headers', help='Add custom headers in "Key: Value" format. Can be used multiple times.')
1012
+ mutation_policy_wanFirewall_addSection_parser.add_argument('--headers-file', dest='headers_file', help='Load headers from a file. Each line should contain a header in "Key: Value" format.')
913
1013
  mutation_policy_wanFirewall_addSection_parser.set_defaults(func=createRequest,operation_name='mutation.policy.wanFirewall.addSection')
914
1014
 
915
1015
  mutation_policy_wanFirewall_createPolicyRevision_parser = mutation_policy_wanFirewall_subparsers.add_parser('createPolicyRevision',
916
1016
  help='createPolicyRevision() wanFirewall operation',
917
1017
  usage=get_help("mutation_policy_wanFirewall_createPolicyRevision"))
918
1018
 
919
- mutation_policy_wanFirewall_createPolicyRevision_parser.add_argument('json', help='Variables in JSON format.')
1019
+ mutation_policy_wanFirewall_createPolicyRevision_parser.add_argument('json', nargs='?', default='{}', help='Variables in JSON format (defaults to empty object if not provided).')
920
1020
  mutation_policy_wanFirewall_createPolicyRevision_parser.add_argument('-accountID', help='Override the CATO_ACCOUNT_ID environment variable with this value.')
921
- mutation_policy_wanFirewall_createPolicyRevision_parser.add_argument('-t', const=True, default=False, nargs='?',
922
- help='Print test request preview without sending api call')
923
- mutation_policy_wanFirewall_createPolicyRevision_parser.add_argument('-v', const=True, default=False, nargs='?',
924
- help='Verbose output')
925
- mutation_policy_wanFirewall_createPolicyRevision_parser.add_argument('-p', const=True, default=False, nargs='?',
926
- help='Pretty print')
1021
+ mutation_policy_wanFirewall_createPolicyRevision_parser.add_argument('-t', const=True, default=False, nargs='?', help='Print GraphQL query without sending API call')
1022
+ mutation_policy_wanFirewall_createPolicyRevision_parser.add_argument('-v', const=True, default=False, nargs='?', help='Verbose output')
1023
+ mutation_policy_wanFirewall_createPolicyRevision_parser.add_argument('-p', const=True, default=False, nargs='?', help='Pretty print')
1024
+ mutation_policy_wanFirewall_createPolicyRevision_parser.add_argument('-H', '--header', action='append', dest='headers', help='Add custom headers in "Key: Value" format. Can be used multiple times.')
1025
+ mutation_policy_wanFirewall_createPolicyRevision_parser.add_argument('--headers-file', dest='headers_file', help='Load headers from a file. Each line should contain a header in "Key: Value" format.')
927
1026
  mutation_policy_wanFirewall_createPolicyRevision_parser.set_defaults(func=createRequest,operation_name='mutation.policy.wanFirewall.createPolicyRevision')
928
1027
 
929
1028
  mutation_policy_wanFirewall_discardPolicyRevision_parser = mutation_policy_wanFirewall_subparsers.add_parser('discardPolicyRevision',
930
1029
  help='discardPolicyRevision() wanFirewall operation',
931
1030
  usage=get_help("mutation_policy_wanFirewall_discardPolicyRevision"))
932
1031
 
933
- mutation_policy_wanFirewall_discardPolicyRevision_parser.add_argument('json', help='Variables in JSON format.')
1032
+ mutation_policy_wanFirewall_discardPolicyRevision_parser.add_argument('json', nargs='?', default='{}', help='Variables in JSON format (defaults to empty object if not provided).')
934
1033
  mutation_policy_wanFirewall_discardPolicyRevision_parser.add_argument('-accountID', help='Override the CATO_ACCOUNT_ID environment variable with this value.')
935
- mutation_policy_wanFirewall_discardPolicyRevision_parser.add_argument('-t', const=True, default=False, nargs='?',
936
- help='Print test request preview without sending api call')
937
- mutation_policy_wanFirewall_discardPolicyRevision_parser.add_argument('-v', const=True, default=False, nargs='?',
938
- help='Verbose output')
939
- mutation_policy_wanFirewall_discardPolicyRevision_parser.add_argument('-p', const=True, default=False, nargs='?',
940
- help='Pretty print')
1034
+ mutation_policy_wanFirewall_discardPolicyRevision_parser.add_argument('-t', const=True, default=False, nargs='?', help='Print GraphQL query without sending API call')
1035
+ mutation_policy_wanFirewall_discardPolicyRevision_parser.add_argument('-v', const=True, default=False, nargs='?', help='Verbose output')
1036
+ mutation_policy_wanFirewall_discardPolicyRevision_parser.add_argument('-p', const=True, default=False, nargs='?', help='Pretty print')
1037
+ mutation_policy_wanFirewall_discardPolicyRevision_parser.add_argument('-H', '--header', action='append', dest='headers', help='Add custom headers in "Key: Value" format. Can be used multiple times.')
1038
+ mutation_policy_wanFirewall_discardPolicyRevision_parser.add_argument('--headers-file', dest='headers_file', help='Load headers from a file. Each line should contain a header in "Key: Value" format.')
941
1039
  mutation_policy_wanFirewall_discardPolicyRevision_parser.set_defaults(func=createRequest,operation_name='mutation.policy.wanFirewall.discardPolicyRevision')
942
1040
 
943
1041
  mutation_policy_wanFirewall_moveRule_parser = mutation_policy_wanFirewall_subparsers.add_parser('moveRule',
944
1042
  help='moveRule() wanFirewall operation',
945
1043
  usage=get_help("mutation_policy_wanFirewall_moveRule"))
946
1044
 
947
- mutation_policy_wanFirewall_moveRule_parser.add_argument('json', help='Variables in JSON format.')
1045
+ mutation_policy_wanFirewall_moveRule_parser.add_argument('json', nargs='?', default='{}', help='Variables in JSON format (defaults to empty object if not provided).')
948
1046
  mutation_policy_wanFirewall_moveRule_parser.add_argument('-accountID', help='Override the CATO_ACCOUNT_ID environment variable with this value.')
949
- mutation_policy_wanFirewall_moveRule_parser.add_argument('-t', const=True, default=False, nargs='?',
950
- help='Print test request preview without sending api call')
951
- mutation_policy_wanFirewall_moveRule_parser.add_argument('-v', const=True, default=False, nargs='?',
952
- help='Verbose output')
953
- mutation_policy_wanFirewall_moveRule_parser.add_argument('-p', const=True, default=False, nargs='?',
954
- help='Pretty print')
1047
+ mutation_policy_wanFirewall_moveRule_parser.add_argument('-t', const=True, default=False, nargs='?', help='Print GraphQL query without sending API call')
1048
+ mutation_policy_wanFirewall_moveRule_parser.add_argument('-v', const=True, default=False, nargs='?', help='Verbose output')
1049
+ mutation_policy_wanFirewall_moveRule_parser.add_argument('-p', const=True, default=False, nargs='?', help='Pretty print')
1050
+ mutation_policy_wanFirewall_moveRule_parser.add_argument('-H', '--header', action='append', dest='headers', help='Add custom headers in "Key: Value" format. Can be used multiple times.')
1051
+ mutation_policy_wanFirewall_moveRule_parser.add_argument('--headers-file', dest='headers_file', help='Load headers from a file. Each line should contain a header in "Key: Value" format.')
955
1052
  mutation_policy_wanFirewall_moveRule_parser.set_defaults(func=createRequest,operation_name='mutation.policy.wanFirewall.moveRule')
956
1053
 
957
1054
  mutation_policy_wanFirewall_moveSection_parser = mutation_policy_wanFirewall_subparsers.add_parser('moveSection',
958
1055
  help='moveSection() wanFirewall operation',
959
1056
  usage=get_help("mutation_policy_wanFirewall_moveSection"))
960
1057
 
961
- mutation_policy_wanFirewall_moveSection_parser.add_argument('json', help='Variables in JSON format.')
1058
+ mutation_policy_wanFirewall_moveSection_parser.add_argument('json', nargs='?', default='{}', help='Variables in JSON format (defaults to empty object if not provided).')
962
1059
  mutation_policy_wanFirewall_moveSection_parser.add_argument('-accountID', help='Override the CATO_ACCOUNT_ID environment variable with this value.')
963
- mutation_policy_wanFirewall_moveSection_parser.add_argument('-t', const=True, default=False, nargs='?',
964
- help='Print test request preview without sending api call')
965
- mutation_policy_wanFirewall_moveSection_parser.add_argument('-v', const=True, default=False, nargs='?',
966
- help='Verbose output')
967
- mutation_policy_wanFirewall_moveSection_parser.add_argument('-p', const=True, default=False, nargs='?',
968
- help='Pretty print')
1060
+ mutation_policy_wanFirewall_moveSection_parser.add_argument('-t', const=True, default=False, nargs='?', help='Print GraphQL query without sending API call')
1061
+ mutation_policy_wanFirewall_moveSection_parser.add_argument('-v', const=True, default=False, nargs='?', help='Verbose output')
1062
+ mutation_policy_wanFirewall_moveSection_parser.add_argument('-p', const=True, default=False, nargs='?', help='Pretty print')
1063
+ mutation_policy_wanFirewall_moveSection_parser.add_argument('-H', '--header', action='append', dest='headers', help='Add custom headers in "Key: Value" format. Can be used multiple times.')
1064
+ mutation_policy_wanFirewall_moveSection_parser.add_argument('--headers-file', dest='headers_file', help='Load headers from a file. Each line should contain a header in "Key: Value" format.')
969
1065
  mutation_policy_wanFirewall_moveSection_parser.set_defaults(func=createRequest,operation_name='mutation.policy.wanFirewall.moveSection')
970
1066
 
971
1067
  mutation_policy_wanFirewall_publishPolicyRevision_parser = mutation_policy_wanFirewall_subparsers.add_parser('publishPolicyRevision',
972
1068
  help='publishPolicyRevision() wanFirewall operation',
973
1069
  usage=get_help("mutation_policy_wanFirewall_publishPolicyRevision"))
974
1070
 
975
- mutation_policy_wanFirewall_publishPolicyRevision_parser.add_argument('json', help='Variables in JSON format.')
1071
+ mutation_policy_wanFirewall_publishPolicyRevision_parser.add_argument('json', nargs='?', default='{}', help='Variables in JSON format (defaults to empty object if not provided).')
976
1072
  mutation_policy_wanFirewall_publishPolicyRevision_parser.add_argument('-accountID', help='Override the CATO_ACCOUNT_ID environment variable with this value.')
977
- mutation_policy_wanFirewall_publishPolicyRevision_parser.add_argument('-t', const=True, default=False, nargs='?',
978
- help='Print test request preview without sending api call')
979
- mutation_policy_wanFirewall_publishPolicyRevision_parser.add_argument('-v', const=True, default=False, nargs='?',
980
- help='Verbose output')
981
- mutation_policy_wanFirewall_publishPolicyRevision_parser.add_argument('-p', const=True, default=False, nargs='?',
982
- help='Pretty print')
1073
+ mutation_policy_wanFirewall_publishPolicyRevision_parser.add_argument('-t', const=True, default=False, nargs='?', help='Print GraphQL query without sending API call')
1074
+ mutation_policy_wanFirewall_publishPolicyRevision_parser.add_argument('-v', const=True, default=False, nargs='?', help='Verbose output')
1075
+ mutation_policy_wanFirewall_publishPolicyRevision_parser.add_argument('-p', const=True, default=False, nargs='?', help='Pretty print')
1076
+ mutation_policy_wanFirewall_publishPolicyRevision_parser.add_argument('-H', '--header', action='append', dest='headers', help='Add custom headers in "Key: Value" format. Can be used multiple times.')
1077
+ mutation_policy_wanFirewall_publishPolicyRevision_parser.add_argument('--headers-file', dest='headers_file', help='Load headers from a file. Each line should contain a header in "Key: Value" format.')
983
1078
  mutation_policy_wanFirewall_publishPolicyRevision_parser.set_defaults(func=createRequest,operation_name='mutation.policy.wanFirewall.publishPolicyRevision')
984
1079
 
985
1080
  mutation_policy_wanFirewall_removeRule_parser = mutation_policy_wanFirewall_subparsers.add_parser('removeRule',
986
1081
  help='removeRule() wanFirewall operation',
987
1082
  usage=get_help("mutation_policy_wanFirewall_removeRule"))
988
1083
 
989
- mutation_policy_wanFirewall_removeRule_parser.add_argument('json', help='Variables in JSON format.')
1084
+ mutation_policy_wanFirewall_removeRule_parser.add_argument('json', nargs='?', default='{}', help='Variables in JSON format (defaults to empty object if not provided).')
990
1085
  mutation_policy_wanFirewall_removeRule_parser.add_argument('-accountID', help='Override the CATO_ACCOUNT_ID environment variable with this value.')
991
- mutation_policy_wanFirewall_removeRule_parser.add_argument('-t', const=True, default=False, nargs='?',
992
- help='Print test request preview without sending api call')
993
- mutation_policy_wanFirewall_removeRule_parser.add_argument('-v', const=True, default=False, nargs='?',
994
- help='Verbose output')
995
- mutation_policy_wanFirewall_removeRule_parser.add_argument('-p', const=True, default=False, nargs='?',
996
- help='Pretty print')
1086
+ mutation_policy_wanFirewall_removeRule_parser.add_argument('-t', const=True, default=False, nargs='?', help='Print GraphQL query without sending API call')
1087
+ mutation_policy_wanFirewall_removeRule_parser.add_argument('-v', const=True, default=False, nargs='?', help='Verbose output')
1088
+ mutation_policy_wanFirewall_removeRule_parser.add_argument('-p', const=True, default=False, nargs='?', help='Pretty print')
1089
+ mutation_policy_wanFirewall_removeRule_parser.add_argument('-H', '--header', action='append', dest='headers', help='Add custom headers in "Key: Value" format. Can be used multiple times.')
1090
+ mutation_policy_wanFirewall_removeRule_parser.add_argument('--headers-file', dest='headers_file', help='Load headers from a file. Each line should contain a header in "Key: Value" format.')
997
1091
  mutation_policy_wanFirewall_removeRule_parser.set_defaults(func=createRequest,operation_name='mutation.policy.wanFirewall.removeRule')
998
1092
 
999
1093
  mutation_policy_wanFirewall_removeSection_parser = mutation_policy_wanFirewall_subparsers.add_parser('removeSection',
1000
1094
  help='removeSection() wanFirewall operation',
1001
1095
  usage=get_help("mutation_policy_wanFirewall_removeSection"))
1002
1096
 
1003
- mutation_policy_wanFirewall_removeSection_parser.add_argument('json', help='Variables in JSON format.')
1097
+ mutation_policy_wanFirewall_removeSection_parser.add_argument('json', nargs='?', default='{}', help='Variables in JSON format (defaults to empty object if not provided).')
1004
1098
  mutation_policy_wanFirewall_removeSection_parser.add_argument('-accountID', help='Override the CATO_ACCOUNT_ID environment variable with this value.')
1005
- mutation_policy_wanFirewall_removeSection_parser.add_argument('-t', const=True, default=False, nargs='?',
1006
- help='Print test request preview without sending api call')
1007
- mutation_policy_wanFirewall_removeSection_parser.add_argument('-v', const=True, default=False, nargs='?',
1008
- help='Verbose output')
1009
- mutation_policy_wanFirewall_removeSection_parser.add_argument('-p', const=True, default=False, nargs='?',
1010
- help='Pretty print')
1099
+ mutation_policy_wanFirewall_removeSection_parser.add_argument('-t', const=True, default=False, nargs='?', help='Print GraphQL query without sending API call')
1100
+ mutation_policy_wanFirewall_removeSection_parser.add_argument('-v', const=True, default=False, nargs='?', help='Verbose output')
1101
+ mutation_policy_wanFirewall_removeSection_parser.add_argument('-p', const=True, default=False, nargs='?', help='Pretty print')
1102
+ mutation_policy_wanFirewall_removeSection_parser.add_argument('-H', '--header', action='append', dest='headers', help='Add custom headers in "Key: Value" format. Can be used multiple times.')
1103
+ mutation_policy_wanFirewall_removeSection_parser.add_argument('--headers-file', dest='headers_file', help='Load headers from a file. Each line should contain a header in "Key: Value" format.')
1011
1104
  mutation_policy_wanFirewall_removeSection_parser.set_defaults(func=createRequest,operation_name='mutation.policy.wanFirewall.removeSection')
1012
1105
 
1013
1106
  mutation_policy_wanFirewall_updatePolicy_parser = mutation_policy_wanFirewall_subparsers.add_parser('updatePolicy',
1014
1107
  help='updatePolicy() wanFirewall operation',
1015
1108
  usage=get_help("mutation_policy_wanFirewall_updatePolicy"))
1016
1109
 
1017
- mutation_policy_wanFirewall_updatePolicy_parser.add_argument('json', help='Variables in JSON format.')
1110
+ mutation_policy_wanFirewall_updatePolicy_parser.add_argument('json', nargs='?', default='{}', help='Variables in JSON format (defaults to empty object if not provided).')
1018
1111
  mutation_policy_wanFirewall_updatePolicy_parser.add_argument('-accountID', help='Override the CATO_ACCOUNT_ID environment variable with this value.')
1019
- mutation_policy_wanFirewall_updatePolicy_parser.add_argument('-t', const=True, default=False, nargs='?',
1020
- help='Print test request preview without sending api call')
1021
- mutation_policy_wanFirewall_updatePolicy_parser.add_argument('-v', const=True, default=False, nargs='?',
1022
- help='Verbose output')
1023
- mutation_policy_wanFirewall_updatePolicy_parser.add_argument('-p', const=True, default=False, nargs='?',
1024
- help='Pretty print')
1112
+ mutation_policy_wanFirewall_updatePolicy_parser.add_argument('-t', const=True, default=False, nargs='?', help='Print GraphQL query without sending API call')
1113
+ mutation_policy_wanFirewall_updatePolicy_parser.add_argument('-v', const=True, default=False, nargs='?', help='Verbose output')
1114
+ mutation_policy_wanFirewall_updatePolicy_parser.add_argument('-p', const=True, default=False, nargs='?', help='Pretty print')
1115
+ mutation_policy_wanFirewall_updatePolicy_parser.add_argument('-H', '--header', action='append', dest='headers', help='Add custom headers in "Key: Value" format. Can be used multiple times.')
1116
+ mutation_policy_wanFirewall_updatePolicy_parser.add_argument('--headers-file', dest='headers_file', help='Load headers from a file. Each line should contain a header in "Key: Value" format.')
1025
1117
  mutation_policy_wanFirewall_updatePolicy_parser.set_defaults(func=createRequest,operation_name='mutation.policy.wanFirewall.updatePolicy')
1026
1118
 
1027
1119
  mutation_policy_wanFirewall_updateRule_parser = mutation_policy_wanFirewall_subparsers.add_parser('updateRule',
1028
1120
  help='updateRule() wanFirewall operation',
1029
1121
  usage=get_help("mutation_policy_wanFirewall_updateRule"))
1030
1122
 
1031
- mutation_policy_wanFirewall_updateRule_parser.add_argument('json', help='Variables in JSON format.')
1123
+ mutation_policy_wanFirewall_updateRule_parser.add_argument('json', nargs='?', default='{}', help='Variables in JSON format (defaults to empty object if not provided).')
1032
1124
  mutation_policy_wanFirewall_updateRule_parser.add_argument('-accountID', help='Override the CATO_ACCOUNT_ID environment variable with this value.')
1033
- mutation_policy_wanFirewall_updateRule_parser.add_argument('-t', const=True, default=False, nargs='?',
1034
- help='Print test request preview without sending api call')
1035
- mutation_policy_wanFirewall_updateRule_parser.add_argument('-v', const=True, default=False, nargs='?',
1036
- help='Verbose output')
1037
- mutation_policy_wanFirewall_updateRule_parser.add_argument('-p', const=True, default=False, nargs='?',
1038
- help='Pretty print')
1125
+ mutation_policy_wanFirewall_updateRule_parser.add_argument('-t', const=True, default=False, nargs='?', help='Print GraphQL query without sending API call')
1126
+ mutation_policy_wanFirewall_updateRule_parser.add_argument('-v', const=True, default=False, nargs='?', help='Verbose output')
1127
+ mutation_policy_wanFirewall_updateRule_parser.add_argument('-p', const=True, default=False, nargs='?', help='Pretty print')
1128
+ mutation_policy_wanFirewall_updateRule_parser.add_argument('-H', '--header', action='append', dest='headers', help='Add custom headers in "Key: Value" format. Can be used multiple times.')
1129
+ mutation_policy_wanFirewall_updateRule_parser.add_argument('--headers-file', dest='headers_file', help='Load headers from a file. Each line should contain a header in "Key: Value" format.')
1039
1130
  mutation_policy_wanFirewall_updateRule_parser.set_defaults(func=createRequest,operation_name='mutation.policy.wanFirewall.updateRule')
1040
1131
 
1041
1132
  mutation_policy_wanFirewall_updateSection_parser = mutation_policy_wanFirewall_subparsers.add_parser('updateSection',
1042
1133
  help='updateSection() wanFirewall operation',
1043
1134
  usage=get_help("mutation_policy_wanFirewall_updateSection"))
1044
1135
 
1045
- mutation_policy_wanFirewall_updateSection_parser.add_argument('json', help='Variables in JSON format.')
1136
+ mutation_policy_wanFirewall_updateSection_parser.add_argument('json', nargs='?', default='{}', help='Variables in JSON format (defaults to empty object if not provided).')
1046
1137
  mutation_policy_wanFirewall_updateSection_parser.add_argument('-accountID', help='Override the CATO_ACCOUNT_ID environment variable with this value.')
1047
- mutation_policy_wanFirewall_updateSection_parser.add_argument('-t', const=True, default=False, nargs='?',
1048
- help='Print test request preview without sending api call')
1049
- mutation_policy_wanFirewall_updateSection_parser.add_argument('-v', const=True, default=False, nargs='?',
1050
- help='Verbose output')
1051
- mutation_policy_wanFirewall_updateSection_parser.add_argument('-p', const=True, default=False, nargs='?',
1052
- help='Pretty print')
1138
+ mutation_policy_wanFirewall_updateSection_parser.add_argument('-t', const=True, default=False, nargs='?', help='Print GraphQL query without sending API call')
1139
+ mutation_policy_wanFirewall_updateSection_parser.add_argument('-v', const=True, default=False, nargs='?', help='Verbose output')
1140
+ mutation_policy_wanFirewall_updateSection_parser.add_argument('-p', const=True, default=False, nargs='?', help='Pretty print')
1141
+ mutation_policy_wanFirewall_updateSection_parser.add_argument('-H', '--header', action='append', dest='headers', help='Add custom headers in "Key: Value" format. Can be used multiple times.')
1142
+ mutation_policy_wanFirewall_updateSection_parser.add_argument('--headers-file', dest='headers_file', help='Load headers from a file. Each line should contain a header in "Key: Value" format.')
1053
1143
  mutation_policy_wanFirewall_updateSection_parser.set_defaults(func=createRequest,operation_name='mutation.policy.wanFirewall.updateSection')
1054
1144
 
1055
1145
  mutation_policy_wanNetwork_parser = mutation_policy_subparsers.add_parser('wanNetwork',
@@ -1062,166 +1152,154 @@ def mutation_policy_parse(mutation_subparsers):
1062
1152
  help='addRule() wanNetwork operation',
1063
1153
  usage=get_help("mutation_policy_wanNetwork_addRule"))
1064
1154
 
1065
- mutation_policy_wanNetwork_addRule_parser.add_argument('json', help='Variables in JSON format.')
1155
+ mutation_policy_wanNetwork_addRule_parser.add_argument('json', nargs='?', default='{}', help='Variables in JSON format (defaults to empty object if not provided).')
1066
1156
  mutation_policy_wanNetwork_addRule_parser.add_argument('-accountID', help='Override the CATO_ACCOUNT_ID environment variable with this value.')
1067
- mutation_policy_wanNetwork_addRule_parser.add_argument('-t', const=True, default=False, nargs='?',
1068
- help='Print test request preview without sending api call')
1069
- mutation_policy_wanNetwork_addRule_parser.add_argument('-v', const=True, default=False, nargs='?',
1070
- help='Verbose output')
1071
- mutation_policy_wanNetwork_addRule_parser.add_argument('-p', const=True, default=False, nargs='?',
1072
- help='Pretty print')
1157
+ mutation_policy_wanNetwork_addRule_parser.add_argument('-t', const=True, default=False, nargs='?', help='Print GraphQL query without sending API call')
1158
+ mutation_policy_wanNetwork_addRule_parser.add_argument('-v', const=True, default=False, nargs='?', help='Verbose output')
1159
+ mutation_policy_wanNetwork_addRule_parser.add_argument('-p', const=True, default=False, nargs='?', help='Pretty print')
1160
+ mutation_policy_wanNetwork_addRule_parser.add_argument('-H', '--header', action='append', dest='headers', help='Add custom headers in "Key: Value" format. Can be used multiple times.')
1161
+ mutation_policy_wanNetwork_addRule_parser.add_argument('--headers-file', dest='headers_file', help='Load headers from a file. Each line should contain a header in "Key: Value" format.')
1073
1162
  mutation_policy_wanNetwork_addRule_parser.set_defaults(func=createRequest,operation_name='mutation.policy.wanNetwork.addRule')
1074
1163
 
1075
1164
  mutation_policy_wanNetwork_addSection_parser = mutation_policy_wanNetwork_subparsers.add_parser('addSection',
1076
1165
  help='addSection() wanNetwork operation',
1077
1166
  usage=get_help("mutation_policy_wanNetwork_addSection"))
1078
1167
 
1079
- mutation_policy_wanNetwork_addSection_parser.add_argument('json', help='Variables in JSON format.')
1168
+ mutation_policy_wanNetwork_addSection_parser.add_argument('json', nargs='?', default='{}', help='Variables in JSON format (defaults to empty object if not provided).')
1080
1169
  mutation_policy_wanNetwork_addSection_parser.add_argument('-accountID', help='Override the CATO_ACCOUNT_ID environment variable with this value.')
1081
- mutation_policy_wanNetwork_addSection_parser.add_argument('-t', const=True, default=False, nargs='?',
1082
- help='Print test request preview without sending api call')
1083
- mutation_policy_wanNetwork_addSection_parser.add_argument('-v', const=True, default=False, nargs='?',
1084
- help='Verbose output')
1085
- mutation_policy_wanNetwork_addSection_parser.add_argument('-p', const=True, default=False, nargs='?',
1086
- help='Pretty print')
1170
+ mutation_policy_wanNetwork_addSection_parser.add_argument('-t', const=True, default=False, nargs='?', help='Print GraphQL query without sending API call')
1171
+ mutation_policy_wanNetwork_addSection_parser.add_argument('-v', const=True, default=False, nargs='?', help='Verbose output')
1172
+ mutation_policy_wanNetwork_addSection_parser.add_argument('-p', const=True, default=False, nargs='?', help='Pretty print')
1173
+ mutation_policy_wanNetwork_addSection_parser.add_argument('-H', '--header', action='append', dest='headers', help='Add custom headers in "Key: Value" format. Can be used multiple times.')
1174
+ mutation_policy_wanNetwork_addSection_parser.add_argument('--headers-file', dest='headers_file', help='Load headers from a file. Each line should contain a header in "Key: Value" format.')
1087
1175
  mutation_policy_wanNetwork_addSection_parser.set_defaults(func=createRequest,operation_name='mutation.policy.wanNetwork.addSection')
1088
1176
 
1089
1177
  mutation_policy_wanNetwork_createPolicyRevision_parser = mutation_policy_wanNetwork_subparsers.add_parser('createPolicyRevision',
1090
1178
  help='createPolicyRevision() wanNetwork operation',
1091
1179
  usage=get_help("mutation_policy_wanNetwork_createPolicyRevision"))
1092
1180
 
1093
- mutation_policy_wanNetwork_createPolicyRevision_parser.add_argument('json', help='Variables in JSON format.')
1181
+ mutation_policy_wanNetwork_createPolicyRevision_parser.add_argument('json', nargs='?', default='{}', help='Variables in JSON format (defaults to empty object if not provided).')
1094
1182
  mutation_policy_wanNetwork_createPolicyRevision_parser.add_argument('-accountID', help='Override the CATO_ACCOUNT_ID environment variable with this value.')
1095
- mutation_policy_wanNetwork_createPolicyRevision_parser.add_argument('-t', const=True, default=False, nargs='?',
1096
- help='Print test request preview without sending api call')
1097
- mutation_policy_wanNetwork_createPolicyRevision_parser.add_argument('-v', const=True, default=False, nargs='?',
1098
- help='Verbose output')
1099
- mutation_policy_wanNetwork_createPolicyRevision_parser.add_argument('-p', const=True, default=False, nargs='?',
1100
- help='Pretty print')
1183
+ mutation_policy_wanNetwork_createPolicyRevision_parser.add_argument('-t', const=True, default=False, nargs='?', help='Print GraphQL query without sending API call')
1184
+ mutation_policy_wanNetwork_createPolicyRevision_parser.add_argument('-v', const=True, default=False, nargs='?', help='Verbose output')
1185
+ mutation_policy_wanNetwork_createPolicyRevision_parser.add_argument('-p', const=True, default=False, nargs='?', help='Pretty print')
1186
+ mutation_policy_wanNetwork_createPolicyRevision_parser.add_argument('-H', '--header', action='append', dest='headers', help='Add custom headers in "Key: Value" format. Can be used multiple times.')
1187
+ mutation_policy_wanNetwork_createPolicyRevision_parser.add_argument('--headers-file', dest='headers_file', help='Load headers from a file. Each line should contain a header in "Key: Value" format.')
1101
1188
  mutation_policy_wanNetwork_createPolicyRevision_parser.set_defaults(func=createRequest,operation_name='mutation.policy.wanNetwork.createPolicyRevision')
1102
1189
 
1103
1190
  mutation_policy_wanNetwork_discardPolicyRevision_parser = mutation_policy_wanNetwork_subparsers.add_parser('discardPolicyRevision',
1104
1191
  help='discardPolicyRevision() wanNetwork operation',
1105
1192
  usage=get_help("mutation_policy_wanNetwork_discardPolicyRevision"))
1106
1193
 
1107
- mutation_policy_wanNetwork_discardPolicyRevision_parser.add_argument('json', help='Variables in JSON format.')
1194
+ mutation_policy_wanNetwork_discardPolicyRevision_parser.add_argument('json', nargs='?', default='{}', help='Variables in JSON format (defaults to empty object if not provided).')
1108
1195
  mutation_policy_wanNetwork_discardPolicyRevision_parser.add_argument('-accountID', help='Override the CATO_ACCOUNT_ID environment variable with this value.')
1109
- mutation_policy_wanNetwork_discardPolicyRevision_parser.add_argument('-t', const=True, default=False, nargs='?',
1110
- help='Print test request preview without sending api call')
1111
- mutation_policy_wanNetwork_discardPolicyRevision_parser.add_argument('-v', const=True, default=False, nargs='?',
1112
- help='Verbose output')
1113
- mutation_policy_wanNetwork_discardPolicyRevision_parser.add_argument('-p', const=True, default=False, nargs='?',
1114
- help='Pretty print')
1196
+ mutation_policy_wanNetwork_discardPolicyRevision_parser.add_argument('-t', const=True, default=False, nargs='?', help='Print GraphQL query without sending API call')
1197
+ mutation_policy_wanNetwork_discardPolicyRevision_parser.add_argument('-v', const=True, default=False, nargs='?', help='Verbose output')
1198
+ mutation_policy_wanNetwork_discardPolicyRevision_parser.add_argument('-p', const=True, default=False, nargs='?', help='Pretty print')
1199
+ mutation_policy_wanNetwork_discardPolicyRevision_parser.add_argument('-H', '--header', action='append', dest='headers', help='Add custom headers in "Key: Value" format. Can be used multiple times.')
1200
+ mutation_policy_wanNetwork_discardPolicyRevision_parser.add_argument('--headers-file', dest='headers_file', help='Load headers from a file. Each line should contain a header in "Key: Value" format.')
1115
1201
  mutation_policy_wanNetwork_discardPolicyRevision_parser.set_defaults(func=createRequest,operation_name='mutation.policy.wanNetwork.discardPolicyRevision')
1116
1202
 
1117
1203
  mutation_policy_wanNetwork_moveRule_parser = mutation_policy_wanNetwork_subparsers.add_parser('moveRule',
1118
1204
  help='moveRule() wanNetwork operation',
1119
1205
  usage=get_help("mutation_policy_wanNetwork_moveRule"))
1120
1206
 
1121
- mutation_policy_wanNetwork_moveRule_parser.add_argument('json', help='Variables in JSON format.')
1207
+ mutation_policy_wanNetwork_moveRule_parser.add_argument('json', nargs='?', default='{}', help='Variables in JSON format (defaults to empty object if not provided).')
1122
1208
  mutation_policy_wanNetwork_moveRule_parser.add_argument('-accountID', help='Override the CATO_ACCOUNT_ID environment variable with this value.')
1123
- mutation_policy_wanNetwork_moveRule_parser.add_argument('-t', const=True, default=False, nargs='?',
1124
- help='Print test request preview without sending api call')
1125
- mutation_policy_wanNetwork_moveRule_parser.add_argument('-v', const=True, default=False, nargs='?',
1126
- help='Verbose output')
1127
- mutation_policy_wanNetwork_moveRule_parser.add_argument('-p', const=True, default=False, nargs='?',
1128
- help='Pretty print')
1209
+ mutation_policy_wanNetwork_moveRule_parser.add_argument('-t', const=True, default=False, nargs='?', help='Print GraphQL query without sending API call')
1210
+ mutation_policy_wanNetwork_moveRule_parser.add_argument('-v', const=True, default=False, nargs='?', help='Verbose output')
1211
+ mutation_policy_wanNetwork_moveRule_parser.add_argument('-p', const=True, default=False, nargs='?', help='Pretty print')
1212
+ mutation_policy_wanNetwork_moveRule_parser.add_argument('-H', '--header', action='append', dest='headers', help='Add custom headers in "Key: Value" format. Can be used multiple times.')
1213
+ mutation_policy_wanNetwork_moveRule_parser.add_argument('--headers-file', dest='headers_file', help='Load headers from a file. Each line should contain a header in "Key: Value" format.')
1129
1214
  mutation_policy_wanNetwork_moveRule_parser.set_defaults(func=createRequest,operation_name='mutation.policy.wanNetwork.moveRule')
1130
1215
 
1131
1216
  mutation_policy_wanNetwork_moveSection_parser = mutation_policy_wanNetwork_subparsers.add_parser('moveSection',
1132
1217
  help='moveSection() wanNetwork operation',
1133
1218
  usage=get_help("mutation_policy_wanNetwork_moveSection"))
1134
1219
 
1135
- mutation_policy_wanNetwork_moveSection_parser.add_argument('json', help='Variables in JSON format.')
1220
+ mutation_policy_wanNetwork_moveSection_parser.add_argument('json', nargs='?', default='{}', help='Variables in JSON format (defaults to empty object if not provided).')
1136
1221
  mutation_policy_wanNetwork_moveSection_parser.add_argument('-accountID', help='Override the CATO_ACCOUNT_ID environment variable with this value.')
1137
- mutation_policy_wanNetwork_moveSection_parser.add_argument('-t', const=True, default=False, nargs='?',
1138
- help='Print test request preview without sending api call')
1139
- mutation_policy_wanNetwork_moveSection_parser.add_argument('-v', const=True, default=False, nargs='?',
1140
- help='Verbose output')
1141
- mutation_policy_wanNetwork_moveSection_parser.add_argument('-p', const=True, default=False, nargs='?',
1142
- help='Pretty print')
1222
+ mutation_policy_wanNetwork_moveSection_parser.add_argument('-t', const=True, default=False, nargs='?', help='Print GraphQL query without sending API call')
1223
+ mutation_policy_wanNetwork_moveSection_parser.add_argument('-v', const=True, default=False, nargs='?', help='Verbose output')
1224
+ mutation_policy_wanNetwork_moveSection_parser.add_argument('-p', const=True, default=False, nargs='?', help='Pretty print')
1225
+ mutation_policy_wanNetwork_moveSection_parser.add_argument('-H', '--header', action='append', dest='headers', help='Add custom headers in "Key: Value" format. Can be used multiple times.')
1226
+ mutation_policy_wanNetwork_moveSection_parser.add_argument('--headers-file', dest='headers_file', help='Load headers from a file. Each line should contain a header in "Key: Value" format.')
1143
1227
  mutation_policy_wanNetwork_moveSection_parser.set_defaults(func=createRequest,operation_name='mutation.policy.wanNetwork.moveSection')
1144
1228
 
1145
1229
  mutation_policy_wanNetwork_publishPolicyRevision_parser = mutation_policy_wanNetwork_subparsers.add_parser('publishPolicyRevision',
1146
1230
  help='publishPolicyRevision() wanNetwork operation',
1147
1231
  usage=get_help("mutation_policy_wanNetwork_publishPolicyRevision"))
1148
1232
 
1149
- mutation_policy_wanNetwork_publishPolicyRevision_parser.add_argument('json', help='Variables in JSON format.')
1233
+ mutation_policy_wanNetwork_publishPolicyRevision_parser.add_argument('json', nargs='?', default='{}', help='Variables in JSON format (defaults to empty object if not provided).')
1150
1234
  mutation_policy_wanNetwork_publishPolicyRevision_parser.add_argument('-accountID', help='Override the CATO_ACCOUNT_ID environment variable with this value.')
1151
- mutation_policy_wanNetwork_publishPolicyRevision_parser.add_argument('-t', const=True, default=False, nargs='?',
1152
- help='Print test request preview without sending api call')
1153
- mutation_policy_wanNetwork_publishPolicyRevision_parser.add_argument('-v', const=True, default=False, nargs='?',
1154
- help='Verbose output')
1155
- mutation_policy_wanNetwork_publishPolicyRevision_parser.add_argument('-p', const=True, default=False, nargs='?',
1156
- help='Pretty print')
1235
+ mutation_policy_wanNetwork_publishPolicyRevision_parser.add_argument('-t', const=True, default=False, nargs='?', help='Print GraphQL query without sending API call')
1236
+ mutation_policy_wanNetwork_publishPolicyRevision_parser.add_argument('-v', const=True, default=False, nargs='?', help='Verbose output')
1237
+ mutation_policy_wanNetwork_publishPolicyRevision_parser.add_argument('-p', const=True, default=False, nargs='?', help='Pretty print')
1238
+ mutation_policy_wanNetwork_publishPolicyRevision_parser.add_argument('-H', '--header', action='append', dest='headers', help='Add custom headers in "Key: Value" format. Can be used multiple times.')
1239
+ mutation_policy_wanNetwork_publishPolicyRevision_parser.add_argument('--headers-file', dest='headers_file', help='Load headers from a file. Each line should contain a header in "Key: Value" format.')
1157
1240
  mutation_policy_wanNetwork_publishPolicyRevision_parser.set_defaults(func=createRequest,operation_name='mutation.policy.wanNetwork.publishPolicyRevision')
1158
1241
 
1159
1242
  mutation_policy_wanNetwork_removeRule_parser = mutation_policy_wanNetwork_subparsers.add_parser('removeRule',
1160
1243
  help='removeRule() wanNetwork operation',
1161
1244
  usage=get_help("mutation_policy_wanNetwork_removeRule"))
1162
1245
 
1163
- mutation_policy_wanNetwork_removeRule_parser.add_argument('json', help='Variables in JSON format.')
1246
+ mutation_policy_wanNetwork_removeRule_parser.add_argument('json', nargs='?', default='{}', help='Variables in JSON format (defaults to empty object if not provided).')
1164
1247
  mutation_policy_wanNetwork_removeRule_parser.add_argument('-accountID', help='Override the CATO_ACCOUNT_ID environment variable with this value.')
1165
- mutation_policy_wanNetwork_removeRule_parser.add_argument('-t', const=True, default=False, nargs='?',
1166
- help='Print test request preview without sending api call')
1167
- mutation_policy_wanNetwork_removeRule_parser.add_argument('-v', const=True, default=False, nargs='?',
1168
- help='Verbose output')
1169
- mutation_policy_wanNetwork_removeRule_parser.add_argument('-p', const=True, default=False, nargs='?',
1170
- help='Pretty print')
1248
+ mutation_policy_wanNetwork_removeRule_parser.add_argument('-t', const=True, default=False, nargs='?', help='Print GraphQL query without sending API call')
1249
+ mutation_policy_wanNetwork_removeRule_parser.add_argument('-v', const=True, default=False, nargs='?', help='Verbose output')
1250
+ mutation_policy_wanNetwork_removeRule_parser.add_argument('-p', const=True, default=False, nargs='?', help='Pretty print')
1251
+ mutation_policy_wanNetwork_removeRule_parser.add_argument('-H', '--header', action='append', dest='headers', help='Add custom headers in "Key: Value" format. Can be used multiple times.')
1252
+ mutation_policy_wanNetwork_removeRule_parser.add_argument('--headers-file', dest='headers_file', help='Load headers from a file. Each line should contain a header in "Key: Value" format.')
1171
1253
  mutation_policy_wanNetwork_removeRule_parser.set_defaults(func=createRequest,operation_name='mutation.policy.wanNetwork.removeRule')
1172
1254
 
1173
1255
  mutation_policy_wanNetwork_removeSection_parser = mutation_policy_wanNetwork_subparsers.add_parser('removeSection',
1174
1256
  help='removeSection() wanNetwork operation',
1175
1257
  usage=get_help("mutation_policy_wanNetwork_removeSection"))
1176
1258
 
1177
- mutation_policy_wanNetwork_removeSection_parser.add_argument('json', help='Variables in JSON format.')
1259
+ mutation_policy_wanNetwork_removeSection_parser.add_argument('json', nargs='?', default='{}', help='Variables in JSON format (defaults to empty object if not provided).')
1178
1260
  mutation_policy_wanNetwork_removeSection_parser.add_argument('-accountID', help='Override the CATO_ACCOUNT_ID environment variable with this value.')
1179
- mutation_policy_wanNetwork_removeSection_parser.add_argument('-t', const=True, default=False, nargs='?',
1180
- help='Print test request preview without sending api call')
1181
- mutation_policy_wanNetwork_removeSection_parser.add_argument('-v', const=True, default=False, nargs='?',
1182
- help='Verbose output')
1183
- mutation_policy_wanNetwork_removeSection_parser.add_argument('-p', const=True, default=False, nargs='?',
1184
- help='Pretty print')
1261
+ mutation_policy_wanNetwork_removeSection_parser.add_argument('-t', const=True, default=False, nargs='?', help='Print GraphQL query without sending API call')
1262
+ mutation_policy_wanNetwork_removeSection_parser.add_argument('-v', const=True, default=False, nargs='?', help='Verbose output')
1263
+ mutation_policy_wanNetwork_removeSection_parser.add_argument('-p', const=True, default=False, nargs='?', help='Pretty print')
1264
+ mutation_policy_wanNetwork_removeSection_parser.add_argument('-H', '--header', action='append', dest='headers', help='Add custom headers in "Key: Value" format. Can be used multiple times.')
1265
+ mutation_policy_wanNetwork_removeSection_parser.add_argument('--headers-file', dest='headers_file', help='Load headers from a file. Each line should contain a header in "Key: Value" format.')
1185
1266
  mutation_policy_wanNetwork_removeSection_parser.set_defaults(func=createRequest,operation_name='mutation.policy.wanNetwork.removeSection')
1186
1267
 
1187
1268
  mutation_policy_wanNetwork_updatePolicy_parser = mutation_policy_wanNetwork_subparsers.add_parser('updatePolicy',
1188
1269
  help='updatePolicy() wanNetwork operation',
1189
1270
  usage=get_help("mutation_policy_wanNetwork_updatePolicy"))
1190
1271
 
1191
- mutation_policy_wanNetwork_updatePolicy_parser.add_argument('json', help='Variables in JSON format.')
1272
+ mutation_policy_wanNetwork_updatePolicy_parser.add_argument('json', nargs='?', default='{}', help='Variables in JSON format (defaults to empty object if not provided).')
1192
1273
  mutation_policy_wanNetwork_updatePolicy_parser.add_argument('-accountID', help='Override the CATO_ACCOUNT_ID environment variable with this value.')
1193
- mutation_policy_wanNetwork_updatePolicy_parser.add_argument('-t', const=True, default=False, nargs='?',
1194
- help='Print test request preview without sending api call')
1195
- mutation_policy_wanNetwork_updatePolicy_parser.add_argument('-v', const=True, default=False, nargs='?',
1196
- help='Verbose output')
1197
- mutation_policy_wanNetwork_updatePolicy_parser.add_argument('-p', const=True, default=False, nargs='?',
1198
- help='Pretty print')
1274
+ mutation_policy_wanNetwork_updatePolicy_parser.add_argument('-t', const=True, default=False, nargs='?', help='Print GraphQL query without sending API call')
1275
+ mutation_policy_wanNetwork_updatePolicy_parser.add_argument('-v', const=True, default=False, nargs='?', help='Verbose output')
1276
+ mutation_policy_wanNetwork_updatePolicy_parser.add_argument('-p', const=True, default=False, nargs='?', help='Pretty print')
1277
+ mutation_policy_wanNetwork_updatePolicy_parser.add_argument('-H', '--header', action='append', dest='headers', help='Add custom headers in "Key: Value" format. Can be used multiple times.')
1278
+ mutation_policy_wanNetwork_updatePolicy_parser.add_argument('--headers-file', dest='headers_file', help='Load headers from a file. Each line should contain a header in "Key: Value" format.')
1199
1279
  mutation_policy_wanNetwork_updatePolicy_parser.set_defaults(func=createRequest,operation_name='mutation.policy.wanNetwork.updatePolicy')
1200
1280
 
1201
1281
  mutation_policy_wanNetwork_updateRule_parser = mutation_policy_wanNetwork_subparsers.add_parser('updateRule',
1202
1282
  help='updateRule() wanNetwork operation',
1203
1283
  usage=get_help("mutation_policy_wanNetwork_updateRule"))
1204
1284
 
1205
- mutation_policy_wanNetwork_updateRule_parser.add_argument('json', help='Variables in JSON format.')
1285
+ mutation_policy_wanNetwork_updateRule_parser.add_argument('json', nargs='?', default='{}', help='Variables in JSON format (defaults to empty object if not provided).')
1206
1286
  mutation_policy_wanNetwork_updateRule_parser.add_argument('-accountID', help='Override the CATO_ACCOUNT_ID environment variable with this value.')
1207
- mutation_policy_wanNetwork_updateRule_parser.add_argument('-t', const=True, default=False, nargs='?',
1208
- help='Print test request preview without sending api call')
1209
- mutation_policy_wanNetwork_updateRule_parser.add_argument('-v', const=True, default=False, nargs='?',
1210
- help='Verbose output')
1211
- mutation_policy_wanNetwork_updateRule_parser.add_argument('-p', const=True, default=False, nargs='?',
1212
- help='Pretty print')
1287
+ mutation_policy_wanNetwork_updateRule_parser.add_argument('-t', const=True, default=False, nargs='?', help='Print GraphQL query without sending API call')
1288
+ mutation_policy_wanNetwork_updateRule_parser.add_argument('-v', const=True, default=False, nargs='?', help='Verbose output')
1289
+ mutation_policy_wanNetwork_updateRule_parser.add_argument('-p', const=True, default=False, nargs='?', help='Pretty print')
1290
+ mutation_policy_wanNetwork_updateRule_parser.add_argument('-H', '--header', action='append', dest='headers', help='Add custom headers in "Key: Value" format. Can be used multiple times.')
1291
+ mutation_policy_wanNetwork_updateRule_parser.add_argument('--headers-file', dest='headers_file', help='Load headers from a file. Each line should contain a header in "Key: Value" format.')
1213
1292
  mutation_policy_wanNetwork_updateRule_parser.set_defaults(func=createRequest,operation_name='mutation.policy.wanNetwork.updateRule')
1214
1293
 
1215
1294
  mutation_policy_wanNetwork_updateSection_parser = mutation_policy_wanNetwork_subparsers.add_parser('updateSection',
1216
1295
  help='updateSection() wanNetwork operation',
1217
1296
  usage=get_help("mutation_policy_wanNetwork_updateSection"))
1218
1297
 
1219
- mutation_policy_wanNetwork_updateSection_parser.add_argument('json', help='Variables in JSON format.')
1298
+ mutation_policy_wanNetwork_updateSection_parser.add_argument('json', nargs='?', default='{}', help='Variables in JSON format (defaults to empty object if not provided).')
1220
1299
  mutation_policy_wanNetwork_updateSection_parser.add_argument('-accountID', help='Override the CATO_ACCOUNT_ID environment variable with this value.')
1221
- mutation_policy_wanNetwork_updateSection_parser.add_argument('-t', const=True, default=False, nargs='?',
1222
- help='Print test request preview without sending api call')
1223
- mutation_policy_wanNetwork_updateSection_parser.add_argument('-v', const=True, default=False, nargs='?',
1224
- help='Verbose output')
1225
- mutation_policy_wanNetwork_updateSection_parser.add_argument('-p', const=True, default=False, nargs='?',
1226
- help='Pretty print')
1300
+ mutation_policy_wanNetwork_updateSection_parser.add_argument('-t', const=True, default=False, nargs='?', help='Print GraphQL query without sending API call')
1301
+ mutation_policy_wanNetwork_updateSection_parser.add_argument('-v', const=True, default=False, nargs='?', help='Verbose output')
1302
+ mutation_policy_wanNetwork_updateSection_parser.add_argument('-p', const=True, default=False, nargs='?', help='Pretty print')
1303
+ mutation_policy_wanNetwork_updateSection_parser.add_argument('-H', '--header', action='append', dest='headers', help='Add custom headers in "Key: Value" format. Can be used multiple times.')
1304
+ mutation_policy_wanNetwork_updateSection_parser.add_argument('--headers-file', dest='headers_file', help='Load headers from a file. Each line should contain a header in "Key: Value" format.')
1227
1305
  mutation_policy_wanNetwork_updateSection_parser.set_defaults(func=createRequest,operation_name='mutation.policy.wanNetwork.updateSection')