catocli 1.0.12__py3-none-any.whl → 1.0.13__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.
- build/lib/catocli/Utils/clidriver.py +117 -0
- build/lib/catocli/__init__.py +2 -0
- build/lib/catocli/__main__.py +12 -0
- build/lib/catocli/parsers/custom/__init__.py +47 -0
- build/lib/catocli/parsers/custom/customLib.py +70 -0
- build/lib/catocli/parsers/mutation_admin/__init__.py +51 -0
- build/lib/catocli/parsers/mutation_container/__init__.py +23 -0
- build/lib/catocli/parsers/mutation_policy/__init__.py +357 -0
- build/lib/catocli/parsers/mutation_site/__init__.py +219 -0
- build/lib/catocli/parsers/mutation_sites/__init__.py +219 -0
- build/lib/catocli/parsers/parserApiClient.py +309 -0
- build/lib/catocli/parsers/query_accountBySubdomain/__init__.py +17 -0
- build/lib/catocli/parsers/query_accountMetrics/__init__.py +17 -0
- build/lib/catocli/parsers/query_accountRoles/__init__.py +17 -0
- build/lib/catocli/parsers/query_accountSnapshot/__init__.py +17 -0
- build/lib/catocli/parsers/query_admin/__init__.py +17 -0
- build/lib/catocli/parsers/query_admins/__init__.py +17 -0
- build/lib/catocli/parsers/query_appStats/__init__.py +17 -0
- build/lib/catocli/parsers/query_appStatsTimeSeries/__init__.py +17 -0
- build/lib/catocli/parsers/query_auditFeed/__init__.py +17 -0
- build/lib/catocli/parsers/query_container/__init__.py +17 -0
- build/lib/catocli/parsers/query_entityLookup/__init__.py +17 -0
- build/lib/catocli/parsers/query_events/__init__.py +17 -0
- build/lib/catocli/parsers/query_eventsFeed/__init__.py +17 -0
- build/lib/catocli/parsers/query_eventsTimeSeries/__init__.py +17 -0
- build/lib/catocli/parsers/query_hardwareManagement/__init__.py +17 -0
- build/lib/catocli/parsers/query_licensing/__init__.py +17 -0
- build/lib/catocli/parsers/query_policy/__init__.py +17 -0
- build/lib/catocli/parsers/query_siteLocation/__init__.py +17 -0
- build/lib/catocli/parsers/query_subDomains/__init__.py +17 -0
- build/lib/catocli/parsers/query_xdr/__init__.py +37 -0
- build/lib/catocli/parsers/raw/__init__.py +9 -0
- build/lib/graphql_client/__init__.py +11 -0
- build/lib/graphql_client/api/__init__.py +3 -0
- build/lib/graphql_client/api/call_api.py +73 -0
- build/lib/graphql_client/api_client.py +192 -0
- build/lib/graphql_client/api_client_types.py +404 -0
- build/lib/graphql_client/configuration.py +230 -0
- build/lib/graphql_client/models/__init__.py +13 -0
- build/lib/graphql_client/models/no_schema.py +71 -0
- build/lib/schema/catolib.py +1016 -0
- build/lib/schema/importSchema.py +60 -0
- build/lib/vendor/certifi/__init__.py +4 -0
- build/lib/vendor/certifi/__main__.py +12 -0
- build/lib/vendor/certifi/core.py +114 -0
- build/lib/vendor/certifi/py.typed +0 -0
- build/lib/vendor/six.py +998 -0
- build/lib/vendor/urllib3/__init__.py +211 -0
- build/lib/vendor/urllib3/_base_connection.py +172 -0
- build/lib/vendor/urllib3/_collections.py +483 -0
- build/lib/vendor/urllib3/_request_methods.py +278 -0
- build/lib/vendor/urllib3/_version.py +16 -0
- build/lib/vendor/urllib3/connection.py +1033 -0
- build/lib/vendor/urllib3/connectionpool.py +1182 -0
- build/lib/vendor/urllib3/contrib/__init__.py +0 -0
- build/lib/vendor/urllib3/contrib/emscripten/__init__.py +18 -0
- build/lib/vendor/urllib3/contrib/emscripten/connection.py +254 -0
- build/lib/vendor/urllib3/contrib/emscripten/fetch.py +418 -0
- build/lib/vendor/urllib3/contrib/emscripten/request.py +22 -0
- build/lib/vendor/urllib3/contrib/emscripten/response.py +285 -0
- build/lib/vendor/urllib3/contrib/pyopenssl.py +552 -0
- build/lib/vendor/urllib3/contrib/socks.py +228 -0
- build/lib/vendor/urllib3/exceptions.py +321 -0
- build/lib/vendor/urllib3/fields.py +341 -0
- build/lib/vendor/urllib3/filepost.py +89 -0
- build/lib/vendor/urllib3/http2/__init__.py +53 -0
- build/lib/vendor/urllib3/http2/connection.py +356 -0
- build/lib/vendor/urllib3/http2/probe.py +87 -0
- build/lib/vendor/urllib3/poolmanager.py +637 -0
- build/lib/vendor/urllib3/py.typed +2 -0
- build/lib/vendor/urllib3/response.py +1265 -0
- build/lib/vendor/urllib3/util/__init__.py +42 -0
- build/lib/vendor/urllib3/util/connection.py +137 -0
- build/lib/vendor/urllib3/util/proxy.py +43 -0
- build/lib/vendor/urllib3/util/request.py +256 -0
- build/lib/vendor/urllib3/util/response.py +101 -0
- build/lib/vendor/urllib3/util/retry.py +533 -0
- build/lib/vendor/urllib3/util/ssl_.py +513 -0
- build/lib/vendor/urllib3/util/ssl_match_hostname.py +159 -0
- build/lib/vendor/urllib3/util/ssltransport.py +276 -0
- build/lib/vendor/urllib3/util/timeout.py +275 -0
- build/lib/vendor/urllib3/util/url.py +471 -0
- build/lib/vendor/urllib3/util/util.py +42 -0
- build/lib/vendor/urllib3/util/wait.py +124 -0
- catocli/__init__.py +1 -1
- catocli/parsers/custom/__init__.py +1 -1
- catocli/parsers/custom/customLib.py +1 -2
- catocli/parsers/mutation_site_updateSiteGeneralDetails/README.md +1 -1
- catocli/parsers/mutation_sites_updateSiteGeneralDetails/README.md +1 -1
- catocli/parsers/query_eventsFeed/README.md +1 -1
- {catocli-1.0.12.dist-info → catocli-1.0.13.dist-info}/METADATA +1 -1
- {catocli-1.0.12.dist-info → catocli-1.0.13.dist-info}/RECORD +104 -21
- {catocli-1.0.12.dist-info → catocli-1.0.13.dist-info}/top_level.txt +2 -0
- models/mutation.site.updateSiteGeneralDetails.json +57 -0
- models/mutation.sites.updateSiteGeneralDetails.json +57 -0
- models/query.accountMetrics.json +80 -0
- models/query.accountSnapshot.json +40 -0
- models/query.auditFeed.json +60 -0
- models/query.events.json +240 -0
- models/query.eventsFeed.json +60 -0
- models/query.eventsTimeSeries.json +180 -0
- vendor/.DS_Store +0 -0
- {catocli-1.0.12.dist-info → catocli-1.0.13.dist-info}/LICENSE +0 -0
- {catocli-1.0.12.dist-info → catocli-1.0.13.dist-info}/WHEEL +0 -0
- {catocli-1.0.12.dist-info → catocli-1.0.13.dist-info}/entry_points.txt +0 -0
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
"""
|
|
4
|
+
OpenAPI spec version: 1.0.0
|
|
5
|
+
|
|
6
|
+
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
|
7
|
+
"""
|
|
8
|
+
|
|
9
|
+
import pprint
|
|
10
|
+
import re # noqa: F401
|
|
11
|
+
|
|
12
|
+
# python 2 and python 3 compatibility library
|
|
13
|
+
import sys
|
|
14
|
+
sys.path.insert(0, 'vendor')
|
|
15
|
+
import six
|
|
16
|
+
|
|
17
|
+
class NoSchema(object):
|
|
18
|
+
swagger_types = {}
|
|
19
|
+
|
|
20
|
+
attribute_map = {
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
def __init__(self): # noqa: E501
|
|
24
|
+
"""NoSchema - a model defined in Swagger""" # noqa: E501
|
|
25
|
+
self.discriminator = None
|
|
26
|
+
|
|
27
|
+
def to_dict(self):
|
|
28
|
+
"""Returns the model properties as a dict"""
|
|
29
|
+
result = {}
|
|
30
|
+
|
|
31
|
+
for attr, _ in six.iteritems(self.swagger_types):
|
|
32
|
+
value = getattr(self, attr)
|
|
33
|
+
if isinstance(value, list):
|
|
34
|
+
result[attr] = list(map(
|
|
35
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
|
36
|
+
value
|
|
37
|
+
))
|
|
38
|
+
elif hasattr(value, "to_dict"):
|
|
39
|
+
result[attr] = value.to_dict()
|
|
40
|
+
elif isinstance(value, dict):
|
|
41
|
+
result[attr] = dict(map(
|
|
42
|
+
lambda item: (item[0], item[1].to_dict())
|
|
43
|
+
if hasattr(item[1], "to_dict") else item,
|
|
44
|
+
value.items()
|
|
45
|
+
))
|
|
46
|
+
else:
|
|
47
|
+
result[attr] = value
|
|
48
|
+
if issubclass(NoSchema, dict):
|
|
49
|
+
for key, value in self.items():
|
|
50
|
+
result[key] = value
|
|
51
|
+
|
|
52
|
+
return result
|
|
53
|
+
|
|
54
|
+
def to_str(self):
|
|
55
|
+
"""Returns the string representation of the model"""
|
|
56
|
+
return pprint.pformat(self.to_dict())
|
|
57
|
+
|
|
58
|
+
def __repr__(self):
|
|
59
|
+
"""For `print` and `pprint`"""
|
|
60
|
+
return self.to_str()
|
|
61
|
+
|
|
62
|
+
def __eq__(self, other):
|
|
63
|
+
"""Returns true if both objects are equal"""
|
|
64
|
+
if not isinstance(other, NoSchema):
|
|
65
|
+
return False
|
|
66
|
+
|
|
67
|
+
return self.__dict__ == other.__dict__
|
|
68
|
+
|
|
69
|
+
def __ne__(self, other):
|
|
70
|
+
"""Returns true if both objects are not equal"""
|
|
71
|
+
return not self == other
|