criteo-api-retailmedia-sdk 2025.1.0.250317__py3-none-any.whl → 2025.1.0.251112__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (185) hide show
  1. {criteo_api_retailmedia_sdk-2025.1.0.250317.dist-info → criteo_api_retailmedia_sdk-2025.1.0.251112.dist-info}/METADATA +4 -4
  2. {criteo_api_retailmedia_sdk-2025.1.0.250317.dist-info → criteo_api_retailmedia_sdk-2025.1.0.251112.dist-info}/RECORD +184 -183
  3. {criteo_api_retailmedia_sdk-2025.1.0.250317.dist-info → criteo_api_retailmedia_sdk-2025.1.0.251112.dist-info}/WHEEL +1 -1
  4. criteo_api_retailmedia_v2025_01/__init__.py +1 -1
  5. criteo_api_retailmedia_v2025_01/api/accounts_api.py +10 -15
  6. criteo_api_retailmedia_v2025_01/api/analytics_api.py +10 -30
  7. criteo_api_retailmedia_v2025_01/api/audience_api.py +165 -193
  8. criteo_api_retailmedia_v2025_01/api/balance_api.py +261 -265
  9. criteo_api_retailmedia_v2025_01/api/campaign_api.py +1571 -1569
  10. criteo_api_retailmedia_v2025_01/api_client.py +1 -1
  11. criteo_api_retailmedia_v2025_01/configuration.py +1 -1
  12. criteo_api_retailmedia_v2025_01/model/add_funds_to_balance_v2.py +7 -7
  13. criteo_api_retailmedia_v2025_01/model/add_remove_keyword_model.py +8 -8
  14. criteo_api_retailmedia_v2025_01/model/add_remove_keywords_model_resource.py +4 -4
  15. criteo_api_retailmedia_v2025_01/model/{external_add_to_basket_ids_update_model202110.py → add_to_basket_ids_update_model202110.py} +7 -7
  16. criteo_api_retailmedia_v2025_01/model/{external_add_to_basket_target202110.py → add_to_basket_target202110.py} +7 -7
  17. criteo_api_retailmedia_v2025_01/model/add_to_basket_target202110_response.py +10 -10
  18. criteo_api_retailmedia_v2025_01/model/application_summary_model.py +8 -8
  19. criteo_api_retailmedia_v2025_01/model/application_summary_model_resource.py +4 -4
  20. criteo_api_retailmedia_v2025_01/model/application_summary_model_response.py +5 -5
  21. criteo_api_retailmedia_v2025_01/model/asset.py +0 -4
  22. criteo_api_retailmedia_v2025_01/model/asset_response.py +5 -9
  23. criteo_api_retailmedia_v2025_01/model/async_campaigns_report.py +104 -79
  24. criteo_api_retailmedia_v2025_01/model/async_campaigns_report_resource.py +4 -4
  25. criteo_api_retailmedia_v2025_01/model/async_line_items_report.py +104 -79
  26. criteo_api_retailmedia_v2025_01/model/async_line_items_report_resource.py +4 -4
  27. criteo_api_retailmedia_v2025_01/model/async_report_response.py +5 -5
  28. criteo_api_retailmedia_v2025_01/model/async_revenue_report.py +145 -103
  29. criteo_api_retailmedia_v2025_01/model/async_revenue_report_resource.py +4 -4
  30. criteo_api_retailmedia_v2025_01/model/{external_auction_line_item.py → auction_line_item.py} +43 -49
  31. criteo_api_retailmedia_v2025_01/model/{external_auction_line_item_create_model.py → auction_line_item_create_model.py} +33 -33
  32. criteo_api_retailmedia_v2025_01/model/auction_line_item_paged_list_response.py +14 -14
  33. criteo_api_retailmedia_v2025_01/model/auction_line_item_response.py +10 -10
  34. criteo_api_retailmedia_v2025_01/model/{external_auction_line_item_update_model.py → auction_line_item_update_model.py} +26 -26
  35. criteo_api_retailmedia_v2025_01/model/audience_error.py +16 -16
  36. criteo_api_retailmedia_v2025_01/model/{external_audience_ids_update_model202110.py → audience_ids_update_model202110.py} +3 -3
  37. criteo_api_retailmedia_v2025_01/model/{external_audience_target202110.py → audience_target202110.py} +11 -11
  38. criteo_api_retailmedia_v2025_01/model/audience_target202110_response.py +10 -10
  39. criteo_api_retailmedia_v2025_01/model/audience_warning.py +22 -22
  40. criteo_api_retailmedia_v2025_01/model/balance_campaign202110_paged_list_response.py +14 -14
  41. criteo_api_retailmedia_v2025_01/model/balance_history_change_data_capture_v1.py +14 -14
  42. criteo_api_retailmedia_v2025_01/model/balance_response_v2.py +45 -45
  43. criteo_api_retailmedia_v2025_01/model/{paged_resource_collection_outcome_of_balance_response_v2.py → balance_response_v2_paged_list_response.py} +12 -12
  44. criteo_api_retailmedia_v2025_01/model/balance_response_v2_response.py +5 -5
  45. criteo_api_retailmedia_v2025_01/model/campaign_attributes_v202301.py +59 -63
  46. criteo_api_retailmedia_v2025_01/model/campaign_budget_overrides.py +8 -8
  47. criteo_api_retailmedia_v2025_01/model/campaign_v202301.py +84 -94
  48. criteo_api_retailmedia_v2025_01/model/category202204.py +8 -8
  49. criteo_api_retailmedia_v2025_01/model/category202204_list_response.py +5 -5
  50. criteo_api_retailmedia_v2025_01/model/change_dates_of_balance_v2.py +10 -10
  51. criteo_api_retailmedia_v2025_01/model/change_details_v1.py +8 -8
  52. criteo_api_retailmedia_v2025_01/model/common_error.py +18 -18
  53. criteo_api_retailmedia_v2025_01/model/{external_common_line_item.py → common_line_item.py} +37 -39
  54. criteo_api_retailmedia_v2025_01/model/common_line_item_paged_list_response.py +14 -14
  55. criteo_api_retailmedia_v2025_01/model/common_line_item_response.py +10 -10
  56. criteo_api_retailmedia_v2025_01/model/common_problem.py +20 -20
  57. criteo_api_retailmedia_v2025_01/model/common_warning.py +18 -18
  58. criteo_api_retailmedia_v2025_01/model/create_balance_v2.py +15 -15
  59. criteo_api_retailmedia_v2025_01/model/creative2.py +50 -50
  60. criteo_api_retailmedia_v2025_01/model/creative202110.py +16 -12
  61. criteo_api_retailmedia_v2025_01/model/creative202110_list_response.py +5 -5
  62. criteo_api_retailmedia_v2025_01/model/creative202210.py +40 -36
  63. criteo_api_retailmedia_v2025_01/model/creative202210_response.py +5 -5
  64. criteo_api_retailmedia_v2025_01/model/creative2_list_response.py +5 -5
  65. criteo_api_retailmedia_v2025_01/model/creative2_response.py +5 -5
  66. criteo_api_retailmedia_v2025_01/model/daily_line_item_budget_override.py +4 -4
  67. criteo_api_retailmedia_v2025_01/model/editable_campaign_attributes_v202301.py +35 -39
  68. criteo_api_retailmedia_v2025_01/model/entity_resource_of_retail_media_account.py +4 -4
  69. criteo_api_retailmedia_v2025_01/model/entity_resource_outcome_of_retail_media_account.py +5 -5
  70. criteo_api_retailmedia_v2025_01/model/external_account.py +18 -18
  71. criteo_api_retailmedia_v2025_01/model/external_catalog_request.py +4 -4
  72. criteo_api_retailmedia_v2025_01/model/external_catalog_status.py +20 -20
  73. criteo_api_retailmedia_v2025_01/model/external_retail_media_account.py +22 -22
  74. criteo_api_retailmedia_v2025_01/model/external_retail_media_brand_account_creation.py +8 -8
  75. criteo_api_retailmedia_v2025_01/model/external_retail_media_seller.py +8 -8
  76. criteo_api_retailmedia_v2025_01/model/external_retail_media_seller_account_creation.py +4 -4
  77. criteo_api_retailmedia_v2025_01/model/files_variable_value.py +0 -3
  78. criteo_api_retailmedia_v2025_01/model/files_variables_specification.py +4 -4
  79. criteo_api_retailmedia_v2025_01/model/grant_consent_model.py +8 -8
  80. criteo_api_retailmedia_v2025_01/model/grant_consent_model_value_resource.py +4 -4
  81. criteo_api_retailmedia_v2025_01/model/input_resource_of_auction_line_item_create_model.py +6 -6
  82. criteo_api_retailmedia_v2025_01/model/input_resource_of_preferred_line_item_create_model_v2.py +6 -6
  83. criteo_api_retailmedia_v2025_01/model/{json_api_body_with_id_of_int64_and_line_item_bid_multipliers_v2_and_line_item_bid_multipliers_v2.py → json_api_body_with_line_item_bid_multipliers_v2.py} +8 -8
  84. criteo_api_retailmedia_v2025_01/model/json_api_page_response_of_account.py +8 -8
  85. criteo_api_retailmedia_v2025_01/model/json_api_page_response_of_brand.py +8 -8
  86. criteo_api_retailmedia_v2025_01/model/json_api_page_response_of_campaign_v202301.py +8 -8
  87. criteo_api_retailmedia_v2025_01/model/json_api_page_response_of_retailer.py +8 -8
  88. criteo_api_retailmedia_v2025_01/model/json_api_single_response_of_line_item_bid_multipliers_v2.py +5 -5
  89. criteo_api_retailmedia_v2025_01/model/keyword_data_model.py +12 -12
  90. criteo_api_retailmedia_v2025_01/model/{external_keyword_target202110.py → keyword_target202110.py} +3 -3
  91. criteo_api_retailmedia_v2025_01/model/keyword_target202110_response.py +10 -10
  92. criteo_api_retailmedia_v2025_01/model/keywords.py +18 -18
  93. criteo_api_retailmedia_v2025_01/model/keywords_model_resource.py +4 -4
  94. criteo_api_retailmedia_v2025_01/model/keywords_model_response.py +4 -4
  95. criteo_api_retailmedia_v2025_01/model/{external_line_item_bid_multipliers_v2.py → line_item_bid_multipliers_v2.py} +31 -31
  96. criteo_api_retailmedia_v2025_01/model/line_item_bid_multipliers_v2_response.py +5 -5
  97. criteo_api_retailmedia_v2025_01/model/line_item_budget_overrides.py +8 -8
  98. criteo_api_retailmedia_v2025_01/model/{external_line_item_capping_v2.py → line_item_capping_v2.py} +12 -12
  99. criteo_api_retailmedia_v2025_01/model/{external_line_item_page_category_v2.py → line_item_page_category_v2.py} +3 -3
  100. criteo_api_retailmedia_v2025_01/model/{external_line_item_page_v2.py → line_item_page_v2.py} +12 -12
  101. criteo_api_retailmedia_v2025_01/model/metadata.py +8 -8
  102. criteo_api_retailmedia_v2025_01/model/nillable_decimal.py +263 -0
  103. criteo_api_retailmedia_v2025_01/model/page_metadata.py +16 -16
  104. criteo_api_retailmedia_v2025_01/model/page_of_balance_history_change_data_capture_v1.py +8 -8
  105. criteo_api_retailmedia_v2025_01/model/page_type_environment2.py +14 -14
  106. criteo_api_retailmedia_v2025_01/model/page_type_environment202210.py +14 -14
  107. criteo_api_retailmedia_v2025_01/model/{external_preferred_line_item_create_model_v2.py → preferred_line_item_create_model_v2.py} +37 -37
  108. criteo_api_retailmedia_v2025_01/model/{external_preferred_line_item_update_model_v2.py → preferred_line_item_update_model_v2.py} +30 -30
  109. criteo_api_retailmedia_v2025_01/model/{external_preferred_line_item_v2.py → preferred_line_item_v2.py} +55 -57
  110. criteo_api_retailmedia_v2025_01/model/preferred_line_item_v2_paged_list_response.py +9 -9
  111. criteo_api_retailmedia_v2025_01/model/preferred_line_item_v2_response.py +5 -5
  112. criteo_api_retailmedia_v2025_01/model/problem_details.py +20 -20
  113. criteo_api_retailmedia_v2025_01/model/product_metadata.py +8 -8
  114. criteo_api_retailmedia_v2025_01/model/promoted_product.py +4 -4
  115. criteo_api_retailmedia_v2025_01/model/promoted_product_resource.py +4 -4
  116. criteo_api_retailmedia_v2025_01/model/promoted_product_resource_collection_outcome.py +8 -8
  117. criteo_api_retailmedia_v2025_01/model/resource_of_auction_line_item.py +6 -6
  118. criteo_api_retailmedia_v2025_01/model/resource_of_auction_line_item_update_model.py +6 -6
  119. criteo_api_retailmedia_v2025_01/model/resource_of_balance_campaign202110.py +4 -4
  120. criteo_api_retailmedia_v2025_01/model/resource_of_common_line_item.py +6 -6
  121. criteo_api_retailmedia_v2025_01/model/resource_of_line_item_bid_multipliers_v2.py +5 -5
  122. criteo_api_retailmedia_v2025_01/model/resource_of_preferred_line_item_update_model_v2.py +6 -6
  123. criteo_api_retailmedia_v2025_01/model/resource_of_preferred_line_item_v2.py +6 -6
  124. criteo_api_retailmedia_v2025_01/model/retail_media_contactlist_amendment_attributes.py +8 -8
  125. criteo_api_retailmedia_v2025_01/model/rm_algebra_node_v1.py +8 -8
  126. criteo_api_retailmedia_v2025_01/model/rm_audience_entity_v1.py +20 -20
  127. criteo_api_retailmedia_v2025_01/model/rm_audience_entity_v1_rm_audience_search_metadata_v1_list_response.py +9 -9
  128. criteo_api_retailmedia_v2025_01/model/rm_audience_search_entity_v1.py +4 -4
  129. criteo_api_retailmedia_v2025_01/model/rm_audience_search_entity_v1_resource.py +4 -4
  130. criteo_api_retailmedia_v2025_01/model/rm_audience_search_metadata_v1.py +4 -4
  131. criteo_api_retailmedia_v2025_01/model/rm_audience_segment_create_entity_v1.py +10 -4
  132. criteo_api_retailmedia_v2025_01/model/rm_audience_segment_create_entity_v1_resource.py +4 -4
  133. criteo_api_retailmedia_v2025_01/model/rm_audience_segment_entity_v1.py +30 -30
  134. criteo_api_retailmedia_v2025_01/model/rm_audience_segment_entity_v1_list_response.py +5 -5
  135. criteo_api_retailmedia_v2025_01/model/rm_audience_segment_entity_v1_rm_audience_segment_search_metadata_v1_list_response.py +9 -9
  136. criteo_api_retailmedia_v2025_01/model/rm_audience_segment_id_entity_v1_list_response.py +5 -5
  137. criteo_api_retailmedia_v2025_01/model/rm_audience_segment_search_entity_v1.py +4 -4
  138. criteo_api_retailmedia_v2025_01/model/rm_audience_segment_search_entity_v1_resource.py +4 -4
  139. criteo_api_retailmedia_v2025_01/model/rm_audience_segment_search_metadata_v1.py +4 -4
  140. criteo_api_retailmedia_v2025_01/model/rm_audience_segment_update_entity_v1.py +14 -8
  141. criteo_api_retailmedia_v2025_01/model/rm_contact_list_create_v1.py +1 -0
  142. criteo_api_retailmedia_v2025_01/model/rm_contact_list_statistics_entity_v1.py +4 -4
  143. criteo_api_retailmedia_v2025_01/model/rm_contact_list_statistics_entity_v1_response.py +5 -5
  144. criteo_api_retailmedia_v2025_01/model/rm_contact_list_v1.py +5 -4
  145. criteo_api_retailmedia_v2025_01/model/rm_events_create_v1.py +311 -0
  146. criteo_api_retailmedia_v2025_01/model/{report_outcome.py → rm_events_update_v1.py} +45 -15
  147. criteo_api_retailmedia_v2025_01/model/rm_events_v1.py +23 -23
  148. criteo_api_retailmedia_v2025_01/model/rmca_common_problem.py +16 -16
  149. criteo_api_retailmedia_v2025_01/model/sdk_api_rest_common_problem.py +16 -16
  150. criteo_api_retailmedia_v2025_01/model/section.py +4 -4
  151. criteo_api_retailmedia_v2025_01/model/set_bid_model.py +4 -4
  152. criteo_api_retailmedia_v2025_01/model/set_bids_model_resource.py +4 -4
  153. criteo_api_retailmedia_v2025_01/model/status_response.py +20 -20
  154. criteo_api_retailmedia_v2025_01/model/{external_store_ids_update_model202110.py → store_ids_update_model202110.py} +3 -3
  155. criteo_api_retailmedia_v2025_01/model/{external_store_target202110.py → store_target202110.py} +3 -3
  156. criteo_api_retailmedia_v2025_01/model/store_target202110_response.py +10 -10
  157. criteo_api_retailmedia_v2025_01/model/template.py +24 -24
  158. criteo_api_retailmedia_v2025_01/model/template_list_response.py +5 -5
  159. criteo_api_retailmedia_v2025_01/model/template_response.py +5 -5
  160. criteo_api_retailmedia_v2025_01/model/template_variable.py +4 -4
  161. criteo_api_retailmedia_v2025_01/model/template_variable_value.py +4 -4
  162. criteo_api_retailmedia_v2025_01/model/update_balance_model_v2.py +8 -8
  163. criteo_api_retailmedia_v2025_01/model/value_resource_collection_outcome_of_retail_media_seller.py +5 -5
  164. criteo_api_retailmedia_v2025_01/model/value_resource_of_campaign_budget_overrides.py +4 -4
  165. criteo_api_retailmedia_v2025_01/model/value_resource_of_line_item_budget_overrides.py +4 -4
  166. criteo_api_retailmedia_v2025_01/model/value_resource_of_recommended_keywords_result.py +4 -4
  167. criteo_api_retailmedia_v2025_01/model/value_resource_of_retail_media_brand_account_creation.py +4 -4
  168. criteo_api_retailmedia_v2025_01/model/value_resource_of_retail_media_brands.py +4 -4
  169. criteo_api_retailmedia_v2025_01/model/value_resource_of_retail_media_seller.py +4 -4
  170. criteo_api_retailmedia_v2025_01/model/value_resource_of_retail_media_seller_account_creation.py +4 -4
  171. criteo_api_retailmedia_v2025_01/model/value_resource_outcome_of_campaign_budget_overrides.py +10 -10
  172. criteo_api_retailmedia_v2025_01/model/value_resource_outcome_of_line_item_budget_overrides.py +10 -10
  173. criteo_api_retailmedia_v2025_01/model/value_resource_outcome_of_recommended_keywords_result.py +10 -10
  174. criteo_api_retailmedia_v2025_01/model/value_resource_outcome_of_retail_media_brands.py +5 -5
  175. criteo_api_retailmedia_v2025_01/model/value_type_resource_of_add_to_basket_ids_update_model202110.py +6 -6
  176. criteo_api_retailmedia_v2025_01/model/value_type_resource_of_add_to_basket_target202110.py +6 -6
  177. criteo_api_retailmedia_v2025_01/model/value_type_resource_of_audience_ids_update_model202110.py +6 -6
  178. criteo_api_retailmedia_v2025_01/model/value_type_resource_of_audience_target202110.py +6 -6
  179. criteo_api_retailmedia_v2025_01/model/value_type_resource_of_keyword_target202110.py +6 -6
  180. criteo_api_retailmedia_v2025_01/model/value_type_resource_of_store_ids_update_model202110.py +6 -6
  181. criteo_api_retailmedia_v2025_01/model/value_type_resource_of_store_target202110.py +6 -6
  182. criteo_api_retailmedia_v2025_01/model/video_variable_value.py +16 -16
  183. criteo_api_retailmedia_v2025_01/models/__init__.py +23 -22
  184. criteo_api_retailmedia_v2025_01/model/error_code_response.py +0 -281
  185. {criteo_api_retailmedia_sdk-2025.1.0.250317.dist-info → criteo_api_retailmedia_sdk-2025.1.0.251112.dist-info}/top_level.txt +0 -0
