wds-client 0.3.0__tar.gz → 0.5.0__tar.gz

Sign up to get free protection for your applications and to get access to all the features.
Files changed (116) hide show
  1. {wds_client-0.3.0 → wds_client-0.5.0}/PKG-INFO +1 -1
  2. {wds_client-0.3.0 → wds_client-0.5.0}/README.md +1 -8
  3. {wds_client-0.3.0 → wds_client-0.5.0}/setup.py +1 -1
  4. wds_client-0.3.0/test/test_component.py → wds_client-0.5.0/test/test_status_response.py +10 -10
  5. {wds_client-0.3.0 → wds_client-0.5.0}/wds_client/__init__.py +1 -8
  6. {wds_client-0.3.0 → wds_client-0.5.0}/wds_client/api_client.py +1 -1
  7. {wds_client-0.3.0 → wds_client-0.5.0}/wds_client/configuration.py +1 -1
  8. {wds_client-0.3.0 → wds_client-0.5.0}/wds_client/models/__init__.py +0 -7
  9. {wds_client-0.3.0 → wds_client-0.5.0}/wds_client/models/status_response.py +3 -3
  10. {wds_client-0.3.0 → wds_client-0.5.0}/wds_client.egg-info/PKG-INFO +1 -1
  11. {wds_client-0.3.0 → wds_client-0.5.0}/wds_client.egg-info/SOURCES.txt +0 -14
  12. wds_client-0.3.0/test/test_components.py +0 -71
  13. wds_client-0.3.0/test/test_db_component.py +0 -55
  14. wds_client-0.3.0/test/test_db_validationcomponent.py +0 -55
  15. wds_client-0.3.0/test/test_db_validationcomponent_details.py +0 -53
  16. wds_client-0.3.0/test/test_disk_space_component.py +0 -57
  17. wds_client-0.3.0/test/test_disk_space_component_details.py +0 -55
  18. wds_client-0.3.0/test/test_status_response.py +0 -66
  19. wds_client-0.3.0/wds_client/models/component.py +0 -146
  20. wds_client-0.3.0/wds_client/models/components.py +0 -198
  21. wds_client-0.3.0/wds_client/models/db_component.py +0 -146
  22. wds_client-0.3.0/wds_client/models/db_validationcomponent.py +0 -146
  23. wds_client-0.3.0/wds_client/models/db_validationcomponent_details.py +0 -146
  24. wds_client-0.3.0/wds_client/models/disk_space_component.py +0 -146
  25. wds_client-0.3.0/wds_client/models/disk_space_component_details.py +0 -198
  26. {wds_client-0.3.0 → wds_client-0.5.0}/setup.cfg +0 -0
  27. {wds_client-0.3.0 → wds_client-0.5.0}/test/test_app.py +0 -0
  28. {wds_client-0.3.0 → wds_client-0.5.0}/test/test_attribute_data_type.py +0 -0
  29. {wds_client-0.3.0 → wds_client-0.5.0}/test/test_attribute_schema.py +0 -0
  30. {wds_client-0.3.0 → wds_client-0.5.0}/test/test_attribute_schema_update.py +0 -0
  31. {wds_client-0.3.0 → wds_client-0.5.0}/test/test_backup_job.py +0 -0
  32. {wds_client-0.3.0 → wds_client-0.5.0}/test/test_backup_job_all_of.py +0 -0
  33. {wds_client-0.3.0 → wds_client-0.5.0}/test/test_backup_response.py +0 -0
  34. {wds_client-0.3.0 → wds_client-0.5.0}/test/test_backup_restore_request.py +0 -0
  35. {wds_client-0.3.0 → wds_client-0.5.0}/test/test_batch_operation.py +0 -0
  36. {wds_client-0.3.0 → wds_client-0.5.0}/test/test_batch_record_request.py +0 -0
  37. {wds_client-0.3.0 → wds_client-0.5.0}/test/test_batch_response.py +0 -0
  38. {wds_client-0.3.0 → wds_client-0.5.0}/test/test_build.py +0 -0
  39. {wds_client-0.3.0 → wds_client-0.5.0}/test/test_capabilities.py +0 -0
  40. {wds_client-0.3.0 → wds_client-0.5.0}/test/test_capabilities_api.py +0 -0
  41. {wds_client-0.3.0 → wds_client-0.5.0}/test/test_clone_job.py +0 -0
  42. {wds_client-0.3.0 → wds_client-0.5.0}/test/test_clone_job_all_of.py +0 -0
  43. {wds_client-0.3.0 → wds_client-0.5.0}/test/test_clone_response.py +0 -0
  44. {wds_client-0.3.0 → wds_client-0.5.0}/test/test_cloning_api.py +0 -0
  45. {wds_client-0.3.0 → wds_client-0.5.0}/test/test_commit.py +0 -0
  46. {wds_client-0.3.0 → wds_client-0.5.0}/test/test_error_response.py +0 -0
  47. {wds_client-0.3.0 → wds_client-0.5.0}/test/test_general_wds_information_api.py +0 -0
  48. {wds_client-0.3.0 → wds_client-0.5.0}/test/test_generic_job.py +0 -0
  49. {wds_client-0.3.0 → wds_client-0.5.0}/test/test_generic_job_all_of.py +0 -0
  50. {wds_client-0.3.0 → wds_client-0.5.0}/test/test_git.py +0 -0
  51. {wds_client-0.3.0 → wds_client-0.5.0}/test/test_import_api.py +0 -0
  52. {wds_client-0.3.0 → wds_client-0.5.0}/test/test_import_request.py +0 -0
  53. {wds_client-0.3.0 → wds_client-0.5.0}/test/test_inline_object.py +0 -0
  54. {wds_client-0.3.0 → wds_client-0.5.0}/test/test_instances_api.py +0 -0
  55. {wds_client-0.3.0 → wds_client-0.5.0}/test/test_job.py +0 -0
  56. {wds_client-0.3.0 → wds_client-0.5.0}/test/test_job_api.py +0 -0
  57. {wds_client-0.3.0 → wds_client-0.5.0}/test/test_job_v1.py +0 -0
  58. {wds_client-0.3.0 → wds_client-0.5.0}/test/test_record_query_response.py +0 -0
  59. {wds_client-0.3.0 → wds_client-0.5.0}/test/test_record_request.py +0 -0
  60. {wds_client-0.3.0 → wds_client-0.5.0}/test/test_record_response.py +0 -0
  61. {wds_client-0.3.0 → wds_client-0.5.0}/test/test_record_type_schema.py +0 -0
  62. {wds_client-0.3.0 → wds_client-0.5.0}/test/test_records_api.py +0 -0
  63. {wds_client-0.3.0 → wds_client-0.5.0}/test/test_schema_api.py +0 -0
  64. {wds_client-0.3.0 → wds_client-0.5.0}/test/test_search_filter.py +0 -0
  65. {wds_client-0.3.0 → wds_client-0.5.0}/test/test_search_request.py +0 -0
  66. {wds_client-0.3.0 → wds_client-0.5.0}/test/test_search_sort_direction.py +0 -0
  67. {wds_client-0.3.0 → wds_client-0.5.0}/test/test_tsv_upload_response.py +0 -0
  68. {wds_client-0.3.0 → wds_client-0.5.0}/test/test_version_response.py +0 -0
  69. {wds_client-0.3.0 → wds_client-0.5.0}/wds_client/api/__init__.py +0 -0
  70. {wds_client-0.3.0 → wds_client-0.5.0}/wds_client/api/capabilities_api.py +0 -0
  71. {wds_client-0.3.0 → wds_client-0.5.0}/wds_client/api/cloning_api.py +0 -0
  72. {wds_client-0.3.0 → wds_client-0.5.0}/wds_client/api/general_wds_information_api.py +0 -0
  73. {wds_client-0.3.0 → wds_client-0.5.0}/wds_client/api/import_api.py +0 -0
  74. {wds_client-0.3.0 → wds_client-0.5.0}/wds_client/api/instances_api.py +0 -0
  75. {wds_client-0.3.0 → wds_client-0.5.0}/wds_client/api/job_api.py +0 -0
  76. {wds_client-0.3.0 → wds_client-0.5.0}/wds_client/api/records_api.py +0 -0
  77. {wds_client-0.3.0 → wds_client-0.5.0}/wds_client/api/schema_api.py +0 -0
  78. {wds_client-0.3.0 → wds_client-0.5.0}/wds_client/exceptions.py +0 -0
  79. {wds_client-0.3.0 → wds_client-0.5.0}/wds_client/models/app.py +0 -0
  80. {wds_client-0.3.0 → wds_client-0.5.0}/wds_client/models/attribute_data_type.py +0 -0
  81. {wds_client-0.3.0 → wds_client-0.5.0}/wds_client/models/attribute_schema.py +0 -0
  82. {wds_client-0.3.0 → wds_client-0.5.0}/wds_client/models/attribute_schema_update.py +0 -0
  83. {wds_client-0.3.0 → wds_client-0.5.0}/wds_client/models/backup_job.py +0 -0
  84. {wds_client-0.3.0 → wds_client-0.5.0}/wds_client/models/backup_job_all_of.py +0 -0
  85. {wds_client-0.3.0 → wds_client-0.5.0}/wds_client/models/backup_response.py +0 -0
  86. {wds_client-0.3.0 → wds_client-0.5.0}/wds_client/models/backup_restore_request.py +0 -0
  87. {wds_client-0.3.0 → wds_client-0.5.0}/wds_client/models/batch_operation.py +0 -0
  88. {wds_client-0.3.0 → wds_client-0.5.0}/wds_client/models/batch_record_request.py +0 -0
  89. {wds_client-0.3.0 → wds_client-0.5.0}/wds_client/models/batch_response.py +0 -0
  90. {wds_client-0.3.0 → wds_client-0.5.0}/wds_client/models/build.py +0 -0
  91. {wds_client-0.3.0 → wds_client-0.5.0}/wds_client/models/capabilities.py +0 -0
  92. {wds_client-0.3.0 → wds_client-0.5.0}/wds_client/models/clone_job.py +0 -0
  93. {wds_client-0.3.0 → wds_client-0.5.0}/wds_client/models/clone_job_all_of.py +0 -0
  94. {wds_client-0.3.0 → wds_client-0.5.0}/wds_client/models/clone_response.py +0 -0
  95. {wds_client-0.3.0 → wds_client-0.5.0}/wds_client/models/commit.py +0 -0
  96. {wds_client-0.3.0 → wds_client-0.5.0}/wds_client/models/error_response.py +0 -0
  97. {wds_client-0.3.0 → wds_client-0.5.0}/wds_client/models/generic_job.py +0 -0
  98. {wds_client-0.3.0 → wds_client-0.5.0}/wds_client/models/generic_job_all_of.py +0 -0
  99. {wds_client-0.3.0 → wds_client-0.5.0}/wds_client/models/git.py +0 -0
  100. {wds_client-0.3.0 → wds_client-0.5.0}/wds_client/models/import_request.py +0 -0
  101. {wds_client-0.3.0 → wds_client-0.5.0}/wds_client/models/inline_object.py +0 -0
  102. {wds_client-0.3.0 → wds_client-0.5.0}/wds_client/models/job.py +0 -0
  103. {wds_client-0.3.0 → wds_client-0.5.0}/wds_client/models/job_v1.py +0 -0
  104. {wds_client-0.3.0 → wds_client-0.5.0}/wds_client/models/record_query_response.py +0 -0
  105. {wds_client-0.3.0 → wds_client-0.5.0}/wds_client/models/record_request.py +0 -0
  106. {wds_client-0.3.0 → wds_client-0.5.0}/wds_client/models/record_response.py +0 -0
  107. {wds_client-0.3.0 → wds_client-0.5.0}/wds_client/models/record_type_schema.py +0 -0
  108. {wds_client-0.3.0 → wds_client-0.5.0}/wds_client/models/search_filter.py +0 -0
  109. {wds_client-0.3.0 → wds_client-0.5.0}/wds_client/models/search_request.py +0 -0
  110. {wds_client-0.3.0 → wds_client-0.5.0}/wds_client/models/search_sort_direction.py +0 -0
  111. {wds_client-0.3.0 → wds_client-0.5.0}/wds_client/models/tsv_upload_response.py +0 -0
  112. {wds_client-0.3.0 → wds_client-0.5.0}/wds_client/models/version_response.py +0 -0
  113. {wds_client-0.3.0 → wds_client-0.5.0}/wds_client/rest.py +0 -0
  114. {wds_client-0.3.0 → wds_client-0.5.0}/wds_client.egg-info/dependency_links.txt +0 -0
  115. {wds_client-0.3.0 → wds_client-0.5.0}/wds_client.egg-info/requires.txt +0 -0
  116. {wds_client-0.3.0 → wds_client-0.5.0}/wds_client.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: wds-client
