semilimes mcu sdk 0.1
semilimes Software Development Kit for microcontrollers
Loading...
Searching...
No Matches
bucket_unlike.h
1#ifndef _bucket_unlike_
2#define _bucket_unlike_
3
4#include "../defines.h"
5
7{
8private:
9 SmeJson json_data;
10 char** pjson;
11
12public:
13// Function: BucketUnlike
14
15// This endpoint unsets a like by the current account to any referenced bucket that allows likes.
16
17// Prototype:
18// void BucketUnlike(char* json);
19
20// Parameters:
22
23// Returns:
25 BucketUnlike(char* json)
26 {
27 pjson = &json;
28 json_data.initJson(*pjson);
29 }
30
31// Function: BucketUnlike.setObj
32
33// This endpoint unsets a like by the current account to any referenced bucket that allows likes.
34
35// Prototype:
36// void setObj(char* bucketId);
37
38// Parameters:
40
41// Returns:
43 void setObj(char* bucketId);
44
45// Function: BucketUnlike.getEPurl
46
47// provides the full url for this endpoint
48
49// Prototype:
50// char* getEPurl();
51
52// Parameters:
53
54// Returns:
56 char* getEPurl();
57};
58
59#endif
Definition bucket_unlike.h:7
char * getEPurl()
Definition bucket_unlike.cpp:34
void setObj(char *bucketId)
Definition bucket_unlike.cpp:16
BucketUnlike(char *json)
Definition bucket_unlike.h:25