criteo-api-marketingsolutions-sdk 2024.7.0.240731__py3-none-any.whl → 2024.7.0.241029__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.

Files changed (25) hide show
  1. {criteo_api_marketingsolutions_sdk-2024.7.0.240731.dist-info → criteo_api_marketingsolutions_sdk-2024.7.0.241029.dist-info}/METADATA +3 -3
  2. {criteo_api_marketingsolutions_sdk-2024.7.0.240731.dist-info → criteo_api_marketingsolutions_sdk-2024.7.0.241029.dist-info}/RECORD +24 -25
  3. {criteo_api_marketingsolutions_sdk-2024.7.0.240731.dist-info → criteo_api_marketingsolutions_sdk-2024.7.0.241029.dist-info}/WHEEL +1 -1
  4. criteo_api_marketingsolutions_v2024_07/__init__.py +1 -1
  5. criteo_api_marketingsolutions_v2024_07/api/analytics_api.py +24 -21
  6. criteo_api_marketingsolutions_v2024_07/api/audience_api.py +554 -273
  7. criteo_api_marketingsolutions_v2024_07/api_client.py +1 -1
  8. criteo_api_marketingsolutions_v2024_07/configuration.py +1 -1
  9. criteo_api_marketingsolutions_v2024_07/model/contactlist_amendment_attributes.py +2 -3
  10. criteo_api_marketingsolutions_v2024_07/model/{placements_report_query_data_message.py → outcome.py} +18 -27
  11. criteo_api_marketingsolutions_v2024_07/model/placements_report_query_message.py +5 -11
  12. criteo_api_marketingsolutions_v2024_07/model/{problems_details.py → placements_report_query_message_list_request.py} +10 -20
  13. criteo_api_marketingsolutions_v2024_07/model/{placements_report_query_entity_message.py → placements_report_query_message_resource.py} +11 -26
  14. criteo_api_marketingsolutions_v2024_07/model/statistics_report_query_message.py +3 -17
  15. criteo_api_marketingsolutions_v2024_07/model/transactions_report_query_message.py +1 -7
  16. criteo_api_marketingsolutions_v2024_07/model/{transactions_report_query_data_message.py → transactions_report_query_message_list_request.py} +11 -26
  17. criteo_api_marketingsolutions_v2024_07/model/{transactions_report_query_entity_message.py → transactions_report_query_message_resource.py} +11 -26
  18. criteo_api_marketingsolutions_v2024_07/model/transparency_query_message.py +1 -7
  19. criteo_api_marketingsolutions_v2024_07/model/{transparency_report_attributes.py → transparency_report.py} +4 -13
  20. criteo_api_marketingsolutions_v2024_07/model/transparency_report_file.py +1 -7
  21. criteo_api_marketingsolutions_v2024_07/model/{transparency_report_entity_message.py → transparency_report_list_response.py} +24 -29
  22. criteo_api_marketingsolutions_v2024_07/model/{transparency_report_data_message.py → transparency_report_resource.py} +16 -27
  23. criteo_api_marketingsolutions_v2024_07/models/__init__.py +8 -9
  24. criteo_api_marketingsolutions_v2024_07/model/problem_details.py +0 -306
  25. {criteo_api_marketingsolutions_sdk-2024.7.0.240731.dist-info → criteo_api_marketingsolutions_sdk-2024.7.0.241029.dist-info}/top_level.txt +0 -0
@@ -76,7 +76,7 @@ class ApiClient(object):
76
76
  self.default_headers[header_name] = header_value
77
77
  self.cookie = cookie
78
78
  # Set default User-Agent.
79
- self.user_agent = 'OpenAPI-Generator/2024.07.0.240731/python'
79
+ self.user_agent = 'OpenAPI-Generator/2024.07.0.241029/python'
80
80
 
81
81
  def __enter__(self):
82
82
  return self
@@ -395,7 +395,7 @@ class Configuration(object):
395
395
  "OS: {env}\n"\
396
396
  "Python Version: {pyversion}\n"\
397
397
  "Version of the API: 2024-07\n"\
