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::*;

resource_api_client!(
    PermissionGrantsApiClient,
    PermissionGrantsIdApiClient,
    ResourceIdentity::PermissionGrants
);

impl PermissionGrantsApiClient {
    post!(
        doc: "Add new entity to permissionGrants",
        name: create_resource_specific_permission_grant,
        path: "/permissionGrants",
        body: true
    );
    get!(
        doc: "Get entities from permissionGrants",
        name: list_resource_specific_permission_grant,
        path: "/permissionGrants"
    );
    get!(
        doc: "Invoke function delta",
        name: delta,
        path: "/permissionGrants/delta()"
    );
    post!(
        doc: "Invoke action getAvailableExtensionProperties",
        name: get_available_extension_properties,
        path: "/permissionGrants/getAvailableExtensionProperties",
        body: true
    );
    post!(
        doc: "Invoke action getByIds",
        name: get_by_ids,
        path: "/permissionGrants/getByIds",
        body: true
    );
    post!(
        doc: "Invoke action validateProperties",
        name: validate_properties,
        path: "/permissionGrants/validateProperties",
        body: true
    );
}

impl PermissionGrantsIdApiClient {
    delete!(
        doc: "Delete entity from permissionGrants",
        name: delete_resource_specific_permission_grant,
        path: "/permissionGrants/{{RID}}"
    );
    get!(
        doc: "Get entity from permissionGrants by key",
        name: get_resource_specific_permission_grant,
        path: "/permissionGrants/{{RID}}"
    );
    patch!(
        doc: "Update entity in permissionGrants",
        name: update_resource_specific_permission_grant,
        path: "/permissionGrants/{{RID}}",
        body: true
    );
    post!(
        doc: "Invoke action checkMemberGroups",
        name: check_member_groups,
        path: "/permissionGrants/{{RID}}/checkMemberGroups",
        body: true
    );
    post!(
        doc: "Invoke action checkMemberObjects",
        name: check_member_objects,
        path: "/permissionGrants/{{RID}}/checkMemberObjects",
        body: true
    );
    post!(
        doc: "Invoke action getMemberGroups",
        name: get_member_groups,
        path: "/permissionGrants/{{RID}}/getMemberGroups",
        body: true
    );
    post!(
        doc: "Invoke action getMemberObjects",
        name: get_member_objects,
        path: "/permissionGrants/{{RID}}/getMemberObjects",
        body: true
    );
    post!(
        doc: "Invoke action restore",
        name: restore,
        path: "/permissionGrants/{{RID}}/restore"
    );
}