criteo-api-retailmedia-sdk 2024.7.0.250320__py3-none-any.whl → 2024.7.0.250409__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of criteo-api-retailmedia-sdk might be problematic. Click here for more details.
- {criteo_api_retailmedia_sdk-2024.7.0.250320.dist-info → criteo_api_retailmedia_sdk-2024.7.0.250409.dist-info}/METADATA +3 -3
- {criteo_api_retailmedia_sdk-2024.7.0.250320.dist-info → criteo_api_retailmedia_sdk-2024.7.0.250409.dist-info}/RECORD +151 -151
- {criteo_api_retailmedia_sdk-2024.7.0.250320.dist-info → criteo_api_retailmedia_sdk-2024.7.0.250409.dist-info}/WHEEL +1 -1
- criteo_api_retailmedia_v2024_07/__init__.py +1 -1
- criteo_api_retailmedia_v2024_07/api/analytics_api.py +2 -2
- criteo_api_retailmedia_v2024_07/api/audience_api.py +12 -12
- criteo_api_retailmedia_v2024_07/api/balance_api.py +12 -12
- criteo_api_retailmedia_v2024_07/api/campaign_api.py +30 -30
- criteo_api_retailmedia_v2024_07/api_client.py +1 -1
- criteo_api_retailmedia_v2024_07/configuration.py +1 -1
- criteo_api_retailmedia_v2024_07/model/add_funds_to_balance_v2.py +4 -4
- criteo_api_retailmedia_v2024_07/model/add_remove_keyword_model.py +8 -8
- criteo_api_retailmedia_v2024_07/model/add_remove_keywords_model_resource.py +4 -4
- criteo_api_retailmedia_v2024_07/model/add_to_basket_target202110_response.py +5 -5
- criteo_api_retailmedia_v2024_07/model/application_summary_model.py +8 -8
- criteo_api_retailmedia_v2024_07/model/application_summary_model_resource.py +4 -4
- criteo_api_retailmedia_v2024_07/model/application_summary_model_response.py +5 -5
- criteo_api_retailmedia_v2024_07/model/asset_response.py +7 -7
- criteo_api_retailmedia_v2024_07/model/async_campaigns_report.py +79 -79
- criteo_api_retailmedia_v2024_07/model/async_campaigns_report_resource.py +4 -4
- criteo_api_retailmedia_v2024_07/model/async_line_items_report.py +79 -79
- criteo_api_retailmedia_v2024_07/model/async_line_items_report_resource.py +4 -4
- criteo_api_retailmedia_v2024_07/model/async_report_response.py +5 -5
- criteo_api_retailmedia_v2024_07/model/async_revenue_report.py +104 -104
- criteo_api_retailmedia_v2024_07/model/async_revenue_report_resource.py +4 -4
- criteo_api_retailmedia_v2024_07/model/auction_line_item_paged_list_response.py +9 -9
- criteo_api_retailmedia_v2024_07/model/auction_line_item_response.py +5 -5
- criteo_api_retailmedia_v2024_07/model/audience_target202110_response.py +5 -5
- criteo_api_retailmedia_v2024_07/model/balance_campaign202110_paged_list_response.py +9 -9
- criteo_api_retailmedia_v2024_07/model/balance_history_change_data_capture_v1.py +14 -14
- criteo_api_retailmedia_v2024_07/model/balance_response_v2.py +45 -45
- criteo_api_retailmedia_v2024_07/model/balance_response_v2_response.py +5 -5
- criteo_api_retailmedia_v2024_07/model/campaign_attributes_v202301.py +57 -57
- criteo_api_retailmedia_v2024_07/model/campaign_budget_overrides.py +8 -8
- criteo_api_retailmedia_v2024_07/model/campaign_v202301.py +82 -82
- criteo_api_retailmedia_v2024_07/model/category202204.py +8 -8
- criteo_api_retailmedia_v2024_07/model/category202204_list_response.py +5 -5
- criteo_api_retailmedia_v2024_07/model/change_dates_of_balance_v2.py +4 -4
- criteo_api_retailmedia_v2024_07/model/change_details_v1.py +8 -8
- criteo_api_retailmedia_v2024_07/model/common_error.py +16 -16
- criteo_api_retailmedia_v2024_07/model/common_line_item_paged_list_response.py +9 -9
- criteo_api_retailmedia_v2024_07/model/common_line_item_response.py +5 -5
- criteo_api_retailmedia_v2024_07/model/common_problem.py +20 -20
- criteo_api_retailmedia_v2024_07/model/common_warning.py +16 -16
- criteo_api_retailmedia_v2024_07/model/create_balance_v2.py +12 -12
- criteo_api_retailmedia_v2024_07/model/creative202110.py +16 -12
- criteo_api_retailmedia_v2024_07/model/creative202110_list_response.py +5 -5
- criteo_api_retailmedia_v2024_07/model/creative202210.py +40 -36
- criteo_api_retailmedia_v2024_07/model/creative202210_list_response.py +5 -5
- criteo_api_retailmedia_v2024_07/model/creative202210_response.py +5 -5
- criteo_api_retailmedia_v2024_07/model/daily_line_item_budget_override.py +4 -4
- criteo_api_retailmedia_v2024_07/model/editable_campaign_attributes_v202301.py +32 -32
- criteo_api_retailmedia_v2024_07/model/entity_resource_of_retail_media_account.py +4 -4
- criteo_api_retailmedia_v2024_07/model/entity_resource_outcome_of_retail_media_account.py +5 -5
- criteo_api_retailmedia_v2024_07/model/external_account.py +18 -18
- criteo_api_retailmedia_v2024_07/model/external_add_to_basket_ids_update_model202110.py +4 -4
- criteo_api_retailmedia_v2024_07/model/external_add_to_basket_target202110.py +4 -4
- criteo_api_retailmedia_v2024_07/model/external_auction_line_item.py +44 -44
- criteo_api_retailmedia_v2024_07/model/external_auction_line_item_create_model.py +30 -30
- criteo_api_retailmedia_v2024_07/model/external_auction_line_item_update_model.py +20 -20
- criteo_api_retailmedia_v2024_07/model/external_audience_target202110.py +8 -8
- criteo_api_retailmedia_v2024_07/model/external_catalog_request.py +4 -4
- criteo_api_retailmedia_v2024_07/model/external_catalog_status.py +20 -20
- criteo_api_retailmedia_v2024_07/model/external_common_line_item.py +34 -34
- criteo_api_retailmedia_v2024_07/model/external_line_item_capping202110.py +8 -8
- criteo_api_retailmedia_v2024_07/model/external_line_item_page202110.py +3 -3
- criteo_api_retailmedia_v2024_07/model/external_preferred_line_item202110.py +55 -51
- criteo_api_retailmedia_v2024_07/model/external_preferred_line_item_create_model202110.py +24 -24
- criteo_api_retailmedia_v2024_07/model/external_preferred_line_item_update_model202110.py +20 -20
- criteo_api_retailmedia_v2024_07/model/external_retail_media_account.py +22 -22
- criteo_api_retailmedia_v2024_07/model/external_retail_media_brand_account_creation.py +8 -8
- criteo_api_retailmedia_v2024_07/model/external_retail_media_seller.py +8 -8
- criteo_api_retailmedia_v2024_07/model/external_retail_media_seller_account_creation.py +4 -4
- criteo_api_retailmedia_v2024_07/model/files_variables_specification.py +4 -4
- criteo_api_retailmedia_v2024_07/model/input_resource_of_auction_line_item_create_model.py +4 -4
- criteo_api_retailmedia_v2024_07/model/input_resource_of_preferred_line_item_create_model202110.py +4 -4
- criteo_api_retailmedia_v2024_07/model/json_api_page_response_of_account.py +8 -8
- criteo_api_retailmedia_v2024_07/model/json_api_page_response_of_brand.py +8 -8
- criteo_api_retailmedia_v2024_07/model/json_api_page_response_of_campaign_v202301.py +8 -8
- criteo_api_retailmedia_v2024_07/model/json_api_page_response_of_retailer.py +8 -8
- criteo_api_retailmedia_v2024_07/model/keyword_data_model.py +12 -12
- criteo_api_retailmedia_v2024_07/model/keyword_target202110_response.py +5 -5
- criteo_api_retailmedia_v2024_07/model/keywords_model_resource.py +4 -4
- criteo_api_retailmedia_v2024_07/model/keywords_model_response.py +4 -4
- criteo_api_retailmedia_v2024_07/model/line_item_bid_multipliers.py +20 -20
- criteo_api_retailmedia_v2024_07/model/line_item_bid_multipliers_response.py +5 -5
- criteo_api_retailmedia_v2024_07/model/line_item_budget_overrides.py +8 -8
- criteo_api_retailmedia_v2024_07/model/metadata.py +8 -8
- criteo_api_retailmedia_v2024_07/model/page_metadata.py +16 -16
- criteo_api_retailmedia_v2024_07/model/page_of_balance_history_change_data_capture_v1.py +8 -8
- criteo_api_retailmedia_v2024_07/model/page_type_environment202210.py +14 -14
- criteo_api_retailmedia_v2024_07/model/paged_resource_collection_outcome_of_balance_response_v2.py +9 -9
- criteo_api_retailmedia_v2024_07/model/preferred_line_item202110_paged_list_response.py +9 -9
- criteo_api_retailmedia_v2024_07/model/preferred_line_item202110_response.py +5 -5
- criteo_api_retailmedia_v2024_07/model/problem_details.py +20 -20
- criteo_api_retailmedia_v2024_07/model/product_metadata.py +8 -8
- criteo_api_retailmedia_v2024_07/model/promoted_product.py +4 -4
- criteo_api_retailmedia_v2024_07/model/promoted_product_resource.py +4 -4
- criteo_api_retailmedia_v2024_07/model/promoted_product_resource_collection_outcome.py +8 -8
- criteo_api_retailmedia_v2024_07/model/report_outcome.py +5 -5
- criteo_api_retailmedia_v2024_07/model/resource_of_auction_line_item.py +4 -4
- criteo_api_retailmedia_v2024_07/model/resource_of_auction_line_item_update_model.py +4 -4
- criteo_api_retailmedia_v2024_07/model/resource_of_balance_campaign202110.py +4 -4
- criteo_api_retailmedia_v2024_07/model/resource_of_common_line_item.py +4 -4
- criteo_api_retailmedia_v2024_07/model/resource_of_preferred_line_item202110.py +4 -4
- criteo_api_retailmedia_v2024_07/model/resource_of_preferred_line_item_update_model202110.py +4 -4
- criteo_api_retailmedia_v2024_07/model/rm_legacy_audience_create_entity_v1.py +19 -19
- criteo_api_retailmedia_v2024_07/model/rm_legacy_audience_create_entity_v1_response.py +5 -5
- criteo_api_retailmedia_v2024_07/model/rm_legacy_audience_create_entity_v2.py +8 -8
- criteo_api_retailmedia_v2024_07/model/rm_legacy_audience_create_entity_v2_response.py +5 -5
- criteo_api_retailmedia_v2024_07/model/rm_legacy_audience_get_entity_v1.py +4 -4
- criteo_api_retailmedia_v2024_07/model/rm_legacy_audience_get_entity_v1_list_response.py +5 -5
- criteo_api_retailmedia_v2024_07/model/rm_legacy_audience_get_entity_v1_resource.py +4 -4
- criteo_api_retailmedia_v2024_07/model/rm_legacy_audience_get_entity_v2.py +12 -12
- criteo_api_retailmedia_v2024_07/model/rm_legacy_audience_get_entity_v2_list_response.py +5 -5
- criteo_api_retailmedia_v2024_07/model/rm_legacy_segment_customer_list.py +8 -8
- criteo_api_retailmedia_v2024_07/model/rm_legacy_segment_user_behavior_create_v2.py +19 -19
- criteo_api_retailmedia_v2024_07/model/rm_legacy_segment_user_behavior_v1.py +17 -17
- criteo_api_retailmedia_v2024_07/model/rm_legacy_segment_user_behavior_v2.py +23 -23
- criteo_api_retailmedia_v2024_07/model/rmca_common_problem.py +16 -16
- criteo_api_retailmedia_v2024_07/model/sdk_api_rest_common_problem.py +16 -16
- criteo_api_retailmedia_v2024_07/model/section.py +4 -4
- criteo_api_retailmedia_v2024_07/model/set_bid_model.py +4 -4
- criteo_api_retailmedia_v2024_07/model/set_bids_model_resource.py +4 -4
- criteo_api_retailmedia_v2024_07/model/status_response.py +20 -20
- criteo_api_retailmedia_v2024_07/model/store_target202110_response.py +5 -5
- criteo_api_retailmedia_v2024_07/model/template.py +24 -24
- criteo_api_retailmedia_v2024_07/model/template_list_response.py +5 -5
- criteo_api_retailmedia_v2024_07/model/template_response.py +5 -5
- criteo_api_retailmedia_v2024_07/model/template_variable.py +4 -4
- criteo_api_retailmedia_v2024_07/model/template_variable_value.py +4 -4
- criteo_api_retailmedia_v2024_07/model/update_balance_model_v2.py +8 -8
- criteo_api_retailmedia_v2024_07/model/value_resource_collection_outcome_of_retail_media_seller.py +5 -5
- criteo_api_retailmedia_v2024_07/model/value_resource_of_campaign_budget_overrides.py +4 -4
- criteo_api_retailmedia_v2024_07/model/value_resource_of_line_item_budget_overrides.py +4 -4
- criteo_api_retailmedia_v2024_07/model/value_resource_of_retail_media_brand_account_creation.py +4 -4
- criteo_api_retailmedia_v2024_07/model/value_resource_of_retail_media_brands.py +4 -4
- criteo_api_retailmedia_v2024_07/model/value_resource_of_retail_media_seller.py +4 -4
- criteo_api_retailmedia_v2024_07/model/value_resource_of_retail_media_seller_account_creation.py +4 -4
- criteo_api_retailmedia_v2024_07/model/value_resource_outcome_of_campaign_budget_overrides.py +5 -5
- criteo_api_retailmedia_v2024_07/model/value_resource_outcome_of_line_item_budget_overrides.py +5 -5
- criteo_api_retailmedia_v2024_07/model/value_resource_outcome_of_retail_media_brands.py +5 -5
- criteo_api_retailmedia_v2024_07/model/value_type_resource_of_add_to_basket_ids_update_model202110.py +4 -4
- criteo_api_retailmedia_v2024_07/model/value_type_resource_of_add_to_basket_target202110.py +4 -4
- criteo_api_retailmedia_v2024_07/model/value_type_resource_of_audience_ids_update_model202110.py +4 -4
- criteo_api_retailmedia_v2024_07/model/value_type_resource_of_audience_target202110.py +4 -4
- criteo_api_retailmedia_v2024_07/model/value_type_resource_of_keyword_target202110.py +4 -4
- criteo_api_retailmedia_v2024_07/model/value_type_resource_of_store_ids_update_model202110.py +4 -4
- criteo_api_retailmedia_v2024_07/model/value_type_resource_of_store_target202110.py +4 -4
- criteo_api_retailmedia_v2024_07/model/video_variable_value.py +16 -16
- {criteo_api_retailmedia_sdk-2024.7.0.250320.dist-info → criteo_api_retailmedia_sdk-2024.7.0.250409.dist-info}/top_level.txt +0 -0
|
@@ -91,8 +91,8 @@ class RmLegacyAudienceGetEntityV1(ModelNormal):
|
|
|
91
91
|
return {
|
|
92
92
|
'name': (str,), # noqa: E501
|
|
93
93
|
'retailer_id': (str,), # noqa: E501
|
|
94
|
-
'user_behavior_details': (RmLegacySegmentUserBehaviorV1,), # noqa: E501
|
|
95
94
|
'customer_list_details': (RmLegacySegmentCustomerList,), # noqa: E501
|
|
95
|
+
'user_behavior_details': (RmLegacySegmentUserBehaviorV1,), # noqa: E501
|
|
96
96
|
}
|
|
97
97
|
|
|
98
98
|
@cached_property
|
|
@@ -103,8 +103,8 @@ class RmLegacyAudienceGetEntityV1(ModelNormal):
|
|
|
103
103
|
attribute_map = {
|
|
104
104
|
'name': 'name', # noqa: E501
|
|
105
105
|
'retailer_id': 'retailerId', # noqa: E501
|
|
106
|
-
'user_behavior_details': 'userBehaviorDetails', # noqa: E501
|
|
107
106
|
'customer_list_details': 'customerListDetails', # noqa: E501
|
|
107
|
+
'user_behavior_details': 'userBehaviorDetails', # noqa: E501
|
|
108
108
|
}
|
|
109
109
|
|
|
110
110
|
read_only_vars = {
|
|
@@ -152,8 +152,8 @@ class RmLegacyAudienceGetEntityV1(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
|
-
user_behavior_details (RmLegacySegmentUserBehaviorV1): [optional] # noqa: E501
|
|
156
155
|
customer_list_details (RmLegacySegmentCustomerList): [optional] # noqa: E501
|
|
156
|
+
user_behavior_details (RmLegacySegmentUserBehaviorV1): [optional] # noqa: E501
|
|
157
157
|
"""
|
|
158
158
|
|
|
159
159
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -245,8 +245,8 @@ class RmLegacyAudienceGetEntityV1(ModelNormal):
|
|
|
245
245
|
Animal class but this time we won't travel
|
|
246
246
|
through its discriminator because we passed in
|
|
247
247
|
_visited_composed_classes = (Animal,)
|
|
248
|
-
user_behavior_details (RmLegacySegmentUserBehaviorV1): [optional] # noqa: E501
|
|
249
248
|
customer_list_details (RmLegacySegmentCustomerList): [optional] # noqa: E501
|
|
249
|
+
user_behavior_details (RmLegacySegmentUserBehaviorV1): [optional] # noqa: E501
|
|
250
250
|
"""
|
|
251
251
|
|
|
252
252
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -90,8 +90,8 @@ class RmLegacyAudienceGetEntityV1ListResponse(ModelNormal):
|
|
|
90
90
|
lazy_import()
|
|
91
91
|
return {
|
|
92
92
|
'data': ([RmLegacyAudienceGetEntityV1Resource], none_type,), # 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 RmLegacyAudienceGetEntityV1ListResponse(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 RmLegacyAudienceGetEntityV1ListResponse(ModelNormal):
|
|
|
149
149
|
through its discriminator because we passed in
|
|
150
150
|
_visited_composed_classes = (Animal,)
|
|
151
151
|
data ([RmLegacyAudienceGetEntityV1Resource], none_type): [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 RmLegacyAudienceGetEntityV1ListResponse(ModelNormal):
|
|
|
237
237
|
through its discriminator because we passed in
|
|
238
238
|
_visited_composed_classes = (Animal,)
|
|
239
239
|
data ([RmLegacyAudienceGetEntityV1Resource], none_type): [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)
|
|
@@ -93,8 +93,8 @@ class RmLegacyAudienceGetEntityV1Resource(ModelNormal):
|
|
|
93
93
|
lazy_import()
|
|
94
94
|
return {
|
|
95
95
|
'attributes': (RmLegacyAudienceGetEntityV1,), # noqa: E501
|
|
96
|
-
'id': (str, none_type,), # noqa: E501
|
|
97
96
|
'audience_type': (str, none_type,), # noqa: E501
|
|
97
|
+
'id': (str, none_type,), # noqa: E501
|
|
98
98
|
'type': (str, none_type,), # noqa: E501
|
|
99
99
|
}
|
|
100
100
|
|
|
@@ -105,8 +105,8 @@ class RmLegacyAudienceGetEntityV1Resource(ModelNormal):
|
|
|
105
105
|
|
|
106
106
|
attribute_map = {
|
|
107
107
|
'attributes': 'attributes', # noqa: E501
|
|
108
|
-
'id': 'id', # noqa: E501
|
|
109
108
|
'audience_type': 'audienceType', # noqa: E501
|
|
109
|
+
'id': 'id', # noqa: E501
|
|
110
110
|
'type': 'type', # noqa: E501
|
|
111
111
|
}
|
|
112
112
|
|
|
@@ -152,8 +152,8 @@ class RmLegacyAudienceGetEntityV1Resource(ModelNormal):
|
|
|
152
152
|
through its discriminator because we passed in
|
|
153
153
|
_visited_composed_classes = (Animal,)
|
|
154
154
|
attributes (RmLegacyAudienceGetEntityV1): [optional] # noqa: E501
|
|
155
|
-
id (str, none_type): Unique identifier of this resource.. [optional] # noqa: E501
|
|
156
155
|
audience_type (str, none_type): Type of the audience.. [optional] # noqa: E501
|
|
156
|
+
id (str, none_type): Unique identifier of this resource.. [optional] # noqa: E501
|
|
157
157
|
type (str, none_type): [optional] # noqa: E501
|
|
158
158
|
"""
|
|
159
159
|
|
|
@@ -241,8 +241,8 @@ class RmLegacyAudienceGetEntityV1Resource(ModelNormal):
|
|
|
241
241
|
through its discriminator because we passed in
|
|
242
242
|
_visited_composed_classes = (Animal,)
|
|
243
243
|
attributes (RmLegacyAudienceGetEntityV1): [optional] # noqa: E501
|
|
244
|
-
id (str, none_type): Unique identifier of this resource.. [optional] # noqa: E501
|
|
245
244
|
audience_type (str, none_type): Type of the audience.. [optional] # noqa: E501
|
|
245
|
+
id (str, none_type): Unique identifier of this resource.. [optional] # noqa: E501
|
|
246
246
|
type (str, none_type): [optional] # noqa: E501
|
|
247
247
|
"""
|
|
248
248
|
|
|
@@ -89,10 +89,10 @@ class RmLegacyAudienceGetEntityV2(ModelNormal):
|
|
|
89
89
|
"""
|
|
90
90
|
lazy_import()
|
|
91
91
|
return {
|
|
92
|
-
'retailer_id': (str,), # noqa: E501
|
|
93
92
|
'name': (str,), # noqa: E501
|
|
94
|
-
'
|
|
93
|
+
'retailer_id': (str,), # noqa: E501
|
|
95
94
|
'customer_list_details': (RmLegacySegmentCustomerList,), # noqa: E501
|
|
95
|
+
'user_behavior_details': (RmLegacyAudienceUserBehaviorDetailsV2,), # noqa: E501
|
|
96
96
|
}
|
|
97
97
|
|
|
98
98
|
@cached_property
|
|
@@ -101,10 +101,10 @@ class RmLegacyAudienceGetEntityV2(ModelNormal):
|
|
|
101
101
|
|
|
102
102
|
|
|
103
103
|
attribute_map = {
|
|
104
|
-
'retailer_id': 'retailerId', # noqa: E501
|
|
105
104
|
'name': 'name', # noqa: E501
|
|
106
|
-
'
|
|
105
|
+
'retailer_id': 'retailerId', # noqa: E501
|
|
107
106
|
'customer_list_details': 'customerListDetails', # noqa: E501
|
|
107
|
+
'user_behavior_details': 'userBehaviorDetails', # noqa: E501
|
|
108
108
|
}
|
|
109
109
|
|
|
110
110
|
read_only_vars = {
|
|
@@ -114,12 +114,12 @@ class RmLegacyAudienceGetEntityV2(ModelNormal):
|
|
|
114
114
|
|
|
115
115
|
@classmethod
|
|
116
116
|
@convert_js_args_to_python_args
|
|
117
|
-
def _from_openapi_data(cls,
|
|
117
|
+
def _from_openapi_data(cls, name, retailer_id, *args, **kwargs): # noqa: E501
|
|
118
118
|
"""RmLegacyAudienceGetEntityV2 - a model defined in OpenAPI
|
|
119
119
|
|
|
120
120
|
Args:
|
|
121
|
-
retailer_id (str): ID of the retailer associated with this audience
|
|
122
121
|
name (str): Name of the audience
|
|
122
|
+
retailer_id (str): ID of the retailer associated with this audience
|
|
123
123
|
|
|
124
124
|
Keyword Args:
|
|
125
125
|
_check_type (bool): if True, values for parameters in openapi_types
|
|
@@ -152,8 +152,8 @@ class RmLegacyAudienceGetEntityV2(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
|
-
user_behavior_details (RmLegacyAudienceUserBehaviorDetailsV2): [optional] # noqa: E501
|
|
156
155
|
customer_list_details (RmLegacySegmentCustomerList): [optional] # noqa: E501
|
|
156
|
+
user_behavior_details (RmLegacyAudienceUserBehaviorDetailsV2): [optional] # noqa: E501
|
|
157
157
|
"""
|
|
158
158
|
|
|
159
159
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -185,8 +185,8 @@ class RmLegacyAudienceGetEntityV2(ModelNormal):
|
|
|
185
185
|
self._configuration = _configuration
|
|
186
186
|
self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
|
|
187
187
|
|
|
188
|
-
self.retailer_id = retailer_id
|
|
189
188
|
self.name = name
|
|
189
|
+
self.retailer_id = retailer_id
|
|
190
190
|
for var_name, var_value in kwargs.items():
|
|
191
191
|
if var_name not in self.attribute_map and \
|
|
192
192
|
self._configuration is not None and \
|
|
@@ -207,12 +207,12 @@ class RmLegacyAudienceGetEntityV2(ModelNormal):
|
|
|
207
207
|
])
|
|
208
208
|
|
|
209
209
|
@convert_js_args_to_python_args
|
|
210
|
-
def __init__(self,
|
|
210
|
+
def __init__(self, name, retailer_id, *args, **kwargs): # noqa: E501
|
|
211
211
|
"""RmLegacyAudienceGetEntityV2 - a model defined in OpenAPI
|
|
212
212
|
|
|
213
213
|
Args:
|
|
214
|
-
retailer_id (str): ID of the retailer associated with this audience
|
|
215
214
|
name (str): Name of the audience
|
|
215
|
+
retailer_id (str): ID of the retailer associated with this audience
|
|
216
216
|
|
|
217
217
|
Keyword Args:
|
|
218
218
|
_check_type (bool): if True, values for parameters in openapi_types
|
|
@@ -245,8 +245,8 @@ class RmLegacyAudienceGetEntityV2(ModelNormal):
|
|
|
245
245
|
Animal class but this time we won't travel
|
|
246
246
|
through its discriminator because we passed in
|
|
247
247
|
_visited_composed_classes = (Animal,)
|
|
248
|
-
user_behavior_details (RmLegacyAudienceUserBehaviorDetailsV2): [optional] # noqa: E501
|
|
249
248
|
customer_list_details (RmLegacySegmentCustomerList): [optional] # noqa: E501
|
|
249
|
+
user_behavior_details (RmLegacyAudienceUserBehaviorDetailsV2): [optional] # noqa: E501
|
|
250
250
|
"""
|
|
251
251
|
|
|
252
252
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -276,8 +276,8 @@ class RmLegacyAudienceGetEntityV2(ModelNormal):
|
|
|
276
276
|
self._configuration = _configuration
|
|
277
277
|
self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
|
|
278
278
|
|
|
279
|
-
self.retailer_id = retailer_id
|
|
280
279
|
self.name = name
|
|
280
|
+
self.retailer_id = retailer_id
|
|
281
281
|
for var_name, var_value in kwargs.items():
|
|
282
282
|
if var_name not in self.attribute_map and \
|
|
283
283
|
self._configuration is not None and \
|
|
@@ -90,8 +90,8 @@ class RmLegacyAudienceGetEntityV2ListResponse(ModelNormal):
|
|
|
90
90
|
lazy_import()
|
|
91
91
|
return {
|
|
92
92
|
'data': ([RmLegacyAudienceGetEntityV2Resource], none_type,), # 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 RmLegacyAudienceGetEntityV2ListResponse(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 RmLegacyAudienceGetEntityV2ListResponse(ModelNormal):
|
|
|
149
149
|
through its discriminator because we passed in
|
|
150
150
|
_visited_composed_classes = (Animal,)
|
|
151
151
|
data ([RmLegacyAudienceGetEntityV2Resource], none_type): [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 RmLegacyAudienceGetEntityV2ListResponse(ModelNormal):
|
|
|
237
237
|
through its discriminator because we passed in
|
|
238
238
|
_visited_composed_classes = (Animal,)
|
|
239
239
|
data ([RmLegacyAudienceGetEntityV2Resource], none_type): [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)
|
|
@@ -81,8 +81,8 @@ class RmLegacySegmentCustomerList(ModelNormal):
|
|
|
81
81
|
and the value is attribute type.
|
|
82
82
|
"""
|
|
83
83
|
return {
|
|
84
|
-
'size': (str,), # noqa: E501
|
|
85
84
|
'is_shared': (bool,), # noqa: E501
|
|
85
|
+
'size': (str,), # noqa: E501
|
|
86
86
|
}
|
|
87
87
|
|
|
88
88
|
@cached_property
|
|
@@ -91,8 +91,8 @@ class RmLegacySegmentCustomerList(ModelNormal):
|
|
|
91
91
|
|
|
92
92
|
|
|
93
93
|
attribute_map = {
|
|
94
|
-
'size': 'size', # noqa: E501
|
|
95
94
|
'is_shared': 'isShared', # noqa: E501
|
|
95
|
+
'size': 'size', # noqa: E501
|
|
96
96
|
}
|
|
97
97
|
|
|
98
98
|
read_only_vars = {
|
|
@@ -102,12 +102,12 @@ class RmLegacySegmentCustomerList(ModelNormal):
|
|
|
102
102
|
|
|
103
103
|
@classmethod
|
|
104
104
|
@convert_js_args_to_python_args
|
|
105
|
-
def _from_openapi_data(cls,
|
|
105
|
+
def _from_openapi_data(cls, is_shared, size, *args, **kwargs): # noqa: E501
|
|
106
106
|
"""RmLegacySegmentCustomerList - a model defined in OpenAPI
|
|
107
107
|
|
|
108
108
|
Args:
|
|
109
|
-
size (str): Number of users in the customer list audience.
|
|
110
109
|
is_shared (bool): Indicate if the audience is shared.
|
|
110
|
+
size (str): Number of users in the customer list audience.
|
|
111
111
|
|
|
112
112
|
Keyword Args:
|
|
113
113
|
_check_type (bool): if True, values for parameters in openapi_types
|
|
@@ -171,8 +171,8 @@ class RmLegacySegmentCustomerList(ModelNormal):
|
|
|
171
171
|
self._configuration = _configuration
|
|
172
172
|
self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
|
|
173
173
|
|
|
174
|
-
self.size = size
|
|
175
174
|
self.is_shared = is_shared
|
|
175
|
+
self.size = size
|
|
176
176
|
for var_name, var_value in kwargs.items():
|
|
177
177
|
if var_name not in self.attribute_map and \
|
|
178
178
|
self._configuration is not None and \
|
|
@@ -193,12 +193,12 @@ class RmLegacySegmentCustomerList(ModelNormal):
|
|
|
193
193
|
])
|
|
194
194
|
|
|
195
195
|
@convert_js_args_to_python_args
|
|
196
|
-
def __init__(self,
|
|
196
|
+
def __init__(self, is_shared, size, *args, **kwargs): # noqa: E501
|
|
197
197
|
"""RmLegacySegmentCustomerList - a model defined in OpenAPI
|
|
198
198
|
|
|
199
199
|
Args:
|
|
200
|
-
size (str): Number of users in the customer list audience.
|
|
201
200
|
is_shared (bool): Indicate if the audience is shared.
|
|
201
|
+
size (str): Number of users in the customer list audience.
|
|
202
202
|
|
|
203
203
|
Keyword Args:
|
|
204
204
|
_check_type (bool): if True, values for parameters in openapi_types
|
|
@@ -260,8 +260,8 @@ class RmLegacySegmentCustomerList(ModelNormal):
|
|
|
260
260
|
self._configuration = _configuration
|
|
261
261
|
self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
|
|
262
262
|
|
|
263
|
-
self.size = size
|
|
264
263
|
self.is_shared = is_shared
|
|
264
|
+
self.size = size
|
|
265
265
|
for var_name, var_value in kwargs.items():
|
|
266
266
|
if var_name not in self.attribute_map and \
|
|
267
267
|
self._configuration is not None and \
|
|
@@ -55,11 +55,6 @@ class RmLegacySegmentUserBehaviorCreateV2(ModelNormal):
|
|
|
55
55
|
"""
|
|
56
56
|
|
|
57
57
|
allowed_values = {
|
|
58
|
-
('user_action',): {
|
|
59
|
-
'BUY': "buy",
|
|
60
|
-
'VIEW': "view",
|
|
61
|
-
'ADDTOCART': "addToCart",
|
|
62
|
-
},
|
|
63
58
|
('lookback_window',): {
|
|
64
59
|
'P7D': "P7D",
|
|
65
60
|
'P14D': "P14D",
|
|
@@ -71,13 +66,18 @@ class RmLegacySegmentUserBehaviorCreateV2(ModelNormal):
|
|
|
71
66
|
'P150D': "P150D",
|
|
72
67
|
'P180D': "P180D",
|
|
73
68
|
},
|
|
69
|
+
('user_action',): {
|
|
70
|
+
'BUY': "buy",
|
|
71
|
+
'VIEW': "view",
|
|
72
|
+
'ADDTOCART': "addToCart",
|
|
73
|
+
},
|
|
74
74
|
}
|
|
75
75
|
|
|
76
76
|
validations = {
|
|
77
|
-
('category_ids',): {
|
|
78
|
-
},
|
|
79
77
|
('brand_ids',): {
|
|
80
78
|
},
|
|
79
|
+
('category_ids',): {
|
|
80
|
+
},
|
|
81
81
|
}
|
|
82
82
|
|
|
83
83
|
@cached_property
|
|
@@ -101,10 +101,10 @@ class RmLegacySegmentUserBehaviorCreateV2(ModelNormal):
|
|
|
101
101
|
and the value is attribute type.
|
|
102
102
|
"""
|
|
103
103
|
return {
|
|
104
|
-
'user_action': (str,), # noqa: E501
|
|
105
104
|
'lookback_window': (str,), # noqa: E501
|
|
106
|
-
'
|
|
105
|
+
'user_action': (str,), # noqa: E501
|
|
107
106
|
'brand_ids': ([int], none_type,), # noqa: E501
|
|
107
|
+
'category_ids': ([int], none_type,), # noqa: E501
|
|
108
108
|
}
|
|
109
109
|
|
|
110
110
|
@cached_property
|
|
@@ -113,10 +113,10 @@ class RmLegacySegmentUserBehaviorCreateV2(ModelNormal):
|
|
|
113
113
|
|
|
114
114
|
|
|
115
115
|
attribute_map = {
|
|
116
|
-
'user_action': 'userAction', # noqa: E501
|
|
117
116
|
'lookback_window': 'lookbackWindow', # noqa: E501
|
|
118
|
-
'
|
|
117
|
+
'user_action': 'userAction', # noqa: E501
|
|
119
118
|
'brand_ids': 'brandIds', # noqa: E501
|
|
119
|
+
'category_ids': 'categoryIds', # noqa: E501
|
|
120
120
|
}
|
|
121
121
|
|
|
122
122
|
read_only_vars = {
|
|
@@ -126,12 +126,12 @@ class RmLegacySegmentUserBehaviorCreateV2(ModelNormal):
|
|
|
126
126
|
|
|
127
127
|
@classmethod
|
|
128
128
|
@convert_js_args_to_python_args
|
|
129
|
-
def _from_openapi_data(cls,
|
|
129
|
+
def _from_openapi_data(cls, lookback_window, user_action, *args, **kwargs): # noqa: E501
|
|
130
130
|
"""RmLegacySegmentUserBehaviorCreateV2 - a model defined in OpenAPI
|
|
131
131
|
|
|
132
132
|
Args:
|
|
133
|
-
user_action (str): Type of shopper activity used to generate the audience.
|
|
134
133
|
lookback_window (str): Length of lookback window
|
|
134
|
+
user_action (str): Type of shopper activity used to generate the audience.
|
|
135
135
|
|
|
136
136
|
Keyword Args:
|
|
137
137
|
_check_type (bool): if True, values for parameters in openapi_types
|
|
@@ -164,8 +164,8 @@ class RmLegacySegmentUserBehaviorCreateV2(ModelNormal):
|
|
|
164
164
|
Animal class but this time we won't travel
|
|
165
165
|
through its discriminator because we passed in
|
|
166
166
|
_visited_composed_classes = (Animal,)
|
|
167
|
-
category_ids ([int], none_type): The categories to target. [optional] # noqa: E501
|
|
168
167
|
brand_ids ([int], none_type): The brands to target. [optional] # noqa: E501
|
|
168
|
+
category_ids ([int], none_type): The categories to target. [optional] # noqa: E501
|
|
169
169
|
"""
|
|
170
170
|
|
|
171
171
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -197,8 +197,8 @@ class RmLegacySegmentUserBehaviorCreateV2(ModelNormal):
|
|
|
197
197
|
self._configuration = _configuration
|
|
198
198
|
self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
|
|
199
199
|
|
|
200
|
-
self.user_action = user_action
|
|
201
200
|
self.lookback_window = lookback_window
|
|
201
|
+
self.user_action = user_action
|
|
202
202
|
for var_name, var_value in kwargs.items():
|
|
203
203
|
if var_name not in self.attribute_map and \
|
|
204
204
|
self._configuration is not None and \
|
|
@@ -219,12 +219,12 @@ class RmLegacySegmentUserBehaviorCreateV2(ModelNormal):
|
|
|
219
219
|
])
|
|
220
220
|
|
|
221
221
|
@convert_js_args_to_python_args
|
|
222
|
-
def __init__(self,
|
|
222
|
+
def __init__(self, lookback_window, user_action, *args, **kwargs): # noqa: E501
|
|
223
223
|
"""RmLegacySegmentUserBehaviorCreateV2 - a model defined in OpenAPI
|
|
224
224
|
|
|
225
225
|
Args:
|
|
226
|
-
user_action (str): Type of shopper activity used to generate the audience.
|
|
227
226
|
lookback_window (str): Length of lookback window
|
|
227
|
+
user_action (str): Type of shopper activity used to generate the audience.
|
|
228
228
|
|
|
229
229
|
Keyword Args:
|
|
230
230
|
_check_type (bool): if True, values for parameters in openapi_types
|
|
@@ -257,8 +257,8 @@ class RmLegacySegmentUserBehaviorCreateV2(ModelNormal):
|
|
|
257
257
|
Animal class but this time we won't travel
|
|
258
258
|
through its discriminator because we passed in
|
|
259
259
|
_visited_composed_classes = (Animal,)
|
|
260
|
-
category_ids ([int], none_type): The categories to target. [optional] # noqa: E501
|
|
261
260
|
brand_ids ([int], none_type): The brands to target. [optional] # noqa: E501
|
|
261
|
+
category_ids ([int], none_type): The categories to target. [optional] # noqa: E501
|
|
262
262
|
"""
|
|
263
263
|
|
|
264
264
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -288,8 +288,8 @@ class RmLegacySegmentUserBehaviorCreateV2(ModelNormal):
|
|
|
288
288
|
self._configuration = _configuration
|
|
289
289
|
self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
|
|
290
290
|
|
|
291
|
-
self.user_action = user_action
|
|
292
291
|
self.lookback_window = lookback_window
|
|
292
|
+
self.user_action = user_action
|
|
293
293
|
for var_name, var_value in kwargs.items():
|
|
294
294
|
if var_name not in self.attribute_map and \
|
|
295
295
|
self._configuration is not None and \
|
|
@@ -55,11 +55,6 @@ class RmLegacySegmentUserBehaviorV1(ModelNormal):
|
|
|
55
55
|
"""
|
|
56
56
|
|
|
57
57
|
allowed_values = {
|
|
58
|
-
('user_type',): {
|
|
59
|
-
'VIEWER': "viewer",
|
|
60
|
-
'BUYER': "buyer",
|
|
61
|
-
'ADDTOCARTER': "addToCarter",
|
|
62
|
-
},
|
|
63
58
|
('lookback_window',): {
|
|
64
59
|
'P7D': "P7D",
|
|
65
60
|
'P14D': "P14D",
|
|
@@ -71,6 +66,11 @@ class RmLegacySegmentUserBehaviorV1(ModelNormal):
|
|
|
71
66
|
'P150D': "P150D",
|
|
72
67
|
'P180D': "P180D",
|
|
73
68
|
},
|
|
69
|
+
('user_type',): {
|
|
70
|
+
'VIEWER': "viewer",
|
|
71
|
+
'BUYER': "buyer",
|
|
72
|
+
'ADDTOCARTER': "addToCarter",
|
|
73
|
+
},
|
|
74
74
|
('target_type',): {
|
|
75
75
|
'None': None,
|
|
76
76
|
'BRAND': "brand",
|
|
@@ -104,10 +104,10 @@ class RmLegacySegmentUserBehaviorV1(ModelNormal):
|
|
|
104
104
|
and the value is attribute type.
|
|
105
105
|
"""
|
|
106
106
|
return {
|
|
107
|
-
'user_type': (str,), # noqa: E501
|
|
108
107
|
'lookback_window': (str,), # noqa: E501
|
|
109
|
-
'
|
|
108
|
+
'user_type': (str,), # noqa: E501
|
|
110
109
|
'target_ids': ([str], none_type,), # noqa: E501
|
|
110
|
+
'target_type': (str, none_type,), # noqa: E501
|
|
111
111
|
}
|
|
112
112
|
|
|
113
113
|
@cached_property
|
|
@@ -116,10 +116,10 @@ class RmLegacySegmentUserBehaviorV1(ModelNormal):
|
|
|
116
116
|
|
|
117
117
|
|
|
118
118
|
attribute_map = {
|
|
119
|
-
'user_type': 'userType', # noqa: E501
|
|
120
119
|
'lookback_window': 'lookbackWindow', # noqa: E501
|
|
121
|
-
'
|
|
120
|
+
'user_type': 'userType', # noqa: E501
|
|
122
121
|
'target_ids': 'targetIds', # noqa: E501
|
|
122
|
+
'target_type': 'targetType', # noqa: E501
|
|
123
123
|
}
|
|
124
124
|
|
|
125
125
|
read_only_vars = {
|
|
@@ -129,12 +129,12 @@ class RmLegacySegmentUserBehaviorV1(ModelNormal):
|
|
|
129
129
|
|
|
130
130
|
@classmethod
|
|
131
131
|
@convert_js_args_to_python_args
|
|
132
|
-
def _from_openapi_data(cls,
|
|
132
|
+
def _from_openapi_data(cls, lookback_window, user_type, *args, **kwargs): # noqa: E501
|
|
133
133
|
"""RmLegacySegmentUserBehaviorV1 - a model defined in OpenAPI
|
|
134
134
|
|
|
135
135
|
Args:
|
|
136
|
-
user_type (str): Type of shopper activity used to generate the audience.
|
|
137
136
|
lookback_window (str): Length of lookback window
|
|
137
|
+
user_type (str): Type of shopper activity used to generate the audience.
|
|
138
138
|
|
|
139
139
|
Keyword Args:
|
|
140
140
|
_check_type (bool): if True, values for parameters in openapi_types
|
|
@@ -167,8 +167,8 @@ class RmLegacySegmentUserBehaviorV1(ModelNormal):
|
|
|
167
167
|
Animal class but this time we won't travel
|
|
168
168
|
through its discriminator because we passed in
|
|
169
169
|
_visited_composed_classes = (Animal,)
|
|
170
|
-
target_type (str, none_type): Type of target. [optional] # noqa: E501
|
|
171
170
|
target_ids ([str], none_type): The categories to target. [optional] # noqa: E501
|
|
171
|
+
target_type (str, none_type): Type of target. [optional] # noqa: E501
|
|
172
172
|
"""
|
|
173
173
|
|
|
174
174
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -200,8 +200,8 @@ class RmLegacySegmentUserBehaviorV1(ModelNormal):
|
|
|
200
200
|
self._configuration = _configuration
|
|
201
201
|
self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
|
|
202
202
|
|
|
203
|
-
self.user_type = user_type
|
|
204
203
|
self.lookback_window = lookback_window
|
|
204
|
+
self.user_type = user_type
|
|
205
205
|
for var_name, var_value in kwargs.items():
|
|
206
206
|
if var_name not in self.attribute_map and \
|
|
207
207
|
self._configuration is not None and \
|
|
@@ -222,12 +222,12 @@ class RmLegacySegmentUserBehaviorV1(ModelNormal):
|
|
|
222
222
|
])
|
|
223
223
|
|
|
224
224
|
@convert_js_args_to_python_args
|
|
225
|
-
def __init__(self,
|
|
225
|
+
def __init__(self, lookback_window, user_type, *args, **kwargs): # noqa: E501
|
|
226
226
|
"""RmLegacySegmentUserBehaviorV1 - a model defined in OpenAPI
|
|
227
227
|
|
|
228
228
|
Args:
|
|
229
|
-
user_type (str): Type of shopper activity used to generate the audience.
|
|
230
229
|
lookback_window (str): Length of lookback window
|
|
230
|
+
user_type (str): Type of shopper activity used to generate the audience.
|
|
231
231
|
|
|
232
232
|
Keyword Args:
|
|
233
233
|
_check_type (bool): if True, values for parameters in openapi_types
|
|
@@ -260,8 +260,8 @@ class RmLegacySegmentUserBehaviorV1(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
|
-
target_type (str, none_type): Type of target. [optional] # noqa: E501
|
|
264
263
|
target_ids ([str], none_type): The categories to target. [optional] # noqa: E501
|
|
264
|
+
target_type (str, none_type): Type of target. [optional] # noqa: E501
|
|
265
265
|
"""
|
|
266
266
|
|
|
267
267
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -291,8 +291,8 @@ class RmLegacySegmentUserBehaviorV1(ModelNormal):
|
|
|
291
291
|
self._configuration = _configuration
|
|
292
292
|
self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
|
|
293
293
|
|
|
294
|
-
self.user_type = user_type
|
|
295
294
|
self.lookback_window = lookback_window
|
|
295
|
+
self.user_type = user_type
|
|
296
296
|
for var_name, var_value in kwargs.items():
|
|
297
297
|
if var_name not in self.attribute_map and \
|
|
298
298
|
self._configuration is not None and \
|