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
|
@@ -93,8 +93,8 @@ class RetailMediaContactlistAmendmentAttributes(ModelNormal):
|
|
|
93
93
|
and the value is attribute type.
|
|
94
94
|
"""
|
|
95
95
|
return {
|
|
96
|
-
'operation': (str,), # noqa: E501
|
|
97
96
|
'identifiers': ([str],), # noqa: E501
|
|
97
|
+
'operation': (str,), # noqa: E501
|
|
98
98
|
'identifier_type': (str,), # noqa: E501
|
|
99
99
|
}
|
|
100
100
|
|
|
@@ -104,8 +104,8 @@ class RetailMediaContactlistAmendmentAttributes(ModelNormal):
|
|
|
104
104
|
|
|
105
105
|
|
|
106
106
|
attribute_map = {
|
|
107
|
-
'operation': 'operation', # noqa: E501
|
|
108
107
|
'identifiers': 'identifiers', # noqa: E501
|
|
108
|
+
'operation': 'operation', # noqa: E501
|
|
109
109
|
'identifier_type': 'identifierType', # noqa: E501
|
|
110
110
|
}
|
|
111
111
|
|
|
@@ -116,12 +116,12 @@ class RetailMediaContactlistAmendmentAttributes(ModelNormal):
|
|
|
116
116
|
|
|
117
117
|
@classmethod
|
|
118
118
|
@convert_js_args_to_python_args
|
|
119
|
-
def _from_openapi_data(cls,
|
|
119
|
+
def _from_openapi_data(cls, identifiers, operation, *args, **kwargs): # noqa: E501
|
|
120
120
|
"""RetailMediaContactlistAmendmentAttributes - a model defined in OpenAPI
|
|
121
121
|
|
|
122
122
|
Args:
|
|
123
|
-
operation (str): Whether to add or remove users
|
|
124
123
|
identifiers ([str]): The users to add or remove, each in the schema specified
|
|
124
|
+
operation (str): Whether to add or remove users
|
|
125
125
|
|
|
126
126
|
Keyword Args:
|
|
127
127
|
_check_type (bool): if True, values for parameters in openapi_types
|
|
@@ -186,8 +186,8 @@ class RetailMediaContactlistAmendmentAttributes(ModelNormal):
|
|
|
186
186
|
self._configuration = _configuration
|
|
187
187
|
self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
|
|
188
188
|
|
|
189
|
-
self.operation = operation
|
|
190
189
|
self.identifiers = identifiers
|
|
190
|
+
self.operation = operation
|
|
191
191
|
for var_name, var_value in kwargs.items():
|
|
192
192
|
if var_name not in self.attribute_map and \
|
|
193
193
|
self._configuration is not None and \
|
|
@@ -208,12 +208,12 @@ class RetailMediaContactlistAmendmentAttributes(ModelNormal):
|
|
|
208
208
|
])
|
|
209
209
|
|
|
210
210
|
@convert_js_args_to_python_args
|
|
211
|
-
def __init__(self,
|
|
211
|
+
def __init__(self, identifiers, operation, *args, **kwargs): # noqa: E501
|
|
212
212
|
"""RetailMediaContactlistAmendmentAttributes - a model defined in OpenAPI
|
|
213
213
|
|
|
214
214
|
Args:
|
|
215
|
-
operation (str): Whether to add or remove users
|
|
216
215
|
identifiers ([str]): The users to add or remove, each in the schema specified
|
|
216
|
+
operation (str): Whether to add or remove users
|
|
217
217
|
|
|
218
218
|
Keyword Args:
|
|
219
219
|
_check_type (bool): if True, values for parameters in openapi_types
|
|
@@ -276,8 +276,8 @@ class RetailMediaContactlistAmendmentAttributes(ModelNormal):
|
|
|
276
276
|
self._configuration = _configuration
|
|
277
277
|
self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
|
|
278
278
|
|
|
279
|
-
self.operation = operation
|
|
280
279
|
self.identifiers = identifiers
|
|
280
|
+
self.operation = operation
|
|
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 \
|
|
@@ -82,9 +82,9 @@ class RmAlgebraNodeV1(ModelNormal):
|
|
|
82
82
|
"""
|
|
83
83
|
return {
|
|
84
84
|
'_and': ([RmAlgebraNodeV1], none_type,), # noqa: E501
|
|
85
|
-
'_or': ([RmAlgebraNodeV1], none_type,), # noqa: E501
|
|
86
|
-
'_not': (RmAlgebraNodeV1,), # noqa: E501
|
|
87
85
|
'audience_segment_id': (str, none_type,), # noqa: E501
|
|
86
|
+
'_not': (RmAlgebraNodeV1,), # noqa: E501
|
|
87
|
+
'_or': ([RmAlgebraNodeV1], none_type,), # noqa: E501
|
|
88
88
|
}
|
|
89
89
|
|
|
90
90
|
@cached_property
|
|
@@ -94,9 +94,9 @@ class RmAlgebraNodeV1(ModelNormal):
|
|
|
94
94
|
|
|
95
95
|
attribute_map = {
|
|
96
96
|
'_and': 'and', # noqa: E501
|
|
97
|
-
'_or': 'or', # noqa: E501
|
|
98
|
-
'_not': 'not', # noqa: E501
|
|
99
97
|
'audience_segment_id': 'audienceSegmentId', # noqa: E501
|
|
98
|
+
'_not': 'not', # noqa: E501
|
|
99
|
+
'_or': 'or', # noqa: E501
|
|
100
100
|
}
|
|
101
101
|
|
|
102
102
|
read_only_vars = {
|
|
@@ -141,9 +141,9 @@ class RmAlgebraNodeV1(ModelNormal):
|
|
|
141
141
|
through its discriminator because we passed in
|
|
142
142
|
_visited_composed_classes = (Animal,)
|
|
143
143
|
_and ([RmAlgebraNodeV1], none_type): [optional] # noqa: E501
|
|
144
|
-
_or ([RmAlgebraNodeV1], none_type): [optional] # noqa: E501
|
|
145
|
-
_not (RmAlgebraNodeV1): [optional] # noqa: E501
|
|
146
144
|
audience_segment_id (str, none_type): [optional] # noqa: E501
|
|
145
|
+
_not (RmAlgebraNodeV1): [optional] # noqa: E501
|
|
146
|
+
_or ([RmAlgebraNodeV1], none_type): [optional] # noqa: E501
|
|
147
147
|
"""
|
|
148
148
|
|
|
149
149
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -230,9 +230,9 @@ class RmAlgebraNodeV1(ModelNormal):
|
|
|
230
230
|
through its discriminator because we passed in
|
|
231
231
|
_visited_composed_classes = (Animal,)
|
|
232
232
|
_and ([RmAlgebraNodeV1], none_type): [optional] # noqa: E501
|
|
233
|
-
_or ([RmAlgebraNodeV1], none_type): [optional] # noqa: E501
|
|
234
|
-
_not (RmAlgebraNodeV1): [optional] # noqa: E501
|
|
235
233
|
audience_segment_id (str, none_type): [optional] # noqa: E501
|
|
234
|
+
_not (RmAlgebraNodeV1): [optional] # noqa: E501
|
|
235
|
+
_or ([RmAlgebraNodeV1], none_type): [optional] # noqa: E501
|
|
236
236
|
"""
|
|
237
237
|
|
|
238
238
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -94,14 +94,14 @@ class RmAudienceEntityV1(ModelNormal):
|
|
|
94
94
|
lazy_import()
|
|
95
95
|
return {
|
|
96
96
|
'account_id': (str, none_type,), # noqa: E501
|
|
97
|
-
'
|
|
97
|
+
'algebra': (RmAlgebraNodeV1,), # noqa: E501
|
|
98
|
+
'channels': ([str], none_type,), # noqa: E501
|
|
99
|
+
'created_at': (datetime, none_type,), # noqa: E501
|
|
100
|
+
'created_by_id': (str, none_type,), # noqa: E501
|
|
98
101
|
'description': (str, none_type,), # noqa: E501
|
|
102
|
+
'name': (str, none_type,), # noqa: E501
|
|
99
103
|
'retailer_id': (str, none_type,), # noqa: E501
|
|
100
|
-
'created_by_id': (str, none_type,), # noqa: E501
|
|
101
|
-
'created_at': (datetime, none_type,), # noqa: E501
|
|
102
104
|
'updated_at': (datetime, none_type,), # noqa: E501
|
|
103
|
-
'channels': ([str], none_type,), # noqa: E501
|
|
104
|
-
'algebra': (RmAlgebraNodeV1,), # noqa: E501
|
|
105
105
|
}
|
|
106
106
|
|
|
107
107
|
@cached_property
|
|
@@ -111,14 +111,14 @@ class RmAudienceEntityV1(ModelNormal):
|
|
|
111
111
|
|
|
112
112
|
attribute_map = {
|
|
113
113
|
'account_id': 'accountId', # noqa: E501
|
|
114
|
-
'
|
|
114
|
+
'algebra': 'algebra', # noqa: E501
|
|
115
|
+
'channels': 'channels', # noqa: E501
|
|
116
|
+
'created_at': 'createdAt', # noqa: E501
|
|
117
|
+
'created_by_id': 'createdById', # noqa: E501
|
|
115
118
|
'description': 'description', # noqa: E501
|
|
119
|
+
'name': 'name', # noqa: E501
|
|
116
120
|
'retailer_id': 'retailerId', # noqa: E501
|
|
117
|
-
'created_by_id': 'createdById', # noqa: E501
|
|
118
|
-
'created_at': 'createdAt', # noqa: E501
|
|
119
121
|
'updated_at': 'updatedAt', # noqa: E501
|
|
120
|
-
'channels': 'channels', # noqa: E501
|
|
121
|
-
'algebra': 'algebra', # noqa: E501
|
|
122
122
|
}
|
|
123
123
|
|
|
124
124
|
read_only_vars = {
|
|
@@ -163,14 +163,14 @@ class RmAudienceEntityV1(ModelNormal):
|
|
|
163
163
|
through its discriminator because we passed in
|
|
164
164
|
_visited_composed_classes = (Animal,)
|
|
165
165
|
account_id (str, none_type): Account associated to the audience. [optional] # noqa: E501
|
|
166
|
-
|
|
166
|
+
algebra (RmAlgebraNodeV1): [optional] # noqa: E501
|
|
167
|
+
channels ([str], none_type): Channels associated to the audience (read-only). [optional] # noqa: E501
|
|
168
|
+
created_at (datetime, none_type): ISO-8601 timestamp in UTC of audience creation (read-only). [optional] # noqa: E501
|
|
169
|
+
created_by_id (str, none_type): User that created the audience. [optional] # noqa: E501
|
|
167
170
|
description (str, none_type): Description of the audience. [optional] # noqa: E501
|
|
171
|
+
name (str, none_type): Name of the audience. [optional] # noqa: E501
|
|
168
172
|
retailer_id (str, none_type): Retailer associated to the audience. [optional] # noqa: E501
|
|
169
|
-
created_by_id (str, none_type): User that created the audience. [optional] # noqa: E501
|
|
170
|
-
created_at (datetime, none_type): ISO-8601 timestamp in UTC of audience creation (read-only). [optional] # noqa: E501
|
|
171
173
|
updated_at (datetime, none_type): ISO-8601 timestamp in UTC of audience update (read-only). [optional] # noqa: E501
|
|
172
|
-
channels ([str], none_type): Channels associated to the audience (read-only). [optional] # noqa: E501
|
|
173
|
-
algebra (RmAlgebraNodeV1): [optional] # noqa: E501
|
|
174
174
|
"""
|
|
175
175
|
|
|
176
176
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -257,14 +257,14 @@ class RmAudienceEntityV1(ModelNormal):
|
|
|
257
257
|
through its discriminator because we passed in
|
|
258
258
|
_visited_composed_classes = (Animal,)
|
|
259
259
|
account_id (str, none_type): Account associated to the audience. [optional] # noqa: E501
|
|
260
|
-
|
|
260
|
+
algebra (RmAlgebraNodeV1): [optional] # noqa: E501
|
|
261
|
+
channels ([str], none_type): Channels associated to the audience (read-only). [optional] # noqa: E501
|
|
262
|
+
created_at (datetime, none_type): ISO-8601 timestamp in UTC of audience creation (read-only). [optional] # noqa: E501
|
|
263
|
+
created_by_id (str, none_type): User that created the audience. [optional] # noqa: E501
|
|
261
264
|
description (str, none_type): Description of the audience. [optional] # noqa: E501
|
|
265
|
+
name (str, none_type): Name of the audience. [optional] # noqa: E501
|
|
262
266
|
retailer_id (str, none_type): Retailer associated to the audience. [optional] # noqa: E501
|
|
263
|
-
created_by_id (str, none_type): User that created the audience. [optional] # noqa: E501
|
|
264
|
-
created_at (datetime, none_type): ISO-8601 timestamp in UTC of audience creation (read-only). [optional] # noqa: E501
|
|
265
267
|
updated_at (datetime, none_type): ISO-8601 timestamp in UTC of audience update (read-only). [optional] # noqa: E501
|
|
266
|
-
channels ([str], none_type): Channels associated to the audience (read-only). [optional] # noqa: E501
|
|
267
|
-
algebra (RmAlgebraNodeV1): [optional] # noqa: E501
|
|
268
268
|
"""
|
|
269
269
|
|
|
270
270
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -91,10 +91,10 @@ class RmAudienceEntityV1RmAudienceSearchMetadataV1ListResponse(ModelNormal):
|
|
|
91
91
|
"""
|
|
92
92
|
lazy_import()
|
|
93
93
|
return {
|
|
94
|
-
'meta': (RmAudienceSearchMetadataV1,), # noqa: E501
|
|
95
94
|
'data': ([RmAudienceEntityV1Resource], none_type,), # noqa: E501
|
|
96
|
-
'warnings': ([CommonProblem], none_type,), # noqa: E501
|
|
97
95
|
'errors': ([CommonProblem], none_type,), # noqa: E501
|
|
96
|
+
'meta': (RmAudienceSearchMetadataV1,), # noqa: E501
|
|
97
|
+
'warnings': ([CommonProblem], none_type,), # noqa: E501
|
|
98
98
|
}
|
|
99
99
|
|
|
100
100
|
@cached_property
|
|
@@ -103,15 +103,15 @@ class RmAudienceEntityV1RmAudienceSearchMetadataV1ListResponse(ModelNormal):
|
|
|
103
103
|
|
|
104
104
|
|
|
105
105
|
attribute_map = {
|
|
106
|
-
'meta': 'meta', # noqa: E501
|
|
107
106
|
'data': 'data', # noqa: E501
|
|
108
|
-
'warnings': 'warnings', # noqa: E501
|
|
109
107
|
'errors': 'errors', # noqa: E501
|
|
108
|
+
'meta': 'meta', # 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 RmAudienceEntityV1RmAudienceSearchMetadataV1ListResponse(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
|
-
meta (RmAudienceSearchMetadataV1): [optional] # noqa: E501
|
|
156
155
|
data ([RmAudienceEntityV1Resource], none_type): [optional] # noqa: E501
|
|
157
|
-
warnings ([CommonProblem], none_type): [optional] # noqa: E501
|
|
158
156
|
errors ([CommonProblem], none_type): [optional] # noqa: E501
|
|
157
|
+
meta (RmAudienceSearchMetadataV1): [optional] # noqa: E501
|
|
158
|
+
warnings ([CommonProblem], none_type): [optional] # noqa: E501
|
|
159
159
|
"""
|
|
160
160
|
|
|
161
161
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -241,10 +241,10 @@ class RmAudienceEntityV1RmAudienceSearchMetadataV1ListResponse(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
|
-
meta (RmAudienceSearchMetadataV1): [optional] # noqa: E501
|
|
245
244
|
data ([RmAudienceEntityV1Resource], none_type): [optional] # noqa: E501
|
|
246
|
-
warnings ([CommonProblem], none_type): [optional] # noqa: E501
|
|
247
245
|
errors ([CommonProblem], none_type): [optional] # noqa: E501
|
|
246
|
+
meta (RmAudienceSearchMetadataV1): [optional] # noqa: E501
|
|
247
|
+
warnings ([CommonProblem], none_type): [optional] # noqa: E501
|
|
248
248
|
"""
|
|
249
249
|
|
|
250
250
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -82,8 +82,8 @@ class RmAudienceSearchEntityV1(ModelNormal):
|
|
|
82
82
|
"""
|
|
83
83
|
return {
|
|
84
84
|
'audience_ids': ([str],), # noqa: E501
|
|
85
|
-
'retailer_ids': ([str],), # noqa: E501
|
|
86
85
|
'audience_segment_ids': ([str],), # noqa: E501
|
|
86
|
+
'retailer_ids': ([str],), # noqa: E501
|
|
87
87
|
}
|
|
88
88
|
|
|
89
89
|
@cached_property
|
|
@@ -93,8 +93,8 @@ class RmAudienceSearchEntityV1(ModelNormal):
|
|
|
93
93
|
|
|
94
94
|
attribute_map = {
|
|
95
95
|
'audience_ids': 'audienceIds', # noqa: E501
|
|
96
|
-
'retailer_ids': 'retailerIds', # noqa: E501
|
|
97
96
|
'audience_segment_ids': 'audienceSegmentIds', # noqa: E501
|
|
97
|
+
'retailer_ids': 'retailerIds', # noqa: E501
|
|
98
98
|
}
|
|
99
99
|
|
|
100
100
|
read_only_vars = {
|
|
@@ -139,8 +139,8 @@ class RmAudienceSearchEntityV1(ModelNormal):
|
|
|
139
139
|
through its discriminator because we passed in
|
|
140
140
|
_visited_composed_classes = (Animal,)
|
|
141
141
|
audience_ids ([str]): List of audience ids. [optional] # noqa: E501
|
|
142
|
-
retailer_ids ([str]): List of retailer ids. [optional] # noqa: E501
|
|
143
142
|
audience_segment_ids ([str]): List of segment ids (linked to the result audiences). [optional] # noqa: E501
|
|
143
|
+
retailer_ids ([str]): List of retailer ids. [optional] # noqa: E501
|
|
144
144
|
"""
|
|
145
145
|
|
|
146
146
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -227,8 +227,8 @@ class RmAudienceSearchEntityV1(ModelNormal):
|
|
|
227
227
|
through its discriminator because we passed in
|
|
228
228
|
_visited_composed_classes = (Animal,)
|
|
229
229
|
audience_ids ([str]): List of audience ids. [optional] # noqa: E501
|
|
230
|
-
retailer_ids ([str]): List of retailer ids. [optional] # noqa: E501
|
|
231
230
|
audience_segment_ids ([str]): List of segment ids (linked to the result audiences). [optional] # noqa: E501
|
|
231
|
+
retailer_ids ([str]): List of retailer ids. [optional] # noqa: E501
|
|
232
232
|
"""
|
|
233
233
|
|
|
234
234
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -87,8 +87,8 @@ class RmAudienceSearchEntityV1Resource(ModelNormal):
|
|
|
87
87
|
"""
|
|
88
88
|
lazy_import()
|
|
89
89
|
return {
|
|
90
|
-
'type': (str,), # noqa: E501
|
|
91
90
|
'attributes': (RmAudienceSearchEntityV1,), # noqa: E501
|
|
91
|
+
'type': (str,), # noqa: E501
|
|
92
92
|
}
|
|
93
93
|
|
|
94
94
|
@cached_property
|
|
@@ -97,8 +97,8 @@ class RmAudienceSearchEntityV1Resource(ModelNormal):
|
|
|
97
97
|
|
|
98
98
|
|
|
99
99
|
attribute_map = {
|
|
100
|
-
'type': 'type', # noqa: E501
|
|
101
100
|
'attributes': 'attributes', # noqa: E501
|
|
101
|
+
'type': 'type', # noqa: E501
|
|
102
102
|
}
|
|
103
103
|
|
|
104
104
|
read_only_vars = {
|
|
@@ -142,8 +142,8 @@ class RmAudienceSearchEntityV1Resource(ModelNormal):
|
|
|
142
142
|
Animal class but this time we won't travel
|
|
143
143
|
through its discriminator because we passed in
|
|
144
144
|
_visited_composed_classes = (Animal,)
|
|
145
|
-
type (str): [optional] # noqa: E501
|
|
146
145
|
attributes (RmAudienceSearchEntityV1): [optional] # noqa: E501
|
|
146
|
+
type (str): [optional] # noqa: E501
|
|
147
147
|
"""
|
|
148
148
|
|
|
149
149
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -229,8 +229,8 @@ class RmAudienceSearchEntityV1Resource(ModelNormal):
|
|
|
229
229
|
Animal class but this time we won't travel
|
|
230
230
|
through its discriminator because we passed in
|
|
231
231
|
_visited_composed_classes = (Animal,)
|
|
232
|
-
type (str): [optional] # noqa: E501
|
|
233
232
|
attributes (RmAudienceSearchEntityV1): [optional] # noqa: E501
|
|
233
|
+
type (str): [optional] # noqa: E501
|
|
234
234
|
"""
|
|
235
235
|
|
|
236
236
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -81,9 +81,9 @@ class RmAudienceSearchMetadataV1(ModelNormal):
|
|
|
81
81
|
and the value is attribute type.
|
|
82
82
|
"""
|
|
83
83
|
return {
|
|
84
|
-
'total_items': (int, none_type,), # noqa: E501
|
|
85
84
|
'limit': (int, none_type,), # noqa: E501
|
|
86
85
|
'offset': (int, none_type,), # noqa: E501
|
|
86
|
+
'total_items': (int, none_type,), # noqa: E501
|
|
87
87
|
}
|
|
88
88
|
|
|
89
89
|
@cached_property
|
|
@@ -92,9 +92,9 @@ class RmAudienceSearchMetadataV1(ModelNormal):
|
|
|
92
92
|
|
|
93
93
|
|
|
94
94
|
attribute_map = {
|
|
95
|
-
'total_items': 'totalItems', # noqa: E501
|
|
96
95
|
'limit': 'limit', # noqa: E501
|
|
97
96
|
'offset': 'offset', # noqa: E501
|
|
97
|
+
'total_items': 'totalItems', # noqa: E501
|
|
98
98
|
}
|
|
99
99
|
|
|
100
100
|
read_only_vars = {
|
|
@@ -138,9 +138,9 @@ class RmAudienceSearchMetadataV1(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
|
-
total_items (int, none_type): Total number of items. [optional] # noqa: E501
|
|
142
141
|
limit (int, none_type): Max item of the current page. [optional] # noqa: E501
|
|
143
142
|
offset (int, none_type): Number of item to skip. [optional] # noqa: E501
|
|
143
|
+
total_items (int, none_type): Total number of items. [optional] # noqa: E501
|
|
144
144
|
"""
|
|
145
145
|
|
|
146
146
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -226,9 +226,9 @@ class RmAudienceSearchMetadataV1(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
|
-
total_items (int, none_type): Total number of items. [optional] # noqa: E501
|
|
230
229
|
limit (int, none_type): Max item of the current page. [optional] # noqa: E501
|
|
231
230
|
offset (int, none_type): Number of item to skip. [optional] # noqa: E501
|
|
231
|
+
total_items (int, none_type): Total number of items. [optional] # noqa: E501
|
|
232
232
|
"""
|
|
233
233
|
|
|
234
234
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -31,7 +31,9 @@ from criteo_api_retailmedia_v2025_01.exceptions import ApiAttributeError
|
|
|
31
31
|
|
|
32
32
|
def lazy_import():
|
|
33
33
|
from criteo_api_retailmedia_v2025_01.model.rm_contact_list_create_v1 import RmContactListCreateV1
|
|
34
|
+
from criteo_api_retailmedia_v2025_01.model.rm_events_create_v1 import RmEventsCreateV1
|
|
34
35
|
globals()['RmContactListCreateV1'] = RmContactListCreateV1
|
|
36
|
+
globals()['RmEventsCreateV1'] = RmEventsCreateV1
|
|
35
37
|
|
|
36
38
|
|
|
37
39
|
class RmAudienceSegmentCreateEntityV1(ModelNormal):
|
|
@@ -89,8 +91,9 @@ class RmAudienceSegmentCreateEntityV1(ModelNormal):
|
|
|
89
91
|
return {
|
|
90
92
|
'name': (str,), # noqa: E501
|
|
91
93
|
'retailer_id': (str,), # noqa: E501
|
|
92
|
-
'description': (str,), # noqa: E501
|
|
93
94
|
'contact_list': (RmContactListCreateV1,), # noqa: E501
|
|
95
|
+
'description': (str,), # noqa: E501
|
|
96
|
+
'events': (RmEventsCreateV1,), # noqa: E501
|
|
94
97
|
}
|
|
95
98
|
|
|
96
99
|
@cached_property
|
|
@@ -101,8 +104,9 @@ class RmAudienceSegmentCreateEntityV1(ModelNormal):
|
|
|
101
104
|
attribute_map = {
|
|
102
105
|
'name': 'name', # noqa: E501
|
|
103
106
|
'retailer_id': 'retailerId', # noqa: E501
|
|
104
|
-
'description': 'description', # noqa: E501
|
|
105
107
|
'contact_list': 'contactList', # noqa: E501
|
|
108
|
+
'description': 'description', # noqa: E501
|
|
109
|
+
'events': 'events', # noqa: E501
|
|
106
110
|
}
|
|
107
111
|
|
|
108
112
|
read_only_vars = {
|
|
@@ -150,8 +154,9 @@ class RmAudienceSegmentCreateEntityV1(ModelNormal):
|
|
|
150
154
|
Animal class but this time we won't travel
|
|
151
155
|
through its discriminator because we passed in
|
|
152
156
|
_visited_composed_classes = (Animal,)
|
|
153
|
-
description (str): Description of the segment. [optional] # noqa: E501
|
|
154
157
|
contact_list (RmContactListCreateV1): [optional] # noqa: E501
|
|
158
|
+
description (str): Description of the segment. [optional] # noqa: E501
|
|
159
|
+
events (RmEventsCreateV1): [optional] # noqa: E501
|
|
155
160
|
"""
|
|
156
161
|
|
|
157
162
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -243,8 +248,9 @@ class RmAudienceSegmentCreateEntityV1(ModelNormal):
|
|
|
243
248
|
Animal class but this time we won't travel
|
|
244
249
|
through its discriminator because we passed in
|
|
245
250
|
_visited_composed_classes = (Animal,)
|
|
246
|
-
description (str): Description of the segment. [optional] # noqa: E501
|
|
247
251
|
contact_list (RmContactListCreateV1): [optional] # noqa: E501
|
|
252
|
+
description (str): Description of the segment. [optional] # noqa: E501
|
|
253
|
+
events (RmEventsCreateV1): [optional] # noqa: E501
|
|
248
254
|
"""
|
|
249
255
|
|
|
250
256
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -87,8 +87,8 @@ class RmAudienceSegmentCreateEntityV1Resource(ModelNormal):
|
|
|
87
87
|
"""
|
|
88
88
|
lazy_import()
|
|
89
89
|
return {
|
|
90
|
-
'type': (str,), # noqa: E501
|
|
91
90
|
'attributes': (RmAudienceSegmentCreateEntityV1,), # noqa: E501
|
|
91
|
+
'type': (str,), # noqa: E501
|
|
92
92
|
}
|
|
93
93
|
|
|
94
94
|
@cached_property
|
|
@@ -97,8 +97,8 @@ class RmAudienceSegmentCreateEntityV1Resource(ModelNormal):
|
|
|
97
97
|
|
|
98
98
|
|
|
99
99
|
attribute_map = {
|
|
100
|
-
'type': 'type', # noqa: E501
|
|
101
100
|
'attributes': 'attributes', # noqa: E501
|
|
101
|
+
'type': 'type', # noqa: E501
|
|
102
102
|
}
|
|
103
103
|
|
|
104
104
|
read_only_vars = {
|
|
@@ -142,8 +142,8 @@ class RmAudienceSegmentCreateEntityV1Resource(ModelNormal):
|
|
|
142
142
|
Animal class but this time we won't travel
|
|
143
143
|
through its discriminator because we passed in
|
|
144
144
|
_visited_composed_classes = (Animal,)
|
|
145
|
-
type (str): [optional] # noqa: E501
|
|
146
145
|
attributes (RmAudienceSegmentCreateEntityV1): [optional] # noqa: E501
|
|
146
|
+
type (str): [optional] # noqa: E501
|
|
147
147
|
"""
|
|
148
148
|
|
|
149
149
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -229,8 +229,8 @@ class RmAudienceSegmentCreateEntityV1Resource(ModelNormal):
|
|
|
229
229
|
Animal class but this time we won't travel
|
|
230
230
|
through its discriminator because we passed in
|
|
231
231
|
_visited_composed_classes = (Animal,)
|
|
232
|
-
type (str): [optional] # noqa: E501
|
|
233
232
|
attributes (RmAudienceSegmentCreateEntityV1): [optional] # noqa: E501
|
|
233
|
+
type (str): [optional] # noqa: E501
|
|
234
234
|
"""
|
|
235
235
|
|
|
236
236
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -61,18 +61,18 @@ class RmAudienceSegmentEntityV1(ModelNormal):
|
|
|
61
61
|
"""
|
|
62
62
|
|
|
63
63
|
allowed_values = {
|
|
64
|
-
('type',): {
|
|
65
|
-
'None': None,
|
|
66
|
-
'UNKNOWN': "Unknown",
|
|
67
|
-
'CONTACTLIST': "ContactList",
|
|
68
|
-
'EVENTS': "Events",
|
|
69
|
-
},
|
|
70
64
|
('channels',): {
|
|
71
65
|
'None': None,
|
|
72
66
|
'UNKNOWN': "Unknown",
|
|
73
67
|
'ONSITE': "Onsite",
|
|
74
68
|
'OFFSITE': "Offsite",
|
|
75
69
|
},
|
|
70
|
+
('type',): {
|
|
71
|
+
'None': None,
|
|
72
|
+
'UNKNOWN': "Unknown",
|
|
73
|
+
'CONTACTLIST': "ContactList",
|
|
74
|
+
'EVENTS': "Events",
|
|
75
|
+
},
|
|
76
76
|
}
|
|
77
77
|
|
|
78
78
|
validations = {
|
|
@@ -102,16 +102,16 @@ class RmAudienceSegmentEntityV1(ModelNormal):
|
|
|
102
102
|
lazy_import()
|
|
103
103
|
return {
|
|
104
104
|
'account_id': (str, none_type,), # noqa: E501
|
|
105
|
-
'
|
|
105
|
+
'channels': ([str], none_type,), # noqa: E501
|
|
106
|
+
'contact_list': (RmContactListV1,), # noqa: E501
|
|
107
|
+
'created_at': (datetime, none_type,), # noqa: E501
|
|
108
|
+
'created_by_id': (str, none_type,), # noqa: E501
|
|
106
109
|
'description': (str, none_type,), # noqa: E501
|
|
110
|
+
'events': (RmEventsV1,), # noqa: E501
|
|
111
|
+
'name': (str, none_type,), # noqa: E501
|
|
107
112
|
'retailer_id': (str, none_type,), # noqa: E501
|
|
108
113
|
'type': (str, none_type,), # noqa: E501
|
|
109
|
-
'created_at': (datetime, none_type,), # noqa: E501
|
|
110
114
|
'updated_at': (datetime, none_type,), # noqa: E501
|
|
111
|
-
'created_by_id': (str, none_type,), # noqa: E501
|
|
112
|
-
'contact_list': (RmContactListV1,), # noqa: E501
|
|
113
|
-
'events': (RmEventsV1,), # noqa: E501
|
|
114
|
-
'channels': ([str], none_type,), # noqa: E501
|
|
115
115
|
}
|
|
116
116
|
|
|
117
117
|
@cached_property
|
|
@@ -121,16 +121,16 @@ class RmAudienceSegmentEntityV1(ModelNormal):
|
|
|
121
121
|
|
|
122
122
|
attribute_map = {
|
|
123
123
|
'account_id': 'accountId', # noqa: E501
|
|
124
|
-
'
|
|
124
|
+
'channels': 'channels', # noqa: E501
|
|
125
|
+
'contact_list': 'contactList', # noqa: E501
|
|
126
|
+
'created_at': 'createdAt', # noqa: E501
|
|
127
|
+
'created_by_id': 'createdById', # noqa: E501
|
|
125
128
|
'description': 'description', # noqa: E501
|
|
129
|
+
'events': 'events', # noqa: E501
|
|
130
|
+
'name': 'name', # noqa: E501
|
|
126
131
|
'retailer_id': 'retailerId', # noqa: E501
|
|
127
132
|
'type': 'type', # noqa: E501
|
|
128
|
-
'created_at': 'createdAt', # noqa: E501
|
|
129
133
|
'updated_at': 'updatedAt', # noqa: E501
|
|
130
|
-
'created_by_id': 'createdById', # noqa: E501
|
|
131
|
-
'contact_list': 'contactList', # noqa: E501
|
|
132
|
-
'events': 'events', # noqa: E501
|
|
133
|
-
'channels': 'channels', # noqa: E501
|
|
134
134
|
}
|
|
135
135
|
|
|
136
136
|
read_only_vars = {
|
|
@@ -175,16 +175,16 @@ class RmAudienceSegmentEntityV1(ModelNormal):
|
|
|
175
175
|
through its discriminator because we passed in
|
|
176
176
|
_visited_composed_classes = (Animal,)
|
|
177
177
|
account_id (str, none_type): Account associated to the segment. [optional] # noqa: E501
|
|
178
|
-
|
|
178
|
+
channels ([str], none_type): Channels associated to the segment (read-only). [optional] # noqa: E501
|
|
179
|
+
contact_list (RmContactListV1): [optional] # noqa: E501
|
|
180
|
+
created_at (datetime, none_type): ISO-8601 timestamp in UTC of segment creation (read-only). [optional] # noqa: E501
|
|
181
|
+
created_by_id (str, none_type): User that created the segment. [optional] # noqa: E501
|
|
179
182
|
description (str, none_type): Description of the segment. [optional] # noqa: E501
|
|
183
|
+
events (RmEventsV1): [optional] # noqa: E501
|
|
184
|
+
name (str, none_type): Name of the segment. [optional] # noqa: E501
|
|
180
185
|
retailer_id (str, none_type): Retailer associated to the segment. [optional] # noqa: E501
|
|
181
186
|
type (str, none_type): Type of segment (read-only). [optional] # noqa: E501
|
|
182
|
-
created_at (datetime, none_type): ISO-8601 timestamp in UTC of segment creation (read-only). [optional] # noqa: E501
|
|
183
187
|
updated_at (datetime, none_type): ISO-8601 timestamp in UTC of segment update (read-only). [optional] # noqa: E501
|
|
184
|
-
created_by_id (str, none_type): User that created the segment. [optional] # noqa: E501
|
|
185
|
-
contact_list (RmContactListV1): [optional] # noqa: E501
|
|
186
|
-
events (RmEventsV1): [optional] # noqa: E501
|
|
187
|
-
channels ([str], none_type): Channels associated to the segment (read-only). [optional] # noqa: E501
|
|
188
188
|
"""
|
|
189
189
|
|
|
190
190
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -271,16 +271,16 @@ class RmAudienceSegmentEntityV1(ModelNormal):
|
|
|
271
271
|
through its discriminator because we passed in
|
|
272
272
|
_visited_composed_classes = (Animal,)
|
|
273
273
|
account_id (str, none_type): Account associated to the segment. [optional] # noqa: E501
|
|
274
|
-
|
|
274
|
+
channels ([str], none_type): Channels associated to the segment (read-only). [optional] # noqa: E501
|
|
275
|
+
contact_list (RmContactListV1): [optional] # noqa: E501
|
|
276
|
+
created_at (datetime, none_type): ISO-8601 timestamp in UTC of segment creation (read-only). [optional] # noqa: E501
|
|
277
|
+
created_by_id (str, none_type): User that created the segment. [optional] # noqa: E501
|
|
275
278
|
description (str, none_type): Description of the segment. [optional] # noqa: E501
|
|
279
|
+
events (RmEventsV1): [optional] # noqa: E501
|
|
280
|
+
name (str, none_type): Name of the segment. [optional] # noqa: E501
|
|
276
281
|
retailer_id (str, none_type): Retailer associated to the segment. [optional] # noqa: E501
|
|
277
282
|
type (str, none_type): Type of segment (read-only). [optional] # noqa: E501
|
|
278
|
-
created_at (datetime, none_type): ISO-8601 timestamp in UTC of segment creation (read-only). [optional] # noqa: E501
|
|
279
283
|
updated_at (datetime, none_type): ISO-8601 timestamp in UTC of segment update (read-only). [optional] # noqa: E501
|
|
280
|
-
created_by_id (str, none_type): User that created the segment. [optional] # noqa: E501
|
|
281
|
-
contact_list (RmContactListV1): [optional] # noqa: E501
|
|
282
|
-
events (RmEventsV1): [optional] # noqa: E501
|
|
283
|
-
channels ([str], none_type): Channels associated to the segment (read-only). [optional] # noqa: E501
|
|
284
284
|
"""
|
|
285
285
|
|
|
286
286
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -90,8 +90,8 @@ class RmAudienceSegmentEntityV1ListResponse(ModelNormal):
|
|
|
90
90
|
lazy_import()
|
|
91
91
|
return {
|
|
92
92
|
'data': ([RmAudienceSegmentEntityV1Resource], 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 RmAudienceSegmentEntityV1ListResponse(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 RmAudienceSegmentEntityV1ListResponse(ModelNormal):
|
|
|
149
149
|
through its discriminator because we passed in
|
|
150
150
|
_visited_composed_classes = (Animal,)
|
|
151
151
|
data ([RmAudienceSegmentEntityV1Resource], 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 RmAudienceSegmentEntityV1ListResponse(ModelNormal):
|
|
|
237
237
|
through its discriminator because we passed in
|
|
238
238
|
_visited_composed_classes = (Animal,)
|
|
239
239
|
data ([RmAudienceSegmentEntityV1Resource], 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)
|