criteo-api-marketingsolutions-sdk 2024.10.0.241029__py3-none-any.whl → 2024.10.0.250205__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.

Potentially problematic release.


This version of criteo-api-marketingsolutions-sdk might be problematic. Click here for more details.

Files changed (46) hide show
  1. {criteo_api_marketingsolutions_sdk-2024.10.0.241029.dist-info → criteo_api_marketingsolutions_sdk-2024.10.0.250205.dist-info}/METADATA +14 -5
  2. {criteo_api_marketingsolutions_sdk-2024.10.0.241029.dist-info → criteo_api_marketingsolutions_sdk-2024.10.0.250205.dist-info}/RECORD +44 -44
  3. {criteo_api_marketingsolutions_sdk-2024.10.0.241029.dist-info → criteo_api_marketingsolutions_sdk-2024.10.0.250205.dist-info}/WHEEL +1 -1
  4. criteo_api_marketingsolutions_v2024_10/__init__.py +1 -1
  5. criteo_api_marketingsolutions_v2024_10/api/creative_api.py +107 -101
  6. criteo_api_marketingsolutions_v2024_10/api_client.py +1 -1
  7. criteo_api_marketingsolutions_v2024_10/configuration.py +1 -1
  8. criteo_api_marketingsolutions_v2024_10/model/ad.py +4 -0
  9. criteo_api_marketingsolutions_v2024_10/model/ad_set_frequency_capping_v24_q1.py +1 -1
  10. criteo_api_marketingsolutions_v2024_10/model/adaptive_attributes.py +0 -10
  11. criteo_api_marketingsolutions_v2024_10/model/adaptive_write_attributes.py +0 -4
  12. criteo_api_marketingsolutions_v2024_10/model/coupon.py +4 -2
  13. criteo_api_marketingsolutions_v2024_10/model/coupon_supported_sizes.py +0 -4
  14. criteo_api_marketingsolutions_v2024_10/model/create_coupon.py +0 -2
  15. criteo_api_marketingsolutions_v2024_10/model/create_image_slide.py +0 -2
  16. criteo_api_marketingsolutions_v2024_10/model/creative.py +4 -0
  17. criteo_api_marketingsolutions_v2024_10/model/dynamic_attributes.py +0 -4
  18. criteo_api_marketingsolutions_v2024_10/model/dynamic_write_attributes.py +6 -6
  19. criteo_api_marketingsolutions_v2024_10/model/html_tag_attributes.py +0 -2
  20. criteo_api_marketingsolutions_v2024_10/model/html_tag_write_attributes.py +0 -2
  21. criteo_api_marketingsolutions_v2024_10/model/image_attributes.py +0 -2
  22. criteo_api_marketingsolutions_v2024_10/model/image_set.py +0 -2
  23. criteo_api_marketingsolutions_v2024_10/model/image_slide.py +0 -2
  24. criteo_api_marketingsolutions_v2024_10/model/{creative_response.py → resource_collection_outcome_of_ad.py} +8 -12
  25. criteo_api_marketingsolutions_v2024_10/model/{ad_list_response.py → resource_collection_outcome_of_coupon.py} +8 -14
  26. criteo_api_marketingsolutions_v2024_10/model/resource_collection_outcome_of_creative.py +281 -0
  27. criteo_api_marketingsolutions_v2024_10/model/{ad_write_request.py → resource_input_of_ad_write.py} +8 -8
  28. criteo_api_marketingsolutions_v2024_10/model/{create_coupon_request.py → resource_input_of_create_coupon.py} +8 -8
  29. criteo_api_marketingsolutions_v2024_10/model/{creative_write_request.py → resource_input_of_creative_write.py} +8 -8
  30. criteo_api_marketingsolutions_v2024_10/model/{update_coupon_request.py → resource_input_of_update_coupon.py} +8 -8
  31. criteo_api_marketingsolutions_v2024_10/model/{ad_resource.py → resource_of_ad.py} +5 -5
  32. criteo_api_marketingsolutions_v2024_10/model/{ad_write_resource.py → resource_of_ad_write.py} +5 -5
  33. criteo_api_marketingsolutions_v2024_10/model/{coupon_resource.py → resource_of_coupon.py} +5 -5
  34. criteo_api_marketingsolutions_v2024_10/model/{coupon_supported_sizes_resource.py → resource_of_coupon_supported_sizes.py} +5 -5
  35. criteo_api_marketingsolutions_v2024_10/model/{create_coupon_resource.py → resource_of_create_coupon.py} +5 -5
  36. criteo_api_marketingsolutions_v2024_10/model/{creative_resource.py → resource_of_creative.py} +5 -5
  37. criteo_api_marketingsolutions_v2024_10/model/{creative_write_resource.py → resource_of_creative_write.py} +5 -5
  38. criteo_api_marketingsolutions_v2024_10/model/{update_coupon_resource.py → resource_of_update_coupon.py} +5 -5
  39. criteo_api_marketingsolutions_v2024_10/model/{ad_response.py → resource_outcome_of_ad.py} +8 -12
  40. criteo_api_marketingsolutions_v2024_10/model/{coupon_response.py → resource_outcome_of_coupon.py} +8 -12
  41. criteo_api_marketingsolutions_v2024_10/model/{coupon_list_response.py → resource_outcome_of_coupon_supported_sizes.py} +8 -14
  42. criteo_api_marketingsolutions_v2024_10/model/resource_outcome_of_creative.py +281 -0
  43. criteo_api_marketingsolutions_v2024_10/models/__init__.py +19 -19
  44. criteo_api_marketingsolutions_v2024_10/model/coupon_supported_sizes_response.py +0 -285
  45. criteo_api_marketingsolutions_v2024_10/model/creative_list_response.py +0 -287
  46. {criteo_api_marketingsolutions_sdk-2024.10.0.241029.dist-info → criteo_api_marketingsolutions_sdk-2024.10.0.250205.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,281 @@
1
+ """
2
+ Criteo API
3
+
4
+ Criteo API - MarketingSolutions # noqa: E501
5
+
6
+ The version of the OpenAPI document: 2024-10
7
+ Generated by: https://openapi-generator.tech
8
+ """
9
+
10
+
11
+ import re # noqa: F401
12
+ import sys # noqa: F401
13
+
14
+ from criteo_api_marketingsolutions_v2024_10.model_utils import ( # noqa: F401
15
+ ApiTypeError,
16
+ ModelComposed,
17
+ ModelNormal,
18
+ ModelSimple,
19
+ cached_property,
20
+ change_keys_js_to_python,
21
+ convert_js_args_to_python_args,
22
+ date,
23
+ datetime,
24
+ file_type,
25
+ none_type,
26
+ validate_get_composed_info,
27
+ OpenApiModel
28
+ )
29
+ from criteo_api_marketingsolutions_v2024_10.exceptions import ApiAttributeError
30
+
31
+
32
+ def lazy_import():
33
+ from criteo_api_marketingsolutions_v2024_10.model.common_problem import CommonProblem
34
+ from criteo_api_marketingsolutions_v2024_10.model.resource_of_creative import ResourceOfCreative
35
+ globals()['CommonProblem'] = CommonProblem
36
+ globals()['ResourceOfCreative'] = ResourceOfCreative
37
+
38
+
39
+ class ResourceCollectionOutcomeOfCreative(ModelNormal):
40
+ """NOTE: This class is auto generated by OpenAPI Generator.
41
+ Ref: https://openapi-generator.tech
42
+
43
+ Do not edit the class manually.
44
+
45
+ Attributes:
46
+ allowed_values (dict): The key is the tuple path to the attribute
47
+ and the for var_name this is (var_name,). The value is a dict
48
+ with a capitalized key describing the allowed value and an allowed
49
+ value. These dicts store the allowed enum values.
50
+ attribute_map (dict): The key is attribute name
51
+ and the value is json key in definition.
52
+ discriminator_value_class_map (dict): A dict to go from the discriminator
53
+ variable value to the discriminator class name.
54
+ validations (dict): The key is the tuple path to the attribute
55
+ and the for var_name this is (var_name,). The value is a dict
56
+ that stores validations for max_length, min_length, max_items,
57
+ min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum,
58
+ inclusive_minimum, and regex.
59
+ additional_properties_type (tuple): A tuple of classes accepted
60
+ as additional properties values.
61
+ """
62
+
63
+ allowed_values = {
64
+ }
65
+
66
+ validations = {
67
+ }
68
+
69
+ @cached_property
70
+ def additional_properties_type():
71
+ """
72
+ This must be a method because a model may have properties that are
73
+ of type self, this must run after the class is loaded
74
+ """
75
+ lazy_import()
76
+ return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501
77
+
78
+ _nullable = False
79
+
80
+ @cached_property
81
+ def openapi_types():
82
+ """
83
+ This must be a method because a model may have properties that are
84
+ of type self, this must run after the class is loaded
85
+
86
+ Returns
87
+ openapi_types (dict): The key is attribute name
88
+ and the value is attribute type.
89
+ """
90
+ lazy_import()
91
+ return {
92
+ 'data': ([ResourceOfCreative], none_type,), # noqa: E501
93
+ 'warnings': ([CommonProblem], none_type,), # noqa: E501
94
+ 'errors': ([CommonProblem], none_type,), # noqa: E501
95
+ }
96
+
97
+ @cached_property
98
+ def discriminator():
99
+ return None
100
+
101
+
102
+ attribute_map = {
103
+ 'data': 'data', # noqa: E501
104
+ 'warnings': 'warnings', # noqa: E501
105
+ 'errors': 'errors', # noqa: E501
106
+ }
107
+
108
+ read_only_vars = {
109
+ 'warnings', # noqa: E501
110
+ 'errors', # noqa: E501
111
+ }
112
+
113
+ _composed_schemas = {}
114
+
115
+ @classmethod
116
+ @convert_js_args_to_python_args
117
+ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501
118
+ """ResourceCollectionOutcomeOfCreative - a model defined in OpenAPI
119
+
120
+ Keyword Args:
121
+ _check_type (bool): if True, values for parameters in openapi_types
122
+ will be type checked and a TypeError will be
123
+ raised if the wrong type is input.
124
+ Defaults to True
125
+ _path_to_item (tuple/list): This is a list of keys or values to
126
+ drill down to the model in received_data
127
+ when deserializing a response
128
+ _spec_property_naming (bool): True if the variable names in the input data
129
+ are serialized names, as specified in the OpenAPI document.
130
+ False if the variable names in the input data
131
+ are pythonic names, e.g. snake case (default)
132
+ _configuration (Configuration): the instance to use when
133
+ deserializing a file_type parameter.
134
+ If passed, type conversion is attempted
135
+ If omitted no type conversion is done.
136
+ _visited_composed_classes (tuple): This stores a tuple of
137
+ classes that we have traveled through so that
138
+ if we see that class again we will not use its
139
+ discriminator again.
140
+ When traveling through a discriminator, the
141
+ composed schema that is
142
+ is traveled through is added to this set.
143
+ For example if Animal has a discriminator
144
+ petType and we pass in "Dog", and the class Dog
145
+ allOf includes Animal, we move through Animal
146
+ once using the discriminator, and pick Dog.
147
+ Then in Dog, we will make an instance of the
148
+ Animal class but this time we won't travel
149
+ through its discriminator because we passed in
150
+ _visited_composed_classes = (Animal,)
151
+ data ([ResourceOfCreative], none_type): [optional] # noqa: E501
152
+ warnings ([CommonProblem], none_type): [optional] # noqa: E501
153
+ errors ([CommonProblem], none_type): [optional] # noqa: E501
154
+ """
155
+
156
+ _check_type = kwargs.pop('_check_type', True)
157
+ _spec_property_naming = kwargs.pop('_spec_property_naming', True)
158
+ _path_to_item = kwargs.pop('_path_to_item', ())
159
+ _configuration = kwargs.pop('_configuration', None)
160
+ _visited_composed_classes = kwargs.pop('_visited_composed_classes', ())
161
+
162
+ self = super(OpenApiModel, cls).__new__(cls)
163
+
164
+ if args:
165
+ for arg in args:
166
+ if isinstance(arg, dict):
167
+ kwargs.update(arg)
168
+ else:
169
+ raise ApiTypeError(
170
+ "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % (
171
+ args,
172
+ self.__class__.__name__,
173
+ ),
174
+ path_to_item=_path_to_item,
175
+ valid_classes=(self.__class__,),
176
+ )
177
+
178
+ self._data_store = {}
179
+ self._check_type = _check_type
180
+ self._spec_property_naming = _spec_property_naming
181
+ self._path_to_item = _path_to_item
182
+ self._configuration = _configuration
183
+ self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
184
+
185
+ for var_name, var_value in kwargs.items():
186
+ if var_name not in self.attribute_map and \
187
+ self._configuration is not None and \
188
+ self._configuration.discard_unknown_keys and \
189
+ self.additional_properties_type is None:
190
+ # discard variable.
191
+ continue
192
+ setattr(self, var_name, var_value)
193
+ return self
194
+
195
+ required_properties = set([
196
+ '_data_store',
197
+ '_check_type',
198
+ '_spec_property_naming',
199
+ '_path_to_item',
200
+ '_configuration',
201
+ '_visited_composed_classes',
202
+ ])
203
+
204
+ @convert_js_args_to_python_args
205
+ def __init__(self, *args, **kwargs): # noqa: E501
206
+ """ResourceCollectionOutcomeOfCreative - a model defined in OpenAPI
207
+
208
+ Keyword Args:
209
+ _check_type (bool): if True, values for parameters in openapi_types
210
+ will be type checked and a TypeError will be
211
+ raised if the wrong type is input.
212
+ Defaults to True
213
+ _path_to_item (tuple/list): This is a list of keys or values to
214
+ drill down to the model in received_data
215
+ when deserializing a response
216
+ _spec_property_naming (bool): True if the variable names in the input data
217
+ are serialized names, as specified in the OpenAPI document.
218
+ False if the variable names in the input data
219
+ are pythonic names, e.g. snake case (default)
220
+ _configuration (Configuration): the instance to use when
221
+ deserializing a file_type parameter.
222
+ If passed, type conversion is attempted
223
+ If omitted no type conversion is done.
224
+ _visited_composed_classes (tuple): This stores a tuple of
225
+ classes that we have traveled through so that
226
+ if we see that class again we will not use its
227
+ discriminator again.
228
+ When traveling through a discriminator, the
229
+ composed schema that is
230
+ is traveled through is added to this set.
231
+ For example if Animal has a discriminator
232
+ petType and we pass in "Dog", and the class Dog
233
+ allOf includes Animal, we move through Animal
234
+ once using the discriminator, and pick Dog.
235
+ Then in Dog, we will make an instance of the
236
+ Animal class but this time we won't travel
237
+ through its discriminator because we passed in
238
+ _visited_composed_classes = (Animal,)
239
+ data ([ResourceOfCreative], none_type): [optional] # noqa: E501
240
+ warnings ([CommonProblem], none_type): [optional] # noqa: E501
241
+ errors ([CommonProblem], none_type): [optional] # noqa: E501
242
+ """
243
+
244
+ _check_type = kwargs.pop('_check_type', True)
245
+ _spec_property_naming = kwargs.pop('_spec_property_naming', False)
246
+ _path_to_item = kwargs.pop('_path_to_item', ())
247
+ _configuration = kwargs.pop('_configuration', None)
248
+ _visited_composed_classes = kwargs.pop('_visited_composed_classes', ())
249
+
250
+ if args:
251
+ for arg in args:
252
+ if isinstance(arg, dict):
253
+ kwargs.update(arg)
254
+ else:
255
+ raise ApiTypeError(
256
+ "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % (
257
+ args,
258
+ self.__class__.__name__,
259
+ ),
260
+ path_to_item=_path_to_item,
261
+ valid_classes=(self.__class__,),
262
+ )
263
+
264
+ self._data_store = {}
265
+ self._check_type = _check_type
266
+ self._spec_property_naming = _spec_property_naming
267
+ self._path_to_item = _path_to_item
268
+ self._configuration = _configuration
269
+ self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
270
+
271
+ for var_name, var_value in kwargs.items():
272
+ if var_name not in self.attribute_map and \
273
+ self._configuration is not None and \
274
+ self._configuration.discard_unknown_keys and \
275
+ self.additional_properties_type is None:
276
+ # discard variable.
277
+ continue
278
+ setattr(self, var_name, var_value)
279
+ if var_name in self.read_only_vars:
280
+ raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate "
281
+ f"class with read only attributes.")
@@ -30,11 +30,11 @@ from criteo_api_marketingsolutions_v2024_10.exceptions import ApiAttributeError
30
30
 
