graph_rs_sdk/solutions/virtual_events_sessions/
request.rs

1// GENERATED CODE
2
3use crate::api_default_imports::*;
4
5api_client!(
6    VirtualEventsSessionsApiClient,
7    VirtualEventsSessionsIdApiClient,
8    ResourceIdentity::VirtualEventsSessions
9);
10
11impl VirtualEventsSessionsApiClient {
12    post!(
13        doc: "Create new navigation property to sessions for solutions",
14        name: create_sessions,
15        path: "/sessions",
16        body: true
17    );
18    get!(
19        doc: "Get sessions from solutions",
20        name: list_sessions,
21        path: "/sessions"
22    );
23    get!(
24        doc: "Get the number of the resource",
25        name: get_sessions_count,
26        path: "/sessions/$count"
27    );
28}
29
30impl VirtualEventsSessionsIdApiClient {
31    delete!(
32        doc: "Delete navigation property sessions for solutions",
33        name: delete_sessions,
34        path: "/sessions/{{RID}}"
35    );
36    get!(
37        doc: "Get sessions from solutions",
38        name: get_sessions,
39        path: "/sessions/{{RID}}"
40    );
41    patch!(
42        doc: "Update the navigation property sessions in solutions",
43        name: update_sessions,
44        path: "/sessions/{{RID}}",
45        body: true
46    );
47    post!(
48        doc: "Create new navigation property to attendanceReports for solutions",
49        name: create_attendance_reports,
50        path: "/sessions/{{RID}}/attendanceReports",
51        body: true
52    );
53    get!(
54        doc: "Get attendanceReports from solutions",
55        name: list_attendance_reports,
56        path: "/sessions/{{RID}}/attendanceReports"
57    );
58    get!(
59        doc: "Get the number of the resource",
60        name: get_attendance_reports_count,
61        path: "/sessions/{{RID}}/attendanceReports/$count"
62    );
63    delete!(
64        doc: "Delete navigation property attendanceReports for solutions",
65        name: delete_attendance_reports,
66        path: "/sessions/{{RID}}/attendanceReports/{{id}}",
67        params: meeting_attendance_report_id
68    );
69    get!(
70        doc: "Get attendanceReports from solutions",
71        name: get_attendance_reports,
72        path: "/sessions/{{RID}}/attendanceReports/{{id}}",
73        params: meeting_attendance_report_id
74    );
75    patch!(
76        doc: "Update the navigation property attendanceReports in solutions",
77        name: update_attendance_reports,
78        path: "/sessions/{{RID}}/attendanceReports/{{id}}",
79        body: true,
80        params: meeting_attendance_report_id
81    );
82    post!(
83        doc: "Create new navigation property to attendanceRecords for solutions",
84        name: create_attendance_records,
85        path: "/sessions/{{RID}}/attendanceReports/{{id}}/attendanceRecords",
86        body: true,
87        params: meeting_attendance_report_id
88    );
89    get!(
90        doc: "Get attendanceRecords from solutions",
91        name: list_attendance_records,
92        path: "/sessions/{{RID}}/attendanceReports/{{id}}/attendanceRecords",
93        params: meeting_attendance_report_id
94    );
95    get!(
96        doc: "Get the number of the resource",
97        name: get_attendance_records_count,
98        path: "/sessions/{{RID}}/attendanceReports/{{id}}/attendanceRecords/$count",
99        params: meeting_attendance_report_id
100    );
101    delete!(
102        doc: "Delete navigation property attendanceRecords for solutions",
103        name: delete_attendance_records,
104        path: "/sessions/{{RID}}/attendanceReports/{{id}}/attendanceRecords/{{id2}}",
105        params: meeting_attendance_report_id, attendance_record_id
106    );
107    get!(
108        doc: "Get attendanceRecords from solutions",
109        name: get_attendance_records,
110        path: "/sessions/{{RID}}/attendanceReports/{{id}}/attendanceRecords/{{id2}}",
111        params: meeting_attendance_report_id, attendance_record_id
112    );
113    patch!(
114        doc: "Update the navigation property attendanceRecords in solutions",
115        name: update_attendance_records,
116        path: "/sessions/{{RID}}/attendanceReports/{{id}}/attendanceRecords/{{id2}}",
117        body: true,
118        params: meeting_attendance_report_id, attendance_record_id
119    );
120}