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

use crate::api_default_imports::*;

resource_api_client!(AppCatalogsApiClient, ResourceIdentity::AppCatalogs);

impl AppCatalogsApiClient {
    get!(
        doc: "Get appCatalogs",
        name: get_app_catalogs,
        path: "/appCatalogs"
    );
    patch!(
        doc: "Update appCatalogs",
        name: update_app_catalogs,
        path: "/appCatalogs",
        body: true
    );
    get!(
        doc: "List teamsApp",
        name: list_teams_apps,
        path: "/appCatalogs/teamsApps"
    );
    post!(
        doc: "Publish teamsapp",
        name: create_teams_apps,
        path: "/appCatalogs/teamsApps",
        body: true
    );
    get!(
        doc: "Get the number of the resource",
        name: get_teams_apps_count,
        path: "/appCatalogs/teamsApps/$count"
    );
    delete!(
        doc: "Delete navigation property teamsApps for appCatalogs",
        name: delete_teams_apps,
        path: "/appCatalogs/teamsApps/{{id}}",
        params: teams_app_id
    );
    get!(
        doc: "Get teamsApps from appCatalogs",
        name: get_teams_apps,
        path: "/appCatalogs/teamsApps/{{id}}",
        params: teams_app_id
    );
    patch!(
        doc: "Update the navigation property teamsApps in appCatalogs",
        name: update_teams_apps,
        path: "/appCatalogs/teamsApps/{{id}}",
        body: true,
        params: teams_app_id
    );
    get!(
        doc: "Get appDefinitions from appCatalogs",
        name: list_app_definitions,
        path: "/appCatalogs/teamsApps/{{id}}/appDefinitions",
        params: teams_app_id
    );
    post!(
        doc: "Update teamsApp",
        name: create_app_definitions,
        path: "/appCatalogs/teamsApps/{{id}}/appDefinitions",
        body: true,
        params: teams_app_id
    );
    get!(
        doc: "Get the number of the resource",
        name: get_app_definitions_count,
        path: "/appCatalogs/teamsApps/{{id}}/appDefinitions/$count",
        params: teams_app_id
    );
    delete!(
        doc: "Delete navigation property appDefinitions for appCatalogs",
        name: delete_app_definitions,
        path: "/appCatalogs/teamsApps/{{id}}/appDefinitions/{{id2}}",
        params: teams_app_id, teams_app_definition_id
    );
    get!(
        doc: "Get appDefinitions from appCatalogs",
        name: get_app_definitions,
        path: "/appCatalogs/teamsApps/{{id}}/appDefinitions/{{id2}}",
        params: teams_app_id, teams_app_definition_id
    );
    patch!(
        doc: "Update the navigation property appDefinitions in appCatalogs",
        name: update_app_definitions,
        path: "/appCatalogs/teamsApps/{{id}}/appDefinitions/{{id2}}",
        body: true,
        params: teams_app_id, teams_app_definition_id
    );
    delete!(
        doc: "Delete navigation property bot for appCatalogs",
        name: delete_bot,
        path: "/appCatalogs/teamsApps/{{id}}/appDefinitions/{{id2}}/bot",
        params: teams_app_id, teams_app_definition_id
    );
    get!(
        doc: "Get teamworkBot",
        name: get_bot,
        path: "/appCatalogs/teamsApps/{{id}}/appDefinitions/{{id2}}/bot",
        params: teams_app_id, teams_app_definition_id
    );
    patch!(
        doc: "Update the navigation property bot in appCatalogs",
        name: update_bot,
        path: "/appCatalogs/teamsApps/{{id}}/appDefinitions/{{id2}}/bot",
        body: true,
        params: teams_app_id, teams_app_definition_id
    );
}