destroy.h
Go to the documentation of this file.
#ifndef COCOATWEET_API_STATUS_DESTROY_H_
#define COCOATWEET_API_STATUS_DESTROY_H_
#include <memory>
#include <cocoatweet/api/interface/httpPost.h>
#include <cocoatweet/api/model/tweet.h>
namespace CocoaTweet::API::Statuses {
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);
};
} // namespace CocoaTweet::API::Statuses
#endif
CocoaTweet::API::Statuses::Destroy
class for using status/destroy:id endpoint
Definition: destroy.h:10
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
tweet.h
CocoaTweet::API::Statuses::Destroy::process
CocoaTweet::API::Model::Tweet process(std::weak_ptr< CocoaTweet::OAuth::OAuth1 > _oauth)
process request for endpoint
Definition: destroy.cc:11
CocoaTweet::API::Statuses::Destroy::Destroy
Destroy()
primary constructor
Definition: destroy.cc:5
CocoaTweet::API::Statuses::Destroy::id
void id(const std::string _id)
set tweet id to destroy
Definition: destroy.cc:6
httpPost.h
CocoaTweet::API::Statuses
Definition: destroy.cc:4