31
31
 
32
32
  def lazy_import():
33
- from criteo_api_marketingsolutions_v2024_10.model.ad_write_resource import AdWriteResource
34
- globals()['AdWriteResource'] = AdWriteResource
33
+ from criteo_api_marketingsolutions_v2024_10.model.resource_of_ad_write import ResourceOfAdWrite
34
+ globals()['ResourceOfAdWrite'] = ResourceOfAdWrite
35
35
 
36
36
 
37
- class AdWriteRequest(ModelNormal):
37
+ class ResourceInputOfAdWrite(ModelNormal):
38
38
  """NOTE: This class is auto generated by OpenAPI Generator.
39
39
  Ref: https://openapi-generator.tech
40
40
 
@@ -87,7 +87,7 @@ class AdWriteRequest(ModelNormal):
87
87
  """
88
88
  lazy_import()
89
89
  return {
90
- 'data': (AdWriteResource,), # noqa: E501
90
+ 'data': (ResourceOfAdWrite,), # noqa: E501
91
91
  }
92
92
 
93
93
  @cached_property
@@ -107,7 +107,7 @@ class AdWriteRequest(ModelNormal):
107
107
  @classmethod
108
108
  @convert_js_args_to_python_args
109
109
  def _from_openapi_data(cls, *args, **kwargs): # noqa: E501
