criteo-api-retailmedia-sdk 0.0.250716__py3-none-any.whl → 0.0.250728__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.

Files changed (30) hide show
  1. criteo_api_retailmedia_preview/__init__.py +1 -1
  2. criteo_api_retailmedia_preview/api/accounts_api.py +0 -137
  3. criteo_api_retailmedia_preview/api/campaign_api.py +0 -149
  4. criteo_api_retailmedia_preview/api_client.py +1 -1
  5. criteo_api_retailmedia_preview/configuration.py +1 -1
  6. criteo_api_retailmedia_preview/model/rm_audience_compute_sizes_entity_v1.py +14 -6
  7. criteo_api_retailmedia_preview/model/rm_audience_estimate_size_entity_v1.py +18 -8
  8. criteo_api_retailmedia_preview/model/rm_audience_segment_compute_size_entity_v1.py +14 -6
  9. criteo_api_retailmedia_preview/model/rm_audience_segment_estimate_size_entity_v1.py +18 -8
  10. criteo_api_retailmedia_preview/model/rm_events_create_v1.py +18 -10
  11. criteo_api_retailmedia_preview/model/rm_events_estimation_v1.py +18 -10
  12. criteo_api_retailmedia_preview/models/__init__.py +0 -14
  13. {criteo_api_retailmedia_sdk-0.0.250716.dist-info → criteo_api_retailmedia_sdk-0.0.250728.dist-info}/METADATA +3 -3
  14. {criteo_api_retailmedia_sdk-0.0.250716.dist-info → criteo_api_retailmedia_sdk-0.0.250728.dist-info}/RECORD +16 -30
  15. criteo_api_retailmedia_preview/model/cpc_min_bids_request.py +0 -263
  16. criteo_api_retailmedia_preview/model/cpc_min_bids_response.py +0 -274
  17. criteo_api_retailmedia_preview/model/retail_media_seller.py +0 -265
  18. criteo_api_retailmedia_preview/model/seller_search.py +0 -270
  19. criteo_api_retailmedia_preview/model/seller_search_result.py +0 -266
  20. criteo_api_retailmedia_preview/model/sku_min_bid.py +0 -269
  21. criteo_api_retailmedia_preview/model/value_resource_collection_outcome_of_seller_search_result.py +0 -274
  22. criteo_api_retailmedia_preview/model/value_resource_cpc_min_bids_request.py +0 -266
  23. criteo_api_retailmedia_preview/model/value_resource_cpc_min_bids_response.py +0 -266
  24. criteo_api_retailmedia_preview/model/value_resource_input_cpc_min_bids_request.py +0 -262
  25. criteo_api_retailmedia_preview/model/value_resource_input_of_seller_search.py +0 -262
  26. criteo_api_retailmedia_preview/model/value_resource_of_seller_search.py +0 -266
  27. criteo_api_retailmedia_preview/model/value_resource_of_seller_search_result.py +0 -266
  28. criteo_api_retailmedia_preview/model/value_resource_outcome_cpc_min_bids_response.py +0 -274
  29. {criteo_api_retailmedia_sdk-0.0.250716.dist-info → criteo_api_retailmedia_sdk-0.0.250728.dist-info}/WHEEL +0 -0
  30. {criteo_api_retailmedia_sdk-0.0.250716.dist-info → criteo_api_retailmedia_sdk-0.0.250728.dist-info}/top_level.txt +0 -0
