graph_rs_sdk/drives/workbook_tables_rows/
request.rs1use crate::api_default_imports::*;
4
5api_client!(
6 WorkbookTablesRowsApiClient,
7 WorkbookTablesRowsIdApiClient,
8 ResourceIdentity::WorkbookTablesRows
9);
10
11impl WorkbookTablesRowsApiClient {
12 post!(
13 doc: "Create TableRow",
14 name: create_rows,
15 path: "/rows",
16 body: true
17 );
18 get!(
19 doc: "List TableRowCollection",
20 name: list_rows,
21 path: "/rows"
22 );
23 post!(
24 doc: "Invoke action add",
25 name: add,
26 path: "/rows/add",
27 body: true
28 );
29 get!(
30 doc: "Invoke function count",
31 name: count,
32 path: "/rows/count()"
33 );
34 get!(
35 doc: "Invoke function itemAt",
36 name: item_at,
37 path: "/rows/itemAt(index={{id}})",
38 params: index
39 );
40 get!(
41 doc: "Invoke function range",
42 name: range,
43 path: "/rows/itemAt(index={{id}})/range()",
44 params: workbook_table_id
45 );
46}
47
48impl WorkbookTablesRowsIdApiClient {
49 get!(
50 doc: "Get TableRow",
51 name: get_rows,
52 path: "/rows/{{RID}}"
53 );
54 delete!(
55 doc: "TableRow: delete",
56 name: delete_rows,
57 path: "/rows/{{RID}}"
58 );
59 patch!(
60 doc: "Update tablerow",
61 name: update_rows,
62 path: "/rows/{{RID}}",
63 body: true
64 );
65 get!(
66 doc: "Invoke function range",
67 name: range,
68 path: "/rows/{{RID}}/range()"
69 );
70}