graph_rs_sdk/data_policy_operations/
request.rs

1// GENERATED CODE
2
3use crate::api_default_imports::*;
4
5api_client!(
6    DataPolicyOperationsApiClient,
7    ResourceIdentity::DataPolicyOperations
8);
9
10impl DataPolicyOperationsApiClient {
11    post!(
12        doc: "Add new entity to dataPolicyOperations",
13        name: create_data_policy_operation,
14        path: "/dataPolicyOperations",
15        body: true
16    );
17    get!(
18        doc: "Get dataPolicyOperation",
19        name: list_data_policy_operation,
20        path: "/dataPolicyOperations"
21    );
22    get!(
23        doc: "Get the number of the resource",
24        name: get_data_policy_operations_count,
25        path: "/dataPolicyOperations/$count"
26    );
27    delete!(
28        doc: "Delete entity from dataPolicyOperations",
29        name: delete_data_policy_operation,
30        path: "/dataPolicyOperations/{{RID}}"
31    );
32    get!(
33        doc: "Get dataPolicyOperation",
34        name: get_data_policy_operation,
35        path: "/dataPolicyOperations/{{RID}}"
36    );
37    patch!(
38        doc: "Update entity in dataPolicyOperations",
39        name: update_data_policy_operation,
40        path: "/dataPolicyOperations/{{RID}}",
41        body: true
42    );
43}