criteo-api-marketingsolutions-sdk 0.0.240118__py3-none-any.whl → 0.0.240404__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 (56) hide show
  1. criteo_api_marketingsolutions_preview/__init__.py +1 -1
  2. criteo_api_marketingsolutions_preview/api/analytics_api.py +12 -9
  3. criteo_api_marketingsolutions_preview/api/campaign_api.py +57 -57
  4. criteo_api_marketingsolutions_preview/api_client.py +1 -1
  5. criteo_api_marketingsolutions_preview/configuration.py +1 -1
  6. criteo_api_marketingsolutions_preview/model/{ad_set_delivery_limitations_v23_q1.py → ad_set_delivery_limitations_v24_q1.py} +3 -3
  7. criteo_api_marketingsolutions_preview/model/{ad_set_frequency_capping_v23_q1.py → ad_set_frequency_capping_v24_q1.py} +3 -3
  8. criteo_api_marketingsolutions_preview/model/{ad_set_geo_location_v23_q1.py → ad_set_geo_location_v24_q1.py} +14 -14
  9. criteo_api_marketingsolutions_preview/model/{ad_set_search_filter_v23_q1.py → ad_set_search_filter_v24_q1.py} +3 -3
  10. criteo_api_marketingsolutions_preview/model/{ad_set_search_request_v23_q1.py → ad_set_search_request_v24_q1.py} +8 -8
  11. criteo_api_marketingsolutions_preview/model/{ad_set_targeting_rule.py → ad_set_targeting_rule_v24_q1.py} +3 -3
  12. criteo_api_marketingsolutions_preview/model/{ad_set_targeting_v23_q1.py → ad_set_targeting_v24_q1.py} +18 -18
  13. criteo_api_marketingsolutions_preview/model/{create_ad_set_bidding.py → create_ad_set_bidding_v24_q1.py} +4 -3
  14. criteo_api_marketingsolutions_preview/model/{create_ad_set_budget.py → create_ad_set_budget_v24_q1.py} +4 -3
  15. criteo_api_marketingsolutions_preview/model/{create_ad_set_geo_location.py → create_ad_set_geo_location_v24_q1.py} +14 -14
  16. criteo_api_marketingsolutions_preview/model/{create_ad_set_schedule.py → create_ad_set_schedule_v24_q1.py} +3 -3
  17. criteo_api_marketingsolutions_preview/model/{create_ad_set_targeting.py → create_ad_set_targeting_v24_q1.py} +18 -18
  18. criteo_api_marketingsolutions_preview/model/{create_ad_set.py → create_ad_set_v24_q1.py} +23 -23
  19. criteo_api_marketingsolutions_preview/model/{create_ad_set_request.py → create_ad_set_v24_q1_request.py} +8 -8
  20. criteo_api_marketingsolutions_preview/model/{create_ad_set_resource.py → create_ad_set_v24_q1_resource.py} +8 -8
  21. criteo_api_marketingsolutions_preview/model/{nillable_ad_set_targeting_rule_v23_q1.py → nillable_ad_set_targeting_rule_v24_q1.py} +8 -8
  22. criteo_api_marketingsolutions_preview/model/{nillable_ad_set_targeting_rule_v23_q1_value.py → nillable_ad_set_targeting_rule_v24_q1_value.py} +6 -6
  23. criteo_api_marketingsolutions_preview/model/{patch_ad_set_bidding.py → patch_ad_set_bidding_v24_q1.py} +3 -3
  24. criteo_api_marketingsolutions_preview/model/{patch_ad_set_budget.py → patch_ad_set_budget_v24_q1.py} +4 -3
  25. criteo_api_marketingsolutions_preview/model/{patch_ad_set_scheduling.py → patch_ad_set_scheduling_v24_q1.py} +3 -3
  26. criteo_api_marketingsolutions_preview/model/{patch_ad_set.py → patch_ad_set_v24_q1.py} +23 -23
  27. criteo_api_marketingsolutions_preview/model/product.py +16 -12
  28. criteo_api_marketingsolutions_preview/model/products_custom_batch_request_entry.py +2 -2
  29. criteo_api_marketingsolutions_preview/model/{read_ad_set_bidding_v23_q1.py → read_ad_set_bidding_v24_q1.py} +6 -12
  30. criteo_api_marketingsolutions_preview/model/{read_ad_set_budget.py → read_ad_set_budget_v24_q1.py} +7 -12
  31. criteo_api_marketingsolutions_preview/model/{read_ad_set_schedule.py → read_ad_set_schedule_v24_q1.py} +3 -3
  32. criteo_api_marketingsolutions_preview/model/{read_ad_set_v23_q1.py → read_ad_set_v24_q1.py} +23 -23
  33. criteo_api_marketingsolutions_preview/model/{read_model_read_ad_set.py → read_model_ad_set_id_v24_q1.py} +6 -12
  34. criteo_api_marketingsolutions_preview/model/{read_model_read_ad_set_v23_q1.py → read_model_read_ad_set_v24_q1.py} +8 -8
  35. criteo_api_marketingsolutions_preview/model/recommended_product.py +6 -2
  36. criteo_api_marketingsolutions_preview/model/{requests_patch_ad_set.py → requests_patch_ad_set_v24_q1.py} +8 -8
  37. criteo_api_marketingsolutions_preview/model/{response_read_ad_set_v23_q1.py → response_read_ad_set_v24_q1.py} +8 -8
  38. criteo_api_marketingsolutions_preview/model/{response_read_ad_set.py → responses_ad_set_id_v24_q1.py} +9 -8
  39. criteo_api_marketingsolutions_preview/model/{responses_read_ad_set_v23_q1.py → responses_read_ad_set_v24_q1.py} +8 -8
  40. criteo_api_marketingsolutions_preview/model/{write_model_patch_ad_set.py → write_model_patch_ad_set_v24_q1.py} +8 -8
  41. criteo_api_marketingsolutions_preview/models/__init__.py +32 -43
  42. {criteo_api_marketingsolutions_sdk-0.0.240118.dist-info → criteo_api_marketingsolutions_sdk-0.0.240404.dist-info}/METADATA +3 -3
  43. {criteo_api_marketingsolutions_sdk-0.0.240118.dist-info → criteo_api_marketingsolutions_sdk-0.0.240404.dist-info}/RECORD +45 -56
  44. {criteo_api_marketingsolutions_sdk-0.0.240118.dist-info → criteo_api_marketingsolutions_sdk-0.0.240404.dist-info}/WHEEL +1 -1
  45. criteo_api_marketingsolutions_preview/model/ad_set_delivery_limitations.py +0 -289
  46. criteo_api_marketingsolutions_preview/model/ad_set_frequency_capping.py +0 -274
  47. criteo_api_marketingsolutions_preview/model/ad_set_geo_location.py +0 -277
  48. criteo_api_marketingsolutions_preview/model/ad_set_targeting.py +0 -281
  49. criteo_api_marketingsolutions_preview/model/ad_set_targeting_rule_v23_q1.py +0 -273
  50. criteo_api_marketingsolutions_preview/model/nillable_ad_set_targeting_rule.py +0 -269
  51. criteo_api_marketingsolutions_preview/model/nillable_ad_set_targeting_rule_value.py +0 -329
  52. criteo_api_marketingsolutions_preview/model/read_ad_set.py +0 -322
  53. criteo_api_marketingsolutions_preview/model/read_ad_set_bidding.py +0 -302
  54. criteo_api_marketingsolutions_preview/model/read_ad_set_budget_v23_q1.py +0 -313
  55. criteo_api_marketingsolutions_preview/model/read_ad_set_schedule_v23_q1.py +0 -299
  56. {criteo_api_marketingsolutions_sdk-0.0.240118.dist-info → criteo_api_marketingsolutions_sdk-0.0.240404.dist-info}/top_level.txt +0 -0
