semilimes mcu sdk 0.1
semilimes Software Development Kit for microcontrollers
Loading...
Searching...
No Matches
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** pjson;
11
12public:
13// Function: GetMyAccount
14
15// This endpoint lists all the user accounts somehow linked to the calling user, including owned subaccounts and shared accounts.
16
17// Prototype:
18// void GetMyAccount(char* json);
19
20// Parameters:
22
23// Returns:
25 GetMyAccount(char* json)
26 {
27 pjson = &json;
28 json_data.initJson(*pjson);
29 }
30
31// Function: GetMyAccount.setObj
32
33// This endpoint lists all the user accounts somehow linked to the calling user, including owned subaccounts and shared accounts.
34
35// Prototype:
36// void GetMyAccount::setObj(bool main,bool sub,bool shared,bool details);
37
38// Parameters:
43
44// Returns:
46
47
48 void setObj(bool main,bool sub,bool shared,bool details);
49};
50
51#endif
Definition get_my_account.h:7
GetMyAccount(char *json)
Definition get_my_account.h:25
void setObj(bool main, bool sub, bool shared, bool details)
Definition get_my_account.cpp:19