twitter-openapi-python-generated 0.1.1__py3-none-any.whl → 0.1.2__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.
- twitter_openapi_python_generated/__init__.py +217 -1
- twitter_openapi_python_generated/api/__init__.py +2 -0
- twitter_openapi_python_generated/api/birdwatch_api.py +1609 -0
- twitter_openapi_python_generated/api/community_api.py +1910 -0
- twitter_openapi_python_generated/api/default_api.py +1522 -0
- twitter_openapi_python_generated/api/tweet_api.py +778 -142
- twitter_openapi_python_generated/api/user_list_api.py +1145 -192
- twitter_openapi_python_generated/api/users_api.py +318 -0
- twitter_openapi_python_generated/api_client.py +1 -1
- twitter_openapi_python_generated/configuration.py +1 -1
- twitter_openapi_python_generated/models/__init__.py +106 -0
- twitter_openapi_python_generated/models/ad_metadata_container.py +5 -3
- twitter_openapi_python_generated/models/authenticate_periscope_response.py +102 -0
- twitter_openapi_python_generated/models/authenticate_periscope_response_data.py +89 -0
- twitter_openapi_python_generated/models/birdwatch_alias_self_select_status.py +91 -0
- twitter_openapi_python_generated/models/birdwatch_fetch_alias_self_select_status_response.py +102 -0
- twitter_openapi_python_generated/models/birdwatch_fetch_alias_self_select_status_response_data.py +93 -0
- twitter_openapi_python_generated/models/birdwatch_fetch_authenticated_user_profile_response.py +102 -0
- twitter_openapi_python_generated/models/birdwatch_fetch_authenticated_user_profile_response_data.py +93 -0
- twitter_openapi_python_generated/models/birdwatch_fetch_birdwatch_profile_response.py +102 -0
- twitter_openapi_python_generated/models/birdwatch_fetch_birdwatch_profile_response_data.py +93 -0
- twitter_openapi_python_generated/models/birdwatch_fetch_global_timeline_response.py +102 -0
- twitter_openapi_python_generated/models/birdwatch_fetch_global_timeline_response_data.py +93 -0
- twitter_openapi_python_generated/models/birdwatch_fetch_public_data_response.py +102 -0
- twitter_openapi_python_generated/models/birdwatch_fetch_public_data_response_data.py +93 -0
- twitter_openapi_python_generated/models/birdwatch_home_page.py +101 -0
- twitter_openapi_python_generated/models/birdwatch_home_page_body.py +104 -0
- twitter_openapi_python_generated/models/birdwatch_home_timeline.py +97 -0
- twitter_openapi_python_generated/models/birdwatch_profile.py +89 -0
- twitter_openapi_python_generated/models/birdwatch_public_data_file.py +91 -0
- twitter_openapi_python_generated/models/birdwatch_public_data_file_bundle.py +113 -0
- twitter_openapi_python_generated/models/birdwatch_viewer.py +93 -0
- twitter_openapi_python_generated/models/bookmark_search.py +93 -0
- twitter_openapi_python_generated/models/bookmark_search_timeline_response.py +102 -0
- twitter_openapi_python_generated/models/bookmark_search_timeline_response_data.py +93 -0
- twitter_openapi_python_generated/models/client_event_info_details.py +8 -2
- twitter_openapi_python_generated/models/communities_fetch_one_query_response.py +102 -0
- twitter_openapi_python_generated/models/communities_fetch_one_query_response_data.py +93 -0
- twitter_openapi_python_generated/models/communities_search_query_response.py +102 -0
- twitter_openapi_python_generated/models/communities_search_query_response_data.py +93 -0
- twitter_openapi_python_generated/models/communities_search_slice.py +102 -0
- twitter_openapi_python_generated/models/community_facepile_user.py +98 -0
- twitter_openapi_python_generated/models/community_facepile_user_results.py +95 -0
- twitter_openapi_python_generated/models/community_hashtag.py +91 -0
- twitter_openapi_python_generated/models/community_hashtag_slice.py +99 -0
- twitter_openapi_python_generated/models/community_id_user_results.py +95 -0
- twitter_openapi_python_generated/models/community_list_members_action_result.py +90 -0
- twitter_openapi_python_generated/models/community_page_actions.py +113 -0
- twitter_openapi_python_generated/models/community_page_community.py +187 -0
- twitter_openapi_python_generated/models/community_page_delete_action_result.py +94 -0
- twitter_openapi_python_generated/models/community_page_invites_result.py +96 -0
- twitter_openapi_python_generated/models/community_page_join_action_result.py +92 -0
- twitter_openapi_python_generated/models/community_page_leave_action_result.py +96 -0
- twitter_openapi_python_generated/models/community_page_pin_action_result.py +92 -0
- twitter_openapi_python_generated/models/community_page_results.py +95 -0
- twitter_openapi_python_generated/models/community_primary_topic_name.py +89 -0
- twitter_openapi_python_generated/models/community_query_response.py +102 -0
- twitter_openapi_python_generated/models/community_query_response_data.py +93 -0
- twitter_openapi_python_generated/models/community_relay_rule.py +103 -0
- twitter_openapi_python_generated/models/community_search_community.py +134 -0
- twitter_openapi_python_generated/models/community_search_results.py +95 -0
- twitter_openapi_python_generated/models/community_settings_actions.py +101 -0
- twitter_openapi_python_generated/models/community_settings_community.py +183 -0
- twitter_openapi_python_generated/models/community_settings_creator.py +106 -0
- twitter_openapi_python_generated/models/community_settings_creator_core.py +89 -0
- twitter_openapi_python_generated/models/community_settings_creator_results.py +95 -0
- twitter_openapi_python_generated/models/community_settings_creator_verification.py +89 -0
- twitter_openapi_python_generated/models/community_settings_invites_result.py +90 -0
- twitter_openapi_python_generated/models/community_settings_results.py +95 -0
- twitter_openapi_python_generated/models/community_subtopic.py +99 -0
- twitter_openapi_python_generated/models/community_topic.py +108 -0
- twitter_openapi_python_generated/models/community_topic_results.py +96 -0
- twitter_openapi_python_generated/models/content_item_type.py +1 -0
- twitter_openapi_python_generated/models/creator_studio_tab_bar_item_query_response.py +102 -0
- twitter_openapi_python_generated/models/creator_studio_tab_bar_item_query_response_data.py +89 -0
- twitter_openapi_python_generated/models/data_saver_mode_response.py +102 -0
- twitter_openapi_python_generated/models/data_saver_mode_response_data.py +89 -0
- twitter_openapi_python_generated/models/event_summary_ad_metadata_container.py +91 -0
- twitter_openapi_python_generated/models/event_summary_event.py +97 -0
- twitter_openapi_python_generated/models/event_summary_media.py +99 -0
- twitter_openapi_python_generated/models/event_summary_media_entity.py +95 -0
- twitter_openapi_python_generated/models/event_summary_media_key.py +91 -0
- twitter_openapi_python_generated/models/event_summary_promoted_metadata.py +117 -0
- twitter_openapi_python_generated/models/explore_sidebar_response.py +102 -0
- twitter_openapi_python_generated/models/explore_sidebar_response_data.py +93 -0
- twitter_openapi_python_generated/models/feedback_action.py +0 -7
- twitter_openapi_python_generated/models/global_communities_latest_post_search.py +93 -0
- twitter_openapi_python_generated/models/global_communities_latest_post_search_timeline_response.py +102 -0
- twitter_openapi_python_generated/models/global_communities_latest_post_search_timeline_response_data.py +93 -0
- twitter_openapi_python_generated/models/global_communities_post_search.py +93 -0
- twitter_openapi_python_generated/models/global_communities_post_search_timeline_response.py +102 -0
- twitter_openapi_python_generated/models/global_communities_post_search_timeline_response_data.py +93 -0
- twitter_openapi_python_generated/models/grok_home.py +114 -0
- twitter_openapi_python_generated/models/grok_home_layout.py +98 -0
- twitter_openapi_python_generated/models/grok_home_layout_section.py +98 -0
- twitter_openapi_python_generated/models/grok_home_prompt.py +99 -0
- twitter_openapi_python_generated/models/grok_home_response.py +102 -0
- twitter_openapi_python_generated/models/grok_home_response_data.py +93 -0
- twitter_openapi_python_generated/models/grok_model_option.py +103 -0
- twitter_openapi_python_generated/models/item_content_union.py +27 -8
- twitter_openapi_python_generated/models/list_search.py +93 -0
- twitter_openapi_python_generated/models/list_search_timeline_response.py +102 -0
- twitter_openapi_python_generated/models/list_search_timeline_response_data.py +93 -0
- twitter_openapi_python_generated/models/lists_management_page_timeline_response.py +102 -0
- twitter_openapi_python_generated/models/lists_management_page_timeline_response_data.py +93 -0
- twitter_openapi_python_generated/models/lists_management_viewer.py +93 -0
- twitter_openapi_python_generated/models/module_footer.py +1 -8
- twitter_openapi_python_generated/models/notification_details.py +91 -0
- twitter_openapi_python_generated/models/pinned_timelines.py +89 -0
- twitter_openapi_python_generated/models/pinned_timelines_response.py +102 -0
- twitter_openapi_python_generated/models/pinned_timelines_response_data.py +93 -0
- twitter_openapi_python_generated/models/promoted_trend.py +97 -0
- twitter_openapi_python_generated/models/rich_message.py +10 -1
- twitter_openapi_python_generated/models/rich_message_entity.py +97 -0
- twitter_openapi_python_generated/models/rich_message_entity_ref.py +117 -0
- twitter_openapi_python_generated/models/slice_info.py +89 -0
- twitter_openapi_python_generated/models/timeline_event_summary.py +121 -0
- twitter_openapi_python_generated/models/timeline_trend.py +9 -1
- twitter_openapi_python_generated/models/topic_carousel_query_response.py +102 -0
- twitter_openapi_python_generated/models/topic_carousel_query_response_data.py +93 -0
- twitter_openapi_python_generated/models/trend_metadata.py +3 -1
- twitter_openapi_python_generated/models/trend_promoted_metadata.py +111 -0
- twitter_openapi_python_generated/models/type_name.py +3 -0
- twitter_openapi_python_generated/models/users_verified_avatars_response.py +102 -0
- twitter_openapi_python_generated/models/users_verified_avatars_response_data.py +96 -0
- twitter_openapi_python_generated/models/verified_avatar_user.py +112 -0
- twitter_openapi_python_generated/models/verified_avatar_user_results.py +93 -0
- {twitter_openapi_python_generated-0.1.1.dist-info → twitter_openapi_python_generated-0.1.2.dist-info}/METADATA +136 -9
- {twitter_openapi_python_generated-0.1.1.dist-info → twitter_openapi_python_generated-0.1.2.dist-info}/RECORD +133 -25
- {twitter_openapi_python_generated-0.1.1.dist-info → twitter_openapi_python_generated-0.1.2.dist-info}/WHEEL +0 -0
- {twitter_openapi_python_generated-0.1.1.dist-info → twitter_openapi_python_generated-0.1.2.dist-info}/licenses/LICENSE +0 -0
- {twitter_openapi_python_generated-0.1.1.dist-info → twitter_openapi_python_generated-0.1.2.dist-info}/licenses/LICENSE.AGPL +0 -0
- {twitter_openapi_python_generated-0.1.1.dist-info → twitter_openapi_python_generated-0.1.2.dist-info}/top_level.txt +0 -0
|
@@ -21,7 +21,9 @@ from twitter_openapi_python_generated.models.follow_response import FollowRespon
|
|
|
21
21
|
from twitter_openapi_python_generated.models.list_members_response import ListMembersResponse
|
|
22
22
|
from twitter_openapi_python_generated.models.list_recommended_users_response import ListRecommendedUsersResponse
|
|
23
23
|
from twitter_openapi_python_generated.models.list_response import ListResponse
|
|
24
|
+
from twitter_openapi_python_generated.models.list_search_timeline_response import ListSearchTimelineResponse
|
|
24
25
|
from twitter_openapi_python_generated.models.list_subscribers_response import ListSubscribersResponse
|
|
26
|
+
from twitter_openapi_python_generated.models.lists_management_page_timeline_response import ListsManagementPageTimelineResponse
|
|
25
27
|
from twitter_openapi_python_generated.models.tweet_favoriters_response import TweetFavoritersResponse
|
|
26
28
|
from twitter_openapi_python_generated.models.tweet_retweeters_response import TweetRetweetersResponse
|
|
27
29
|
from twitter_openapi_python_generated.models.user_tweets_response import UserTweetsResponse
|
|
@@ -362,11 +364,11 @@ class UserListApi:
|
|
|
362
364
|
|
|
363
365
|
|
|
364
366
|
@validate_call
|
|
365
|
-
def
|
|
367
|
+
def get_combined_lists(
|
|
366
368
|
self,
|
|
367
369
|
path_query_id: StrictStr,
|
|
368
|
-
variables: StrictStr,
|
|
369
370
|
features: StrictStr,
|
|
371
|
+
variables: StrictStr,
|
|
370
372
|
_request_timeout: Union[
|
|
371
373
|
None,
|
|
372
374
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -379,17 +381,17 @@ class UserListApi:
|
|
|
379
381
|
_content_type: Optional[StrictStr] = None,
|
|
380
382
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
381
383
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
382
|
-
) ->
|
|
383
|
-
"""
|
|
384
|
+
) -> UserTweetsResponse:
|
|
385
|
+
"""get_combined_lists
|
|
384
386
|
|
|
385
|
-
|
|
387
|
+
lists a user owns or follows
|
|
386
388
|
|
|
387
389
|
:param path_query_id: (required)
|
|
388
390
|
:type path_query_id: str
|
|
389
|
-
:param variables: (required)
|
|
390
|
-
:type variables: str
|
|
391
391
|
:param features: (required)
|
|
392
392
|
:type features: str
|
|
393
|
+
:param variables: (required)
|
|
394
|
+
:type variables: str
|
|
393
395
|
:param _request_timeout: timeout setting for this request. If one
|
|
394
396
|
number provided, it will be total request
|
|
395
397
|
timeout. It can also be a pair (tuple) of
|
|
@@ -412,10 +414,10 @@ class UserListApi:
|
|
|
412
414
|
:return: Returns the result object.
|
|
413
415
|
""" # noqa: E501
|
|
414
416
|
|
|
415
|
-
_param = self.
|
|
417
|
+
_param = self._get_combined_lists_serialize(
|
|
416
418
|
path_query_id=path_query_id,
|
|
417
|
-
variables=variables,
|
|
418
419
|
features=features,
|
|
420
|
+
variables=variables,
|
|
419
421
|
_request_auth=_request_auth,
|
|
420
422
|
_content_type=_content_type,
|
|
421
423
|
_headers=_headers,
|
|
@@ -423,7 +425,7 @@ class UserListApi:
|
|
|
423
425
|
)
|
|
424
426
|
|
|
425
427
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
426
|
-
'200': "
|
|
428
|
+
'200': "UserTweetsResponse",
|
|
427
429
|
}
|
|
428
430
|
response_data = self.api_client.call_api(
|
|
429
431
|
*_param,
|
|
@@ -437,11 +439,11 @@ class UserListApi:
|
|
|
437
439
|
|
|
438
440
|
|
|
439
441
|
@validate_call
|
|
440
|
-
def
|
|
442
|
+
def get_combined_lists_with_http_info(
|
|
441
443
|
self,
|
|
442
444
|
path_query_id: StrictStr,
|
|
443
|
-
variables: StrictStr,
|
|
444
445
|
features: StrictStr,
|
|
446
|
+
variables: StrictStr,
|
|
445
447
|
_request_timeout: Union[
|
|
446
448
|
None,
|
|
447
449
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -454,17 +456,17 @@ class UserListApi:
|
|
|
454
456
|
_content_type: Optional[StrictStr] = None,
|
|
455
457
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
456
458
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
457
|
-
) -> ApiResponse[
|
|
458
|
-
"""
|
|
459
|
+
) -> ApiResponse[UserTweetsResponse]:
|
|
460
|
+
"""get_combined_lists
|
|
459
461
|
|
|
460
|
-
|
|
462
|
+
lists a user owns or follows
|
|
461
463
|
|
|
462
464
|
:param path_query_id: (required)
|
|
463
465
|
:type path_query_id: str
|
|
464
|
-
:param variables: (required)
|
|
465
|
-
:type variables: str
|
|
466
466
|
:param features: (required)
|
|
467
467
|
:type features: str
|
|
468
|
+
:param variables: (required)
|
|
469
|
+
:type variables: str
|
|
468
470
|
:param _request_timeout: timeout setting for this request. If one
|
|
469
471
|
number provided, it will be total request
|
|
470
472
|
timeout. It can also be a pair (tuple) of
|
|
@@ -487,10 +489,10 @@ class UserListApi:
|
|
|
487
489
|
:return: Returns the result object.
|
|
488
490
|
""" # noqa: E501
|
|
489
491
|
|
|
490
|
-
_param = self.
|
|
492
|
+
_param = self._get_combined_lists_serialize(
|
|
491
493
|
path_query_id=path_query_id,
|
|
492
|
-
variables=variables,
|
|
493
494
|
features=features,
|
|
495
|
+
variables=variables,
|
|
494
496
|
_request_auth=_request_auth,
|
|
495
497
|
_content_type=_content_type,
|
|
496
498
|
_headers=_headers,
|
|
@@ -498,7 +500,7 @@ class UserListApi:
|
|
|
498
500
|
)
|
|
499
501
|
|
|
500
502
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
501
|
-
'200': "
|
|
503
|
+
'200': "UserTweetsResponse",
|
|
502
504
|
}
|
|
503
505
|
response_data = self.api_client.call_api(
|
|
504
506
|
*_param,
|
|
@@ -512,11 +514,11 @@ class UserListApi:
|
|
|
512
514
|
|
|
513
515
|
|
|
514
516
|
@validate_call
|
|
515
|
-
def
|
|
517
|
+
def get_combined_lists_without_preload_content(
|
|
516
518
|
self,
|
|
517
519
|
path_query_id: StrictStr,
|
|
518
|
-
variables: StrictStr,
|
|
519
520
|
features: StrictStr,
|
|
521
|
+
variables: StrictStr,
|
|
520
522
|
_request_timeout: Union[
|
|
521
523
|
None,
|
|
522
524
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -530,16 +532,16 @@ class UserListApi:
|
|
|
530
532
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
531
533
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
532
534
|
) -> RESTResponseType:
|
|
533
|
-
"""
|
|
535
|
+
"""get_combined_lists
|
|
534
536
|
|
|
535
|
-
|
|
537
|
+
lists a user owns or follows
|
|
536
538
|
|
|
537
539
|
:param path_query_id: (required)
|
|
538
540
|
:type path_query_id: str
|
|
539
|
-
:param variables: (required)
|
|
540
|
-
:type variables: str
|
|
541
541
|
:param features: (required)
|
|
542
542
|
:type features: str
|
|
543
|
+
:param variables: (required)
|
|
544
|
+
:type variables: str
|
|
543
545
|
:param _request_timeout: timeout setting for this request. If one
|
|
544
546
|
number provided, it will be total request
|
|
545
547
|
timeout. It can also be a pair (tuple) of
|
|
@@ -562,10 +564,10 @@ class UserListApi:
|
|
|
562
564
|
:return: Returns the result object.
|
|
563
565
|
""" # noqa: E501
|
|
564
566
|
|
|
565
|
-
_param = self.
|
|
567
|
+
_param = self._get_combined_lists_serialize(
|
|
566
568
|
path_query_id=path_query_id,
|
|
567
|
-
variables=variables,
|
|
568
569
|
features=features,
|
|
570
|
+
variables=variables,
|
|
569
571
|
_request_auth=_request_auth,
|
|
570
572
|
_content_type=_content_type,
|
|
571
573
|
_headers=_headers,
|
|
@@ -573,7 +575,7 @@ class UserListApi:
|
|
|
573
575
|
)
|
|
574
576
|
|
|
575
577
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
576
|
-
'200': "
|
|
578
|
+
'200': "UserTweetsResponse",
|
|
577
579
|
}
|
|
578
580
|
response_data = self.api_client.call_api(
|
|
579
581
|
*_param,
|
|
@@ -582,11 +584,11 @@ class UserListApi:
|
|
|
582
584
|
return response_data.response
|
|
583
585
|
|
|
584
586
|
|
|
585
|
-
def
|
|
587
|
+
def _get_combined_lists_serialize(
|
|
586
588
|
self,
|
|
587
589
|
path_query_id,
|
|
588
|
-
variables,
|
|
589
590
|
features,
|
|
591
|
+
variables,
|
|
590
592
|
_request_auth,
|
|
591
593
|
_content_type,
|
|
592
594
|
_headers,
|
|
@@ -611,14 +613,14 @@ class UserListApi:
|
|
|
611
613
|
if path_query_id is not None:
|
|
612
614
|
_path_params['pathQueryId'] = path_query_id
|
|
613
615
|
# process the query parameters
|
|
614
|
-
if variables is not None:
|
|
615
|
-
|
|
616
|
-
_query_params.append(('variables', variables))
|
|
617
|
-
|
|
618
616
|
if features is not None:
|
|
619
617
|
|
|
620
618
|
_query_params.append(('features', features))
|
|
621
619
|
|
|
620
|
+
if variables is not None:
|
|
621
|
+
|
|
622
|
+
_query_params.append(('variables', variables))
|
|
623
|
+
|
|
622
624
|
# process the header parameters
|
|
623
625
|
# process the form parameters
|
|
624
626
|
# process the body parameter
|
|
@@ -662,7 +664,7 @@ class UserListApi:
|
|
|
662
664
|
|
|
663
665
|
return self.api_client.param_serialize(
|
|
664
666
|
method='GET',
|
|
665
|
-
resource_path='/graphql/{pathQueryId}/
|
|
667
|
+
resource_path='/graphql/{pathQueryId}/CombinedLists',
|
|
666
668
|
path_params=_path_params,
|
|
667
669
|
query_params=_query_params,
|
|
668
670
|
header_params=_header_params,
|
|
@@ -679,7 +681,7 @@ class UserListApi:
|
|
|
679
681
|
|
|
680
682
|
|
|
681
683
|
@validate_call
|
|
682
|
-
def
|
|
684
|
+
def get_favoriters(
|
|
683
685
|
self,
|
|
684
686
|
path_query_id: StrictStr,
|
|
685
687
|
variables: StrictStr,
|
|
@@ -696,10 +698,10 @@ class UserListApi:
|
|
|
696
698
|
_content_type: Optional[StrictStr] = None,
|
|
697
699
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
698
700
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
699
|
-
) ->
|
|
700
|
-
"""
|
|
701
|
+
) -> TweetFavoritersResponse:
|
|
702
|
+
"""get_favoriters
|
|
701
703
|
|
|
702
|
-
get
|
|
704
|
+
get tweet favoriters
|
|
703
705
|
|
|
704
706
|
:param path_query_id: (required)
|
|
705
707
|
:type path_query_id: str
|
|
@@ -729,7 +731,7 @@ class UserListApi:
|
|
|
729
731
|
:return: Returns the result object.
|
|
730
732
|
""" # noqa: E501
|
|
731
733
|
|
|
732
|
-
_param = self.
|
|
734
|
+
_param = self._get_favoriters_serialize(
|
|
733
735
|
path_query_id=path_query_id,
|
|
734
736
|
variables=variables,
|
|
735
737
|
features=features,
|
|
@@ -740,7 +742,7 @@ class UserListApi:
|
|
|
740
742
|
)
|
|
741
743
|
|
|
742
744
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
743
|
-
'200': "
|
|
745
|
+
'200': "TweetFavoritersResponse",
|
|
744
746
|
}
|
|
745
747
|
response_data = self.api_client.call_api(
|
|
746
748
|
*_param,
|
|
@@ -754,7 +756,7 @@ class UserListApi:
|
|
|
754
756
|
|
|
755
757
|
|
|
756
758
|
@validate_call
|
|
757
|
-
def
|
|
759
|
+
def get_favoriters_with_http_info(
|
|
758
760
|
self,
|
|
759
761
|
path_query_id: StrictStr,
|
|
760
762
|
variables: StrictStr,
|
|
@@ -771,10 +773,10 @@ class UserListApi:
|
|
|
771
773
|
_content_type: Optional[StrictStr] = None,
|
|
772
774
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
773
775
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
774
|
-
) -> ApiResponse[
|
|
775
|
-
"""
|
|
776
|
+
) -> ApiResponse[TweetFavoritersResponse]:
|
|
777
|
+
"""get_favoriters
|
|
776
778
|
|
|
777
|
-
get
|
|
779
|
+
get tweet favoriters
|
|
778
780
|
|
|
779
781
|
:param path_query_id: (required)
|
|
780
782
|
:type path_query_id: str
|
|
@@ -804,7 +806,7 @@ class UserListApi:
|
|
|
804
806
|
:return: Returns the result object.
|
|
805
807
|
""" # noqa: E501
|
|
806
808
|
|
|
807
|
-
_param = self.
|
|
809
|
+
_param = self._get_favoriters_serialize(
|
|
808
810
|
path_query_id=path_query_id,
|
|
809
811
|
variables=variables,
|
|
810
812
|
features=features,
|
|
@@ -815,7 +817,7 @@ class UserListApi:
|
|
|
815
817
|
)
|
|
816
818
|
|
|
817
819
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
818
|
-
'200': "
|
|
820
|
+
'200': "TweetFavoritersResponse",
|
|
819
821
|
}
|
|
820
822
|
response_data = self.api_client.call_api(
|
|
821
823
|
*_param,
|
|
@@ -829,7 +831,7 @@ class UserListApi:
|
|
|
829
831
|
|
|
830
832
|
|
|
831
833
|
@validate_call
|
|
832
|
-
def
|
|
834
|
+
def get_favoriters_without_preload_content(
|
|
833
835
|
self,
|
|
834
836
|
path_query_id: StrictStr,
|
|
835
837
|
variables: StrictStr,
|
|
@@ -847,9 +849,9 @@ class UserListApi:
|
|
|
847
849
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
848
850
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
849
851
|
) -> RESTResponseType:
|
|
850
|
-
"""
|
|
852
|
+
"""get_favoriters
|
|
851
853
|
|
|
852
|
-
get
|
|
854
|
+
get tweet favoriters
|
|
853
855
|
|
|
854
856
|
:param path_query_id: (required)
|
|
855
857
|
:type path_query_id: str
|
|
@@ -879,7 +881,7 @@ class UserListApi:
|
|
|
879
881
|
:return: Returns the result object.
|
|
880
882
|
""" # noqa: E501
|
|
881
883
|
|
|
882
|
-
_param = self.
|
|
884
|
+
_param = self._get_favoriters_serialize(
|
|
883
885
|
path_query_id=path_query_id,
|
|
884
886
|
variables=variables,
|
|
885
887
|
features=features,
|
|
@@ -890,7 +892,7 @@ class UserListApi:
|
|
|
890
892
|
)
|
|
891
893
|
|
|
892
894
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
893
|
-
'200': "
|
|
895
|
+
'200': "TweetFavoritersResponse",
|
|
894
896
|
}
|
|
895
897
|
response_data = self.api_client.call_api(
|
|
896
898
|
*_param,
|
|
@@ -899,7 +901,7 @@ class UserListApi:
|
|
|
899
901
|
return response_data.response
|
|
900
902
|
|
|
901
903
|
|
|
902
|
-
def
|
|
904
|
+
def _get_favoriters_serialize(
|
|
903
905
|
self,
|
|
904
906
|
path_query_id,
|
|
905
907
|
variables,
|
|
@@ -979,7 +981,7 @@ class UserListApi:
|
|
|
979
981
|
|
|
980
982
|
return self.api_client.param_serialize(
|
|
981
983
|
method='GET',
|
|
982
|
-
resource_path='/graphql/{pathQueryId}/
|
|
984
|
+
resource_path='/graphql/{pathQueryId}/Favoriters',
|
|
983
985
|
path_params=_path_params,
|
|
984
986
|
query_params=_query_params,
|
|
985
987
|
header_params=_header_params,
|
|
@@ -996,7 +998,7 @@ class UserListApi:
|
|
|
996
998
|
|
|
997
999
|
|
|
998
1000
|
@validate_call
|
|
999
|
-
def
|
|
1001
|
+
def get_followers(
|
|
1000
1002
|
self,
|
|
1001
1003
|
path_query_id: StrictStr,
|
|
1002
1004
|
variables: StrictStr,
|
|
@@ -1014,9 +1016,9 @@ class UserListApi:
|
|
|
1014
1016
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
1015
1017
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
1016
1018
|
) -> FollowResponse:
|
|
1017
|
-
"""
|
|
1019
|
+
"""get_followers
|
|
1018
1020
|
|
|
1019
|
-
get
|
|
1021
|
+
get user list of followers
|
|
1020
1022
|
|
|
1021
1023
|
:param path_query_id: (required)
|
|
1022
1024
|
:type path_query_id: str
|
|
@@ -1046,7 +1048,7 @@ class UserListApi:
|
|
|
1046
1048
|
:return: Returns the result object.
|
|
1047
1049
|
""" # noqa: E501
|
|
1048
1050
|
|
|
1049
|
-
_param = self.
|
|
1051
|
+
_param = self._get_followers_serialize(
|
|
1050
1052
|
path_query_id=path_query_id,
|
|
1051
1053
|
variables=variables,
|
|
1052
1054
|
features=features,
|
|
@@ -1071,7 +1073,7 @@ class UserListApi:
|
|
|
1071
1073
|
|
|
1072
1074
|
|
|
1073
1075
|
@validate_call
|
|
1074
|
-
def
|
|
1076
|
+
def get_followers_with_http_info(
|
|
1075
1077
|
self,
|
|
1076
1078
|
path_query_id: StrictStr,
|
|
1077
1079
|
variables: StrictStr,
|
|
@@ -1089,9 +1091,9 @@ class UserListApi:
|
|
|
1089
1091
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
1090
1092
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
1091
1093
|
) -> ApiResponse[FollowResponse]:
|
|
1092
|
-
"""
|
|
1094
|
+
"""get_followers
|
|
1093
1095
|
|
|
1094
|
-
get
|
|
1096
|
+
get user list of followers
|
|
1095
1097
|
|
|
1096
1098
|
:param path_query_id: (required)
|
|
1097
1099
|
:type path_query_id: str
|
|
@@ -1121,7 +1123,7 @@ class UserListApi:
|
|
|
1121
1123
|
:return: Returns the result object.
|
|
1122
1124
|
""" # noqa: E501
|
|
1123
1125
|
|
|
1124
|
-
_param = self.
|
|
1126
|
+
_param = self._get_followers_serialize(
|
|
1125
1127
|
path_query_id=path_query_id,
|
|
1126
1128
|
variables=variables,
|
|
1127
1129
|
features=features,
|
|
@@ -1146,7 +1148,7 @@ class UserListApi:
|
|
|
1146
1148
|
|
|
1147
1149
|
|
|
1148
1150
|
@validate_call
|
|
1149
|
-
def
|
|
1151
|
+
def get_followers_without_preload_content(
|
|
1150
1152
|
self,
|
|
1151
1153
|
path_query_id: StrictStr,
|
|
1152
1154
|
variables: StrictStr,
|
|
@@ -1164,9 +1166,9 @@ class UserListApi:
|
|
|
1164
1166
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
1165
1167
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
1166
1168
|
) -> RESTResponseType:
|
|
1167
|
-
"""
|
|
1169
|
+
"""get_followers
|
|
1168
1170
|
|
|
1169
|
-
get
|
|
1171
|
+
get user list of followers
|
|
1170
1172
|
|
|
1171
1173
|
:param path_query_id: (required)
|
|
1172
1174
|
:type path_query_id: str
|
|
@@ -1196,7 +1198,7 @@ class UserListApi:
|
|
|
1196
1198
|
:return: Returns the result object.
|
|
1197
1199
|
""" # noqa: E501
|
|
1198
1200
|
|
|
1199
|
-
_param = self.
|
|
1201
|
+
_param = self._get_followers_serialize(
|
|
1200
1202
|
path_query_id=path_query_id,
|
|
1201
1203
|
variables=variables,
|
|
1202
1204
|
features=features,
|
|
@@ -1216,7 +1218,7 @@ class UserListApi:
|
|
|
1216
1218
|
return response_data.response
|
|
1217
1219
|
|
|
1218
1220
|
|
|
1219
|
-
def
|
|
1221
|
+
def _get_followers_serialize(
|
|
1220
1222
|
self,
|
|
1221
1223
|
path_query_id,
|
|
1222
1224
|
variables,
|
|
@@ -1296,7 +1298,7 @@ class UserListApi:
|
|
|
1296
1298
|
|
|
1297
1299
|
return self.api_client.param_serialize(
|
|
1298
1300
|
method='GET',
|
|
1299
|
-
resource_path='/graphql/{pathQueryId}/
|
|
1301
|
+
resource_path='/graphql/{pathQueryId}/Followers',
|
|
1300
1302
|
path_params=_path_params,
|
|
1301
1303
|
query_params=_query_params,
|
|
1302
1304
|
header_params=_header_params,
|
|
@@ -1313,7 +1315,7 @@ class UserListApi:
|
|
|
1313
1315
|
|
|
1314
1316
|
|
|
1315
1317
|
@validate_call
|
|
1316
|
-
def
|
|
1318
|
+
def get_followers_you_know(
|
|
1317
1319
|
self,
|
|
1318
1320
|
path_query_id: StrictStr,
|
|
1319
1321
|
variables: StrictStr,
|
|
@@ -1331,9 +1333,9 @@ class UserListApi:
|
|
|
1331
1333
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
1332
1334
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
1333
1335
|
) -> FollowResponse:
|
|
1334
|
-
"""
|
|
1336
|
+
"""get_followers_you_know
|
|
1335
1337
|
|
|
1336
|
-
get
|
|
1338
|
+
get followers you know
|
|
1337
1339
|
|
|
1338
1340
|
:param path_query_id: (required)
|
|
1339
1341
|
:type path_query_id: str
|
|
@@ -1363,7 +1365,7 @@ class UserListApi:
|
|
|
1363
1365
|
:return: Returns the result object.
|
|
1364
1366
|
""" # noqa: E501
|
|
1365
1367
|
|
|
1366
|
-
_param = self.
|
|
1368
|
+
_param = self._get_followers_you_know_serialize(
|
|
1367
1369
|
path_query_id=path_query_id,
|
|
1368
1370
|
variables=variables,
|
|
1369
1371
|
features=features,
|
|
@@ -1388,7 +1390,7 @@ class UserListApi:
|
|
|
1388
1390
|
|
|
1389
1391
|
|
|
1390
1392
|
@validate_call
|
|
1391
|
-
def
|
|
1393
|
+
def get_followers_you_know_with_http_info(
|
|
1392
1394
|
self,
|
|
1393
1395
|
path_query_id: StrictStr,
|
|
1394
1396
|
variables: StrictStr,
|
|
@@ -1406,9 +1408,9 @@ class UserListApi:
|
|
|
1406
1408
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
1407
1409
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
1408
1410
|
) -> ApiResponse[FollowResponse]:
|
|
1409
|
-
"""
|
|
1411
|
+
"""get_followers_you_know
|
|
1410
1412
|
|
|
1411
|
-
get
|
|
1413
|
+
get followers you know
|
|
1412
1414
|
|
|
1413
1415
|
:param path_query_id: (required)
|
|
1414
1416
|
:type path_query_id: str
|
|
@@ -1438,7 +1440,7 @@ class UserListApi:
|
|
|
1438
1440
|
:return: Returns the result object.
|
|
1439
1441
|
""" # noqa: E501
|
|
1440
1442
|
|
|
1441
|
-
_param = self.
|
|
1443
|
+
_param = self._get_followers_you_know_serialize(
|
|
1442
1444
|
path_query_id=path_query_id,
|
|
1443
1445
|
variables=variables,
|
|
1444
1446
|
features=features,
|
|
@@ -1463,7 +1465,7 @@ class UserListApi:
|
|
|
1463
1465
|
|
|
1464
1466
|
|
|
1465
1467
|
@validate_call
|
|
1466
|
-
def
|
|
1468
|
+
def get_followers_you_know_without_preload_content(
|
|
1467
1469
|
self,
|
|
1468
1470
|
path_query_id: StrictStr,
|
|
1469
1471
|
variables: StrictStr,
|
|
@@ -1481,9 +1483,9 @@ class UserListApi:
|
|
|
1481
1483
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
1482
1484
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
1483
1485
|
) -> RESTResponseType:
|
|
1484
|
-
"""
|
|
1486
|
+
"""get_followers_you_know
|
|
1485
1487
|
|
|
1486
|
-
get
|
|
1488
|
+
get followers you know
|
|
1487
1489
|
|
|
1488
1490
|
:param path_query_id: (required)
|
|
1489
1491
|
:type path_query_id: str
|
|
@@ -1513,7 +1515,7 @@ class UserListApi:
|
|
|
1513
1515
|
:return: Returns the result object.
|
|
1514
1516
|
""" # noqa: E501
|
|
1515
1517
|
|
|
1516
|
-
_param = self.
|
|
1518
|
+
_param = self._get_followers_you_know_serialize(
|
|
1517
1519
|
path_query_id=path_query_id,
|
|
1518
1520
|
variables=variables,
|
|
1519
1521
|
features=features,
|
|
@@ -1533,7 +1535,7 @@ class UserListApi:
|
|
|
1533
1535
|
return response_data.response
|
|
1534
1536
|
|
|
1535
1537
|
|
|
1536
|
-
def
|
|
1538
|
+
def _get_followers_you_know_serialize(
|
|
1537
1539
|
self,
|
|
1538
1540
|
path_query_id,
|
|
1539
1541
|
variables,
|
|
@@ -1613,7 +1615,7 @@ class UserListApi:
|
|
|
1613
1615
|
|
|
1614
1616
|
return self.api_client.param_serialize(
|
|
1615
1617
|
method='GET',
|
|
1616
|
-
resource_path='/graphql/{pathQueryId}/
|
|
1618
|
+
resource_path='/graphql/{pathQueryId}/FollowersYouKnow',
|
|
1617
1619
|
path_params=_path_params,
|
|
1618
1620
|
query_params=_query_params,
|
|
1619
1621
|
header_params=_header_params,
|
|
@@ -1630,7 +1632,7 @@ class UserListApi:
|
|
|
1630
1632
|
|
|
1631
1633
|
|
|
1632
1634
|
@validate_call
|
|
1633
|
-
def
|
|
1635
|
+
def get_following(
|
|
1634
1636
|
self,
|
|
1635
1637
|
path_query_id: StrictStr,
|
|
1636
1638
|
variables: StrictStr,
|
|
@@ -1647,10 +1649,10 @@ class UserListApi:
|
|
|
1647
1649
|
_content_type: Optional[StrictStr] = None,
|
|
1648
1650
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
1649
1651
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
1650
|
-
) ->
|
|
1651
|
-
"""
|
|
1652
|
+
) -> FollowResponse:
|
|
1653
|
+
"""get_following
|
|
1652
1654
|
|
|
1653
|
-
get list
|
|
1655
|
+
get user list of following
|
|
1654
1656
|
|
|
1655
1657
|
:param path_query_id: (required)
|
|
1656
1658
|
:type path_query_id: str
|
|
@@ -1680,7 +1682,7 @@ class UserListApi:
|
|
|
1680
1682
|
:return: Returns the result object.
|
|
1681
1683
|
""" # noqa: E501
|
|
1682
1684
|
|
|
1683
|
-
_param = self.
|
|
1685
|
+
_param = self._get_following_serialize(
|
|
1684
1686
|
path_query_id=path_query_id,
|
|
1685
1687
|
variables=variables,
|
|
1686
1688
|
features=features,
|
|
@@ -1691,7 +1693,7 @@ class UserListApi:
|
|
|
1691
1693
|
)
|
|
1692
1694
|
|
|
1693
1695
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
1694
|
-
'200': "
|
|
1696
|
+
'200': "FollowResponse",
|
|
1695
1697
|
}
|
|
1696
1698
|
response_data = self.api_client.call_api(
|
|
1697
1699
|
*_param,
|
|
@@ -1705,7 +1707,7 @@ class UserListApi:
|
|
|
1705
1707
|
|
|
1706
1708
|
|
|
1707
1709
|
@validate_call
|
|
1708
|
-
def
|
|
1710
|
+
def get_following_with_http_info(
|
|
1709
1711
|
self,
|
|
1710
1712
|
path_query_id: StrictStr,
|
|
1711
1713
|
variables: StrictStr,
|
|
@@ -1722,10 +1724,10 @@ class UserListApi:
|
|
|
1722
1724
|
_content_type: Optional[StrictStr] = None,
|
|
1723
1725
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
1724
1726
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
1725
|
-
) -> ApiResponse[
|
|
1726
|
-
"""
|
|
1727
|
+
) -> ApiResponse[FollowResponse]:
|
|
1728
|
+
"""get_following
|
|
1727
1729
|
|
|
1728
|
-
get list
|
|
1730
|
+
get user list of following
|
|
1729
1731
|
|
|
1730
1732
|
:param path_query_id: (required)
|
|
1731
1733
|
:type path_query_id: str
|
|
@@ -1755,7 +1757,7 @@ class UserListApi:
|
|
|
1755
1757
|
:return: Returns the result object.
|
|
1756
1758
|
""" # noqa: E501
|
|
1757
1759
|
|
|
1758
|
-
_param = self.
|
|
1760
|
+
_param = self._get_following_serialize(
|
|
1759
1761
|
path_query_id=path_query_id,
|
|
1760
1762
|
variables=variables,
|
|
1761
1763
|
features=features,
|
|
@@ -1766,7 +1768,7 @@ class UserListApi:
|
|
|
1766
1768
|
)
|
|
1767
1769
|
|
|
1768
1770
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
1769
|
-
'200': "
|
|
1771
|
+
'200': "FollowResponse",
|
|
1770
1772
|
}
|
|
1771
1773
|
response_data = self.api_client.call_api(
|
|
1772
1774
|
*_param,
|
|
@@ -1780,7 +1782,7 @@ class UserListApi:
|
|
|
1780
1782
|
|
|
1781
1783
|
|
|
1782
1784
|
@validate_call
|
|
1783
|
-
def
|
|
1785
|
+
def get_following_without_preload_content(
|
|
1784
1786
|
self,
|
|
1785
1787
|
path_query_id: StrictStr,
|
|
1786
1788
|
variables: StrictStr,
|
|
@@ -1798,9 +1800,9 @@ class UserListApi:
|
|
|
1798
1800
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
1799
1801
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
1800
1802
|
) -> RESTResponseType:
|
|
1801
|
-
"""
|
|
1803
|
+
"""get_following
|
|
1802
1804
|
|
|
1803
|
-
get list
|
|
1805
|
+
get user list of following
|
|
1804
1806
|
|
|
1805
1807
|
:param path_query_id: (required)
|
|
1806
1808
|
:type path_query_id: str
|
|
@@ -1830,7 +1832,7 @@ class UserListApi:
|
|
|
1830
1832
|
:return: Returns the result object.
|
|
1831
1833
|
""" # noqa: E501
|
|
1832
1834
|
|
|
1833
|
-
_param = self.
|
|
1835
|
+
_param = self._get_following_serialize(
|
|
1834
1836
|
path_query_id=path_query_id,
|
|
1835
1837
|
variables=variables,
|
|
1836
1838
|
features=features,
|
|
@@ -1841,7 +1843,7 @@ class UserListApi:
|
|
|
1841
1843
|
)
|
|
1842
1844
|
|
|
1843
1845
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
1844
|
-
'200': "
|
|
1846
|
+
'200': "FollowResponse",
|
|
1845
1847
|
}
|
|
1846
1848
|
response_data = self.api_client.call_api(
|
|
1847
1849
|
*_param,
|
|
@@ -1850,7 +1852,7 @@ class UserListApi:
|
|
|
1850
1852
|
return response_data.response
|
|
1851
1853
|
|
|
1852
1854
|
|
|
1853
|
-
def
|
|
1855
|
+
def _get_following_serialize(
|
|
1854
1856
|
self,
|
|
1855
1857
|
path_query_id,
|
|
1856
1858
|
variables,
|
|
@@ -1930,7 +1932,7 @@ class UserListApi:
|
|
|
1930
1932
|
|
|
1931
1933
|
return self.api_client.param_serialize(
|
|
1932
1934
|
method='GET',
|
|
1933
|
-
resource_path='/graphql/{pathQueryId}/
|
|
1935
|
+
resource_path='/graphql/{pathQueryId}/Following',
|
|
1934
1936
|
path_params=_path_params,
|
|
1935
1937
|
query_params=_query_params,
|
|
1936
1938
|
header_params=_header_params,
|
|
@@ -1947,7 +1949,7 @@ class UserListApi:
|
|
|
1947
1949
|
|
|
1948
1950
|
|
|
1949
1951
|
@validate_call
|
|
1950
|
-
def
|
|
1952
|
+
def get_list_by_rest_id(
|
|
1951
1953
|
self,
|
|
1952
1954
|
path_query_id: StrictStr,
|
|
1953
1955
|
variables: StrictStr,
|
|
@@ -1964,10 +1966,10 @@ class UserListApi:
|
|
|
1964
1966
|
_content_type: Optional[StrictStr] = None,
|
|
1965
1967
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
1966
1968
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
1967
|
-
) ->
|
|
1968
|
-
"""
|
|
1969
|
+
) -> ListResponse:
|
|
1970
|
+
"""get_list_by_rest_id
|
|
1969
1971
|
|
|
1970
|
-
get
|
|
1972
|
+
get list
|
|
1971
1973
|
|
|
1972
1974
|
:param path_query_id: (required)
|
|
1973
1975
|
:type path_query_id: str
|
|
@@ -1997,7 +1999,7 @@ class UserListApi:
|
|
|
1997
1999
|
:return: Returns the result object.
|
|
1998
2000
|
""" # noqa: E501
|
|
1999
2001
|
|
|
2000
|
-
_param = self.
|
|
2002
|
+
_param = self._get_list_by_rest_id_serialize(
|
|
2001
2003
|
path_query_id=path_query_id,
|
|
2002
2004
|
variables=variables,
|
|
2003
2005
|
features=features,
|
|
@@ -2008,7 +2010,7 @@ class UserListApi:
|
|
|
2008
2010
|
)
|
|
2009
2011
|
|
|
2010
2012
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
2011
|
-
'200': "
|
|
2013
|
+
'200': "ListResponse",
|
|
2012
2014
|
}
|
|
2013
2015
|
response_data = self.api_client.call_api(
|
|
2014
2016
|
*_param,
|
|
@@ -2022,7 +2024,7 @@ class UserListApi:
|
|
|
2022
2024
|
|
|
2023
2025
|
|
|
2024
2026
|
@validate_call
|
|
2025
|
-
def
|
|
2027
|
+
def get_list_by_rest_id_with_http_info(
|
|
2026
2028
|
self,
|
|
2027
2029
|
path_query_id: StrictStr,
|
|
2028
2030
|
variables: StrictStr,
|
|
@@ -2039,10 +2041,10 @@ class UserListApi:
|
|
|
2039
2041
|
_content_type: Optional[StrictStr] = None,
|
|
2040
2042
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
2041
2043
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
2042
|
-
) -> ApiResponse[
|
|
2043
|
-
"""
|
|
2044
|
+
) -> ApiResponse[ListResponse]:
|
|
2045
|
+
"""get_list_by_rest_id
|
|
2044
2046
|
|
|
2045
|
-
get
|
|
2047
|
+
get list
|
|
2046
2048
|
|
|
2047
2049
|
:param path_query_id: (required)
|
|
2048
2050
|
:type path_query_id: str
|
|
@@ -2072,7 +2074,7 @@ class UserListApi:
|
|
|
2072
2074
|
:return: Returns the result object.
|
|
2073
2075
|
""" # noqa: E501
|
|
2074
2076
|
|
|
2075
|
-
_param = self.
|
|
2077
|
+
_param = self._get_list_by_rest_id_serialize(
|
|
2076
2078
|
path_query_id=path_query_id,
|
|
2077
2079
|
variables=variables,
|
|
2078
2080
|
features=features,
|
|
@@ -2083,7 +2085,7 @@ class UserListApi:
|
|
|
2083
2085
|
)
|
|
2084
2086
|
|
|
2085
2087
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
2086
|
-
'200': "
|
|
2088
|
+
'200': "ListResponse",
|
|
2087
2089
|
}
|
|
2088
2090
|
response_data = self.api_client.call_api(
|
|
2089
2091
|
*_param,
|
|
@@ -2097,7 +2099,7 @@ class UserListApi:
|
|
|
2097
2099
|
|
|
2098
2100
|
|
|
2099
2101
|
@validate_call
|
|
2100
|
-
def
|
|
2102
|
+
def get_list_by_rest_id_without_preload_content(
|
|
2101
2103
|
self,
|
|
2102
2104
|
path_query_id: StrictStr,
|
|
2103
2105
|
variables: StrictStr,
|
|
@@ -2115,9 +2117,9 @@ class UserListApi:
|
|
|
2115
2117
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
2116
2118
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
2117
2119
|
) -> RESTResponseType:
|
|
2118
|
-
"""
|
|
2120
|
+
"""get_list_by_rest_id
|
|
2119
2121
|
|
|
2120
|
-
get
|
|
2122
|
+
get list
|
|
2121
2123
|
|
|
2122
2124
|
:param path_query_id: (required)
|
|
2123
2125
|
:type path_query_id: str
|
|
@@ -2147,7 +2149,7 @@ class UserListApi:
|
|
|
2147
2149
|
:return: Returns the result object.
|
|
2148
2150
|
""" # noqa: E501
|
|
2149
2151
|
|
|
2150
|
-
_param = self.
|
|
2152
|
+
_param = self._get_list_by_rest_id_serialize(
|
|
2151
2153
|
path_query_id=path_query_id,
|
|
2152
2154
|
variables=variables,
|
|
2153
2155
|
features=features,
|
|
@@ -2158,7 +2160,7 @@ class UserListApi:
|
|
|
2158
2160
|
)
|
|
2159
2161
|
|
|
2160
2162
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
2161
|
-
'200': "
|
|
2163
|
+
'200': "ListResponse",
|
|
2162
2164
|
}
|
|
2163
2165
|
response_data = self.api_client.call_api(
|
|
2164
2166
|
*_param,
|
|
@@ -2167,7 +2169,7 @@ class UserListApi:
|
|
|
2167
2169
|
return response_data.response
|
|
2168
2170
|
|
|
2169
2171
|
|
|
2170
|
-
def
|
|
2172
|
+
def _get_list_by_rest_id_serialize(
|
|
2171
2173
|
self,
|
|
2172
2174
|
path_query_id,
|
|
2173
2175
|
variables,
|
|
@@ -2247,7 +2249,7 @@ class UserListApi:
|
|
|
2247
2249
|
|
|
2248
2250
|
return self.api_client.param_serialize(
|
|
2249
2251
|
method='GET',
|
|
2250
|
-
resource_path='/graphql/{pathQueryId}/
|
|
2252
|
+
resource_path='/graphql/{pathQueryId}/ListByRestId',
|
|
2251
2253
|
path_params=_path_params,
|
|
2252
2254
|
query_params=_query_params,
|
|
2253
2255
|
header_params=_header_params,
|
|
@@ -2264,7 +2266,7 @@ class UserListApi:
|
|
|
2264
2266
|
|
|
2265
2267
|
|
|
2266
2268
|
@validate_call
|
|
2267
|
-
def
|
|
2269
|
+
def get_list_creation_recommended_users(
|
|
2268
2270
|
self,
|
|
2269
2271
|
path_query_id: StrictStr,
|
|
2270
2272
|
variables: StrictStr,
|
|
@@ -2282,9 +2284,9 @@ class UserListApi:
|
|
|
2282
2284
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
2283
2285
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
2284
2286
|
) -> ListRecommendedUsersResponse:
|
|
2285
|
-
"""
|
|
2287
|
+
"""get_list_creation_recommended_users
|
|
2286
2288
|
|
|
2287
|
-
get recommended members while
|
|
2289
|
+
get recommended members while creating a list
|
|
2288
2290
|
|
|
2289
2291
|
:param path_query_id: (required)
|
|
2290
2292
|
:type path_query_id: str
|
|
@@ -2314,7 +2316,7 @@ class UserListApi:
|
|
|
2314
2316
|
:return: Returns the result object.
|
|
2315
2317
|
""" # noqa: E501
|
|
2316
2318
|
|
|
2317
|
-
_param = self.
|
|
2319
|
+
_param = self._get_list_creation_recommended_users_serialize(
|
|
2318
2320
|
path_query_id=path_query_id,
|
|
2319
2321
|
variables=variables,
|
|
2320
2322
|
features=features,
|
|
@@ -2339,7 +2341,7 @@ class UserListApi:
|
|
|
2339
2341
|
|
|
2340
2342
|
|
|
2341
2343
|
@validate_call
|
|
2342
|
-
def
|
|
2344
|
+
def get_list_creation_recommended_users_with_http_info(
|
|
2343
2345
|
self,
|
|
2344
2346
|
path_query_id: StrictStr,
|
|
2345
2347
|
variables: StrictStr,
|
|
@@ -2357,9 +2359,9 @@ class UserListApi:
|
|
|
2357
2359
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
2358
2360
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
2359
2361
|
) -> ApiResponse[ListRecommendedUsersResponse]:
|
|
2360
|
-
"""
|
|
2362
|
+
"""get_list_creation_recommended_users
|
|
2361
2363
|
|
|
2362
|
-
get recommended members while
|
|
2364
|
+
get recommended members while creating a list
|
|
2363
2365
|
|
|
2364
2366
|
:param path_query_id: (required)
|
|
2365
2367
|
:type path_query_id: str
|
|
@@ -2389,7 +2391,7 @@ class UserListApi:
|
|
|
2389
2391
|
:return: Returns the result object.
|
|
2390
2392
|
""" # noqa: E501
|
|
2391
2393
|
|
|
2392
|
-
_param = self.
|
|
2394
|
+
_param = self._get_list_creation_recommended_users_serialize(
|
|
2393
2395
|
path_query_id=path_query_id,
|
|
2394
2396
|
variables=variables,
|
|
2395
2397
|
features=features,
|
|
@@ -2414,7 +2416,7 @@ class UserListApi:
|
|
|
2414
2416
|
|
|
2415
2417
|
|
|
2416
2418
|
@validate_call
|
|
2417
|
-
def
|
|
2419
|
+
def get_list_creation_recommended_users_without_preload_content(
|
|
2418
2420
|
self,
|
|
2419
2421
|
path_query_id: StrictStr,
|
|
2420
2422
|
variables: StrictStr,
|
|
@@ -2432,9 +2434,9 @@ class UserListApi:
|
|
|
2432
2434
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
2433
2435
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
2434
2436
|
) -> RESTResponseType:
|
|
2435
|
-
"""
|
|
2437
|
+
"""get_list_creation_recommended_users
|
|
2436
2438
|
|
|
2437
|
-
get recommended members while
|
|
2439
|
+
get recommended members while creating a list
|
|
2438
2440
|
|
|
2439
2441
|
:param path_query_id: (required)
|
|
2440
2442
|
:type path_query_id: str
|
|
@@ -2464,7 +2466,7 @@ class UserListApi:
|
|
|
2464
2466
|
:return: Returns the result object.
|
|
2465
2467
|
""" # noqa: E501
|
|
2466
2468
|
|
|
2467
|
-
_param = self.
|
|
2469
|
+
_param = self._get_list_creation_recommended_users_serialize(
|
|
2468
2470
|
path_query_id=path_query_id,
|
|
2469
2471
|
variables=variables,
|
|
2470
2472
|
features=features,
|
|
@@ -2484,7 +2486,7 @@ class UserListApi:
|
|
|
2484
2486
|
return response_data.response
|
|
2485
2487
|
|
|
2486
2488
|
|
|
2487
|
-
def
|
|
2489
|
+
def _get_list_creation_recommended_users_serialize(
|
|
2488
2490
|
self,
|
|
2489
2491
|
path_query_id,
|
|
2490
2492
|
variables,
|
|
@@ -2564,7 +2566,7 @@ class UserListApi:
|
|
|
2564
2566
|
|
|
2565
2567
|
return self.api_client.param_serialize(
|
|
2566
2568
|
method='GET',
|
|
2567
|
-
resource_path='/graphql/{pathQueryId}/
|
|
2569
|
+
resource_path='/graphql/{pathQueryId}/ListCreationRecommendedUsers',
|
|
2568
2570
|
path_params=_path_params,
|
|
2569
2571
|
query_params=_query_params,
|
|
2570
2572
|
header_params=_header_params,
|
|
@@ -2581,7 +2583,7 @@ class UserListApi:
|
|
|
2581
2583
|
|
|
2582
2584
|
|
|
2583
2585
|
@validate_call
|
|
2584
|
-
def
|
|
2586
|
+
def get_list_edit_recommended_users(
|
|
2585
2587
|
self,
|
|
2586
2588
|
path_query_id: StrictStr,
|
|
2587
2589
|
variables: StrictStr,
|
|
@@ -2598,10 +2600,10 @@ class UserListApi:
|
|
|
2598
2600
|
_content_type: Optional[StrictStr] = None,
|
|
2599
2601
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
2600
2602
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
2601
|
-
) ->
|
|
2602
|
-
"""
|
|
2603
|
+
) -> ListRecommendedUsersResponse:
|
|
2604
|
+
"""get_list_edit_recommended_users
|
|
2603
2605
|
|
|
2604
|
-
get
|
|
2606
|
+
get recommended members while editing a list
|
|
2605
2607
|
|
|
2606
2608
|
:param path_query_id: (required)
|
|
2607
2609
|
:type path_query_id: str
|
|
@@ -2631,7 +2633,7 @@ class UserListApi:
|
|
|
2631
2633
|
:return: Returns the result object.
|
|
2632
2634
|
""" # noqa: E501
|
|
2633
2635
|
|
|
2634
|
-
_param = self.
|
|
2636
|
+
_param = self._get_list_edit_recommended_users_serialize(
|
|
2635
2637
|
path_query_id=path_query_id,
|
|
2636
2638
|
variables=variables,
|
|
2637
2639
|
features=features,
|
|
@@ -2642,7 +2644,7 @@ class UserListApi:
|
|
|
2642
2644
|
)
|
|
2643
2645
|
|
|
2644
2646
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
2645
|
-
'200': "
|
|
2647
|
+
'200': "ListRecommendedUsersResponse",
|
|
2646
2648
|
}
|
|
2647
2649
|
response_data = self.api_client.call_api(
|
|
2648
2650
|
*_param,
|
|
@@ -2656,7 +2658,7 @@ class UserListApi:
|
|
|
2656
2658
|
|
|
2657
2659
|
|
|
2658
2660
|
@validate_call
|
|
2659
|
-
def
|
|
2661
|
+
def get_list_edit_recommended_users_with_http_info(
|
|
2660
2662
|
self,
|
|
2661
2663
|
path_query_id: StrictStr,
|
|
2662
2664
|
variables: StrictStr,
|
|
@@ -2673,10 +2675,10 @@ class UserListApi:
|
|
|
2673
2675
|
_content_type: Optional[StrictStr] = None,
|
|
2674
2676
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
2675
2677
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
2676
|
-
) -> ApiResponse[
|
|
2677
|
-
"""
|
|
2678
|
+
) -> ApiResponse[ListRecommendedUsersResponse]:
|
|
2679
|
+
"""get_list_edit_recommended_users
|
|
2678
2680
|
|
|
2679
|
-
get
|
|
2681
|
+
get recommended members while editing a list
|
|
2680
2682
|
|
|
2681
2683
|
:param path_query_id: (required)
|
|
2682
2684
|
:type path_query_id: str
|
|
@@ -2706,7 +2708,7 @@ class UserListApi:
|
|
|
2706
2708
|
:return: Returns the result object.
|
|
2707
2709
|
""" # noqa: E501
|
|
2708
2710
|
|
|
2709
|
-
_param = self.
|
|
2711
|
+
_param = self._get_list_edit_recommended_users_serialize(
|
|
2710
2712
|
path_query_id=path_query_id,
|
|
2711
2713
|
variables=variables,
|
|
2712
2714
|
features=features,
|
|
@@ -2717,7 +2719,7 @@ class UserListApi:
|
|
|
2717
2719
|
)
|
|
2718
2720
|
|
|
2719
2721
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
2720
|
-
'200': "
|
|
2722
|
+
'200': "ListRecommendedUsersResponse",
|
|
2721
2723
|
}
|
|
2722
2724
|
response_data = self.api_client.call_api(
|
|
2723
2725
|
*_param,
|
|
@@ -2731,7 +2733,7 @@ class UserListApi:
|
|
|
2731
2733
|
|
|
2732
2734
|
|
|
2733
2735
|
@validate_call
|
|
2734
|
-
def
|
|
2736
|
+
def get_list_edit_recommended_users_without_preload_content(
|
|
2735
2737
|
self,
|
|
2736
2738
|
path_query_id: StrictStr,
|
|
2737
2739
|
variables: StrictStr,
|
|
@@ -2749,9 +2751,9 @@ class UserListApi:
|
|
|
2749
2751
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
2750
2752
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
2751
2753
|
) -> RESTResponseType:
|
|
2752
|
-
"""
|
|
2754
|
+
"""get_list_edit_recommended_users
|
|
2753
2755
|
|
|
2754
|
-
get
|
|
2756
|
+
get recommended members while editing a list
|
|
2755
2757
|
|
|
2756
2758
|
:param path_query_id: (required)
|
|
2757
2759
|
:type path_query_id: str
|
|
@@ -2781,7 +2783,7 @@ class UserListApi:
|
|
|
2781
2783
|
:return: Returns the result object.
|
|
2782
2784
|
""" # noqa: E501
|
|
2783
2785
|
|
|
2784
|
-
_param = self.
|
|
2786
|
+
_param = self._get_list_edit_recommended_users_serialize(
|
|
2785
2787
|
path_query_id=path_query_id,
|
|
2786
2788
|
variables=variables,
|
|
2787
2789
|
features=features,
|
|
@@ -2792,7 +2794,7 @@ class UserListApi:
|
|
|
2792
2794
|
)
|
|
2793
2795
|
|
|
2794
2796
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
2795
|
-
'200': "
|
|
2797
|
+
'200': "ListRecommendedUsersResponse",
|
|
2796
2798
|
}
|
|
2797
2799
|
response_data = self.api_client.call_api(
|
|
2798
2800
|
*_param,
|
|
@@ -2801,7 +2803,7 @@ class UserListApi:
|
|
|
2801
2803
|
return response_data.response
|
|
2802
2804
|
|
|
2803
2805
|
|
|
2804
|
-
def
|
|
2806
|
+
def _get_list_edit_recommended_users_serialize(
|
|
2805
2807
|
self,
|
|
2806
2808
|
path_query_id,
|
|
2807
2809
|
variables,
|
|
@@ -2881,7 +2883,7 @@ class UserListApi:
|
|
|
2881
2883
|
|
|
2882
2884
|
return self.api_client.param_serialize(
|
|
2883
2885
|
method='GET',
|
|
2884
|
-
resource_path='/graphql/{pathQueryId}/
|
|
2886
|
+
resource_path='/graphql/{pathQueryId}/ListEditRecommendedUsers',
|
|
2885
2887
|
path_params=_path_params,
|
|
2886
2888
|
query_params=_query_params,
|
|
2887
2889
|
header_params=_header_params,
|
|
@@ -2898,7 +2900,7 @@ class UserListApi:
|
|
|
2898
2900
|
|
|
2899
2901
|
|
|
2900
2902
|
@validate_call
|
|
2901
|
-
def
|
|
2903
|
+
def get_list_members(
|
|
2902
2904
|
self,
|
|
2903
2905
|
path_query_id: StrictStr,
|
|
2904
2906
|
variables: StrictStr,
|
|
@@ -2915,10 +2917,10 @@ class UserListApi:
|
|
|
2915
2917
|
_content_type: Optional[StrictStr] = None,
|
|
2916
2918
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
2917
2919
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
2918
|
-
) ->
|
|
2919
|
-
"""
|
|
2920
|
+
) -> ListMembersResponse:
|
|
2921
|
+
"""get_list_members
|
|
2920
2922
|
|
|
2921
|
-
get
|
|
2923
|
+
get list members
|
|
2922
2924
|
|
|
2923
2925
|
:param path_query_id: (required)
|
|
2924
2926
|
:type path_query_id: str
|
|
@@ -2948,7 +2950,7 @@ class UserListApi:
|
|
|
2948
2950
|
:return: Returns the result object.
|
|
2949
2951
|
""" # noqa: E501
|
|
2950
2952
|
|
|
2951
|
-
_param = self.
|
|
2953
|
+
_param = self._get_list_members_serialize(
|
|
2952
2954
|
path_query_id=path_query_id,
|
|
2953
2955
|
variables=variables,
|
|
2954
2956
|
features=features,
|
|
@@ -2959,7 +2961,7 @@ class UserListApi:
|
|
|
2959
2961
|
)
|
|
2960
2962
|
|
|
2961
2963
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
2962
|
-
'200': "
|
|
2964
|
+
'200': "ListMembersResponse",
|
|
2963
2965
|
}
|
|
2964
2966
|
response_data = self.api_client.call_api(
|
|
2965
2967
|
*_param,
|
|
@@ -2973,7 +2975,7 @@ class UserListApi:
|
|
|
2973
2975
|
|
|
2974
2976
|
|
|
2975
2977
|
@validate_call
|
|
2976
|
-
def
|
|
2978
|
+
def get_list_members_with_http_info(
|
|
2977
2979
|
self,
|
|
2978
2980
|
path_query_id: StrictStr,
|
|
2979
2981
|
variables: StrictStr,
|
|
@@ -2990,10 +2992,10 @@ class UserListApi:
|
|
|
2990
2992
|
_content_type: Optional[StrictStr] = None,
|
|
2991
2993
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
2992
2994
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
2993
|
-
) -> ApiResponse[
|
|
2994
|
-
"""
|
|
2995
|
+
) -> ApiResponse[ListMembersResponse]:
|
|
2996
|
+
"""get_list_members
|
|
2995
2997
|
|
|
2996
|
-
get
|
|
2998
|
+
get list members
|
|
2997
2999
|
|
|
2998
3000
|
:param path_query_id: (required)
|
|
2999
3001
|
:type path_query_id: str
|
|
@@ -3023,7 +3025,7 @@ class UserListApi:
|
|
|
3023
3025
|
:return: Returns the result object.
|
|
3024
3026
|
""" # noqa: E501
|
|
3025
3027
|
|
|
3026
|
-
_param = self.
|
|
3028
|
+
_param = self._get_list_members_serialize(
|
|
3027
3029
|
path_query_id=path_query_id,
|
|
3028
3030
|
variables=variables,
|
|
3029
3031
|
features=features,
|
|
@@ -3034,7 +3036,7 @@ class UserListApi:
|
|
|
3034
3036
|
)
|
|
3035
3037
|
|
|
3036
3038
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
3037
|
-
'200': "
|
|
3039
|
+
'200': "ListMembersResponse",
|
|
3038
3040
|
}
|
|
3039
3041
|
response_data = self.api_client.call_api(
|
|
3040
3042
|
*_param,
|
|
@@ -3048,7 +3050,7 @@ class UserListApi:
|
|
|
3048
3050
|
|
|
3049
3051
|
|
|
3050
3052
|
@validate_call
|
|
3051
|
-
def
|
|
3053
|
+
def get_list_members_without_preload_content(
|
|
3052
3054
|
self,
|
|
3053
3055
|
path_query_id: StrictStr,
|
|
3054
3056
|
variables: StrictStr,
|
|
@@ -3066,9 +3068,9 @@ class UserListApi:
|
|
|
3066
3068
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
3067
3069
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
3068
3070
|
) -> RESTResponseType:
|
|
3069
|
-
"""
|
|
3071
|
+
"""get_list_members
|
|
3070
3072
|
|
|
3071
|
-
get
|
|
3073
|
+
get list members
|
|
3072
3074
|
|
|
3073
3075
|
:param path_query_id: (required)
|
|
3074
3076
|
:type path_query_id: str
|
|
@@ -3098,7 +3100,7 @@ class UserListApi:
|
|
|
3098
3100
|
:return: Returns the result object.
|
|
3099
3101
|
""" # noqa: E501
|
|
3100
3102
|
|
|
3101
|
-
_param = self.
|
|
3103
|
+
_param = self._get_list_members_serialize(
|
|
3102
3104
|
path_query_id=path_query_id,
|
|
3103
3105
|
variables=variables,
|
|
3104
3106
|
features=features,
|
|
@@ -3109,7 +3111,7 @@ class UserListApi:
|
|
|
3109
3111
|
)
|
|
3110
3112
|
|
|
3111
3113
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
3112
|
-
'200': "
|
|
3114
|
+
'200': "ListMembersResponse",
|
|
3113
3115
|
}
|
|
3114
3116
|
response_data = self.api_client.call_api(
|
|
3115
3117
|
*_param,
|
|
@@ -3118,7 +3120,7 @@ class UserListApi:
|
|
|
3118
3120
|
return response_data.response
|
|
3119
3121
|
|
|
3120
3122
|
|
|
3121
|
-
def
|
|
3123
|
+
def _get_list_members_serialize(
|
|
3122
3124
|
self,
|
|
3123
3125
|
path_query_id,
|
|
3124
3126
|
variables,
|
|
@@ -3198,7 +3200,7 @@ class UserListApi:
|
|
|
3198
3200
|
|
|
3199
3201
|
return self.api_client.param_serialize(
|
|
3200
3202
|
method='GET',
|
|
3201
|
-
resource_path='/graphql/{pathQueryId}/
|
|
3203
|
+
resource_path='/graphql/{pathQueryId}/ListMembers',
|
|
3202
3204
|
path_params=_path_params,
|
|
3203
3205
|
query_params=_query_params,
|
|
3204
3206
|
header_params=_header_params,
|
|
@@ -3215,7 +3217,7 @@ class UserListApi:
|
|
|
3215
3217
|
|
|
3216
3218
|
|
|
3217
3219
|
@validate_call
|
|
3218
|
-
def
|
|
3220
|
+
def get_list_ownerships(
|
|
3219
3221
|
self,
|
|
3220
3222
|
path_query_id: StrictStr,
|
|
3221
3223
|
variables: StrictStr,
|
|
@@ -3232,10 +3234,10 @@ class UserListApi:
|
|
|
3232
3234
|
_content_type: Optional[StrictStr] = None,
|
|
3233
3235
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
3234
3236
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
3235
|
-
) ->
|
|
3236
|
-
"""
|
|
3237
|
+
) -> UserTweetsResponse:
|
|
3238
|
+
"""get_list_ownerships
|
|
3237
3239
|
|
|
3238
|
-
get
|
|
3240
|
+
get the lists a user owns (add/remove from Lists dialog)
|
|
3239
3241
|
|
|
3240
3242
|
:param path_query_id: (required)
|
|
3241
3243
|
:type path_query_id: str
|
|
@@ -3265,7 +3267,7 @@ class UserListApi:
|
|
|
3265
3267
|
:return: Returns the result object.
|
|
3266
3268
|
""" # noqa: E501
|
|
3267
3269
|
|
|
3268
|
-
_param = self.
|
|
3270
|
+
_param = self._get_list_ownerships_serialize(
|
|
3269
3271
|
path_query_id=path_query_id,
|
|
3270
3272
|
variables=variables,
|
|
3271
3273
|
features=features,
|
|
@@ -3276,7 +3278,7 @@ class UserListApi:
|
|
|
3276
3278
|
)
|
|
3277
3279
|
|
|
3278
3280
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
3279
|
-
'200': "
|
|
3281
|
+
'200': "UserTweetsResponse",
|
|
3280
3282
|
}
|
|
3281
3283
|
response_data = self.api_client.call_api(
|
|
3282
3284
|
*_param,
|
|
@@ -3290,7 +3292,7 @@ class UserListApi:
|
|
|
3290
3292
|
|
|
3291
3293
|
|
|
3292
3294
|
@validate_call
|
|
3293
|
-
def
|
|
3295
|
+
def get_list_ownerships_with_http_info(
|
|
3294
3296
|
self,
|
|
3295
3297
|
path_query_id: StrictStr,
|
|
3296
3298
|
variables: StrictStr,
|
|
@@ -3307,10 +3309,10 @@ class UserListApi:
|
|
|
3307
3309
|
_content_type: Optional[StrictStr] = None,
|
|
3308
3310
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
3309
3311
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
3310
|
-
) -> ApiResponse[
|
|
3311
|
-
"""
|
|
3312
|
+
) -> ApiResponse[UserTweetsResponse]:
|
|
3313
|
+
"""get_list_ownerships
|
|
3312
3314
|
|
|
3313
|
-
get
|
|
3315
|
+
get the lists a user owns (add/remove from Lists dialog)
|
|
3314
3316
|
|
|
3315
3317
|
:param path_query_id: (required)
|
|
3316
3318
|
:type path_query_id: str
|
|
@@ -3340,7 +3342,7 @@ class UserListApi:
|
|
|
3340
3342
|
:return: Returns the result object.
|
|
3341
3343
|
""" # noqa: E501
|
|
3342
3344
|
|
|
3343
|
-
_param = self.
|
|
3345
|
+
_param = self._get_list_ownerships_serialize(
|
|
3344
3346
|
path_query_id=path_query_id,
|
|
3345
3347
|
variables=variables,
|
|
3346
3348
|
features=features,
|
|
@@ -3351,7 +3353,7 @@ class UserListApi:
|
|
|
3351
3353
|
)
|
|
3352
3354
|
|
|
3353
3355
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
3354
|
-
'200': "
|
|
3356
|
+
'200': "UserTweetsResponse",
|
|
3355
3357
|
}
|
|
3356
3358
|
response_data = self.api_client.call_api(
|
|
3357
3359
|
*_param,
|
|
@@ -3365,7 +3367,7 @@ class UserListApi:
|
|
|
3365
3367
|
|
|
3366
3368
|
|
|
3367
3369
|
@validate_call
|
|
3368
|
-
def
|
|
3370
|
+
def get_list_ownerships_without_preload_content(
|
|
3369
3371
|
self,
|
|
3370
3372
|
path_query_id: StrictStr,
|
|
3371
3373
|
variables: StrictStr,
|
|
@@ -3383,9 +3385,9 @@ class UserListApi:
|
|
|
3383
3385
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
3384
3386
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
3385
3387
|
) -> RESTResponseType:
|
|
3386
|
-
"""
|
|
3388
|
+
"""get_list_ownerships
|
|
3387
3389
|
|
|
3388
|
-
get
|
|
3390
|
+
get the lists a user owns (add/remove from Lists dialog)
|
|
3389
3391
|
|
|
3390
3392
|
:param path_query_id: (required)
|
|
3391
3393
|
:type path_query_id: str
|
|
@@ -3415,7 +3417,7 @@ class UserListApi:
|
|
|
3415
3417
|
:return: Returns the result object.
|
|
3416
3418
|
""" # noqa: E501
|
|
3417
3419
|
|
|
3418
|
-
_param = self.
|
|
3420
|
+
_param = self._get_list_ownerships_serialize(
|
|
3419
3421
|
path_query_id=path_query_id,
|
|
3420
3422
|
variables=variables,
|
|
3421
3423
|
features=features,
|
|
@@ -3426,7 +3428,7 @@ class UserListApi:
|
|
|
3426
3428
|
)
|
|
3427
3429
|
|
|
3428
3430
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
3429
|
-
'200': "
|
|
3431
|
+
'200': "UserTweetsResponse",
|
|
3430
3432
|
}
|
|
3431
3433
|
response_data = self.api_client.call_api(
|
|
3432
3434
|
*_param,
|
|
@@ -3435,7 +3437,7 @@ class UserListApi:
|
|
|
3435
3437
|
return response_data.response
|
|
3436
3438
|
|
|
3437
3439
|
|
|
3438
|
-
def
|
|
3440
|
+
def _get_list_ownerships_serialize(
|
|
3439
3441
|
self,
|
|
3440
3442
|
path_query_id,
|
|
3441
3443
|
variables,
|
|
@@ -3515,7 +3517,958 @@ class UserListApi:
|
|
|
3515
3517
|
|
|
3516
3518
|
return self.api_client.param_serialize(
|
|
3517
3519
|
method='GET',
|
|
3518
|
-
resource_path='/graphql/{pathQueryId}/
|
|
3520
|
+
resource_path='/graphql/{pathQueryId}/ListOwnerships',
|
|
3521
|
+
path_params=_path_params,
|
|
3522
|
+
query_params=_query_params,
|
|
3523
|
+
header_params=_header_params,
|
|
3524
|
+
body=_body_params,
|
|
3525
|
+
post_params=_form_params,
|
|
3526
|
+
files=_files,
|
|
3527
|
+
auth_settings=_auth_settings,
|
|
3528
|
+
collection_formats=_collection_formats,
|
|
3529
|
+
_host=_host,
|
|
3530
|
+
_request_auth=_request_auth
|
|
3531
|
+
)
|
|
3532
|
+
|
|
3533
|
+
|
|
3534
|
+
|
|
3535
|
+
|
|
3536
|
+
@validate_call
|
|
3537
|
+
def get_list_search_timeline(
|
|
3538
|
+
self,
|
|
3539
|
+
path_query_id: StrictStr,
|
|
3540
|
+
features: StrictStr,
|
|
3541
|
+
variables: StrictStr,
|
|
3542
|
+
_request_timeout: Union[
|
|
3543
|
+
None,
|
|
3544
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
3545
|
+
Tuple[
|
|
3546
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
3547
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
3548
|
+
]
|
|
3549
|
+
] = None,
|
|
3550
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
3551
|
+
_content_type: Optional[StrictStr] = None,
|
|
3552
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
3553
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
3554
|
+
) -> ListSearchTimelineResponse:
|
|
3555
|
+
"""get_list_search_timeline
|
|
3556
|
+
|
|
3557
|
+
search lists
|
|
3558
|
+
|
|
3559
|
+
:param path_query_id: (required)
|
|
3560
|
+
:type path_query_id: str
|
|
3561
|
+
:param features: (required)
|
|
3562
|
+
:type features: str
|
|
3563
|
+
:param variables: (required)
|
|
3564
|
+
:type variables: str
|
|
3565
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
3566
|
+
number provided, it will be total request
|
|
3567
|
+
timeout. It can also be a pair (tuple) of
|
|
3568
|
+
(connection, read) timeouts.
|
|
3569
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
3570
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
3571
|
+
request; this effectively ignores the
|
|
3572
|
+
authentication in the spec for a single request.
|
|
3573
|
+
:type _request_auth: dict, optional
|
|
3574
|
+
:param _content_type: force content-type for the request.
|
|
3575
|
+
:type _content_type: str, Optional
|
|
3576
|
+
:param _headers: set to override the headers for a single
|
|
3577
|
+
request; this effectively ignores the headers
|
|
3578
|
+
in the spec for a single request.
|
|
3579
|
+
:type _headers: dict, optional
|
|
3580
|
+
:param _host_index: set to override the host_index for a single
|
|
3581
|
+
request; this effectively ignores the host_index
|
|
3582
|
+
in the spec for a single request.
|
|
3583
|
+
:type _host_index: int, optional
|
|
3584
|
+
:return: Returns the result object.
|
|
3585
|
+
""" # noqa: E501
|
|
3586
|
+
|
|
3587
|
+
_param = self._get_list_search_timeline_serialize(
|
|
3588
|
+
path_query_id=path_query_id,
|
|
3589
|
+
features=features,
|
|
3590
|
+
variables=variables,
|
|
3591
|
+
_request_auth=_request_auth,
|
|
3592
|
+
_content_type=_content_type,
|
|
3593
|
+
_headers=_headers,
|
|
3594
|
+
_host_index=_host_index
|
|
3595
|
+
)
|
|
3596
|
+
|
|
3597
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
3598
|
+
'200': "ListSearchTimelineResponse",
|
|
3599
|
+
}
|
|
3600
|
+
response_data = self.api_client.call_api(
|
|
3601
|
+
*_param,
|
|
3602
|
+
_request_timeout=_request_timeout
|
|
3603
|
+
)
|
|
3604
|
+
response_data.read()
|
|
3605
|
+
return self.api_client.response_deserialize(
|
|
3606
|
+
response_data=response_data,
|
|
3607
|
+
response_types_map=_response_types_map,
|
|
3608
|
+
).data
|
|
3609
|
+
|
|
3610
|
+
|
|
3611
|
+
@validate_call
|
|
3612
|
+
def get_list_search_timeline_with_http_info(
|
|
3613
|
+
self,
|
|
3614
|
+
path_query_id: StrictStr,
|
|
3615
|
+
features: StrictStr,
|
|
3616
|
+
variables: StrictStr,
|
|
3617
|
+
_request_timeout: Union[
|
|
3618
|
+
None,
|
|
3619
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
3620
|
+
Tuple[
|
|
3621
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
3622
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
3623
|
+
]
|
|
3624
|
+
] = None,
|
|
3625
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
3626
|
+
_content_type: Optional[StrictStr] = None,
|
|
3627
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
3628
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
3629
|
+
) -> ApiResponse[ListSearchTimelineResponse]:
|
|
3630
|
+
"""get_list_search_timeline
|
|
3631
|
+
|
|
3632
|
+
search lists
|
|
3633
|
+
|
|
3634
|
+
:param path_query_id: (required)
|
|
3635
|
+
:type path_query_id: str
|
|
3636
|
+
:param features: (required)
|
|
3637
|
+
:type features: str
|
|
3638
|
+
:param variables: (required)
|
|
3639
|
+
:type variables: str
|
|
3640
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
3641
|
+
number provided, it will be total request
|
|
3642
|
+
timeout. It can also be a pair (tuple) of
|
|
3643
|
+
(connection, read) timeouts.
|
|
3644
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
3645
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
3646
|
+
request; this effectively ignores the
|
|
3647
|
+
authentication in the spec for a single request.
|
|
3648
|
+
:type _request_auth: dict, optional
|
|
3649
|
+
:param _content_type: force content-type for the request.
|
|
3650
|
+
:type _content_type: str, Optional
|
|
3651
|
+
:param _headers: set to override the headers for a single
|
|
3652
|
+
request; this effectively ignores the headers
|
|
3653
|
+
in the spec for a single request.
|
|
3654
|
+
:type _headers: dict, optional
|
|
3655
|
+
:param _host_index: set to override the host_index for a single
|
|
3656
|
+
request; this effectively ignores the host_index
|
|
3657
|
+
in the spec for a single request.
|
|
3658
|
+
:type _host_index: int, optional
|
|
3659
|
+
:return: Returns the result object.
|
|
3660
|
+
""" # noqa: E501
|
|
3661
|
+
|
|
3662
|
+
_param = self._get_list_search_timeline_serialize(
|
|
3663
|
+
path_query_id=path_query_id,
|
|
3664
|
+
features=features,
|
|
3665
|
+
variables=variables,
|
|
3666
|
+
_request_auth=_request_auth,
|
|
3667
|
+
_content_type=_content_type,
|
|
3668
|
+
_headers=_headers,
|
|
3669
|
+
_host_index=_host_index
|
|
3670
|
+
)
|
|
3671
|
+
|
|
3672
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
3673
|
+
'200': "ListSearchTimelineResponse",
|
|
3674
|
+
}
|
|
3675
|
+
response_data = self.api_client.call_api(
|
|
3676
|
+
*_param,
|
|
3677
|
+
_request_timeout=_request_timeout
|
|
3678
|
+
)
|
|
3679
|
+
response_data.read()
|
|
3680
|
+
return self.api_client.response_deserialize(
|
|
3681
|
+
response_data=response_data,
|
|
3682
|
+
response_types_map=_response_types_map,
|
|
3683
|
+
)
|
|
3684
|
+
|
|
3685
|
+
|
|
3686
|
+
@validate_call
|
|
3687
|
+
def get_list_search_timeline_without_preload_content(
|
|
3688
|
+
self,
|
|
3689
|
+
path_query_id: StrictStr,
|
|
3690
|
+
features: StrictStr,
|
|
3691
|
+
variables: StrictStr,
|
|
3692
|
+
_request_timeout: Union[
|
|
3693
|
+
None,
|
|
3694
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
3695
|
+
Tuple[
|
|
3696
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
3697
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
3698
|
+
]
|
|
3699
|
+
] = None,
|
|
3700
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
3701
|
+
_content_type: Optional[StrictStr] = None,
|
|
3702
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
3703
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
3704
|
+
) -> RESTResponseType:
|
|
3705
|
+
"""get_list_search_timeline
|
|
3706
|
+
|
|
3707
|
+
search lists
|
|
3708
|
+
|
|
3709
|
+
:param path_query_id: (required)
|
|
3710
|
+
:type path_query_id: str
|
|
3711
|
+
:param features: (required)
|
|
3712
|
+
:type features: str
|
|
3713
|
+
:param variables: (required)
|
|
3714
|
+
:type variables: str
|
|
3715
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
3716
|
+
number provided, it will be total request
|
|
3717
|
+
timeout. It can also be a pair (tuple) of
|
|
3718
|
+
(connection, read) timeouts.
|
|
3719
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
3720
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
3721
|
+
request; this effectively ignores the
|
|
3722
|
+
authentication in the spec for a single request.
|
|
3723
|
+
:type _request_auth: dict, optional
|
|
3724
|
+
:param _content_type: force content-type for the request.
|
|
3725
|
+
:type _content_type: str, Optional
|
|
3726
|
+
:param _headers: set to override the headers for a single
|
|
3727
|
+
request; this effectively ignores the headers
|
|
3728
|
+
in the spec for a single request.
|
|
3729
|
+
:type _headers: dict, optional
|
|
3730
|
+
:param _host_index: set to override the host_index for a single
|
|
3731
|
+
request; this effectively ignores the host_index
|
|
3732
|
+
in the spec for a single request.
|
|
3733
|
+
:type _host_index: int, optional
|
|
3734
|
+
:return: Returns the result object.
|
|
3735
|
+
""" # noqa: E501
|
|
3736
|
+
|
|
3737
|
+
_param = self._get_list_search_timeline_serialize(
|
|
3738
|
+
path_query_id=path_query_id,
|
|
3739
|
+
features=features,
|
|
3740
|
+
variables=variables,
|
|
3741
|
+
_request_auth=_request_auth,
|
|
3742
|
+
_content_type=_content_type,
|
|
3743
|
+
_headers=_headers,
|
|
3744
|
+
_host_index=_host_index
|
|
3745
|
+
)
|
|
3746
|
+
|
|
3747
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
3748
|
+
'200': "ListSearchTimelineResponse",
|
|
3749
|
+
}
|
|
3750
|
+
response_data = self.api_client.call_api(
|
|
3751
|
+
*_param,
|
|
3752
|
+
_request_timeout=_request_timeout
|
|
3753
|
+
)
|
|
3754
|
+
return response_data.response
|
|
3755
|
+
|
|
3756
|
+
|
|
3757
|
+
def _get_list_search_timeline_serialize(
|
|
3758
|
+
self,
|
|
3759
|
+
path_query_id,
|
|
3760
|
+
features,
|
|
3761
|
+
variables,
|
|
3762
|
+
_request_auth,
|
|
3763
|
+
_content_type,
|
|
3764
|
+
_headers,
|
|
3765
|
+
_host_index,
|
|
3766
|
+
) -> RequestSerialized:
|
|
3767
|
+
|
|
3768
|
+
_host = None
|
|
3769
|
+
|
|
3770
|
+
_collection_formats: Dict[str, str] = {
|
|
3771
|
+
}
|
|
3772
|
+
|
|
3773
|
+
_path_params: Dict[str, str] = {}
|
|
3774
|
+
_query_params: List[Tuple[str, str]] = []
|
|
3775
|
+
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
3776
|
+
_form_params: List[Tuple[str, str]] = []
|
|
3777
|
+
_files: Dict[
|
|
3778
|
+
str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
|
|
3779
|
+
] = {}
|
|
3780
|
+
_body_params: Optional[bytes] = None
|
|
3781
|
+
|
|
3782
|
+
# process the path parameters
|
|
3783
|
+
if path_query_id is not None:
|
|
3784
|
+
_path_params['pathQueryId'] = path_query_id
|
|
3785
|
+
# process the query parameters
|
|
3786
|
+
if features is not None:
|
|
3787
|
+
|
|
3788
|
+
_query_params.append(('features', features))
|
|
3789
|
+
|
|
3790
|
+
if variables is not None:
|
|
3791
|
+
|
|
3792
|
+
_query_params.append(('variables', variables))
|
|
3793
|
+
|
|
3794
|
+
# process the header parameters
|
|
3795
|
+
# process the form parameters
|
|
3796
|
+
# process the body parameter
|
|
3797
|
+
|
|
3798
|
+
|
|
3799
|
+
# set the HTTP header `Accept`
|
|
3800
|
+
if 'Accept' not in _header_params:
|
|
3801
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
|
3802
|
+
[
|
|
3803
|
+
'application/json'
|
|
3804
|
+
]
|
|
3805
|
+
)
|
|
3806
|
+
|
|
3807
|
+
|
|
3808
|
+
# authentication setting
|
|
3809
|
+
_auth_settings: List[str] = [
|
|
3810
|
+
'Accept',
|
|
3811
|
+
'ClientLanguage',
|
|
3812
|
+
'Priority',
|
|
3813
|
+
'Referer',
|
|
3814
|
+
'SecFetchDest',
|
|
3815
|
+
'SecChUaPlatform',
|
|
3816
|
+
'SecFetchMode',
|
|
3817
|
+
'CsrfToken',
|
|
3818
|
+
'ClientUuid',
|
|
3819
|
+
'BearerAuth',
|
|
3820
|
+
'GuestToken',
|
|
3821
|
+
'SecChUa',
|
|
3822
|
+
'CookieGt0',
|
|
3823
|
+
'ClientTransactionId',
|
|
3824
|
+
'ActiveUser',
|
|
3825
|
+
'CookieCt0',
|
|
3826
|
+
'UserAgent',
|
|
3827
|
+
'AcceptLanguage',
|
|
3828
|
+
'SecFetchSite',
|
|
3829
|
+
'AuthType',
|
|
3830
|
+
'CookieAuthToken',
|
|
3831
|
+
'SecChUaMobile',
|
|
3832
|
+
'AcceptEncoding'
|
|
3833
|
+
]
|
|
3834
|
+
|
|
3835
|
+
return self.api_client.param_serialize(
|
|
3836
|
+
method='GET',
|
|
3837
|
+
resource_path='/graphql/{pathQueryId}/ListSearchTimeline',
|
|
3838
|
+
path_params=_path_params,
|
|
3839
|
+
query_params=_query_params,
|
|
3840
|
+
header_params=_header_params,
|
|
3841
|
+
body=_body_params,
|
|
3842
|
+
post_params=_form_params,
|
|
3843
|
+
files=_files,
|
|
3844
|
+
auth_settings=_auth_settings,
|
|
3845
|
+
collection_formats=_collection_formats,
|
|
3846
|
+
_host=_host,
|
|
3847
|
+
_request_auth=_request_auth
|
|
3848
|
+
)
|
|
3849
|
+
|
|
3850
|
+
|
|
3851
|
+
|
|
3852
|
+
|
|
3853
|
+
@validate_call
|
|
3854
|
+
def get_list_subscribers(
|
|
3855
|
+
self,
|
|
3856
|
+
path_query_id: StrictStr,
|
|
3857
|
+
variables: StrictStr,
|
|
3858
|
+
features: StrictStr,
|
|
3859
|
+
_request_timeout: Union[
|
|
3860
|
+
None,
|
|
3861
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
3862
|
+
Tuple[
|
|
3863
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
3864
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
3865
|
+
]
|
|
3866
|
+
] = None,
|
|
3867
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
3868
|
+
_content_type: Optional[StrictStr] = None,
|
|
3869
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
3870
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
3871
|
+
) -> ListSubscribersResponse:
|
|
3872
|
+
"""get_list_subscribers
|
|
3873
|
+
|
|
3874
|
+
get list subscribers (followers)
|
|
3875
|
+
|
|
3876
|
+
:param path_query_id: (required)
|
|
3877
|
+
:type path_query_id: str
|
|
3878
|
+
:param variables: (required)
|
|
3879
|
+
:type variables: str
|
|
3880
|
+
:param features: (required)
|
|
3881
|
+
:type features: str
|
|
3882
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
3883
|
+
number provided, it will be total request
|
|
3884
|
+
timeout. It can also be a pair (tuple) of
|
|
3885
|
+
(connection, read) timeouts.
|
|
3886
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
3887
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
3888
|
+
request; this effectively ignores the
|
|
3889
|
+
authentication in the spec for a single request.
|
|
3890
|
+
:type _request_auth: dict, optional
|
|
3891
|
+
:param _content_type: force content-type for the request.
|
|
3892
|
+
:type _content_type: str, Optional
|
|
3893
|
+
:param _headers: set to override the headers for a single
|
|
3894
|
+
request; this effectively ignores the headers
|
|
3895
|
+
in the spec for a single request.
|
|
3896
|
+
:type _headers: dict, optional
|
|
3897
|
+
:param _host_index: set to override the host_index for a single
|
|
3898
|
+
request; this effectively ignores the host_index
|
|
3899
|
+
in the spec for a single request.
|
|
3900
|
+
:type _host_index: int, optional
|
|
3901
|
+
:return: Returns the result object.
|
|
3902
|
+
""" # noqa: E501
|
|
3903
|
+
|
|
3904
|
+
_param = self._get_list_subscribers_serialize(
|
|
3905
|
+
path_query_id=path_query_id,
|
|
3906
|
+
variables=variables,
|
|
3907
|
+
features=features,
|
|
3908
|
+
_request_auth=_request_auth,
|
|
3909
|
+
_content_type=_content_type,
|
|
3910
|
+
_headers=_headers,
|
|
3911
|
+
_host_index=_host_index
|
|
3912
|
+
)
|
|
3913
|
+
|
|
3914
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
3915
|
+
'200': "ListSubscribersResponse",
|
|
3916
|
+
}
|
|
3917
|
+
response_data = self.api_client.call_api(
|
|
3918
|
+
*_param,
|
|
3919
|
+
_request_timeout=_request_timeout
|
|
3920
|
+
)
|
|
3921
|
+
response_data.read()
|
|
3922
|
+
return self.api_client.response_deserialize(
|
|
3923
|
+
response_data=response_data,
|
|
3924
|
+
response_types_map=_response_types_map,
|
|
3925
|
+
).data
|
|
3926
|
+
|
|
3927
|
+
|
|
3928
|
+
@validate_call
|
|
3929
|
+
def get_list_subscribers_with_http_info(
|
|
3930
|
+
self,
|
|
3931
|
+
path_query_id: StrictStr,
|
|
3932
|
+
variables: StrictStr,
|
|
3933
|
+
features: StrictStr,
|
|
3934
|
+
_request_timeout: Union[
|
|
3935
|
+
None,
|
|
3936
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
3937
|
+
Tuple[
|
|
3938
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
3939
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
3940
|
+
]
|
|
3941
|
+
] = None,
|
|
3942
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
3943
|
+
_content_type: Optional[StrictStr] = None,
|
|
3944
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
3945
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
3946
|
+
) -> ApiResponse[ListSubscribersResponse]:
|
|
3947
|
+
"""get_list_subscribers
|
|
3948
|
+
|
|
3949
|
+
get list subscribers (followers)
|
|
3950
|
+
|
|
3951
|
+
:param path_query_id: (required)
|
|
3952
|
+
:type path_query_id: str
|
|
3953
|
+
:param variables: (required)
|
|
3954
|
+
:type variables: str
|
|
3955
|
+
:param features: (required)
|
|
3956
|
+
:type features: str
|
|
3957
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
3958
|
+
number provided, it will be total request
|
|
3959
|
+
timeout. It can also be a pair (tuple) of
|
|
3960
|
+
(connection, read) timeouts.
|
|
3961
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
3962
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
3963
|
+
request; this effectively ignores the
|
|
3964
|
+
authentication in the spec for a single request.
|
|
3965
|
+
:type _request_auth: dict, optional
|
|
3966
|
+
:param _content_type: force content-type for the request.
|
|
3967
|
+
:type _content_type: str, Optional
|
|
3968
|
+
:param _headers: set to override the headers for a single
|
|
3969
|
+
request; this effectively ignores the headers
|
|
3970
|
+
in the spec for a single request.
|
|
3971
|
+
:type _headers: dict, optional
|
|
3972
|
+
:param _host_index: set to override the host_index for a single
|
|
3973
|
+
request; this effectively ignores the host_index
|
|
3974
|
+
in the spec for a single request.
|
|
3975
|
+
:type _host_index: int, optional
|
|
3976
|
+
:return: Returns the result object.
|
|
3977
|
+
""" # noqa: E501
|
|
3978
|
+
|
|
3979
|
+
_param = self._get_list_subscribers_serialize(
|
|
3980
|
+
path_query_id=path_query_id,
|
|
3981
|
+
variables=variables,
|
|
3982
|
+
features=features,
|
|
3983
|
+
_request_auth=_request_auth,
|
|
3984
|
+
_content_type=_content_type,
|
|
3985
|
+
_headers=_headers,
|
|
3986
|
+
_host_index=_host_index
|
|
3987
|
+
)
|
|
3988
|
+
|
|
3989
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
3990
|
+
'200': "ListSubscribersResponse",
|
|
3991
|
+
}
|
|
3992
|
+
response_data = self.api_client.call_api(
|
|
3993
|
+
*_param,
|
|
3994
|
+
_request_timeout=_request_timeout
|
|
3995
|
+
)
|
|
3996
|
+
response_data.read()
|
|
3997
|
+
return self.api_client.response_deserialize(
|
|
3998
|
+
response_data=response_data,
|
|
3999
|
+
response_types_map=_response_types_map,
|
|
4000
|
+
)
|
|
4001
|
+
|
|
4002
|
+
|
|
4003
|
+
@validate_call
|
|
4004
|
+
def get_list_subscribers_without_preload_content(
|
|
4005
|
+
self,
|
|
4006
|
+
path_query_id: StrictStr,
|
|
4007
|
+
variables: StrictStr,
|
|
4008
|
+
features: StrictStr,
|
|
4009
|
+
_request_timeout: Union[
|
|
4010
|
+
None,
|
|
4011
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
4012
|
+
Tuple[
|
|
4013
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
4014
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
4015
|
+
]
|
|
4016
|
+
] = None,
|
|
4017
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
4018
|
+
_content_type: Optional[StrictStr] = None,
|
|
4019
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
4020
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
4021
|
+
) -> RESTResponseType:
|
|
4022
|
+
"""get_list_subscribers
|
|
4023
|
+
|
|
4024
|
+
get list subscribers (followers)
|
|
4025
|
+
|
|
4026
|
+
:param path_query_id: (required)
|
|
4027
|
+
:type path_query_id: str
|
|
4028
|
+
:param variables: (required)
|
|
4029
|
+
:type variables: str
|
|
4030
|
+
:param features: (required)
|
|
4031
|
+
:type features: str
|
|
4032
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
4033
|
+
number provided, it will be total request
|
|
4034
|
+
timeout. It can also be a pair (tuple) of
|
|
4035
|
+
(connection, read) timeouts.
|
|
4036
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
4037
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
4038
|
+
request; this effectively ignores the
|
|
4039
|
+
authentication in the spec for a single request.
|
|
4040
|
+
:type _request_auth: dict, optional
|
|
4041
|
+
:param _content_type: force content-type for the request.
|
|
4042
|
+
:type _content_type: str, Optional
|
|
4043
|
+
:param _headers: set to override the headers for a single
|
|
4044
|
+
request; this effectively ignores the headers
|
|
4045
|
+
in the spec for a single request.
|
|
4046
|
+
:type _headers: dict, optional
|
|
4047
|
+
:param _host_index: set to override the host_index for a single
|
|
4048
|
+
request; this effectively ignores the host_index
|
|
4049
|
+
in the spec for a single request.
|
|
4050
|
+
:type _host_index: int, optional
|
|
4051
|
+
:return: Returns the result object.
|
|
4052
|
+
""" # noqa: E501
|
|
4053
|
+
|
|
4054
|
+
_param = self._get_list_subscribers_serialize(
|
|
4055
|
+
path_query_id=path_query_id,
|
|
4056
|
+
variables=variables,
|
|
4057
|
+
features=features,
|
|
4058
|
+
_request_auth=_request_auth,
|
|
4059
|
+
_content_type=_content_type,
|
|
4060
|
+
_headers=_headers,
|
|
4061
|
+
_host_index=_host_index
|
|
4062
|
+
)
|
|
4063
|
+
|
|
4064
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
4065
|
+
'200': "ListSubscribersResponse",
|
|
4066
|
+
}
|
|
4067
|
+
response_data = self.api_client.call_api(
|
|
4068
|
+
*_param,
|
|
4069
|
+
_request_timeout=_request_timeout
|
|
4070
|
+
)
|
|
4071
|
+
return response_data.response
|
|
4072
|
+
|
|
4073
|
+
|
|
4074
|
+
def _get_list_subscribers_serialize(
|
|
4075
|
+
self,
|
|
4076
|
+
path_query_id,
|
|
4077
|
+
variables,
|
|
4078
|
+
features,
|
|
4079
|
+
_request_auth,
|
|
4080
|
+
_content_type,
|
|
4081
|
+
_headers,
|
|
4082
|
+
_host_index,
|
|
4083
|
+
) -> RequestSerialized:
|
|
4084
|
+
|
|
4085
|
+
_host = None
|
|
4086
|
+
|
|
4087
|
+
_collection_formats: Dict[str, str] = {
|
|
4088
|
+
}
|
|
4089
|
+
|
|
4090
|
+
_path_params: Dict[str, str] = {}
|
|
4091
|
+
_query_params: List[Tuple[str, str]] = []
|
|
4092
|
+
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
4093
|
+
_form_params: List[Tuple[str, str]] = []
|
|
4094
|
+
_files: Dict[
|
|
4095
|
+
str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
|
|
4096
|
+
] = {}
|
|
4097
|
+
_body_params: Optional[bytes] = None
|
|
4098
|
+
|
|
4099
|
+
# process the path parameters
|
|
4100
|
+
if path_query_id is not None:
|
|
4101
|
+
_path_params['pathQueryId'] = path_query_id
|
|
4102
|
+
# process the query parameters
|
|
4103
|
+
if variables is not None:
|
|
4104
|
+
|
|
4105
|
+
_query_params.append(('variables', variables))
|
|
4106
|
+
|
|
4107
|
+
if features is not None:
|
|
4108
|
+
|
|
4109
|
+
_query_params.append(('features', features))
|
|
4110
|
+
|
|
4111
|
+
# process the header parameters
|
|
4112
|
+
# process the form parameters
|
|
4113
|
+
# process the body parameter
|
|
4114
|
+
|
|
4115
|
+
|
|
4116
|
+
# set the HTTP header `Accept`
|
|
4117
|
+
if 'Accept' not in _header_params:
|
|
4118
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
|
4119
|
+
[
|
|
4120
|
+
'application/json'
|
|
4121
|
+
]
|
|
4122
|
+
)
|
|
4123
|
+
|
|
4124
|
+
|
|
4125
|
+
# authentication setting
|
|
4126
|
+
_auth_settings: List[str] = [
|
|
4127
|
+
'Accept',
|
|
4128
|
+
'ClientLanguage',
|
|
4129
|
+
'Priority',
|
|
4130
|
+
'Referer',
|
|
4131
|
+
'SecFetchDest',
|
|
4132
|
+
'SecChUaPlatform',
|
|
4133
|
+
'SecFetchMode',
|
|
4134
|
+
'CsrfToken',
|
|
4135
|
+
'ClientUuid',
|
|
4136
|
+
'BearerAuth',
|
|
4137
|
+
'GuestToken',
|
|
4138
|
+
'SecChUa',
|
|
4139
|
+
'CookieGt0',
|
|
4140
|
+
'ClientTransactionId',
|
|
4141
|
+
'ActiveUser',
|
|
4142
|
+
'CookieCt0',
|
|
4143
|
+
'UserAgent',
|
|
4144
|
+
'AcceptLanguage',
|
|
4145
|
+
'SecFetchSite',
|
|
4146
|
+
'AuthType',
|
|
4147
|
+
'CookieAuthToken',
|
|
4148
|
+
'SecChUaMobile',
|
|
4149
|
+
'AcceptEncoding'
|
|
4150
|
+
]
|
|
4151
|
+
|
|
4152
|
+
return self.api_client.param_serialize(
|
|
4153
|
+
method='GET',
|
|
4154
|
+
resource_path='/graphql/{pathQueryId}/ListSubscribers',
|
|
4155
|
+
path_params=_path_params,
|
|
4156
|
+
query_params=_query_params,
|
|
4157
|
+
header_params=_header_params,
|
|
4158
|
+
body=_body_params,
|
|
4159
|
+
post_params=_form_params,
|
|
4160
|
+
files=_files,
|
|
4161
|
+
auth_settings=_auth_settings,
|
|
4162
|
+
collection_formats=_collection_formats,
|
|
4163
|
+
_host=_host,
|
|
4164
|
+
_request_auth=_request_auth
|
|
4165
|
+
)
|
|
4166
|
+
|
|
4167
|
+
|
|
4168
|
+
|
|
4169
|
+
|
|
4170
|
+
@validate_call
|
|
4171
|
+
def get_lists_management_page_timeline(
|
|
4172
|
+
self,
|
|
4173
|
+
path_query_id: StrictStr,
|
|
4174
|
+
features: StrictStr,
|
|
4175
|
+
variables: StrictStr,
|
|
4176
|
+
_request_timeout: Union[
|
|
4177
|
+
None,
|
|
4178
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
4179
|
+
Tuple[
|
|
4180
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
4181
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
4182
|
+
]
|
|
4183
|
+
] = None,
|
|
4184
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
4185
|
+
_content_type: Optional[StrictStr] = None,
|
|
4186
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
4187
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
4188
|
+
) -> ListsManagementPageTimelineResponse:
|
|
4189
|
+
"""get_lists_management_page_timeline
|
|
4190
|
+
|
|
4191
|
+
the account's lists management page
|
|
4192
|
+
|
|
4193
|
+
:param path_query_id: (required)
|
|
4194
|
+
:type path_query_id: str
|
|
4195
|
+
:param features: (required)
|
|
4196
|
+
:type features: str
|
|
4197
|
+
:param variables: (required)
|
|
4198
|
+
:type variables: str
|
|
4199
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
4200
|
+
number provided, it will be total request
|
|
4201
|
+
timeout. It can also be a pair (tuple) of
|
|
4202
|
+
(connection, read) timeouts.
|
|
4203
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
4204
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
4205
|
+
request; this effectively ignores the
|
|
4206
|
+
authentication in the spec for a single request.
|
|
4207
|
+
:type _request_auth: dict, optional
|
|
4208
|
+
:param _content_type: force content-type for the request.
|
|
4209
|
+
:type _content_type: str, Optional
|
|
4210
|
+
:param _headers: set to override the headers for a single
|
|
4211
|
+
request; this effectively ignores the headers
|
|
4212
|
+
in the spec for a single request.
|
|
4213
|
+
:type _headers: dict, optional
|
|
4214
|
+
:param _host_index: set to override the host_index for a single
|
|
4215
|
+
request; this effectively ignores the host_index
|
|
4216
|
+
in the spec for a single request.
|
|
4217
|
+
:type _host_index: int, optional
|
|
4218
|
+
:return: Returns the result object.
|
|
4219
|
+
""" # noqa: E501
|
|
4220
|
+
|
|
4221
|
+
_param = self._get_lists_management_page_timeline_serialize(
|
|
4222
|
+
path_query_id=path_query_id,
|
|
4223
|
+
features=features,
|
|
4224
|
+
variables=variables,
|
|
4225
|
+
_request_auth=_request_auth,
|
|
4226
|
+
_content_type=_content_type,
|
|
4227
|
+
_headers=_headers,
|
|
4228
|
+
_host_index=_host_index
|
|
4229
|
+
)
|
|
4230
|
+
|
|
4231
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
4232
|
+
'200': "ListsManagementPageTimelineResponse",
|
|
4233
|
+
}
|
|
4234
|
+
response_data = self.api_client.call_api(
|
|
4235
|
+
*_param,
|
|
4236
|
+
_request_timeout=_request_timeout
|
|
4237
|
+
)
|
|
4238
|
+
response_data.read()
|
|
4239
|
+
return self.api_client.response_deserialize(
|
|
4240
|
+
response_data=response_data,
|
|
4241
|
+
response_types_map=_response_types_map,
|
|
4242
|
+
).data
|
|
4243
|
+
|
|
4244
|
+
|
|
4245
|
+
@validate_call
|
|
4246
|
+
def get_lists_management_page_timeline_with_http_info(
|
|
4247
|
+
self,
|
|
4248
|
+
path_query_id: StrictStr,
|
|
4249
|
+
features: StrictStr,
|
|
4250
|
+
variables: StrictStr,
|
|
4251
|
+
_request_timeout: Union[
|
|
4252
|
+
None,
|
|
4253
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
4254
|
+
Tuple[
|
|
4255
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
4256
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
4257
|
+
]
|
|
4258
|
+
] = None,
|
|
4259
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
4260
|
+
_content_type: Optional[StrictStr] = None,
|
|
4261
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
4262
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
4263
|
+
) -> ApiResponse[ListsManagementPageTimelineResponse]:
|
|
4264
|
+
"""get_lists_management_page_timeline
|
|
4265
|
+
|
|
4266
|
+
the account's lists management page
|
|
4267
|
+
|
|
4268
|
+
:param path_query_id: (required)
|
|
4269
|
+
:type path_query_id: str
|
|
4270
|
+
:param features: (required)
|
|
4271
|
+
:type features: str
|
|
4272
|
+
:param variables: (required)
|
|
4273
|
+
:type variables: str
|
|
4274
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
4275
|
+
number provided, it will be total request
|
|
4276
|
+
timeout. It can also be a pair (tuple) of
|
|
4277
|
+
(connection, read) timeouts.
|
|
4278
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
4279
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
4280
|
+
request; this effectively ignores the
|
|
4281
|
+
authentication in the spec for a single request.
|
|
4282
|
+
:type _request_auth: dict, optional
|
|
4283
|
+
:param _content_type: force content-type for the request.
|
|
4284
|
+
:type _content_type: str, Optional
|
|
4285
|
+
:param _headers: set to override the headers for a single
|
|
4286
|
+
request; this effectively ignores the headers
|
|
4287
|
+
in the spec for a single request.
|
|
4288
|
+
:type _headers: dict, optional
|
|
4289
|
+
:param _host_index: set to override the host_index for a single
|
|
4290
|
+
request; this effectively ignores the host_index
|
|
4291
|
+
in the spec for a single request.
|
|
4292
|
+
:type _host_index: int, optional
|
|
4293
|
+
:return: Returns the result object.
|
|
4294
|
+
""" # noqa: E501
|
|
4295
|
+
|
|
4296
|
+
_param = self._get_lists_management_page_timeline_serialize(
|
|
4297
|
+
path_query_id=path_query_id,
|
|
4298
|
+
features=features,
|
|
4299
|
+
variables=variables,
|
|
4300
|
+
_request_auth=_request_auth,
|
|
4301
|
+
_content_type=_content_type,
|
|
4302
|
+
_headers=_headers,
|
|
4303
|
+
_host_index=_host_index
|
|
4304
|
+
)
|
|
4305
|
+
|
|
4306
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
4307
|
+
'200': "ListsManagementPageTimelineResponse",
|
|
4308
|
+
}
|
|
4309
|
+
response_data = self.api_client.call_api(
|
|
4310
|
+
*_param,
|
|
4311
|
+
_request_timeout=_request_timeout
|
|
4312
|
+
)
|
|
4313
|
+
response_data.read()
|
|
4314
|
+
return self.api_client.response_deserialize(
|
|
4315
|
+
response_data=response_data,
|
|
4316
|
+
response_types_map=_response_types_map,
|
|
4317
|
+
)
|
|
4318
|
+
|
|
4319
|
+
|
|
4320
|
+
@validate_call
|
|
4321
|
+
def get_lists_management_page_timeline_without_preload_content(
|
|
4322
|
+
self,
|
|
4323
|
+
path_query_id: StrictStr,
|
|
4324
|
+
features: StrictStr,
|
|
4325
|
+
variables: StrictStr,
|
|
4326
|
+
_request_timeout: Union[
|
|
4327
|
+
None,
|
|
4328
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
4329
|
+
Tuple[
|
|
4330
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
4331
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
4332
|
+
]
|
|
4333
|
+
] = None,
|
|
4334
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
4335
|
+
_content_type: Optional[StrictStr] = None,
|
|
4336
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
4337
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
4338
|
+
) -> RESTResponseType:
|
|
4339
|
+
"""get_lists_management_page_timeline
|
|
4340
|
+
|
|
4341
|
+
the account's lists management page
|
|
4342
|
+
|
|
4343
|
+
:param path_query_id: (required)
|
|
4344
|
+
:type path_query_id: str
|
|
4345
|
+
:param features: (required)
|
|
4346
|
+
:type features: str
|
|
4347
|
+
:param variables: (required)
|
|
4348
|
+
:type variables: str
|
|
4349
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
4350
|
+
number provided, it will be total request
|
|
4351
|
+
timeout. It can also be a pair (tuple) of
|
|
4352
|
+
(connection, read) timeouts.
|
|
4353
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
4354
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
4355
|
+
request; this effectively ignores the
|
|
4356
|
+
authentication in the spec for a single request.
|
|
4357
|
+
:type _request_auth: dict, optional
|
|
4358
|
+
:param _content_type: force content-type for the request.
|
|
4359
|
+
:type _content_type: str, Optional
|
|
4360
|
+
:param _headers: set to override the headers for a single
|
|
4361
|
+
request; this effectively ignores the headers
|
|
4362
|
+
in the spec for a single request.
|
|
4363
|
+
:type _headers: dict, optional
|
|
4364
|
+
:param _host_index: set to override the host_index for a single
|
|
4365
|
+
request; this effectively ignores the host_index
|
|
4366
|
+
in the spec for a single request.
|
|
4367
|
+
:type _host_index: int, optional
|
|
4368
|
+
:return: Returns the result object.
|
|
4369
|
+
""" # noqa: E501
|
|
4370
|
+
|
|
4371
|
+
_param = self._get_lists_management_page_timeline_serialize(
|
|
4372
|
+
path_query_id=path_query_id,
|
|
4373
|
+
features=features,
|
|
4374
|
+
variables=variables,
|
|
4375
|
+
_request_auth=_request_auth,
|
|
4376
|
+
_content_type=_content_type,
|
|
4377
|
+
_headers=_headers,
|
|
4378
|
+
_host_index=_host_index
|
|
4379
|
+
)
|
|
4380
|
+
|
|
4381
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
4382
|
+
'200': "ListsManagementPageTimelineResponse",
|
|
4383
|
+
}
|
|
4384
|
+
response_data = self.api_client.call_api(
|
|
4385
|
+
*_param,
|
|
4386
|
+
_request_timeout=_request_timeout
|
|
4387
|
+
)
|
|
4388
|
+
return response_data.response
|
|
4389
|
+
|
|
4390
|
+
|
|
4391
|
+
def _get_lists_management_page_timeline_serialize(
|
|
4392
|
+
self,
|
|
4393
|
+
path_query_id,
|
|
4394
|
+
features,
|
|
4395
|
+
variables,
|
|
4396
|
+
_request_auth,
|
|
4397
|
+
_content_type,
|
|
4398
|
+
_headers,
|
|
4399
|
+
_host_index,
|
|
4400
|
+
) -> RequestSerialized:
|
|
4401
|
+
|
|
4402
|
+
_host = None
|
|
4403
|
+
|
|
4404
|
+
_collection_formats: Dict[str, str] = {
|
|
4405
|
+
}
|
|
4406
|
+
|
|
4407
|
+
_path_params: Dict[str, str] = {}
|
|
4408
|
+
_query_params: List[Tuple[str, str]] = []
|
|
4409
|
+
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
4410
|
+
_form_params: List[Tuple[str, str]] = []
|
|
4411
|
+
_files: Dict[
|
|
4412
|
+
str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
|
|
4413
|
+
] = {}
|
|
4414
|
+
_body_params: Optional[bytes] = None
|
|
4415
|
+
|
|
4416
|
+
# process the path parameters
|
|
4417
|
+
if path_query_id is not None:
|
|
4418
|
+
_path_params['pathQueryId'] = path_query_id
|
|
4419
|
+
# process the query parameters
|
|
4420
|
+
if features is not None:
|
|
4421
|
+
|
|
4422
|
+
_query_params.append(('features', features))
|
|
4423
|
+
|
|
4424
|
+
if variables is not None:
|
|
4425
|
+
|
|
4426
|
+
_query_params.append(('variables', variables))
|
|
4427
|
+
|
|
4428
|
+
# process the header parameters
|
|
4429
|
+
# process the form parameters
|
|
4430
|
+
# process the body parameter
|
|
4431
|
+
|
|
4432
|
+
|
|
4433
|
+
# set the HTTP header `Accept`
|
|
4434
|
+
if 'Accept' not in _header_params:
|
|
4435
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
|
4436
|
+
[
|
|
4437
|
+
'application/json'
|
|
4438
|
+
]
|
|
4439
|
+
)
|
|
4440
|
+
|
|
4441
|
+
|
|
4442
|
+
# authentication setting
|
|
4443
|
+
_auth_settings: List[str] = [
|
|
4444
|
+
'Accept',
|
|
4445
|
+
'ClientLanguage',
|
|
4446
|
+
'Priority',
|
|
4447
|
+
'Referer',
|
|
4448
|
+
'SecFetchDest',
|
|
4449
|
+
'SecChUaPlatform',
|
|
4450
|
+
'SecFetchMode',
|
|
4451
|
+
'CsrfToken',
|
|
4452
|
+
'ClientUuid',
|
|
4453
|
+
'BearerAuth',
|
|
4454
|
+
'GuestToken',
|
|
4455
|
+
'SecChUa',
|
|
4456
|
+
'CookieGt0',
|
|
4457
|
+
'ClientTransactionId',
|
|
4458
|
+
'ActiveUser',
|
|
4459
|
+
'CookieCt0',
|
|
4460
|
+
'UserAgent',
|
|
4461
|
+
'AcceptLanguage',
|
|
4462
|
+
'SecFetchSite',
|
|
4463
|
+
'AuthType',
|
|
4464
|
+
'CookieAuthToken',
|
|
4465
|
+
'SecChUaMobile',
|
|
4466
|
+
'AcceptEncoding'
|
|
4467
|
+
]
|
|
4468
|
+
|
|
4469
|
+
return self.api_client.param_serialize(
|
|
4470
|
+
method='GET',
|
|
4471
|
+
resource_path='/graphql/{pathQueryId}/ListsManagementPageTimeline',
|
|
3519
4472
|
path_params=_path_params,
|
|
3520
4473
|
query_params=_query_params,
|
|
3521
4474
|
header_params=_header_params,
|