@@ -30,17 +30,17 @@ from criteo_api_marketingsolutions_preview.exceptions import ApiAttributeError
30
30
 
31
31
 
32
32
  def lazy_import():
33
- from criteo_api_marketingsolutions_preview.model.ad_set_targeting_v23_q1 import AdSetTargetingV23Q1
34
- from criteo_api_marketingsolutions_preview.model.read_ad_set_bidding_v23_q1 import ReadAdSetBiddingV23Q1
35
- from criteo_api_marketingsolutions_preview.model.read_ad_set_budget_v23_q1 import ReadAdSetBudgetV23Q1
36
- from criteo_api_marketingsolutions_preview.model.read_ad_set_schedule_v23_q1 import ReadAdSetScheduleV23Q1
37
- globals()['AdSetTargetingV23Q1'] = AdSetTargetingV23Q1
38
- globals()['ReadAdSetBiddingV23Q1'] = ReadAdSetBiddingV23Q1
39
- globals()['ReadAdSetBudgetV23Q1'] = ReadAdSetBudgetV23Q1
40
- globals()['ReadAdSetScheduleV23Q1'] = ReadAdSetScheduleV23Q1
33
+ from criteo_api_marketingsolutions_preview.model.ad_set_targeting_v24_q1 import AdSetTargetingV24Q1
34
+ from criteo_api_marketingsolutions_preview.model.read_ad_set_bidding_v24_q1 import ReadAdSetBiddingV24Q1
35
+ from criteo_api_marketingsolutions_preview.model.read_ad_set_budget_v24_q1 import ReadAdSetBudgetV24Q1
36
+ from criteo_api_marketingsolutions_preview.model.read_ad_set_schedule_v24_q1 import ReadAdSetScheduleV24Q1
37
+ globals()['AdSetTargetingV24Q1'] = AdSetTargetingV24Q1
38
+ globals()['ReadAdSetBiddingV24Q1'] = ReadAdSetBiddingV24Q1
39
+ globals()['ReadAdSetBudgetV24Q1'] = ReadAdSetBudgetV24Q1
40
+ globals()['ReadAdSetScheduleV24Q1'] = ReadAdSetScheduleV24Q1
41
41
 
42
42
 
