graph_rs_sdk/drives/workbook/
request.rs

1// GENERATED CODE
2
3use crate::api_default_imports::*;
4use crate::drives::*;
5
6api_client!(WorkbookApiClient, ResourceIdentity::Workbook);
7
8impl WorkbookApiClient {
9    api_client_link_id!(worksheet, WorksheetsIdApiClient);
10    api_client_link!(tables, WorkbookTablesApiClient);
11    api_client_link_id!(table, WorkbookTablesIdApiClient);
12    api_client_link!(worksheets, WorksheetsApiClient);
13    api_client_link!(functions, WorkbookFunctionsApiClient);
14
15    delete!(
16        doc: "Delete navigation property workbook for drives",
17        name: delete_workbook,
18        path: "/workbook"
19    );
20    get!(
21        doc: "Get workbook from drives",
22        name: get_workbook,
23        path: "/workbook"
24    );
25    patch!(
26        doc: "Update the navigation property workbook in drives",
27        name: update_workbook,
28        path: "/workbook",
29        body: true
30    );
31    delete!(
32        doc: "Delete navigation property application for drives",
33        name: delete_application,
34        path: "/workbook/application"
35    );
36    get!(
37        doc: "Get workbookApplication",
38        name: get_application,
39        path: "/workbook/application"
40    );
41    patch!(
42        doc: "Update the navigation property application in drives",
43        name: update_application,
44        path: "/workbook/application",
45        body: true
46    );
47    post!(
48        doc: "Invoke action calculate",
49        name: calculate,
50        path: "/workbook/application/calculate",
51        body: true
52    );
53    post!(
54        doc: "Invoke action closeSession",
55        name: close_session,
56        path: "/workbook/closeSession"
57    );
58    post!(
59        doc: "Invoke action createSession",
60        name: create_session,
61        path: "/workbook/createSession",
62        body: true
63    );
64    post!(
65        doc: "Create new navigation property to operations for drives",
66        name: create_operations,
67        path: "/workbook/operations",
68        body: true
69    );
70    get!(
71        doc: "Get workbookOperation",
72        name: list_operations,
73        path: "/workbook/operations"
74    );
75    get!(
76        doc: "Get the number of the resource",
77        name: operations,
78        path: "/workbook/operations/$count"
79    );
80    delete!(
81        doc: "Delete navigation property operations for drives",
82        name: delete_operations,
83        path: "/workbook/operations/{{id}}",
84        params: workbook_operation_id
85    );
86    get!(
87        doc: "Get workbookOperation",
88        name: get_operations,
89        path: "/workbook/operations/{{id}}",
90        params: workbook_operation_id
91    );
92    patch!(
93        doc: "Update the navigation property operations in drives",
94        name: update_operations,
95        path: "/workbook/operations/{{id}}",
96        body: true,
97        params: workbook_operation_id
98    );
99    post!(
100        doc: "Invoke action refreshSession",
101        name: refresh_session,
102        path: "/workbook/refreshSession"
103    );
104    get!(
105        doc: "Invoke function sessionInfoResource",
106        name: session_info_resource,
107        path: "/workbook/sessionInfoResource(key='{{id}}')",
108        params: key
109    );
110    get!(
111        doc: "Invoke function tableRowOperationResult",
112        name: table_row_operation_result,
113        path: "/workbook/tableRowOperationResult(key='{{id}}')",
114        params: key
115    );
116}