@@ -30,7 +30,7 @@ from criteo_api_retailmedia_v2025_01.exceptions import ApiAttributeError
30
30
 
31
31
 
32
32
 
33
- class ExternalCommonLineItem(ModelNormal):
33
+ class CommonLineItem(ModelNormal):
34
34
  """NOTE: This class is auto generated by OpenAPI Generator.
35
35
  Ref: https://openapi-generator.tech
36
36
 
@@ -101,18 +101,19 @@ class ExternalCommonLineItem(ModelNormal):
101
101
  and the value is attribute type.
102
102
  """
103
103
  return {
104
+ 'campaign_id': (str,), # noqa: E501
104
105
  'name': (str,), # noqa: E501
105
- 'type': (str,), # noqa: E501
106
106
  'start_date': (date,), # noqa: E501
107
107
  'target_retailer_id': (str,), # noqa: E501
108
- 'campaign_id': (str,), # noqa: E501
108
+ 'type': (str,), # noqa: E501
109
+ 'budget': (float, none_type,), # noqa: E501
109
110
  'budget_remaining': (float, none_type,), # noqa: E501
111
+ 'budget_spent': (float,), # noqa: E501
110
112
  'created_at': (datetime,), # noqa: E501
111
- 'updated_at': (datetime,), # noqa: E501
112
113
  'end_date': (date, none_type,), # noqa: E501
114
+ 'id': (str, none_type,), # noqa: E501
113
115
  'status': (str,), # noqa: E501
114
- 'budget': (float, none_type,), # noqa: E501
115
- 'budget_spent': (float,), # noqa: E501
116
+ 'updated_at': (datetime,), # noqa: E501
116
117
  }
