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