@@ -8,7 +8,7 @@
8
8
  """
9
9
 
10
10
 
11
- __version__ = "0.0.250716"
11
+ __version__ = "0.0.250728"
12
12
 
13
13
  # import ApiClient
14
14
  from criteo_api_retailmedia_preview.api_client import ApiClient
@@ -23,11 +23,9 @@ from criteo_api_retailmedia_preview.model_utils import ( # noqa: F401
23
23
  )
24
24
  from criteo_api_retailmedia_preview.model.entity_resource_collection_outcome_of_retail_media_child_account_and_metadata import EntityResourceCollectionOutcomeOfRetailMediaChildAccountAndMetadata
25
25
  from criteo_api_retailmedia_preview.model.outcome import Outcome
26
- from criteo_api_retailmedia_preview.model.value_resource_collection_outcome_of_seller_search_result import ValueResourceCollectionOutcomeOfSellerSearchResult
27
26
  from criteo_api_retailmedia_preview.model.value_resource_collection_outcome_private_market_account_fees_and_metadata import ValueResourceCollectionOutcomePrivateMarketAccountFeesAndMetadata
28
27
  from criteo_api_retailmedia_preview.model.value_resource_input_account_fees_search_request import ValueResourceInputAccountFeesSearchRequest
29
28
  from criteo_api_retailmedia_preview.model.value_resource_input_account_fees_update_request import ValueResourceInputAccountFeesUpdateRequest
30
- from criteo_api_retailmedia_preview.model.value_resource_input_of_seller_search import ValueResourceInputOfSellerSearch
31
29
  from criteo_api_retailmedia_preview.model.value_resource_outcome_account_fees_update_result import ValueResourceOutcomeAccountFeesUpdateResult
32
30
 
33
31
 
@@ -236,62 +234,6 @@ class AccountsApi(object):
236
234
  },
237
235
  api_client=api_client
238
236
  )
239
- self.search_sellers_endpoint = _Endpoint(
240
- settings={
241
- 'response_type': (ValueResourceCollectionOutcomeOfSellerSearchResult,),
242
- 'auth': [
243
- 'oauth',
244
- 'oauth'
245
- ],
246
- 'endpoint_path': '/preview/retail-media/accounts/sellers/search',
247
- 'operation_id': 'search_sellers',
248
- 'http_method': 'POST',
249
- 'servers': None,
250
- },
251
- params_map={
252
- 'all': [
253
- 'value_resource_input_of_seller_search',
254
- ],
255
- 'required': [],
256
- 'nullable': [
257
- ],
258
- 'enum': [
259
- ],
260
- 'validation': [
261
- ]
262
- },
263
- root_map={
264
- 'validations': {
265
- },
266
- 'allowed_values': {
267
- },
268
- 'openapi_types': {
269
- 'value_resource_input_of_seller_search':
270
- (ValueResourceInputOfSellerSearch,),
271
- },
272
- 'attribute_map': {
273
- },
274
- 'location_map': {
275
- 'value_resource_input_of_seller_search': 'body',
276
- },
277
- 'collection_format_map': {
278
- }
279
- },
280
- headers_map={
281
- 'accept': [
282
- 'text/plain',
283
- 'application/json',
284
- 'text/json'
285
- ],
286
- 'content_type': [
287
- 'application/json-patch+json',
288
- 'application/json',
289
- 'text/json',
290
- 'application/*+json'
291
- ]
292
- },
293
- api_client=api_client
294
- )
295
237
 
296
238
  def get_api_external_v1_account_private_market_child_accounts_by_account_id(
297
239
  self,
@@ -538,82 +480,3 @@ class AccountsApi(object):
538
480
  kwargs['_request_auths'] = kwargs.get('_request_auths', None)
539
481
  return self.preview_retail_media_accounts_fees_update_post_endpoint.call_with_http_info(**kwargs)
540
482
 
541
- def search_sellers(
542
- self,
543
- **kwargs
544
- ):
545
- """search_sellers # noqa: E501
546
-
547
- Get the sellers mapped to provided accounts # noqa: E501
548
- This method makes a synchronous HTTP request by default. To make an
549
- asynchronous HTTP request, please pass async_req=True
550
-
551
- >>> thread = api.search_sellers(async_req=True)
552
- >>> result = thread.get()
553
-
554
-
555
- Keyword Args:
556
- value_resource_input_of_seller_search (ValueResourceInputOfSellerSearch): . [optional]
557
- _return_http_data_only (bool): response data without head status
558
- code and headers. Default is True.
559
- _preload_content (bool): if False, the urllib3.HTTPResponse object
560
- will be returned without reading/decoding response data.
561
- Default is True.
562
- _request_timeout (int/float/tuple): timeout setting for this request. If
563
- one number provided, it will be total request timeout. It can also
564
- be a pair (tuple) of (connection, read) timeouts.
565
- Default is None.
566
- _check_input_type (bool): specifies if type checking
567
- should be done one the data sent to the server.
568
- Default is True.
569
- _check_return_type (bool): specifies if type checking
570
- should be done one the data received from the server.
571
- Default is True.
572
- _spec_property_naming (bool): True if the variable names in the input data
573
- are serialized names, as specified in the OpenAPI document.
574
- False if the variable names in the input data
575
- are pythonic names, e.g. snake case (default)
576
- _content_type (str/None): force body content-type.
577
- Default is None and content-type will be predicted by allowed
578
- content-types and body.
579
- _host_index (int/None): specifies the index of the server
580
- that we want to use.
581
- Default is read from the configuration.
582
- _request_auths (list): set to override the auth_settings for an a single
583
- request; this effectively ignores the authentication
584
- in the spec for a single request.
585
- Default is None
586
- async_req (bool): execute request asynchronously
587
-
588
- Returns:
589
- ValueResourceCollectionOutcomeOfSellerSearchResult
590
- If the method is called asynchronously, returns the request
591
- thread.
592
- """
593
- kwargs['async_req'] = kwargs.get(
594
- 'async_req', False
595
- )
596
- kwargs['_return_http_data_only'] = kwargs.get(
597
- '_return_http_data_only', True
598
- )
599
- kwargs['_preload_content'] = kwargs.get(
600
- '_preload_content', True
601
- )
602
- kwargs['_request_timeout'] = kwargs.get(
603
- '_request_timeout', None
604
- )
605
- kwargs['_check_input_type'] = kwargs.get(
606
- '_check_input_type', True
607
- )
608
- kwargs['_check_return_type'] = kwargs.get(
609
- '_check_return_type', True
610
- )
611
- kwargs['_spec_property_naming'] = kwargs.get(
612
- '_spec_property_naming', False
613
- )
614
- kwargs['_content_type'] = kwargs.get(
615
- '_content_type')
616
- kwargs['_host_index'] = kwargs.get('_host_index')
617
- kwargs['_request_auths'] = kwargs.get('_request_auths', None)
618
- return self.search_sellers_endpoint.call_with_http_info(**kwargs)
619
-
@@ -60,14 +60,12 @@ from criteo_api_retailmedia_preview.model.sku_slim_data_v2_list_response import
60
60
  from criteo_api_retailmedia_preview.model.sponsored_products_line_item_create_request_model import SponsoredProductsLineItemCreateRequestModel
61
61
  from criteo_api_retailmedia_preview.model.value_resource_input_brand_id_search_request import ValueResourceInputBrandIdSearchRequest
62
62
  from criteo_api_retailmedia_preview.model.value_resource_input_categories_search_request_v1 import ValueResourceInputCategoriesSearchRequestV1
63
- from criteo_api_retailmedia_preview.model.value_resource_input_cpc_min_bids_request import ValueResourceInputCpcMinBidsRequest
64
63
  from criteo_api_retailmedia_preview.model.value_resource_input_of_brand_catalog_request_v2 import ValueResourceInputOfBrandCatalogRequestV2
65
64
  from criteo_api_retailmedia_preview.model.value_resource_input_of_seller_catalog_request_v2 import ValueResourceInputOfSellerCatalogRequestV2
66
65
  from criteo_api_retailmedia_preview.model.value_resource_input_of_sponsored_products_line_item_update_request_model import ValueResourceInputOfSponsoredProductsLineItemUpdateRequestModel
67
66
  from criteo_api_retailmedia_preview.model.value_resource_input_recommended_categories_request_v1 import ValueResourceInputRecommendedCategoriesRequestV1
68
67
  from criteo_api_retailmedia_preview.model.value_resource_input_recommended_keywords_request_v1 import ValueResourceInputRecommendedKeywordsRequestV1
69
68
  from criteo_api_retailmedia_preview.model.value_resource_input_retail_media_keywords_review import ValueResourceInputRetailMediaKeywordsReview
70
- from criteo_api_retailmedia_preview.model.value_resource_outcome_cpc_min_bids_response import ValueResourceOutcomeCpcMinBidsResponse
71
69
  from criteo_api_retailmedia_preview.model.value_resource_outcome_recommended_keywords_response_v1 import ValueResourceOutcomeRecommendedKeywordsResponseV1
72
70
  from criteo_api_retailmedia_preview.model.value_resource_outcome_retail_media_keywords_review_result import ValueResourceOutcomeRetailMediaKeywordsReviewResult
73
71
 
@@ -1296,69 +1294,6 @@ class CampaignApi(object):
1296
1294
  },
1297
1295
  api_client=api_client
1298
1296
  )
1299
- self.get_cpc_min_bids_by_sku_ids_v1_endpoint = _Endpoint(
1300
- settings={
1301
- 'response_type': (ValueResourceOutcomeCpcMinBidsResponse,),
1302
- 'auth': [
1303
- 'oauth',
1304
- 'oauth'
1305
- ],
1306
- 'endpoint_path': '/preview/retail-media/retailers/{retailerId}/cpc-min-bids',
1307
- 'operation_id': 'get_cpc_min_bids_by_sku_ids_v1',
1308
- 'http_method': 'POST',
1309
- 'servers': None,
1310
- },
1311
- params_map={
1312
- 'all': [
1313
- 'retailer_id',
1314
- 'value_resource_input_cpc_min_bids_request',
1315
- ],
1316
- 'required': [
1317
- 'retailer_id',
1318
- ],
1319
- 'nullable': [
1320
- ],
1321
- 'enum': [
1322
- ],
1323
- 'validation': [
1324
- ]
1325
- },
1326
- root_map={
1327
- 'validations': {
1328
- },
1329
- 'allowed_values': {
1330
- },
1331
- 'openapi_types': {
1332
- 'retailer_id':
1333
- (int,),
1334
- 'value_resource_input_cpc_min_bids_request':
1335
- (ValueResourceInputCpcMinBidsRequest,),
1336
- },
1337
- 'attribute_map': {
1338
- 'retailer_id': 'retailerId',
1339
- },
1340
- 'location_map': {
1341
- 'retailer_id': 'path',
1342
- 'value_resource_input_cpc_min_bids_request': 'body',
1343
- },
1344
- 'collection_format_map': {
1345
- }
1346
- },
1347
- headers_map={
1348
- 'accept': [
1349
- 'text/plain',
1350
- 'application/json',
1351
- 'text/json'
1352
- ],
1353
- 'content_type': [
1354
- 'application/json-patch+json',
1355
- 'application/json',
1356
- 'text/json',
1357
- 'application/*+json'
1358
- ]
1359
- },
1360
- api_client=api_client
1361
- )
1362
1297
  self.get_recommended_categories_endpoint = _Endpoint(
1363
1298
  settings={
1364
1299
  'response_type': (EntityResourceCollectionOutcomeCategory202204,),
@@ -4483,90 +4418,6 @@ class CampaignApi(object):
4483
4418
  campaign_id
4484
4419
  return self.get_auction_line_items_by_campaign_id_v2_endpoint.call_with_http_info(**kwargs)
4485
4420
 
4486
- def get_cpc_min_bids_by_sku_ids_v1(
4487
- self,
4488
- retailer_id,
4489
- **kwargs
4490
- ):
4491
- """get_cpc_min_bids_by_sku_ids_v1 # noqa: E501
4492
-
4493
- Get overall and individual minimum bid amount for given retailer id and sku id list. # noqa: E501
4494
- This method makes a synchronous HTTP request by default. To make an
4495
- asynchronous HTTP request, please pass async_req=True
4496
-
4497
- >>> thread = api.get_cpc_min_bids_by_sku_ids_v1(retailer_id, async_req=True)
4498
- >>> result = thread.get()
4499
-
4500
- Args:
4501
- retailer_id (int): Retailer Id.
4502
-
4503
- Keyword Args:
4504
- value_resource_input_cpc_min_bids_request (ValueResourceInputCpcMinBidsRequest): Cpc minimum bid amount request object.. [optional]
4505
- _return_http_data_only (bool): response data without head status
4506
- code and headers. Default is True.
4507
- _preload_content (bool): if False, the urllib3.HTTPResponse object
4508
- will be returned without reading/decoding response data.
4509
- Default is True.
4510
- _request_timeout (int/float/tuple): timeout setting for this request. If
4511
- one number provided, it will be total request timeout. It can also
4512
- be a pair (tuple) of (connection, read) timeouts.
4513
- Default is None.
4514
- _check_input_type (bool): specifies if type checking
4515
- should be done one the data sent to the server.
4516
- Default is True.
4517
- _check_return_type (bool): specifies if type checking
4518
- should be done one the data received from the server.
4519
- Default is True.
4520
- _spec_property_naming (bool): True if the variable names in the input data
4521
- are serialized names, as specified in the OpenAPI document.
4522
- False if the variable names in the input data
4523
- are pythonic names, e.g. snake case (default)
4524
- _content_type (str/None): force body content-type.
4525
- Default is None and content-type will be predicted by allowed
4526
- content-types and body.
4527
- _host_index (int/None): specifies the index of the server
4528
- that we want to use.
4529
- Default is read from the configuration.
4530
- _request_auths (list): set to override the auth_settings for an a single
4531
- request; this effectively ignores the authentication
4532
- in the spec for a single request.
4533
- Default is None
4534
- async_req (bool): execute request asynchronously
4535
-
4536
- Returns:
4537
- ValueResourceOutcomeCpcMinBidsResponse
4538
- If the method is called asynchronously, returns the request
4539
- thread.
4540
- """
4541
- kwargs['async_req'] = kwargs.get(
4542
- 'async_req', False
4543
- )
4544
- kwargs['_return_http_data_only'] = kwargs.get(
4545
- '_return_http_data_only', True
4546
- )
4547
- kwargs['_preload_content'] = kwargs.get(
4548
- '_preload_content', True
4549
- )
4550
- kwargs['_request_timeout'] = kwargs.get(
4551
- '_request_timeout', None
4552
- )
4553
- kwargs['_check_input_type'] = kwargs.get(
4554
- '_check_input_type', True
4555
- )
4556
- kwargs['_check_return_type'] = kwargs.get(
4557
- '_check_return_type', True
4558
- )
4559
- kwargs['_spec_property_naming'] = kwargs.get(
4560
- '_spec_property_naming', False
4561
- )
4562
- kwargs['_content_type'] = kwargs.get(
4563
- '_content_type')
4564
- kwargs['_host_index'] = kwargs.get('_host_index')
4565
- kwargs['_request_auths'] = kwargs.get('_request_auths', None)
4566
- kwargs['retailer_id'] = \
4567
- retailer_id
4568
- return self.get_cpc_min_bids_by_sku_ids_v1_endpoint.call_with_http_info(**kwargs)
4569
-
4570
4421
  def get_recommended_categories(
4571
4422
  self,
4572
4423
  retailer_id,
@@ -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/0.0.250716/python'
79
+ self.user_agent = 'OpenAPI-Generator/0.0.250728/python'
80
80
 
81
81
  def __enter__(self):
82
82
  return self
@@ -395,7 +395,7 @@ class Configuration(object):
395
395
  "OS: {env}\n"\
396
396
  "Python Version: {pyversion}\n"\
397
397
  "Version of the API: Preview\n"\
398
- "SDK Package Version: 0.0.250716".\
398
+ "SDK Package Version: 0.0.250728".\
399
399
  format(env=sys.platform, pyversion=sys.version)
400
400
 
401
401
  def get_host_settings(self):
@@ -107,9 +107,13 @@ class RmAudienceComputeSizesEntityV1(ModelNormal):
107
107
 
108
108
  @classmethod
109
109
  @convert_js_args_to_python_args
110
- def _from_openapi_data(cls, *args, **kwargs): # noqa: E501
110
+ def _from_openapi_data(cls, channel, ids, *args, **kwargs): # noqa: E501
111
111
  """RmAudienceComputeSizesEntityV1 - a model defined in OpenAPI
