criteo-api-retailmedia-sdk 2025.1.0.250327__py3-none-any.whl → 2025.1.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 (168) hide show
  1. {criteo_api_retailmedia_sdk-2025.1.0.250327.dist-info → criteo_api_retailmedia_sdk-2025.1.0.250409.dist-info}/METADATA +3 -3
  2. {criteo_api_retailmedia_sdk-2025.1.0.250327.dist-info → criteo_api_retailmedia_sdk-2025.1.0.250409.dist-info}/RECORD +168 -168
  3. criteo_api_retailmedia_v2025_01/__init__.py +1 -1
  4. criteo_api_retailmedia_v2025_01/api/analytics_api.py +2 -2
  5. criteo_api_retailmedia_v2025_01/api/balance_api.py +12 -12
  6. criteo_api_retailmedia_v2025_01/api/campaign_api.py +30 -30
  7. criteo_api_retailmedia_v2025_01/api_client.py +1 -1
  8. criteo_api_retailmedia_v2025_01/configuration.py +1 -1
  9. criteo_api_retailmedia_v2025_01/model/add_funds_to_balance_v2.py +4 -4
  10. criteo_api_retailmedia_v2025_01/model/add_remove_keyword_model.py +8 -8
  11. criteo_api_retailmedia_v2025_01/model/add_remove_keywords_model_resource.py +4 -4
  12. criteo_api_retailmedia_v2025_01/model/add_to_basket_target202110_response.py +5 -5
  13. criteo_api_retailmedia_v2025_01/model/application_summary_model.py +8 -8
  14. criteo_api_retailmedia_v2025_01/model/application_summary_model_resource.py +4 -4
  15. criteo_api_retailmedia_v2025_01/model/application_summary_model_response.py +5 -5
  16. criteo_api_retailmedia_v2025_01/model/asset_response.py +7 -7
  17. criteo_api_retailmedia_v2025_01/model/async_campaigns_report.py +79 -79
  18. criteo_api_retailmedia_v2025_01/model/async_campaigns_report_resource.py +4 -4
  19. criteo_api_retailmedia_v2025_01/model/async_line_items_report.py +79 -79
  20. criteo_api_retailmedia_v2025_01/model/async_line_items_report_resource.py +4 -4
  21. criteo_api_retailmedia_v2025_01/model/async_report_response.py +5 -5
  22. criteo_api_retailmedia_v2025_01/model/async_revenue_report.py +104 -104
  23. criteo_api_retailmedia_v2025_01/model/async_revenue_report_resource.py +4 -4
  24. criteo_api_retailmedia_v2025_01/model/auction_line_item_paged_list_response.py +9 -9
  25. criteo_api_retailmedia_v2025_01/model/auction_line_item_response.py +5 -5
  26. criteo_api_retailmedia_v2025_01/model/audience_error.py +16 -16
  27. criteo_api_retailmedia_v2025_01/model/audience_target202110_response.py +5 -5
  28. criteo_api_retailmedia_v2025_01/model/audience_warning.py +22 -22
  29. criteo_api_retailmedia_v2025_01/model/balance_campaign202110_paged_list_response.py +9 -9
  30. criteo_api_retailmedia_v2025_01/model/balance_history_change_data_capture_v1.py +14 -14
  31. criteo_api_retailmedia_v2025_01/model/balance_response_v2.py +45 -45
  32. criteo_api_retailmedia_v2025_01/model/balance_response_v2_response.py +5 -5
  33. criteo_api_retailmedia_v2025_01/model/campaign_attributes_v202301.py +57 -57
  34. criteo_api_retailmedia_v2025_01/model/campaign_budget_overrides.py +8 -8
  35. criteo_api_retailmedia_v2025_01/model/campaign_v202301.py +82 -82
  36. criteo_api_retailmedia_v2025_01/model/category202204.py +8 -8
  37. criteo_api_retailmedia_v2025_01/model/category202204_list_response.py +5 -5
  38. criteo_api_retailmedia_v2025_01/model/change_dates_of_balance_v2.py +4 -4
  39. criteo_api_retailmedia_v2025_01/model/change_details_v1.py +8 -8
  40. criteo_api_retailmedia_v2025_01/model/common_error.py +16 -16
  41. criteo_api_retailmedia_v2025_01/model/common_line_item_paged_list_response.py +9 -9
  42. criteo_api_retailmedia_v2025_01/model/common_line_item_response.py +5 -5
  43. criteo_api_retailmedia_v2025_01/model/common_problem.py +20 -20
  44. criteo_api_retailmedia_v2025_01/model/common_warning.py +16 -16
  45. criteo_api_retailmedia_v2025_01/model/create_balance_v2.py +12 -12
  46. criteo_api_retailmedia_v2025_01/model/creative2.py +50 -50
  47. criteo_api_retailmedia_v2025_01/model/creative202110.py +16 -12
  48. criteo_api_retailmedia_v2025_01/model/creative202110_list_response.py +5 -5
  49. criteo_api_retailmedia_v2025_01/model/creative202210.py +40 -36
  50. criteo_api_retailmedia_v2025_01/model/creative202210_response.py +5 -5
  51. criteo_api_retailmedia_v2025_01/model/creative2_list_response.py +5 -5
  52. criteo_api_retailmedia_v2025_01/model/creative2_response.py +5 -5
  53. criteo_api_retailmedia_v2025_01/model/daily_line_item_budget_override.py +4 -4
  54. criteo_api_retailmedia_v2025_01/model/editable_campaign_attributes_v202301.py +32 -32
  55. criteo_api_retailmedia_v2025_01/model/entity_resource_of_retail_media_account.py +4 -4
  56. criteo_api_retailmedia_v2025_01/model/entity_resource_outcome_of_retail_media_account.py +5 -5
  57. criteo_api_retailmedia_v2025_01/model/external_account.py +18 -18
  58. criteo_api_retailmedia_v2025_01/model/external_add_to_basket_ids_update_model202110.py +4 -4
  59. criteo_api_retailmedia_v2025_01/model/external_add_to_basket_target202110.py +4 -4
  60. criteo_api_retailmedia_v2025_01/model/external_auction_line_item.py +44 -44
  61. criteo_api_retailmedia_v2025_01/model/external_auction_line_item_create_model.py +30 -30
  62. criteo_api_retailmedia_v2025_01/model/external_auction_line_item_update_model.py +20 -20
  63. criteo_api_retailmedia_v2025_01/model/external_audience_target202110.py +8 -8
  64. criteo_api_retailmedia_v2025_01/model/external_catalog_request.py +4 -4
  65. criteo_api_retailmedia_v2025_01/model/external_catalog_status.py +20 -20
  66. criteo_api_retailmedia_v2025_01/model/external_common_line_item.py +34 -34
  67. criteo_api_retailmedia_v2025_01/model/external_line_item_bid_multipliers_v2.py +28 -28
  68. criteo_api_retailmedia_v2025_01/model/external_line_item_capping_v2.py +9 -9
  69. criteo_api_retailmedia_v2025_01/model/external_line_item_page_v2.py +3 -3
  70. criteo_api_retailmedia_v2025_01/model/external_preferred_line_item_create_model_v2.py +24 -24
  71. criteo_api_retailmedia_v2025_01/model/external_preferred_line_item_update_model_v2.py +20 -20
  72. criteo_api_retailmedia_v2025_01/model/external_preferred_line_item_v2.py +36 -36
  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_variables_specification.py +4 -4
  78. criteo_api_retailmedia_v2025_01/model/grant_consent_model.py +8 -8
  79. criteo_api_retailmedia_v2025_01/model/grant_consent_model_value_resource.py +4 -4
  80. criteo_api_retailmedia_v2025_01/model/input_resource_of_auction_line_item_create_model.py +4 -4
  81. criteo_api_retailmedia_v2025_01/model/input_resource_of_preferred_line_item_create_model_v2.py +4 -4
  82. criteo_api_retailmedia_v2025_01/model/json_api_page_response_of_account.py +8 -8
  83. criteo_api_retailmedia_v2025_01/model/json_api_page_response_of_brand.py +8 -8
  84. criteo_api_retailmedia_v2025_01/model/json_api_page_response_of_campaign_v202301.py +8 -8
  85. criteo_api_retailmedia_v2025_01/model/json_api_page_response_of_retailer.py +8 -8
  86. criteo_api_retailmedia_v2025_01/model/keyword_data_model.py +12 -12
  87. criteo_api_retailmedia_v2025_01/model/keyword_target202110_response.py +5 -5
  88. criteo_api_retailmedia_v2025_01/model/keywords.py +18 -18
  89. criteo_api_retailmedia_v2025_01/model/keywords_model_resource.py +4 -4
  90. criteo_api_retailmedia_v2025_01/model/keywords_model_response.py +4 -4
  91. criteo_api_retailmedia_v2025_01/model/line_item_bid_multipliers_v2_response.py +5 -5
  92. criteo_api_retailmedia_v2025_01/model/line_item_budget_overrides.py +8 -8
  93. criteo_api_retailmedia_v2025_01/model/metadata.py +8 -8
  94. criteo_api_retailmedia_v2025_01/model/page_metadata.py +16 -16
  95. criteo_api_retailmedia_v2025_01/model/page_of_balance_history_change_data_capture_v1.py +8 -8
  96. criteo_api_retailmedia_v2025_01/model/page_type_environment2.py +14 -14
  97. criteo_api_retailmedia_v2025_01/model/page_type_environment202210.py +14 -14
  98. criteo_api_retailmedia_v2025_01/model/paged_resource_collection_outcome_of_balance_response_v2.py +9 -9
  99. criteo_api_retailmedia_v2025_01/model/preferred_line_item_v2_paged_list_response.py +9 -9
  100. criteo_api_retailmedia_v2025_01/model/preferred_line_item_v2_response.py +5 -5
  101. criteo_api_retailmedia_v2025_01/model/problem_details.py +20 -20
  102. criteo_api_retailmedia_v2025_01/model/product_metadata.py +8 -8
  103. criteo_api_retailmedia_v2025_01/model/promoted_product.py +4 -4
  104. criteo_api_retailmedia_v2025_01/model/promoted_product_resource.py +4 -4
  105. criteo_api_retailmedia_v2025_01/model/promoted_product_resource_collection_outcome.py +8 -8
  106. criteo_api_retailmedia_v2025_01/model/report_outcome.py +5 -5
  107. criteo_api_retailmedia_v2025_01/model/resource_of_auction_line_item.py +4 -4
  108. criteo_api_retailmedia_v2025_01/model/resource_of_auction_line_item_update_model.py +4 -4
  109. criteo_api_retailmedia_v2025_01/model/resource_of_balance_campaign202110.py +4 -4
  110. criteo_api_retailmedia_v2025_01/model/resource_of_common_line_item.py +4 -4
  111. criteo_api_retailmedia_v2025_01/model/resource_of_preferred_line_item_update_model_v2.py +4 -4
  112. criteo_api_retailmedia_v2025_01/model/resource_of_preferred_line_item_v2.py +4 -4
  113. criteo_api_retailmedia_v2025_01/model/retail_media_contactlist_amendment_attributes.py +8 -8
  114. criteo_api_retailmedia_v2025_01/model/rm_algebra_node_v1.py +8 -8
  115. criteo_api_retailmedia_v2025_01/model/rm_audience_entity_v1.py +20 -20
  116. criteo_api_retailmedia_v2025_01/model/rm_audience_entity_v1_rm_audience_search_metadata_v1_list_response.py +9 -9
  117. criteo_api_retailmedia_v2025_01/model/rm_audience_search_entity_v1.py +4 -4
  118. criteo_api_retailmedia_v2025_01/model/rm_audience_search_entity_v1_resource.py +4 -4
  119. criteo_api_retailmedia_v2025_01/model/rm_audience_search_metadata_v1.py +4 -4
  120. criteo_api_retailmedia_v2025_01/model/rm_audience_segment_create_entity_v1.py +4 -4
  121. criteo_api_retailmedia_v2025_01/model/rm_audience_segment_create_entity_v1_resource.py +4 -4
  122. criteo_api_retailmedia_v2025_01/model/rm_audience_segment_entity_v1.py +30 -30
  123. criteo_api_retailmedia_v2025_01/model/rm_audience_segment_entity_v1_list_response.py +5 -5
  124. criteo_api_retailmedia_v2025_01/model/rm_audience_segment_entity_v1_rm_audience_segment_search_metadata_v1_list_response.py +9 -9
  125. criteo_api_retailmedia_v2025_01/model/rm_audience_segment_id_entity_v1_list_response.py +5 -5
  126. criteo_api_retailmedia_v2025_01/model/rm_audience_segment_search_entity_v1.py +4 -4
  127. criteo_api_retailmedia_v2025_01/model/rm_audience_segment_search_entity_v1_resource.py +4 -4
  128. criteo_api_retailmedia_v2025_01/model/rm_audience_segment_search_metadata_v1.py +4 -4
  129. criteo_api_retailmedia_v2025_01/model/rm_audience_segment_update_entity_v1.py +8 -8
  130. criteo_api_retailmedia_v2025_01/model/rm_contact_list_statistics_entity_v1.py +4 -4
  131. criteo_api_retailmedia_v2025_01/model/rm_contact_list_statistics_entity_v1_response.py +5 -5
  132. criteo_api_retailmedia_v2025_01/model/rm_contact_list_v1.py +4 -4
  133. criteo_api_retailmedia_v2025_01/model/rm_events_v1.py +23 -23
  134. criteo_api_retailmedia_v2025_01/model/rmca_common_problem.py +16 -16
  135. criteo_api_retailmedia_v2025_01/model/sdk_api_rest_common_problem.py +16 -16
  136. criteo_api_retailmedia_v2025_01/model/section.py +4 -4
  137. criteo_api_retailmedia_v2025_01/model/set_bid_model.py +4 -4
  138. criteo_api_retailmedia_v2025_01/model/set_bids_model_resource.py +4 -4
  139. criteo_api_retailmedia_v2025_01/model/status_response.py +20 -20
  140. criteo_api_retailmedia_v2025_01/model/store_target202110_response.py +5 -5
  141. criteo_api_retailmedia_v2025_01/model/template.py +24 -24
  142. criteo_api_retailmedia_v2025_01/model/template_list_response.py +5 -5
  143. criteo_api_retailmedia_v2025_01/model/template_response.py +5 -5
  144. criteo_api_retailmedia_v2025_01/model/template_variable.py +4 -4
  145. criteo_api_retailmedia_v2025_01/model/template_variable_value.py +4 -4
  146. criteo_api_retailmedia_v2025_01/model/update_balance_model_v2.py +8 -8
  147. criteo_api_retailmedia_v2025_01/model/value_resource_collection_outcome_of_retail_media_seller.py +5 -5
  148. criteo_api_retailmedia_v2025_01/model/value_resource_of_campaign_budget_overrides.py +4 -4
  149. criteo_api_retailmedia_v2025_01/model/value_resource_of_line_item_budget_overrides.py +4 -4
  150. criteo_api_retailmedia_v2025_01/model/value_resource_of_recommended_keywords_result.py +4 -4
  151. criteo_api_retailmedia_v2025_01/model/value_resource_of_retail_media_brand_account_creation.py +4 -4
  152. criteo_api_retailmedia_v2025_01/model/value_resource_of_retail_media_brands.py +4 -4
  153. criteo_api_retailmedia_v2025_01/model/value_resource_of_retail_media_seller.py +4 -4
  154. criteo_api_retailmedia_v2025_01/model/value_resource_of_retail_media_seller_account_creation.py +4 -4
  155. criteo_api_retailmedia_v2025_01/model/value_resource_outcome_of_campaign_budget_overrides.py +5 -5
  156. criteo_api_retailmedia_v2025_01/model/value_resource_outcome_of_line_item_budget_overrides.py +5 -5
  157. criteo_api_retailmedia_v2025_01/model/value_resource_outcome_of_recommended_keywords_result.py +5 -5
  158. criteo_api_retailmedia_v2025_01/model/value_resource_outcome_of_retail_media_brands.py +5 -5
  159. criteo_api_retailmedia_v2025_01/model/value_type_resource_of_add_to_basket_ids_update_model202110.py +4 -4
  160. criteo_api_retailmedia_v2025_01/model/value_type_resource_of_add_to_basket_target202110.py +4 -4
  161. criteo_api_retailmedia_v2025_01/model/value_type_resource_of_audience_ids_update_model202110.py +4 -4
  162. criteo_api_retailmedia_v2025_01/model/value_type_resource_of_audience_target202110.py +4 -4
  163. criteo_api_retailmedia_v2025_01/model/value_type_resource_of_keyword_target202110.py +4 -4
  164. criteo_api_retailmedia_v2025_01/model/value_type_resource_of_store_ids_update_model202110.py +4 -4
  165. criteo_api_retailmedia_v2025_01/model/value_type_resource_of_store_target202110.py +4 -4
  166. criteo_api_retailmedia_v2025_01/model/video_variable_value.py +16 -16
  167. {criteo_api_retailmedia_sdk-2025.1.0.250327.dist-info → criteo_api_retailmedia_sdk-2025.1.0.250409.dist-info}/WHEEL +0 -0
  168. {criteo_api_retailmedia_sdk-2025.1.0.250327.dist-info → criteo_api_retailmedia_sdk-2025.1.0.250409.dist-info}/top_level.txt +0 -0
