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

use crate::api_default_imports::*;

resource_api_client!(
    VppTokensApiClient,
    VppTokensIdApiClient,
    ResourceIdentity::VppTokens
);

impl VppTokensApiClient {
    post!(
        doc: "Create new navigation property to vppTokens for deviceAppManagement",
        name: create_vpp_tokens,
        path: "/vppTokens",
        body: true
    );
    get!(
        doc: "Get vppTokens from deviceAppManagement",
        name: list_vpp_tokens,
        path: "/vppTokens"
    );
    get!(
        doc: "Get the number of the resource",
        name: get_vpp_tokens_count,
        path: "/vppTokens/$count"
    );
}

impl VppTokensIdApiClient {
    delete!(
        doc: "Delete navigation property vppTokens for deviceAppManagement",
        name: delete_vpp_tokens,
        path: "/vppTokens/{{RID}}"
    );
    get!(
        doc: "Get vppTokens from deviceAppManagement",
        name: get_vpp_tokens,
        path: "/vppTokens/{{RID}}"
    );
    patch!(
        doc: "Update the navigation property vppTokens in deviceAppManagement",
        name: update_vpp_tokens,
        path: "/vppTokens/{{RID}}",
        body: true
    );
    post!(
        doc: "Invoke action syncLicenses",
        name: sync_licenses,
        path: "/vppTokens/{{RID}}/syncLicenses"
    );
}