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

use crate::api_default_imports::*;

api_client!(
    WorkbookTablesRowsApiClient,
    WorkbookTablesRowsIdApiClient,
    ResourceIdentity::WorkbookTablesRows
);

impl WorkbookTablesRowsApiClient {
    post!(
        doc: "Create TableRow",
        name: create_rows,
        path: "/rows",
        body: true
    );
    get!(
        doc: "List TableRowCollection",
        name: list_rows,
        path: "/rows"
    );
    post!(
        doc: "Invoke action add",
        name: add,
        path: "/rows/add",
        body: true
    );
    get!(
        doc: "Invoke function count",
        name: count,
        path: "/rows/count()"
    );
    get!(
        doc: "Invoke function itemAt",
        name: item_at,
        path: "/rows/itemAt(index={{id}})",
        params: index
    );
    get!(
        doc: "Invoke function range",
        name: range,
        path: "/rows/itemAt(index={{id}})/range()",
        params: workbook_table_id
    );
}

impl WorkbookTablesRowsIdApiClient {
    get!(
        doc: "Get TableRow",
        name: get_rows,
        path: "/rows/{{RID}}"
    );
    delete!(
        doc: "TableRow: delete",
        name: delete_rows,
        path: "/rows/{{RID}}"
    );
    patch!(
        doc: "Update tablerow",
        name: update_rows,
        path: "/rows/{{RID}}",
        body: true
    );
    get!(
        doc: "Invoke function range",
        name: range,
        path: "/rows/{{RID}}/range()"
    );
}