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
use crate::client::Graph;
use graph_http::types::NoContent;
use graph_http::IntoResponse;
use reqwest::Method;

register_client!(InferenceClassificationRequest,);

impl<'a, Client> InferenceClassificationRequest<'a, Client>
where
    Client: graph_http::RequestClient,
{
    get!({
        doc: "# Get inferenceClassification from me",
        name: get_inference_classification,
        response: serde_json::Value,
        path: "/inferenceClassification",
        params: 0,
        has_body: false
    });

    patch!({
        doc: "# Update the navigation property inferenceClassification in me",
        name: update_inference_classification,
        response: NoContent,
        path: "/inferenceClassification",
        params: 0,
        has_body: true
    });

    get!({
        doc: "# Get overrides from me",
        name: list_overrides,
        response: serde_json::Value,
        path: "/inferenceClassification/overrides",
        params: 0,
        has_body: false
    });

    post!({
        doc: "# Create new navigation property to overrides for me",
        name: create_overrides,
        response: serde_json::Value,
        path: "/inferenceClassification/overrides",
        params: 0,
        has_body: true
    });

    get!({
        doc: "# Get overrides from me",
        name: get_overrides,
        response: serde_json::Value,
        path: "/inferenceClassification/overrides/{{id}}",
        params: 1,
        has_body: false
    });

    patch!({
        doc: "# Update the navigation property overrides in me",
        name: update_overrides,
        response: NoContent,
        path: "/inferenceClassification/overrides/{{id}}",
        params: 1,
        has_body: true
    });
}