@@ -90,8 +90,8 @@ class AsyncReportResponse(ModelNormal):
90
90
  lazy_import()
91
91
  return {
92
92
  'data': (StatusResponseResource,), # noqa: E501
93
- 'warnings': ([CommonProblem], none_type,), # noqa: E501
94
93
  'errors': ([CommonProblem], none_type,), # noqa: E501
94
+ 'warnings': ([CommonProblem], none_type,), # noqa: E501
95
95
  }
96
96
 
97
97
  @cached_property
@@ -101,13 +101,13 @@ class AsyncReportResponse(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 AsyncReportResponse(ModelNormal):
149
149
  through its discriminator because we passed in
150
150
  _visited_composed_classes = (Animal,)
151
151
  data (StatusResponseResource): [optional] # noqa: E501
152
- warnings ([CommonProblem], none_type): [optional] # noqa: E501
153
152
  errors ([CommonProblem], none_type): [optional] # noqa: E501
153
+ warnings ([CommonProblem], none_type): [optional] # noqa: E501
154
154
  """
155
155
 
156
156
  _check_type = kwargs.pop('_check_type', True)
@@ -237,8 +237,8 @@ class AsyncReportResponse(ModelNormal):
237
237
  through its discriminator because we passed in
238
238
  _visited_composed_classes = (Animal,)
239
239
  data (StatusResponseResource): [optional] # noqa: E501
240
- warnings ([CommonProblem], none_type): [optional] # noqa: E501
241
240
  errors ([CommonProblem], none_type): [optional] # noqa: E501
241
+ warnings ([CommonProblem], none_type): [optional] # noqa: E501
242
242
  """
243
243
 
244
244
  _check_type = kwargs.pop('_check_type', True)
@@ -55,68 +55,27 @@ class AsyncRevenueReport(ModelNormal):
55
55
  """
56
56
 
57
57
  allowed_values = {
58
- ('report_type',): {
59
- 'ADVERTISER': "advertiser",
60
- 'ENVIRONMENT': "environment",
61
- 'PAGETYPE': "pageType",
62
- 'PRODUCTCATEGORY': "productCategory",
58
+ ('advertiser_types',): {
59
+ 'RETAILER': "retailer",
63
60
  'BRAND': "brand",
64
- },
65
- ('revenue_type',): {
66
- 'AUCTION': "auction",
67
- 'PREFERRED': "preferred",
68
- },
69
- ('sold_by',): {
70
- 'DIRECTSOLD': "directSold",
71
- 'INDIRECTSOLD': "indirectSold",
72
- 'PRIVATEMARKET': "privateMarket",
61
+ 'SELLER': "seller",
73
62
  },
74
63
  ('buy_type',): {
75
64
  'AUCTION': "auction",
76
65
  'PREFERREDDEALS': "preferredDeals",
77
66
  'SPONSORSHIP': "sponsorship",
78
67
  },
79
- ('advertiser_types',): {
80
- 'RETAILER': "retailer",
81
- 'BRAND': "brand",
82
- 'SELLER': "seller",
83
- },
84
- ('sku_relations',): {
85
- 'SAMESKU': "sameSku",
86
- 'SAMEPARENTSKU': "sameParentSku",
87
- 'SAMECATEGORY': "sameCategory",
88
- 'SAMEBRAND': "sameBrand",
89
- 'SAMESELLER': "sameSeller",
90
- },
91
- ('format',): {
92
- 'JSON': "json",
93
- 'JSON-COMPACT': "json-compact",
94
- 'JSON-NEWLINE': "json-newline",
95
- 'CSV': "csv",
96
- },
97
68
  ('campaign_type',): {
98
69
  'ALL': "all",
99
70
  'SPONSOREDPRODUCTS': "sponsoredProducts",
100
71
  'ONSITEDISPLAYS': "onSiteDisplays",
101
72
  },
102
- ('sales_channel',): {
103
- 'ALL': "all",
104
- 'OFFLINE': "offline",
105
- 'ONLINE': "online",
106
- },
107
73
  ('click_attribution_window',): {
108
74
  'NONE': "none",
109
75
  '7D': "7D",
110
76
  '14D': "14D",
111
77
  '30D': "30D",
112
78
  },
113
- ('view_attribution_window',): {
114
- 'NONE': "none",
115
- '1D': "1D",
116
- '7D': "7D",
117
- '14D': "14D",
118
- '30D': "30D",
119
- },
120
79
  ('dimensions',): {
121
80
  'DATE': "date",
122
81
  'HOUR': "hour",
@@ -174,6 +133,12 @@ class AsyncRevenueReport(ModelNormal):
174
133
  'TAXONOMY7ID': "taxonomy7Id",
175
134
  'TAXONOMY7NAME': "taxonomy7Name",
176
135
  },
136
+ ('format',): {
137
+ 'JSON': "json",
138
+ 'JSON-COMPACT': "json-compact",
139
+ 'JSON-NEWLINE': "json-newline",
140
+ 'CSV': "csv",
141
+ },
177
142
  ('metrics',): {
178
143
  'NUMBEROFCAMPAIGNS': "numberOfCampaigns",
179
144
  'NUMBEROFLINEITEMS': "numberOfLineItems",
@@ -220,6 +185,41 @@ class AsyncRevenueReport(ModelNormal):
220
185
  'UNIQUEVISITORS': "uniqueVisitors",
221
186
  'FREQUENCY': "frequency",
222
187
  },
188
+ ('report_type',): {
189
+ 'ADVERTISER': "advertiser",
190
+ 'ENVIRONMENT': "environment",
191
+ 'PAGETYPE': "pageType",
192
+ 'PRODUCTCATEGORY': "productCategory",
193
+ 'BRAND': "brand",
194
+ },
195
+ ('revenue_type',): {
196
+ 'AUCTION': "auction",
197
+ 'PREFERRED': "preferred",
198
+ },
199
+ ('sales_channel',): {
200
+ 'ALL': "all",
201
+ 'OFFLINE': "offline",
202
+ 'ONLINE': "online",
203
+ },
204
+ ('sku_relations',): {
205
+ 'SAMESKU': "sameSku",
206
+ 'SAMEPARENTSKU': "sameParentSku",
207
+ 'SAMECATEGORY': "sameCategory",
208
+ 'SAMEBRAND': "sameBrand",
209
+ 'SAMESELLER': "sameSeller",
210
+ },
211
+ ('sold_by',): {
212
+ 'DIRECTSOLD': "directSold",
213
+ 'INDIRECTSOLD': "indirectSold",
214
+ 'PRIVATEMARKET': "privateMarket",
215
+ },
216
+ ('view_attribution_window',): {
217
+ 'NONE': "none",
218
+ '1D': "1D",
219
+ '7D': "7D",
220
+ '14D': "14D",
221
+ '30D': "30D",
222
+ },
223
223
  }
224
224
 
225
225
  validations = {
@@ -246,28 +246,28 @@ class AsyncRevenueReport(ModelNormal):
246
246
  and the value is attribute type.
247
247
  """
248
248
  return {
249
- 'start_date': (datetime,), # noqa: E501
250
249
  'end_date': (datetime,), # noqa: E501
251
- 'ids': ([str],), # noqa: E501
252
- 'id': (str,), # noqa: E501
253
- 'retailer_ids': ([str],), # noqa: E501
250
+ 'start_date': (datetime,), # noqa: E501
254
251
  'account_ids': ([str],), # noqa: E501
255
- 'campaign_ids': ([str],), # noqa: E501
256
- 'line_item_ids': ([str],), # noqa: E501
257
- 'report_type': (str,), # noqa: E501
258
- 'revenue_type': (str,), # noqa: E501
259
- 'sold_by': (str,), # noqa: E501
260
- 'buy_type': (str,), # noqa: E501
261
252
  'advertiser_types': ([str],), # noqa: E501
262
- 'sku_relations': ([str],), # noqa: E501
263
- 'format': (str,), # noqa: E501
253
+ 'buy_type': (str,), # noqa: E501
254
+ 'campaign_ids': ([str],), # noqa: E501
264
255
  'campaign_type': (str,), # noqa: E501
265
- 'sales_channel': (str,), # noqa: E501
266
256
  'click_attribution_window': (str,), # noqa: E501
267
- 'view_attribution_window': (str,), # noqa: E501
268
257
  'dimensions': ([str],), # noqa: E501
258
+ 'format': (str,), # noqa: E501
259
+ 'id': (str,), # noqa: E501
260
+ 'ids': ([str],), # noqa: E501
261
+ 'line_item_ids': ([str],), # noqa: E501
269
262
  'metrics': ([str],), # noqa: E501
263
+ 'report_type': (str,), # noqa: E501
264
+ 'retailer_ids': ([str],), # noqa: E501
265
+ 'revenue_type': (str,), # noqa: E501
266
+ 'sales_channel': (str,), # noqa: E501
267
+ 'sku_relations': ([str],), # noqa: E501
268
+ 'sold_by': (str,), # noqa: E501
270
269
  'timezone': (str,), # noqa: E501
270
+ 'view_attribution_window': (str,), # noqa: E501
271
271
  }
272
272
 
273
273
  @cached_property
@@ -276,28 +276,28 @@ class AsyncRevenueReport(ModelNormal):
276
276
 
277
277
 
278
278
  attribute_map = {
279
- 'start_date': 'startDate', # noqa: E501
280
279
  'end_date': 'endDate', # noqa: E501
281
- 'ids': 'ids', # noqa: E501
282
- 'id': 'id', # noqa: E501
283
- 'retailer_ids': 'retailerIds', # noqa: E501
280
+ 'start_date': 'startDate', # noqa: E501
284
281
  'account_ids': 'accountIds', # noqa: E501
285
- 'campaign_ids': 'campaignIds', # noqa: E501
286
- 'line_item_ids': 'lineItemIds', # noqa: E501
287
- 'report_type': 'reportType', # noqa: E501
288
- 'revenue_type': 'revenueType', # noqa: E501
289
- 'sold_by': 'soldBy', # noqa: E501
290
- 'buy_type': 'buyType', # noqa: E501
291
282
  'advertiser_types': 'advertiserTypes', # noqa: E501
292
- 'sku_relations': 'skuRelations', # noqa: E501
293
- 'format': 'format', # noqa: E501
283
+ 'buy_type': 'buyType', # noqa: E501
284
+ 'campaign_ids': 'campaignIds', # noqa: E501
294
285
  'campaign_type': 'campaignType', # noqa: E501
295
- 'sales_channel': 'salesChannel', # noqa: E501
296
286
  'click_attribution_window': 'clickAttributionWindow', # noqa: E501
297
- 'view_attribution_window': 'viewAttributionWindow', # noqa: E501
298
287
  'dimensions': 'dimensions', # noqa: E501
288
+ 'format': 'format', # noqa: E501
289
+ 'id': 'id', # noqa: E501
290
+ 'ids': 'ids', # noqa: E501
291
+ 'line_item_ids': 'lineItemIds', # noqa: E501
299
292
  'metrics': 'metrics', # noqa: E501
293
+ 'report_type': 'reportType', # noqa: E501
294
+ 'retailer_ids': 'retailerIds', # noqa: E501
295
+ 'revenue_type': 'revenueType', # noqa: E501
296
+ 'sales_channel': 'salesChannel', # noqa: E501
297
+ 'sku_relations': 'skuRelations', # noqa: E501
298
+ 'sold_by': 'soldBy', # noqa: E501
300
299
  'timezone': 'timezone', # noqa: E501
300
+ 'view_attribution_window': 'viewAttributionWindow', # noqa: E501
301
301
  }
302
302
 
303
303
  read_only_vars = {
@@ -307,12 +307,12 @@ class AsyncRevenueReport(ModelNormal):
307
307
 
308
308
  @classmethod
309
309
  @convert_js_args_to_python_args
310
- def _from_openapi_data(cls, start_date, end_date, *args, **kwargs): # noqa: E501
310
+ def _from_openapi_data(cls, end_date, start_date, *args, **kwargs): # noqa: E501
311
311
  """AsyncRevenueReport - a model defined in OpenAPI
312
312
 
313
313
  Args:
314
- start_date (datetime): Start date
315
314
  end_date (datetime): End date
315
+ start_date (datetime): Start date
316
316
 
317
317
  Keyword Args:
318
318
  _check_type (bool): if True, values for parameters in openapi_types
@@ -345,26 +345,26 @@ class AsyncRevenueReport(ModelNormal):
345
345
  Animal class but this time we won't travel
346
346
  through its discriminator because we passed in
347
347
  _visited_composed_classes = (Animal,)
348
- ids ([str]): Supply account ids to report on. [optional] # noqa: E501
349
- id (str): Supply account id to report on. [optional] # noqa: E501
350
- retailer_ids ([str]): Retailer ids to filter. [optional] # noqa: E501
351
348
  account_ids ([str]): Account ids to filter. [optional] # noqa: E501
352
- campaign_ids ([str]): Campaign ids to filter. [optional] # noqa: E501
353
- line_item_ids ([str]): Line item ids to filter. [optional] # noqa: E501
354
- report_type (str): Type of report. [optional] # noqa: E501
355
- revenue_type (str): Type of revenue. [optional] # noqa: E501
356
- sold_by (str): Filter on the seller: Indirect Sold, Direct Sold or Private Market. [optional] # noqa: E501
357
- buy_type (str): Filter on buy type: Auction, Preferred Deals or Sponsorship. [optional] # noqa: E501
358
349
  advertiser_types ([str]): Filter on the type of advertiser: retailer, brand, seller. [optional] # noqa: E501
359
- sku_relations ([str]): Filter on sku relations: Same SKU, Same Parent SKU, Same Category, Same Brand or Same Seller. [optional] # noqa: E501
360
- format (str): Format of the output. [optional] if omitted the server will use the default value of "json" # noqa: E501
350
+ buy_type (str): Filter on buy type: Auction, Preferred Deals or Sponsorship. [optional] # noqa: E501
351
+ campaign_ids ([str]): Campaign ids to filter. [optional] # noqa: E501
361
352
  campaign_type (str): Filter the type of campaigns to report on: sponsoredProducts or onSiteDisplays. [optional] if omitted the server will use the default value of "all" # noqa: E501
362
- sales_channel (str): Filter on specific sales channel: offline or online. [optional] if omitted the server will use the default value of "all" # noqa: E501
363
353
  click_attribution_window (str): Click attribution window. [optional] if omitted the server will use the default value of "none" # noqa: E501
364
- view_attribution_window (str): View attribution window. [optional] if omitted the server will use the default value of "none" # noqa: E501
365
354
  dimensions ([str]): List of dimensions to report on. [optional] # noqa: E501
355
+ format (str): Format of the output. [optional] if omitted the server will use the default value of "json" # noqa: E501
356
+ id (str): Supply account id to report on. [optional] # noqa: E501
357
+ ids ([str]): Supply account ids to report on. [optional] # noqa: E501
358
+ line_item_ids ([str]): Line item ids to filter. [optional] # noqa: E501
366
359
  metrics ([str]): List of metrics to report on. [optional] # noqa: E501
360
+ report_type (str): Type of report. [optional] # noqa: E501
361
+ retailer_ids ([str]): Retailer ids to filter. [optional] # noqa: E501
362
+ revenue_type (str): Type of revenue. [optional] # noqa: E501
363
+ sales_channel (str): Filter on specific sales channel: offline or online. [optional] if omitted the server will use the default value of "all" # noqa: E501
364
+ sku_relations ([str]): Filter on sku relations: Same SKU, Same Parent SKU, Same Category, Same Brand or Same Seller. [optional] # noqa: E501
365
+ sold_by (str): Filter on the seller: Indirect Sold, Direct Sold or Private Market. [optional] # noqa: E501
367
366
  timezone (str): Time zone : see criteo developer portal for supported time zones. [optional] if omitted the server will use the default value of "UTC" # noqa: E501
367
+ view_attribution_window (str): View attribution window. [optional] if omitted the server will use the default value of "none" # noqa: E501
368
368
  """
369
369
 
370
370
  _check_type = kwargs.pop('_check_type', True)
@@ -396,8 +396,8 @@ class AsyncRevenueReport(ModelNormal):
396
396
  self._configuration = _configuration
397
397
  self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
398
398
 
399
- self.start_date = start_date
400
399
  self.end_date = end_date
400
+ self.start_date = start_date
401
401
  for var_name, var_value in kwargs.items():
402
402
  if var_name not in self.attribute_map and \
403
403
  self._configuration is not None and \
@@ -418,12 +418,12 @@ class AsyncRevenueReport(ModelNormal):
418
418
  ])