43
- class ReadAdSetV23Q1(ModelNormal):
43
+ class ReadAdSetV24Q1(ModelNormal):
44
44
  """NOTE: This class is auto generated by OpenAPI Generator.
45
45
  Ref: https://openapi-generator.tech
46
46
 
@@ -129,10 +129,10 @@ class ReadAdSetV23Q1(ModelNormal):
129
129
  'campaign_id': (str, none_type,), # noqa: E501
130
130
  'destination_environment': (str, none_type,), # noqa: E501
131
131
  'objective': (str, none_type,), # noqa: E501
132
- 'schedule': (ReadAdSetScheduleV23Q1,), # noqa: E501
133
- 'bidding': (ReadAdSetBiddingV23Q1,), # noqa: E501
134
- 'targeting': (AdSetTargetingV23Q1,), # noqa: E501
135
- 'budget': (ReadAdSetBudgetV23Q1,), # noqa: E501
132
+ 'schedule': (ReadAdSetScheduleV24Q1,), # noqa: E501
133
+ 'bidding': (ReadAdSetBiddingV24Q1,), # noqa: E501
134
+ 'targeting': (AdSetTargetingV24Q1,), # noqa: E501
135
+ 'budget': (ReadAdSetBudgetV24Q1,), # noqa: E501
136
136
  'media_type': (str, none_type,), # noqa: E501
137
137
  'video_channel': (str, none_type,), # noqa: E501
138
138
  }
@@ -165,7 +165,7 @@ class ReadAdSetV23Q1(ModelNormal):
165
165
  @classmethod
166
166
  @convert_js_args_to_python_args
167
167
  def _from_openapi_data(cls, *args, **kwargs): # noqa: E501
168
- """ReadAdSetV23Q1 - a model defined in OpenAPI
168
+ """ReadAdSetV24Q1 - a model defined in OpenAPI
169
169
 
170
170
  Keyword Args:
171
171
  _check_type (bool): if True, values for parameters in openapi_types
@@ -204,10 +204,10 @@ class ReadAdSetV23Q1(ModelNormal):
204
204
  campaign_id (str, none_type): [optional] # noqa: E501
205
205
  destination_environment (str, none_type): [optional] # noqa: E501
206
206
  objective (str, none_type): [optional] # noqa: E501
207
- schedule (ReadAdSetScheduleV23Q1): [optional] # noqa: E501
208
- bidding (ReadAdSetBiddingV23Q1): [optional] # noqa: E501
209
- targeting (AdSetTargetingV23Q1): [optional] # noqa: E501
210
- budget (ReadAdSetBudgetV23Q1): [optional] # noqa: E501
207
+ schedule (ReadAdSetScheduleV24Q1): [optional] # noqa: E501
208
+ bidding (ReadAdSetBiddingV24Q1): [optional] # noqa: E501
209
+ targeting (AdSetTargetingV24Q1): [optional] # noqa: E501
210
+ budget (ReadAdSetBudgetV24Q1): [optional] # noqa: E501
211
211
  media_type (str, none_type): [optional] # noqa: E501
212
212
  video_channel (str, none_type): [optional] # noqa: E501
213
213
  """
@@ -262,7 +262,7 @@ class ReadAdSetV23Q1(ModelNormal):
262
262
 
263
263
  @convert_js_args_to_python_args
264
264
  def __init__(self, *args, **kwargs): # noqa: E501
265
- """ReadAdSetV23Q1 - a model defined in OpenAPI
265
+ """ReadAdSetV24Q1 - a model defined in OpenAPI
266
266
 
267
267
  Keyword Args:
268
268
  _check_type (bool): if True, values for parameters in openapi_types
@@ -301,10 +301,10 @@ class ReadAdSetV23Q1(ModelNormal):
301
301
  campaign_id (str, none_type): [optional] # noqa: E501
302
302
  destination_environment (str, none_type): [optional] # noqa: E501
303
303
  objective (str, none_type): [optional] # noqa: E501
304
- schedule (ReadAdSetScheduleV23Q1): [optional] # noqa: E501
305
- bidding (ReadAdSetBiddingV23Q1): [optional] # noqa: E501
306
- targeting (AdSetTargetingV23Q1): [optional] # noqa: E501
307
- budget (ReadAdSetBudgetV23Q1): [optional] # noqa: E501
304
+ schedule (ReadAdSetScheduleV24Q1): [optional] # noqa: E501
305
+ bidding (ReadAdSetBiddingV24Q1): [optional] # noqa: E501
306
+ targeting (AdSetTargetingV24Q1): [optional] # noqa: E501
307
+ budget (ReadAdSetBudgetV24Q1): [optional] # noqa: E501
308
308
  media_type (str, none_type): [optional] # noqa: E501
309
309
  video_channel (str, none_type): [optional] # noqa: E501
310
310
  """
@@ -29,12 +29,8 @@ from criteo_api_marketingsolutions_preview.model_utils import ( # noqa: F401
29
29
  from criteo_api_marketingsolutions_preview.exceptions import ApiAttributeError
30
30
 
31
31
 
32
- def lazy_import():
33
- from criteo_api_marketingsolutions_preview.model.read_ad_set import ReadAdSet
34
- globals()['ReadAdSet'] = ReadAdSet
35
32
 
36
-
37
- class ReadModelReadAdSet(ModelNormal):
33
+ class ReadModelAdSetIdV24Q1(ModelNormal):
38
34
  """NOTE: This class is auto generated by OpenAPI Generator.
39
35
  Ref: https://openapi-generator.tech
40
36
 
@@ -70,7 +66,6 @@ class ReadModelReadAdSet(ModelNormal):
70
66
  This must be a method because a model may have properties that are
71
67
  of type self, this must run after the class is loaded
72
68
  """
73
- lazy_import()
74
69
  return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501
75
70
 
76
71
  _nullable = False
@@ -85,11 +80,10 @@ class ReadModelReadAdSet(ModelNormal):
85
80
  openapi_types (dict): The key is attribute name
86
81
  and the value is attribute type.
87
82
  """
