Package com.microsoft.graph.education.classes.item.assignments.item.submissions.item.submittedresources
Class SubmittedResourcesRequestBuilder
java.lang.Object
com.microsoft.kiota.BaseRequestBuilder
com.microsoft.graph.education.classes.item.assignments.item.submissions.item.submittedresources.SubmittedResourcesRequestBuilder
@Generated("com.microsoft.kiota")
public class SubmittedResourcesRequestBuilder
extends com.microsoft.kiota.BaseRequestBuilder
Provides operations to manage the submittedResources property of the microsoft.graph.educationSubmission entity.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionclassList the educationSubmissionResource objects that were officially submitted for grading.classConfiguration for the request such as headers, query parameters, and middleware options.classConfiguration for the request such as headers, query parameters, and middleware options. -
Field Summary
Fields inherited from class com.microsoft.kiota.BaseRequestBuilder
pathParameters, requestAdapter, urlTemplate -
Constructor Summary
ConstructorsConstructorDescriptionSubmittedResourcesRequestBuilder(String rawUrl, com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newSubmittedResourcesRequestBuilderand sets the default values.SubmittedResourcesRequestBuilder(HashMap<String, Object> pathParameters, com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newSubmittedResourcesRequestBuilderand sets the default values. -
Method Summary
Modifier and TypeMethodDescriptionbyEducationSubmissionResourceId(String educationSubmissionResourceId) Provides operations to manage the submittedResources property of the microsoft.graph.educationSubmission entity.count()Provides operations to count the resources in the collection.get()List the educationSubmissionResource objects that were officially submitted for grading.get(Consumer<SubmittedResourcesRequestBuilder.GetRequestConfiguration> requestConfiguration) List the educationSubmissionResource objects that were officially submitted for grading.Create new navigation property to submittedResources for educationpost(EducationSubmissionResource body, Consumer<SubmittedResourcesRequestBuilder.PostRequestConfiguration> requestConfiguration) Create new navigation property to submittedResources for educationcom.microsoft.kiota.RequestInformationList the educationSubmissionResource objects that were officially submitted for grading.com.microsoft.kiota.RequestInformationtoGetRequestInformation(Consumer<SubmittedResourcesRequestBuilder.GetRequestConfiguration> requestConfiguration) List the educationSubmissionResource objects that were officially submitted for grading.com.microsoft.kiota.RequestInformationCreate new navigation property to submittedResources for educationcom.microsoft.kiota.RequestInformationtoPostRequestInformation(EducationSubmissionResource body, Consumer<SubmittedResourcesRequestBuilder.PostRequestConfiguration> requestConfiguration) Create new navigation property to submittedResources for educationReturns a request builder with the provided arbitrary URL.
-
Constructor Details
-
SubmittedResourcesRequestBuilder
public SubmittedResourcesRequestBuilder(@Nonnull HashMap<String, Object> pathParameters, @Nonnull com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newSubmittedResourcesRequestBuilderand sets the default values.- Parameters:
pathParameters- Path parameters for the requestrequestAdapter- The request adapter to use to execute the requests.
-
SubmittedResourcesRequestBuilder
public SubmittedResourcesRequestBuilder(@Nonnull String rawUrl, @Nonnull com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newSubmittedResourcesRequestBuilderand sets the default values.- Parameters:
rawUrl- The raw URL to use for the request builder.requestAdapter- The request adapter to use to execute the requests.
-
-
Method Details
-
count
Provides operations to count the resources in the collection.- Returns:
- a
CountRequestBuilder
-
byEducationSubmissionResourceId
@Nonnull public EducationSubmissionResourceItemRequestBuilder byEducationSubmissionResourceId(@Nonnull String educationSubmissionResourceId) Provides operations to manage the submittedResources property of the microsoft.graph.educationSubmission entity.- Parameters:
educationSubmissionResourceId- The unique identifier of educationSubmissionResource- Returns:
- a
EducationSubmissionResourceItemRequestBuilder
-
get
List the educationSubmissionResource objects that were officially submitted for grading. Only teachers, students, and applications with application permissions can perform this operation. The student who owns the submission can't change the submitted list without resubmitting the assignment. This resource is a wrapper around the real resource and can contain a pointer back to the actual assignment resource if this resource was copied from the assignment.- Returns:
- a
EducationSubmissionResourceCollectionResponse - Throws:
ODataError- When receiving a 4XX or 5XX status code- See Also:
-
get
@Nullable public EducationSubmissionResourceCollectionResponse get(@Nullable Consumer<SubmittedResourcesRequestBuilder.GetRequestConfiguration> requestConfiguration) List the educationSubmissionResource objects that were officially submitted for grading. Only teachers, students, and applications with application permissions can perform this operation. The student who owns the submission can't change the submitted list without resubmitting the assignment. This resource is a wrapper around the real resource and can contain a pointer back to the actual assignment resource if this resource was copied from the assignment.- Parameters:
requestConfiguration- Configuration for the request such as headers, query parameters, and middleware options.- Returns:
- a
EducationSubmissionResourceCollectionResponse - Throws:
ODataError- When receiving a 4XX or 5XX status code- See Also:
-
post
Create new navigation property to submittedResources for education- Parameters:
body- The request body- Returns:
- a
EducationSubmissionResource - Throws:
ODataError- When receiving a 4XX or 5XX status code
-
post
@Nullable public EducationSubmissionResource post(@Nonnull EducationSubmissionResource body, @Nullable Consumer<SubmittedResourcesRequestBuilder.PostRequestConfiguration> requestConfiguration) Create new navigation property to submittedResources for education- Parameters:
body- The request bodyrequestConfiguration- Configuration for the request such as headers, query parameters, and middleware options.- Returns:
- a
EducationSubmissionResource - Throws:
ODataError- When receiving a 4XX or 5XX status code
-
toGetRequestInformation
@Nonnull public com.microsoft.kiota.RequestInformation toGetRequestInformation()List the educationSubmissionResource objects that were officially submitted for grading. Only teachers, students, and applications with application permissions can perform this operation. The student who owns the submission can't change the submitted list without resubmitting the assignment. This resource is a wrapper around the real resource and can contain a pointer back to the actual assignment resource if this resource was copied from the assignment.- Returns:
- a
RequestInformation
-
toGetRequestInformation
@Nonnull public com.microsoft.kiota.RequestInformation toGetRequestInformation(@Nullable Consumer<SubmittedResourcesRequestBuilder.GetRequestConfiguration> requestConfiguration) List the educationSubmissionResource objects that were officially submitted for grading. Only teachers, students, and applications with application permissions can perform this operation. The student who owns the submission can't change the submitted list without resubmitting the assignment. This resource is a wrapper around the real resource and can contain a pointer back to the actual assignment resource if this resource was copied from the assignment.- Parameters:
requestConfiguration- Configuration for the request such as headers, query parameters, and middleware options.- Returns:
- a
RequestInformation
-
toPostRequestInformation
@Nonnull public com.microsoft.kiota.RequestInformation toPostRequestInformation(@Nonnull EducationSubmissionResource body) Create new navigation property to submittedResources for education- Parameters:
body- The request body- Returns:
- a
RequestInformation
-
toPostRequestInformation
@Nonnull public com.microsoft.kiota.RequestInformation toPostRequestInformation(@Nonnull EducationSubmissionResource body, @Nullable Consumer<SubmittedResourcesRequestBuilder.PostRequestConfiguration> requestConfiguration) Create new navigation property to submittedResources for education- Parameters:
body- The request bodyrequestConfiguration- Configuration for the request such as headers, query parameters, and middleware options.- Returns:
- a
RequestInformation
-
withUrl
Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored.- Parameters:
rawUrl- The raw URL to use for the request builder.- Returns:
- a
SubmittedResourcesRequestBuilder
-