zrok2-build-debugging 22.0.2000008__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.
Files changed (213) hide show
  1. test/__init__.py +0 -0
  2. test/test_access201_response.py +52 -0
  3. test/test_access_request.py +54 -0
  4. test/test_access_summary.py +60 -0
  5. test/test_accesses_list.py +63 -0
  6. test/test_account_api.py +79 -0
  7. test/test_add_frontend_grant_request.py +52 -0
  8. test/test_add_namespace_frontend_mapping_request.py +53 -0
  9. test/test_add_namespace_grant_request.py +52 -0
  10. test/test_add_organization_member_request.py +53 -0
  11. test/test_admin_api.py +199 -0
  12. test/test_agent_api.py +85 -0
  13. test/test_auth_user.py +52 -0
  14. test/test_change_password_request.py +53 -0
  15. test/test_client_version_check_request.py +51 -0
  16. test/test_configuration.py +56 -0
  17. test/test_create_frontend201_response.py +51 -0
  18. test/test_create_frontend_request.py +55 -0
  19. test/test_create_identity201_response.py +52 -0
  20. test/test_create_identity_request.py +51 -0
  21. test/test_create_namespace201_response.py +51 -0
  22. test/test_create_namespace_request.py +54 -0
  23. test/test_create_organization201_response.py +51 -0
  24. test/test_create_organization_request.py +51 -0
  25. test/test_create_share_name_request.py +52 -0
  26. test/test_delete_identity_request.py +51 -0
  27. test/test_disable_request.py +51 -0
  28. test/test_enable_request.py +52 -0
  29. test/test_enroll200_response.py +51 -0
  30. test/test_enroll_request.py +51 -0
  31. test/test_environment.py +63 -0
  32. test/test_environment_and_resources.py +96 -0
  33. test/test_environment_api.py +43 -0
  34. test/test_environment_summary.py +60 -0
  35. test/test_environments_list.py +63 -0
  36. test/test_frontend.py +59 -0
  37. test/test_get_sparklines200_response.py +62 -0
  38. test/test_get_sparklines_request.py +57 -0
  39. test/test_invite_request.py +52 -0
  40. test/test_invite_token_generate_request.py +53 -0
  41. test/test_list_frontend_namespace_mappings200_response_inner.py +54 -0
  42. test/test_list_frontends200_response_inner.py +58 -0
  43. test/test_list_memberships200_response.py +56 -0
  44. test/test_list_memberships200_response_memberships_inner.py +53 -0
  45. test/test_list_namespaces200_response_inner.py +56 -0
  46. test/test_list_organization_members200_response.py +55 -0
  47. test/test_list_organization_members200_response_members_inner.py +52 -0
  48. test/test_list_organizations200_response.py +55 -0
  49. test/test_list_organizations200_response_organizations_inner.py +52 -0
  50. test/test_list_share_namespaces200_response_inner.py +53 -0
  51. test/test_login_request.py +52 -0
  52. test/test_metadata_api.py +145 -0
  53. test/test_metrics.py +59 -0
  54. test/test_metrics_sample.py +53 -0
  55. test/test_name.py +56 -0
  56. test/test_name_selection.py +52 -0
  57. test/test_overview.py +110 -0
  58. test/test_overview_names_inner.py +56 -0
  59. test/test_ping200_response.py +51 -0
  60. test/test_principal.py +55 -0
  61. test/test_regenerate_account_token200_response.py +51 -0
  62. test/test_regenerate_account_token_request.py +51 -0
  63. test/test_register_request.py +52 -0
  64. test/test_remote_access_request.py +60 -0
  65. test/test_remote_share200_response.py +54 -0
  66. test/test_remote_share_request.py +74 -0
  67. test/test_remote_status200_response.py +82 -0
  68. test/test_remote_status200_response_accesses_inner.py +62 -0
  69. test/test_remote_status200_response_shares_inner.py +64 -0
  70. test/test_remote_status200_response_shares_inner_failure.py +54 -0
  71. test/test_remote_unaccess_request.py +52 -0
  72. test/test_remote_unshare_request.py +52 -0
  73. test/test_remove_namespace_frontend_mapping_request.py +52 -0
  74. test/test_remove_organization_member_request.py +52 -0
  75. test/test_reset_password_request.py +52 -0
  76. test/test_share.py +67 -0
  77. test/test_share_api.py +103 -0
  78. test/test_share_http_healthcheck200_response.py +52 -0
  79. test/test_share_http_healthcheck_request.py +56 -0
  80. test/test_share_request.py +75 -0
  81. test/test_share_response.py +54 -0
  82. test/test_share_summary.py +62 -0
  83. test/test_shares_list.py +65 -0
  84. test/test_spark_data_sample.py +52 -0
  85. test/test_unaccess_request.py +53 -0
  86. test/test_unshare_request.py +52 -0
  87. test/test_update_access_request.py +53 -0
  88. test/test_update_frontend_request.py +55 -0
  89. test/test_update_namespace_request.py +55 -0
  90. test/test_update_share_name_request.py +53 -0
  91. test/test_update_share_request.py +57 -0
  92. test/test_verify200_response.py +51 -0
  93. test/test_verify_request.py +51 -0
  94. test/test_version_inventory200_response.py +51 -0
  95. zrok/__init__.py +4 -0
  96. zrok/_version.py +21 -0
  97. zrok/access.py +58 -0
  98. zrok/decor.py +33 -0
  99. zrok/dialer.py +10 -0
  100. zrok/environment/__init__.py +1 -0
  101. zrok/environment/dirs.py +32 -0
  102. zrok/environment/root.py +182 -0
  103. zrok/listener.py +29 -0
  104. zrok/model.py +75 -0
  105. zrok/overview.py +77 -0
  106. zrok/proxy.py +203 -0
  107. zrok/share.py +199 -0
  108. zrok2_build_debugging-22.0.2000008.dist-info/METADATA +24 -0
  109. zrok2_build_debugging-22.0.2000008.dist-info/RECORD +213 -0
  110. zrok2_build_debugging-22.0.2000008.dist-info/WHEEL +5 -0
  111. zrok2_build_debugging-22.0.2000008.dist-info/top_level.txt +3 -0
  112. zrok_api/__init__.py +231 -0
  113. zrok_api/api/__init__.py +10 -0
  114. zrok_api/api/account_api.py +2261 -0
  115. zrok_api/api/admin_api.py +7673 -0
  116. zrok_api/api/agent_api.py +2547 -0
  117. zrok_api/api/environment_api.py +589 -0
  118. zrok_api/api/metadata_api.py +5614 -0
  119. zrok_api/api/share_api.py +3321 -0
  120. zrok_api/api_client.py +801 -0
  121. zrok_api/api_response.py +21 -0
  122. zrok_api/configuration.py +602 -0
  123. zrok_api/exceptions.py +216 -0
  124. zrok_api/models/__init__.py +103 -0
  125. zrok_api/models/access201_response.py +89 -0
  126. zrok_api/models/access_request.py +93 -0
  127. zrok_api/models/access_summary.py +105 -0
  128. zrok_api/models/accesses_list.py +95 -0
  129. zrok_api/models/add_frontend_grant_request.py +89 -0
  130. zrok_api/models/add_namespace_frontend_mapping_request.py +91 -0
  131. zrok_api/models/add_namespace_grant_request.py +89 -0
  132. zrok_api/models/add_organization_member_request.py +91 -0
  133. zrok_api/models/auth_user.py +89 -0
  134. zrok_api/models/change_password_request.py +91 -0
  135. zrok_api/models/client_version_check_request.py +87 -0
  136. zrok_api/models/configuration.py +97 -0
  137. zrok_api/models/create_frontend201_response.py +87 -0
  138. zrok_api/models/create_frontend_request.py +105 -0
  139. zrok_api/models/create_identity201_response.py +89 -0
  140. zrok_api/models/create_identity_request.py +87 -0
  141. zrok_api/models/create_namespace201_response.py +87 -0
  142. zrok_api/models/create_namespace_request.py +93 -0
  143. zrok_api/models/create_organization201_response.py +87 -0
  144. zrok_api/models/create_organization_request.py +87 -0
  145. zrok_api/models/create_share_name_request.py +89 -0
  146. zrok_api/models/delete_identity_request.py +87 -0
  147. zrok_api/models/disable_request.py +87 -0
  148. zrok_api/models/enable_request.py +89 -0
  149. zrok_api/models/enroll200_response.py +87 -0
  150. zrok_api/models/enroll_request.py +87 -0
  151. zrok_api/models/environment.py +111 -0
  152. zrok_api/models/environment_and_resources.py +111 -0
  153. zrok_api/models/environment_summary.py +105 -0
  154. zrok_api/models/environments_list.py +95 -0
  155. zrok_api/models/frontend.py +103 -0
  156. zrok_api/models/get_sparklines200_response.py +95 -0
  157. zrok_api/models/get_sparklines_request.py +91 -0
  158. zrok_api/models/invite_request.py +89 -0
  159. zrok_api/models/invite_token_generate_request.py +87 -0
  160. zrok_api/models/list_frontend_namespace_mappings200_response_inner.py +93 -0
  161. zrok_api/models/list_frontends200_response_inner.py +101 -0
  162. zrok_api/models/list_memberships200_response.py +95 -0
  163. zrok_api/models/list_memberships200_response_memberships_inner.py +91 -0
  164. zrok_api/models/list_namespaces200_response_inner.py +97 -0
  165. zrok_api/models/list_organization_members200_response.py +95 -0
  166. zrok_api/models/list_organization_members200_response_members_inner.py +89 -0
  167. zrok_api/models/list_organizations200_response.py +95 -0
  168. zrok_api/models/list_organizations200_response_organizations_inner.py +89 -0
  169. zrok_api/models/list_share_namespaces200_response_inner.py +91 -0
  170. zrok_api/models/login_request.py +89 -0
  171. zrok_api/models/metrics.py +101 -0
  172. zrok_api/models/metrics_sample.py +91 -0
  173. zrok_api/models/name.py +97 -0
  174. zrok_api/models/name_selection.py +89 -0
  175. zrok_api/models/overview.py +117 -0
  176. zrok_api/models/overview_names_inner.py +97 -0
  177. zrok_api/models/ping200_response.py +87 -0
  178. zrok_api/models/principal.py +95 -0
  179. zrok_api/models/regenerate_account_token200_response.py +87 -0
  180. zrok_api/models/regenerate_account_token_request.py +87 -0
  181. zrok_api/models/register_request.py +89 -0
  182. zrok_api/models/remote_access_request.py +102 -0
  183. zrok_api/models/remote_share200_response.py +89 -0
  184. zrok_api/models/remote_share_request.py +141 -0
  185. zrok_api/models/remote_status200_response.py +105 -0
  186. zrok_api/models/remote_status200_response_accesses_inner.py +101 -0
  187. zrok_api/models/remote_status200_response_shares_inner.py +105 -0
  188. zrok_api/models/remote_status200_response_shares_inner_failure.py +93 -0
  189. zrok_api/models/remote_unaccess_request.py +89 -0
  190. zrok_api/models/remote_unshare_request.py +89 -0
  191. zrok_api/models/remove_namespace_frontend_mapping_request.py +89 -0
  192. zrok_api/models/remove_organization_member_request.py +89 -0
  193. zrok_api/models/reset_password_request.py +89 -0
  194. zrok_api/models/share.py +115 -0
  195. zrok_api/models/share_http_healthcheck200_response.py +89 -0
  196. zrok_api/models/share_http_healthcheck_request.py +97 -0
  197. zrok_api/models/share_request.py +157 -0
  198. zrok_api/models/share_response.py +89 -0
  199. zrok_api/models/share_summary.py +105 -0
  200. zrok_api/models/shares_list.py +95 -0
  201. zrok_api/models/spark_data_sample.py +89 -0
  202. zrok_api/models/unaccess_request.py +91 -0
  203. zrok_api/models/unshare_request.py +89 -0
  204. zrok_api/models/update_access_request.py +91 -0
  205. zrok_api/models/update_frontend_request.py +95 -0
  206. zrok_api/models/update_namespace_request.py +95 -0
  207. zrok_api/models/update_share_name_request.py +91 -0
  208. zrok_api/models/update_share_request.py +91 -0
  209. zrok_api/models/verify200_response.py +87 -0
  210. zrok_api/models/verify_request.py +87 -0
  211. zrok_api/models/version_inventory200_response.py +87 -0
  212. zrok_api/py.typed +0 -0
  213. zrok_api/rest.py +258 -0
