criteo-api-retailmedia-sdk 2024.7.0.250327__py3-none-any.whl → 2024.7.0.250409__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-retailmedia-sdk might be problematic. Click here for more details.

Files changed (151) hide show
  1. {criteo_api_retailmedia_sdk-2024.7.0.250327.dist-info → criteo_api_retailmedia_sdk-2024.7.0.250409.dist-info}/METADATA +3 -3
  2. {criteo_api_retailmedia_sdk-2024.7.0.250327.dist-info → criteo_api_retailmedia_sdk-2024.7.0.250409.dist-info}/RECORD +151 -151
  3. criteo_api_retailmedia_v2024_07/__init__.py +1 -1
  4. criteo_api_retailmedia_v2024_07/api/analytics_api.py +2 -2
  5. criteo_api_retailmedia_v2024_07/api/audience_api.py +12 -12
  6. criteo_api_retailmedia_v2024_07/api/balance_api.py +12 -12
  7. criteo_api_retailmedia_v2024_07/api/campaign_api.py +30 -30
  8. criteo_api_retailmedia_v2024_07/api_client.py +1 -1
  9. criteo_api_retailmedia_v2024_07/configuration.py +1 -1
  10. criteo_api_retailmedia_v2024_07/model/add_funds_to_balance_v2.py +4 -4
  11. criteo_api_retailmedia_v2024_07/model/add_remove_keyword_model.py +8 -8
  12. criteo_api_retailmedia_v2024_07/model/add_remove_keywords_model_resource.py +4 -4
  13. criteo_api_retailmedia_v2024_07/model/add_to_basket_target202110_response.py +5 -5
  14. criteo_api_retailmedia_v2024_07/model/application_summary_model.py +8 -8
  15. criteo_api_retailmedia_v2024_07/model/application_summary_model_resource.py +4 -4
  16. criteo_api_retailmedia_v2024_07/model/application_summary_model_response.py +5 -5
  17. criteo_api_retailmedia_v2024_07/model/asset_response.py +7 -7
  18. criteo_api_retailmedia_v2024_07/model/async_campaigns_report.py +79 -79
  19. criteo_api_retailmedia_v2024_07/model/async_campaigns_report_resource.py +4 -4
  20. criteo_api_retailmedia_v2024_07/model/async_line_items_report.py +79 -79
  21. criteo_api_retailmedia_v2024_07/model/async_line_items_report_resource.py +4 -4
  22. criteo_api_retailmedia_v2024_07/model/async_report_response.py +5 -5
  23. criteo_api_retailmedia_v2024_07/model/async_revenue_report.py +104 -104
  24. criteo_api_retailmedia_v2024_07/model/async_revenue_report_resource.py +4 -4
  25. criteo_api_retailmedia_v2024_07/model/auction_line_item_paged_list_response.py +9 -9
  26. criteo_api_retailmedia_v2024_07/model/auction_line_item_response.py +5 -5
  27. criteo_api_retailmedia_v2024_07/model/audience_target202110_response.py +5 -5
  28. criteo_api_retailmedia_v2024_07/model/balance_campaign202110_paged_list_response.py +9 -9
  29. criteo_api_retailmedia_v2024_07/model/balance_history_change_data_capture_v1.py +14 -14
  30. criteo_api_retailmedia_v2024_07/model/balance_response_v2.py +45 -45
  31. criteo_api_retailmedia_v2024_07/model/balance_response_v2_response.py +5 -5
  32. criteo_api_retailmedia_v2024_07/model/campaign_attributes_v202301.py +57 -57
  33. criteo_api_retailmedia_v2024_07/model/campaign_budget_overrides.py +8 -8
  34. criteo_api_retailmedia_v2024_07/model/campaign_v202301.py +82 -82
  35. criteo_api_retailmedia_v2024_07/model/category202204.py +8 -8
  36. criteo_api_retailmedia_v2024_07/model/category202204_list_response.py +5 -5
  37. criteo_api_retailmedia_v2024_07/model/change_dates_of_balance_v2.py +4 -4
  38. criteo_api_retailmedia_v2024_07/model/change_details_v1.py +8 -8
  39. criteo_api_retailmedia_v2024_07/model/common_error.py +16 -16
  40. criteo_api_retailmedia_v2024_07/model/common_line_item_paged_list_response.py +9 -9
  41. criteo_api_retailmedia_v2024_07/model/common_line_item_response.py +5 -5
  42. criteo_api_retailmedia_v2024_07/model/common_problem.py +20 -20
  43. criteo_api_retailmedia_v2024_07/model/common_warning.py +16 -16
  44. criteo_api_retailmedia_v2024_07/model/create_balance_v2.py +12 -12
  45. criteo_api_retailmedia_v2024_07/model/creative202110.py +16 -12
  46. criteo_api_retailmedia_v2024_07/model/creative202110_list_response.py +5 -5
  47. criteo_api_retailmedia_v2024_07/model/creative202210.py +40 -36
  48. criteo_api_retailmedia_v2024_07/model/creative202210_list_response.py +5 -5
  49. criteo_api_retailmedia_v2024_07/model/creative202210_response.py +5 -5
  50. criteo_api_retailmedia_v2024_07/model/daily_line_item_budget_override.py +4 -4
  51. criteo_api_retailmedia_v2024_07/model/editable_campaign_attributes_v202301.py +32 -32
  52. criteo_api_retailmedia_v2024_07/model/entity_resource_of_retail_media_account.py +4 -4
  53. criteo_api_retailmedia_v2024_07/model/entity_resource_outcome_of_retail_media_account.py +5 -5
  54. criteo_api_retailmedia_v2024_07/model/external_account.py +18 -18
  55. criteo_api_retailmedia_v2024_07/model/external_add_to_basket_ids_update_model202110.py +4 -4
  56. criteo_api_retailmedia_v2024_07/model/external_add_to_basket_target202110.py +4 -4
  57. criteo_api_retailmedia_v2024_07/model/external_auction_line_item.py +44 -44
  58. criteo_api_retailmedia_v2024_07/model/external_auction_line_item_create_model.py +30 -30
  59. criteo_api_retailmedia_v2024_07/model/external_auction_line_item_update_model.py +20 -20
  60. criteo_api_retailmedia_v2024_07/model/external_audience_target202110.py +8 -8
  61. criteo_api_retailmedia_v2024_07/model/external_catalog_request.py +4 -4
  62. criteo_api_retailmedia_v2024_07/model/external_catalog_status.py +20 -20
  63. criteo_api_retailmedia_v2024_07/model/external_common_line_item.py +34 -34
  64. criteo_api_retailmedia_v2024_07/model/external_line_item_capping202110.py +8 -8
  65. criteo_api_retailmedia_v2024_07/model/external_line_item_page202110.py +3 -3
  66. criteo_api_retailmedia_v2024_07/model/external_preferred_line_item202110.py +55 -51
  67. criteo_api_retailmedia_v2024_07/model/external_preferred_line_item_create_model202110.py +24 -24
  68. criteo_api_retailmedia_v2024_07/model/external_preferred_line_item_update_model202110.py +20 -20
  69. criteo_api_retailmedia_v2024_07/model/external_retail_media_account.py +22 -22
  70. criteo_api_retailmedia_v2024_07/model/external_retail_media_brand_account_creation.py +8 -8
  71. criteo_api_retailmedia_v2024_07/model/external_retail_media_seller.py +8 -8
  72. criteo_api_retailmedia_v2024_07/model/external_retail_media_seller_account_creation.py +4 -4
  73. criteo_api_retailmedia_v2024_07/model/files_variables_specification.py +4 -4
  74. criteo_api_retailmedia_v2024_07/model/input_resource_of_auction_line_item_create_model.py +4 -4
  75. criteo_api_retailmedia_v2024_07/model/input_resource_of_preferred_line_item_create_model202110.py +4 -4
  76. criteo_api_retailmedia_v2024_07/model/json_api_page_response_of_account.py +8 -8
  77. criteo_api_retailmedia_v2024_07/model/json_api_page_response_of_brand.py +8 -8
  78. criteo_api_retailmedia_v2024_07/model/json_api_page_response_of_campaign_v202301.py +8 -8
  79. criteo_api_retailmedia_v2024_07/model/json_api_page_response_of_retailer.py +8 -8
  80. criteo_api_retailmedia_v2024_07/model/keyword_data_model.py +12 -12
  81. criteo_api_retailmedia_v2024_07/model/keyword_target202110_response.py +5 -5
  82. criteo_api_retailmedia_v2024_07/model/keywords_model_resource.py +4 -4
  83. criteo_api_retailmedia_v2024_07/model/keywords_model_response.py +4 -4
  84. criteo_api_retailmedia_v2024_07/model/line_item_bid_multipliers.py +20 -20
  85. criteo_api_retailmedia_v2024_07/model/line_item_bid_multipliers_response.py +5 -5
  86. criteo_api_retailmedia_v2024_07/model/line_item_budget_overrides.py +8 -8
  87. criteo_api_retailmedia_v2024_07/model/metadata.py +8 -8
  88. criteo_api_retailmedia_v2024_07/model/page_metadata.py +16 -16
  89. criteo_api_retailmedia_v2024_07/model/page_of_balance_history_change_data_capture_v1.py +8 -8
  90. criteo_api_retailmedia_v2024_07/model/page_type_environment202210.py +14 -14
  91. criteo_api_retailmedia_v2024_07/model/paged_resource_collection_outcome_of_balance_response_v2.py +9 -9
  92. criteo_api_retailmedia_v2024_07/model/preferred_line_item202110_paged_list_response.py +9 -9
  93. criteo_api_retailmedia_v2024_07/model/preferred_line_item202110_response.py +5 -5
  94. criteo_api_retailmedia_v2024_07/model/problem_details.py +20 -20
  95. criteo_api_retailmedia_v2024_07/model/product_metadata.py +8 -8
  96. criteo_api_retailmedia_v2024_07/model/promoted_product.py +4 -4
  97. criteo_api_retailmedia_v2024_07/model/promoted_product_resource.py +4 -4
  98. criteo_api_retailmedia_v2024_07/model/promoted_product_resource_collection_outcome.py +8 -8
  99. criteo_api_retailmedia_v2024_07/model/report_outcome.py +5 -5
  100. criteo_api_retailmedia_v2024_07/model/resource_of_auction_line_item.py +4 -4
  101. criteo_api_retailmedia_v2024_07/model/resource_of_auction_line_item_update_model.py +4 -4
  102. criteo_api_retailmedia_v2024_07/model/resource_of_balance_campaign202110.py +4 -4
  103. criteo_api_retailmedia_v2024_07/model/resource_of_common_line_item.py +4 -4
  104. criteo_api_retailmedia_v2024_07/model/resource_of_preferred_line_item202110.py +4 -4
  105. criteo_api_retailmedia_v2024_07/model/resource_of_preferred_line_item_update_model202110.py +4 -4
  106. criteo_api_retailmedia_v2024_07/model/rm_legacy_audience_create_entity_v1.py +19 -19
  107. criteo_api_retailmedia_v2024_07/model/rm_legacy_audience_create_entity_v1_response.py +5 -5
  108. criteo_api_retailmedia_v2024_07/model/rm_legacy_audience_create_entity_v2.py +8 -8
  109. criteo_api_retailmedia_v2024_07/model/rm_legacy_audience_create_entity_v2_response.py +5 -5
  110. criteo_api_retailmedia_v2024_07/model/rm_legacy_audience_get_entity_v1.py +4 -4
  111. criteo_api_retailmedia_v2024_07/model/rm_legacy_audience_get_entity_v1_list_response.py +5 -5
  112. criteo_api_retailmedia_v2024_07/model/rm_legacy_audience_get_entity_v1_resource.py +4 -4
  113. criteo_api_retailmedia_v2024_07/model/rm_legacy_audience_get_entity_v2.py +12 -12
  114. criteo_api_retailmedia_v2024_07/model/rm_legacy_audience_get_entity_v2_list_response.py +5 -5
  115. criteo_api_retailmedia_v2024_07/model/rm_legacy_segment_customer_list.py +8 -8
  116. criteo_api_retailmedia_v2024_07/model/rm_legacy_segment_user_behavior_create_v2.py +19 -19
  117. criteo_api_retailmedia_v2024_07/model/rm_legacy_segment_user_behavior_v1.py +17 -17
  118. criteo_api_retailmedia_v2024_07/model/rm_legacy_segment_user_behavior_v2.py +23 -23
  119. criteo_api_retailmedia_v2024_07/model/rmca_common_problem.py +16 -16
  120. criteo_api_retailmedia_v2024_07/model/sdk_api_rest_common_problem.py +16 -16
  121. criteo_api_retailmedia_v2024_07/model/section.py +4 -4
  122. criteo_api_retailmedia_v2024_07/model/set_bid_model.py +4 -4
  123. criteo_api_retailmedia_v2024_07/model/set_bids_model_resource.py +4 -4
  124. criteo_api_retailmedia_v2024_07/model/status_response.py +20 -20
  125. criteo_api_retailmedia_v2024_07/model/store_target202110_response.py +5 -5
  126. criteo_api_retailmedia_v2024_07/model/template.py +24 -24
  127. criteo_api_retailmedia_v2024_07/model/template_list_response.py +5 -5
  128. criteo_api_retailmedia_v2024_07/model/template_response.py +5 -5
  129. criteo_api_retailmedia_v2024_07/model/template_variable.py +4 -4
  130. criteo_api_retailmedia_v2024_07/model/template_variable_value.py +4 -4
  131. criteo_api_retailmedia_v2024_07/model/update_balance_model_v2.py +8 -8
  132. criteo_api_retailmedia_v2024_07/model/value_resource_collection_outcome_of_retail_media_seller.py +5 -5
  133. criteo_api_retailmedia_v2024_07/model/value_resource_of_campaign_budget_overrides.py +4 -4
  134. criteo_api_retailmedia_v2024_07/model/value_resource_of_line_item_budget_overrides.py +4 -4
  135. criteo_api_retailmedia_v2024_07/model/value_resource_of_retail_media_brand_account_creation.py +4 -4
  136. criteo_api_retailmedia_v2024_07/model/value_resource_of_retail_media_brands.py +4 -4
  137. criteo_api_retailmedia_v2024_07/model/value_resource_of_retail_media_seller.py +4 -4
  138. criteo_api_retailmedia_v2024_07/model/value_resource_of_retail_media_seller_account_creation.py +4 -4
  139. criteo_api_retailmedia_v2024_07/model/value_resource_outcome_of_campaign_budget_overrides.py +5 -5
  140. criteo_api_retailmedia_v2024_07/model/value_resource_outcome_of_line_item_budget_overrides.py +5 -5
  141. criteo_api_retailmedia_v2024_07/model/value_resource_outcome_of_retail_media_brands.py +5 -5
  142. criteo_api_retailmedia_v2024_07/model/value_type_resource_of_add_to_basket_ids_update_model202110.py +4 -4
  143. criteo_api_retailmedia_v2024_07/model/value_type_resource_of_add_to_basket_target202110.py +4 -4
  144. criteo_api_retailmedia_v2024_07/model/value_type_resource_of_audience_ids_update_model202110.py +4 -4
  145. criteo_api_retailmedia_v2024_07/model/value_type_resource_of_audience_target202110.py +4 -4
  146. criteo_api_retailmedia_v2024_07/model/value_type_resource_of_keyword_target202110.py +4 -4
  147. criteo_api_retailmedia_v2024_07/model/value_type_resource_of_store_ids_update_model202110.py +4 -4
  148. criteo_api_retailmedia_v2024_07/model/value_type_resource_of_store_target202110.py +4 -4
  149. criteo_api_retailmedia_v2024_07/model/video_variable_value.py +16 -16
  150. {criteo_api_retailmedia_sdk-2024.7.0.250327.dist-info → criteo_api_retailmedia_sdk-2024.7.0.250409.dist-info}/WHEEL +0 -0
  151. {criteo_api_retailmedia_sdk-2024.7.0.250327.dist-info → criteo_api_retailmedia_sdk-2024.7.0.250409.dist-info}/top_level.txt +0 -0
