criteo-api-retailmedia-sdk 2025.1.0.250327__py3-none-any.whl → 2025.1.0.250425__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of criteo-api-retailmedia-sdk might be problematic. Click here for more details.
- {criteo_api_retailmedia_sdk-2025.1.0.250327.dist-info → criteo_api_retailmedia_sdk-2025.1.0.250425.dist-info}/METADATA +3 -3
- {criteo_api_retailmedia_sdk-2025.1.0.250327.dist-info → criteo_api_retailmedia_sdk-2025.1.0.250425.dist-info}/RECORD +168 -168
- {criteo_api_retailmedia_sdk-2025.1.0.250327.dist-info → criteo_api_retailmedia_sdk-2025.1.0.250425.dist-info}/WHEEL +1 -1
- criteo_api_retailmedia_v2025_01/__init__.py +1 -1
- criteo_api_retailmedia_v2025_01/api/analytics_api.py +2 -2
- criteo_api_retailmedia_v2025_01/api/balance_api.py +12 -12
- criteo_api_retailmedia_v2025_01/api/campaign_api.py +30 -30
- 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 +4 -4
- 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/add_to_basket_target202110_response.py +5 -5
- 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_response.py +7 -7
- criteo_api_retailmedia_v2025_01/model/async_campaigns_report.py +79 -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 +79 -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 +104 -104
- criteo_api_retailmedia_v2025_01/model/async_revenue_report_resource.py +4 -4
- criteo_api_retailmedia_v2025_01/model/auction_line_item_paged_list_response.py +9 -9
- criteo_api_retailmedia_v2025_01/model/auction_line_item_response.py +5 -5
- criteo_api_retailmedia_v2025_01/model/audience_error.py +16 -16
- criteo_api_retailmedia_v2025_01/model/audience_target202110_response.py +5 -5
- criteo_api_retailmedia_v2025_01/model/audience_warning.py +22 -22
- criteo_api_retailmedia_v2025_01/model/balance_campaign202110_paged_list_response.py +9 -9
- 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/balance_response_v2_response.py +5 -5
- criteo_api_retailmedia_v2025_01/model/campaign_attributes_v202301.py +57 -57
- criteo_api_retailmedia_v2025_01/model/campaign_budget_overrides.py +8 -8
- criteo_api_retailmedia_v2025_01/model/campaign_v202301.py +82 -82
- 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 +4 -4
- criteo_api_retailmedia_v2025_01/model/change_details_v1.py +8 -8
- criteo_api_retailmedia_v2025_01/model/common_error.py +16 -16
- criteo_api_retailmedia_v2025_01/model/common_line_item_paged_list_response.py +9 -9
- criteo_api_retailmedia_v2025_01/model/common_line_item_response.py +5 -5
- criteo_api_retailmedia_v2025_01/model/common_problem.py +20 -20
- criteo_api_retailmedia_v2025_01/model/common_warning.py +16 -16
- criteo_api_retailmedia_v2025_01/model/create_balance_v2.py +12 -12
- 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 +32 -32
- 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_add_to_basket_ids_update_model202110.py +4 -4
- criteo_api_retailmedia_v2025_01/model/external_add_to_basket_target202110.py +4 -4
- criteo_api_retailmedia_v2025_01/model/external_auction_line_item.py +44 -44
- criteo_api_retailmedia_v2025_01/model/external_auction_line_item_create_model.py +30 -30
- criteo_api_retailmedia_v2025_01/model/external_auction_line_item_update_model.py +20 -20
- criteo_api_retailmedia_v2025_01/model/external_audience_target202110.py +8 -8
- 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_common_line_item.py +34 -34
- criteo_api_retailmedia_v2025_01/model/external_line_item_bid_multipliers_v2.py +28 -28
- criteo_api_retailmedia_v2025_01/model/external_line_item_capping_v2.py +9 -9
- criteo_api_retailmedia_v2025_01/model/external_line_item_page_v2.py +3 -3
- criteo_api_retailmedia_v2025_01/model/external_preferred_line_item_create_model_v2.py +24 -24
- criteo_api_retailmedia_v2025_01/model/external_preferred_line_item_update_model_v2.py +20 -20
- criteo_api_retailmedia_v2025_01/model/external_preferred_line_item_v2.py +36 -36
- 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_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 +4 -4
- criteo_api_retailmedia_v2025_01/model/input_resource_of_preferred_line_item_create_model_v2.py +4 -4
- 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/keyword_data_model.py +12 -12
- criteo_api_retailmedia_v2025_01/model/keyword_target202110_response.py +5 -5
- 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/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/metadata.py +8 -8
- 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/paged_resource_collection_outcome_of_balance_response_v2.py +9 -9
- 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/report_outcome.py +5 -5
- criteo_api_retailmedia_v2025_01/model/resource_of_auction_line_item.py +4 -4
- criteo_api_retailmedia_v2025_01/model/resource_of_auction_line_item_update_model.py +4 -4
- 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 +4 -4
- criteo_api_retailmedia_v2025_01/model/resource_of_preferred_line_item_update_model_v2.py +4 -4
- criteo_api_retailmedia_v2025_01/model/resource_of_preferred_line_item_v2.py +4 -4
- 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 +4 -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 +8 -8
- 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 +4 -4
- 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/store_target202110_response.py +5 -5
- 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 +5 -5
- criteo_api_retailmedia_v2025_01/model/value_resource_outcome_of_line_item_budget_overrides.py +5 -5
- criteo_api_retailmedia_v2025_01/model/value_resource_outcome_of_recommended_keywords_result.py +5 -5
- 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 +4 -4
- criteo_api_retailmedia_v2025_01/model/value_type_resource_of_add_to_basket_target202110.py +4 -4
- criteo_api_retailmedia_v2025_01/model/value_type_resource_of_audience_ids_update_model202110.py +4 -4
- criteo_api_retailmedia_v2025_01/model/value_type_resource_of_audience_target202110.py +4 -4
- criteo_api_retailmedia_v2025_01/model/value_type_resource_of_keyword_target202110.py +4 -4
- criteo_api_retailmedia_v2025_01/model/value_type_resource_of_store_ids_update_model202110.py +4 -4
- criteo_api_retailmedia_v2025_01/model/value_type_resource_of_store_target202110.py +4 -4
- criteo_api_retailmedia_v2025_01/model/video_variable_value.py +16 -16
- {criteo_api_retailmedia_sdk-2025.1.0.250327.dist-info → criteo_api_retailmedia_sdk-2025.1.0.250425.dist-info}/top_level.txt +0 -0
|
@@ -110,22 +110,22 @@ class ExternalPreferredLineItemV2(ModelNormal):
|
|
|
110
110
|
"""
|
|
111
111
|
lazy_import()
|
|
112
112
|
return {
|
|
113
|
+
'campaign_id': (str,), # noqa: E501
|
|
114
|
+
'created_at': (datetime,), # noqa: E501
|
|
115
|
+
'end_date': (date,), # noqa: E501
|
|
113
116
|
'name': (str,), # noqa: E501
|
|
114
117
|
'start_date': (date,), # noqa: E501
|
|
115
|
-
'end_date': (date,), # noqa: E501
|
|
116
118
|
'status': (str,), # noqa: E501
|
|
117
119
|
'target_retailer_id': (str,), # noqa: E501
|
|
118
|
-
'campaign_id': (str,), # noqa: E501
|
|
119
|
-
'created_at': (datetime,), # noqa: E501
|
|
120
120
|
'updated_at': (datetime,), # noqa: E501
|
|
121
|
-
'pacing': (str, none_type,), # noqa: E501
|
|
122
|
-
'capping': (ExternalLineItemCappingV2,), # noqa: E501
|
|
123
|
-
'page': (ExternalLineItemPageV2,), # noqa: E501
|
|
124
121
|
'budget': (float, none_type,), # noqa: E501
|
|
125
|
-
'budget_spent': (float, none_type,), # noqa: E501
|
|
126
122
|
'budget_remaining': (float, none_type,), # noqa: E501
|
|
123
|
+
'budget_spent': (float, none_type,), # noqa: E501
|
|
124
|
+
'capping': (ExternalLineItemCappingV2,), # noqa: E501
|
|
127
125
|
'creative_id': (str, none_type,), # noqa: E501
|
|
128
126
|
'id': (str, none_type,), # noqa: E501
|
|
127
|
+
'pacing': (str, none_type,), # noqa: E501
|
|
128
|
+
'page': (ExternalLineItemPageV2,), # noqa: E501
|
|
129
129
|
}
|
|
130
130
|
|
|
131
131
|
@cached_property
|
|
@@ -134,22 +134,22 @@ class ExternalPreferredLineItemV2(ModelNormal):
|
|
|
134
134
|
|
|
135
135
|
|
|
136
136
|
attribute_map = {
|
|
137
|
+
'campaign_id': 'campaignId', # noqa: E501
|
|
138
|
+
'created_at': 'createdAt', # noqa: E501
|
|
139
|
+
'end_date': 'endDate', # noqa: E501
|
|
137
140
|
'name': 'name', # noqa: E501
|
|
138
141
|
'start_date': 'startDate', # noqa: E501
|
|
139
|
-
'end_date': 'endDate', # noqa: E501
|
|
140
142
|
'status': 'status', # noqa: E501
|
|
141
143
|
'target_retailer_id': 'targetRetailerId', # noqa: E501
|
|
142
|
-
'campaign_id': 'campaignId', # noqa: E501
|
|
143
|
-
'created_at': 'createdAt', # noqa: E501
|
|
144
144
|
'updated_at': 'updatedAt', # noqa: E501
|
|
145
|
-
'pacing': 'pacing', # noqa: E501
|
|
146
|
-
'capping': 'capping', # noqa: E501
|
|
147
|
-
'page': 'page', # noqa: E501
|
|
148
145
|
'budget': 'budget', # noqa: E501
|
|
149
|
-
'budget_spent': 'budgetSpent', # noqa: E501
|
|
150
146
|
'budget_remaining': 'budgetRemaining', # noqa: E501
|
|
147
|
+
'budget_spent': 'budgetSpent', # noqa: E501
|
|
148
|
+
'capping': 'capping', # noqa: E501
|
|
151
149
|
'creative_id': 'creativeId', # noqa: E501
|
|
152
150
|
'id': 'id', # noqa: E501
|
|
151
|
+
'pacing': 'pacing', # noqa: E501
|
|
152
|
+
'page': 'page', # noqa: E501
|
|
153
153
|
}
|
|
154
154
|
|
|
155
155
|
read_only_vars = {
|
|
@@ -159,17 +159,17 @@ class ExternalPreferredLineItemV2(ModelNormal):
|
|
|
159
159
|
|
|
160
160
|
@classmethod
|
|
161
161
|
@convert_js_args_to_python_args
|
|
162
|
-
def _from_openapi_data(cls,
|
|
162
|
+
def _from_openapi_data(cls, campaign_id, created_at, end_date, name, start_date, status, target_retailer_id, updated_at, *args, **kwargs): # noqa: E501
|
|
163
163
|
"""ExternalPreferredLineItemV2 - a model defined in OpenAPI
|
|
164
164
|
|
|
165
165
|
Args:
|
|
166
|
+
campaign_id (str):
|
|
167
|
+
created_at (datetime):
|
|
168
|
+
end_date (date): Represents the Date as a year, month, and day in the format YYYY-MM-DD
|
|
166
169
|
name (str):
|
|
167
170
|
start_date (date): Represents the Date as a year, month, and day in the format YYYY-MM-DD
|
|
168
|
-
end_date (date): Represents the Date as a year, month, and day in the format YYYY-MM-DD
|
|
169
171
|
status (str): Line Item Status Enum
|
|
170
172
|
target_retailer_id (str):
|
|
171
|
-
campaign_id (str):
|
|
172
|
-
created_at (datetime):
|
|
173
173
|
updated_at (datetime):
|
|
174
174
|
|
|
175
175
|
Keyword Args:
|
|
@@ -203,14 +203,14 @@ class ExternalPreferredLineItemV2(ModelNormal):
|
|
|
203
203
|
Animal class but this time we won't travel
|
|
204
204
|
through its discriminator because we passed in
|
|
205
205
|
_visited_composed_classes = (Animal,)
|
|
206
|
-
pacing (str, none_type): [optional] # noqa: E501
|
|
207
|
-
capping (ExternalLineItemCappingV2): [optional] # noqa: E501
|
|
208
|
-
page (ExternalLineItemPageV2): [optional] # noqa: E501
|
|
209
206
|
budget (float, none_type): [optional] # noqa: E501
|
|
210
|
-
budget_spent (float, none_type): [optional] # noqa: E501
|
|
211
207
|
budget_remaining (float, none_type): [optional] # noqa: E501
|
|
208
|
+
budget_spent (float, none_type): [optional] # noqa: E501
|
|
209
|
+
capping (ExternalLineItemCappingV2): [optional] # noqa: E501
|
|
212
210
|
creative_id (str, none_type): External creative Id. [optional] # noqa: E501
|
|
213
211
|
id (str, none_type): Id of the entity. [optional] # noqa: E501
|
|
212
|
+
pacing (str, none_type): [optional] # noqa: E501
|
|
213
|
+
page (ExternalLineItemPageV2): [optional] # noqa: E501
|
|
214
214
|
"""
|
|
215
215
|
|
|
216
216
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -242,13 +242,13 @@ class ExternalPreferredLineItemV2(ModelNormal):
|
|
|
242
242
|
self._configuration = _configuration
|
|
243
243
|
self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
|
|
244
244
|
|
|
245
|
+
self.campaign_id = campaign_id
|
|
246
|
+
self.created_at = created_at
|
|
247
|
+
self.end_date = end_date
|
|
245
248
|
self.name = name
|
|
246
249
|
self.start_date = start_date
|
|
247
|
-
self.end_date = end_date
|
|
248
250
|
self.status = status
|
|
249
251
|
self.target_retailer_id = target_retailer_id
|
|
250
|
-
self.campaign_id = campaign_id
|
|
251
|
-
self.created_at = created_at
|
|
252
252
|
self.updated_at = updated_at
|
|
253
253
|
for var_name, var_value in kwargs.items():
|
|
254
254
|
if var_name not in self.attribute_map and \
|
|
@@ -270,17 +270,17 @@ class ExternalPreferredLineItemV2(ModelNormal):
|
|
|
270
270
|
])
|
|
271
271
|
|
|
272
272
|
@convert_js_args_to_python_args
|
|
273
|
-
def __init__(self,
|
|
273
|
+
def __init__(self, campaign_id, created_at, end_date, name, start_date, status, target_retailer_id, updated_at, *args, **kwargs): # noqa: E501
|
|
274
274
|
"""ExternalPreferredLineItemV2 - a model defined in OpenAPI
|
|
275
275
|
|
|
276
276
|
Args:
|
|
277
|
+
campaign_id (str):
|
|
278
|
+
created_at (datetime):
|
|
279
|
+
end_date (date): Represents the Date as a year, month, and day in the format YYYY-MM-DD
|
|
277
280
|
name (str):
|
|
278
281
|
start_date (date): Represents the Date as a year, month, and day in the format YYYY-MM-DD
|
|
279
|
-
end_date (date): Represents the Date as a year, month, and day in the format YYYY-MM-DD
|
|
280
282
|
status (str): Line Item Status Enum
|
|
281
283
|
target_retailer_id (str):
|
|
282
|
-
campaign_id (str):
|
|
283
|
-
created_at (datetime):
|
|
284
284
|
updated_at (datetime):
|
|
285
285
|
|
|
286
286
|
Keyword Args:
|
|
@@ -314,14 +314,14 @@ class ExternalPreferredLineItemV2(ModelNormal):
|
|
|
314
314
|
Animal class but this time we won't travel
|
|
315
315
|
through its discriminator because we passed in
|
|
316
316
|
_visited_composed_classes = (Animal,)
|
|
317
|
-
pacing (str, none_type): [optional] # noqa: E501
|
|
318
|
-
capping (ExternalLineItemCappingV2): [optional] # noqa: E501
|
|
319
|
-
page (ExternalLineItemPageV2): [optional] # noqa: E501
|
|
320
317
|
budget (float, none_type): [optional] # noqa: E501
|
|
321
|
-
budget_spent (float, none_type): [optional] # noqa: E501
|
|
322
318
|
budget_remaining (float, none_type): [optional] # noqa: E501
|
|
319
|
+
budget_spent (float, none_type): [optional] # noqa: E501
|
|
320
|
+
capping (ExternalLineItemCappingV2): [optional] # noqa: E501
|
|
323
321
|
creative_id (str, none_type): External creative Id. [optional] # noqa: E501
|
|
324
322
|
id (str, none_type): Id of the entity. [optional] # noqa: E501
|
|
323
|
+
pacing (str, none_type): [optional] # noqa: E501
|
|
324
|
+
page (ExternalLineItemPageV2): [optional] # noqa: E501
|
|
325
325
|
"""
|
|
326
326
|
|
|
327
327
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -351,13 +351,13 @@ class ExternalPreferredLineItemV2(ModelNormal):
|
|
|
351
351
|
self._configuration = _configuration
|
|
352
352
|
self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
|
|
353
353
|
|
|
354
|
+
self.campaign_id = campaign_id
|
|
355
|
+
self.created_at = created_at
|
|
356
|
+
self.end_date = end_date
|
|
354
357
|
self.name = name
|
|
355
358
|
self.start_date = start_date
|
|
356
|
-
self.end_date = end_date
|
|
357
359
|
self.status = status
|
|
358
360
|
self.target_retailer_id = target_retailer_id
|
|
359
|
-
self.campaign_id = campaign_id
|
|
360
|
-
self.created_at = created_at
|
|
361
361
|
self.updated_at = updated_at
|
|
362
362
|
for var_name, var_value in kwargs.items():
|
|
363
363
|
if var_name not in self.attribute_map and \
|
|
@@ -55,18 +55,18 @@ class ExternalRetailMediaAccount(ModelNormal):
|
|
|
55
55
|
"""
|
|
56
56
|
|
|
57
57
|
allowed_values = {
|
|
58
|
-
('type',): {
|
|
59
|
-
'None': None,
|
|
60
|
-
'UNKNOWN': "Unknown",
|
|
61
|
-
'SUPPLY': "Supply",
|
|
62
|
-
'DEMAND': "Demand",
|
|
63
|
-
},
|
|
64
58
|
('sub_type',): {
|
|
65
59
|
'None': None,
|
|
66
60
|
'UNKNOWN': "Unknown",
|
|
67
61
|
'BRAND': "Brand",
|
|
68
62
|
'SELLER': "Seller",
|
|
69
63
|
},
|
|
64
|
+
('type',): {
|
|
65
|
+
'None': None,
|
|
66
|
+
'UNKNOWN': "Unknown",
|
|
67
|
+
'SUPPLY': "Supply",
|
|
68
|
+
'DEMAND': "Demand",
|
|
69
|
+
},
|
|
70
70
|
}
|
|
71
71
|
|
|
72
72
|
validations = {
|
|
@@ -87,15 +87,15 @@ class ExternalRetailMediaAccount(ModelNormal):
|
|
|
87
87
|
and the value is attribute type.
|
|
88
88
|
"""
|
|
89
89
|
return {
|
|
90
|
-
'name': (str, none_type,), # noqa: E501
|
|
91
90
|
'company_name': (str, none_type,), # noqa: E501
|
|
92
|
-
'on_behalf_company_name': (str, none_type,), # noqa: E501
|
|
93
|
-
'type': (str, none_type,), # noqa: E501
|
|
94
|
-
'sub_type': (str, none_type,), # noqa: E501
|
|
95
91
|
'country_ids': ([str], none_type,), # noqa: E501
|
|
96
92
|
'currency_id': (str, none_type,), # noqa: E501
|
|
93
|
+
'name': (str, none_type,), # noqa: E501
|
|
94
|
+
'on_behalf_company_name': (str, none_type,), # noqa: E501
|
|
97
95
|
'parent_account_label': (str, none_type,), # noqa: E501
|
|
96
|
+
'sub_type': (str, none_type,), # noqa: E501
|
|
98
97
|
'time_zone': (str, none_type,), # noqa: E501
|
|
98
|
+
'type': (str, none_type,), # noqa: E501
|
|
99
99
|
}
|
|
100
100
|
|
|
101
101
|
@cached_property
|
|
@@ -104,15 +104,15 @@ class ExternalRetailMediaAccount(ModelNormal):
|
|
|
104
104
|
|
|
105
105
|
|
|
106
106
|
attribute_map = {
|
|
107
|
-
'name': 'name', # noqa: E501
|
|
108
107
|
'company_name': 'companyName', # noqa: E501
|
|
109
|
-
'on_behalf_company_name': 'onBehalfCompanyName', # noqa: E501
|
|
110
|
-
'type': 'type', # noqa: E501
|
|
111
|
-
'sub_type': 'subType', # noqa: E501
|
|
112
108
|
'country_ids': 'countryIds', # noqa: E501
|
|
113
109
|
'currency_id': 'currencyId', # noqa: E501
|
|
110
|
+
'name': 'name', # noqa: E501
|
|
111
|
+
'on_behalf_company_name': 'onBehalfCompanyName', # noqa: E501
|
|
114
112
|
'parent_account_label': 'parentAccountLabel', # noqa: E501
|
|
113
|
+
'sub_type': 'subType', # noqa: E501
|
|
115
114
|
'time_zone': 'timeZone', # noqa: E501
|
|
115
|
+
'type': 'type', # noqa: E501
|
|
116
116
|
}
|
|
117
117
|
|
|
118
118
|
read_only_vars = {
|
|
@@ -156,15 +156,15 @@ class ExternalRetailMediaAccount(ModelNormal):
|
|
|
156
156
|
Animal class but this time we won't travel
|
|
157
157
|
through its discriminator because we passed in
|
|
158
158
|
_visited_composed_classes = (Animal,)
|
|
159
|
-
name (str, none_type): account name. [optional] # noqa: E501
|
|
160
159
|
company_name (str, none_type): Paying entity name of ads for the Digital Services Act. [optional] # noqa: E501
|
|
161
|
-
on_behalf_company_name (str, none_type): On behalf entity name of ads for the Digital Services Act. [optional] # noqa: E501
|
|
162
|
-
type (str, none_type): Type for the account. [optional] # noqa: E501
|
|
163
|
-
sub_type (str, none_type): subtype for the account. [optional] # noqa: E501
|
|
164
160
|
country_ids ([str], none_type): list of countries associated with the account. [optional] # noqa: E501
|
|
165
161
|
currency_id (str, none_type): the currency for the account. [optional] # noqa: E501
|
|
162
|
+
name (str, none_type): account name. [optional] # noqa: E501
|
|
163
|
+
on_behalf_company_name (str, none_type): On behalf entity name of ads for the Digital Services Act. [optional] # noqa: E501
|
|
166
164
|
parent_account_label (str, none_type): parent account label for the account. [optional] # noqa: E501
|
|
165
|
+
sub_type (str, none_type): subtype for the account. [optional] # noqa: E501
|
|
167
166
|
time_zone (str, none_type): the timezone for the account. [optional] # noqa: E501
|
|
167
|
+
type (str, none_type): Type for the account. [optional] # noqa: E501
|
|
168
168
|
"""
|
|
169
169
|
|
|
170
170
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -250,15 +250,15 @@ class ExternalRetailMediaAccount(ModelNormal):
|
|
|
250
250
|
Animal class but this time we won't travel
|
|
251
251
|
through its discriminator because we passed in
|
|
252
252
|
_visited_composed_classes = (Animal,)
|
|
253
|
-
name (str, none_type): account name. [optional] # noqa: E501
|
|
254
253
|
company_name (str, none_type): Paying entity name of ads for the Digital Services Act. [optional] # noqa: E501
|
|
255
|
-
on_behalf_company_name (str, none_type): On behalf entity name of ads for the Digital Services Act. [optional] # noqa: E501
|
|
256
|
-
type (str, none_type): Type for the account. [optional] # noqa: E501
|
|
257
|
-
sub_type (str, none_type): subtype for the account. [optional] # noqa: E501
|
|
258
254
|
country_ids ([str], none_type): list of countries associated with the account. [optional] # noqa: E501
|
|
259
255
|
currency_id (str, none_type): the currency for the account. [optional] # noqa: E501
|
|
256
|
+
name (str, none_type): account name. [optional] # noqa: E501
|
|
257
|
+
on_behalf_company_name (str, none_type): On behalf entity name of ads for the Digital Services Act. [optional] # noqa: E501
|
|
260
258
|
parent_account_label (str, none_type): parent account label for the account. [optional] # noqa: E501
|
|
259
|
+
sub_type (str, none_type): subtype for the account. [optional] # noqa: E501
|
|
261
260
|
time_zone (str, none_type): the timezone for the account. [optional] # noqa: E501
|
|
261
|
+
type (str, none_type): Type for the account. [optional] # noqa: E501
|
|
262
262
|
"""
|
|
263
263
|
|
|
264
264
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -75,10 +75,10 @@ class ExternalRetailMediaBrandAccountCreation(ModelNormal):
|
|
|
75
75
|
and the value is attribute type.
|
|
76
76
|
"""
|
|
77
77
|
return {
|
|
78
|
-
'
|
|
78
|
+
'brands': ([int], none_type,), # noqa: E501
|
|
79
79
|
'company_name': (str, none_type,), # noqa: E501
|
|
80
|
+
'name': (str, none_type,), # noqa: E501
|
|
80
81
|
'on_behalf_company_name': (str, none_type,), # noqa: E501
|
|
81
|
-
'brands': ([int], none_type,), # noqa: E501
|
|
82
82
|
}
|
|
83
83
|
|
|
84
84
|
@cached_property
|
|
@@ -87,10 +87,10 @@ class ExternalRetailMediaBrandAccountCreation(ModelNormal):
|
|
|
87
87
|
|
|
88
88
|
|
|
89
89
|
attribute_map = {
|
|
90
|
-
'
|
|
90
|
+
'brands': 'brands', # noqa: E501
|
|
91
91
|
'company_name': 'companyName', # noqa: E501
|
|
92
|
+
'name': 'name', # noqa: E501
|
|
92
93
|
'on_behalf_company_name': 'onBehalfCompanyName', # noqa: E501
|
|
93
|
-
'brands': 'brands', # noqa: E501
|
|
94
94
|
}
|
|
95
95
|
|
|
96
96
|
read_only_vars = {
|
|
@@ -134,10 +134,10 @@ class ExternalRetailMediaBrandAccountCreation(ModelNormal):
|
|
|
134
134
|
Animal class but this time we won't travel
|
|
135
135
|
through its discriminator because we passed in
|
|
136
136
|
_visited_composed_classes = (Animal,)
|
|
137
|
-
|
|
137
|
+
brands ([int], none_type): list of brands to link to the new account. [optional] # noqa: E501
|
|
138
138
|
company_name (str, none_type): Display name for reporting the owning entity of ads for the Digital Services Act in the European Union. [optional] # noqa: E501
|
|
139
|
+
name (str, none_type): the name of the account, must be unique across all accounts. [optional] # noqa: E501
|
|
139
140
|
on_behalf_company_name (str, none_type): On behalf entity name of ads for the Digital Services Act. [optional] # noqa: E501
|
|
140
|
-
brands ([int], none_type): list of brands to link to the new account. [optional] # noqa: E501
|
|
141
141
|
"""
|
|
142
142
|
|
|
143
143
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -223,10 +223,10 @@ class ExternalRetailMediaBrandAccountCreation(ModelNormal):
|
|
|
223
223
|
Animal class but this time we won't travel
|
|
224
224
|
through its discriminator because we passed in
|
|
225
225
|
_visited_composed_classes = (Animal,)
|
|
226
|
-
|
|
226
|
+
brands ([int], none_type): list of brands to link to the new account. [optional] # noqa: E501
|
|
227
227
|
company_name (str, none_type): Display name for reporting the owning entity of ads for the Digital Services Act in the European Union. [optional] # noqa: E501
|
|
228
|
+
name (str, none_type): the name of the account, must be unique across all accounts. [optional] # noqa: E501
|
|
228
229
|
on_behalf_company_name (str, none_type): On behalf entity name of ads for the Digital Services Act. [optional] # noqa: E501
|
|
229
|
-
brands ([int], none_type): list of brands to link to the new account. [optional] # noqa: E501
|
|
230
230
|
"""
|
|
231
231
|
|
|
232
232
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -75,8 +75,8 @@ class ExternalRetailMediaSeller(ModelNormal):
|
|
|
75
75
|
and the value is attribute type.
|
|
76
76
|
"""
|
|
77
77
|
return {
|
|
78
|
-
'seller_id': (str,), # noqa: E501
|
|
79
78
|
'retailer_id': (int,), # noqa: E501
|
|
79
|
+
'seller_id': (str,), # noqa: E501
|
|
80
80
|
}
|
|
81
81
|
|
|
82
82
|
@cached_property
|
|
@@ -85,8 +85,8 @@ class ExternalRetailMediaSeller(ModelNormal):
|
|
|
85
85
|
|
|
86
86
|
|
|
87
87
|
attribute_map = {
|
|
88
|
-
'seller_id': 'sellerId', # noqa: E501
|
|
89
88
|
'retailer_id': 'retailerId', # noqa: E501
|
|
89
|
+
'seller_id': 'sellerId', # noqa: E501
|
|
90
90
|
}
|
|
91
91
|
|
|
92
92
|
read_only_vars = {
|
|
@@ -96,12 +96,12 @@ class ExternalRetailMediaSeller(ModelNormal):
|
|
|
96
96
|
|
|
97
97
|
@classmethod
|
|
98
98
|
@convert_js_args_to_python_args
|
|
99
|
-
def _from_openapi_data(cls,
|
|
99
|
+
def _from_openapi_data(cls, retailer_id, seller_id, *args, **kwargs): # noqa: E501
|
|
100
100
|
"""ExternalRetailMediaSeller - a model defined in OpenAPI
|
|
101
101
|
|
|
102
102
|
Args:
|
|
103
|
-
seller_id (str): the seller id
|
|
104
103
|
retailer_id (int): the retailer id
|
|
104
|
+
seller_id (str): the seller id
|
|
105
105
|
|
|
106
106
|
Keyword Args:
|
|
107
107
|
_check_type (bool): if True, values for parameters in openapi_types
|
|
@@ -165,8 +165,8 @@ class ExternalRetailMediaSeller(ModelNormal):
|
|
|
165
165
|
self._configuration = _configuration
|
|
166
166
|
self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
|
|
167
167
|
|
|
168
|
-
self.seller_id = seller_id
|
|
169
168
|
self.retailer_id = retailer_id
|
|
169
|
+
self.seller_id = seller_id
|
|
170
170
|
for var_name, var_value in kwargs.items():
|
|
171
171
|
if var_name not in self.attribute_map and \
|
|
172
172
|
self._configuration is not None and \
|
|
@@ -187,12 +187,12 @@ class ExternalRetailMediaSeller(ModelNormal):
|
|
|
187
187
|
])
|
|
188
188
|
|
|
189
189
|
@convert_js_args_to_python_args
|
|
190
|
-
def __init__(self,
|
|
190
|
+
def __init__(self, retailer_id, seller_id, *args, **kwargs): # noqa: E501
|
|
191
191
|
"""ExternalRetailMediaSeller - a model defined in OpenAPI
|
|
192
192
|
|
|
193
193
|
Args:
|
|
194
|
-
seller_id (str): the seller id
|
|
195
194
|
retailer_id (int): the retailer id
|
|
195
|
+
seller_id (str): the seller id
|
|
196
196
|
|
|
197
197
|
Keyword Args:
|
|
198
198
|
_check_type (bool): if True, values for parameters in openapi_types
|
|
@@ -254,8 +254,8 @@ class ExternalRetailMediaSeller(ModelNormal):
|
|
|
254
254
|
self._configuration = _configuration
|
|
255
255
|
self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
|
|
256
256
|
|
|
257
|
-
self.seller_id = seller_id
|
|
258
257
|
self.retailer_id = retailer_id
|
|
258
|
+
self.seller_id = seller_id
|
|
259
259
|
for var_name, var_value in kwargs.items():
|
|
260
260
|
if var_name not in self.attribute_map and \
|
|
261
261
|
self._configuration is not None and \
|
|
@@ -81,8 +81,8 @@ class ExternalRetailMediaSellerAccountCreation(ModelNormal):
|
|
|
81
81
|
lazy_import()
|
|
82
82
|
return {
|
|
83
83
|
'sellers': ([ExternalRetailMediaSeller],), # noqa: E501
|
|
84
|
-
'name': (str, none_type,), # noqa: E501
|
|
85
84
|
'company_name': (str, none_type,), # noqa: E501
|
|
85
|
+
'name': (str, none_type,), # noqa: E501
|
|
86
86
|
'on_behalf_company_name': (str, none_type,), # noqa: E501
|
|
87
87
|
}
|
|
88
88
|
|
|
@@ -93,8 +93,8 @@ class ExternalRetailMediaSellerAccountCreation(ModelNormal):
|
|
|
93
93
|
|
|
94
94
|
attribute_map = {
|
|
95
95
|
'sellers': 'sellers', # noqa: E501
|
|
96
|
-
'name': 'name', # noqa: E501
|
|
97
96
|
'company_name': 'companyName', # noqa: E501
|
|
97
|
+
'name': 'name', # noqa: E501
|
|
98
98
|
'on_behalf_company_name': 'onBehalfCompanyName', # noqa: E501
|
|
99
99
|
}
|
|
100
100
|
|
|
@@ -142,8 +142,8 @@ class ExternalRetailMediaSellerAccountCreation(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
|
-
name (str, none_type): the name of the account, must be unique across all accounts. [optional] # noqa: E501
|
|
146
145
|
company_name (str, none_type): Display name for reporting the owning entity of ads for the Digital Services Act in the European Union. [optional] # noqa: E501
|
|
146
|
+
name (str, none_type): the name of the account, must be unique across all accounts. [optional] # noqa: E501
|
|
147
147
|
on_behalf_company_name (str, none_type): On behalf entity name of ads for the Digital Services Act. [optional] # noqa: E501
|
|
148
148
|
"""
|
|
149
149
|
|
|
@@ -234,8 +234,8 @@ class ExternalRetailMediaSellerAccountCreation(ModelNormal):
|
|
|
234
234
|
Animal class but this time we won't travel
|
|
235
235
|
through its discriminator because we passed in
|
|
236
236
|
_visited_composed_classes = (Animal,)
|
|
237
|
-
name (str, none_type): the name of the account, must be unique across all accounts. [optional] # noqa: E501
|
|
238
237
|
company_name (str, none_type): Display name for reporting the owning entity of ads for the Digital Services Act in the European Union. [optional] # noqa: E501
|
|
238
|
+
name (str, none_type): the name of the account, must be unique across all accounts. [optional] # noqa: E501
|
|
239
239
|
on_behalf_company_name (str, none_type): On behalf entity name of ads for the Digital Services Act. [optional] # noqa: E501
|
|
240
240
|
"""
|
|
241
241
|
|
|
@@ -84,8 +84,8 @@ class FilesVariablesSpecification(ModelNormal):
|
|
|
84
84
|
return {
|
|
85
85
|
'extensions': ([str],), # noqa: E501
|
|
86
86
|
'max_bytes': (int, none_type,), # noqa: E501
|
|
87
|
-
'min_files': (int, none_type,), # noqa: E501
|
|
88
87
|
'max_file': (int, none_type,), # noqa: E501
|
|
88
|
+
'min_files': (int, none_type,), # noqa: E501
|
|
89
89
|
}
|
|
90
90
|
|
|
91
91
|
@cached_property
|
|
@@ -96,8 +96,8 @@ class FilesVariablesSpecification(ModelNormal):
|
|
|
96
96
|
attribute_map = {
|
|
97
97
|
'extensions': 'extensions', # noqa: E501
|
|
98
98
|
'max_bytes': 'maxBytes', # noqa: E501
|
|
99
|
-
'min_files': 'minFiles', # noqa: E501
|
|
100
99
|
'max_file': 'maxFile', # noqa: E501
|
|
100
|
+
'min_files': 'minFiles', # noqa: E501
|
|
101
101
|
}
|
|
102
102
|
|
|
103
103
|
read_only_vars = {
|
|
@@ -145,8 +145,8 @@ class FilesVariablesSpecification(ModelNormal):
|
|
|
145
145
|
through its discriminator because we passed in
|
|
146
146
|
_visited_composed_classes = (Animal,)
|
|
147
147
|
max_bytes (int, none_type): The maximum amount of bytes per file. [optional] # noqa: E501
|
|
148
|
-
min_files (int, none_type): The minimum amount of files requires. [optional] # noqa: E501
|
|
149
148
|
max_file (int, none_type): The maximum amount of files required. [optional] # noqa: E501
|
|
149
|
+
min_files (int, none_type): The minimum amount of files requires. [optional] # noqa: E501
|
|
150
150
|
"""
|
|
151
151
|
|
|
152
152
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -237,8 +237,8 @@ class FilesVariablesSpecification(ModelNormal):
|
|
|
237
237
|
through its discriminator because we passed in
|
|
238
238
|
_visited_composed_classes = (Animal,)
|
|
239
239
|
max_bytes (int, none_type): The maximum amount of bytes per file. [optional] # noqa: E501
|
|
240
|
-
min_files (int, none_type): The minimum amount of files requires. [optional] # noqa: E501
|
|
241
240
|
max_file (int, none_type): The maximum amount of files required. [optional] # noqa: E501
|
|
241
|
+
min_files (int, none_type): The minimum amount of files requires. [optional] # noqa: E501
|
|
242
242
|
"""
|
|
243
243
|
|
|
244
244
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -81,8 +81,8 @@ class GrantConsentModel(ModelNormal):
|
|
|
81
81
|
and the value is attribute type.
|
|
82
82
|
"""
|
|
83
83
|
return {
|
|
84
|
-
'client_id': (str,), # noqa: E501
|
|
85
84
|
'callback_url': (str,), # noqa: E501
|
|
85
|
+
'client_id': (str,), # noqa: E501
|
|
86
86
|
'callback_state': (str,), # noqa: E501
|
|
87
87
|
}
|
|
88
88
|
|
|
@@ -92,8 +92,8 @@ class GrantConsentModel(ModelNormal):
|
|
|
92
92
|
|
|
93
93
|
|
|
94
94
|
attribute_map = {
|
|
95
|
-
'client_id': 'clientId', # noqa: E501
|
|
96
95
|
'callback_url': 'callbackUrl', # noqa: E501
|
|
96
|
+
'client_id': 'clientId', # noqa: E501
|
|
97
97
|
'callback_state': 'callbackState', # noqa: E501
|
|
98
98
|
}
|
|
99
99
|
|
|
@@ -104,12 +104,12 @@ class GrantConsentModel(ModelNormal):
|
|
|
104
104
|
|
|
105
105
|
@classmethod
|
|
106
106
|
@convert_js_args_to_python_args
|
|
107
|
-
def _from_openapi_data(cls,
|
|
107
|
+
def _from_openapi_data(cls, callback_url, client_id, *args, **kwargs): # noqa: E501
|
|
108
108
|
"""GrantConsentModel - a model defined in OpenAPI
|
|
109
109
|
|
|
110
110
|
Args:
|
|
111
|
-
client_id (str):
|
|
112
111
|
callback_url (str):
|
|
112
|
+
client_id (str):
|
|
113
113
|
|
|
114
114
|
Keyword Args:
|
|
115
115
|
_check_type (bool): if True, values for parameters in openapi_types
|
|
@@ -174,8 +174,8 @@ class GrantConsentModel(ModelNormal):
|
|
|
174
174
|
self._configuration = _configuration
|
|
175
175
|
self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
|
|
176
176
|
|
|
177
|
-
self.client_id = client_id
|
|
178
177
|
self.callback_url = callback_url
|
|
178
|
+
self.client_id = client_id
|
|
179
179
|
for var_name, var_value in kwargs.items():
|
|
180
180
|
if var_name not in self.attribute_map and \
|
|
181
181
|
self._configuration is not None and \
|
|
@@ -196,12 +196,12 @@ class GrantConsentModel(ModelNormal):
|
|
|
196
196
|
])
|
|
197
197
|
|
|
198
198
|
@convert_js_args_to_python_args
|
|
199
|
-
def __init__(self,
|
|
199
|
+
def __init__(self, callback_url, client_id, *args, **kwargs): # noqa: E501
|
|
200
200
|
"""GrantConsentModel - a model defined in OpenAPI
|
|
201
201
|
|
|
202
202
|
Args:
|
|
203
|
-
client_id (str):
|
|
204
203
|
callback_url (str):
|
|
204
|
+
client_id (str):
|
|
205
205
|
|
|
206
206
|
Keyword Args:
|
|
207
207
|
_check_type (bool): if True, values for parameters in openapi_types
|
|
@@ -264,8 +264,8 @@ class GrantConsentModel(ModelNormal):
|
|
|
264
264
|
self._configuration = _configuration
|
|
265
265
|
self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
|
|
266
266
|
|
|
267
|
-
self.client_id = client_id
|
|
268
267
|
self.callback_url = callback_url
|
|
268
|
+
self.client_id = client_id
|
|
269
269
|
for var_name, var_value in kwargs.items():
|
|
270
270
|
if var_name not in self.attribute_map and \
|
|
271
271
|
self._configuration is not None and \
|
|
@@ -87,8 +87,8 @@ class GrantConsentModelValueResource(ModelNormal):
|
|
|
87
87
|
"""
|
|
88
88
|
lazy_import()
|
|
89
89
|
return {
|
|
90
|
-
'type': (str,), # noqa: E501
|
|
91
90
|
'attributes': (GrantConsentModel,), # noqa: E501
|
|
91
|
+
'type': (str,), # noqa: E501
|
|
92
92
|
}
|
|
93
93
|
|
|
94
94
|
@cached_property
|
|
@@ -97,8 +97,8 @@ class GrantConsentModelValueResource(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 GrantConsentModelValueResource(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 (GrantConsentModel): [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 GrantConsentModelValueResource(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 (GrantConsentModel): [optional] # noqa: E501
|
|
233
|
+
type (str): [optional] # noqa: E501
|
|
234
234
|
"""
|
|
235
235
|
|
|
236
236
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -87,8 +87,8 @@ class InputResourceOfAuctionLineItemCreateModel(ModelNormal):
|
|
|
87
87
|
"""
|
|
88
88
|
lazy_import()
|
|
89
89
|
return {
|
|
90
|
-
'type': (str,), # noqa: E501
|
|
91
90
|
'attributes': (ExternalAuctionLineItemCreateModel,), # noqa: E501
|
|
91
|
+
'type': (str,), # noqa: E501
|
|
92
92
|
}
|
|
93
93
|
|
|
94
94
|
@cached_property
|
|
@@ -97,8 +97,8 @@ class InputResourceOfAuctionLineItemCreateModel(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 InputResourceOfAuctionLineItemCreateModel(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 (ExternalAuctionLineItemCreateModel): [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 InputResourceOfAuctionLineItemCreateModel(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 (ExternalAuctionLineItemCreateModel): [optional] # noqa: E501
|
|
233
|
+
type (str): [optional] # noqa: E501
|
|
234
234
|
"""
|
|
235
235
|
|
|
236
236
|
_check_type = kwargs.pop('_check_type', True)
|