110
- """AdWriteRequest - a model defined in OpenAPI
110
+ """ResourceInputOfAdWrite - a model defined in OpenAPI
111
111
 
112
112
  Keyword Args:
113
113
  _check_type (bool): if True, values for parameters in openapi_types
@@ -140,7 +140,7 @@ class AdWriteRequest(ModelNormal):
140
140
  Animal class but this time we won't travel
141
141
  through its discriminator because we passed in
142
142
  _visited_composed_classes = (Animal,)
143
- data (AdWriteResource): [optional] # noqa: E501
143
+ data (ResourceOfAdWrite): [optional] # noqa: E501
144
144
  """
145
145
 
146
146
  _check_type = kwargs.pop('_check_type', True)
@@ -193,7 +193,7 @@ class AdWriteRequest(ModelNormal):
193
193
 
194
194
  @convert_js_args_to_python_args
195
195
  def __init__(self, *args, **kwargs): # noqa: E501
196
- """AdWriteRequest - a model defined in OpenAPI
196
+ """ResourceInputOfAdWrite - a model defined in OpenAPI
197
197
 
198
198
  Keyword Args:
199
199
  _check_type (bool): if True, values for parameters in openapi_types
@@ -226,7 +226,7 @@ class AdWriteRequest(ModelNormal):
226
226
  Animal class but this time we won't travel
227
227
  through its discriminator because we passed in
228
228
  _visited_composed_classes = (Animal,)
229
- data (AdWriteResource): [optional] # noqa: E501
229
+ data (ResourceOfAdWrite): [optional] # noqa: E501
230
230
  """
