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
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
// GENERATED CODE

use crate::api_default_imports::*;

resource_api_client!(
    EducationAssignmentsSubmissionsApiClient,
    EducationAssignmentsSubmissionsIdApiClient,
    ResourceIdentity::EducationAssignmentsSubmissions
);

impl EducationAssignmentsSubmissionsApiClient {
    post!(
        doc: "Create new navigation property to submissions for education",
        name: create_submissions,
        path: "/submissions",
        body: true
    );
    get!(
        doc: "List submissions",
        name: list_submissions,
        path: "/submissions"
    );
    get!(
        doc: "Get the number of the resource",
        name: get_submissions_count,
        path: "/submissions/$count"
    );
}

impl EducationAssignmentsSubmissionsIdApiClient {
    delete!(
        doc: "Delete navigation property submissions for education",
        name: delete_submissions,
        path: "/submissions/{{RID}}"
    );
    get!(
        doc: "Get submissions from education",
        name: get_submissions,
        path: "/submissions/{{RID}}"
    );
    patch!(
        doc: "Update the navigation property submissions in education",
        name: update_submissions,
        path: "/submissions/{{RID}}",
        body: true
    );
    post!(
        doc: "Create educationFeedbackResourceOutcome",
        name: create_outcomes,
        path: "/submissions/{{RID}}/outcomes",
        body: true
    );
    get!(
        doc: "List outcomes",
        name: list_outcomes,
        path: "/submissions/{{RID}}/outcomes"
    );
    get!(
        doc: "Get the number of the resource",
        name: get_outcomes_count,
        path: "/submissions/{{RID}}/outcomes/$count"
    );
    delete!(
        doc: "Delete navigation property outcomes for education",
        name: delete_outcomes,
        path: "/submissions/{{RID}}/outcomes/{{id}}",
        params: education_outcome_id
    );
    get!(
        doc: "Get outcomes from education",
        name: get_outcomes,
        path: "/submissions/{{RID}}/outcomes/{{id}}",
        params: education_outcome_id
    );
    patch!(
        doc: "Update the navigation property outcomes in education",
        name: update_outcomes,
        path: "/submissions/{{RID}}/outcomes/{{id}}",
        body: true,
        params: education_outcome_id
    );
    post!(
        doc: "Invoke action reassign",
        name: reassign,
        path: "/submissions/{{RID}}/reassign"
    );
    post!(
        doc: "Create educationSubmissionResource",
        name: create_resources,
        path: "/submissions/{{RID}}/resources",
        body: true
    );
    get!(
        doc: "List submission resources",
        name: list_resources,
        path: "/submissions/{{RID}}/resources"
    );
    get!(
        doc: "Get the number of the resource",
        name: get_resources_count,
        path: "/submissions/{{RID}}/resources/$count"
    );
    delete!(
        doc: "Delete navigation property resources for education",
        name: delete_resources,
        path: "/submissions/{{RID}}/resources/{{id}}",
        params: education_submission_resource_id
    );
    get!(
        doc: "Get resources from education",
        name: get_resources,
        path: "/submissions/{{RID}}/resources/{{id}}",
        params: education_submission_resource_id
    );
    patch!(
        doc: "Update the navigation property resources in education",
        name: update_resources,
        path: "/submissions/{{RID}}/resources/{{id}}",
        body: true,
        params: education_submission_resource_id
    );
    post!(
        doc: "Invoke action return",
        name: submissions_return,
        path: "/submissions/{{RID}}/return"
    );
    post!(
        doc: "Invoke action setUpResourcesFolder",
        name: set_up_resources_folder,
        path: "/submissions/{{RID}}/setUpResourcesFolder"
    );
    post!(
        doc: "Invoke action submit",
        name: submit,
        path: "/submissions/{{RID}}/submit"
    );
    post!(
        doc: "Create new navigation property to submittedResources for education",
        name: create_submitted_resources,
        path: "/submissions/{{RID}}/submittedResources",
        body: true
    );
    get!(
        doc: "List submittedResources",
        name: list_submitted_resources,
        path: "/submissions/{{RID}}/submittedResources"
    );
    get!(
        doc: "Get the number of the resource",
        name: get_submitted_resources_count,
        path: "/submissions/{{RID}}/submittedResources/$count"
    );
    delete!(
        doc: "Delete navigation property submittedResources for education",
        name: delete_submitted_resources,
        path: "/submissions/{{RID}}/submittedResources/{{id}}",
        params: education_submission_resource_id
    );
    get!(
        doc: "Get submittedResources from education",
        name: get_submitted_resources,
        path: "/submissions/{{RID}}/submittedResources/{{id}}",
        params: education_submission_resource_id
    );
    patch!(
        doc: "Update the navigation property submittedResources in education",
        name: update_submitted_resources,
        path: "/submissions/{{RID}}/submittedResources/{{id}}",
        body: true,
        params: education_submission_resource_id
    );
    post!(
        doc: "Invoke action unsubmit",
        name: unsubmit,
        path: "/submissions/{{RID}}/unsubmit"
    );
}