112
112
 
113
+ Args:
114
+ channel (str): Channel to compute the sizes for.
115
+ ids ([str]): List of ids of the segments whose size is requested.
116
+
113
117
  Keyword Args:
114
118
  _check_type (bool): if True, values for parameters in openapi_types
115
119
  will be type checked and a TypeError will be
@@ -141,8 +145,6 @@ class RmAudienceComputeSizesEntityV1(ModelNormal):
141
145
  Animal class but this time we won't travel
142
146
  through its discriminator because we passed in
143
147
  _visited_composed_classes = (Animal,)
144
- channel (str): Channel to compute the sizes for.. [optional] # noqa: E501
145
- ids ([str]): List of ids of the segments whose size is requested.. [optional] # noqa: E501
146
148
  """
147
149
 
148
150
  _check_type = kwargs.pop('_check_type', True)
@@ -174,6 +176,8 @@ class RmAudienceComputeSizesEntityV1(ModelNormal):
174
176
  self._configuration = _configuration
175
177
  self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
176
178
 
179
+ self.channel = channel
180
+ self.ids = ids
177
181
  for var_name, var_value in kwargs.items():
178
182
  if var_name not in self.attribute_map and \
179
183
  self._configuration is not None and \
@@ -194,9 +198,13 @@ class RmAudienceComputeSizesEntityV1(ModelNormal):
194
198
  ])
195
199
 
196
200
  @convert_js_args_to_python_args
197
- def __init__(self, *args, **kwargs): # noqa: E501
201
+ def __init__(self, channel, ids, *args, **kwargs): # noqa: E501
198
202
  """RmAudienceComputeSizesEntityV1 - a model defined in OpenAPI