88
- lazy_import()
89
83
  return {
90
84
  'id': (str, none_type,), # noqa: E501
91
85
  'type': (str, none_type,), # noqa: E501
92
- 'attributes': (ReadAdSet,), # noqa: E501
86
+ 'attributes': ({str: (bool, date, datetime, dict, float, int, list, str, none_type)},), # noqa: E501
93
87
  }
94
88
 
95
89
  @cached_property
@@ -113,7 +107,7 @@ class ReadModelReadAdSet(ModelNormal):
113
107
  @classmethod
114
108
  @convert_js_args_to_python_args
115
109
  def _from_openapi_data(cls, *args, **kwargs): # noqa: E501
116
- """ReadModelReadAdSet - a model defined in OpenAPI
110
+ """ReadModelAdSetIdV24Q1 - a model defined in OpenAPI
117
111
 
118
112
  Keyword Args:
119
113
  _check_type (bool): if True, values for parameters in openapi_types
@@ -148,7 +142,7 @@ class ReadModelReadAdSet(ModelNormal):
148
142
  _visited_composed_classes = (Animal,)
149
143
  id (str, none_type): Id of the entity. [optional] # noqa: E501
150
144
  type (str, none_type): [optional] # noqa: E501
151
- attributes (ReadAdSet): [optional] # noqa: E501
145
+ attributes ({str: (bool, date, datetime, dict, float, int, list, str, none_type)}): ad set id model. [optional] # noqa: E501
152
146
  """
153
147
 
154
148
  _check_type = kwargs.pop('_check_type', True)
@@ -201,7 +195,7 @@ class ReadModelReadAdSet(ModelNormal):
201
195
 
202
196
  @convert_js_args_to_python_args
203
197
  def __init__(self, *args, **kwargs): # noqa: E501
204
- """ReadModelReadAdSet - a model defined in OpenAPI
198
+ """ReadModelAdSetIdV24Q1 - a model defined in OpenAPI
205
199
 
206
200
  Keyword Args:
207
201
  _check_type (bool): if True, values for parameters in openapi_types
@@ -236,7 +230,7 @@ class ReadModelReadAdSet(ModelNormal):
236
230
  _visited_composed_classes = (Animal,)
237
231
  id (str, none_type): Id of the entity. [optional] # noqa: E501
238
232
  type (str, none_type): [optional] # noqa: E501
239
- attributes (ReadAdSet): [optional] # noqa: E501
233
+ attributes ({str: (bool, date, datetime, dict, float, int, list, str, none_type)}): ad set id model. [optional] # noqa: E501
240
234
  """
241
235
 
242
236
  _check_type = kwargs.pop('_check_type', True)
@@ -30,11 +30,11 @@ from criteo_api_marketingsolutions_preview.exceptions import ApiAttributeError
30
30
 
31
31
 
32
32
  def lazy_import():
33
- from criteo_api_marketingsolutions_preview.model.read_ad_set_v23_q1 import ReadAdSetV23Q1
34
- globals()['ReadAdSetV23Q1'] = ReadAdSetV23Q1
33
+ from criteo_api_marketingsolutions_preview.model.read_ad_set_v24_q1 import ReadAdSetV24Q1
34
+ globals()['ReadAdSetV24Q1'] = ReadAdSetV24Q1
35
35
 
36
36
 
37
- class ReadModelReadAdSetV23Q1(ModelNormal):
37
+ class ReadModelReadAdSetV24Q1(ModelNormal):
38
38
  """NOTE: This class is auto generated by OpenAPI Generator.
39
39
  Ref: https://openapi-generator.tech
40
40
 
@@ -89,7 +89,7 @@ class ReadModelReadAdSetV23Q1(ModelNormal):
89
89
  return {
90
90
  'id': (str, none_type,), # noqa: E501
91
91
  'type': (str, none_type,), # noqa: E501
92
- 'attributes': (ReadAdSetV23Q1,), # noqa: E501
92
+ 'attributes': (ReadAdSetV24Q1,), # noqa: E501
93
93
  }
94
94
 
95
95
  @cached_property
@@ -113,7 +113,7 @@ class ReadModelReadAdSetV23Q1(ModelNormal):
113
113
  @classmethod
114
114
  @convert_js_args_to_python_args
115
115
  def _from_openapi_data(cls, *args, **kwargs): # noqa: E501
116
- """ReadModelReadAdSetV23Q1 - a model defined in OpenAPI
116
+ """ReadModelReadAdSetV24Q1 - a model defined in OpenAPI
117
117
 
118
118
  Keyword Args:
119
119
  _check_type (bool): if True, values for parameters in openapi_types
@@ -148,7 +148,7 @@ class ReadModelReadAdSetV23Q1(ModelNormal):
148
148
  _visited_composed_classes = (Animal,)
149
149
  id (str, none_type): Id of the entity. [optional] # noqa: E501
150
150
  type (str, none_type): [optional] # noqa: E501
151
- attributes (ReadAdSetV23Q1): [optional] # noqa: E501
151
+ attributes (ReadAdSetV24Q1): [optional] # noqa: E501
152
152
  """
153
153
 
154
154
  _check_type = kwargs.pop('_check_type', True)
@@ -201,7 +201,7 @@ class ReadModelReadAdSetV23Q1(ModelNormal):
201
201
 
202
202
  @convert_js_args_to_python_args
203
203
  def __init__(self, *args, **kwargs): # noqa: E501
204
- """ReadModelReadAdSetV23Q1 - a model defined in OpenAPI
204
+ """ReadModelReadAdSetV24Q1 - a model defined in OpenAPI
205
205
 