3
- Version: 0.3.0
3
+ Version: 0.5.0
4
4
  Summary: Workspace Data Service
5
5
  Home-page:
6
6
  Author: OpenAPI Generator community
@@ -6,7 +6,7 @@ As of v0.2, all APIs are subject to change without notice.
6
6
  This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
7
7
 
8
8
  - API version: v0.2
9
- - Package version: 0.3.0
9
+ - Package version: 0.5.0
10
10
  - Build package: org.openapitools.codegen.languages.PythonClientCodegen
11
11
 
12
12
  ## Requirements.
@@ -128,13 +128,6 @@ Class | Method | HTTP request | Description
128
128
  - [CloneJobAllOf](docs/CloneJobAllOf.md)
129
129
  - [CloneResponse](docs/CloneResponse.md)
130
130
  - [Commit](docs/Commit.md)
131
- - [Component](docs/Component.md)
132
- - [Components](docs/Components.md)
133
- - [DbComponent](docs/DbComponent.md)
134
- - [DbValidationcomponent](docs/DbValidationcomponent.md)
135
- - [DbValidationcomponentDetails](docs/DbValidationcomponentDetails.md)
136
- - [DiskSpaceComponent](docs/DiskSpaceComponent.md)
137
- - [DiskSpaceComponentDetails](docs/DiskSpaceComponentDetails.md)
138
131
  - [ErrorResponse](docs/ErrorResponse.md)
