1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
use crate::client::Graph;
use graph_http::types::NoContent;
use graph_http::IntoResponse;
use reqwest::Method;
register_client!(OutlookRequest,);
impl<'a, Client> OutlookRequest<'a, Client>
where
Client: graph_http::RequestClient,
{
get!({
doc: "# Get outlook from me",
name: get_outlook,
response: serde_json::Value,
path: "/outlook",
params: 0,
has_body: false
});
patch!({
doc: "# Update the navigation property outlook in me",
name: update_outlook,
response: NoContent,
path: "/outlook",
params: 0,
has_body: true
});
get!({
doc: "# Get masterCategories from me",
name: list_master_categories,
response: serde_json::Value,
path: "/outlook/masterCategories",
params: 0,
has_body: false
});
post!({
doc: "# Create new navigation property to masterCategories for me",
name: create_master_categories,
response: serde_json::Value,
path: "/outlook/masterCategories",
params: 0,
has_body: true
});
get!({
doc: "# Get masterCategories from me",
name: get_master_categories,
response: serde_json::Value,
path: "/outlook/masterCategories/{{id}}",
params: 1,
has_body: false
});
patch!({
doc: "# Update the navigation property masterCategories in me",
name: update_master_categories,
response: NoContent,
path: "/outlook/masterCategories/{{id}}",
params: 1,
has_body: true
});
get!({
doc: "# Invoke function supportedLanguages",
name: supported_languages,
response: serde_json::Value,
path: "/outlook/supportedLanguages()",
params: 0,
has_body: false
});
get!({
doc: "# Invoke function supportedTimeZones",
name: supported_time_zones,
response: serde_json::Value,
path: "/outlook/supportedTimeZones()",
params: 0,
has_body: false
});
}