419
419
 
420
420
  @convert_js_args_to_python_args
421
- def __init__(self, start_date, end_date, *args, **kwargs): # noqa: E501
421
+ def __init__(self, end_date, start_date, *args, **kwargs): # noqa: E501
422
422
  """AsyncRevenueReport - a model defined in OpenAPI
423
423
 
424
424
  Args:
425
- start_date (datetime): Start date
426
425
  end_date (datetime): End date
426
+ start_date (datetime): Start date
427
427
 
428
428
  Keyword Args:
429
429
  _check_type (bool): if True, values for parameters in openapi_types
@@ -456,26 +456,26 @@ class AsyncRevenueReport(ModelNormal):
456
456
  Animal class but this time we won't travel
457
457
  through its discriminator because we passed in
458
458
  _visited_composed_classes = (Animal,)
459
- ids ([str]): Supply account ids to report on. [optional] # noqa: E501
460
- id (str): Supply account id to report on. [optional] # noqa: E501
461
- retailer_ids ([str]): Retailer ids to filter. [optional] # noqa: E501
462
459
  account_ids ([str]): Account ids to filter. [optional] # noqa: E501
463
- campaign_ids ([str]): Campaign ids to filter. [optional] # noqa: E501
464
- line_item_ids ([str]): Line item ids to filter. [optional] # noqa: E501
465
- report_type (str): Type of report. [optional] # noqa: E501
466
- revenue_type (str): Type of revenue. [optional] # noqa: E501
467
- sold_by (str): Filter on the seller: Indirect Sold, Direct Sold or Private Market. [optional] # noqa: E501
468
- buy_type (str): Filter on buy type: Auction, Preferred Deals or Sponsorship. [optional] # noqa: E501
469
460
  advertiser_types ([str]): Filter on the type of advertiser: retailer, brand, seller. [optional] # noqa: E501
470
- sku_relations ([str]): Filter on sku relations: Same SKU, Same Parent SKU, Same Category, Same Brand or Same Seller. [optional] # noqa: E501
471
- format (str): Format of the output. [optional] if omitted the server will use the default value of "json" # noqa: E501
461
+ buy_type (str): Filter on buy type: Auction, Preferred Deals or Sponsorship. [optional] # noqa: E501
462
+ campaign_ids ([str]): Campaign ids to filter. [optional] # noqa: E501
472
463
  campaign_type (str): Filter the type of campaigns to report on: sponsoredProducts or onSiteDisplays. [optional] if omitted the server will use the default value of "all" # noqa: E501
473
- sales_channel (str): Filter on specific sales channel: offline or online. [optional] if omitted the server will use the default value of "all" # noqa: E501
474
464
  click_attribution_window (str): Click attribution window. [optional] if omitted the server will use the default value of "none" # noqa: E501
475
- view_attribution_window (str): View attribution window. [optional] if omitted the server will use the default value of "none" # noqa: E501
476
465
  dimensions ([str]): List of dimensions to report on. [optional] # noqa: E501
466
+ format (str): Format of the output. [optional] if omitted the server will use the default value of "json" # noqa: E501
467
+ id (str): Supply account id to report on. [optional] # noqa: E501
468
+ ids ([str]): Supply account ids to report on. [optional] # noqa: E501
469
+ line_item_ids ([str]): Line item ids to filter. [optional] # noqa: E501
477
470
  metrics ([str]): List of metrics to report on. [optional] # noqa: E501
471
+ report_type (str): Type of report. [optional] # noqa: E501
472
+ retailer_ids ([str]): Retailer ids to filter. [optional] # noqa: E501
473
+ revenue_type (str): Type of revenue. [optional] # noqa: E501
474
+ sales_channel (str): Filter on specific sales channel: offline or online. [optional] if omitted the server will use the default value of "all" # noqa: E501
475
+ sku_relations ([str]): Filter on sku relations: Same SKU, Same Parent SKU, Same Category, Same Brand or Same Seller. [optional] # noqa: E501
476
+ sold_by (str): Filter on the seller: Indirect Sold, Direct Sold or Private Market. [optional] # noqa: E501
478
477
  timezone (str): Time zone : see criteo developer portal for supported time zones. [optional] if omitted the server will use the default value of "UTC" # noqa: E501
478
+ view_attribution_window (str): View attribution window. [optional] if omitted the server will use the default value of "none" # noqa: E501
479
479
  """
