criteo-api-marketingsolutions-sdk 2024.7.0.240731__py3-none-any.whl → 2024.7.0.240808__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of criteo-api-marketingsolutions-sdk might be problematic. Click here for more details.
- {criteo_api_marketingsolutions_sdk-2024.7.0.240731.dist-info → criteo_api_marketingsolutions_sdk-2024.7.0.240808.dist-info}/METADATA +3 -3
- {criteo_api_marketingsolutions_sdk-2024.7.0.240731.dist-info → criteo_api_marketingsolutions_sdk-2024.7.0.240808.dist-info}/RECORD +22 -23
- criteo_api_marketingsolutions_v2024_07/__init__.py +1 -1
- criteo_api_marketingsolutions_v2024_07/api/analytics_api.py +29 -28
- criteo_api_marketingsolutions_v2024_07/api_client.py +1 -1
- criteo_api_marketingsolutions_v2024_07/configuration.py +1 -1
- criteo_api_marketingsolutions_v2024_07/model/{placements_report_query_data_message.py → outcome.py} +18 -27
- criteo_api_marketingsolutions_v2024_07/model/placements_report_query_message.py +5 -11
- criteo_api_marketingsolutions_v2024_07/model/{problems_details.py → placements_report_query_message_list_request.py} +10 -20
- criteo_api_marketingsolutions_v2024_07/model/{placements_report_query_entity_message.py → placements_report_query_message_resource.py} +11 -26
- criteo_api_marketingsolutions_v2024_07/model/statistics_report_query_message.py +3 -17
- criteo_api_marketingsolutions_v2024_07/model/transactions_report_query_message.py +1 -7
- criteo_api_marketingsolutions_v2024_07/model/{transactions_report_query_data_message.py → transactions_report_query_message_list_request.py} +11 -26
- criteo_api_marketingsolutions_v2024_07/model/{transactions_report_query_entity_message.py → transactions_report_query_message_resource.py} +11 -26
- criteo_api_marketingsolutions_v2024_07/model/transparency_query_message.py +1 -7
- criteo_api_marketingsolutions_v2024_07/model/{transparency_report_attributes.py → transparency_report.py} +4 -13
- criteo_api_marketingsolutions_v2024_07/model/transparency_report_file.py +1 -7
- criteo_api_marketingsolutions_v2024_07/model/{transparency_report_entity_message.py → transparency_report_list_response.py} +24 -29
- criteo_api_marketingsolutions_v2024_07/model/{transparency_report_data_message.py → transparency_report_resource.py} +16 -27
- criteo_api_marketingsolutions_v2024_07/models/__init__.py +8 -9
- criteo_api_marketingsolutions_v2024_07/model/problem_details.py +0 -306
- {criteo_api_marketingsolutions_sdk-2024.7.0.240731.dist-info → criteo_api_marketingsolutions_sdk-2024.7.0.240808.dist-info}/WHEEL +0 -0
- {criteo_api_marketingsolutions_sdk-2024.7.0.240731.dist-info → criteo_api_marketingsolutions_sdk-2024.7.0.240808.dist-info}/top_level.txt +0 -0
|
@@ -34,7 +34,7 @@ def lazy_import():
|
|
|
34
34
|
globals()['PlacementsReportQueryMessage'] = PlacementsReportQueryMessage
|
|
35
35
|
|
|
36
36
|
|
|
37
|
-
class
|
|
37
|
+
class PlacementsReportQueryMessageResource(ModelNormal):
|
|
38
38
|
"""NOTE: This class is auto generated by OpenAPI Generator.
|
|
39
39
|
Ref: https://openapi-generator.tech
|
|
40
40
|
|
|
@@ -64,14 +64,7 @@ class PlacementsReportQueryEntityMessage(ModelNormal):
|
|
|
64
64
|
validations = {
|
|
65
65
|
}
|
|
66
66
|
|
|
67
|
-
|
|
68
|
-
def additional_properties_type():
|
|
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
|
-
lazy_import()
|
|
74
|
-
return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501
|
|
67
|
+
additional_properties_type = None
|
|
75
68
|
|
|
76
69
|
_nullable = False
|
|
77
70
|
|
|
@@ -87,7 +80,7 @@ class PlacementsReportQueryEntityMessage(ModelNormal):
|
|
|
87
80
|
"""
|
|
88
81
|
lazy_import()
|
|
89
82
|
return {
|
|
90
|
-
'type': (str,), # noqa: E501
|
|
83
|
+
'type': (str, none_type,), # noqa: E501
|
|
91
84
|
'attributes': (PlacementsReportQueryMessage,), # noqa: E501
|
|
92
85
|
}
|
|
93
86
|
|
|
@@ -108,12 +101,8 @@ class PlacementsReportQueryEntityMessage(ModelNormal):
|
|
|
108
101
|
|
|
109
102
|
@classmethod
|
|
110
103
|
@convert_js_args_to_python_args
|
|
111
|
-
def _from_openapi_data(cls,
|
|
112
|
-
"""
|
|
113
|
-
|
|
114
|
-
Args:
|
|
115
|
-
type (str):
|
|
116
|
-
attributes (PlacementsReportQueryMessage):
|
|
104
|
+
def _from_openapi_data(cls, *args, **kwargs): # noqa: E501
|
|
105
|
+
"""PlacementsReportQueryMessageResource - a model defined in OpenAPI
|
|
117
106
|
|
|
118
107
|
Keyword Args:
|
|
119
108
|
_check_type (bool): if True, values for parameters in openapi_types
|
|
@@ -146,6 +135,8 @@ class PlacementsReportQueryEntityMessage(ModelNormal):
|
|
|
146
135
|
Animal class but this time we won't travel
|
|
147
136
|
through its discriminator because we passed in
|
|
148
137
|
_visited_composed_classes = (Animal,)
|
|
138
|
+
type (str, none_type): Type of the resource.. [optional] # noqa: E501
|
|
139
|
+
attributes (PlacementsReportQueryMessage): [optional] # noqa: E501
|
|
149
140
|
"""
|
|
150
141
|
|
|
151
142
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -177,8 +168,6 @@ class PlacementsReportQueryEntityMessage(ModelNormal):
|
|
|
177
168
|
self._configuration = _configuration
|
|
178
169
|
self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
|
|
179
170
|
|
|
180
|
-
self.type = type
|
|
181
|
-
self.attributes = attributes
|
|
182
171
|
for var_name, var_value in kwargs.items():
|
|
183
172
|
if var_name not in self.attribute_map and \
|
|
184
173
|
self._configuration is not None and \
|
|
@@ -199,12 +188,8 @@ class PlacementsReportQueryEntityMessage(ModelNormal):
|
|
|
199
188
|
])
|
|
200
189
|
|
|
201
190
|
@convert_js_args_to_python_args
|
|
202
|
-
def __init__(self,
|
|
203
|
-
"""
|
|
204
|
-
|
|
205
|
-
Args:
|
|
206
|
-
type (str):
|
|
207
|
-
attributes (PlacementsReportQueryMessage):
|
|
191
|
+
def __init__(self, *args, **kwargs): # noqa: E501
|
|
192
|
+
"""PlacementsReportQueryMessageResource - a model defined in OpenAPI
|
|
208
193
|
|
|
209
194
|
Keyword Args:
|
|
210
195
|
_check_type (bool): if True, values for parameters in openapi_types
|
|
@@ -237,6 +222,8 @@ class PlacementsReportQueryEntityMessage(ModelNormal):
|
|
|
237
222
|
Animal class but this time we won't travel
|
|
238
223
|
through its discriminator because we passed in
|
|
239
224
|
_visited_composed_classes = (Animal,)
|
|
225
|
+
type (str, none_type): Type of the resource.. [optional] # noqa: E501
|
|
226
|
+
attributes (PlacementsReportQueryMessage): [optional] # noqa: E501
|
|
240
227
|
"""
|
|
241
228
|
|
|
242
229
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -266,8 +253,6 @@ class PlacementsReportQueryEntityMessage(ModelNormal):
|
|
|
266
253
|
self._configuration = _configuration
|
|
267
254
|
self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
|
|
268
255
|
|
|
269
|
-
self.type = type
|
|
270
|
-
self.attributes = attributes
|
|
271
256
|
for var_name, var_value in kwargs.items():
|
|
272
257
|
if var_name not in self.attribute_map and \
|
|
273
258
|
self._configuration is not None and \
|
|
@@ -80,29 +80,15 @@ class StatisticsReportQueryMessage(ModelNormal):
|
|
|
80
80
|
'CHANNELID': "ChannelId",
|
|
81
81
|
'CHANNEL': "Channel",
|
|
82
82
|
'GOAL': "Goal",
|
|
83
|
+
'ADCHANNEL': "AdChannel",
|
|
84
|
+
'SOCIALPLATFORM': "SocialPlatform",
|
|
83
85
|
},
|
|
84
86
|
}
|
|
85
87
|
|
|
86
88
|
validations = {
|
|
87
|
-
('dimensions',): {
|
|
88
|
-
},
|
|
89
|
-
('metrics',): {
|
|
90
|
-
},
|
|
91
|
-
('ad_set_ids',): {
|
|
92
|
-
},
|
|
93
|
-
('ad_set_names',): {
|
|
94
|
-
},
|
|
95
|
-
('ad_set_status',): {
|
|
96
|
-
},
|
|
97
89
|
}
|
|
98
90
|
|
|
99
|
-
|
|
100
|
-
def additional_properties_type():
|
|
101
|
-
"""
|
|
102
|
-
This must be a method because a model may have properties that are
|
|
103
|
-
of type self, this must run after the class is loaded
|
|
104
|
-
"""
|
|
105
|
-
return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501
|
|
91
|
+
additional_properties_type = None
|
|
106
92
|
|
|
107
93
|
_nullable = False
|
|
108
94
|
|
|
@@ -60,13 +60,7 @@ class TransactionsReportQueryMessage(ModelNormal):
|
|
|
60
60
|
validations = {
|
|
61
61
|
}
|
|
62
62
|
|
|
63
|
-
|
|
64
|
-
def additional_properties_type():
|
|
65
|
-
"""
|
|
66
|
-
This must be a method because a model may have properties that are
|
|
67
|
-
of type self, this must run after the class is loaded
|
|
68
|
-
"""
|
|
69
|
-
return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501
|
|
63
|
+
additional_properties_type = None
|
|
70
64
|
|
|
71
65
|
_nullable = False
|
|
72
66
|
|
|
@@ -30,11 +30,11 @@ from criteo_api_marketingsolutions_v2024_07.exceptions import ApiAttributeError
|
|
|
30
30
|
|
|
31
31
|
|
|
32
32
|
def lazy_import():
|
|
33
|
-
from criteo_api_marketingsolutions_v2024_07.model.
|
|
34
|
-
globals()['
|
|
33
|
+
from criteo_api_marketingsolutions_v2024_07.model.transactions_report_query_message_resource import TransactionsReportQueryMessageResource
|
|
34
|
+
globals()['TransactionsReportQueryMessageResource'] = TransactionsReportQueryMessageResource
|
|
35
35
|
|
|
36
36
|
|
|
37
|
-
class
|
|
37
|
+
class TransactionsReportQueryMessageListRequest(ModelNormal):
|
|
38
38
|
"""NOTE: This class is auto generated by OpenAPI Generator.
|
|
39
39
|
Ref: https://openapi-generator.tech
|
|
40
40
|
|
|
@@ -62,18 +62,9 @@ class TransactionsReportQueryDataMessage(ModelNormal):
|
|
|
62
62
|
}
|
|
63
63
|
|
|
64
64
|
validations = {
|
|
65
|
-
('data',): {
|
|
66
|
-
},
|
|
67
65
|
}
|
|
68
66
|
|
|
69
|
-
|
|
70
|
-
def additional_properties_type():
|
|
71
|
-
"""
|
|
72
|
-
This must be a method because a model may have properties that are
|
|
73
|
-
of type self, this must run after the class is loaded
|
|
74
|
-
"""
|
|
75
|
-
lazy_import()
|
|
76
|
-
return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501
|
|
67
|
+
additional_properties_type = None
|
|
77
68
|
|
|
78
69
|
_nullable = False
|
|
79
70
|
|
|
@@ -89,7 +80,7 @@ class TransactionsReportQueryDataMessage(ModelNormal):
|
|
|
89
80
|
"""
|
|
90
81
|
lazy_import()
|
|
91
82
|
return {
|
|
92
|
-
'data': ([
|
|
83
|
+
'data': ([TransactionsReportQueryMessageResource], none_type,), # noqa: E501
|
|
93
84
|
}
|
|
94
85
|
|
|
95
86
|
@cached_property
|
|
@@ -108,11 +99,8 @@ class TransactionsReportQueryDataMessage(ModelNormal):
|
|
|
108
99
|
|
|
109
100
|
@classmethod
|
|
110
101
|
@convert_js_args_to_python_args
|
|
111
|
-
def _from_openapi_data(cls,
|
|
112
|
-
"""
|
|
113
|
-
|
|
114
|
-
Args:
|
|
115
|
-
data ([TransactionsReportQueryEntityMessage]):
|
|
102
|
+
def _from_openapi_data(cls, *args, **kwargs): # noqa: E501
|
|
103
|
+
"""TransactionsReportQueryMessageListRequest - a model defined in OpenAPI
|
|
116
104
|
|
|
117
105
|
Keyword Args:
|
|
118
106
|
_check_type (bool): if True, values for parameters in openapi_types
|
|
@@ -145,6 +133,7 @@ class TransactionsReportQueryDataMessage(ModelNormal):
|
|
|
145
133
|
Animal class but this time we won't travel
|
|
146
134
|
through its discriminator because we passed in
|
|
147
135
|
_visited_composed_classes = (Animal,)
|
|
136
|
+
data ([TransactionsReportQueryMessageResource], none_type): [optional] # noqa: E501
|
|
148
137
|
"""
|
|
149
138
|
|
|
150
139
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -176,7 +165,6 @@ class TransactionsReportQueryDataMessage(ModelNormal):
|
|
|
176
165
|
self._configuration = _configuration
|
|
177
166
|
self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
|
|
178
167
|
|
|
179
|
-
self.data = data
|
|
180
168
|
for var_name, var_value in kwargs.items():
|
|
181
169
|
if var_name not in self.attribute_map and \
|
|
182
170
|
self._configuration is not None and \
|
|
@@ -197,11 +185,8 @@ class TransactionsReportQueryDataMessage(ModelNormal):
|
|
|
197
185
|
])
|
|
198
186
|
|
|
199
187
|
@convert_js_args_to_python_args
|
|
200
|
-
def __init__(self,
|
|
201
|
-
"""
|
|
202
|
-
|
|
203
|
-
Args:
|
|
204
|
-
data ([TransactionsReportQueryEntityMessage]):
|
|
188
|
+
def __init__(self, *args, **kwargs): # noqa: E501
|
|
189
|
+
"""TransactionsReportQueryMessageListRequest - a model defined in OpenAPI
|
|
205
190
|
|
|
206
191
|
Keyword Args:
|
|
207
192
|
_check_type (bool): if True, values for parameters in openapi_types
|
|
@@ -234,6 +219,7 @@ class TransactionsReportQueryDataMessage(ModelNormal):
|
|
|
234
219
|
Animal class but this time we won't travel
|
|
235
220
|
through its discriminator because we passed in
|
|
236
221
|
_visited_composed_classes = (Animal,)
|
|
222
|
+
data ([TransactionsReportQueryMessageResource], none_type): [optional] # noqa: E501
|
|
237
223
|
"""
|
|
238
224
|
|
|
239
225
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -263,7 +249,6 @@ class TransactionsReportQueryDataMessage(ModelNormal):
|
|
|
263
249
|
self._configuration = _configuration
|
|
264
250
|
self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
|
|
265
251
|
|
|
266
|
-
self.data = data
|
|
267
252
|
for var_name, var_value in kwargs.items():
|
|
268
253
|
if var_name not in self.attribute_map and \
|
|
269
254
|
self._configuration is not None and \
|
|
@@ -34,7 +34,7 @@ def lazy_import():
|
|
|
34
34
|
globals()['TransactionsReportQueryMessage'] = TransactionsReportQueryMessage
|
|
35
35
|
|
|
36
36
|
|
|
37
|
-
class
|
|
37
|
+
class TransactionsReportQueryMessageResource(ModelNormal):
|
|
38
38
|
"""NOTE: This class is auto generated by OpenAPI Generator.
|
|
39
39
|
Ref: https://openapi-generator.tech
|
|
40
40
|
|
|
@@ -64,14 +64,7 @@ class TransactionsReportQueryEntityMessage(ModelNormal):
|
|
|
64
64
|
validations = {
|
|
65
65
|
}
|
|
66
66
|
|
|
67
|
-
|
|
68
|
-
def additional_properties_type():
|
|
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
|
-
lazy_import()
|
|
74
|
-
return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501
|
|
67
|
+
additional_properties_type = None
|
|
75
68
|
|
|
76
69
|
_nullable = False
|
|
77
70
|
|
|
@@ -87,7 +80,7 @@ class TransactionsReportQueryEntityMessage(ModelNormal):
|
|
|
87
80
|
"""
|
|
88
81
|
lazy_import()
|
|
89
82
|
return {
|
|
90
|
-
'type': (str,), # noqa: E501
|
|
83
|
+
'type': (str, none_type,), # noqa: E501
|
|
91
84
|
'attributes': (TransactionsReportQueryMessage,), # noqa: E501
|
|
92
85
|
}
|
|
93
86
|
|
|
@@ -108,12 +101,8 @@ class TransactionsReportQueryEntityMessage(ModelNormal):
|
|
|
108
101
|
|
|
109
102
|
@classmethod
|
|
110
103
|
@convert_js_args_to_python_args
|
|
111
|
-
def _from_openapi_data(cls,
|
|
112
|
-
"""
|
|
113
|
-
|
|
114
|
-
Args:
|
|
115
|
-
type (str):
|
|
116
|
-
attributes (TransactionsReportQueryMessage):
|
|
104
|
+
def _from_openapi_data(cls, *args, **kwargs): # noqa: E501
|
|
105
|
+
"""TransactionsReportQueryMessageResource - a model defined in OpenAPI
|
|
117
106
|
|
|
118
107
|
Keyword Args:
|
|
119
108
|
_check_type (bool): if True, values for parameters in openapi_types
|
|
@@ -146,6 +135,8 @@ class TransactionsReportQueryEntityMessage(ModelNormal):
|
|
|
146
135
|
Animal class but this time we won't travel
|
|
147
136
|
through its discriminator because we passed in
|
|
148
137
|
_visited_composed_classes = (Animal,)
|
|
138
|
+
type (str, none_type): Type of the resource.. [optional] # noqa: E501
|
|
139
|
+
attributes (TransactionsReportQueryMessage): [optional] # noqa: E501
|
|
149
140
|
"""
|
|
150
141
|
|
|
151
142
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -177,8 +168,6 @@ class TransactionsReportQueryEntityMessage(ModelNormal):
|
|
|
177
168
|
self._configuration = _configuration
|
|
178
169
|
self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
|
|
179
170
|
|
|
180
|
-
self.type = type
|
|
181
|
-
self.attributes = attributes
|
|
182
171
|
for var_name, var_value in kwargs.items():
|
|
183
172
|
if var_name not in self.attribute_map and \
|
|
184
173
|
self._configuration is not None and \
|
|
@@ -199,12 +188,8 @@ class TransactionsReportQueryEntityMessage(ModelNormal):
|
|
|
199
188
|
])
|
|
200
189
|
|
|
201
190
|
@convert_js_args_to_python_args
|
|
202
|
-
def __init__(self,
|
|
203
|
-
"""
|
|
204
|
-
|
|
205
|
-
Args:
|
|
206
|
-
type (str):
|
|
207
|
-
attributes (TransactionsReportQueryMessage):
|
|
191
|
+
def __init__(self, *args, **kwargs): # noqa: E501
|
|
192
|
+
"""TransactionsReportQueryMessageResource - a model defined in OpenAPI
|
|
208
193
|
|
|
209
194
|
Keyword Args:
|
|
210
195
|
_check_type (bool): if True, values for parameters in openapi_types
|
|
@@ -237,6 +222,8 @@ class TransactionsReportQueryEntityMessage(ModelNormal):
|
|
|
237
222
|
Animal class but this time we won't travel
|
|
238
223
|
through its discriminator because we passed in
|
|
239
224
|
_visited_composed_classes = (Animal,)
|
|
225
|
+
type (str, none_type): Type of the resource.. [optional] # noqa: E501
|
|
226
|
+
attributes (TransactionsReportQueryMessage): [optional] # noqa: E501
|
|
240
227
|
"""
|
|
241
228
|
|
|
242
229
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -266,8 +253,6 @@ class TransactionsReportQueryEntityMessage(ModelNormal):
|
|
|
266
253
|
self._configuration = _configuration
|
|
267
254
|
self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
|
|
268
255
|
|
|
269
|
-
self.type = type
|
|
270
|
-
self.attributes = attributes
|
|
271
256
|
for var_name, var_value in kwargs.items():
|
|
272
257
|
if var_name not in self.attribute_map and \
|
|
273
258
|
self._configuration is not None and \
|
|
@@ -60,13 +60,7 @@ class TransparencyQueryMessage(ModelNormal):
|
|
|
60
60
|
validations = {
|
|
61
61
|
}
|
|
62
62
|
|
|
63
|
-
|
|
64
|
-
def additional_properties_type():
|
|
65
|
-
"""
|
|
66
|
-
This must be a method because a model may have properties that are
|
|
67
|
-
of type self, this must run after the class is loaded
|
|
68
|
-
"""
|
|
69
|
-
return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501
|
|
63
|
+
additional_properties_type = None
|
|
70
64
|
|
|
71
65
|
_nullable = False
|
|
72
66
|
|
|
@@ -34,7 +34,7 @@ def lazy_import():
|
|
|
34
34
|
globals()['TransparencyReportFile'] = TransparencyReportFile
|
|
35
35
|
|
|
36
36
|
|
|
37
|
-
class
|
|
37
|
+
class TransparencyReport(ModelNormal):
|
|
38
38
|
"""NOTE: This class is auto generated by OpenAPI Generator.
|
|
39
39
|
Ref: https://openapi-generator.tech
|
|
40
40
|
|
|
@@ -62,18 +62,9 @@ class TransparencyReportAttributes(ModelNormal):
|
|
|
62
62
|
}
|
|
63
63
|
|
|
64
64
|
validations = {
|
|
65
|
-
('files',): {
|
|
66
|
-
},
|
|
67
65
|
}
|
|
68
66
|
|
|
69
|
-
|
|
70
|
-
def additional_properties_type():
|
|
71
|
-
"""
|
|
72
|
-
This must be a method because a model may have properties that are
|
|
73
|
-
of type self, this must run after the class is loaded
|
|
74
|
-
"""
|
|
75
|
-
lazy_import()
|
|
76
|
-
return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501
|
|
67
|
+
additional_properties_type = None
|
|
77
68
|
|
|
78
69
|
_nullable = False
|
|
79
70
|
|
|
@@ -113,7 +104,7 @@ class TransparencyReportAttributes(ModelNormal):
|
|
|
113
104
|
@classmethod
|
|
114
105
|
@convert_js_args_to_python_args
|
|
115
106
|
def _from_openapi_data(cls, advertiser_id, token_valid_until, files, *args, **kwargs): # noqa: E501
|
|
116
|
-
"""
|
|
107
|
+
"""TransparencyReport - a model defined in OpenAPI
|
|
117
108
|
|
|
118
109
|
Args:
|
|
119
110
|
advertiser_id (str):
|
|
@@ -206,7 +197,7 @@ class TransparencyReportAttributes(ModelNormal):
|
|
|
206
197
|
|
|
207
198
|
@convert_js_args_to_python_args
|
|
208
199
|
def __init__(self, advertiser_id, token_valid_until, files, *args, **kwargs): # noqa: E501
|
|
209
|
-
"""
|
|
200
|
+
"""TransparencyReport - a model defined in OpenAPI
|
|
210
201
|
|
|
211
202
|
Args:
|
|
212
203
|
advertiser_id (str):
|
|
@@ -60,13 +60,7 @@ class TransparencyReportFile(ModelNormal):
|
|
|
60
60
|
validations = {
|
|
61
61
|
}
|
|
62
62
|
|
|
63
|
-
|
|
64
|
-
def additional_properties_type():
|
|
65
|
-
"""
|
|
66
|
-
This must be a method because a model may have properties that are
|
|
67
|
-
of type self, this must run after the class is loaded
|
|
68
|
-
"""
|
|
69
|
-
return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501
|
|
63
|
+
additional_properties_type = None
|
|
70
64
|
|
|
71
65
|
_nullable = False
|
|
72
66
|
|
|
@@ -30,11 +30,13 @@ from criteo_api_marketingsolutions_v2024_07.exceptions import ApiAttributeError
|
|
|
30
30
|
|
|
31
31
|
|
|
32
32
|
def lazy_import():
|
|
33
|
-
from criteo_api_marketingsolutions_v2024_07.model.
|
|
34
|
-
|
|
33
|
+
from criteo_api_marketingsolutions_v2024_07.model.common_problem import CommonProblem
|
|
34
|
+
from criteo_api_marketingsolutions_v2024_07.model.transparency_report_resource import TransparencyReportResource
|
|
35
|
+
globals()['CommonProblem'] = CommonProblem
|
|
36
|
+
globals()['TransparencyReportResource'] = TransparencyReportResource
|
|
35
37
|
|
|
36
38
|
|
|
37
|
-
class
|
|
39
|
+
class TransparencyReportListResponse(ModelNormal):
|
|
38
40
|
"""NOTE: This class is auto generated by OpenAPI Generator.
|
|
39
41
|
Ref: https://openapi-generator.tech
|
|
40
42
|
|
|
@@ -64,14 +66,7 @@ class TransparencyReportEntityMessage(ModelNormal):
|
|
|
64
66
|
validations = {
|
|
65
67
|
}
|
|
66
68
|
|
|
67
|
-
|
|
68
|
-
def additional_properties_type():
|
|
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
|
-
lazy_import()
|
|
74
|
-
return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501
|
|
69
|
+
additional_properties_type = None
|
|
75
70
|
|
|
76
71
|
_nullable = False
|
|
77
72
|
|
|
@@ -87,8 +82,9 @@ class TransparencyReportEntityMessage(ModelNormal):
|
|
|
87
82
|
"""
|
|
88
83
|
lazy_import()
|
|
89
84
|
return {
|
|
90
|
-
'
|
|
91
|
-
'
|
|
85
|
+
'data': ([TransparencyReportResource], none_type,), # noqa: E501
|
|
86
|
+
'warnings': ([CommonProblem], none_type,), # noqa: E501
|
|
87
|
+
'errors': ([CommonProblem], none_type,), # noqa: E501
|
|
92
88
|
}
|
|
93
89
|
|
|
94
90
|
@cached_property
|
|
@@ -97,24 +93,22 @@ class TransparencyReportEntityMessage(ModelNormal):
|
|
|
97
93
|
|
|
98
94
|
|
|
99
95
|
attribute_map = {
|
|
100
|
-
'
|
|
101
|
-
'
|
|
96
|
+
'data': 'data', # noqa: E501
|
|
97
|
+
'warnings': 'warnings', # noqa: E501
|
|
98
|
+
'errors': 'errors', # noqa: E501
|
|
102
99
|
}
|
|
103
100
|
|
|
104
101
|
read_only_vars = {
|
|
105
|
-
'
|
|
102
|
+
'warnings', # noqa: E501
|
|
103
|
+
'errors', # noqa: E501
|
|
106
104
|
}
|
|
107
105
|
|
|
108
106
|
_composed_schemas = {}
|
|
109
107
|
|
|
110
108
|
@classmethod
|
|
111
109
|
@convert_js_args_to_python_args
|
|
112
|
-
def _from_openapi_data(cls,
|
|
113
|
-
"""
|
|
114
|
-
|
|
115
|
-
Args:
|
|
116
|
-
type (str):
|
|
117
|
-
attributes (TransparencyReportAttributes):
|
|
110
|
+
def _from_openapi_data(cls, *args, **kwargs): # noqa: E501
|
|
111
|
+
"""TransparencyReportListResponse - a model defined in OpenAPI
|
|
118
112
|
|
|
119
113
|
Keyword Args:
|
|
120
114
|
_check_type (bool): if True, values for parameters in openapi_types
|
|
@@ -147,6 +141,9 @@ class TransparencyReportEntityMessage(ModelNormal):
|
|
|
147
141
|
Animal class but this time we won't travel
|
|
148
142
|
through its discriminator because we passed in
|
|
149
143
|
_visited_composed_classes = (Animal,)
|
|
144
|
+
data ([TransparencyReportResource], none_type): [optional] # noqa: E501
|
|
145
|
+
warnings ([CommonProblem], none_type): Warnings that occured during this call.. [optional] # noqa: E501
|
|
146
|
+
errors ([CommonProblem], none_type): Errors that occured during this call.. [optional] # noqa: E501
|
|
150
147
|
"""
|
|
151
148
|
|
|
152
149
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -178,8 +175,6 @@ class TransparencyReportEntityMessage(ModelNormal):
|
|
|
178
175
|
self._configuration = _configuration
|
|
179
176
|
self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
|
|
180
177
|
|
|
181
|
-
self.type = type
|
|
182
|
-
self.attributes = attributes
|
|
183
178
|
for var_name, var_value in kwargs.items():
|
|
184
179
|
if var_name not in self.attribute_map and \
|
|
185
180
|
self._configuration is not None and \
|
|
@@ -200,10 +195,8 @@ class TransparencyReportEntityMessage(ModelNormal):
|
|
|
200
195
|
])
|
|
201
196
|
|
|
202
197
|
@convert_js_args_to_python_args
|
|
203
|
-
def __init__(self,
|
|
204
|
-
"""
|
|
205
|
-
|
|
206
|
-
attributes (TransparencyReportAttributes):
|
|
198
|
+
def __init__(self, *args, **kwargs): # noqa: E501
|
|
199
|
+
"""TransparencyReportListResponse - a model defined in OpenAPI
|
|
207
200
|
|
|
208
201
|
Keyword Args:
|
|
209
202
|
_check_type (bool): if True, values for parameters in openapi_types
|
|
@@ -236,6 +229,9 @@ class TransparencyReportEntityMessage(ModelNormal):
|
|
|
236
229
|
Animal class but this time we won't travel
|
|
237
230
|
through its discriminator because we passed in
|
|
238
231
|
_visited_composed_classes = (Animal,)
|
|
232
|
+
data ([TransparencyReportResource], none_type): [optional] # noqa: E501
|
|
233
|
+
warnings ([CommonProblem], none_type): Warnings that occured during this call.. [optional] # noqa: E501
|
|
234
|
+
errors ([CommonProblem], none_type): Errors that occured during this call.. [optional] # noqa: E501
|
|
239
235
|
"""
|
|
240
236
|
|
|
241
237
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -265,7 +261,6 @@ class TransparencyReportEntityMessage(ModelNormal):
|
|
|
265
261
|
self._configuration = _configuration
|
|
266
262
|
self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
|
|
267
263
|
|
|
268
|
-
self.attributes = attributes
|
|
269
264
|
for var_name, var_value in kwargs.items():
|
|
270
265
|
if var_name not in self.attribute_map and \
|
|
271
266
|
self._configuration is not None and \
|
|
@@ -30,11 +30,11 @@ from criteo_api_marketingsolutions_v2024_07.exceptions import ApiAttributeError
|
|
|
30
30
|
|
|
31
31
|
|
|
32
32
|
def lazy_import():
|
|
33
|
-
from criteo_api_marketingsolutions_v2024_07.model.
|
|
34
|
-
globals()['
|
|
33
|
+
from criteo_api_marketingsolutions_v2024_07.model.transparency_report import TransparencyReport
|
|
34
|
+
globals()['TransparencyReport'] = TransparencyReport
|
|
35
35
|
|
|
36
36
|
|
|
37
|
-
class
|
|
37
|
+
class TransparencyReportResource(ModelNormal):
|
|
38
38
|
"""NOTE: This class is auto generated by OpenAPI Generator.
|
|
39
39
|
Ref: https://openapi-generator.tech
|
|
40
40
|
|
|
@@ -62,18 +62,9 @@ class TransparencyReportDataMessage(ModelNormal):
|
|
|
62
62
|
}
|
|
63
63
|
|
|
64
64
|
validations = {
|
|
65
|
-
('data',): {
|
|
66
|
-
},
|
|
67
65
|
}
|
|
68
66
|
|
|
69
|
-
|
|
70
|
-
def additional_properties_type():
|
|
71
|
-
"""
|
|
72
|
-
This must be a method because a model may have properties that are
|
|
73
|
-
of type self, this must run after the class is loaded
|
|
74
|
-
"""
|
|
75
|
-
lazy_import()
|
|
76
|
-
return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501
|
|
67
|
+
additional_properties_type = None
|
|
77
68
|
|
|
78
69
|
_nullable = False
|
|
79
70
|
|
|
@@ -89,7 +80,8 @@ class TransparencyReportDataMessage(ModelNormal):
|
|
|
89
80
|
"""
|
|
90
81
|
lazy_import()
|
|
91
82
|
return {
|
|
92
|
-
'
|
|
83
|
+
'type': (str, none_type,), # noqa: E501
|
|
84
|
+
'attributes': (TransparencyReport,), # noqa: E501
|
|
93
85
|
}
|
|
94
86
|
|
|
95
87
|
@cached_property
|
|
@@ -98,7 +90,8 @@ class TransparencyReportDataMessage(ModelNormal):
|
|
|
98
90
|
|
|
99
91
|
|
|
100
92
|
attribute_map = {
|
|
101
|
-
'
|
|
93
|
+
'type': 'type', # noqa: E501
|
|
94
|
+
'attributes': 'attributes', # noqa: E501
|
|
102
95
|
}
|
|
103
96
|
|
|
104
97
|
read_only_vars = {
|
|
@@ -108,11 +101,8 @@ class TransparencyReportDataMessage(ModelNormal):
|
|
|
108
101
|
|
|
109
102
|
@classmethod
|
|
110
103
|
@convert_js_args_to_python_args
|
|
111
|
-
def _from_openapi_data(cls,
|
|
112
|
-
"""
|
|
113
|
-
|
|
114
|
-
Args:
|
|
115
|
-
data ([TransparencyReportEntityMessage]):
|
|
104
|
+
def _from_openapi_data(cls, *args, **kwargs): # noqa: E501
|
|
105
|
+
"""TransparencyReportResource - a model defined in OpenAPI
|
|
116
106
|
|
|
117
107
|
Keyword Args:
|
|
118
108
|
_check_type (bool): if True, values for parameters in openapi_types
|
|
@@ -145,6 +135,8 @@ class TransparencyReportDataMessage(ModelNormal):
|
|
|
145
135
|
Animal class but this time we won't travel
|
|
146
136
|
through its discriminator because we passed in
|
|
147
137
|
_visited_composed_classes = (Animal,)
|
|
138
|
+
type (str, none_type): Type of the resource.. [optional] # noqa: E501
|
|
139
|
+
attributes (TransparencyReport): [optional] # noqa: E501
|
|
148
140
|
"""
|
|
149
141
|
|
|
150
142
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -176,7 +168,6 @@ class TransparencyReportDataMessage(ModelNormal):
|
|
|
176
168
|
self._configuration = _configuration
|
|
177
169
|
self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
|
|
178
170
|
|
|
179
|
-
self.data = data
|
|
180
171
|
for var_name, var_value in kwargs.items():
|
|
181
172
|
if var_name not in self.attribute_map and \
|
|
182
173
|
self._configuration is not None and \
|
|
@@ -197,11 +188,8 @@ class TransparencyReportDataMessage(ModelNormal):
|
|
|
197
188
|
])
|
|
198
189
|
|
|
199
190
|
@convert_js_args_to_python_args
|
|
200
|
-
def __init__(self,
|
|
201
|
-
"""
|
|
202
|
-
|
|
203
|
-
Args:
|
|
204
|
-
data ([TransparencyReportEntityMessage]):
|
|
191
|
+
def __init__(self, *args, **kwargs): # noqa: E501
|
|
192
|
+
"""TransparencyReportResource - a model defined in OpenAPI
|
|
205
193
|
|
|
206
194
|
Keyword Args:
|
|
207
195
|
_check_type (bool): if True, values for parameters in openapi_types
|
|
@@ -234,6 +222,8 @@ class TransparencyReportDataMessage(ModelNormal):
|
|
|
234
222
|
Animal class but this time we won't travel
|
|
235
223
|
through its discriminator because we passed in
|
|
236
224
|
_visited_composed_classes = (Animal,)
|
|
225
|
+
type (str, none_type): Type of the resource.. [optional] # noqa: E501
|
|
226
|
+
attributes (TransparencyReport): [optional] # noqa: E501
|
|
237
227
|
"""
|
|
238
228
|
|
|
239
229
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -263,7 +253,6 @@ class TransparencyReportDataMessage(ModelNormal):
|
|
|
263
253
|
self._configuration = _configuration
|
|
264
254
|
self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
|
|
265
255
|
|
|
266
|
-
self.data = data
|
|
267
256
|
for var_name, var_value in kwargs.items():
|
|
268
257
|
if var_name not in self.attribute_map and \
|
|
269
258
|
self._configuration is not None and \
|