Skip to content

Commit

Permalink
[230831] Automatic update of SDK.
Browse files Browse the repository at this point in the history
  • Loading branch information
ouvreboite committed Aug 31, 2023
1 parent aabb7f0 commit 72a885b
Show file tree
Hide file tree
Showing 2,433 changed files with 16,888 additions and 12,551 deletions.
6 changes: 3 additions & 3 deletions sdks/marketingsolutions_2022-07/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ More information: [https://developers.criteo.com/](https://developers.criteo.com

This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:

- Package version: 2022.07.0.230726
- Package version: 2022.07.0.230831

## Requirements

Expand All @@ -18,9 +18,9 @@ Python 2.7 and 3.5+
### pip install

```sh
pip install criteo-api-marketingsolutions-sdk==2022.07.0.230726
pip install criteo-api-marketingsolutions-sdk==2022.07.0.230831
```
(you may need to run `pip` with root permission: `sudo pip install criteo-api-marketingsolutions-sdk==2022.07.0.230726`)
(you may need to run `pip` with root permission: `sudo pip install criteo-api-marketingsolutions-sdk==2022.07.0.230831`)

Then import the package:
```python
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"""


__version__ = "2022.07.0.230726"
__version__ = "2022.07.0.230831"

# import ApiClient
from criteo_api_marketingsolutions_v2022_07.api_client import ApiClient
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ def __init__(self, configuration=None, header_name=None, header_value=None,
self.default_headers[header_name] = header_value
self.cookie = cookie
# Set default User-Agent.
self.user_agent = 'OpenAPI-Generator/2022.07.0.230726/python'
self.user_agent = 'OpenAPI-Generator/2022.07.0.230831/python'

def __enter__(self):
return self
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -395,7 +395,7 @@ def to_debug_report(self):
"OS: {env}\n"\
"Python Version: {pyversion}\n"\
"Version of the API: 2022-07\n"\
"SDK Package Version: 2022.07.0.230726".\
"SDK Package Version: 2022.07.0.230831".\
format(env=sys.platform, pyversion=sys.version)

def get_host_settings(self):
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -81,8 +81,8 @@ def openapi_types():
and the value is attribute type.
"""
return {
'category_name': (str,), # noqa: E501
'bid_amount': (float,), # noqa: E501
'category_name': (str, none_type,), # noqa: E501
'bid_amount': (float, none_type,), # noqa: E501
}

@cached_property
Expand Down Expand Up @@ -136,8 +136,8 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501
Animal class but this time we won't travel
through its discriminator because we passed in
_visited_composed_classes = (Animal,)
category_name (str): The name of the Category to which the Category Bid has been applied.. [optional] # noqa: E501
bid_amount (float): The Bid amount applied to the given Category associated to an Ad Set. At most 4 decimals are supported. Additional decimals are rounded.. [optional] # noqa: E501
category_name (str, none_type): The name of the Category to which the Category Bid has been applied.. [optional] # noqa: E501
bid_amount (float, none_type): The Bid amount applied to the given Category associated to an Ad Set. At most 4 decimals are supported. Additional decimals are rounded.. [optional] # noqa: E501
"""

_check_type = kwargs.pop('_check_type', True)
Expand Down Expand Up @@ -223,8 +223,8 @@ def __init__(self, *args, **kwargs): # noqa: E501
Animal class but this time we won't travel
through its discriminator because we passed in
_visited_composed_classes = (Animal,)
category_name (str): The name of the Category to which the Category Bid has been applied.. [optional] # noqa: E501
bid_amount (float): The Bid amount applied to the given Category associated to an Ad Set. At most 4 decimals are supported. Additional decimals are rounded.. [optional] # noqa: E501
category_name (str, none_type): The name of the Category to which the Category Bid has been applied.. [optional] # noqa: E501
bid_amount (float, none_type): The Bid amount applied to the given Category associated to an Ad Set. At most 4 decimals are supported. Additional decimals are rounded.. [optional] # noqa: E501
"""

_check_type = kwargs.pop('_check_type', True)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -95,9 +95,9 @@ def openapi_types():
"""
lazy_import()
return {
'data': ([AdSetCategoryBidResource],), # noqa: E501
'warnings': ([ProblemDetails],), # noqa: E501
'errors': ([ProblemDetails],), # noqa: E501
'data': ([AdSetCategoryBidResource], none_type,), # noqa: E501
'warnings': ([ProblemDetails], none_type,), # noqa: E501
'errors': ([ProblemDetails], none_type,), # noqa: E501
}

@cached_property
Expand Down Expand Up @@ -154,9 +154,9 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501
Animal class but this time we won't travel
through its discriminator because we passed in
_visited_composed_classes = (Animal,)
data ([AdSetCategoryBidResource]): [optional] # noqa: E501
warnings ([ProblemDetails]): [optional] # noqa: E501
errors ([ProblemDetails]): [optional] # noqa: E501
data ([AdSetCategoryBidResource], none_type): [optional] # noqa: E501
warnings ([ProblemDetails], none_type): [optional] # noqa: E501
errors ([ProblemDetails], none_type): [optional] # noqa: E501
"""

_check_type = kwargs.pop('_check_type', True)
Expand Down Expand Up @@ -242,9 +242,9 @@ def __init__(self, *args, **kwargs): # noqa: E501
Animal class but this time we won't travel
through its discriminator because we passed in
_visited_composed_classes = (Animal,)
data ([AdSetCategoryBidResource]): [optional] # noqa: E501
warnings ([ProblemDetails]): [optional] # noqa: E501
errors ([ProblemDetails]): [optional] # noqa: E501
data ([AdSetCategoryBidResource], none_type): [optional] # noqa: E501
warnings ([ProblemDetails], none_type): [optional] # noqa: E501
errors ([ProblemDetails], none_type): [optional] # noqa: E501
"""

_check_type = kwargs.pop('_check_type', True)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -88,8 +88,8 @@ def openapi_types():
lazy_import()
return {
'attributes': (AdSetCategoryBid,), # noqa: E501
'id': (str,), # noqa: E501
'type': (str,), # noqa: E501
'id': (str, none_type,), # noqa: E501
'type': (str, none_type,), # noqa: E501
}

@cached_property
Expand Down Expand Up @@ -145,8 +145,8 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501
through its discriminator because we passed in
_visited_composed_classes = (Animal,)
attributes (AdSetCategoryBid): [optional] # noqa: E501
id (str): Id of the entity. [optional] # noqa: E501
type (str): Canonical type name of the entity. [optional] # noqa: E501
id (str, none_type): Id of the entity. [optional] # noqa: E501
type (str, none_type): Canonical type name of the entity. [optional] # noqa: E501
"""

_check_type = kwargs.pop('_check_type', True)
Expand Down Expand Up @@ -233,8 +233,8 @@ def __init__(self, *args, **kwargs): # noqa: E501
through its discriminator because we passed in
_visited_composed_classes = (Animal,)
attributes (AdSetCategoryBid): [optional] # noqa: E501
id (str): Id of the entity. [optional] # noqa: E501
type (str): Canonical type name of the entity. [optional] # noqa: E501
id (str, none_type): Id of the entity. [optional] # noqa: E501
type (str, none_type): Canonical type name of the entity. [optional] # noqa: E501
"""

_check_type = kwargs.pop('_check_type', True)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,16 +56,19 @@ class AdSetDeliveryLimitations(ModelNormal):

allowed_values = {
('environments',): {
'None': None,
'WEB': "web",
'INAPP': "inApp",
},
('devices',): {
'None': None,
'OTHER': "other",
'DESKTOP': "desktop",
'MOBILE': "mobile",
'TABLET': "tablet",
},
('operating_systems',): {
'None': None,
'ANDROID': "android",
'IOS': "ios",
'UNKNOWN': "unknown",
Expand Down Expand Up @@ -102,9 +105,9 @@ def openapi_types():
and the value is attribute type.
"""
return {
'environments': ([str],), # noqa: E501
'devices': ([str],), # noqa: E501
'operating_systems': ([str],), # noqa: E501
'environments': ([str], none_type,), # noqa: E501
'devices': ([str], none_type,), # noqa: E501
'operating_systems': ([str], none_type,), # noqa: E501
}

@cached_property
Expand Down Expand Up @@ -159,9 +162,9 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501
Animal class but this time we won't travel
through its discriminator because we passed in
_visited_composed_classes = (Animal,)
environments ([str]): List of environments which the ad set should target. [optional] # noqa: E501
devices ([str]): List of devices which the ad set should target. [optional] # noqa: E501
operating_systems ([str]): List of operating systems which the ad set should target. [optional] # noqa: E501
environments ([str], none_type): List of environments which the ad set should target. [optional] # noqa: E501
devices ([str], none_type): List of devices which the ad set should target. [optional] # noqa: E501
operating_systems ([str], none_type): List of operating systems which the ad set should target. [optional] # noqa: E501
"""

_check_type = kwargs.pop('_check_type', True)
Expand Down Expand Up @@ -247,9 +250,9 @@ def __init__(self, *args, **kwargs): # noqa: E501
Animal class but this time we won't travel
through its discriminator because we passed in
_visited_composed_classes = (Animal,)
environments ([str]): List of environments which the ad set should target. [optional] # noqa: E501
devices ([str]): List of devices which the ad set should target. [optional] # noqa: E501
operating_systems ([str]): List of operating systems which the ad set should target. [optional] # noqa: E501
environments ([str], none_type): List of environments which the ad set should target. [optional] # noqa: E501
devices ([str], none_type): List of devices which the ad set should target. [optional] # noqa: E501
operating_systems ([str], none_type): List of operating systems which the ad set should target. [optional] # noqa: E501
"""

_check_type = kwargs.pop('_check_type', True)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -81,8 +81,8 @@ def openapi_types():
and the value is attribute type.
"""
return {
'category_name': (str,), # noqa: E501
'display_multiplier': (float,), # noqa: E501
'category_name': (str, none_type,), # noqa: E501
'display_multiplier': (float, none_type,), # noqa: E501
}

@cached_property
Expand Down Expand Up @@ -136,8 +136,8 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501
Animal class but this time we won't travel
through its discriminator because we passed in
_visited_composed_classes = (Animal,)
category_name (str): The name of the Category to which the given for which the Display Multiplier has been applied.. [optional] # noqa: E501
display_multiplier (float): The Display Multiplier applied to the given Category associated to an Ad Set.. [optional] # noqa: E501
category_name (str, none_type): The name of the Category to which the given for which the Display Multiplier has been applied.. [optional] # noqa: E501
display_multiplier (float, none_type): The Display Multiplier applied to the given Category associated to an Ad Set.. [optional] # noqa: E501
"""

_check_type = kwargs.pop('_check_type', True)
Expand Down Expand Up @@ -223,8 +223,8 @@ def __init__(self, *args, **kwargs): # noqa: E501
Animal class but this time we won't travel
through its discriminator because we passed in
_visited_composed_classes = (Animal,)
category_name (str): The name of the Category to which the given for which the Display Multiplier has been applied.. [optional] # noqa: E501
display_multiplier (float): The Display Multiplier applied to the given Category associated to an Ad Set.. [optional] # noqa: E501
category_name (str, none_type): The name of the Category to which the given for which the Display Multiplier has been applied.. [optional] # noqa: E501
display_multiplier (float, none_type): The Display Multiplier applied to the given Category associated to an Ad Set.. [optional] # noqa: E501
"""

_check_type = kwargs.pop('_check_type', True)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -95,9 +95,9 @@ def openapi_types():
"""
lazy_import()
return {
'data': ([AdSetDisplayMultiplierResource],), # noqa: E501
'warnings': ([ProblemDetails],), # noqa: E501
'errors': ([ProblemDetails],), # noqa: E501
'data': ([AdSetDisplayMultiplierResource], none_type,), # noqa: E501
'warnings': ([ProblemDetails], none_type,), # noqa: E501
'errors': ([ProblemDetails], none_type,), # noqa: E501
}

@cached_property
Expand Down Expand Up @@ -154,9 +154,9 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501
Animal class but this time we won't travel
through its discriminator because we passed in
_visited_composed_classes = (Animal,)
data ([AdSetDisplayMultiplierResource]): [optional] # noqa: E501
warnings ([ProblemDetails]): [optional] # noqa: E501
errors ([ProblemDetails]): [optional] # noqa: E501
data ([AdSetDisplayMultiplierResource], none_type): [optional] # noqa: E501
warnings ([ProblemDetails], none_type): [optional] # noqa: E501
errors ([ProblemDetails], none_type): [optional] # noqa: E501
"""

_check_type = kwargs.pop('_check_type', True)
Expand Down Expand Up @@ -242,9 +242,9 @@ def __init__(self, *args, **kwargs): # noqa: E501
Animal class but this time we won't travel
through its discriminator because we passed in
_visited_composed_classes = (Animal,)
data ([AdSetDisplayMultiplierResource]): [optional] # noqa: E501
warnings ([ProblemDetails]): [optional] # noqa: E501
errors ([ProblemDetails]): [optional] # noqa: E501
data ([AdSetDisplayMultiplierResource], none_type): [optional] # noqa: E501
warnings ([ProblemDetails], none_type): [optional] # noqa: E501
errors ([ProblemDetails], none_type): [optional] # noqa: E501
"""

_check_type = kwargs.pop('_check_type', True)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -88,8 +88,8 @@ def openapi_types():
lazy_import()
return {
'attributes': (AdSetDisplayMultiplier,), # noqa: E501
'id': (str,), # noqa: E501
'type': (str,), # noqa: E501
'id': (str, none_type,), # noqa: E501
'type': (str, none_type,), # noqa: E501
}

@cached_property
Expand Down Expand Up @@ -145,8 +145,8 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501
through its discriminator because we passed in
_visited_composed_classes = (Animal,)
attributes (AdSetDisplayMultiplier): [optional] # noqa: E501
id (str): Id of the entity. [optional] # noqa: E501
type (str): Canonical type name of the entity. [optional] # noqa: E501
id (str, none_type): Id of the entity. [optional] # noqa: E501
type (str, none_type): Canonical type name of the entity. [optional] # noqa: E501
"""

_check_type = kwargs.pop('_check_type', True)
Expand Down Expand Up @@ -233,8 +233,8 @@ def __init__(self, *args, **kwargs): # noqa: E501
through its discriminator because we passed in
_visited_composed_classes = (Animal,)
attributes (AdSetDisplayMultiplier): [optional] # noqa: E501
id (str): Id of the entity. [optional] # noqa: E501
type (str): Canonical type name of the entity. [optional] # noqa: E501
id (str, none_type): Id of the entity. [optional] # noqa: E501
type (str, none_type): Canonical type name of the entity. [optional] # noqa: E501
"""

_check_type = kwargs.pop('_check_type', True)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ class AdSetFrequencyCapping(ModelNormal):

allowed_values = {
('frequency',): {
'None': None,
'HOURLY': "hourly",
'DAILY': "daily",
'LIFETIME': "lifetime",
Expand Down Expand Up @@ -87,8 +88,8 @@ def openapi_types():
and the value is attribute type.
"""
return {
'frequency': (str,), # noqa: E501
'maximum_impressions': (int,), # noqa: E501
'frequency': (str, none_type,), # noqa: E501
'maximum_impressions': (int, none_type,), # noqa: E501
}

@cached_property
Expand Down Expand Up @@ -142,8 +143,8 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501
Animal class but this time we won't travel
through its discriminator because we passed in
_visited_composed_classes = (Animal,)
frequency (str): Period on which impression limitation is calculated. [optional] # noqa: E501
maximum_impressions (int): Maximum impressions for the specified period. [optional] # noqa: E501
frequency (str, none_type): Period on which impression limitation is calculated. [optional] # noqa: E501
maximum_impressions (int, none_type): Maximum impressions for the specified period. [optional] # noqa: E501
"""

_check_type = kwargs.pop('_check_type', True)
Expand Down Expand Up @@ -229,8 +230,8 @@ def __init__(self, *args, **kwargs): # noqa: E501
Animal class but this time we won't travel
through its discriminator because we passed in
_visited_composed_classes = (Animal,)
frequency (str): Period on which impression limitation is calculated. [optional] # noqa: E501
maximum_impressions (int): Maximum impressions for the specified period. [optional] # noqa: E501
frequency (str, none_type): Period on which impression limitation is calculated. [optional] # noqa: E501
maximum_impressions (int, none_type): Maximum impressions for the specified period. [optional] # noqa: E501
"""

_check_type = kwargs.pop('_check_type', True)
Expand Down
Loading

0 comments on commit 72a885b

Please sign in to comment.