@@ -101,18 +101,18 @@ class ExternalCommonLineItem(ModelNormal):
101
101
  and the value is attribute type.
102
102
  """
103
103
  return {
104
+ 'budget_remaining': (float, none_type,), # noqa: E501
105
+ 'campaign_id': (str,), # noqa: E501
106
+ 'created_at': (datetime,), # noqa: E501
104
107
  'name': (str,), # noqa: E501
105
- 'type': (str,), # noqa: E501
106
108
  'start_date': (date,), # noqa: E501
107
109
  'target_retailer_id': (str,), # noqa: E501
108
- 'campaign_id': (str,), # noqa: E501
109
- 'budget_remaining': (float, none_type,), # noqa: E501
110
- 'created_at': (datetime,), # noqa: E501
110
+ 'type': (str,), # noqa: E501
111
111
  'updated_at': (datetime,), # noqa: E501
112
- 'end_date': (date, none_type,), # noqa: E501
113
- 'status': (str,), # noqa: E501
114
112
  'budget': (float, none_type,), # noqa: E501
115
113
  'budget_spent': (float,), # noqa: E501
114
+ 'end_date': (date, none_type,), # noqa: E501
115
+ 'status': (str,), # noqa: E501
116
116
  }
117
117
 
118
118
  @cached_property
@@ -121,18 +121,18 @@ class ExternalCommonLineItem(ModelNormal):
121
121
 
122
122
 
123
123
  attribute_map = {
124
+ 'budget_remaining': 'budgetRemaining', # noqa: E501
125
+ 'campaign_id': 'campaignId', # noqa: E501
126
+ 'created_at': 'createdAt', # noqa: E501
124
127
  'name': 'name', # noqa: E501
125
- 'type': 'type', # noqa: E501
126
128
  'start_date': 'startDate', # noqa: E501
127
129
  'target_retailer_id': 'targetRetailerId', # noqa: E501
128
- 'campaign_id': 'campaignId', # noqa: E501
129
- 'budget_remaining': 'budgetRemaining', # noqa: E501
130
- 'created_at': 'createdAt', # noqa: E501
130
+ 'type': 'type', # noqa: E501
131
131
  'updated_at': 'updatedAt', # noqa: E501
132
- 'end_date': 'endDate', # noqa: E501
133
- 'status': 'status', # noqa: E501
134
132
  'budget': 'budget', # noqa: E501
135
133
  'budget_spent': 'budgetSpent', # noqa: E501
134
+ 'end_date': 'endDate', # noqa: E501
135
+ 'status': 'status', # noqa: E501
136
136
  }
137
137
 
138
138
  read_only_vars = {
@@ -142,17 +142,17 @@ class ExternalCommonLineItem(ModelNormal):
142
142
 
143
143
  @classmethod
144
144
  @convert_js_args_to_python_args
145
- def _from_openapi_data(cls, name, type, start_date, target_retailer_id, campaign_id, budget_remaining, created_at, updated_at, *args, **kwargs): # noqa: E501
145
+ def _from_openapi_data(cls, budget_remaining, campaign_id, created_at, name, start_date, target_retailer_id, type, updated_at, *args, **kwargs): # noqa: E501
146
146
  """ExternalCommonLineItem - a model defined in OpenAPI
