themeparks 1.0.1__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.
Files changed (39) hide show
  1. openapi_client/__init__.py +40 -0
  2. openapi_client/api/__init__.py +3 -0
  3. openapi_client/api/destinations_api.py +152 -0
  4. openapi_client/api/entities_api.py +696 -0
  5. openapi_client/api_client.py +866 -0
  6. openapi_client/apis/__init__.py +18 -0
  7. openapi_client/configuration.py +446 -0
  8. openapi_client/exceptions.py +159 -0
  9. openapi_client/model/__init__.py +5 -0
  10. openapi_client/model/boarding_group_state.py +283 -0
  11. openapi_client/model/destination_entry.py +273 -0
  12. openapi_client/model/destination_park_entry.py +259 -0
  13. openapi_client/model/destinations_response.py +261 -0
  14. openapi_client/model/entity_child.py +279 -0
  15. openapi_client/model/entity_children_response.py +279 -0
  16. openapi_client/model/entity_data.py +305 -0
  17. openapi_client/model/entity_data_location.py +259 -0
  18. openapi_client/model/entity_live_data.py +307 -0
  19. openapi_client/model/entity_live_data_response.py +279 -0
  20. openapi_client/model/entity_schedule_response.py +279 -0
  21. openapi_client/model/entity_type.py +286 -0
  22. openapi_client/model/live_queue.py +283 -0
  23. openapi_client/model/live_queue_boardinggroup.py +277 -0
  24. openapi_client/model/live_queue_paidreturntime.py +275 -0
  25. openapi_client/model/live_queue_returntime.py +269 -0
  26. openapi_client/model/live_queue_standby.py +255 -0
  27. openapi_client/model/live_show_time.py +263 -0
  28. openapi_client/model/live_status_type.py +284 -0
  29. openapi_client/model/price_data.py +259 -0
  30. openapi_client/model/return_time_state.py +283 -0
  31. openapi_client/model/schedule_entry.py +286 -0
  32. openapi_client/model/tag_data.py +275 -0
  33. openapi_client/model_utils.py +2037 -0
  34. openapi_client/models/__init__.py +34 -0
  35. openapi_client/rest.py +346 -0
  36. themeparks-1.0.1.dist-info/METADATA +32 -0
  37. themeparks-1.0.1.dist-info/RECORD +39 -0
  38. themeparks-1.0.1.dist-info/WHEEL +5 -0
  39. themeparks-1.0.1.dist-info/top_level.txt +1 -0