199
203
 
204
+ Args:
205
+ channel (str): Channel to compute the sizes for.
206
+ ids ([str]): List of ids of the segments whose size is requested.
207
+
200
208
  Keyword Args:
201
209
  _check_type (bool): if True, values for parameters in openapi_types
202
210
  will be type checked and a TypeError will be
@@ -228,8 +236,6 @@ class RmAudienceComputeSizesEntityV1(ModelNormal):
228
236
  Animal class but this time we won't travel
229
237
  through its discriminator because we passed in
230
238
  _visited_composed_classes = (Animal,)
231
- channel (str): Channel to compute the sizes for.. [optional] # noqa: E501
232
- ids ([str]): List of ids of the segments whose size is requested.. [optional] # noqa: E501
233
239
  """
234
240
 
235
241
  _check_type = kwargs.pop('_check_type', True)
@@ -259,6 +265,8 @@ class RmAudienceComputeSizesEntityV1(ModelNormal):
259
265
  self._configuration = _configuration
260
266
  self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
261
267
 
268
+ self.channel = channel
269
+ self.ids = ids
262
270
  for var_name, var_value in kwargs.items():
263
271
  if var_name not in self.attribute_map and \
264
272
  self._configuration is not None and \
@@ -115,9 +115,14 @@ class RmAudienceEstimateSizeEntityV1(ModelNormal):
115
115
 
116
116
  @classmethod
117
117
  @convert_js_args_to_python_args
118
- def _from_openapi_data(cls, *args, **kwargs): # noqa: E501
118
+ def _from_openapi_data(cls, algebra, channel, retailer_id, *args, **kwargs): # noqa: E501
119
119
  """RmAudienceEstimateSizeEntityV1 - a model defined in OpenAPI
