Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
15 commits
Select commit Hold shift + click to select a range
fa4b8b5
chore(deps): bump com.microsoft.graph:microsoft-graph-core in /java-8
dependabot[bot] Sep 12, 2025
c2e7800
chore(deps): bump com.microsoft.graph:microsoft-graph-core in /android
dependabot[bot] Sep 12, 2025
3d5f459
chore(deps): bump com.github.ben-manes:gradle-versions-plugin
dependabot[bot] Sep 24, 2025
0fb70d0
chore(deps): bump com.microsoft.graph:microsoft-graph-core
dependabot[bot] Oct 6, 2025
bb04ce8
chore(deps): bump github/codeql-action from 3 to 4
dependabot[bot] Oct 8, 2025
c80882e
chore(deps): bump actions/upload-artifact from 4 to 5
dependabot[bot] Oct 27, 2025
2c8146d
chore(deps-dev): bump org.junit.jupiter:junit-jupiter-api
dependabot[bot] Oct 31, 2025
e7af63b
feat(generation): update request builders and models
Nov 4, 2025
2ee1d66
Merge remote-tracking branch 'remotes/origin/dependabot/github_action…
MIchaelMainer Nov 6, 2025
d02e7ca
Merge remote-tracking branch 'remotes/origin/dependabot/github_action…
MIchaelMainer Nov 6, 2025
3eb5c25
Merge remote-tracking branch 'remotes/origin/dependabot/gradle/androi…
MIchaelMainer Nov 6, 2025
b50f302
Merge remote-tracking branch 'remotes/origin/dependabot/gradle/androi…
MIchaelMainer Nov 6, 2025
f58a621
Merge remote-tracking branch 'remotes/origin/dependabot/gradle/java-8…
MIchaelMainer Nov 6, 2025
06e46ca
Merge remote-tracking branch 'remotes/origin/dependabot/maven/com.mic…
MIchaelMainer Nov 6, 2025
d3265e1
Merge remote-tracking branch 'remotes/origin/dependabot/maven/junit-d…
MIchaelMainer Nov 6, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/api-level-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
working-directory: ./android
- name: Upload linting results
if: failure() && steps.lint.outcome == 'failure'
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v5
with:
name: lint-report
path: ./android/build/reports
4 changes: 2 additions & 2 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ jobs:

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v3
uses: github/codeql-action/init@v4
with:
languages: ${{ matrix.language }}
# If you wish to specify custom queries, you can do so here or in a config file.
Expand Down Expand Up @@ -81,6 +81,6 @@ jobs:
run: ./gradlew --no-build-cache build

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v3
uses: github/codeql-action/analyze@v4
with:
category: "/language:${{matrix.language}}"
4 changes: 2 additions & 2 deletions .github/workflows/gradle-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,14 +27,14 @@ jobs:
run: ./gradlew build
- name: Upload Unit Test Results
if: ${{ always() }}
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v5
with:
name: UnitTests
path: |
build/reports/tests/test/**
build/test-results/**
- name: Upload a Build Artifact
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v5
with:
name: drop
path: |
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/validate-public-api-surface.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,14 +35,14 @@ jobs:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Upload patch file as artifact
if: always()
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v5
continue-on-error: true
with:
name: patch
path: '*.patch'
- name: Upload explanations file as artifact
if: always()
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v5
continue-on-error: true
with:
name: explanations
Expand Down
2 changes: 1 addition & 1 deletion android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ buildscript {
dependencies {
classpath "com.gradle:gradle-enterprise-gradle-plugin:3.19.2"
classpath "gradle.plugin.com.github.viswaramamoorthy:gradle-util-plugins:0.1.0-RELEASE"
classpath "com.github.ben-manes:gradle-versions-plugin:0.52.0"
classpath "com.github.ben-manes:gradle-versions-plugin:0.53.0"
classpath "com.android.tools.build:gradle:8.13.0"
}
}
Expand Down
2 changes: 1 addition & 1 deletion gradle/dependencies.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ dependencies {
implementation 'jakarta.annotation:jakarta.annotation-api:2.1.1'

// Core Http library
api 'com.microsoft.graph:microsoft-graph-core:3.6.4'
api 'com.microsoft.graph:microsoft-graph-core:3.6.5'

implementation 'com.microsoft.kiota:microsoft-kiota-authentication-azure:1.8.10'
implementation 'com.microsoft.kiota:microsoft-kiota-http-okHttp:1.8.10'
Expand Down
4 changes: 2 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -30,12 +30,12 @@
<dependency>
<groupId>com.microsoft.graph</groupId>
<artifactId>microsoft-graph-core</artifactId>
<version>3.6.4</version>
<version>3.6.5</version>
</dependency>
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter-api</artifactId>
<version>5.13.4</version>
<version>6.0.0</version>
<scope>test</scope>
</dependency>
<dependency>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -457,7 +457,7 @@ public PermissionGrantsRequestBuilder permissionGrants() {
return new PermissionGrantsRequestBuilder(pathParameters, requestAdapter);
}
/**
* The places property
* Provides operations to manage the collection of place entities.
* @return a {@link PlacesRequestBuilder}
*/
@jakarta.annotation.Nonnull
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
import com.microsoft.graph.education.classes.item.assignments.item.categories.CategoriesRequestBuilder;
import com.microsoft.graph.education.classes.item.assignments.item.deactivate.DeactivateRequestBuilder;
import com.microsoft.graph.education.classes.item.assignments.item.gradingcategory.GradingCategoryRequestBuilder;
import com.microsoft.graph.education.classes.item.assignments.item.gradingscheme.GradingSchemeRequestBuilder;
import com.microsoft.graph.education.classes.item.assignments.item.publish.PublishRequestBuilder;
import com.microsoft.graph.education.classes.item.assignments.item.resources.ResourcesRequestBuilder;
import com.microsoft.graph.education.classes.item.assignments.item.rubric.RubricRequestBuilder;
Expand Down Expand Up @@ -62,6 +63,14 @@ public DeactivateRequestBuilder deactivate() {
public GradingCategoryRequestBuilder gradingCategory() {
return new GradingCategoryRequestBuilder(pathParameters, requestAdapter);
}
/**
* Provides operations to manage the gradingScheme property of the microsoft.graph.educationAssignment entity.
* @return a {@link GradingSchemeRequestBuilder}
*/
@jakarta.annotation.Nonnull
public GradingSchemeRequestBuilder gradingScheme() {
return new GradingSchemeRequestBuilder(pathParameters, requestAdapter);
}
/**
* Provides operations to call the publish method.
* @return a {@link PublishRequestBuilder}
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,129 @@
package com.microsoft.graph.education.classes.item.assignments.item.gradingscheme;

import com.microsoft.graph.models.EducationGradingScheme;
import com.microsoft.graph.models.odataerrors.ODataError;
import com.microsoft.kiota.BaseRequestBuilder;
import com.microsoft.kiota.BaseRequestConfiguration;
import com.microsoft.kiota.HttpMethod;
import com.microsoft.kiota.QueryParameters;
import com.microsoft.kiota.RequestAdapter;
import com.microsoft.kiota.RequestInformation;
import com.microsoft.kiota.RequestOption;
import com.microsoft.kiota.serialization.Parsable;
import com.microsoft.kiota.serialization.ParsableFactory;
import java.util.Collection;
import java.util.HashMap;
import java.util.Map;
import java.util.Objects;
/**
* Provides operations to manage the gradingScheme property of the microsoft.graph.educationAssignment entity.
*/
@jakarta.annotation.Generated("com.microsoft.kiota")
public class GradingSchemeRequestBuilder extends BaseRequestBuilder {
/**
* Instantiates a new {@link GradingSchemeRequestBuilder} and sets the default values.
* @param pathParameters Path parameters for the request
* @param requestAdapter The request adapter to use to execute the requests.
*/
public GradingSchemeRequestBuilder(@jakarta.annotation.Nonnull final HashMap<String, Object> pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) {
super(requestAdapter, "{+baseurl}/education/classes/{educationClass%2Did}/assignments/{educationAssignment%2Did}/gradingScheme{?%24expand,%24select}", pathParameters);
}
/**
* Instantiates a new {@link GradingSchemeRequestBuilder} and sets the default values.
* @param rawUrl The raw URL to use for the request builder.
* @param requestAdapter The request adapter to use to execute the requests.
*/
public GradingSchemeRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) {
super(requestAdapter, "{+baseurl}/education/classes/{educationClass%2Did}/assignments/{educationAssignment%2Did}/gradingScheme{?%24expand,%24select}", rawUrl);
}
/**
* When set, enables users to configure custom string grades based on the percentage of total points earned on this assignment.
* @return a {@link EducationGradingScheme}
* @throws ODataError When receiving a 4XX or 5XX status code
*/
@jakarta.annotation.Nullable
public EducationGradingScheme get() {
return get(null);
}
/**
* When set, enables users to configure custom string grades based on the percentage of total points earned on this assignment.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link EducationGradingScheme}
* @throws ODataError When receiving a 4XX or 5XX status code
*/
@jakarta.annotation.Nullable
public EducationGradingScheme get(@jakarta.annotation.Nullable final java.util.function.Consumer<GetRequestConfiguration> requestConfiguration) {
final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration);
final HashMap<String, ParsableFactory<? extends Parsable>> errorMapping = new HashMap<String, ParsableFactory<? extends Parsable>>();
errorMapping.put("XXX", ODataError::createFromDiscriminatorValue);
return this.requestAdapter.send(requestInfo, errorMapping, EducationGradingScheme::createFromDiscriminatorValue);
}
/**
* When set, enables users to configure custom string grades based on the percentage of total points earned on this assignment.
* @return a {@link RequestInformation}
*/
@jakarta.annotation.Nonnull
public RequestInformation toGetRequestInformation() {
return toGetRequestInformation(null);
}
/**
* When set, enables users to configure custom string grades based on the percentage of total points earned on this assignment.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link RequestInformation}
*/
@jakarta.annotation.Nonnull
public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer<GetRequestConfiguration> requestConfiguration) {
final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters);
requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters);
requestInfo.headers.tryAdd("Accept", "application/json");
return requestInfo;
}
/**
* Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored.
* @param rawUrl The raw URL to use for the request builder.
* @return a {@link GradingSchemeRequestBuilder}
*/
@jakarta.annotation.Nonnull
public GradingSchemeRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) {
Objects.requireNonNull(rawUrl);
return new GradingSchemeRequestBuilder(rawUrl, requestAdapter);
}
/**
* When set, enables users to configure custom string grades based on the percentage of total points earned on this assignment.
*/
@jakarta.annotation.Generated("com.microsoft.kiota")
public class GetQueryParameters implements QueryParameters {
/**
* Expand related entities
*/
@jakarta.annotation.Nullable
public String[] expand;
/**
* Select properties to be returned
*/
@jakarta.annotation.Nullable
public String[] select;
/**
* Extracts the query parameters into a map for the URI template parsing.
* @return a {@link Map<String, Object>}
*/
@jakarta.annotation.Nonnull
public Map<String, Object> toQueryParameters() {
final Map<String, Object> allQueryParams = new HashMap();
allQueryParams.put("%24expand", expand);
allQueryParams.put("%24select", select);
return allQueryParams;
}
}
/**
* Configuration for the request such as headers, query parameters, and middleware options.
*/
@jakarta.annotation.Generated("com.microsoft.kiota")
public class GetRequestConfiguration extends BaseRequestConfiguration {
/**
* Request query parameters
*/
@jakarta.annotation.Nullable
public GetQueryParameters queryParameters = new GetQueryParameters();
}
}
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
package com.microsoft.graph.education.classes.item.assignmentsettings;

