criteo-api-marketingsolutions-sdk 2024.10.0.241029__py3-none-any.whl → 2024.10.0.250129__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.10.0.241029.dist-info → criteo_api_marketingsolutions_sdk-2024.10.0.250129.dist-info}/METADATA +14 -5
- {criteo_api_marketingsolutions_sdk-2024.10.0.241029.dist-info → criteo_api_marketingsolutions_sdk-2024.10.0.250129.dist-info}/RECORD +41 -41
- {criteo_api_marketingsolutions_sdk-2024.10.0.241029.dist-info → criteo_api_marketingsolutions_sdk-2024.10.0.250129.dist-info}/WHEEL +1 -1
- criteo_api_marketingsolutions_v2024_10/__init__.py +1 -1
- criteo_api_marketingsolutions_v2024_10/api/creative_api.py +89 -89
- criteo_api_marketingsolutions_v2024_10/api_client.py +1 -1
- criteo_api_marketingsolutions_v2024_10/configuration.py +1 -1
- criteo_api_marketingsolutions_v2024_10/model/adaptive_attributes.py +0 -10
- criteo_api_marketingsolutions_v2024_10/model/adaptive_write_attributes.py +0 -4
- criteo_api_marketingsolutions_v2024_10/model/coupon.py +0 -2
- criteo_api_marketingsolutions_v2024_10/model/coupon_supported_sizes.py +0 -4
- criteo_api_marketingsolutions_v2024_10/model/create_coupon.py +0 -2
- criteo_api_marketingsolutions_v2024_10/model/create_image_slide.py +0 -2
- criteo_api_marketingsolutions_v2024_10/model/dynamic_attributes.py +0 -4
- criteo_api_marketingsolutions_v2024_10/model/dynamic_write_attributes.py +6 -6
- criteo_api_marketingsolutions_v2024_10/model/html_tag_attributes.py +0 -2
- criteo_api_marketingsolutions_v2024_10/model/html_tag_write_attributes.py +0 -2
- criteo_api_marketingsolutions_v2024_10/model/image_attributes.py +0 -2
- criteo_api_marketingsolutions_v2024_10/model/image_set.py +0 -2
- criteo_api_marketingsolutions_v2024_10/model/image_slide.py +0 -2
- criteo_api_marketingsolutions_v2024_10/model/{creative_response.py → resource_collection_outcome_of_ad.py} +8 -12
- criteo_api_marketingsolutions_v2024_10/model/{ad_list_response.py → resource_collection_outcome_of_coupon.py} +8 -14
- criteo_api_marketingsolutions_v2024_10/model/resource_collection_outcome_of_creative.py +281 -0
- criteo_api_marketingsolutions_v2024_10/model/{ad_write_request.py → resource_input_of_ad_write.py} +8 -8
- criteo_api_marketingsolutions_v2024_10/model/{create_coupon_request.py → resource_input_of_create_coupon.py} +8 -8
- criteo_api_marketingsolutions_v2024_10/model/{creative_write_request.py → resource_input_of_creative_write.py} +8 -8
- criteo_api_marketingsolutions_v2024_10/model/{update_coupon_request.py → resource_input_of_update_coupon.py} +8 -8
- criteo_api_marketingsolutions_v2024_10/model/{ad_resource.py → resource_of_ad.py} +5 -5
- criteo_api_marketingsolutions_v2024_10/model/{ad_write_resource.py → resource_of_ad_write.py} +5 -5
- criteo_api_marketingsolutions_v2024_10/model/{coupon_resource.py → resource_of_coupon.py} +5 -5
- criteo_api_marketingsolutions_v2024_10/model/{coupon_supported_sizes_resource.py → resource_of_coupon_supported_sizes.py} +5 -5
- criteo_api_marketingsolutions_v2024_10/model/{create_coupon_resource.py → resource_of_create_coupon.py} +5 -5
- criteo_api_marketingsolutions_v2024_10/model/{creative_resource.py → resource_of_creative.py} +5 -5
- criteo_api_marketingsolutions_v2024_10/model/{creative_write_resource.py → resource_of_creative_write.py} +5 -5
- criteo_api_marketingsolutions_v2024_10/model/{update_coupon_resource.py → resource_of_update_coupon.py} +5 -5
- criteo_api_marketingsolutions_v2024_10/model/{ad_response.py → resource_outcome_of_ad.py} +8 -12
- criteo_api_marketingsolutions_v2024_10/model/{coupon_response.py → resource_outcome_of_coupon.py} +8 -12
- criteo_api_marketingsolutions_v2024_10/model/{coupon_list_response.py → resource_outcome_of_coupon_supported_sizes.py} +8 -14
- criteo_api_marketingsolutions_v2024_10/model/resource_outcome_of_creative.py +281 -0
- criteo_api_marketingsolutions_v2024_10/models/__init__.py +19 -19
- criteo_api_marketingsolutions_v2024_10/model/coupon_supported_sizes_response.py +0 -285
- criteo_api_marketingsolutions_v2024_10/model/creative_list_response.py +0 -287
- {criteo_api_marketingsolutions_sdk-2024.10.0.241029.dist-info → criteo_api_marketingsolutions_sdk-2024.10.0.250129.dist-info}/top_level.txt +0 -0
|
@@ -30,11 +30,11 @@ from criteo_api_marketingsolutions_v2024_10.exceptions import ApiAttributeError
|
|
|
30
30
|
|
|
31
31
|
|
|
32
32
|
def lazy_import():
|
|
33
|
-
from criteo_api_marketingsolutions_v2024_10.model.
|
|
34
|
-
globals()['
|
|
33
|
+
from criteo_api_marketingsolutions_v2024_10.model.resource_of_creative_write import ResourceOfCreativeWrite
|
|
34
|
+
globals()['ResourceOfCreativeWrite'] = ResourceOfCreativeWrite
|
|
35
35
|
|
|
36
36
|
|
|
37
|
-
class
|
|
37
|
+
class ResourceInputOfCreativeWrite(ModelNormal):
|
|
38
38
|
"""NOTE: This class is auto generated by OpenAPI Generator.
|
|
39
39
|
Ref: https://openapi-generator.tech
|
|
40
40
|
|
|
@@ -87,7 +87,7 @@ class CreativeWriteRequest(ModelNormal):
|
|
|
87
87
|
"""
|
|
88
88
|
lazy_import()
|
|
89
89
|
return {
|
|
90
|
-
'data': (
|
|
90
|
+
'data': (ResourceOfCreativeWrite,), # noqa: E501
|
|
91
91
|
}
|
|
92
92
|
|
|
93
93
|
@cached_property
|
|
@@ -107,7 +107,7 @@ class CreativeWriteRequest(ModelNormal):
|
|
|
107
107
|
@classmethod
|
|
108
108
|
@convert_js_args_to_python_args
|
|
109
109
|
def _from_openapi_data(cls, *args, **kwargs): # noqa: E501
|
|
110
|
-
"""
|
|
110
|
+
"""ResourceInputOfCreativeWrite - a model defined in OpenAPI
|
|
111
111
|
|
|
112
112
|
Keyword Args:
|
|
113
113
|
_check_type (bool): if True, values for parameters in openapi_types
|
|
@@ -140,7 +140,7 @@ class CreativeWriteRequest(ModelNormal):
|
|
|
140
140
|
Animal class but this time we won't travel
|
|
141
141
|
through its discriminator because we passed in
|
|
142
142
|
_visited_composed_classes = (Animal,)
|
|
143
|
-
data (
|
|
143
|
+
data (ResourceOfCreativeWrite): [optional] # noqa: E501
|
|
144
144
|
"""
|
|
145
145
|
|
|
146
146
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -193,7 +193,7 @@ class CreativeWriteRequest(ModelNormal):
|
|
|
193
193
|
|
|
194
194
|
@convert_js_args_to_python_args
|
|
195
195
|
def __init__(self, *args, **kwargs): # noqa: E501
|
|
196
|
-
"""
|
|
196
|
+
"""ResourceInputOfCreativeWrite - a model defined in OpenAPI
|
|
197
197
|
|
|
198
198
|
Keyword Args:
|
|
199
199
|
_check_type (bool): if True, values for parameters in openapi_types
|
|
@@ -226,7 +226,7 @@ class CreativeWriteRequest(ModelNormal):
|
|
|
226
226
|
Animal class but this time we won't travel
|
|
227
227
|
through its discriminator because we passed in
|
|
228
228
|
_visited_composed_classes = (Animal,)
|
|
229
|
-
data (
|
|
229
|
+
data (ResourceOfCreativeWrite): [optional] # noqa: E501
|
|
230
230
|
"""
|
|
231
231
|
|
|
232
232
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -30,11 +30,11 @@ from criteo_api_marketingsolutions_v2024_10.exceptions import ApiAttributeError
|
|
|
30
30
|
|
|
31
31
|
|
|
32
32
|
def lazy_import():
|
|
33
|
-
from criteo_api_marketingsolutions_v2024_10.model.
|
|
34
|
-
globals()['
|
|
33
|
+
from criteo_api_marketingsolutions_v2024_10.model.resource_of_update_coupon import ResourceOfUpdateCoupon
|
|
34
|
+
globals()['ResourceOfUpdateCoupon'] = ResourceOfUpdateCoupon
|
|
35
35
|
|
|
36
36
|
|
|
37
|
-
class
|
|
37
|
+
class ResourceInputOfUpdateCoupon(ModelNormal):
|
|
38
38
|
"""NOTE: This class is auto generated by OpenAPI Generator.
|
|
39
39
|
Ref: https://openapi-generator.tech
|
|
40
40
|
|
|
@@ -87,7 +87,7 @@ class UpdateCouponRequest(ModelNormal):
|
|
|
87
87
|
"""
|
|
88
88
|
lazy_import()
|
|
89
89
|
return {
|
|
90
|
-
'data': (
|
|
90
|
+
'data': (ResourceOfUpdateCoupon,), # noqa: E501
|
|
91
91
|
}
|
|
92
92
|
|
|
93
93
|
@cached_property
|
|
@@ -107,7 +107,7 @@ class UpdateCouponRequest(ModelNormal):
|
|
|
107
107
|
@classmethod
|
|
108
108
|
@convert_js_args_to_python_args
|
|
109
109
|
def _from_openapi_data(cls, *args, **kwargs): # noqa: E501
|
|
110
|
-
"""
|
|
110
|
+
"""ResourceInputOfUpdateCoupon - a model defined in OpenAPI
|
|
111
111
|
|
|
112
112
|
Keyword Args:
|
|
113
113
|
_check_type (bool): if True, values for parameters in openapi_types
|
|
@@ -140,7 +140,7 @@ class UpdateCouponRequest(ModelNormal):
|
|
|
140
140
|
Animal class but this time we won't travel
|
|
141
141
|
through its discriminator because we passed in
|
|
142
142
|
_visited_composed_classes = (Animal,)
|
|
143
|
-
data (
|
|
143
|
+
data (ResourceOfUpdateCoupon): [optional] # noqa: E501
|
|
144
144
|
"""
|
|
145
145
|
|
|
146
146
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -193,7 +193,7 @@ class UpdateCouponRequest(ModelNormal):
|
|
|
193
193
|
|
|
194
194
|
@convert_js_args_to_python_args
|
|
195
195
|
def __init__(self, *args, **kwargs): # noqa: E501
|
|
196
|
-
"""
|
|
196
|
+
"""ResourceInputOfUpdateCoupon - a model defined in OpenAPI
|
|
197
197
|
|
|
198
198
|
Keyword Args:
|
|
199
199
|
_check_type (bool): if True, values for parameters in openapi_types
|
|
@@ -226,7 +226,7 @@ class UpdateCouponRequest(ModelNormal):
|
|
|
226
226
|
Animal class but this time we won't travel
|
|
227
227
|
through its discriminator because we passed in
|
|
228
228
|
_visited_composed_classes = (Animal,)
|
|
229
|
-
data (
|
|
229
|
+
data (ResourceOfUpdateCoupon): [optional] # noqa: E501
|
|
230
230
|
"""
|
|
231
231
|
|
|
232
232
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -34,7 +34,7 @@ def lazy_import():
|
|
|
34
34
|
globals()['Ad'] = Ad
|
|
35
35
|
|
|
36
36
|
|
|
37
|
-
class
|
|
37
|
+
class ResourceOfAd(ModelNormal):
|
|
38
38
|
"""NOTE: This class is auto generated by OpenAPI Generator.
|
|
39
39
|
Ref: https://openapi-generator.tech
|
|
40
40
|
|
|
@@ -111,7 +111,7 @@ class AdResource(ModelNormal):
|
|
|
111
111
|
@classmethod
|
|
112
112
|
@convert_js_args_to_python_args
|
|
113
113
|
def _from_openapi_data(cls, *args, **kwargs): # noqa: E501
|
|
114
|
-
"""
|
|
114
|
+
"""ResourceOfAd - a model defined in OpenAPI
|
|
115
115
|
|
|
116
116
|
Keyword Args:
|
|
117
117
|
_check_type (bool): if True, values for parameters in openapi_types
|
|
@@ -145,7 +145,7 @@ class AdResource(ModelNormal):
|
|
|
145
145
|
through its discriminator because we passed in
|
|
146
146
|
_visited_composed_classes = (Animal,)
|
|
147
147
|
attributes (Ad): [optional] # noqa: E501
|
|
148
|
-
id (str, none_type): [optional] # noqa: E501
|
|
148
|
+
id (str, none_type): Unique identifier of this resource.. [optional] # noqa: E501
|
|
149
149
|
type (str, none_type): [optional] # noqa: E501
|
|
150
150
|
"""
|
|
151
151
|
|
|
@@ -199,7 +199,7 @@ class AdResource(ModelNormal):
|
|
|
199
199
|
|
|
200
200
|
@convert_js_args_to_python_args
|
|
201
201
|
def __init__(self, *args, **kwargs): # noqa: E501
|
|
202
|
-
"""
|
|
202
|
+
"""ResourceOfAd - a model defined in OpenAPI
|
|
203
203
|
|
|
204
204
|
Keyword Args:
|
|
205
205
|
_check_type (bool): if True, values for parameters in openapi_types
|
|
@@ -233,7 +233,7 @@ class AdResource(ModelNormal):
|
|
|
233
233
|
through its discriminator because we passed in
|
|
234
234
|
_visited_composed_classes = (Animal,)
|
|
235
235
|
attributes (Ad): [optional] # noqa: E501
|
|
236
|
-
id (str, none_type): [optional] # noqa: E501
|
|
236
|
+
id (str, none_type): Unique identifier of this resource.. [optional] # noqa: E501
|
|
237
237
|
type (str, none_type): [optional] # noqa: E501
|
|
238
238
|
"""
|
|
239
239
|
|
criteo_api_marketingsolutions_v2024_10/model/{ad_write_resource.py → resource_of_ad_write.py}
RENAMED
|
@@ -34,7 +34,7 @@ def lazy_import():
|
|
|
34
34
|
globals()['AdWrite'] = AdWrite
|
|
35
35
|
|
|
36
36
|
|
|
37
|
-
class
|
|
37
|
+
class ResourceOfAdWrite(ModelNormal):
|
|
38
38
|
"""NOTE: This class is auto generated by OpenAPI Generator.
|
|
39
39
|
Ref: https://openapi-generator.tech
|
|
40
40
|
|
|
@@ -111,7 +111,7 @@ class AdWriteResource(ModelNormal):
|
|
|
111
111
|
@classmethod
|
|
112
112
|
@convert_js_args_to_python_args
|
|
113
113
|
def _from_openapi_data(cls, *args, **kwargs): # noqa: E501
|
|
114
|
-
"""
|
|
114
|
+
"""ResourceOfAdWrite - a model defined in OpenAPI
|
|
115
115
|
|
|
116
116
|
Keyword Args:
|
|
117
117
|
_check_type (bool): if True, values for parameters in openapi_types
|
|
@@ -145,7 +145,7 @@ class AdWriteResource(ModelNormal):
|
|
|
145
145
|
through its discriminator because we passed in
|
|
146
146
|
_visited_composed_classes = (Animal,)
|
|
147
147
|
attributes (AdWrite): [optional] # noqa: E501
|
|
148
|
-
id (str, none_type): [optional] # noqa: E501
|
|
148
|
+
id (str, none_type): Unique identifier of this resource.. [optional] # noqa: E501
|
|
149
149
|
type (str, none_type): [optional] # noqa: E501
|
|
150
150
|
"""
|
|
151
151
|
|
|
@@ -199,7 +199,7 @@ class AdWriteResource(ModelNormal):
|
|
|
199
199
|
|
|
200
200
|
@convert_js_args_to_python_args
|
|
201
201
|
def __init__(self, *args, **kwargs): # noqa: E501
|
|
202
|
-
"""
|
|
202
|
+
"""ResourceOfAdWrite - a model defined in OpenAPI
|
|
203
203
|
|
|
204
204
|
Keyword Args:
|
|
205
205
|
_check_type (bool): if True, values for parameters in openapi_types
|
|
@@ -233,7 +233,7 @@ class AdWriteResource(ModelNormal):
|
|
|
233
233
|
through its discriminator because we passed in
|
|
234
234
|
_visited_composed_classes = (Animal,)
|
|
235
235
|
attributes (AdWrite): [optional] # noqa: E501
|
|
236
|
-
id (str, none_type): [optional] # noqa: E501
|
|
236
|
+
id (str, none_type): Unique identifier of this resource.. [optional] # noqa: E501
|
|
237
237
|
type (str, none_type): [optional] # noqa: E501
|
|
238
238
|
"""
|
|
239
239
|
|
|
@@ -34,7 +34,7 @@ def lazy_import():
|
|
|
34
34
|
globals()['Coupon'] = Coupon
|
|
35
35
|
|
|
36
36
|
|
|
37
|
-
class
|
|
37
|
+
class ResourceOfCoupon(ModelNormal):
|
|
38
38
|
"""NOTE: This class is auto generated by OpenAPI Generator.
|
|
39
39
|
Ref: https://openapi-generator.tech
|
|
40
40
|
|
|
@@ -111,7 +111,7 @@ class CouponResource(ModelNormal):
|
|
|
111
111
|
@classmethod
|
|
112
112
|
@convert_js_args_to_python_args
|
|
113
113
|
def _from_openapi_data(cls, *args, **kwargs): # noqa: E501
|
|
114
|
-
"""
|
|
114
|
+
"""ResourceOfCoupon - a model defined in OpenAPI
|
|
115
115
|
|
|
116
116
|
Keyword Args:
|
|
117
117
|
_check_type (bool): if True, values for parameters in openapi_types
|
|
@@ -145,7 +145,7 @@ class CouponResource(ModelNormal):
|
|
|
145
145
|
through its discriminator because we passed in
|
|
146
146
|
_visited_composed_classes = (Animal,)
|
|
147
147
|
attributes (Coupon): [optional] # noqa: E501
|
|
148
|
-
id (str, none_type): [optional] # noqa: E501
|
|
148
|
+
id (str, none_type): Unique identifier of this resource.. [optional] # noqa: E501
|
|
149
149
|
type (str, none_type): [optional] # noqa: E501
|
|
150
150
|
"""
|
|
151
151
|
|
|
@@ -199,7 +199,7 @@ class CouponResource(ModelNormal):
|
|
|
199
199
|
|
|
200
200
|
@convert_js_args_to_python_args
|
|
201
201
|
def __init__(self, *args, **kwargs): # noqa: E501
|
|
202
|
-
"""
|
|
202
|
+
"""ResourceOfCoupon - a model defined in OpenAPI
|
|
203
203
|
|
|
204
204
|
Keyword Args:
|
|
205
205
|
_check_type (bool): if True, values for parameters in openapi_types
|
|
@@ -233,7 +233,7 @@ class CouponResource(ModelNormal):
|
|
|
233
233
|
through its discriminator because we passed in
|
|
234
234
|
_visited_composed_classes = (Animal,)
|
|
235
235
|
attributes (Coupon): [optional] # noqa: E501
|
|
236
|
-
id (str, none_type): [optional] # noqa: E501
|
|
236
|
+
id (str, none_type): Unique identifier of this resource.. [optional] # noqa: E501
|
|
237
237
|
type (str, none_type): [optional] # noqa: E501
|
|
238
238
|
"""
|
|
239
239
|
|
|
@@ -34,7 +34,7 @@ def lazy_import():
|
|
|
34
34
|
globals()['CouponSupportedSizes'] = CouponSupportedSizes
|
|
35
35
|
|
|
36
36
|
|
|
37
|
-
class
|
|
37
|
+
class ResourceOfCouponSupportedSizes(ModelNormal):
|
|
38
38
|
"""NOTE: This class is auto generated by OpenAPI Generator.
|
|
39
39
|
Ref: https://openapi-generator.tech
|
|
40
40
|
|
|
@@ -111,7 +111,7 @@ class CouponSupportedSizesResource(ModelNormal):
|
|
|
111
111
|
@classmethod
|
|
112
112
|
@convert_js_args_to_python_args
|
|
113
113
|
def _from_openapi_data(cls, *args, **kwargs): # noqa: E501
|
|
114
|
-
"""
|
|
114
|
+
"""ResourceOfCouponSupportedSizes - a model defined in OpenAPI
|
|
115
115
|
|
|
116
116
|
Keyword Args:
|
|
117
117
|
_check_type (bool): if True, values for parameters in openapi_types
|
|
@@ -145,7 +145,7 @@ class CouponSupportedSizesResource(ModelNormal):
|
|
|
145
145
|
through its discriminator because we passed in
|
|
146
146
|
_visited_composed_classes = (Animal,)
|
|
147
147
|
attributes (CouponSupportedSizes): [optional] # noqa: E501
|
|
148
|
-
id (str, none_type): [optional] # noqa: E501
|
|
148
|
+
id (str, none_type): Unique identifier of this resource.. [optional] # noqa: E501
|
|
149
149
|
type (str, none_type): [optional] # noqa: E501
|
|
150
150
|
"""
|
|
151
151
|
|
|
@@ -199,7 +199,7 @@ class CouponSupportedSizesResource(ModelNormal):
|
|
|
199
199
|
|
|
200
200
|
@convert_js_args_to_python_args
|
|
201
201
|
def __init__(self, *args, **kwargs): # noqa: E501
|
|
202
|
-
"""
|
|
202
|
+
"""ResourceOfCouponSupportedSizes - a model defined in OpenAPI
|
|
203
203
|
|
|
204
204
|
Keyword Args:
|
|
205
205
|
_check_type (bool): if True, values for parameters in openapi_types
|
|
@@ -233,7 +233,7 @@ class CouponSupportedSizesResource(ModelNormal):
|
|
|
233
233
|
through its discriminator because we passed in
|
|
234
234
|
_visited_composed_classes = (Animal,)
|
|
235
235
|
attributes (CouponSupportedSizes): [optional] # noqa: E501
|
|
236
|
-
id (str, none_type): [optional] # noqa: E501
|
|
236
|
+
id (str, none_type): Unique identifier of this resource.. [optional] # noqa: E501
|
|
237
237
|
type (str, none_type): [optional] # noqa: E501
|
|
238
238
|
"""
|
|
239
239
|
|
|
@@ -34,7 +34,7 @@ def lazy_import():
|
|
|
34
34
|
globals()['CreateCoupon'] = CreateCoupon
|
|
35
35
|
|
|
36
36
|
|
|
37
|
-
class
|
|
37
|
+
class ResourceOfCreateCoupon(ModelNormal):
|
|
38
38
|
"""NOTE: This class is auto generated by OpenAPI Generator.
|
|
39
39
|
Ref: https://openapi-generator.tech
|
|
40
40
|
|
|
@@ -111,7 +111,7 @@ class CreateCouponResource(ModelNormal):
|
|
|
111
111
|
@classmethod
|
|
112
112
|
@convert_js_args_to_python_args
|
|
113
113
|
def _from_openapi_data(cls, *args, **kwargs): # noqa: E501
|
|
114
|
-
"""
|
|
114
|
+
"""ResourceOfCreateCoupon - a model defined in OpenAPI
|
|
115
115
|
|
|
116
116
|
Keyword Args:
|
|
117
117
|
_check_type (bool): if True, values for parameters in openapi_types
|
|
@@ -145,7 +145,7 @@ class CreateCouponResource(ModelNormal):
|
|
|
145
145
|
through its discriminator because we passed in
|
|
146
146
|
_visited_composed_classes = (Animal,)
|
|
147
147
|
attributes (CreateCoupon): [optional] # noqa: E501
|
|
148
|
-
id (str, none_type): [optional] # noqa: E501
|
|
148
|
+
id (str, none_type): Unique identifier of this resource.. [optional] # noqa: E501
|
|
149
149
|
type (str, none_type): [optional] # noqa: E501
|
|
150
150
|
"""
|
|
151
151
|
|
|
@@ -199,7 +199,7 @@ class CreateCouponResource(ModelNormal):
|
|
|
199
199
|
|
|
200
200
|
@convert_js_args_to_python_args
|
|
201
201
|
def __init__(self, *args, **kwargs): # noqa: E501
|
|
202
|
-
"""
|
|
202
|
+
"""ResourceOfCreateCoupon - a model defined in OpenAPI
|
|
203
203
|
|
|
204
204
|
Keyword Args:
|
|
205
205
|
_check_type (bool): if True, values for parameters in openapi_types
|
|
@@ -233,7 +233,7 @@ class CreateCouponResource(ModelNormal):
|
|
|
233
233
|
through its discriminator because we passed in
|
|
234
234
|
_visited_composed_classes = (Animal,)
|
|
235
235
|
attributes (CreateCoupon): [optional] # noqa: E501
|
|
236
|
-
id (str, none_type): [optional] # noqa: E501
|
|
236
|
+
id (str, none_type): Unique identifier of this resource.. [optional] # noqa: E501
|
|
237
237
|
type (str, none_type): [optional] # noqa: E501
|
|
238
238
|
"""
|
|
239
239
|
|
criteo_api_marketingsolutions_v2024_10/model/{creative_resource.py → resource_of_creative.py}
RENAMED
|
@@ -34,7 +34,7 @@ def lazy_import():
|
|
|
34
34
|
globals()['Creative'] = Creative
|
|
35
35
|
|
|
36
36
|
|
|
37
|
-
class
|
|
37
|
+
class ResourceOfCreative(ModelNormal):
|
|
38
38
|
"""NOTE: This class is auto generated by OpenAPI Generator.
|
|
39
39
|
Ref: https://openapi-generator.tech
|
|
40
40
|
|
|
@@ -111,7 +111,7 @@ class CreativeResource(ModelNormal):
|
|
|
111
111
|
@classmethod
|
|
112
112
|
@convert_js_args_to_python_args
|
|
113
113
|
def _from_openapi_data(cls, *args, **kwargs): # noqa: E501
|
|
114
|
-
"""
|
|
114
|
+
"""ResourceOfCreative - a model defined in OpenAPI
|
|
115
115
|
|
|
116
116
|
Keyword Args:
|
|
117
117
|
_check_type (bool): if True, values for parameters in openapi_types
|
|
@@ -145,7 +145,7 @@ class CreativeResource(ModelNormal):
|
|
|
145
145
|
through its discriminator because we passed in
|
|
146
146
|
_visited_composed_classes = (Animal,)
|
|
147
147
|
attributes (Creative): [optional] # noqa: E501
|
|
148
|
-
id (str, none_type): [optional] # noqa: E501
|
|
148
|
+
id (str, none_type): Unique identifier of this resource.. [optional] # noqa: E501
|
|
149
149
|
type (str, none_type): [optional] # noqa: E501
|
|
150
150
|
"""
|
|
151
151
|
|
|
@@ -199,7 +199,7 @@ class CreativeResource(ModelNormal):
|
|
|
199
199
|
|
|
200
200
|
@convert_js_args_to_python_args
|
|
201
201
|
def __init__(self, *args, **kwargs): # noqa: E501
|
|
202
|
-
"""
|
|
202
|
+
"""ResourceOfCreative - a model defined in OpenAPI
|
|
203
203
|
|
|
204
204
|
Keyword Args:
|
|
205
205
|
_check_type (bool): if True, values for parameters in openapi_types
|
|
@@ -233,7 +233,7 @@ class CreativeResource(ModelNormal):
|
|
|
233
233
|
through its discriminator because we passed in
|
|
234
234
|
_visited_composed_classes = (Animal,)
|
|
235
235
|
attributes (Creative): [optional] # noqa: E501
|
|
236
|
-
id (str, none_type): [optional] # noqa: E501
|
|
236
|
+
id (str, none_type): Unique identifier of this resource.. [optional] # noqa: E501
|
|
237
237
|
type (str, none_type): [optional] # noqa: E501
|
|
238
238
|
"""
|
|
239
239
|
|
|
@@ -34,7 +34,7 @@ def lazy_import():
|
|
|
34
34
|
globals()['CreativeWrite'] = CreativeWrite
|
|
35
35
|
|
|
36
36
|
|
|
37
|
-
class
|
|
37
|
+
class ResourceOfCreativeWrite(ModelNormal):
|
|
38
38
|
"""NOTE: This class is auto generated by OpenAPI Generator.
|
|
39
39
|
Ref: https://openapi-generator.tech
|
|
40
40
|
|
|
@@ -111,7 +111,7 @@ class CreativeWriteResource(ModelNormal):
|
|
|
111
111
|
@classmethod
|
|
112
112
|
@convert_js_args_to_python_args
|
|
113
113
|
def _from_openapi_data(cls, *args, **kwargs): # noqa: E501
|
|
114
|
-
"""
|
|
114
|
+
"""ResourceOfCreativeWrite - a model defined in OpenAPI
|
|
115
115
|
|
|
116
116
|
Keyword Args:
|
|
117
117
|
_check_type (bool): if True, values for parameters in openapi_types
|
|
@@ -145,7 +145,7 @@ class CreativeWriteResource(ModelNormal):
|
|
|
145
145
|
through its discriminator because we passed in
|
|
146
146
|
_visited_composed_classes = (Animal,)
|
|
147
147
|
attributes (CreativeWrite): [optional] # noqa: E501
|
|
148
|
-
id (str, none_type): [optional] # noqa: E501
|
|
148
|
+
id (str, none_type): Unique identifier of this resource.. [optional] # noqa: E501
|
|
149
149
|
type (str, none_type): [optional] # noqa: E501
|
|
150
150
|
"""
|
|
151
151
|
|
|
@@ -199,7 +199,7 @@ class CreativeWriteResource(ModelNormal):
|
|
|
199
199
|
|
|
200
200
|
@convert_js_args_to_python_args
|
|
201
201
|
def __init__(self, *args, **kwargs): # noqa: E501
|
|
202
|
-
"""
|
|
202
|
+
"""ResourceOfCreativeWrite - a model defined in OpenAPI
|
|
203
203
|
|
|
204
204
|
Keyword Args:
|
|
205
205
|
_check_type (bool): if True, values for parameters in openapi_types
|
|
@@ -233,7 +233,7 @@ class CreativeWriteResource(ModelNormal):
|
|
|
233
233
|
through its discriminator because we passed in
|
|
234
234
|
_visited_composed_classes = (Animal,)
|
|
235
235
|
attributes (CreativeWrite): [optional] # noqa: E501
|
|
236
|
-
id (str, none_type): [optional] # noqa: E501
|
|
236
|
+
id (str, none_type): Unique identifier of this resource.. [optional] # noqa: E501
|
|
237
237
|
type (str, none_type): [optional] # noqa: E501
|
|
238
238
|
"""
|
|
239
239
|
|
|
@@ -34,7 +34,7 @@ def lazy_import():
|
|
|
34
34
|
globals()['UpdateCoupon'] = UpdateCoupon
|
|
35
35
|
|
|
36
36
|
|
|
37
|
-
class
|
|
37
|
+
class ResourceOfUpdateCoupon(ModelNormal):
|
|
38
38
|
"""NOTE: This class is auto generated by OpenAPI Generator.
|
|
39
39
|
Ref: https://openapi-generator.tech
|
|
40
40
|
|
|
@@ -111,7 +111,7 @@ class UpdateCouponResource(ModelNormal):
|
|
|
111
111
|
@classmethod
|
|
112
112
|
@convert_js_args_to_python_args
|
|
113
113
|
def _from_openapi_data(cls, *args, **kwargs): # noqa: E501
|
|
114
|
-
"""
|
|
114
|
+
"""ResourceOfUpdateCoupon - a model defined in OpenAPI
|
|
115
115
|
|
|
116
116
|
Keyword Args:
|
|
117
117
|
_check_type (bool): if True, values for parameters in openapi_types
|
|
@@ -145,7 +145,7 @@ class UpdateCouponResource(ModelNormal):
|
|
|
145
145
|
through its discriminator because we passed in
|
|
146
146
|
_visited_composed_classes = (Animal,)
|
|
147
147
|
attributes (UpdateCoupon): [optional] # noqa: E501
|
|
148
|
-
id (str, none_type): [optional] # noqa: E501
|
|
148
|
+
id (str, none_type): Unique identifier of this resource.. [optional] # noqa: E501
|
|
149
149
|
type (str, none_type): [optional] # noqa: E501
|
|
150
150
|
"""
|
|
151
151
|
|
|
@@ -199,7 +199,7 @@ class UpdateCouponResource(ModelNormal):
|
|
|
199
199
|
|
|
200
200
|
@convert_js_args_to_python_args
|
|
201
201
|
def __init__(self, *args, **kwargs): # noqa: E501
|
|
202
|
-
"""
|
|
202
|
+
"""ResourceOfUpdateCoupon - a model defined in OpenAPI
|
|
203
203
|
|
|
204
204
|
Keyword Args:
|
|
205
205
|
_check_type (bool): if True, values for parameters in openapi_types
|
|
@@ -233,7 +233,7 @@ class UpdateCouponResource(ModelNormal):
|
|
|
233
233
|
through its discriminator because we passed in
|
|
234
234
|
_visited_composed_classes = (Animal,)
|
|
235
235
|
attributes (UpdateCoupon): [optional] # noqa: E501
|
|
236
|
-
id (str, none_type): [optional] # noqa: E501
|
|
236
|
+
id (str, none_type): Unique identifier of this resource.. [optional] # noqa: E501
|
|
237
237
|
type (str, none_type): [optional] # noqa: E501
|
|
238
238
|
"""
|
|
239
239
|
|
|
@@ -30,13 +30,13 @@ from criteo_api_marketingsolutions_v2024_10.exceptions import ApiAttributeError
|
|
|
30
30
|
|
|
31
31
|
|
|
32
32
|
def lazy_import():
|
|
33
|
-
from criteo_api_marketingsolutions_v2024_10.model.ad_resource import AdResource
|
|
34
33
|
from criteo_api_marketingsolutions_v2024_10.model.common_problem import CommonProblem
|
|
35
|
-
|
|
34
|
+
from criteo_api_marketingsolutions_v2024_10.model.resource_of_ad import ResourceOfAd
|
|
36
35
|
globals()['CommonProblem'] = CommonProblem
|
|
36
|
+
globals()['ResourceOfAd'] = ResourceOfAd
|
|
37
37
|
|
|
38
38
|
|
|
39
|
-
class
|
|
39
|
+
class ResourceOutcomeOfAd(ModelNormal):
|
|
40
40
|
"""NOTE: This class is auto generated by OpenAPI Generator.
|
|
41
41
|
Ref: https://openapi-generator.tech
|
|
42
42
|
|
|
@@ -64,10 +64,6 @@ class AdResponse(ModelNormal):
|
|
|
64
64
|
}
|
|
65
65
|
|
|
66
66
|
validations = {
|
|
67
|
-
('warnings',): {
|
|
68
|
-
},
|
|
69
|
-
('errors',): {
|
|
70
|
-
},
|
|
71
67
|
}
|
|
72
68
|
|
|
73
69
|
@cached_property
|
|
@@ -93,7 +89,7 @@ class AdResponse(ModelNormal):
|
|
|
93
89
|
"""
|
|
94
90
|
lazy_import()
|
|
95
91
|
return {
|
|
96
|
-
'data': (
|
|
92
|
+
'data': (ResourceOfAd,), # noqa: E501
|
|
97
93
|
'warnings': ([CommonProblem], none_type,), # noqa: E501
|
|
98
94
|
'errors': ([CommonProblem], none_type,), # noqa: E501
|
|
99
95
|
}
|
|
@@ -119,7 +115,7 @@ class AdResponse(ModelNormal):
|
|
|
119
115
|
@classmethod
|
|
120
116
|
@convert_js_args_to_python_args
|
|
121
117
|
def _from_openapi_data(cls, *args, **kwargs): # noqa: E501
|
|
122
|
-
"""
|
|
118
|
+
"""ResourceOutcomeOfAd - a model defined in OpenAPI
|
|
123
119
|
|
|
124
120
|
Keyword Args:
|
|
125
121
|
_check_type (bool): if True, values for parameters in openapi_types
|
|
@@ -152,7 +148,7 @@ class AdResponse(ModelNormal):
|
|
|
152
148
|
Animal class but this time we won't travel
|
|
153
149
|
through its discriminator because we passed in
|
|
154
150
|
_visited_composed_classes = (Animal,)
|
|
155
|
-
data (
|
|
151
|
+
data (ResourceOfAd): [optional] # noqa: E501
|
|
156
152
|
warnings ([CommonProblem], none_type): [optional] # noqa: E501
|
|
157
153
|
errors ([CommonProblem], none_type): [optional] # noqa: E501
|
|
158
154
|
"""
|
|
@@ -207,7 +203,7 @@ class AdResponse(ModelNormal):
|
|
|
207
203
|
|
|
208
204
|
@convert_js_args_to_python_args
|
|
209
205
|
def __init__(self, *args, **kwargs): # noqa: E501
|
|
210
|
-
"""
|
|
206
|
+
"""ResourceOutcomeOfAd - a model defined in OpenAPI
|
|
211
207
|
|
|
212
208
|
Keyword Args:
|
|
213
209
|
_check_type (bool): if True, values for parameters in openapi_types
|
|
@@ -240,7 +236,7 @@ class AdResponse(ModelNormal):
|
|
|
240
236
|
Animal class but this time we won't travel
|
|
241
237
|
through its discriminator because we passed in
|
|
242
238
|
_visited_composed_classes = (Animal,)
|
|
243
|
-
data (
|
|
239
|
+
data (ResourceOfAd): [optional] # noqa: E501
|
|
244
240
|
warnings ([CommonProblem], none_type): [optional] # noqa: E501
|
|
245
241
|
errors ([CommonProblem], none_type): [optional] # noqa: E501
|
|
246
242
|
"""
|
criteo_api_marketingsolutions_v2024_10/model/{coupon_response.py → resource_outcome_of_coupon.py}
RENAMED
|
@@ -31,12 +31,12 @@ from criteo_api_marketingsolutions_v2024_10.exceptions import ApiAttributeError
|
|
|
31
31
|
|
|
32
32
|
def lazy_import():
|
|
33
33
|
from criteo_api_marketingsolutions_v2024_10.model.common_problem import CommonProblem
|
|
34
|
-
from criteo_api_marketingsolutions_v2024_10.model.
|
|
34
|
+
from criteo_api_marketingsolutions_v2024_10.model.resource_of_coupon import ResourceOfCoupon
|
|
35
35
|
globals()['CommonProblem'] = CommonProblem
|
|
36
|
-
globals()['
|
|
36
|
+
globals()['ResourceOfCoupon'] = ResourceOfCoupon
|
|
37
37
|
|
|
38
38
|
|
|
39
|
-
class
|
|
39
|
+
class ResourceOutcomeOfCoupon(ModelNormal):
|
|
40
40
|
"""NOTE: This class is auto generated by OpenAPI Generator.
|
|
41
41
|
Ref: https://openapi-generator.tech
|
|
42
42
|
|
|
@@ -64,10 +64,6 @@ class CouponResponse(ModelNormal):
|
|
|
64
64
|
}
|
|
65
65
|
|
|
66
66
|
validations = {
|
|
67
|
-
('warnings',): {
|
|
68
|
-
},
|
|
69
|
-
('errors',): {
|
|
70
|
-
},
|
|
71
67
|
}
|
|
72
68
|
|
|
73
69
|
@cached_property
|
|
@@ -93,7 +89,7 @@ class CouponResponse(ModelNormal):
|
|
|
93
89
|
"""
|
|
94
90
|
lazy_import()
|
|
95
91
|
return {
|
|
96
|
-
'data': (
|
|
92
|
+
'data': (ResourceOfCoupon,), # noqa: E501
|
|
97
93
|
'warnings': ([CommonProblem], none_type,), # noqa: E501
|
|
98
94
|
'errors': ([CommonProblem], none_type,), # noqa: E501
|
|
99
95
|
}
|
|
@@ -119,7 +115,7 @@ class CouponResponse(ModelNormal):
|
|
|
119
115
|
@classmethod
|
|
120
116
|
@convert_js_args_to_python_args
|
|
121
117
|
def _from_openapi_data(cls, *args, **kwargs): # noqa: E501
|
|
122
|
-
"""
|
|
118
|
+
"""ResourceOutcomeOfCoupon - a model defined in OpenAPI
|
|
123
119
|
|
|
124
120
|
Keyword Args:
|
|
125
121
|
_check_type (bool): if True, values for parameters in openapi_types
|
|
@@ -152,7 +148,7 @@ class CouponResponse(ModelNormal):
|
|
|
152
148
|
Animal class but this time we won't travel
|
|
153
149
|
through its discriminator because we passed in
|
|
154
150
|
_visited_composed_classes = (Animal,)
|
|
155
|
-
data (
|
|
151
|
+
data (ResourceOfCoupon): [optional] # noqa: E501
|
|
156
152
|
warnings ([CommonProblem], none_type): [optional] # noqa: E501
|
|
157
153
|
errors ([CommonProblem], none_type): [optional] # noqa: E501
|
|
158
154
|
"""
|
|
@@ -207,7 +203,7 @@ class CouponResponse(ModelNormal):
|
|
|
207
203
|
|
|
208
204
|
@convert_js_args_to_python_args
|
|
209
205
|
def __init__(self, *args, **kwargs): # noqa: E501
|
|
210
|
-
"""
|
|
206
|
+
"""ResourceOutcomeOfCoupon - a model defined in OpenAPI
|
|
211
207
|
|
|
212
208
|
Keyword Args:
|
|
213
209
|
_check_type (bool): if True, values for parameters in openapi_types
|
|
@@ -240,7 +236,7 @@ class CouponResponse(ModelNormal):
|
|
|
240
236
|
Animal class but this time we won't travel
|
|
241
237
|
through its discriminator because we passed in
|
|
242
238
|
_visited_composed_classes = (Animal,)
|
|
243
|
-
data (
|
|
239
|
+
data (ResourceOfCoupon): [optional] # noqa: E501
|
|
244
240
|
warnings ([CommonProblem], none_type): [optional] # noqa: E501
|
|
245
241
|
errors ([CommonProblem], none_type): [optional] # noqa: E501
|
|
246
242
|
"""
|