criteo-api-retailmedia-sdk 0.0.250320__py3-none-any.whl → 0.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 (209) hide show
  1. criteo_api_retailmedia_preview/__init__.py +1 -1
  2. criteo_api_retailmedia_preview/api/accounts_api.py +302 -6
  3. criteo_api_retailmedia_preview/api/analytics_api.py +144 -2
  4. criteo_api_retailmedia_preview/api/balance_api.py +12 -12
  5. criteo_api_retailmedia_preview/api/campaign_api.py +387 -76
  6. criteo_api_retailmedia_preview/api_client.py +1 -1
  7. criteo_api_retailmedia_preview/configuration.py +1 -1
  8. criteo_api_retailmedia_preview/model/account_fees_search_request.py +257 -0
  9. criteo_api_retailmedia_preview/model/account_fees_update_request.py +274 -0
  10. criteo_api_retailmedia_preview/model/account_fees_update_result.py +261 -0
  11. criteo_api_retailmedia_preview/model/add_remove_keyword_model.py +8 -8
  12. criteo_api_retailmedia_preview/model/add_remove_keywords_model_resource.py +4 -4
  13. criteo_api_retailmedia_preview/model/application_summary_model.py +8 -8
  14. criteo_api_retailmedia_preview/model/application_summary_model_resource.py +4 -4
  15. criteo_api_retailmedia_preview/model/application_summary_model_response.py +5 -5
  16. criteo_api_retailmedia_preview/model/async_accounts_report.py +71 -71
  17. criteo_api_retailmedia_preview/model/async_accounts_report_resource.py +4 -4
  18. criteo_api_retailmedia_preview/model/async_campaigns_report.py +79 -79
  19. criteo_api_retailmedia_preview/model/async_campaigns_report_resource.py +4 -4
  20. criteo_api_retailmedia_preview/model/async_fill_rate_report.py +14 -14
  21. criteo_api_retailmedia_preview/model/async_fill_rate_report_resource.py +4 -4
  22. criteo_api_retailmedia_preview/model/async_line_items_report.py +79 -79
  23. criteo_api_retailmedia_preview/model/async_line_items_report_resource.py +4 -4
  24. criteo_api_retailmedia_preview/model/async_offsite_report.py +434 -0
  25. criteo_api_retailmedia_preview/model/async_offsite_report_request.py +269 -0
  26. criteo_api_retailmedia_preview/model/async_offsite_report_resource.py +273 -0
  27. criteo_api_retailmedia_preview/model/async_report_response.py +5 -5
  28. criteo_api_retailmedia_preview/model/audience_error.py +16 -16
  29. criteo_api_retailmedia_preview/model/audience_warning.py +22 -22
  30. criteo_api_retailmedia_preview/model/balance_history_change_data_capture_v1.py +14 -14
  31. criteo_api_retailmedia_preview/model/balance_response_v2.py +45 -45
  32. criteo_api_retailmedia_preview/model/balance_response_v2_response.py +5 -5
  33. criteo_api_retailmedia_preview/model/bot_message.py +4 -4
  34. criteo_api_retailmedia_preview/model/brand_catalog_request_v2.py +9 -9
  35. criteo_api_retailmedia_preview/model/brand_id_search_request.py +4 -4
  36. criteo_api_retailmedia_preview/model/brand_id_search_result.py +8 -8
  37. criteo_api_retailmedia_preview/model/brand_preview_list_response.py +5 -5
  38. criteo_api_retailmedia_preview/model/catalog_status_v2.py +12 -12
  39. criteo_api_retailmedia_preview/model/category202204.py +8 -8
  40. criteo_api_retailmedia_preview/model/change_dates_of_balance_v2.py +4 -4
  41. criteo_api_retailmedia_preview/model/change_details_v1.py +8 -8
  42. criteo_api_retailmedia_preview/model/common_error.py +16 -16
  43. criteo_api_retailmedia_preview/model/common_problem.py +20 -20
  44. criteo_api_retailmedia_preview/model/common_warning.py +16 -16
  45. criteo_api_retailmedia_preview/model/cpc_rate_card_preview.py +4 -4
  46. criteo_api_retailmedia_preview/model/cpc_rate_card_preview_response.py +5 -5
  47. criteo_api_retailmedia_preview/model/create_balance_v2.py +12 -12
  48. criteo_api_retailmedia_preview/model/creative2.py +50 -50
  49. criteo_api_retailmedia_preview/model/creative2_list_response.py +5 -5
  50. criteo_api_retailmedia_preview/model/creative2_response.py +5 -5
  51. criteo_api_retailmedia_preview/model/demand_managed_fee.py +267 -0
  52. criteo_api_retailmedia_preview/model/entity_resource_brand_id_search_result.py +4 -4
  53. criteo_api_retailmedia_preview/model/entity_resource_collection_outcome_brand_id_search_result_paging_offset_limit_metadata.py +9 -9
  54. criteo_api_retailmedia_preview/model/entity_resource_collection_outcome_line_item_keyword_review_report_and_metadata.py +280 -0
  55. criteo_api_retailmedia_preview/model/entity_resource_collection_outcome_of_retail_media_child_account_and_metadata.py +9 -9
  56. criteo_api_retailmedia_preview/model/entity_resource_line_item_keyword_review_report.py +270 -0
  57. criteo_api_retailmedia_preview/model/{resource_of_catalog_status_v2.py → entity_resource_of_catalog_status_v2.py} +7 -7
  58. criteo_api_retailmedia_preview/model/entity_resource_of_retail_media_child_account.py +4 -4
  59. criteo_api_retailmedia_preview/model/{catalog_status_v2_response.py → entity_resource_outcome_of_catalog_status_v2.py} +18 -18
  60. criteo_api_retailmedia_preview/model/entity_resource_outcome_partner_billing_report_status_v1.py +5 -5
  61. criteo_api_retailmedia_preview/model/entity_resource_partner_billing_report_status_v1.py +4 -4
  62. criteo_api_retailmedia_preview/model/export_report_column.py +30 -30
  63. criteo_api_retailmedia_preview/model/external_line_item_bid_multipliers_v2.py +28 -28
  64. criteo_api_retailmedia_preview/model/external_line_item_capping_v2.py +9 -9
  65. criteo_api_retailmedia_preview/model/external_line_item_page_v2.py +3 -3
  66. criteo_api_retailmedia_preview/model/external_preferred_line_item_create_model_v2.py +24 -24
  67. criteo_api_retailmedia_preview/model/external_preferred_line_item_update_model_v2.py +20 -20
  68. criteo_api_retailmedia_preview/model/external_preferred_line_item_v2.py +36 -36
  69. criteo_api_retailmedia_preview/model/external_product_button_request.py +8 -8
  70. criteo_api_retailmedia_preview/model/external_product_button_response.py +14 -14
  71. criteo_api_retailmedia_preview/model/external_retail_media_child_account.py +22 -22
  72. criteo_api_retailmedia_preview/model/grant_consent_model.py +8 -8
  73. criteo_api_retailmedia_preview/model/grant_consent_model_value_resource.py +4 -4
  74. criteo_api_retailmedia_preview/model/input_resource_of_preferred_line_item_create_model_v2.py +4 -4
  75. criteo_api_retailmedia_preview/model/installment.py +4 -4
  76. criteo_api_retailmedia_preview/model/keyword_data_model.py +12 -12
  77. criteo_api_retailmedia_preview/model/keywords.py +18 -18
  78. criteo_api_retailmedia_preview/model/keywords_model_resource.py +4 -4
  79. criteo_api_retailmedia_preview/model/keywords_model_response.py +4 -4
  80. criteo_api_retailmedia_preview/model/line_item_bid_multipliers_v2_response.py +5 -5
  81. criteo_api_retailmedia_preview/model/line_item_keyword_review_report.py +311 -0
  82. criteo_api_retailmedia_preview/model/managed_service_fee.py +279 -0
  83. criteo_api_retailmedia_preview/model/message.py +4 -4
  84. criteo_api_retailmedia_preview/model/message_error.py +8 -8
  85. criteo_api_retailmedia_preview/model/metadata.py +8 -8
  86. criteo_api_retailmedia_preview/model/outcome.py +5 -5
  87. criteo_api_retailmedia_preview/model/page_metadata.py +16 -16
  88. criteo_api_retailmedia_preview/model/page_of_balance_history_change_data_capture_v1.py +8 -8
  89. criteo_api_retailmedia_preview/model/page_type_environment2.py +14 -14
  90. criteo_api_retailmedia_preview/model/paged_resource_collection_outcome_of_balance_response_v2.py +9 -9
  91. criteo_api_retailmedia_preview/model/paging_offset_limit_metadata.py +8 -8
  92. criteo_api_retailmedia_preview/model/partner_billing_report_request_v1.py +12 -14
  93. criteo_api_retailmedia_preview/model/partner_billing_report_status_v1.py +12 -12
  94. criteo_api_retailmedia_preview/model/placement_preview.py +24 -24
  95. criteo_api_retailmedia_preview/model/placement_preview_list_response.py +5 -5
  96. criteo_api_retailmedia_preview/model/preferred_line_item_v2_paged_list_response.py +9 -9
  97. criteo_api_retailmedia_preview/model/preferred_line_item_v2_response.py +5 -5
  98. criteo_api_retailmedia_preview/model/private_market_account_fees.py +266 -0
  99. criteo_api_retailmedia_preview/model/private_market_fees.py +276 -0
  100. criteo_api_retailmedia_preview/model/problem_details.py +20 -20
  101. criteo_api_retailmedia_preview/model/product.py +242 -242
  102. criteo_api_retailmedia_preview/model/product_button_list_response.py +5 -5
  103. criteo_api_retailmedia_preview/model/product_importer_error.py +20 -20
  104. criteo_api_retailmedia_preview/model/product_importer_warning.py +20 -20
  105. criteo_api_retailmedia_preview/model/product_metadata.py +8 -8
  106. criteo_api_retailmedia_preview/model/product_recommendation.py +16 -16
  107. criteo_api_retailmedia_preview/model/product_shipping.py +16 -16
  108. criteo_api_retailmedia_preview/model/product_shipping_dimension.py +4 -4
  109. criteo_api_retailmedia_preview/model/product_shipping_weight.py +4 -4
  110. criteo_api_retailmedia_preview/model/product_tax.py +12 -12
  111. criteo_api_retailmedia_preview/model/product_unit_pricing_base_measure.py +4 -4
  112. criteo_api_retailmedia_preview/model/product_unit_pricing_measure.py +4 -4
  113. criteo_api_retailmedia_preview/model/products_custom_batch_request_entry.py +8 -8
  114. criteo_api_retailmedia_preview/model/promoted_product.py +4 -4
  115. criteo_api_retailmedia_preview/model/promoted_product_resource.py +4 -4
  116. criteo_api_retailmedia_preview/model/promoted_product_resource_collection_outcome.py +8 -8
  117. criteo_api_retailmedia_preview/model/report_data_response_resource.py +4 -4
  118. criteo_api_retailmedia_preview/model/report_detail_error.py +14 -14
  119. criteo_api_retailmedia_preview/model/report_detail_errors.py +8 -8
  120. criteo_api_retailmedia_preview/model/report_detail_warning.py +14 -14
  121. criteo_api_retailmedia_preview/model/report_ok_response.py +20 -20
  122. criteo_api_retailmedia_preview/model/report_outcome.py +5 -5
  123. criteo_api_retailmedia_preview/model/report_response.py +9 -9
  124. criteo_api_retailmedia_preview/model/resource_of_preferred_line_item_update_model_v2.py +4 -4
  125. criteo_api_retailmedia_preview/model/resource_of_preferred_line_item_v2.py +4 -4
  126. criteo_api_retailmedia_preview/model/resource_of_seller_preview.py +4 -4
  127. criteo_api_retailmedia_preview/model/resource_of_sku_data_preview.py +4 -4
  128. criteo_api_retailmedia_preview/model/resource_of_sku_search_request_preview.py +4 -4
  129. criteo_api_retailmedia_preview/model/retail_media_contactlist_amendment_attributes.py +8 -8
  130. criteo_api_retailmedia_preview/model/retail_media_keywords_review.py +271 -0
  131. criteo_api_retailmedia_preview/model/retail_media_keywords_review_result.py +271 -0
  132. criteo_api_retailmedia_preview/model/retail_media_seller.py +8 -8
  133. criteo_api_retailmedia_preview/model/review_set_state.py +278 -0
  134. criteo_api_retailmedia_preview/model/rm_algebra_node_v1.py +8 -8
  135. criteo_api_retailmedia_preview/model/rm_audience_entity_v1.py +20 -20
  136. criteo_api_retailmedia_preview/model/rm_audience_entity_v1_rm_audience_search_metadata_v1_list_response.py +9 -9
  137. criteo_api_retailmedia_preview/model/rm_audience_search_entity_v1.py +4 -4
  138. criteo_api_retailmedia_preview/model/rm_audience_search_entity_v1_resource.py +4 -4
  139. criteo_api_retailmedia_preview/model/rm_audience_search_metadata_v1.py +4 -4
  140. criteo_api_retailmedia_preview/model/rm_audience_segment_create_entity_v1.py +4 -4
  141. criteo_api_retailmedia_preview/model/rm_audience_segment_create_entity_v1_resource.py +4 -4
  142. criteo_api_retailmedia_preview/model/rm_audience_segment_entity_v1.py +30 -30
  143. criteo_api_retailmedia_preview/model/rm_audience_segment_entity_v1_list_response.py +5 -5
  144. criteo_api_retailmedia_preview/model/rm_audience_segment_entity_v1_rm_audience_segment_search_metadata_v1_list_response.py +9 -9
  145. criteo_api_retailmedia_preview/model/rm_audience_segment_id_entity_v1_list_response.py +5 -5
  146. criteo_api_retailmedia_preview/model/rm_audience_segment_search_entity_v1.py +4 -4
  147. criteo_api_retailmedia_preview/model/rm_audience_segment_search_entity_v1_resource.py +4 -4
  148. criteo_api_retailmedia_preview/model/rm_audience_segment_search_metadata_v1.py +4 -4
  149. criteo_api_retailmedia_preview/model/rm_audience_segment_update_entity_v1.py +8 -8
  150. criteo_api_retailmedia_preview/model/rm_contact_list_statistics_entity_v1.py +4 -4
  151. criteo_api_retailmedia_preview/model/rm_contact_list_statistics_entity_v1_response.py +5 -5
  152. criteo_api_retailmedia_preview/model/rm_contact_list_v1.py +4 -4
  153. criteo_api_retailmedia_preview/model/rm_events_v1.py +23 -23
  154. criteo_api_retailmedia_preview/model/rmca_common_problem.py +16 -16
  155. criteo_api_retailmedia_preview/model/sdk_api_rest_common_problem.py +16 -16
  156. criteo_api_retailmedia_preview/model/seller_catalog_request_v2.py +8 -8
  157. criteo_api_retailmedia_preview/model/seller_preview_response.py +5 -5
  158. criteo_api_retailmedia_preview/model/set_bid_model.py +4 -4
  159. criteo_api_retailmedia_preview/model/set_bids_model_resource.py +4 -4
  160. criteo_api_retailmedia_preview/model/sku_data_preview.py +60 -60
  161. criteo_api_retailmedia_preview/model/sku_data_preview_list_response.py +5 -5
  162. criteo_api_retailmedia_preview/model/sku_min_bid.py +8 -8
  163. criteo_api_retailmedia_preview/model/sku_search_request_preview.py +17 -17
  164. criteo_api_retailmedia_preview/model/sku_search_request_slim_preview.py +8 -8
  165. criteo_api_retailmedia_preview/model/sku_slim_data_preview.py +30 -30
  166. criteo_api_retailmedia_preview/model/sku_slim_data_preview_list_response.py +5 -5
  167. criteo_api_retailmedia_preview/model/sku_slim_data_v2.py +24 -24
  168. criteo_api_retailmedia_preview/model/sku_slim_data_v2_list_response.py +5 -5
  169. criteo_api_retailmedia_preview/model/status_response.py +20 -20
  170. criteo_api_retailmedia_preview/model/sync_attributed_transactions_report.py +41 -41
  171. criteo_api_retailmedia_preview/model/sync_attributed_transactions_report_resource.py +4 -4
  172. criteo_api_retailmedia_preview/model/sync_campaigns_report.py +48 -48
  173. criteo_api_retailmedia_preview/model/sync_campaigns_report_resource.py +4 -4
  174. criteo_api_retailmedia_preview/model/sync_line_items_report.py +52 -52
  175. criteo_api_retailmedia_preview/model/sync_line_items_report_resource.py +4 -4
  176. criteo_api_retailmedia_preview/model/template_variable_value.py +4 -4
  177. criteo_api_retailmedia_preview/model/update_balance_model_v2.py +8 -8
  178. criteo_api_retailmedia_preview/model/value_resource_account_fees_search_request.py +266 -0
  179. criteo_api_retailmedia_preview/model/value_resource_account_fees_update_request.py +266 -0
  180. criteo_api_retailmedia_preview/model/value_resource_account_fees_update_result.py +266 -0
  181. criteo_api_retailmedia_preview/model/value_resource_brand_id_search_request.py +4 -4
  182. criteo_api_retailmedia_preview/model/value_resource_collection_outcome_of_seller_search_result.py +5 -5
  183. criteo_api_retailmedia_preview/model/value_resource_collection_outcome_private_market_account_fees.py +274 -0
  184. criteo_api_retailmedia_preview/model/value_resource_cpc_min_bids_request.py +4 -4
  185. criteo_api_retailmedia_preview/model/value_resource_cpc_min_bids_response.py +4 -4
  186. criteo_api_retailmedia_preview/model/value_resource_input_account_fees_search_request.py +262 -0
  187. criteo_api_retailmedia_preview/model/value_resource_input_account_fees_update_request.py +262 -0
  188. criteo_api_retailmedia_preview/model/{json_api_request_of_brand_catalog_request_v2.py → value_resource_input_of_brand_catalog_request_v2.py} +8 -8
  189. criteo_api_retailmedia_preview/model/{json_api_request_of_seller_catalog_request_v2.py → value_resource_input_of_seller_catalog_request_v2.py} +8 -8
  190. criteo_api_retailmedia_preview/model/value_resource_input_retail_media_keywords_review.py +262 -0
  191. criteo_api_retailmedia_preview/model/{json_api_body_without_id_of_brand_catalog_request_v2_and_brand_catalog_request_v2.py → value_resource_of_brand_catalog_request_v2.py} +10 -16
  192. criteo_api_retailmedia_preview/model/value_resource_of_recommended_keywords_result.py +4 -4
  193. criteo_api_retailmedia_preview/model/{json_api_body_without_id_of_seller_catalog_request_v2_and_seller_catalog_request_v2.py → value_resource_of_seller_catalog_request_v2.py} +10 -16
  194. criteo_api_retailmedia_preview/model/value_resource_of_seller_search.py +4 -4
  195. criteo_api_retailmedia_preview/model/value_resource_of_seller_search_result.py +4 -4
  196. criteo_api_retailmedia_preview/model/value_resource_outcome_account_fees_update_result.py +274 -0
  197. criteo_api_retailmedia_preview/model/value_resource_outcome_cpc_min_bids_response.py +5 -5
  198. criteo_api_retailmedia_preview/model/value_resource_outcome_of_recommended_keywords_result.py +5 -5
  199. criteo_api_retailmedia_preview/model/value_resource_outcome_retail_media_keywords_review_result.py +274 -0
  200. criteo_api_retailmedia_preview/model/value_resource_partner_billing_report_request_v1.py +4 -4
  201. criteo_api_retailmedia_preview/model/value_resource_private_market_account_fees.py +266 -0
  202. criteo_api_retailmedia_preview/model/value_resource_retail_media_keywords_review.py +266 -0
  203. criteo_api_retailmedia_preview/model/value_resource_retail_media_keywords_review_result.py +266 -0
  204. criteo_api_retailmedia_preview/model/video_variable_value.py +16 -16
  205. criteo_api_retailmedia_preview/models/__init__.py +34 -6
  206. {criteo_api_retailmedia_sdk-0.0.250320.dist-info → criteo_api_retailmedia_sdk-0.0.250409.dist-info}/METADATA +3 -3
  207. {criteo_api_retailmedia_sdk-0.0.250320.dist-info → criteo_api_retailmedia_sdk-0.0.250409.dist-info}/RECORD +209 -181
  208. {criteo_api_retailmedia_sdk-0.0.250320.dist-info → criteo_api_retailmedia_sdk-0.0.250409.dist-info}/WHEEL +1 -1
  209. {criteo_api_retailmedia_sdk-0.0.250320.dist-info → criteo_api_retailmedia_sdk-0.0.250409.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,262 @@
1
+ """
2
+ Criteo API
3
+
4
+ Criteo API - RetailMedia # noqa: E501
5
+
6
+ The version of the OpenAPI document: Preview
7
+ Generated by: https://openapi-generator.tech
8
+ """
9
+
10
+
11
+ import re # noqa: F401
12
+ import sys # noqa: F401
13
+
14
+ from criteo_api_retailmedia_preview.model_utils import ( # noqa: F401
15
+ ApiTypeError,
16
+ ModelComposed,
17
+ ModelNormal,
18
+ ModelSimple,
19
+ cached_property,
20
+ change_keys_js_to_python,
21
+ convert_js_args_to_python_args,
22
+ date,
23
+ datetime,
24
+ file_type,
25
+ none_type,
26
+ validate_get_composed_info,
27
+ OpenApiModel
28
+ )
29
+ from criteo_api_retailmedia_preview.exceptions import ApiAttributeError
30
+
31
+
32
+ def lazy_import():
33
+ from criteo_api_retailmedia_preview.model.value_resource_retail_media_keywords_review import ValueResourceRetailMediaKeywordsReview
34
+ globals()['ValueResourceRetailMediaKeywordsReview'] = ValueResourceRetailMediaKeywordsReview
35
+
36
+
37
+ class ValueResourceInputRetailMediaKeywordsReview(ModelNormal):
38
+ """NOTE: This class is auto generated by OpenAPI Generator.
39
+ Ref: https://openapi-generator.tech
40
+
41
+ Do not edit the class manually.
42
+
43
+ Attributes:
44
+ allowed_values (dict): The key is the tuple path to the attribute
45
+ and the for var_name this is (var_name,). The value is a dict
46
+ with a capitalized key describing the allowed value and an allowed
47
+ value. These dicts store the allowed enum values.
48
+ attribute_map (dict): The key is attribute name
49
+ and the value is json key in definition.
50
+ discriminator_value_class_map (dict): A dict to go from the discriminator
51
+ variable value to the discriminator class name.
52
+ validations (dict): The key is the tuple path to the attribute
53
+ and the for var_name this is (var_name,). The value is a dict
54
+ that stores validations for max_length, min_length, max_items,
55
+ min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum,
56
+ inclusive_minimum, and regex.
57
+ additional_properties_type (tuple): A tuple of classes accepted
58
+ as additional properties values.
59
+ """
60
+
61
+ allowed_values = {
62
+ }
63
+
64
+ validations = {
65
+ }
66
+
67
+ additional_properties_type = None
68
+
69
+ _nullable = False
70
+
71
+ @cached_property
72
+ def openapi_types():
73
+ """
74
+ This must be a method because a model may have properties that are
75
+ of type self, this must run after the class is loaded
76
+
77
+ Returns
78
+ openapi_types (dict): The key is attribute name
79
+ and the value is attribute type.
80
+ """
81
+ lazy_import()
82
+ return {
83
+ 'data': (ValueResourceRetailMediaKeywordsReview,), # noqa: E501
84
+ }
85
+
86
+ @cached_property
87
+ def discriminator():
88
+ return None
89
+
90
+
91
+ attribute_map = {
92
+ 'data': 'data', # noqa: E501
93
+ }
94
+
95
+ read_only_vars = {
96
+ }
97
+
98
+ _composed_schemas = {}
99
+
100
+ @classmethod
101
+ @convert_js_args_to_python_args
102
+ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501
103
+ """ValueResourceInputRetailMediaKeywordsReview - a model defined in OpenAPI
104
+
105
+ Keyword Args:
106
+ _check_type (bool): if True, values for parameters in openapi_types
107
+ will be type checked and a TypeError will be
108
+ raised if the wrong type is input.
109
+ Defaults to True
110
+ _path_to_item (tuple/list): This is a list of keys or values to
111
+ drill down to the model in received_data
112
+ when deserializing a response
113
+ _spec_property_naming (bool): True if the variable names in the input data
114
+ are serialized names, as specified in the OpenAPI document.
115
+ False if the variable names in the input data
116
+ are pythonic names, e.g. snake case (default)
117
+ _configuration (Configuration): the instance to use when
118
+ deserializing a file_type parameter.
119
+ If passed, type conversion is attempted
120
+ If omitted no type conversion is done.
121
+ _visited_composed_classes (tuple): This stores a tuple of
122
+ classes that we have traveled through so that
123
+ if we see that class again we will not use its
124
+ discriminator again.
125
+ When traveling through a discriminator, the
126
+ composed schema that is
127
+ is traveled through is added to this set.
128
+ For example if Animal has a discriminator
129
+ petType and we pass in "Dog", and the class Dog
130
+ allOf includes Animal, we move through Animal
131
+ once using the discriminator, and pick Dog.
132
+ Then in Dog, we will make an instance of the
133
+ Animal class but this time we won't travel
134
+ through its discriminator because we passed in
135
+ _visited_composed_classes = (Animal,)
136
+ data (ValueResourceRetailMediaKeywordsReview): [optional] # noqa: E501
137
+ """
138
+
139
+ _check_type = kwargs.pop('_check_type', True)
140
+ _spec_property_naming = kwargs.pop('_spec_property_naming', True)
141
+ _path_to_item = kwargs.pop('_path_to_item', ())
142
+ _configuration = kwargs.pop('_configuration', None)
143
+ _visited_composed_classes = kwargs.pop('_visited_composed_classes', ())
144
+
145
+ self = super(OpenApiModel, cls).__new__(cls)
146
+
147
+ if args:
148
+ for arg in args:
149
+ if isinstance(arg, dict):
150
+ kwargs.update(arg)
151
+ else:
152
+ raise ApiTypeError(
153
+ "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % (
154
+ args,
155
+ self.__class__.__name__,
156
+ ),
157
+ path_to_item=_path_to_item,
158
+ valid_classes=(self.__class__,),
159
+ )
160
+
161
+ self._data_store = {}
162
+ self._check_type = _check_type
163
+ self._spec_property_naming = _spec_property_naming
164
+ self._path_to_item = _path_to_item
165
+ self._configuration = _configuration
166
+ self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
167
+
168
+ for var_name, var_value in kwargs.items():
169
+ if var_name not in self.attribute_map and \
170
+ self._configuration is not None and \
171
+ self._configuration.discard_unknown_keys and \
172
+ self.additional_properties_type is None:
173
+ # discard variable.
174
+ continue
175
+ setattr(self, var_name, var_value)
176
+ return self
177
+
178
+ required_properties = set([
179
+ '_data_store',
180
+ '_check_type',
181
+ '_spec_property_naming',
182
+ '_path_to_item',
183
+ '_configuration',
184
+ '_visited_composed_classes',
185
+ ])
186
+
187
+ @convert_js_args_to_python_args
188
+ def __init__(self, *args, **kwargs): # noqa: E501
189
+ """ValueResourceInputRetailMediaKeywordsReview - a model defined in OpenAPI
190
+
191
+ Keyword Args:
192
+ _check_type (bool): if True, values for parameters in openapi_types
193
+ will be type checked and a TypeError will be
194
+ raised if the wrong type is input.
195
+ Defaults to True
196
+ _path_to_item (tuple/list): This is a list of keys or values to
197
+ drill down to the model in received_data
198
+ when deserializing a response
199
+ _spec_property_naming (bool): True if the variable names in the input data
200
+ are serialized names, as specified in the OpenAPI document.
201
+ False if the variable names in the input data
202
+ are pythonic names, e.g. snake case (default)
203
+ _configuration (Configuration): the instance to use when
204
+ deserializing a file_type parameter.
205
+ If passed, type conversion is attempted
206
+ If omitted no type conversion is done.
207
+ _visited_composed_classes (tuple): This stores a tuple of
208
+ classes that we have traveled through so that
209
+ if we see that class again we will not use its
210
+ discriminator again.
211
+ When traveling through a discriminator, the
212
+ composed schema that is
213
+ is traveled through is added to this set.
214
+ For example if Animal has a discriminator
215
+ petType and we pass in "Dog", and the class Dog
216
+ allOf includes Animal, we move through Animal
217
+ once using the discriminator, and pick Dog.
218
+ Then in Dog, we will make an instance of the
219
+ Animal class but this time we won't travel
220
+ through its discriminator because we passed in
221
+ _visited_composed_classes = (Animal,)
222
+ data (ValueResourceRetailMediaKeywordsReview): [optional] # noqa: E501
223
+ """
224
+
225
+ _check_type = kwargs.pop('_check_type', True)
226
+ _spec_property_naming = kwargs.pop('_spec_property_naming', False)
227
+ _path_to_item = kwargs.pop('_path_to_item', ())
228
+ _configuration = kwargs.pop('_configuration', None)
229
+ _visited_composed_classes = kwargs.pop('_visited_composed_classes', ())
230
+
231
+ if args:
232
+ for arg in args:
233
+ if isinstance(arg, dict):
234
+ kwargs.update(arg)
235
+ else:
236
+ raise ApiTypeError(
237
+ "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % (
238
+ args,
239
+ self.__class__.__name__,
240
+ ),
241
+ path_to_item=_path_to_item,
242
+ valid_classes=(self.__class__,),
243
+ )
244
+
245
+ self._data_store = {}
246
+ self._check_type = _check_type
247
+ self._spec_property_naming = _spec_property_naming
248
+ self._path_to_item = _path_to_item
249
+ self._configuration = _configuration
250
+ self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
251
+
252
+ for var_name, var_value in kwargs.items():
253
+ if var_name not in self.attribute_map and \
254
+ self._configuration is not None and \
255
+ self._configuration.discard_unknown_keys and \
256
+ self.additional_properties_type is None:
257
+ # discard variable.
258
+ continue
259
+ setattr(self, var_name, var_value)
260
+ if var_name in self.read_only_vars:
261
+ raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate "
262
+ f"class with read only attributes.")
@@ -34,7 +34,7 @@ def lazy_import():
34
34
  globals()['BrandCatalogRequestV2'] = BrandCatalogRequestV2
