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

use crate::api_default_imports::*;

resource_api_client!(
    MobileAppsApiClient,
    MobileAppsIdApiClient,
    ResourceIdentity::MobileApps
);

impl MobileAppsApiClient {
    post!(
        doc: "Create new navigation property to mobileApps for deviceAppManagement",
        name: create_mobile_apps,
        path: "/mobileApps",
        body: true
    );
    get!(
        doc: "Get mobileApps from deviceAppManagement",
        name: list_mobile_apps,
        path: "/mobileApps"
    );
    get!(
        doc: "Get the number of the resource",
        name: mobile_apps_dcef,
        path: "/mobileApps/$count"
    );
    get!(
        doc: "Get the items of type microsoft.graph.managedMobileLobApp in the microsoft.graph.mobileApp collection",
        name: get_mobile_app_items_as_managed_mobile_lob_app_type,
        path: "/mobileApps/graph.managedMobileLobApp"
    );
    get!(
        doc: "Get the number of the resource",
        name: get_managed_mobile_lob_app_count,
        path: "/mobileApps/graph.managedMobileLobApp/$count"
    );
    get!(
        doc: "Get the items of type microsoft.graph.mobileLobApp in the microsoft.graph.mobileApp collection",
        name: graph,
        path: "/mobileApps/graph.mobileLobApp"
    );
    get!(
        doc: "Get the number of the resource",
        name: get_mobile_lob_app_count,
        path: "/mobileApps/graph.mobileLobApp/$count"
    );
}

impl MobileAppsIdApiClient {
    delete!(
        doc: "Delete navigation property mobileApps for deviceAppManagement",
        name: delete_mobile_apps,
        path: "/mobileApps/{{RID}}"
    );
    get!(
        doc: "Get mobileApps from deviceAppManagement",
        name: get_mobile_apps,
        path: "/mobileApps/{{RID}}"
    );
    patch!(
        doc: "Update the navigation property mobileApps in deviceAppManagement",
        name: update_mobile_apps,
        path: "/mobileApps/{{RID}}",
        body: true
    );
    post!(
        doc: "Invoke action assign",
        name: assign,
        path: "/mobileApps/{{RID}}/assign",
        body: true
    );
    post!(
        doc: "Create new navigation property to assignments for deviceAppManagement",
        name: create_assignments,
        path: "/mobileApps/{{RID}}/assignments",
        body: true
    );
    get!(
        doc: "Get assignments from deviceAppManagement",
        name: list_assignments,
        path: "/mobileApps/{{RID}}/assignments"
    );
    get!(
        doc: "Get the number of the resource",
        name: get_assignments_count,
        path: "/mobileApps/{{RID}}/assignments/$count"
    );
    delete!(
        doc: "Delete navigation property assignments for deviceAppManagement",
        name: delete_assignments,
        path: "/mobileApps/{{RID}}/assignments/{{id}}",
        params: mobile_app_assignment_id
    );
    get!(
        doc: "Get assignments from deviceAppManagement",
        name: get_assignments,
        path: "/mobileApps/{{RID}}/assignments/{{id}}",
        params: mobile_app_assignment_id
    );
    patch!(
        doc: "Update the navigation property assignments in deviceAppManagement",
        name: update_assignments,
        path: "/mobileApps/{{RID}}/assignments/{{id}}",
        body: true,
        params: mobile_app_assignment_id
    );
    get!(
        doc: "Get categories from deviceAppManagement",
        name: list_categories,
        path: "/mobileApps/{{RID}}/categories"
    );
    get!(
        doc: "Get the number of the resource",
        name: get_categories_count,
        path: "/mobileApps/{{RID}}/categories/$count"
    );
    get!(
        doc: "Get categories from deviceAppManagement",
        name: get_categories,
        path: "/mobileApps/{{RID}}/categories/{{id}}",
        params: mobile_app_category_id
    );
    get!(
        doc: "Get the item of type microsoft.graph.mobileApp as microsoft.graph.managedMobileLobApp",
        name: get_mobile_app_item_as_managed_mobile_lob_app_type,
        path: "/mobileApps/{{RID}}/graph.managedMobileLobApp"
    );
    get!(
        doc: "Get the item of type microsoft.graph.mobileApp as microsoft.graph.mobileLobApp",
        name: get_mobile_app_item_as_mobile_lob_app_type,
        path: "/mobileApps/{{RID}}/graph.mobileLobApp"
    );
}