120
120
 
121
+ Args:
122
+ algebra (RmAlgebraNodeV1):
123
+ channel (str): Channel to estimate the size
124
+ retailer_id (str): Retailer id of the audience
125
+
121
126
  Keyword Args:
122
127
  _check_type (bool): if True, values for parameters in openapi_types
123
128
  will be type checked and a TypeError will be
@@ -149,9 +154,6 @@ class RmAudienceEstimateSizeEntityV1(ModelNormal):
149
154
  Animal class but this time we won't travel
150
155
  through its discriminator because we passed in
151
156
  _visited_composed_classes = (Animal,)
152
- algebra (RmAlgebraNodeV1): [optional] # noqa: E501
153
- channel (str): Channel to estimate the size. [optional] # noqa: E501
154
- retailer_id (str): Retailer id of the audience. [optional] # noqa: E501
155
157
  """
156
158
 
157
159
  _check_type = kwargs.pop('_check_type', True)
@@ -183,6 +185,9 @@ class RmAudienceEstimateSizeEntityV1(ModelNormal):
183
185
  self._configuration = _configuration
184
186
  self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
185
187
 
188
+ self.algebra = algebra
189
+ self.channel = channel
190
+ self.retailer_id = retailer_id
186
191
  for var_name, var_value in kwargs.items():
187
192
  if var_name not in self.attribute_map and \
188
193
  self._configuration is not None and \
@@ -203,9 +208,14 @@ class RmAudienceEstimateSizeEntityV1(ModelNormal):
203
208
  ])
204
209
 
205
210
  @convert_js_args_to_python_args
206
- def __init__(self, *args, **kwargs): # noqa: E501
211
+ def __init__(self, algebra, channel, retailer_id, *args, **kwargs): # noqa: E501
207
212
  """RmAudienceEstimateSizeEntityV1 - a model defined in OpenAPI