147
147
 
148
148
  Args:
149
+ budget_remaining (float, none_type):
150
+ campaign_id (str):
151
+ created_at (datetime):
149
152
  name (str):
150
- type (str):
151
153
  start_date (date): Represents the Date as a year, month, and day in the format YYYY-MM-DD
152
154
  target_retailer_id (str):
153
- campaign_id (str):
154
- budget_remaining (float, none_type):
155
- created_at (datetime):
155
+ type (str):
156
156
  updated_at (datetime):
157
157
 
158
158
  Keyword Args:
@@ -186,10 +186,10 @@ class ExternalCommonLineItem(ModelNormal):
186
186
  Animal class but this time we won't travel
187
187
  through its discriminator because we passed in
188
188
  _visited_composed_classes = (Animal,)
189
- end_date (date, none_type): Represents the Date as a year, month, and day in the format YYYY-MM-DD. [optional] # noqa: E501
190
- status (str): [optional] # noqa: E501
191
189
  budget (float, none_type): [optional] # noqa: E501
192
190
  budget_spent (float): [optional] # noqa: E501
191
+ end_date (date, none_type): Represents the Date as a year, month, and day in the format YYYY-MM-DD. [optional] # noqa: E501
192
+ status (str): [optional] # noqa: E501
193
193
  """
194
194
 
195
195
  _check_type = kwargs.pop('_check_type', True)
@@ -221,13 +221,13 @@ class ExternalCommonLineItem(ModelNormal):
221
221
  self._configuration = _configuration
222
222
  self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
223
223
 
224
+ self.budget_remaining = budget_remaining
225
+ self.campaign_id = campaign_id
226
+ self.created_at = created_at
224
227
  self.name = name
225
- self.type = type
226
228
  self.start_date = start_date
227
229
  self.target_retailer_id = target_retailer_id
228
- self.campaign_id = campaign_id
229
- self.budget_remaining = budget_remaining
230
- self.created_at = created_at
230
+ self.type = type
231
231
  self.updated_at = updated_at
232
232
  for var_name, var_value in kwargs.items():
233
233
  if var_name not in self.attribute_map and \
@@ -249,17 +249,17 @@ class ExternalCommonLineItem(ModelNormal):
249
249
  ])
250
250
 
251
251
  @convert_js_args_to_python_args
252
- def __init__(self, name, type, start_date, target_retailer_id, campaign_id, budget_remaining, created_at, updated_at, *args, **kwargs): # noqa: E501
252
+ def __init__(self, budget_remaining, campaign_id, created_at, name, start_date, target_retailer_id, type, updated_at, *args, **kwargs): # noqa: E501
253
253
  """ExternalCommonLineItem - a model defined in OpenAPI
