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
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
// GENERATED CODE

use crate::api_default_imports::*;
use crate::users::*;

api_client!(
    CalendarViewApiClient,
    CalendarViewIdApiClient,
    ResourceIdentity::CalendarView
);

impl CalendarViewApiClient {
    get!(
        doc: "Get calendarView from users",
        name: list_calendar_view,
        path: "/calendarView"
    );
    get!(
        doc: "Get the number of the resource",
        name: get_calendar_view_count,
        path: "/calendarView/$count"
    );
    get!(
        doc: "Invoke function delta",
        name: delta,
        path: "/calendarView/delta()"
    );
}

impl CalendarViewIdApiClient {
    api_client_link!(instances, EventsInstancesApiClient);
    api_client_link_id!(attachment, UsersAttachmentsIdApiClient);
    api_client_link!(attachments, UsersAttachmentsApiClient);
    api_client_link_id!(instance, EventsInstancesIdApiClient);

    get!(
        doc: "Get calendarView from users",
        name: get_calendar_view,
        path: "/calendarView/{{RID}}"
    );
    post!(
        doc: "Invoke action accept",
        name: accept,
        path: "/calendarView/{{RID}}/accept",
        body: true
    );
    post!(
        doc: "Add attachment",
        name: create_attachments,
        path: "/calendarView/{{RID}}/attachments",
        body: true
    );
    get!(
        doc: "List attachments",
        name: list_attachments,
        path: "/calendarView/{{RID}}/attachments"
    );
    get!(
        doc: "Get calendar from users",
        name: get_calendar,
        path: "/calendarView/{{RID}}/calendar"
    );
    post!(
        doc: "Invoke action cancel",
        name: cancel,
        path: "/calendarView/{{RID}}/cancel",
        body: true
    );
    post!(
        doc: "Invoke action decline",
        name: decline,
        path: "/calendarView/{{RID}}/decline",
        body: true
    );
    post!(
        doc: "Invoke action dismissReminder",
        name: dismiss_reminder,
        path: "/calendarView/{{RID}}/dismissReminder"
    );
    post!(
        doc: "Create open extension",
        name: create_extensions,
        path: "/calendarView/{{RID}}/extensions",
        body: true
    );
    get!(
        doc: "Get extensions from users",
        name: list_extensions,
        path: "/calendarView/{{RID}}/extensions"
    );
    get!(
        doc: "Get the number of the resource",
        name: get_extensions_count,
        path: "/calendarView/{{RID}}/extensions/$count"
    );
    delete!(
        doc: "Delete navigation property extensions for users",
        name: delete_extensions,
        path: "/calendarView/{{RID}}/extensions/{{id}}",
        params: extension_id
    );
    get!(
        doc: "Get extensions from users",
        name: get_extensions,
        path: "/calendarView/{{RID}}/extensions/{{id}}",
        params: extension_id
    );
    patch!(
        doc: "Update the navigation property extensions in users",
        name: update_extensions,
        path: "/calendarView/{{RID}}/extensions/{{id}}",
        body: true,
        params: extension_id
    );
    post!(
        doc: "Invoke action forward",
        name: forward,
        path: "/calendarView/{{RID}}/forward",
        body: true
    );
    post!(
        doc: "Invoke action snoozeReminder",
        name: snooze_reminder,
        path: "/calendarView/{{RID}}/snoozeReminder",
        body: true
    );
    post!(
        doc: "Invoke action tentativelyAccept",
        name: tentatively_accept,
        path: "/calendarView/{{RID}}/tentativelyAccept",
        body: true
    );
}