231
231
 
232
232
  _check_type = kwargs.pop('_check_type', True)
@@ -30,11 +30,11 @@ from criteo_api_marketingsolutions_v2024_10.exceptions import ApiAttributeError
30
30
 
31
31
 
32
32
  def lazy_import():
33
- from criteo_api_marketingsolutions_v2024_10.model.create_coupon_resource import CreateCouponResource
34
- globals()['CreateCouponResource'] = CreateCouponResource
33
+ from criteo_api_marketingsolutions_v2024_10.model.resource_of_create_coupon import ResourceOfCreateCoupon
34
+ globals()['ResourceOfCreateCoupon'] = ResourceOfCreateCoupon
35
35
 
36
36
 
37
- class CreateCouponRequest(ModelNormal):
37
+ class ResourceInputOfCreateCoupon(ModelNormal):
38
38
  """NOTE: This class is auto generated by OpenAPI Generator.
39
39
  Ref: https://openapi-generator.tech
40
40
 
@@ -87,7 +87,7 @@ class CreateCouponRequest(ModelNormal):
87
87
  """
88
88
  lazy_import()
89
89
  return {
90
- 'data': (CreateCouponResource,), # noqa: E501
90
+ 'data': (ResourceOfCreateCoupon,), # noqa: E501
91
91
  }