117
118
 
118
119
  @cached_property
@@ -121,18 +122,19 @@ class ExternalCommonLineItem(ModelNormal):
121
122
 
122
123
 
123
124
  attribute_map = {
125
+ 'campaign_id': 'campaignId', # noqa: E501
124
126
  'name': 'name', # noqa: E501
125
- 'type': 'type', # noqa: E501
126
127
  'start_date': 'startDate', # noqa: E501
127
128
  'target_retailer_id': 'targetRetailerId', # noqa: E501
128
- 'campaign_id': 'campaignId', # noqa: E501
129
+ 'type': 'type', # noqa: E501
130
+ 'budget': 'budget', # noqa: E501
129
131
  'budget_remaining': 'budgetRemaining', # noqa: E501
132
+ 'budget_spent': 'budgetSpent', # noqa: E501
130
133
  'created_at': 'createdAt', # noqa: E501
131
- 'updated_at': 'updatedAt', # noqa: E501
132
134
  'end_date': 'endDate', # noqa: E501
135
+ 'id': 'id', # noqa: E501
133
136
  'status': 'status', # noqa: E501
134
- 'budget': 'budget', # noqa: E501
135
- 'budget_spent': 'budgetSpent', # noqa: E501
137
+ 'updated_at': 'updatedAt', # noqa: E501
136
138
  }