398
- "SDK Package Version: 2024.07.0.240731".\
398
+ "SDK Package Version: 2024.07.0.241029".\
399
399
  format(env=sys.platform, pyversion=sys.version)
400
400
 
401
401
  def get_host_settings(self):
@@ -65,7 +65,6 @@ class ContactlistAmendmentAttributes(ModelNormal):
65
65
  'MADID': "madid",
66
66
  'IDENTITYLINK': "identityLink",
67
67
  'GUM': "gum",
68
- 'CUSTOMERID': "customerid",
69
68
  'PHONENUMBER': "phoneNumber",
70
69
  },
71
70
  }
@@ -124,7 +123,7 @@ class ContactlistAmendmentAttributes(ModelNormal):
124
123
 
125
124
  Args:
126
125
  operation (str): Operation to add or remove users
127
- identifiers ([str]): The users tos add or remove, each in the schema specified
126
+ identifiers ([str]): The users to add or remove, each in the schema specified
128
127
 
129
128
  Keyword Args:
130
129
  _check_type (bool): if True, values for parameters in openapi_types
@@ -217,7 +216,7 @@ class ContactlistAmendmentAttributes(ModelNormal):
217
216
 
218
217
  Args:
219
218
  operation (str): Operation to add or remove users
220
- identifiers ([str]): The users tos add or remove, each in the schema specified
219
+ identifiers ([str]): The users to add or remove, each in the schema specified
221
220
 
222
221
  Keyword Args:
223
222
  _check_type (bool): if True, values for parameters in openapi_types
@@ -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.placements_report_query_entity_message import PlacementsReportQueryEntityMessage
34
- globals()['PlacementsReportQueryEntityMessage'] = PlacementsReportQueryEntityMessage
33
+ from criteo_api_marketingsolutions_v2024_07.model.common_problem import CommonProblem
34
+ globals()['CommonProblem'] = CommonProblem
35
35
 
36
36
 
37
- class PlacementsReportQueryDataMessage(ModelNormal):
37
+ class Outcome(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 PlacementsReportQueryDataMessage(ModelNormal):
62
62
  }
63
63
 
64
64
  validations = {
65
- ('data',): {
66
- },
67
65
  }
68
66
 
69
- @cached_property
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 PlacementsReportQueryDataMessage(ModelNormal):
89
80
  """
90
81
  lazy_import()
91
82
  return {
92
- 'data': ([PlacementsReportQueryEntityMessage],), # noqa: E501
83
+ 'warnings': ([CommonProblem], none_type,), # noqa: E501
84
+ 'errors': ([CommonProblem], none_type,), # noqa: E501
93
85
  }
94
86
 
95
87
  @cached_property
@@ -98,21 +90,21 @@ class PlacementsReportQueryDataMessage(ModelNormal):
98
90
 
99
91
 
100
92
  attribute_map = {
101
- 'data': 'data', # noqa: E501
93
+ 'warnings': 'warnings', # noqa: E501
94
+ 'errors': 'errors', # noqa: E501
102
95
  }
103
96
 
104
97
  read_only_vars = {
98
+ 'warnings', # noqa: E501
99
+ 'errors', # noqa: E501
105
100
  }
106
101
 
107
102
  _composed_schemas = {}
108
103
 
109
104
  @classmethod
110
105
  @convert_js_args_to_python_args
111
- def _from_openapi_data(cls, data, *args, **kwargs): # noqa: E501
112
- """PlacementsReportQueryDataMessage - a model defined in OpenAPI
113
-
114
- Args:
115
- data ([PlacementsReportQueryEntityMessage]):
106
+ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501
107
+ """Outcome - a model defined in OpenAPI
116
108
 
117
109
  Keyword Args:
118
110
  _check_type (bool): if True, values for parameters in openapi_types
@@ -145,6 +137,8 @@ class PlacementsReportQueryDataMessage(ModelNormal):
145
137
  Animal class but this time we won't travel
146
138
  through its discriminator because we passed in
147
139
  _visited_composed_classes = (Animal,)
140
+ warnings ([CommonProblem], none_type): Warnings that occured during this call.. [optional] # noqa: E501
141
+ errors ([CommonProblem], none_type): Errors that occured during this call.. [optional] # noqa: E501
148
142
  """
