whmcs-api-client 1.0.0__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.
- test/__init__.py +1 -0
- test/test_add_client_request.py +39 -0
- test/test_add_client_response.py +39 -0
- test/test_add_order_request.py +39 -0
- test/test_add_order_response.py +39 -0
- test/test_api_php_body.py +39 -0
- test/test_default_api.py +40 -0
- test/test_update_client_request.py +39 -0
- test/test_update_client_response.py +39 -0
- test/test_whmcs_base_request.py +39 -0
- test/test_whmcs_base_response.py +39 -0
- test/test_whmcs_error_response.py +39 -0
- test/test_whmcs_success_response.py +39 -0
- whmcs_api_client-1.0.0.dist-info/METADATA +21 -0
- whmcs_api_client-1.0.0.dist-info/RECORD +36 -0
- whmcs_api_client-1.0.0.dist-info/WHEEL +5 -0
- whmcs_api_client-1.0.0.dist-info/licenses/LICENSE +373 -0
- whmcs_api_client-1.0.0.dist-info/top_level.txt +2 -0
- whmcs_client/__init__.py +33 -0
- whmcs_client/api/__init__.py +6 -0
- whmcs_client/api/default_api.py +124 -0
- whmcs_client/api_client.py +632 -0
- whmcs_client/configuration.py +247 -0
- whmcs_client/models/__init__.py +27 -0
- whmcs_client/models/add_client_request.py +834 -0
- whmcs_client/models/add_client_response.py +152 -0
- whmcs_client/models/add_order_request.py +1457 -0
- whmcs_client/models/add_order_response.py +264 -0
- whmcs_client/models/api_php_body.py +97 -0
- whmcs_client/models/update_client_request.py +1161 -0
- whmcs_client/models/update_client_response.py +152 -0
- whmcs_client/models/whmcs_base_request.py +287 -0
- whmcs_client/models/whmcs_base_response.py +204 -0
- whmcs_client/models/whmcs_error_response.py +148 -0
- whmcs_client/models/whmcs_success_response.py +98 -0
- whmcs_client/rest.py +317 -0
test/__init__.py
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
# coding: utf-8
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
"""
|
|
4
|
+
WHMCS API
|
|
5
|
+
|
|
6
|
+
OpenAPI specification for the WHMCS API endpoints. This specification uses discriminators to properly handle polymorphic request/response schemas. The 'action' field serves as the discriminator property to differentiate between different request and response types (AddClient, UpdateClient, AddOrder). # noqa: E501
|
|
7
|
+
|
|
8
|
+
OpenAPI spec version: 1.0.0
|
|
9
|
+
|
|
10
|
+
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
|
11
|
+
"""
|
|
12
|
+
|
|
13
|
+
from __future__ import absolute_import
|
|
14
|
+
|
|
15
|
+
import unittest
|
|
16
|
+
|
|
17
|
+
import whmcs_client
|
|
18
|
+
from whmcs_client.models.add_client_request import AddClientRequest # noqa: E501
|
|
19
|
+
from whmcs_client.rest import ApiException
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
class TestAddClientRequest(unittest.TestCase):
|
|
23
|
+
"""AddClientRequest unit test stubs"""
|
|
24
|
+
|
|
25
|
+
def setUp(self):
|
|
26
|
+
pass
|
|
27
|
+
|
|
28
|
+
def tearDown(self):
|
|
29
|
+
pass
|
|
30
|
+
|
|
31
|
+
def testAddClientRequest(self):
|
|
32
|
+
"""Test AddClientRequest"""
|
|
33
|
+
# FIXME: construct object with mandatory attributes with example values
|
|
34
|
+
# model = whmcs_client.models.add_client_request.AddClientRequest() # noqa: E501
|
|
35
|
+
pass
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
if __name__ == '__main__':
|
|
39
|
+
unittest.main()
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
"""
|
|
4
|
+
WHMCS API
|
|
5
|
+
|
|
6
|
+
OpenAPI specification for the WHMCS API endpoints. This specification uses discriminators to properly handle polymorphic request/response schemas. The 'action' field serves as the discriminator property to differentiate between different request and response types (AddClient, UpdateClient, AddOrder). # noqa: E501
|
|
7
|
+
|
|
8
|
+
OpenAPI spec version: 1.0.0
|
|
9
|
+
|
|
10
|
+
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
|
11
|
+
"""
|
|
12
|
+
|
|
13
|
+
from __future__ import absolute_import
|
|
14
|
+
|
|
15
|
+
import unittest
|
|
16
|
+
|
|
17
|
+
import whmcs_client
|
|
18
|
+
from whmcs_client.models.add_client_response import AddClientResponse # noqa: E501
|
|
19
|
+
from whmcs_client.rest import ApiException
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
class TestAddClientResponse(unittest.TestCase):
|
|
23
|
+
"""AddClientResponse unit test stubs"""
|
|
24
|
+
|
|
25
|
+
def setUp(self):
|
|
26
|
+
pass
|
|
27
|
+
|
|
28
|
+
def tearDown(self):
|
|
29
|
+
pass
|
|
30
|
+
|
|
31
|
+
def testAddClientResponse(self):
|
|
32
|
+
"""Test AddClientResponse"""
|
|
33
|
+
# FIXME: construct object with mandatory attributes with example values
|
|
34
|
+
# model = whmcs_client.models.add_client_response.AddClientResponse() # noqa: E501
|
|
35
|
+
pass
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
if __name__ == '__main__':
|
|
39
|
+
unittest.main()
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
"""
|
|
4
|
+
WHMCS API
|
|
5
|
+
|
|
6
|
+
OpenAPI specification for the WHMCS API endpoints. This specification uses discriminators to properly handle polymorphic request/response schemas. The 'action' field serves as the discriminator property to differentiate between different request and response types (AddClient, UpdateClient, AddOrder). # noqa: E501
|
|
7
|
+
|
|
8
|
+
OpenAPI spec version: 1.0.0
|
|
9
|
+
|
|
10
|
+
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
|
11
|
+
"""
|
|
12
|
+
|
|
13
|
+
from __future__ import absolute_import
|
|
14
|
+
|
|
15
|
+
import unittest
|
|
16
|
+
|
|
17
|
+
import whmcs_client
|
|
18
|
+
from whmcs_client.models.add_order_request import AddOrderRequest # noqa: E501
|
|
19
|
+
from whmcs_client.rest import ApiException
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
class TestAddOrderRequest(unittest.TestCase):
|
|
23
|
+
"""AddOrderRequest unit test stubs"""
|
|
24
|
+
|
|
25
|
+
def setUp(self):
|
|
26
|
+
pass
|
|
27
|
+
|
|
28
|
+
def tearDown(self):
|
|
29
|
+
pass
|
|
30
|
+
|
|
31
|
+
def testAddOrderRequest(self):
|
|
32
|
+
"""Test AddOrderRequest"""
|
|
33
|
+
# FIXME: construct object with mandatory attributes with example values
|
|
34
|
+
# model = whmcs_client.models.add_order_request.AddOrderRequest() # noqa: E501
|
|
35
|
+
pass
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
if __name__ == '__main__':
|
|
39
|
+
unittest.main()
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
"""
|
|
4
|
+
WHMCS API
|
|
5
|
+
|
|
6
|
+
OpenAPI specification for the WHMCS API endpoints. This specification uses discriminators to properly handle polymorphic request/response schemas. The 'action' field serves as the discriminator property to differentiate between different request and response types (AddClient, UpdateClient, AddOrder). # noqa: E501
|
|
7
|
+
|
|
8
|
+
OpenAPI spec version: 1.0.0
|
|
9
|
+
|
|
10
|
+
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
|
11
|
+
"""
|
|
12
|
+
|
|
13
|
+
from __future__ import absolute_import
|
|
14
|
+
|
|
15
|
+
import unittest
|
|
16
|
+
|
|
17
|
+
import whmcs_client
|
|
18
|
+
from whmcs_client.models.add_order_response import AddOrderResponse # noqa: E501
|
|
19
|
+
from whmcs_client.rest import ApiException
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
class TestAddOrderResponse(unittest.TestCase):
|
|
23
|
+
"""AddOrderResponse unit test stubs"""
|
|
24
|
+
|
|
25
|
+
def setUp(self):
|
|
26
|
+
pass
|
|
27
|
+
|
|
28
|
+
def tearDown(self):
|
|
29
|
+
pass
|
|
30
|
+
|
|
31
|
+
def testAddOrderResponse(self):
|
|
32
|
+
"""Test AddOrderResponse"""
|
|
33
|
+
# FIXME: construct object with mandatory attributes with example values
|
|
34
|
+
# model = whmcs_client.models.add_order_response.AddOrderResponse() # noqa: E501
|
|
35
|
+
pass
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
if __name__ == '__main__':
|
|
39
|
+
unittest.main()
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
"""
|
|
4
|
+
WHMCS API
|
|
5
|
+
|
|
6
|
+
OpenAPI specification for the WHMCS API endpoints. This specification uses discriminators to properly handle polymorphic request/response schemas. The 'action' field serves as the discriminator property to differentiate between different request and response types (AddClient, UpdateClient, AddOrder). # noqa: E501
|
|
7
|
+
|
|
8
|
+
OpenAPI spec version: 1.0.0
|
|
9
|
+
|
|
10
|
+
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
|
11
|
+
"""
|
|
12
|
+
|
|
13
|
+
from __future__ import absolute_import
|
|
14
|
+
|
|
15
|
+
import unittest
|
|
16
|
+
|
|
17
|
+
import whmcs_client
|
|
18
|
+
from whmcs_client.models.api_php_body import ApiPhpBody # noqa: E501
|
|
19
|
+
from whmcs_client.rest import ApiException
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
class TestApiPhpBody(unittest.TestCase):
|
|
23
|
+
"""ApiPhpBody unit test stubs"""
|
|
24
|
+
|
|
25
|
+
def setUp(self):
|
|
26
|
+
pass
|
|
27
|
+
|
|
28
|
+
def tearDown(self):
|
|
29
|
+
pass
|
|
30
|
+
|
|
31
|
+
def testApiPhpBody(self):
|
|
32
|
+
"""Test ApiPhpBody"""
|
|
33
|
+
# FIXME: construct object with mandatory attributes with example values
|
|
34
|
+
# model = whmcs_client.models.api_php_body.ApiPhpBody() # noqa: E501
|
|
35
|
+
pass
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
if __name__ == '__main__':
|
|
39
|
+
unittest.main()
|
test/test_default_api.py
ADDED
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
"""
|
|
4
|
+
WHMCS API
|
|
5
|
+
|
|
6
|
+
OpenAPI specification for the WHMCS API endpoints. This specification uses discriminators to properly handle polymorphic request/response schemas. The 'action' field serves as the discriminator property to differentiate between different request and response types (AddClient, UpdateClient, AddOrder). # noqa: E501
|
|
7
|
+
|
|
8
|
+
OpenAPI spec version: 1.0.0
|
|
9
|
+
|
|
10
|
+
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
|
11
|
+
"""
|
|
12
|
+
|
|
13
|
+
from __future__ import absolute_import
|
|
14
|
+
|
|
15
|
+
import unittest
|
|
16
|
+
|
|
17
|
+
import whmcs_client
|
|
18
|
+
from whmcs_client.api.default_api import DefaultApi # noqa: E501
|
|
19
|
+
from whmcs_client.rest import ApiException
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
class TestDefaultApi(unittest.TestCase):
|
|
23
|
+
"""DefaultApi unit test stubs"""
|
|
24
|
+
|
|
25
|
+
def setUp(self):
|
|
26
|
+
self.api = DefaultApi() # noqa: E501
|
|
27
|
+
|
|
28
|
+
def tearDown(self):
|
|
29
|
+
pass
|
|
30
|
+
|
|
31
|
+
def test_api_post(self):
|
|
32
|
+
"""Test case for api_post
|
|
33
|
+
|
|
34
|
+
WHMCS API endpoint # noqa: E501
|
|
35
|
+
"""
|
|
36
|
+
pass
|
|
37
|
+
|
|
38
|
+
|
|
39
|
+
if __name__ == '__main__':
|
|
40
|
+
unittest.main()
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
"""
|
|
4
|
+
WHMCS API
|
|
5
|
+
|
|
6
|
+
OpenAPI specification for the WHMCS API endpoints. This specification uses discriminators to properly handle polymorphic request/response schemas. The 'action' field serves as the discriminator property to differentiate between different request and response types (AddClient, UpdateClient, AddOrder). # noqa: E501
|
|
7
|
+
|
|
8
|
+
OpenAPI spec version: 1.0.0
|
|
9
|
+
|
|
10
|
+
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
|
11
|
+
"""
|
|
12
|
+
|
|
13
|
+
from __future__ import absolute_import
|
|
14
|
+
|
|
15
|
+
import unittest
|
|
16
|
+
|
|
17
|
+
import whmcs_client
|
|
18
|
+
from whmcs_client.models.update_client_request import UpdateClientRequest # noqa: E501
|
|
19
|
+
from whmcs_client.rest import ApiException
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
class TestUpdateClientRequest(unittest.TestCase):
|
|
23
|
+
"""UpdateClientRequest unit test stubs"""
|
|
24
|
+
|
|
25
|
+
def setUp(self):
|
|
26
|
+
pass
|
|
27
|
+
|
|
28
|
+
def tearDown(self):
|
|
29
|
+
pass
|
|
30
|
+
|
|
31
|
+
def testUpdateClientRequest(self):
|
|
32
|
+
"""Test UpdateClientRequest"""
|
|
33
|
+
# FIXME: construct object with mandatory attributes with example values
|
|
34
|
+
# model = whmcs_client.models.update_client_request.UpdateClientRequest() # noqa: E501
|
|
35
|
+
pass
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
if __name__ == '__main__':
|
|
39
|
+
unittest.main()
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
"""
|
|
4
|
+
WHMCS API
|
|
5
|
+
|
|
6
|
+
OpenAPI specification for the WHMCS API endpoints. This specification uses discriminators to properly handle polymorphic request/response schemas. The 'action' field serves as the discriminator property to differentiate between different request and response types (AddClient, UpdateClient, AddOrder). # noqa: E501
|
|
7
|
+
|
|
8
|
+
OpenAPI spec version: 1.0.0
|
|
9
|
+
|
|
10
|
+
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
|
11
|
+
"""
|
|
12
|
+
|
|
13
|
+
from __future__ import absolute_import
|
|
14
|
+
|
|
15
|
+
import unittest
|
|
16
|
+
|
|
17
|
+
import whmcs_client
|
|
18
|
+
from whmcs_client.models.update_client_response import UpdateClientResponse # noqa: E501
|
|
19
|
+
from whmcs_client.rest import ApiException
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
class TestUpdateClientResponse(unittest.TestCase):
|
|
23
|
+
"""UpdateClientResponse unit test stubs"""
|
|
24
|
+
|
|
25
|
+
def setUp(self):
|
|
26
|
+
pass
|
|
27
|
+
|
|
28
|
+
def tearDown(self):
|
|
29
|
+
pass
|
|
30
|
+
|
|
31
|
+
def testUpdateClientResponse(self):
|
|
32
|
+
"""Test UpdateClientResponse"""
|
|
33
|
+
# FIXME: construct object with mandatory attributes with example values
|
|
34
|
+
# model = whmcs_client.models.update_client_response.UpdateClientResponse() # noqa: E501
|
|
35
|
+
pass
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
if __name__ == '__main__':
|
|
39
|
+
unittest.main()
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
"""
|
|
4
|
+
WHMCS API
|
|
5
|
+
|
|
6
|
+
OpenAPI specification for the WHMCS API endpoints. This specification uses discriminators to properly handle polymorphic request/response schemas. The 'action' field serves as the discriminator property to differentiate between different request and response types (AddClient, UpdateClient, AddOrder). # noqa: E501
|
|
7
|
+
|
|
8
|
+
OpenAPI spec version: 1.0.0
|
|
9
|
+
|
|
10
|
+
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
|
11
|
+
"""
|
|
12
|
+
|
|
13
|
+
from __future__ import absolute_import
|
|
14
|
+
|
|
15
|
+
import unittest
|
|
16
|
+
|
|
17
|
+
import whmcs_client
|
|
18
|
+
from whmcs_client.models.whmcs_base_request import WHMCSBaseRequest # noqa: E501
|
|
19
|
+
from whmcs_client.rest import ApiException
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
class TestWHMCSBaseRequest(unittest.TestCase):
|
|
23
|
+
"""WHMCSBaseRequest unit test stubs"""
|
|
24
|
+
|
|
25
|
+
def setUp(self):
|
|
26
|
+
pass
|
|
27
|
+
|
|
28
|
+
def tearDown(self):
|
|
29
|
+
pass
|
|
30
|
+
|
|
31
|
+
def testWHMCSBaseRequest(self):
|
|
32
|
+
"""Test WHMCSBaseRequest"""
|
|
33
|
+
# FIXME: construct object with mandatory attributes with example values
|
|
34
|
+
# model = whmcs_client.models.whmcs_base_request.WHMCSBaseRequest() # noqa: E501
|
|
35
|
+
pass
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
if __name__ == '__main__':
|
|
39
|
+
unittest.main()
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
"""
|
|
4
|
+
WHMCS API
|
|
5
|
+
|
|
6
|
+
OpenAPI specification for the WHMCS API endpoints. This specification uses discriminators to properly handle polymorphic request/response schemas. The 'action' field serves as the discriminator property to differentiate between different request and response types (AddClient, UpdateClient, AddOrder). # noqa: E501
|
|
7
|
+
|
|
8
|
+
OpenAPI spec version: 1.0.0
|
|
9
|
+
|
|
10
|
+
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
|
11
|
+
"""
|
|
12
|
+
|
|
13
|
+
from __future__ import absolute_import
|
|
14
|
+
|
|
15
|
+
import unittest
|
|
16
|
+
|
|
17
|
+
import whmcs_client
|
|
18
|
+
from whmcs_client.models.whmcs_base_response import WHMCSBaseResponse # noqa: E501
|
|
19
|
+
from whmcs_client.rest import ApiException
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
class TestWHMCSBaseResponse(unittest.TestCase):
|
|
23
|
+
"""WHMCSBaseResponse unit test stubs"""
|
|
24
|
+
|
|
25
|
+
def setUp(self):
|
|
26
|
+
pass
|
|
27
|
+
|
|
28
|
+
def tearDown(self):
|
|
29
|
+
pass
|
|
30
|
+
|
|
31
|
+
def testWHMCSBaseResponse(self):
|
|
32
|
+
"""Test WHMCSBaseResponse"""
|
|
33
|
+
# FIXME: construct object with mandatory attributes with example values
|
|
34
|
+
# model = whmcs_client.models.whmcs_base_response.WHMCSBaseResponse() # noqa: E501
|
|
35
|
+
pass
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
if __name__ == '__main__':
|
|
39
|
+
unittest.main()
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
"""
|
|
4
|
+
WHMCS API
|
|
5
|
+
|
|
6
|
+
OpenAPI specification for the WHMCS API endpoints. This specification uses discriminators to properly handle polymorphic request/response schemas. The 'action' field serves as the discriminator property to differentiate between different request and response types (AddClient, UpdateClient, AddOrder). # noqa: E501
|
|
7
|
+
|
|
8
|
+
OpenAPI spec version: 1.0.0
|
|
9
|
+
|
|
10
|
+
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
|
11
|
+
"""
|
|
12
|
+
|
|
13
|
+
from __future__ import absolute_import
|
|
14
|
+
|
|
15
|
+
import unittest
|
|
16
|
+
|
|
17
|
+
import whmcs_client
|
|
18
|
+
from whmcs_client.models.whmcs_error_response import WHMCSErrorResponse # noqa: E501
|
|
19
|
+
from whmcs_client.rest import ApiException
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
class TestWHMCSErrorResponse(unittest.TestCase):
|
|
23
|
+
"""WHMCSErrorResponse unit test stubs"""
|
|
24
|
+
|
|
25
|
+
def setUp(self):
|
|
26
|
+
pass
|
|
27
|
+
|
|
28
|
+
def tearDown(self):
|
|
29
|
+
pass
|
|
30
|
+
|
|
31
|
+
def testWHMCSErrorResponse(self):
|
|
32
|
+
"""Test WHMCSErrorResponse"""
|
|
33
|
+
# FIXME: construct object with mandatory attributes with example values
|
|
34
|
+
# model = whmcs_client.models.whmcs_error_response.WHMCSErrorResponse() # noqa: E501
|
|
35
|
+
pass
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
if __name__ == '__main__':
|
|
39
|
+
unittest.main()
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
"""
|
|
4
|
+
WHMCS API
|
|
5
|
+
|
|
6
|
+
OpenAPI specification for the WHMCS API endpoints. This specification uses discriminators to properly handle polymorphic request/response schemas. The 'action' field serves as the discriminator property to differentiate between different request and response types (AddClient, UpdateClient, AddOrder). # noqa: E501
|
|
7
|
+
|
|
8
|
+
OpenAPI spec version: 1.0.0
|
|
9
|
+
|
|
10
|
+
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
|
11
|
+
"""
|
|
12
|
+
|
|
13
|
+
from __future__ import absolute_import
|
|
14
|
+
|
|
15
|
+
import unittest
|
|
16
|
+
|
|
17
|
+
import whmcs_client
|
|
18
|
+
from whmcs_client.models.whmcs_success_response import WHMCSSuccessResponse # noqa: E501
|
|
19
|
+
from whmcs_client.rest import ApiException
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
class TestWHMCSSuccessResponse(unittest.TestCase):
|
|
23
|
+
"""WHMCSSuccessResponse unit test stubs"""
|
|
24
|
+
|
|
25
|
+
def setUp(self):
|
|
26
|
+
pass
|
|
27
|
+
|
|
28
|
+
def tearDown(self):
|
|
29
|
+
pass
|
|
30
|
+
|
|
31
|
+
def testWHMCSSuccessResponse(self):
|
|
32
|
+
"""Test WHMCSSuccessResponse"""
|
|
33
|
+
# FIXME: construct object with mandatory attributes with example values
|
|
34
|
+
# model = whmcs_client.models.whmcs_success_response.WHMCSSuccessResponse() # noqa: E501
|
|
35
|
+
pass
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
if __name__ == '__main__':
|
|
39
|
+
unittest.main()
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: whmcs-api-client
|
|
3
|
+
Version: 1.0.0
|
|
4
|
+
Summary: WHMCS API
|
|
5
|
+
Home-page: https://github.com/truehostcloud/whmcs-python-client
|
|
6
|
+
Author-email:
|
|
7
|
+
Keywords: Swagger,WHMCS API
|
|
8
|
+
License-File: LICENSE
|
|
9
|
+
Requires-Dist: urllib3>=1.15
|
|
10
|
+
Requires-Dist: six>=1.10
|
|
11
|
+
Requires-Dist: certifi
|
|
12
|
+
Requires-Dist: python-dateutil
|
|
13
|
+
Dynamic: description
|
|
14
|
+
Dynamic: home-page
|
|
15
|
+
Dynamic: keywords
|
|
16
|
+
Dynamic: license-file
|
|
17
|
+
Dynamic: requires-dist
|
|
18
|
+
Dynamic: summary
|
|
19
|
+
|
|
20
|
+
OpenAPI specification for the WHMCS API endpoints. This specification uses discriminators to properly handle polymorphic request/response schemas. The 'action' field serves as the discriminator property to differentiate between different request and response types (AddClient, UpdateClient, AddOrder). # noqa: E501
|
|
21
|
+
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
test/__init__.py,sha256=q_xcMjhQy8xCi5_8MkbuwrOpKydUMU9s6DRybQzHRi8,15
|
|
2
|
+
test/test_add_client_request.py,sha256=wzHJsbq-8SmE_DSWIyXLG-PdYpuZ5M6EgtLgFOGs6-o,1142
|
|
3
|
+
test/test_add_client_response.py,sha256=gjd2-ND6qP--uEv-6E4L5kkzpYRg4MUKRAcJ_TwAq7M,1150
|
|
4
|
+
test/test_add_order_request.py,sha256=7eTJ_8OJlUo5zjX8ddDYwsxuLYsDz8gpt96AmHkBYEs,1134
|
|
5
|
+
test/test_add_order_response.py,sha256=gmIcmx2nV1WZDyiDhd28iHbnltIuboomzJHi-vC-_l4,1142
|
|
6
|
+
test/test_api_php_body.py,sha256=F57YYy5G2DNem_xMR3NKDQydF8kRF878W-pD5uUAce8,1094
|
|
7
|
+
test/test_default_api.py,sha256=vnBB5qo6YouQAJx7kiZF-HA0fYuNr9rdVC7ryt3TT30,1022
|
|
8
|
+
test/test_update_client_request.py,sha256=MFIrN-nzWwBYl5cYDWqTUHWKO2-9CptCvyWEsYcmFTk,1166
|
|
9
|
+
test/test_update_client_response.py,sha256=s7DuJg1Y4Tfo_x2LcslA0kHKb9M8Ckt4rfUMT2fPFcc,1174
|
|
10
|
+
test/test_whmcs_base_request.py,sha256=elVDeo5P5npYHiIJk9ICaTj2Zvw7a5QasZkch5OKbqk,1142
|
|
11
|
+
test/test_whmcs_base_response.py,sha256=2JZasE23rhZlNqtf2ec0eCLllanSlYU3YTd_5hDqLjY,1150
|
|
12
|
+
test/test_whmcs_error_response.py,sha256=MmzLCmRjhsXKddgnmn66yplwe0M5eI633fHM9kCr2kk,1158
|
|
13
|
+
test/test_whmcs_success_response.py,sha256=yP6rc3s0X70USvwvJYNSJIn1F53FtMd2owi5552SzJ8,1174
|
|
14
|
+
whmcs_api_client-1.0.0.dist-info/licenses/LICENSE,sha256=Pz2eACSxkhsGfW9_iN60pgy-enjnbGTj8df8O3ebnQQ,16726
|
|
15
|
+
whmcs_client/__init__.py,sha256=Gs64uUfjO7ruldpyi8Q9BC5wyJOMyEpJMdPPj1oAB60,1524
|
|
16
|
+
whmcs_client/api_client.py,sha256=NRACAdo95JG9v3FK4xY2riL3HCgt_o2r6zrAcW5iKJo,25261
|
|
17
|
+
whmcs_client/configuration.py,sha256=Db777MQC_2i_HngFEmU4Gmw0GVlibxxLsGD50MXW_1w,8305
|
|
18
|
+
whmcs_client/rest.py,sha256=w_kI9_UNrCzUEqsM7R4U0CAheXDpf-9erpnqqiIpc50,13218
|
|
19
|
+
whmcs_client/api/__init__.py,sha256=za7mip66Oq2z5yJHgF5p4BOmL97Iwi6KzqzYhWfVhtg,139
|
|
20
|
+
whmcs_client/api/default_api.py,sha256=OJ2CJw26QE-FCzGITbmz97hfvI1G7AxsLrF9DPoqyJg,4506
|
|
21
|
+
whmcs_client/models/__init__.py,sha256=bSXH7p9d_FSMEocS-hsJFQempqhpvoEtNqbfSWboTTs,1324
|
|
22
|
+
whmcs_client/models/add_client_request.py,sha256=2gjBeonFS2R6pn7gRzeS17OU8beHlNuhQI8vTd_oie8,24311
|
|
23
|
+
whmcs_client/models/add_client_response.py,sha256=QiVk7x52azVoj_w11br9bgvW4-rR9QBH2ivba3VrHg8,4891
|
|
24
|
+
whmcs_client/models/add_order_request.py,sha256=eERWm4aFb1VTKhGP2UAxKjiX3SnGzfUXsQO7POq46Qw,47037
|
|
25
|
+
whmcs_client/models/add_order_response.py,sha256=v6uHrPAIe6WGiSsDx434dbC1Koc1je07vKt_FdJBMGs,8104
|
|
26
|
+
whmcs_client/models/api_php_body.py,sha256=51q3NJrhUUWnMZf2jNEJJ588J1KXeIqZloZk7rw5wgE,3266
|
|
27
|
+
whmcs_client/models/update_client_request.py,sha256=p5TPQ2w7kIlVlBMdHRiyBq9DL-ffXIKpFm7f3Y3lN4I,36200
|
|
28
|
+
whmcs_client/models/update_client_response.py,sha256=bbWzbeTM-74EQNkb679wf1IL4oI-KwROHgJX80oYuE4,4930
|
|
29
|
+
whmcs_client/models/whmcs_base_request.py,sha256=XCAVVlvPUbTmFQJtFoibUN4GLj-HZT_1lwOrjkpPHbo,8696
|
|
30
|
+
whmcs_client/models/whmcs_base_response.py,sha256=GNXWeVVOuJwdqd542UxkCvNRkH0YEQ5rt5OvkCVXrT0,6117
|
|
31
|
+
whmcs_client/models/whmcs_error_response.py,sha256=sB4XTCE-kJMb0es4JRy2rJtEOdy6Z7-nX6_tvUCovKQ,4643
|
|
32
|
+
whmcs_client/models/whmcs_success_response.py,sha256=z_adjgdGwiJ3V04hpC2wCmAespCzalOCAAJ-W_I7h5E,3371
|
|
33
|
+
whmcs_api_client-1.0.0.dist-info/METADATA,sha256=wFbWLhliZ4_fM-Xr3GuGo-Zl6sTbUOeyaE_IWZELlm0,774
|
|
34
|
+
whmcs_api_client-1.0.0.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
35
|
+
whmcs_api_client-1.0.0.dist-info/top_level.txt,sha256=o__-iUgWbbjmxyaN263YXBtMVUOEJbxf8JRHBl4ebPw,18
|
|
36
|
+
whmcs_api_client-1.0.0.dist-info/RECORD,,
|