254
254
 
255
255
  Args:
256
+ budget_remaining (float, none_type):
257
+ campaign_id (str):
258
+ created_at (datetime):
256
259
  name (str):
257
- type (str):
258
260
  start_date (date): Represents the Date as a year, month, and day in the format YYYY-MM-DD
259
261
  target_retailer_id (str):
260
- campaign_id (str):
261
- budget_remaining (float, none_type):
262
- created_at (datetime):
262
+ type (str):
263
263
  updated_at (datetime):
264
264
 
265
265
  Keyword Args:
@@ -293,10 +293,10 @@ class ExternalCommonLineItem(ModelNormal):
293
293
  Animal class but this time we won't travel
294
294
  through its discriminator because we passed in
295
295
  _visited_composed_classes = (Animal,)
296
- end_date (date, none_type): Represents the Date as a year, month, and day in the format YYYY-MM-DD. [optional] # noqa: E501
297
- status (str): [optional] # noqa: E501
298
296
  budget (float, none_type): [optional] # noqa: E501
299
297
  budget_spent (float): [optional] # noqa: E501
298
+ end_date (date, none_type): Represents the Date as a year, month, and day in the format YYYY-MM-DD. [optional] # noqa: E501
299
+ status (str): [optional] # noqa: E501
300
300
  """
301
301
 
302
302
  _check_type = kwargs.pop('_check_type', True)
@@ -326,13 +326,13 @@ class ExternalCommonLineItem(ModelNormal):
326
326
  self._configuration = _configuration
327
327
  self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
328
328
 
329
+ self.budget_remaining = budget_remaining
330
+ self.campaign_id = campaign_id
331
+ self.created_at = created_at
329
332
  self.name = name
330
- self.type = type
331
333
  self.start_date = start_date
332
334
  self.target_retailer_id = target_retailer_id
333
- self.campaign_id = campaign_id
334
- self.budget_remaining = budget_remaining
335
- self.created_at = created_at
335
+ self.type = type
336
336
  self.updated_at = updated_at
337
337
  for var_name, var_value in kwargs.items():
338
338
  if var_name not in self.attribute_map and \
@@ -86,8 +86,8 @@ class ExternalLineItemCapping202110(ModelNormal):
86
86
  and the value is attribute type.
87
87
  """
