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!(
    IosManagedAppProtectionsApiClient,
    IosManagedAppProtectionsIdApiClient,
    ResourceIdentity::IosManagedAppProtections
);

impl IosManagedAppProtectionsApiClient {
    post!(
        doc: "Create new navigation property to iosManagedAppProtections for deviceAppManagement",
        name: create_ios_managed_app_protections,
        path: "/iosManagedAppProtections",
        body: true
    );
    get!(
        doc: "Get iosManagedAppProtections from deviceAppManagement",
        name: list_ios_managed_app_protections,
        path: "/iosManagedAppProtections"
    );
    get!(
        doc: "Get the number of the resource",
        name: ios_managed_app_protections_dcdc,
        path: "/iosManagedAppProtections/$count"
    );
}

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