139
132
  - [GenericJob](docs/GenericJob.md)
140
133
  - [GenericJobAllOf](docs/GenericJobAllOf.md)
@@ -13,7 +13,7 @@
13
13
  from setuptools import setup, find_packages # noqa: H301
14
14
 
15
15
  NAME = "wds-client"
16
- VERSION = "0.3.0"
16
+ VERSION = "0.5.0"
17
17
  # To install the library, run the following
18
18
  #
19
19
  # python setup.py install
@@ -16,11 +16,11 @@ import unittest
16
16
  import datetime
17
17
 
18
18
  import wds_client
19
- from wds_client.models.component import Component # noqa: E501
19
+ from wds_client.models.status_response import StatusResponse # noqa: E501
20
20
  from wds_client.rest import ApiException
21
21
 
22
- class TestComponent(unittest.TestCase):
23
- """Component unit test stubs"""
22
+ class TestStatusResponse(unittest.TestCase):
23
+ """StatusResponse unit test stubs"""
24
24
 
25
25
  def setUp(self):
26
26
  pass
@@ -29,22 +29,22 @@ class TestComponent(unittest.TestCase):
29
29
  pass
30
30
 
31
31
  def make_instance(self, include_optional):
32
- """Test Component
32
+ """Test StatusResponse
33
33
  include_option is a boolean, when False only required
