criteo-api-retailmedia-sdk 2024.4.0.240626__py3-none-any.whl → 2024.4.0.240808__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of criteo-api-retailmedia-sdk might be problematic. Click here for more details.
- {criteo_api_retailmedia_sdk-2024.4.0.240626.dist-info → criteo_api_retailmedia_sdk-2024.4.0.240808.dist-info}/METADATA +3 -3
- {criteo_api_retailmedia_sdk-2024.4.0.240626.dist-info → criteo_api_retailmedia_sdk-2024.4.0.240808.dist-info}/RECORD +20 -19
- {criteo_api_retailmedia_sdk-2024.4.0.240626.dist-info → criteo_api_retailmedia_sdk-2024.4.0.240808.dist-info}/WHEEL +1 -1
- criteo_api_retailmedia_v2024_04/__init__.py +1 -1
- criteo_api_retailmedia_v2024_04/api/accounts_api.py +147 -2
- criteo_api_retailmedia_v2024_04/api/balance_api.py +1095 -0
- criteo_api_retailmedia_v2024_04/api/campaign_api.py +51 -1247
- criteo_api_retailmedia_v2024_04/api_client.py +1 -1
- criteo_api_retailmedia_v2024_04/apis/__init__.py +1 -0
- criteo_api_retailmedia_v2024_04/configuration.py +1 -1
- criteo_api_retailmedia_v2024_04/model/application_summary_model_response.py +0 -4
- criteo_api_retailmedia_v2024_04/model/async_campaigns_report.py +2 -0
- criteo_api_retailmedia_v2024_04/model/async_line_items_report.py +2 -0
- criteo_api_retailmedia_v2024_04/model/async_revenue_report.py +17 -4
- criteo_api_retailmedia_v2024_04/model/common_problem.py +2 -2
- criteo_api_retailmedia_v2024_04/model/external_balance_response.py +14 -2
- criteo_api_retailmedia_v2024_04/model/json_api_page_response_of_account.py +8 -6
- criteo_api_retailmedia_v2024_04/model/json_api_page_response_of_brand.py +8 -6
- criteo_api_retailmedia_v2024_04/model/json_api_page_response_of_retailer.py +8 -6
- {criteo_api_retailmedia_sdk-2024.4.0.240626.dist-info → criteo_api_retailmedia_sdk-2024.4.0.240808.dist-info}/top_level.txt +0 -0
|
@@ -76,7 +76,7 @@ class ApiClient(object):
|
|
|
76
76
|
self.default_headers[header_name] = header_value
|
|
77
77
|
self.cookie = cookie
|
|
78
78
|
# Set default User-Agent.
|
|
79
|
-
self.user_agent = 'OpenAPI-Generator/2024.04.0.
|
|
79
|
+
self.user_agent = 'OpenAPI-Generator/2024.04.0.240808/python'
|
|
80
80
|
|
|
81
81
|
def __enter__(self):
|
|
82
82
|
return self
|
|
@@ -17,5 +17,6 @@
|
|
|
17
17
|
from criteo_api_retailmedia_v2024_04.api.accounts_api import AccountsApi
|
|
18
18
|
from criteo_api_retailmedia_v2024_04.api.analytics_api import AnalyticsApi
|
|
19
19
|
from criteo_api_retailmedia_v2024_04.api.audience_api import AudienceApi
|
|
20
|
+
from criteo_api_retailmedia_v2024_04.api.balance_api import BalanceApi
|
|
20
21
|
from criteo_api_retailmedia_v2024_04.api.campaign_api import CampaignApi
|
|
21
22
|
from criteo_api_retailmedia_v2024_04.api.gateway_api import GatewayApi
|
|
@@ -395,7 +395,7 @@ class Configuration(object):
|
|
|
395
395
|
"OS: {env}\n"\
|
|
396
396
|
"Python Version: {pyversion}\n"\
|
|
397
397
|
"Version of the API: 2024-04\n"\
|
|
398
|
-
"SDK Package Version: 2024.04.0.
|
|
398
|
+
"SDK Package Version: 2024.04.0.240808".\
|
|
399
399
|
format(env=sys.platform, pyversion=sys.version)
|
|
400
400
|
|
|
401
401
|
def get_host_settings(self):
|
|
@@ -121,6 +121,8 @@ class AsyncCampaignsReport(ModelNormal):
|
|
|
121
121
|
'SALESCHANNEL': "salesChannel",
|
|
122
122
|
'ENVIRONMENT': "environment",
|
|
123
123
|
'PAGETYPENAME': "pageTypeName",
|
|
124
|
+
'PAGECATEGORY': "pageCategory",
|
|
125
|
+
'TAXONOMYBREADCRUMB': "taxonomyBreadcrumb",
|
|
124
126
|
'KEYWORD': "keyword",
|
|
125
127
|
'SEARCHTERM': "searchTerm",
|
|
126
128
|
},
|
|
@@ -121,6 +121,8 @@ class AsyncLineItemsReport(ModelNormal):
|
|
|
121
121
|
'SALESCHANNEL': "salesChannel",
|
|
122
122
|
'ENVIRONMENT': "environment",
|
|
123
123
|
'PAGETYPENAME': "pageTypeName",
|
|
124
|
+
'PAGECATEGORY': "pageCategory",
|
|
125
|
+
'TAXONOMYBREADCRUMB': "taxonomyBreadcrumb",
|
|
124
126
|
'KEYWORD': "keyword",
|
|
125
127
|
'SEARCHTERM': "searchTerm",
|
|
126
128
|
},
|
|
@@ -80,6 +80,12 @@ class AsyncRevenueReport(ModelNormal):
|
|
|
80
80
|
'PREFERREDDEALS': "preferredDeals",
|
|
81
81
|
'SPONSORSHIP': "sponsorship",
|
|
82
82
|
},
|
|
83
|
+
('advertiser_types',): {
|
|
84
|
+
'None': None,
|
|
85
|
+
'RETAILER': "retailer",
|
|
86
|
+
'BRAND': "brand",
|
|
87
|
+
'SELLER': "seller",
|
|
88
|
+
},
|
|
83
89
|
('sku_relations',): {
|
|
84
90
|
'None': None,
|
|
85
91
|
'SAMESKU': "sameSku",
|
|
@@ -130,6 +136,7 @@ class AsyncRevenueReport(ModelNormal):
|
|
|
130
136
|
'ACCOUNTID': "accountId",
|
|
131
137
|
'ACCOUNTNAME': "accountName",
|
|
132
138
|
'ACCOUNTTYPENAME': "accountTypeName",
|
|
139
|
+
'ADVERTISERTYPE': "advertiserType",
|
|
133
140
|
'CAMPAIGNID': "campaignId",
|
|
134
141
|
'CAMPAIGNNAME': "campaignName",
|
|
135
142
|
'CAMPAIGNTYPENAME': "campaignTypeName",
|
|
@@ -153,6 +160,7 @@ class AsyncRevenueReport(ModelNormal):
|
|
|
153
160
|
'ADVPRODUCTNAME': "advProductName",
|
|
154
161
|
'ADVPRODUCTGTIN': "advProductGtin",
|
|
155
162
|
'ADVPRODUCTMPN': "advProductMpn",
|
|
163
|
+
'BUYTYPE': "buyType",
|
|
156
164
|
'SOLDBY': "soldBy",
|
|
157
165
|
'SALECHANNEL': "saleChannel",
|
|
158
166
|
'ATTRIBUTIONSETTINGS': "attributionSettings",
|
|
@@ -193,6 +201,7 @@ class AsyncRevenueReport(ModelNormal):
|
|
|
193
201
|
'TRANSACTIONS': "transactions",
|
|
194
202
|
'ASSISTEDSALES': "assistedSales",
|
|
195
203
|
'ASSISTEDUNITS': "assistedUnits",
|
|
204
|
+
'REVENUE': "revenue",
|
|
196
205
|
'OPENAUCTIONREVENUE': "openAuctionRevenue",
|
|
197
206
|
'PREFERREDDEALSREVENUE': "preferredDealsRevenue",
|
|
198
207
|
'CTR': "ctr",
|
|
@@ -247,6 +256,7 @@ class AsyncRevenueReport(ModelNormal):
|
|
|
247
256
|
'revenue_type': (str, none_type,), # noqa: E501
|
|
248
257
|
'sold_by': (str, none_type,), # noqa: E501
|
|
249
258
|
'buy_type': (str, none_type,), # noqa: E501
|
|
259
|
+
'advertiser_types': ([str], none_type,), # noqa: E501
|
|
250
260
|
'sku_relations': ([str], none_type,), # noqa: E501
|
|
251
261
|
'format': (str, none_type,), # noqa: E501
|
|
252
262
|
'campaign_type': (str, none_type,), # noqa: E501
|
|
@@ -272,6 +282,7 @@ class AsyncRevenueReport(ModelNormal):
|
|
|
272
282
|
'revenue_type': 'revenueType', # noqa: E501
|
|
273
283
|
'sold_by': 'soldBy', # noqa: E501
|
|
274
284
|
'buy_type': 'buyType', # noqa: E501
|
|
285
|
+
'advertiser_types': 'advertiserTypes', # noqa: E501
|
|
275
286
|
'sku_relations': 'skuRelations', # noqa: E501
|
|
276
287
|
'format': 'format', # noqa: E501
|
|
277
288
|
'campaign_type': 'campaignType', # noqa: E501
|
|
@@ -328,12 +339,13 @@ class AsyncRevenueReport(ModelNormal):
|
|
|
328
339
|
Animal class but this time we won't travel
|
|
329
340
|
through its discriminator because we passed in
|
|
330
341
|
_visited_composed_classes = (Animal,)
|
|
331
|
-
ids ([str], none_type):
|
|
332
|
-
id (str, none_type):
|
|
342
|
+
ids ([str], none_type): Supply account ids to report on. [optional] # noqa: E501
|
|
343
|
+
id (str, none_type): Supply account id to report on. [optional] # noqa: E501
|
|
333
344
|
report_type (str, none_type): Type of report. [optional] # noqa: E501
|
|
334
345
|
revenue_type (str, none_type): Type of revenue. [optional] # noqa: E501
|
|
335
346
|
sold_by (str, none_type): Filter on the seller: Indirect Sold, Direct Sold or Private Market. [optional] # noqa: E501
|
|
336
347
|
buy_type (str, none_type): Filter on buy type: Auction, Preferred Deals or Sponsorship. [optional] # noqa: E501
|
|
348
|
+
advertiser_types ([str], none_type): Filter on the type of advertiser: retailer, brand, seller. [optional] # noqa: E501
|
|
337
349
|
sku_relations ([str], none_type): Filter on sku relations: Same SKU, Same Parent SKU, Same Category, Same Brand or Same Seller. [optional] # noqa: E501
|
|
338
350
|
format (str, none_type): Format of the output. [optional] # noqa: E501
|
|
339
351
|
campaign_type (str, none_type): Filter the type of campaigns to report on: sponsoredProducts or onSiteDisplays. [optional] if omitted the server will use the default value of "all" # noqa: E501
|
|
@@ -434,12 +446,13 @@ class AsyncRevenueReport(ModelNormal):
|
|
|
434
446
|
Animal class but this time we won't travel
|
|
435
447
|
through its discriminator because we passed in
|
|
436
448
|
_visited_composed_classes = (Animal,)
|
|
437
|
-
ids ([str], none_type):
|
|
438
|
-
id (str, none_type):
|
|
449
|
+
ids ([str], none_type): Supply account ids to report on. [optional] # noqa: E501
|
|
450
|
+
id (str, none_type): Supply account id to report on. [optional] # noqa: E501
|
|
439
451
|
report_type (str, none_type): Type of report. [optional] # noqa: E501
|
|
440
452
|
revenue_type (str, none_type): Type of revenue. [optional] # noqa: E501
|
|
441
453
|
sold_by (str, none_type): Filter on the seller: Indirect Sold, Direct Sold or Private Market. [optional] # noqa: E501
|
|
442
454
|
buy_type (str, none_type): Filter on buy type: Auction, Preferred Deals or Sponsorship. [optional] # noqa: E501
|
|
455
|
+
advertiser_types ([str], none_type): Filter on the type of advertiser: retailer, brand, seller. [optional] # noqa: E501
|
|
443
456
|
sku_relations ([str], none_type): Filter on sku relations: Same SKU, Same Parent SKU, Same Category, Same Brand or Same Seller. [optional] # noqa: E501
|
|
444
457
|
format (str, none_type): Format of the output. [optional] # noqa: E501
|
|
445
458
|
campaign_type (str, none_type): Filter the type of campaigns to report on: sponsoredProducts or onSiteDisplays. [optional] if omitted the server will use the default value of "all" # noqa: E501
|
|
@@ -164,7 +164,7 @@ class CommonProblem(ModelNormal):
|
|
|
164
164
|
trace_id (str, none_type): The request correlation ID this problem comes from.. [optional] # noqa: E501
|
|
165
165
|
trace_identifier (str, none_type): The request correlation ID this problem comes from. (deprecated, use traceId instead). [optional] # noqa: E501
|
|
166
166
|
type (str, none_type): The problem's category.. [optional] # noqa: E501
|
|
167
|
-
code (str, none_type): A machine-readable
|
|
167
|
+
code (str, none_type): A machine-readable error code, expressed as a string value.. [optional] # noqa: E501
|
|
168
168
|
instance (str, none_type): A URI that identifies the specific occurrence of the problem.. [optional] # noqa: E501
|
|
169
169
|
title (str, none_type): A short human-readable description of the problem type. [optional] # noqa: E501
|
|
170
170
|
detail (str, none_type): A human-readable explanation specific to this occurrence of the problem. [optional] # noqa: E501
|
|
@@ -258,7 +258,7 @@ class CommonProblem(ModelNormal):
|
|
|
258
258
|
trace_id (str, none_type): The request correlation ID this problem comes from.. [optional] # noqa: E501
|
|
259
259
|
trace_identifier (str, none_type): The request correlation ID this problem comes from. (deprecated, use traceId instead). [optional] # noqa: E501
|
|
260
260
|
type (str, none_type): The problem's category.. [optional] # noqa: E501
|
|
261
|
-
code (str, none_type): A machine-readable
|
|
261
|
+
code (str, none_type): A machine-readable error code, expressed as a string value.. [optional] # noqa: E501
|
|
262
262
|
instance (str, none_type): A URI that identifies the specific occurrence of the problem.. [optional] # noqa: E501
|
|
263
263
|
title (str, none_type): A short human-readable description of the problem type. [optional] # noqa: E501
|
|
264
264
|
detail (str, none_type): A human-readable explanation specific to this occurrence of the problem. [optional] # noqa: E501
|
|
@@ -71,6 +71,12 @@ class ExternalBalanceResponse(ModelNormal):
|
|
|
71
71
|
'OFFSITE': "Offsite",
|
|
72
72
|
'OFFSITEAWARENESS': "OffsiteAwareness",
|
|
73
73
|
},
|
|
74
|
+
('private_market_billing_type',): {
|
|
75
|
+
'NOTAPPLICABLE': "NotApplicable",
|
|
76
|
+
'BILLBYRETAILER': "BillByRetailer",
|
|
77
|
+
'BILLBYCRITEO': "BillByCriteo",
|
|
78
|
+
'UNKNOWN': "Unknown",
|
|
79
|
+
},
|
|
74
80
|
}
|
|
75
81
|
|
|
76
82
|
validations = {
|
|
@@ -111,6 +117,7 @@ class ExternalBalanceResponse(ModelNormal):
|
|
|
111
117
|
'balance_type': (str,), # noqa: E501
|
|
112
118
|
'sales_force_id': (str,), # noqa: E501
|
|
113
119
|
'spend_type': (str,), # noqa: E501
|
|
120
|
+
'private_market_billing_type': (str,), # noqa: E501
|
|
114
121
|
}
|
|
115
122
|
|
|
116
123
|
@cached_property
|
|
@@ -133,6 +140,7 @@ class ExternalBalanceResponse(ModelNormal):
|
|
|
133
140
|
'balance_type': 'balanceType', # noqa: E501
|
|
134
141
|
'sales_force_id': 'salesForceId', # noqa: E501
|
|
135
142
|
'spend_type': 'spendType', # noqa: E501
|
|
143
|
+
'private_market_billing_type': 'privateMarketBillingType', # noqa: E501
|
|
136
144
|
}
|
|
137
145
|
|
|
138
146
|
read_only_vars = {
|
|
@@ -142,7 +150,7 @@ class ExternalBalanceResponse(ModelNormal):
|
|
|
142
150
|
|
|
143
151
|
@classmethod
|
|
144
152
|
@convert_js_args_to_python_args
|
|
145
|
-
def _from_openapi_data(cls, name, po_number, memo, deposited, spent, remaining, start_date, end_date, status, created_at, updated_at, balance_type, sales_force_id, spend_type, *args, **kwargs): # noqa: E501
|
|
153
|
+
def _from_openapi_data(cls, name, po_number, memo, deposited, spent, remaining, start_date, end_date, status, created_at, updated_at, balance_type, sales_force_id, spend_type, private_market_billing_type, *args, **kwargs): # noqa: E501
|
|
146
154
|
"""ExternalBalanceResponse - a model defined in OpenAPI
|
|
147
155
|
|
|
148
156
|
Args:
|
|
@@ -160,6 +168,7 @@ class ExternalBalanceResponse(ModelNormal):
|
|
|
160
168
|
balance_type (str): Type of the balance
|
|
161
169
|
sales_force_id (str): SalesForceId the balance is linked to.
|
|
162
170
|
spend_type (str): Spend Type of the balance.
|
|
171
|
+
private_market_billing_type (str): Billing type for Private Market.
|
|
163
172
|
|
|
164
173
|
Keyword Args:
|
|
165
174
|
_check_type (bool): if True, values for parameters in openapi_types
|
|
@@ -237,6 +246,7 @@ class ExternalBalanceResponse(ModelNormal):
|
|
|
237
246
|
self.balance_type = balance_type
|
|
238
247
|
self.sales_force_id = sales_force_id
|
|
239
248
|
self.spend_type = spend_type
|
|
249
|
+
self.private_market_billing_type = private_market_billing_type
|
|
240
250
|
for var_name, var_value in kwargs.items():
|
|
241
251
|
if var_name not in self.attribute_map and \
|
|
242
252
|
self._configuration is not None and \
|
|
@@ -257,7 +267,7 @@ class ExternalBalanceResponse(ModelNormal):
|
|
|
257
267
|
])
|
|
258
268
|
|
|
259
269
|
@convert_js_args_to_python_args
|
|
260
|
-
def __init__(self, name, po_number, memo, deposited, spent, remaining, start_date, end_date, status, created_at, updated_at, balance_type, sales_force_id, spend_type, *args, **kwargs): # noqa: E501
|
|
270
|
+
def __init__(self, name, po_number, memo, deposited, spent, remaining, start_date, end_date, status, created_at, updated_at, balance_type, sales_force_id, spend_type, private_market_billing_type, *args, **kwargs): # noqa: E501
|
|
261
271
|
"""ExternalBalanceResponse - a model defined in OpenAPI
|
|
262
272
|
|
|
263
273
|
Args:
|
|
@@ -275,6 +285,7 @@ class ExternalBalanceResponse(ModelNormal):
|
|
|
275
285
|
balance_type (str): Type of the balance
|
|
276
286
|
sales_force_id (str): SalesForceId the balance is linked to.
|
|
277
287
|
spend_type (str): Spend Type of the balance.
|
|
288
|
+
private_market_billing_type (str): Billing type for Private Market.
|
|
278
289
|
|
|
279
290
|
Keyword Args:
|
|
280
291
|
_check_type (bool): if True, values for parameters in openapi_types
|
|
@@ -350,6 +361,7 @@ class ExternalBalanceResponse(ModelNormal):
|
|
|
350
361
|
self.balance_type = balance_type
|
|
351
362
|
self.sales_force_id = sales_force_id
|
|
352
363
|
self.spend_type = spend_type
|
|
364
|
+
self.private_market_billing_type = private_market_billing_type
|
|
353
365
|
for var_name, var_value in kwargs.items():
|
|
354
366
|
if var_name not in self.attribute_map and \
|
|
355
367
|
self._configuration is not None and \
|
|
@@ -93,10 +93,10 @@ class JsonApiPageResponseOfAccount(ModelNormal):
|
|
|
93
93
|
"""
|
|
94
94
|
lazy_import()
|
|
95
95
|
return {
|
|
96
|
+
'metadata': (PageMetadata,), # noqa: E501
|
|
96
97
|
'data': ([JsonApiBodyWithIdOfInt64AndAccountAndAccount],), # noqa: E501
|
|
97
98
|
'errors': ([CommonError],), # noqa: E501
|
|
98
99
|
'warnings': ([CommonWarning],), # noqa: E501
|
|
99
|
-
'metadata': (PageMetadata,), # noqa: E501
|
|
100
100
|
}
|
|
101
101
|
|
|
102
102
|
@cached_property
|
|
@@ -105,10 +105,10 @@ class JsonApiPageResponseOfAccount(ModelNormal):
|
|
|
105
105
|
|
|
106
106
|
|
|
107
107
|
attribute_map = {
|
|
108
|
+
'metadata': 'metadata', # noqa: E501
|
|
108
109
|
'data': 'data', # noqa: E501
|
|
109
110
|
'errors': 'errors', # noqa: E501
|
|
110
111
|
'warnings': 'warnings', # noqa: E501
|
|
111
|
-
'metadata': 'metadata', # noqa: E501
|
|
112
112
|
}
|
|
113
113
|
|
|
114
114
|
read_only_vars = {
|
|
@@ -118,10 +118,11 @@ class JsonApiPageResponseOfAccount(ModelNormal):
|
|
|
118
118
|
|
|
119
119
|
@classmethod
|
|
120
120
|
@convert_js_args_to_python_args
|
|
121
|
-
def _from_openapi_data(cls, data, *args, **kwargs): # noqa: E501
|
|
121
|
+
def _from_openapi_data(cls, metadata, data, *args, **kwargs): # noqa: E501
|
|
122
122
|
"""JsonApiPageResponseOfAccount - a model defined in OpenAPI
|
|
123
123
|
|
|
124
124
|
Args:
|
|
125
|
+
metadata (PageMetadata):
|
|
125
126
|
data ([JsonApiBodyWithIdOfInt64AndAccountAndAccount]):
|
|
126
127
|
|
|
127
128
|
Keyword Args:
|
|
@@ -157,7 +158,6 @@ class JsonApiPageResponseOfAccount(ModelNormal):
|
|
|
157
158
|
_visited_composed_classes = (Animal,)
|
|
158
159
|
errors ([CommonError]): [optional] # noqa: E501
|
|
159
160
|
warnings ([CommonWarning]): [optional] # noqa: E501
|
|
160
|
-
metadata (PageMetadata): [optional] # noqa: E501
|
|
161
161
|
"""
|
|
162
162
|
|
|
163
163
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -189,6 +189,7 @@ class JsonApiPageResponseOfAccount(ModelNormal):
|
|
|
189
189
|
self._configuration = _configuration
|
|
190
190
|
self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
|
|
191
191
|
|
|
192
|
+
self.metadata = metadata
|
|
192
193
|
self.data = data
|
|
193
194
|
for var_name, var_value in kwargs.items():
|
|
194
195
|
if var_name not in self.attribute_map and \
|
|
@@ -210,10 +211,11 @@ class JsonApiPageResponseOfAccount(ModelNormal):
|
|
|
210
211
|
])
|
|
211
212
|
|
|
212
213
|
@convert_js_args_to_python_args
|
|
213
|
-
def __init__(self, data, *args, **kwargs): # noqa: E501
|
|
214
|
+
def __init__(self, metadata, data, *args, **kwargs): # noqa: E501
|
|
214
215
|
"""JsonApiPageResponseOfAccount - a model defined in OpenAPI
|
|
215
216
|
|
|
216
217
|
Args:
|
|
218
|
+
metadata (PageMetadata):
|
|
217
219
|
data ([JsonApiBodyWithIdOfInt64AndAccountAndAccount]):
|
|
218
220
|
|
|
219
221
|
Keyword Args:
|
|
@@ -249,7 +251,6 @@ class JsonApiPageResponseOfAccount(ModelNormal):
|
|
|
249
251
|
_visited_composed_classes = (Animal,)
|
|
250
252
|
errors ([CommonError]): [optional] # noqa: E501
|
|
251
253
|
warnings ([CommonWarning]): [optional] # noqa: E501
|
|
252
|
-
metadata (PageMetadata): [optional] # noqa: E501
|
|
253
254
|
"""
|
|
254
255
|
|
|
255
256
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -279,6 +280,7 @@ class JsonApiPageResponseOfAccount(ModelNormal):
|
|
|
279
280
|
self._configuration = _configuration
|
|
280
281
|
self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
|
|
281
282
|
|
|
283
|
+
self.metadata = metadata
|
|
282
284
|
self.data = data
|
|
283
285
|
for var_name, var_value in kwargs.items():
|
|
284
286
|
if var_name not in self.attribute_map and \
|
|
@@ -93,10 +93,10 @@ class JsonApiPageResponseOfBrand(ModelNormal):
|
|
|
93
93
|
"""
|
|
94
94
|
lazy_import()
|
|
95
95
|
return {
|
|
96
|
+
'metadata': (PageMetadata,), # noqa: E501
|
|
96
97
|
'data': ([JsonApiBodyWithIdOfInt64AndBrandAndBrand],), # noqa: E501
|
|
97
98
|
'errors': ([CommonError],), # noqa: E501
|
|
98
99
|
'warnings': ([CommonWarning],), # noqa: E501
|
|
99
|
-
'metadata': (PageMetadata,), # noqa: E501
|
|
100
100
|
}
|
|
101
101
|
|
|
102
102
|
@cached_property
|
|
@@ -105,10 +105,10 @@ class JsonApiPageResponseOfBrand(ModelNormal):
|
|
|
105
105
|
|
|
106
106
|
|
|
107
107
|
attribute_map = {
|
|
108
|
+
'metadata': 'metadata', # noqa: E501
|
|
108
109
|
'data': 'data', # noqa: E501
|
|
109
110
|
'errors': 'errors', # noqa: E501
|
|
110
111
|
'warnings': 'warnings', # noqa: E501
|
|
111
|
-
'metadata': 'metadata', # noqa: E501
|
|
112
112
|
}
|
|
113
113
|
|
|
114
114
|
read_only_vars = {
|
|
@@ -118,10 +118,11 @@ class JsonApiPageResponseOfBrand(ModelNormal):
|
|
|
118
118
|
|
|
119
119
|
@classmethod
|
|
120
120
|
@convert_js_args_to_python_args
|
|
121
|
-
def _from_openapi_data(cls, data, *args, **kwargs): # noqa: E501
|
|
121
|
+
def _from_openapi_data(cls, metadata, data, *args, **kwargs): # noqa: E501
|
|
122
122
|
"""JsonApiPageResponseOfBrand - a model defined in OpenAPI
|
|
123
123
|
|
|
124
124
|
Args:
|
|
125
|
+
metadata (PageMetadata):
|
|
125
126
|
data ([JsonApiBodyWithIdOfInt64AndBrandAndBrand]):
|
|
126
127
|
|
|
127
128
|
Keyword Args:
|
|
@@ -157,7 +158,6 @@ class JsonApiPageResponseOfBrand(ModelNormal):
|
|
|
157
158
|
_visited_composed_classes = (Animal,)
|
|
158
159
|
errors ([CommonError]): [optional] # noqa: E501
|
|
159
160
|
warnings ([CommonWarning]): [optional] # noqa: E501
|
|
160
|
-
metadata (PageMetadata): [optional] # noqa: E501
|
|
161
161
|
"""
|
|
162
162
|
|
|
163
163
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -189,6 +189,7 @@ class JsonApiPageResponseOfBrand(ModelNormal):
|
|
|
189
189
|
self._configuration = _configuration
|
|
190
190
|
self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
|
|
191
191
|
|
|
192
|
+
self.metadata = metadata
|
|
192
193
|
self.data = data
|
|
193
194
|
for var_name, var_value in kwargs.items():
|
|
194
195
|
if var_name not in self.attribute_map and \
|
|
@@ -210,10 +211,11 @@ class JsonApiPageResponseOfBrand(ModelNormal):
|
|
|
210
211
|
])
|
|
211
212
|
|
|
212
213
|
@convert_js_args_to_python_args
|
|
213
|
-
def __init__(self, data, *args, **kwargs): # noqa: E501
|
|
214
|
+
def __init__(self, metadata, data, *args, **kwargs): # noqa: E501
|
|
214
215
|
"""JsonApiPageResponseOfBrand - a model defined in OpenAPI
|
|
215
216
|
|
|
216
217
|
Args:
|
|
218
|
+
metadata (PageMetadata):
|
|
217
219
|
data ([JsonApiBodyWithIdOfInt64AndBrandAndBrand]):
|
|
218
220
|
|
|
219
221
|
Keyword Args:
|
|
@@ -249,7 +251,6 @@ class JsonApiPageResponseOfBrand(ModelNormal):
|
|
|
249
251
|
_visited_composed_classes = (Animal,)
|
|
250
252
|
errors ([CommonError]): [optional] # noqa: E501
|
|
251
253
|
warnings ([CommonWarning]): [optional] # noqa: E501
|
|
252
|
-
metadata (PageMetadata): [optional] # noqa: E501
|
|
253
254
|
"""
|
|
254
255
|
|
|
255
256
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -279,6 +280,7 @@ class JsonApiPageResponseOfBrand(ModelNormal):
|
|
|
279
280
|
self._configuration = _configuration
|
|
280
281
|
self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
|
|
281
282
|
|
|
283
|
+
self.metadata = metadata
|
|
282
284
|
self.data = data
|
|
283
285
|
for var_name, var_value in kwargs.items():
|
|
284
286
|
if var_name not in self.attribute_map and \
|
|
@@ -93,10 +93,10 @@ class JsonApiPageResponseOfRetailer(ModelNormal):
|
|
|
93
93
|
"""
|
|
94
94
|
lazy_import()
|
|
95
95
|
return {
|
|
96
|
+
'metadata': (PageMetadata,), # noqa: E501
|
|
96
97
|
'data': ([JsonApiBodyWithIdOfInt64AndRetailerAndRetailer],), # noqa: E501
|
|
97
98
|
'errors': ([CommonError],), # noqa: E501
|
|
98
99
|
'warnings': ([CommonWarning],), # noqa: E501
|
|
99
|
-
'metadata': (PageMetadata,), # noqa: E501
|
|
100
100
|
}
|
|
101
101
|
|
|
102
102
|
@cached_property
|
|
@@ -105,10 +105,10 @@ class JsonApiPageResponseOfRetailer(ModelNormal):
|
|
|
105
105
|
|
|
106
106
|
|
|
107
107
|
attribute_map = {
|
|
108
|
+
'metadata': 'metadata', # noqa: E501
|
|
108
109
|
'data': 'data', # noqa: E501
|
|
109
110
|
'errors': 'errors', # noqa: E501
|
|
110
111
|
'warnings': 'warnings', # noqa: E501
|
|
111
|
-
'metadata': 'metadata', # noqa: E501
|
|
112
112
|
}
|
|
113
113
|
|
|
114
114
|
read_only_vars = {
|
|
@@ -118,10 +118,11 @@ class JsonApiPageResponseOfRetailer(ModelNormal):
|
|
|
118
118
|
|
|
119
119
|
@classmethod
|
|
120
120
|
@convert_js_args_to_python_args
|
|
121
|
-
def _from_openapi_data(cls, data, *args, **kwargs): # noqa: E501
|
|
121
|
+
def _from_openapi_data(cls, metadata, data, *args, **kwargs): # noqa: E501
|
|
122
122
|
"""JsonApiPageResponseOfRetailer - a model defined in OpenAPI
|
|
123
123
|
|
|
124
124
|
Args:
|
|
125
|
+
metadata (PageMetadata):
|
|
125
126
|
data ([JsonApiBodyWithIdOfInt64AndRetailerAndRetailer]):
|
|
126
127
|
|
|
127
128
|
Keyword Args:
|
|
@@ -157,7 +158,6 @@ class JsonApiPageResponseOfRetailer(ModelNormal):
|
|
|
157
158
|
_visited_composed_classes = (Animal,)
|
|
158
159
|
errors ([CommonError]): [optional] # noqa: E501
|
|
159
160
|
warnings ([CommonWarning]): [optional] # noqa: E501
|
|
160
|
-
metadata (PageMetadata): [optional] # noqa: E501
|
|
161
161
|
"""
|
|
162
162
|
|
|
163
163
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -189,6 +189,7 @@ class JsonApiPageResponseOfRetailer(ModelNormal):
|
|
|
189
189
|
self._configuration = _configuration
|
|
190
190
|
self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
|
|
191
191
|
|
|
192
|
+
self.metadata = metadata
|
|
192
193
|
self.data = data
|
|
193
194
|
for var_name, var_value in kwargs.items():
|
|
194
195
|
if var_name not in self.attribute_map and \
|
|
@@ -210,10 +211,11 @@ class JsonApiPageResponseOfRetailer(ModelNormal):
|
|
|
210
211
|
])
|
|
211
212
|
|
|
212
213
|
@convert_js_args_to_python_args
|
|
213
|
-
def __init__(self, data, *args, **kwargs): # noqa: E501
|
|
214
|
+
def __init__(self, metadata, data, *args, **kwargs): # noqa: E501
|
|
214
215
|
"""JsonApiPageResponseOfRetailer - a model defined in OpenAPI
|
|
215
216
|
|
|
216
217
|
Args:
|
|
218
|
+
metadata (PageMetadata):
|
|
217
219
|
data ([JsonApiBodyWithIdOfInt64AndRetailerAndRetailer]):
|
|
218
220
|
|
|
219
221
|
Keyword Args:
|
|
@@ -249,7 +251,6 @@ class JsonApiPageResponseOfRetailer(ModelNormal):
|
|
|
249
251
|
_visited_composed_classes = (Animal,)
|
|
250
252
|
errors ([CommonError]): [optional] # noqa: E501
|
|
251
253
|
warnings ([CommonWarning]): [optional] # noqa: E501
|
|
252
|
-
metadata (PageMetadata): [optional] # noqa: E501
|
|
253
254
|
"""
|
|
254
255
|
|
|
255
256
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -279,6 +280,7 @@ class JsonApiPageResponseOfRetailer(ModelNormal):
|
|
|
279
280
|
self._configuration = _configuration
|
|
280
281
|
self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
|
|
281
282
|
|
|
283
|
+
self.metadata = metadata
|
|
282
284
|
self.data = data
|
|
283
285
|
for var_name, var_value in kwargs.items():
|
|
284
286
|
if var_name not in self.attribute_map and \
|