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

use crate::api_default_imports::*;

api_client!(
    TroubleshootingEventsApiClient,
    TroubleshootingEventsIdApiClient,
    ResourceIdentity::TroubleshootingEvents
);

impl TroubleshootingEventsApiClient {
    post!(
        doc: "Create new navigation property to troubleshootingEvents for deviceManagement",
        name: create_troubleshooting_events,
        path: "/troubleshootingEvents",
        body: true
    );
    get!(
        doc: "Get troubleshootingEvents from deviceManagement",
        name: list_troubleshooting_events,
        path: "/troubleshootingEvents"
    );
    get!(
        doc: "Get the number of the resource",
        name: get_troubleshooting_events_count,
        path: "/troubleshootingEvents/$count"
    );
}

impl TroubleshootingEventsIdApiClient {
    delete!(
        doc: "Delete navigation property troubleshootingEvents for deviceManagement",
        name: delete_troubleshooting_events,
        path: "/troubleshootingEvents/{{RID}}"
    );
    get!(
        doc: "Get troubleshootingEvents from deviceManagement",
        name: get_troubleshooting_events,
        path: "/troubleshootingEvents/{{RID}}"
    );
    patch!(
        doc: "Update the navigation property troubleshootingEvents in deviceManagement",
        name: update_troubleshooting_events,
        path: "/troubleshootingEvents/{{RID}}",
        body: true
    );
}