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.
  • Constructor Details

    • SubmittedResourcesRequestBuilder

      public SubmittedResourcesRequestBuilder(@Nonnull HashMap<String,Object> pathParameters, @Nonnull com.microsoft.kiota.RequestAdapter requestAdapter)
      Instantiates a new SubmittedResourcesRequestBuilder and sets the default values.
      Parameters:
      pathParameters - Path parameters for the request
      requestAdapter - The request adapter to use to execute the requests.
    • SubmittedResourcesRequestBuilder

      public SubmittedResourcesRequestBuilder(@Nonnull String rawUrl, @Nonnull com.microsoft.kiota.RequestAdapter requestAdapter)
      Instantiates a new SubmittedResourcesRequestBuilder and 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

      @Nonnull public CountRequestBuilder 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

      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

      @Nullable public EducationSubmissionResource post(@Nonnull EducationSubmissionResource body)
      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

      Create new navigation property to submittedResources for education
      Parameters:
      body - The request body
      requestConfiguration - 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 body
      requestConfiguration - Configuration for the request such as headers, query parameters, and middleware options.
      Returns:
      a RequestInformation
    • withUrl

      @Nonnull public SubmittedResourcesRequestBuilder withUrl(@Nonnull String rawUrl)
      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