208
213
 
214
+ Args:
215
+ algebra (RmAlgebraNodeV1):
216
+ channel (str): Channel to estimate the size
217
+ retailer_id (str): Retailer id of the audience
218
+
209
219
  Keyword Args:
210
220
  _check_type (bool): if True, values for parameters in openapi_types
211
221
  will be type checked and a TypeError will be
@@ -237,9 +247,6 @@ class RmAudienceEstimateSizeEntityV1(ModelNormal):
237
247
  Animal class but this time we won't travel
238
248
  through its discriminator because we passed in
239
249
  _visited_composed_classes = (Animal,)
240
- algebra (RmAlgebraNodeV1): [optional] # noqa: E501
241
- channel (str): Channel to estimate the size. [optional] # noqa: E501
242
- retailer_id (str): Retailer id of the audience. [optional] # noqa: E501
243
250
  """
244
251
 
245
252
  _check_type = kwargs.pop('_check_type', True)
@@ -269,6 +276,9 @@ class RmAudienceEstimateSizeEntityV1(ModelNormal):
269
276
  self._configuration = _configuration
270
277
  self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
271
278
 
279
+ self.algebra = algebra
280
+ self.channel = channel
281
+ self.retailer_id = retailer_id
272
282
  for var_name, var_value in kwargs.items():
273
283
  if var_name not in self.attribute_map and \
274
284
  self._configuration is not None and \
@@ -107,9 +107,13 @@ class RmAudienceSegmentComputeSizeEntityV1(ModelNormal):
107
107
 
108
108
  @classmethod
109
109
  @convert_js_args_to_python_args
110
- def _from_openapi_data(cls, *args, **kwargs): # noqa: E501
110
+ def _from_openapi_data(cls, channel, ids, *args, **kwargs): # noqa: E501
111
111
  """RmAudienceSegmentComputeSizeEntityV1 - a model defined in OpenAPI
