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
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
// GENERATED CODE

use crate::api_default_imports::*;
use crate::education::*;

resource_api_client!(
    EducationUsersApiClient,
    EducationUsersIdApiClient,
    ResourceIdentity::EducationUsers
);

impl EducationUsersApiClient {
    post!(
        doc: "Create educationUser",
        name: create_users,
        path: "/users",
        body: true
    );
    get!(
        doc: "List educationUsers",
        name: list_users,
        path: "/users"
    );
    get!(
        doc: "Get the number of the resource",
        name: get_users_count,
        path: "/users/$count"
    );
    get!(
        doc: "Invoke function delta",
        name: delta,
        path: "/users/delta()"
    );
}

impl EducationUsersIdApiClient {
    api_client_link_id!(assignment, EducationAssignmentsIdApiClient);
    api_client_link!(assignments, EducationAssignmentsApiClient);

    delete!(
        doc: "Delete navigation property users for education",
        name: delete_users,
        path: "/users/{{RID}}"
    );
    get!(
        doc: "Get users from education",
        name: get_users,
        path: "/users/{{RID}}"
    );
    patch!(
        doc: "Update the navigation property users in education",
        name: update_users,
        path: "/users/{{RID}}",
        body: true
    );
    get!(
        doc: "List classes of an educationUser",
        name: list_classes,
        path: "/users/{{RID}}/classes"
    );
    get!(
        doc: "Get the number of the resource",
        name: get_classes_count,
        path: "/users/{{RID}}/classes/$count"
    );
    get!(
        doc: "Get classes from education",
        name: get_classes,
        path: "/users/{{RID}}/classes/{{id}}",
        params: education_class_id
    );
    post!(
        doc: "Create educationRubric",
        name: create_rubrics,
        path: "/users/{{RID}}/rubrics",
        body: true
    );
    get!(
        doc: "List rubrics",
        name: list_rubrics,
        path: "/users/{{RID}}/rubrics"
    );
    get!(
        doc: "Get the number of the resource",
        name: get_rubrics_count,
        path: "/users/{{RID}}/rubrics/$count"
    );
    delete!(
        doc: "Delete navigation property rubrics for education",
        name: delete_rubrics,
        path: "/users/{{RID}}/rubrics/{{id}}",
        params: education_rubric_id
    );
    get!(
        doc: "Get rubrics from education",
        name: get_rubrics,
        path: "/users/{{RID}}/rubrics/{{id}}",
        params: education_rubric_id
    );
    patch!(
        doc: "Update the navigation property rubrics in education",
        name: update_rubrics,
        path: "/users/{{RID}}/rubrics/{{id}}",
        body: true,
        params: education_rubric_id
    );
    get!(
        doc: "List schools of an educationUser",
        name: list_schools,
        path: "/users/{{RID}}/schools"
    );
    get!(
        doc: "Get the number of the resource",
        name: get_schools_count,
        path: "/users/{{RID}}/schools/$count"
    );
    get!(
        doc: "Get schools from education",
        name: get_schools,
        path: "/users/{{RID}}/schools/{{id}}",
        params: education_school_id
    );
    get!(
        doc: "List taughtClasses",
        name: list_taught_classes,
        path: "/users/{{RID}}/taughtClasses"
    );
    get!(
        doc: "Get the number of the resource",
        name: get_taught_classes_count,
        path: "/users/{{RID}}/taughtClasses/$count"
    );
    get!(
        doc: "Get taughtClasses from education",
        name: get_taught_classes,
        path: "/users/{{RID}}/taughtClasses/{{id}}",
        params: education_class_id
    );
    get!(
        doc: "Get educationUser",
        name: get_user,
        path: "/users/{{RID}}/user"
    );
}