semilimes mcu sdk 1.1.5
semilimes Software Development Kit for microcontrollers
All Classes Functions Variables
get_my_account.h
1#ifndef _fc_get_account_
2#define _fc_get_account_
3
4#include "../defines.h"
5
7{
8private:
9 SmeJson json_data;
10 char* json = nullptr;
11
12public:
13// Function: ~GetMyAccount
14
15// distructor of the class, frees up the memory occupied by the array/s
16
17// Prototype:
18// ~GetMyAccount()
19
20// Parameters:
21
22// Returns:
25 {
26 delete[] json;
27 json = nullptr;
28 }
29
30// Function: GetMyAccount.set
31
32// This endpoint lists all the user accounts somehow linked to the calling user, including owned subaccounts and shared accounts.
33
34// Prototype:
35// void GetMyAccount::set(bool main,bool sub,bool shared,bool details);
36
37// Parameters:
42
43// Returns:
45
46
47 void set(bool main,bool sub,bool shared,bool details);
48
49// Prototype:
51
52// Parameters:
53
54// Returns:
56
57 char* getEPurl();
58
59// Function: BucketOpen.getWSEPurl
60
61// provides this endpoint
62
63// Prototype:
65
66// Parameters:
67
68// Returns:
70
71 char* getWSEPurl();
72
73// Function: GetMyAccount.get
74
75// return the json script
76
77// Prototype:
78// void GetMyAccount::get();
79
80// Parameters:
81
82// Returns:
84 char* get();
85};
86
87#endif
Definition get_my_account.h:7
char * getWSEPurl()
Definition get_my_account.cpp:59
char * getEPurl()
Definition get_my_account.cpp:42
~GetMyAccount()
Definition get_my_account.h:24
char * get()
Definition get_my_account.cpp:76
void set(bool main, bool sub, bool shared, bool details)
Definition get_my_account.cpp:19