x_api_scraper 0.1.0
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.
- checksums.yaml +7 -0
- data/lib/crystalline/enum.rbi +17 -0
- data/lib/crystalline/metadata_fields.rb +265 -0
- data/lib/crystalline/module.rb +188 -0
- data/lib/crystalline/types.rb +170 -0
- data/lib/crystalline/utils.rb +69 -0
- data/lib/crystalline.rb +13 -0
- data/lib/x_api_scraper.rb +41 -0
- data/lib/xapi_scraper/account.rb +194 -0
- data/lib/xapi_scraper/actions.rb +2166 -0
- data/lib/xapi_scraper/analysis.rb +230 -0
- data/lib/xapi_scraper/articles.rb +410 -0
- data/lib/xapi_scraper/client.rb +133 -0
- data/lib/xapi_scraper/communities.rb +1352 -0
- data/lib/xapi_scraper/dm.rb +990 -0
- data/lib/xapi_scraper/engagement.rb +792 -0
- data/lib/xapi_scraper/followers.rb +420 -0
- data/lib/xapi_scraper/following.rb +230 -0
- data/lib/xapi_scraper/lists.rb +1156 -0
- data/lib/xapi_scraper/models/callbacks.rb +12 -0
- data/lib/xapi_scraper/models/components/accountverifymodel.rb +82 -0
- data/lib/xapi_scraper/models/components/accountverifymodel.rbi +38 -0
- data/lib/xapi_scraper/models/components/accountverifyresponse.rb +47 -0
- data/lib/xapi_scraper/models/components/accountverifyresponse.rbi +26 -0
- data/lib/xapi_scraper/models/components/advancedsearchcursorquery.rb +51 -0
- data/lib/xapi_scraper/models/components/advancedsearchcursorquery.rbi +26 -0
- data/lib/xapi_scraper/models/components/advancedsearchcursorresponse.rb +76 -0
- data/lib/xapi_scraper/models/components/advancedsearchcursorresponse.rbi +38 -0
- data/lib/xapi_scraper/models/components/articleblock.rb +50 -0
- data/lib/xapi_scraper/models/components/articleblock.rbi +26 -0
- data/lib/xapi_scraper/models/components/articleblockrange.rb +47 -0
- data/lib/xapi_scraper/models/components/articleblockrange.rbi +26 -0
- data/lib/xapi_scraper/models/components/blockuserresponse.rb +54 -0
- data/lib/xapi_scraper/models/components/blockuserresponse.rbi +26 -0
- data/lib/xapi_scraper/models/components/bookmarkbody.rb +43 -0
- data/lib/xapi_scraper/models/components/bookmarkbody.rbi +20 -0
- data/lib/xapi_scraper/models/components/cashtagsquery.rb +192 -0
- data/lib/xapi_scraper/models/components/cashtagsquery.rbi +98 -0
- data/lib/xapi_scraper/models/components/cashtagsquery_language.rb +76 -0
- data/lib/xapi_scraper/models/components/cashtagsquery_language.rbi +9 -0
- data/lib/xapi_scraper/models/components/cashtagsquery_sortby.rb +18 -0
- data/lib/xapi_scraper/models/components/cashtagsquery_sortby.rbi +9 -0
- data/lib/xapi_scraper/models/components/communitymodel.rb +164 -0
- data/lib/xapi_scraper/models/components/communitymodel.rbi +92 -0
- data/lib/xapi_scraper/models/components/communitytweetsresponse.rb +47 -0
- data/lib/xapi_scraper/models/components/communitytweetsresponse.rbi +26 -0
- data/lib/xapi_scraper/models/components/context.rb +25 -0
- data/lib/xapi_scraper/models/components/context.rbi +9 -0
- data/lib/xapi_scraper/models/components/conversationv3model.rb +57 -0
- data/lib/xapi_scraper/models/components/conversationv3model.rbi +32 -0
- data/lib/xapi_scraper/models/components/createthreaddata.rb +35 -0
- data/lib/xapi_scraper/models/components/createthreaddata.rbi +14 -0
- data/lib/xapi_scraper/models/components/createthreadquery.rb +51 -0
- data/lib/xapi_scraper/models/components/createthreadquery.rbi +26 -0
- data/lib/xapi_scraper/models/components/createthreadresponse.rb +47 -0
- data/lib/xapi_scraper/models/components/createthreadresponse.rbi +26 -0
- data/lib/xapi_scraper/models/components/createthreadtweetitem.rb +31 -0
- data/lib/xapi_scraper/models/components/createthreadtweetitem.rbi +14 -0
- data/lib/xapi_scraper/models/components/deletebookmarkquery.rb +35 -0
- data/lib/xapi_scraper/models/components/deletebookmarkquery.rbi +14 -0
- data/lib/xapi_scraper/models/components/deleteretweetquery.rb +35 -0
- data/lib/xapi_scraper/models/components/deleteretweetquery.rbi +14 -0
- data/lib/xapi_scraper/models/components/deletetweetquery.rb +51 -0
- data/lib/xapi_scraper/models/components/deletetweetquery.rbi +26 -0
- data/lib/xapi_scraper/models/components/deletetweetresponse.rb +51 -0
- data/lib/xapi_scraper/models/components/deletetweetresponse.rbi +26 -0
- data/lib/xapi_scraper/models/components/dmhistoryv3data.rb +54 -0
- data/lib/xapi_scraper/models/components/dmhistoryv3data.rbi +26 -0
- data/lib/xapi_scraper/models/components/dmstatusmodelv2.rb +122 -0
- data/lib/xapi_scraper/models/components/dmstatusmodelv2.rbi +62 -0
- data/lib/xapi_scraper/models/components/dmstatusresponsev2.rb +47 -0
- data/lib/xapi_scraper/models/components/dmstatusresponsev2.rbi +26 -0
- data/lib/xapi_scraper/models/components/followersfollowingv3query.rb +51 -0
- data/lib/xapi_scraper/models/components/followersfollowingv3query.rbi +26 -0
- data/lib/xapi_scraper/models/components/followuserquery.rb +43 -0
- data/lib/xapi_scraper/models/components/followuserquery.rbi +20 -0
- data/lib/xapi_scraper/models/components/getalltweetsrepliescursorquery.rb +43 -0
- data/lib/xapi_scraper/models/components/getalltweetsrepliescursorquery.rbi +20 -0
- data/lib/xapi_scraper/models/components/getalltweetsrepliescursorresponse.rb +76 -0
- data/lib/xapi_scraper/models/components/getalltweetsrepliescursorresponse.rbi +38 -0
- data/lib/xapi_scraper/models/components/getcommunitymemberscursorquery.rb +43 -0
- data/lib/xapi_scraper/models/components/getcommunitymemberscursorquery.rbi +20 -0
- data/lib/xapi_scraper/models/components/getcommunitymemberscursorresponse.rb +72 -0
- data/lib/xapi_scraper/models/components/getcommunitymemberscursorresponse.rbi +38 -0
- data/lib/xapi_scraper/models/components/getcommunityresponse.rb +47 -0
- data/lib/xapi_scraper/models/components/getcommunityresponse.rbi +26 -0
- data/lib/xapi_scraper/models/components/getcommunitytweetscursorquery.rb +60 -0
- data/lib/xapi_scraper/models/components/getcommunitytweetscursorquery.rbi +26 -0
- data/lib/xapi_scraper/models/components/getcommunitytweetscursorresponse.rb +72 -0
- data/lib/xapi_scraper/models/components/getcommunitytweetscursorresponse.rbi +38 -0
- data/lib/xapi_scraper/models/components/getconversationsv3query.rb +62 -0
- data/lib/xapi_scraper/models/components/getconversationsv3query.rbi +32 -0
- data/lib/xapi_scraper/models/components/getconversationsv3response.rb +47 -0
- data/lib/xapi_scraper/models/components/getconversationsv3response.rbi +26 -0
- data/lib/xapi_scraper/models/components/getdmhistoryv3query.rb +94 -0
- data/lib/xapi_scraper/models/components/getdmhistoryv3query.rbi +50 -0
- data/lib/xapi_scraper/models/components/getdmhistoryv3response.rb +47 -0
- data/lib/xapi_scraper/models/components/getdmhistoryv3response.rbi +26 -0
- data/lib/xapi_scraper/models/components/getdmmediav3data.rb +77 -0
- data/lib/xapi_scraper/models/components/getdmmediav3data.rbi +44 -0
- data/lib/xapi_scraper/models/components/getdmmediav3query.rb +112 -0
- data/lib/xapi_scraper/models/components/getdmmediav3query.rbi +56 -0
- data/lib/xapi_scraper/models/components/getdmmediav3response.rb +47 -0
- data/lib/xapi_scraper/models/components/getdmmediav3response.rbi +26 -0
- data/lib/xapi_scraper/models/components/getlistmemberscursorquery.rb +43 -0
- data/lib/xapi_scraper/models/components/getlistmemberscursorquery.rbi +20 -0
- data/lib/xapi_scraper/models/components/getlistmemberscursorresponse.rb +72 -0
- data/lib/xapi_scraper/models/components/getlistmemberscursorresponse.rbi +38 -0
- data/lib/xapi_scraper/models/components/getlisttweetscursorquery.rb +43 -0
- data/lib/xapi_scraper/models/components/getlisttweetscursorquery.rbi +20 -0
- data/lib/xapi_scraper/models/components/getlisttweetscursorresponse.rb +72 -0
- data/lib/xapi_scraper/models/components/getlisttweetscursorresponse.rbi +38 -0
- data/lib/xapi_scraper/models/components/getquotescursorquery.rb +63 -0
- data/lib/xapi_scraper/models/components/getquotescursorquery.rbi +26 -0
- data/lib/xapi_scraper/models/components/getquotescursorquery_sort_by.rb +18 -0
- data/lib/xapi_scraper/models/components/getquotescursorquery_sort_by.rbi +9 -0
- data/lib/xapi_scraper/models/components/getquotescursorresponse.rb +72 -0
- data/lib/xapi_scraper/models/components/getquotescursorresponse.rbi +38 -0
- data/lib/xapi_scraper/models/components/getquotesquery.rb +59 -0
- data/lib/xapi_scraper/models/components/getquotesquery.rbi +26 -0
- data/lib/xapi_scraper/models/components/getquotesquery_sort_by.rb +18 -0
- data/lib/xapi_scraper/models/components/getquotesquery_sort_by.rbi +9 -0
- data/lib/xapi_scraper/models/components/getquotesresponse.rb +47 -0
- data/lib/xapi_scraper/models/components/getquotesresponse.rbi +26 -0
- data/lib/xapi_scraper/models/components/getrepliespagequery.rb +51 -0
- data/lib/xapi_scraper/models/components/getrepliespagequery.rbi +20 -0
- data/lib/xapi_scraper/models/components/getrepliespagequery_sort_by.rb +19 -0
- data/lib/xapi_scraper/models/components/getrepliespagequery_sort_by.rbi +9 -0
- data/lib/xapi_scraper/models/components/getrepliespageresponse.rb +85 -0
- data/lib/xapi_scraper/models/components/getrepliespageresponse.rbi +44 -0
- data/lib/xapi_scraper/models/components/getretweeterscursorquery.rb +43 -0
- data/lib/xapi_scraper/models/components/getretweeterscursorquery.rbi +20 -0
- data/lib/xapi_scraper/models/components/getretweeterscursorresponse.rb +72 -0
- data/lib/xapi_scraper/models/components/getretweeterscursorresponse.rbi +38 -0
- data/lib/xapi_scraper/models/components/gettweetsbyidresponse.rb +58 -0
- data/lib/xapi_scraper/models/components/gettweetsbyidresponse.rbi +26 -0
- data/lib/xapi_scraper/models/components/hashtagsquery.rb +192 -0
- data/lib/xapi_scraper/models/components/hashtagsquery.rbi +98 -0
- data/lib/xapi_scraper/models/components/hashtagsquery_language.rb +76 -0
- data/lib/xapi_scraper/models/components/hashtagsquery_language.rbi +9 -0
- data/lib/xapi_scraper/models/components/hashtagsquery_sortby.rb +18 -0
- data/lib/xapi_scraper/models/components/hashtagsquery_sortby.rbi +9 -0
- data/lib/xapi_scraper/models/components/likeactionbody.rb +43 -0
- data/lib/xapi_scraper/models/components/likeactionbody.rbi +20 -0
- data/lib/xapi_scraper/models/components/listmembersresponse.rb +47 -0
- data/lib/xapi_scraper/models/components/listmembersresponse.rbi +26 -0
- data/lib/xapi_scraper/models/components/listmodel.rb +77 -0
- data/lib/xapi_scraper/models/components/listmodel.rbi +44 -0
- data/lib/xapi_scraper/models/components/listsubscribersresponse.rb +47 -0
- data/lib/xapi_scraper/models/components/listsubscribersresponse.rbi +26 -0
- data/lib/xapi_scraper/models/components/listtweetsresponse.rb +47 -0
- data/lib/xapi_scraper/models/components/listtweetsresponse.rbi +26 -0
- data/lib/xapi_scraper/models/components/loc.rb +25 -0
- data/lib/xapi_scraper/models/components/loc.rbi +9 -0
- data/lib/xapi_scraper/models/components/mediamodel.rb +194 -0
- data/lib/xapi_scraper/models/components/mediamodel.rbi +110 -0
- data/lib/xapi_scraper/models/components/messagemodel.rb +100 -0
- data/lib/xapi_scraper/models/components/messagemodel.rbi +56 -0
- data/lib/xapi_scraper/models/components/posttweetdata.rb +51 -0
- data/lib/xapi_scraper/models/components/posttweetdata.rbi +26 -0
- data/lib/xapi_scraper/models/components/posttweetquery.rb +122 -0
- data/lib/xapi_scraper/models/components/posttweetquery.rbi +62 -0
- data/lib/xapi_scraper/models/components/posttweetresponse.rb +58 -0
- data/lib/xapi_scraper/models/components/posttweetresponse.rbi +26 -0
- data/lib/xapi_scraper/models/components/posttweetwithoutcookiequery.rb +102 -0
- data/lib/xapi_scraper/models/components/posttweetwithoutcookiequery.rbi +50 -0
- data/lib/xapi_scraper/models/components/quotetweetquery.rb +112 -0
- data/lib/xapi_scraper/models/components/quotetweetquery.rbi +56 -0
- data/lib/xapi_scraper/models/components/retweetactionbody.rb +43 -0
- data/lib/xapi_scraper/models/components/retweetactionbody.rbi +20 -0
- data/lib/xapi_scraper/models/components/searchcommunityquery.rb +43 -0
- data/lib/xapi_scraper/models/components/searchcommunityquery.rbi +20 -0
- data/lib/xapi_scraper/models/components/searchcommunityresponse.rb +47 -0
- data/lib/xapi_scraper/models/components/searchcommunityresponse.rbi +26 -0
- data/lib/xapi_scraper/models/components/searchcommunitytweetsquery.rb +51 -0
- data/lib/xapi_scraper/models/components/searchcommunitytweetsquery.rbi +26 -0
- data/lib/xapi_scraper/models/components/searchlistquery.rb +43 -0
- data/lib/xapi_scraper/models/components/searchlistquery.rbi +20 -0
- data/lib/xapi_scraper/models/components/searchlistresponse.rb +47 -0
- data/lib/xapi_scraper/models/components/searchlistresponse.rbi +26 -0
- data/lib/xapi_scraper/models/components/searchresponse.rb +54 -0
- data/lib/xapi_scraper/models/components/searchresponse.rbi +26 -0
- data/lib/xapi_scraper/models/components/searchuserresponse.rb +47 -0
- data/lib/xapi_scraper/models/components/searchuserresponse.rbi +26 -0
- data/lib/xapi_scraper/models/components/security.rb +34 -0
- data/lib/xapi_scraper/models/components/security.rbi +14 -0
- data/lib/xapi_scraper/models/components/senddmresponse.rb +47 -0
- data/lib/xapi_scraper/models/components/senddmresponse.rbi +26 -0
- data/lib/xapi_scraper/models/components/senddmv3query.rb +90 -0
- data/lib/xapi_scraper/models/components/senddmv3query.rbi +50 -0
- data/lib/xapi_scraper/models/components/sentimentanalysismodel.rb +43 -0
- data/lib/xapi_scraper/models/components/sentimentanalysismodel.rbi +20 -0
- data/lib/xapi_scraper/models/components/sentimentanalysisquery.rb +31 -0
- data/lib/xapi_scraper/models/components/sentimentanalysisquery.rbi +14 -0
- data/lib/xapi_scraper/models/components/sentimentanalysisresponse.rb +47 -0
- data/lib/xapi_scraper/models/components/sentimentanalysisresponse.rbi +26 -0
- data/lib/xapi_scraper/models/components/standardresponse.rb +47 -0
- data/lib/xapi_scraper/models/components/standardresponse.rbi +26 -0
- data/lib/xapi_scraper/models/components/streammodel.rb +51 -0
- data/lib/xapi_scraper/models/components/streammodel.rbi +26 -0
- data/lib/xapi_scraper/models/components/tweet_type.rb +19 -0
- data/lib/xapi_scraper/models/components/tweet_type.rbi +9 -0
- data/lib/xapi_scraper/models/components/tweetactionresponse.rb +51 -0
- data/lib/xapi_scraper/models/components/tweetactionresponse.rbi +26 -0
- data/lib/xapi_scraper/models/components/tweetmodel.rb +518 -0
- data/lib/xapi_scraper/models/components/tweetmodel.rbi +302 -0
- data/lib/xapi_scraper/models/components/tweetthreadbyidbody.rb +53 -0
- data/lib/xapi_scraper/models/components/tweetthreadbyidbody.rbi +26 -0
- data/lib/xapi_scraper/models/components/twitteraccountbasedstandardresponse.rb +58 -0
- data/lib/xapi_scraper/models/components/twitteraccountbasedstandardresponse.rbi +26 -0
- data/lib/xapi_scraper/models/components/twitteruseraboutresponse.rb +208 -0
- data/lib/xapi_scraper/models/components/twitteruseraboutresponse.rbi +116 -0
- data/lib/xapi_scraper/models/components/twitteruseraboutstandardresponse.rb +58 -0
- data/lib/xapi_scraper/models/components/twitteruseraboutstandardresponse.rbi +26 -0
- data/lib/xapi_scraper/models/components/unfavoritetweetquery.rb +35 -0
- data/lib/xapi_scraper/models/components/unfavoritetweetquery.rbi +14 -0
- data/lib/xapi_scraper/models/components/unfollowuserquery.rb +43 -0
- data/lib/xapi_scraper/models/components/unfollowuserquery.rbi +20 -0
- data/lib/xapi_scraper/models/components/unfollowuserresponse.rb +47 -0
- data/lib/xapi_scraper/models/components/unfollowuserresponse.rbi +26 -0
- data/lib/xapi_scraper/models/components/urlmodel.rb +47 -0
- data/lib/xapi_scraper/models/components/urlmodel.rbi +26 -0
- data/lib/xapi_scraper/models/components/userinfo.rb +348 -0
- data/lib/xapi_scraper/models/components/userinfo.rbi +200 -0
- data/lib/xapi_scraper/models/components/usermodel.rb +344 -0
- data/lib/xapi_scraper/models/components/usermodel.rbi +200 -0
- data/lib/xapi_scraper/models/components/usersdetailsresponse.rb +47 -0
- data/lib/xapi_scraper/models/components/usersdetailsresponse.rbi +26 -0
- data/lib/xapi_scraper/models/components/usertimelinefillquery.rb +35 -0
- data/lib/xapi_scraper/models/components/usertimelinefillquery.rbi +14 -0
- data/lib/xapi_scraper/models/components/usertimelinepagequery.rb +43 -0
- data/lib/xapi_scraper/models/components/usertimelinepagequery.rbi +20 -0
- data/lib/xapi_scraper/models/components/usertimelinepageresponse.rb +112 -0
- data/lib/xapi_scraper/models/components/usertimelinepageresponse.rbi +56 -0
- data/lib/xapi_scraper/models/components/usertimelineresponse.rb +76 -0
- data/lib/xapi_scraper/models/components/usertimelineresponse.rbi +38 -0
- data/lib/xapi_scraper/models/components/usertweetitem.rb +225 -0
- data/lib/xapi_scraper/models/components/usertweetitem.rbi +122 -0
- data/lib/xapi_scraper/models/components/validationerror.rb +67 -0
- data/lib/xapi_scraper/models/components/validationerror.rbi +38 -0
- data/lib/xapi_scraper/models/components/verifiedfollowersdata.rb +58 -0
- data/lib/xapi_scraper/models/components/verifiedfollowersdata.rbi +26 -0
- data/lib/xapi_scraper/models/components/verifiedfollowersresponse.rb +47 -0
- data/lib/xapi_scraper/models/components/verifiedfollowersresponse.rbi +26 -0
- data/lib/xapi_scraper/models/components/xarticlemodel.rb +305 -0
- data/lib/xapi_scraper/models/components/xarticlemodel.rbi +170 -0
- data/lib/xapi_scraper/models/components/xarticleresponse.rb +47 -0
- data/lib/xapi_scraper/models/components/xarticleresponse.rbi +26 -0
- data/lib/xapi_scraper/models/components.rb +128 -0
- data/lib/xapi_scraper/models/errors/apierror.rb +39 -0
- data/lib/xapi_scraper/models/errors/apierror.rbi +27 -0
- data/lib/xapi_scraper/models/errors/httpvalidationerror.rb +48 -0
- data/lib/xapi_scraper/models/errors/httpvalidationerror.rbi +20 -0
- data/lib/xapi_scraper/models/errors.rb +13 -0
- data/lib/xapi_scraper/models/operations/accountgetbalance_response.rb +51 -0
- data/lib/xapi_scraper/models/operations/accountgetbalance_response.rbi +32 -0
- data/lib/xapi_scraper/models/operations/analysissentiment_response.rb +51 -0
- data/lib/xapi_scraper/models/operations/analysissentiment_response.rbi +32 -0
- data/lib/xapi_scraper/models/operations/articlesfetch_response.rb +51 -0
- data/lib/xapi_scraper/models/operations/articlesfetch_response.rbi +32 -0
- data/lib/xapi_scraper/models/operations/articlesmarkdown_request.rb +31 -0
- data/lib/xapi_scraper/models/operations/articlesmarkdown_request.rbi +14 -0
- data/lib/xapi_scraper/models/operations/articlesmarkdown_response.rb +51 -0
- data/lib/xapi_scraper/models/operations/articlesmarkdown_response.rbi +32 -0
- data/lib/xapi_scraper/models/operations/communitiesget_request.rb +34 -0
- data/lib/xapi_scraper/models/operations/communitiesget_request.rbi +14 -0
- data/lib/xapi_scraper/models/operations/communitiesget_response.rb +51 -0
- data/lib/xapi_scraper/models/operations/communitiesget_response.rbi +32 -0
- data/lib/xapi_scraper/models/operations/communitiesmembers_request.rb +42 -0
- data/lib/xapi_scraper/models/operations/communitiesmembers_request.rbi +20 -0
- data/lib/xapi_scraper/models/operations/communitiesmembers_response.rb +51 -0
- data/lib/xapi_scraper/models/operations/communitiesmembers_response.rbi +32 -0
- data/lib/xapi_scraper/models/operations/communitiesmemberspage_response.rb +54 -0
- data/lib/xapi_scraper/models/operations/communitiesmemberspage_response.rbi +32 -0
- data/lib/xapi_scraper/models/operations/communitiessearch_response.rb +51 -0
- data/lib/xapi_scraper/models/operations/communitiessearch_response.rbi +32 -0
- data/lib/xapi_scraper/models/operations/communitiessearchtweets_response.rb +51 -0
- data/lib/xapi_scraper/models/operations/communitiessearchtweets_response.rbi +32 -0
- data/lib/xapi_scraper/models/operations/communitiestweets_request.rb +50 -0
- data/lib/xapi_scraper/models/operations/communitiestweets_request.rbi +26 -0
- data/lib/xapi_scraper/models/operations/communitiestweets_response.rb +51 -0
- data/lib/xapi_scraper/models/operations/communitiestweets_response.rbi +32 -0
- data/lib/xapi_scraper/models/operations/communitiestweetspage_response.rb +54 -0
- data/lib/xapi_scraper/models/operations/communitiestweetspage_response.rbi +32 -0
- data/lib/xapi_scraper/models/operations/country.rb +79 -0
- data/lib/xapi_scraper/models/operations/country.rbi +9 -0
- data/lib/xapi_scraper/models/operations/dmconversations_response.rb +51 -0
- data/lib/xapi_scraper/models/operations/dmconversations_response.rbi +32 -0
- data/lib/xapi_scraper/models/operations/dmhistory_response.rb +51 -0
- data/lib/xapi_scraper/models/operations/dmhistory_response.rbi +32 -0
- data/lib/xapi_scraper/models/operations/dmmedia_response.rb +51 -0
- data/lib/xapi_scraper/models/operations/dmmedia_response.rbi +32 -0
- data/lib/xapi_scraper/models/operations/dmsend_response.rb +51 -0
- data/lib/xapi_scraper/models/operations/dmsend_response.rbi +32 -0
- data/lib/xapi_scraper/models/operations/dmstatus_response.rb +51 -0
- data/lib/xapi_scraper/models/operations/dmstatus_response.rbi +32 -0
- data/lib/xapi_scraper/models/operations/listsmembers_request.rb +38 -0
- data/lib/xapi_scraper/models/operations/listsmembers_request.rbi +20 -0
- data/lib/xapi_scraper/models/operations/listsmembers_response.rb +51 -0
- data/lib/xapi_scraper/models/operations/listsmembers_response.rbi +32 -0
- data/lib/xapi_scraper/models/operations/listsmemberspage_response.rb +54 -0
- data/lib/xapi_scraper/models/operations/listsmemberspage_response.rbi +32 -0
- data/lib/xapi_scraper/models/operations/listssearch_response.rb +51 -0
- data/lib/xapi_scraper/models/operations/listssearch_response.rbi +32 -0
- data/lib/xapi_scraper/models/operations/listssubscribers_request.rb +38 -0
- data/lib/xapi_scraper/models/operations/listssubscribers_request.rbi +20 -0
- data/lib/xapi_scraper/models/operations/listssubscribers_response.rb +51 -0
- data/lib/xapi_scraper/models/operations/listssubscribers_response.rbi +32 -0
- data/lib/xapi_scraper/models/operations/liststweets_request.rb +38 -0
- data/lib/xapi_scraper/models/operations/liststweets_request.rbi +20 -0
- data/lib/xapi_scraper/models/operations/liststweets_response.rb +51 -0
- data/lib/xapi_scraper/models/operations/liststweets_response.rbi +32 -0
- data/lib/xapi_scraper/models/operations/liststweetspage_response.rb +54 -0
- data/lib/xapi_scraper/models/operations/liststweetspage_response.rbi +32 -0
- data/lib/xapi_scraper/models/operations/searchadvanced_response.rb +54 -0
- data/lib/xapi_scraper/models/operations/searchadvanced_response.rbi +32 -0
- data/lib/xapi_scraper/models/operations/searchcashtags_response.rb +51 -0
- data/lib/xapi_scraper/models/operations/searchcashtags_response.rbi +32 -0
- data/lib/xapi_scraper/models/operations/searchhashtags_response.rb +51 -0
- data/lib/xapi_scraper/models/operations/searchhashtags_response.rbi +32 -0
- data/lib/xapi_scraper/models/operations/timelinestweetsandreplies_request.rb +35 -0
- data/lib/xapi_scraper/models/operations/timelinestweetsandreplies_request.rbi +20 -0
- data/lib/xapi_scraper/models/operations/timelinestweetsandreplies_response.rb +51 -0
- data/lib/xapi_scraper/models/operations/timelinestweetsandreplies_response.rbi +32 -0
- data/lib/xapi_scraper/models/operations/timelinestweetsandrepliespage_response.rb +54 -0
- data/lib/xapi_scraper/models/operations/timelinestweetsandrepliespage_response.rbi +32 -0
- data/lib/xapi_scraper/models/operations/timelinesuser_request.rb +35 -0
- data/lib/xapi_scraper/models/operations/timelinesuser_request.rbi +20 -0
- data/lib/xapi_scraper/models/operations/timelinesuser_response.rb +51 -0
- data/lib/xapi_scraper/models/operations/timelinesuser_response.rbi +32 -0
- data/lib/xapi_scraper/models/operations/timelinesuserpage_request.rb +35 -0
- data/lib/xapi_scraper/models/operations/timelinesuserpage_request.rbi +20 -0
- data/lib/xapi_scraper/models/operations/timelinesuserpage_response.rb +51 -0
- data/lib/xapi_scraper/models/operations/timelinesuserpage_response.rbi +32 -0
- data/lib/xapi_scraper/models/operations/trendingbycountry_request.rb +35 -0
- data/lib/xapi_scraper/models/operations/trendingbycountry_request.rbi +14 -0
- data/lib/xapi_scraper/models/operations/trendingbycountry_response.rb +51 -0
- data/lib/xapi_scraper/models/operations/trendingbycountry_response.rbi +32 -0
- data/lib/xapi_scraper/models/operations/trendingcontents_request.rb +35 -0
- data/lib/xapi_scraper/models/operations/trendingcontents_request.rbi +20 -0
- data/lib/xapi_scraper/models/operations/trendingcontents_response.rb +51 -0
- data/lib/xapi_scraper/models/operations/trendingcontents_response.rbi +32 -0
- data/lib/xapi_scraper/models/operations/trendingcountries_response.rb +51 -0
- data/lib/xapi_scraper/models/operations/trendingcountries_response.rbi +32 -0
- data/lib/xapi_scraper/models/operations/trendingtopics_response.rb +51 -0
- data/lib/xapi_scraper/models/operations/trendingtopics_response.rbi +32 -0
- data/lib/xapi_scraper/models/operations/trendingtweets_request.rb +63 -0
- data/lib/xapi_scraper/models/operations/trendingtweets_request.rbi +32 -0
- data/lib/xapi_scraper/models/operations/trendingtweets_response.rb +51 -0
- data/lib/xapi_scraper/models/operations/trendingtweets_response.rbi +32 -0
- data/lib/xapi_scraper/models/operations/tweet_type.rb +19 -0
- data/lib/xapi_scraper/models/operations/tweet_type.rbi +9 -0
- data/lib/xapi_scraper/models/operations/tweetsactionsbookmark_request.rb +35 -0
- data/lib/xapi_scraper/models/operations/tweetsactionsbookmark_request.rbi +20 -0
- data/lib/xapi_scraper/models/operations/tweetsactionsbookmark_response.rb +51 -0
- data/lib/xapi_scraper/models/operations/tweetsactionsbookmark_response.rbi +32 -0
- data/lib/xapi_scraper/models/operations/tweetsactionscreate_response.rb +51 -0
- data/lib/xapi_scraper/models/operations/tweetsactionscreate_response.rbi +32 -0
- data/lib/xapi_scraper/models/operations/tweetsactionscreatethread_response.rb +51 -0
- data/lib/xapi_scraper/models/operations/tweetsactionscreatethread_response.rbi +32 -0
- data/lib/xapi_scraper/models/operations/tweetsactionscreatewithoutcookie_response.rb +51 -0
- data/lib/xapi_scraper/models/operations/tweetsactionscreatewithoutcookie_response.rbi +32 -0
- data/lib/xapi_scraper/models/operations/tweetsactionsdeletebatch_response.rb +51 -0
- data/lib/xapi_scraper/models/operations/tweetsactionsdeletebatch_response.rbi +32 -0
- data/lib/xapi_scraper/models/operations/tweetsactionslike_request.rb +35 -0
- data/lib/xapi_scraper/models/operations/tweetsactionslike_request.rbi +20 -0
- data/lib/xapi_scraper/models/operations/tweetsactionslike_response.rb +51 -0
- data/lib/xapi_scraper/models/operations/tweetsactionslike_response.rbi +32 -0
- data/lib/xapi_scraper/models/operations/tweetsactionsquote_response.rb +51 -0
- data/lib/xapi_scraper/models/operations/tweetsactionsquote_response.rbi +32 -0
- data/lib/xapi_scraper/models/operations/tweetsactionsretweet_request.rb +35 -0
- data/lib/xapi_scraper/models/operations/tweetsactionsretweet_request.rbi +20 -0
- data/lib/xapi_scraper/models/operations/tweetsactionsretweet_response.rb +51 -0
- data/lib/xapi_scraper/models/operations/tweetsactionsretweet_response.rbi +32 -0
- data/lib/xapi_scraper/models/operations/tweetsactionsunbookmark_request.rb +35 -0
- data/lib/xapi_scraper/models/operations/tweetsactionsunbookmark_request.rbi +20 -0
- data/lib/xapi_scraper/models/operations/tweetsactionsunbookmark_response.rb +51 -0
- data/lib/xapi_scraper/models/operations/tweetsactionsunbookmark_response.rbi +32 -0
- data/lib/xapi_scraper/models/operations/tweetsactionsunlike_request.rb +35 -0
- data/lib/xapi_scraper/models/operations/tweetsactionsunlike_request.rbi +20 -0
- data/lib/xapi_scraper/models/operations/tweetsactionsunlike_response.rb +51 -0
- data/lib/xapi_scraper/models/operations/tweetsactionsunlike_response.rbi +32 -0
- data/lib/xapi_scraper/models/operations/tweetsactionsunretweet_request.rb +35 -0
- data/lib/xapi_scraper/models/operations/tweetsactionsunretweet_request.rbi +20 -0
- data/lib/xapi_scraper/models/operations/tweetsactionsunretweet_response.rb +51 -0
- data/lib/xapi_scraper/models/operations/tweetsactionsunretweet_response.rbi +32 -0
- data/lib/xapi_scraper/models/operations/tweetsdetail_response.rb +51 -0
- data/lib/xapi_scraper/models/operations/tweetsdetail_response.rbi +32 -0
- data/lib/xapi_scraper/models/operations/tweetsengagementquotes_response.rb +51 -0
- data/lib/xapi_scraper/models/operations/tweetsengagementquotes_response.rbi +32 -0
- data/lib/xapi_scraper/models/operations/tweetsengagementquotespage_response.rb +51 -0
- data/lib/xapi_scraper/models/operations/tweetsengagementquotespage_response.rbi +32 -0
- data/lib/xapi_scraper/models/operations/tweetsengagementretweeters_request.rb +39 -0
- data/lib/xapi_scraper/models/operations/tweetsengagementretweeters_request.rbi +20 -0
- data/lib/xapi_scraper/models/operations/tweetsengagementretweeters_response.rb +51 -0
- data/lib/xapi_scraper/models/operations/tweetsengagementretweeters_response.rbi +32 -0
- data/lib/xapi_scraper/models/operations/tweetsengagementretweeterspage_response.rb +51 -0
- data/lib/xapi_scraper/models/operations/tweetsengagementretweeterspage_response.rbi +32 -0
- data/lib/xapi_scraper/models/operations/tweetslookup_response.rb +51 -0
- data/lib/xapi_scraper/models/operations/tweetslookup_response.rbi +32 -0
- data/lib/xapi_scraper/models/operations/tweetsrepliespage_request.rb +35 -0
- data/lib/xapi_scraper/models/operations/tweetsrepliespage_request.rbi +20 -0
- data/lib/xapi_scraper/models/operations/tweetsrepliespage_response.rb +51 -0
- data/lib/xapi_scraper/models/operations/tweetsrepliespage_response.rbi +32 -0
- data/lib/xapi_scraper/models/operations/tweetssimilar_request.rb +30 -0
- data/lib/xapi_scraper/models/operations/tweetssimilar_request.rbi +14 -0
- data/lib/xapi_scraper/models/operations/tweetssimilar_response.rb +51 -0
- data/lib/xapi_scraper/models/operations/tweetssimilar_response.rbi +32 -0
- data/lib/xapi_scraper/models/operations/tweetsthread_response.rb +51 -0
- data/lib/xapi_scraper/models/operations/tweetsthread_response.rbi +32 -0
- data/lib/xapi_scraper/models/operations/usersfollow_response.rb +51 -0
- data/lib/xapi_scraper/models/operations/usersfollow_response.rbi +32 -0
- data/lib/xapi_scraper/models/operations/usersfollowerslist_response.rb +51 -0
- data/lib/xapi_scraper/models/operations/usersfollowerslist_response.rbi +32 -0
- data/lib/xapi_scraper/models/operations/usersfollowersverified_response.rb +51 -0
- data/lib/xapi_scraper/models/operations/usersfollowersverified_response.rbi +32 -0
- data/lib/xapi_scraper/models/operations/usersfollowinglist_response.rb +51 -0
- data/lib/xapi_scraper/models/operations/usersfollowinglist_response.rbi +32 -0
- data/lib/xapi_scraper/models/operations/usersgetabout_request.rb +31 -0
- data/lib/xapi_scraper/models/operations/usersgetabout_request.rbi +14 -0
- data/lib/xapi_scraper/models/operations/usersgetabout_response.rb +54 -0
- data/lib/xapi_scraper/models/operations/usersgetabout_response.rbi +32 -0
- data/lib/xapi_scraper/models/operations/usersgetaccountbased_response.rb +54 -0
- data/lib/xapi_scraper/models/operations/usersgetaccountbased_response.rbi +32 -0
- data/lib/xapi_scraper/models/operations/usersgetbyids_response.rb +51 -0
- data/lib/xapi_scraper/models/operations/usersgetbyids_response.rbi +32 -0
- data/lib/xapi_scraper/models/operations/usersgetbyusernames_response.rb +51 -0
- data/lib/xapi_scraper/models/operations/usersgetbyusernames_response.rbi +32 -0
- data/lib/xapi_scraper/models/operations/usersgetstatuses_response.rb +51 -0
- data/lib/xapi_scraper/models/operations/usersgetstatuses_response.rbi +32 -0
- data/lib/xapi_scraper/models/operations/userssearch_request.rb +39 -0
- data/lib/xapi_scraper/models/operations/userssearch_request.rbi +20 -0
- data/lib/xapi_scraper/models/operations/userssearch_response.rb +51 -0
- data/lib/xapi_scraper/models/operations/userssearch_response.rbi +32 -0
- data/lib/xapi_scraper/models/operations/usersunfollow_response.rb +51 -0
- data/lib/xapi_scraper/models/operations/usersunfollow_response.rbi +32 -0
- data/lib/xapi_scraper/models/operations/usersverifyaccount_response.rb +51 -0
- data/lib/xapi_scraper/models/operations/usersverifyaccount_response.rbi +32 -0
- data/lib/xapi_scraper/models/operations.rb +127 -0
- data/lib/xapi_scraper/replies.rb +235 -0
- data/lib/xapi_scraper/sdk_hooks/hooks.rb +99 -0
- data/lib/xapi_scraper/sdk_hooks/registration.rb +34 -0
- data/lib/xapi_scraper/sdk_hooks/types.rb +180 -0
- data/lib/xapi_scraper/sdkconfiguration.rb +107 -0
- data/lib/xapi_scraper/sdkconfiguration.rbi +83 -0
- data/lib/xapi_scraper/search.rb +610 -0
- data/lib/xapi_scraper/timelines.rb +805 -0
- data/lib/xapi_scraper/trending.rb +888 -0
- data/lib/xapi_scraper/tweets.rb +801 -0
- data/lib/xapi_scraper/users.rb +1748 -0
- data/lib/xapi_scraper/utils/forms.rb +232 -0
- data/lib/xapi_scraper/utils/headers.rb +82 -0
- data/lib/xapi_scraper/utils/query_params.rb +167 -0
- data/lib/xapi_scraper/utils/request_bodies.rb +79 -0
- data/lib/xapi_scraper/utils/retries.rb +139 -0
- data/lib/xapi_scraper/utils/security.rb +158 -0
- data/lib/xapi_scraper/utils/url.rb +124 -0
- data/lib/xapi_scraper/utils/utils.rb +241 -0
- metadata +720 -0
|
@@ -0,0 +1,170 @@
|
|
|
1
|
+
# typed: true
|
|
2
|
+
# frozen_string_literal: true
|
|
3
|
+
|
|
4
|
+
class XapiScraper::Models::Components::XArticleModel
|
|
5
|
+
extend ::Crystalline::MetadataFields::ClassMethods
|
|
6
|
+
end
|
|
7
|
+
|
|
8
|
+
class XapiScraper::Models::Components::XArticleModel
|
|
9
|
+
def article_blocks
|
|
10
|
+
end
|
|
11
|
+
|
|
12
|
+
def article_blocks=(str_)
|
|
13
|
+
end
|
|
14
|
+
|
|
15
|
+
def article_media_image_urls
|
|
16
|
+
end
|
|
17
|
+
|
|
18
|
+
def article_media_image_urls=(str_)
|
|
19
|
+
end
|
|
20
|
+
|
|
21
|
+
def tweet_id
|
|
22
|
+
end
|
|
23
|
+
|
|
24
|
+
def tweet_id=(str_)
|
|
25
|
+
end
|
|
26
|
+
|
|
27
|
+
def full_text
|
|
28
|
+
end
|
|
29
|
+
|
|
30
|
+
def full_text=(str_)
|
|
31
|
+
end
|
|
32
|
+
|
|
33
|
+
def created_at
|
|
34
|
+
end
|
|
35
|
+
|
|
36
|
+
def created_at=(str_)
|
|
37
|
+
end
|
|
38
|
+
|
|
39
|
+
def lang
|
|
40
|
+
end
|
|
41
|
+
|
|
42
|
+
def lang=(str_)
|
|
43
|
+
end
|
|
44
|
+
|
|
45
|
+
def bookmark_count
|
|
46
|
+
end
|
|
47
|
+
|
|
48
|
+
def bookmark_count=(str_)
|
|
49
|
+
end
|
|
50
|
+
|
|
51
|
+
def favorite_count
|
|
52
|
+
end
|
|
53
|
+
|
|
54
|
+
def favorite_count=(str_)
|
|
55
|
+
end
|
|
56
|
+
|
|
57
|
+
def reply_count
|
|
58
|
+
end
|
|
59
|
+
|
|
60
|
+
def reply_count=(str_)
|
|
61
|
+
end
|
|
62
|
+
|
|
63
|
+
def retweet_count
|
|
64
|
+
end
|
|
65
|
+
|
|
66
|
+
def retweet_count=(str_)
|
|
67
|
+
end
|
|
68
|
+
|
|
69
|
+
def quote_count
|
|
70
|
+
end
|
|
71
|
+
|
|
72
|
+
def quote_count=(str_)
|
|
73
|
+
end
|
|
74
|
+
|
|
75
|
+
def view_count
|
|
76
|
+
end
|
|
77
|
+
|
|
78
|
+
def view_count=(str_)
|
|
79
|
+
end
|
|
80
|
+
|
|
81
|
+
def view_count_state
|
|
82
|
+
end
|
|
83
|
+
|
|
84
|
+
def view_count_state=(str_)
|
|
85
|
+
end
|
|
86
|
+
|
|
87
|
+
def conversation_id
|
|
88
|
+
end
|
|
89
|
+
|
|
90
|
+
def conversation_id=(str_)
|
|
91
|
+
end
|
|
92
|
+
|
|
93
|
+
def author_user_id
|
|
94
|
+
end
|
|
95
|
+
|
|
96
|
+
def author_user_id=(str_)
|
|
97
|
+
end
|
|
98
|
+
|
|
99
|
+
def author_screen_name
|
|
100
|
+
end
|
|
101
|
+
|
|
102
|
+
def author_screen_name=(str_)
|
|
103
|
+
end
|
|
104
|
+
|
|
105
|
+
def author_name
|
|
106
|
+
end
|
|
107
|
+
|
|
108
|
+
def author_name=(str_)
|
|
109
|
+
end
|
|
110
|
+
|
|
111
|
+
def author_is_blue_verified
|
|
112
|
+
end
|
|
113
|
+
|
|
114
|
+
def author_is_blue_verified=(str_)
|
|
115
|
+
end
|
|
116
|
+
|
|
117
|
+
def author_verified
|
|
118
|
+
end
|
|
119
|
+
|
|
120
|
+
def author_verified=(str_)
|
|
121
|
+
end
|
|
122
|
+
|
|
123
|
+
def author_is_verified_organization_affiliate
|
|
124
|
+
end
|
|
125
|
+
|
|
126
|
+
def author_is_verified_organization_affiliate=(str_)
|
|
127
|
+
end
|
|
128
|
+
|
|
129
|
+
def article_id
|
|
130
|
+
end
|
|
131
|
+
|
|
132
|
+
def article_id=(str_)
|
|
133
|
+
end
|
|
134
|
+
|
|
135
|
+
def article_title
|
|
136
|
+
end
|
|
137
|
+
|
|
138
|
+
def article_title=(str_)
|
|
139
|
+
end
|
|
140
|
+
|
|
141
|
+
def article_preview_text
|
|
142
|
+
end
|
|
143
|
+
|
|
144
|
+
def article_preview_text=(str_)
|
|
145
|
+
end
|
|
146
|
+
|
|
147
|
+
def article_summary_text
|
|
148
|
+
end
|
|
149
|
+
|
|
150
|
+
def article_summary_text=(str_)
|
|
151
|
+
end
|
|
152
|
+
|
|
153
|
+
def article_cover_image_url
|
|
154
|
+
end
|
|
155
|
+
|
|
156
|
+
def article_cover_image_url=(str_)
|
|
157
|
+
end
|
|
158
|
+
|
|
159
|
+
def article_plain_text
|
|
160
|
+
end
|
|
161
|
+
|
|
162
|
+
def article_plain_text=(str_)
|
|
163
|
+
end
|
|
164
|
+
|
|
165
|
+
def article_markdown
|
|
166
|
+
end
|
|
167
|
+
|
|
168
|
+
def article_markdown=(str_)
|
|
169
|
+
end
|
|
170
|
+
end
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
# Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
2
|
+
|
|
3
|
+
# typed: true
|
|
4
|
+
# frozen_string_literal: true
|
|
5
|
+
|
|
6
|
+
module XapiScraper
|
|
7
|
+
module Models
|
|
8
|
+
module Components
|
|
9
|
+
|
|
10
|
+
class XArticleResponse
|
|
11
|
+
extend T::Sig
|
|
12
|
+
include Crystalline::MetadataFields
|
|
13
|
+
|
|
14
|
+
# The status code of the response.
|
|
15
|
+
field(
|
|
16
|
+
:code,
|
|
17
|
+
::Integer,
|
|
18
|
+
{'format_json': {'letter_case': ::XapiScraper::Utils.field_name("code"), required: true}}
|
|
19
|
+
)
|
|
20
|
+
# The message of the response.
|
|
21
|
+
field :msg, ::String, {'format_json': {'letter_case': ::XapiScraper::Utils.field_name("msg"), required: true}}
|
|
22
|
+
# A list of X article objects.
|
|
23
|
+
field(
|
|
24
|
+
:data,
|
|
25
|
+
Crystalline::Array.new(Models::Components::XArticleModel),
|
|
26
|
+
{'format_json': {'letter_case': ::XapiScraper::Utils.field_name("data"), required: true}}
|
|
27
|
+
)
|
|
28
|
+
|
|
29
|
+
sig { params(code: ::Integer, msg: ::String, data: T::Array[Models::Components::XArticleModel]).void }
|
|
30
|
+
def initialize(code:, msg:, data:)
|
|
31
|
+
@code = code
|
|
32
|
+
@msg = msg
|
|
33
|
+
@data = data
|
|
34
|
+
end
|
|
35
|
+
|
|
36
|
+
sig { params(other: T.untyped).returns(T::Boolean) }
|
|
37
|
+
def ==(other)
|
|
38
|
+
return false unless other.is_a?(self.class)
|
|
39
|
+
return false unless @code == other.code
|
|
40
|
+
return false unless @msg == other.msg
|
|
41
|
+
return false unless @data == other.data
|
|
42
|
+
true
|
|
43
|
+
end
|
|
44
|
+
end
|
|
45
|
+
end
|
|
46
|
+
end
|
|
47
|
+
end
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
# typed: true
|
|
2
|
+
# frozen_string_literal: true
|
|
3
|
+
|
|
4
|
+
class XapiScraper::Models::Components::XArticleResponse
|
|
5
|
+
extend ::Crystalline::MetadataFields::ClassMethods
|
|
6
|
+
end
|
|
7
|
+
|
|
8
|
+
class XapiScraper::Models::Components::XArticleResponse
|
|
9
|
+
def code
|
|
10
|
+
end
|
|
11
|
+
|
|
12
|
+
def code=(str_)
|
|
13
|
+
end
|
|
14
|
+
|
|
15
|
+
def msg
|
|
16
|
+
end
|
|
17
|
+
|
|
18
|
+
def msg=(str_)
|
|
19
|
+
end
|
|
20
|
+
|
|
21
|
+
def data
|
|
22
|
+
end
|
|
23
|
+
|
|
24
|
+
def data=(str_)
|
|
25
|
+
end
|
|
26
|
+
end
|
|
@@ -0,0 +1,128 @@
|
|
|
1
|
+
# Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
2
|
+
|
|
3
|
+
# typed: true
|
|
4
|
+
# frozen_string_literal: true
|
|
5
|
+
|
|
6
|
+
module XapiScraper
|
|
7
|
+
module Models
|
|
8
|
+
module Components
|
|
9
|
+
autoload :AccountVerifyModel, "xapi_scraper/models/components/accountverifymodel.rb"
|
|
10
|
+
autoload :AccountVerifyResponse, "xapi_scraper/models/components/accountverifyresponse.rb"
|
|
11
|
+
autoload :AdvancedSearchCursorQuery, "xapi_scraper/models/components/advancedsearchcursorquery.rb"
|
|
12
|
+
autoload :AdvancedSearchCursorResponse, "xapi_scraper/models/components/advancedsearchcursorresponse.rb"
|
|
13
|
+
autoload :ArticleBlock, "xapi_scraper/models/components/articleblock.rb"
|
|
14
|
+
autoload :ArticleBlockRange, "xapi_scraper/models/components/articleblockrange.rb"
|
|
15
|
+
autoload :BlockUserResponse, "xapi_scraper/models/components/blockuserresponse.rb"
|
|
16
|
+
autoload :BookmarkBody, "xapi_scraper/models/components/bookmarkbody.rb"
|
|
17
|
+
autoload :CashtagsQuery, "xapi_scraper/models/components/cashtagsquery.rb"
|
|
18
|
+
autoload :CashtagsQueryLanguage, "xapi_scraper/models/components/cashtagsquery_language.rb"
|
|
19
|
+
autoload :CashtagsQuerySortBy, "xapi_scraper/models/components/cashtagsquery_sortby.rb"
|
|
20
|
+
autoload :CommunityModel, "xapi_scraper/models/components/communitymodel.rb"
|
|
21
|
+
autoload :CommunityTweetsResponse, "xapi_scraper/models/components/communitytweetsresponse.rb"
|
|
22
|
+
autoload :Context, "xapi_scraper/models/components/context.rb"
|
|
23
|
+
autoload :ConversationV3Model, "xapi_scraper/models/components/conversationv3model.rb"
|
|
24
|
+
autoload :CreateThreadData, "xapi_scraper/models/components/createthreaddata.rb"
|
|
25
|
+
autoload :CreateThreadQuery, "xapi_scraper/models/components/createthreadquery.rb"
|
|
26
|
+
autoload :CreateThreadResponse, "xapi_scraper/models/components/createthreadresponse.rb"
|
|
27
|
+
autoload :CreateThreadTweetItem, "xapi_scraper/models/components/createthreadtweetitem.rb"
|
|
28
|
+
autoload :DMStatusModelV2, "xapi_scraper/models/components/dmstatusmodelv2.rb"
|
|
29
|
+
autoload :DMStatusResponseV2, "xapi_scraper/models/components/dmstatusresponsev2.rb"
|
|
30
|
+
autoload :DeleteBookmarkQuery, "xapi_scraper/models/components/deletebookmarkquery.rb"
|
|
31
|
+
autoload :DeleteRetweetQuery, "xapi_scraper/models/components/deleteretweetquery.rb"
|
|
32
|
+
autoload :DeleteTweetQuery, "xapi_scraper/models/components/deletetweetquery.rb"
|
|
33
|
+
autoload :DeleteTweetResponse, "xapi_scraper/models/components/deletetweetresponse.rb"
|
|
34
|
+
autoload :DmHistoryV3Data, "xapi_scraper/models/components/dmhistoryv3data.rb"
|
|
35
|
+
autoload :FollowUserQuery, "xapi_scraper/models/components/followuserquery.rb"
|
|
36
|
+
autoload :FollowersFollowingV3Query, "xapi_scraper/models/components/followersfollowingv3query.rb"
|
|
37
|
+
autoload :GetAllTweetsRepliesCursorQuery, "xapi_scraper/models/components/getalltweetsrepliescursorquery.rb"
|
|
38
|
+
autoload :GetAllTweetsRepliesCursorResponse, "xapi_scraper/models/components/getalltweetsrepliescursorresponse.rb"
|
|
39
|
+
autoload :GetCommunityMembersCursorQuery, "xapi_scraper/models/components/getcommunitymemberscursorquery.rb"
|
|
40
|
+
autoload :GetCommunityMembersCursorResponse, "xapi_scraper/models/components/getcommunitymemberscursorresponse.rb"
|
|
41
|
+
autoload :GetCommunityResponse, "xapi_scraper/models/components/getcommunityresponse.rb"
|
|
42
|
+
autoload :GetCommunityTweetsCursorQuery, "xapi_scraper/models/components/getcommunitytweetscursorquery.rb"
|
|
43
|
+
autoload :GetCommunityTweetsCursorResponse, "xapi_scraper/models/components/getcommunitytweetscursorresponse.rb"
|
|
44
|
+
autoload :GetConversationsV3Query, "xapi_scraper/models/components/getconversationsv3query.rb"
|
|
45
|
+
autoload :GetConversationsV3Response, "xapi_scraper/models/components/getconversationsv3response.rb"
|
|
46
|
+
autoload :GetDmHistoryV3Query, "xapi_scraper/models/components/getdmhistoryv3query.rb"
|
|
47
|
+
autoload :GetDmHistoryV3Response, "xapi_scraper/models/components/getdmhistoryv3response.rb"
|
|
48
|
+
autoload :GetDmMediaV3Data, "xapi_scraper/models/components/getdmmediav3data.rb"
|
|
49
|
+
autoload :GetDmMediaV3Query, "xapi_scraper/models/components/getdmmediav3query.rb"
|
|
50
|
+
autoload :GetDmMediaV3Response, "xapi_scraper/models/components/getdmmediav3response.rb"
|
|
51
|
+
autoload :GetListMembersCursorQuery, "xapi_scraper/models/components/getlistmemberscursorquery.rb"
|
|
52
|
+
autoload :GetListMembersCursorResponse, "xapi_scraper/models/components/getlistmemberscursorresponse.rb"
|
|
53
|
+
autoload :GetListTweetsCursorQuery, "xapi_scraper/models/components/getlisttweetscursorquery.rb"
|
|
54
|
+
autoload :GetListTweetsCursorResponse, "xapi_scraper/models/components/getlisttweetscursorresponse.rb"
|
|
55
|
+
autoload :GetQuotesCursorQuery, "xapi_scraper/models/components/getquotescursorquery.rb"
|
|
56
|
+
autoload :GetQuotesCursorQuerySortBy, "xapi_scraper/models/components/getquotescursorquery_sort_by.rb"
|
|
57
|
+
autoload :GetQuotesCursorResponse, "xapi_scraper/models/components/getquotescursorresponse.rb"
|
|
58
|
+
autoload :GetQuotesQuery, "xapi_scraper/models/components/getquotesquery.rb"
|
|
59
|
+
autoload :GetQuotesQuerySortBy, "xapi_scraper/models/components/getquotesquery_sort_by.rb"
|
|
60
|
+
autoload :GetQuotesResponse, "xapi_scraper/models/components/getquotesresponse.rb"
|
|
61
|
+
autoload :GetRepliesPageQuery, "xapi_scraper/models/components/getrepliespagequery.rb"
|
|
62
|
+
autoload :GetRepliesPageQuerySortBy, "xapi_scraper/models/components/getrepliespagequery_sort_by.rb"
|
|
63
|
+
autoload :GetRepliesPageResponse, "xapi_scraper/models/components/getrepliespageresponse.rb"
|
|
64
|
+
autoload :GetRetweetersCursorQuery, "xapi_scraper/models/components/getretweeterscursorquery.rb"
|
|
65
|
+
autoload :GetRetweetersCursorResponse, "xapi_scraper/models/components/getretweeterscursorresponse.rb"
|
|
66
|
+
autoload :GetTweetsByIdResponse, "xapi_scraper/models/components/gettweetsbyidresponse.rb"
|
|
67
|
+
autoload :HashtagsQuery, "xapi_scraper/models/components/hashtagsquery.rb"
|
|
68
|
+
autoload :HashtagsQueryLanguage, "xapi_scraper/models/components/hashtagsquery_language.rb"
|
|
69
|
+
autoload :HashtagsQuerySortBy, "xapi_scraper/models/components/hashtagsquery_sortby.rb"
|
|
70
|
+
autoload :LikeActionBody, "xapi_scraper/models/components/likeactionbody.rb"
|
|
71
|
+
autoload :ListMembersResponse, "xapi_scraper/models/components/listmembersresponse.rb"
|
|
72
|
+
autoload :ListModel, "xapi_scraper/models/components/listmodel.rb"
|
|
73
|
+
autoload :ListSubscribersResponse, "xapi_scraper/models/components/listsubscribersresponse.rb"
|
|
74
|
+
autoload :ListTweetsResponse, "xapi_scraper/models/components/listtweetsresponse.rb"
|
|
75
|
+
autoload :MediaModel, "xapi_scraper/models/components/mediamodel.rb"
|
|
76
|
+
autoload :MessageModel, "xapi_scraper/models/components/messagemodel.rb"
|
|
77
|
+
autoload :PostTweetData, "xapi_scraper/models/components/posttweetdata.rb"
|
|
78
|
+
autoload :PostTweetQuery, "xapi_scraper/models/components/posttweetquery.rb"
|
|
79
|
+
autoload :PostTweetResponse, "xapi_scraper/models/components/posttweetresponse.rb"
|
|
80
|
+
autoload :PostTweetWithoutCookieQuery, "xapi_scraper/models/components/posttweetwithoutcookiequery.rb"
|
|
81
|
+
autoload :QuoteTweetQuery, "xapi_scraper/models/components/quotetweetquery.rb"
|
|
82
|
+
autoload :RetweetActionBody, "xapi_scraper/models/components/retweetactionbody.rb"
|
|
83
|
+
autoload :SearchCommunityQuery, "xapi_scraper/models/components/searchcommunityquery.rb"
|
|
84
|
+
autoload :SearchCommunityResponse, "xapi_scraper/models/components/searchcommunityresponse.rb"
|
|
85
|
+
autoload :SearchCommunityTweetsQuery, "xapi_scraper/models/components/searchcommunitytweetsquery.rb"
|
|
86
|
+
autoload :SearchListQuery, "xapi_scraper/models/components/searchlistquery.rb"
|
|
87
|
+
autoload :SearchListResponse, "xapi_scraper/models/components/searchlistresponse.rb"
|
|
88
|
+
autoload :SearchResponse, "xapi_scraper/models/components/searchresponse.rb"
|
|
89
|
+
autoload :SearchUserResponse, "xapi_scraper/models/components/searchuserresponse.rb"
|
|
90
|
+
autoload :Security, "xapi_scraper/models/components/security.rb"
|
|
91
|
+
autoload :SendDmResponse, "xapi_scraper/models/components/senddmresponse.rb"
|
|
92
|
+
autoload :SendDmV3Query, "xapi_scraper/models/components/senddmv3query.rb"
|
|
93
|
+
autoload :SentimentAnalysisModel, "xapi_scraper/models/components/sentimentanalysismodel.rb"
|
|
94
|
+
autoload :SentimentAnalysisQuery, "xapi_scraper/models/components/sentimentanalysisquery.rb"
|
|
95
|
+
autoload :SentimentAnalysisResponse, "xapi_scraper/models/components/sentimentanalysisresponse.rb"
|
|
96
|
+
autoload :StandardResponse, "xapi_scraper/models/components/standardresponse.rb"
|
|
97
|
+
autoload :StreamModel, "xapi_scraper/models/components/streammodel.rb"
|
|
98
|
+
autoload :TweetType, "xapi_scraper/models/components/tweet_type.rb"
|
|
99
|
+
autoload :TweetActionResponse, "xapi_scraper/models/components/tweetactionresponse.rb"
|
|
100
|
+
autoload :TweetModel, "xapi_scraper/models/components/tweetmodel.rb"
|
|
101
|
+
autoload :TweetThreadByIdBody, "xapi_scraper/models/components/tweetthreadbyidbody.rb"
|
|
102
|
+
autoload(
|
|
103
|
+
:TwitterAccountBasedStandardResponse,
|
|
104
|
+
"xapi_scraper/models/components/twitteraccountbasedstandardresponse.rb"
|
|
105
|
+
)
|
|
106
|
+
autoload :TwitterUserAboutResponse, "xapi_scraper/models/components/twitteruseraboutresponse.rb"
|
|
107
|
+
autoload :TwitterUserAboutStandardResponse, "xapi_scraper/models/components/twitteruseraboutstandardresponse.rb"
|
|
108
|
+
autoload :UnfavoriteTweetQuery, "xapi_scraper/models/components/unfavoritetweetquery.rb"
|
|
109
|
+
autoload :UnfollowUserQuery, "xapi_scraper/models/components/unfollowuserquery.rb"
|
|
110
|
+
autoload :UnfollowUserResponse, "xapi_scraper/models/components/unfollowuserresponse.rb"
|
|
111
|
+
autoload :UserInfo, "xapi_scraper/models/components/userinfo.rb"
|
|
112
|
+
autoload :UserModel, "xapi_scraper/models/components/usermodel.rb"
|
|
113
|
+
autoload :UserTimelineFillQuery, "xapi_scraper/models/components/usertimelinefillquery.rb"
|
|
114
|
+
autoload :UserTimelinePageQuery, "xapi_scraper/models/components/usertimelinepagequery.rb"
|
|
115
|
+
autoload :UserTimelinePageResponse, "xapi_scraper/models/components/usertimelinepageresponse.rb"
|
|
116
|
+
autoload :UserTimelineResponse, "xapi_scraper/models/components/usertimelineresponse.rb"
|
|
117
|
+
autoload :UserTweetItem, "xapi_scraper/models/components/usertweetitem.rb"
|
|
118
|
+
autoload :UsersDetailsResponse, "xapi_scraper/models/components/usersdetailsresponse.rb"
|
|
119
|
+
autoload :ValidationError, "xapi_scraper/models/components/validationerror.rb"
|
|
120
|
+
autoload :VerifiedFollowersData, "xapi_scraper/models/components/verifiedfollowersdata.rb"
|
|
121
|
+
autoload :VerifiedFollowersResponse, "xapi_scraper/models/components/verifiedfollowersresponse.rb"
|
|
122
|
+
autoload :XArticleModel, "xapi_scraper/models/components/xarticlemodel.rb"
|
|
123
|
+
autoload :XArticleResponse, "xapi_scraper/models/components/xarticleresponse.rb"
|
|
124
|
+
autoload :Loc, "xapi_scraper/models/components/loc.rb"
|
|
125
|
+
autoload :UrlModel, "xapi_scraper/models/components/urlmodel.rb"
|
|
126
|
+
end
|
|
127
|
+
end
|
|
128
|
+
end
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
# Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
2
|
+
|
|
3
|
+
# typed: true
|
|
4
|
+
# frozen_string_literal: true
|
|
5
|
+
|
|
6
|
+
module XapiScraper
|
|
7
|
+
module Models
|
|
8
|
+
module Errors
|
|
9
|
+
|
|
10
|
+
class APIError < StandardError
|
|
11
|
+
include Crystalline::MetadataFields
|
|
12
|
+
extend T::Sig
|
|
13
|
+
|
|
14
|
+
field :body, T.nilable(::String), {'format_json': {'letter_case': ::XapiScraper::Utils.field_name("body")}}
|
|
15
|
+
field :raw_response, T.nilable(Faraday::Response), {}
|
|
16
|
+
field(
|
|
17
|
+
:status_code,
|
|
18
|
+
T.nilable(::Integer),
|
|
19
|
+
{'format_json': {'letter_case': ::XapiScraper::Utils.field_name("status_code")}}
|
|
20
|
+
)
|
|
21
|
+
|
|
22
|
+
sig { params(status_code: ::Integer, body: ::String, raw_response: Faraday::Response).void }
|
|
23
|
+
def initialize(status_code:, body:, raw_response:)
|
|
24
|
+
@status_code = status_code
|
|
25
|
+
@body = body
|
|
26
|
+
@raw_response = raw_response
|
|
27
|
+
end
|
|
28
|
+
|
|
29
|
+
def ==(other)
|
|
30
|
+
return false unless other.is_a?(self.class)
|
|
31
|
+
return false unless @status_code == other.status_code
|
|
32
|
+
return false unless @body == other.body
|
|
33
|
+
return false unless @raw_response == other.raw_response
|
|
34
|
+
true
|
|
35
|
+
end
|
|
36
|
+
end
|
|
37
|
+
end
|
|
38
|
+
end
|
|
39
|
+
end
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
# typed: true
|
|
2
|
+
# frozen_string_literal: true
|
|
3
|
+
|
|
4
|
+
class XapiScraper::Models::Errors::APIError
|
|
5
|
+
extend ::Crystalline::MetadataFields::ClassMethods
|
|
6
|
+
end
|
|
7
|
+
|
|
8
|
+
class XapiScraper::Models::Errors::APIError
|
|
9
|
+
|
|
10
|
+
def body
|
|
11
|
+
end
|
|
12
|
+
|
|
13
|
+
def body=(body)
|
|
14
|
+
end
|
|
15
|
+
|
|
16
|
+
def raw_response
|
|
17
|
+
end
|
|
18
|
+
|
|
19
|
+
def raw_response=(raw_response)
|
|
20
|
+
end
|
|
21
|
+
|
|
22
|
+
def status_code
|
|
23
|
+
end
|
|
24
|
+
|
|
25
|
+
def status_code=(status_code)
|
|
26
|
+
end
|
|
27
|
+
end
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
# Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
2
|
+
|
|
3
|
+
# typed: true
|
|
4
|
+
# frozen_string_literal: true
|
|
5
|
+
|
|
6
|
+
module XapiScraper
|
|
7
|
+
module Models
|
|
8
|
+
module Errors
|
|
9
|
+
|
|
10
|
+
class HTTPValidationError < StandardError
|
|
11
|
+
extend T::Sig
|
|
12
|
+
include Crystalline::MetadataFields
|
|
13
|
+
|
|
14
|
+
field(
|
|
15
|
+
:detail,
|
|
16
|
+
Crystalline::Nilable.new(Crystalline::Array.new(Models::Components::ValidationError)),
|
|
17
|
+
{'format_json': {'letter_case': ::XapiScraper::Utils.field_name("detail")}}
|
|
18
|
+
)
|
|
19
|
+
# Raw HTTP response; suitable for custom response parsing
|
|
20
|
+
field(
|
|
21
|
+
:raw_response,
|
|
22
|
+
Crystalline::Nilable.new(::Faraday::Response),
|
|
23
|
+
{'format_json': {'letter_case': ::XapiScraper::Utils.field_name("-")}}
|
|
24
|
+
)
|
|
25
|
+
|
|
26
|
+
sig {
|
|
27
|
+
params(
|
|
28
|
+
detail: T.nilable(T::Array[Models::Components::ValidationError]),
|
|
29
|
+
raw_response: T.nilable(::Faraday::Response)
|
|
30
|
+
)
|
|
31
|
+
.void
|
|
32
|
+
}
|
|
33
|
+
def initialize(detail: nil, raw_response: nil)
|
|
34
|
+
@detail = detail
|
|
35
|
+
@raw_response = raw_response
|
|
36
|
+
end
|
|
37
|
+
|
|
38
|
+
sig { params(other: T.untyped).returns(T::Boolean) }
|
|
39
|
+
def ==(other)
|
|
40
|
+
return false unless other.is_a?(self.class)
|
|
41
|
+
return false unless @detail == other.detail
|
|
42
|
+
return false unless @raw_response == other.raw_response
|
|
43
|
+
true
|
|
44
|
+
end
|
|
45
|
+
end
|
|
46
|
+
end
|
|
47
|
+
end
|
|
48
|
+
end
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
# typed: true
|
|
2
|
+
# frozen_string_literal: true
|
|
3
|
+
|
|
4
|
+
class XapiScraper::Models::Errors::HTTPValidationError
|
|
5
|
+
extend ::Crystalline::MetadataFields::ClassMethods
|
|
6
|
+
end
|
|
7
|
+
|
|
8
|
+
class XapiScraper::Models::Errors::HTTPValidationError
|
|
9
|
+
def detail
|
|
10
|
+
end
|
|
11
|
+
|
|
12
|
+
def detail=(str_)
|
|
13
|
+
end
|
|
14
|
+
|
|
15
|
+
def raw_response
|
|
16
|
+
end
|
|
17
|
+
|
|
18
|
+
def raw_response=(str_)
|
|
19
|
+
end
|
|
20
|
+
end
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
# Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
2
|
+
|
|
3
|
+
# typed: true
|
|
4
|
+
# frozen_string_literal: true
|
|
5
|
+
|
|
6
|
+
module XapiScraper
|
|
7
|
+
module Models
|
|
8
|
+
module Errors
|
|
9
|
+
autoload :APIError, "xapi_scraper/models/errors/apierror.rb"
|
|
10
|
+
autoload :HTTPValidationError, "xapi_scraper/models/errors/httpvalidationerror.rb"
|
|
11
|
+
end
|
|
12
|
+
end
|
|
13
|
+
end
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
# Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
2
|
+
|
|
3
|
+
# typed: true
|
|
4
|
+
# frozen_string_literal: true
|
|
5
|
+
|
|
6
|
+
module XapiScraper
|
|
7
|
+
module Models
|
|
8
|
+
module Operations
|
|
9
|
+
|
|
10
|
+
class AccountGetBalanceResponse
|
|
11
|
+
extend T::Sig
|
|
12
|
+
include Crystalline::MetadataFields
|
|
13
|
+
|
|
14
|
+
# HTTP response content type for this operation
|
|
15
|
+
field :content_type, ::String
|
|
16
|
+
# HTTP response status code for this operation
|
|
17
|
+
field :status_code, ::Integer
|
|
18
|
+
# Raw HTTP response; suitable for custom response parsing
|
|
19
|
+
field :raw_response, ::Faraday::Response
|
|
20
|
+
# The balance data.
|
|
21
|
+
field :standard_response, Crystalline::Nilable.new(Models::Components::StandardResponse)
|
|
22
|
+
|
|
23
|
+
sig {
|
|
24
|
+
params(
|
|
25
|
+
content_type: ::String,
|
|
26
|
+
status_code: ::Integer,
|
|
27
|
+
raw_response: ::Faraday::Response,
|
|
28
|
+
standard_response: T.nilable(Models::Components::StandardResponse)
|
|
29
|
+
)
|
|
30
|
+
.void
|
|
31
|
+
}
|
|
32
|
+
def initialize(content_type:, status_code:, raw_response:, standard_response: nil)
|
|
33
|
+
@content_type = content_type
|
|
34
|
+
@status_code = status_code
|
|
35
|
+
@raw_response = raw_response
|
|
36
|
+
@standard_response = standard_response
|
|
37
|
+
end
|
|
38
|
+
|
|
39
|
+
sig { params(other: T.untyped).returns(T::Boolean) }
|
|
40
|
+
def ==(other)
|
|
41
|
+
return false unless other.is_a?(self.class)
|
|
42
|
+
return false unless @content_type == other.content_type
|
|
43
|
+
return false unless @status_code == other.status_code
|
|
44
|
+
return false unless @raw_response == other.raw_response
|
|
45
|
+
return false unless @standard_response == other.standard_response
|
|
46
|
+
true
|
|
47
|
+
end
|
|
48
|
+
end
|
|
49
|
+
end
|
|
50
|
+
end
|
|
51
|
+
end
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
# typed: true
|
|
2
|
+
# frozen_string_literal: true
|
|
3
|
+
|
|
4
|
+
class XapiScraper::Models::Operations::AccountGetBalanceResponse
|
|
5
|
+
extend ::Crystalline::MetadataFields::ClassMethods
|
|
6
|
+
end
|
|
7
|
+
|
|
8
|
+
class XapiScraper::Models::Operations::AccountGetBalanceResponse
|
|
9
|
+
def content_type
|
|
10
|
+
end
|
|
11
|
+
|
|
12
|
+
def content_type=(str_)
|
|
13
|
+
end
|
|
14
|
+
|
|
15
|
+
def status_code
|
|
16
|
+
end
|
|
17
|
+
|
|
18
|
+
def status_code=(str_)
|
|
19
|
+
end
|
|
20
|
+
|
|
21
|
+
def raw_response
|
|
22
|
+
end
|
|
23
|
+
|
|
24
|
+
def raw_response=(str_)
|
|
25
|
+
end
|
|
26
|
+
|
|
27
|
+
def standard_response
|
|
28
|
+
end
|
|
29
|
+
|
|
30
|
+
def standard_response=(str_)
|
|
31
|
+
end
|
|
32
|
+
end
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
# Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
2
|
+
|
|
3
|
+
# typed: true
|
|
4
|
+
# frozen_string_literal: true
|
|
5
|
+
|
|
6
|
+
module XapiScraper
|
|
7
|
+
module Models
|
|
8
|
+
module Operations
|
|
9
|
+
|
|
10
|
+
class AnalysisSentimentResponse
|
|
11
|
+
extend T::Sig
|
|
12
|
+
include Crystalline::MetadataFields
|
|
13
|
+
|
|
14
|
+
# HTTP response content type for this operation
|
|
15
|
+
field :content_type, ::String
|
|
16
|
+
# HTTP response status code for this operation
|
|
17
|
+
field :status_code, ::Integer
|
|
18
|
+
# Raw HTTP response; suitable for custom response parsing
|
|
19
|
+
field :raw_response, ::Faraday::Response
|
|
20
|
+
# A sentiment object.
|
|
21
|
+
field :sentiment_analysis_response, Crystalline::Nilable.new(Models::Components::SentimentAnalysisResponse)
|
|
22
|
+
|
|
23
|
+
sig {
|
|
24
|
+
params(
|
|
25
|
+
content_type: ::String,
|
|
26
|
+
status_code: ::Integer,
|
|
27
|
+
raw_response: ::Faraday::Response,
|
|
28
|
+
sentiment_analysis_response: T.nilable(Models::Components::SentimentAnalysisResponse)
|
|
29
|
+
)
|
|
30
|
+
.void
|
|
31
|
+
}
|
|
32
|
+
def initialize(content_type:, status_code:, raw_response:, sentiment_analysis_response: nil)
|
|
33
|
+
@content_type = content_type
|
|
34
|
+
@status_code = status_code
|
|
35
|
+
@raw_response = raw_response
|
|
36
|
+
@sentiment_analysis_response = sentiment_analysis_response
|
|
37
|
+
end
|
|
38
|
+
|
|
39
|
+
sig { params(other: T.untyped).returns(T::Boolean) }
|
|
40
|
+
def ==(other)
|
|
41
|
+
return false unless other.is_a?(self.class)
|
|
42
|
+
return false unless @content_type == other.content_type
|
|
43
|
+
return false unless @status_code == other.status_code
|
|
44
|
+
return false unless @raw_response == other.raw_response
|
|
45
|
+
return false unless @sentiment_analysis_response == other.sentiment_analysis_response
|
|
46
|
+
true
|
|
47
|
+
end
|
|
48
|
+
end
|
|
49
|
+
end
|
|
50
|
+
end
|
|
51
|
+
end
|