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
|
@@ -90,14 +90,14 @@ class AudienceError(ModelNormal):
|
|
|
90
90
|
and the value is attribute type.
|
|
91
91
|
"""
|
|
92
92
|
return {
|
|
93
|
-
'type': (str,), # noqa: E501
|
|
94
93
|
'code': (str,), # noqa: E501
|
|
95
94
|
'instance': (str,), # noqa: E501
|
|
96
|
-
'
|
|
97
|
-
'title': (str, none_type,), # noqa: E501
|
|
95
|
+
'type': (str,), # noqa: E501
|
|
98
96
|
'detail': (str, none_type,), # noqa: E501
|
|
99
97
|
'source': ({str: (bool, date, datetime, dict, float, int, list, str, none_type)}, none_type,), # noqa: E501
|
|
100
98
|
'stack_trace': ([str], none_type,), # noqa: E501
|
|
99
|
+
'title': (str, none_type,), # noqa: E501
|
|
100
|
+
'trace_id': (str, none_type,), # noqa: E501
|
|
101
101
|
}
|
|
102
102
|
|
|
103
103
|
@cached_property
|
|
@@ -106,14 +106,14 @@ class AudienceError(ModelNormal):
|
|
|
106
106
|
|
|
107
107
|
|
|
108
108
|
attribute_map = {
|
|
109
|
-
'type': 'type', # noqa: E501
|
|
110
109
|
'code': 'code', # noqa: E501
|
|
111
110
|
'instance': 'instance', # noqa: E501
|
|
112
|
-
'
|
|
113
|
-
'title': 'title', # noqa: E501
|
|
111
|
+
'type': 'type', # noqa: E501
|
|
114
112
|
'detail': 'detail', # noqa: E501
|
|
115
113
|
'source': 'source', # noqa: E501
|
|
116
114
|
'stack_trace': 'stackTrace', # noqa: E501
|
|
115
|
+
'title': 'title', # noqa: E501
|
|
116
|
+
'trace_id': 'traceId', # noqa: E501
|
|
117
117
|
}
|
|
118
118
|
|
|
119
119
|
read_only_vars = {
|
|
@@ -123,13 +123,13 @@ class AudienceError(ModelNormal):
|
|
|
123
123
|
|
|
124
124
|
@classmethod
|
|
125
125
|
@convert_js_args_to_python_args
|
|
126
|
-
def _from_openapi_data(cls,
|
|
126
|
+
def _from_openapi_data(cls, code, instance, type, *args, **kwargs): # noqa: E501
|
|
127
127
|
"""AudienceError - a model defined in OpenAPI
|
|
128
128
|
|
|
129
129
|
Args:
|
|
130
|
-
type (str): (REQUIRED) The classification of the error
|
|
131
130
|
code (str): (REQUIRED) A machine-readable unique error code, expressed as a string value. The format used must be kebab-case.
|
|
132
131
|
instance (str): (REQUIRED) A URI reference that identifies the specific occurrence of the problem
|
|
132
|
+
type (str): (REQUIRED) The classification of the error
|
|
133
133
|
|
|
134
134
|
Keyword Args:
|
|
135
135
|
_check_type (bool): if True, values for parameters in openapi_types
|
|
@@ -162,11 +162,11 @@ class AudienceError(ModelNormal):
|
|
|
162
162
|
Animal class but this time we won't travel
|
|
163
163
|
through its discriminator because we passed in
|
|
164
164
|
_visited_composed_classes = (Animal,)
|
|
165
|
-
trace_id (str, none_type): (REQUIRED) The Correlation ID provided by the Gateway. It is also a unique identifier for this particular occurrence of the problem.. [optional] # noqa: E501
|
|
166
|
-
title (str, none_type): (RECOMMENDED) A short, human-readable summary of the problem type. [optional] # noqa: E501
|
|
167
165
|
detail (str, none_type): (RECOMMENDED) A human-readable explanation specific to this occurrence of the problem. [optional] # noqa: E501
|
|
168
166
|
source ({str: (bool, date, datetime, dict, float, int, list, str, none_type)}, none_type): (OPTIONAL) A machine-readable structure to reference to the exact location(s) causing the error(s). [optional] # noqa: E501
|
|
169
167
|
stack_trace ([str], none_type): (NEVER IN PRODUCTION) A human-readable stacktrace produced by the implementation technology. [optional] # noqa: E501
|
|
168
|
+
title (str, none_type): (RECOMMENDED) A short, human-readable summary of the problem type. [optional] # noqa: E501
|
|
169
|
+
trace_id (str, none_type): (REQUIRED) The Correlation ID provided by the Gateway. It is also a unique identifier for this particular occurrence of the problem.. [optional] # noqa: E501
|
|
170
170
|
"""
|
|
171
171
|
|
|
172
172
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -198,9 +198,9 @@ class AudienceError(ModelNormal):
|
|
|
198
198
|
self._configuration = _configuration
|
|
199
199
|
self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
|
|
200
200
|
|
|
201
|
-
self.type = type
|
|
202
201
|
self.code = code
|
|
203
202
|
self.instance = instance
|
|
203
|
+
self.type = type
|
|
204
204
|
for var_name, var_value in kwargs.items():
|
|
205
205
|
if var_name not in self.attribute_map and \
|
|
206
206
|
self._configuration is not None and \
|
|
@@ -221,13 +221,13 @@ class AudienceError(ModelNormal):
|
|
|
221
221
|
])
|
|
222
222
|
|
|
223
223
|
@convert_js_args_to_python_args
|
|
224
|
-
def __init__(self,
|
|
224
|
+
def __init__(self, code, instance, type, *args, **kwargs): # noqa: E501
|
|
225
225
|
"""AudienceError - a model defined in OpenAPI
|
|
226
226
|
|
|
227
227
|
Args:
|
|
228
|
-
type (str): (REQUIRED) The classification of the error
|
|
229
228
|
code (str): (REQUIRED) A machine-readable unique error code, expressed as a string value. The format used must be kebab-case.
|
|
230
229
|
instance (str): (REQUIRED) A URI reference that identifies the specific occurrence of the problem
|
|
230
|
+
type (str): (REQUIRED) The classification of the error
|
|
231
231
|
|
|
232
232
|
Keyword Args:
|
|
233
233
|
_check_type (bool): if True, values for parameters in openapi_types
|
|
@@ -260,11 +260,11 @@ class AudienceError(ModelNormal):
|
|
|
260
260
|
Animal class but this time we won't travel
|
|
261
261
|
through its discriminator because we passed in
|
|
262
262
|
_visited_composed_classes = (Animal,)
|
|
263
|
-
trace_id (str, none_type): (REQUIRED) The Correlation ID provided by the Gateway. It is also a unique identifier for this particular occurrence of the problem.. [optional] # noqa: E501
|
|
264
|
-
title (str, none_type): (RECOMMENDED) A short, human-readable summary of the problem type. [optional] # noqa: E501
|
|
265
263
|
detail (str, none_type): (RECOMMENDED) A human-readable explanation specific to this occurrence of the problem. [optional] # noqa: E501
|
|
266
264
|
source ({str: (bool, date, datetime, dict, float, int, list, str, none_type)}, none_type): (OPTIONAL) A machine-readable structure to reference to the exact location(s) causing the error(s). [optional] # noqa: E501
|
|
267
265
|
stack_trace ([str], none_type): (NEVER IN PRODUCTION) A human-readable stacktrace produced by the implementation technology. [optional] # noqa: E501
|
|
266
|
+
title (str, none_type): (RECOMMENDED) A short, human-readable summary of the problem type. [optional] # noqa: E501
|
|
267
|
+
trace_id (str, none_type): (REQUIRED) The Correlation ID provided by the Gateway. It is also a unique identifier for this particular occurrence of the problem.. [optional] # noqa: E501
|
|
268
268
|
"""
|
|
269
269
|
|
|
270
270
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -294,9 +294,9 @@ class AudienceError(ModelNormal):
|
|
|
294
294
|
self._configuration = _configuration
|
|
295
295
|
self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
|
|
296
296
|
|
|
297
|
-
self.type = type
|
|
298
297
|
self.code = code
|
|
299
298
|
self.instance = instance
|
|
299
|
+
self.type = type
|
|
300
300
|
for var_name, var_value in kwargs.items():
|
|
301
301
|
if var_name not in self.attribute_map and \
|
|
302
302
|
self._configuration is not None and \
|
|
@@ -30,7 +30,7 @@ from criteo_api_retailmedia_v2025_01.exceptions import ApiAttributeError
|
|
|
30
30
|
|
|
31
31
|
|
|
32
32
|
|
|
33
|
-
class
|
|
33
|
+
class AudienceIdsUpdateModel202110(ModelNormal):
|
|
34
34
|
"""NOTE: This class is auto generated by OpenAPI Generator.
|
|
35
35
|
Ref: https://openapi-generator.tech
|
|
36
36
|
|
|
@@ -101,7 +101,7 @@ class ExternalAudienceIdsUpdateModel202110(ModelNormal):
|
|
|
101
101
|
@classmethod
|
|
102
102
|
@convert_js_args_to_python_args
|
|
103
103
|
def _from_openapi_data(cls, audience_ids, *args, **kwargs): # noqa: E501
|
|
104
|
-
"""
|
|
104
|
+
"""AudienceIdsUpdateModel202110 - a model defined in OpenAPI
|
|
105
105
|
|
|
106
106
|
Args:
|
|
107
107
|
audience_ids ([str]): Audience ids that should be targeted
|
|
@@ -190,7 +190,7 @@ class ExternalAudienceIdsUpdateModel202110(ModelNormal):
|
|
|
190
190
|
|
|
191
191
|
@convert_js_args_to_python_args
|
|
192
192
|
def __init__(self, audience_ids, *args, **kwargs): # noqa: E501
|
|
193
|
-
"""
|
|
193
|
+
"""AudienceIdsUpdateModel202110 - a model defined in OpenAPI
|
|
194
194
|
|
|
195
195
|
Args:
|
|
196
196
|
audience_ids ([str]): Audience ids that should be targeted
|
criteo_api_retailmedia_v2025_01/model/{external_audience_target202110.py → audience_target202110.py}
RENAMED
|
@@ -30,7 +30,7 @@ from criteo_api_retailmedia_v2025_01.exceptions import ApiAttributeError
|
|
|
30
30
|
|
|
31
31
|
|
|
32
32
|
|
|
33
|
-
class
|
|
33
|
+
class AudienceTarget202110(ModelNormal):
|
|
34
34
|
"""NOTE: This class is auto generated by OpenAPI Generator.
|
|
35
35
|
Ref: https://openapi-generator.tech
|
|
36
36
|
|
|
@@ -86,8 +86,8 @@ class ExternalAudienceTarget202110(ModelNormal):
|
|
|
86
86
|
and the value is attribute type.
|
|
87
87
|
"""
|
|
88
88
|
return {
|
|
89
|
-
'scope': (str,), # noqa: E501
|
|
90
89
|
'audience_ids': ([str],), # noqa: E501
|
|
90
|
+
'scope': (str,), # noqa: E501
|
|
91
91
|
}
|
|
92
92
|
|
|
93
93
|
@cached_property
|
|
@@ -96,8 +96,8 @@ class ExternalAudienceTarget202110(ModelNormal):
|
|
|
96
96
|
|
|
97
97
|
|
|
98
98
|
attribute_map = {
|
|
99
|
-
'scope': 'scope', # noqa: E501
|
|
100
99
|
'audience_ids': 'audienceIds', # noqa: E501
|
|
100
|
+
'scope': 'scope', # noqa: E501
|
|
101
101
|
}
|
|
102
102
|
|
|
103
103
|
read_only_vars = {
|
|
@@ -107,12 +107,12 @@ class ExternalAudienceTarget202110(ModelNormal):
|
|
|
107
107
|
|
|
108
108
|
@classmethod
|
|
109
109
|
@convert_js_args_to_python_args
|
|
110
|
-
def _from_openapi_data(cls,
|
|
111
|
-
"""
|
|
110
|
+
def _from_openapi_data(cls, audience_ids, scope, *args, **kwargs): # noqa: E501
|
|
111
|
+
"""AudienceTarget202110 - a model defined in OpenAPI
|
|
112
112
|
|
|
113
113
|
Args:
|
|
114
|
-
scope (str): Scope of the audience target
|
|
115
114
|
audience_ids ([str]): Audience ids that should be targeted
|
|
115
|
+
scope (str): Scope of the audience target
|
|
116
116
|
|
|
117
117
|
Keyword Args:
|
|
118
118
|
_check_type (bool): if True, values for parameters in openapi_types
|
|
@@ -176,8 +176,8 @@ class ExternalAudienceTarget202110(ModelNormal):
|
|
|
176
176
|
self._configuration = _configuration
|
|
177
177
|
self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
|
|
178
178
|
|
|
179
|
-
self.scope = scope
|
|
180
179
|
self.audience_ids = audience_ids
|
|
180
|
+
self.scope = scope
|
|
181
181
|
for var_name, var_value in kwargs.items():
|
|
182
182
|
if var_name not in self.attribute_map and \
|
|
183
183
|
self._configuration is not None and \
|
|
@@ -198,12 +198,12 @@ class ExternalAudienceTarget202110(ModelNormal):
|
|
|
198
198
|
])
|
|
199
199
|
|
|
200
200
|
@convert_js_args_to_python_args
|
|
201
|
-
def __init__(self,
|
|
202
|
-
"""
|
|
201
|
+
def __init__(self, audience_ids, scope, *args, **kwargs): # noqa: E501
|
|
202
|
+
"""AudienceTarget202110 - a model defined in OpenAPI
|
|
203
203
|
|
|
204
204
|
Args:
|
|
205
|
-
scope (str): Scope of the audience target
|
|
206
205
|
audience_ids ([str]): Audience ids that should be targeted
|
|
206
|
+
scope (str): Scope of the audience target
|
|
207
207
|
|
|
208
208
|
Keyword Args:
|
|
209
209
|
_check_type (bool): if True, values for parameters in openapi_types
|
|
@@ -265,8 +265,8 @@ class ExternalAudienceTarget202110(ModelNormal):
|
|
|
265
265
|
self._configuration = _configuration
|
|
266
266
|
self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
|
|
267
267
|
|
|
268
|
-
self.scope = scope
|
|
269
268
|
self.audience_ids = audience_ids
|
|
269
|
+
self.scope = scope
|
|
270
270
|
for var_name, var_value in kwargs.items():
|
|
271
271
|
if var_name not in self.attribute_map and \
|
|
272
272
|
self._configuration is not None and \
|
|
@@ -30,9 +30,9 @@ from criteo_api_retailmedia_v2025_01.exceptions import ApiAttributeError
|
|
|
30
30
|
|
|
31
31
|
|
|
32
32
|
def lazy_import():
|
|
33
|
-
from criteo_api_retailmedia_v2025_01.model.
|
|
33
|
+
from criteo_api_retailmedia_v2025_01.model.common_problem import CommonProblem
|
|
34
34
|
from criteo_api_retailmedia_v2025_01.model.value_type_resource_of_audience_target202110 import ValueTypeResourceOfAudienceTarget202110
|
|
35
|
-
globals()['
|
|
35
|
+
globals()['CommonProblem'] = CommonProblem
|
|
36
36
|
globals()['ValueTypeResourceOfAudienceTarget202110'] = ValueTypeResourceOfAudienceTarget202110
|
|
37
37
|
|
|
38
38
|
|
|
@@ -90,8 +90,8 @@ class AudienceTarget202110Response(ModelNormal):
|
|
|
90
90
|
lazy_import()
|
|
91
91
|
return {
|
|
92
92
|
'data': (ValueTypeResourceOfAudienceTarget202110,), # noqa: E501
|
|
93
|
-
'
|
|
94
|
-
'
|
|
93
|
+
'errors': ([CommonProblem],), # noqa: E501
|
|
94
|
+
'warnings': ([CommonProblem],), # noqa: E501
|
|
95
95
|
}
|
|
96
96
|
|
|
97
97
|
@cached_property
|
|
@@ -101,13 +101,13 @@ class AudienceTarget202110Response(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 AudienceTarget202110Response(ModelNormal):
|
|
|
149
149
|
through its discriminator because we passed in
|
|
150
150
|
_visited_composed_classes = (Animal,)
|
|
151
151
|
data (ValueTypeResourceOfAudienceTarget202110): [optional] # noqa: E501
|
|
152
|
-
|
|
153
|
-
|
|
152
|
+
errors ([CommonProblem]): [optional] # noqa: E501
|
|
153
|
+
warnings ([CommonProblem]): [optional] # noqa: E501
|
|
154
154
|
"""
|
|
155
155
|
|
|
156
156
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -237,8 +237,8 @@ class AudienceTarget202110Response(ModelNormal):
|
|
|
237
237
|
through its discriminator because we passed in
|
|
238
238
|
_visited_composed_classes = (Animal,)
|
|
239
239
|
data (ValueTypeResourceOfAudienceTarget202110): [optional] # noqa: E501
|
|
240
|
-
|
|
241
|
-
|
|
240
|
+
errors ([CommonProblem]): [optional] # noqa: E501
|
|
241
|
+
warnings ([CommonProblem]): [optional] # noqa: E501
|
|
242
242
|
"""
|
|
243
243
|
|
|
244
244
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -90,14 +90,14 @@ class AudienceWarning(ModelNormal):
|
|
|
90
90
|
and the value is attribute type.
|
|
91
91
|
"""
|
|
92
92
|
return {
|
|
93
|
-
'type': (str,), # noqa: E501
|
|
94
93
|
'code': (str,), # noqa: E501
|
|
95
|
-
'instance': (str,), # noqa: E501
|
|
96
94
|
'detail': (str,), # noqa: E501
|
|
97
|
-
'
|
|
98
|
-
'
|
|
95
|
+
'instance': (str,), # noqa: E501
|
|
96
|
+
'type': (str,), # noqa: E501
|
|
99
97
|
'source': ({str: (bool, date, datetime, dict, float, int, list, str, none_type)}, none_type,), # noqa: E501
|
|
100
98
|
'stack_trace': ([str], none_type,), # noqa: E501
|
|
99
|
+
'title': (str, none_type,), # noqa: E501
|
|
100
|
+
'trace_id': (str, none_type,), # noqa: E501
|
|
101
101
|
}
|
|
102
102
|
|
|
103
103
|
@cached_property
|
|
@@ -106,14 +106,14 @@ class AudienceWarning(ModelNormal):
|
|
|
106
106
|
|
|
107
107
|
|
|
108
108
|
attribute_map = {
|
|
109
|
-
'type': 'type', # noqa: E501
|
|
110
109
|
'code': 'code', # noqa: E501
|
|
111
|
-
'instance': 'instance', # noqa: E501
|
|
112
110
|
'detail': 'detail', # noqa: E501
|
|
113
|
-
'
|
|
114
|
-
'
|
|
111
|
+
'instance': 'instance', # noqa: E501
|
|
112
|
+
'type': 'type', # noqa: E501
|
|
115
113
|
'source': 'source', # noqa: E501
|
|
116
114
|
'stack_trace': 'stackTrace', # noqa: E501
|
|
115
|
+
'title': 'title', # noqa: E501
|
|
116
|
+
'trace_id': 'traceId', # noqa: E501
|
|
117
117
|
}
|
|
118
118
|
|
|
119
119
|
read_only_vars = {
|
|
@@ -123,14 +123,14 @@ class AudienceWarning(ModelNormal):
|
|
|
123
123
|
|
|
124
124
|
@classmethod
|
|
125
125
|
@convert_js_args_to_python_args
|
|
126
|
-
def _from_openapi_data(cls,
|
|
126
|
+
def _from_openapi_data(cls, code, detail, instance, type, *args, **kwargs): # noqa: E501
|
|
127
127
|
"""AudienceWarning - a model defined in OpenAPI
|
|
128
128
|
|
|
129
129
|
Args:
|
|
130
|
-
type (str): (REQUIRED) The classification of the error
|
|
131
130
|
code (str): (REQUIRED) A machine-readable unique error code, expressed as a string value. The format used must be kebab-case.
|
|
132
|
-
instance (str): (REQUIRED) A URI reference that identifies the specific occurrence of the problem
|
|
133
131
|
detail (str): (REQUIRED) A human-readable explanation specific to this occurrence of the problem
|
|
132
|
+
instance (str): (REQUIRED) A URI reference that identifies the specific occurrence of the problem
|
|
133
|
+
type (str): (REQUIRED) The classification of the error
|
|
134
134
|
|
|
135
135
|
Keyword Args:
|
|
136
136
|
_check_type (bool): if True, values for parameters in openapi_types
|
|
@@ -163,10 +163,10 @@ class AudienceWarning(ModelNormal):
|
|
|
163
163
|
Animal class but this time we won't travel
|
|
164
164
|
through its discriminator because we passed in
|
|
165
165
|
_visited_composed_classes = (Animal,)
|
|
166
|
-
trace_id (str, none_type): (REQUIRED) The Correlation ID provided by the Gateway. It is also a unique identifier for this particular occurrence of the problem.. [optional] # noqa: E501
|
|
167
|
-
title (str, none_type): (RECOMMENDED) A short, human-readable summary of the problem type. [optional] # noqa: E501
|
|
168
166
|
source ({str: (bool, date, datetime, dict, float, int, list, str, none_type)}, none_type): (OPTIONAL) A machine-readable structure to reference to the exact location(s) causing the error(s). [optional] # noqa: E501
|
|
169
167
|
stack_trace ([str], none_type): (NEVER IN PRODUCTION) A human-readable stacktrace produced by the implementation technology. [optional] # noqa: E501
|
|
168
|
+
title (str, none_type): (RECOMMENDED) A short, human-readable summary of the problem type. [optional] # noqa: E501
|
|
169
|
+
trace_id (str, none_type): (REQUIRED) The Correlation ID provided by the Gateway. It is also a unique identifier for this particular occurrence of the problem.. [optional] # noqa: E501
|
|
170
170
|
"""
|
|
171
171
|
|
|
172
172
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -198,10 +198,10 @@ class AudienceWarning(ModelNormal):
|
|
|
198
198
|
self._configuration = _configuration
|
|
199
199
|
self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
|
|
200
200
|
|
|
201
|
-
self.type = type
|
|
202
201
|
self.code = code
|
|
203
|
-
self.instance = instance
|
|
204
202
|
self.detail = detail
|
|
203
|
+
self.instance = instance
|
|
204
|
+
self.type = type
|
|
205
205
|
for var_name, var_value in kwargs.items():
|
|
206
206
|
if var_name not in self.attribute_map and \
|
|
207
207
|
self._configuration is not None and \
|
|
@@ -222,14 +222,14 @@ class AudienceWarning(ModelNormal):
|
|
|
222
222
|
])
|
|
223
223
|
|
|
224
224
|
@convert_js_args_to_python_args
|
|
225
|
-
def __init__(self,
|
|
225
|
+
def __init__(self, code, detail, instance, type, *args, **kwargs): # noqa: E501
|
|
226
226
|
"""AudienceWarning - a model defined in OpenAPI
|
|
227
227
|
|
|
228
228
|
Args:
|
|
229
|
-
type (str): (REQUIRED) The classification of the error
|
|
230
229
|
code (str): (REQUIRED) A machine-readable unique error code, expressed as a string value. The format used must be kebab-case.
|
|
231
|
-
instance (str): (REQUIRED) A URI reference that identifies the specific occurrence of the problem
|
|
232
230
|
detail (str): (REQUIRED) A human-readable explanation specific to this occurrence of the problem
|
|
231
|
+
instance (str): (REQUIRED) A URI reference that identifies the specific occurrence of the problem
|
|
232
|
+
type (str): (REQUIRED) The classification of the error
|
|
233
233
|
|
|
234
234
|
Keyword Args:
|
|
235
235
|
_check_type (bool): if True, values for parameters in openapi_types
|
|
@@ -262,10 +262,10 @@ class AudienceWarning(ModelNormal):
|
|
|
262
262
|
Animal class but this time we won't travel
|
|
263
263
|
through its discriminator because we passed in
|
|
264
264
|
_visited_composed_classes = (Animal,)
|
|
265
|
-
trace_id (str, none_type): (REQUIRED) The Correlation ID provided by the Gateway. It is also a unique identifier for this particular occurrence of the problem.. [optional] # noqa: E501
|
|
266
|
-
title (str, none_type): (RECOMMENDED) A short, human-readable summary of the problem type. [optional] # noqa: E501
|
|
267
265
|
source ({str: (bool, date, datetime, dict, float, int, list, str, none_type)}, none_type): (OPTIONAL) A machine-readable structure to reference to the exact location(s) causing the error(s). [optional] # noqa: E501
|
|
268
266
|
stack_trace ([str], none_type): (NEVER IN PRODUCTION) A human-readable stacktrace produced by the implementation technology. [optional] # noqa: E501
|
|
267
|
+
title (str, none_type): (RECOMMENDED) A short, human-readable summary of the problem type. [optional] # noqa: E501
|
|
268
|
+
trace_id (str, none_type): (REQUIRED) The Correlation ID provided by the Gateway. It is also a unique identifier for this particular occurrence of the problem.. [optional] # noqa: E501
|
|
269
269
|
"""
|
|
270
270
|
|
|
271
271
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -295,10 +295,10 @@ class AudienceWarning(ModelNormal):
|
|
|
295
295
|
self._configuration = _configuration
|
|
296
296
|
self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
|
|
297
297
|
|
|
298
|
-
self.type = type
|
|
299
298
|
self.code = code
|
|
300
|
-
self.instance = instance
|
|
301
299
|
self.detail = detail
|
|
300
|
+
self.instance = instance
|
|
301
|
+
self.type = type
|
|
302
302
|
for var_name, var_value in kwargs.items():
|
|
303
303
|
if var_name not in self.attribute_map and \
|
|
304
304
|
self._configuration is not None and \
|
|
@@ -30,11 +30,11 @@ from criteo_api_retailmedia_v2025_01.exceptions import ApiAttributeError
|
|
|
30
30
|
|
|
31
31
|
|
|
32
32
|
def lazy_import():
|
|
33
|
+
from criteo_api_retailmedia_v2025_01.model.common_problem import CommonProblem
|
|
33
34
|
from criteo_api_retailmedia_v2025_01.model.page_metadata import PageMetadata
|
|
34
|
-
from criteo_api_retailmedia_v2025_01.model.problem_details import ProblemDetails
|
|
35
35
|
from criteo_api_retailmedia_v2025_01.model.resource_of_balance_campaign202110 import ResourceOfBalanceCampaign202110
|
|
36
|
+
globals()['CommonProblem'] = CommonProblem
|
|
36
37
|
globals()['PageMetadata'] = PageMetadata
|
|
37
|
-
globals()['ProblemDetails'] = ProblemDetails
|
|
38
38
|
globals()['ResourceOfBalanceCampaign202110'] = ResourceOfBalanceCampaign202110
|
|
39
39
|
|
|
40
40
|
|
|
@@ -91,10 +91,10 @@ class BalanceCampaign202110PagedListResponse(ModelNormal):
|
|
|
91
91
|
"""
|
|
92
92
|
lazy_import()
|
|
93
93
|
return {
|
|
94
|
-
'metadata': (PageMetadata,), # noqa: E501
|
|
95
94
|
'data': ([ResourceOfBalanceCampaign202110],), # noqa: E501
|
|
96
|
-
'
|
|
97
|
-
'
|
|
95
|
+
'errors': ([CommonProblem],), # noqa: E501
|
|
96
|
+
'metadata': (PageMetadata,), # noqa: E501
|
|
97
|
+
'warnings': ([CommonProblem],), # noqa: E501
|
|
98
98
|
}
|
|
99
99
|
|
|
100
100
|
@cached_property
|
|
@@ -103,15 +103,15 @@ class BalanceCampaign202110PagedListResponse(ModelNormal):
|
|
|
103
103
|
|
|
104
104
|
|
|
105
105
|
attribute_map = {
|
|
106
|
-
'metadata': 'metadata', # noqa: E501
|
|
107
106
|
'data': 'data', # noqa: E501
|
|
108
|
-
'warnings': 'warnings', # noqa: E501
|
|
109
107
|
'errors': 'errors', # noqa: E501
|
|
108
|
+
'metadata': 'metadata', # noqa: E501
|
|
109
|
+
'warnings': 'warnings', # noqa: E501
|
|
110
110
|
}
|
|
111
111
|
|
|
112
112
|
read_only_vars = {
|
|
113
|
-
'warnings', # noqa: E501
|
|
114
113
|
'errors', # noqa: E501
|
|
114
|
+
'warnings', # noqa: E501
|
|
115
115
|
}
|
|
116
116
|
|
|
117
117
|
_composed_schemas = {}
|
|
@@ -152,10 +152,10 @@ class BalanceCampaign202110PagedListResponse(ModelNormal):
|
|
|
152
152
|
Animal class but this time we won't travel
|
|
153
153
|
through its discriminator because we passed in
|
|
154
154
|
_visited_composed_classes = (Animal,)
|
|
155
|
-
metadata (PageMetadata): [optional] # noqa: E501
|
|
156
155
|
data ([ResourceOfBalanceCampaign202110]): [optional] # noqa: E501
|
|
157
|
-
|
|
158
|
-
|
|
156
|
+
errors ([CommonProblem]): [optional] # noqa: E501
|
|
157
|
+
metadata (PageMetadata): [optional] # noqa: E501
|
|
158
|
+
warnings ([CommonProblem]): [optional] # noqa: E501
|
|
159
159
|
"""
|
|
160
160
|
|
|
161
161
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -241,10 +241,10 @@ class BalanceCampaign202110PagedListResponse(ModelNormal):
|
|
|
241
241
|
Animal class but this time we won't travel
|
|
242
242
|
through its discriminator because we passed in
|
|
243
243
|
_visited_composed_classes = (Animal,)
|
|
244
|
-
metadata (PageMetadata): [optional] # noqa: E501
|
|
245
244
|
data ([ResourceOfBalanceCampaign202110]): [optional] # noqa: E501
|
|
246
|
-
|
|
247
|
-
|
|
245
|
+
errors ([CommonProblem]): [optional] # noqa: E501
|
|
246
|
+
metadata (PageMetadata): [optional] # noqa: E501
|
|
247
|
+
warnings ([CommonProblem]): [optional] # noqa: E501
|
|
248
248
|
"""
|
|
249
249
|
|
|
250
250
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -93,10 +93,10 @@ class BalanceHistoryChangeDataCaptureV1(ModelNormal):
|
|
|
93
93
|
"""
|
|
94
94
|
lazy_import()
|
|
95
95
|
return {
|
|
96
|
+
'change_details': (ChangeDetailsV1,), # noqa: E501
|
|
97
|
+
'change_type': (str,), # noqa: E501
|
|
96
98
|
'date_of_modification': (datetime,), # noqa: E501
|
|
97
99
|
'modified_by_user': (str,), # noqa: E501
|
|
98
|
-
'change_type': (str,), # noqa: E501
|
|
99
|
-
'change_details': (ChangeDetailsV1,), # noqa: E501
|
|
100
100
|
'memo': (str, none_type,), # noqa: E501
|
|
101
101
|
}
|
|
102
102
|
|
|
@@ -106,10 +106,10 @@ class BalanceHistoryChangeDataCaptureV1(ModelNormal):
|
|
|
106
106
|
|
|
107
107
|
|
|
108
108
|
attribute_map = {
|
|
109
|
+
'change_details': 'changeDetails', # noqa: E501
|
|
110
|
+
'change_type': 'changeType', # noqa: E501
|
|
109
111
|
'date_of_modification': 'dateOfModification', # noqa: E501
|
|
110
112
|
'modified_by_user': 'modifiedByUser', # noqa: E501
|
|
111
|
-
'change_type': 'changeType', # noqa: E501
|
|
112
|
-
'change_details': 'changeDetails', # noqa: E501
|
|
113
113
|
'memo': 'memo', # noqa: E501
|
|
114
114
|
}
|
|
115
115
|
|
|
@@ -120,14 +120,14 @@ class BalanceHistoryChangeDataCaptureV1(ModelNormal):
|
|
|
120
120
|
|
|
121
121
|
@classmethod
|
|
122
122
|
@convert_js_args_to_python_args
|
|
123
|
-
def _from_openapi_data(cls,
|
|
123
|
+
def _from_openapi_data(cls, change_details, change_type, date_of_modification, modified_by_user, *args, **kwargs): # noqa: E501
|
|
124
124
|
"""BalanceHistoryChangeDataCaptureV1 - a model defined in OpenAPI
|
|
125
125
|
|
|
126
126
|
Args:
|
|
127
|
+
change_details (ChangeDetailsV1):
|
|
128
|
+
change_type (str): Represent the type of change states of the history.
|
|
127
129
|
date_of_modification (datetime): Date when data change has occured.
|
|
128
130
|
modified_by_user (str): Username who modified the insertion order.
|
|
129
|
-
change_type (str): Represent the type of change states of the history.
|
|
130
|
-
change_details (ChangeDetailsV1):
|
|
131
131
|
|
|
132
132
|
Keyword Args:
|
|
133
133
|
_check_type (bool): if True, values for parameters in openapi_types
|
|
@@ -192,10 +192,10 @@ class BalanceHistoryChangeDataCaptureV1(ModelNormal):
|
|
|
192
192
|
self._configuration = _configuration
|
|
193
193
|
self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
|
|
194
194
|
|
|
195
|
+
self.change_details = change_details
|
|
196
|
+
self.change_type = change_type
|
|
195
197
|
self.date_of_modification = date_of_modification
|
|
196
198
|
self.modified_by_user = modified_by_user
|
|
197
|
-
self.change_type = change_type
|
|
198
|
-
self.change_details = change_details
|
|
199
199
|
for var_name, var_value in kwargs.items():
|
|
200
200
|
if var_name not in self.attribute_map and \
|
|
201
201
|
self._configuration is not None and \
|
|
@@ -216,14 +216,14 @@ class BalanceHistoryChangeDataCaptureV1(ModelNormal):
|
|
|
216
216
|
])
|
|
217
217
|
|
|
218
218
|
@convert_js_args_to_python_args
|
|
219
|
-
def __init__(self,
|
|
219
|
+
def __init__(self, change_details, change_type, date_of_modification, modified_by_user, *args, **kwargs): # noqa: E501
|
|
220
220
|
"""BalanceHistoryChangeDataCaptureV1 - a model defined in OpenAPI
|
|
221
221
|
|
|
222
222
|
Args:
|
|
223
|
+
change_details (ChangeDetailsV1):
|
|
224
|
+
change_type (str): Represent the type of change states of the history.
|
|
223
225
|
date_of_modification (datetime): Date when data change has occured.
|
|
224
226
|
modified_by_user (str): Username who modified the insertion order.
|
|
225
|
-
change_type (str): Represent the type of change states of the history.
|
|
226
|
-
change_details (ChangeDetailsV1):
|
|
227
227
|
|
|
228
228
|
Keyword Args:
|
|
229
229
|
_check_type (bool): if True, values for parameters in openapi_types
|
|
@@ -286,10 +286,10 @@ class BalanceHistoryChangeDataCaptureV1(ModelNormal):
|
|
|
286
286
|
self._configuration = _configuration
|
|
287
287
|
self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
|
|
288
288
|
|
|
289
|
+
self.change_details = change_details
|
|
290
|
+
self.change_type = change_type
|
|
289
291
|
self.date_of_modification = date_of_modification
|
|
290
292
|
self.modified_by_user = modified_by_user
|
|
291
|
-
self.change_type = change_type
|
|
292
|
-
self.change_details = change_details
|
|
293
293
|
for var_name, var_value in kwargs.items():
|
|
294
294
|
if var_name not in self.attribute_map and \
|
|
295
295
|
self._configuration is not None and \
|