137
139
 
138
140
  read_only_vars = {
@@ -142,18 +144,15 @@ class ExternalCommonLineItem(ModelNormal):
142
144
 
143
145
  @classmethod
144
146
  @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
146
- """ExternalCommonLineItem - a model defined in OpenAPI
147
+ def _from_openapi_data(cls, campaign_id, name, start_date, target_retailer_id, type, *args, **kwargs): # noqa: E501
148
+ """CommonLineItem - a model defined in OpenAPI
147
149
 
148
150
  Args:
151
+ campaign_id (str):
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):
156
- updated_at (datetime):
155
+ type (str):
157
156
 
158
157
  Keyword Args:
159
158
  _check_type (bool): if True, values for parameters in openapi_types
@@ -186,10 +185,14 @@ class ExternalCommonLineItem(ModelNormal):
186
185
  Animal class but this time we won't travel
187
186
  through its discriminator because we passed in
188
187
  _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
188
  budget (float, none_type): [optional] # noqa: E501
189
+ budget_remaining (float, none_type): [optional] # noqa: E501
192
190
  budget_spent (float): [optional] # noqa: E501
191
+ created_at (datetime): [optional] # noqa: E501
192
+ end_date (date, none_type): Represents the Date as a year, month, and day in the format YYYY-MM-DD. [optional] # noqa: E501
193
+ id (str, none_type): [optional] # noqa: E501
194
+ status (str): [optional] # noqa: E501
195
+ updated_at (datetime): [optional] # noqa: E501
193
196
  """
194
197
 
195
198
  _check_type = kwargs.pop('_check_type', True)
@@ -221,14 +224,11 @@ class ExternalCommonLineItem(ModelNormal):
221
224
  self._configuration = _configuration
222
225
  self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
223
226
 
227
+ self.campaign_id = campaign_id
224
228
  self.name = name
225
- self.type = type
226
229
  self.start_date = start_date
227
230
  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
231
- self.updated_at = updated_at
231
+ self.type = type
232
232
  for var_name, var_value in kwargs.items():
233
233
  if var_name not in self.attribute_map and \
234
234
  self._configuration is not None and \
@@ -249,18 +249,15 @@ 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
253
- """ExternalCommonLineItem - a model defined in OpenAPI
252
+ def __init__(self, campaign_id, name, start_date, target_retailer_id, type, *args, **kwargs): # noqa: E501
253
+ """CommonLineItem - a model defined in OpenAPI
254
254
 
255
255
  Args:
256
+ campaign_id (str):
256
257
  name (str):
257
- type (str):
258
258
  start_date (date): Represents the Date as a year, month, and day in the format YYYY-MM-DD
259
259
  target_retailer_id (str):
260
- campaign_id (str):
261
- budget_remaining (float, none_type):
262
- created_at (datetime):
263
- updated_at (datetime):
260
+ type (str):
264
261
 
265
262
  Keyword Args:
266
263
  _check_type (bool): if True, values for parameters in openapi_types
@@ -293,10 +290,14 @@ class ExternalCommonLineItem(ModelNormal):
293
290
  Animal class but this time we won't travel
294
291
  through its discriminator because we passed in
295
292
  _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
293
  budget (float, none_type): [optional] # noqa: E501
294
+ budget_remaining (float, none_type): [optional] # noqa: E501
299
295
  budget_spent (float): [optional] # noqa: E501
296
+ created_at (datetime): [optional] # noqa: E501
297
+ end_date (date, none_type): Represents the Date as a year, month, and day in the format YYYY-MM-DD. [optional] # noqa: E501
298
+ id (str, none_type): [optional] # noqa: E501
299
+ status (str): [optional] # noqa: E501
300
+ updated_at (datetime): [optional] # noqa: E501
300
301
  """