112
112
 
113
+ Args:
114
+ channel (str): Channel to compute the sizes for.
115
+ ids ([str]): List of ids of the segments whose size is requested.
116
+
113
117
  Keyword Args:
114
118
  _check_type (bool): if True, values for parameters in openapi_types
115
119
  will be type checked and a TypeError will be
@@ -141,8 +145,6 @@ class RmAudienceSegmentComputeSizeEntityV1(ModelNormal):
141
145
  Animal class but this time we won't travel
142
146
  through its discriminator because we passed in
143
147
  _visited_composed_classes = (Animal,)
144
- channel (str): Channel to compute the sizes for.. [optional] # noqa: E501
145
- ids ([str]): List of ids of the segments whose size is requested.. [optional] # noqa: E501
146
148
  """
147
149
 
148
150
  _check_type = kwargs.pop('_check_type', True)
@@ -174,6 +176,8 @@ class RmAudienceSegmentComputeSizeEntityV1(ModelNormal):
174
176
  self._configuration = _configuration
175
177
  self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
176
178
 
179
+ self.channel = channel
180
+ self.ids = ids
177
181
  for var_name, var_value in kwargs.items():
178
182
  if var_name not in self.attribute_map and \
179
183
  self._configuration is not None and \
@@ -194,9 +198,13 @@ class RmAudienceSegmentComputeSizeEntityV1(ModelNormal):
194
198
  ])
195
199
 
196
200
  @convert_js_args_to_python_args
197
- def __init__(self, *args, **kwargs): # noqa: E501
201
+ def __init__(self, channel, ids, *args, **kwargs): # noqa: E501
198
202
  """RmAudienceSegmentComputeSizeEntityV1 - a model defined in OpenAPI
199
203
 
204
+ Args:
205
+ channel (str): Channel to compute the sizes for.
206
+ ids ([str]): List of ids of the segments whose size is requested.
207
+
200
208
  Keyword Args:
201
209
  _check_type (bool): if True, values for parameters in openapi_types
202
210
  will be type checked and a TypeError will be
@@ -228,8 +236,6 @@ class RmAudienceSegmentComputeSizeEntityV1(ModelNormal):
228
236
  Animal class but this time we won't travel
229
237
  through its discriminator because we passed in
230
238
  _visited_composed_classes = (Animal,)