480
480
 
481
481
  _check_type = kwargs.pop('_check_type', True)
@@ -505,8 +505,8 @@ class AsyncRevenueReport(ModelNormal):
505
505
  self._configuration = _configuration
506
506
  self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
507
507
 
508
- self.start_date = start_date
509
508
  self.end_date = end_date
509
+ self.start_date = start_date
510
510
  for var_name, var_value in kwargs.items():
511
511
  if var_name not in self.attribute_map and \
512
512
  self._configuration is not None and \
@@ -87,8 +87,8 @@ class AsyncRevenueReportResource(ModelNormal):
87
87
  """
88
88
  lazy_import()
89
89
  return {
90
- 'type': (str,), # noqa: E501
91
90
  'attributes': (AsyncRevenueReport,), # noqa: E501
91
+ 'type': (str,), # noqa: E501
92
92
  }
93
93
 
94
94
  @cached_property
@@ -97,8 +97,8 @@ class AsyncRevenueReportResource(ModelNormal):
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 = {
@@ -142,8 +142,8 @@ class AsyncRevenueReportResource(ModelNormal):
142
142
  Animal class but this time we won't travel
143
143
  through its discriminator because we passed in
144
144
  _visited_composed_classes = (Animal,)
145
- type (str): [optional] # noqa: E501
146
145
  attributes (AsyncRevenueReport): [optional] # noqa: E501
146
+ type (str): [optional] # noqa: E501
147
147
  """