301
302
 
302
303
  _check_type = kwargs.pop('_check_type', True)
@@ -326,14 +327,11 @@ class ExternalCommonLineItem(ModelNormal):
326
327
  self._configuration = _configuration
327
328
  self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
328
329
 
330
+ self.campaign_id = campaign_id
329
331
  self.name = name
330
- self.type = type
331
332
  self.start_date = start_date
332
333
  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
336
- self.updated_at = updated_at
334
+ self.type = type
337
335
  for var_name, var_value in kwargs.items():
338
336
  if var_name not in self.attribute_map and \
339
337
  self._configuration is not None and \
@@ -30,11 +30,11 @@ from criteo_api_retailmedia_v2025_01.exceptions import ApiAttributeError
30
30
 
31
31
 
32
32
  def lazy_import():
33
+ from criteo_api_retailmedia_v2025_01.model.common_problem import CommonProblem
33
34
  from criteo_api_retailmedia_v2025_01.model.page_metadata import PageMetadata
34
- from criteo_api_retailmedia_v2025_01.model.problem_details import ProblemDetails
35
35
  from criteo_api_retailmedia_v2025_01.model.resource_of_common_line_item import ResourceOfCommonLineItem
36
+ globals()['CommonProblem'] = CommonProblem
36
37
  globals()['PageMetadata'] = PageMetadata
37
- globals()['ProblemDetails'] = ProblemDetails
38
38
  globals()['ResourceOfCommonLineItem'] = ResourceOfCommonLineItem
39
39
 
40
40
 
@@ -91,10 +91,10 @@ class CommonLineItemPagedListResponse(ModelNormal):
91
91
  """
92
92
  lazy_import()
93
93
  return {
94
- 'metadata': (PageMetadata,), # noqa: E501
95
94
  'data': ([ResourceOfCommonLineItem],), # noqa: E501
96
- 'warnings': ([ProblemDetails],), # noqa: E501
97
- 'errors': ([ProblemDetails],), # noqa: E501
95
+ 'errors': ([CommonProblem],), # noqa: E501
96
+ 'metadata': (PageMetadata,), # noqa: E501
97
+ 'warnings': ([CommonProblem],), # noqa: E501
98
98
  }
99
99
 
100
100
  @cached_property
@@ -103,15 +103,15 @@ class CommonLineItemPagedListResponse(ModelNormal):
103
103
 
104
104
 
105
105
  attribute_map = {
106
- 'metadata': 'metadata', # noqa: E501
107
106
  'data': 'data', # noqa: E501
108
- 'warnings': 'warnings', # noqa: E501
109
107
  'errors': 'errors', # noqa: E501
108
+ 'metadata': 'metadata', # noqa: E501
109
+ 'warnings': 'warnings', # noqa: E501
110
110
  }
111
111
 
112
112
  read_only_vars = {
113
- 'warnings', # noqa: E501
114
113
  'errors', # noqa: E501
114
+ 'warnings', # noqa: E501
115
115
  }
116
116
 
117
117
  _composed_schemas = {}
@@ -152,10 +152,10 @@ class CommonLineItemPagedListResponse(ModelNormal):
152
152
  Animal class but this time we won't travel
153
153
  through its discriminator because we passed in
154
154
  _visited_composed_classes = (Animal,)
155
- metadata (PageMetadata): [optional] # noqa: E501
156
155
  data ([ResourceOfCommonLineItem]): [optional] # noqa: E501
157
- warnings ([ProblemDetails]): [optional] # noqa: E501
158
- errors ([ProblemDetails]): [optional] # noqa: E501
156
+ errors ([CommonProblem]): [optional] # noqa: E501
157
+ metadata (PageMetadata): [optional] # noqa: E501
158
+ warnings ([CommonProblem]): [optional] # noqa: E501
159
159
  """
160
160
 
161
161
  _check_type = kwargs.pop('_check_type', True)
@@ -241,10 +241,10 @@ class CommonLineItemPagedListResponse(ModelNormal):
241
241
  Animal class but this time we won't travel
242
242
  through its discriminator because we passed in
243
243
  _visited_composed_classes = (Animal,)
244
- metadata (PageMetadata): [optional] # noqa: E501
245
244
  data ([ResourceOfCommonLineItem]): [optional] # noqa: E501
246
- warnings ([ProblemDetails]): [optional] # noqa: E501
247
- errors ([ProblemDetails]): [optional] # noqa: E501
245
+ errors ([CommonProblem]): [optional] # noqa: E501
246
+ metadata (PageMetadata): [optional] # noqa: E501
247
+ warnings ([CommonProblem]): [optional] # noqa: E501
248
248
  """
249
249
 
250
250
  _check_type = kwargs.pop('_check_type', True)
@@ -30,9 +30,9 @@ from criteo_api_retailmedia_v2025_01.exceptions import ApiAttributeError
30
30
 
31
31
 
32
32
  def lazy_import():
33
- from criteo_api_retailmedia_v2025_01.model.problem_details import ProblemDetails
33
+ from criteo_api_retailmedia_v2025_01.model.common_problem import CommonProblem
34
34
  from criteo_api_retailmedia_v2025_01.model.resource_of_common_line_item import ResourceOfCommonLineItem
35
- globals()['ProblemDetails'] = ProblemDetails
35
+ globals()['CommonProblem'] = CommonProblem
36
36
  globals()['ResourceOfCommonLineItem'] = ResourceOfCommonLineItem
37
37
 
38
38
 
@@ -90,8 +90,8 @@ class CommonLineItemResponse(ModelNormal):
90
90
  lazy_import()
91
91
  return {
92
92
  'data': (ResourceOfCommonLineItem,), # noqa: E501
93
- 'warnings': ([ProblemDetails],), # noqa: E501
94
- 'errors': ([ProblemDetails],), # noqa: E501
93
+ 'errors': ([CommonProblem],), # noqa: E501
94
+ 'warnings': ([CommonProblem],), # noqa: E501
95
95
  }
96
96
 
97
97
  @cached_property
@@ -101,13 +101,13 @@ class CommonLineItemResponse(ModelNormal):
101
101
 
102
102
  attribute_map = {
103
103
  'data': 'data', # noqa: E501
104
- 'warnings': 'warnings', # noqa: E501
105
104
  'errors': 'errors', # noqa: E501
105
+ 'warnings': 'warnings', # noqa: E501
106
106
  }
107
107
 
108
108
  read_only_vars = {
109
- 'warnings', # noqa: E501
110
109
  'errors', # noqa: E501
110
+ 'warnings', # noqa: E501
111
111
  }
112
112
 
113
113
  _composed_schemas = {}
@@ -149,8 +149,8 @@ class CommonLineItemResponse(ModelNormal):
149
149
  through its discriminator because we passed in
150
150
  _visited_composed_classes = (Animal,)
151
151
  data (ResourceOfCommonLineItem): [optional] # noqa: E501
152
- warnings ([ProblemDetails]): [optional] # noqa: E501
153
- errors ([ProblemDetails]): [optional] # noqa: E501
152
+ errors ([CommonProblem]): [optional] # noqa: E501
153
+ warnings ([CommonProblem]): [optional] # noqa: E501
154
154
  """
