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

use crate::api_default_imports::*;

api_client!(
    DeviceEnrollmentConfigurationsApiClient,
    DeviceEnrollmentConfigurationsIdApiClient,
    ResourceIdentity::DeviceEnrollmentConfigurations
);

impl DeviceEnrollmentConfigurationsApiClient {
    post!(
        doc: "Create new navigation property to deviceEnrollmentConfigurations for deviceManagement",
        name: create_device_enrollment_configurations,
        path: "/deviceEnrollmentConfigurations",
        body: true
    );
    get!(
        doc: "Get deviceEnrollmentConfigurations from deviceManagement",
        name: list_device_enrollment_configurations,
        path: "/deviceEnrollmentConfigurations"
    );
    get!(
        doc: "Get the number of the resource",
        name: get_device_enrollment_configurations_count,
        path: "/deviceEnrollmentConfigurations/$count"
    );
}

impl DeviceEnrollmentConfigurationsIdApiClient {
    delete!(
        doc: "Delete navigation property deviceEnrollmentConfigurations for deviceManagement",
        name: delete_device_enrollment_configurations,
        path: "/deviceEnrollmentConfigurations/{{RID}}"
    );
    get!(
        doc: "Get deviceEnrollmentConfigurations from deviceManagement",
        name: get_device_enrollment_configurations,
        path: "/deviceEnrollmentConfigurations/{{RID}}"
    );
    patch!(
        doc: "Update the navigation property deviceEnrollmentConfigurations in deviceManagement",
        name: update_device_enrollment_configurations,
        path: "/deviceEnrollmentConfigurations/{{RID}}",
        body: true
    );
    post!(
        doc: "Invoke action assign",
        name: assign,
        path: "/deviceEnrollmentConfigurations/{{RID}}/assign",
        body: true
    );
    post!(
        doc: "Create new navigation property to assignments for deviceManagement",
        name: create_assignments,
        path: "/deviceEnrollmentConfigurations/{{RID}}/assignments",
        body: true
    );
    get!(
        doc: "Get assignments from deviceManagement",
        name: list_assignments,
        path: "/deviceEnrollmentConfigurations/{{RID}}/assignments"
    );
    get!(
        doc: "Get the number of the resource",
        name: get_assignments_count,
        path: "/deviceEnrollmentConfigurations/{{RID}}/assignments/$count"
    );
    delete!(
        doc: "Delete navigation property assignments for deviceManagement",
        name: delete_assignments,
        path: "/deviceEnrollmentConfigurations/{{RID}}/assignments/{{id}}",
        params: enrollment_configuration_assignment_id
    );
    get!(
        doc: "Get assignments from deviceManagement",
        name: get_assignments,
        path: "/deviceEnrollmentConfigurations/{{RID}}/assignments/{{id}}",
        params: enrollment_configuration_assignment_id
    );
    patch!(
        doc: "Update the navigation property assignments in deviceManagement",
        name: update_assignments,
        path: "/deviceEnrollmentConfigurations/{{RID}}/assignments/{{id}}",
        body: true,
        params: enrollment_configuration_assignment_id
    );
    post!(
        doc: "Invoke action setPriority",
        name: set_priority,
        path: "/deviceEnrollmentConfigurations/{{RID}}/setPriority",
        body: true
    );
}