touchdesigner-mcp-server 0.4.0-alpha.1 → 0.4.0-alpha.2
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.
- package/README.ja.md +1 -0
- package/README.md +1 -0
- package/dist/cli.js +0 -0
- package/dist/gen/endpoints/TouchDesignerAPI.js +1 -1
- package/dist/gen/mcp/touchDesignerAPI.zod.js +1 -1
- package/dist/index.js +0 -0
- package/dist/server/touchDesignerServer.js +1 -1
- package/package.json +10 -12
- package/td/genHandlers.js +0 -47
- package/td/import_modules.py +0 -52
- package/td/mcp_webserver_base.tox +0 -0
- package/td/modules/mcp/controllers/__init__.py +0 -9
- package/td/modules/mcp/controllers/api_controller.py +0 -637
- package/td/modules/mcp/controllers/generated_handlers.py +0 -365
- package/td/modules/mcp/controllers/openapi_router.py +0 -265
- package/td/modules/mcp/services/__init__.py +0 -8
- package/td/modules/mcp/services/api_service.py +0 -555
- package/td/modules/mcp_webserver_script.py +0 -134
- package/td/modules/td_server/.dockerignore +0 -72
- package/td/modules/td_server/.openapi-generator/FILES +0 -55
- package/td/modules/td_server/.openapi-generator/VERSION +0 -1
- package/td/modules/td_server/.openapi-generator-ignore +0 -23
- package/td/modules/td_server/.travis.yml +0 -14
- package/td/modules/td_server/Dockerfile +0 -16
- package/td/modules/td_server/README.md +0 -49
- package/td/modules/td_server/git_push.sh +0 -57
- package/td/modules/td_server/openapi_server/__init__.py +0 -0
- package/td/modules/td_server/openapi_server/__main__.py +0 -19
- package/td/modules/td_server/openapi_server/controllers/__init__.py +0 -0
- package/td/modules/td_server/openapi_server/controllers/default_controller.py +0 -162
- package/td/modules/td_server/openapi_server/controllers/security_controller.py +0 -2
- package/td/modules/td_server/openapi_server/encoder.py +0 -19
- package/td/modules/td_server/openapi_server/models/__init__.py +0 -33
- package/td/modules/td_server/openapi_server/models/base_model.py +0 -68
- package/td/modules/td_server/openapi_server/models/create_node200_response.py +0 -125
- package/td/modules/td_server/openapi_server/models/create_node200_response_data.py +0 -63
- package/td/modules/td_server/openapi_server/models/create_node_request.py +0 -123
- package/td/modules/td_server/openapi_server/models/delete_node200_response.py +0 -125
- package/td/modules/td_server/openapi_server/models/delete_node200_response_data.py +0 -91
- package/td/modules/td_server/openapi_server/models/exec_node_method200_response.py +0 -125
- package/td/modules/td_server/openapi_server/models/exec_node_method200_response_data.py +0 -65
- package/td/modules/td_server/openapi_server/models/exec_node_method_request.py +0 -153
- package/td/modules/td_server/openapi_server/models/exec_node_method_request_args_inner.py +0 -34
- package/td/modules/td_server/openapi_server/models/exec_python_script200_response.py +0 -125
- package/td/modules/td_server/openapi_server/models/exec_python_script200_response_data.py +0 -65
- package/td/modules/td_server/openapi_server/models/exec_python_script200_response_data_result.py +0 -63
- package/td/modules/td_server/openapi_server/models/exec_python_script_request.py +0 -65
- package/td/modules/td_server/openapi_server/models/get_node_detail200_response.py +0 -125
- package/td/modules/td_server/openapi_server/models/get_nodes200_response.py +0 -125
- package/td/modules/td_server/openapi_server/models/get_nodes200_response_data.py +0 -65
- package/td/modules/td_server/openapi_server/models/get_td_info200_response.py +0 -125
- package/td/modules/td_server/openapi_server/models/get_td_info200_response_data.py +0 -155
- package/td/modules/td_server/openapi_server/models/get_td_python_class_details200_response.py +0 -125
- package/td/modules/td_server/openapi_server/models/get_td_python_classes200_response.py +0 -125
- package/td/modules/td_server/openapi_server/models/get_td_python_classes200_response_data.py +0 -63
- package/td/modules/td_server/openapi_server/models/td_node.py +0 -175
- package/td/modules/td_server/openapi_server/models/td_node_family_type.py +0 -44
- package/td/modules/td_server/openapi_server/models/td_python_class_details.py +0 -191
- package/td/modules/td_server/openapi_server/models/td_python_class_info.py +0 -127
- package/td/modules/td_server/openapi_server/models/td_python_method_info.py +0 -121
- package/td/modules/td_server/openapi_server/models/td_python_property_info.py +0 -123
- package/td/modules/td_server/openapi_server/models/update_node200_response.py +0 -125
- package/td/modules/td_server/openapi_server/models/update_node200_response_data.py +0 -149
- package/td/modules/td_server/openapi_server/models/update_node200_response_data_failed_inner.py +0 -91
- package/td/modules/td_server/openapi_server/models/update_node_request.py +0 -93
- package/td/modules/td_server/openapi_server/openapi/openapi.yaml +0 -975
- package/td/modules/td_server/openapi_server/test/__init__.py +0 -16
- package/td/modules/td_server/openapi_server/test/test_default_controller.py +0 -201
- package/td/modules/td_server/openapi_server/typing_utils.py +0 -30
- package/td/modules/td_server/openapi_server/util.py +0 -147
- package/td/modules/td_server/requirements.txt +0 -13
- package/td/modules/td_server/setup.py +0 -37
- package/td/modules/td_server/test-requirements.txt +0 -4
- package/td/modules/td_server/tox.ini +0 -11
- package/td/modules/utils/config.py +0 -7
- package/td/modules/utils/error_handling.py +0 -104
- package/td/modules/utils/logging.py +0 -23
- package/td/modules/utils/result.py +0 -40
- package/td/modules/utils/serialization.py +0 -57
- package/td/modules/utils/types.py +0 -33
- package/td/modules/utils/utils_logging.py +0 -60
- package/td/templates/mcp/api_controller_handlers.mustache +0 -63
|
@@ -1,125 +0,0 @@
|
|
|
1
|
-
from datetime import date, datetime # noqa: F401
|
|
2
|
-
|
|
3
|
-
from typing import List, Dict # noqa: F401
|
|
4
|
-
|
|
5
|
-
from openapi_server.models.base_model import Model
|
|
6
|
-
from openapi_server.models.get_nodes200_response_data import GetNodes200ResponseData
|
|
7
|
-
from openapi_server import util
|
|
8
|
-
|
|
9
|
-
from openapi_server.models.get_nodes200_response_data import GetNodes200ResponseData # noqa: E501
|
|
10
|
-
|
|
11
|
-
class GetNodes200Response(Model):
|
|
12
|
-
"""NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
13
|
-
|
|
14
|
-
Do not edit the class manually.
|
|
15
|
-
"""
|
|
16
|
-
|
|
17
|
-
def __init__(self, success=None, data=None, error=None): # noqa: E501
|
|
18
|
-
"""GetNodes200Response - a model defined in OpenAPI
|
|
19
|
-
|
|
20
|
-
:param success: The success of this GetNodes200Response. # noqa: E501
|
|
21
|
-
:type success: bool
|
|
22
|
-
:param data: The data of this GetNodes200Response. # noqa: E501
|
|
23
|
-
:type data: GetNodes200ResponseData
|
|
24
|
-
:param error: The error of this GetNodes200Response. # noqa: E501
|
|
25
|
-
:type error: str
|
|
26
|
-
"""
|
|
27
|
-
self.openapi_types = {
|
|
28
|
-
'success': bool,
|
|
29
|
-
'data': GetNodes200ResponseData,
|
|
30
|
-
'error': str
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
self.attribute_map = {
|
|
34
|
-
'success': 'success',
|
|
35
|
-
'data': 'data',
|
|
36
|
-
'error': 'error'
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
self._success = success
|
|
40
|
-
self._data = data
|
|
41
|
-
self._error = error
|
|
42
|
-
|
|
43
|
-
@classmethod
|
|
44
|
-
def from_dict(cls, dikt) -> 'GetNodes200Response':
|
|
45
|
-
"""Returns the dict as a model
|
|
46
|
-
|
|
47
|
-
:param dikt: A dict.
|
|
48
|
-
:type: dict
|
|
49
|
-
:return: The get_nodes_200_response of this GetNodes200Response. # noqa: E501
|
|
50
|
-
:rtype: GetNodes200Response
|
|
51
|
-
"""
|
|
52
|
-
return util.deserialize_model(dikt, cls)
|
|
53
|
-
|
|
54
|
-
@property
|
|
55
|
-
def success(self) -> bool:
|
|
56
|
-
"""Gets the success of this GetNodes200Response.
|
|
57
|
-
|
|
58
|
-
Whether the operation was successful # noqa: E501
|
|
59
|
-
|
|
60
|
-
:return: The success of this GetNodes200Response.
|
|
61
|
-
:rtype: bool
|
|
62
|
-
"""
|
|
63
|
-
return self._success
|
|
64
|
-
|
|
65
|
-
@success.setter
|
|
66
|
-
def success(self, success: bool):
|
|
67
|
-
"""Sets the success of this GetNodes200Response.
|
|
68
|
-
|
|
69
|
-
Whether the operation was successful # noqa: E501
|
|
70
|
-
|
|
71
|
-
:param success: The success of this GetNodes200Response.
|
|
72
|
-
:type success: bool
|
|
73
|
-
"""
|
|
74
|
-
if success is None:
|
|
75
|
-
raise ValueError("Invalid value for `success`, must not be `None`") # noqa: E501
|
|
76
|
-
|
|
77
|
-
self._success = success
|
|
78
|
-
|
|
79
|
-
@property
|
|
80
|
-
def data(self) -> GetNodes200ResponseData:
|
|
81
|
-
"""Gets the data of this GetNodes200Response.
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
:return: The data of this GetNodes200Response.
|
|
85
|
-
:rtype: GetNodes200ResponseData
|
|
86
|
-
"""
|
|
87
|
-
return self._data
|
|
88
|
-
|
|
89
|
-
@data.setter
|
|
90
|
-
def data(self, data: GetNodes200ResponseData):
|
|
91
|
-
"""Sets the data of this GetNodes200Response.
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
:param data: The data of this GetNodes200Response.
|
|
95
|
-
:type data: GetNodes200ResponseData
|
|
96
|
-
"""
|
|
97
|
-
if data is None:
|
|
98
|
-
raise ValueError("Invalid value for `data`, must not be `None`") # noqa: E501
|
|
99
|
-
|
|
100
|
-
self._data = data
|
|
101
|
-
|
|
102
|
-
@property
|
|
103
|
-
def error(self) -> str:
|
|
104
|
-
"""Gets the error of this GetNodes200Response.
|
|
105
|
-
|
|
106
|
-
Error message if the operation was not successful # noqa: E501
|
|
107
|
-
|
|
108
|
-
:return: The error of this GetNodes200Response.
|
|
109
|
-
:rtype: str
|
|
110
|
-
"""
|
|
111
|
-
return self._error
|
|
112
|
-
|
|
113
|
-
@error.setter
|
|
114
|
-
def error(self, error: str):
|
|
115
|
-
"""Sets the error of this GetNodes200Response.
|
|
116
|
-
|
|
117
|
-
Error message if the operation was not successful # noqa: E501
|
|
118
|
-
|
|
119
|
-
:param error: The error of this GetNodes200Response.
|
|
120
|
-
:type error: str
|
|
121
|
-
"""
|
|
122
|
-
if error is None:
|
|
123
|
-
raise ValueError("Invalid value for `error`, must not be `None`") # noqa: E501
|
|
124
|
-
|
|
125
|
-
self._error = error
|
|
@@ -1,65 +0,0 @@
|
|
|
1
|
-
from datetime import date, datetime # noqa: F401
|
|
2
|
-
|
|
3
|
-
from typing import List, Dict # noqa: F401
|
|
4
|
-
|
|
5
|
-
from openapi_server.models.base_model import Model
|
|
6
|
-
from openapi_server.models.td_node import TdNode
|
|
7
|
-
from openapi_server import util
|
|
8
|
-
|
|
9
|
-
from openapi_server.models.td_node import TdNode # noqa: E501
|
|
10
|
-
|
|
11
|
-
class GetNodes200ResponseData(Model):
|
|
12
|
-
"""NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
13
|
-
|
|
14
|
-
Do not edit the class manually.
|
|
15
|
-
"""
|
|
16
|
-
|
|
17
|
-
def __init__(self, nodes=None): # noqa: E501
|
|
18
|
-
"""GetNodes200ResponseData - a model defined in OpenAPI
|
|
19
|
-
|
|
20
|
-
:param nodes: The nodes of this GetNodes200ResponseData. # noqa: E501
|
|
21
|
-
:type nodes: List[TdNode]
|
|
22
|
-
"""
|
|
23
|
-
self.openapi_types = {
|
|
24
|
-
'nodes': List[TdNode]
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
self.attribute_map = {
|
|
28
|
-
'nodes': 'nodes'
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
self._nodes = nodes
|
|
32
|
-
|
|
33
|
-
@classmethod
|
|
34
|
-
def from_dict(cls, dikt) -> 'GetNodes200ResponseData':
|
|
35
|
-
"""Returns the dict as a model
|
|
36
|
-
|
|
37
|
-
:param dikt: A dict.
|
|
38
|
-
:type: dict
|
|
39
|
-
:return: The get_nodes_200_response_data of this GetNodes200ResponseData. # noqa: E501
|
|
40
|
-
:rtype: GetNodes200ResponseData
|
|
41
|
-
"""
|
|
42
|
-
return util.deserialize_model(dikt, cls)
|
|
43
|
-
|
|
44
|
-
@property
|
|
45
|
-
def nodes(self) -> List[TdNode]:
|
|
46
|
-
"""Gets the nodes of this GetNodes200ResponseData.
|
|
47
|
-
|
|
48
|
-
Result of the execution # noqa: E501
|
|
49
|
-
|
|
50
|
-
:return: The nodes of this GetNodes200ResponseData.
|
|
51
|
-
:rtype: List[TdNode]
|
|
52
|
-
"""
|
|
53
|
-
return self._nodes
|
|
54
|
-
|
|
55
|
-
@nodes.setter
|
|
56
|
-
def nodes(self, nodes: List[TdNode]):
|
|
57
|
-
"""Sets the nodes of this GetNodes200ResponseData.
|
|
58
|
-
|
|
59
|
-
Result of the execution # noqa: E501
|
|
60
|
-
|
|
61
|
-
:param nodes: The nodes of this GetNodes200ResponseData.
|
|
62
|
-
:type nodes: List[TdNode]
|
|
63
|
-
"""
|
|
64
|
-
|
|
65
|
-
self._nodes = nodes
|
|
@@ -1,125 +0,0 @@
|
|
|
1
|
-
from datetime import date, datetime # noqa: F401
|
|
2
|
-
|
|
3
|
-
from typing import List, Dict # noqa: F401
|
|
4
|
-
|
|
5
|
-
from openapi_server.models.base_model import Model
|
|
6
|
-
from openapi_server.models.get_td_info200_response_data import GetTdInfo200ResponseData
|
|
7
|
-
from openapi_server import util
|
|
8
|
-
|
|
9
|
-
from openapi_server.models.get_td_info200_response_data import GetTdInfo200ResponseData # noqa: E501
|
|
10
|
-
|
|
11
|
-
class GetTdInfo200Response(Model):
|
|
12
|
-
"""NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
13
|
-
|
|
14
|
-
Do not edit the class manually.
|
|
15
|
-
"""
|
|
16
|
-
|
|
17
|
-
def __init__(self, success=None, data=None, error=None): # noqa: E501
|
|
18
|
-
"""GetTdInfo200Response - a model defined in OpenAPI
|
|
19
|
-
|
|
20
|
-
:param success: The success of this GetTdInfo200Response. # noqa: E501
|
|
21
|
-
:type success: bool
|
|
22
|
-
:param data: The data of this GetTdInfo200Response. # noqa: E501
|
|
23
|
-
:type data: GetTdInfo200ResponseData
|
|
24
|
-
:param error: The error of this GetTdInfo200Response. # noqa: E501
|
|
25
|
-
:type error: str
|
|
26
|
-
"""
|
|
27
|
-
self.openapi_types = {
|
|
28
|
-
'success': bool,
|
|
29
|
-
'data': GetTdInfo200ResponseData,
|
|
30
|
-
'error': str
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
self.attribute_map = {
|
|
34
|
-
'success': 'success',
|
|
35
|
-
'data': 'data',
|
|
36
|
-
'error': 'error'
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
self._success = success
|
|
40
|
-
self._data = data
|
|
41
|
-
self._error = error
|
|
42
|
-
|
|
43
|
-
@classmethod
|
|
44
|
-
def from_dict(cls, dikt) -> 'GetTdInfo200Response':
|
|
45
|
-
"""Returns the dict as a model
|
|
46
|
-
|
|
47
|
-
:param dikt: A dict.
|
|
48
|
-
:type: dict
|
|
49
|
-
:return: The get_td_info_200_response of this GetTdInfo200Response. # noqa: E501
|
|
50
|
-
:rtype: GetTdInfo200Response
|
|
51
|
-
"""
|
|
52
|
-
return util.deserialize_model(dikt, cls)
|
|
53
|
-
|
|
54
|
-
@property
|
|
55
|
-
def success(self) -> bool:
|
|
56
|
-
"""Gets the success of this GetTdInfo200Response.
|
|
57
|
-
|
|
58
|
-
Whether the operation was successful # noqa: E501
|
|
59
|
-
|
|
60
|
-
:return: The success of this GetTdInfo200Response.
|
|
61
|
-
:rtype: bool
|
|
62
|
-
"""
|
|
63
|
-
return self._success
|
|
64
|
-
|
|
65
|
-
@success.setter
|
|
66
|
-
def success(self, success: bool):
|
|
67
|
-
"""Sets the success of this GetTdInfo200Response.
|
|
68
|
-
|
|
69
|
-
Whether the operation was successful # noqa: E501
|
|
70
|
-
|
|
71
|
-
:param success: The success of this GetTdInfo200Response.
|
|
72
|
-
:type success: bool
|
|
73
|
-
"""
|
|
74
|
-
if success is None:
|
|
75
|
-
raise ValueError("Invalid value for `success`, must not be `None`") # noqa: E501
|
|
76
|
-
|
|
77
|
-
self._success = success
|
|
78
|
-
|
|
79
|
-
@property
|
|
80
|
-
def data(self) -> GetTdInfo200ResponseData:
|
|
81
|
-
"""Gets the data of this GetTdInfo200Response.
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
:return: The data of this GetTdInfo200Response.
|
|
85
|
-
:rtype: GetTdInfo200ResponseData
|
|
86
|
-
"""
|
|
87
|
-
return self._data
|
|
88
|
-
|
|
89
|
-
@data.setter
|
|
90
|
-
def data(self, data: GetTdInfo200ResponseData):
|
|
91
|
-
"""Sets the data of this GetTdInfo200Response.
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
:param data: The data of this GetTdInfo200Response.
|
|
95
|
-
:type data: GetTdInfo200ResponseData
|
|
96
|
-
"""
|
|
97
|
-
if data is None:
|
|
98
|
-
raise ValueError("Invalid value for `data`, must not be `None`") # noqa: E501
|
|
99
|
-
|
|
100
|
-
self._data = data
|
|
101
|
-
|
|
102
|
-
@property
|
|
103
|
-
def error(self) -> str:
|
|
104
|
-
"""Gets the error of this GetTdInfo200Response.
|
|
105
|
-
|
|
106
|
-
Error message if the operation was not successful # noqa: E501
|
|
107
|
-
|
|
108
|
-
:return: The error of this GetTdInfo200Response.
|
|
109
|
-
:rtype: str
|
|
110
|
-
"""
|
|
111
|
-
return self._error
|
|
112
|
-
|
|
113
|
-
@error.setter
|
|
114
|
-
def error(self, error: str):
|
|
115
|
-
"""Sets the error of this GetTdInfo200Response.
|
|
116
|
-
|
|
117
|
-
Error message if the operation was not successful # noqa: E501
|
|
118
|
-
|
|
119
|
-
:param error: The error of this GetTdInfo200Response.
|
|
120
|
-
:type error: str
|
|
121
|
-
"""
|
|
122
|
-
if error is None:
|
|
123
|
-
raise ValueError("Invalid value for `error`, must not be `None`") # noqa: E501
|
|
124
|
-
|
|
125
|
-
self._error = error
|
|
@@ -1,155 +0,0 @@
|
|
|
1
|
-
from datetime import date, datetime # noqa: F401
|
|
2
|
-
|
|
3
|
-
from typing import List, Dict # noqa: F401
|
|
4
|
-
|
|
5
|
-
from openapi_server.models.base_model import Model
|
|
6
|
-
from openapi_server import util
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
class GetTdInfo200ResponseData(Model):
|
|
10
|
-
"""NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
-
|
|
12
|
-
Do not edit the class manually.
|
|
13
|
-
"""
|
|
14
|
-
|
|
15
|
-
def __init__(self, server=None, version=None, os_name=None, os_version=None): # noqa: E501
|
|
16
|
-
"""GetTdInfo200ResponseData - a model defined in OpenAPI
|
|
17
|
-
|
|
18
|
-
:param server: The server of this GetTdInfo200ResponseData. # noqa: E501
|
|
19
|
-
:type server: str
|
|
20
|
-
:param version: The version of this GetTdInfo200ResponseData. # noqa: E501
|
|
21
|
-
:type version: str
|
|
22
|
-
:param os_name: The os_name of this GetTdInfo200ResponseData. # noqa: E501
|
|
23
|
-
:type os_name: str
|
|
24
|
-
:param os_version: The os_version of this GetTdInfo200ResponseData. # noqa: E501
|
|
25
|
-
:type os_version: str
|
|
26
|
-
"""
|
|
27
|
-
self.openapi_types = {
|
|
28
|
-
'server': str,
|
|
29
|
-
'version': str,
|
|
30
|
-
'os_name': str,
|
|
31
|
-
'os_version': str
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
self.attribute_map = {
|
|
35
|
-
'server': 'server',
|
|
36
|
-
'version': 'version',
|
|
37
|
-
'os_name': 'osName',
|
|
38
|
-
'os_version': 'osVersion'
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
self._server = server
|
|
42
|
-
self._version = version
|
|
43
|
-
self._os_name = os_name
|
|
44
|
-
self._os_version = os_version
|
|
45
|
-
|
|
46
|
-
@classmethod
|
|
47
|
-
def from_dict(cls, dikt) -> 'GetTdInfo200ResponseData':
|
|
48
|
-
"""Returns the dict as a model
|
|
49
|
-
|
|
50
|
-
:param dikt: A dict.
|
|
51
|
-
:type: dict
|
|
52
|
-
:return: The get_td_info_200_response_data of this GetTdInfo200ResponseData. # noqa: E501
|
|
53
|
-
:rtype: GetTdInfo200ResponseData
|
|
54
|
-
"""
|
|
55
|
-
return util.deserialize_model(dikt, cls)
|
|
56
|
-
|
|
57
|
-
@property
|
|
58
|
-
def server(self) -> str:
|
|
59
|
-
"""Gets the server of this GetTdInfo200ResponseData.
|
|
60
|
-
|
|
61
|
-
Server name (typically \"TouchDesigner\") # noqa: E501
|
|
62
|
-
|
|
63
|
-
:return: The server of this GetTdInfo200ResponseData.
|
|
64
|
-
:rtype: str
|
|
65
|
-
"""
|
|
66
|
-
return self._server
|
|
67
|
-
|
|
68
|
-
@server.setter
|
|
69
|
-
def server(self, server: str):
|
|
70
|
-
"""Sets the server of this GetTdInfo200ResponseData.
|
|
71
|
-
|
|
72
|
-
Server name (typically \"TouchDesigner\") # noqa: E501
|
|
73
|
-
|
|
74
|
-
:param server: The server of this GetTdInfo200ResponseData.
|
|
75
|
-
:type server: str
|
|
76
|
-
"""
|
|
77
|
-
if server is None:
|
|
78
|
-
raise ValueError("Invalid value for `server`, must not be `None`") # noqa: E501
|
|
79
|
-
|
|
80
|
-
self._server = server
|
|
81
|
-
|
|
82
|
-
@property
|
|
83
|
-
def version(self) -> str:
|
|
84
|
-
"""Gets the version of this GetTdInfo200ResponseData.
|
|
85
|
-
|
|
86
|
-
TouchDesigner version number # noqa: E501
|
|
87
|
-
|
|
88
|
-
:return: The version of this GetTdInfo200ResponseData.
|
|
89
|
-
:rtype: str
|
|
90
|
-
"""
|
|
91
|
-
return self._version
|
|
92
|
-
|
|
93
|
-
@version.setter
|
|
94
|
-
def version(self, version: str):
|
|
95
|
-
"""Sets the version of this GetTdInfo200ResponseData.
|
|
96
|
-
|
|
97
|
-
TouchDesigner version number # noqa: E501
|
|
98
|
-
|
|
99
|
-
:param version: The version of this GetTdInfo200ResponseData.
|
|
100
|
-
:type version: str
|
|
101
|
-
"""
|
|
102
|
-
if version is None:
|
|
103
|
-
raise ValueError("Invalid value for `version`, must not be `None`") # noqa: E501
|
|
104
|
-
|
|
105
|
-
self._version = version
|
|
106
|
-
|
|
107
|
-
@property
|
|
108
|
-
def os_name(self) -> str:
|
|
109
|
-
"""Gets the os_name of this GetTdInfo200ResponseData.
|
|
110
|
-
|
|
111
|
-
Operating system name # noqa: E501
|
|
112
|
-
|
|
113
|
-
:return: The os_name of this GetTdInfo200ResponseData.
|
|
114
|
-
:rtype: str
|
|
115
|
-
"""
|
|
116
|
-
return self._os_name
|
|
117
|
-
|
|
118
|
-
@os_name.setter
|
|
119
|
-
def os_name(self, os_name: str):
|
|
120
|
-
"""Sets the os_name of this GetTdInfo200ResponseData.
|
|
121
|
-
|
|
122
|
-
Operating system name # noqa: E501
|
|
123
|
-
|
|
124
|
-
:param os_name: The os_name of this GetTdInfo200ResponseData.
|
|
125
|
-
:type os_name: str
|
|
126
|
-
"""
|
|
127
|
-
if os_name is None:
|
|
128
|
-
raise ValueError("Invalid value for `os_name`, must not be `None`") # noqa: E501
|
|
129
|
-
|
|
130
|
-
self._os_name = os_name
|
|
131
|
-
|
|
132
|
-
@property
|
|
133
|
-
def os_version(self) -> str:
|
|
134
|
-
"""Gets the os_version of this GetTdInfo200ResponseData.
|
|
135
|
-
|
|
136
|
-
Operating system version # noqa: E501
|
|
137
|
-
|
|
138
|
-
:return: The os_version of this GetTdInfo200ResponseData.
|
|
139
|
-
:rtype: str
|
|
140
|
-
"""
|
|
141
|
-
return self._os_version
|
|
142
|
-
|
|
143
|
-
@os_version.setter
|
|
144
|
-
def os_version(self, os_version: str):
|
|
145
|
-
"""Sets the os_version of this GetTdInfo200ResponseData.
|
|
146
|
-
|
|
147
|
-
Operating system version # noqa: E501
|
|
148
|
-
|
|
149
|
-
:param os_version: The os_version of this GetTdInfo200ResponseData.
|
|
150
|
-
:type os_version: str
|
|
151
|
-
"""
|
|
152
|
-
if os_version is None:
|
|
153
|
-
raise ValueError("Invalid value for `os_version`, must not be `None`") # noqa: E501
|
|
154
|
-
|
|
155
|
-
self._os_version = os_version
|
package/td/modules/td_server/openapi_server/models/get_td_python_class_details200_response.py
DELETED
|
@@ -1,125 +0,0 @@
|
|
|
1
|
-
from datetime import date, datetime # noqa: F401
|
|
2
|
-
|
|
3
|
-
from typing import List, Dict # noqa: F401
|
|
4
|
-
|
|
5
|
-
from openapi_server.models.base_model import Model
|
|
6
|
-
from openapi_server.models.td_python_class_details import TdPythonClassDetails
|
|
7
|
-
from openapi_server import util
|
|
8
|
-
|
|
9
|
-
from openapi_server.models.td_python_class_details import TdPythonClassDetails # noqa: E501
|
|
10
|
-
|
|
11
|
-
class GetTdPythonClassDetails200Response(Model):
|
|
12
|
-
"""NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
13
|
-
|
|
14
|
-
Do not edit the class manually.
|
|
15
|
-
"""
|
|
16
|
-
|
|
17
|
-
def __init__(self, success=None, data=None, error=None): # noqa: E501
|
|
18
|
-
"""GetTdPythonClassDetails200Response - a model defined in OpenAPI
|
|
19
|
-
|
|
20
|
-
:param success: The success of this GetTdPythonClassDetails200Response. # noqa: E501
|
|
21
|
-
:type success: bool
|
|
22
|
-
:param data: The data of this GetTdPythonClassDetails200Response. # noqa: E501
|
|
23
|
-
:type data: TdPythonClassDetails
|
|
24
|
-
:param error: The error of this GetTdPythonClassDetails200Response. # noqa: E501
|
|
25
|
-
:type error: str
|
|
26
|
-
"""
|
|
27
|
-
self.openapi_types = {
|
|
28
|
-
'success': bool,
|
|
29
|
-
'data': TdPythonClassDetails,
|
|
30
|
-
'error': str
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
self.attribute_map = {
|
|
34
|
-
'success': 'success',
|
|
35
|
-
'data': 'data',
|
|
36
|
-
'error': 'error'
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
self._success = success
|
|
40
|
-
self._data = data
|
|
41
|
-
self._error = error
|
|
42
|
-
|
|
43
|
-
@classmethod
|
|
44
|
-
def from_dict(cls, dikt) -> 'GetTdPythonClassDetails200Response':
|
|
45
|
-
"""Returns the dict as a model
|
|
46
|
-
|
|
47
|
-
:param dikt: A dict.
|
|
48
|
-
:type: dict
|
|
49
|
-
:return: The get_td_python_class_details_200_response of this GetTdPythonClassDetails200Response. # noqa: E501
|
|
50
|
-
:rtype: GetTdPythonClassDetails200Response
|
|
51
|
-
"""
|
|
52
|
-
return util.deserialize_model(dikt, cls)
|
|
53
|
-
|
|
54
|
-
@property
|
|
55
|
-
def success(self) -> bool:
|
|
56
|
-
"""Gets the success of this GetTdPythonClassDetails200Response.
|
|
57
|
-
|
|
58
|
-
Whether the operation was successful # noqa: E501
|
|
59
|
-
|
|
60
|
-
:return: The success of this GetTdPythonClassDetails200Response.
|
|
61
|
-
:rtype: bool
|
|
62
|
-
"""
|
|
63
|
-
return self._success
|
|
64
|
-
|
|
65
|
-
@success.setter
|
|
66
|
-
def success(self, success: bool):
|
|
67
|
-
"""Sets the success of this GetTdPythonClassDetails200Response.
|
|
68
|
-
|
|
69
|
-
Whether the operation was successful # noqa: E501
|
|
70
|
-
|
|
71
|
-
:param success: The success of this GetTdPythonClassDetails200Response.
|
|
72
|
-
:type success: bool
|
|
73
|
-
"""
|
|
74
|
-
if success is None:
|
|
75
|
-
raise ValueError("Invalid value for `success`, must not be `None`") # noqa: E501
|
|
76
|
-
|
|
77
|
-
self._success = success
|
|
78
|
-
|
|
79
|
-
@property
|
|
80
|
-
def data(self) -> TdPythonClassDetails:
|
|
81
|
-
"""Gets the data of this GetTdPythonClassDetails200Response.
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
:return: The data of this GetTdPythonClassDetails200Response.
|
|
85
|
-
:rtype: TdPythonClassDetails
|
|
86
|
-
"""
|
|
87
|
-
return self._data
|
|
88
|
-
|
|
89
|
-
@data.setter
|
|
90
|
-
def data(self, data: TdPythonClassDetails):
|
|
91
|
-
"""Sets the data of this GetTdPythonClassDetails200Response.
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
:param data: The data of this GetTdPythonClassDetails200Response.
|
|
95
|
-
:type data: TdPythonClassDetails
|
|
96
|
-
"""
|
|
97
|
-
if data is None:
|
|
98
|
-
raise ValueError("Invalid value for `data`, must not be `None`") # noqa: E501
|
|
99
|
-
|
|
100
|
-
self._data = data
|
|
101
|
-
|
|
102
|
-
@property
|
|
103
|
-
def error(self) -> str:
|
|
104
|
-
"""Gets the error of this GetTdPythonClassDetails200Response.
|
|
105
|
-
|
|
106
|
-
Error message if the operation was not successful # noqa: E501
|
|
107
|
-
|
|
108
|
-
:return: The error of this GetTdPythonClassDetails200Response.
|
|
109
|
-
:rtype: str
|
|
110
|
-
"""
|
|
111
|
-
return self._error
|
|
112
|
-
|
|
113
|
-
@error.setter
|
|
114
|
-
def error(self, error: str):
|
|
115
|
-
"""Sets the error of this GetTdPythonClassDetails200Response.
|
|
116
|
-
|
|
117
|
-
Error message if the operation was not successful # noqa: E501
|
|
118
|
-
|
|
119
|
-
:param error: The error of this GetTdPythonClassDetails200Response.
|
|
120
|
-
:type error: str
|
|
121
|
-
"""
|
|
122
|
-
if error is None:
|
|
123
|
-
raise ValueError("Invalid value for `error`, must not be `None`") # noqa: E501
|
|
124
|
-
|
|
125
|
-
self._error = error
|