CocoaTweet
userTimeline.h
Go to the documentation of this file.
1 #ifndef COCOATWEET_API_STATUS_USERTIMELINE_H_
2 #define COCOATWEET_API_STATUS_USERTIMELINE_H_
3 
6 #include <vector>
7 #include <utility>
8 #include <memory>
9 
10 namespace CocoaTweet::API::Statuses {
13 public:
15  UserTimeline();
16 
19  void screenName(const std::string& _screenName);
20 
24  std::vector<CocoaTweet::API::Model::Tweet> process(
25  std::weak_ptr<CocoaTweet::OAuth::OAuth1> _oauth);
26 
27 private:
28  std::string status_;
29 };
30 } // namespace CocoaTweet::API::Statuses
31 
32 #endif
httpGet.h
tweet.h
CocoaTweet::API::Statuses::UserTimeline::UserTimeline
UserTimeline()
primary constructor
Definition: userTimeline.cc:6
CocoaTweet::API::Statuses::UserTimeline
class for using statuses/user_timeline endpoint
Definition: userTimeline.h:12
CocoaTweet::API::Interface::HttpGet
class for Send request with POST method
Definition: httpGet.h:10
CocoaTweet::API::Statuses::UserTimeline::screenName
void screenName(const std::string &_screenName)
set screen name to get timeline
Definition: userTimeline.cc:11
CocoaTweet::API::Statuses::UserTimeline::process
std::vector< CocoaTweet::API::Model::Tweet > process(std::weak_ptr< CocoaTweet::OAuth::OAuth1 > _oauth)
process request for endpoint
Definition: userTimeline.cc:15
CocoaTweet::API::Statuses
Definition: destroy.cc:4