byteplus-python-sdk-v2 3.0.45__py2.py3-none-any.whl → 3.0.47__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 (72) hide show
  1. {byteplus_python_sdk_v2-3.0.45.dist-info → byteplus_python_sdk_v2-3.0.47.dist-info}/METADATA +1 -1
  2. {byteplus_python_sdk_v2-3.0.45.dist-info → byteplus_python_sdk_v2-3.0.47.dist-info}/RECORD +72 -21
  3. {byteplus_python_sdk_v2-3.0.45.dist-info → byteplus_python_sdk_v2-3.0.47.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. byteplussdkcore/feature/rds/connect_utils.py +1 -1
  15. byteplussdkcore/interceptor/interceptors/sign_request_interceptor.py +1 -0
  16. byteplussdkcpaas/__init__.py +56 -0
  17. byteplussdkcpaas/api/__init__.py +6 -0
  18. byteplussdkcpaas/api/cpaas_api.py +519 -0
  19. byteplussdkcpaas/models/__init__.py +52 -0
  20. byteplussdkcpaas/models/action_for_create_template_v2_input.py +201 -0
  21. byteplussdkcpaas/models/action_for_get_template_v2_output.py +201 -0
  22. byteplussdkcpaas/models/create_template_v2_request.py +306 -0
  23. byteplussdkcpaas/models/create_template_v2_response.py +175 -0
  24. byteplussdkcpaas/models/data_for_create_template_v2_output.py +149 -0
  25. byteplussdkcpaas/models/data_for_get_template_v2_output.py +253 -0
  26. byteplussdkcpaas/models/data_for_list_template_v2_output.py +305 -0
  27. byteplussdkcpaas/models/data_for_send_batch_message_output.py +123 -0
  28. byteplussdkcpaas/models/data_for_send_message_output.py +123 -0
  29. byteplussdkcpaas/models/element_style_for_create_template_v2_input.py +305 -0
  30. byteplussdkcpaas/models/element_style_for_get_template_v2_output.py +305 -0
  31. byteplussdkcpaas/models/extend_attrs_for_create_template_v2_input.py +227 -0
  32. byteplussdkcpaas/models/extend_attrs_for_get_template_v2_output.py +227 -0
  33. byteplussdkcpaas/models/get_template_v2_request.py +150 -0
  34. byteplussdkcpaas/models/get_template_v2_response.py +201 -0
  35. byteplussdkcpaas/models/list_template_v2_request.py +255 -0
  36. byteplussdkcpaas/models/list_template_v2_response.py +201 -0
  37. byteplussdkcpaas/models/page_dto_list_for_create_template_v2_input.py +175 -0
  38. byteplussdkcpaas/models/page_dto_list_for_get_template_v2_output.py +175 -0
  39. byteplussdkcpaas/models/page_element_dto_list_for_create_template_v2_input.py +149 -0
  40. byteplussdkcpaas/models/page_element_dto_list_for_get_template_v2_output.py +149 -0
  41. byteplussdkcpaas/models/page_link_list_for_create_template_v2_input.py +227 -0
  42. byteplussdkcpaas/models/page_link_list_for_get_template_v2_output.py +227 -0
  43. byteplussdkcpaas/models/priority_for_send_batch_message_input.py +279 -0
  44. byteplussdkcpaas/models/priority_for_send_message_input.py +279 -0
  45. byteplussdkcpaas/models/receiver_for_send_batch_message_input.py +149 -0
  46. byteplussdkcpaas/models/send_batch_message_request.py +281 -0
  47. byteplussdkcpaas/models/send_batch_message_response.py +175 -0
  48. byteplussdkcpaas/models/send_message_request.py +281 -0
  49. byteplussdkcpaas/models/send_message_response.py +175 -0
  50. byteplussdkcpaas/models/template_list_for_create_template_v2_input.py +305 -0
  51. byteplussdkcpaas/models/template_list_for_get_template_v2_output.py +305 -0
  52. byteplussdkcpaas/models/template_status_for_list_template_v2_output.py +175 -0
  53. byteplussdkcpaas/models/variables_dto_list_for_create_template_v2_input.py +227 -0
  54. byteplussdkcpaas/models/variables_dto_list_for_get_template_v2_output.py +227 -0
  55. byteplussdkrdsmssql/__init__.py +12 -0
  56. byteplussdkrdsmssql/api/rds_mssql_api.py +485 -0
  57. byteplussdkrdsmssql/models/__init__.py +12 -0
  58. byteplussdkrdsmssql/models/db_status_for_describe_db_instance_tde_output.py +149 -0
  59. byteplussdkrdsmssql/models/db_status_for_modify_db_instance_tde_input.py +149 -0
  60. byteplussdkrdsmssql/models/describe_db_instance_ssl_request.py +124 -0
  61. byteplussdkrdsmssql/models/describe_db_instance_ssl_response.py +331 -0
  62. byteplussdkrdsmssql/models/describe_db_instance_tde_request.py +124 -0
  63. byteplussdkrdsmssql/models/describe_db_instance_tde_response.py +201 -0
  64. byteplussdkrdsmssql/models/download_ssl_certificate_request.py +124 -0
  65. byteplussdkrdsmssql/models/download_ssl_certificate_response.py +123 -0
  66. byteplussdkrdsmssql/models/modify_db_instance_ssl_request.py +229 -0
  67. byteplussdkrdsmssql/models/modify_db_instance_ssl_response.py +95 -0
  68. byteplussdkrdsmssql/models/modify_db_instance_tde_request.py +296 -0
  69. byteplussdkrdsmssql/models/modify_db_instance_tde_response.py +95 -0
  70. {byteplus_python_sdk_v2-3.0.45.dist-info → byteplus_python_sdk_v2-3.0.47.dist-info}/WHEEL +0 -0
  71. {byteplus_python_sdk_v2-3.0.45.dist-info → byteplus_python_sdk_v2-3.0.47.dist-info}/licenses/LICENSE.txt +0 -0
  72. {byteplus_python_sdk_v2-3.0.45.dist-info → byteplus_python_sdk_v2-3.0.47.dist-info}/licenses/NOTICE.md +0 -0
@@ -0,0 +1,305 @@
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 ElementStyleForCreateTemplateV2Input(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
+ 'element_type': 'str',
37
+ 'expires_time': 'int',
38
+ 'has_expires': 'bool',
39
+ 'has_security': 'bool',
40
+ 'real_content': 'str',
41
+ 'resource_code': 'str',
42
+ 'resource_name': 'str',
43
+ 'resource_url': 'str'
44
+ }
45
+
46
+ attribute_map = {
47
+ 'element_type': 'ElementType',
48
+ 'expires_time': 'ExpiresTime',
49
+ 'has_expires': 'HasExpires',
50
+ 'has_security': 'HasSecurity',
51
+ 'real_content': 'RealContent',
52
+ 'resource_code': 'ResourceCode',
53
+ 'resource_name': 'ResourceName',
54
+ 'resource_url': 'ResourceUrl'
55
+ }
56
+
57
+ def __init__(self, element_type=None, expires_time=None, has_expires=None, has_security=None, real_content=None, resource_code=None, resource_name=None, resource_url=None, _configuration=None): # noqa: E501
58
+ """ElementStyleForCreateTemplateV2Input - a model defined in Swagger""" # noqa: E501
59
+ if _configuration is None:
60
+ _configuration = Configuration()
61
+ self._configuration = _configuration
62
+
63
+ self._element_type = None
64
+ self._expires_time = None
65
+ self._has_expires = None
66
+ self._has_security = None
67
+ self._real_content = None
68
+ self._resource_code = None
69
+ self._resource_name = None
70
+ self._resource_url = None
71
+ self.discriminator = None
72
+
73
+ if element_type is not None:
74
+ self.element_type = element_type
75
+ if expires_time is not None:
76
+ self.expires_time = expires_time
77
+ if has_expires is not None:
78
+ self.has_expires = has_expires
79
+ if has_security is not None:
80
+ self.has_security = has_security
81
+ if real_content is not None:
82
+ self.real_content = real_content
83
+ if resource_code is not None:
84
+ self.resource_code = resource_code
85
+ if resource_name is not None:
86
+ self.resource_name = resource_name
87
+ if resource_url is not None:
88
+ self.resource_url = resource_url
89
+
90
+ @property
91
+ def element_type(self):
92
+ """Gets the element_type of this ElementStyleForCreateTemplateV2Input. # noqa: E501
93
+
94
+
95
+ :return: The element_type of this ElementStyleForCreateTemplateV2Input. # noqa: E501
96
+ :rtype: str
97
+ """
98
+ return self._element_type
99
+
100
+ @element_type.setter
101
+ def element_type(self, element_type):
102
+ """Sets the element_type of this ElementStyleForCreateTemplateV2Input.
103
+
104
+
105
+ :param element_type: The element_type of this ElementStyleForCreateTemplateV2Input. # noqa: E501
106
+ :type: str
107
+ """
108
+
109
+ self._element_type = element_type
110
+
111
+ @property
112
+ def expires_time(self):
113
+ """Gets the expires_time of this ElementStyleForCreateTemplateV2Input. # noqa: E501
114
+
115
+
116
+ :return: The expires_time of this ElementStyleForCreateTemplateV2Input. # noqa: E501
117
+ :rtype: int
118
+ """
119
+ return self._expires_time
120
+
121
+ @expires_time.setter
122
+ def expires_time(self, expires_time):
123
+ """Sets the expires_time of this ElementStyleForCreateTemplateV2Input.
124
+
125
+
126
+ :param expires_time: The expires_time of this ElementStyleForCreateTemplateV2Input. # noqa: E501
127
+ :type: int
128
+ """
129
+
130
+ self._expires_time = expires_time
131
+
132
+ @property
133
+ def has_expires(self):
134
+ """Gets the has_expires of this ElementStyleForCreateTemplateV2Input. # noqa: E501
135
+
136
+
137
+ :return: The has_expires of this ElementStyleForCreateTemplateV2Input. # noqa: E501
138
+ :rtype: bool
139
+ """
140
+ return self._has_expires
141
+
142
+ @has_expires.setter
143
+ def has_expires(self, has_expires):
144
+ """Sets the has_expires of this ElementStyleForCreateTemplateV2Input.
145
+
146
+
147
+ :param has_expires: The has_expires of this ElementStyleForCreateTemplateV2Input. # noqa: E501
148
+ :type: bool
149
+ """
150
+
151
+ self._has_expires = has_expires
152
+
153
+ @property
154
+ def has_security(self):
155
+ """Gets the has_security of this ElementStyleForCreateTemplateV2Input. # noqa: E501
156
+
157
+
158
+ :return: The has_security of this ElementStyleForCreateTemplateV2Input. # noqa: E501
159
+ :rtype: bool
160
+ """
161
+ return self._has_security
162
+
163
+ @has_security.setter
164
+ def has_security(self, has_security):
165
+ """Sets the has_security of this ElementStyleForCreateTemplateV2Input.
166
+
167
+
168
+ :param has_security: The has_security of this ElementStyleForCreateTemplateV2Input. # noqa: E501
169
+ :type: bool
170
+ """
171
+
172
+ self._has_security = has_security
173
+
174
+ @property
175
+ def real_content(self):
176
+ """Gets the real_content of this ElementStyleForCreateTemplateV2Input. # noqa: E501
177
+
178
+
179
+ :return: The real_content of this ElementStyleForCreateTemplateV2Input. # noqa: E501
180
+ :rtype: str
181
+ """
182
+ return self._real_content
183
+
184
+ @real_content.setter
185
+ def real_content(self, real_content):
186
+ """Sets the real_content of this ElementStyleForCreateTemplateV2Input.
187
+
188
+
189
+ :param real_content: The real_content of this ElementStyleForCreateTemplateV2Input. # noqa: E501
190
+ :type: str
191
+ """
192
+
193
+ self._real_content = real_content
194
+
195
+ @property
196
+ def resource_code(self):
197
+ """Gets the resource_code of this ElementStyleForCreateTemplateV2Input. # noqa: E501
198
+
199
+
200
+ :return: The resource_code of this ElementStyleForCreateTemplateV2Input. # noqa: E501
201
+ :rtype: str
202
+ """
203
+ return self._resource_code
204
+
205
+ @resource_code.setter
206
+ def resource_code(self, resource_code):
207
+ """Sets the resource_code of this ElementStyleForCreateTemplateV2Input.
208
+
209
+
210
+ :param resource_code: The resource_code of this ElementStyleForCreateTemplateV2Input. # noqa: E501
211
+ :type: str
212
+ """
213
+
214
+ self._resource_code = resource_code
215
+
216
+ @property
217
+ def resource_name(self):
218
+ """Gets the resource_name of this ElementStyleForCreateTemplateV2Input. # noqa: E501
219
+
220
+
221
+ :return: The resource_name of this ElementStyleForCreateTemplateV2Input. # noqa: E501
222
+ :rtype: str
223
+ """
224
+ return self._resource_name
225
+
226
+ @resource_name.setter
227
+ def resource_name(self, resource_name):
228
+ """Sets the resource_name of this ElementStyleForCreateTemplateV2Input.
229
+
230
+
231
+ :param resource_name: The resource_name of this ElementStyleForCreateTemplateV2Input. # noqa: E501
232
+ :type: str
233
+ """
234
+
235
+ self._resource_name = resource_name
236
+
237
+ @property
238
+ def resource_url(self):
239
+ """Gets the resource_url of this ElementStyleForCreateTemplateV2Input. # noqa: E501
240
+
241
+
242
+ :return: The resource_url of this ElementStyleForCreateTemplateV2Input. # noqa: E501
243
+ :rtype: str
244
+ """
245
+ return self._resource_url
246
+
247
+ @resource_url.setter
248
+ def resource_url(self, resource_url):
249
+ """Sets the resource_url of this ElementStyleForCreateTemplateV2Input.
250
+
251
+
252
+ :param resource_url: The resource_url of this ElementStyleForCreateTemplateV2Input. # noqa: E501
253
+ :type: str
254
+ """
255
+
256
+ self._resource_url = resource_url
257
+
258
+ def to_dict(self):
259
+ """Returns the model properties as a dict"""
260
+ result = {}
261
+
262
+ for attr, _ in six.iteritems(self.swagger_types):
263
+ value = getattr(self, attr)
264
+ if isinstance(value, list):
265
+ result[attr] = list(map(
266
+ lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
267
+ value
268
+ ))
269
+ elif hasattr(value, "to_dict"):
270
+ result[attr] = value.to_dict()
271
+ elif isinstance(value, dict):
272
+ result[attr] = dict(map(
273
+ lambda item: (item[0], item[1].to_dict())
274
+ if hasattr(item[1], "to_dict") else item,
275
+ value.items()
276
+ ))
277
+ else:
278
+ result[attr] = value
279
+ if issubclass(ElementStyleForCreateTemplateV2Input, dict):
280
+ for key, value in self.items():
281
+ result[key] = value
282
+
283
+ return result
284
+
285
+ def to_str(self):
286
+ """Returns the string representation of the model"""
287
+ return pprint.pformat(self.to_dict())
288
+
289
+ def __repr__(self):
290
+ """For `print` and `pprint`"""
291
+ return self.to_str()
292
+
293
+ def __eq__(self, other):
294
+ """Returns true if both objects are equal"""
295
+ if not isinstance(other, ElementStyleForCreateTemplateV2Input):
296
+ return False
297
+
298
+ return self.to_dict() == other.to_dict()
299
+
300
+ def __ne__(self, other):
301
+ """Returns true if both objects are not equal"""
302
+ if not isinstance(other, ElementStyleForCreateTemplateV2Input):
303
+ return True
304
+
305
+ return self.to_dict() != other.to_dict()
@@ -0,0 +1,305 @@
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 ElementStyleForGetTemplateV2Output(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
+ 'element_type': 'str',
37
+ 'expires_time': 'int',
38
+ 'has_expires': 'bool',
39
+ 'has_security': 'bool',
40
+ 'real_content': 'str',
41
+ 'resource_code': 'str',
42
+ 'resource_name': 'str',
43
+ 'resource_url': 'str'
44
+ }
45
+
46
+ attribute_map = {
47
+ 'element_type': 'ElementType',
48
+ 'expires_time': 'ExpiresTime',
49
+ 'has_expires': 'HasExpires',
50
+ 'has_security': 'HasSecurity',
51
+ 'real_content': 'RealContent',
52
+ 'resource_code': 'ResourceCode',
53
+ 'resource_name': 'ResourceName',
54
+ 'resource_url': 'ResourceUrl'
55
+ }
56
+
57
+ def __init__(self, element_type=None, expires_time=None, has_expires=None, has_security=None, real_content=None, resource_code=None, resource_name=None, resource_url=None, _configuration=None): # noqa: E501
58
+ """ElementStyleForGetTemplateV2Output - a model defined in Swagger""" # noqa: E501
59
+ if _configuration is None:
60
+ _configuration = Configuration()
61
+ self._configuration = _configuration
62
+
63
+ self._element_type = None
64
+ self._expires_time = None
65
+ self._has_expires = None
66
+ self._has_security = None
67
+ self._real_content = None
68
+ self._resource_code = None
69
+ self._resource_name = None
70
+ self._resource_url = None
71
+ self.discriminator = None
72
+
73
+ if element_type is not None:
74
+ self.element_type = element_type
75
+ if expires_time is not None:
76
+ self.expires_time = expires_time
77
+ if has_expires is not None:
78
+ self.has_expires = has_expires
79
+ if has_security is not None:
80
+ self.has_security = has_security
81
+ if real_content is not None:
82
+ self.real_content = real_content
83
+ if resource_code is not None:
84
+ self.resource_code = resource_code
85
+ if resource_name is not None:
86
+ self.resource_name = resource_name
87
+ if resource_url is not None:
88
+ self.resource_url = resource_url
89
+
90
+ @property
91
+ def element_type(self):
92
+ """Gets the element_type of this ElementStyleForGetTemplateV2Output. # noqa: E501
93
+
94
+
95
+ :return: The element_type of this ElementStyleForGetTemplateV2Output. # noqa: E501
96
+ :rtype: str
97
+ """
98
+ return self._element_type
99
+
100
+ @element_type.setter
101
+ def element_type(self, element_type):
102
+ """Sets the element_type of this ElementStyleForGetTemplateV2Output.
103
+
104
+
105
+ :param element_type: The element_type of this ElementStyleForGetTemplateV2Output. # noqa: E501
106
+ :type: str
107
+ """
108
+
109
+ self._element_type = element_type
110
+
111
+ @property
112
+ def expires_time(self):
113
+ """Gets the expires_time of this ElementStyleForGetTemplateV2Output. # noqa: E501
114
+
115
+
116
+ :return: The expires_time of this ElementStyleForGetTemplateV2Output. # noqa: E501
117
+ :rtype: int
118
+ """
119
+ return self._expires_time
120
+
121
+ @expires_time.setter
122
+ def expires_time(self, expires_time):
123
+ """Sets the expires_time of this ElementStyleForGetTemplateV2Output.
124
+
125
+
126
+ :param expires_time: The expires_time of this ElementStyleForGetTemplateV2Output. # noqa: E501
127
+ :type: int
128
+ """
129
+
130
+ self._expires_time = expires_time
131
+
132
+ @property
133
+ def has_expires(self):
134
+ """Gets the has_expires of this ElementStyleForGetTemplateV2Output. # noqa: E501
135
+
136
+
137
+ :return: The has_expires of this ElementStyleForGetTemplateV2Output. # noqa: E501
138
+ :rtype: bool
139
+ """
140
+ return self._has_expires
141
+
142
+ @has_expires.setter
143
+ def has_expires(self, has_expires):
144
+ """Sets the has_expires of this ElementStyleForGetTemplateV2Output.
145
+
146
+
147
+ :param has_expires: The has_expires of this ElementStyleForGetTemplateV2Output. # noqa: E501
148
+ :type: bool
149
+ """
150
+
151
+ self._has_expires = has_expires
152
+
153
+ @property
154
+ def has_security(self):
155
+ """Gets the has_security of this ElementStyleForGetTemplateV2Output. # noqa: E501
156
+
157
+
158
+ :return: The has_security of this ElementStyleForGetTemplateV2Output. # noqa: E501
159
+ :rtype: bool
160
+ """
161
+ return self._has_security
162
+
163
+ @has_security.setter
164
+ def has_security(self, has_security):
165
+ """Sets the has_security of this ElementStyleForGetTemplateV2Output.
166
+
167
+
168
+ :param has_security: The has_security of this ElementStyleForGetTemplateV2Output. # noqa: E501
169
+ :type: bool
170
+ """
171
+
172
+ self._has_security = has_security
173
+
174
+ @property
175
+ def real_content(self):
176
+ """Gets the real_content of this ElementStyleForGetTemplateV2Output. # noqa: E501
177
+
178
+
179
+ :return: The real_content of this ElementStyleForGetTemplateV2Output. # noqa: E501
180
+ :rtype: str
181
+ """
182
+ return self._real_content
183
+
184
+ @real_content.setter
185
+ def real_content(self, real_content):
186
+ """Sets the real_content of this ElementStyleForGetTemplateV2Output.
187
+
188
+
189
+ :param real_content: The real_content of this ElementStyleForGetTemplateV2Output. # noqa: E501
190
+ :type: str
191
+ """
192
+
193
+ self._real_content = real_content
194
+
195
+ @property
196
+ def resource_code(self):
197
+ """Gets the resource_code of this ElementStyleForGetTemplateV2Output. # noqa: E501
198
+
199
+
200
+ :return: The resource_code of this ElementStyleForGetTemplateV2Output. # noqa: E501
201
+ :rtype: str
202
+ """
203
+ return self._resource_code
204
+
205
+ @resource_code.setter
206
+ def resource_code(self, resource_code):
207
+ """Sets the resource_code of this ElementStyleForGetTemplateV2Output.
208
+
209
+
210
+ :param resource_code: The resource_code of this ElementStyleForGetTemplateV2Output. # noqa: E501
211
+ :type: str
212
+ """
213
+
214
+ self._resource_code = resource_code
215
+
216
+ @property
217
+ def resource_name(self):
218
+ """Gets the resource_name of this ElementStyleForGetTemplateV2Output. # noqa: E501
219
+
220
+
221
+ :return: The resource_name of this ElementStyleForGetTemplateV2Output. # noqa: E501
222
+ :rtype: str
223
+ """
224
+ return self._resource_name
225
+
226
+ @resource_name.setter
227
+ def resource_name(self, resource_name):
228
+ """Sets the resource_name of this ElementStyleForGetTemplateV2Output.
229
+
230
+
231
+ :param resource_name: The resource_name of this ElementStyleForGetTemplateV2Output. # noqa: E501
232
+ :type: str
233
+ """
234
+
235
+ self._resource_name = resource_name
236
+
237
+ @property
238
+ def resource_url(self):
239
+ """Gets the resource_url of this ElementStyleForGetTemplateV2Output. # noqa: E501
240
+
241
+
242
+ :return: The resource_url of this ElementStyleForGetTemplateV2Output. # noqa: E501
243
+ :rtype: str
244
+ """
245
+ return self._resource_url
246
+
247
+ @resource_url.setter
248
+ def resource_url(self, resource_url):
249
+ """Sets the resource_url of this ElementStyleForGetTemplateV2Output.
250
+
251
+
252
+ :param resource_url: The resource_url of this ElementStyleForGetTemplateV2Output. # noqa: E501
253
+ :type: str
254
+ """
255
+
256
+ self._resource_url = resource_url
257
+
258
+ def to_dict(self):
259
+ """Returns the model properties as a dict"""
260
+ result = {}
261
+
262
+ for attr, _ in six.iteritems(self.swagger_types):
263
+ value = getattr(self, attr)
264
+ if isinstance(value, list):
265
+ result[attr] = list(map(
266
+ lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
267
+ value
268
+ ))
269
+ elif hasattr(value, "to_dict"):
270
+ result[attr] = value.to_dict()
271
+ elif isinstance(value, dict):
272
+ result[attr] = dict(map(
273
+ lambda item: (item[0], item[1].to_dict())
274
+ if hasattr(item[1], "to_dict") else item,
275
+ value.items()
276
+ ))
277
+ else:
278
+ result[attr] = value
279
+ if issubclass(ElementStyleForGetTemplateV2Output, dict):
280
+ for key, value in self.items():
281
+ result[key] = value
282
+
283
+ return result
284
+
285
+ def to_str(self):
286
+ """Returns the string representation of the model"""
287
+ return pprint.pformat(self.to_dict())
288
+
289
+ def __repr__(self):
290
+ """For `print` and `pprint`"""
291
+ return self.to_str()
292
+
293
+ def __eq__(self, other):
294
+ """Returns true if both objects are equal"""
295
+ if not isinstance(other, ElementStyleForGetTemplateV2Output):
296
+ return False
297
+
298
+ return self.to_dict() == other.to_dict()
299
+
300
+ def __ne__(self, other):
301
+ """Returns true if both objects are not equal"""
302
+ if not isinstance(other, ElementStyleForGetTemplateV2Output):
303
+ return True
304
+
305
+ return self.to_dict() != other.to_dict()