92
92
 
93
93
  @cached_property
@@ -107,7 +107,7 @@ class CreateCouponRequest(ModelNormal):
107
107
  @classmethod
108
108
  @convert_js_args_to_python_args
109
109
  def _from_openapi_data(cls, *args, **kwargs): # noqa: E501
110
- """CreateCouponRequest - a model defined in OpenAPI
110
+ """ResourceInputOfCreateCoupon - a model defined in OpenAPI
111
111
 
112
112
  Keyword Args:
113
113
  _check_type (bool): if True, values for parameters in openapi_types
@@ -140,7 +140,7 @@ class CreateCouponRequest(ModelNormal):
140
140
  Animal class but this time we won't travel
141
141
  through its discriminator because we passed in
142
142
  _visited_composed_classes = (Animal,)
143
- data (CreateCouponResource): [optional] # noqa: E501
143
+ data (ResourceOfCreateCoupon): [optional] # noqa: E501
144
144
  """
145
145
 
146
146
  _check_type = kwargs.pop('_check_type', True)
@@ -193,7 +193,7 @@ class CreateCouponRequest(ModelNormal):
193
193
 
194
194
  @convert_js_args_to_python_args
195
195
  def __init__(self, *args, **kwargs): # noqa: E501
196
- """CreateCouponRequest - a model defined in OpenAPI
196
+ """ResourceInputOfCreateCoupon - a model defined in OpenAPI
197
197
 
198
198
  Keyword Args:
199
199
  _check_type (bool): if True, values for parameters in openapi_types
@@ -226,7 +226,7 @@ class CreateCouponRequest(ModelNormal):
226
226
  Animal class but this time we won't travel
227
227
  through its discriminator because we passed in
228
228
  _visited_composed_classes = (Animal,)
229
- data (CreateCouponResource): [optional] # noqa: E501
229
+ data (ResourceOfCreateCoupon): [optional] # noqa: E501
230
230
  """
