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

use crate::api_default_imports::*;
use crate::drives::*;

api_client!(WorkbookApiClient, ResourceIdentity::Workbook);

impl WorkbookApiClient {
    api_client_link_id!(worksheet, WorksheetsIdApiClient);
    api_client_link!(tables, WorkbookTablesApiClient);
    api_client_link_id!(table, WorkbookTablesIdApiClient);
    api_client_link!(worksheets, WorksheetsApiClient);
    api_client_link!(functions, WorkbookFunctionsApiClient);

    delete!(
        doc: "Delete navigation property workbook for drives",
        name: delete_workbook,
        path: "/workbook"
    );
    get!(
        doc: "Get workbook from drives",
        name: get_workbook,
        path: "/workbook"
    );
    patch!(
        doc: "Update the navigation property workbook in drives",
        name: update_workbook,
        path: "/workbook",
        body: true
    );
    delete!(
        doc: "Delete navigation property application for drives",
        name: delete_application,
        path: "/workbook/application"
    );
    get!(
        doc: "Get workbookApplication",
        name: get_application,
        path: "/workbook/application"
    );
    patch!(
        doc: "Update the navigation property application in drives",
        name: update_application,
        path: "/workbook/application",
        body: true
    );
    post!(
        doc: "Invoke action calculate",
        name: calculate,
        path: "/workbook/application/calculate",
        body: true
    );
    post!(
        doc: "Invoke action closeSession",
        name: close_session,
        path: "/workbook/closeSession"
    );
    post!(
        doc: "Invoke action createSession",
        name: create_session,
        path: "/workbook/createSession",
        body: true
    );
    post!(
        doc: "Create new navigation property to operations for drives",
        name: create_operations,
        path: "/workbook/operations",
        body: true
    );
    get!(
        doc: "Get workbookOperation",
        name: list_operations,
        path: "/workbook/operations"
    );
    get!(
        doc: "Get the number of the resource",
        name: operations,
        path: "/workbook/operations/$count"
    );
    delete!(
        doc: "Delete navigation property operations for drives",
        name: delete_operations,
        path: "/workbook/operations/{{id}}",
        params: workbook_operation_id
    );
    get!(
        doc: "Get workbookOperation",
        name: get_operations,
        path: "/workbook/operations/{{id}}",
        params: workbook_operation_id
    );
    patch!(
        doc: "Update the navigation property operations in drives",
        name: update_operations,
        path: "/workbook/operations/{{id}}",
        body: true,
        params: workbook_operation_id
    );
    post!(
        doc: "Invoke action refreshSession",
        name: refresh_session,
        path: "/workbook/refreshSession"
    );
    get!(
        doc: "Invoke function sessionInfoResource",
        name: session_info_resource,
        path: "/workbook/sessionInfoResource(key='{{id}}')",
        params: key
    );
    get!(
        doc: "Invoke function tableRowOperationResult",
        name: table_row_operation_result,
        path: "/workbook/tableRowOperationResult(key='{{id}}')",
        params: key
    );
}