graph_rs_sdk/solutions/services/
request.rs

1// GENERATED CODE
2
3use crate::api_default_imports::*;
4
5api_client!(
6    ServicesApiClient,
7    ServicesIdApiClient,
8    ResourceIdentity::Services
9);
10
11impl ServicesApiClient {
12    post!(
13        doc: "Create bookingService",
14        name: create_services,
15        path: "/services",
16        body: true
17    );
18    get!(
19        doc: "List services",
20        name: list_services,
21        path: "/services"
22    );
23    get!(
24        doc: "Get the number of the resource",
25        name: get_services_count,
26        path: "/services/$count"
27    );
28}
29
30impl ServicesIdApiClient {
31    delete!(
32        doc: "Delete bookingService",
33        name: delete_services,
34        path: "/services/{{RID}}"
35    );
36    get!(
37        doc: "Get bookingService",
38        name: get_services,
39        path: "/services/{{RID}}"
40    );
41    patch!(
42        doc: "Update bookingservice",
43        name: update_services,
44        path: "/services/{{RID}}",
45        body: true
46    );
47}