@@ -0,0 +1,43 @@
1
+ # coding: utf-8
2
+
3
+ """
4
+ zrok
5
+
6
+ zrok client access
7
+
8
+ The version of the OpenAPI document: 2.0.0
9
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
10
+
11
+ Do not edit the class manually.
12
+ """ # noqa: E501
13
+
14
+
15
+ import unittest
16
+
17
+ from zrok_api.api.environment_api import EnvironmentApi
18
+
19
+
20
+ class TestEnvironmentApi(unittest.TestCase):
21
+ """EnvironmentApi unit test stubs"""
22
+
23
+ def setUp(self) -> None:
24
+ self.api = EnvironmentApi()
25
+
26
+ def tearDown(self) -> None:
27
+ pass
28
+
29
+ def test_disable(self) -> None:
30
+ """Test case for disable
31
+
32
+ """
33
+ pass
34
+
35
+ def test_enable(self) -> None:
36
+ """Test case for enable
37
+
38
+ """
39
+ pass
40
+
41
+
42
+ if __name__ == '__main__':
43
+ unittest.main()
@@ -0,0 +1,60 @@
1
+ # coding: utf-8
2
+
3
+ """
4
+ zrok
5
+
6
+ zrok client access
7
+
8
+ The version of the OpenAPI document: 2.0.0
9
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
10
+
11
+ Do not edit the class manually.
12
+ """ # noqa: E501
13
+
14
+
15
+ import unittest
16
+
17
+ from zrok_api.models.environment_summary import EnvironmentSummary
18
+
19
+ class TestEnvironmentSummary(unittest.TestCase):
20
+ """EnvironmentSummary unit test stubs"""
21
+
22
+ def setUp(self):
23
+ pass
24
+
25
+ def tearDown(self):
26
+ pass
27
+
28
+ def make_instance(self, include_optional) -> EnvironmentSummary:
29
+ """Test EnvironmentSummary
30
+ include_optional is a boolean, when False only required
31
+ params are included, when True both required and
32
+ optional params are included """
33
+ # uncomment below to create an instance of `EnvironmentSummary`
34
+ """
35
+ model = EnvironmentSummary()
36
+ if include_optional:
37
+ return EnvironmentSummary(
38
+ env_zid = '',
39
+ description = '',
40
+ host = '',
41
+ address = '',
42
+ remote_agent = True,
43
+ share_count = 56,
44
+ access_count = 56,
45
+ limited = True,
46
+ created_at = 56,
47
+ updated_at = 56
48
+ )
49
+ else:
50
+ return EnvironmentSummary(
51
+ )
52
+ """
53
+
54
+ def testEnvironmentSummary(self):
55
+ """Test EnvironmentSummary"""
56
+ # inst_req_only = self.make_instance(include_optional=False)
57
+ # inst_req_and_optional = self.make_instance(include_optional=True)
58
+
59
+ if __name__ == '__main__':
60
+ unittest.main()
@@ -0,0 +1,63 @@
1
+ # coding: utf-8
2
+
3
+ """
4
+ zrok
5
+
6
+ zrok client access
7
+
8
+ The version of the OpenAPI document: 2.0.0
9
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
10
+
11
+ Do not edit the class manually.
12
+ """ # noqa: E501
13
+
14
+
15
+ import unittest
16
+
17
+ from zrok_api.models.environments_list import EnvironmentsList
18
+
19
+ class TestEnvironmentsList(unittest.TestCase):
20
+ """EnvironmentsList unit test stubs"""
21
+
22
+ def setUp(self):
23
+ pass
24
+
25
+ def tearDown(self):
26
+ pass
27
+
28
+ def make_instance(self, include_optional) -> EnvironmentsList:
29
+ """Test EnvironmentsList
30
+ include_optional is a boolean, when False only required
31
+ params are included, when True both required and
32
+ optional params are included """
33
+ # uncomment below to create an instance of `EnvironmentsList`
34
+ """
35
+ model = EnvironmentsList()
36
+ if include_optional:
37
+ return EnvironmentsList(
38
+ environments = [
39
+ zrok_api.models.environment_summary.environmentSummary(
40
+ env_zid = '',
41
+ description = '',
42
+ host = '',
43
+ address = '',
44
+ remote_agent = True,
45
+ share_count = 56,
46
+ access_count = 56,
47
+ limited = True,
48
+ created_at = 56,
49
+ updated_at = 56, )
50
+ ]
51
+ )
52
+ else:
53
+ return EnvironmentsList(
54
+ )
55
+ """
56
+
57
+ def testEnvironmentsList(self):
58
+ """Test EnvironmentsList"""
59
+ # inst_req_only = self.make_instance(include_optional=False)
60
+ # inst_req_and_optional = self.make_instance(include_optional=True)
61
+
62
+ if __name__ == '__main__':
63
+ unittest.main()
test/test_frontend.py ADDED
@@ -0,0 +1,59 @@
1
+ # coding: utf-8
2
+
3
+ """
4
+ zrok
5
+
6
+ zrok client access
7
+
8
+ The version of the OpenAPI document: 2.0.0
9
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
10
+
11
+ Do not edit the class manually.
12
+ """ # noqa: E501
13
+
14
+
15
+ import unittest
16
+
17
+ from zrok_api.models.frontend import Frontend
18
+
19
+ class TestFrontend(unittest.TestCase):
20
+ """Frontend unit test stubs"""
21
+
22
+ def setUp(self):
23
+ pass
24
+
25
+ def tearDown(self):
26
+ pass
27
+
28
+ def make_instance(self, include_optional) -> Frontend:
29
+ """Test Frontend
30
+ include_optional is a boolean, when False only required
31
+ params are included, when True both required and
32
+ optional params are included """
33
+ # uncomment below to create an instance of `Frontend`
34
+ """
35
+ model = Frontend()
36
+ if include_optional:
37
+ return Frontend(
38
+ id = 56,
39
+ frontend_token = '',
40
+ share_token = '',
41
+ backend_mode = '',
42
+ bind_address = '',
43
+ description = '',
44
+ z_id = '',
45
+ created_at = 56,
46
+ updated_at = 56
47
+ )
48
+ else:
49
+ return Frontend(
50
+ )
51
+ """
52
+
53
+ def testFrontend(self):
54
+ """Test Frontend"""
55
+ # inst_req_only = self.make_instance(include_optional=False)
56
+ # inst_req_and_optional = self.make_instance(include_optional=True)
57
+
58
+ if __name__ == '__main__':
59
+ unittest.main()
@@ -0,0 +1,62 @@
1
+ # coding: utf-8
2
+
3
+ """
4
+ zrok
5
+
6
+ zrok client access
7
+
8
+ The version of the OpenAPI document: 2.0.0
9
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
10
+
11
+ Do not edit the class manually.
12
+ """ # noqa: E501
13
+
14
+
15
+ import unittest
16
+
17
+ from zrok_api.models.get_sparklines200_response import GetSparklines200Response
18
+
19
+ class TestGetSparklines200Response(unittest.TestCase):
20
+ """GetSparklines200Response unit test stubs"""
21
+
22
+ def setUp(self):
23
+ pass
24
+
25
+ def tearDown(self):
26
+ pass
27
+
28
+ def make_instance(self, include_optional) -> GetSparklines200Response:
29
+ """Test GetSparklines200Response
30
+ include_optional is a boolean, when False only required
31
+ params are included, when True both required and
32
+ optional params are included """
33
+ # uncomment below to create an instance of `GetSparklines200Response`
34
+ """
35
+ model = GetSparklines200Response()
36
+ if include_optional:
37
+ return GetSparklines200Response(
38
+ sparklines = [
39
+ zrok_api.models.metrics.metrics(
40
+ scope = '',
41
+ id = '',
42
+ period = 1.337,
43
+ samples = [
44
+ zrok_api.models.metrics_sample.metricsSample(
45
+ rx = 1.337,
46
+ tx = 1.337,
47
+ timestamp = 1.337, )
48
+ ], )
49
+ ]
50
+ )
51
+ else:
52
+ return GetSparklines200Response(
53
+ )
54
+ """
55
+
56
+ def testGetSparklines200Response(self):
57
+ """Test GetSparklines200Response"""
58
+ # inst_req_only = self.make_instance(include_optional=False)
59
+ # inst_req_and_optional = self.make_instance(include_optional=True)
60
+
61
+ if __name__ == '__main__':
62
+ unittest.main()
@@ -0,0 +1,57 @@
1
+ # coding: utf-8
2
+
3
+ """
4
+ zrok
5
+
6
+ zrok client access
7
+
8
+ The version of the OpenAPI document: 2.0.0
9
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
10
+
11
+ Do not edit the class manually.
12
+ """ # noqa: E501
13
+
14
+
15
+ import unittest
16
+
17
+ from zrok_api.models.get_sparklines_request import GetSparklinesRequest
18
+
19
+ class TestGetSparklinesRequest(unittest.TestCase):
20
+ """GetSparklinesRequest unit test stubs"""
21
+
22
+ def setUp(self):
23
+ pass
24
+
25
+ def tearDown(self):
26
+ pass
27
+
28
+ def make_instance(self, include_optional) -> GetSparklinesRequest:
29
+ """Test GetSparklinesRequest
30
+ include_optional is a boolean, when False only required
31
+ params are included, when True both required and
32
+ optional params are included """
33
+ # uncomment below to create an instance of `GetSparklinesRequest`
34
+ """
35
+ model = GetSparklinesRequest()
36
+ if include_optional:
37
+ return GetSparklinesRequest(
38
+ account = True,
39
+ environments = [
40
+ ''
41
+ ],
42
+ shares = [
43
+ ''
44
+ ]
45
+ )
46
+ else:
47
+ return GetSparklinesRequest(
48
+ )
49
+ """
50
+
51
+ def testGetSparklinesRequest(self):
52
+ """Test GetSparklinesRequest"""
53
+ # inst_req_only = self.make_instance(include_optional=False)
54
+ # inst_req_and_optional = self.make_instance(include_optional=True)
55
+
56
+ if __name__ == '__main__':
57
+ unittest.main()
@@ -0,0 +1,52 @@
1
+ # coding: utf-8
2
+
3
+ """
4
+ zrok
5
+
6
+ zrok client access
7
+
8
+ The version of the OpenAPI document: 2.0.0
9
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
10
+
11
+ Do not edit the class manually.
12
+ """ # noqa: E501
13
+
14
+
15
+ import unittest
16
+
17
+ from zrok_api.models.invite_request import InviteRequest
18
+
19
+ class TestInviteRequest(unittest.TestCase):
20
+ """InviteRequest unit test stubs"""
21
+
22
+ def setUp(self):
23
+ pass
24
+
25
+ def tearDown(self):
26
+ pass
27
+
28
+ def make_instance(self, include_optional) -> InviteRequest:
29
+ """Test InviteRequest
30
+ include_optional is a boolean, when False only required
31
+ params are included, when True both required and
32
+ optional params are included """
33
+ # uncomment below to create an instance of `InviteRequest`
34
+ """
35
+ model = InviteRequest()
36
+ if include_optional:
37
+ return InviteRequest(
38
+ email = '',
39
+ invite_token = ''
40
+ )
41
+ else:
42
+ return InviteRequest(
43
+ )
44
+ """
45
+
46
+ def testInviteRequest(self):
47
+ """Test InviteRequest"""
48
+ # inst_req_only = self.make_instance(include_optional=False)
49
+ # inst_req_and_optional = self.make_instance(include_optional=True)
50
+
51
+ if __name__ == '__main__':
52
+ unittest.main()
@@ -0,0 +1,53 @@
1
+ # coding: utf-8
2
+
3
+ """
4
+ zrok
5
+
6
+ zrok client access
7
+
8
+ The version of the OpenAPI document: 2.0.0
9
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
10
+
11
+ Do not edit the class manually.
12
+ """ # noqa: E501
13
+
14
+
15
+ import unittest
16
+
17
+ from zrok_api.models.invite_token_generate_request import InviteTokenGenerateRequest
18
+
19
+ class TestInviteTokenGenerateRequest(unittest.TestCase):
20
+ """InviteTokenGenerateRequest unit test stubs"""
21
+
22
+ def setUp(self):
23
+ pass
24
+
25
+ def tearDown(self):
26
+ pass
27
+
28
+ def make_instance(self, include_optional) -> InviteTokenGenerateRequest:
29
+ """Test InviteTokenGenerateRequest
30
+ include_optional is a boolean, when False only required
31
+ params are included, when True both required and
32
+ optional params are included """
33
+ # uncomment below to create an instance of `InviteTokenGenerateRequest`
34
+ """
35
+ model = InviteTokenGenerateRequest()
36
+ if include_optional:
37
+ return InviteTokenGenerateRequest(
38
+ invite_tokens = [
39
+ ''
40
+ ]
41
+ )
42
+ else:
43
+ return InviteTokenGenerateRequest(
44
+ )
45
+ """
46
+
47
+ def testInviteTokenGenerateRequest(self):
48
+ """Test InviteTokenGenerateRequest"""
49
+ # inst_req_only = self.make_instance(include_optional=False)
50
+ # inst_req_and_optional = self.make_instance(include_optional=True)
51
+
52
+ if __name__ == '__main__':
53
+ unittest.main()
@@ -0,0 +1,54 @@
1
+ # coding: utf-8
2
+
3
+ """
4
+ zrok
5
+
6
+ zrok client access
7
+
8
+ The version of the OpenAPI document: 2.0.0
9
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
10
+
11
+ Do not edit the class manually.
12
+ """ # noqa: E501
13
+
14
+
15
+ import unittest
16
+
17
+ from zrok_api.models.list_frontend_namespace_mappings200_response_inner import ListFrontendNamespaceMappings200ResponseInner
18
+
19
+ class TestListFrontendNamespaceMappings200ResponseInner(unittest.TestCase):
20
+ """ListFrontendNamespaceMappings200ResponseInner unit test stubs"""
21
+
22
+ def setUp(self):
23
+ pass
24
+
25
+ def tearDown(self):
26
+ pass
27
+
28
+ def make_instance(self, include_optional) -> ListFrontendNamespaceMappings200ResponseInner:
29
+ """Test ListFrontendNamespaceMappings200ResponseInner
30
+ include_optional is a boolean, when False only required
31
+ params are included, when True both required and
32
+ optional params are included """
33
+ # uncomment below to create an instance of `ListFrontendNamespaceMappings200ResponseInner`
34
+ """
35
+ model = ListFrontendNamespaceMappings200ResponseInner()
36
+ if include_optional:
37
+ return ListFrontendNamespaceMappings200ResponseInner(
38
+ namespace_token = '',
39
+ frontend_token = '',
40
+ is_default = True,
41
+ created_at = 56
42
+ )
43
+ else:
44
+ return ListFrontendNamespaceMappings200ResponseInner(
45
+ )
46
+ """
47
+
48
+ def testListFrontendNamespaceMappings200ResponseInner(self):
49
+ """Test ListFrontendNamespaceMappings200ResponseInner"""
50
+ # inst_req_only = self.make_instance(include_optional=False)
51
+ # inst_req_and_optional = self.make_instance(include_optional=True)
52
+
53
+ if __name__ == '__main__':
54
+ unittest.main()
@@ -0,0 +1,58 @@
1
+ # coding: utf-8
2
+
3
+ """
4
+ zrok
5
+
6
+ zrok client access
7
+
8
+ The version of the OpenAPI document: 2.0.0
9
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
10
+
11
+ Do not edit the class manually.
12
+ """ # noqa: E501
13
+
14
+
15
+ import unittest
16
+
17
+ from zrok_api.models.list_frontends200_response_inner import ListFrontends200ResponseInner
18
+
19
+ class TestListFrontends200ResponseInner(unittest.TestCase):
20
+ """ListFrontends200ResponseInner unit test stubs"""
21
+
22
+ def setUp(self):
23
+ pass
24
+
25
+ def tearDown(self):
26
+ pass
27
+
28
+ def make_instance(self, include_optional) -> ListFrontends200ResponseInner:
29
+ """Test ListFrontends200ResponseInner
30
+ include_optional is a boolean, when False only required
31
+ params are included, when True both required and
32
+ optional params are included """
33
+ # uncomment below to create an instance of `ListFrontends200ResponseInner`
34
+ """
35
+ model = ListFrontends200ResponseInner()
36
+ if include_optional:
37
+ return ListFrontends200ResponseInner(
38
+ frontend_token = '',
39
+ z_id = '',
40
+ url_template = '',
41
+ public_name = '',
42
+ permission_mode = '',
43
+ dynamic = True,
44
+ created_at = 56,
45
+ updated_at = 56
46
+ )
47
+ else:
48
+ return ListFrontends200ResponseInner(
49
+ )
50
+ """
51
+
52
+ def testListFrontends200ResponseInner(self):
53
+ """Test ListFrontends200ResponseInner"""
54
+ # inst_req_only = self.make_instance(include_optional=False)
55
+ # inst_req_and_optional = self.make_instance(include_optional=True)
56
+
57
+ if __name__ == '__main__':
58
+ unittest.main()
@@ -0,0 +1,56 @@
1
+ # coding: utf-8
2
+
3
+ """
4
+ zrok
5
+
6
+ zrok client access
7
+
8
+ The version of the OpenAPI document: 2.0.0
9
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
10
+
11
+ Do not edit the class manually.
12
+ """ # noqa: E501
13
+
14
+
15
+ import unittest
16
+
17
+ from zrok_api.models.list_memberships200_response import ListMemberships200Response
18
+
19
+ class TestListMemberships200Response(unittest.TestCase):
20
+ """ListMemberships200Response unit test stubs"""
21
+
22
+ def setUp(self):
23
+ pass
24
+
25
+ def tearDown(self):
26
+ pass
27
+
28
+ def make_instance(self, include_optional) -> ListMemberships200Response:
29
+ """Test ListMemberships200Response
30
+ include_optional is a boolean, when False only required
31
+ params are included, when True both required and
32
+ optional params are included """
33
+ # uncomment below to create an instance of `ListMemberships200Response`
34
+ """
35
+ model = ListMemberships200Response()
36
+ if include_optional:
37
+ return ListMemberships200Response(
38
+ memberships = [
39
+ zrok_api.models.list_memberships_200_response_memberships_inner.listMemberships_200_response_memberships_inner(
40
+ organization_token = '',
41
+ description = '',
42
+ admin = True, )
43
+ ]
44
+ )
45
+ else:
46
+ return ListMemberships200Response(
47
+ )
48
+ """
49
+
50
+ def testListMemberships200Response(self):
51
+ """Test ListMemberships200Response"""
52
+ # inst_req_only = self.make_instance(include_optional=False)
53
+ # inst_req_and_optional = self.make_instance(include_optional=True)
54
+
55
+ if __name__ == '__main__':
56
+ unittest.main()
@@ -0,0 +1,53 @@
1
+ # coding: utf-8
2
+
3
+ """
4
+ zrok
5
+
6
+ zrok client access
7
+
8
+ The version of the OpenAPI document: 2.0.0
9
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
10
+
11
+ Do not edit the class manually.
12
+ """ # noqa: E501
13
+
14
+
15
+ import unittest
16
+
17
+ from zrok_api.models.list_memberships200_response_memberships_inner import ListMemberships200ResponseMembershipsInner
18
+
19
+ class TestListMemberships200ResponseMembershipsInner(unittest.TestCase):
20
+ """ListMemberships200ResponseMembershipsInner unit test stubs"""
21
+
22
+ def setUp(self):
23
+ pass
24
+
25
+ def tearDown(self):
26
+ pass
27
+
28
+ def make_instance(self, include_optional) -> ListMemberships200ResponseMembershipsInner:
29
+ """Test ListMemberships200ResponseMembershipsInner
30
+ include_optional is a boolean, when False only required
31
+ params are included, when True both required and
32
+ optional params are included """
33
+ # uncomment below to create an instance of `ListMemberships200ResponseMembershipsInner`
34
+ """
35
+ model = ListMemberships200ResponseMembershipsInner()
36
+ if include_optional:
37
+ return ListMemberships200ResponseMembershipsInner(
38
+ organization_token = '',
39
+ description = '',
40
+ admin = True
41
+ )
42
+ else:
43
+ return ListMemberships200ResponseMembershipsInner(
44
+ )
45
+ """
46
+
47
+ def testListMemberships200ResponseMembershipsInner(self):
48
+ """Test ListMemberships200ResponseMembershipsInner"""
49
+ # inst_req_only = self.make_instance(include_optional=False)
50
+ # inst_req_and_optional = self.make_instance(include_optional=True)
51
+
52
+ if __name__ == '__main__':
53
+ unittest.main()