155
155
 
156
156
  _check_type = kwargs.pop('_check_type', True)
@@ -237,8 +237,8 @@ class CommonLineItemResponse(ModelNormal):
237
237
  through its discriminator because we passed in
238
238
  _visited_composed_classes = (Animal,)
239
239
  data (ResourceOfCommonLineItem): [optional] # noqa: E501
240
- warnings ([ProblemDetails]): [optional] # noqa: E501
241
- errors ([ProblemDetails]): [optional] # noqa: E501
240
+ errors ([CommonProblem]): [optional] # noqa: E501
241
+ warnings ([CommonProblem]): [optional] # noqa: E501
242
242
  """
243
243
 
244
244
  _check_type = kwargs.pop('_check_type', True)
@@ -92,15 +92,15 @@ class CommonProblem(ModelNormal):
92
92
  and the value is attribute type.
93
93
  """
94
94
  return {
95
- 'trace_id': (str, none_type,), # noqa: E501
96
- 'trace_identifier': (str, none_type,), # noqa: E501
97
- 'type': (str, none_type,), # noqa: E501
98
95
  'code': (str, none_type,), # noqa: E501
99
- 'instance': (str, none_type,), # noqa: E501
100
- 'title': (str, none_type,), # noqa: E501
101
96
  'detail': (str, none_type,), # noqa: E501
97
+ 'instance': (str, none_type,), # noqa: E501
102
98
  'source': ({str: (str,)}, none_type,), # noqa: E501
103
99
  'stack_trace': (str, none_type,), # noqa: E501
100
+ 'title': (str, none_type,), # noqa: E501
101
+ 'trace_id': (str, none_type,), # noqa: E501
102
+ 'trace_identifier': (str, none_type,), # noqa: E501
103
+ 'type': (str, none_type,), # noqa: E501
104
104
  }
105
105
 
106
106
  @cached_property
@@ -109,15 +109,15 @@ class CommonProblem(ModelNormal):
109
109
 
110
110
 
111
111
  attribute_map = {
112
- 'trace_id': 'traceId', # noqa: E501
113
- 'trace_identifier': 'traceIdentifier', # noqa: E501
114
- 'type': 'type', # noqa: E501
115
112
  'code': 'code', # noqa: E501
116
- 'instance': 'instance', # noqa: E501
117
- 'title': 'title', # noqa: E501
118
113
  'detail': 'detail', # noqa: E501
114
+ 'instance': 'instance', # noqa: E501
119
115
  'source': 'source', # noqa: E501
120
116
  'stack_trace': 'stackTrace', # noqa: E501
117
+ 'title': 'title', # noqa: E501
118
+ 'trace_id': 'traceId', # noqa: E501
119
+ 'trace_identifier': 'traceIdentifier', # noqa: E501
120
+ 'type': 'type', # noqa: E501
121
121
  }
122
122
 
