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
|
@@ -84,10 +84,10 @@ class PromotedProductResourceCollectionOutcome(ModelNormal):
|
|
|
84
84
|
"""
|
|
85
85
|
lazy_import()
|
|
86
86
|
return {
|
|
87
|
+
'data': ([PromotedProductResource], none_type,), # noqa: E501
|
|
87
88
|
'errors': ([RmcaCommonProblem], none_type,), # noqa: E501
|
|
88
|
-
'warnings': ([RmcaCommonProblem], none_type,), # noqa: E501
|
|
89
89
|
'meta': (ProductMetadata,), # noqa: E501
|
|
90
|
-
'
|
|
90
|
+
'warnings': ([RmcaCommonProblem], none_type,), # noqa: E501
|
|
91
91
|
}
|
|
92
92
|
|
|
93
93
|
@cached_property
|
|
@@ -96,10 +96,10 @@ class PromotedProductResourceCollectionOutcome(ModelNormal):
|
|
|
96
96
|
|
|
97
97
|
|
|
98
98
|
attribute_map = {
|
|
99
|
+
'data': 'data', # noqa: E501
|
|
99
100
|
'errors': 'errors', # noqa: E501
|
|
100
|
-
'warnings': 'warnings', # noqa: E501
|
|
101
101
|
'meta': 'meta', # noqa: E501
|
|
102
|
-
'
|
|
102
|
+
'warnings': 'warnings', # noqa: E501
|
|
103
103
|
}
|
|
104
104
|
|
|
105
105
|
read_only_vars = {
|
|
@@ -145,10 +145,10 @@ class PromotedProductResourceCollectionOutcome(ModelNormal):
|
|
|
145
145
|
Animal class but this time we won't travel
|
|
146
146
|
through its discriminator because we passed in
|
|
147
147
|
_visited_composed_classes = (Animal,)
|
|
148
|
+
data ([PromotedProductResource], none_type): [optional] # noqa: E501
|
|
148
149
|
errors ([RmcaCommonProblem], none_type): [optional] # noqa: E501
|
|
149
|
-
warnings ([RmcaCommonProblem], none_type): [optional] # noqa: E501
|
|
150
150
|
meta (ProductMetadata): [optional] # noqa: E501
|
|
151
|
-
|
|
151
|
+
warnings ([RmcaCommonProblem], none_type): [optional] # noqa: E501
|
|
152
152
|
"""
|
|
153
153
|
|
|
154
154
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -234,10 +234,10 @@ class PromotedProductResourceCollectionOutcome(ModelNormal):
|
|
|
234
234
|
Animal class but this time we won't travel
|
|
235
235
|
through its discriminator because we passed in
|
|
236
236
|
_visited_composed_classes = (Animal,)
|
|
237
|
+
data ([PromotedProductResource], none_type): [optional] # noqa: E501
|
|
237
238
|
errors ([RmcaCommonProblem], none_type): [optional] # noqa: E501
|
|
238
|
-
warnings ([RmcaCommonProblem], none_type): [optional] # noqa: E501
|
|
239
239
|
meta (ProductMetadata): [optional] # noqa: E501
|
|
240
|
-
|
|
240
|
+
warnings ([RmcaCommonProblem], none_type): [optional] # noqa: E501
|
|
241
241
|
"""
|
|
242
242
|
|
|
243
243
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -87,8 +87,8 @@ class ReportOutcome(ModelNormal):
|
|
|
87
87
|
"""
|
|
88
88
|
lazy_import()
|
|
89
89
|
return {
|
|
90
|
-
'warnings': ([CommonProblem], none_type,), # noqa: E501
|
|
91
90
|
'errors': ([CommonProblem], none_type,), # noqa: E501
|
|
91
|
+
'warnings': ([CommonProblem], none_type,), # noqa: E501
|
|
92
92
|
}
|
|
93
93
|
|
|
94
94
|
@cached_property
|
|
@@ -97,13 +97,13 @@ class ReportOutcome(ModelNormal):
|
|
|
97
97
|
|
|
98
98
|
|
|
99
99
|
attribute_map = {
|
|
100
|
-
'warnings': 'warnings', # noqa: E501
|
|
101
100
|
'errors': 'errors', # noqa: E501
|
|
101
|
+
'warnings': 'warnings', # noqa: E501
|
|
102
102
|
}
|
|
103
103
|
|
|
104
104
|
read_only_vars = {
|
|
105
|
-
'warnings', # noqa: E501
|
|
106
105
|
'errors', # noqa: E501
|
|
106
|
+
'warnings', # noqa: E501
|
|
107
107
|
}
|
|
108
108
|
|
|
109
109
|
_composed_schemas = {}
|
|
@@ -144,8 +144,8 @@ class ReportOutcome(ModelNormal):
|
|
|
144
144
|
Animal class but this time we won't travel
|
|
145
145
|
through its discriminator because we passed in
|
|
146
146
|
_visited_composed_classes = (Animal,)
|
|
147
|
-
warnings ([CommonProblem], none_type): [optional] # noqa: E501
|
|
148
147
|
errors ([CommonProblem], none_type): [optional] # noqa: E501
|
|
148
|
+
warnings ([CommonProblem], none_type): [optional] # noqa: E501
|
|
149
149
|
"""
|
|
150
150
|
|
|
151
151
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -231,8 +231,8 @@ class ReportOutcome(ModelNormal):
|
|
|
231
231
|
Animal class but this time we won't travel
|
|
232
232
|
through its discriminator because we passed in
|
|
233
233
|
_visited_composed_classes = (Animal,)
|
|
234
|
-
warnings ([CommonProblem], none_type): [optional] # noqa: E501
|
|
235
234
|
errors ([CommonProblem], none_type): [optional] # noqa: E501
|
|
235
|
+
warnings ([CommonProblem], none_type): [optional] # noqa: E501
|
|
236
236
|
"""
|
|
237
237
|
|
|
238
238
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -87,9 +87,9 @@ class ResourceOfAuctionLineItem(ModelNormal):
|
|
|
87
87
|
"""
|
|
88
88
|
lazy_import()
|
|
89
89
|
return {
|
|
90
|
+
'attributes': (ExternalAuctionLineItem,), # noqa: E501
|
|
90
91
|
'id': (str, none_type,), # noqa: E501
|
|
91
92
|
'type': (str, none_type,), # noqa: E501
|
|
92
|
-
'attributes': (ExternalAuctionLineItem,), # noqa: E501
|
|
93
93
|
}
|
|
94
94
|
|
|
95
95
|
@cached_property
|
|
@@ -98,9 +98,9 @@ class ResourceOfAuctionLineItem(ModelNormal):
|
|
|
98
98
|
|
|
99
99
|
|
|
100
100
|
attribute_map = {
|
|
101
|
+
'attributes': 'attributes', # noqa: E501
|
|
101
102
|
'id': 'id', # noqa: E501
|
|
102
103
|
'type': 'type', # noqa: E501
|
|
103
|
-
'attributes': 'attributes', # noqa: E501
|
|
104
104
|
}
|
|
105
105
|
|
|
106
106
|
read_only_vars = {
|
|
@@ -144,9 +144,9 @@ class ResourceOfAuctionLineItem(ModelNormal):
|
|
|
144
144
|
Animal class but this time we won't travel
|
|
145
145
|
through its discriminator because we passed in
|
|
146
146
|
_visited_composed_classes = (Animal,)
|
|
147
|
+
attributes (ExternalAuctionLineItem): [optional] # noqa: E501
|
|
147
148
|
id (str, none_type): Id of the entity. [optional] # noqa: E501
|
|
148
149
|
type (str, none_type): Canonical type name of the entity. [optional] # noqa: E501
|
|
149
|
-
attributes (ExternalAuctionLineItem): [optional] # noqa: E501
|
|
150
150
|
"""
|
|
151
151
|
|
|
152
152
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -232,9 +232,9 @@ class ResourceOfAuctionLineItem(ModelNormal):
|
|
|
232
232
|
Animal class but this time we won't travel
|
|
233
233
|
through its discriminator because we passed in
|
|
234
234
|
_visited_composed_classes = (Animal,)
|
|
235
|
+
attributes (ExternalAuctionLineItem): [optional] # noqa: E501
|
|
235
236
|
id (str, none_type): Id of the entity. [optional] # noqa: E501
|
|
236
237
|
type (str, none_type): Canonical type name of the entity. [optional] # noqa: E501
|
|
237
|
-
attributes (ExternalAuctionLineItem): [optional] # noqa: E501
|
|
238
238
|
"""
|
|
239
239
|
|
|
240
240
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -87,9 +87,9 @@ class ResourceOfAuctionLineItemUpdateModel(ModelNormal):
|
|
|
87
87
|
"""
|
|
88
88
|
lazy_import()
|
|
89
89
|
return {
|
|
90
|
+
'attributes': (ExternalAuctionLineItemUpdateModel,), # noqa: E501
|
|
90
91
|
'id': (str,), # noqa: E501
|
|
91
92
|
'type': (str,), # noqa: E501
|
|
92
|
-
'attributes': (ExternalAuctionLineItemUpdateModel,), # noqa: E501
|
|
93
93
|
}
|
|
94
94
|
|
|
95
95
|
@cached_property
|
|
@@ -98,9 +98,9 @@ class ResourceOfAuctionLineItemUpdateModel(ModelNormal):
|
|
|
98
98
|
|
|
99
99
|
|
|
100
100
|
attribute_map = {
|
|
101
|
+
'attributes': 'attributes', # noqa: E501
|
|
101
102
|
'id': 'id', # noqa: E501
|
|
102
103
|
'type': 'type', # noqa: E501
|
|
103
|
-
'attributes': 'attributes', # noqa: E501
|
|
104
104
|
}
|
|
105
105
|
|
|
106
106
|
read_only_vars = {
|
|
@@ -144,9 +144,9 @@ class ResourceOfAuctionLineItemUpdateModel(ModelNormal):
|
|
|
144
144
|
Animal class but this time we won't travel
|
|
145
145
|
through its discriminator because we passed in
|
|
146
146
|
_visited_composed_classes = (Animal,)
|
|
147
|
+
attributes (ExternalAuctionLineItemUpdateModel): [optional] # noqa: E501
|
|
147
148
|
id (str): Id of the entity. [optional] # noqa: E501
|
|
148
149
|
type (str): Canonical type name of the entity. [optional] # noqa: E501
|
|
149
|
-
attributes (ExternalAuctionLineItemUpdateModel): [optional] # noqa: E501
|
|
150
150
|
"""
|
|
151
151
|
|
|
152
152
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -232,9 +232,9 @@ class ResourceOfAuctionLineItemUpdateModel(ModelNormal):
|
|
|
232
232
|
Animal class but this time we won't travel
|
|
233
233
|
through its discriminator because we passed in
|
|
234
234
|
_visited_composed_classes = (Animal,)
|
|
235
|
+
attributes (ExternalAuctionLineItemUpdateModel): [optional] # noqa: E501
|
|
235
236
|
id (str): Id of the entity. [optional] # noqa: E501
|
|
236
237
|
type (str): Canonical type name of the entity. [optional] # noqa: E501
|
|
237
|
-
attributes (ExternalAuctionLineItemUpdateModel): [optional] # noqa: E501
|
|
238
238
|
"""
|
|
239
239
|
|
|
240
240
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -81,9 +81,9 @@ class ResourceOfBalanceCampaign202110(ModelNormal):
|
|
|
81
81
|
and the value is attribute type.
|
|
82
82
|
"""
|
|
83
83
|
return {
|
|
84
|
+
'attributes': ({str: (bool, date, datetime, dict, float, int, list, str, none_type)},), # noqa: E501
|
|
84
85
|
'id': (str, none_type,), # noqa: E501
|
|
85
86
|
'type': (str, none_type,), # noqa: E501
|
|
86
|
-
'attributes': ({str: (bool, date, datetime, dict, float, int, list, str, none_type)},), # noqa: E501
|
|
87
87
|
}
|
|
88
88
|
|
|
89
89
|
@cached_property
|
|
@@ -92,9 +92,9 @@ class ResourceOfBalanceCampaign202110(ModelNormal):
|
|
|
92
92
|
|
|
93
93
|
|
|
94
94
|
attribute_map = {
|
|
95
|
+
'attributes': 'attributes', # noqa: E501
|
|
95
96
|
'id': 'id', # noqa: E501
|
|
96
97
|
'type': 'type', # noqa: E501
|
|
97
|
-
'attributes': 'attributes', # noqa: E501
|
|
98
98
|
}
|
|
99
99
|
|
|
100
100
|
read_only_vars = {
|
|
@@ -138,9 +138,9 @@ class ResourceOfBalanceCampaign202110(ModelNormal):
|
|
|
138
138
|
Animal class but this time we won't travel
|
|
139
139
|
through its discriminator because we passed in
|
|
140
140
|
_visited_composed_classes = (Animal,)
|
|
141
|
+
attributes ({str: (bool, date, datetime, dict, float, int, list, str, none_type)}): Campaigns related to the balance. [optional] # noqa: E501
|
|
141
142
|
id (str, none_type): Id of the entity. [optional] # noqa: E501
|
|
142
143
|
type (str, none_type): Canonical type name of the entity. [optional] # noqa: E501
|
|
143
|
-
attributes ({str: (bool, date, datetime, dict, float, int, list, str, none_type)}): Campaigns related to the balance. [optional] # noqa: E501
|
|
144
144
|
"""
|
|
145
145
|
|
|
146
146
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -226,9 +226,9 @@ class ResourceOfBalanceCampaign202110(ModelNormal):
|
|
|
226
226
|
Animal class but this time we won't travel
|
|
227
227
|
through its discriminator because we passed in
|
|
228
228
|
_visited_composed_classes = (Animal,)
|
|
229
|
+
attributes ({str: (bool, date, datetime, dict, float, int, list, str, none_type)}): Campaigns related to the balance. [optional] # noqa: E501
|
|
229
230
|
id (str, none_type): Id of the entity. [optional] # noqa: E501
|
|
230
231
|
type (str, none_type): Canonical type name of the entity. [optional] # noqa: E501
|
|
231
|
-
attributes ({str: (bool, date, datetime, dict, float, int, list, str, none_type)}): Campaigns related to the balance. [optional] # noqa: E501
|
|
232
232
|
"""
|
|
233
233
|
|
|
234
234
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -87,9 +87,9 @@ class ResourceOfCommonLineItem(ModelNormal):
|
|
|
87
87
|
"""
|
|
88
88
|
lazy_import()
|
|
89
89
|
return {
|
|
90
|
+
'attributes': (ExternalCommonLineItem,), # noqa: E501
|
|
90
91
|
'id': (str, none_type,), # noqa: E501
|
|
91
92
|
'type': (str, none_type,), # noqa: E501
|
|
92
|
-
'attributes': (ExternalCommonLineItem,), # noqa: E501
|
|
93
93
|
}
|
|
94
94
|
|
|
95
95
|
@cached_property
|
|
@@ -98,9 +98,9 @@ class ResourceOfCommonLineItem(ModelNormal):
|
|
|
98
98
|
|
|
99
99
|
|
|
100
100
|
attribute_map = {
|
|
101
|
+
'attributes': 'attributes', # noqa: E501
|
|
101
102
|
'id': 'id', # noqa: E501
|
|
102
103
|
'type': 'type', # noqa: E501
|
|
103
|
-
'attributes': 'attributes', # noqa: E501
|
|
104
104
|
}
|
|
105
105
|
|
|
106
106
|
read_only_vars = {
|
|
@@ -144,9 +144,9 @@ class ResourceOfCommonLineItem(ModelNormal):
|
|
|
144
144
|
Animal class but this time we won't travel
|
|
145
145
|
through its discriminator because we passed in
|
|
146
146
|
_visited_composed_classes = (Animal,)
|
|
147
|
+
attributes (ExternalCommonLineItem): [optional] # noqa: E501
|
|
147
148
|
id (str, none_type): Id of the entity. [optional] # noqa: E501
|
|
148
149
|
type (str, none_type): Canonical type name of the entity. [optional] # noqa: E501
|
|
149
|
-
attributes (ExternalCommonLineItem): [optional] # noqa: E501
|
|
150
150
|
"""
|
|
151
151
|
|
|
152
152
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -232,9 +232,9 @@ class ResourceOfCommonLineItem(ModelNormal):
|
|
|
232
232
|
Animal class but this time we won't travel
|
|
233
233
|
through its discriminator because we passed in
|
|
234
234
|
_visited_composed_classes = (Animal,)
|
|
235
|
+
attributes (ExternalCommonLineItem): [optional] # noqa: E501
|
|
235
236
|
id (str, none_type): Id of the entity. [optional] # noqa: E501
|
|
236
237
|
type (str, none_type): Canonical type name of the entity. [optional] # noqa: E501
|
|
237
|
-
attributes (ExternalCommonLineItem): [optional] # noqa: E501
|
|
238
238
|
"""
|
|
239
239
|
|
|
240
240
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -87,9 +87,9 @@ class ResourceOfPreferredLineItem202110(ModelNormal):
|
|
|
87
87
|
"""
|
|
88
88
|
lazy_import()
|
|
89
89
|
return {
|
|
90
|
+
'attributes': (ExternalPreferredLineItem202110,), # noqa: E501
|
|
90
91
|
'id': (str, none_type,), # noqa: E501
|
|
91
92
|
'type': (str, none_type,), # noqa: E501
|
|
92
|
-
'attributes': (ExternalPreferredLineItem202110,), # noqa: E501
|
|
93
93
|
}
|
|
94
94
|
|
|
95
95
|
@cached_property
|
|
@@ -98,9 +98,9 @@ class ResourceOfPreferredLineItem202110(ModelNormal):
|
|
|
98
98
|
|
|
99
99
|
|
|
100
100
|
attribute_map = {
|
|
101
|
+
'attributes': 'attributes', # noqa: E501
|
|
101
102
|
'id': 'id', # noqa: E501
|
|
102
103
|
'type': 'type', # noqa: E501
|
|
103
|
-
'attributes': 'attributes', # noqa: E501
|
|
104
104
|
}
|
|
105
105
|
|
|
106
106
|
read_only_vars = {
|
|
@@ -144,9 +144,9 @@ class ResourceOfPreferredLineItem202110(ModelNormal):
|
|
|
144
144
|
Animal class but this time we won't travel
|
|
145
145
|
through its discriminator because we passed in
|
|
146
146
|
_visited_composed_classes = (Animal,)
|
|
147
|
+
attributes (ExternalPreferredLineItem202110): [optional] # noqa: E501
|
|
147
148
|
id (str, none_type): Id of the entity. [optional] # noqa: E501
|
|
148
149
|
type (str, none_type): Canonical type name of the entity. [optional] # noqa: E501
|
|
149
|
-
attributes (ExternalPreferredLineItem202110): [optional] # noqa: E501
|
|
150
150
|
"""
|
|
151
151
|
|
|
152
152
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -232,9 +232,9 @@ class ResourceOfPreferredLineItem202110(ModelNormal):
|
|
|
232
232
|
Animal class but this time we won't travel
|
|
233
233
|
through its discriminator because we passed in
|
|
234
234
|
_visited_composed_classes = (Animal,)
|
|
235
|
+
attributes (ExternalPreferredLineItem202110): [optional] # noqa: E501
|
|
235
236
|
id (str, none_type): Id of the entity. [optional] # noqa: E501
|
|
236
237
|
type (str, none_type): Canonical type name of the entity. [optional] # noqa: E501
|
|
237
|
-
attributes (ExternalPreferredLineItem202110): [optional] # noqa: E501
|
|
238
238
|
"""
|
|
239
239
|
|
|
240
240
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -87,9 +87,9 @@ class ResourceOfPreferredLineItemUpdateModel202110(ModelNormal):
|
|
|
87
87
|
"""
|
|
88
88
|
lazy_import()
|
|
89
89
|
return {
|
|
90
|
+
'attributes': (ExternalPreferredLineItemUpdateModel202110,), # noqa: E501
|
|
90
91
|
'id': (str,), # noqa: E501
|
|
91
92
|
'type': (str,), # noqa: E501
|
|
92
|
-
'attributes': (ExternalPreferredLineItemUpdateModel202110,), # noqa: E501
|
|
93
93
|
}
|
|
94
94
|
|
|
95
95
|
@cached_property
|
|
@@ -98,9 +98,9 @@ class ResourceOfPreferredLineItemUpdateModel202110(ModelNormal):
|
|
|
98
98
|
|
|
99
99
|
|
|
100
100
|
attribute_map = {
|
|
101
|
+
'attributes': 'attributes', # noqa: E501
|
|
101
102
|
'id': 'id', # noqa: E501
|
|
102
103
|
'type': 'type', # noqa: E501
|
|
103
|
-
'attributes': 'attributes', # noqa: E501
|
|
104
104
|
}
|
|
105
105
|
|
|
106
106
|
read_only_vars = {
|
|
@@ -144,9 +144,9 @@ class ResourceOfPreferredLineItemUpdateModel202110(ModelNormal):
|
|
|
144
144
|
Animal class but this time we won't travel
|
|
145
145
|
through its discriminator because we passed in
|
|
146
146
|
_visited_composed_classes = (Animal,)
|
|
147
|
+
attributes (ExternalPreferredLineItemUpdateModel202110): [optional] # noqa: E501
|
|
147
148
|
id (str): Id of the entity. [optional] # noqa: E501
|
|
148
149
|
type (str): Canonical type name of the entity. [optional] # noqa: E501
|
|
149
|
-
attributes (ExternalPreferredLineItemUpdateModel202110): [optional] # noqa: E501
|
|
150
150
|
"""
|
|
151
151
|
|
|
152
152
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -232,9 +232,9 @@ class ResourceOfPreferredLineItemUpdateModel202110(ModelNormal):
|
|
|
232
232
|
Animal class but this time we won't travel
|
|
233
233
|
through its discriminator because we passed in
|
|
234
234
|
_visited_composed_classes = (Animal,)
|
|
235
|
+
attributes (ExternalPreferredLineItemUpdateModel202110): [optional] # noqa: E501
|
|
235
236
|
id (str): Id of the entity. [optional] # noqa: E501
|
|
236
237
|
type (str): Canonical type name of the entity. [optional] # noqa: E501
|
|
237
|
-
attributes (ExternalPreferredLineItemUpdateModel202110): [optional] # noqa: E501
|
|
238
238
|
"""
|
|
239
239
|
|
|
240
240
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -55,11 +55,6 @@ class RmLegacyAudienceCreateEntityV1(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 RmLegacyAudienceCreateEntityV1(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
|
}
|
|
75
75
|
|
|
76
76
|
validations = {
|
|
@@ -101,10 +101,10 @@ class RmLegacyAudienceCreateEntityV1(ModelNormal):
|
|
|
101
101
|
and the value is attribute type.
|
|
102
102
|
"""
|
|
103
103
|
return {
|
|
104
|
-
'user_type': (str,), # noqa: E501
|
|
105
104
|
'lookback_window': (str,), # noqa: E501
|
|
106
|
-
'retailer_id': (int,), # noqa: E501
|
|
107
105
|
'name': (str,), # noqa: E501
|
|
106
|
+
'retailer_id': (int,), # noqa: E501
|
|
107
|
+
'user_type': (str,), # noqa: E501
|
|
108
108
|
'brand_ids': ([int], none_type,), # noqa: E501
|
|
109
109
|
'category_ids': ([int], none_type,), # noqa: E501
|
|
110
110
|
}
|
|
@@ -115,10 +115,10 @@ class RmLegacyAudienceCreateEntityV1(ModelNormal):
|
|
|
115
115
|
|
|
116
116
|
|
|
117
117
|
attribute_map = {
|
|
118
|
-
'user_type': 'userType', # noqa: E501
|
|
119
118
|
'lookback_window': 'lookbackWindow', # noqa: E501
|
|
120
|
-
'retailer_id': 'retailerId', # noqa: E501
|
|
121
119
|
'name': 'name', # noqa: E501
|
|
120
|
+
'retailer_id': 'retailerId', # noqa: E501
|
|
121
|
+
'user_type': 'userType', # noqa: E501
|
|
122
122
|
'brand_ids': 'brandIds', # noqa: E501
|
|
123
123
|
'category_ids': 'categoryIds', # noqa: E501
|
|
124
124
|
}
|
|
@@ -130,14 +130,14 @@ class RmLegacyAudienceCreateEntityV1(ModelNormal):
|
|
|
130
130
|
|
|
131
131
|
@classmethod
|
|
132
132
|
@convert_js_args_to_python_args
|
|
133
|
-
def _from_openapi_data(cls,
|
|
133
|
+
def _from_openapi_data(cls, lookback_window, name, retailer_id, user_type, *args, **kwargs): # noqa: E501
|
|
134
134
|
"""RmLegacyAudienceCreateEntityV1 - a model defined in OpenAPI
|
|
135
135
|
|
|
136
136
|
Args:
|
|
137
|
-
user_type (str): Type of the user
|
|
138
137
|
lookback_window (str): Length of lookback window
|
|
139
|
-
retailer_id (int): ID of the retailer associated with this audience
|
|
140
138
|
name (str): Name of the audience
|
|
139
|
+
retailer_id (int): ID of the retailer associated with this audience
|
|
140
|
+
user_type (str): Type of the user
|
|
141
141
|
|
|
142
142
|
Keyword Args:
|
|
143
143
|
_check_type (bool): if True, values for parameters in openapi_types
|
|
@@ -203,10 +203,10 @@ class RmLegacyAudienceCreateEntityV1(ModelNormal):
|
|
|
203
203
|
self._configuration = _configuration
|
|
204
204
|
self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
|
|
205
205
|
|
|
206
|
-
self.user_type = user_type
|
|
207
206
|
self.lookback_window = lookback_window
|
|
208
|
-
self.retailer_id = retailer_id
|
|
209
207
|
self.name = name
|
|
208
|
+
self.retailer_id = retailer_id
|
|
209
|
+
self.user_type = user_type
|
|
210
210
|
for var_name, var_value in kwargs.items():
|
|
211
211
|
if var_name not in self.attribute_map and \
|
|
212
212
|
self._configuration is not None and \
|
|
@@ -227,14 +227,14 @@ class RmLegacyAudienceCreateEntityV1(ModelNormal):
|
|
|
227
227
|
])
|
|
228
228
|
|
|
229
229
|
@convert_js_args_to_python_args
|
|
230
|
-
def __init__(self,
|
|
230
|
+
def __init__(self, lookback_window, name, retailer_id, user_type, *args, **kwargs): # noqa: E501
|
|
231
231
|
"""RmLegacyAudienceCreateEntityV1 - a model defined in OpenAPI
|
|
232
232
|
|
|
233
233
|
Args:
|
|
234
|
-
user_type (str): Type of the user
|
|
235
234
|
lookback_window (str): Length of lookback window
|
|
236
|
-
retailer_id (int): ID of the retailer associated with this audience
|
|
237
235
|
name (str): Name of the audience
|
|
236
|
+
retailer_id (int): ID of the retailer associated with this audience
|
|
237
|
+
user_type (str): Type of the user
|
|
238
238
|
|
|
239
239
|
Keyword Args:
|
|
240
240
|
_check_type (bool): if True, values for parameters in openapi_types
|
|
@@ -298,10 +298,10 @@ class RmLegacyAudienceCreateEntityV1(ModelNormal):
|
|
|
298
298
|
self._configuration = _configuration
|
|
299
299
|
self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
|
|
300
300
|
|
|
301
|
-
self.user_type = user_type
|
|
302
301
|
self.lookback_window = lookback_window
|
|
303
|
-
self.retailer_id = retailer_id
|
|
304
302
|
self.name = name
|
|
303
|
+
self.retailer_id = retailer_id
|
|
304
|
+
self.user_type = user_type
|
|
305
305
|
for var_name, var_value in kwargs.items():
|
|
306
306
|
if var_name not in self.attribute_map and \
|
|
307
307
|
self._configuration is not None and \
|
|
@@ -90,8 +90,8 @@ class RmLegacyAudienceCreateEntityV1Response(ModelNormal):
|
|
|
90
90
|
lazy_import()
|
|
91
91
|
return {
|
|
92
92
|
'data': (RmLegacyAudienceCreateEntityV1Resource,), # 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 RmLegacyAudienceCreateEntityV1Response(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 RmLegacyAudienceCreateEntityV1Response(ModelNormal):
|
|
|
149
149
|
through its discriminator because we passed in
|
|
150
150
|
_visited_composed_classes = (Animal,)
|
|
151
151
|
data (RmLegacyAudienceCreateEntityV1Resource): [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 RmLegacyAudienceCreateEntityV1Response(ModelNormal):
|
|
|
237
237
|
through its discriminator because we passed in
|
|
238
238
|
_visited_composed_classes = (Animal,)
|
|
239
239
|
data (RmLegacyAudienceCreateEntityV1Resource): [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)
|
|
@@ -87,9 +87,9 @@ class RmLegacyAudienceCreateEntityV2(ModelNormal):
|
|
|
87
87
|
"""
|
|
88
88
|
lazy_import()
|
|
89
89
|
return {
|
|
90
|
+
'name': (str,), # noqa: E501
|
|
90
91
|
'retailer_id': (int,), # noqa: E501
|
|
91
92
|
'user_behavior_details': (RmLegacyAudienceUserBehaviorCreateV2,), # noqa: E501
|
|
92
|
-
'name': (str,), # noqa: E501
|
|
93
93
|
}
|
|
94
94
|
|
|
95
95
|
@cached_property
|
|
@@ -98,9 +98,9 @@ class RmLegacyAudienceCreateEntityV2(ModelNormal):
|
|
|
98
98
|
|
|
99
99
|
|
|
100
100
|
attribute_map = {
|
|
101
|
+
'name': 'name', # noqa: E501
|
|
101
102
|
'retailer_id': 'retailerId', # noqa: E501
|
|
102
103
|
'user_behavior_details': 'userBehaviorDetails', # noqa: E501
|
|
103
|
-
'name': 'name', # noqa: E501
|
|
104
104
|
}
|
|
105
105
|
|
|
106
106
|
read_only_vars = {
|
|
@@ -110,13 +110,13 @@ class RmLegacyAudienceCreateEntityV2(ModelNormal):
|
|
|
110
110
|
|
|
111
111
|
@classmethod
|
|
112
112
|
@convert_js_args_to_python_args
|
|
113
|
-
def _from_openapi_data(cls, retailer_id, user_behavior_details,
|
|
113
|
+
def _from_openapi_data(cls, name, retailer_id, user_behavior_details, *args, **kwargs): # noqa: E501
|
|
114
114
|
"""RmLegacyAudienceCreateEntityV2 - a model defined in OpenAPI
|
|
115
115
|
|
|
116
116
|
Args:
|
|
117
|
+
name (str): Name of the audience
|
|
117
118
|
retailer_id (int): ID of the retailer associated with this audience
|
|
118
119
|
user_behavior_details (RmLegacyAudienceUserBehaviorCreateV2):
|
|
119
|
-
name (str): Name of the audience
|
|
120
120
|
|
|
121
121
|
Keyword Args:
|
|
122
122
|
_check_type (bool): if True, values for parameters in openapi_types
|
|
@@ -180,9 +180,9 @@ class RmLegacyAudienceCreateEntityV2(ModelNormal):
|
|
|
180
180
|
self._configuration = _configuration
|
|
181
181
|
self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
|
|
182
182
|
|
|
183
|
+
self.name = name
|
|
183
184
|
self.retailer_id = retailer_id
|
|
184
185
|
self.user_behavior_details = user_behavior_details
|
|
185
|
-
self.name = name
|
|
186
186
|
for var_name, var_value in kwargs.items():
|
|
187
187
|
if var_name not in self.attribute_map and \
|
|
188
188
|
self._configuration is not None and \
|
|
@@ -203,13 +203,13 @@ class RmLegacyAudienceCreateEntityV2(ModelNormal):
|
|
|
203
203
|
])
|
|
204
204
|
|
|
205
205
|
@convert_js_args_to_python_args
|
|
206
|
-
def __init__(self, retailer_id, user_behavior_details,
|
|
206
|
+
def __init__(self, name, retailer_id, user_behavior_details, *args, **kwargs): # noqa: E501
|
|
207
207
|
"""RmLegacyAudienceCreateEntityV2 - a model defined in OpenAPI
|
|
208
208
|
|
|
209
209
|
Args:
|
|
210
|
+
name (str): Name of the audience
|
|
210
211
|
retailer_id (int): ID of the retailer associated with this audience
|
|
211
212
|
user_behavior_details (RmLegacyAudienceUserBehaviorCreateV2):
|
|
212
|
-
name (str): Name of the audience
|
|
213
213
|
|
|
214
214
|
Keyword Args:
|
|
215
215
|
_check_type (bool): if True, values for parameters in openapi_types
|
|
@@ -271,9 +271,9 @@ class RmLegacyAudienceCreateEntityV2(ModelNormal):
|
|
|
271
271
|
self._configuration = _configuration
|
|
272
272
|
self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
|
|
273
273
|
|
|
274
|
+
self.name = name
|
|
274
275
|
self.retailer_id = retailer_id
|
|
275
276
|
self.user_behavior_details = user_behavior_details
|
|
276
|
-
self.name = name
|
|
277
277
|
for var_name, var_value in kwargs.items():
|
|
278
278
|
if var_name not in self.attribute_map and \
|
|
279
279
|
self._configuration is not None and \
|
|
@@ -90,8 +90,8 @@ class RmLegacyAudienceCreateEntityV2Response(ModelNormal):
|
|
|
90
90
|
lazy_import()
|
|
91
91
|
return {
|
|
92
92
|
'data': (RmLegacyAudienceCreateEntityV2Resource,), # 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 RmLegacyAudienceCreateEntityV2Response(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 RmLegacyAudienceCreateEntityV2Response(ModelNormal):
|
|
|
149
149
|
through its discriminator because we passed in
|
|
150
150
|
_visited_composed_classes = (Animal,)
|
|
151
151
|
data (RmLegacyAudienceCreateEntityV2Resource): [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 RmLegacyAudienceCreateEntityV2Response(ModelNormal):
|
|
|
237
237
|
through its discriminator because we passed in
|
|
238
238
|
_visited_composed_classes = (Animal,)
|
|
239
239
|
data (RmLegacyAudienceCreateEntityV2Resource): [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)
|