semilimes mcu sdk
1.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
6
class
GetMyAccount
7
{
8
private
:
9
#define headerSize 37
10
SmeJson json_data;
11
char
* json =
nullptr
;
12
13
public
:
14
// Function: ~GetMyAccount
15
16
// distructor of the class, frees up the memory occupied by the array/s
17
18
// Prototype:
19
// ~GetMyAccount()
20
21
// Parameters:
22
23
// Returns:
25
~GetMyAccount
()
26
{
27
delete
[] json;
28
json =
nullptr
;
29
}
30
31
// Function: GetMyAccount.set
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::set(bool main,bool sub,bool shared,bool details);
37
38
// Parameters:
43
44
// Returns:
46
47
48
void
set
(
bool
main,
bool
sub,
bool
shared,
bool
details);
49
50
// Function: GetMyAccount.get
51
52
// return the json script
53
54
// Prototype:
55
// void GetMyAccount::get();
56
57
// Parameters:
58
59
// Returns:
61
char
*
get
();
62
};
63
64
#endif
GetMyAccount
Definition
get_my_account.h:7
GetMyAccount::~GetMyAccount
~GetMyAccount()
Definition
get_my_account.h:25
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
github
semilimes_mcu_sdk
src
account
get_my_account.h
Generated by
1.12.0