import com.microsoft.graph.education.classes.item.assignmentsettings.defaultgradingscheme.DefaultGradingSchemeRequestBuilder;
import com.microsoft.graph.education.classes.item.assignmentsettings.gradingcategories.GradingCategoriesRequestBuilder;
import com.microsoft.graph.education.classes.item.assignmentsettings.gradingschemes.GradingSchemesRequestBuilder;
import com.microsoft.graph.models.EducationAssignmentSettings;
import com.microsoft.graph.models.odataerrors.ODataError;
import com.microsoft.kiota.BaseRequestBuilder;
Expand All @@ -21,6 +23,14 @@
*/
@jakarta.annotation.Generated("com.microsoft.kiota")
public class AssignmentSettingsRequestBuilder extends BaseRequestBuilder {
/**
* Provides operations to manage the defaultGradingScheme property of the microsoft.graph.educationAssignmentSettings entity.
* @return a {@link DefaultGradingSchemeRequestBuilder}
*/
@jakarta.annotation.Nonnull
public DefaultGradingSchemeRequestBuilder defaultGradingScheme() {
return new DefaultGradingSchemeRequestBuilder(pathParameters, requestAdapter);
}
/**
* Provides operations to manage the gradingCategories property of the microsoft.graph.educationAssignmentSettings entity.
* @return a {@link GradingCategoriesRequestBuilder}
Expand All @@ -29,6 +39,14 @@ public class AssignmentSettingsRequestBuilder extends BaseRequestBuilder {
public GradingCategoriesRequestBuilder gradingCategories() {
return new GradingCategoriesRequestBuilder(pathParameters, requestAdapter);
}
/**
* Provides operations to manage the gradingSchemes property of the microsoft.graph.educationAssignmentSettings entity.
* @return a {@link GradingSchemesRequestBuilder}
*/
@jakarta.annotation.Nonnull
public GradingSchemesRequestBuilder gradingSchemes() {
return new GradingSchemesRequestBuilder(pathParameters, requestAdapter);
}
/**
* Instantiates a new {@link AssignmentSettingsRequestBuilder} and sets the default values.
* @param pathParameters Path parameters for the request
Expand Down
Loading
Loading