206
206
  Keyword Args:
207
207
  _check_type (bool): if True, values for parameters in openapi_types
@@ -236,7 +236,7 @@ class ReadModelReadAdSetV23Q1(ModelNormal):
236
236
  _visited_composed_classes = (Animal,)
237
237
  id (str, none_type): Id of the entity. [optional] # noqa: E501
238
238
  type (str, none_type): [optional] # noqa: E501
239
- attributes (ReadAdSetV23Q1): [optional] # noqa: E501
239
+ attributes (ReadAdSetV24Q1): [optional] # noqa: E501
240
240
  """
241
241
 
242
242
  _check_type = kwargs.pop('_check_type', True)
@@ -83,6 +83,7 @@ class RecommendedProduct(ModelNormal):
83
83
  return {
84
84
  'product_external_id': (str, none_type,), # noqa: E501
85
85
  'click_url': (str, none_type,), # noqa: E501
86
+ 'alternative_click_url': (str, none_type,), # noqa: E501
86
87
  'image_url': (str, none_type,), # noqa: E501
87
88
  'name': (str, none_type,), # noqa: E501
88
89
  'description': (str, none_type,), # noqa: E501
@@ -99,6 +100,7 @@ class RecommendedProduct(ModelNormal):
99
100
  attribute_map = {
100
101
  'product_external_id': 'productExternalId', # noqa: E501
101
102
  'click_url': 'clickUrl', # noqa: E501
103
+ 'alternative_click_url': 'alternativeClickUrl', # noqa: E501
102
104
  'image_url': 'imageUrl', # noqa: E501
103
105
  'name': 'name', # noqa: E501
104
106
  'description': 'description', # noqa: E501
@@ -149,7 +151,8 @@ class RecommendedProduct(ModelNormal):
149
151
  through its discriminator because we passed in
150
152
  _visited_composed_classes = (Animal,)
151
153
  product_external_id (str, none_type): Product external id. Same id than what is used in user events.. [optional] # noqa: E501
152
- click_url (str, none_type): Url leading to product details page and also used to track user click.. [optional] # noqa: E501
154
+ click_url (str, none_type): Url leading to product details page and also used to track user click. It's relying on the default product URL field in the catalog.. [optional] # noqa: E501
155
+ alternative_click_url (str, none_type): Url leading to product details page and also used to track user click. It's relying on a custom product URL field in the catalog.. [optional] # noqa: E501
153
156
  image_url (str, none_type): Product image.. [optional] # noqa: E501
154
157
  name (str, none_type): Product name.. [optional] # noqa: E501
155
158
  description (str, none_type): Product description.. [optional] # noqa: E501
@@ -242,7 +245,8 @@ class RecommendedProduct(ModelNormal):
242
245
  through its discriminator because we passed in
243
246
  _visited_composed_classes = (Animal,)
244
247
  product_external_id (str, none_type): Product external id. Same id than what is used in user events.. [optional] # noqa: E501
245
- click_url (str, none_type): Url leading to product details page and also used to track user click.. [optional] # noqa: E501
248
+ click_url (str, none_type): Url leading to product details page and also used to track user click. It's relying on the default product URL field in the catalog.. [optional] # noqa: E501
249
+ alternative_click_url (str, none_type): Url leading to product details page and also used to track user click. It's relying on a custom product URL field in the catalog.. [optional] # noqa: E501
246
250
  image_url (str, none_type): Product image.. [optional] # noqa: E501
247
251
  name (str, none_type): Product name.. [optional] # noqa: E501
248
252
  description (str, none_type): Product description.. [optional] # noqa: E501
@@ -30,11 +30,11 @@ from criteo_api_marketingsolutions_preview.exceptions import ApiAttributeError
30
30
 
31
31
 
32
32
  def lazy_import():
33
- from criteo_api_marketingsolutions_preview.model.write_model_patch_ad_set import WriteModelPatchAdSet
34
- globals()['WriteModelPatchAdSet'] = WriteModelPatchAdSet
33
+ from criteo_api_marketingsolutions_preview.model.write_model_patch_ad_set_v24_q1 import WriteModelPatchAdSetV24Q1
34
+ globals()['WriteModelPatchAdSetV24Q1'] = WriteModelPatchAdSetV24Q1
35
35
 
36
36
 
37
- class RequestsPatchAdSet(ModelNormal):
37
+ class RequestsPatchAdSetV24Q1(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 RequestsPatchAdSet(ModelNormal):
87
87
  """
88
88
  lazy_import()
89
89
  return {
90
- 'data': ([WriteModelPatchAdSet], none_type,), # noqa: E501
90
+ 'data': ([WriteModelPatchAdSetV24Q1], none_type,), # noqa: E501
91
91
  }
92
92
 
93
93
  @cached_property
@@ -107,7 +107,7 @@ class RequestsPatchAdSet(ModelNormal):
107
107
  @classmethod
108
108
  @convert_js_args_to_python_args
109
109
  def _from_openapi_data(cls, *args, **kwargs): # noqa: E501