34
34
  params are included, when True both required and
35
35
  optional params are included """
36
- # model = wds_client.models.component.Component() # noqa: E501
36
+ # model = wds_client.models.status_response.StatusResponse() # noqa: E501
37
37
  if include_optional :
38
- return Component(
38
+ return StatusResponse(
39
39
  status = '0',
40
- details = '0'
40
+ components = None
41
41
  )
42
42
  else :
43
- return Component(
43
+ return StatusResponse(
44
44
  )
45
45
 
46
- def testComponent(self):
47
- """Test Component"""
46
+ def testStatusResponse(self):
47
+ """Test StatusResponse"""
48
48
  inst_req_only = self.make_instance(include_optional=False)
49
49
  inst_req_and_optional = self.make_instance(include_optional=True)
50
50
 
@@ -14,7 +14,7 @@
14
14
 
15
15
  from __future__ import absolute_import
16
16
 
17
- __version__ = "0.3.0"
17
+ __version__ = "0.5.0"
18
18
 
19
19
  # import apis into sdk package
20
20
  from wds_client.api.capabilities_api import CapabilitiesApi
@@ -52,13 +52,6 @@ from wds_client.models.clone_job import CloneJob
52
52
  from wds_client.models.clone_job_all_of import CloneJobAllOf
53
53
  from wds_client.models.clone_response import CloneResponse
54
54
  from wds_client.models.commit import Commit
55
- from wds_client.models.component import Component
56
- from wds_client.models.components import Components
57
- from wds_client.models.db_component import DbComponent
58
- from wds_client.models.db_validationcomponent import DbValidationcomponent
59
- from wds_client.models.db_validationcomponent_details import DbValidationcomponentDetails
60
- from wds_client.models.disk_space_component import DiskSpaceComponent
61
- from wds_client.models.disk_space_component_details import DiskSpaceComponentDetails
62
55
  from wds_client.models.error_response import ErrorResponse
63
56
  from wds_client.models.generic_job import GenericJob
64
57
  from wds_client.models.generic_job_all_of import GenericJobAllOf
@@ -78,7 +78,7 @@ class ApiClient(object):
78
78
  self.default_headers[header_name] = header_value
79
79
  self.cookie = cookie
80
80
  # Set default User-Agent.
81
- self.user_agent = 'wds-client/0.3.0/python'
81
+ self.user_agent = 'wds-client/0.5.0/python'
82
82
  self.client_side_validation = configuration.client_side_validation
83
83
 
84
84
  def __enter__(self):
@@ -336,7 +336,7 @@ class Configuration(object):
336
336
  "OS: {env}\n"\
337
337
  "Python Version: {pyversion}\n"\
338
338
  "Version of the API: v0.2\n"\
339
- "SDK Package Version: 0.3.0".\
339
+ "SDK Package Version: 0.5.0".\
340
340
  format(env=sys.platform, pyversion=sys.version)
341
341
 
342
342
  def get_host_settings(self):
@@ -31,13 +31,6 @@ from wds_client.models.clone_job import CloneJob
31
31
  from wds_client.models.clone_job_all_of import CloneJobAllOf
32
32
  from wds_client.models.clone_response import CloneResponse
33
33
  from wds_client.models.commit import Commit
34
- from wds_client.models.component import Component
35
- from wds_client.models.components import Components
36
- from wds_client.models.db_component import DbComponent
37
- from wds_client.models.db_validationcomponent import DbValidationcomponent
38
- from wds_client.models.db_validationcomponent_details import DbValidationcomponentDetails
39
- from wds_client.models.disk_space_component import DiskSpaceComponent
40
- from wds_client.models.disk_space_component_details import DiskSpaceComponentDetails
41
34
  from wds_client.models.error_response import ErrorResponse
42
35
  from wds_client.models.generic_job import GenericJob
43
36
  from wds_client.models.generic_job_all_of import GenericJobAllOf
@@ -34,7 +34,7 @@ class StatusResponse(object):
34
34
  """