88
88
  return {
89
- 'type': (str,), # noqa: E501
90
89
  'count': (int,), # noqa: E501
90
+ 'type': (str,), # noqa: E501
91
91
  }
92
92
 
93
93
  @cached_property
@@ -96,8 +96,8 @@ class ExternalLineItemCapping202110(ModelNormal):
96
96
 
97
97
 
98
98
  attribute_map = {
99
- 'type': 'type', # noqa: E501
100
99
  'count': 'count', # noqa: E501
100
+ 'type': 'type', # noqa: E501
101
101
  }
102
102
 
103
103
  read_only_vars = {
@@ -107,12 +107,12 @@ class ExternalLineItemCapping202110(ModelNormal):
107
107
 
108
108
  @classmethod
109
109
  @convert_js_args_to_python_args
110
- def _from_openapi_data(cls, type, count, *args, **kwargs): # noqa: E501
110
+ def _from_openapi_data(cls, count, type, *args, **kwargs): # noqa: E501
111
111
  """ExternalLineItemCapping202110 - a model defined in OpenAPI
112
112
 
113
113
  Args:
114
- type (str):
115
114
  count (int):
115
+ type (str):
116
116
 
117
117
  Keyword Args:
118
118
  _check_type (bool): if True, values for parameters in openapi_types
@@ -176,8 +176,8 @@ class ExternalLineItemCapping202110(ModelNormal):
176
176
  self._configuration = _configuration
177
177
  self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
178
178
 
179
- self.type = type
180
179
  self.count = count
180
+ self.type = type
181
181
  for var_name, var_value in kwargs.items():
182
182
  if var_name not in self.attribute_map and \
183
183
  self._configuration is not None and \
@@ -198,12 +198,12 @@ class ExternalLineItemCapping202110(ModelNormal):
198
198
  ])
199
199
 
200
200
  @convert_js_args_to_python_args
201
- def __init__(self, type, count, *args, **kwargs): # noqa: E501
201
+ def __init__(self, count, type, *args, **kwargs): # noqa: E501
202
202
  """ExternalLineItemCapping202110 - a model defined in OpenAPI
203
203
 
204
204
  Args:
205
- type (str):
206
205
  count (int):
206
+ type (str):
207
207
 
208
208
  Keyword Args:
209
209
  _check_type (bool): if True, values for parameters in openapi_types
@@ -265,8 +265,8 @@ class ExternalLineItemCapping202110(ModelNormal):
265
265
  self._configuration = _configuration
266
266
  self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
267
267
 
268
- self.type = type
269
268
  self.count = count
269
+ self.type = type
270
270
  for var_name, var_value in kwargs.items():
271
271
  if var_name not in self.attribute_map and \
272
272
  self._configuration is not None and \
@@ -98,7 +98,7 @@ class ExternalLineItemPage202110(ModelNormal):
98
98
  lazy_import()
99
99
  return {
100
100
  'page_type': (str,), # noqa: E501
101
- 'categories': ([ExternalLineItemPageCategory202110],), # noqa: E501
101
+ 'categories': ([ExternalLineItemPageCategory202110], none_type,), # noqa: E501
102
102
  'search_keywords': ([str],), # noqa: E501
103
103
  }
104
104
 
@@ -157,7 +157,7 @@ class ExternalLineItemPage202110(ModelNormal):
157
157
  Animal class but this time we won't travel
158
158
  through its discriminator because we passed in
159
159
  _visited_composed_classes = (Animal,)
160
- categories ([ExternalLineItemPageCategory202110]): [optional] # noqa: E501
160
+ categories ([ExternalLineItemPageCategory202110], none_type): [optional] # noqa: E501
161
161
  search_keywords ([str]): [optional] # noqa: E501
162
162
  """
163
163
 
@@ -248,7 +248,7 @@ class ExternalLineItemPage202110(ModelNormal):
248
248
  Animal class but this time we won't travel
249
249
  through its discriminator because we passed in
250
250
  _visited_composed_classes = (Animal,)
251
- categories ([ExternalLineItemPageCategory202110]): [optional] # noqa: E501
251
+ categories ([ExternalLineItemPageCategory202110], none_type): [optional] # noqa: E501
252
252
  search_keywords ([str]): [optional] # noqa: E501
253
253
  """
254
254
 
@@ -61,6 +61,11 @@ class ExternalPreferredLineItem202110(ModelNormal):
61
61
  """
62
62
 
63
63
  allowed_values = {
64
+ ('pacing',): {
65
+ 'UNKNOWN': "unknown",
66
+ 'STANDARD': "standard",
67
+ 'ACCELERATED': "accelerated",
68
+ },
64
69
  ('status',): {
65
70
  'UNKNOWN': "unknown",
66
71
  'ACTIVE': "active",
@@ -72,11 +77,6 @@ class ExternalPreferredLineItem202110(ModelNormal):
72
77
  'ARCHIVED': "archived",
73
78
  'NOFUNDS': "noFunds",
74
79
  },
75
- ('pacing',): {
76
- 'UNKNOWN': "unknown",
77
- 'STANDARD': "standard",
78
- 'ACCELERATED': "accelerated",
79
- },
80
80
  }
81
81
 
82
82
  validations = {
@@ -109,21 +109,22 @@ class ExternalPreferredLineItem202110(ModelNormal):
109
109
  """
110
110
  lazy_import()
111
111
  return {
112
- 'name': (str,), # noqa: E501
113
- 'start_date': (date,), # noqa: E501
112
+ 'budget': (float,), # noqa: E501
113
+ 'campaign_id': (str,), # noqa: E501
114
+ 'created_at': (datetime,), # noqa: E501
114
115
  'end_date': (date,), # noqa: E501
115
- 'status': (str,), # noqa: E501
116
+ 'name': (str,), # noqa: E501
116
117
  'pacing': (str,), # noqa: E501
117
118
  'page': (ExternalLineItemPage202110,), # noqa: E501
119
+ 'start_date': (date,), # noqa: E501
120
+ 'status': (str,), # noqa: E501
118
121
  'target_retailer_id': (str,), # noqa: E501
119
- 'budget': (float,), # noqa: E501
120
- 'campaign_id': (str,), # noqa: E501
121
- 'created_at': (datetime,), # noqa: E501
122
122
  'updated_at': (datetime,), # noqa: E501
123
- 'capping': (ExternalLineItemCapping202110,), # noqa: E501
124
- 'budget_spent': (float,), # noqa: E501
125
123
  'budget_remaining': (float,), # noqa: E501
124
+ 'budget_spent': (float,), # noqa: E501
125
+ 'capping': (ExternalLineItemCapping202110,), # noqa: E501
126
126
  'creative_id': (str, none_type,), # noqa: E501
127
+ 'id': (str, none_type,), # noqa: E501
127
128
  }
128
129
 
129
130
  @cached_property
@@ -132,21 +133,22 @@ class ExternalPreferredLineItem202110(ModelNormal):
132
133
 
133
134
 
134
135
  attribute_map = {
135
- 'name': 'name', # noqa: E501
136
- 'start_date': 'startDate', # noqa: E501
136
+ 'budget': 'budget', # noqa: E501
137
+ 'campaign_id': 'campaignId', # noqa: E501
138
+ 'created_at': 'createdAt', # noqa: E501
137
139
  'end_date': 'endDate', # noqa: E501
138
- 'status': 'status', # noqa: E501
140
+ 'name': 'name', # noqa: E501
139
141
  'pacing': 'pacing', # noqa: E501
140
142
  'page': 'page', # noqa: E501
143
+ 'start_date': 'startDate', # noqa: E501
144
+ 'status': 'status', # noqa: E501
141
145
  'target_retailer_id': 'targetRetailerId', # noqa: E501
142
- 'budget': 'budget', # noqa: E501
143
- 'campaign_id': 'campaignId', # noqa: E501
144
- 'created_at': 'createdAt', # noqa: E501
145
146
  'updated_at': 'updatedAt', # noqa: E501
146
- 'capping': 'capping', # noqa: E501
147
- 'budget_spent': 'budgetSpent', # noqa: E501
148
147
  'budget_remaining': 'budgetRemaining', # noqa: E501
148
+ 'budget_spent': 'budgetSpent', # noqa: E501
149
+ 'capping': 'capping', # noqa: E501
149
150
  'creative_id': 'creativeId', # noqa: E501
151
+ 'id': 'id', # noqa: E501
150
152
  }
151
153
 
152
154
  read_only_vars = {
@@ -156,20 +158,20 @@ class ExternalPreferredLineItem202110(ModelNormal):
156
158
 
157
159
  @classmethod
158
160
  @convert_js_args_to_python_args
159
- def _from_openapi_data(cls, name, start_date, end_date, status, pacing, page, target_retailer_id, budget, campaign_id, created_at, updated_at, *args, **kwargs): # noqa: E501
161
+ def _from_openapi_data(cls, budget, campaign_id, created_at, end_date, name, pacing, page, start_date, status, target_retailer_id, updated_at, *args, **kwargs): # noqa: E501
160
162
  """ExternalPreferredLineItem202110 - a model defined in OpenAPI
161
163
 
162
164
  Args:
163
- name (str):
164
- start_date (date): Represents the Date as a year, month, and day in the format YYYY-MM-DD
165
+ budget (float):
166
+ campaign_id (str):
167
+ created_at (datetime):
165
168
  end_date (date): Represents the Date as a year, month, and day in the format YYYY-MM-DD
166
- status (str):
169
+ name (str):
167
170
  pacing (str):
168
171
  page (ExternalLineItemPage202110):
172
+ start_date (date): Represents the Date as a year, month, and day in the format YYYY-MM-DD
173
+ status (str):
169
174
  target_retailer_id (str):
170
- budget (float):
171
- campaign_id (str):
172
- created_at (datetime):
173
175
  updated_at (datetime):
174
176
 
175
177
  Keyword Args:
@@ -203,10 +205,11 @@ class ExternalPreferredLineItem202110(ModelNormal):
203
205
  Animal class but this time we won't travel
204
206
  through its discriminator because we passed in
205
207
  _visited_composed_classes = (Animal,)
206
- capping (ExternalLineItemCapping202110): [optional] # noqa: E501
207
- budget_spent (float): [optional] # noqa: E501
208
208
  budget_remaining (float): [optional] # noqa: E501
209
+ budget_spent (float): [optional] # noqa: E501
210
+ capping (ExternalLineItemCapping202110): [optional] # noqa: E501
209
211
  creative_id (str, none_type): [optional] # noqa: E501
212
+ id (str, none_type): Id of the entity. [optional] # noqa: E501
210
213
  """
211
214
 
212
215
  _check_type = kwargs.pop('_check_type', True)
@@ -238,16 +241,16 @@ class ExternalPreferredLineItem202110(ModelNormal):
238
241
  self._configuration = _configuration
239
242
  self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
240
243
 
241
- self.name = name
242
- self.start_date = start_date
244
+ self.budget = budget
245
+ self.campaign_id = campaign_id
246
+ self.created_at = created_at
243
247
  self.end_date = end_date
244
- self.status = status
248
+ self.name = name
245
249
  self.pacing = pacing
246
250
  self.page = page
251
+ self.start_date = start_date
252
+ self.status = status
247
253
  self.target_retailer_id = target_retailer_id
248
- self.budget = budget
249
- self.campaign_id = campaign_id
250
- self.created_at = created_at
251
254
  self.updated_at = updated_at
252
255
  for var_name, var_value in kwargs.items():
253
256
  if var_name not in self.attribute_map and \
@@ -269,20 +272,20 @@ class ExternalPreferredLineItem202110(ModelNormal):
269
272
  ])
