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

use crate::api_default_imports::*;

resource_api_client!(
    DefaultManagedAppProtectionsApiClient,
    DefaultManagedAppProtectionsIdApiClient,
    ResourceIdentity::DefaultManagedAppProtections
);

impl DefaultManagedAppProtectionsApiClient {
    post!(
        doc: "Create new navigation property to defaultManagedAppProtections for deviceAppManagement",
        name: create_default_managed_app_protections,
        path: "/defaultManagedAppProtections",
        body: true
    );
    get!(
        doc: "Get defaultManagedAppProtections from deviceAppManagement",
        name: list_default_managed_app_protections,
        path: "/defaultManagedAppProtections"
    );
    get!(
        doc: "Get the number of the resource",
        name: get_default_managed_app_protections_count,
        path: "/defaultManagedAppProtections/$count"
    );
}

impl DefaultManagedAppProtectionsIdApiClient {
    delete!(
        doc: "Delete navigation property defaultManagedAppProtections for deviceAppManagement",
        name: delete_default_managed_app_protections,
        path: "/defaultManagedAppProtections/{{RID}}"
    );
    get!(
        doc: "Get defaultManagedAppProtections from deviceAppManagement",
        name: get_default_managed_app_protections,
        path: "/defaultManagedAppProtections/{{RID}}"
    );
    patch!(
        doc: "Update the navigation property defaultManagedAppProtections in deviceAppManagement",
        name: update_default_managed_app_protections,
        path: "/defaultManagedAppProtections/{{RID}}",
        body: true
    );
    post!(
        doc: "Create new navigation property to apps for deviceAppManagement",
        name: create_apps,
        path: "/defaultManagedAppProtections/{{RID}}/apps",
        body: true
    );
    get!(
        doc: "Get apps from deviceAppManagement",
        name: list_apps,
        path: "/defaultManagedAppProtections/{{RID}}/apps"
    );
    get!(
        doc: "Get the number of the resource",
        name: get_apps_count,
        path: "/defaultManagedAppProtections/{{RID}}/apps/$count"
    );
    delete!(
        doc: "Delete navigation property apps for deviceAppManagement",
        name: delete_apps,
        path: "/defaultManagedAppProtections/{{RID}}/apps/{{id}}",
        params: managed_mobile_app_id
    );
    get!(
        doc: "Get apps from deviceAppManagement",
        name: get_apps,
        path: "/defaultManagedAppProtections/{{RID}}/apps/{{id}}",
        params: managed_mobile_app_id
    );
    patch!(
        doc: "Update the navigation property apps in deviceAppManagement",
        name: update_apps,
        path: "/defaultManagedAppProtections/{{RID}}/apps/{{id}}",
        body: true,
        params: managed_mobile_app_id
    );
    delete!(
        doc: "Delete navigation property deploymentSummary for deviceAppManagement",
        name: delete_deployment_summary,
        path: "/defaultManagedAppProtections/{{RID}}/deploymentSummary"
    );
    get!(
        doc: "Get deploymentSummary from deviceAppManagement",
        name: get_deployment_summary,
        path: "/defaultManagedAppProtections/{{RID}}/deploymentSummary"
    );
    patch!(
        doc: "Update the navigation property deploymentSummary in deviceAppManagement",
        name: update_deployment_summary,
        path: "/defaultManagedAppProtections/{{RID}}/deploymentSummary",
        body: true
    );
}