110
- """RequestsPatchAdSet - a model defined in OpenAPI
110
+ """RequestsPatchAdSetV24Q1 - 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 RequestsPatchAdSet(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 ([WriteModelPatchAdSet], none_type): [optional] # noqa: E501
143
+ data ([WriteModelPatchAdSetV24Q1], none_type): [optional] # noqa: E501
144
144
  """
145
145
 
146
146
  _check_type = kwargs.pop('_check_type', True)
@@ -193,7 +193,7 @@ class RequestsPatchAdSet(ModelNormal):
193
193
 
194
194
  @convert_js_args_to_python_args
195
195
  def __init__(self, *args, **kwargs): # noqa: E501
196
- """RequestsPatchAdSet - a model defined in OpenAPI
196
+ """RequestsPatchAdSetV24Q1 - 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 RequestsPatchAdSet(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 ([WriteModelPatchAdSet], none_type): [optional] # noqa: E501
229
+ data ([WriteModelPatchAdSetV24Q1], none_type): [optional] # noqa: E501
230
230
  """
231
231
 
232
232
  _check_type = kwargs.pop('_check_type', True)
@@ -31,12 +31,12 @@ from criteo_api_marketingsolutions_preview.exceptions import ApiAttributeError
31
31
 
32
32
  def lazy_import():
33
33
  from criteo_api_marketingsolutions_preview.model.common_problem import CommonProblem
34
- from criteo_api_marketingsolutions_preview.model.read_model_read_ad_set_v23_q1 import ReadModelReadAdSetV23Q1
34
+ from criteo_api_marketingsolutions_preview.model.read_model_read_ad_set_v24_q1 import ReadModelReadAdSetV24Q1
35
35
  globals()['CommonProblem'] = CommonProblem
36
- globals()['ReadModelReadAdSetV23Q1'] = ReadModelReadAdSetV23Q1
36
+ globals()['ReadModelReadAdSetV24Q1'] = ReadModelReadAdSetV24Q1
37
37
 
38
38
 
39
- class ResponseReadAdSetV23Q1(ModelNormal):
39
+ class ResponseReadAdSetV24Q1(ModelNormal):
40
40
  """NOTE: This class is auto generated by OpenAPI Generator.
41
41
  Ref: https://openapi-generator.tech
42
42
 
@@ -89,7 +89,7 @@ class ResponseReadAdSetV23Q1(ModelNormal):
89
89
  """
90
90
  lazy_import()
91
91
  return {
92
- 'data': (ReadModelReadAdSetV23Q1,), # noqa: E501
92
+ 'data': (ReadModelReadAdSetV24Q1,), # noqa: E501
93
93
  'warnings': ([CommonProblem], none_type,), # noqa: E501
94
94
  'errors': ([CommonProblem], none_type,), # noqa: E501
95
95
  }
@@ -115,7 +115,7 @@ class ResponseReadAdSetV23Q1(ModelNormal):
115
115
  @classmethod
116
116
  @convert_js_args_to_python_args
117
117
  def _from_openapi_data(cls, *args, **kwargs): # noqa: E501
118
- """ResponseReadAdSetV23Q1 - a model defined in OpenAPI
118
+ """ResponseReadAdSetV24Q1 - a model defined in OpenAPI
119
119
 
120
120
  Keyword Args:
121
121
  _check_type (bool): if True, values for parameters in openapi_types
@@ -148,7 +148,7 @@ class ResponseReadAdSetV23Q1(ModelNormal):
148
148
  Animal class but this time we won't travel
149
149
  through its discriminator because we passed in
150
150
  _visited_composed_classes = (Animal,)
151
- data (ReadModelReadAdSetV23Q1): [optional] # noqa: E501
151
+ data (ReadModelReadAdSetV24Q1): [optional] # noqa: E501
152
152
  warnings ([CommonProblem], none_type): [optional] # noqa: E501
153
153
  errors ([CommonProblem], none_type): [optional] # noqa: E501
154
154
  """
@@ -203,7 +203,7 @@ class ResponseReadAdSetV23Q1(ModelNormal):
203
203
 
204
204
  @convert_js_args_to_python_args
205
205
  def __init__(self, *args, **kwargs): # noqa: E501
206
- """ResponseReadAdSetV23Q1 - a model defined in OpenAPI
206
+ """ResponseReadAdSetV24Q1 - a model defined in OpenAPI
207
207
 
208
208
  Keyword Args:
209
209
  _check_type (bool): if True, values for parameters in openapi_types
@@ -236,7 +236,7 @@ class ResponseReadAdSetV23Q1(ModelNormal):
236
236
  Animal class but this time we won't travel
237
237
  through its discriminator because we passed in
238
238
  _visited_composed_classes = (Animal,)
239
- data (ReadModelReadAdSetV23Q1): [optional] # noqa: E501
239
+ data (ReadModelReadAdSetV24Q1): [optional] # noqa: E501
240
240
  warnings ([CommonProblem], none_type): [optional] # noqa: E501
241
241
  errors ([CommonProblem], none_type): [optional] # noqa: E501
242
242
  """
@@ -31,12 +31,12 @@ from criteo_api_marketingsolutions_preview.exceptions import ApiAttributeError
31
31
 
32
32
  def lazy_import():
33
33
  from criteo_api_marketingsolutions_preview.model.common_problem import CommonProblem
34
- from criteo_api_marketingsolutions_preview.model.read_model_read_ad_set import ReadModelReadAdSet
34
+ from criteo_api_marketingsolutions_preview.model.read_model_ad_set_id_v24_q1 import ReadModelAdSetIdV24Q1
35
35
  globals()['CommonProblem'] = CommonProblem
36
- globals()['ReadModelReadAdSet'] = ReadModelReadAdSet
36
+ globals()['ReadModelAdSetIdV24Q1'] = ReadModelAdSetIdV24Q1
37
37
 
38
38
 
39
- class ResponseReadAdSet(ModelNormal):
39
+ class ResponsesAdSetIdV24Q1(ModelNormal):
40
40
  """NOTE: This class is auto generated by OpenAPI Generator.
41
41
  Ref: https://openapi-generator.tech
42
42
 
@@ -89,7 +89,7 @@ class ResponseReadAdSet(ModelNormal):
89
89
  """
90
90
  lazy_import()
91
91
  return {
92
- 'data': (ReadModelReadAdSet,), # noqa: E501
92
+ 'data': ([ReadModelAdSetIdV24Q1], none_type,), # noqa: E501
93
93
  'warnings': ([CommonProblem], none_type,), # noqa: E501
94
94
  'errors': ([CommonProblem], none_type,), # noqa: E501
95
95
  }
@@ -106,6 +106,7 @@ class ResponseReadAdSet(ModelNormal):
106
106
  }