149
143
 
150
144
  _check_type = kwargs.pop('_check_type', True)
@@ -176,7 +170,6 @@ class PlacementsReportQueryDataMessage(ModelNormal):
176
170
  self._configuration = _configuration
177
171
  self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
178
172
 
179
- self.data = data
180
173
  for var_name, var_value in kwargs.items():
181
174
  if var_name not in self.attribute_map and \
182
175
  self._configuration is not None and \
@@ -197,11 +190,8 @@ class PlacementsReportQueryDataMessage(ModelNormal):
197
190
  ])
198
191
 
199
192
  @convert_js_args_to_python_args
200
- def __init__(self, data, *args, **kwargs): # noqa: E501
201
- """PlacementsReportQueryDataMessage - a model defined in OpenAPI
202
-
203
- Args:
204
- data ([PlacementsReportQueryEntityMessage]):
193
+ def __init__(self, *args, **kwargs): # noqa: E501
194
+ """Outcome - a model defined in OpenAPI
205
195
 
206
196
  Keyword Args:
207
197
  _check_type (bool): if True, values for parameters in openapi_types
@@ -234,6 +224,8 @@ class PlacementsReportQueryDataMessage(ModelNormal):
234
224
  Animal class but this time we won't travel
235
225
  through its discriminator because we passed in
236
226
  _visited_composed_classes = (Animal,)
227
+ warnings ([CommonProblem], none_type): Warnings that occured during this call.. [optional] # noqa: E501
228
+ errors ([CommonProblem], none_type): Errors that occured during this call.. [optional] # noqa: E501
237
229
  """
238
230
 
239
231
  _check_type = kwargs.pop('_check_type', True)
@@ -263,7 +255,6 @@ class PlacementsReportQueryDataMessage(ModelNormal):
263
255
  self._configuration = _configuration
264
256
  self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
265
257
 
266
- self.data = data
267
258
  for var_name, var_value in kwargs.items():
268
259
  if var_name not in self.attribute_map and \
269
260
  self._configuration is not None and \
@@ -64,23 +64,17 @@ class PlacementsReportQueryMessage(ModelNormal):
64
64
  'ADVERTISERNAME': "AdvertiserName",
65
65
  'CAMPAIGNID': "CampaignId",
66
66
  'CAMPAIGNNAME': "CampaignName",
67
+ 'ADCHANNEL': "AdChannel",
68
+ 'SOCIALPLATFORM': "SocialPlatform",
69
+ 'CATEGORYID': "CategoryId",
70
+ 'CATEGORYNAME': "CategoryName",
67
71
  },
68
72
  }
69
73
 
70
74
  validations = {
71
- ('dimensions',): {
72
- },
73
- ('metrics',): {
74
- },
75
75
  }
76
76
 
77
- @cached_property
78
- def additional_properties_type():
79
- """
80
- This must be a method because a model may have properties that are
81
- of type self, this must run after the class is loaded
82
- """
83
- return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501
77
+ additional_properties_type = None
84
78
 
85
79
  _nullable = False
86
80
 
@@ -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.problem_details import ProblemDetails
34
- globals()['ProblemDetails'] = ProblemDetails
33
+ from criteo_api_marketingsolutions_v2024_07.model.placements_report_query_message_resource import PlacementsReportQueryMessageResource
34
+ globals()['PlacementsReportQueryMessageResource'] = PlacementsReportQueryMessageResource
35
35
 
36
36
 
37
- class ProblemsDetails(ModelNormal):
37
+ class PlacementsReportQueryMessageListRequest(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 ProblemsDetails(ModelNormal):
62
62
  }
63
63
 
64
64
  validations = {
65
- ('errors',): {
66
- },
67
65
  }
68
66
 
69
- @cached_property
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 ProblemsDetails(ModelNormal):
89
80
  """
90
81
  lazy_import()
91
82
  return {
92
- 'errors': ([ProblemDetails], none_type,), # noqa: E501
83
+ 'data': ([PlacementsReportQueryMessageResource], none_type,), # noqa: E501
93
84
  }
94
85
 