148
148
 
149
149
  _check_type = kwargs.pop('_check_type', True)
@@ -229,8 +229,8 @@ class AsyncRevenueReportResource(ModelNormal):
229
229
  Animal class but this time we won't travel
230
230
  through its discriminator because we passed in
231
231
  _visited_composed_classes = (Animal,)
232
- type (str): [optional] # noqa: E501
233
232
  attributes (AsyncRevenueReport): [optional] # noqa: E501
233
+ type (str): [optional] # noqa: E501
234
234
  """
235
235
 
236
236
  _check_type = kwargs.pop('_check_type', True)
@@ -91,10 +91,10 @@ class AuctionLineItemPagedListResponse(ModelNormal):
91
91
  """
92
92
  lazy_import()
93
93
  return {
94
- 'metadata': (PageMetadata,), # noqa: E501
95
94
  'data': ([ResourceOfAuctionLineItem],), # noqa: E501
96
- 'warnings': ([ProblemDetails],), # noqa: E501
97
95
  'errors': ([ProblemDetails],), # noqa: E501
96
+ 'metadata': (PageMetadata,), # noqa: E501
97
+ 'warnings': ([ProblemDetails],), # noqa: E501
98
98
  }
99
99
 
100
100
  @cached_property
@@ -103,15 +103,15 @@ class AuctionLineItemPagedListResponse(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 AuctionLineItemPagedListResponse(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 ([ResourceOfAuctionLineItem]): [optional] # noqa: E501
157
- warnings ([ProblemDetails]): [optional] # noqa: E501
158
156
  errors ([ProblemDetails]): [optional] # noqa: E501
157
+ metadata (PageMetadata): [optional] # noqa: E501
158
+ warnings ([ProblemDetails]): [optional] # noqa: E501
159
159
  """
160
160
 
161
161
  _check_type = kwargs.pop('_check_type', True)
@@ -241,10 +241,10 @@ class AuctionLineItemPagedListResponse(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 ([ResourceOfAuctionLineItem]): [optional] # noqa: E501
246
- warnings ([ProblemDetails]): [optional] # noqa: E501
247
245
  errors ([ProblemDetails]): [optional] # noqa: E501
246
+ metadata (PageMetadata): [optional] # noqa: E501
247
+ warnings ([ProblemDetails]): [optional] # noqa: E501
248
248
  """
249
249
 
250
250
  _check_type = kwargs.pop('_check_type', True)
@@ -90,8 +90,8 @@ class AuctionLineItemResponse(ModelNormal):
90
90
  lazy_import()
91
91
  return {
92
92
  'data': (ResourceOfAuctionLineItem,), # noqa: E501
93
- 'warnings': ([ProblemDetails],), # noqa: E501
94
93
  'errors': ([ProblemDetails],), # noqa: E501
94
+ 'warnings': ([ProblemDetails],), # noqa: E501
95
95
  }
96
96
 
97
97
  @cached_property
@@ -101,13 +101,13 @@ class AuctionLineItemResponse(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 AuctionLineItemResponse(ModelNormal):
149
149
  through its discriminator because we passed in
150
150
  _visited_composed_classes = (Animal,)
151
151
  data (ResourceOfAuctionLineItem): [optional] # noqa: E501
152
- warnings ([ProblemDetails]): [optional] # noqa: E501
153
152
  errors ([ProblemDetails]): [optional] # noqa: E501
153
+ warnings ([ProblemDetails]): [optional] # noqa: E501
154
154
  """
155
155
 
156
156
  _check_type = kwargs.pop('_check_type', True)
@@ -237,8 +237,8 @@ class AuctionLineItemResponse(ModelNormal):
237
237
  through its discriminator because we passed in
238
238
  _visited_composed_classes = (Animal,)
239
239
  data (ResourceOfAuctionLineItem): [optional] # noqa: E501
240
- warnings ([ProblemDetails]): [optional] # noqa: E501
241
240
  errors ([ProblemDetails]): [optional] # noqa: E501
241
+ warnings ([ProblemDetails]): [optional] # noqa: E501
242
242
  """
243
243
 
244
244
  _check_type = kwargs.pop('_check_type', True)
@@ -90,14 +90,14 @@ class AudienceError(ModelNormal):
90
90
  and the value is attribute type.
91
91
  """
92
92
  return {
93
- 'type': (str,), # noqa: E501
94
93
  'code': (str,), # noqa: E501
95
94
  'instance': (str,), # noqa: E501
96
- 'trace_id': (str, none_type,), # noqa: E501
97
- 'title': (str, none_type,), # noqa: E501
95
+ 'type': (str,), # noqa: E501
98
96
  'detail': (str, none_type,), # noqa: E501
99
97
  'source': ({str: (bool, date, datetime, dict, float, int, list, str, none_type)}, none_type,), # noqa: E501
100
98
  'stack_trace': ([str], none_type,), # noqa: E501
99
+ 'title': (str, none_type,), # noqa: E501
100
+ 'trace_id': (str, none_type,), # noqa: E501
101
101
  }
102
102
 
103
103
  @cached_property
@@ -106,14 +106,14 @@ class AudienceError(ModelNormal):
106
106
 
107
107
 
108
108
  attribute_map = {
109
- 'type': 'type', # noqa: E501
110
109
  'code': 'code', # noqa: E501
111
110
  'instance': 'instance', # noqa: E501
112
- 'trace_id': 'traceId', # noqa: E501
113
- 'title': 'title', # noqa: E501
111
+ 'type': 'type', # noqa: E501
114
112
  'detail': 'detail', # noqa: E501
115
113
  'source': 'source', # noqa: E501
116
114
  'stack_trace': 'stackTrace', # noqa: E501
115
+ 'title': 'title', # noqa: E501
116
+ 'trace_id': 'traceId', # noqa: E501
117
117
  }
118
118
 
119
119
  read_only_vars = {
@@ -123,13 +123,13 @@ class AudienceError(ModelNormal):
123
123
 
124
124
  @classmethod
125
125
  @convert_js_args_to_python_args
126
- def _from_openapi_data(cls, type, code, instance, *args, **kwargs): # noqa: E501
126
+ def _from_openapi_data(cls, code, instance, type, *args, **kwargs): # noqa: E501
127
127
  """AudienceError - a model defined in OpenAPI
128
128
 
129
129
  Args:
130
- type (str): (REQUIRED) The classification of the error
131
130
  code (str): (REQUIRED) A machine-readable unique error code, expressed as a string value. The format used must be kebab-case.
132
131
  instance (str): (REQUIRED) A URI reference that identifies the specific occurrence of the problem
132
+ type (str): (REQUIRED) The classification of the error
133
133
 
134
134
  Keyword Args:
135
135
  _check_type (bool): if True, values for parameters in openapi_types
@@ -162,11 +162,11 @@ class AudienceError(ModelNormal):
162
162
  Animal class but this time we won't travel
163
163
  through its discriminator because we passed in
164
164
  _visited_composed_classes = (Animal,)
165
- 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
166
- title (str, none_type): (RECOMMENDED) A short, human-readable summary of the problem type. [optional] # noqa: E501
167
165
  detail (str, none_type): (RECOMMENDED) A human-readable explanation specific to this occurrence of the problem. [optional] # noqa: E501
168
166
  source ({str: (bool, date, datetime, dict, float, int, list, str, none_type)}, none_type): (OPTIONAL) A machine-readable structure to reference to the exact location(s) causing the error(s). [optional] # noqa: E501
169
167
  stack_trace ([str], none_type): (NEVER IN PRODUCTION) A human-readable stacktrace produced by the implementation technology. [optional] # noqa: E501
168
+ title (str, none_type): (RECOMMENDED) A short, human-readable summary of the problem type. [optional] # noqa: E501
169
+ 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
170
170
  """
171
171
 
172
172
  _check_type = kwargs.pop('_check_type', True)
@@ -198,9 +198,9 @@ class AudienceError(ModelNormal):
198
198
  self._configuration = _configuration
199
199
  self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
200
200
 
201
- self.type = type
202
201
  self.code = code
203
202
  self.instance = instance
203
+ self.type = type
204
204
  for var_name, var_value in kwargs.items():
205
205
  if var_name not in self.attribute_map and \
206
206
  self._configuration is not None and \
@@ -221,13 +221,13 @@ class AudienceError(ModelNormal):
221
221
  ])
222
222
 
223
223
  @convert_js_args_to_python_args
224
- def __init__(self, type, code, instance, *args, **kwargs): # noqa: E501
224
+ def __init__(self, code, instance, type, *args, **kwargs): # noqa: E501
225
225
  """AudienceError - a model defined in OpenAPI
226
226
 
227
227
  Args:
228
- type (str): (REQUIRED) The classification of the error
229
228
  code (str): (REQUIRED) A machine-readable unique error code, expressed as a string value. The format used must be kebab-case.
230
229
  instance (str): (REQUIRED) A URI reference that identifies the specific occurrence of the problem
230
+ type (str): (REQUIRED) The classification of the error
231
231
 
232
232
  Keyword Args:
233
233
  _check_type (bool): if True, values for parameters in openapi_types
@@ -260,11 +260,11 @@ class AudienceError(ModelNormal):
260
260
  Animal class but this time we won't travel
261
261
  through its discriminator because we passed in
262
262
  _visited_composed_classes = (Animal,)
263
- 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
264
- title (str, none_type): (RECOMMENDED) A short, human-readable summary of the problem type. [optional] # noqa: E501
265
263
  detail (str, none_type): (RECOMMENDED) A human-readable explanation specific to this occurrence of the problem. [optional] # noqa: E501
266
264
  source ({str: (bool, date, datetime, dict, float, int, list, str, none_type)}, none_type): (OPTIONAL) A machine-readable structure to reference to the exact location(s) causing the error(s). [optional] # noqa: E501
267
265
  stack_trace ([str], none_type): (NEVER IN PRODUCTION) A human-readable stacktrace produced by the implementation technology. [optional] # noqa: E501
266
+ title (str, none_type): (RECOMMENDED) A short, human-readable summary of the problem type. [optional] # noqa: E501
267
+ 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
268
268
  """
269
269
 
270
270
  _check_type = kwargs.pop('_check_type', True)
@@ -294,9 +294,9 @@ class AudienceError(ModelNormal):
294
294
  self._configuration = _configuration
295
295
  self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
296
296
 
297
- self.type = type
298
297
  self.code = code
299
298
  self.instance = instance
299
+ self.type = type
300
300
  for var_name, var_value in kwargs.items():
301
301
  if var_name not in self.attribute_map and \
302
302
  self._configuration is not None and \