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
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
// GENERATED CODE

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

api_client!(
    WorkbookTablesApiClient,
    WorkbookTablesIdApiClient,
    ResourceIdentity::WorkbookTables
);

impl WorkbookTablesApiClient {
    post!(
        doc: "Create new navigation property to tables for drives",
        name: create_tables,
        path: "/tables",
        body: true
    );
    get!(
        doc: "List tables",
        name: list_tables,
        path: "/tables"
    );
    post!(
        doc: "Invoke action add",
        name: add,
        path: "/tables/add",
        body: true
    );
    get!(
        doc: "Invoke function count",
        name: count,
        path: "/tables/count()"
    );
    get!(
        doc: "Invoke function itemAt",
        name: item_at,
        path: "/tables/itemAt(index={{id}})",
        params: index
    );
    post!(
        doc: "Invoke action clearFilters",
        name: clear_filters,
        path: "/tables/itemAt(index={{id}})/clearFilters",
        params: drive_item_id
    );
    post!(
        doc: "Invoke action convertToRange",
        name: convert_to_range,
        path: "/tables/itemAt(index={{id}})/convertToRange",
        params: drive_item_id
    );
    get!(
        doc: "Invoke function dataBodyRange",
        name: data_body_range,
        path: "/tables/itemAt(index={{id}})/dataBodyRange()",
        params: drive_item_id
    );
    get!(
        doc: "Invoke function headerRowRange",
        name: header_row_range,
        path: "/tables/itemAt(index={{id}})/headerRowRange()",
        params: drive_item_id
    );
    get!(
        doc: "Invoke function range",
        name: range,
        path: "/tables/itemAt(index={{id}})/range()",
        params: drive_item_id
    );
    post!(
        doc: "Invoke action reapplyFilters",
        name: reapply_filters,
        path: "/tables/itemAt(index={{id}})/reapplyFilters",
        params: drive_item_id
    );
    delete!(
        doc: "Delete navigation property sort for drives",
        name: delete_sort,
        path: "/tables/itemAt(index={{id}})/sort",
        params: drive_item_id
    );
    get!(
        doc: "Get TableSort",
        name: get_sort,
        path: "/tables/itemAt(index={{id}})/sort",
        params: drive_item_id
    );
    patch!(
        doc: "Update the navigation property sort in drives",
        name: update_sort,
        path: "/tables/itemAt(index={{id}})/sort",
        body: true,
        params: drive_item_id
    );
    get!(
        doc: "Invoke function totalRowRange",
        name: total_row_range,
        path: "/tables/itemAt(index={{id}})/totalRowRange()",
        params: drive_item_id
    );
    get!(
        doc: "Get worksheet from drives",
        name: get_worksheet,
        path: "/tables/itemAt(index={{id}})/worksheet",
        params: drive_item_id
    );
}

impl WorkbookTablesIdApiClient {
    api_client_link_id!(column, WorkbookTablesColumnsIdApiClient);
    api_client_link!(columns, WorkbookTablesColumnsApiClient);
    api_client_link_id!(row, WorkbookTablesRowsIdApiClient);
    api_client_link!(rows, WorkbookTablesRowsApiClient);

    get!(
        doc: "Get Table",
        name: get_tables,
        path: "/tables/{{RID}}"
    );
    delete!(
        doc: "Table: delete",
        name: delete_tables,
        path: "/tables/{{RID}}"
    );
    patch!(
        doc: "Update table",
        name: update_tables,
        path: "/tables/{{RID}}",
        body: true
    );
    post!(
        doc: "Invoke action clearFilters",
        name: clear_filters,
        path: "/tables/{{RID}}/clearFilters"
    );
    post!(
        doc: "Invoke action convertToRange",
        name: convert_to_range,
        path: "/tables/{{RID}}/convertToRange"
    );
    get!(
        doc: "Invoke function dataBodyRange",
        name: data_body_range,
        path: "/tables/{{RID}}/dataBodyRange()"
    );
    get!(
        doc: "Invoke function headerRowRange",
        name: header_row_range,
        path: "/tables/{{RID}}/headerRowRange()"
    );
    get!(
        doc: "Invoke function range",
        name: range,
        path: "/tables/{{RID}}/range()"
    );
    post!(
        doc: "Invoke action reapplyFilters",
        name: reapply_filters,
        path: "/tables/{{RID}}/reapplyFilters"
    );
    delete!(
        doc: "Delete navigation property sort for drives",
        name: delete_sort,
        path: "/tables/{{RID}}/sort"
    );
    get!(
        doc: "Get TableSort",
        name: get_sort,
        path: "/tables/{{RID}}/sort"
    );
    patch!(
        doc: "Update the navigation property sort in drives",
        name: update_sort,
        path: "/tables/{{RID}}/sort",
        body: true
    );
    post!(
        doc: "Invoke action apply",
        name: apply,
        path: "/tables/{{RID}}/sort/apply",
        body: true
    );
    post!(
        doc: "Invoke action clear",
        name: clear,
        path: "/tables/{{RID}}/sort/clear"
    );
    post!(
        doc: "Invoke action reapply",
        name: reapply,
        path: "/tables/{{RID}}/sort/reapply"
    );
    get!(
        doc: "Invoke function totalRowRange",
        name: total_row_range,
        path: "/tables/{{RID}}/totalRowRange()"
    );
    get!(
        doc: "Get worksheet from drives",
        name: get_worksheet,
        path: "/tables/{{RID}}/worksheet"
    );
}