favorite.h
Go to the documentation of this file.
#ifndef COCOATWEET_API_FAVORITE_FAVORITE_H_
#define COCOATWEET_API_FAVORITE_FAVORITE_H_
#include "cocoatweet/api/interface/groupInterface.h"
#include "cocoatweet/oauth/oauth.h"
#include <cocoatweet/api/model/tweet.h>
namespace CocoaTweet::API::Favorites {
class Favorite : public groupInterface {
public:
Favorite() = default;
Favorite(std::shared_ptr<CocoaTweet::OAuth::OAuth1> _oauth);
CocoaTweet::API::Model::Tweet create(const std::string& _id) const;
CocoaTweet::API::Model::Tweet destroy(const std::string& _id) const;
};
} // namespace CocoaTweet::API::Favorites
#endif
groupInterface.h
CocoaTweet::API::Model::Tweet
data class for tweet object
Definition: tweet.h:10
CocoaTweet::API::groupInterface
Definition: groupInterface.h:8
CocoaTweet::API::Favorites::Favorite::Favorite
Favorite()=default
tweet.h
CocoaTweet::API::Favorites::Favorite::create
CocoaTweet::API::Model::Tweet create(const std::string &_id) const
Definition: favorite.cc:10
CocoaTweet::API::Favorites::Favorite
Definition: favorite.h:9
CocoaTweet::API::Favorites
Definition: create.cc:4
CocoaTweet::API::Favorites::Favorite::destroy
CocoaTweet::API::Model::Tweet destroy(const std::string &_id) const
Definition: favorite.cc:16
oauth.h