231
231
 
232
232
  _check_type = kwargs.pop('_check_type', True)
@@ -30,11 +30,11 @@ from criteo_api_marketingsolutions_v2024_10.exceptions import ApiAttributeError
30
30
 
31
31
 
32
32
  def lazy_import():
33
- from criteo_api_marketingsolutions_v2024_10.model.creative_write_resource import CreativeWriteResource
34
- globals()['CreativeWriteResource'] = CreativeWriteResource
33
+ from criteo_api_marketingsolutions_v2024_10.model.resource_of_creative_write import ResourceOfCreativeWrite
34
+ globals()['ResourceOfCreativeWrite'] = ResourceOfCreativeWrite
35
35
 
36
36
 
37
- class CreativeWriteRequest(ModelNormal):
37
+ class ResourceInputOfCreativeWrite(ModelNormal):
38
38
  """NOTE: This class is auto generated by OpenAPI Generator.
39
39
  Ref: https://openapi-generator.tech
40
40
 
@@ -87,7 +87,7 @@ class CreativeWriteRequest(ModelNormal):
87
87
  """
88
88
  lazy_import()
89
89
  return {
90
- 'data': (CreativeWriteResource,), # noqa: E501
90
+ 'data': (ResourceOfCreativeWrite,), # noqa: E501
91
91
  }
92
92
 
93
93
  @cached_property
@@ -107,7 +107,7 @@ class CreativeWriteRequest(ModelNormal):
107
107
  @classmethod
108
108
  @convert_js_args_to_python_args
109
109
  def _from_openapi_data(cls, *args, **kwargs): # noqa: E501
110
- """CreativeWriteRequest - a model defined in OpenAPI
110
+ """ResourceInputOfCreativeWrite - a model defined in OpenAPI
111
111
 
112
112
  Keyword Args:
113
113
  _check_type (bool): if True, values for parameters in openapi_types
@@ -140,7 +140,7 @@ class CreativeWriteRequest(ModelNormal):
140
140
  Animal class but this time we won't travel
141
141
  through its discriminator because we passed in
142
142
  _visited_composed_classes = (Animal,)
143
- data (CreativeWriteResource): [optional] # noqa: E501
143
+ data (ResourceOfCreativeWrite): [optional] # noqa: E501
144
144
  """
145
145
 
146
146
  _check_type = kwargs.pop('_check_type', True)
@@ -193,7 +193,7 @@ class CreativeWriteRequest(ModelNormal):
193
193
 
194
194
  @convert_js_args_to_python_args
195
195
  def __init__(self, *args, **kwargs): # noqa: E501
196
- """CreativeWriteRequest - a model defined in OpenAPI
196
+ """ResourceInputOfCreativeWrite - a model defined in OpenAPI
197
197
 
198
198
  Keyword Args:
199
199
  _check_type (bool): if True, values for parameters in openapi_types
@@ -226,7 +226,7 @@ class CreativeWriteRequest(ModelNormal):
226
226
  Animal class but this time we won't travel
227
227
  through its discriminator because we passed in
228
228
  _visited_composed_classes = (Animal,)
229
- data (CreativeWriteResource): [optional] # noqa: E501
229
+ data (ResourceOfCreativeWrite): [optional] # noqa: E501
230
230
  """
231
231
 
232
232
  _check_type = kwargs.pop('_check_type', True)
@@ -30,11 +30,11 @@ from criteo_api_marketingsolutions_v2024_10.exceptions import ApiAttributeError
30
30
 
31
31
 
32
32
  def lazy_import():
33
- from criteo_api_marketingsolutions_v2024_10.model.update_coupon_resource import UpdateCouponResource
34
- globals()['UpdateCouponResource'] = UpdateCouponResource
33
+ from criteo_api_marketingsolutions_v2024_10.model.resource_of_update_coupon import ResourceOfUpdateCoupon
34
+ globals()['ResourceOfUpdateCoupon'] = ResourceOfUpdateCoupon
35
35
 
36
36
 
37
- class UpdateCouponRequest(ModelNormal):
37
+ class ResourceInputOfUpdateCoupon(ModelNormal):
38
38
  """NOTE: This class is auto generated by OpenAPI Generator.
39
39
  Ref: https://openapi-generator.tech
40
40
 
@@ -87,7 +87,7 @@ class UpdateCouponRequest(ModelNormal):
87
87
  """