123
123
  read_only_vars = {
@@ -161,15 +161,15 @@ class CommonProblem(ModelNormal):
161
161
  Animal class but this time we won't travel
162
162
  through its discriminator because we passed in
163
163
  _visited_composed_classes = (Animal,)
164
- trace_id (str, none_type): The request correlation ID this problem comes from.. [optional] # noqa: E501
165
- trace_identifier (str, none_type): The request correlation ID this problem comes from. (deprecated, use traceId instead). [optional] # noqa: E501
166
- type (str, none_type): The problem's category.. [optional] # noqa: E501
167
164
  code (str, none_type): A machine-readable error code, expressed as a string value.. [optional] # noqa: E501
168
- instance (str, none_type): A URI that identifies the specific occurrence of the problem.. [optional] # noqa: E501
169
- title (str, none_type): A short human-readable description of the problem type. [optional] # noqa: E501
170
165
  detail (str, none_type): A human-readable explanation specific to this occurrence of the problem. [optional] # noqa: E501
166
+ instance (str, none_type): A URI that identifies the specific occurrence of the problem.. [optional] # noqa: E501
171
167
  source ({str: (str,)}, none_type): A machine-readable structure to reference to the exact location(s) causing the error(s). [optional] # noqa: E501
172
168
  stack_trace (str, none_type): [optional] # noqa: E501
169
+ title (str, none_type): A short human-readable description of the problem type. [optional] # noqa: E501
170
+ trace_id (str, none_type): The request correlation ID this problem comes from.. [optional] # noqa: E501
171
+ trace_identifier (str, none_type): The request correlation ID this problem comes from. (deprecated, use traceId instead). [optional] # noqa: E501
172
+ type (str, none_type): The problem's category.. [optional] # noqa: E501
173
173
  """
174
174
 
175
175
  _check_type = kwargs.pop('_check_type', True)
@@ -255,15 +255,15 @@ class CommonProblem(ModelNormal):
255
255
  Animal class but this time we won't travel
256
256
  through its discriminator because we passed in
257
257
  _visited_composed_classes = (Animal,)
258
- trace_id (str, none_type): The request correlation ID this problem comes from.. [optional] # noqa: E501
259
- trace_identifier (str, none_type): The request correlation ID this problem comes from. (deprecated, use traceId instead). [optional] # noqa: E501
260
- type (str, none_type): The problem's category.. [optional] # noqa: E501
261
258
  code (str, none_type): A machine-readable error code, expressed as a string value.. [optional] # noqa: E501
262
- instance (str, none_type): A URI that identifies the specific occurrence of the problem.. [optional] # noqa: E501
263
- title (str, none_type): A short human-readable description of the problem type. [optional] # noqa: E501
264
259
  detail (str, none_type): A human-readable explanation specific to this occurrence of the problem. [optional] # noqa: E501
260
+ instance (str, none_type): A URI that identifies the specific occurrence of the problem.. [optional] # noqa: E501
265
261
  source ({str: (str,)}, none_type): A machine-readable structure to reference to the exact location(s) causing the error(s). [optional] # noqa: E501
266
262
  stack_trace (str, none_type): [optional] # noqa: E501
263
+ title (str, none_type): A short human-readable description of the problem type. [optional] # noqa: E501
264
+ trace_id (str, none_type): The request correlation ID this problem comes from.. [optional] # noqa: E501
265
+ trace_identifier (str, none_type): The request correlation ID this problem comes from. (deprecated, use traceId instead). [optional] # noqa: E501
266
+ type (str, none_type): The problem's category.. [optional] # noqa: E501
267
267
  """
268
268
 
269
269
  _check_type = kwargs.pop('_check_type', True)
@@ -86,14 +86,14 @@ class CommonWarning(ModelNormal):
86
86
  and the value is attribute type.
87
87
  """
88
88
  return {
89
- 'trace_id': (str, none_type,), # noqa: E501
90
- 'type': (str, none_type,), # noqa: E501
91
89
  'code': (str, none_type,), # noqa: E501
92
- 'instance': (str, none_type,), # noqa: E501
93
- 'title': (str, none_type,), # noqa: E501
94
90
  'detail': (str, none_type,), # noqa: E501
91
+ 'instance': (str, none_type,), # noqa: E501
95
92
  'source': ({str: (str,)}, none_type,), # noqa: E501
96
93
  'stack_trace': (str, none_type,), # noqa: E501
94
+ 'title': (str, none_type,), # noqa: E501
95
+ 'trace_id': (str, none_type,), # noqa: E501
96
+ 'type': (str, none_type,), # noqa: E501
97
97
  }
98
98
 
99
99
  @cached_property
@@ -102,14 +102,14 @@ class CommonWarning(ModelNormal):
102
102
 
103
103
 
104
104
  attribute_map = {
105
- 'trace_id': 'traceId', # noqa: E501
106
- 'type': 'type', # noqa: E501
107
105
  'code': 'code', # noqa: E501
108
- 'instance': 'instance', # noqa: E501
109
- 'title': 'title', # noqa: E501
110
106
  'detail': 'detail', # noqa: E501
107
+ 'instance': 'instance', # noqa: E501
111
108
  'source': 'source', # noqa: E501
112
109
  'stack_trace': 'stackTrace', # noqa: E501
110
+ 'title': 'title', # noqa: E501
111
+ 'trace_id': 'traceId', # noqa: E501
112
+ 'type': 'type', # noqa: E501
113
113
  }
114
114
 
115
115
  read_only_vars = {
@@ -153,14 +153,14 @@ class CommonWarning(ModelNormal):
153
153
  Animal class but this time we won't travel
154
154
  through its discriminator because we passed in
155
155
  _visited_composed_classes = (Animal,)
156
- trace_id (str, none_type): (REQUIRED) The Correlation ID provided by the Gateway. It is also a unique identifier for this particular occurrence of the problem.. [optional] # noqa: E501
157
- type (str, none_type): (REQUIRED) The classification of the error.. [optional] # noqa: E501
158
- code (str, none_type): (REQUIRED) A machine-readable unique error code, expressed as a string value. The format used must be kabab-case.. [optional] # noqa: E501
159
- instance (str, none_type): (REQUIRED) A URI reference that identifies the specific occurrence of the problem.. [optional] # noqa: E501
160
- title (str, none_type): (RECOMMENDED) A short, human-readable summary of the problem type.. [optional] # noqa: E501
156
+ code (str, none_type): (REQUIRED) A machine-readable unique error code, expressed as a string value. The format used must be kebab-case.. [optional] # noqa: E501
161
157
  detail (str, none_type): (RECOMMENDED) A human-readable explanation specific to this occurrence of the problem.. [optional] # noqa: E501
158
+ instance (str, none_type): (REQUIRED) A URI reference that identifies the specific occurrence of the problem.. [optional] # noqa: E501
162
159
  source ({str: (str,)}, none_type): (OPTIONAL) A machine-readable structure to reference to the exact location(s) causing the error(s). [optional] # noqa: E501
163
160
  stack_trace (str, none_type): (NEVER IN PRODUCTION) A human-readable stacktrace produced by the implementation technology. [optional] # noqa: E501
161
+ title (str, none_type): (RECOMMENDED) A short, human-readable summary of the problem type.. [optional] # noqa: E501
162
+ trace_id (str, none_type): (REQUIRED) The Correlation ID provided by the Gateway. It is also a unique identifier for this particular occurrence of the problem.. [optional] # noqa: E501
163
+ type (str, none_type): (REQUIRED) The classification of the error.. [optional] # noqa: E501
164
164
  """
165
165
 
166
166
  _check_type = kwargs.pop('_check_type', True)
@@ -246,14 +246,14 @@ class CommonWarning(ModelNormal):
246
246
  Animal class but this time we won't travel
247
247
  through its discriminator because we passed in
248
248
  _visited_composed_classes = (Animal,)
249
- trace_id (str, none_type): (REQUIRED) The Correlation ID provided by the Gateway. It is also a unique identifier for this particular occurrence of the problem.. [optional] # noqa: E501
250
- type (str, none_type): (REQUIRED) The classification of the error.. [optional] # noqa: E501
251
- code (str, none_type): (REQUIRED) A machine-readable unique error code, expressed as a string value. The format used must be kabab-case.. [optional] # noqa: E501
252
- instance (str, none_type): (REQUIRED) A URI reference that identifies the specific occurrence of the problem.. [optional] # noqa: E501
253
- title (str, none_type): (RECOMMENDED) A short, human-readable summary of the problem type.. [optional] # noqa: E501
249
+ code (str, none_type): (REQUIRED) A machine-readable unique error code, expressed as a string value. The format used must be kebab-case.. [optional] # noqa: E501
254
250
  detail (str, none_type): (RECOMMENDED) A human-readable explanation specific to this occurrence of the problem.. [optional] # noqa: E501
251
+ instance (str, none_type): (REQUIRED) A URI reference that identifies the specific occurrence of the problem.. [optional] # noqa: E501
255
252
  source ({str: (str,)}, none_type): (OPTIONAL) A machine-readable structure to reference to the exact location(s) causing the error(s). [optional] # noqa: E501
256
253
  stack_trace (str, none_type): (NEVER IN PRODUCTION) A human-readable stacktrace produced by the implementation technology. [optional] # noqa: E501
254
+ title (str, none_type): (RECOMMENDED) A short, human-readable summary of the problem type.. [optional] # noqa: E501
255
+ trace_id (str, none_type): (REQUIRED) The Correlation ID provided by the Gateway. It is also a unique identifier for this particular occurrence of the problem.. [optional] # noqa: E501
256
+ type (str, none_type): (REQUIRED) The classification of the error.. [optional] # noqa: E501
257
257
  """
258
258
 
259
259
  _check_type = kwargs.pop('_check_type', True)
@@ -87,12 +87,12 @@ class CreateBalanceV2(ModelNormal):
87
87
  """
88
88
  return {
89
89
  'name': (str,), # noqa: E501
90
- 'start_date': (date,), # noqa: E501
91
90
  'spend_type': (str,), # noqa: E501
92
- 'po_number': (str, none_type,), # noqa: E501
91
+ 'start_date': (str,), # noqa: E501
93
92
  'deposited': (float,), # noqa: E501
94
- 'end_date': (date, none_type,), # noqa: E501
93
+ 'end_date': (str, none_type,), # noqa: E501
95
94
  'memo': (str, none_type,), # noqa: E501
95
+ 'po_number': (str, none_type,), # noqa: E501
96
96
  }
97
97
 
98
98
  @cached_property
@@ -102,12 +102,12 @@ class CreateBalanceV2(ModelNormal):
102
102
 
103
103
  attribute_map = {
104
104
  'name': 'name', # noqa: E501
105
- 'start_date': 'startDate', # noqa: E501
106
105
  'spend_type': 'spendType', # noqa: E501
107
- 'po_number': 'poNumber', # noqa: E501
106
+ 'start_date': 'startDate', # noqa: E501
108
107
  'deposited': 'deposited', # noqa: E501
109
108
  'end_date': 'endDate', # noqa: E501
110
109
  'memo': 'memo', # noqa: E501
110
+ 'po_number': 'poNumber', # noqa: E501
111
111
  }
112
112
 
113
113
  read_only_vars = {
@@ -117,13 +117,13 @@ class CreateBalanceV2(ModelNormal):
117
117
 
118
118
  @classmethod
119
119
  @convert_js_args_to_python_args
120
- def _from_openapi_data(cls, name, start_date, spend_type, *args, **kwargs): # noqa: E501
120
+ def _from_openapi_data(cls, name, spend_type, start_date, *args, **kwargs): # noqa: E501
121
121
  """CreateBalanceV2 - a model defined in OpenAPI
122
122
 
123
123
  Args:
124
124
  name (str): Name of the balance.
125
- start_date (date): Start date of the balance in the format YYYY-MM-DD.
126
125
  spend_type (str): Type of the balance spend.
126
+ start_date (str): Start date of the balance in the format YYYY-MM-DD.
127
127
 
128
128
  Keyword Args:
129
129
  _check_type (bool): if True, values for parameters in openapi_types
@@ -156,10 +156,10 @@ class CreateBalanceV2(ModelNormal):
156
156
  Animal class but this time we won't travel
157
157
  through its discriminator because we passed in
158
158
  _visited_composed_classes = (Animal,)
159
- po_number (str, none_type): Purchase Order number.. [optional] # noqa: E501
160
159
  deposited (float): Amount of billable funds allotted to the balance.. [optional] # noqa: E501
161
- end_date (date, none_type): End date of the balance in the format YYYY-MM-DD.. [optional] # noqa: E501
160
+ end_date (str, none_type): End date of the balance in the format YYYY-MM-DD.. [optional] # noqa: E501
162
161
  memo (str, none_type): Memo. [optional] # noqa: E501
162
+ po_number (str, none_type): Purchase Order number.. [optional] # noqa: E501
163
163
  """
164
164
 
165
165
  _check_type = kwargs.pop('_check_type', True)
@@ -192,8 +192,8 @@ class CreateBalanceV2(ModelNormal):
192
192
  self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
193
193
 
194
194
  self.name = name
195
- self.start_date = start_date
196
195
  self.spend_type = spend_type
196
+ self.start_date = start_date
197
197
  for var_name, var_value in kwargs.items():
198
198
  if var_name not in self.attribute_map and \
199
199
  self._configuration is not None and \
@@ -214,13 +214,13 @@ class CreateBalanceV2(ModelNormal):
214
214
  ])