270
273
 
271
274
  @convert_js_args_to_python_args
272
- def __init__(self, name, start_date, end_date, status, pacing, page, target_retailer_id, budget, campaign_id, created_at, updated_at, *args, **kwargs): # noqa: E501
275
+ def __init__(self, budget, campaign_id, created_at, end_date, name, pacing, page, start_date, status, target_retailer_id, updated_at, *args, **kwargs): # noqa: E501
273
276
  """ExternalPreferredLineItem202110 - a model defined in OpenAPI
274
277
 
275
278
  Args:
276
- name (str):
277
- start_date (date): Represents the Date as a year, month, and day in the format YYYY-MM-DD
279
+ budget (float):
280
+ campaign_id (str):
281
+ created_at (datetime):
278
282
  end_date (date): Represents the Date as a year, month, and day in the format YYYY-MM-DD
279
- status (str):
283
+ name (str):
280
284
  pacing (str):
281
285
  page (ExternalLineItemPage202110):
286
+ start_date (date): Represents the Date as a year, month, and day in the format YYYY-MM-DD
287
+ status (str):
282
288
  target_retailer_id (str):
283
- budget (float):
284
- campaign_id (str):
285
- created_at (datetime):
286
289
  updated_at (datetime):
287
290
 
288
291
  Keyword Args:
@@ -316,10 +319,11 @@ class ExternalPreferredLineItem202110(ModelNormal):
316
319
  Animal class but this time we won't travel
317
320
  through its discriminator because we passed in
318
321
  _visited_composed_classes = (Animal,)
319
- capping (ExternalLineItemCapping202110): [optional] # noqa: E501
320
- budget_spent (float): [optional] # noqa: E501
321
322
  budget_remaining (float): [optional] # noqa: E501
323
+ budget_spent (float): [optional] # noqa: E501
324
+ capping (ExternalLineItemCapping202110): [optional] # noqa: E501
322
325
  creative_id (str, none_type): [optional] # noqa: E501
326
+ id (str, none_type): Id of the entity. [optional] # noqa: E501
323
327
  """
