byteplus-python-sdk-v2 3.0.45__py2.py3-none-any.whl → 3.0.46__py2.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.
- {byteplus_python_sdk_v2-3.0.45.dist-info → byteplus_python_sdk_v2-3.0.46.dist-info}/METADATA +1 -1
- {byteplus_python_sdk_v2-3.0.45.dist-info → byteplus_python_sdk_v2-3.0.46.dist-info}/RECORD +70 -19
- {byteplus_python_sdk_v2-3.0.45.dist-info → byteplus_python_sdk_v2-3.0.46.dist-info}/top_level.txt +1 -0
- byteplussdkbilling/models/list_for_list_amortized_cost_bill_daily_output.py +27 -1
- byteplussdkbilling/models/list_for_list_amortized_cost_bill_detail_output.py +53 -1
- byteplussdkbilling/models/list_for_list_amortized_cost_bill_monthly_output.py +53 -1
- byteplussdkbilling/models/list_for_list_bill_detail_output.py +79 -1
- byteplussdkbilling/models/list_for_list_coupons_output.py +29 -3
- byteplussdkbilling/models/list_for_list_split_bill_detail_output.py +79 -1
- byteplussdkcore/api_client.py +1 -1
- byteplussdkcore/configuration.py +1 -1
- byteplussdkcore/endpoint/providers/default_provider.py +7 -0
- byteplussdkcore/endpoint/providers/standard_provider.py +1 -0
- byteplussdkcpaas/__init__.py +56 -0
- byteplussdkcpaas/api/__init__.py +6 -0
- byteplussdkcpaas/api/cpaas_api.py +519 -0
- byteplussdkcpaas/models/__init__.py +52 -0
- byteplussdkcpaas/models/action_for_create_template_v2_input.py +201 -0
- byteplussdkcpaas/models/action_for_get_template_v2_output.py +201 -0
- byteplussdkcpaas/models/create_template_v2_request.py +306 -0
- byteplussdkcpaas/models/create_template_v2_response.py +175 -0
- byteplussdkcpaas/models/data_for_create_template_v2_output.py +149 -0
- byteplussdkcpaas/models/data_for_get_template_v2_output.py +253 -0
- byteplussdkcpaas/models/data_for_list_template_v2_output.py +305 -0
- byteplussdkcpaas/models/data_for_send_batch_message_output.py +123 -0
- byteplussdkcpaas/models/data_for_send_message_output.py +123 -0
- byteplussdkcpaas/models/element_style_for_create_template_v2_input.py +305 -0
- byteplussdkcpaas/models/element_style_for_get_template_v2_output.py +305 -0
- byteplussdkcpaas/models/extend_attrs_for_create_template_v2_input.py +227 -0
- byteplussdkcpaas/models/extend_attrs_for_get_template_v2_output.py +227 -0
- byteplussdkcpaas/models/get_template_v2_request.py +150 -0
- byteplussdkcpaas/models/get_template_v2_response.py +201 -0
- byteplussdkcpaas/models/list_template_v2_request.py +255 -0
- byteplussdkcpaas/models/list_template_v2_response.py +201 -0
- byteplussdkcpaas/models/page_dto_list_for_create_template_v2_input.py +175 -0
- byteplussdkcpaas/models/page_dto_list_for_get_template_v2_output.py +175 -0
- byteplussdkcpaas/models/page_element_dto_list_for_create_template_v2_input.py +149 -0
- byteplussdkcpaas/models/page_element_dto_list_for_get_template_v2_output.py +149 -0
- byteplussdkcpaas/models/page_link_list_for_create_template_v2_input.py +227 -0
- byteplussdkcpaas/models/page_link_list_for_get_template_v2_output.py +227 -0
- byteplussdkcpaas/models/priority_for_send_batch_message_input.py +279 -0
- byteplussdkcpaas/models/priority_for_send_message_input.py +279 -0
- byteplussdkcpaas/models/receiver_for_send_batch_message_input.py +149 -0
- byteplussdkcpaas/models/send_batch_message_request.py +281 -0
- byteplussdkcpaas/models/send_batch_message_response.py +175 -0
- byteplussdkcpaas/models/send_message_request.py +281 -0
- byteplussdkcpaas/models/send_message_response.py +175 -0
- byteplussdkcpaas/models/template_list_for_create_template_v2_input.py +305 -0
- byteplussdkcpaas/models/template_list_for_get_template_v2_output.py +305 -0
- byteplussdkcpaas/models/template_status_for_list_template_v2_output.py +175 -0
- byteplussdkcpaas/models/variables_dto_list_for_create_template_v2_input.py +227 -0
- byteplussdkcpaas/models/variables_dto_list_for_get_template_v2_output.py +227 -0
- byteplussdkrdsmssql/__init__.py +12 -0
- byteplussdkrdsmssql/api/rds_mssql_api.py +485 -0
- byteplussdkrdsmssql/models/__init__.py +12 -0
- byteplussdkrdsmssql/models/db_status_for_describe_db_instance_tde_output.py +149 -0
- byteplussdkrdsmssql/models/db_status_for_modify_db_instance_tde_input.py +149 -0
- byteplussdkrdsmssql/models/describe_db_instance_ssl_request.py +124 -0
- byteplussdkrdsmssql/models/describe_db_instance_ssl_response.py +331 -0
- byteplussdkrdsmssql/models/describe_db_instance_tde_request.py +124 -0
- byteplussdkrdsmssql/models/describe_db_instance_tde_response.py +201 -0
- byteplussdkrdsmssql/models/download_ssl_certificate_request.py +124 -0
- byteplussdkrdsmssql/models/download_ssl_certificate_response.py +123 -0
- byteplussdkrdsmssql/models/modify_db_instance_ssl_request.py +229 -0
- byteplussdkrdsmssql/models/modify_db_instance_ssl_response.py +95 -0
- byteplussdkrdsmssql/models/modify_db_instance_tde_request.py +296 -0
- byteplussdkrdsmssql/models/modify_db_instance_tde_response.py +95 -0
- {byteplus_python_sdk_v2-3.0.45.dist-info → byteplus_python_sdk_v2-3.0.46.dist-info}/WHEEL +0 -0
- {byteplus_python_sdk_v2-3.0.45.dist-info → byteplus_python_sdk_v2-3.0.46.dist-info}/licenses/LICENSE.txt +0 -0
- {byteplus_python_sdk_v2-3.0.45.dist-info → byteplus_python_sdk_v2-3.0.46.dist-info}/licenses/NOTICE.md +0 -0
|
@@ -0,0 +1,175 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
"""
|
|
4
|
+
cpaas
|
|
5
|
+
|
|
6
|
+
No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501
|
|
7
|
+
|
|
8
|
+
OpenAPI spec version: common-version
|
|
9
|
+
|
|
10
|
+
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
|
11
|
+
"""
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
import pprint
|
|
15
|
+
import re # noqa: F401
|
|
16
|
+
|
|
17
|
+
import six
|
|
18
|
+
|
|
19
|
+
from byteplussdkcore.configuration import Configuration
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
class CreateTemplateV2Response(object):
|
|
23
|
+
"""NOTE: This class is auto generated by the swagger code generator program.
|
|
24
|
+
|
|
25
|
+
Do not edit the class manually.
|
|
26
|
+
"""
|
|
27
|
+
|
|
28
|
+
"""
|
|
29
|
+
Attributes:
|
|
30
|
+
swagger_types (dict): The key is attribute name
|
|
31
|
+
and the value is attribute type.
|
|
32
|
+
attribute_map (dict): The key is attribute name
|
|
33
|
+
and the value is json key in definition.
|
|
34
|
+
"""
|
|
35
|
+
swagger_types = {
|
|
36
|
+
'data': 'DataForCreateTemplateV2Output',
|
|
37
|
+
'message': 'str',
|
|
38
|
+
'success': 'bool'
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
attribute_map = {
|
|
42
|
+
'data': 'Data',
|
|
43
|
+
'message': 'Message',
|
|
44
|
+
'success': 'Success'
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
def __init__(self, data=None, message=None, success=None, _configuration=None): # noqa: E501
|
|
48
|
+
"""CreateTemplateV2Response - a model defined in Swagger""" # noqa: E501
|
|
49
|
+
if _configuration is None:
|
|
50
|
+
_configuration = Configuration()
|
|
51
|
+
self._configuration = _configuration
|
|
52
|
+
|
|
53
|
+
self._data = None
|
|
54
|
+
self._message = None
|
|
55
|
+
self._success = None
|
|
56
|
+
self.discriminator = None
|
|
57
|
+
|
|
58
|
+
if data is not None:
|
|
59
|
+
self.data = data
|
|
60
|
+
if message is not None:
|
|
61
|
+
self.message = message
|
|
62
|
+
if success is not None:
|
|
63
|
+
self.success = success
|
|
64
|
+
|
|
65
|
+
@property
|
|
66
|
+
def data(self):
|
|
67
|
+
"""Gets the data of this CreateTemplateV2Response. # noqa: E501
|
|
68
|
+
|
|
69
|
+
|
|
70
|
+
:return: The data of this CreateTemplateV2Response. # noqa: E501
|
|
71
|
+
:rtype: DataForCreateTemplateV2Output
|
|
72
|
+
"""
|
|
73
|
+
return self._data
|
|
74
|
+
|
|
75
|
+
@data.setter
|
|
76
|
+
def data(self, data):
|
|
77
|
+
"""Sets the data of this CreateTemplateV2Response.
|
|
78
|
+
|
|
79
|
+
|
|
80
|
+
:param data: The data of this CreateTemplateV2Response. # noqa: E501
|
|
81
|
+
:type: DataForCreateTemplateV2Output
|
|
82
|
+
"""
|
|
83
|
+
|
|
84
|
+
self._data = data
|
|
85
|
+
|
|
86
|
+
@property
|
|
87
|
+
def message(self):
|
|
88
|
+
"""Gets the message of this CreateTemplateV2Response. # noqa: E501
|
|
89
|
+
|
|
90
|
+
|
|
91
|
+
:return: The message of this CreateTemplateV2Response. # noqa: E501
|
|
92
|
+
:rtype: str
|
|
93
|
+
"""
|
|
94
|
+
return self._message
|
|
95
|
+
|
|
96
|
+
@message.setter
|
|
97
|
+
def message(self, message):
|
|
98
|
+
"""Sets the message of this CreateTemplateV2Response.
|
|
99
|
+
|
|
100
|
+
|
|
101
|
+
:param message: The message of this CreateTemplateV2Response. # noqa: E501
|
|
102
|
+
:type: str
|
|
103
|
+
"""
|
|
104
|
+
|
|
105
|
+
self._message = message
|
|
106
|
+
|
|
107
|
+
@property
|
|
108
|
+
def success(self):
|
|
109
|
+
"""Gets the success of this CreateTemplateV2Response. # noqa: E501
|
|
110
|
+
|
|
111
|
+
|
|
112
|
+
:return: The success of this CreateTemplateV2Response. # noqa: E501
|
|
113
|
+
:rtype: bool
|
|
114
|
+
"""
|
|
115
|
+
return self._success
|
|
116
|
+
|
|
117
|
+
@success.setter
|
|
118
|
+
def success(self, success):
|
|
119
|
+
"""Sets the success of this CreateTemplateV2Response.
|
|
120
|
+
|
|
121
|
+
|
|
122
|
+
:param success: The success of this CreateTemplateV2Response. # noqa: E501
|
|
123
|
+
:type: bool
|
|
124
|
+
"""
|
|
125
|
+
|
|
126
|
+
self._success = success
|
|
127
|
+
|
|
128
|
+
def to_dict(self):
|
|
129
|
+
"""Returns the model properties as a dict"""
|
|
130
|
+
result = {}
|
|
131
|
+
|
|
132
|
+
for attr, _ in six.iteritems(self.swagger_types):
|
|
133
|
+
value = getattr(self, attr)
|
|
134
|
+
if isinstance(value, list):
|
|
135
|
+
result[attr] = list(map(
|
|
136
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
|
137
|
+
value
|
|
138
|
+
))
|
|
139
|
+
elif hasattr(value, "to_dict"):
|
|
140
|
+
result[attr] = value.to_dict()
|
|
141
|
+
elif isinstance(value, dict):
|
|
142
|
+
result[attr] = dict(map(
|
|
143
|
+
lambda item: (item[0], item[1].to_dict())
|
|
144
|
+
if hasattr(item[1], "to_dict") else item,
|
|
145
|
+
value.items()
|
|
146
|
+
))
|
|
147
|
+
else:
|
|
148
|
+
result[attr] = value
|
|
149
|
+
if issubclass(CreateTemplateV2Response, dict):
|
|
150
|
+
for key, value in self.items():
|
|
151
|
+
result[key] = value
|
|
152
|
+
|
|
153
|
+
return result
|
|
154
|
+
|
|
155
|
+
def to_str(self):
|
|
156
|
+
"""Returns the string representation of the model"""
|
|
157
|
+
return pprint.pformat(self.to_dict())
|
|
158
|
+
|
|
159
|
+
def __repr__(self):
|
|
160
|
+
"""For `print` and `pprint`"""
|
|
161
|
+
return self.to_str()
|
|
162
|
+
|
|
163
|
+
def __eq__(self, other):
|
|
164
|
+
"""Returns true if both objects are equal"""
|
|
165
|
+
if not isinstance(other, CreateTemplateV2Response):
|
|
166
|
+
return False
|
|
167
|
+
|
|
168
|
+
return self.to_dict() == other.to_dict()
|
|
169
|
+
|
|
170
|
+
def __ne__(self, other):
|
|
171
|
+
"""Returns true if both objects are not equal"""
|
|
172
|
+
if not isinstance(other, CreateTemplateV2Response):
|
|
173
|
+
return True
|
|
174
|
+
|
|
175
|
+
return self.to_dict() != other.to_dict()
|
|
@@ -0,0 +1,149 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
"""
|
|
4
|
+
cpaas
|
|
5
|
+
|
|
6
|
+
No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501
|
|
7
|
+
|
|
8
|
+
OpenAPI spec version: common-version
|
|
9
|
+
|
|
10
|
+
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
|
11
|
+
"""
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
import pprint
|
|
15
|
+
import re # noqa: F401
|
|
16
|
+
|
|
17
|
+
import six
|
|
18
|
+
|
|
19
|
+
from byteplussdkcore.configuration import Configuration
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
class DataForCreateTemplateV2Output(object):
|
|
23
|
+
"""NOTE: This class is auto generated by the swagger code generator program.
|
|
24
|
+
|
|
25
|
+
Do not edit the class manually.
|
|
26
|
+
"""
|
|
27
|
+
|
|
28
|
+
"""
|
|
29
|
+
Attributes:
|
|
30
|
+
swagger_types (dict): The key is attribute name
|
|
31
|
+
and the value is attribute type.
|
|
32
|
+
attribute_map (dict): The key is attribute name
|
|
33
|
+
and the value is json key in definition.
|
|
34
|
+
"""
|
|
35
|
+
swagger_types = {
|
|
36
|
+
'scene_template_code': 'str',
|
|
37
|
+
'scene_template_name': 'str'
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
attribute_map = {
|
|
41
|
+
'scene_template_code': 'SceneTemplateCode',
|
|
42
|
+
'scene_template_name': 'SceneTemplateName'
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
def __init__(self, scene_template_code=None, scene_template_name=None, _configuration=None): # noqa: E501
|
|
46
|
+
"""DataForCreateTemplateV2Output - a model defined in Swagger""" # noqa: E501
|
|
47
|
+
if _configuration is None:
|
|
48
|
+
_configuration = Configuration()
|
|
49
|
+
self._configuration = _configuration
|
|
50
|
+
|
|
51
|
+
self._scene_template_code = None
|
|
52
|
+
self._scene_template_name = None
|
|
53
|
+
self.discriminator = None
|
|
54
|
+
|
|
55
|
+
if scene_template_code is not None:
|
|
56
|
+
self.scene_template_code = scene_template_code
|
|
57
|
+
if scene_template_name is not None:
|
|
58
|
+
self.scene_template_name = scene_template_name
|
|
59
|
+
|
|
60
|
+
@property
|
|
61
|
+
def scene_template_code(self):
|
|
62
|
+
"""Gets the scene_template_code of this DataForCreateTemplateV2Output. # noqa: E501
|
|
63
|
+
|
|
64
|
+
|
|
65
|
+
:return: The scene_template_code of this DataForCreateTemplateV2Output. # noqa: E501
|
|
66
|
+
:rtype: str
|
|
67
|
+
"""
|
|
68
|
+
return self._scene_template_code
|
|
69
|
+
|
|
70
|
+
@scene_template_code.setter
|
|
71
|
+
def scene_template_code(self, scene_template_code):
|
|
72
|
+
"""Sets the scene_template_code of this DataForCreateTemplateV2Output.
|
|
73
|
+
|
|
74
|
+
|
|
75
|
+
:param scene_template_code: The scene_template_code of this DataForCreateTemplateV2Output. # noqa: E501
|
|
76
|
+
:type: str
|
|
77
|
+
"""
|
|
78
|
+
|
|
79
|
+
self._scene_template_code = scene_template_code
|
|
80
|
+
|
|
81
|
+
@property
|
|
82
|
+
def scene_template_name(self):
|
|
83
|
+
"""Gets the scene_template_name of this DataForCreateTemplateV2Output. # noqa: E501
|
|
84
|
+
|
|
85
|
+
|
|
86
|
+
:return: The scene_template_name of this DataForCreateTemplateV2Output. # noqa: E501
|
|
87
|
+
:rtype: str
|
|
88
|
+
"""
|
|
89
|
+
return self._scene_template_name
|
|
90
|
+
|
|
91
|
+
@scene_template_name.setter
|
|
92
|
+
def scene_template_name(self, scene_template_name):
|
|
93
|
+
"""Sets the scene_template_name of this DataForCreateTemplateV2Output.
|
|
94
|
+
|
|
95
|
+
|
|
96
|
+
:param scene_template_name: The scene_template_name of this DataForCreateTemplateV2Output. # noqa: E501
|
|
97
|
+
:type: str
|
|
98
|
+
"""
|
|
99
|
+
|
|
100
|
+
self._scene_template_name = scene_template_name
|
|
101
|
+
|
|
102
|
+
def to_dict(self):
|
|
103
|
+
"""Returns the model properties as a dict"""
|
|
104
|
+
result = {}
|
|
105
|
+
|
|
106
|
+
for attr, _ in six.iteritems(self.swagger_types):
|
|
107
|
+
value = getattr(self, attr)
|
|
108
|
+
if isinstance(value, list):
|
|
109
|
+
result[attr] = list(map(
|
|
110
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
|
111
|
+
value
|
|
112
|
+
))
|
|
113
|
+
elif hasattr(value, "to_dict"):
|
|
114
|
+
result[attr] = value.to_dict()
|
|
115
|
+
elif isinstance(value, dict):
|
|
116
|
+
result[attr] = dict(map(
|
|
117
|
+
lambda item: (item[0], item[1].to_dict())
|
|
118
|
+
if hasattr(item[1], "to_dict") else item,
|
|
119
|
+
value.items()
|
|
120
|
+
))
|
|
121
|
+
else:
|
|
122
|
+
result[attr] = value
|
|
123
|
+
if issubclass(DataForCreateTemplateV2Output, dict):
|
|
124
|
+
for key, value in self.items():
|
|
125
|
+
result[key] = value
|
|
126
|
+
|
|
127
|
+
return result
|
|
128
|
+
|
|
129
|
+
def to_str(self):
|
|
130
|
+
"""Returns the string representation of the model"""
|
|
131
|
+
return pprint.pformat(self.to_dict())
|
|
132
|
+
|
|
133
|
+
def __repr__(self):
|
|
134
|
+
"""For `print` and `pprint`"""
|
|
135
|
+
return self.to_str()
|
|
136
|
+
|
|
137
|
+
def __eq__(self, other):
|
|
138
|
+
"""Returns true if both objects are equal"""
|
|
139
|
+
if not isinstance(other, DataForCreateTemplateV2Output):
|
|
140
|
+
return False
|
|
141
|
+
|
|
142
|
+
return self.to_dict() == other.to_dict()
|
|
143
|
+
|
|
144
|
+
def __ne__(self, other):
|
|
145
|
+
"""Returns true if both objects are not equal"""
|
|
146
|
+
if not isinstance(other, DataForCreateTemplateV2Output):
|
|
147
|
+
return True
|
|
148
|
+
|
|
149
|
+
return self.to_dict() != other.to_dict()
|
|
@@ -0,0 +1,253 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
"""
|
|
4
|
+
cpaas
|
|
5
|
+
|
|
6
|
+
No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501
|
|
7
|
+
|
|
8
|
+
OpenAPI spec version: common-version
|
|
9
|
+
|
|
10
|
+
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
|
11
|
+
"""
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
import pprint
|
|
15
|
+
import re # noqa: F401
|
|
16
|
+
|
|
17
|
+
import six
|
|
18
|
+
|
|
19
|
+
from byteplussdkcore.configuration import Configuration
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
class DataForGetTemplateV2Output(object):
|
|
23
|
+
"""NOTE: This class is auto generated by the swagger code generator program.
|
|
24
|
+
|
|
25
|
+
Do not edit the class manually.
|
|
26
|
+
"""
|
|
27
|
+
|
|
28
|
+
"""
|
|
29
|
+
Attributes:
|
|
30
|
+
swagger_types (dict): The key is attribute name
|
|
31
|
+
and the value is attribute type.
|
|
32
|
+
attribute_map (dict): The key is attribute name
|
|
33
|
+
and the value is json key in definition.
|
|
34
|
+
"""
|
|
35
|
+
swagger_types = {
|
|
36
|
+
'business_type': 'str',
|
|
37
|
+
'language_code': 'str',
|
|
38
|
+
'language_name': 'str',
|
|
39
|
+
'scene_template_code': 'str',
|
|
40
|
+
'scene_template_name': 'str',
|
|
41
|
+
'template_list': 'list[TemplateListForGetTemplateV2Output]'
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
attribute_map = {
|
|
45
|
+
'business_type': 'BusinessType',
|
|
46
|
+
'language_code': 'LanguageCode',
|
|
47
|
+
'language_name': 'LanguageName',
|
|
48
|
+
'scene_template_code': 'SceneTemplateCode',
|
|
49
|
+
'scene_template_name': 'SceneTemplateName',
|
|
50
|
+
'template_list': 'TemplateList'
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
def __init__(self, business_type=None, language_code=None, language_name=None, scene_template_code=None, scene_template_name=None, template_list=None, _configuration=None): # noqa: E501
|
|
54
|
+
"""DataForGetTemplateV2Output - a model defined in Swagger""" # noqa: E501
|
|
55
|
+
if _configuration is None:
|
|
56
|
+
_configuration = Configuration()
|
|
57
|
+
self._configuration = _configuration
|
|
58
|
+
|
|
59
|
+
self._business_type = None
|
|
60
|
+
self._language_code = None
|
|
61
|
+
self._language_name = None
|
|
62
|
+
self._scene_template_code = None
|
|
63
|
+
self._scene_template_name = None
|
|
64
|
+
self._template_list = None
|
|
65
|
+
self.discriminator = None
|
|
66
|
+
|
|
67
|
+
if business_type is not None:
|
|
68
|
+
self.business_type = business_type
|
|
69
|
+
if language_code is not None:
|
|
70
|
+
self.language_code = language_code
|
|
71
|
+
if language_name is not None:
|
|
72
|
+
self.language_name = language_name
|
|
73
|
+
if scene_template_code is not None:
|
|
74
|
+
self.scene_template_code = scene_template_code
|
|
75
|
+
if scene_template_name is not None:
|
|
76
|
+
self.scene_template_name = scene_template_name
|
|
77
|
+
if template_list is not None:
|
|
78
|
+
self.template_list = template_list
|
|
79
|
+
|
|
80
|
+
@property
|
|
81
|
+
def business_type(self):
|
|
82
|
+
"""Gets the business_type of this DataForGetTemplateV2Output. # noqa: E501
|
|
83
|
+
|
|
84
|
+
|
|
85
|
+
:return: The business_type of this DataForGetTemplateV2Output. # noqa: E501
|
|
86
|
+
:rtype: str
|
|
87
|
+
"""
|
|
88
|
+
return self._business_type
|
|
89
|
+
|
|
90
|
+
@business_type.setter
|
|
91
|
+
def business_type(self, business_type):
|
|
92
|
+
"""Sets the business_type of this DataForGetTemplateV2Output.
|
|
93
|
+
|
|
94
|
+
|
|
95
|
+
:param business_type: The business_type of this DataForGetTemplateV2Output. # noqa: E501
|
|
96
|
+
:type: str
|
|
97
|
+
"""
|
|
98
|
+
|
|
99
|
+
self._business_type = business_type
|
|
100
|
+
|
|
101
|
+
@property
|
|
102
|
+
def language_code(self):
|
|
103
|
+
"""Gets the language_code of this DataForGetTemplateV2Output. # noqa: E501
|
|
104
|
+
|
|
105
|
+
|
|
106
|
+
:return: The language_code of this DataForGetTemplateV2Output. # noqa: E501
|
|
107
|
+
:rtype: str
|
|
108
|
+
"""
|
|
109
|
+
return self._language_code
|
|
110
|
+
|
|
111
|
+
@language_code.setter
|
|
112
|
+
def language_code(self, language_code):
|
|
113
|
+
"""Sets the language_code of this DataForGetTemplateV2Output.
|
|
114
|
+
|
|
115
|
+
|
|
116
|
+
:param language_code: The language_code of this DataForGetTemplateV2Output. # noqa: E501
|
|
117
|
+
:type: str
|
|
118
|
+
"""
|
|
119
|
+
|
|
120
|
+
self._language_code = language_code
|
|
121
|
+
|
|
122
|
+
@property
|
|
123
|
+
def language_name(self):
|
|
124
|
+
"""Gets the language_name of this DataForGetTemplateV2Output. # noqa: E501
|
|
125
|
+
|
|
126
|
+
|
|
127
|
+
:return: The language_name of this DataForGetTemplateV2Output. # noqa: E501
|
|
128
|
+
:rtype: str
|
|
129
|
+
"""
|
|
130
|
+
return self._language_name
|
|
131
|
+
|
|
132
|
+
@language_name.setter
|
|
133
|
+
def language_name(self, language_name):
|
|
134
|
+
"""Sets the language_name of this DataForGetTemplateV2Output.
|
|
135
|
+
|
|
136
|
+
|
|
137
|
+
:param language_name: The language_name of this DataForGetTemplateV2Output. # noqa: E501
|
|
138
|
+
:type: str
|
|
139
|
+
"""
|
|
140
|
+
|
|
141
|
+
self._language_name = language_name
|
|
142
|
+
|
|
143
|
+
@property
|
|
144
|
+
def scene_template_code(self):
|
|
145
|
+
"""Gets the scene_template_code of this DataForGetTemplateV2Output. # noqa: E501
|
|
146
|
+
|
|
147
|
+
|
|
148
|
+
:return: The scene_template_code of this DataForGetTemplateV2Output. # noqa: E501
|
|
149
|
+
:rtype: str
|
|
150
|
+
"""
|
|
151
|
+
return self._scene_template_code
|
|
152
|
+
|
|
153
|
+
@scene_template_code.setter
|
|
154
|
+
def scene_template_code(self, scene_template_code):
|
|
155
|
+
"""Sets the scene_template_code of this DataForGetTemplateV2Output.
|
|
156
|
+
|
|
157
|
+
|
|
158
|
+
:param scene_template_code: The scene_template_code of this DataForGetTemplateV2Output. # noqa: E501
|
|
159
|
+
:type: str
|
|
160
|
+
"""
|
|
161
|
+
|
|
162
|
+
self._scene_template_code = scene_template_code
|
|
163
|
+
|
|
164
|
+
@property
|
|
165
|
+
def scene_template_name(self):
|
|
166
|
+
"""Gets the scene_template_name of this DataForGetTemplateV2Output. # noqa: E501
|
|
167
|
+
|
|
168
|
+
|
|
169
|
+
:return: The scene_template_name of this DataForGetTemplateV2Output. # noqa: E501
|
|
170
|
+
:rtype: str
|
|
171
|
+
"""
|
|
172
|
+
return self._scene_template_name
|
|
173
|
+
|
|
174
|
+
@scene_template_name.setter
|
|
175
|
+
def scene_template_name(self, scene_template_name):
|
|
176
|
+
"""Sets the scene_template_name of this DataForGetTemplateV2Output.
|
|
177
|
+
|
|
178
|
+
|
|
179
|
+
:param scene_template_name: The scene_template_name of this DataForGetTemplateV2Output. # noqa: E501
|
|
180
|
+
:type: str
|
|
181
|
+
"""
|
|
182
|
+
|
|
183
|
+
self._scene_template_name = scene_template_name
|
|
184
|
+
|
|
185
|
+
@property
|
|
186
|
+
def template_list(self):
|
|
187
|
+
"""Gets the template_list of this DataForGetTemplateV2Output. # noqa: E501
|
|
188
|
+
|
|
189
|
+
|
|
190
|
+
:return: The template_list of this DataForGetTemplateV2Output. # noqa: E501
|
|
191
|
+
:rtype: list[TemplateListForGetTemplateV2Output]
|
|
192
|
+
"""
|
|
193
|
+
return self._template_list
|
|
194
|
+
|
|
195
|
+
@template_list.setter
|
|
196
|
+
def template_list(self, template_list):
|
|
197
|
+
"""Sets the template_list of this DataForGetTemplateV2Output.
|
|
198
|
+
|
|
199
|
+
|
|
200
|
+
:param template_list: The template_list of this DataForGetTemplateV2Output. # noqa: E501
|
|
201
|
+
:type: list[TemplateListForGetTemplateV2Output]
|
|
202
|
+
"""
|
|
203
|
+
|
|
204
|
+
self._template_list = template_list
|
|
205
|
+
|
|
206
|
+
def to_dict(self):
|
|
207
|
+
"""Returns the model properties as a dict"""
|
|
208
|
+
result = {}
|
|
209
|
+
|
|
210
|
+
for attr, _ in six.iteritems(self.swagger_types):
|
|
211
|
+
value = getattr(self, attr)
|
|
212
|
+
if isinstance(value, list):
|
|
213
|
+
result[attr] = list(map(
|
|
214
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
|
215
|
+
value
|
|
216
|
+
))
|
|
217
|
+
elif hasattr(value, "to_dict"):
|
|
218
|
+
result[attr] = value.to_dict()
|
|
219
|
+
elif isinstance(value, dict):
|
|
220
|
+
result[attr] = dict(map(
|
|
221
|
+
lambda item: (item[0], item[1].to_dict())
|
|
222
|
+
if hasattr(item[1], "to_dict") else item,
|
|
223
|
+
value.items()
|
|
224
|
+
))
|
|
225
|
+
else:
|
|
226
|
+
result[attr] = value
|
|
227
|
+
if issubclass(DataForGetTemplateV2Output, dict):
|
|
228
|
+
for key, value in self.items():
|
|
229
|
+
result[key] = value
|
|
230
|
+
|
|
231
|
+
return result
|
|
232
|
+
|
|
233
|
+
def to_str(self):
|
|
234
|
+
"""Returns the string representation of the model"""
|
|
235
|
+
return pprint.pformat(self.to_dict())
|
|
236
|
+
|
|
237
|
+
def __repr__(self):
|
|
238
|
+
"""For `print` and `pprint`"""
|
|
239
|
+
return self.to_str()
|
|
240
|
+
|
|
241
|
+
def __eq__(self, other):
|
|
242
|
+
"""Returns true if both objects are equal"""
|
|
243
|
+
if not isinstance(other, DataForGetTemplateV2Output):
|
|
244
|
+
return False
|
|
245
|
+
|
|
246
|
+
return self.to_dict() == other.to_dict()
|
|
247
|
+
|
|
248
|
+
def __ne__(self, other):
|
|
249
|
+
"""Returns true if both objects are not equal"""
|
|
250
|
+
if not isinstance(other, DataForGetTemplateV2Output):
|
|
251
|
+
return True
|
|
252
|
+
|
|
253
|
+
return self.to_dict() != other.to_dict()
|