Class EducationSubmissionItemRequestBuilder

java.lang.Object
com.microsoft.kiota.BaseRequestBuilder
com.microsoft.graph.education.classes.item.assignments.item.submissions.item.EducationSubmissionItemRequestBuilder

@Generated("com.microsoft.kiota") public class EducationSubmissionItemRequestBuilder extends com.microsoft.kiota.BaseRequestBuilder
Provides operations to manage the submissions property of the microsoft.graph.educationAssignment entity.
  • Constructor Details

    • EducationSubmissionItemRequestBuilder

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

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

    • excuse

      @Nonnull public ExcuseRequestBuilder excuse()
      Provides operations to call the excuse method.
      Returns:
      a ExcuseRequestBuilder
    • outcomes

      @Nonnull public OutcomesRequestBuilder outcomes()
      Provides operations to manage the outcomes property of the microsoft.graph.educationSubmission entity.
      Returns:
      a OutcomesRequestBuilder
    • reassign

      @Nonnull public ReassignRequestBuilder reassign()
      Provides operations to call the reassign method.
      Returns:
      a ReassignRequestBuilder
    • resources

      @Nonnull public ResourcesRequestBuilder resources()
      Provides operations to manage the resources property of the microsoft.graph.educationSubmission entity.
      Returns:
      a ResourcesRequestBuilder
    • returnEscaped

      @Nonnull public ReturnRequestBuilder returnEscaped()
      Provides operations to call the return method.
      Returns:
      a ReturnRequestBuilder
    • setUpResourcesFolder

      @Nonnull public SetUpResourcesFolderRequestBuilder setUpResourcesFolder()
      Provides operations to call the setUpResourcesFolder method.
      Returns:
      a SetUpResourcesFolderRequestBuilder
    • submit

      @Nonnull public SubmitRequestBuilder submit()
      Provides operations to call the submit method.
      Returns:
      a SubmitRequestBuilder
    • submittedResources

      @Nonnull public SubmittedResourcesRequestBuilder submittedResources()
      Provides operations to manage the submittedResources property of the microsoft.graph.educationSubmission entity.
      Returns:
      a SubmittedResourcesRequestBuilder
    • unsubmit

      @Nonnull public UnsubmitRequestBuilder unsubmit()
      Provides operations to call the unsubmit method.
      Returns:
      a UnsubmitRequestBuilder
    • delete

      public void delete()
      Delete navigation property submissions for education
      Throws:
      ODataError - When receiving a 4XX or 5XX status code
    • delete

      public void delete(@Nullable Consumer<EducationSubmissionItemRequestBuilder.DeleteRequestConfiguration> requestConfiguration)
      Delete navigation property submissions for education
      Parameters:
      requestConfiguration - Configuration for the request such as headers, query parameters, and middleware options.
      Throws:
      ODataError - When receiving a 4XX or 5XX status code
    • get

      @Nullable public EducationSubmission get()
      Retrieve a particular submission. Only teachers, students, and applications with application permissions can perform this operation. A submission object represents a student's work for an assignment. Resources associated with the submission represent this work. Only the assignedTo student can see and modify the submission. A teacher or application with application permissions has full access to all submissions. The grade and feedback from a teacher are part of the educationOutcome associated with this object. Only teachers or applications with application permissions can add or change grades and feedback. Students will not see the grade or feedback until the assignment has been released.
      Returns:
      a EducationSubmission
      Throws:
      ODataError - When receiving a 4XX or 5XX status code
      See Also:
    • get

      @Nullable public EducationSubmission get(@Nullable Consumer<EducationSubmissionItemRequestBuilder.GetRequestConfiguration> requestConfiguration)
      Retrieve a particular submission. Only teachers, students, and applications with application permissions can perform this operation. A submission object represents a student's work for an assignment. Resources associated with the submission represent this work. Only the assignedTo student can see and modify the submission. A teacher or application with application permissions has full access to all submissions. The grade and feedback from a teacher are part of the educationOutcome associated with this object. Only teachers or applications with application permissions can add or change grades and feedback. Students will not see the grade or feedback until the assignment has been released.
      Parameters:
      requestConfiguration - Configuration for the request such as headers, query parameters, and middleware options.
      Returns:
      a EducationSubmission
      Throws:
      ODataError - When receiving a 4XX or 5XX status code
      See Also:
    • patch

      @Nullable public EducationSubmission patch(@Nonnull EducationSubmission body)
      Update the navigation property submissions in education
      Parameters:
      body - The request body
      Returns:
      a EducationSubmission
      Throws:
      ODataError - When receiving a 4XX or 5XX status code
    • patch

      @Nullable public EducationSubmission patch(@Nonnull EducationSubmission body, @Nullable Consumer<EducationSubmissionItemRequestBuilder.PatchRequestConfiguration> requestConfiguration)
      Update the navigation property submissions in education
      Parameters:
      body - The request body
      requestConfiguration - Configuration for the request such as headers, query parameters, and middleware options.
      Returns:
      a EducationSubmission
      Throws:
      ODataError - When receiving a 4XX or 5XX status code
    • toDeleteRequestInformation

      @Nonnull public com.microsoft.kiota.RequestInformation toDeleteRequestInformation()
      Delete navigation property submissions for education
      Returns:
      a RequestInformation
    • toDeleteRequestInformation

      @Nonnull public com.microsoft.kiota.RequestInformation toDeleteRequestInformation(@Nullable Consumer<EducationSubmissionItemRequestBuilder.DeleteRequestConfiguration> requestConfiguration)
      Delete navigation property submissions for education
      Parameters:
      requestConfiguration - Configuration for the request such as headers, query parameters, and middleware options.
      Returns:
      a RequestInformation
    • toGetRequestInformation

      @Nonnull public com.microsoft.kiota.RequestInformation toGetRequestInformation()
      Retrieve a particular submission. Only teachers, students, and applications with application permissions can perform this operation. A submission object represents a student's work for an assignment. Resources associated with the submission represent this work. Only the assignedTo student can see and modify the submission. A teacher or application with application permissions has full access to all submissions. The grade and feedback from a teacher are part of the educationOutcome associated with this object. Only teachers or applications with application permissions can add or change grades and feedback. Students will not see the grade or feedback until the assignment has been released.
      Returns:
      a RequestInformation
    • toGetRequestInformation

      @Nonnull public com.microsoft.kiota.RequestInformation toGetRequestInformation(@Nullable Consumer<EducationSubmissionItemRequestBuilder.GetRequestConfiguration> requestConfiguration)
      Retrieve a particular submission. Only teachers, students, and applications with application permissions can perform this operation. A submission object represents a student's work for an assignment. Resources associated with the submission represent this work. Only the assignedTo student can see and modify the submission. A teacher or application with application permissions has full access to all submissions. The grade and feedback from a teacher are part of the educationOutcome associated with this object. Only teachers or applications with application permissions can add or change grades and feedback. Students will not see the grade or feedback until the assignment has been released.
      Parameters:
      requestConfiguration - Configuration for the request such as headers, query parameters, and middleware options.
      Returns:
      a RequestInformation
    • toPatchRequestInformation

      @Nonnull public com.microsoft.kiota.RequestInformation toPatchRequestInformation(@Nonnull EducationSubmission body)
      Update the navigation property submissions in education
      Parameters:
      body - The request body
      Returns:
      a RequestInformation
    • toPatchRequestInformation

      @Nonnull public com.microsoft.kiota.RequestInformation toPatchRequestInformation(@Nonnull EducationSubmission body, @Nullable Consumer<EducationSubmissionItemRequestBuilder.PatchRequestConfiguration> requestConfiguration)
      Update the navigation property submissions in 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 EducationSubmissionItemRequestBuilder 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 EducationSubmissionItemRequestBuilder