324
328
 
325
329
  _check_type = kwargs.pop('_check_type', True)
@@ -349,16 +353,16 @@ class ExternalPreferredLineItem202110(ModelNormal):
349
353
  self._configuration = _configuration
350
354
  self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
351
355
 
352
- self.name = name
353
- self.start_date = start_date
356
+ self.budget = budget
357
+ self.campaign_id = campaign_id
358
+ self.created_at = created_at
354
359
  self.end_date = end_date
355
- self.status = status
360
+ self.name = name
356
361
  self.pacing = pacing
357
362
  self.page = page
363
+ self.start_date = start_date
364
+ self.status = status
358
365
  self.target_retailer_id = target_retailer_id
359
- self.budget = budget
360
- self.campaign_id = campaign_id
361
- self.created_at = created_at
362
366
  self.updated_at = updated_at
363
367
  for var_name, var_value in kwargs.items():
364
368
  if var_name not in self.attribute_map and \
@@ -109,16 +109,16 @@ class ExternalPreferredLineItemCreateModel202110(ModelNormal):
109
109
  """
110
110
  lazy_import()
111
111
  return {
112
- 'name': (str,), # noqa: E501
113
- 'start_date': (date,), # noqa: E501
112
+ 'budget': (float,), # noqa: E501
114
113
  'end_date': (date,), # noqa: E501
114
+ 'name': (str,), # noqa: E501
115
115
  'pacing': (str,), # noqa: E501
116
116
  'page': (ExternalLineItemPage202110,), # noqa: E501
117
+ 'start_date': (date,), # noqa: E501
117
118
  'target_retailer_id': (str,), # noqa: E501
118
- 'budget': (float,), # noqa: E501
119
- 'status': (str,), # noqa: E501
120
119
  'capping': (ExternalLineItemCapping202110,), # noqa: E501
121
120
  'creative_id': (str, none_type,), # noqa: E501
121
+ 'status': (str,), # noqa: E501
122
122
  }
123
123
 
124
124
  @cached_property
@@ -127,16 +127,16 @@ class ExternalPreferredLineItemCreateModel202110(ModelNormal):
127
127
 
128
128
 
129
129
  attribute_map = {
130
- 'name': 'name', # noqa: E501
131
- 'start_date': 'startDate', # noqa: E501
130
+ 'budget': 'budget', # noqa: E501
132
131
  'end_date': 'endDate', # noqa: E501
132
+ 'name': 'name', # noqa: E501
133
133
  'pacing': 'pacing', # noqa: E501
134
134
  'page': 'page', # noqa: E501
135
+ 'start_date': 'startDate', # noqa: E501
135
136
  'target_retailer_id': 'targetRetailerId', # noqa: E501
136
- 'budget': 'budget', # noqa: E501
137
- 'status': 'status', # noqa: E501
138
137
  'capping': 'capping', # noqa: E501
139
138
  'creative_id': 'creativeId', # noqa: E501
139
+ 'status': 'status', # noqa: E501
140
140
  }
141
141
 
142
142
  read_only_vars = {
@@ -146,17 +146,17 @@ class ExternalPreferredLineItemCreateModel202110(ModelNormal):
146
146
 
147
147
  @classmethod
148
148
  @convert_js_args_to_python_args
149
- def _from_openapi_data(cls, name, start_date, end_date, pacing, page, target_retailer_id, budget, *args, **kwargs): # noqa: E501
149
+ def _from_openapi_data(cls, budget, end_date, name, pacing, page, start_date, target_retailer_id, *args, **kwargs): # noqa: E501
150
150
  """ExternalPreferredLineItemCreateModel202110 - a model defined in OpenAPI
