criteo-api-retailmedia-sdk 0.0.240207__py3-none-any.whl → 0.0.240515__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- criteo_api_retailmedia_preview/__init__.py +1 -1
- criteo_api_retailmedia_preview/api/accounts_api.py +181 -35
- criteo_api_retailmedia_preview/api/analytics_api.py +142 -0
- criteo_api_retailmedia_preview/api/audience_api.py +284 -0
- criteo_api_retailmedia_preview/api/campaign_api.py +1678 -902
- criteo_api_retailmedia_preview/api/catalog_api.py +312 -0
- criteo_api_retailmedia_preview/api_client.py +4 -4
- criteo_api_retailmedia_preview/apis/__init__.py +1 -0
- criteo_api_retailmedia_preview/configuration.py +1 -1
- criteo_api_retailmedia_preview/model/{retail_media_externalv1_add_remove_keyword_model.py → add_remove_keyword_model.py} +12 -19
- criteo_api_retailmedia_preview/model/add_remove_keywords_model.py +262 -0
- criteo_api_retailmedia_preview/model/add_remove_keywords_model_request.py +262 -0
- criteo_api_retailmedia_preview/model/add_remove_keywords_model_resource.py +270 -0
- criteo_api_retailmedia_preview/model/approval_status_model.py +292 -0
- criteo_api_retailmedia_preview/model/async_accounts_report.py +421 -0
- criteo_api_retailmedia_preview/model/{external_catalog_request_preview.py → async_accounts_report_request.py} +13 -10
- criteo_api_retailmedia_preview/model/async_accounts_report_resource.py +273 -0
- criteo_api_retailmedia_preview/model/async_campaigns_report.py +74 -59
- criteo_api_retailmedia_preview/model/async_line_items_report.py +74 -60
- criteo_api_retailmedia_preview/model/audience_error.py +310 -0
- criteo_api_retailmedia_preview/model/{template_variable.py → audience_warning.py} +48 -46
- criteo_api_retailmedia_preview/model/{hyperlink_variable_value.py → batch_accepted_response.py} +11 -11
- criteo_api_retailmedia_preview/model/change_details.py +275 -0
- criteo_api_retailmedia_preview/model/{creative202210_list_response.py → creative_v2_list_response.py} +16 -16
- criteo_api_retailmedia_preview/model/{value_resource_collection_outcome_of_int64.py → creative_v2_response.py} +16 -9
- criteo_api_retailmedia_preview/model/custom_attribute.py +275 -0
- criteo_api_retailmedia_preview/model/error_code_response.py +281 -0
- criteo_api_retailmedia_preview/model/export_report_column.py +2 -2
- criteo_api_retailmedia_preview/model/{choice_variable_value.py → external_choice_variable_value.py} +3 -3
- criteo_api_retailmedia_preview/model/{color_variable_value.py → external_color_variable_value.py} +8 -14
- criteo_api_retailmedia_preview/model/{creative_update_model202207.py → external_creative_create_model_v2.py} +11 -11
- criteo_api_retailmedia_preview/model/{creative_create_model202207.py → external_creative_update_model_v2.py} +11 -11
- criteo_api_retailmedia_preview/model/{creative202210.py → external_creative_v2.py} +34 -28
- criteo_api_retailmedia_preview/model/{files_variable_value.py → external_files_variable_value.py} +4 -3
- criteo_api_retailmedia_preview/model/{text_variable_specification.py → external_hyperlink_variable_value.py} +7 -7
- criteo_api_retailmedia_preview/model/{line_item_bid_multipliers.py → external_line_item_bid_multipliers_v2.py} +41 -29
- criteo_api_retailmedia_preview/model/external_line_item_capping_v2.py +280 -0
- criteo_api_retailmedia_preview/model/external_line_item_page_category_v2.py +273 -0
- criteo_api_retailmedia_preview/model/{choice_variable_specification.py → external_line_item_page_v2.py} +36 -21
- criteo_api_retailmedia_preview/model/{page_type_environment.py → external_page_type_environment.py} +15 -9
- criteo_api_retailmedia_preview/model/external_preferred_line_item_create_model_v2.py +345 -0
- criteo_api_retailmedia_preview/model/{external_catalog_status.py → external_preferred_line_item_update_model_v2.py} +70 -47
- criteo_api_retailmedia_preview/model/{template.py → external_preferred_line_item_v2.py} +93 -70
- criteo_api_retailmedia_preview/model/{template_variable_value.py → external_template_variable_value.py} +36 -30
- criteo_api_retailmedia_preview/model/{text_variable_value.py → external_text_variable_value.py} +8 -14
- criteo_api_retailmedia_preview/model/external_video_variable_value.py +293 -0
- criteo_api_retailmedia_preview/model/{choice_option.py → fail_response.py} +21 -19
- criteo_api_retailmedia_preview/model/{retail_media_externalv1_input_keywords_model.py → input_keywords_model.py} +4 -16
- criteo_api_retailmedia_preview/model/{retail_media_externalv1_add_remove_keywords_model.py → input_resource_of_preferred_line_item_create_model_v2.py} +13 -11
- criteo_api_retailmedia_preview/model/insertion_order_history_change_data_capture.py +303 -0
- criteo_api_retailmedia_preview/model/{retail_media_externalv1_set_bids_model.py → installment.py} +13 -11
- criteo_api_retailmedia_preview/model/{json_api_body_with_id_of_int64_and_line_item_bid_multipliers_and_line_item_bid_multipliers.py → json_api_body_with_id_of_int64_and_line_item_bid_multipliers_v2_and_line_item_bid_multipliers_v2.py} +8 -8
- criteo_api_retailmedia_preview/model/{json_api_single_response_of_line_item_bid_multipliers.py → json_api_single_response_of_line_item_bid_multipliers_v2.py} +14 -14
- criteo_api_retailmedia_preview/model/{retail_media_externalv1_keyword_data_model.py → keyword_data_model.py} +19 -37
- criteo_api_retailmedia_preview/model/{retail_media_externalv1_keywords_model.py → keywords_model.py} +9 -18
- criteo_api_retailmedia_preview/model/keywords_model_resource.py +270 -0
- criteo_api_retailmedia_preview/model/keywords_model_response.py +274 -0
- criteo_api_retailmedia_preview/model/{line_item_bid_multipliers_request.py → line_item_bid_multipliers_v2_request.py} +8 -8
- criteo_api_retailmedia_preview/model/{line_item_bid_multipliers_response.py → line_item_bid_multipliers_v2_response.py} +16 -16
- criteo_api_retailmedia_preview/model/line_item_product_status.py +291 -0
- criteo_api_retailmedia_preview/model/loyalty_points.py +271 -0
- criteo_api_retailmedia_preview/model/match_type_model.py +291 -0
- criteo_api_retailmedia_preview/model/metadata.py +273 -0
- criteo_api_retailmedia_preview/model/negotiation_state_model.py +293 -0
- criteo_api_retailmedia_preview/model/page_of_insertion_order_history_change_data_capture.py +276 -0
- criteo_api_retailmedia_preview/model/{json_api_request_of_catalog_request_preview.py → preferred_line_item_create_model_v2_request.py} +8 -8
- criteo_api_retailmedia_preview/model/{retail_media_externalv1_set_bids_model_request.py → preferred_line_item_update_model_v2_request.py} +8 -8
- criteo_api_retailmedia_preview/model/{creative202210_response.py → preferred_line_item_v2_paged_list_response.py} +22 -16
- criteo_api_retailmedia_preview/model/{template_response.py → preferred_line_item_v2_response.py} +16 -16
- criteo_api_retailmedia_preview/model/price.py +267 -0
- criteo_api_retailmedia_preview/model/product.py +626 -0
- criteo_api_retailmedia_preview/model/product_importer_error.py +299 -0
- criteo_api_retailmedia_preview/model/product_importer_warning.py +299 -0
- criteo_api_retailmedia_preview/model/product_metadata.py +269 -0
- criteo_api_retailmedia_preview/model/product_resource_outcome.py +266 -0
- criteo_api_retailmedia_preview/model/{retail_media_externalv1_keywords_model_response.py → product_shipping.py} +33 -25
- criteo_api_retailmedia_preview/model/product_shipping_dimension.py +267 -0
- criteo_api_retailmedia_preview/model/product_shipping_weight.py +267 -0
- criteo_api_retailmedia_preview/model/product_tax.py +283 -0
- criteo_api_retailmedia_preview/model/product_unit_pricing_base_measure.py +267 -0
- criteo_api_retailmedia_preview/model/product_unit_pricing_measure.py +267 -0
- criteo_api_retailmedia_preview/model/{section.py → products_custom_batch_request.py} +13 -19
- criteo_api_retailmedia_preview/model/products_custom_batch_request_entry.py +305 -0
- criteo_api_retailmedia_preview/model/promoted_product.py +270 -0
- criteo_api_retailmedia_preview/model/promoted_product_resource.py +270 -0
- criteo_api_retailmedia_preview/model/promoted_product_resource_collection_input.py +262 -0
- criteo_api_retailmedia_preview/model/promoted_product_resource_collection_outcome.py +278 -0
- criteo_api_retailmedia_preview/model/{retail_media_externalv1_proposal_status_model.py → proposal_status_model.py} +22 -50
- criteo_api_retailmedia_preview/model/proposal_status_model_resource.py +270 -0
- criteo_api_retailmedia_preview/model/{template_list_response.py → proposal_status_model_response.py} +20 -27
- criteo_api_retailmedia_preview/model/report_detail_error.py +299 -0
- criteo_api_retailmedia_preview/model/{retail_media_externalv1_add_remove_keywords_model_request.py → report_detail_errors.py} +23 -11
- criteo_api_retailmedia_preview/model/{retail_media_externalv1_keywords_model_resource.py → report_ok_response.py} +56 -21
- criteo_api_retailmedia_preview/model/{resource_of_creative202210.py → resource_of_creative_v2.py} +8 -8
- criteo_api_retailmedia_preview/model/{resource_of_template.py → resource_of_line_item_bid_multipliers_v2.py} +8 -8
- criteo_api_retailmedia_preview/model/{retail_media_externalv1_add_remove_keywords_model_resource.py → resource_of_preferred_line_item_update_model_v2.py} +16 -22
- criteo_api_retailmedia_preview/model/{resource_of_line_item_bid_multipliers.py → resource_of_preferred_line_item_v2.py} +9 -9
- criteo_api_retailmedia_preview/model/resource_outcome.py +268 -0
- criteo_api_retailmedia_preview/model/retail_media_account.py +6 -6
- criteo_api_retailmedia_preview/model/retail_media_brands.py +257 -0
- criteo_api_retailmedia_preview/model/{json_api_body_without_id_of_catalog_request_and_catalog_request_preview.py → retail_media_contactlist_amendment.py} +16 -16
- criteo_api_retailmedia_preview/model/{retail_media_externalv1_set_bids_model_resource.py → retail_media_contactlist_amendment_attributes.py} +34 -25
- criteo_api_retailmedia_preview/model/retail_media_contactlist_amendment_request.py +275 -0
- criteo_api_retailmedia_preview/model/{json_api_single_response_of_catalog_status.py → retail_media_contactlist_operation.py} +24 -20
- criteo_api_retailmedia_preview/model/{json_api_body_with_id_of_int64_and_catalog_status_and_catalog_status.py → retail_media_contactlist_operation_response_attributes.py} +14 -18
- criteo_api_retailmedia_preview/model/retail_media_contactlist_operation_response_attributes_attributes.py +297 -0
- criteo_api_retailmedia_preview/model/review_state_model.py +294 -0
- criteo_api_retailmedia_preview/model/{retail_media_externalv1_problem_details.py → rmca_common_problem.py} +41 -30
- criteo_api_retailmedia_preview/model/{retail_media_externalv1_set_bid_model.py → set_bid_model.py} +4 -10
- criteo_api_retailmedia_preview/model/set_bids_model.py +262 -0
- criteo_api_retailmedia_preview/model/set_bids_model_request.py +262 -0
- criteo_api_retailmedia_preview/model/set_bids_model_resource.py +270 -0
- criteo_api_retailmedia_preview/model/sync_attributed_transactions_report.py +47 -45
- criteo_api_retailmedia_preview/model/sync_campaigns_report.py +68 -53
- criteo_api_retailmedia_preview/model/sync_line_items_report.py +70 -56
- criteo_api_retailmedia_preview/model/value_resource_collection_input_of_retail_media_seller.py +262 -0
- criteo_api_retailmedia_preview/model/value_resource_input_of_retail_media_brand_account_creation.py +262 -0
- criteo_api_retailmedia_preview/model/value_resource_input_of_retail_media_brands.py +262 -0
- criteo_api_retailmedia_preview/model/value_resource_input_of_retail_media_seller_account_creation.py +262 -0
- criteo_api_retailmedia_preview/model/value_resource_of_retail_media_brand_account_creation.py +266 -0
- criteo_api_retailmedia_preview/model/{value_resource_of_int64.py → value_resource_of_retail_media_brands.py} +11 -6
- criteo_api_retailmedia_preview/model/value_resource_of_retail_media_seller_account_creation.py +266 -0
- criteo_api_retailmedia_preview/models/__init__.py +106 -55
- {criteo_api_retailmedia_sdk-0.0.240207.dist-info → criteo_api_retailmedia_sdk-0.0.240515.dist-info}/METADATA +3 -3
- {criteo_api_retailmedia_sdk-0.0.240207.dist-info → criteo_api_retailmedia_sdk-0.0.240515.dist-info}/RECORD +127 -75
- {criteo_api_retailmedia_sdk-0.0.240207.dist-info → criteo_api_retailmedia_sdk-0.0.240515.dist-info}/WHEEL +1 -1
- criteo_api_retailmedia_preview/model/files_variables_specification.py +0 -290
- criteo_api_retailmedia_preview/model/retail_media_externalv1_proposal_status_model_resource.py +0 -283
- criteo_api_retailmedia_preview/model/retail_media_externalv1_proposal_status_model_response.py +0 -285
- criteo_api_retailmedia_preview/model/retail_media_externalv1_resource_outcome.py +0 -279
- {criteo_api_retailmedia_sdk-0.0.240207.dist-info → criteo_api_retailmedia_sdk-0.0.240515.dist-info}/top_level.txt +0 -0
|
@@ -0,0 +1,268 @@
|
|
|
1
|
+
"""
|
|
2
|
+
Criteo API
|
|
3
|
+
|
|
4
|
+
Criteo API - RetailMedia # noqa: E501
|
|
5
|
+
|
|
6
|
+
The version of the OpenAPI document: Preview
|
|
7
|
+
Generated by: https://openapi-generator.tech
|
|
8
|
+
"""
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
import re # noqa: F401
|
|
12
|
+
import sys # noqa: F401
|
|
13
|
+
|
|
14
|
+
from criteo_api_retailmedia_preview.model_utils import ( # noqa: F401
|
|
15
|
+
ApiTypeError,
|
|
16
|
+
ModelComposed,
|
|
17
|
+
ModelNormal,
|
|
18
|
+
ModelSimple,
|
|
19
|
+
cached_property,
|
|
20
|
+
change_keys_js_to_python,
|
|
21
|
+
convert_js_args_to_python_args,
|
|
22
|
+
date,
|
|
23
|
+
datetime,
|
|
24
|
+
file_type,
|
|
25
|
+
none_type,
|
|
26
|
+
validate_get_composed_info,
|
|
27
|
+
OpenApiModel
|
|
28
|
+
)
|
|
29
|
+
from criteo_api_retailmedia_preview.exceptions import ApiAttributeError
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
def lazy_import():
|
|
33
|
+
from criteo_api_retailmedia_preview.model.rmca_common_problem import RmcaCommonProblem
|
|
34
|
+
globals()['RmcaCommonProblem'] = RmcaCommonProblem
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
class ResourceOutcome(ModelNormal):
|
|
38
|
+
"""NOTE: This class is auto generated by OpenAPI Generator.
|
|
39
|
+
Ref: https://openapi-generator.tech
|
|
40
|
+
|
|
41
|
+
Do not edit the class manually.
|
|
42
|
+
|
|
43
|
+
Attributes:
|
|
44
|
+
allowed_values (dict): The key is the tuple path to the attribute
|
|
45
|
+
and the for var_name this is (var_name,). The value is a dict
|
|
46
|
+
with a capitalized key describing the allowed value and an allowed
|
|
47
|
+
value. These dicts store the allowed enum values.
|
|
48
|
+
attribute_map (dict): The key is attribute name
|
|
49
|
+
and the value is json key in definition.
|
|
50
|
+
discriminator_value_class_map (dict): A dict to go from the discriminator
|
|
51
|
+
variable value to the discriminator class name.
|
|
52
|
+
validations (dict): The key is the tuple path to the attribute
|
|
53
|
+
and the for var_name this is (var_name,). The value is a dict
|
|
54
|
+
that stores validations for max_length, min_length, max_items,
|
|
55
|
+
min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum,
|
|
56
|
+
inclusive_minimum, and regex.
|
|
57
|
+
additional_properties_type (tuple): A tuple of classes accepted
|
|
58
|
+
as additional properties values.
|
|
59
|
+
"""
|
|
60
|
+
|
|
61
|
+
allowed_values = {
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
validations = {
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
additional_properties_type = None
|
|
68
|
+
|
|
69
|
+
_nullable = False
|
|
70
|
+
|
|
71
|
+
@cached_property
|
|
72
|
+
def openapi_types():
|
|
73
|
+
"""
|
|
74
|
+
This must be a method because a model may have properties that are
|
|
75
|
+
of type self, this must run after the class is loaded
|
|
76
|
+
|
|
77
|
+
Returns
|
|
78
|
+
openapi_types (dict): The key is attribute name
|
|
79
|
+
and the value is attribute type.
|
|
80
|
+
"""
|
|
81
|
+
lazy_import()
|
|
82
|
+
return {
|
|
83
|
+
'errors': ([RmcaCommonProblem], none_type,), # noqa: E501
|
|
84
|
+
'warnings': ([RmcaCommonProblem], none_type,), # noqa: E501
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
@cached_property
|
|
88
|
+
def discriminator():
|
|
89
|
+
return None
|
|
90
|
+
|
|
91
|
+
|
|
92
|
+
attribute_map = {
|
|
93
|
+
'errors': 'errors', # noqa: E501
|
|
94
|
+
'warnings': 'warnings', # noqa: E501
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
read_only_vars = {
|
|
98
|
+
'errors', # noqa: E501
|
|
99
|
+
'warnings', # noqa: E501
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
_composed_schemas = {}
|
|
103
|
+
|
|
104
|
+
@classmethod
|
|
105
|
+
@convert_js_args_to_python_args
|
|
106
|
+
def _from_openapi_data(cls, *args, **kwargs): # noqa: E501
|
|
107
|
+
"""ResourceOutcome - a model defined in OpenAPI
|
|
108
|
+
|
|
109
|
+
Keyword Args:
|
|
110
|
+
_check_type (bool): if True, values for parameters in openapi_types
|
|
111
|
+
will be type checked and a TypeError will be
|
|
112
|
+
raised if the wrong type is input.
|
|
113
|
+
Defaults to True
|
|
114
|
+
_path_to_item (tuple/list): This is a list of keys or values to
|
|
115
|
+
drill down to the model in received_data
|
|
116
|
+
when deserializing a response
|
|
117
|
+
_spec_property_naming (bool): True if the variable names in the input data
|
|
118
|
+
are serialized names, as specified in the OpenAPI document.
|
|
119
|
+
False if the variable names in the input data
|
|
120
|
+
are pythonic names, e.g. snake case (default)
|
|
121
|
+
_configuration (Configuration): the instance to use when
|
|
122
|
+
deserializing a file_type parameter.
|
|
123
|
+
If passed, type conversion is attempted
|
|
124
|
+
If omitted no type conversion is done.
|
|
125
|
+
_visited_composed_classes (tuple): This stores a tuple of
|
|
126
|
+
classes that we have traveled through so that
|
|
127
|
+
if we see that class again we will not use its
|
|
128
|
+
discriminator again.
|
|
129
|
+
When traveling through a discriminator, the
|
|
130
|
+
composed schema that is
|
|
131
|
+
is traveled through is added to this set.
|
|
132
|
+
For example if Animal has a discriminator
|
|
133
|
+
petType and we pass in "Dog", and the class Dog
|
|
134
|
+
allOf includes Animal, we move through Animal
|
|
135
|
+
once using the discriminator, and pick Dog.
|
|
136
|
+
Then in Dog, we will make an instance of the
|
|
137
|
+
Animal class but this time we won't travel
|
|
138
|
+
through its discriminator because we passed in
|
|
139
|
+
_visited_composed_classes = (Animal,)
|
|
140
|
+
errors ([RmcaCommonProblem], none_type): [optional] # noqa: E501
|
|
141
|
+
warnings ([RmcaCommonProblem], none_type): [optional] # noqa: E501
|
|
142
|
+
"""
|
|
143
|
+
|
|
144
|
+
_check_type = kwargs.pop('_check_type', True)
|
|
145
|
+
_spec_property_naming = kwargs.pop('_spec_property_naming', True)
|
|
146
|
+
_path_to_item = kwargs.pop('_path_to_item', ())
|
|
147
|
+
_configuration = kwargs.pop('_configuration', None)
|
|
148
|
+
_visited_composed_classes = kwargs.pop('_visited_composed_classes', ())
|
|
149
|
+
|
|
150
|
+
self = super(OpenApiModel, cls).__new__(cls)
|
|
151
|
+
|
|
152
|
+
if args:
|
|
153
|
+
for arg in args:
|
|
154
|
+
if isinstance(arg, dict):
|
|
155
|
+
kwargs.update(arg)
|
|
156
|
+
else:
|
|
157
|
+
raise ApiTypeError(
|
|
158
|
+
"Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % (
|
|
159
|
+
args,
|
|
160
|
+
self.__class__.__name__,
|
|
161
|
+
),
|
|
162
|
+
path_to_item=_path_to_item,
|
|
163
|
+
valid_classes=(self.__class__,),
|
|
164
|
+
)
|
|
165
|
+
|
|
166
|
+
self._data_store = {}
|
|
167
|
+
self._check_type = _check_type
|
|
168
|
+
self._spec_property_naming = _spec_property_naming
|
|
169
|
+
self._path_to_item = _path_to_item
|
|
170
|
+
self._configuration = _configuration
|
|
171
|
+
self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
|
|
172
|
+
|
|
173
|
+
for var_name, var_value in kwargs.items():
|
|
174
|
+
if var_name not in self.attribute_map and \
|
|
175
|
+
self._configuration is not None and \
|
|
176
|
+
self._configuration.discard_unknown_keys and \
|
|
177
|
+
self.additional_properties_type is None:
|
|
178
|
+
# discard variable.
|
|
179
|
+
continue
|
|
180
|
+
setattr(self, var_name, var_value)
|
|
181
|
+
return self
|
|
182
|
+
|
|
183
|
+
required_properties = set([
|
|
184
|
+
'_data_store',
|
|
185
|
+
'_check_type',
|
|
186
|
+
'_spec_property_naming',
|
|
187
|
+
'_path_to_item',
|
|
188
|
+
'_configuration',
|
|
189
|
+
'_visited_composed_classes',
|
|
190
|
+
])
|
|
191
|
+
|
|
192
|
+
@convert_js_args_to_python_args
|
|
193
|
+
def __init__(self, *args, **kwargs): # noqa: E501
|
|
194
|
+
"""ResourceOutcome - a model defined in OpenAPI
|
|
195
|
+
|
|
196
|
+
Keyword Args:
|
|
197
|
+
_check_type (bool): if True, values for parameters in openapi_types
|
|
198
|
+
will be type checked and a TypeError will be
|
|
199
|
+
raised if the wrong type is input.
|
|
200
|
+
Defaults to True
|
|
201
|
+
_path_to_item (tuple/list): This is a list of keys or values to
|
|
202
|
+
drill down to the model in received_data
|
|
203
|
+
when deserializing a response
|
|
204
|
+
_spec_property_naming (bool): True if the variable names in the input data
|
|
205
|
+
are serialized names, as specified in the OpenAPI document.
|
|
206
|
+
False if the variable names in the input data
|
|
207
|
+
are pythonic names, e.g. snake case (default)
|
|
208
|
+
_configuration (Configuration): the instance to use when
|
|
209
|
+
deserializing a file_type parameter.
|
|
210
|
+
If passed, type conversion is attempted
|
|
211
|
+
If omitted no type conversion is done.
|
|
212
|
+
_visited_composed_classes (tuple): This stores a tuple of
|
|
213
|
+
classes that we have traveled through so that
|
|
214
|
+
if we see that class again we will not use its
|
|
215
|
+
discriminator again.
|
|
216
|
+
When traveling through a discriminator, the
|
|
217
|
+
composed schema that is
|
|
218
|
+
is traveled through is added to this set.
|
|
219
|
+
For example if Animal has a discriminator
|
|
220
|
+
petType and we pass in "Dog", and the class Dog
|
|
221
|
+
allOf includes Animal, we move through Animal
|
|
222
|
+
once using the discriminator, and pick Dog.
|
|
223
|
+
Then in Dog, we will make an instance of the
|
|
224
|
+
Animal class but this time we won't travel
|
|
225
|
+
through its discriminator because we passed in
|
|
226
|
+
_visited_composed_classes = (Animal,)
|
|
227
|
+
errors ([RmcaCommonProblem], none_type): [optional] # noqa: E501
|
|
228
|
+
warnings ([RmcaCommonProblem], none_type): [optional] # noqa: E501
|
|
229
|
+
"""
|
|
230
|
+
|
|
231
|
+
_check_type = kwargs.pop('_check_type', True)
|
|
232
|
+
_spec_property_naming = kwargs.pop('_spec_property_naming', False)
|
|
233
|
+
_path_to_item = kwargs.pop('_path_to_item', ())
|
|
234
|
+
_configuration = kwargs.pop('_configuration', None)
|
|
235
|
+
_visited_composed_classes = kwargs.pop('_visited_composed_classes', ())
|
|
236
|
+
|
|
237
|
+
if args:
|
|
238
|
+
for arg in args:
|
|
239
|
+
if isinstance(arg, dict):
|
|
240
|
+
kwargs.update(arg)
|
|
241
|
+
else:
|
|
242
|
+
raise ApiTypeError(
|
|
243
|
+
"Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % (
|
|
244
|
+
args,
|
|
245
|
+
self.__class__.__name__,
|
|
246
|
+
),
|
|
247
|
+
path_to_item=_path_to_item,
|
|
248
|
+
valid_classes=(self.__class__,),
|
|
249
|
+
)
|
|
250
|
+
|
|
251
|
+
self._data_store = {}
|
|
252
|
+
self._check_type = _check_type
|
|
253
|
+
self._spec_property_naming = _spec_property_naming
|
|
254
|
+
self._path_to_item = _path_to_item
|
|
255
|
+
self._configuration = _configuration
|
|
256
|
+
self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
|
|
257
|
+
|
|
258
|
+
for var_name, var_value in kwargs.items():
|
|
259
|
+
if var_name not in self.attribute_map and \
|
|
260
|
+
self._configuration is not None and \
|
|
261
|
+
self._configuration.discard_unknown_keys and \
|
|
262
|
+
self.additional_properties_type is None:
|
|
263
|
+
# discard variable.
|
|
264
|
+
continue
|
|
265
|
+
setattr(self, var_name, var_value)
|
|
266
|
+
if var_name in self.read_only_vars:
|
|
267
|
+
raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate "
|
|
268
|
+
f"class with read only attributes.")
|
|
@@ -91,8 +91,8 @@ class RetailMediaAccount(ModelNormal):
|
|
|
91
91
|
'company_name': (str, none_type,), # noqa: E501
|
|
92
92
|
'type': (str, none_type,), # noqa: E501
|
|
93
93
|
'sub_type': (str, none_type,), # noqa: E501
|
|
94
|
-
'country_ids': ([
|
|
95
|
-
'currency_id': (
|
|
94
|
+
'country_ids': ([str], none_type,), # noqa: E501
|
|
95
|
+
'currency_id': (str, none_type,), # noqa: E501
|
|
96
96
|
'parent_account_label': (str, none_type,), # noqa: E501
|
|
97
97
|
'time_zone': (str, none_type,), # noqa: E501
|
|
98
98
|
}
|
|
@@ -158,8 +158,8 @@ class RetailMediaAccount(ModelNormal):
|
|
|
158
158
|
company_name (str, none_type): Display name for reporting the owning entity of ads for the Digital Services Act in the European Union. [optional] # noqa: E501
|
|
159
159
|
type (str, none_type): Type for the account. [optional] # noqa: E501
|
|
160
160
|
sub_type (str, none_type): subtype for the account. [optional] # noqa: E501
|
|
161
|
-
country_ids ([
|
|
162
|
-
currency_id (
|
|
161
|
+
country_ids ([str], none_type): list of countries associated with the account. [optional] # noqa: E501
|
|
162
|
+
currency_id (str, none_type): the currency for the account. [optional] # noqa: E501
|
|
163
163
|
parent_account_label (str, none_type): parent account label for the account. [optional] # noqa: E501
|
|
164
164
|
time_zone (str, none_type): the timezone for the account. [optional] # noqa: E501
|
|
165
165
|
"""
|
|
@@ -251,8 +251,8 @@ class RetailMediaAccount(ModelNormal):
|
|
|
251
251
|
company_name (str, none_type): Display name for reporting the owning entity of ads for the Digital Services Act in the European Union. [optional] # noqa: E501
|
|
252
252
|
type (str, none_type): Type for the account. [optional] # noqa: E501
|
|
253
253
|
sub_type (str, none_type): subtype for the account. [optional] # noqa: E501
|
|
254
|
-
country_ids ([
|
|
255
|
-
currency_id (
|
|
254
|
+
country_ids ([str], none_type): list of countries associated with the account. [optional] # noqa: E501
|
|
255
|
+
currency_id (str, none_type): the currency for the account. [optional] # noqa: E501
|
|
256
256
|
parent_account_label (str, none_type): parent account label for the account. [optional] # noqa: E501
|
|
257
257
|
time_zone (str, none_type): the timezone for the account. [optional] # noqa: E501
|
|
258
258
|
"""
|
|
@@ -0,0 +1,257 @@
|
|
|
1
|
+
"""
|
|
2
|
+
Criteo API
|
|
3
|
+
|
|
4
|
+
Criteo API - RetailMedia # noqa: E501
|
|
5
|
+
|
|
6
|
+
The version of the OpenAPI document: Preview
|
|
7
|
+
Generated by: https://openapi-generator.tech
|
|
8
|
+
"""
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
import re # noqa: F401
|
|
12
|
+
import sys # noqa: F401
|
|
13
|
+
|
|
14
|
+
from criteo_api_retailmedia_preview.model_utils import ( # noqa: F401
|
|
15
|
+
ApiTypeError,
|
|
16
|
+
ModelComposed,
|
|
17
|
+
ModelNormal,
|
|
18
|
+
ModelSimple,
|
|
19
|
+
cached_property,
|
|
20
|
+
change_keys_js_to_python,
|
|
21
|
+
convert_js_args_to_python_args,
|
|
22
|
+
date,
|
|
23
|
+
datetime,
|
|
24
|
+
file_type,
|
|
25
|
+
none_type,
|
|
26
|
+
validate_get_composed_info,
|
|
27
|
+
OpenApiModel
|
|
28
|
+
)
|
|
29
|
+
from criteo_api_retailmedia_preview.exceptions import ApiAttributeError
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
class RetailMediaBrands(ModelNormal):
|
|
34
|
+
"""NOTE: This class is auto generated by OpenAPI Generator.
|
|
35
|
+
Ref: https://openapi-generator.tech
|
|
36
|
+
|
|
37
|
+
Do not edit the class manually.
|
|
38
|
+
|
|
39
|
+
Attributes:
|
|
40
|
+
allowed_values (dict): The key is the tuple path to the attribute
|
|
41
|
+
and the for var_name this is (var_name,). The value is a dict
|
|
42
|
+
with a capitalized key describing the allowed value and an allowed
|
|
43
|
+
value. These dicts store the allowed enum values.
|
|
44
|
+
attribute_map (dict): The key is attribute name
|
|
45
|
+
and the value is json key in definition.
|
|
46
|
+
discriminator_value_class_map (dict): A dict to go from the discriminator
|
|
47
|
+
variable value to the discriminator class name.
|
|
48
|
+
validations (dict): The key is the tuple path to the attribute
|
|
49
|
+
and the for var_name this is (var_name,). The value is a dict
|
|
50
|
+
that stores validations for max_length, min_length, max_items,
|
|
51
|
+
min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum,
|
|
52
|
+
inclusive_minimum, and regex.
|
|
53
|
+
additional_properties_type (tuple): A tuple of classes accepted
|
|
54
|
+
as additional properties values.
|
|
55
|
+
"""
|
|
56
|
+
|
|
57
|
+
allowed_values = {
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
validations = {
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
additional_properties_type = None
|
|
64
|
+
|
|
65
|
+
_nullable = False
|
|
66
|
+
|
|
67
|
+
@cached_property
|
|
68
|
+
def openapi_types():
|
|
69
|
+
"""
|
|
70
|
+
This must be a method because a model may have properties that are
|
|
71
|
+
of type self, this must run after the class is loaded
|
|
72
|
+
|
|
73
|
+
Returns
|
|
74
|
+
openapi_types (dict): The key is attribute name
|
|
75
|
+
and the value is attribute type.
|
|
76
|
+
"""
|
|
77
|
+
return {
|
|
78
|
+
'brand_ids': ([int], none_type,), # noqa: E501
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
@cached_property
|
|
82
|
+
def discriminator():
|
|
83
|
+
return None
|
|
84
|
+
|
|
85
|
+
|
|
86
|
+
attribute_map = {
|
|
87
|
+
'brand_ids': 'brandIds', # noqa: E501
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
read_only_vars = {
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
_composed_schemas = {}
|
|
94
|
+
|
|
95
|
+
@classmethod
|
|
96
|
+
@convert_js_args_to_python_args
|
|
97
|
+
def _from_openapi_data(cls, *args, **kwargs): # noqa: E501
|
|
98
|
+
"""RetailMediaBrands - a model defined in OpenAPI
|
|
99
|
+
|
|
100
|
+
Keyword Args:
|
|
101
|
+
_check_type (bool): if True, values for parameters in openapi_types
|
|
102
|
+
will be type checked and a TypeError will be
|
|
103
|
+
raised if the wrong type is input.
|
|
104
|
+
Defaults to True
|
|
105
|
+
_path_to_item (tuple/list): This is a list of keys or values to
|
|
106
|
+
drill down to the model in received_data
|
|
107
|
+
when deserializing a response
|
|
108
|
+
_spec_property_naming (bool): True if the variable names in the input data
|
|
109
|
+
are serialized names, as specified in the OpenAPI document.
|
|
110
|
+
False if the variable names in the input data
|
|
111
|
+
are pythonic names, e.g. snake case (default)
|
|
112
|
+
_configuration (Configuration): the instance to use when
|
|
113
|
+
deserializing a file_type parameter.
|
|
114
|
+
If passed, type conversion is attempted
|
|
115
|
+
If omitted no type conversion is done.
|
|
116
|
+
_visited_composed_classes (tuple): This stores a tuple of
|
|
117
|
+
classes that we have traveled through so that
|
|
118
|
+
if we see that class again we will not use its
|
|
119
|
+
discriminator again.
|
|
120
|
+
When traveling through a discriminator, the
|
|
121
|
+
composed schema that is
|
|
122
|
+
is traveled through is added to this set.
|
|
123
|
+
For example if Animal has a discriminator
|
|
124
|
+
petType and we pass in "Dog", and the class Dog
|
|
125
|
+
allOf includes Animal, we move through Animal
|
|
126
|
+
once using the discriminator, and pick Dog.
|
|
127
|
+
Then in Dog, we will make an instance of the
|
|
128
|
+
Animal class but this time we won't travel
|
|
129
|
+
through its discriminator because we passed in
|
|
130
|
+
_visited_composed_classes = (Animal,)
|
|
131
|
+
brand_ids ([int], none_type): [optional] # noqa: E501
|
|
132
|
+
"""
|
|
133
|
+
|
|
134
|
+
_check_type = kwargs.pop('_check_type', True)
|
|
135
|
+
_spec_property_naming = kwargs.pop('_spec_property_naming', True)
|
|
136
|
+
_path_to_item = kwargs.pop('_path_to_item', ())
|
|
137
|
+
_configuration = kwargs.pop('_configuration', None)
|
|
138
|
+
_visited_composed_classes = kwargs.pop('_visited_composed_classes', ())
|
|
139
|
+
|
|
140
|
+
self = super(OpenApiModel, cls).__new__(cls)
|
|
141
|
+
|
|
142
|
+
if args:
|
|
143
|
+
for arg in args:
|
|
144
|
+
if isinstance(arg, dict):
|
|
145
|
+
kwargs.update(arg)
|
|
146
|
+
else:
|
|
147
|
+
raise ApiTypeError(
|
|
148
|
+
"Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % (
|
|
149
|
+
args,
|
|
150
|
+
self.__class__.__name__,
|
|
151
|
+
),
|
|
152
|
+
path_to_item=_path_to_item,
|
|
153
|
+
valid_classes=(self.__class__,),
|
|
154
|
+
)
|
|
155
|
+
|
|
156
|
+
self._data_store = {}
|
|
157
|
+
self._check_type = _check_type
|
|
158
|
+
self._spec_property_naming = _spec_property_naming
|
|
159
|
+
self._path_to_item = _path_to_item
|
|
160
|
+
self._configuration = _configuration
|
|
161
|
+
self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
|
|
162
|
+
|
|
163
|
+
for var_name, var_value in kwargs.items():
|
|
164
|
+
if var_name not in self.attribute_map and \
|
|
165
|
+
self._configuration is not None and \
|
|
166
|
+
self._configuration.discard_unknown_keys and \
|
|
167
|
+
self.additional_properties_type is None:
|
|
168
|
+
# discard variable.
|
|
169
|
+
continue
|
|
170
|
+
setattr(self, var_name, var_value)
|
|
171
|
+
return self
|
|
172
|
+
|
|
173
|
+
required_properties = set([
|
|
174
|
+
'_data_store',
|
|
175
|
+
'_check_type',
|
|
176
|
+
'_spec_property_naming',
|
|
177
|
+
'_path_to_item',
|
|
178
|
+
'_configuration',
|
|
179
|
+
'_visited_composed_classes',
|
|
180
|
+
])
|
|
181
|
+
|
|
182
|
+
@convert_js_args_to_python_args
|
|
183
|
+
def __init__(self, *args, **kwargs): # noqa: E501
|
|
184
|
+
"""RetailMediaBrands - a model defined in OpenAPI
|
|
185
|
+
|
|
186
|
+
Keyword Args:
|
|
187
|
+
_check_type (bool): if True, values for parameters in openapi_types
|
|
188
|
+
will be type checked and a TypeError will be
|
|
189
|
+
raised if the wrong type is input.
|
|
190
|
+
Defaults to True
|
|
191
|
+
_path_to_item (tuple/list): This is a list of keys or values to
|
|
192
|
+
drill down to the model in received_data
|
|
193
|
+
when deserializing a response
|
|
194
|
+
_spec_property_naming (bool): True if the variable names in the input data
|
|
195
|
+
are serialized names, as specified in the OpenAPI document.
|
|
196
|
+
False if the variable names in the input data
|
|
197
|
+
are pythonic names, e.g. snake case (default)
|
|
198
|
+
_configuration (Configuration): the instance to use when
|
|
199
|
+
deserializing a file_type parameter.
|
|
200
|
+
If passed, type conversion is attempted
|
|
201
|
+
If omitted no type conversion is done.
|
|
202
|
+
_visited_composed_classes (tuple): This stores a tuple of
|
|
203
|
+
classes that we have traveled through so that
|
|
204
|
+
if we see that class again we will not use its
|
|
205
|
+
discriminator again.
|
|
206
|
+
When traveling through a discriminator, the
|
|
207
|
+
composed schema that is
|
|
208
|
+
is traveled through is added to this set.
|
|
209
|
+
For example if Animal has a discriminator
|
|
210
|
+
petType and we pass in "Dog", and the class Dog
|
|
211
|
+
allOf includes Animal, we move through Animal
|
|
212
|
+
once using the discriminator, and pick Dog.
|
|
213
|
+
Then in Dog, we will make an instance of the
|
|
214
|
+
Animal class but this time we won't travel
|
|
215
|
+
through its discriminator because we passed in
|
|
216
|
+
_visited_composed_classes = (Animal,)
|
|
217
|
+
brand_ids ([int], none_type): [optional] # noqa: E501
|
|
218
|
+
"""
|
|
219
|
+
|
|
220
|
+
_check_type = kwargs.pop('_check_type', True)
|
|
221
|
+
_spec_property_naming = kwargs.pop('_spec_property_naming', False)
|
|
222
|
+
_path_to_item = kwargs.pop('_path_to_item', ())
|
|
223
|
+
_configuration = kwargs.pop('_configuration', None)
|
|
224
|
+
_visited_composed_classes = kwargs.pop('_visited_composed_classes', ())
|
|
225
|
+
|
|
226
|
+
if args:
|
|
227
|
+
for arg in args:
|
|
228
|
+
if isinstance(arg, dict):
|
|
229
|
+
kwargs.update(arg)
|
|
230
|
+
else:
|
|
231
|
+
raise ApiTypeError(
|
|
232
|
+
"Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % (
|
|
233
|
+
args,
|
|
234
|
+
self.__class__.__name__,
|
|
235
|
+
),
|
|
236
|
+
path_to_item=_path_to_item,
|
|
237
|
+
valid_classes=(self.__class__,),
|
|
238
|
+
)
|
|
239
|
+
|
|
240
|
+
self._data_store = {}
|
|
241
|
+
self._check_type = _check_type
|
|
242
|
+
self._spec_property_naming = _spec_property_naming
|
|
243
|
+
self._path_to_item = _path_to_item
|
|
244
|
+
self._configuration = _configuration
|
|
245
|
+
self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
|
|
246
|
+
|
|
247
|
+
for var_name, var_value in kwargs.items():
|
|
248
|
+
if var_name not in self.attribute_map and \
|
|
249
|
+
self._configuration is not None and \
|
|
250
|
+
self._configuration.discard_unknown_keys and \
|
|
251
|
+
self.additional_properties_type is None:
|
|
252
|
+
# discard variable.
|
|
253
|
+
continue
|
|
254
|
+
setattr(self, var_name, var_value)
|
|
255
|
+
if var_name in self.read_only_vars:
|
|
256
|
+
raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate "
|
|
257
|
+
f"class with read only attributes.")
|
|
@@ -30,11 +30,11 @@ from criteo_api_retailmedia_preview.exceptions import ApiAttributeError
|
|
|
30
30
|
|
|
31
31
|
|
|
32
32
|
def lazy_import():
|
|
33
|
-
from criteo_api_retailmedia_preview.model.
|
|
34
|
-
globals()['
|
|
33
|
+
from criteo_api_retailmedia_preview.model.retail_media_contactlist_amendment_attributes import RetailMediaContactlistAmendmentAttributes
|
|
34
|
+
globals()['RetailMediaContactlistAmendmentAttributes'] = RetailMediaContactlistAmendmentAttributes
|
|
35
35
|
|
|
36
36
|
|
|
37
|
-
class
|
|
37
|
+
class RetailMediaContactlistAmendment(ModelNormal):
|
|
38
38
|
"""NOTE: This class is auto generated by OpenAPI Generator.
|
|
39
39
|
Ref: https://openapi-generator.tech
|
|
40
40
|
|
|
@@ -87,8 +87,8 @@ class JsonApiBodyWithoutIdOfCatalogRequestAndCatalogRequestPreview(ModelNormal):
|
|
|
87
87
|
"""
|
|
88
88
|
lazy_import()
|
|
89
89
|
return {
|
|
90
|
-
'
|
|
91
|
-
'
|
|
90
|
+
'attributes': (RetailMediaContactlistAmendmentAttributes,), # noqa: E501
|
|
91
|
+
'type': (str, none_type,), # noqa: E501
|
|
92
92
|
}
|
|
93
93
|
|
|
94
94
|
@cached_property
|
|
@@ -97,8 +97,8 @@ class JsonApiBodyWithoutIdOfCatalogRequestAndCatalogRequestPreview(ModelNormal):
|
|
|
97
97
|
|
|
98
98
|
|
|
99
99
|
attribute_map = {
|
|
100
|
-
'type': 'type', # noqa: E501
|
|
101
100
|
'attributes': 'attributes', # noqa: E501
|
|
101
|
+
'type': 'type', # noqa: E501
|
|
102
102
|
}
|
|
103
103
|
|
|
104
104
|
read_only_vars = {
|
|
@@ -108,11 +108,11 @@ class JsonApiBodyWithoutIdOfCatalogRequestAndCatalogRequestPreview(ModelNormal):
|
|
|
108
108
|
|
|
109
109
|
@classmethod
|
|
110
110
|
@convert_js_args_to_python_args
|
|
111
|
-
def _from_openapi_data(cls,
|
|
112
|
-
"""
|
|
111
|
+
def _from_openapi_data(cls, attributes, *args, **kwargs): # noqa: E501
|
|
112
|
+
"""RetailMediaContactlistAmendment - a model defined in OpenAPI
|
|
113
113
|
|
|
114
114
|
Args:
|
|
115
|
-
|
|
115
|
+
attributes (RetailMediaContactlistAmendmentAttributes):
|
|
116
116
|
|
|
117
117
|
Keyword Args:
|
|
118
118
|
_check_type (bool): if True, values for parameters in openapi_types
|
|
@@ -145,7 +145,7 @@ class JsonApiBodyWithoutIdOfCatalogRequestAndCatalogRequestPreview(ModelNormal):
|
|
|
145
145
|
Animal class but this time we won't travel
|
|
146
146
|
through its discriminator because we passed in
|
|
147
147
|
_visited_composed_classes = (Animal,)
|
|
148
|
-
|
|
148
|
+
type (str, none_type): User List. [optional] # noqa: E501
|
|
149
149
|
"""
|
|
150
150
|
|
|
151
151
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -177,7 +177,7 @@ class JsonApiBodyWithoutIdOfCatalogRequestAndCatalogRequestPreview(ModelNormal):
|
|
|
177
177
|
self._configuration = _configuration
|
|
178
178
|
self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
|
|
179
179
|
|
|
180
|
-
self.
|
|
180
|
+
self.attributes = attributes
|
|
181
181
|
for var_name, var_value in kwargs.items():
|
|
182
182
|
if var_name not in self.attribute_map and \
|
|
183
183
|
self._configuration is not None and \
|
|
@@ -198,11 +198,11 @@ class JsonApiBodyWithoutIdOfCatalogRequestAndCatalogRequestPreview(ModelNormal):
|
|
|
198
198
|
])
|
|
199
199
|
|
|
200
200
|
@convert_js_args_to_python_args
|
|
201
|
-
def __init__(self,
|
|
202
|
-
"""
|
|
201
|
+
def __init__(self, attributes, *args, **kwargs): # noqa: E501
|
|
202
|
+
"""RetailMediaContactlistAmendment - a model defined in OpenAPI
|
|
203
203
|
|
|
204
204
|
Args:
|
|
205
|
-
|
|
205
|
+
attributes (RetailMediaContactlistAmendmentAttributes):
|
|
206
206
|
|
|
207
207
|
Keyword Args:
|
|
208
208
|
_check_type (bool): if True, values for parameters in openapi_types
|
|
@@ -235,7 +235,7 @@ class JsonApiBodyWithoutIdOfCatalogRequestAndCatalogRequestPreview(ModelNormal):
|
|
|
235
235
|
Animal class but this time we won't travel
|
|
236
236
|
through its discriminator because we passed in
|
|
237
237
|
_visited_composed_classes = (Animal,)
|
|
238
|
-
|
|
238
|
+
type (str, none_type): User List. [optional] # noqa: E501
|
|
239
239
|
"""
|
|
240
240
|
|
|
241
241
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -265,7 +265,7 @@ class JsonApiBodyWithoutIdOfCatalogRequestAndCatalogRequestPreview(ModelNormal):
|
|
|
265
265
|
self._configuration = _configuration
|
|
266
266
|
self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
|
|
267
267
|
|
|
268
|
-
self.
|
|
268
|
+
self.attributes = attributes
|
|
269
269
|
for var_name, var_value in kwargs.items():
|
|
270
270
|
if var_name not in self.attribute_map and \
|
|
271
271
|
self._configuration is not None and \
|