semilimes mcu sdk 1.1.5
semilimes Software Development Kit for microcontrollers
All Classes Functions Variables
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* json = nullptr;
11
12public:
13
14// Function: ~BucketUnlike
15
16// distructor of the class, frees up the memory occupied by the array/s
17
18// Prototype:
19// ~BucketUnlike()
20
21// Parameters:
22
23// Returns:
26 {
27 delete[] json;
28 json = nullptr;
29 }
30
31// Function: BucketUnlike.set
32
33// This endpoint unsets a like by the current account to any referenced bucket that allows likes.
34
35// Prototype:
36// void set(const char* bucketId);
37
38// Parameters:
40
41// Returns:
43 void set(const 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// Function: BucketUnlike.getWSEPurl
59
60// provides this endpoint
61
62// Prototype:
63// char* getWSEPurl();
64
65// Parameters:
66
67// Returns:
69 char* getWSEPurl();
70
71// Function: BucketUnlike.get
72
73// return the json script
74
75// Prototype:
76// void BucketUnlike::get();
77
78// Parameters:
79
80// Returns:
82 char* get();
83};
84
85#endif
Definition bucket_unlike.h:7
void set(const char *bucketId)
Definition bucket_unlike.cpp:16
char * getEPurl()
Definition bucket_unlike.cpp:37
char * get()
Definition bucket_unlike.cpp:71
~BucketUnlike()
Definition bucket_unlike.h:25
char * getWSEPurl()
Definition bucket_unlike.cpp:54