151
151
 
152
152
  Args:
153
- name (str):
154
- start_date (date): Represents the Date as a year, month, and day in the format YYYY-MM-DD
153
+ budget (float):
155
154
  end_date (date): Represents the Date as a year, month, and day in the format YYYY-MM-DD
155
+ name (str):
156
156
  pacing (str):
157
157
  page (ExternalLineItemPage202110):
158
+ start_date (date): Represents the Date as a year, month, and day in the format YYYY-MM-DD
158
159
  target_retailer_id (str):
159
- budget (float):
160
160
 
161
161
  Keyword Args:
162
162
  _check_type (bool): if True, values for parameters in openapi_types
@@ -189,9 +189,9 @@ class ExternalPreferredLineItemCreateModel202110(ModelNormal):
189
189
  Animal class but this time we won't travel
190
190
  through its discriminator because we passed in
191
191
  _visited_composed_classes = (Animal,)
192
- status (str): [optional] # noqa: E501
193
192
  capping (ExternalLineItemCapping202110): [optional] # noqa: E501
194
193
  creative_id (str, none_type): [optional] # noqa: E501
194
+ status (str): [optional] # noqa: E501
195
195
  """
196
196
 
197
197
  _check_type = kwargs.pop('_check_type', True)
@@ -223,13 +223,13 @@ class ExternalPreferredLineItemCreateModel202110(ModelNormal):
223
223
  self._configuration = _configuration
224
224
  self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
225
225
 
226
- self.name = name
227
- self.start_date = start_date
226
+ self.budget = budget
228
227
  self.end_date = end_date
228
+ self.name = name
229
229
  self.pacing = pacing
230
230
  self.page = page
231
+ self.start_date = start_date
231
232
  self.target_retailer_id = target_retailer_id
232
- self.budget = budget
233
233
  for var_name, var_value in kwargs.items():
234
234
  if var_name not in self.attribute_map and \
235
235
  self._configuration is not None and \
@@ -250,17 +250,17 @@ class ExternalPreferredLineItemCreateModel202110(ModelNormal):
250
250
  ])
251
251
 
252
252
  @convert_js_args_to_python_args
253
- def __init__(self, name, start_date, end_date, pacing, page, target_retailer_id, budget, *args, **kwargs): # noqa: E501
253
+ def __init__(self, budget, end_date, name, pacing, page, start_date, target_retailer_id, *args, **kwargs): # noqa: E501
254
254
  """ExternalPreferredLineItemCreateModel202110 - a model defined in OpenAPI
255
255
 
256
256
  Args:
257
- name (str):
258
- start_date (date): Represents the Date as a year, month, and day in the format YYYY-MM-DD
257
+ budget (float):
259
258
  end_date (date): Represents the Date as a year, month, and day in the format YYYY-MM-DD
259
+ name (str):
260
260
  pacing (str):
261
261
  page (ExternalLineItemPage202110):
262
+ start_date (date): Represents the Date as a year, month, and day in the format YYYY-MM-DD
262
263
  target_retailer_id (str):
263
- budget (float):
264
264
 
265
265
  Keyword Args:
266
266
  _check_type (bool): if True, values for parameters in openapi_types
@@ -293,9 +293,9 @@ class ExternalPreferredLineItemCreateModel202110(ModelNormal):
293
293
  Animal class but this time we won't travel
294
294
  through its discriminator because we passed in
295
295
  _visited_composed_classes = (Animal,)
296
- status (str): [optional] # noqa: E501
297
296
  capping (ExternalLineItemCapping202110): [optional] # noqa: E501
298
297
  creative_id (str, none_type): [optional] # noqa: E501
298
+ status (str): [optional] # noqa: E501
299
299
  """
300
300
 
301
301
  _check_type = kwargs.pop('_check_type', True)
@@ -325,13 +325,13 @@ class ExternalPreferredLineItemCreateModel202110(ModelNormal):
325
325
  self._configuration = _configuration
326
326
  self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
327
327
 
328
- self.name = name
329
- self.start_date = start_date
328
+ self.budget = budget
330
329
  self.end_date = end_date
330
+ self.name = name
331
331
  self.pacing = pacing
332
332
  self.page = page
333
+ self.start_date = start_date
333
334
  self.target_retailer_id = target_retailer_id
334
- self.budget = budget
335
335
  for var_name, var_value in kwargs.items():
336
336
  if var_name not in self.attribute_map and \
337
337
  self._configuration is not None and \