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.
Files changed (70) hide show
  1. {byteplus_python_sdk_v2-3.0.45.dist-info → byteplus_python_sdk_v2-3.0.46.dist-info}/METADATA +1 -1
  2. {byteplus_python_sdk_v2-3.0.45.dist-info → byteplus_python_sdk_v2-3.0.46.dist-info}/RECORD +70 -19
  3. {byteplus_python_sdk_v2-3.0.45.dist-info → byteplus_python_sdk_v2-3.0.46.dist-info}/top_level.txt +1 -0
  4. byteplussdkbilling/models/list_for_list_amortized_cost_bill_daily_output.py +27 -1
  5. byteplussdkbilling/models/list_for_list_amortized_cost_bill_detail_output.py +53 -1
  6. byteplussdkbilling/models/list_for_list_amortized_cost_bill_monthly_output.py +53 -1
  7. byteplussdkbilling/models/list_for_list_bill_detail_output.py +79 -1
  8. byteplussdkbilling/models/list_for_list_coupons_output.py +29 -3
  9. byteplussdkbilling/models/list_for_list_split_bill_detail_output.py +79 -1
  10. byteplussdkcore/api_client.py +1 -1
  11. byteplussdkcore/configuration.py +1 -1
  12. byteplussdkcore/endpoint/providers/default_provider.py +7 -0
  13. byteplussdkcore/endpoint/providers/standard_provider.py +1 -0
  14. byteplussdkcpaas/__init__.py +56 -0
  15. byteplussdkcpaas/api/__init__.py +6 -0
  16. byteplussdkcpaas/api/cpaas_api.py +519 -0
  17. byteplussdkcpaas/models/__init__.py +52 -0
  18. byteplussdkcpaas/models/action_for_create_template_v2_input.py +201 -0
  19. byteplussdkcpaas/models/action_for_get_template_v2_output.py +201 -0
  20. byteplussdkcpaas/models/create_template_v2_request.py +306 -0
  21. byteplussdkcpaas/models/create_template_v2_response.py +175 -0
  22. byteplussdkcpaas/models/data_for_create_template_v2_output.py +149 -0
  23. byteplussdkcpaas/models/data_for_get_template_v2_output.py +253 -0
  24. byteplussdkcpaas/models/data_for_list_template_v2_output.py +305 -0
  25. byteplussdkcpaas/models/data_for_send_batch_message_output.py +123 -0
  26. byteplussdkcpaas/models/data_for_send_message_output.py +123 -0
  27. byteplussdkcpaas/models/element_style_for_create_template_v2_input.py +305 -0
  28. byteplussdkcpaas/models/element_style_for_get_template_v2_output.py +305 -0
  29. byteplussdkcpaas/models/extend_attrs_for_create_template_v2_input.py +227 -0
  30. byteplussdkcpaas/models/extend_attrs_for_get_template_v2_output.py +227 -0
  31. byteplussdkcpaas/models/get_template_v2_request.py +150 -0
  32. byteplussdkcpaas/models/get_template_v2_response.py +201 -0
  33. byteplussdkcpaas/models/list_template_v2_request.py +255 -0
  34. byteplussdkcpaas/models/list_template_v2_response.py +201 -0
  35. byteplussdkcpaas/models/page_dto_list_for_create_template_v2_input.py +175 -0
  36. byteplussdkcpaas/models/page_dto_list_for_get_template_v2_output.py +175 -0
  37. byteplussdkcpaas/models/page_element_dto_list_for_create_template_v2_input.py +149 -0
  38. byteplussdkcpaas/models/page_element_dto_list_for_get_template_v2_output.py +149 -0
  39. byteplussdkcpaas/models/page_link_list_for_create_template_v2_input.py +227 -0
  40. byteplussdkcpaas/models/page_link_list_for_get_template_v2_output.py +227 -0
  41. byteplussdkcpaas/models/priority_for_send_batch_message_input.py +279 -0
  42. byteplussdkcpaas/models/priority_for_send_message_input.py +279 -0
  43. byteplussdkcpaas/models/receiver_for_send_batch_message_input.py +149 -0
  44. byteplussdkcpaas/models/send_batch_message_request.py +281 -0
  45. byteplussdkcpaas/models/send_batch_message_response.py +175 -0
  46. byteplussdkcpaas/models/send_message_request.py +281 -0
  47. byteplussdkcpaas/models/send_message_response.py +175 -0
  48. byteplussdkcpaas/models/template_list_for_create_template_v2_input.py +305 -0
  49. byteplussdkcpaas/models/template_list_for_get_template_v2_output.py +305 -0
  50. byteplussdkcpaas/models/template_status_for_list_template_v2_output.py +175 -0
  51. byteplussdkcpaas/models/variables_dto_list_for_create_template_v2_input.py +227 -0
  52. byteplussdkcpaas/models/variables_dto_list_for_get_template_v2_output.py +227 -0
  53. byteplussdkrdsmssql/__init__.py +12 -0
  54. byteplussdkrdsmssql/api/rds_mssql_api.py +485 -0
  55. byteplussdkrdsmssql/models/__init__.py +12 -0
  56. byteplussdkrdsmssql/models/db_status_for_describe_db_instance_tde_output.py +149 -0
  57. byteplussdkrdsmssql/models/db_status_for_modify_db_instance_tde_input.py +149 -0
  58. byteplussdkrdsmssql/models/describe_db_instance_ssl_request.py +124 -0
  59. byteplussdkrdsmssql/models/describe_db_instance_ssl_response.py +331 -0
  60. byteplussdkrdsmssql/models/describe_db_instance_tde_request.py +124 -0
  61. byteplussdkrdsmssql/models/describe_db_instance_tde_response.py +201 -0
  62. byteplussdkrdsmssql/models/download_ssl_certificate_request.py +124 -0
  63. byteplussdkrdsmssql/models/download_ssl_certificate_response.py +123 -0
  64. byteplussdkrdsmssql/models/modify_db_instance_ssl_request.py +229 -0
  65. byteplussdkrdsmssql/models/modify_db_instance_ssl_response.py +95 -0
  66. byteplussdkrdsmssql/models/modify_db_instance_tde_request.py +296 -0
  67. byteplussdkrdsmssql/models/modify_db_instance_tde_response.py +95 -0
  68. {byteplus_python_sdk_v2-3.0.45.dist-info → byteplus_python_sdk_v2-3.0.46.dist-info}/WHEEL +0 -0
  69. {byteplus_python_sdk_v2-3.0.45.dist-info → byteplus_python_sdk_v2-3.0.46.dist-info}/licenses/LICENSE.txt +0 -0
  70. {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,227 @@
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 ExtendAttrsForCreateTemplateV2Input(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
+ 'coupon_code': 'str',
37
+ 'phone_number': 'str',
38
+ 'variable': 'str',
39
+ 'website_url': 'str',
40
+ 'website_url_type': 'str'
41
+ }
42
+
43
+ attribute_map = {
44
+ 'coupon_code': 'CouponCode',
45
+ 'phone_number': 'PhoneNumber',
46
+ 'variable': 'Variable',
47
+ 'website_url': 'WebsiteUrl',
48
+ 'website_url_type': 'WebsiteUrlType'
49
+ }
50
+
51
+ def __init__(self, coupon_code=None, phone_number=None, variable=None, website_url=None, website_url_type=None, _configuration=None): # noqa: E501
52
+ """ExtendAttrsForCreateTemplateV2Input - a model defined in Swagger""" # noqa: E501
53
+ if _configuration is None:
54
+ _configuration = Configuration()
55
+ self._configuration = _configuration
56
+
57
+ self._coupon_code = None
58
+ self._phone_number = None
59
+ self._variable = None
60
+ self._website_url = None
61
+ self._website_url_type = None
62
+ self.discriminator = None
63
+
64
+ if coupon_code is not None:
65
+ self.coupon_code = coupon_code
66
+ if phone_number is not None:
67
+ self.phone_number = phone_number
68
+ if variable is not None:
69
+ self.variable = variable
70
+ if website_url is not None:
71
+ self.website_url = website_url
72
+ if website_url_type is not None:
73
+ self.website_url_type = website_url_type
74
+
75
+ @property
76
+ def coupon_code(self):
77
+ """Gets the coupon_code of this ExtendAttrsForCreateTemplateV2Input. # noqa: E501
78
+
79
+
80
+ :return: The coupon_code of this ExtendAttrsForCreateTemplateV2Input. # noqa: E501
81
+ :rtype: str
82
+ """
83
+ return self._coupon_code
84
+
85
+ @coupon_code.setter
86
+ def coupon_code(self, coupon_code):
87
+ """Sets the coupon_code of this ExtendAttrsForCreateTemplateV2Input.
88
+
89
+
90
+ :param coupon_code: The coupon_code of this ExtendAttrsForCreateTemplateV2Input. # noqa: E501
91
+ :type: str
92
+ """
93
+
94
+ self._coupon_code = coupon_code
95
+
96
+ @property
97
+ def phone_number(self):
98
+ """Gets the phone_number of this ExtendAttrsForCreateTemplateV2Input. # noqa: E501
99
+
100
+
101
+ :return: The phone_number of this ExtendAttrsForCreateTemplateV2Input. # noqa: E501
102
+ :rtype: str
103
+ """
104
+ return self._phone_number
105
+
106
+ @phone_number.setter
107
+ def phone_number(self, phone_number):
108
+ """Sets the phone_number of this ExtendAttrsForCreateTemplateV2Input.
109
+
110
+
111
+ :param phone_number: The phone_number of this ExtendAttrsForCreateTemplateV2Input. # noqa: E501
112
+ :type: str
113
+ """
114
+
115
+ self._phone_number = phone_number
116
+
117
+ @property
118
+ def variable(self):
119
+ """Gets the variable of this ExtendAttrsForCreateTemplateV2Input. # noqa: E501
120
+
121
+
122
+ :return: The variable of this ExtendAttrsForCreateTemplateV2Input. # noqa: E501
123
+ :rtype: str
124
+ """
125
+ return self._variable
126
+
127
+ @variable.setter
128
+ def variable(self, variable):
129
+ """Sets the variable of this ExtendAttrsForCreateTemplateV2Input.
130
+
131
+
132
+ :param variable: The variable of this ExtendAttrsForCreateTemplateV2Input. # noqa: E501
133
+ :type: str
134
+ """
135
+
136
+ self._variable = variable
137
+
138
+ @property
139
+ def website_url(self):
140
+ """Gets the website_url of this ExtendAttrsForCreateTemplateV2Input. # noqa: E501
141
+
142
+
143
+ :return: The website_url of this ExtendAttrsForCreateTemplateV2Input. # noqa: E501
144
+ :rtype: str
145
+ """
146
+ return self._website_url
147
+
148
+ @website_url.setter
149
+ def website_url(self, website_url):
150
+ """Sets the website_url of this ExtendAttrsForCreateTemplateV2Input.
151
+
152
+
153
+ :param website_url: The website_url of this ExtendAttrsForCreateTemplateV2Input. # noqa: E501
154
+ :type: str
155
+ """
156
+
157
+ self._website_url = website_url
158
+
159
+ @property
160
+ def website_url_type(self):
161
+ """Gets the website_url_type of this ExtendAttrsForCreateTemplateV2Input. # noqa: E501
162
+
163
+
164
+ :return: The website_url_type of this ExtendAttrsForCreateTemplateV2Input. # noqa: E501
165
+ :rtype: str
166
+ """
167
+ return self._website_url_type
168
+
169
+ @website_url_type.setter
170
+ def website_url_type(self, website_url_type):
171
+ """Sets the website_url_type of this ExtendAttrsForCreateTemplateV2Input.
172
+
173
+
174
+ :param website_url_type: The website_url_type of this ExtendAttrsForCreateTemplateV2Input. # noqa: E501
175
+ :type: str
176
+ """
177
+
178
+ self._website_url_type = website_url_type
179
+
180
+ def to_dict(self):
181
+ """Returns the model properties as a dict"""
182
+ result = {}
183
+
184
+ for attr, _ in six.iteritems(self.swagger_types):
185
+ value = getattr(self, attr)
186
+ if isinstance(value, list):
187
+ result[attr] = list(map(
188
+ lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
189
+ value
190
+ ))
191
+ elif hasattr(value, "to_dict"):
192
+ result[attr] = value.to_dict()
193
+ elif isinstance(value, dict):
194
+ result[attr] = dict(map(
195
+ lambda item: (item[0], item[1].to_dict())
196
+ if hasattr(item[1], "to_dict") else item,
197
+ value.items()
198
+ ))
199
+ else:
200
+ result[attr] = value
201
+ if issubclass(ExtendAttrsForCreateTemplateV2Input, dict):
202
+ for key, value in self.items():
203
+ result[key] = value
204
+
205
+ return result
206
+
207
+ def to_str(self):
208
+ """Returns the string representation of the model"""
209
+ return pprint.pformat(self.to_dict())
210
+
211
+ def __repr__(self):
212
+ """For `print` and `pprint`"""
213
+ return self.to_str()
214
+
215
+ def __eq__(self, other):
216
+ """Returns true if both objects are equal"""
217
+ if not isinstance(other, ExtendAttrsForCreateTemplateV2Input):
218
+ return False
219
+
220
+ return self.to_dict() == other.to_dict()
221
+
222
+ def __ne__(self, other):
223
+ """Returns true if both objects are not equal"""
224
+ if not isinstance(other, ExtendAttrsForCreateTemplateV2Input):
225
+ return True
226
+
227
+ return self.to_dict() != other.to_dict()
@@ -0,0 +1,227 @@
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 ExtendAttrsForGetTemplateV2Output(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
+ 'coupon_code': 'str',
37
+ 'phone_number': 'str',
38
+ 'variable': 'str',
39
+ 'website_url': 'str',
40
+ 'website_url_type': 'str'
41
+ }
42
+
43
+ attribute_map = {
44
+ 'coupon_code': 'CouponCode',
45
+ 'phone_number': 'PhoneNumber',
46
+ 'variable': 'Variable',
47
+ 'website_url': 'WebsiteUrl',
48
+ 'website_url_type': 'WebsiteUrlType'
49
+ }
50
+
51
+ def __init__(self, coupon_code=None, phone_number=None, variable=None, website_url=None, website_url_type=None, _configuration=None): # noqa: E501
52
+ """ExtendAttrsForGetTemplateV2Output - a model defined in Swagger""" # noqa: E501
53
+ if _configuration is None:
54
+ _configuration = Configuration()
55
+ self._configuration = _configuration
56
+
57
+ self._coupon_code = None
58
+ self._phone_number = None
59
+ self._variable = None
60
+ self._website_url = None
61
+ self._website_url_type = None
62
+ self.discriminator = None
63
+
64
+ if coupon_code is not None:
65
+ self.coupon_code = coupon_code
66
+ if phone_number is not None:
67
+ self.phone_number = phone_number
68
+ if variable is not None:
69
+ self.variable = variable
70
+ if website_url is not None:
71
+ self.website_url = website_url
72
+ if website_url_type is not None:
73
+ self.website_url_type = website_url_type
74
+
75
+ @property
76
+ def coupon_code(self):
77
+ """Gets the coupon_code of this ExtendAttrsForGetTemplateV2Output. # noqa: E501
78
+
79
+
80
+ :return: The coupon_code of this ExtendAttrsForGetTemplateV2Output. # noqa: E501
81
+ :rtype: str
82
+ """
83
+ return self._coupon_code
84
+
85
+ @coupon_code.setter
86
+ def coupon_code(self, coupon_code):
87
+ """Sets the coupon_code of this ExtendAttrsForGetTemplateV2Output.
88
+
89
+
90
+ :param coupon_code: The coupon_code of this ExtendAttrsForGetTemplateV2Output. # noqa: E501
91
+ :type: str
92
+ """
93
+
94
+ self._coupon_code = coupon_code
95
+
96
+ @property
97
+ def phone_number(self):
98
+ """Gets the phone_number of this ExtendAttrsForGetTemplateV2Output. # noqa: E501
99
+
100
+
101
+ :return: The phone_number of this ExtendAttrsForGetTemplateV2Output. # noqa: E501
102
+ :rtype: str
103
+ """
104
+ return self._phone_number
105
+
106
+ @phone_number.setter
107
+ def phone_number(self, phone_number):
108
+ """Sets the phone_number of this ExtendAttrsForGetTemplateV2Output.
109
+
110
+
111
+ :param phone_number: The phone_number of this ExtendAttrsForGetTemplateV2Output. # noqa: E501
112
+ :type: str
113
+ """
114
+
115
+ self._phone_number = phone_number
116
+
117
+ @property
118
+ def variable(self):
119
+ """Gets the variable of this ExtendAttrsForGetTemplateV2Output. # noqa: E501
120
+
121
+
122
+ :return: The variable of this ExtendAttrsForGetTemplateV2Output. # noqa: E501
123
+ :rtype: str
124
+ """
125
+ return self._variable
126
+
127
+ @variable.setter
128
+ def variable(self, variable):
129
+ """Sets the variable of this ExtendAttrsForGetTemplateV2Output.
130
+
131
+
132
+ :param variable: The variable of this ExtendAttrsForGetTemplateV2Output. # noqa: E501
133
+ :type: str
134
+ """
135
+
136
+ self._variable = variable
137
+
138
+ @property
139
+ def website_url(self):
140
+ """Gets the website_url of this ExtendAttrsForGetTemplateV2Output. # noqa: E501
141
+
142
+
143
+ :return: The website_url of this ExtendAttrsForGetTemplateV2Output. # noqa: E501
144
+ :rtype: str
145
+ """
146
+ return self._website_url
147
+
148
+ @website_url.setter
149
+ def website_url(self, website_url):
150
+ """Sets the website_url of this ExtendAttrsForGetTemplateV2Output.
151
+
152
+
153
+ :param website_url: The website_url of this ExtendAttrsForGetTemplateV2Output. # noqa: E501
154
+ :type: str
155
+ """
156
+
157
+ self._website_url = website_url
158
+
159
+ @property
160
+ def website_url_type(self):
161
+ """Gets the website_url_type of this ExtendAttrsForGetTemplateV2Output. # noqa: E501
162
+
163
+
164
+ :return: The website_url_type of this ExtendAttrsForGetTemplateV2Output. # noqa: E501
165
+ :rtype: str
166
+ """
167
+ return self._website_url_type
168
+
169
+ @website_url_type.setter
170
+ def website_url_type(self, website_url_type):
171
+ """Sets the website_url_type of this ExtendAttrsForGetTemplateV2Output.
172
+
173
+
174
+ :param website_url_type: The website_url_type of this ExtendAttrsForGetTemplateV2Output. # noqa: E501
175
+ :type: str
176
+ """
177
+
178
+ self._website_url_type = website_url_type
179
+
180
+ def to_dict(self):
181
+ """Returns the model properties as a dict"""
182
+ result = {}
183
+
184
+ for attr, _ in six.iteritems(self.swagger_types):
185
+ value = getattr(self, attr)
186
+ if isinstance(value, list):
187
+ result[attr] = list(map(
188
+ lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
189
+ value
190
+ ))
191
+ elif hasattr(value, "to_dict"):
192
+ result[attr] = value.to_dict()
193
+ elif isinstance(value, dict):
194
+ result[attr] = dict(map(
195
+ lambda item: (item[0], item[1].to_dict())
196
+ if hasattr(item[1], "to_dict") else item,
197
+ value.items()
198
+ ))
199
+ else:
200
+ result[attr] = value
201
+ if issubclass(ExtendAttrsForGetTemplateV2Output, dict):
202
+ for key, value in self.items():
203
+ result[key] = value
204
+
205
+ return result
206
+
207
+ def to_str(self):
208
+ """Returns the string representation of the model"""
209
+ return pprint.pformat(self.to_dict())
210
+
211
+ def __repr__(self):
212
+ """For `print` and `pprint`"""
213
+ return self.to_str()
214
+
215
+ def __eq__(self, other):
216
+ """Returns true if both objects are equal"""
217
+ if not isinstance(other, ExtendAttrsForGetTemplateV2Output):
218
+ return False
219
+
220
+ return self.to_dict() == other.to_dict()
221
+
222
+ def __ne__(self, other):
223
+ """Returns true if both objects are not equal"""
224
+ if not isinstance(other, ExtendAttrsForGetTemplateV2Output):
225
+ return True
226
+
227
+ return self.to_dict() != other.to_dict()
@@ -0,0 +1,150 @@
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 GetTemplateV2Request(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
+ 'convert_tos_key_to_url': 'str',
37
+ 'scene_template_code': 'str'
38
+ }
39
+
40
+ attribute_map = {
41
+ 'convert_tos_key_to_url': 'ConvertTosKeyToUrl',
42
+ 'scene_template_code': 'SceneTemplateCode'
43
+ }
44
+
45
+ def __init__(self, convert_tos_key_to_url=None, scene_template_code=None, _configuration=None): # noqa: E501
46
+ """GetTemplateV2Request - a model defined in Swagger""" # noqa: E501
47
+ if _configuration is None:
48
+ _configuration = Configuration()
49
+ self._configuration = _configuration
50
+
51
+ self._convert_tos_key_to_url = None
52
+ self._scene_template_code = None
53
+ self.discriminator = None
54
+
55
+ if convert_tos_key_to_url is not None:
56
+ self.convert_tos_key_to_url = convert_tos_key_to_url
57
+ self.scene_template_code = scene_template_code
58
+
59
+ @property
60
+ def convert_tos_key_to_url(self):
61
+ """Gets the convert_tos_key_to_url of this GetTemplateV2Request. # noqa: E501
62
+
63
+
64
+ :return: The convert_tos_key_to_url of this GetTemplateV2Request. # noqa: E501
65
+ :rtype: str
66
+ """
67
+ return self._convert_tos_key_to_url
68
+
69
+ @convert_tos_key_to_url.setter
70
+ def convert_tos_key_to_url(self, convert_tos_key_to_url):
71
+ """Sets the convert_tos_key_to_url of this GetTemplateV2Request.
72
+
73
+
74
+ :param convert_tos_key_to_url: The convert_tos_key_to_url of this GetTemplateV2Request. # noqa: E501
75
+ :type: str
76
+ """
77
+
78
+ self._convert_tos_key_to_url = convert_tos_key_to_url
79
+
80
+ @property
81
+ def scene_template_code(self):
82
+ """Gets the scene_template_code of this GetTemplateV2Request. # noqa: E501
83
+
84
+
85
+ :return: The scene_template_code of this GetTemplateV2Request. # noqa: E501
86
+ :rtype: str
87
+ """
88
+ return self._scene_template_code
89
+
90
+ @scene_template_code.setter
91
+ def scene_template_code(self, scene_template_code):
92
+ """Sets the scene_template_code of this GetTemplateV2Request.
93
+
94
+
95
+ :param scene_template_code: The scene_template_code of this GetTemplateV2Request. # noqa: E501
96
+ :type: str
97
+ """
98
+ if self._configuration.client_side_validation and scene_template_code is None:
99
+ raise ValueError("Invalid value for `scene_template_code`, must not be `None`") # noqa: E501
100
+
101
+ self._scene_template_code = scene_template_code
102
+
103
+ def to_dict(self):
104
+ """Returns the model properties as a dict"""
105
+ result = {}
106
+
107
+ for attr, _ in six.iteritems(self.swagger_types):
108
+ value = getattr(self, attr)
109
+ if isinstance(value, list):
110
+ result[attr] = list(map(
111
+ lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
112
+ value
113
+ ))
114
+ elif hasattr(value, "to_dict"):
115
+ result[attr] = value.to_dict()
116
+ elif isinstance(value, dict):
117
+ result[attr] = dict(map(
118
+ lambda item: (item[0], item[1].to_dict())
119
+ if hasattr(item[1], "to_dict") else item,
120
+ value.items()
121
+ ))
122
+ else:
123
+ result[attr] = value
124
+ if issubclass(GetTemplateV2Request, dict):
125
+ for key, value in self.items():
126
+ result[key] = value
127
+
128
+ return result
129
+
130
+ def to_str(self):
131
+ """Returns the string representation of the model"""
132
+ return pprint.pformat(self.to_dict())
133
+
134
+ def __repr__(self):
135
+ """For `print` and `pprint`"""
136
+ return self.to_str()
137
+
138
+ def __eq__(self, other):
139
+ """Returns true if both objects are equal"""
140
+ if not isinstance(other, GetTemplateV2Request):
141
+ return False
142
+
143
+ return self.to_dict() == other.to_dict()
144
+
145
+ def __ne__(self, other):
146
+ """Returns true if both objects are not equal"""
147
+ if not isinstance(other, GetTemplateV2Request):
148
+ return True
149
+
150
+ return self.to_dict() != other.to_dict()