35
35
  openapi_types = {
36
36
  'status': 'str',
37
- 'components': 'Components'
37
+ 'components': 'object'
38
38
  }
39
39
 
40
40
  attribute_map = {
@@ -84,7 +84,7 @@ class StatusResponse(object):
84
84
 
85
85
 
86
86
  :return: The components of this StatusResponse. # noqa: E501
87
- :rtype: Components
87
+ :rtype: object
88
88
  """
89
89
  return self._components
90
90
 
@@ -94,7 +94,7 @@ class StatusResponse(object):
94
94
 
95
95
 
96
96
  :param components: The components of this StatusResponse. # noqa: E501
97
- :type: Components
97
+ :type: object
98
98
  """
99
99
 
100
100
  self._components = components
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: wds-client
3
- Version: 0.3.0
3
+ Version: 0.5.0
4
4
  Summary: Workspace Data Service
5
5
  Home-page:
6
6
  Author: OpenAPI Generator community
@@ -20,13 +20,6 @@ test/test_clone_job_all_of.py
20
20
  test/test_clone_response.py
21
21
  test/test_cloning_api.py
22
22
  test/test_commit.py
23
- test/test_component.py
24
- test/test_components.py
25
- test/test_db_component.py
26
- test/test_db_validationcomponent.py
27
- test/test_db_validationcomponent_details.py
28
- test/test_disk_space_component.py
29
- test/test_disk_space_component_details.py
30
23
  test/test_error_response.py
31
24
  test/test_general_wds_information_api.py
32
25
  test/test_generic_job.py
@@ -88,13 +81,6 @@ wds_client/models/clone_job.py
88
81
  wds_client/models/clone_job_all_of.py
89
82
  wds_client/models/clone_response.py
90
83
  wds_client/models/commit.py
91
- wds_client/models/component.py
92
- wds_client/models/components.py
93
- wds_client/models/db_component.py
94
- wds_client/models/db_validationcomponent.py
95
- wds_client/models/db_validationcomponent_details.py
96
- wds_client/models/disk_space_component.py
97
- wds_client/models/disk_space_component_details.py
98
84
  wds_client/models/error_response.py
99
85
  wds_client/models/generic_job.py
100
86
  wds_client/models/generic_job_all_of.py
@@ -1,71 +0,0 @@
1
- # coding: utf-8
2
-
3
- """
4
- Workspace Data Service
5
-
6
- This page lists current APIs. As of v0.2, all APIs are subject to change without notice. # noqa: E501
7
-
8
- The version of the OpenAPI document: v0.2
9
- Generated by: https://openapi-generator.tech
10
- """
11
-
12
-
13
- from __future__ import absolute_import
14
-
15
- import unittest
16
- import datetime
17
-
18
- import wds_client
19
- from wds_client.models.components import Components # noqa: E501
20
- from wds_client.rest import ApiException
21
-
22
- class TestComponents(unittest.TestCase):
23
- """Components unit test stubs"""
24
-
25
- def setUp(self):
26
- pass
27
-
28
- def tearDown(self):
29
- pass
30
-
31
- def make_instance(self, include_optional):
32
- """Test Components
33
- include_option is a boolean, when False only required
34
- params are included, when True both required and
35
- optional params are included """
36
- # model = wds_client.models.components.Components() # noqa: E501
37
- if include_optional :
38
- return Components(
39
- db = wds_client.models.db_component.dbComponent(
40
- status = '0',
41
- components = wds_client.models.component.component(
42
- status = '0',
43
- details = '0', ), ),
44
- disk_space = wds_client.models.disk_space_component.diskSpaceComponent(
45
- status = '0',
46
- details = wds_client.models.disk_space_component_details.diskSpaceComponentDetails(
47
- total = '0',
48
- free = 1.337,
49
- threshold = 1.337,
50
- exists = True, ), ),
51
- ping = wds_client.models.component.component(
52
- status = '0',
53
- details = '0', ),
54
- main_db = wds_client.models.db_validationcomponent.dbValidationcomponent(
55
- status = '0',
56
- components = wds_client.models.db_validationcomponent_details.dbValidationcomponentDetails(
57
- database = '0',
58
- validation_query = '0', ), )
59
- )
60
- else :
61
- return Components(
62
- )
63
-
64
- def testComponents(self):
65
- """Test Components"""
66
- inst_req_only = self.make_instance(include_optional=False)
67
- inst_req_and_optional = self.make_instance(include_optional=True)
68
-
69
-
70
- if __name__ == '__main__':
71
- unittest.main()
@@ -1,55 +0,0 @@
1
- # coding: utf-8
2
-
3
- """
4
- Workspace Data Service
5
-
6
- This page lists current APIs. As of v0.2, all APIs are subject to change without notice. # noqa: E501
7
-
8
- The version of the OpenAPI document: v0.2
9
- Generated by: https://openapi-generator.tech
10
- """
11
-
12
-
13
- from __future__ import absolute_import
14
-
15
- import unittest
16
- import datetime
17
-
18
- import wds_client
19
- from wds_client.models.db_component import DbComponent # noqa: E501
20
- from wds_client.rest import ApiException
21
-
22
- class TestDbComponent(unittest.TestCase):
23
- """DbComponent unit test stubs"""
24
-
25
- def setUp(self):
26
- pass
27
-
28
- def tearDown(self):
29
- pass
30
-
31
- def make_instance(self, include_optional):
32
- """Test DbComponent
33
- include_option is a boolean, when False only required
34
- params are included, when True both required and
35
- optional params are included """
36
- # model = wds_client.models.db_component.DbComponent() # noqa: E501
37
- if include_optional :
38
- return DbComponent(
39
- status = '0',
40
- components = wds_client.models.component.component(
41
- status = '0',
42
- details = '0', )
43
- )
44
- else :
45
- return DbComponent(
46
- )
47
-
48
- def testDbComponent(self):
49
- """Test DbComponent"""
50
- inst_req_only = self.make_instance(include_optional=False)
51
- inst_req_and_optional = self.make_instance(include_optional=True)
52
-
53
-
54
- if __name__ == '__main__':
55
- unittest.main()
@@ -1,55 +0,0 @@
1
- # coding: utf-8
2
-
3
- """
4
- Workspace Data Service
5
-
6
- This page lists current APIs. As of v0.2, all APIs are subject to change without notice. # noqa: E501
7
-
8
- The version of the OpenAPI document: v0.2
9
- Generated by: https://openapi-generator.tech
10
- """
11
-
12
-
13
- from __future__ import absolute_import
14
-
15
- import unittest
16
- import datetime
17
-
18
- import wds_client
19
- from wds_client.models.db_validationcomponent import DbValidationcomponent # noqa: E501
20
- from wds_client.rest import ApiException
21
-
22
- class TestDbValidationcomponent(unittest.TestCase):
23
- """DbValidationcomponent unit test stubs"""
24
-
25
- def setUp(self):
26
- pass
27
-
28
- def tearDown(self):
29
- pass
30
-
31
- def make_instance(self, include_optional):
32
- """Test DbValidationcomponent
33
- include_option is a boolean, when False only required
34
- params are included, when True both required and
35
- optional params are included """
36
- # model = wds_client.models.db_validationcomponent.DbValidationcomponent() # noqa: E501
37
- if include_optional :
38
- return DbValidationcomponent(
39
- status = '0',
40
- components = wds_client.models.db_validationcomponent_details.dbValidationcomponentDetails(
41
- database = '0',
42
- validation_query = '0', )
43
- )
44
- else :
45
- return DbValidationcomponent(
46
- )
47
-
48
- def testDbValidationcomponent(self):
49
- """Test DbValidationcomponent"""
50
- inst_req_only = self.make_instance(include_optional=False)
51
- inst_req_and_optional = self.make_instance(include_optional=True)
52
-
53
-
54
- if __name__ == '__main__':
55
- unittest.main()
@@ -1,53 +0,0 @@
1
- # coding: utf-8
2
-
3
- """
4
- Workspace Data Service
5
-
6
- This page lists current APIs. As of v0.2, all APIs are subject to change without notice. # noqa: E501
7
-
8
- The version of the OpenAPI document: v0.2
9
- Generated by: https://openapi-generator.tech
10
- """
11
-
12
-
13
- from __future__ import absolute_import
14
-
15
- import unittest
16
- import datetime
17
-
18
- import wds_client
19
- from wds_client.models.db_validationcomponent_details import DbValidationcomponentDetails # noqa: E501
20
- from wds_client.rest import ApiException
21
-
22
- class TestDbValidationcomponentDetails(unittest.TestCase):
23
- """DbValidationcomponentDetails unit test stubs"""
24
-
25
- def setUp(self):
26
- pass
27
-
28
- def tearDown(self):
29
- pass
30
-
31
- def make_instance(self, include_optional):
32
- """Test DbValidationcomponentDetails
33
- include_option is a boolean, when False only required
34
- params are included, when True both required and
35
- optional params are included """
36
- # model = wds_client.models.db_validationcomponent_details.DbValidationcomponentDetails() # noqa: E501
37
- if include_optional :
38
- return DbValidationcomponentDetails(
39
- database = '0',
40
- validation_query = '0'
41
- )
42
- else :
43
- return DbValidationcomponentDetails(
44
- )
45
-
46
- def testDbValidationcomponentDetails(self):
47
- """Test DbValidationcomponentDetails"""
48
- inst_req_only = self.make_instance(include_optional=False)
49
- inst_req_and_optional = self.make_instance(include_optional=True)
50
-
51
-
52
- if __name__ == '__main__':
53
- unittest.main()
@@ -1,57 +0,0 @@
1
- # coding: utf-8
2
-
3
- """
4
- Workspace Data Service
5
-
6
- This page lists current APIs. As of v0.2, all APIs are subject to change without notice. # noqa: E501
7
-
8
- The version of the OpenAPI document: v0.2
9
- Generated by: https://openapi-generator.tech
10
- """
11
-
12
-
13
- from __future__ import absolute_import
14
-
15
- import unittest
16
- import datetime
17
-
18
- import wds_client
19
- from wds_client.models.disk_space_component import DiskSpaceComponent # noqa: E501
20
- from wds_client.rest import ApiException
21
-
22
- class TestDiskSpaceComponent(unittest.TestCase):
23
- """DiskSpaceComponent unit test stubs"""
24
-
25
- def setUp(self):
26
- pass
27
-
28
- def tearDown(self):
29
- pass
30
-
31
- def make_instance(self, include_optional):
32
- """Test DiskSpaceComponent
33
- include_option is a boolean, when False only required
34
- params are included, when True both required and
35
- optional params are included """
36
- # model = wds_client.models.disk_space_component.DiskSpaceComponent() # noqa: E501
37
- if include_optional :
38
- return DiskSpaceComponent(
39
- status = '0',
40
- details = wds_client.models.disk_space_component_details.diskSpaceComponentDetails(
41
- total = '0',
42
- free = 1.337,
43
- threshold = 1.337,
44
- exists = True, )
45
- )
46
- else :
47
- return DiskSpaceComponent(
48
- )
49
-
50
- def testDiskSpaceComponent(self):
51
- """Test DiskSpaceComponent"""
52
- inst_req_only = self.make_instance(include_optional=False)
53
- inst_req_and_optional = self.make_instance(include_optional=True)
54
-
55
-
56
- if __name__ == '__main__':
57
- unittest.main()
@@ -1,55 +0,0 @@
1
- # coding: utf-8
2
-
3
- """
4
- Workspace Data Service
5
-
6
- This page lists current APIs. As of v0.2, all APIs are subject to change without notice. # noqa: E501
7
-
8
- The version of the OpenAPI document: v0.2
9
- Generated by: https://openapi-generator.tech
10
- """
11
-
12
-
13
- from __future__ import absolute_import
14
-
15
- import unittest
16
- import datetime
17
-
18
- import wds_client
19
- from wds_client.models.disk_space_component_details import DiskSpaceComponentDetails # noqa: E501
20
- from wds_client.rest import ApiException
21
-
22
- class TestDiskSpaceComponentDetails(unittest.TestCase):
23
- """DiskSpaceComponentDetails unit test stubs"""
24
-
25
- def setUp(self):
26
- pass
27
-
28
- def tearDown(self):
29
- pass
30
-
31
- def make_instance(self, include_optional):
32
- """Test DiskSpaceComponentDetails
33
- include_option is a boolean, when False only required
34
- params are included, when True both required and
35
- optional params are included """
36
- # model = wds_client.models.disk_space_component_details.DiskSpaceComponentDetails() # noqa: E501
37
- if include_optional :
38
- return DiskSpaceComponentDetails(
39
- total = '0',
40
- free = 1.337,
41
- threshold = 1.337,
42
- exists = True
43
- )
44
- else :
45
- return DiskSpaceComponentDetails(
46
- )
47
-
48
- def testDiskSpaceComponentDetails(self):
49
- """Test DiskSpaceComponentDetails"""
50
- inst_req_only = self.make_instance(include_optional=False)
51
- inst_req_and_optional = self.make_instance(include_optional=True)
52
-
53
-
54
- if __name__ == '__main__':
55
- unittest.main()
@@ -1,66 +0,0 @@
1
- # coding: utf-8
2
-
3
- """
4
- Workspace Data Service
5
-
6
- This page lists current APIs. As of v0.2, all APIs are subject to change without notice. # noqa: E501
7
-
8
- The version of the OpenAPI document: v0.2
9
- Generated by: https://openapi-generator.tech
10
- """
11
-
12
-
13
- from __future__ import absolute_import
14
-
15
- import unittest
16
- import datetime
17
-
18
- import wds_client
19
- from wds_client.models.status_response import StatusResponse # noqa: E501
20
- from wds_client.rest import ApiException
21
-
22
- class TestStatusResponse(unittest.TestCase):
23
- """StatusResponse unit test stubs"""
24
-
25
- def setUp(self):
26
- pass
27
-
28
- def tearDown(self):
29
- pass
30
-
31
- def make_instance(self, include_optional):
32
- """Test StatusResponse
33
- include_option is a boolean, when False only required
34
- params are included, when True both required and
35
- optional params are included """
36
- # model = wds_client.models.status_response.StatusResponse() # noqa: E501
37
- if include_optional :
38
- return StatusResponse(
39
- status = '0',
40
- components = wds_client.models.components.components(
41
- db = wds_client.models.db_component.dbComponent(
42
- status = '0', ),
43
- disk_space = wds_client.models.disk_space_component.diskSpaceComponent(
44
- status = '0',
45
- details = wds_client.models.disk_space_component_details.diskSpaceComponentDetails(
46
- total = '0',
47
- free = 1.337,
48
- threshold = 1.337,
49
- exists = True, ), ),
50
- ping = wds_client.models.component.component(
51
- status = '0', ),
52
- main_db = wds_client.models.db_validationcomponent.dbValidationcomponent(
53
- status = '0', ), )
54
- )
55
- else :
56
- return StatusResponse(
57
- )
58
-
59
- def testStatusResponse(self):
60
- """Test StatusResponse"""
61
- inst_req_only = self.make_instance(include_optional=False)
62
- inst_req_and_optional = self.make_instance(include_optional=True)
63
-
64
-
65
- if __name__ == '__main__':
66
- unittest.main()