unretweet.h
Go to the documentation of this file.
#ifndef COCOATWEET_API_STATUS_UNRETWEET_H_
#define COCOATWEET_API_STATUS_UNRETWEET_H_
#include <cocoatweet/api/interface/httpPost.h>
#include <cocoatweet/api/model/tweet.h>
namespace CocoaTweet::API::Statuses {
class Unretweet : public CocoaTweet::API::Interface::HttpPost {
public:
Unretweet();
void id(const std::string& _id);
CocoaTweet::API::Model::Tweet process(std::weak_ptr<CocoaTweet::OAuth::OAuth1> _oauth);
};
} // namespace CocoaTweet::API::Statuses
#endif
CocoaTweet::API::Interface::HttpPost
class for Send request with POST method
Definition: httpPost.h:10
CocoaTweet::API::Statuses::Unretweet
Definition: unretweet.h:8
CocoaTweet::API::Model::Tweet
data class for tweet object
Definition: tweet.h:10
tweet.h
CocoaTweet::API::Statuses::Unretweet::id
void id(const std::string &_id)
Definition: unretweet.cc:6
httpPost.h
CocoaTweet::API::Statuses::Unretweet::process
CocoaTweet::API::Model::Tweet process(std::weak_ptr< CocoaTweet::OAuth::OAuth1 > _oauth)
Definition: unretweet.cc:11
CocoaTweet::API::Statuses
Definition: destroy.cc:4
CocoaTweet::API::Statuses::Unretweet::Unretweet
Unretweet()
Definition: unretweet.cc:4