88
88
  lazy_import()
89
89
  return {
90
- 'data': (UpdateCouponResource,), # noqa: E501
90
+ 'data': (ResourceOfUpdateCoupon,), # noqa: E501
91
91
  }
92
92
 
93
93
  @cached_property
@@ -107,7 +107,7 @@ class UpdateCouponRequest(ModelNormal):
107
107
  @classmethod
108
108
  @convert_js_args_to_python_args
109
109
  def _from_openapi_data(cls, *args, **kwargs): # noqa: E501
110
- """UpdateCouponRequest - a model defined in OpenAPI
110
+ """ResourceInputOfUpdateCoupon - a model defined in OpenAPI
111
111
 
112
112
  Keyword Args:
113
113
  _check_type (bool): if True, values for parameters in openapi_types
@@ -140,7 +140,7 @@ class UpdateCouponRequest(ModelNormal):
140
140
  Animal class but this time we won't travel
141
141
  through its discriminator because we passed in
142
142
  _visited_composed_classes = (Animal,)
143
- data (UpdateCouponResource): [optional] # noqa: E501
143
+ data (ResourceOfUpdateCoupon): [optional] # noqa: E501
144
144
  """
145
145
 
146
146
  _check_type = kwargs.pop('_check_type', True)
@@ -193,7 +193,7 @@ class UpdateCouponRequest(ModelNormal):
193
193
 
194
194
  @convert_js_args_to_python_args
195
195
  def __init__(self, *args, **kwargs): # noqa: E501
196
- """UpdateCouponRequest - a model defined in OpenAPI
196
+ """ResourceInputOfUpdateCoupon - a model defined in OpenAPI
197
197
 
198
198
  Keyword Args:
199
199
  _check_type (bool): if True, values for parameters in openapi_types
@@ -226,7 +226,7 @@ class UpdateCouponRequest(ModelNormal):
226
226
  Animal class but this time we won't travel
227
227
  through its discriminator because we passed in
228
228
  _visited_composed_classes = (Animal,)
229
- data (UpdateCouponResource): [optional] # noqa: E501
229
+ data (ResourceOfUpdateCoupon): [optional] # noqa: E501
230
230
  """
231
231
 
232
232
  _check_type = kwargs.pop('_check_type', True)
@@ -34,7 +34,7 @@ def lazy_import():
34
34
  globals()['Ad'] = Ad
35
35
 
36
36
 
37
- class AdResource(ModelNormal):
37
+ class ResourceOfAd(ModelNormal):
38
38
  """NOTE: This class is auto generated by OpenAPI Generator.
39
39
  Ref: https://openapi-generator.tech
40
40
 
@@ -111,7 +111,7 @@ class AdResource(ModelNormal):
111
111
  @classmethod
112
112
  @convert_js_args_to_python_args
113
113
  def _from_openapi_data(cls, *args, **kwargs): # noqa: E501
114
- """AdResource - a model defined in OpenAPI
114
+ """ResourceOfAd - a model defined in OpenAPI
115
115
 
116
116
  Keyword Args:
117
117
  _check_type (bool): if True, values for parameters in openapi_types
@@ -145,7 +145,7 @@ class AdResource(ModelNormal):
145
145
  through its discriminator because we passed in
146
146
  _visited_composed_classes = (Animal,)
147
147
  attributes (Ad): [optional] # noqa: E501
148
- id (str, none_type): [optional] # noqa: E501
148
+ id (str, none_type): Unique identifier of this resource.. [optional] # noqa: E501
149
149
  type (str, none_type): [optional] # noqa: E501
150
150
  """
151
151
 
@@ -199,7 +199,7 @@ class AdResource(ModelNormal):
199
199
 
200
200
  @convert_js_args_to_python_args
201
201
  def __init__(self, *args, **kwargs): # noqa: E501
202
- """AdResource - a model defined in OpenAPI
202
+ """ResourceOfAd - a model defined in OpenAPI
203
203
 
204
204
  Keyword Args:
205
205
  _check_type (bool): if True, values for parameters in openapi_types
@@ -233,7 +233,7 @@ class AdResource(ModelNormal):
233
233
  through its discriminator because we passed in
234
234
  _visited_composed_classes = (Animal,)
235
235
  attributes (Ad): [optional] # noqa: E501
236
- id (str, none_type): [optional] # noqa: E501
236
+ id (str, none_type): Unique identifier of this resource.. [optional] # noqa: E501
237
237
  type (str, none_type): [optional] # noqa: E501
