CocoaTweet
src
cocoatweet
api
favorite
create.h
Go to the documentation of this file.
1
#ifndef COCOATWEET_API_FAVORITE_CREATE_H_
2
#define COCOATWEET_API_FAVORITE_CREATE_H_
3
4
#include <
cocoatweet/api/interface/httpPost.h
>
5
#include <
cocoatweet/api/model/tweet.h
>
6
7
namespace
CocoaTweet::API::Favorites
{
8
class
Create
:
public
CocoaTweet::API::Interface::HttpPost
{
9
public
:
10
Create
();
11
void
id
(
const
std::string& _id);
12
CocoaTweet::API::Model::Tweet
process
(std::weak_ptr<CocoaTweet::OAuth::OAuth1> _oauth);
13
14
private
:
15
};
16
}
// namespace CocoaTweet::API::Favorites
17
18
#endif
CocoaTweet::API::Interface::HttpPost
class for Send request with POST method
Definition:
httpPost.h:10
CocoaTweet::API::Favorites::Create::Create
Create()
Definition:
create.cc:5
CocoaTweet::API::Favorites::Create::process
CocoaTweet::API::Model::Tweet process(std::weak_ptr< CocoaTweet::OAuth::OAuth1 > _oauth)
Definition:
create.cc:14
CocoaTweet::API::Model::Tweet
data class for tweet object
Definition:
tweet.h:9
tweet.h
CocoaTweet::API::Favorites
Definition:
create.cc:4
CocoaTweet::API::Favorites::Create::id
void id(const std::string &_id)
Definition:
create.cc:10
CocoaTweet::API::Favorites::Create
Definition:
create.h:8
httpPost.h
Generated by
1.8.17