semilimes mcu sdk 1.1.3 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
6 class BucketUnlike
7{
8 private:
9 SmeJson json_data;
10 char* json = nullptr;
11
12 public:
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:
25 ~BucketUnlike()
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
BucketUnlike
Definition bucket_unlike.h:7
BucketUnlike::set
void set(const char *bucketId)
Definition bucket_unlike.cpp:16
BucketUnlike::getEPurl
char * getEPurl()
Definition bucket_unlike.cpp:37
BucketUnlike::get
char * get()
Definition bucket_unlike.cpp:71
BucketUnlike::~BucketUnlike
~BucketUnlike()
Definition bucket_unlike.h:25
BucketUnlike::getWSEPurl
char * getWSEPurl()
Definition bucket_unlike.cpp:54