107
107
 
108
108
  read_only_vars = {
109
+ 'data', # noqa: E501
109
110
  'warnings', # noqa: E501
110
111
  'errors', # noqa: E501
111
112
  }
@@ -115,7 +116,7 @@ class ResponseReadAdSet(ModelNormal):
115
116
  @classmethod
116
117
  @convert_js_args_to_python_args
117
118
  def _from_openapi_data(cls, *args, **kwargs): # noqa: E501
118
- """ResponseReadAdSet - a model defined in OpenAPI
119
+ """ResponsesAdSetIdV24Q1 - a model defined in OpenAPI
119
120
 
120
121
  Keyword Args:
121
122
  _check_type (bool): if True, values for parameters in openapi_types
@@ -148,7 +149,7 @@ class ResponseReadAdSet(ModelNormal):
148
149
  Animal class but this time we won't travel
149
150
  through its discriminator because we passed in
150
151
  _visited_composed_classes = (Animal,)
151
- data (ReadModelReadAdSet): [optional] # noqa: E501
152
+ data ([ReadModelAdSetIdV24Q1], none_type): [optional] # noqa: E501
152
153
  warnings ([CommonProblem], none_type): [optional] # noqa: E501
153
154
  errors ([CommonProblem], none_type): [optional] # noqa: E501
154
155
  """
@@ -203,7 +204,7 @@ class ResponseReadAdSet(ModelNormal):
203
204
 
204
205
  @convert_js_args_to_python_args
205
206
  def __init__(self, *args, **kwargs): # noqa: E501
206
- """ResponseReadAdSet - a model defined in OpenAPI
207
+ """ResponsesAdSetIdV24Q1 - a model defined in OpenAPI
207
208
 
208
209
  Keyword Args:
209
210
  _check_type (bool): if True, values for parameters in openapi_types
@@ -236,7 +237,7 @@ class ResponseReadAdSet(ModelNormal):
236
237
  Animal class but this time we won't travel
237
238
  through its discriminator because we passed in
238
239
  _visited_composed_classes = (Animal,)
239
- data (ReadModelReadAdSet): [optional] # noqa: E501
240
+ data ([ReadModelAdSetIdV24Q1], none_type): [optional] # noqa: E501
240
241
  warnings ([CommonProblem], none_type): [optional] # noqa: E501
241
242
  errors ([CommonProblem], none_type): [optional] # noqa: E501
242
243
  """
@@ -31,12 +31,12 @@ from criteo_api_marketingsolutions_preview.exceptions import ApiAttributeError
31
31
 
32
32
  def lazy_import():
33
33
  from criteo_api_marketingsolutions_preview.model.common_problem import CommonProblem
34
- from criteo_api_marketingsolutions_preview.model.read_model_read_ad_set_v23_q1 import ReadModelReadAdSetV23Q1
34
+ from criteo_api_marketingsolutions_preview.model.read_model_read_ad_set_v24_q1 import ReadModelReadAdSetV24Q1
35
35
  globals()['CommonProblem'] = CommonProblem
36
- globals()['ReadModelReadAdSetV23Q1'] = ReadModelReadAdSetV23Q1
36
+ globals()['ReadModelReadAdSetV24Q1'] = ReadModelReadAdSetV24Q1
37
37
 
38
38
 
39
- class ResponsesReadAdSetV23Q1(ModelNormal):
39
+ class ResponsesReadAdSetV24Q1(ModelNormal):
40
40
  """NOTE: This class is auto generated by OpenAPI Generator.
41
41
  Ref: https://openapi-generator.tech
42
42
 
@@ -89,7 +89,7 @@ class ResponsesReadAdSetV23Q1(ModelNormal):
89
89
  """
90
90
  lazy_import()
91
91
  return {
92
- 'data': ([ReadModelReadAdSetV23Q1], none_type,), # noqa: E501
92
+ 'data': ([ReadModelReadAdSetV24Q1], none_type,), # noqa: E501
93
93
  'warnings': ([CommonProblem], none_type,), # noqa: E501
94
94
  'errors': ([CommonProblem], none_type,), # noqa: E501
95
95
  }
@@ -116,7 +116,7 @@ class ResponsesReadAdSetV23Q1(ModelNormal):
116
116
  @classmethod
117
117
  @convert_js_args_to_python_args
118
118
  def _from_openapi_data(cls, *args, **kwargs): # noqa: E501
119
- """ResponsesReadAdSetV23Q1 - a model defined in OpenAPI
119
+ """ResponsesReadAdSetV24Q1 - a model defined in OpenAPI
120
120
 