35
35
 
36
36
 
37
- class JsonApiBodyWithoutIdOfBrandCatalogRequestV2AndBrandCatalogRequestV2(ModelNormal):
37
+ class ValueResourceOfBrandCatalogRequestV2(ModelNormal):
38
38
  """NOTE: This class is auto generated by OpenAPI Generator.
39
39
  Ref: https://openapi-generator.tech
40
40
 
@@ -73,7 +73,7 @@ class JsonApiBodyWithoutIdOfBrandCatalogRequestV2AndBrandCatalogRequestV2(ModelN
73
73
  lazy_import()
74
74
  return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501
75
75
 
76
- _nullable = False
76
+ _nullable = True
77
77
 
78
78
  @cached_property
79
79
  def openapi_types():
@@ -87,8 +87,8 @@ class JsonApiBodyWithoutIdOfBrandCatalogRequestV2AndBrandCatalogRequestV2(ModelN
87
87
  """
88
88
  lazy_import()
89
89
  return {
90
- 'type': (str,), # noqa: E501
91
90
  'attributes': (BrandCatalogRequestV2,), # noqa: E501
91
+ 'type': (str,), # noqa: E501
92
92
  }
93
93
 
94
94
  @cached_property
@@ -97,8 +97,8 @@ class JsonApiBodyWithoutIdOfBrandCatalogRequestV2AndBrandCatalogRequestV2(ModelN
97
97
 
98
98
 
99
99
  attribute_map = {
100
- 'type': 'type', # noqa: E501
101
100
  'attributes': 'attributes', # noqa: E501
101
+ 'type': 'type', # noqa: E501
102
102
  }
103
103
 
104
104
  read_only_vars = {
@@ -108,11 +108,8 @@ class JsonApiBodyWithoutIdOfBrandCatalogRequestV2AndBrandCatalogRequestV2(ModelN
108
108
 
109
109
  @classmethod
110
110
  @convert_js_args_to_python_args
111
- def _from_openapi_data(cls, type, *args, **kwargs): # noqa: E501
112
- """JsonApiBodyWithoutIdOfBrandCatalogRequestV2AndBrandCatalogRequestV2 - a model defined in OpenAPI
113
-
114
- Args:
115
- type (str):
111
+ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501
112
+ """ValueResourceOfBrandCatalogRequestV2 - a model defined in OpenAPI
116
113
 
117
114
  Keyword Args:
118
115
  _check_type (bool): if True, values for parameters in openapi_types
@@ -146,6 +143,7 @@ class JsonApiBodyWithoutIdOfBrandCatalogRequestV2AndBrandCatalogRequestV2(ModelN
146
143
  through its discriminator because we passed in
147
144
  _visited_composed_classes = (Animal,)
148
145
  attributes (BrandCatalogRequestV2): [optional] # noqa: E501
146
+ type (str): The Type of the resource.. [optional] # noqa: E501
149
147
  """
150
148
 
151
149
  _check_type = kwargs.pop('_check_type', True)
@@ -177,7 +175,6 @@ class JsonApiBodyWithoutIdOfBrandCatalogRequestV2AndBrandCatalogRequestV2(ModelN
177
175
  self._configuration = _configuration
178
176
  self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
179
177
 
180
- self.type = type
181
178
  for var_name, var_value in kwargs.items():
182
179
  if var_name not in self.attribute_map and \
183
180
  self._configuration is not None and \
@@ -198,11 +195,8 @@ class JsonApiBodyWithoutIdOfBrandCatalogRequestV2AndBrandCatalogRequestV2(ModelN
198
195
  ])
199
196
 
200
197
  @convert_js_args_to_python_args
201
- def __init__(self, type, *args, **kwargs): # noqa: E501
202
- """JsonApiBodyWithoutIdOfBrandCatalogRequestV2AndBrandCatalogRequestV2 - a model defined in OpenAPI
203
-
204
- Args:
205
- type (str):
198
+ def __init__(self, *args, **kwargs): # noqa: E501
199
+ """ValueResourceOfBrandCatalogRequestV2 - a model defined in OpenAPI
206
200
 
207
201
  Keyword Args:
208
202
  _check_type (bool): if True, values for parameters in openapi_types
@@ -236,6 +230,7 @@ class JsonApiBodyWithoutIdOfBrandCatalogRequestV2AndBrandCatalogRequestV2(ModelN
236
230
  through its discriminator because we passed in
237
231
  _visited_composed_classes = (Animal,)
238
232
  attributes (BrandCatalogRequestV2): [optional] # noqa: E501
233
+ type (str): The Type of the resource.. [optional] # noqa: E501
239
234
  """
240
235
 
241
236
  _check_type = kwargs.pop('_check_type', True)
@@ -265,7 +260,6 @@ class JsonApiBodyWithoutIdOfBrandCatalogRequestV2AndBrandCatalogRequestV2(ModelN
265
260
  self._configuration = _configuration
266
261
  self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
267
262
 
268
- self.type = type
269
263
  for var_name, var_value in kwargs.items():
270
264
  if var_name not in self.attribute_map and \
271
265
  self._configuration is not None and \
@@ -80,8 +80,8 @@ class ValueResourceOfRecommendedKeywordsResult(ModelNormal):
80
80
  """
81
81
  lazy_import()
82
82
  return {
83
- 'type': (str, none_type,), # noqa: E501
84
83
  'attributes': (RecommendedKeywordsResult,), # noqa: E501
84
+ 'type': (str, none_type,), # noqa: E501
85
85
  }
86
86
 
87
87
  @cached_property
@@ -90,8 +90,8 @@ class ValueResourceOfRecommendedKeywordsResult(ModelNormal):
90
90
 
91
91
 
92
92
  attribute_map = {
93
- 'type': 'type', # noqa: E501
94
93
  'attributes': 'attributes', # noqa: E501
94
+ 'type': 'type', # noqa: E501
95
95
  }
96
96
 
97
97
  read_only_vars = {
@@ -135,8 +135,8 @@ class ValueResourceOfRecommendedKeywordsResult(ModelNormal):
135
135
  Animal class but this time we won't travel
136
136
  through its discriminator because we passed in
137
137
  _visited_composed_classes = (Animal,)
138
- type (str, none_type): [optional] # noqa: E501
139
138
  attributes (RecommendedKeywordsResult): [optional] # noqa: E501
139
+ type (str, none_type): [optional] # noqa: E501
140
140
  """
141
141
 
142
142
  _check_type = kwargs.pop('_check_type', True)
@@ -222,8 +222,8 @@ class ValueResourceOfRecommendedKeywordsResult(ModelNormal):
222
222
  Animal class but this time we won't travel
223
223
  through its discriminator because we passed in
224
224
  _visited_composed_classes = (Animal,)
225
- type (str, none_type): [optional] # noqa: E501
226
225
  attributes (RecommendedKeywordsResult): [optional] # noqa: E501
226
+ type (str, none_type): [optional] # noqa: E501
227
227
  """
228
228
 
229
229
  _check_type = kwargs.pop('_check_type', True)
@@ -34,7 +34,7 @@ def lazy_import():
34
34
  globals()['SellerCatalogRequestV2'] = SellerCatalogRequestV2
35
35
 
36
36
 
37
- class JsonApiBodyWithoutIdOfSellerCatalogRequestV2AndSellerCatalogRequestV2(ModelNormal):
37
+ class ValueResourceOfSellerCatalogRequestV2(ModelNormal):
38
38
  """NOTE: This class is auto generated by OpenAPI Generator.
39
39
  Ref: https://openapi-generator.tech
40
40
 
@@ -73,7 +73,7 @@ class JsonApiBodyWithoutIdOfSellerCatalogRequestV2AndSellerCatalogRequestV2(Mode
73
73
  lazy_import()
74
74
  return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501
75
75
 
76
- _nullable = False
76
+ _nullable = True
77
77
 
78
78
  @cached_property
79
79
  def openapi_types():
@@ -87,8 +87,8 @@ class JsonApiBodyWithoutIdOfSellerCatalogRequestV2AndSellerCatalogRequestV2(Mode
87
87
  """
88
88
  lazy_import()
89
89
  return {
90
- 'type': (str,), # noqa: E501
91
90
  'attributes': (SellerCatalogRequestV2,), # noqa: E501
91
+ 'type': (str,), # noqa: E501
92
92
  }
93
93
 
94
94
  @cached_property
@@ -97,8 +97,8 @@ class JsonApiBodyWithoutIdOfSellerCatalogRequestV2AndSellerCatalogRequestV2(Mode
97
97
 
98
98
 
99
99
  attribute_map = {
100
- 'type': 'type', # noqa: E501
101
100
  'attributes': 'attributes', # noqa: E501
101
+ 'type': 'type', # noqa: E501
102
102
  }
103
103
 
104
104
  read_only_vars = {
@@ -108,11 +108,8 @@ class JsonApiBodyWithoutIdOfSellerCatalogRequestV2AndSellerCatalogRequestV2(Mode
108
108
 
109
109
  @classmethod
110
110
  @convert_js_args_to_python_args
111
- def _from_openapi_data(cls, type, *args, **kwargs): # noqa: E501
112
- """JsonApiBodyWithoutIdOfSellerCatalogRequestV2AndSellerCatalogRequestV2 - a model defined in OpenAPI
113
-
114
- Args:
115
- type (str):
111
+ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501
112
+ """ValueResourceOfSellerCatalogRequestV2 - a model defined in OpenAPI
116
113
 
117
114
  Keyword Args:
118
115
  _check_type (bool): if True, values for parameters in openapi_types
@@ -146,6 +143,7 @@ class JsonApiBodyWithoutIdOfSellerCatalogRequestV2AndSellerCatalogRequestV2(Mode
146
143
  through its discriminator because we passed in
147
144
  _visited_composed_classes = (Animal,)
148
145
  attributes (SellerCatalogRequestV2): [optional] # noqa: E501
146
+ type (str): The Type of the resource.. [optional] # noqa: E501
149
147
  """
150
148
 
151
149
  _check_type = kwargs.pop('_check_type', True)
@@ -177,7 +175,6 @@ class JsonApiBodyWithoutIdOfSellerCatalogRequestV2AndSellerCatalogRequestV2(Mode
177
175
  self._configuration = _configuration
178
176
  self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
179
177
 
180
- self.type = type
181
178
  for var_name, var_value in kwargs.items():
182
179
  if var_name not in self.attribute_map and \
183
180
  self._configuration is not None and \
@@ -198,11 +195,8 @@ class JsonApiBodyWithoutIdOfSellerCatalogRequestV2AndSellerCatalogRequestV2(Mode
198
195
  ])
199
196
 
200
197
  @convert_js_args_to_python_args
201
- def __init__(self, type, *args, **kwargs): # noqa: E501
202
- """JsonApiBodyWithoutIdOfSellerCatalogRequestV2AndSellerCatalogRequestV2 - a model defined in OpenAPI
203
-
204
- Args:
205
- type (str):
198
+ def __init__(self, *args, **kwargs): # noqa: E501
199
+ """ValueResourceOfSellerCatalogRequestV2 - a model defined in OpenAPI
206
200
 
207
201
  Keyword Args:
208
202
  _check_type (bool): if True, values for parameters in openapi_types
@@ -236,6 +230,7 @@ class JsonApiBodyWithoutIdOfSellerCatalogRequestV2AndSellerCatalogRequestV2(Mode
236
230
  through its discriminator because we passed in
237
231
  _visited_composed_classes = (Animal,)
238
232
  attributes (SellerCatalogRequestV2): [optional] # noqa: E501
233
+ type (str): The Type of the resource.. [optional] # noqa: E501
239
234
  """
240
235
 
241
236
  _check_type = kwargs.pop('_check_type', True)
@@ -265,7 +260,6 @@ class JsonApiBodyWithoutIdOfSellerCatalogRequestV2AndSellerCatalogRequestV2(Mode
265
260
  self._configuration = _configuration
266
261
  self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
267
262
 
268
- self.type = type
269
263
  for var_name, var_value in kwargs.items():
270
264
  if var_name not in self.attribute_map and \
271
265
  self._configuration is not None and \
@@ -80,8 +80,8 @@ class ValueResourceOfSellerSearch(ModelNormal):
80
80
  """
81
81
  lazy_import()
82
82
  return {
83
- 'type': (str, none_type,), # noqa: E501
84
83
  'attributes': (SellerSearch,), # noqa: E501
84
+ 'type': (str, none_type,), # noqa: E501
85
85
  }
86
86
 
87
87
  @cached_property
@@ -90,8 +90,8 @@ class ValueResourceOfSellerSearch(ModelNormal):
90
90
 
91
91
 
92
92
  attribute_map = {
93
- 'type': 'type', # noqa: E501
94
93
  'attributes': 'attributes', # noqa: E501
94
+ 'type': 'type', # noqa: E501
95
95
  }
96
96
 
97
97
  read_only_vars = {
@@ -135,8 +135,8 @@ class ValueResourceOfSellerSearch(ModelNormal):
135
135
  Animal class but this time we won't travel
136
136
  through its discriminator because we passed in
137
137
  _visited_composed_classes = (Animal,)
138
- type (str, none_type): Type of the resource.. [optional] # noqa: E501
139
138
  attributes (SellerSearch): [optional] # noqa: E501
139
+ type (str, none_type): Type of the resource.. [optional] # noqa: E501
140
140
  """
141
141
 
142
142
  _check_type = kwargs.pop('_check_type', True)
@@ -222,8 +222,8 @@ class ValueResourceOfSellerSearch(ModelNormal):
222
222
  Animal class but this time we won't travel
223
223
  through its discriminator because we passed in
224
224
  _visited_composed_classes = (Animal,)
225
- type (str, none_type): Type of the resource.. [optional] # noqa: E501
226
225
  attributes (SellerSearch): [optional] # noqa: E501
226
+ type (str, none_type): Type of the resource.. [optional] # noqa: E501
227
227
  """
228
228
 
229
229
  _check_type = kwargs.pop('_check_type', True)
@@ -80,8 +80,8 @@ class ValueResourceOfSellerSearchResult(ModelNormal):
80
80
  """
81
81
  lazy_import()
82
82
  return {
83
- 'type': (str, none_type,), # noqa: E501
84
83
  'attributes': (SellerSearchResult,), # noqa: E501
84
+ 'type': (str, none_type,), # noqa: E501
85
85
  }
86
86
 
87
87
  @cached_property
@@ -90,8 +90,8 @@ class ValueResourceOfSellerSearchResult(ModelNormal):
90
90
 
91
91
 
92
92
  attribute_map = {
93
- 'type': 'type', # noqa: E501
94
93
  'attributes': 'attributes', # noqa: E501
94
+ 'type': 'type', # noqa: E501
95
95
  }
96
96
 
97
97
  read_only_vars = {
@@ -135,8 +135,8 @@ class ValueResourceOfSellerSearchResult(ModelNormal):
135
135
  Animal class but this time we won't travel
136
136
  through its discriminator because we passed in
137
137
  _visited_composed_classes = (Animal,)
138
- type (str, none_type): Type of the resource.. [optional] # noqa: E501
139
138
  attributes (SellerSearchResult): [optional] # noqa: E501
139
+ type (str, none_type): Type of the resource.. [optional] # noqa: E501
140
140
  """
141
141
 
142
142
  _check_type = kwargs.pop('_check_type', True)
@@ -222,8 +222,8 @@ class ValueResourceOfSellerSearchResult(ModelNormal):
222
222
  Animal class but this time we won't travel
223
223
  through its discriminator because we passed in
224
224
  _visited_composed_classes = (Animal,)
225
- type (str, none_type): Type of the resource.. [optional] # noqa: E501
226
225
  attributes (SellerSearchResult): [optional] # noqa: E501
226
+ type (str, none_type): Type of the resource.. [optional] # noqa: E501
227
227
  """
228
228
 
229
229
  _check_type = kwargs.pop('_check_type', True)