238
238
  """
239
239
 
@@ -34,7 +34,7 @@ def lazy_import():
34
34
  globals()['AdWrite'] = AdWrite
35
35
 
36
36
 
37
- class AdWriteResource(ModelNormal):
37
+ class ResourceOfAdWrite(ModelNormal):
38
38
  """NOTE: This class is auto generated by OpenAPI Generator.
39
39
  Ref: https://openapi-generator.tech
40
40
 
@@ -111,7 +111,7 @@ class AdWriteResource(ModelNormal):
111
111
  @classmethod
112
112
  @convert_js_args_to_python_args
113
113
  def _from_openapi_data(cls, *args, **kwargs): # noqa: E501
114
- """AdWriteResource - a model defined in OpenAPI
114
+ """ResourceOfAdWrite - a model defined in OpenAPI
115
115
 
116
116
  Keyword Args:
117
117
  _check_type (bool): if True, values for parameters in openapi_types
@@ -145,7 +145,7 @@ class AdWriteResource(ModelNormal):
145
145
  through its discriminator because we passed in
146
146
  _visited_composed_classes = (Animal,)
147
147
  attributes (AdWrite): [optional] # noqa: E501
148
- id (str, none_type): [optional] # noqa: E501
148
+ id (str, none_type): Unique identifier of this resource.. [optional] # noqa: E501
149
149
  type (str, none_type): [optional] # noqa: E501
150
150
  """
151
151
 
@@ -199,7 +199,7 @@ class AdWriteResource(ModelNormal):
199
199
 
200
200
  @convert_js_args_to_python_args
201
201
  def __init__(self, *args, **kwargs): # noqa: E501
202
- """AdWriteResource - a model defined in OpenAPI
202
+ """ResourceOfAdWrite - a model defined in OpenAPI
203
203
 
204
204
  Keyword Args:
205
205
  _check_type (bool): if True, values for parameters in openapi_types
@@ -233,7 +233,7 @@ class AdWriteResource(ModelNormal):
233
233
  through its discriminator because we passed in
234
234
  _visited_composed_classes = (Animal,)
235
235
  attributes (AdWrite): [optional] # noqa: E501
236
- id (str, none_type): [optional] # noqa: E501
236
+ id (str, none_type): Unique identifier of this resource.. [optional] # noqa: E501
237
237
  type (str, none_type): [optional] # noqa: E501
238
238
  """
239
239
 
@@ -34,7 +34,7 @@ def lazy_import():
34
34
  globals()['Coupon'] = Coupon
35
35
 
36
36
 
37
- class CouponResource(ModelNormal):
37
+ class ResourceOfCoupon(ModelNormal):
38
38
  """NOTE: This class is auto generated by OpenAPI Generator.
39
39
  Ref: https://openapi-generator.tech
40
40
 
@@ -111,7 +111,7 @@ class CouponResource(ModelNormal):
111
111
  @classmethod
112
112
  @convert_js_args_to_python_args
113
113
  def _from_openapi_data(cls, *args, **kwargs): # noqa: E501
114
- """CouponResource - a model defined in OpenAPI
114
+ """ResourceOfCoupon - a model defined in OpenAPI
115
115
 
116
116
  Keyword Args:
117
117
  _check_type (bool): if True, values for parameters in openapi_types
@@ -145,7 +145,7 @@ class CouponResource(ModelNormal):
145
145
  through its discriminator because we passed in
146
146
  _visited_composed_classes = (Animal,)
147
147
  attributes (Coupon): [optional] # noqa: E501
148
- id (str, none_type): [optional] # noqa: E501
148
+ id (str, none_type): Unique identifier of this resource.. [optional] # noqa: E501
149
149
  type (str, none_type): [optional] # noqa: E501
150
150
  """
151
151
 
@@ -199,7 +199,7 @@ class CouponResource(ModelNormal):
199
199
 
200
200
  @convert_js_args_to_python_args
201
201
  def __init__(self, *args, **kwargs): # noqa: E501
202
- """CouponResource - a model defined in OpenAPI
202
+ """ResourceOfCoupon - a model defined in OpenAPI
203
203
 
204
204
  Keyword Args:
205
205
  _check_type (bool): if True, values for parameters in openapi_types
@@ -233,7 +233,7 @@ class CouponResource(ModelNormal):
233
233
  through its discriminator because we passed in
234
234
  _visited_composed_classes = (Animal,)
235
235
  attributes (Coupon): [optional] # noqa: E501
236
- id (str, none_type): [optional] # noqa: E501
236
+ id (str, none_type): Unique identifier of this resource.. [optional] # noqa: E501
237
237
  type (str, none_type): [optional] # noqa: E501
238
238
  """
239
239