121
121
  Keyword Args:
122
122
  _check_type (bool): if True, values for parameters in openapi_types
@@ -149,7 +149,7 @@ class ResponsesReadAdSetV23Q1(ModelNormal):
149
149
  Animal class but this time we won't travel
150
150
  through its discriminator because we passed in
151
151
  _visited_composed_classes = (Animal,)
152
- data ([ReadModelReadAdSetV23Q1], none_type): [optional] # noqa: E501
152
+ data ([ReadModelReadAdSetV24Q1], none_type): [optional] # noqa: E501
153
153
  warnings ([CommonProblem], none_type): [optional] # noqa: E501
154
154
  errors ([CommonProblem], none_type): [optional] # noqa: E501
155
155
  """
@@ -204,7 +204,7 @@ class ResponsesReadAdSetV23Q1(ModelNormal):
204
204
 
205
205
  @convert_js_args_to_python_args
206
206
  def __init__(self, *args, **kwargs): # noqa: E501
207
- """ResponsesReadAdSetV23Q1 - a model defined in OpenAPI
207
+ """ResponsesReadAdSetV24Q1 - a model defined in OpenAPI
208
208
 
209
209
  Keyword Args:
210
210
  _check_type (bool): if True, values for parameters in openapi_types
@@ -237,7 +237,7 @@ class ResponsesReadAdSetV23Q1(ModelNormal):
237
237
  Animal class but this time we won't travel
238
238
  through its discriminator because we passed in
239
239
  _visited_composed_classes = (Animal,)
240
- data ([ReadModelReadAdSetV23Q1], none_type): [optional] # noqa: E501
240
+ data ([ReadModelReadAdSetV24Q1], none_type): [optional] # noqa: E501
241
241
  warnings ([CommonProblem], none_type): [optional] # noqa: E501
242
242
  errors ([CommonProblem], none_type): [optional] # noqa: E501
243
243
  """
@@ -30,11 +30,11 @@ from criteo_api_marketingsolutions_preview.exceptions import ApiAttributeError
30
30
 
31
31
 
32
32
  def lazy_import():
33
- from criteo_api_marketingsolutions_preview.model.patch_ad_set import PatchAdSet
34
- globals()['PatchAdSet'] = PatchAdSet
33
+ from criteo_api_marketingsolutions_preview.model.patch_ad_set_v24_q1 import PatchAdSetV24Q1
34
+ globals()['PatchAdSetV24Q1'] = PatchAdSetV24Q1
35
35
 
36
36
 
37
- class WriteModelPatchAdSet(ModelNormal):
37
+ class WriteModelPatchAdSetV24Q1(ModelNormal):
38
38
  """NOTE: This class is auto generated by OpenAPI Generator.
39
39
  Ref: https://openapi-generator.tech
40
40
 
@@ -89,7 +89,7 @@ class WriteModelPatchAdSet(ModelNormal):
89
89
  return {
90
90
  'id': (str, none_type,), # noqa: E501
91
91
  'type': (str, none_type,), # noqa: E501
92
- 'attributes': (PatchAdSet,), # noqa: E501
92
+ 'attributes': (PatchAdSetV24Q1,), # noqa: E501
93
93
  }
94
94
 
95
95
  @cached_property
@@ -111,7 +111,7 @@ class WriteModelPatchAdSet(ModelNormal):
111
111
  @classmethod
112
112
  @convert_js_args_to_python_args
113
113
  def _from_openapi_data(cls, *args, **kwargs): # noqa: E501
114
- """WriteModelPatchAdSet - a model defined in OpenAPI
114
+ """WriteModelPatchAdSetV24Q1 - a model defined in OpenAPI
115
115
 
116
116
  Keyword Args:
117
117
  _check_type (bool): if True, values for parameters in openapi_types
@@ -146,7 +146,7 @@ class WriteModelPatchAdSet(ModelNormal):
146
146
  _visited_composed_classes = (Animal,)
147
147
  id (str, none_type): Id of the entity. [optional] # noqa: E501
148
148
  type (str, none_type): Canonical type name of the entity. [optional] # noqa: E501
149
- attributes (PatchAdSet): [optional] # noqa: E501
149
+ attributes (PatchAdSetV24Q1): [optional] # noqa: E501
150
150
  """
151
151
 
152
152
  _check_type = kwargs.pop('_check_type', True)
@@ -199,7 +199,7 @@ class WriteModelPatchAdSet(ModelNormal):
199
199
 
200
200
  @convert_js_args_to_python_args
201
201
  def __init__(self, *args, **kwargs): # noqa: E501
202
- """WriteModelPatchAdSet - a model defined in OpenAPI
202
+ """WriteModelPatchAdSetV24Q1 - a model defined in OpenAPI
203
203
 
204
204
  Keyword Args:
205
205
  _check_type (bool): if True, values for parameters in openapi_types
@@ -234,7 +234,7 @@ class WriteModelPatchAdSet(ModelNormal):
234
234
  _visited_composed_classes = (Animal,)
235
235
  id (str, none_type): Id of the entity. [optional] # noqa: E501
236
236
  type (str, none_type): Canonical type name of the entity. [optional] # noqa: E501
237
- attributes (PatchAdSet): [optional] # noqa: E501
237
+ attributes (PatchAdSetV24Q1): [optional] # noqa: E501
238
238
  """
239
239
 
240
240
  _check_type = kwargs.pop('_check_type', True)