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
// GENERATED CODE

use crate::api_default_imports::*;

api_client!(
    VirtualEventsSessionsApiClient,
    VirtualEventsSessionsIdApiClient,
    ResourceIdentity::VirtualEventsSessions
);

impl VirtualEventsSessionsApiClient {
    post!(
        doc: "Create new navigation property to sessions for solutions",
        name: create_sessions,
        path: "/sessions",
        body: true
    );
    get!(
        doc: "Get sessions from solutions",
        name: list_sessions,
        path: "/sessions"
    );
    get!(
        doc: "Get the number of the resource",
        name: get_sessions_count,
        path: "/sessions/$count"
    );
}

impl VirtualEventsSessionsIdApiClient {
    delete!(
        doc: "Delete navigation property sessions for solutions",
        name: delete_sessions,
        path: "/sessions/{{RID}}"
    );
    get!(
        doc: "Get sessions from solutions",
        name: get_sessions,
        path: "/sessions/{{RID}}"
    );
    patch!(
        doc: "Update the navigation property sessions in solutions",
        name: update_sessions,
        path: "/sessions/{{RID}}",
        body: true
    );
    post!(
        doc: "Create new navigation property to attendanceReports for solutions",
        name: create_attendance_reports,
        path: "/sessions/{{RID}}/attendanceReports",
        body: true
    );
    get!(
        doc: "Get attendanceReports from solutions",
        name: list_attendance_reports,
        path: "/sessions/{{RID}}/attendanceReports"
    );
    get!(
        doc: "Get the number of the resource",
        name: get_attendance_reports_count,
        path: "/sessions/{{RID}}/attendanceReports/$count"
    );
    delete!(
        doc: "Delete navigation property attendanceReports for solutions",
        name: delete_attendance_reports,
        path: "/sessions/{{RID}}/attendanceReports/{{id}}",
        params: meeting_attendance_report_id
    );
    get!(
        doc: "Get attendanceReports from solutions",
        name: get_attendance_reports,
        path: "/sessions/{{RID}}/attendanceReports/{{id}}",
        params: meeting_attendance_report_id
    );
    patch!(
        doc: "Update the navigation property attendanceReports in solutions",
        name: update_attendance_reports,
        path: "/sessions/{{RID}}/attendanceReports/{{id}}",
        body: true,
        params: meeting_attendance_report_id
    );
    post!(
        doc: "Create new navigation property to attendanceRecords for solutions",
        name: create_attendance_records,
        path: "/sessions/{{RID}}/attendanceReports/{{id}}/attendanceRecords",
        body: true,
        params: meeting_attendance_report_id
    );
    get!(
        doc: "Get attendanceRecords from solutions",
        name: list_attendance_records,
        path: "/sessions/{{RID}}/attendanceReports/{{id}}/attendanceRecords",
        params: meeting_attendance_report_id
    );
    get!(
        doc: "Get the number of the resource",
        name: get_attendance_records_count,
        path: "/sessions/{{RID}}/attendanceReports/{{id}}/attendanceRecords/$count",
        params: meeting_attendance_report_id
    );
    delete!(
        doc: "Delete navigation property attendanceRecords for solutions",
        name: delete_attendance_records,
        path: "/sessions/{{RID}}/attendanceReports/{{id}}/attendanceRecords/{{id2}}",
        params: meeting_attendance_report_id, attendance_record_id
    );
    get!(
        doc: "Get attendanceRecords from solutions",
        name: get_attendance_records,
        path: "/sessions/{{RID}}/attendanceReports/{{id}}/attendanceRecords/{{id2}}",
        params: meeting_attendance_report_id, attendance_record_id
    );
    patch!(
        doc: "Update the navigation property attendanceRecords in solutions",
        name: update_attendance_records,
        path: "/sessions/{{RID}}/attendanceReports/{{id}}/attendanceRecords/{{id2}}",
        body: true,
        params: meeting_attendance_report_id, attendance_record_id
    );
}