criteo-api-retailmedia-sdk 2024.1.0.250320__py3-none-any.whl → 2024.1.0.250409__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.1.0.250320.dist-info → criteo_api_retailmedia_sdk-2024.1.0.250409.dist-info}/METADATA +3 -3
- {criteo_api_retailmedia_sdk-2024.1.0.250320.dist-info → criteo_api_retailmedia_sdk-2024.1.0.250409.dist-info}/RECORD +130 -130
- {criteo_api_retailmedia_sdk-2024.1.0.250320.dist-info → criteo_api_retailmedia_sdk-2024.1.0.250409.dist-info}/WHEEL +1 -1
- criteo_api_retailmedia_v2024_01/__init__.py +1 -1
- criteo_api_retailmedia_v2024_01/api/analytics_api.py +2 -2
- criteo_api_retailmedia_v2024_01/api/audience_api.py +12 -12
- criteo_api_retailmedia_v2024_01/api/campaign_api.py +18 -18
- criteo_api_retailmedia_v2024_01/api_client.py +1 -1
- criteo_api_retailmedia_v2024_01/configuration.py +1 -1
- criteo_api_retailmedia_v2024_01/model/add_remove_keyword_model.py +8 -8
- criteo_api_retailmedia_v2024_01/model/add_remove_keywords_model_resource.py +4 -4
- criteo_api_retailmedia_v2024_01/model/add_to_basket_target202110_response.py +5 -5
- criteo_api_retailmedia_v2024_01/model/application_summary_model.py +8 -8
- criteo_api_retailmedia_v2024_01/model/application_summary_model_resource.py +4 -4
- criteo_api_retailmedia_v2024_01/model/application_summary_model_response.py +5 -5
- criteo_api_retailmedia_v2024_01/model/asset_response.py +7 -7
- criteo_api_retailmedia_v2024_01/model/async_campaigns_report.py +79 -79
- criteo_api_retailmedia_v2024_01/model/async_campaigns_report_resource.py +4 -4
- criteo_api_retailmedia_v2024_01/model/async_line_items_report.py +79 -79
- criteo_api_retailmedia_v2024_01/model/async_line_items_report_resource.py +4 -4
- criteo_api_retailmedia_v2024_01/model/async_report_response.py +5 -5
- criteo_api_retailmedia_v2024_01/model/async_revenue_report.py +104 -104
- criteo_api_retailmedia_v2024_01/model/async_revenue_report_resource.py +4 -4
- criteo_api_retailmedia_v2024_01/model/auction_line_item_paged_list_response.py +9 -9
- criteo_api_retailmedia_v2024_01/model/auction_line_item_response.py +5 -5
- criteo_api_retailmedia_v2024_01/model/audience_target202110_response.py +5 -5
- criteo_api_retailmedia_v2024_01/model/balance_campaign202110_paged_list_response.py +9 -9
- criteo_api_retailmedia_v2024_01/model/balance_response.py +5 -5
- criteo_api_retailmedia_v2024_01/model/balance_response_paged_list_response.py +9 -9
- criteo_api_retailmedia_v2024_01/model/campaign_attributes_v202301.py +57 -57
- criteo_api_retailmedia_v2024_01/model/campaign_budget_overrides.py +8 -8
- criteo_api_retailmedia_v2024_01/model/campaign_v202301.py +82 -82
- criteo_api_retailmedia_v2024_01/model/category202204.py +8 -8
- criteo_api_retailmedia_v2024_01/model/category202204_list_response.py +5 -5
- criteo_api_retailmedia_v2024_01/model/common_error.py +16 -16
- criteo_api_retailmedia_v2024_01/model/common_line_item_paged_list_response.py +9 -9
- criteo_api_retailmedia_v2024_01/model/common_line_item_response.py +5 -5
- criteo_api_retailmedia_v2024_01/model/common_problem.py +20 -20
- criteo_api_retailmedia_v2024_01/model/common_warning.py +16 -16
- criteo_api_retailmedia_v2024_01/model/creative202110.py +16 -12
- criteo_api_retailmedia_v2024_01/model/creative202110_list_response.py +5 -5
- criteo_api_retailmedia_v2024_01/model/creative202210.py +40 -36
- criteo_api_retailmedia_v2024_01/model/creative202210_list_response.py +5 -5
- criteo_api_retailmedia_v2024_01/model/creative202210_response.py +5 -5
- criteo_api_retailmedia_v2024_01/model/daily_line_item_budget_override.py +4 -4
- criteo_api_retailmedia_v2024_01/model/editable_campaign_attributes_v202301.py +32 -32
- criteo_api_retailmedia_v2024_01/model/external_account.py +18 -18
- criteo_api_retailmedia_v2024_01/model/external_add_to_basket_ids_update_model202110.py +4 -4
- criteo_api_retailmedia_v2024_01/model/external_add_to_basket_target202110.py +4 -4
- criteo_api_retailmedia_v2024_01/model/external_auction_line_item.py +44 -44
- criteo_api_retailmedia_v2024_01/model/external_auction_line_item_create_model.py +30 -30
- criteo_api_retailmedia_v2024_01/model/external_auction_line_item_update_model.py +20 -20
- criteo_api_retailmedia_v2024_01/model/external_audience_target202110.py +8 -8
- criteo_api_retailmedia_v2024_01/model/external_balance_response.py +66 -66
- criteo_api_retailmedia_v2024_01/model/external_catalog_request.py +4 -4
- criteo_api_retailmedia_v2024_01/model/external_catalog_status.py +20 -20
- criteo_api_retailmedia_v2024_01/model/external_change_dates_of_balance.py +8 -8
- criteo_api_retailmedia_v2024_01/model/external_common_line_item.py +34 -34
- criteo_api_retailmedia_v2024_01/model/external_create_balance.py +20 -20
- criteo_api_retailmedia_v2024_01/model/external_line_item_capping202110.py +8 -8
- criteo_api_retailmedia_v2024_01/model/external_line_item_page202110.py +3 -3
- criteo_api_retailmedia_v2024_01/model/external_preferred_line_item202110.py +55 -51
- criteo_api_retailmedia_v2024_01/model/external_preferred_line_item_create_model202110.py +24 -24
- criteo_api_retailmedia_v2024_01/model/external_preferred_line_item_update_model202110.py +20 -20
- criteo_api_retailmedia_v2024_01/model/external_update_balance_model.py +8 -8
- criteo_api_retailmedia_v2024_01/model/files_variables_specification.py +4 -4
- criteo_api_retailmedia_v2024_01/model/input_resource_of_auction_line_item_create_model.py +4 -4
- criteo_api_retailmedia_v2024_01/model/input_resource_of_preferred_line_item_create_model202110.py +4 -4
- criteo_api_retailmedia_v2024_01/model/json_api_page_response_of_account.py +8 -8
- criteo_api_retailmedia_v2024_01/model/json_api_page_response_of_brand.py +8 -8
- criteo_api_retailmedia_v2024_01/model/json_api_page_response_of_campaign_v202301.py +8 -8
- criteo_api_retailmedia_v2024_01/model/json_api_page_response_of_retailer.py +8 -8
- criteo_api_retailmedia_v2024_01/model/keyword_data_model.py +12 -12
- criteo_api_retailmedia_v2024_01/model/keyword_target202110_response.py +5 -5
- criteo_api_retailmedia_v2024_01/model/keywords_model_resource.py +4 -4
- criteo_api_retailmedia_v2024_01/model/keywords_model_response.py +4 -4
- criteo_api_retailmedia_v2024_01/model/line_item_bid_multipliers.py +20 -20
- criteo_api_retailmedia_v2024_01/model/line_item_bid_multipliers_response.py +5 -5
- criteo_api_retailmedia_v2024_01/model/line_item_budget_overrides.py +8 -8
- criteo_api_retailmedia_v2024_01/model/page_metadata.py +16 -16
- criteo_api_retailmedia_v2024_01/model/page_type_environment202210.py +14 -14
- criteo_api_retailmedia_v2024_01/model/preferred_line_item202110_paged_list_response.py +9 -9
- criteo_api_retailmedia_v2024_01/model/preferred_line_item202110_response.py +5 -5
- criteo_api_retailmedia_v2024_01/model/problem_details.py +20 -20
- criteo_api_retailmedia_v2024_01/model/promoted_product202110_paged_list_response.py +9 -9
- criteo_api_retailmedia_v2024_01/model/report_outcome.py +5 -5
- criteo_api_retailmedia_v2024_01/model/resource_of_auction_line_item.py +4 -4
- criteo_api_retailmedia_v2024_01/model/resource_of_auction_line_item_update_model.py +4 -4
- criteo_api_retailmedia_v2024_01/model/resource_of_balance_campaign202110.py +4 -4
- criteo_api_retailmedia_v2024_01/model/resource_of_common_line_item.py +4 -4
- criteo_api_retailmedia_v2024_01/model/resource_of_preferred_line_item202110.py +4 -4
- criteo_api_retailmedia_v2024_01/model/resource_of_preferred_line_item_update_model202110.py +4 -4
- criteo_api_retailmedia_v2024_01/model/resource_of_promoted_product202110.py +4 -4
- criteo_api_retailmedia_v2024_01/model/rm_legacy_audience_create_entity_v1.py +19 -19
- criteo_api_retailmedia_v2024_01/model/rm_legacy_audience_create_entity_v1_response.py +5 -5
- criteo_api_retailmedia_v2024_01/model/rm_legacy_audience_create_entity_v2.py +8 -8
- criteo_api_retailmedia_v2024_01/model/rm_legacy_audience_create_entity_v2_response.py +5 -5
- criteo_api_retailmedia_v2024_01/model/rm_legacy_audience_get_entity_v1.py +4 -4
- criteo_api_retailmedia_v2024_01/model/rm_legacy_audience_get_entity_v1_list_response.py +5 -5
- criteo_api_retailmedia_v2024_01/model/rm_legacy_audience_get_entity_v1_resource.py +4 -4
- criteo_api_retailmedia_v2024_01/model/rm_legacy_audience_get_entity_v2.py +12 -12
- criteo_api_retailmedia_v2024_01/model/rm_legacy_audience_get_entity_v2_list_response.py +5 -5
- criteo_api_retailmedia_v2024_01/model/rm_legacy_segment_customer_list.py +8 -8
- criteo_api_retailmedia_v2024_01/model/rm_legacy_segment_user_behavior_create_v2.py +19 -19
- criteo_api_retailmedia_v2024_01/model/rm_legacy_segment_user_behavior_v1.py +17 -17
- criteo_api_retailmedia_v2024_01/model/rm_legacy_segment_user_behavior_v2.py +23 -23
- criteo_api_retailmedia_v2024_01/model/rmca_common_problem.py +16 -16
- criteo_api_retailmedia_v2024_01/model/section.py +4 -4
- criteo_api_retailmedia_v2024_01/model/set_bid_model.py +4 -4
- criteo_api_retailmedia_v2024_01/model/set_bids_model_resource.py +4 -4
- criteo_api_retailmedia_v2024_01/model/status_response.py +20 -20
- criteo_api_retailmedia_v2024_01/model/store_target202110_response.py +5 -5
- criteo_api_retailmedia_v2024_01/model/template.py +24 -24
- criteo_api_retailmedia_v2024_01/model/template_list_response.py +5 -5
- criteo_api_retailmedia_v2024_01/model/template_response.py +5 -5
- criteo_api_retailmedia_v2024_01/model/template_variable.py +4 -4
- criteo_api_retailmedia_v2024_01/model/template_variable_value.py +4 -4
- criteo_api_retailmedia_v2024_01/model/value_resource_of_campaign_budget_overrides.py +4 -4
- criteo_api_retailmedia_v2024_01/model/value_resource_of_line_item_budget_overrides.py +4 -4
- criteo_api_retailmedia_v2024_01/model/value_resource_outcome_of_campaign_budget_overrides.py +5 -5
- criteo_api_retailmedia_v2024_01/model/value_resource_outcome_of_line_item_budget_overrides.py +5 -5
- criteo_api_retailmedia_v2024_01/model/value_type_resource_of_add_to_basket_ids_update_model202110.py +4 -4
- criteo_api_retailmedia_v2024_01/model/value_type_resource_of_add_to_basket_target202110.py +4 -4
- criteo_api_retailmedia_v2024_01/model/value_type_resource_of_audience_ids_update_model202110.py +4 -4
- criteo_api_retailmedia_v2024_01/model/value_type_resource_of_audience_target202110.py +4 -4
- criteo_api_retailmedia_v2024_01/model/value_type_resource_of_keyword_target202110.py +4 -4
- criteo_api_retailmedia_v2024_01/model/value_type_resource_of_store_ids_update_model202110.py +4 -4
- criteo_api_retailmedia_v2024_01/model/value_type_resource_of_store_target202110.py +4 -4
- criteo_api_retailmedia_v2024_01/model/video_variable_value.py +16 -16
- {criteo_api_retailmedia_sdk-2024.1.0.250320.dist-info → criteo_api_retailmedia_sdk-2024.1.0.250409.dist-info}/top_level.txt +0 -0
|
@@ -55,11 +55,6 @@ class RmLegacyAudienceCreateEntityV1(ModelNormal):
|
|
|
55
55
|
"""
|
|
56
56
|
|
|
57
57
|
allowed_values = {
|
|
58
|
-
('user_type',): {
|
|
59
|
-
'VIEWER': "viewer",
|
|
60
|
-
'BUYER': "buyer",
|
|
61
|
-
'ADDTOCARTER': "addToCarter",
|
|
62
|
-
},
|
|
63
58
|
('lookback_window',): {
|
|
64
59
|
'P7D': "P7D",
|
|
65
60
|
'P14D': "P14D",
|
|
@@ -71,6 +66,11 @@ class RmLegacyAudienceCreateEntityV1(ModelNormal):
|
|
|
71
66
|
'P150D': "P150D",
|
|
72
67
|
'P180D': "P180D",
|
|
73
68
|
},
|
|
69
|
+
('user_type',): {
|
|
70
|
+
'VIEWER': "viewer",
|
|
71
|
+
'BUYER': "buyer",
|
|
72
|
+
'ADDTOCARTER': "addToCarter",
|
|
73
|
+
},
|
|
74
74
|
}
|
|
75
75
|
|
|
76
76
|
validations = {
|
|
@@ -101,10 +101,10 @@ class RmLegacyAudienceCreateEntityV1(ModelNormal):
|
|
|
101
101
|
and the value is attribute type.
|
|
102
102
|
"""
|
|
103
103
|
return {
|
|
104
|
-
'user_type': (str,), # noqa: E501
|
|
105
104
|
'lookback_window': (str,), # noqa: E501
|
|
106
|
-
'retailer_id': (int,), # noqa: E501
|
|
107
105
|
'name': (str,), # noqa: E501
|
|
106
|
+
'retailer_id': (int,), # noqa: E501
|
|
107
|
+
'user_type': (str,), # noqa: E501
|
|
108
108
|
'brand_ids': ([int], none_type,), # noqa: E501
|
|
109
109
|
'category_ids': ([int], none_type,), # noqa: E501
|
|
110
110
|
}
|
|
@@ -115,10 +115,10 @@ class RmLegacyAudienceCreateEntityV1(ModelNormal):
|
|
|
115
115
|
|
|
116
116
|
|
|
117
117
|
attribute_map = {
|
|
118
|
-
'user_type': 'userType', # noqa: E501
|
|
119
118
|
'lookback_window': 'lookbackWindow', # noqa: E501
|
|
120
|
-
'retailer_id': 'retailerId', # noqa: E501
|
|
121
119
|
'name': 'name', # noqa: E501
|
|
120
|
+
'retailer_id': 'retailerId', # noqa: E501
|
|
121
|
+
'user_type': 'userType', # noqa: E501
|
|
122
122
|
'brand_ids': 'brandIds', # noqa: E501
|
|
123
123
|
'category_ids': 'categoryIds', # noqa: E501
|
|
124
124
|
}
|
|
@@ -130,14 +130,14 @@ class RmLegacyAudienceCreateEntityV1(ModelNormal):
|
|
|
130
130
|
|
|
131
131
|
@classmethod
|
|
132
132
|
@convert_js_args_to_python_args
|
|
133
|
-
def _from_openapi_data(cls,
|
|
133
|
+
def _from_openapi_data(cls, lookback_window, name, retailer_id, user_type, *args, **kwargs): # noqa: E501
|
|
134
134
|
"""RmLegacyAudienceCreateEntityV1 - a model defined in OpenAPI
|
|
135
135
|
|
|
136
136
|
Args:
|
|
137
|
-
user_type (str): Type of the user
|
|
138
137
|
lookback_window (str): Length of lookback window
|
|
139
|
-
retailer_id (int): ID of the retailer associated with this audience
|
|
140
138
|
name (str): Name of the audience
|
|
139
|
+
retailer_id (int): ID of the retailer associated with this audience
|
|
140
|
+
user_type (str): Type of the user
|
|
141
141
|
|
|
142
142
|
Keyword Args:
|
|
143
143
|
_check_type (bool): if True, values for parameters in openapi_types
|
|
@@ -203,10 +203,10 @@ class RmLegacyAudienceCreateEntityV1(ModelNormal):
|
|
|
203
203
|
self._configuration = _configuration
|
|
204
204
|
self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
|
|
205
205
|
|
|
206
|
-
self.user_type = user_type
|
|
207
206
|
self.lookback_window = lookback_window
|
|
208
|
-
self.retailer_id = retailer_id
|
|
209
207
|
self.name = name
|
|
208
|
+
self.retailer_id = retailer_id
|
|
209
|
+
self.user_type = user_type
|
|
210
210
|
for var_name, var_value in kwargs.items():
|
|
211
211
|
if var_name not in self.attribute_map and \
|
|
212
212
|
self._configuration is not None and \
|
|
@@ -227,14 +227,14 @@ class RmLegacyAudienceCreateEntityV1(ModelNormal):
|
|
|
227
227
|
])
|
|
228
228
|
|
|
229
229
|
@convert_js_args_to_python_args
|
|
230
|
-
def __init__(self,
|
|
230
|
+
def __init__(self, lookback_window, name, retailer_id, user_type, *args, **kwargs): # noqa: E501
|
|
231
231
|
"""RmLegacyAudienceCreateEntityV1 - a model defined in OpenAPI
|
|
232
232
|
|
|
233
233
|
Args:
|
|
234
|
-
user_type (str): Type of the user
|
|
235
234
|
lookback_window (str): Length of lookback window
|
|
236
|
-
retailer_id (int): ID of the retailer associated with this audience
|
|
237
235
|
name (str): Name of the audience
|
|
236
|
+
retailer_id (int): ID of the retailer associated with this audience
|
|
237
|
+
user_type (str): Type of the user
|
|
238
238
|
|
|
239
239
|
Keyword Args:
|
|
240
240
|
_check_type (bool): if True, values for parameters in openapi_types
|
|
@@ -298,10 +298,10 @@ class RmLegacyAudienceCreateEntityV1(ModelNormal):
|
|
|
298
298
|
self._configuration = _configuration
|
|
299
299
|
self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
|
|
300
300
|
|
|
301
|
-
self.user_type = user_type
|
|
302
301
|
self.lookback_window = lookback_window
|
|
303
|
-
self.retailer_id = retailer_id
|
|
304
302
|
self.name = name
|
|
303
|
+
self.retailer_id = retailer_id
|
|
304
|
+
self.user_type = user_type
|
|
305
305
|
for var_name, var_value in kwargs.items():
|
|
306
306
|
if var_name not in self.attribute_map and \
|
|
307
307
|
self._configuration is not None and \
|
|
@@ -90,8 +90,8 @@ class RmLegacyAudienceCreateEntityV1Response(ModelNormal):
|
|
|
90
90
|
lazy_import()
|
|
91
91
|
return {
|
|
92
92
|
'data': (RmLegacyAudienceCreateEntityV1Resource,), # noqa: E501
|
|
93
|
-
'warnings': ([CommonProblem], none_type,), # noqa: E501
|
|
94
93
|
'errors': ([CommonProblem], none_type,), # noqa: E501
|
|
94
|
+
'warnings': ([CommonProblem], none_type,), # noqa: E501
|
|
95
95
|
}
|
|
96
96
|
|
|
97
97
|
@cached_property
|
|
@@ -101,13 +101,13 @@ class RmLegacyAudienceCreateEntityV1Response(ModelNormal):
|
|
|
101
101
|
|
|
102
102
|
attribute_map = {
|
|
103
103
|
'data': 'data', # noqa: E501
|
|
104
|
-
'warnings': 'warnings', # noqa: E501
|
|
105
104
|
'errors': 'errors', # noqa: E501
|
|
105
|
+
'warnings': 'warnings', # noqa: E501
|
|
106
106
|
}
|
|
107
107
|
|
|
108
108
|
read_only_vars = {
|
|
109
|
-
'warnings', # noqa: E501
|
|
110
109
|
'errors', # noqa: E501
|
|
110
|
+
'warnings', # noqa: E501
|
|
111
111
|
}
|
|
112
112
|
|
|
113
113
|
_composed_schemas = {}
|
|
@@ -149,8 +149,8 @@ class RmLegacyAudienceCreateEntityV1Response(ModelNormal):
|
|
|
149
149
|
through its discriminator because we passed in
|
|
150
150
|
_visited_composed_classes = (Animal,)
|
|
151
151
|
data (RmLegacyAudienceCreateEntityV1Resource): [optional] # noqa: E501
|
|
152
|
-
warnings ([CommonProblem], none_type): [optional] # noqa: E501
|
|
153
152
|
errors ([CommonProblem], none_type): [optional] # noqa: E501
|
|
153
|
+
warnings ([CommonProblem], none_type): [optional] # noqa: E501
|
|
154
154
|
"""
|
|
155
155
|
|
|
156
156
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -237,8 +237,8 @@ class RmLegacyAudienceCreateEntityV1Response(ModelNormal):
|
|
|
237
237
|
through its discriminator because we passed in
|
|
238
238
|
_visited_composed_classes = (Animal,)
|
|
239
239
|
data (RmLegacyAudienceCreateEntityV1Resource): [optional] # noqa: E501
|
|
240
|
-
warnings ([CommonProblem], none_type): [optional] # noqa: E501
|
|
241
240
|
errors ([CommonProblem], none_type): [optional] # noqa: E501
|
|
241
|
+
warnings ([CommonProblem], none_type): [optional] # noqa: E501
|
|
242
242
|
"""
|
|
243
243
|
|
|
244
244
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -87,9 +87,9 @@ class RmLegacyAudienceCreateEntityV2(ModelNormal):
|
|
|
87
87
|
"""
|
|
88
88
|
lazy_import()
|
|
89
89
|
return {
|
|
90
|
+
'name': (str,), # noqa: E501
|
|
90
91
|
'retailer_id': (int,), # noqa: E501
|
|
91
92
|
'user_behavior_details': (RmLegacyAudienceUserBehaviorCreateV2,), # noqa: E501
|
|
92
|
-
'name': (str,), # noqa: E501
|
|
93
93
|
}
|
|
94
94
|
|
|
95
95
|
@cached_property
|
|
@@ -98,9 +98,9 @@ class RmLegacyAudienceCreateEntityV2(ModelNormal):
|
|
|
98
98
|
|
|
99
99
|
|
|
100
100
|
attribute_map = {
|
|
101
|
+
'name': 'name', # noqa: E501
|
|
101
102
|
'retailer_id': 'retailerId', # noqa: E501
|
|
102
103
|
'user_behavior_details': 'userBehaviorDetails', # noqa: E501
|
|
103
|
-
'name': 'name', # noqa: E501
|
|
104
104
|
}
|
|
105
105
|
|
|
106
106
|
read_only_vars = {
|
|
@@ -110,13 +110,13 @@ class RmLegacyAudienceCreateEntityV2(ModelNormal):
|
|
|
110
110
|
|
|
111
111
|
@classmethod
|
|
112
112
|
@convert_js_args_to_python_args
|
|
113
|
-
def _from_openapi_data(cls, retailer_id, user_behavior_details,
|
|
113
|
+
def _from_openapi_data(cls, name, retailer_id, user_behavior_details, *args, **kwargs): # noqa: E501
|
|
114
114
|
"""RmLegacyAudienceCreateEntityV2 - a model defined in OpenAPI
|
|
115
115
|
|
|
116
116
|
Args:
|
|
117
|
+
name (str): Name of the audience
|
|
117
118
|
retailer_id (int): ID of the retailer associated with this audience
|
|
118
119
|
user_behavior_details (RmLegacyAudienceUserBehaviorCreateV2):
|
|
119
|
-
name (str): Name of the audience
|
|
120
120
|
|
|
121
121
|
Keyword Args:
|
|
122
122
|
_check_type (bool): if True, values for parameters in openapi_types
|
|
@@ -180,9 +180,9 @@ class RmLegacyAudienceCreateEntityV2(ModelNormal):
|
|
|
180
180
|
self._configuration = _configuration
|
|
181
181
|
self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
|
|
182
182
|
|
|
183
|
+
self.name = name
|
|
183
184
|
self.retailer_id = retailer_id
|
|
184
185
|
self.user_behavior_details = user_behavior_details
|
|
185
|
-
self.name = name
|
|
186
186
|
for var_name, var_value in kwargs.items():
|
|
187
187
|
if var_name not in self.attribute_map and \
|
|
188
188
|
self._configuration is not None and \
|
|
@@ -203,13 +203,13 @@ class RmLegacyAudienceCreateEntityV2(ModelNormal):
|
|
|
203
203
|
])
|
|
204
204
|
|
|
205
205
|
@convert_js_args_to_python_args
|
|
206
|
-
def __init__(self, retailer_id, user_behavior_details,
|
|
206
|
+
def __init__(self, name, retailer_id, user_behavior_details, *args, **kwargs): # noqa: E501
|
|
207
207
|
"""RmLegacyAudienceCreateEntityV2 - a model defined in OpenAPI
|
|
208
208
|
|
|
209
209
|
Args:
|
|
210
|
+
name (str): Name of the audience
|
|
210
211
|
retailer_id (int): ID of the retailer associated with this audience
|
|
211
212
|
user_behavior_details (RmLegacyAudienceUserBehaviorCreateV2):
|
|
212
|
-
name (str): Name of the audience
|
|
213
213
|
|
|
214
214
|
Keyword Args:
|
|
215
215
|
_check_type (bool): if True, values for parameters in openapi_types
|
|
@@ -271,9 +271,9 @@ class RmLegacyAudienceCreateEntityV2(ModelNormal):
|
|
|
271
271
|
self._configuration = _configuration
|
|
272
272
|
self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
|
|
273
273
|
|
|
274
|
+
self.name = name
|
|
274
275
|
self.retailer_id = retailer_id
|
|
275
276
|
self.user_behavior_details = user_behavior_details
|
|
276
|
-
self.name = name
|
|
277
277
|
for var_name, var_value in kwargs.items():
|
|
278
278
|
if var_name not in self.attribute_map and \
|
|
279
279
|
self._configuration is not None and \
|
|
@@ -90,8 +90,8 @@ class RmLegacyAudienceCreateEntityV2Response(ModelNormal):
|
|
|
90
90
|
lazy_import()
|
|
91
91
|
return {
|
|
92
92
|
'data': (RmLegacyAudienceCreateEntityV2Resource,), # noqa: E501
|
|
93
|
-
'warnings': ([CommonProblem], none_type,), # noqa: E501
|
|
94
93
|
'errors': ([CommonProblem], none_type,), # noqa: E501
|
|
94
|
+
'warnings': ([CommonProblem], none_type,), # noqa: E501
|
|
95
95
|
}
|
|
96
96
|
|
|
97
97
|
@cached_property
|
|
@@ -101,13 +101,13 @@ class RmLegacyAudienceCreateEntityV2Response(ModelNormal):
|
|
|
101
101
|
|
|
102
102
|
attribute_map = {
|
|
103
103
|
'data': 'data', # noqa: E501
|
|
104
|
-
'warnings': 'warnings', # noqa: E501
|
|
105
104
|
'errors': 'errors', # noqa: E501
|
|
105
|
+
'warnings': 'warnings', # noqa: E501
|
|
106
106
|
}
|
|
107
107
|
|
|
108
108
|
read_only_vars = {
|
|
109
|
-
'warnings', # noqa: E501
|
|
110
109
|
'errors', # noqa: E501
|
|
110
|
+
'warnings', # noqa: E501
|
|
111
111
|
}
|
|
112
112
|
|
|
113
113
|
_composed_schemas = {}
|
|
@@ -149,8 +149,8 @@ class RmLegacyAudienceCreateEntityV2Response(ModelNormal):
|
|
|
149
149
|
through its discriminator because we passed in
|
|
150
150
|
_visited_composed_classes = (Animal,)
|
|
151
151
|
data (RmLegacyAudienceCreateEntityV2Resource): [optional] # noqa: E501
|
|
152
|
-
warnings ([CommonProblem], none_type): [optional] # noqa: E501
|
|
153
152
|
errors ([CommonProblem], none_type): [optional] # noqa: E501
|
|
153
|
+
warnings ([CommonProblem], none_type): [optional] # noqa: E501
|
|
154
154
|
"""
|
|
155
155
|
|
|
156
156
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -237,8 +237,8 @@ class RmLegacyAudienceCreateEntityV2Response(ModelNormal):
|
|
|
237
237
|
through its discriminator because we passed in
|
|
238
238
|
_visited_composed_classes = (Animal,)
|
|
239
239
|
data (RmLegacyAudienceCreateEntityV2Resource): [optional] # noqa: E501
|
|
240
|
-
warnings ([CommonProblem], none_type): [optional] # noqa: E501
|
|
241
240
|
errors ([CommonProblem], none_type): [optional] # noqa: E501
|
|
241
|
+
warnings ([CommonProblem], none_type): [optional] # noqa: E501
|
|
242
242
|
"""
|
|
243
243
|
|
|
244
244
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -91,8 +91,8 @@ class RmLegacyAudienceGetEntityV1(ModelNormal):
|
|
|
91
91
|
return {
|
|
92
92
|
'name': (str,), # noqa: E501
|
|
93
93
|
'retailer_id': (str,), # noqa: E501
|
|
94
|
-
'user_behavior_details': (RmLegacySegmentUserBehaviorV1,), # noqa: E501
|
|
95
94
|
'customer_list_details': (RmLegacySegmentCustomerList,), # noqa: E501
|
|
95
|
+
'user_behavior_details': (RmLegacySegmentUserBehaviorV1,), # noqa: E501
|
|
96
96
|
}
|
|
97
97
|
|
|
98
98
|
@cached_property
|
|
@@ -103,8 +103,8 @@ class RmLegacyAudienceGetEntityV1(ModelNormal):
|
|
|
103
103
|
attribute_map = {
|
|
104
104
|
'name': 'name', # noqa: E501
|
|
105
105
|
'retailer_id': 'retailerId', # noqa: E501
|
|
106
|
-
'user_behavior_details': 'userBehaviorDetails', # noqa: E501
|
|
107
106
|
'customer_list_details': 'customerListDetails', # noqa: E501
|
|
107
|
+
'user_behavior_details': 'userBehaviorDetails', # noqa: E501
|
|
108
108
|
}
|
|
109
109
|
|
|
110
110
|
read_only_vars = {
|
|
@@ -152,8 +152,8 @@ class RmLegacyAudienceGetEntityV1(ModelNormal):
|
|
|
152
152
|
Animal class but this time we won't travel
|
|
153
153
|
through its discriminator because we passed in
|
|
154
154
|
_visited_composed_classes = (Animal,)
|
|
155
|
-
user_behavior_details (RmLegacySegmentUserBehaviorV1): [optional] # noqa: E501
|
|
156
155
|
customer_list_details (RmLegacySegmentCustomerList): [optional] # noqa: E501
|
|
156
|
+
user_behavior_details (RmLegacySegmentUserBehaviorV1): [optional] # noqa: E501
|
|
157
157
|
"""
|
|
158
158
|
|
|
159
159
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -245,8 +245,8 @@ class RmLegacyAudienceGetEntityV1(ModelNormal):
|
|
|
245
245
|
Animal class but this time we won't travel
|
|
246
246
|
through its discriminator because we passed in
|
|
247
247
|
_visited_composed_classes = (Animal,)
|
|
248
|
-
user_behavior_details (RmLegacySegmentUserBehaviorV1): [optional] # noqa: E501
|
|
249
248
|
customer_list_details (RmLegacySegmentCustomerList): [optional] # noqa: E501
|
|
249
|
+
user_behavior_details (RmLegacySegmentUserBehaviorV1): [optional] # noqa: E501
|
|
250
250
|
"""
|
|
251
251
|
|
|
252
252
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -90,8 +90,8 @@ class RmLegacyAudienceGetEntityV1ListResponse(ModelNormal):
|
|
|
90
90
|
lazy_import()
|
|
91
91
|
return {
|
|
92
92
|
'data': ([RmLegacyAudienceGetEntityV1Resource], none_type,), # noqa: E501
|
|
93
|
-
'warnings': ([CommonProblem], none_type,), # noqa: E501
|
|
94
93
|
'errors': ([CommonProblem], none_type,), # noqa: E501
|
|
94
|
+
'warnings': ([CommonProblem], none_type,), # noqa: E501
|
|
95
95
|
}
|
|
96
96
|
|
|
97
97
|
@cached_property
|
|
@@ -101,13 +101,13 @@ class RmLegacyAudienceGetEntityV1ListResponse(ModelNormal):
|
|
|
101
101
|
|
|
102
102
|
attribute_map = {
|
|
103
103
|
'data': 'data', # noqa: E501
|
|
104
|
-
'warnings': 'warnings', # noqa: E501
|
|
105
104
|
'errors': 'errors', # noqa: E501
|
|
105
|
+
'warnings': 'warnings', # noqa: E501
|
|
106
106
|
}
|
|
107
107
|
|
|
108
108
|
read_only_vars = {
|
|
109
|
-
'warnings', # noqa: E501
|
|
110
109
|
'errors', # noqa: E501
|
|
110
|
+
'warnings', # noqa: E501
|
|
111
111
|
}
|
|
112
112
|
|
|
113
113
|
_composed_schemas = {}
|
|
@@ -149,8 +149,8 @@ class RmLegacyAudienceGetEntityV1ListResponse(ModelNormal):
|
|
|
149
149
|
through its discriminator because we passed in
|
|
150
150
|
_visited_composed_classes = (Animal,)
|
|
151
151
|
data ([RmLegacyAudienceGetEntityV1Resource], none_type): [optional] # noqa: E501
|
|
152
|
-
warnings ([CommonProblem], none_type): [optional] # noqa: E501
|
|
153
152
|
errors ([CommonProblem], none_type): [optional] # noqa: E501
|
|
153
|
+
warnings ([CommonProblem], none_type): [optional] # noqa: E501
|
|
154
154
|
"""
|
|
155
155
|
|
|
156
156
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -237,8 +237,8 @@ class RmLegacyAudienceGetEntityV1ListResponse(ModelNormal):
|
|
|
237
237
|
through its discriminator because we passed in
|
|
238
238
|
_visited_composed_classes = (Animal,)
|
|
239
239
|
data ([RmLegacyAudienceGetEntityV1Resource], none_type): [optional] # noqa: E501
|
|
240
|
-
warnings ([CommonProblem], none_type): [optional] # noqa: E501
|
|
241
240
|
errors ([CommonProblem], none_type): [optional] # noqa: E501
|
|
241
|
+
warnings ([CommonProblem], none_type): [optional] # noqa: E501
|
|
242
242
|
"""
|
|
243
243
|
|
|
244
244
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -93,8 +93,8 @@ class RmLegacyAudienceGetEntityV1Resource(ModelNormal):
|
|
|
93
93
|
lazy_import()
|
|
94
94
|
return {
|
|
95
95
|
'attributes': (RmLegacyAudienceGetEntityV1,), # noqa: E501
|
|
96
|
-
'id': (str, none_type,), # noqa: E501
|
|
97
96
|
'audience_type': (str, none_type,), # noqa: E501
|
|
97
|
+
'id': (str, none_type,), # noqa: E501
|
|
98
98
|
'type': (str, none_type,), # noqa: E501
|
|
99
99
|
}
|
|
100
100
|
|
|
@@ -105,8 +105,8 @@ class RmLegacyAudienceGetEntityV1Resource(ModelNormal):
|
|
|
105
105
|
|
|
106
106
|
attribute_map = {
|
|
107
107
|
'attributes': 'attributes', # noqa: E501
|
|
108
|
-
'id': 'id', # noqa: E501
|
|
109
108
|
'audience_type': 'audienceType', # noqa: E501
|
|
109
|
+
'id': 'id', # noqa: E501
|
|
110
110
|
'type': 'type', # noqa: E501
|
|
111
111
|
}
|
|
112
112
|
|
|
@@ -152,8 +152,8 @@ class RmLegacyAudienceGetEntityV1Resource(ModelNormal):
|
|
|
152
152
|
through its discriminator because we passed in
|
|
153
153
|
_visited_composed_classes = (Animal,)
|
|
154
154
|
attributes (RmLegacyAudienceGetEntityV1): [optional] # noqa: E501
|
|
155
|
-
id (str, none_type): Unique identifier of this resource.. [optional] # noqa: E501
|
|
156
155
|
audience_type (str, none_type): Type of the audience.. [optional] # noqa: E501
|
|
156
|
+
id (str, none_type): Unique identifier of this resource.. [optional] # noqa: E501
|
|
157
157
|
type (str, none_type): [optional] # noqa: E501
|
|
158
158
|
"""
|
|
159
159
|
|
|
@@ -241,8 +241,8 @@ class RmLegacyAudienceGetEntityV1Resource(ModelNormal):
|
|
|
241
241
|
through its discriminator because we passed in
|
|
242
242
|
_visited_composed_classes = (Animal,)
|
|
243
243
|
attributes (RmLegacyAudienceGetEntityV1): [optional] # noqa: E501
|
|
244
|
-
id (str, none_type): Unique identifier of this resource.. [optional] # noqa: E501
|
|
245
244
|
audience_type (str, none_type): Type of the audience.. [optional] # noqa: E501
|
|
245
|
+
id (str, none_type): Unique identifier of this resource.. [optional] # noqa: E501
|
|
246
246
|
type (str, none_type): [optional] # noqa: E501
|
|
247
247
|
"""
|
|
248
248
|
|
|
@@ -89,10 +89,10 @@ class RmLegacyAudienceGetEntityV2(ModelNormal):
|
|
|
89
89
|
"""
|
|
90
90
|
lazy_import()
|
|
91
91
|
return {
|
|
92
|
-
'retailer_id': (str,), # noqa: E501
|
|
93
92
|
'name': (str,), # noqa: E501
|
|
94
|
-
'
|
|
93
|
+
'retailer_id': (str,), # noqa: E501
|
|
95
94
|
'customer_list_details': (RmLegacySegmentCustomerList,), # noqa: E501
|
|
95
|
+
'user_behavior_details': (RmLegacyAudienceUserBehaviorDetailsV2,), # noqa: E501
|
|
96
96
|
}
|
|
97
97
|
|
|
98
98
|
@cached_property
|
|
@@ -101,10 +101,10 @@ class RmLegacyAudienceGetEntityV2(ModelNormal):
|
|
|
101
101
|
|
|
102
102
|
|
|
103
103
|
attribute_map = {
|
|
104
|
-
'retailer_id': 'retailerId', # noqa: E501
|
|
105
104
|
'name': 'name', # noqa: E501
|
|
106
|
-
'
|
|
105
|
+
'retailer_id': 'retailerId', # noqa: E501
|
|
107
106
|
'customer_list_details': 'customerListDetails', # noqa: E501
|
|
107
|
+
'user_behavior_details': 'userBehaviorDetails', # noqa: E501
|
|
108
108
|
}
|
|
109
109
|
|
|
110
110
|
read_only_vars = {
|
|
@@ -114,12 +114,12 @@ class RmLegacyAudienceGetEntityV2(ModelNormal):
|
|
|
114
114
|
|
|
115
115
|
@classmethod
|
|
116
116
|
@convert_js_args_to_python_args
|
|
117
|
-
def _from_openapi_data(cls,
|
|
117
|
+
def _from_openapi_data(cls, name, retailer_id, *args, **kwargs): # noqa: E501
|
|
118
118
|
"""RmLegacyAudienceGetEntityV2 - a model defined in OpenAPI
|
|
119
119
|
|
|
120
120
|
Args:
|
|
121
|
-
retailer_id (str): ID of the retailer associated with this audience
|
|
122
121
|
name (str): Name of the audience
|
|
122
|
+
retailer_id (str): ID of the retailer associated with this audience
|
|
123
123
|
|
|
124
124
|
Keyword Args:
|
|
125
125
|
_check_type (bool): if True, values for parameters in openapi_types
|
|
@@ -152,8 +152,8 @@ class RmLegacyAudienceGetEntityV2(ModelNormal):
|
|
|
152
152
|
Animal class but this time we won't travel
|
|
153
153
|
through its discriminator because we passed in
|
|
154
154
|
_visited_composed_classes = (Animal,)
|
|
155
|
-
user_behavior_details (RmLegacyAudienceUserBehaviorDetailsV2): [optional] # noqa: E501
|
|
156
155
|
customer_list_details (RmLegacySegmentCustomerList): [optional] # noqa: E501
|
|
156
|
+
user_behavior_details (RmLegacyAudienceUserBehaviorDetailsV2): [optional] # noqa: E501
|
|
157
157
|
"""
|
|
158
158
|
|
|
159
159
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -185,8 +185,8 @@ class RmLegacyAudienceGetEntityV2(ModelNormal):
|
|
|
185
185
|
self._configuration = _configuration
|
|
186
186
|
self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
|
|
187
187
|
|
|
188
|
-
self.retailer_id = retailer_id
|
|
189
188
|
self.name = name
|
|
189
|
+
self.retailer_id = retailer_id
|
|
190
190
|
for var_name, var_value in kwargs.items():
|
|
191
191
|
if var_name not in self.attribute_map and \
|
|
192
192
|
self._configuration is not None and \
|
|
@@ -207,12 +207,12 @@ class RmLegacyAudienceGetEntityV2(ModelNormal):
|
|
|
207
207
|
])
|
|
208
208
|
|
|
209
209
|
@convert_js_args_to_python_args
|
|
210
|
-
def __init__(self,
|
|
210
|
+
def __init__(self, name, retailer_id, *args, **kwargs): # noqa: E501
|
|
211
211
|
"""RmLegacyAudienceGetEntityV2 - a model defined in OpenAPI
|
|
212
212
|
|
|
213
213
|
Args:
|
|
214
|
-
retailer_id (str): ID of the retailer associated with this audience
|
|
215
214
|
name (str): Name of the audience
|
|
215
|
+
retailer_id (str): ID of the retailer associated with this audience
|
|
216
216
|
|
|
217
217
|
Keyword Args:
|
|
218
218
|
_check_type (bool): if True, values for parameters in openapi_types
|
|
@@ -245,8 +245,8 @@ class RmLegacyAudienceGetEntityV2(ModelNormal):
|
|
|
245
245
|
Animal class but this time we won't travel
|
|
246
246
|
through its discriminator because we passed in
|
|
247
247
|
_visited_composed_classes = (Animal,)
|
|
248
|
-
user_behavior_details (RmLegacyAudienceUserBehaviorDetailsV2): [optional] # noqa: E501
|
|
249
248
|
customer_list_details (RmLegacySegmentCustomerList): [optional] # noqa: E501
|
|
249
|
+
user_behavior_details (RmLegacyAudienceUserBehaviorDetailsV2): [optional] # noqa: E501
|
|
250
250
|
"""
|
|
251
251
|
|
|
252
252
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -276,8 +276,8 @@ class RmLegacyAudienceGetEntityV2(ModelNormal):
|
|
|
276
276
|
self._configuration = _configuration
|
|
277
277
|
self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
|
|
278
278
|
|
|
279
|
-
self.retailer_id = retailer_id
|
|
280
279
|
self.name = name
|
|
280
|
+
self.retailer_id = retailer_id
|
|
281
281
|
for var_name, var_value in kwargs.items():
|
|
282
282
|
if var_name not in self.attribute_map and \
|
|
283
283
|
self._configuration is not None and \
|
|
@@ -90,8 +90,8 @@ class RmLegacyAudienceGetEntityV2ListResponse(ModelNormal):
|
|
|
90
90
|
lazy_import()
|
|
91
91
|
return {
|
|
92
92
|
'data': ([RmLegacyAudienceGetEntityV2Resource], none_type,), # noqa: E501
|
|
93
|
-
'warnings': ([CommonProblem], none_type,), # noqa: E501
|
|
94
93
|
'errors': ([CommonProblem], none_type,), # noqa: E501
|
|
94
|
+
'warnings': ([CommonProblem], none_type,), # noqa: E501
|
|
95
95
|
}
|
|
96
96
|
|
|
97
97
|
@cached_property
|
|
@@ -101,13 +101,13 @@ class RmLegacyAudienceGetEntityV2ListResponse(ModelNormal):
|
|
|
101
101
|
|
|
102
102
|
attribute_map = {
|
|
103
103
|
'data': 'data', # noqa: E501
|
|
104
|
-
'warnings': 'warnings', # noqa: E501
|
|
105
104
|
'errors': 'errors', # noqa: E501
|
|
105
|
+
'warnings': 'warnings', # noqa: E501
|
|
106
106
|
}
|
|
107
107
|
|
|
108
108
|
read_only_vars = {
|
|
109
|
-
'warnings', # noqa: E501
|
|
110
109
|
'errors', # noqa: E501
|
|
110
|
+
'warnings', # noqa: E501
|
|
111
111
|
}
|
|
112
112
|
|
|
113
113
|
_composed_schemas = {}
|
|
@@ -149,8 +149,8 @@ class RmLegacyAudienceGetEntityV2ListResponse(ModelNormal):
|
|
|
149
149
|
through its discriminator because we passed in
|
|
150
150
|
_visited_composed_classes = (Animal,)
|
|
151
151
|
data ([RmLegacyAudienceGetEntityV2Resource], none_type): [optional] # noqa: E501
|
|
152
|
-
warnings ([CommonProblem], none_type): [optional] # noqa: E501
|
|
153
152
|
errors ([CommonProblem], none_type): [optional] # noqa: E501
|
|
153
|
+
warnings ([CommonProblem], none_type): [optional] # noqa: E501
|
|
154
154
|
"""
|
|
155
155
|
|
|
156
156
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -237,8 +237,8 @@ class RmLegacyAudienceGetEntityV2ListResponse(ModelNormal):
|
|
|
237
237
|
through its discriminator because we passed in
|
|
238
238
|
_visited_composed_classes = (Animal,)
|
|
239
239
|
data ([RmLegacyAudienceGetEntityV2Resource], none_type): [optional] # noqa: E501
|
|
240
|
-
warnings ([CommonProblem], none_type): [optional] # noqa: E501
|
|
241
240
|
errors ([CommonProblem], none_type): [optional] # noqa: E501
|
|
241
|
+
warnings ([CommonProblem], none_type): [optional] # noqa: E501
|
|
242
242
|
"""
|
|
243
243
|
|
|
244
244
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -81,8 +81,8 @@ class RmLegacySegmentCustomerList(ModelNormal):
|
|
|
81
81
|
and the value is attribute type.
|
|
82
82
|
"""
|
|
83
83
|
return {
|
|
84
|
-
'size': (str,), # noqa: E501
|
|
85
84
|
'is_shared': (bool,), # noqa: E501
|
|
85
|
+
'size': (str,), # noqa: E501
|
|
86
86
|
}
|
|
87
87
|
|
|
88
88
|
@cached_property
|
|
@@ -91,8 +91,8 @@ class RmLegacySegmentCustomerList(ModelNormal):
|
|
|
91
91
|
|
|
92
92
|
|
|
93
93
|
attribute_map = {
|
|
94
|
-
'size': 'size', # noqa: E501
|
|
95
94
|
'is_shared': 'isShared', # noqa: E501
|
|
95
|
+
'size': 'size', # noqa: E501
|
|
96
96
|
}
|
|
97
97
|
|
|
98
98
|
read_only_vars = {
|
|
@@ -102,12 +102,12 @@ class RmLegacySegmentCustomerList(ModelNormal):
|
|
|
102
102
|
|
|
103
103
|
@classmethod
|
|
104
104
|
@convert_js_args_to_python_args
|
|
105
|
-
def _from_openapi_data(cls,
|
|
105
|
+
def _from_openapi_data(cls, is_shared, size, *args, **kwargs): # noqa: E501
|
|
106
106
|
"""RmLegacySegmentCustomerList - a model defined in OpenAPI
|
|
107
107
|
|
|
108
108
|
Args:
|
|
109
|
-
size (str): Number of users in the customer list audience.
|
|
110
109
|
is_shared (bool): Indicate if the audience is shared.
|
|
110
|
+
size (str): Number of users in the customer list audience.
|
|
111
111
|
|
|
112
112
|
Keyword Args:
|
|
113
113
|
_check_type (bool): if True, values for parameters in openapi_types
|
|
@@ -171,8 +171,8 @@ class RmLegacySegmentCustomerList(ModelNormal):
|
|
|
171
171
|
self._configuration = _configuration
|
|
172
172
|
self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
|
|
173
173
|
|
|
174
|
-
self.size = size
|
|
175
174
|
self.is_shared = is_shared
|
|
175
|
+
self.size = size
|
|
176
176
|
for var_name, var_value in kwargs.items():
|
|
177
177
|
if var_name not in self.attribute_map and \
|
|
178
178
|
self._configuration is not None and \
|
|
@@ -193,12 +193,12 @@ class RmLegacySegmentCustomerList(ModelNormal):
|
|
|
193
193
|
])
|
|
194
194
|
|
|
195
195
|
@convert_js_args_to_python_args
|
|
196
|
-
def __init__(self,
|
|
196
|
+
def __init__(self, is_shared, size, *args, **kwargs): # noqa: E501
|
|
197
197
|
"""RmLegacySegmentCustomerList - a model defined in OpenAPI
|
|
198
198
|
|
|
199
199
|
Args:
|
|
200
|
-
size (str): Number of users in the customer list audience.
|
|
201
200
|
is_shared (bool): Indicate if the audience is shared.
|
|
201
|
+
size (str): Number of users in the customer list audience.
|
|
202
202
|
|
|
203
203
|
Keyword Args:
|
|
204
204
|
_check_type (bool): if True, values for parameters in openapi_types
|
|
@@ -260,8 +260,8 @@ class RmLegacySegmentCustomerList(ModelNormal):
|
|
|
260
260
|
self._configuration = _configuration
|
|
261
261
|
self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
|
|
262
262
|
|
|
263
|
-
self.size = size
|
|
264
263
|
self.is_shared = is_shared
|
|
264
|
+
self.size = size
|
|
265
265
|
for var_name, var_value in kwargs.items():
|
|
266
266
|
if var_name not in self.attribute_map and \
|
|
267
267
|
self._configuration is not None and \
|