231
- channel (str): Channel to compute the sizes for.. [optional] # noqa: E501
232
- ids ([str]): List of ids of the segments whose size is requested.. [optional] # noqa: E501
233
239
  """
234
240
 
235
241
  _check_type = kwargs.pop('_check_type', True)
@@ -259,6 +265,8 @@ class RmAudienceSegmentComputeSizeEntityV1(ModelNormal):
259
265
  self._configuration = _configuration
260
266
  self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
261
267
 
268
+ self.channel = channel
269
+ self.ids = ids
262
270
  for var_name, var_value in kwargs.items():
263
271
  if var_name not in self.attribute_map and \
264
272
  self._configuration is not None and \
@@ -115,9 +115,14 @@ class RmAudienceSegmentEstimateSizeEntityV1(ModelNormal):
115
115
 
116
116
  @classmethod
117
117
  @convert_js_args_to_python_args
118
- def _from_openapi_data(cls, *args, **kwargs): # noqa: E501
118
+ def _from_openapi_data(cls, channel, events, retailer_id, *args, **kwargs): # noqa: E501
119
119
  """RmAudienceSegmentEstimateSizeEntityV1 - a model defined in OpenAPI
120
120
 
121
+ Args:
122
+ channel (str): Channel to estimate the size
123
+ events (RmEventsEstimationV1):
124
+ retailer_id (str): Retailer id of the segment
125
+
121
126
  Keyword Args:
122
127
  _check_type (bool): if True, values for parameters in openapi_types
123
128
  will be type checked and a TypeError will be
@@ -149,9 +154,6 @@ class RmAudienceSegmentEstimateSizeEntityV1(ModelNormal):
149
154
  Animal class but this time we won't travel
150
155
  through its discriminator because we passed in
151
156
  _visited_composed_classes = (Animal,)
152
- channel (str): Channel to estimate the size. [optional] # noqa: E501
153
- events (RmEventsEstimationV1): [optional] # noqa: E501
154
- retailer_id (str): Retailer id of the segment. [optional] # noqa: E501
155
157
  """
156
158
 
157
159
  _check_type = kwargs.pop('_check_type', True)
@@ -183,6 +185,9 @@ class RmAudienceSegmentEstimateSizeEntityV1(ModelNormal):
183
185
  self._configuration = _configuration
184
186
  self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
185
187
 
188
+ self.channel = channel
189
+ self.events = events
190
+ self.retailer_id = retailer_id
186
191
  for var_name, var_value in kwargs.items():
187
192
  if var_name not in self.attribute_map and \
188
193
  self._configuration is not None and \
@@ -203,9 +208,14 @@ class RmAudienceSegmentEstimateSizeEntityV1(ModelNormal):
203
208
  ])
204
209
 
205
210
  @convert_js_args_to_python_args
206
- def __init__(self, *args, **kwargs): # noqa: E501
211
+ def __init__(self, channel, events, retailer_id, *args, **kwargs): # noqa: E501
207
212
  """RmAudienceSegmentEstimateSizeEntityV1 - a model defined in OpenAPI
208
213
 
214
+ Args:
215
+ channel (str): Channel to estimate the size
216
+ events (RmEventsEstimationV1):
217
+ retailer_id (str): Retailer id of the segment
218
+
209
219
  Keyword Args:
210
220
  _check_type (bool): if True, values for parameters in openapi_types
211
221
  will be type checked and a TypeError will be
@@ -237,9 +247,6 @@ class RmAudienceSegmentEstimateSizeEntityV1(ModelNormal):
237
247
  Animal class but this time we won't travel
238
248
  through its discriminator because we passed in
239
249
  _visited_composed_classes = (Animal,)
240
- channel (str): Channel to estimate the size. [optional] # noqa: E501
241
- events (RmEventsEstimationV1): [optional] # noqa: E501
242
- retailer_id (str): Retailer id of the segment. [optional] # noqa: E501
243
250
  """
244
251
 
245
252
  _check_type = kwargs.pop('_check_type', True)
@@ -269,6 +276,9 @@ class RmAudienceSegmentEstimateSizeEntityV1(ModelNormal):
269
276
  self._configuration = _configuration
270
277
  self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
271
278
 
279
+ self.channel = channel
280
+ self.events = events
281
+ self.retailer_id = retailer_id
272
282
  for var_name, var_value in kwargs.items():
273
283
  if var_name not in self.attribute_map and \
274
284
  self._configuration is not None and \