215
215
 
216
216
  @convert_js_args_to_python_args
217
- def __init__(self, name, start_date, spend_type, *args, **kwargs): # noqa: E501
217
+ def __init__(self, name, spend_type, start_date, *args, **kwargs): # noqa: E501
218
218
  """CreateBalanceV2 - a model defined in OpenAPI
219
219
 
220
220
  Args:
221
221
  name (str): Name of the balance.
222
- start_date (date): Start date of the balance in the format YYYY-MM-DD.
223
222
  spend_type (str): Type of the balance spend.
223
+ start_date (str): Start date of the balance in the format YYYY-MM-DD.
224
224
 
225
225
  Keyword Args:
226
226
  _check_type (bool): if True, values for parameters in openapi_types
@@ -253,10 +253,10 @@ class CreateBalanceV2(ModelNormal):
253
253
  Animal class but this time we won't travel
254
254
  through its discriminator because we passed in
255
255
  _visited_composed_classes = (Animal,)
256
- po_number (str, none_type): Purchase Order number.. [optional] # noqa: E501
257
256
  deposited (float): Amount of billable funds allotted to the balance.. [optional] # noqa: E501
258
- end_date (date, none_type): End date of the balance in the format YYYY-MM-DD.. [optional] # noqa: E501
257
+ end_date (str, none_type): End date of the balance in the format YYYY-MM-DD.. [optional] # noqa: E501
259
258
  memo (str, none_type): Memo. [optional] # noqa: E501
259
+ po_number (str, none_type): Purchase Order number.. [optional] # noqa: E501
260
260
  """
261
261
 
262
262
  _check_type = kwargs.pop('_check_type', True)
@@ -287,8 +287,8 @@ class CreateBalanceV2(ModelNormal):
287
287
  self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
288
288
 
289
289
  self.name = name
290
- self.start_date = start_date
291
290
  self.spend_type = spend_type
291
+ self.start_date = start_date
292
292
  for var_name, var_value in kwargs.items():
293
293
  if var_name not in self.attribute_map and \
294
294
  self._configuration is not None and \