criteo-api-marketingsolutions-sdk 2024.10.0.241029__py3-none-any.whl → 2024.10.0.250205__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.250205.dist-info}/METADATA +14 -5
- {criteo_api_marketingsolutions_sdk-2024.10.0.241029.dist-info → criteo_api_marketingsolutions_sdk-2024.10.0.250205.dist-info}/RECORD +44 -44
- {criteo_api_marketingsolutions_sdk-2024.10.0.241029.dist-info → criteo_api_marketingsolutions_sdk-2024.10.0.250205.dist-info}/WHEEL +1 -1
- criteo_api_marketingsolutions_v2024_10/__init__.py +1 -1
- criteo_api_marketingsolutions_v2024_10/api/creative_api.py +107 -101
- 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/ad.py +4 -0
- criteo_api_marketingsolutions_v2024_10/model/ad_set_frequency_capping_v24_q1.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 +4 -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/creative.py +4 -0
- 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.250205.dist-info}/top_level.txt +0 -0
|
@@ -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
|
"""
|
|
@@ -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_supported_sizes import ResourceOfCouponSupportedSizes
|
|
35
35
|
globals()['CommonProblem'] = CommonProblem
|
|
36
|
-
globals()['
|
|
36
|
+
globals()['ResourceOfCouponSupportedSizes'] = ResourceOfCouponSupportedSizes
|
|
37
37
|
|
|
38
38
|
|
|
39
|
-
class
|
|
39
|
+
class ResourceOutcomeOfCouponSupportedSizes(ModelNormal):
|
|
40
40
|
"""NOTE: This class is auto generated by OpenAPI Generator.
|
|
41
41
|
Ref: https://openapi-generator.tech
|
|
42
42
|
|
|
@@ -64,12 +64,6 @@ class CouponListResponse(ModelNormal):
|
|
|
64
64
|
}
|
|
65
65
|
|
|
66
66
|
validations = {
|
|
67
|
-
('data',): {
|
|
68
|
-
},
|
|
69
|
-
('warnings',): {
|
|
70
|
-
},
|
|
71
|
-
('errors',): {
|
|
72
|
-
},
|
|
73
67
|
}
|
|
74
68
|
|
|
75
69
|
@cached_property
|
|
@@ -95,7 +89,7 @@ class CouponListResponse(ModelNormal):
|
|
|
95
89
|
"""
|
|
96
90
|
lazy_import()
|
|
97
91
|
return {
|
|
98
|
-
'data': (
|
|
92
|
+
'data': (ResourceOfCouponSupportedSizes,), # noqa: E501
|
|
99
93
|
'warnings': ([CommonProblem], none_type,), # noqa: E501
|
|
100
94
|
'errors': ([CommonProblem], none_type,), # noqa: E501
|
|
101
95
|
}
|
|
@@ -121,7 +115,7 @@ class CouponListResponse(ModelNormal):
|
|
|
121
115
|
@classmethod
|
|
122
116
|
@convert_js_args_to_python_args
|
|
123
117
|
def _from_openapi_data(cls, *args, **kwargs): # noqa: E501
|
|
124
|
-
"""
|
|
118
|
+
"""ResourceOutcomeOfCouponSupportedSizes - a model defined in OpenAPI
|
|
125
119
|
|
|
126
120
|
Keyword Args:
|
|
127
121
|
_check_type (bool): if True, values for parameters in openapi_types
|
|
@@ -154,7 +148,7 @@ class CouponListResponse(ModelNormal):
|
|
|
154
148
|
Animal class but this time we won't travel
|
|
155
149
|
through its discriminator because we passed in
|
|
156
150
|
_visited_composed_classes = (Animal,)
|
|
157
|
-
data (
|
|
151
|
+
data (ResourceOfCouponSupportedSizes): [optional] # noqa: E501
|
|
158
152
|
warnings ([CommonProblem], none_type): [optional] # noqa: E501
|
|
159
153
|
errors ([CommonProblem], none_type): [optional] # noqa: E501
|
|
160
154
|
"""
|
|
@@ -209,7 +203,7 @@ class CouponListResponse(ModelNormal):
|
|
|
209
203
|
|
|
210
204
|
@convert_js_args_to_python_args
|
|
211
205
|
def __init__(self, *args, **kwargs): # noqa: E501
|
|
212
|
-
"""
|
|
206
|
+
"""ResourceOutcomeOfCouponSupportedSizes - a model defined in OpenAPI
|
|
213
207
|
|
|
214
208
|
Keyword Args:
|
|
215
209
|
_check_type (bool): if True, values for parameters in openapi_types
|
|
@@ -242,7 +236,7 @@ class CouponListResponse(ModelNormal):
|
|
|
242
236
|
Animal class but this time we won't travel
|
|
243
237
|
through its discriminator because we passed in
|
|
244
238
|
_visited_composed_classes = (Animal,)
|
|
245
|
-
data (
|
|
239
|
+
data (ResourceOfCouponSupportedSizes): [optional] # noqa: E501
|
|
246
240
|
warnings ([CommonProblem], none_type): [optional] # noqa: E501
|
|
247
241
|
errors ([CommonProblem], none_type): [optional] # noqa: E501
|
|
248
242
|
"""
|