graph_rs_sdk/authentication_method_configurations/
request.rs

1// GENERATED CODE
2
3use crate::api_default_imports::*;
4
5api_client!(
6    AuthenticationMethodConfigurationsApiClient,
7    AuthenticationMethodConfigurationsIdApiClient,
8    ResourceIdentity::AuthenticationMethodConfigurations
9);
10
11impl AuthenticationMethodConfigurationsApiClient {
12    post!(
13        doc: "Add new entity to authenticationMethodConfigurations",
14        name: create_authentication_method_configuration,
15        path: "/authenticationMethodConfigurations",
16        body: true
17    );
18    get!(
19        doc: "Get entities from authenticationMethodConfigurations",
20        name: list_authentication_method_configuration,
21        path: "/authenticationMethodConfigurations"
22    );
23    get!(
24        doc: "Get the number of the resource",
25        name: get_authentication_method_configurations_count,
26        path: "/authenticationMethodConfigurations/$count"
27    );
28}
29
30impl AuthenticationMethodConfigurationsIdApiClient {
31    delete!(
32        doc: "Delete entity from authenticationMethodConfigurations",
33        name: delete_authentication_method_configuration,
34        path: "/authenticationMethodConfigurations/{{RID}}"
35    );
36    get!(
37        doc: "Get entity from authenticationMethodConfigurations by key",
38        name: get_authentication_method_configuration,
39        path: "/authenticationMethodConfigurations/{{RID}}"
40    );
41    patch!(
42        doc: "Update entity in authenticationMethodConfigurations",
43        name: update_authentication_method_configuration,
44        path: "/authenticationMethodConfigurations/{{RID}}",
45        body: true
46    );
47}