@@ -0,0 +1,696 @@
1
+ """
2
+ Theme Parks Wiki V1 API
3
+
4
+ api.themeparks.wiki # noqa: E501
5
+
6
+ The version of the OpenAPI document: 1.0.0-alpha
7
+ Generated by: https://openapi-generator.tech
8
+ """
9
+
10
+
11
+ import re # noqa: F401
12
+ import sys # noqa: F401
13
+
14
+ from openapi_client.api_client import ApiClient, Endpoint as _Endpoint
15
+ from openapi_client.model_utils import ( # noqa: F401
16
+ check_allowed_values,
17
+ check_validations,
18
+ date,
19
+ datetime,
20
+ file_type,
21
+ none_type,
22
+ validate_and_convert_types
23
+ )
24
+ from openapi_client.model.entity_children_response import EntityChildrenResponse
25
+ from openapi_client.model.entity_data import EntityData
26
+ from openapi_client.model.entity_live_data_response import EntityLiveDataResponse
27
+ from openapi_client.model.entity_schedule_response import EntityScheduleResponse
28
+
29
+
30
+ class EntitiesApi(object):
31
+ """NOTE: This class is auto generated by OpenAPI Generator
32
+ Ref: https://openapi-generator.tech
33
+
34
+ Do not edit the class manually.
35
+ """
36
+
37
+ def __init__(self, api_client=None):
38
+ if api_client is None:
39
+ api_client = ApiClient()
40
+ self.api_client = api_client
41
+ self.get_entity_endpoint = _Endpoint(
42
+ settings={
43
+ 'response_type': (EntityData,),
44
+ 'auth': [],
45
+ 'endpoint_path': '/entity/{entityID}',
46
+ 'operation_id': 'get_entity',
47
+ 'http_method': 'GET',
48
+ 'servers': None,
49
+ },
50
+ params_map={
51
+ 'all': [
52
+ 'entity_id',
53
+ ],
54
+ 'required': [
55
+ 'entity_id',
56
+ ],
57
+ 'nullable': [
58
+ ],
59
+ 'enum': [
60
+ ],
61
+ 'validation': [
62
+ ]
63
+ },
64
+ root_map={
65
+ 'validations': {
66
+ },
67
+ 'allowed_values': {
68
+ },
69
+ 'openapi_types': {
70
+ 'entity_id':
71
+ (str,),
72
+ },
73
+ 'attribute_map': {
74
+ 'entity_id': 'entityID',
75
+ },
76
+ 'location_map': {
77
+ 'entity_id': 'path',
78
+ },
79
+ 'collection_format_map': {
80
+ }
81
+ },
82
+ headers_map={
83
+ 'accept': [
84
+ 'application/json'
85
+ ],
86
+ 'content_type': [],
87
+ },
88
+ api_client=api_client
89
+ )
90
+ self.get_entity_children_endpoint = _Endpoint(
91
+ settings={
92
+ 'response_type': (EntityChildrenResponse,),
93
+ 'auth': [],
94
+ 'endpoint_path': '/entity/{entityID}/children',
95
+ 'operation_id': 'get_entity_children',
96
+ 'http_method': 'GET',
97
+ 'servers': None,
98
+ },
99
+ params_map={
100
+ 'all': [
101
+ 'entity_id',
102
+ ],
103
+ 'required': [
104
+ 'entity_id',
105
+ ],
106
+ 'nullable': [
107
+ ],
108
+ 'enum': [
109
+ ],
110
+ 'validation': [
111
+ ]
112
+ },
113
+ root_map={
114
+ 'validations': {
115
+ },
116
+ 'allowed_values': {
117
+ },
118
+ 'openapi_types': {
119
+ 'entity_id':
120
+ (str,),
121
+ },
122
+ 'attribute_map': {
123
+ 'entity_id': 'entityID',
124
+ },
125
+ 'location_map': {
126
+ 'entity_id': 'path',
127
+ },
128
+ 'collection_format_map': {
129
+ }
130
+ },
131
+ headers_map={
132
+ 'accept': [
133
+ 'application/json'
134
+ ],
135
+ 'content_type': [],
136
+ },
137
+ api_client=api_client
138
+ )
139
+ self.get_entity_live_data_endpoint = _Endpoint(
140
+ settings={
141
+ 'response_type': (EntityLiveDataResponse,),
142
+ 'auth': [],
143
+ 'endpoint_path': '/entity/{entityID}/live',
144
+ 'operation_id': 'get_entity_live_data',
145
+ 'http_method': 'GET',
146
+ 'servers': None,
147
+ },
148
+ params_map={
149
+ 'all': [
150
+ 'entity_id',
151
+ ],
152
+ 'required': [
153
+ 'entity_id',
154
+ ],
155
+ 'nullable': [
156
+ ],
157
+ 'enum': [
158
+ ],
159
+ 'validation': [
160
+ ]
161
+ },
162
+ root_map={
163
+ 'validations': {
164
+ },
165
+ 'allowed_values': {
166
+ },
167
+ 'openapi_types': {
168
+ 'entity_id':
169
+ (str,),
170
+ },
171
+ 'attribute_map': {
172
+ 'entity_id': 'entityID',
173
+ },
174
+ 'location_map': {
175
+ 'entity_id': 'path',
176
+ },
177
+ 'collection_format_map': {
178
+ }
179
+ },
180
+ headers_map={
181
+ 'accept': [
182
+ 'application/json'
183
+ ],
184
+ 'content_type': [],
185
+ },
186
+ api_client=api_client
187
+ )
188
+ self.get_entity_schedule_upcoming_endpoint = _Endpoint(
189
+ settings={
190
+ 'response_type': (EntityScheduleResponse,),
191
+ 'auth': [],
192
+ 'endpoint_path': '/entity/{entityID}/schedule',
193
+ 'operation_id': 'get_entity_schedule_upcoming',
194
+ 'http_method': 'GET',
195
+ 'servers': None,
196
+ },
197
+ params_map={
198
+ 'all': [
199
+ 'entity_id',
200
+ ],
201
+ 'required': [
202
+ 'entity_id',
203
+ ],
204
+ 'nullable': [
205
+ ],
206
+ 'enum': [
207
+ ],
208
+ 'validation': [
209
+ ]
210
+ },
211
+ root_map={
212
+ 'validations': {
213
+ },
214
+ 'allowed_values': {
215
+ },
216
+ 'openapi_types': {
217
+ 'entity_id':
218
+ (str,),
219
+ },
220
+ 'attribute_map': {
221
+ 'entity_id': 'entityID',
222
+ },
223
+ 'location_map': {
224
+ 'entity_id': 'path',
225
+ },
226
+ 'collection_format_map': {
227
+ }
228
+ },
229
+ headers_map={
230
+ 'accept': [
231
+ 'application/json'
232
+ ],
233
+ 'content_type': [],
234
+ },
235
+ api_client=api_client
236
+ )
237
+ self.get_entity_schedule_year_month_endpoint = _Endpoint(
238
+ settings={
239
+ 'response_type': (EntityScheduleResponse,),
240
+ 'auth': [],
241
+ 'endpoint_path': '/entity/{entityID}/schedule/{year}/{month}',
242
+ 'operation_id': 'get_entity_schedule_year_month',
243
+ 'http_method': 'GET',
244
+ 'servers': None,
245
+ },
246
+ params_map={
247
+ 'all': [
248
+ 'entity_id',
249
+ 'year',
250
+ 'month',
251
+ ],
252
+ 'required': [
253
+ 'entity_id',
254
+ 'year',
255
+ 'month',
256
+ ],
257
+ 'nullable': [
258
+ ],
259
+ 'enum': [
260
+ ],
261
+ 'validation': [
262
+ ]
263
+ },
264
+ root_map={
265
+ 'validations': {
266
+ },
267
+ 'allowed_values': {
268
+ },
269
+ 'openapi_types': {
270
+ 'entity_id':
271
+ (str,),
272
+ 'year':
273
+ (float,),
274
+ 'month':
275
+ (float,),
276
+ },
277
+ 'attribute_map': {
278
+ 'entity_id': 'entityID',
279
+ 'year': 'year',
280
+ 'month': 'month',
281
+ },
282
+ 'location_map': {
283
+ 'entity_id': 'path',
284
+ 'year': 'path',
285
+ 'month': 'path',
286
+ },
287
+ 'collection_format_map': {
288
+ }
289
+ },
290
+ headers_map={
291
+ 'accept': [
292
+ 'application/json'
293
+ ],
294
+ 'content_type': [],
295
+ },
296
+ api_client=api_client
297
+ )
298
+
299
+ def get_entity(
300
+ self,
301
+ entity_id,
302
+ **kwargs
303
+ ):
304
+ """Get entity document # noqa: E501
305
+
306
+ Get the full data document for a given entity. You can supply either a GUID or slug string. # noqa: E501
307
+ This method makes a synchronous HTTP request by default. To make an
308
+ asynchronous HTTP request, please pass async_req=True
309
+
310
+ >>> thread = api.get_entity(entity_id, async_req=True)
311
+ >>> result = thread.get()
312
+
313
+ Args:
314
+ entity_id (str): Entity ID (or slug) to fetch
315
+
316
+ Keyword Args:
317
+ _return_http_data_only (bool): response data without head status
318
+ code and headers. Default is True.
319
+ _preload_content (bool): if False, the urllib3.HTTPResponse object
320
+ will be returned without reading/decoding response data.
321
+ Default is True.
322
+ _request_timeout (int/float/tuple): timeout setting for this request. If
323
+ one number provided, it will be total request timeout. It can also
324
+ be a pair (tuple) of (connection, read) timeouts.
325
+ Default is None.
326
+ _check_input_type (bool): specifies if type checking
327
+ should be done one the data sent to the server.
328
+ Default is True.
329
+ _check_return_type (bool): specifies if type checking
330
+ should be done one the data received from the server.
331
+ Default is True.
332
+ _spec_property_naming (bool): True if the variable names in the input data
333
+ are serialized names, as specified in the OpenAPI document.
334
+ False if the variable names in the input data
335
+ are pythonic names, e.g. snake case (default)
336
+ _content_type (str/None): force body content-type.
337
+ Default is None and content-type will be predicted by allowed
338
+ content-types and body.
339
+ _host_index (int/None): specifies the index of the server
340
+ that we want to use.
341
+ Default is read from the configuration.
342
+ async_req (bool): execute request asynchronously
343
+
344
+ Returns:
345
+ EntityData
346
+ If the method is called asynchronously, returns the request
347
+ thread.
348
+ """
349
+ kwargs['async_req'] = kwargs.get(
350
+ 'async_req', False
351
+ )
352
+ kwargs['_return_http_data_only'] = kwargs.get(
353
+ '_return_http_data_only', True
354
+ )
355
+ kwargs['_preload_content'] = kwargs.get(
356
+ '_preload_content', True
357
+ )
358
+ kwargs['_request_timeout'] = kwargs.get(
359
+ '_request_timeout', None
360
+ )
361
+ kwargs['_check_input_type'] = kwargs.get(
362
+ '_check_input_type', True
363
+ )
364
+ kwargs['_check_return_type'] = kwargs.get(
365
+ '_check_return_type', True
366
+ )
367
+ kwargs['_spec_property_naming'] = kwargs.get(
368
+ '_spec_property_naming', False
369
+ )
370
+ kwargs['_content_type'] = kwargs.get(
371
+ '_content_type')
372
+ kwargs['_host_index'] = kwargs.get('_host_index')
373
+ kwargs['entity_id'] = \
374
+ entity_id
375
+ return self.get_entity_endpoint.call_with_http_info(**kwargs)
376
+
377
+ def get_entity_children(
378
+ self,
379
+ entity_id,
380
+ **kwargs
381
+ ):
382
+ """Get all children for a given entity document # noqa: E501
383
+
384
+ Fetch a list of all the children that belong to this entity. This is recursive, so a destination will return all parks and all rides within those parks. # noqa: E501
385
+ This method makes a synchronous HTTP request by default. To make an
386
+ asynchronous HTTP request, please pass async_req=True
387
+
388
+ >>> thread = api.get_entity_children(entity_id, async_req=True)
389
+ >>> result = thread.get()
390
+
391
+ Args:
392
+ entity_id (str): Entity ID (or slug) to fetch
393
+
394
+ Keyword Args:
395
+ _return_http_data_only (bool): response data without head status
396
+ code and headers. Default is True.
397
+ _preload_content (bool): if False, the urllib3.HTTPResponse object
398
+ will be returned without reading/decoding response data.
399
+ Default is True.
400
+ _request_timeout (int/float/tuple): timeout setting for this request. If
401
+ one number provided, it will be total request timeout. It can also
402
+ be a pair (tuple) of (connection, read) timeouts.
403
+ Default is None.
404
+ _check_input_type (bool): specifies if type checking
405
+ should be done one the data sent to the server.
406
+ Default is True.
407
+ _check_return_type (bool): specifies if type checking
408
+ should be done one the data received from the server.
409
+ Default is True.
410
+ _spec_property_naming (bool): True if the variable names in the input data
411
+ are serialized names, as specified in the OpenAPI document.
412
+ False if the variable names in the input data
413
+ are pythonic names, e.g. snake case (default)
414
+ _content_type (str/None): force body content-type.
415
+ Default is None and content-type will be predicted by allowed
416
+ content-types and body.
417
+ _host_index (int/None): specifies the index of the server
418
+ that we want to use.
419
+ Default is read from the configuration.
420
+ async_req (bool): execute request asynchronously
421
+
422
+ Returns:
423
+ EntityChildrenResponse
424
+ If the method is called asynchronously, returns the request
425
+ thread.
426
+ """
427
+ kwargs['async_req'] = kwargs.get(
428
+ 'async_req', False
429
+ )
430
+ kwargs['_return_http_data_only'] = kwargs.get(
431
+ '_return_http_data_only', True
432
+ )
433
+ kwargs['_preload_content'] = kwargs.get(
434
+ '_preload_content', True
435
+ )
436
+ kwargs['_request_timeout'] = kwargs.get(
437
+ '_request_timeout', None
438
+ )
439
+ kwargs['_check_input_type'] = kwargs.get(
440
+ '_check_input_type', True
441
+ )
442
+ kwargs['_check_return_type'] = kwargs.get(
443
+ '_check_return_type', True
444
+ )
445
+ kwargs['_spec_property_naming'] = kwargs.get(
446
+ '_spec_property_naming', False
447
+ )
448
+ kwargs['_content_type'] = kwargs.get(
449
+ '_content_type')
450
+ kwargs['_host_index'] = kwargs.get('_host_index')
451
+ kwargs['entity_id'] = \
452
+ entity_id
453
+ return self.get_entity_children_endpoint.call_with_http_info(**kwargs)
454
+
455
+ def get_entity_live_data(
456
+ self,
457
+ entity_id,
458
+ **kwargs
459
+ ):
460
+ """Get live data for this entity and any child entities # noqa: E501
461
+
462
+ Fetch this entity's live data (queue times, parade times, etc.) as well as all child entities. For a destination, this will include all parks within that destination. # noqa: E501
463
+ This method makes a synchronous HTTP request by default. To make an
464
+ asynchronous HTTP request, please pass async_req=True
465
+
466
+ >>> thread = api.get_entity_live_data(entity_id, async_req=True)
467
+ >>> result = thread.get()
468
+
469
+ Args:
470
+ entity_id (str): Entity ID (or slug) to fetch
471
+
472
+ Keyword Args:
473
+ _return_http_data_only (bool): response data without head status
474
+ code and headers. Default is True.
475
+ _preload_content (bool): if False, the urllib3.HTTPResponse object
476
+ will be returned without reading/decoding response data.
477
+ Default is True.
478
+ _request_timeout (int/float/tuple): timeout setting for this request. If
479
+ one number provided, it will be total request timeout. It can also
480
+ be a pair (tuple) of (connection, read) timeouts.
481
+ Default is None.
482
+ _check_input_type (bool): specifies if type checking
483
+ should be done one the data sent to the server.
484
+ Default is True.
485
+ _check_return_type (bool): specifies if type checking
486
+ should be done one the data received from the server.
487
+ Default is True.
488
+ _spec_property_naming (bool): True if the variable names in the input data
489
+ are serialized names, as specified in the OpenAPI document.
490
+ False if the variable names in the input data
491
+ are pythonic names, e.g. snake case (default)
492
+ _content_type (str/None): force body content-type.
493
+ Default is None and content-type will be predicted by allowed
494
+ content-types and body.
495
+ _host_index (int/None): specifies the index of the server
496
+ that we want to use.
497
+ Default is read from the configuration.
498
+ async_req (bool): execute request asynchronously
499
+
500
+ Returns:
501
+ EntityLiveDataResponse
502
+ If the method is called asynchronously, returns the request
503
+ thread.
504
+ """
505
+ kwargs['async_req'] = kwargs.get(
506
+ 'async_req', False
507
+ )
508
+ kwargs['_return_http_data_only'] = kwargs.get(
509
+ '_return_http_data_only', True
510
+ )
511
+ kwargs['_preload_content'] = kwargs.get(
512
+ '_preload_content', True
513
+ )
514
+ kwargs['_request_timeout'] = kwargs.get(
515
+ '_request_timeout', None
516
+ )
517
+ kwargs['_check_input_type'] = kwargs.get(
518
+ '_check_input_type', True
519
+ )
520
+ kwargs['_check_return_type'] = kwargs.get(
521
+ '_check_return_type', True
522
+ )
523
+ kwargs['_spec_property_naming'] = kwargs.get(
524
+ '_spec_property_naming', False
525
+ )
526
+ kwargs['_content_type'] = kwargs.get(
527
+ '_content_type')
528
+ kwargs['_host_index'] = kwargs.get('_host_index')
529
+ kwargs['entity_id'] = \
530
+ entity_id
531
+ return self.get_entity_live_data_endpoint.call_with_http_info(**kwargs)
532
+
533
+ def get_entity_schedule_upcoming(
534
+ self,
535
+ entity_id,
536
+ **kwargs
537
+ ):
538
+ """Get entity schedule # noqa: E501
539
+
540
+ Fetch this entity's schedule for the next 30 days # noqa: E501
541
+ This method makes a synchronous HTTP request by default. To make an
542
+ asynchronous HTTP request, please pass async_req=True
543
+
544
+ >>> thread = api.get_entity_schedule_upcoming(entity_id, async_req=True)
545
+ >>> result = thread.get()
546
+
547
+ Args:
548
+ entity_id (str): Entity ID (or slug) to fetch
549
+
550
+ Keyword Args:
551
+ _return_http_data_only (bool): response data without head status
552
+ code and headers. Default is True.
553
+ _preload_content (bool): if False, the urllib3.HTTPResponse object
554
+ will be returned without reading/decoding response data.
555
+ Default is True.
556
+ _request_timeout (int/float/tuple): timeout setting for this request. If
557
+ one number provided, it will be total request timeout. It can also
558
+ be a pair (tuple) of (connection, read) timeouts.
559
+ Default is None.
560
+ _check_input_type (bool): specifies if type checking
561
+ should be done one the data sent to the server.
562
+ Default is True.
563
+ _check_return_type (bool): specifies if type checking
564
+ should be done one the data received from the server.
565
+ Default is True.
566
+ _spec_property_naming (bool): True if the variable names in the input data
567
+ are serialized names, as specified in the OpenAPI document.
568
+ False if the variable names in the input data
569
+ are pythonic names, e.g. snake case (default)
570
+ _content_type (str/None): force body content-type.
571
+ Default is None and content-type will be predicted by allowed
572
+ content-types and body.
573
+ _host_index (int/None): specifies the index of the server
574
+ that we want to use.
575
+ Default is read from the configuration.
576
+ async_req (bool): execute request asynchronously
577
+
578
+ Returns:
579
+ EntityScheduleResponse
580
+ If the method is called asynchronously, returns the request
581
+ thread.
582
+ """
583
+ kwargs['async_req'] = kwargs.get(
584
+ 'async_req', False
585
+ )
586
+ kwargs['_return_http_data_only'] = kwargs.get(
587
+ '_return_http_data_only', True
588
+ )
589
+ kwargs['_preload_content'] = kwargs.get(
590
+ '_preload_content', True
591
+ )
592
+ kwargs['_request_timeout'] = kwargs.get(
593
+ '_request_timeout', None
594
+ )
595
+ kwargs['_check_input_type'] = kwargs.get(
596
+ '_check_input_type', True
597
+ )
598
+ kwargs['_check_return_type'] = kwargs.get(
599
+ '_check_return_type', True
600
+ )
601
+ kwargs['_spec_property_naming'] = kwargs.get(
602
+ '_spec_property_naming', False
603
+ )
604
+ kwargs['_content_type'] = kwargs.get(
605
+ '_content_type')
606
+ kwargs['_host_index'] = kwargs.get('_host_index')
607
+ kwargs['entity_id'] = \
608
+ entity_id
609
+ return self.get_entity_schedule_upcoming_endpoint.call_with_http_info(**kwargs)
610
+
611
+ def get_entity_schedule_year_month(
612
+ self,
613
+ entity_id,
614
+ year,
615
+ month,
616
+ **kwargs
617
+ ):
618
+ """Get entity schedule for a specific month and year # noqa: E501
619
+
620
+ Fetch this entity's schedule for the supplied year and month # noqa: E501
621
+ This method makes a synchronous HTTP request by default. To make an
622
+ asynchronous HTTP request, please pass async_req=True
623
+
624
+ >>> thread = api.get_entity_schedule_year_month(entity_id, year, month, async_req=True)
625
+ >>> result = thread.get()
626
+
627
+ Args:
628
+ entity_id (str): Entity ID (or slug) to fetch
629
+ year (float): Schedule year to fetch
630
+ month (float): Schedule month to fetch. Must be a two digit zero-padded month.
631
+
632
+ Keyword Args:
633
+ _return_http_data_only (bool): response data without head status
634
+ code and headers. Default is True.
635
+ _preload_content (bool): if False, the urllib3.HTTPResponse object
636
+ will be returned without reading/decoding response data.
637
+ Default is True.
638
+ _request_timeout (int/float/tuple): timeout setting for this request. If
639
+ one number provided, it will be total request timeout. It can also
640
+ be a pair (tuple) of (connection, read) timeouts.
641
+ Default is None.
642
+ _check_input_type (bool): specifies if type checking
643
+ should be done one the data sent to the server.
644
+ Default is True.
645
+ _check_return_type (bool): specifies if type checking
646
+ should be done one the data received from the server.
647
+ Default is True.
648
+ _spec_property_naming (bool): True if the variable names in the input data
649
+ are serialized names, as specified in the OpenAPI document.
650
+ False if the variable names in the input data
651
+ are pythonic names, e.g. snake case (default)
652
+ _content_type (str/None): force body content-type.
653
+ Default is None and content-type will be predicted by allowed
654
+ content-types and body.
655
+ _host_index (int/None): specifies the index of the server
656
+ that we want to use.
657
+ Default is read from the configuration.
658
+ async_req (bool): execute request asynchronously
659
+
660
+ Returns:
661
+ EntityScheduleResponse
662
+ If the method is called asynchronously, returns the request
663
+ thread.
664
+ """
665
+ kwargs['async_req'] = kwargs.get(
666
+ 'async_req', False
667
+ )
668
+ kwargs['_return_http_data_only'] = kwargs.get(
669
+ '_return_http_data_only', True
670
+ )
671
+ kwargs['_preload_content'] = kwargs.get(
672
+ '_preload_content', True
673
+ )
674
+ kwargs['_request_timeout'] = kwargs.get(
675
+ '_request_timeout', None
676
+ )
677
+ kwargs['_check_input_type'] = kwargs.get(
678
+ '_check_input_type', True
679
+ )
680
+ kwargs['_check_return_type'] = kwargs.get(
681
+ '_check_return_type', True
682
+ )
683
+ kwargs['_spec_property_naming'] = kwargs.get(
684
+ '_spec_property_naming', False
685
+ )
686
+ kwargs['_content_type'] = kwargs.get(
687
+ '_content_type')
688
+ kwargs['_host_index'] = kwargs.get('_host_index')
689
+ kwargs['entity_id'] = \
690
+ entity_id
691
+ kwargs['year'] = \
692
+ year
693
+ kwargs['month'] = \
694
+ month
695
+ return self.get_entity_schedule_year_month_endpoint.call_with_http_info(**kwargs)
696
+