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.
- {criteo_api_retailmedia_sdk-2025.1.0.250317.dist-info → criteo_api_retailmedia_sdk-2025.1.0.251112.dist-info}/METADATA +4 -4
- {criteo_api_retailmedia_sdk-2025.1.0.250317.dist-info → criteo_api_retailmedia_sdk-2025.1.0.251112.dist-info}/RECORD +184 -183
- {criteo_api_retailmedia_sdk-2025.1.0.250317.dist-info → criteo_api_retailmedia_sdk-2025.1.0.251112.dist-info}/WHEEL +1 -1
- criteo_api_retailmedia_v2025_01/__init__.py +1 -1
- criteo_api_retailmedia_v2025_01/api/accounts_api.py +10 -15
- criteo_api_retailmedia_v2025_01/api/analytics_api.py +10 -30
- criteo_api_retailmedia_v2025_01/api/audience_api.py +165 -193
- criteo_api_retailmedia_v2025_01/api/balance_api.py +261 -265
- criteo_api_retailmedia_v2025_01/api/campaign_api.py +1571 -1569
- criteo_api_retailmedia_v2025_01/api_client.py +1 -1
- criteo_api_retailmedia_v2025_01/configuration.py +1 -1
- criteo_api_retailmedia_v2025_01/model/add_funds_to_balance_v2.py +7 -7
- criteo_api_retailmedia_v2025_01/model/add_remove_keyword_model.py +8 -8
- criteo_api_retailmedia_v2025_01/model/add_remove_keywords_model_resource.py +4 -4
- criteo_api_retailmedia_v2025_01/model/{external_add_to_basket_ids_update_model202110.py → add_to_basket_ids_update_model202110.py} +7 -7
- criteo_api_retailmedia_v2025_01/model/{external_add_to_basket_target202110.py → add_to_basket_target202110.py} +7 -7
- criteo_api_retailmedia_v2025_01/model/add_to_basket_target202110_response.py +10 -10
- criteo_api_retailmedia_v2025_01/model/application_summary_model.py +8 -8
- criteo_api_retailmedia_v2025_01/model/application_summary_model_resource.py +4 -4
- criteo_api_retailmedia_v2025_01/model/application_summary_model_response.py +5 -5
- criteo_api_retailmedia_v2025_01/model/asset.py +0 -4
- criteo_api_retailmedia_v2025_01/model/asset_response.py +5 -9
- criteo_api_retailmedia_v2025_01/model/async_campaigns_report.py +104 -79
- criteo_api_retailmedia_v2025_01/model/async_campaigns_report_resource.py +4 -4
- criteo_api_retailmedia_v2025_01/model/async_line_items_report.py +104 -79
- criteo_api_retailmedia_v2025_01/model/async_line_items_report_resource.py +4 -4
- criteo_api_retailmedia_v2025_01/model/async_report_response.py +5 -5
- criteo_api_retailmedia_v2025_01/model/async_revenue_report.py +145 -103
- criteo_api_retailmedia_v2025_01/model/async_revenue_report_resource.py +4 -4
- criteo_api_retailmedia_v2025_01/model/{external_auction_line_item.py → auction_line_item.py} +43 -49
- criteo_api_retailmedia_v2025_01/model/{external_auction_line_item_create_model.py → auction_line_item_create_model.py} +33 -33
- criteo_api_retailmedia_v2025_01/model/auction_line_item_paged_list_response.py +14 -14
- criteo_api_retailmedia_v2025_01/model/auction_line_item_response.py +10 -10
- criteo_api_retailmedia_v2025_01/model/{external_auction_line_item_update_model.py → auction_line_item_update_model.py} +26 -26
- criteo_api_retailmedia_v2025_01/model/audience_error.py +16 -16
- criteo_api_retailmedia_v2025_01/model/{external_audience_ids_update_model202110.py → audience_ids_update_model202110.py} +3 -3
- criteo_api_retailmedia_v2025_01/model/{external_audience_target202110.py → audience_target202110.py} +11 -11
- criteo_api_retailmedia_v2025_01/model/audience_target202110_response.py +10 -10
- criteo_api_retailmedia_v2025_01/model/audience_warning.py +22 -22
- criteo_api_retailmedia_v2025_01/model/balance_campaign202110_paged_list_response.py +14 -14
- criteo_api_retailmedia_v2025_01/model/balance_history_change_data_capture_v1.py +14 -14
- criteo_api_retailmedia_v2025_01/model/balance_response_v2.py +45 -45
- criteo_api_retailmedia_v2025_01/model/{paged_resource_collection_outcome_of_balance_response_v2.py → balance_response_v2_paged_list_response.py} +12 -12
- criteo_api_retailmedia_v2025_01/model/balance_response_v2_response.py +5 -5
- criteo_api_retailmedia_v2025_01/model/campaign_attributes_v202301.py +59 -63
- criteo_api_retailmedia_v2025_01/model/campaign_budget_overrides.py +8 -8
- criteo_api_retailmedia_v2025_01/model/campaign_v202301.py +84 -94
- criteo_api_retailmedia_v2025_01/model/category202204.py +8 -8
- criteo_api_retailmedia_v2025_01/model/category202204_list_response.py +5 -5
- criteo_api_retailmedia_v2025_01/model/change_dates_of_balance_v2.py +10 -10
- criteo_api_retailmedia_v2025_01/model/change_details_v1.py +8 -8
- criteo_api_retailmedia_v2025_01/model/common_error.py +18 -18
- criteo_api_retailmedia_v2025_01/model/{external_common_line_item.py → common_line_item.py} +37 -39
- criteo_api_retailmedia_v2025_01/model/common_line_item_paged_list_response.py +14 -14
- criteo_api_retailmedia_v2025_01/model/common_line_item_response.py +10 -10
- criteo_api_retailmedia_v2025_01/model/common_problem.py +20 -20
- criteo_api_retailmedia_v2025_01/model/common_warning.py +18 -18
- criteo_api_retailmedia_v2025_01/model/create_balance_v2.py +15 -15
- criteo_api_retailmedia_v2025_01/model/creative2.py +50 -50
- criteo_api_retailmedia_v2025_01/model/creative202110.py +16 -12
- criteo_api_retailmedia_v2025_01/model/creative202110_list_response.py +5 -5
- criteo_api_retailmedia_v2025_01/model/creative202210.py +40 -36
- criteo_api_retailmedia_v2025_01/model/creative202210_response.py +5 -5
- criteo_api_retailmedia_v2025_01/model/creative2_list_response.py +5 -5
- criteo_api_retailmedia_v2025_01/model/creative2_response.py +5 -5
- criteo_api_retailmedia_v2025_01/model/daily_line_item_budget_override.py +4 -4
- criteo_api_retailmedia_v2025_01/model/editable_campaign_attributes_v202301.py +35 -39
- criteo_api_retailmedia_v2025_01/model/entity_resource_of_retail_media_account.py +4 -4
- criteo_api_retailmedia_v2025_01/model/entity_resource_outcome_of_retail_media_account.py +5 -5
- criteo_api_retailmedia_v2025_01/model/external_account.py +18 -18
- criteo_api_retailmedia_v2025_01/model/external_catalog_request.py +4 -4
- criteo_api_retailmedia_v2025_01/model/external_catalog_status.py +20 -20
- criteo_api_retailmedia_v2025_01/model/external_retail_media_account.py +22 -22
- criteo_api_retailmedia_v2025_01/model/external_retail_media_brand_account_creation.py +8 -8
- criteo_api_retailmedia_v2025_01/model/external_retail_media_seller.py +8 -8
- criteo_api_retailmedia_v2025_01/model/external_retail_media_seller_account_creation.py +4 -4
- criteo_api_retailmedia_v2025_01/model/files_variable_value.py +0 -3
- criteo_api_retailmedia_v2025_01/model/files_variables_specification.py +4 -4
- criteo_api_retailmedia_v2025_01/model/grant_consent_model.py +8 -8
- criteo_api_retailmedia_v2025_01/model/grant_consent_model_value_resource.py +4 -4
- criteo_api_retailmedia_v2025_01/model/input_resource_of_auction_line_item_create_model.py +6 -6
- criteo_api_retailmedia_v2025_01/model/input_resource_of_preferred_line_item_create_model_v2.py +6 -6
- 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
- criteo_api_retailmedia_v2025_01/model/json_api_page_response_of_account.py +8 -8
- criteo_api_retailmedia_v2025_01/model/json_api_page_response_of_brand.py +8 -8
- criteo_api_retailmedia_v2025_01/model/json_api_page_response_of_campaign_v202301.py +8 -8
- criteo_api_retailmedia_v2025_01/model/json_api_page_response_of_retailer.py +8 -8
- criteo_api_retailmedia_v2025_01/model/json_api_single_response_of_line_item_bid_multipliers_v2.py +5 -5
- criteo_api_retailmedia_v2025_01/model/keyword_data_model.py +12 -12
- criteo_api_retailmedia_v2025_01/model/{external_keyword_target202110.py → keyword_target202110.py} +3 -3
- criteo_api_retailmedia_v2025_01/model/keyword_target202110_response.py +10 -10
- criteo_api_retailmedia_v2025_01/model/keywords.py +18 -18
- criteo_api_retailmedia_v2025_01/model/keywords_model_resource.py +4 -4
- criteo_api_retailmedia_v2025_01/model/keywords_model_response.py +4 -4
- criteo_api_retailmedia_v2025_01/model/{external_line_item_bid_multipliers_v2.py → line_item_bid_multipliers_v2.py} +31 -31
- criteo_api_retailmedia_v2025_01/model/line_item_bid_multipliers_v2_response.py +5 -5
- criteo_api_retailmedia_v2025_01/model/line_item_budget_overrides.py +8 -8
- criteo_api_retailmedia_v2025_01/model/{external_line_item_capping_v2.py → line_item_capping_v2.py} +12 -12
- criteo_api_retailmedia_v2025_01/model/{external_line_item_page_category_v2.py → line_item_page_category_v2.py} +3 -3
- criteo_api_retailmedia_v2025_01/model/{external_line_item_page_v2.py → line_item_page_v2.py} +12 -12
- criteo_api_retailmedia_v2025_01/model/metadata.py +8 -8
- criteo_api_retailmedia_v2025_01/model/nillable_decimal.py +263 -0
- criteo_api_retailmedia_v2025_01/model/page_metadata.py +16 -16
- criteo_api_retailmedia_v2025_01/model/page_of_balance_history_change_data_capture_v1.py +8 -8
- criteo_api_retailmedia_v2025_01/model/page_type_environment2.py +14 -14
- criteo_api_retailmedia_v2025_01/model/page_type_environment202210.py +14 -14
- criteo_api_retailmedia_v2025_01/model/{external_preferred_line_item_create_model_v2.py → preferred_line_item_create_model_v2.py} +37 -37
- criteo_api_retailmedia_v2025_01/model/{external_preferred_line_item_update_model_v2.py → preferred_line_item_update_model_v2.py} +30 -30
- criteo_api_retailmedia_v2025_01/model/{external_preferred_line_item_v2.py → preferred_line_item_v2.py} +55 -57
- criteo_api_retailmedia_v2025_01/model/preferred_line_item_v2_paged_list_response.py +9 -9
- criteo_api_retailmedia_v2025_01/model/preferred_line_item_v2_response.py +5 -5
- criteo_api_retailmedia_v2025_01/model/problem_details.py +20 -20
- criteo_api_retailmedia_v2025_01/model/product_metadata.py +8 -8
- criteo_api_retailmedia_v2025_01/model/promoted_product.py +4 -4
- criteo_api_retailmedia_v2025_01/model/promoted_product_resource.py +4 -4
- criteo_api_retailmedia_v2025_01/model/promoted_product_resource_collection_outcome.py +8 -8
- criteo_api_retailmedia_v2025_01/model/resource_of_auction_line_item.py +6 -6
- criteo_api_retailmedia_v2025_01/model/resource_of_auction_line_item_update_model.py +6 -6
- criteo_api_retailmedia_v2025_01/model/resource_of_balance_campaign202110.py +4 -4
- criteo_api_retailmedia_v2025_01/model/resource_of_common_line_item.py +6 -6
- criteo_api_retailmedia_v2025_01/model/resource_of_line_item_bid_multipliers_v2.py +5 -5
- criteo_api_retailmedia_v2025_01/model/resource_of_preferred_line_item_update_model_v2.py +6 -6
- criteo_api_retailmedia_v2025_01/model/resource_of_preferred_line_item_v2.py +6 -6
- criteo_api_retailmedia_v2025_01/model/retail_media_contactlist_amendment_attributes.py +8 -8
- criteo_api_retailmedia_v2025_01/model/rm_algebra_node_v1.py +8 -8
- criteo_api_retailmedia_v2025_01/model/rm_audience_entity_v1.py +20 -20
- criteo_api_retailmedia_v2025_01/model/rm_audience_entity_v1_rm_audience_search_metadata_v1_list_response.py +9 -9
- criteo_api_retailmedia_v2025_01/model/rm_audience_search_entity_v1.py +4 -4
- criteo_api_retailmedia_v2025_01/model/rm_audience_search_entity_v1_resource.py +4 -4
- criteo_api_retailmedia_v2025_01/model/rm_audience_search_metadata_v1.py +4 -4
- criteo_api_retailmedia_v2025_01/model/rm_audience_segment_create_entity_v1.py +10 -4
- criteo_api_retailmedia_v2025_01/model/rm_audience_segment_create_entity_v1_resource.py +4 -4
- criteo_api_retailmedia_v2025_01/model/rm_audience_segment_entity_v1.py +30 -30
- criteo_api_retailmedia_v2025_01/model/rm_audience_segment_entity_v1_list_response.py +5 -5
- criteo_api_retailmedia_v2025_01/model/rm_audience_segment_entity_v1_rm_audience_segment_search_metadata_v1_list_response.py +9 -9
- criteo_api_retailmedia_v2025_01/model/rm_audience_segment_id_entity_v1_list_response.py +5 -5
- criteo_api_retailmedia_v2025_01/model/rm_audience_segment_search_entity_v1.py +4 -4
- criteo_api_retailmedia_v2025_01/model/rm_audience_segment_search_entity_v1_resource.py +4 -4
- criteo_api_retailmedia_v2025_01/model/rm_audience_segment_search_metadata_v1.py +4 -4
- criteo_api_retailmedia_v2025_01/model/rm_audience_segment_update_entity_v1.py +14 -8
- criteo_api_retailmedia_v2025_01/model/rm_contact_list_create_v1.py +1 -0
- criteo_api_retailmedia_v2025_01/model/rm_contact_list_statistics_entity_v1.py +4 -4
- criteo_api_retailmedia_v2025_01/model/rm_contact_list_statistics_entity_v1_response.py +5 -5
- criteo_api_retailmedia_v2025_01/model/rm_contact_list_v1.py +5 -4
- criteo_api_retailmedia_v2025_01/model/rm_events_create_v1.py +311 -0
- criteo_api_retailmedia_v2025_01/model/{report_outcome.py → rm_events_update_v1.py} +45 -15
- criteo_api_retailmedia_v2025_01/model/rm_events_v1.py +23 -23
- criteo_api_retailmedia_v2025_01/model/rmca_common_problem.py +16 -16
- criteo_api_retailmedia_v2025_01/model/sdk_api_rest_common_problem.py +16 -16
- criteo_api_retailmedia_v2025_01/model/section.py +4 -4
- criteo_api_retailmedia_v2025_01/model/set_bid_model.py +4 -4
- criteo_api_retailmedia_v2025_01/model/set_bids_model_resource.py +4 -4
- criteo_api_retailmedia_v2025_01/model/status_response.py +20 -20
- criteo_api_retailmedia_v2025_01/model/{external_store_ids_update_model202110.py → store_ids_update_model202110.py} +3 -3
- criteo_api_retailmedia_v2025_01/model/{external_store_target202110.py → store_target202110.py} +3 -3
- criteo_api_retailmedia_v2025_01/model/store_target202110_response.py +10 -10
- criteo_api_retailmedia_v2025_01/model/template.py +24 -24
- criteo_api_retailmedia_v2025_01/model/template_list_response.py +5 -5
- criteo_api_retailmedia_v2025_01/model/template_response.py +5 -5
- criteo_api_retailmedia_v2025_01/model/template_variable.py +4 -4
- criteo_api_retailmedia_v2025_01/model/template_variable_value.py +4 -4
- criteo_api_retailmedia_v2025_01/model/update_balance_model_v2.py +8 -8
- criteo_api_retailmedia_v2025_01/model/value_resource_collection_outcome_of_retail_media_seller.py +5 -5
- criteo_api_retailmedia_v2025_01/model/value_resource_of_campaign_budget_overrides.py +4 -4
- criteo_api_retailmedia_v2025_01/model/value_resource_of_line_item_budget_overrides.py +4 -4
- criteo_api_retailmedia_v2025_01/model/value_resource_of_recommended_keywords_result.py +4 -4
- criteo_api_retailmedia_v2025_01/model/value_resource_of_retail_media_brand_account_creation.py +4 -4
- criteo_api_retailmedia_v2025_01/model/value_resource_of_retail_media_brands.py +4 -4
- criteo_api_retailmedia_v2025_01/model/value_resource_of_retail_media_seller.py +4 -4
- criteo_api_retailmedia_v2025_01/model/value_resource_of_retail_media_seller_account_creation.py +4 -4
- criteo_api_retailmedia_v2025_01/model/value_resource_outcome_of_campaign_budget_overrides.py +10 -10
- criteo_api_retailmedia_v2025_01/model/value_resource_outcome_of_line_item_budget_overrides.py +10 -10
- criteo_api_retailmedia_v2025_01/model/value_resource_outcome_of_recommended_keywords_result.py +10 -10
- criteo_api_retailmedia_v2025_01/model/value_resource_outcome_of_retail_media_brands.py +5 -5
- criteo_api_retailmedia_v2025_01/model/value_type_resource_of_add_to_basket_ids_update_model202110.py +6 -6
- criteo_api_retailmedia_v2025_01/model/value_type_resource_of_add_to_basket_target202110.py +6 -6
- criteo_api_retailmedia_v2025_01/model/value_type_resource_of_audience_ids_update_model202110.py +6 -6
- criteo_api_retailmedia_v2025_01/model/value_type_resource_of_audience_target202110.py +6 -6
- criteo_api_retailmedia_v2025_01/model/value_type_resource_of_keyword_target202110.py +6 -6
- criteo_api_retailmedia_v2025_01/model/value_type_resource_of_store_ids_update_model202110.py +6 -6
- criteo_api_retailmedia_v2025_01/model/value_type_resource_of_store_target202110.py +6 -6
- criteo_api_retailmedia_v2025_01/model/video_variable_value.py +16 -16
- criteo_api_retailmedia_v2025_01/models/__init__.py +23 -22
- criteo_api_retailmedia_v2025_01/model/error_code_response.py +0 -281
- {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,13 +30,13 @@ 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.
|
|
34
|
-
from criteo_api_retailmedia_v2025_01.model.
|
|
35
|
-
globals()['
|
|
36
|
-
globals()['
|
|
33
|
+
from criteo_api_retailmedia_v2025_01.model.line_item_capping_v2 import LineItemCappingV2
|
|
34
|
+
from criteo_api_retailmedia_v2025_01.model.line_item_page_v2 import LineItemPageV2
|
|
35
|
+
globals()['LineItemCappingV2'] = LineItemCappingV2
|
|
36
|
+
globals()['LineItemPageV2'] = LineItemPageV2
|
|
37
37
|
|
|
38
38
|
|
|
39
|
-
class
|
|
39
|
+
class PreferredLineItemCreateModelV2(ModelNormal):
|
|
40
40
|
"""NOTE: This class is auto generated by OpenAPI Generator.
|
|
41
41
|
Ref: https://openapi-generator.tech
|
|
42
42
|
|
|
@@ -109,16 +109,16 @@ class ExternalPreferredLineItemCreateModelV2(ModelNormal):
|
|
|
109
109
|
"""
|
|
110
110
|
lazy_import()
|
|
111
111
|
return {
|
|
112
|
-
'
|
|
113
|
-
'start_date': (date,), # noqa: E501
|
|
112
|
+
'budget': (float,), # noqa: E501
|
|
114
113
|
'end_date': (date,), # noqa: E501
|
|
114
|
+
'name': (str,), # noqa: E501
|
|
115
115
|
'pacing': (str,), # noqa: E501
|
|
116
|
-
'page': (
|
|
116
|
+
'page': (LineItemPageV2,), # noqa: E501
|
|
117
|
+
'start_date': (date,), # noqa: E501
|
|
117
118
|
'target_retailer_id': (str,), # noqa: E501
|
|
118
|
-
'
|
|
119
|
+
'capping': (LineItemCappingV2,), # noqa: E501
|
|
120
|
+
'creative_id': (str,), # noqa: E501
|
|
119
121
|
'status': (str,), # noqa: E501
|
|
120
|
-
'capping': (ExternalLineItemCappingV2,), # noqa: E501
|
|
121
|
-
'creative_id': (str, none_type,), # noqa: E501
|
|
122
122
|
}
|
|
123
123
|
|
|
124
124
|
@cached_property
|
|
@@ -127,16 +127,16 @@ class ExternalPreferredLineItemCreateModelV2(ModelNormal):
|
|
|
127
127
|
|
|
128
128
|
|
|
129
129
|
attribute_map = {
|
|
130
|
-
'
|
|
131
|
-
'start_date': 'startDate', # noqa: E501
|
|
130
|
+
'budget': 'budget', # noqa: E501
|
|
132
131
|
'end_date': 'endDate', # noqa: E501
|
|
132
|
+
'name': 'name', # noqa: E501
|
|
133
133
|
'pacing': 'pacing', # noqa: E501
|
|
134
134
|
'page': 'page', # noqa: E501
|
|
135
|
+
'start_date': 'startDate', # noqa: E501
|
|
135
136
|
'target_retailer_id': 'targetRetailerId', # noqa: E501
|
|
136
|
-
'budget': 'budget', # noqa: E501
|
|
137
|
-
'status': 'status', # noqa: E501
|
|
138
137
|
'capping': 'capping', # noqa: E501
|
|
139
138
|
'creative_id': 'creativeId', # noqa: E501
|
|
139
|
+
'status': 'status', # noqa: E501
|
|
140
140
|
}
|
|
141
141
|
|
|
142
142
|
read_only_vars = {
|
|
@@ -146,17 +146,17 @@ class ExternalPreferredLineItemCreateModelV2(ModelNormal):
|
|
|
146
146
|
|
|
147
147
|
@classmethod
|
|
148
148
|
@convert_js_args_to_python_args
|
|
149
|
-
def _from_openapi_data(cls,
|
|
150
|
-
"""
|
|
149
|
+
def _from_openapi_data(cls, budget, end_date, name, pacing, page, start_date, target_retailer_id, *args, **kwargs): # noqa: E501
|
|
150
|
+
"""PreferredLineItemCreateModelV2 - a model defined in OpenAPI
|
|
151
151
|
|
|
152
152
|
Args:
|
|
153
|
-
|
|
154
|
-
start_date (date): Represents the Date as a year, month, and day in the format YYYY-MM-DD
|
|
153
|
+
budget (float):
|
|
155
154
|
end_date (date): Represents the Date as a year, month, and day in the format YYYY-MM-DD
|
|
155
|
+
name (str):
|
|
156
156
|
pacing (str): Line Item Pacing Enum
|
|
157
|
-
page (
|
|
157
|
+
page (LineItemPageV2):
|
|
158
|
+
start_date (date): Represents the Date as a year, month, and day in the format YYYY-MM-DD
|
|
158
159
|
target_retailer_id (str):
|
|
159
|
-
budget (float):
|
|
160
160
|
|
|
161
161
|
Keyword Args:
|
|
162
162
|
_check_type (bool): if True, values for parameters in openapi_types
|
|
@@ -189,9 +189,9 @@ class ExternalPreferredLineItemCreateModelV2(ModelNormal):
|
|
|
189
189
|
Animal class but this time we won't travel
|
|
190
190
|
through its discriminator because we passed in
|
|
191
191
|
_visited_composed_classes = (Animal,)
|
|
192
|
+
capping (LineItemCappingV2): [optional] # noqa: E501
|
|
193
|
+
creative_id (str): [optional] # noqa: E501
|
|
192
194
|
status (str): Line Item Status Enum. [optional] # noqa: E501
|
|
193
|
-
capping (ExternalLineItemCappingV2): [optional] # noqa: E501
|
|
194
|
-
creative_id (str, none_type): [optional] # noqa: E501
|
|
195
195
|
"""
|
|
196
196
|
|
|
197
197
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -223,13 +223,13 @@ class ExternalPreferredLineItemCreateModelV2(ModelNormal):
|
|
|
223
223
|
self._configuration = _configuration
|
|
224
224
|
self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
|
|
225
225
|
|
|
226
|
-
self.
|
|
227
|
-
self.start_date = start_date
|
|
226
|
+
self.budget = budget
|
|
228
227
|
self.end_date = end_date
|
|
228
|
+
self.name = name
|
|
229
229
|
self.pacing = pacing
|
|
230
230
|
self.page = page
|
|
231
|
+
self.start_date = start_date
|
|
231
232
|
self.target_retailer_id = target_retailer_id
|
|
232
|
-
self.budget = budget
|
|
233
233
|
for var_name, var_value in kwargs.items():
|
|
234
234
|
if var_name not in self.attribute_map and \
|
|
235
235
|
self._configuration is not None and \
|
|
@@ -250,17 +250,17 @@ class ExternalPreferredLineItemCreateModelV2(ModelNormal):
|
|
|
250
250
|
])
|
|
251
251
|
|
|
252
252
|
@convert_js_args_to_python_args
|
|
253
|
-
def __init__(self,
|
|
254
|
-
"""
|
|
253
|
+
def __init__(self, budget, end_date, name, pacing, page, start_date, target_retailer_id, *args, **kwargs): # noqa: E501
|
|
254
|
+
"""PreferredLineItemCreateModelV2 - a model defined in OpenAPI
|
|
255
255
|
|
|
256
256
|
Args:
|
|
257
|
-
|
|
258
|
-
start_date (date): Represents the Date as a year, month, and day in the format YYYY-MM-DD
|
|
257
|
+
budget (float):
|
|
259
258
|
end_date (date): Represents the Date as a year, month, and day in the format YYYY-MM-DD
|
|
259
|
+
name (str):
|
|
260
260
|
pacing (str): Line Item Pacing Enum
|
|
261
|
-
page (
|
|
261
|
+
page (LineItemPageV2):
|
|
262
|
+
start_date (date): Represents the Date as a year, month, and day in the format YYYY-MM-DD
|
|
262
263
|
target_retailer_id (str):
|
|
263
|
-
budget (float):
|
|
264
264
|
|
|
265
265
|
Keyword Args:
|
|
266
266
|
_check_type (bool): if True, values for parameters in openapi_types
|
|
@@ -293,9 +293,9 @@ class ExternalPreferredLineItemCreateModelV2(ModelNormal):
|
|
|
293
293
|
Animal class but this time we won't travel
|
|
294
294
|
through its discriminator because we passed in
|
|
295
295
|
_visited_composed_classes = (Animal,)
|
|
296
|
+
capping (LineItemCappingV2): [optional] # noqa: E501
|
|
297
|
+
creative_id (str): [optional] # noqa: E501
|
|
296
298
|
status (str): Line Item Status Enum. [optional] # noqa: E501
|
|
297
|
-
capping (ExternalLineItemCappingV2): [optional] # noqa: E501
|
|
298
|
-
creative_id (str, none_type): [optional] # noqa: E501
|
|
299
299
|
"""
|
|
300
300
|
|
|
301
301
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -325,13 +325,13 @@ class ExternalPreferredLineItemCreateModelV2(ModelNormal):
|
|
|
325
325
|
self._configuration = _configuration
|
|
326
326
|
self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
|
|
327
327
|
|
|
328
|
-
self.
|
|
329
|
-
self.start_date = start_date
|
|
328
|
+
self.budget = budget
|
|
330
329
|
self.end_date = end_date
|
|
330
|
+
self.name = name
|
|
331
331
|
self.pacing = pacing
|
|
332
332
|
self.page = page
|
|
333
|
+
self.start_date = start_date
|
|
333
334
|
self.target_retailer_id = target_retailer_id
|
|
334
|
-
self.budget = budget
|
|
335
335
|
for var_name, var_value in kwargs.items():
|
|
336
336
|
if var_name not in self.attribute_map and \
|
|
337
337
|
self._configuration is not None and \
|
|
@@ -30,13 +30,13 @@ 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.
|
|
34
|
-
from criteo_api_retailmedia_v2025_01.model.
|
|
35
|
-
globals()['
|
|
36
|
-
globals()['
|
|
33
|
+
from criteo_api_retailmedia_v2025_01.model.line_item_capping_v2 import LineItemCappingV2
|
|
34
|
+
from criteo_api_retailmedia_v2025_01.model.line_item_page_v2 import LineItemPageV2
|
|
35
|
+
globals()['LineItemCappingV2'] = LineItemCappingV2
|
|
36
|
+
globals()['LineItemPageV2'] = LineItemPageV2
|
|
37
37
|
|
|
38
38
|
|
|
39
|
-
class
|
|
39
|
+
class PreferredLineItemUpdateModelV2(ModelNormal):
|
|
40
40
|
"""NOTE: This class is auto generated by OpenAPI Generator.
|
|
41
41
|
Ref: https://openapi-generator.tech
|
|
42
42
|
|
|
@@ -109,15 +109,15 @@ class ExternalPreferredLineItemUpdateModelV2(ModelNormal):
|
|
|
109
109
|
"""
|
|
110
110
|
lazy_import()
|
|
111
111
|
return {
|
|
112
|
+
'end_date': (date,), # noqa: E501
|
|
112
113
|
'name': (str,), # noqa: E501
|
|
113
114
|
'start_date': (date,), # noqa: E501
|
|
114
|
-
'end_date': (date,), # noqa: E501
|
|
115
115
|
'status': (str,), # noqa: E501
|
|
116
|
-
'pacing': (str,), # noqa: E501
|
|
117
|
-
'capping': (ExternalLineItemCappingV2,), # noqa: E501
|
|
118
|
-
'page': (ExternalLineItemPageV2,), # noqa: E501
|
|
119
116
|
'budget': (float,), # noqa: E501
|
|
120
|
-
'
|
|
117
|
+
'capping': (LineItemCappingV2,), # noqa: E501
|
|
118
|
+
'creative_id': (str,), # noqa: E501
|
|
119
|
+
'pacing': (str,), # noqa: E501
|
|
120
|
+
'page': (LineItemPageV2,), # noqa: E501
|
|
121
121
|
}
|
|
122
122
|
|
|
123
123
|
@cached_property
|
|
@@ -126,15 +126,15 @@ class ExternalPreferredLineItemUpdateModelV2(ModelNormal):
|
|
|
126
126
|
|
|
127
127
|
|
|
128
128
|
attribute_map = {
|
|
129
|
+
'end_date': 'endDate', # noqa: E501
|
|
129
130
|
'name': 'name', # noqa: E501
|
|
130
131
|
'start_date': 'startDate', # noqa: E501
|
|
131
|
-
'end_date': 'endDate', # noqa: E501
|
|
132
132
|
'status': 'status', # noqa: E501
|
|
133
|
-
'pacing': 'pacing', # noqa: E501
|
|
134
|
-
'capping': 'capping', # noqa: E501
|
|
135
|
-
'page': 'page', # noqa: E501
|
|
136
133
|
'budget': 'budget', # noqa: E501
|
|
134
|
+
'capping': 'capping', # noqa: E501
|
|
137
135
|
'creative_id': 'creativeId', # noqa: E501
|
|
136
|
+
'pacing': 'pacing', # noqa: E501
|
|
137
|
+
'page': 'page', # noqa: E501
|
|
138
138
|
}
|
|
139
139
|
|
|
140
140
|
read_only_vars = {
|
|
@@ -144,13 +144,13 @@ class ExternalPreferredLineItemUpdateModelV2(ModelNormal):
|
|
|
144
144
|
|
|
145
145
|
@classmethod
|
|
146
146
|
@convert_js_args_to_python_args
|
|
147
|
-
def _from_openapi_data(cls, name, start_date,
|
|
148
|
-
"""
|
|
147
|
+
def _from_openapi_data(cls, end_date, name, start_date, status, *args, **kwargs): # noqa: E501
|
|
148
|
+
"""PreferredLineItemUpdateModelV2 - a model defined in OpenAPI
|
|
149
149
|
|
|
150
150
|
Args:
|
|
151
|
+
end_date (date): Represents the Date as a year, month, and day in the format YYYY-MM-DD
|
|
151
152
|
name (str):
|
|
152
153
|
start_date (date): Represents the Date as a year, month, and day in the format YYYY-MM-DD
|
|
153
|
-
end_date (date): Represents the Date as a year, month, and day in the format YYYY-MM-DD
|
|
154
154
|
status (str): Line Item Status Enum
|
|
155
155
|
|
|
156
156
|
Keyword Args:
|
|
@@ -184,11 +184,11 @@ class ExternalPreferredLineItemUpdateModelV2(ModelNormal):
|
|
|
184
184
|
Animal class but this time we won't travel
|
|
185
185
|
through its discriminator because we passed in
|
|
186
186
|
_visited_composed_classes = (Animal,)
|
|
187
|
-
pacing (str): [optional] if omitted the server will use the default value of "accelerated" # noqa: E501
|
|
188
|
-
capping (ExternalLineItemCappingV2): [optional] # noqa: E501
|
|
189
|
-
page (ExternalLineItemPageV2): [optional] # noqa: E501
|
|
190
187
|
budget (float): [optional] # noqa: E501
|
|
191
|
-
|
|
188
|
+
capping (LineItemCappingV2): [optional] # noqa: E501
|
|
189
|
+
creative_id (str): [optional] # noqa: E501
|
|
190
|
+
pacing (str): [optional] if omitted the server will use the default value of "accelerated" # noqa: E501
|
|
191
|
+
page (LineItemPageV2): [optional] # noqa: E501
|
|
192
192
|
"""
|
|
193
193
|
|
|
194
194
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -220,9 +220,9 @@ class ExternalPreferredLineItemUpdateModelV2(ModelNormal):
|
|
|
220
220
|
self._configuration = _configuration
|
|
221
221
|
self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
|
|
222
222
|
|
|
223
|
+
self.end_date = end_date
|
|
223
224
|
self.name = name
|
|
224
225
|
self.start_date = start_date
|
|
225
|
-
self.end_date = end_date
|
|
226
226
|
self.status = status
|
|
227
227
|
for var_name, var_value in kwargs.items():
|
|
228
228
|
if var_name not in self.attribute_map and \
|
|
@@ -244,13 +244,13 @@ class ExternalPreferredLineItemUpdateModelV2(ModelNormal):
|
|
|
244
244
|
])
|
|
245
245
|
|
|
246
246
|
@convert_js_args_to_python_args
|
|
247
|
-
def __init__(self, name, start_date,
|
|
248
|
-
"""
|
|
247
|
+
def __init__(self, end_date, name, start_date, status, *args, **kwargs): # noqa: E501
|
|
248
|
+
"""PreferredLineItemUpdateModelV2 - a model defined in OpenAPI
|
|
249
249
|
|
|
250
250
|
Args:
|
|
251
|
+
end_date (date): Represents the Date as a year, month, and day in the format YYYY-MM-DD
|
|
251
252
|
name (str):
|
|
252
253
|
start_date (date): Represents the Date as a year, month, and day in the format YYYY-MM-DD
|
|
253
|
-
end_date (date): Represents the Date as a year, month, and day in the format YYYY-MM-DD
|
|
254
254
|
status (str): Line Item Status Enum
|
|
255
255
|
|
|
256
256
|
Keyword Args:
|
|
@@ -284,11 +284,11 @@ class ExternalPreferredLineItemUpdateModelV2(ModelNormal):
|
|
|
284
284
|
Animal class but this time we won't travel
|
|
285
285
|
through its discriminator because we passed in
|
|
286
286
|
_visited_composed_classes = (Animal,)
|
|
287
|
-
pacing (str): [optional] if omitted the server will use the default value of "accelerated" # noqa: E501
|
|
288
|
-
capping (ExternalLineItemCappingV2): [optional] # noqa: E501
|
|
289
|
-
page (ExternalLineItemPageV2): [optional] # noqa: E501
|
|
290
287
|
budget (float): [optional] # noqa: E501
|
|
291
|
-
|
|
288
|
+
capping (LineItemCappingV2): [optional] # noqa: E501
|
|
289
|
+
creative_id (str): [optional] # noqa: E501
|
|
290
|
+
pacing (str): [optional] if omitted the server will use the default value of "accelerated" # noqa: E501
|
|
291
|
+
page (LineItemPageV2): [optional] # noqa: E501
|
|
292
292
|
"""
|
|
293
293
|
|
|
294
294
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -318,9 +318,9 @@ class ExternalPreferredLineItemUpdateModelV2(ModelNormal):
|
|
|
318
318
|
self._configuration = _configuration
|
|
319
319
|
self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
|
|
320
320
|
|
|
321
|
+
self.end_date = end_date
|
|
321
322
|
self.name = name
|
|
322
323
|
self.start_date = start_date
|
|
323
|
-
self.end_date = end_date
|
|
324
324
|
self.status = status
|
|
325
325
|
for var_name, var_value in kwargs.items():
|
|
326
326
|
if var_name not in self.attribute_map and \
|
|
@@ -30,13 +30,13 @@ 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.
|
|
34
|
-
from criteo_api_retailmedia_v2025_01.model.
|
|
35
|
-
globals()['
|
|
36
|
-
globals()['
|
|
33
|
+
from criteo_api_retailmedia_v2025_01.model.line_item_capping_v2 import LineItemCappingV2
|
|
34
|
+
from criteo_api_retailmedia_v2025_01.model.line_item_page_v2 import LineItemPageV2
|
|
35
|
+
globals()['LineItemCappingV2'] = LineItemCappingV2
|
|
36
|
+
globals()['LineItemPageV2'] = LineItemPageV2
|
|
37
37
|
|
|
38
38
|
|
|
39
|
-
class
|
|
39
|
+
class PreferredLineItemV2(ModelNormal):
|
|
40
40
|
"""NOTE: This class is auto generated by OpenAPI Generator.
|
|
41
41
|
Ref: https://openapi-generator.tech
|
|
42
42
|
|
|
@@ -110,22 +110,22 @@ class ExternalPreferredLineItemV2(ModelNormal):
|
|
|
110
110
|
"""
|
|
111
111
|
lazy_import()
|
|
112
112
|
return {
|
|
113
|
+
'budget': (float,), # noqa: E501
|
|
114
|
+
'campaign_id': (str,), # noqa: E501
|
|
115
|
+
'end_date': (date,), # noqa: E501
|
|
113
116
|
'name': (str,), # noqa: E501
|
|
114
117
|
'start_date': (date,), # noqa: E501
|
|
115
|
-
'end_date': (date,), # noqa: E501
|
|
116
118
|
'status': (str,), # noqa: E501
|
|
117
119
|
'target_retailer_id': (str,), # noqa: E501
|
|
118
|
-
'campaign_id': (str,), # noqa: E501
|
|
119
|
-
'created_at': (datetime,), # noqa: E501
|
|
120
|
-
'updated_at': (datetime,), # noqa: E501
|
|
121
|
-
'pacing': (str, none_type,), # noqa: E501
|
|
122
|
-
'capping': (ExternalLineItemCappingV2,), # noqa: E501
|
|
123
|
-
'page': (ExternalLineItemPageV2,), # noqa: E501
|
|
124
|
-
'budget': (float, none_type,), # noqa: E501
|
|
125
|
-
'budget_spent': (float, none_type,), # noqa: E501
|
|
126
120
|
'budget_remaining': (float, none_type,), # noqa: E501
|
|
121
|
+
'budget_spent': (float, none_type,), # noqa: E501
|
|
122
|
+
'capping': (LineItemCappingV2,), # noqa: E501
|
|
123
|
+
'created_at': (datetime,), # noqa: E501
|
|
127
124
|
'creative_id': (str, none_type,), # noqa: E501
|
|
128
125
|
'id': (str, none_type,), # noqa: E501
|
|
126
|
+
'pacing': (str, none_type,), # noqa: E501
|
|
127
|
+
'page': (LineItemPageV2,), # noqa: E501
|
|
128
|
+
'updated_at': (datetime,), # noqa: E501
|
|
129
129
|
}
|
|
130
130
|
|
|
131
131
|
@cached_property
|
|
@@ -134,22 +134,22 @@ class ExternalPreferredLineItemV2(ModelNormal):
|
|
|
134
134
|
|
|
135
135
|
|
|
136
136
|
attribute_map = {
|
|
137
|
+
'budget': 'budget', # noqa: E501
|
|
138
|
+
'campaign_id': 'campaignId', # noqa: E501
|
|
139
|
+
'end_date': 'endDate', # noqa: E501
|
|
137
140
|
'name': 'name', # noqa: E501
|
|
138
141
|
'start_date': 'startDate', # noqa: E501
|
|
139
|
-
'end_date': 'endDate', # noqa: E501
|
|
140
142
|
'status': 'status', # noqa: E501
|
|
141
143
|
'target_retailer_id': 'targetRetailerId', # noqa: E501
|
|
142
|
-
'campaign_id': 'campaignId', # noqa: E501
|
|
143
|
-
'created_at': 'createdAt', # noqa: E501
|
|
144
|
-
'updated_at': 'updatedAt', # noqa: E501
|
|
145
|
-
'pacing': 'pacing', # noqa: E501
|
|
146
|
-
'capping': 'capping', # noqa: E501
|
|
147
|
-
'page': 'page', # noqa: E501
|
|
148
|
-
'budget': 'budget', # noqa: E501
|
|
149
|
-
'budget_spent': 'budgetSpent', # noqa: E501
|
|
150
144
|
'budget_remaining': 'budgetRemaining', # noqa: E501
|
|
145
|
+
'budget_spent': 'budgetSpent', # noqa: E501
|
|
146
|
+
'capping': 'capping', # noqa: E501
|
|
147
|
+
'created_at': 'createdAt', # noqa: E501
|
|
151
148
|
'creative_id': 'creativeId', # noqa: E501
|
|
152
149
|
'id': 'id', # noqa: E501
|
|
150
|
+
'pacing': 'pacing', # noqa: E501
|
|
151
|
+
'page': 'page', # noqa: E501
|
|
152
|
+
'updated_at': 'updatedAt', # noqa: E501
|
|
153
153
|
}
|
|
154
154
|
|
|
155
155
|
read_only_vars = {
|
|
@@ -159,18 +159,17 @@ class ExternalPreferredLineItemV2(ModelNormal):
|
|
|
159
159
|
|
|
160
160
|
@classmethod
|
|
161
161
|
@convert_js_args_to_python_args
|
|
162
|
-
def _from_openapi_data(cls,
|
|
163
|
-
"""
|
|
162
|
+
def _from_openapi_data(cls, budget, campaign_id, end_date, name, start_date, status, target_retailer_id, *args, **kwargs): # noqa: E501
|
|
163
|
+
"""PreferredLineItemV2 - a model defined in OpenAPI
|
|
164
164
|
|
|
165
165
|
Args:
|
|
166
|
+
budget (float):
|
|
167
|
+
campaign_id (str):
|
|
168
|
+
end_date (date): Represents the Date as a year, month, and day in the format YYYY-MM-DD
|
|
166
169
|
name (str):
|
|
167
170
|
start_date (date): Represents the Date as a year, month, and day in the format YYYY-MM-DD
|
|
168
|
-
end_date (date): Represents the Date as a year, month, and day in the format YYYY-MM-DD
|
|
169
171
|
status (str): Line Item Status Enum
|
|
170
172
|
target_retailer_id (str):
|
|
171
|
-
campaign_id (str):
|
|
172
|
-
created_at (datetime):
|
|
173
|
-
updated_at (datetime):
|
|
174
173
|
|
|
175
174
|
Keyword Args:
|
|
176
175
|
_check_type (bool): if True, values for parameters in openapi_types
|
|
@@ -203,14 +202,15 @@ class ExternalPreferredLineItemV2(ModelNormal):
|
|
|
203
202
|
Animal class but this time we won't travel
|
|
204
203
|
through its discriminator because we passed in
|
|
205
204
|
_visited_composed_classes = (Animal,)
|
|
206
|
-
pacing (str, none_type): [optional] # noqa: E501
|
|
207
|
-
capping (ExternalLineItemCappingV2): [optional] # noqa: E501
|
|
208
|
-
page (ExternalLineItemPageV2): [optional] # noqa: E501
|
|
209
|
-
budget (float, none_type): [optional] # noqa: E501
|
|
210
|
-
budget_spent (float, none_type): [optional] # noqa: E501
|
|
211
205
|
budget_remaining (float, none_type): [optional] # noqa: E501
|
|
212
|
-
|
|
213
|
-
|
|
206
|
+
budget_spent (float, none_type): [optional] # noqa: E501
|
|
207
|
+
capping (LineItemCappingV2): [optional] # noqa: E501
|
|
208
|
+
created_at (datetime): [optional] # noqa: E501
|
|
209
|
+
creative_id (str, none_type): creative Id. [optional] # noqa: E501
|
|
210
|
+
id (str, none_type): [optional] # noqa: E501
|
|
211
|
+
pacing (str, none_type): [optional] # noqa: E501
|
|
212
|
+
page (LineItemPageV2): [optional] # noqa: E501
|
|
213
|
+
updated_at (datetime): [optional] # noqa: E501
|
|
214
214
|
"""
|
|
215
215
|
|
|
216
216
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -242,14 +242,13 @@ class ExternalPreferredLineItemV2(ModelNormal):
|
|
|
242
242
|
self._configuration = _configuration
|
|
243
243
|
self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
|
|
244
244
|
|
|
245
|
+
self.budget = budget
|
|
246
|
+
self.campaign_id = campaign_id
|
|
247
|
+
self.end_date = end_date
|
|
245
248
|
self.name = name
|
|
246
249
|
self.start_date = start_date
|
|
247
|
-
self.end_date = end_date
|
|
248
250
|
self.status = status
|
|
249
251
|
self.target_retailer_id = target_retailer_id
|
|
250
|
-
self.campaign_id = campaign_id
|
|
251
|
-
self.created_at = created_at
|
|
252
|
-
self.updated_at = updated_at
|
|
253
252
|
for var_name, var_value in kwargs.items():
|
|
254
253
|
if var_name not in self.attribute_map and \
|
|
255
254
|
self._configuration is not None and \
|
|
@@ -270,18 +269,17 @@ class ExternalPreferredLineItemV2(ModelNormal):
|
|
|
270
269
|
])
|
|
271
270
|
|
|
272
271
|
@convert_js_args_to_python_args
|
|
273
|
-
def __init__(self,
|
|
274
|
-
"""
|
|
272
|
+
def __init__(self, budget, campaign_id, end_date, name, start_date, status, target_retailer_id, *args, **kwargs): # noqa: E501
|
|
273
|
+
"""PreferredLineItemV2 - a model defined in OpenAPI
|
|
275
274
|
|
|
276
275
|
Args:
|
|
276
|
+
budget (float):
|
|
277
|
+
campaign_id (str):
|
|
278
|
+
end_date (date): Represents the Date as a year, month, and day in the format YYYY-MM-DD
|
|
277
279
|
name (str):
|
|
278
280
|
start_date (date): Represents the Date as a year, month, and day in the format YYYY-MM-DD
|
|
279
|
-
end_date (date): Represents the Date as a year, month, and day in the format YYYY-MM-DD
|
|
280
281
|
status (str): Line Item Status Enum
|
|
281
282
|
target_retailer_id (str):
|
|
282
|
-
campaign_id (str):
|
|
283
|
-
created_at (datetime):
|
|
284
|
-
updated_at (datetime):
|
|
285
283
|
|
|
286
284
|
Keyword Args:
|
|
287
285
|
_check_type (bool): if True, values for parameters in openapi_types
|
|
@@ -314,14 +312,15 @@ class ExternalPreferredLineItemV2(ModelNormal):
|
|
|
314
312
|
Animal class but this time we won't travel
|
|
315
313
|
through its discriminator because we passed in
|
|
316
314
|
_visited_composed_classes = (Animal,)
|
|
317
|
-
pacing (str, none_type): [optional] # noqa: E501
|
|
318
|
-
capping (ExternalLineItemCappingV2): [optional] # noqa: E501
|
|
319
|
-
page (ExternalLineItemPageV2): [optional] # noqa: E501
|
|
320
|
-
budget (float, none_type): [optional] # noqa: E501
|
|
321
|
-
budget_spent (float, none_type): [optional] # noqa: E501
|
|
322
315
|
budget_remaining (float, none_type): [optional] # noqa: E501
|
|
323
|
-
|
|
324
|
-
|
|
316
|
+
budget_spent (float, none_type): [optional] # noqa: E501
|
|
317
|
+
capping (LineItemCappingV2): [optional] # noqa: E501
|
|
318
|
+
created_at (datetime): [optional] # noqa: E501
|
|
319
|
+
creative_id (str, none_type): creative Id. [optional] # noqa: E501
|
|
320
|
+
id (str, none_type): [optional] # noqa: E501
|
|
321
|
+
pacing (str, none_type): [optional] # noqa: E501
|
|
322
|
+
page (LineItemPageV2): [optional] # noqa: E501
|
|
323
|
+
updated_at (datetime): [optional] # noqa: E501
|
|
325
324
|
"""
|
|
326
325
|
|
|
327
326
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -351,14 +350,13 @@ class ExternalPreferredLineItemV2(ModelNormal):
|
|
|
351
350
|
self._configuration = _configuration
|
|
352
351
|
self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
|
|
353
352
|
|
|
353
|
+
self.budget = budget
|
|
354
|
+
self.campaign_id = campaign_id
|
|
355
|
+
self.end_date = end_date
|
|
354
356
|
self.name = name
|
|
355
357
|
self.start_date = start_date
|
|
356
|
-
self.end_date = end_date
|
|
357
358
|
self.status = status
|
|
358
359
|
self.target_retailer_id = target_retailer_id
|
|
359
|
-
self.campaign_id = campaign_id
|
|
360
|
-
self.created_at = created_at
|
|
361
|
-
self.updated_at = updated_at
|
|
362
360
|
for var_name, var_value in kwargs.items():
|
|
363
361
|
if var_name not in self.attribute_map and \
|
|
364
362
|
self._configuration is not None and \
|
|
@@ -91,10 +91,10 @@ class PreferredLineItemV2PagedListResponse(ModelNormal):
|
|
|
91
91
|
"""
|
|
92
92
|
lazy_import()
|
|
93
93
|
return {
|
|
94
|
-
'metadata': (PageMetadata,), # noqa: E501
|
|
95
94
|
'data': ([ResourceOfPreferredLineItemV2],), # noqa: E501
|
|
96
|
-
'warnings': ([CommonProblem],), # noqa: E501
|
|
97
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 PreferredLineItemV2PagedListResponse(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 PreferredLineItemV2PagedListResponse(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 ([ResourceOfPreferredLineItemV2]): [optional] # noqa: E501
|
|
157
|
-
warnings ([CommonProblem]): [optional] # noqa: E501
|
|
158
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 PreferredLineItemV2PagedListResponse(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 ([ResourceOfPreferredLineItemV2]): [optional] # noqa: E501
|
|
246
|
-
warnings ([CommonProblem]): [optional] # noqa: E501
|
|
247
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)
|
|
@@ -90,8 +90,8 @@ class PreferredLineItemV2Response(ModelNormal):
|
|
|
90
90
|
lazy_import()
|
|
91
91
|
return {
|
|
92
92
|
'data': (ResourceOfPreferredLineItemV2,), # noqa: E501
|
|
93
|
-
'warnings': ([CommonProblem],), # noqa: E501
|
|
94
93
|
'errors': ([CommonProblem],), # noqa: E501
|
|
94
|
+
'warnings': ([CommonProblem],), # noqa: E501
|
|
95
95
|
}
|
|
96
96
|
|
|
97
97
|
@cached_property
|
|
@@ -101,13 +101,13 @@ class PreferredLineItemV2Response(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 PreferredLineItemV2Response(ModelNormal):
|
|
|
149
149
|
through its discriminator because we passed in
|
|
150
150
|
_visited_composed_classes = (Animal,)
|
|
151
151
|
data (ResourceOfPreferredLineItemV2): [optional] # noqa: E501
|
|
152
|
-
warnings ([CommonProblem]): [optional] # noqa: E501
|
|
153
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 PreferredLineItemV2Response(ModelNormal):
|
|
|
237
237
|
through its discriminator because we passed in
|
|
238
238
|
_visited_composed_classes = (Animal,)
|
|
239
239
|
data (ResourceOfPreferredLineItemV2): [optional] # noqa: E501
|
|
240
|
-
warnings ([CommonProblem]): [optional] # noqa: E501
|
|
241
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)
|