| semilimes mcu sdk 1.1.2 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
6 class GetMyAccount
7{
8 private:
9 SmeJson json_data;
10 char* json = nullptr;
11
12 public:
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:
24 ~GetMyAccount()
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// Function: GetMyAccount.get
50
51// return the json script
52
53// Prototype:
54// void GetMyAccount::get();
55
56// Parameters:
57
58// Returns:
60 char* get();
61};
62
63#endif
GetMyAccount
Definition get_my_account.h:7
GetMyAccount::~GetMyAccount
~GetMyAccount()
Definition get_my_account.h:24
GetMyAccount::get
char * get()
Definition get_my_account.cpp:42
GetMyAccount::set
void set(bool main, bool sub, bool shared, bool details)
Definition get_my_account.cpp:19