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

use crate::api_default_imports::*;

resource_api_client!(
    AssignmentPoliciesApiClient,
    AssignmentPoliciesIdApiClient,
    ResourceIdentity::AssignmentPolicies
);

impl AssignmentPoliciesApiClient {
    post!(
        doc: "Create assignmentPolicies",
        name: create_assignment_policies,
        path: "/assignmentPolicies",
        body: true
    );
    get!(
        doc: "List assignmentPolicies",
        name: list_assignment_policies,
        path: "/assignmentPolicies"
    );
    get!(
        doc: "Get the number of the resource",
        name: get_assignment_policies_count,
        path: "/assignmentPolicies/$count"
    );
}

impl AssignmentPoliciesIdApiClient {
    delete!(
        doc: "Delete navigation property assignmentPolicies for identityGovernance",
        name: delete_assignment_policies,
        path: "/assignmentPolicies/{{RID}}"
    );
    get!(
        doc: "Get assignmentPolicies from identityGovernance",
        name: get_assignment_policies,
        path: "/assignmentPolicies/{{RID}}"
    );
    put!(
        doc: "Update the navigation property assignmentPolicies in identityGovernance",
        name: update_assignment_policies,
        path: "/assignmentPolicies/{{RID}}",
        body: true
    );
    get!(
        doc: "Get accessPackage from identityGovernance",
        name: get_access_package,
        path: "/assignmentPolicies/{{RID}}/accessPackage"
    );
    get!(
        doc: "Get catalog from identityGovernance",
        name: get_catalog,
        path: "/assignmentPolicies/{{RID}}/catalog"
    );
    post!(
        doc: "Create new navigation property to questions for identityGovernance",
        name: create_questions,
        path: "/assignmentPolicies/{{RID}}/questions",
        body: true
    );
    get!(
        doc: "Get questions from identityGovernance",
        name: list_questions,
        path: "/assignmentPolicies/{{RID}}/questions"
    );
    get!(
        doc: "Get the number of the resource",
        name: get_questions_count,
        path: "/assignmentPolicies/{{RID}}/questions/$count"
    );
    delete!(
        doc: "Delete navigation property questions for identityGovernance",
        name: delete_questions,
        path: "/assignmentPolicies/{{RID}}/questions/{{id}}",
        params: access_package_question_id
    );
    get!(
        doc: "Get questions from identityGovernance",
        name: get_questions,
        path: "/assignmentPolicies/{{RID}}/questions/{{id}}",
        params: access_package_question_id
    );
    patch!(
        doc: "Update the navigation property questions in identityGovernance",
        name: update_questions,
        path: "/assignmentPolicies/{{RID}}/questions/{{id}}",
        body: true,
        params: access_package_question_id
    );
}