95
86
  @cached_property
@@ -98,11 +89,10 @@ class ProblemsDetails(ModelNormal):
98
89
 
99
90
 
100
91
  attribute_map = {
101
- 'errors': 'errors', # noqa: E501
92
+ 'data': 'data', # noqa: E501
102
93
  }
103
94
 
104
95
  read_only_vars = {
105
- 'errors', # noqa: E501
106
96
  }
107
97
 
108
98
  _composed_schemas = {}
@@ -110,7 +100,7 @@ class ProblemsDetails(ModelNormal):
110
100
  @classmethod
111
101
  @convert_js_args_to_python_args
112
102
  def _from_openapi_data(cls, *args, **kwargs): # noqa: E501
113
- """ProblemsDetails - a model defined in OpenAPI
103
+ """PlacementsReportQueryMessageListRequest - a model defined in OpenAPI
114
104
 
115
105
  Keyword Args:
116
106
  _check_type (bool): if True, values for parameters in openapi_types
@@ -143,7 +133,7 @@ class ProblemsDetails(ModelNormal):
143
133
  Animal class but this time we won't travel
144
134
  through its discriminator because we passed in
145
135
  _visited_composed_classes = (Animal,)
146
- errors ([ProblemDetails], none_type): [optional] # noqa: E501
136
+ data ([PlacementsReportQueryMessageResource], none_type): [optional] # noqa: E501
147
137
  """
148
138
 
149
139
  _check_type = kwargs.pop('_check_type', True)
@@ -196,7 +186,7 @@ class ProblemsDetails(ModelNormal):
196
186
 
197
187
  @convert_js_args_to_python_args
198
188
  def __init__(self, *args, **kwargs): # noqa: E501
199
- """ProblemsDetails - a model defined in OpenAPI
189
+ """PlacementsReportQueryMessageListRequest - a model defined in OpenAPI
200
190
 
201
191
  Keyword Args:
202
192
  _check_type (bool): if True, values for parameters in openapi_types
@@ -229,7 +219,7 @@ class ProblemsDetails(ModelNormal):
229
219
  Animal class but this time we won't travel
230
220
  through its discriminator because we passed in
231
221
  _visited_composed_classes = (Animal,)
232
- errors ([ProblemDetails], none_type): [optional] # noqa: E501
222
+ data ([PlacementsReportQueryMessageResource], none_type): [optional] # noqa: E501
233
223
  """
234
224
 
235
225
  _check_type = kwargs.pop('_check_type', True)
@@ -34,7 +34,7 @@ def lazy_import():
34
34
  globals()['PlacementsReportQueryMessage'] = PlacementsReportQueryMessage
35
35
 
36
36
 
37
- class PlacementsReportQueryEntityMessage(ModelNormal):
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
- @cached_property
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, type, attributes, *args, **kwargs): # noqa: E501
112
- """PlacementsReportQueryEntityMessage - a model defined in OpenAPI
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, type, attributes, *args, **kwargs): # noqa: E501
203
- """PlacementsReportQueryEntityMessage - a model defined in OpenAPI
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
- @cached_property
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
- @cached_property
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.transactions_report_query_entity_message import TransactionsReportQueryEntityMessage
34
- globals()['TransactionsReportQueryEntityMessage'] = TransactionsReportQueryEntityMessage
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 TransactionsReportQueryDataMessage(ModelNormal):
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
- @cached_property
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': ([TransactionsReportQueryEntityMessage],), # noqa: E501
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, data, *args, **kwargs): # noqa: E501
112
- """TransactionsReportQueryDataMessage - a model defined in OpenAPI
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, data, *args, **kwargs): # noqa: E501
201
- """TransactionsReportQueryDataMessage - a model defined in OpenAPI
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 TransactionsReportQueryEntityMessage(ModelNormal):
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
- @cached_property
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, type, attributes, *args, **kwargs): # noqa: E501
112
- """TransactionsReportQueryEntityMessage - a model defined in OpenAPI
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, type, attributes, *args, **kwargs): # noqa: E501
203
- """TransactionsReportQueryEntityMessage - a model defined in OpenAPI
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
- @cached_property
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