semilimes mcu sdk 0.1
semilimes Software Development Kit for microcontrollers
Loading...
Searching...
No Matches
channel_unsubscribe.h
1#ifndef _channel_unsubscribe_
2#define _channel_unsubscribe_
3
4#include "../defines.h"
5
7{
8private:
9 SmeJson json_data;
10 char** pjson;
11
12public:
13// Function: ChannelUnsubscribe
14
15// This endpoint makes the calling account to unsubscribe from an existing channel.
16
17// Prototype:
18// void ChannelUnsubscribe(char* json);
19
20// Parameters:
22
23// Returns:
26 {
27 pjson = &json;
28 json_data.initJson(*pjson);
29 }
30
31// Function: ChannelUnsubscribe.setObj
32
33// This endpoint makes the calling account to unsubscribe from an existing channel.
34
35// Prototype:
36// void setObj(char* channelId);
37
38// Parameters:
40
41// Returns:
43 void setObj(char* channelId);
44
45// Function: ChannelUnsubscribe.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 channel_unsubscribe.h:7
void setObj(char *channelId)
Definition channel_unsubscribe.cpp:16
char * getEPurl()
Definition channel_unsubscribe.cpp:34
ChannelUnsubscribe(char *json)
Definition channel_unsubscribe.h:25