diff --git a/.release-please-manifest.json b/.release-please-manifest.json index c04fd051fa1..f47bf391d10 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,3 +1,3 @@ { - ".": "6.44.0" + ".": "6.45.0" } diff --git a/CHANGELOG.md b/CHANGELOG.md index fc55feb46a0..51a80aab6da 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,13 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [6.45.0](https://github.com/microsoftgraph/msgraph-beta-sdk-java/compare/v6.44.0...v6.45.0) (2025-05-20) + + +### Features + +* **generation:** update request builders and models ([5b76d1f](https://github.com/microsoftgraph/msgraph-beta-sdk-java/commit/5b76d1f81dedc11db2d45dfbb285f67bcbec666c)) + ## [6.44.0](https://github.com/microsoftgraph/msgraph-beta-sdk-java/compare/v6.43.0...v6.44.0) (2025-05-13) diff --git a/README.md b/README.md index 7da5c18a676..1d0ee24febd 100644 --- a/README.md +++ b/README.md @@ -22,7 +22,7 @@ repositories { dependencies { // Include the sdk as a dependency // x-release-please-start-version - implementation 'com.microsoft.graph:microsoft-graph-beta:6.44.0' + implementation 'com.microsoft.graph:microsoft-graph-beta:6.45.0' // x-release-please-end // This dependency is only needed if you are using the TokenCrendentialAuthProvider implementation 'com.azure:azure-identity:1.11.0' @@ -39,7 +39,7 @@ Add the dependency in `dependencies` in pom.xml com.microsoft.graph microsoft-graph-beta - 6.44.0 + 6.45.0 diff --git a/gradle.properties b/gradle.properties index b68b17b839c..729336322a7 100644 --- a/gradle.properties +++ b/gradle.properties @@ -29,7 +29,7 @@ mavenArtifactId = microsoft-graph-beta mavenMajorVersion = 6 # x-release-please-end # x-release-please-start-minor -mavenMinorVersion = 44 +mavenMinorVersion = 45 # x-release-please-end # x-release-please-start-patch mavenPatchVersion = 0 diff --git a/src/main/java/com/microsoft/graph/beta/generated/admin/people/PeopleRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/admin/people/PeopleRequestBuilder.java index d1a388a6f9a..7a300d0e224 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/admin/people/PeopleRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/admin/people/PeopleRequestBuilder.java @@ -3,6 +3,7 @@ import com.microsoft.graph.beta.admin.people.iteminsights.ItemInsightsRequestBuilder; import com.microsoft.graph.beta.admin.people.namepronunciation.NamePronunciationRequestBuilder; import com.microsoft.graph.beta.admin.people.profilecardproperties.ProfileCardPropertiesRequestBuilder; +import com.microsoft.graph.beta.admin.people.profilepropertysettings.ProfilePropertySettingsRequestBuilder; import com.microsoft.graph.beta.admin.people.pronouns.PronounsRequestBuilder; import com.microsoft.graph.beta.models.odataerrors.ODataError; import com.microsoft.graph.beta.models.PeopleAdminSettings; @@ -48,6 +49,14 @@ public NamePronunciationRequestBuilder namePronunciation() { public ProfileCardPropertiesRequestBuilder profileCardProperties() { return new ProfileCardPropertiesRequestBuilder(pathParameters, requestAdapter); } + /** + * Provides operations to manage the profilePropertySettings property of the microsoft.graph.peopleAdminSettings entity. + * @return a {@link ProfilePropertySettingsRequestBuilder} + */ + @jakarta.annotation.Nonnull + public ProfilePropertySettingsRequestBuilder profilePropertySettings() { + return new ProfilePropertySettingsRequestBuilder(pathParameters, requestAdapter); + } /** * Provides operations to manage the pronouns property of the microsoft.graph.peopleAdminSettings entity. * @return a {@link PronounsRequestBuilder} diff --git a/src/main/java/com/microsoft/graph/beta/generated/admin/people/profilepropertysettings/ProfilePropertySettingsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/admin/people/profilepropertysettings/ProfilePropertySettingsRequestBuilder.java new file mode 100644 index 00000000000..c490d453def --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/admin/people/profilepropertysettings/ProfilePropertySettingsRequestBuilder.java @@ -0,0 +1,247 @@ +package com.microsoft.graph.beta.admin.people.profilepropertysettings; + +import com.microsoft.graph.beta.admin.people.profilepropertysettings.count.CountRequestBuilder; +import com.microsoft.graph.beta.admin.people.profilepropertysettings.item.ProfilePropertySettingItemRequestBuilder; +import com.microsoft.graph.beta.models.odataerrors.ODataError; +import com.microsoft.graph.beta.models.ProfilePropertySetting; +import com.microsoft.graph.beta.models.ProfilePropertySettingCollectionResponse; +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 profilePropertySettings property of the microsoft.graph.peopleAdminSettings entity. + */ +@jakarta.annotation.Generated("com.microsoft.kiota") +public class ProfilePropertySettingsRequestBuilder extends BaseRequestBuilder { + /** + * Provides operations to count the resources in the collection. + * @return a {@link CountRequestBuilder} + */ + @jakarta.annotation.Nonnull + public CountRequestBuilder count() { + return new CountRequestBuilder(pathParameters, requestAdapter); + } + /** + * Provides operations to manage the profilePropertySettings property of the microsoft.graph.peopleAdminSettings entity. + * @param profilePropertySettingId The unique identifier of profilePropertySetting + * @return a {@link ProfilePropertySettingItemRequestBuilder} + */ + @jakarta.annotation.Nonnull + public ProfilePropertySettingItemRequestBuilder byProfilePropertySettingId(@jakarta.annotation.Nonnull final String profilePropertySettingId) { + Objects.requireNonNull(profilePropertySettingId); + final HashMap urlTplParams = new HashMap(this.pathParameters); + urlTplParams.put("profilePropertySetting%2Did", profilePropertySettingId); + return new ProfilePropertySettingItemRequestBuilder(urlTplParams, requestAdapter); + } + /** + * Instantiates a new {@link ProfilePropertySettingsRequestBuilder} and sets the default values. + * @param pathParameters Path parameters for the request + * @param requestAdapter The request adapter to use to execute the requests. + */ + public ProfilePropertySettingsRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/admin/people/profilePropertySettings{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters); + } + /** + * Instantiates a new {@link ProfilePropertySettingsRequestBuilder} 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 ProfilePropertySettingsRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/admin/people/profilePropertySettings{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl); + } + /** + * Get a collection of profilePropertySetting objects that define the configuration for user profile properties in an organization. The id property identifies each resource object uniquely. + * @return a {@link ProfilePropertySettingCollectionResponse} + * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here + */ + @jakarta.annotation.Nullable + public ProfilePropertySettingCollectionResponse get() { + return get(null); + } + /** + * Get a collection of profilePropertySetting objects that define the configuration for user profile properties in an organization. The id property identifies each resource object uniquely. + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link ProfilePropertySettingCollectionResponse} + * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here + */ + @jakarta.annotation.Nullable + public ProfilePropertySettingCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); + final HashMap> errorMapping = new HashMap>(); + errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); + return this.requestAdapter.send(requestInfo, errorMapping, ProfilePropertySettingCollectionResponse::createFromDiscriminatorValue); + } + /** + * Create a new profilePropertySetting object. + * @param body The request body + * @return a {@link ProfilePropertySetting} + * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here + */ + @jakarta.annotation.Nullable + public ProfilePropertySetting post(@jakarta.annotation.Nonnull final ProfilePropertySetting body) { + return post(body, null); + } + /** + * Create a new profilePropertySetting object. + * @param body The request body + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link ProfilePropertySetting} + * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here + */ + @jakarta.annotation.Nullable + public ProfilePropertySetting post(@jakarta.annotation.Nonnull final ProfilePropertySetting body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + Objects.requireNonNull(body); + final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); + final HashMap> errorMapping = new HashMap>(); + errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); + return this.requestAdapter.send(requestInfo, errorMapping, ProfilePropertySetting::createFromDiscriminatorValue); + } + /** + * Get a collection of profilePropertySetting objects that define the configuration for user profile properties in an organization. The id property identifies each resource object uniquely. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toGetRequestInformation() { + return toGetRequestInformation(null); + } + /** + * Get a collection of profilePropertySetting objects that define the configuration for user profile properties in an organization. The id property identifies each resource object uniquely. + * @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 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; + } + /** + * Create a new profilePropertySetting object. + * @param body The request body + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final ProfilePropertySetting body) { + return toPostRequestInformation(body, null); + } + /** + * Create a new profilePropertySetting object. + * @param body The request body + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final ProfilePropertySetting body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + Objects.requireNonNull(body); + final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); + requestInfo.configure(requestConfiguration, PostRequestConfiguration::new); + requestInfo.headers.tryAdd("Accept", "application/json"); + requestInfo.setContentFromParsable(requestAdapter, "application/json", body); + 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 ProfilePropertySettingsRequestBuilder} + */ + @jakarta.annotation.Nonnull + public ProfilePropertySettingsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { + Objects.requireNonNull(rawUrl); + return new ProfilePropertySettingsRequestBuilder(rawUrl, requestAdapter); + } + /** + * Get a collection of profilePropertySetting objects that define the configuration for user profile properties in an organization. The id property identifies each resource object uniquely. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class GetQueryParameters implements QueryParameters { + /** + * Include count of items + */ + @jakarta.annotation.Nullable + public Boolean count; + /** + * Expand related entities + */ + @jakarta.annotation.Nullable + public String[] expand; + /** + * Filter items by property values + */ + @jakarta.annotation.Nullable + public String filter; + /** + * Order items by property values + */ + @jakarta.annotation.Nullable + public String[] orderby; + /** + * Search items by search phrases + */ + @jakarta.annotation.Nullable + public String search; + /** + * Select properties to be returned + */ + @jakarta.annotation.Nullable + public String[] select; + /** + * Skip the first n items + */ + @jakarta.annotation.Nullable + public Integer skip; + /** + * Show only the first n items + */ + @jakarta.annotation.Nullable + public Integer top; + /** + * Extracts the query parameters into a map for the URI template parsing. + * @return a {@link Map} + */ + @jakarta.annotation.Nonnull + public Map toQueryParameters() { + final Map allQueryParams = new HashMap(); + allQueryParams.put("%24count", count); + allQueryParams.put("%24filter", filter); + allQueryParams.put("%24search", search); + allQueryParams.put("%24skip", skip); + allQueryParams.put("%24top", top); + allQueryParams.put("%24expand", expand); + allQueryParams.put("%24orderby", orderby); + 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(); + } + /** + * Configuration for the request such as headers, query parameters, and middleware options. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class PostRequestConfiguration extends BaseRequestConfiguration { + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/admin/people/profilepropertysettings/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/admin/people/profilepropertysettings/count/CountRequestBuilder.java new file mode 100644 index 00000000000..856bca5daf2 --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/admin/people/profilepropertysettings/count/CountRequestBuilder.java @@ -0,0 +1,128 @@ +package com.microsoft.graph.beta.admin.people.profilepropertysettings.count; + +import com.microsoft.graph.beta.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 count the resources in the collection. + */ +@jakarta.annotation.Generated("com.microsoft.kiota") +public class CountRequestBuilder extends BaseRequestBuilder { + /** + * Instantiates a new {@link CountRequestBuilder} and sets the default values. + * @param pathParameters Path parameters for the request + * @param requestAdapter The request adapter to use to execute the requests. + */ + public CountRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/admin/people/profilePropertySettings/$count{?%24filter,%24search}", pathParameters); + } + /** + * Instantiates a new {@link CountRequestBuilder} 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 CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/admin/people/profilePropertySettings/$count{?%24filter,%24search}", rawUrl); + } + /** + * Get the number of the resource + * @return a {@link Integer} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public Integer get() { + return get(null); + } + /** + * Get the number of the resource + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link Integer} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); + final HashMap> errorMapping = new HashMap>(); + errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); + return this.requestAdapter.sendPrimitive(requestInfo, errorMapping, Integer.class); + } + /** + * Get the number of the resource + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toGetRequestInformation() { + return toGetRequestInformation(null); + } + /** + * Get the number of the resource + * @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 requestConfiguration) { + final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); + requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); + requestInfo.headers.tryAdd("Accept", "text/plain;q=0.9"); + 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 CountRequestBuilder} + */ + @jakarta.annotation.Nonnull + public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { + Objects.requireNonNull(rawUrl); + return new CountRequestBuilder(rawUrl, requestAdapter); + } + /** + * Get the number of the resource + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class GetQueryParameters implements QueryParameters { + /** + * Filter items by property values + */ + @jakarta.annotation.Nullable + public String filter; + /** + * Search items by search phrases + */ + @jakarta.annotation.Nullable + public String search; + /** + * Extracts the query parameters into a map for the URI template parsing. + * @return a {@link Map} + */ + @jakarta.annotation.Nonnull + public Map toQueryParameters() { + final Map allQueryParams = new HashMap(); + allQueryParams.put("%24filter", filter); + allQueryParams.put("%24search", search); + 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(); + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/admin/people/profilepropertysettings/item/ProfilePropertySettingItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/admin/people/profilepropertysettings/item/ProfilePropertySettingItemRequestBuilder.java new file mode 100644 index 00000000000..6008e6da902 --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/admin/people/profilepropertysettings/item/ProfilePropertySettingItemRequestBuilder.java @@ -0,0 +1,233 @@ +package com.microsoft.graph.beta.admin.people.profilepropertysettings.item; + +import com.microsoft.graph.beta.models.odataerrors.ODataError; +import com.microsoft.graph.beta.models.ProfilePropertySetting; +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 profilePropertySettings property of the microsoft.graph.peopleAdminSettings entity. + */ +@jakarta.annotation.Generated("com.microsoft.kiota") +public class ProfilePropertySettingItemRequestBuilder extends BaseRequestBuilder { + /** + * Instantiates a new {@link ProfilePropertySettingItemRequestBuilder} and sets the default values. + * @param pathParameters Path parameters for the request + * @param requestAdapter The request adapter to use to execute the requests. + */ + public ProfilePropertySettingItemRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/admin/people/profilePropertySettings/{profilePropertySetting%2Did}{?%24expand,%24select}", pathParameters); + } + /** + * Instantiates a new {@link ProfilePropertySettingItemRequestBuilder} 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 ProfilePropertySettingItemRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/admin/people/profilePropertySettings/{profilePropertySetting%2Did}{?%24expand,%24select}", rawUrl); + } + /** + * Delete a profilePropertySetting object. + * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here + */ + public void delete() { + delete(null); + } + /** + * Delete a profilePropertySetting object. + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here + */ + public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); + final HashMap> errorMapping = new HashMap>(); + errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); + this.requestAdapter.sendPrimitive(requestInfo, errorMapping, Void.class); + } + /** + * Read the properties and relationships of a profilePropertySetting object. + * @return a {@link ProfilePropertySetting} + * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here + */ + @jakarta.annotation.Nullable + public ProfilePropertySetting get() { + return get(null); + } + /** + * Read the properties and relationships of a profilePropertySetting object. + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link ProfilePropertySetting} + * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here + */ + @jakarta.annotation.Nullable + public ProfilePropertySetting get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); + final HashMap> errorMapping = new HashMap>(); + errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); + return this.requestAdapter.send(requestInfo, errorMapping, ProfilePropertySetting::createFromDiscriminatorValue); + } + /** + * Update the properties of a profilePropertySetting object. + * @param body The request body + * @return a {@link ProfilePropertySetting} + * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here + */ + @jakarta.annotation.Nullable + public ProfilePropertySetting patch(@jakarta.annotation.Nonnull final ProfilePropertySetting body) { + return patch(body, null); + } + /** + * Update the properties of a profilePropertySetting object. + * @param body The request body + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link ProfilePropertySetting} + * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here + */ + @jakarta.annotation.Nullable + public ProfilePropertySetting patch(@jakarta.annotation.Nonnull final ProfilePropertySetting body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + Objects.requireNonNull(body); + final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); + final HashMap> errorMapping = new HashMap>(); + errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); + return this.requestAdapter.send(requestInfo, errorMapping, ProfilePropertySetting::createFromDiscriminatorValue); + } + /** + * Delete a profilePropertySetting object. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toDeleteRequestInformation() { + return toDeleteRequestInformation(null); + } + /** + * Delete a profilePropertySetting object. + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); + requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); + return requestInfo; + } + /** + * Read the properties and relationships of a profilePropertySetting object. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toGetRequestInformation() { + return toGetRequestInformation(null); + } + /** + * Read the properties and relationships of a profilePropertySetting object. + * @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 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; + } + /** + * Update the properties of a profilePropertySetting object. + * @param body The request body + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final ProfilePropertySetting body) { + return toPatchRequestInformation(body, null); + } + /** + * Update the properties of a profilePropertySetting object. + * @param body The request body + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final ProfilePropertySetting body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + Objects.requireNonNull(body); + final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); + requestInfo.configure(requestConfiguration, PatchRequestConfiguration::new); + requestInfo.headers.tryAdd("Accept", "application/json"); + requestInfo.setContentFromParsable(requestAdapter, "application/json", body); + 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 ProfilePropertySettingItemRequestBuilder} + */ + @jakarta.annotation.Nonnull + public ProfilePropertySettingItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { + Objects.requireNonNull(rawUrl); + return new ProfilePropertySettingItemRequestBuilder(rawUrl, requestAdapter); + } + /** + * Configuration for the request such as headers, query parameters, and middleware options. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class DeleteRequestConfiguration extends BaseRequestConfiguration { + } + /** + * Read the properties and relationships of a profilePropertySetting object. + */ + @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} + */ + @jakarta.annotation.Nonnull + public Map toQueryParameters() { + final Map 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(); + } + /** + * Configuration for the request such as headers, query parameters, and middleware options. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class PatchRequestConfiguration extends BaseRequestConfiguration { + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/admin/windows/updates/resourceconnections/item/ResourceConnectionItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/admin/windows/updates/resourceconnections/item/ResourceConnectionItemRequestBuilder.java index 7dcbe0b662f..36de1c29327 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/admin/windows/updates/resourceconnections/item/ResourceConnectionItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/admin/windows/updates/resourceconnections/item/ResourceConnectionItemRequestBuilder.java @@ -37,18 +37,18 @@ public ResourceConnectionItemRequestBuilder(@jakarta.annotation.Nonnull final St super(requestAdapter, "{+baseurl}/admin/windows/updates/resourceConnections/{resourceConnection%2Did}{?%24expand,%24select}", rawUrl); } /** - * Delete a resourceConnection object. + * Delete an operationalInsightsConnection object. * @throws ODataError When receiving a 4XX or 5XX status code - * @see Find more info here + * @see Find more info here */ public void delete() { delete(null); } /** - * Delete a resourceConnection object. + * Delete an operationalInsightsConnection object. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code - * @see Find more info here + * @see Find more info here */ public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); @@ -106,7 +106,7 @@ public ResourceConnection patch(@jakarta.annotation.Nonnull final ResourceConnec return this.requestAdapter.send(requestInfo, errorMapping, ResourceConnection::createFromDiscriminatorValue); } /** - * Delete a resourceConnection object. + * Delete an operationalInsightsConnection object. * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull @@ -114,7 +114,7 @@ public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } /** - * Delete a resourceConnection object. + * Delete an operationalInsightsConnection object. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} */ diff --git a/src/main/java/com/microsoft/graph/beta/generated/admin/windows/updates/updatableassets/item/UpdatableAssetItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/admin/windows/updates/updatableassets/item/UpdatableAssetItemRequestBuilder.java index 6e47b5567c1..1dd73d03bc5 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/admin/windows/updates/updatableassets/item/UpdatableAssetItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/admin/windows/updates/updatableassets/item/UpdatableAssetItemRequestBuilder.java @@ -73,18 +73,18 @@ public UpdatableAssetItemRequestBuilder(@jakarta.annotation.Nonnull final String super(requestAdapter, "{+baseurl}/admin/windows/updates/updatableAssets/{updatableAsset%2Did}{?%24expand,%24select}", rawUrl); } /** - * Delete an azureADDevice object. When a Microsoft Entra device is deleted, it is unregistered and automatically unenrolled from management for all update categories, as well as removed from every deploymentAudience and updatableAssetGroup. + * Delete an updatableAssetGroup object. When an updatableAssetGroup object, its member updatableAsset objects are not deleted. * @throws ODataError When receiving a 4XX or 5XX status code - * @see Find more info here + * @see Find more info here */ public void delete() { delete(null); } /** - * Delete an azureADDevice object. When a Microsoft Entra device is deleted, it is unregistered and automatically unenrolled from management for all update categories, as well as removed from every deploymentAudience and updatableAssetGroup. + * Delete an updatableAssetGroup object. When an updatableAssetGroup object, its member updatableAsset objects are not deleted. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code - * @see Find more info here + * @see Find more info here */ public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); @@ -93,21 +93,21 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume this.requestAdapter.sendPrimitive(requestInfo, errorMapping, Void.class); } /** - * Read the properties and relationships of an updatableAssetGroup object. + * Read the properties of an azureADDevice object. * @return a {@link UpdatableAsset} * @throws ODataError When receiving a 4XX or 5XX status code - * @see Find more info here + * @see Find more info here */ @jakarta.annotation.Nullable public UpdatableAsset get() { return get(null); } /** - * Read the properties and relationships of an updatableAssetGroup object. + * Read the properties of an azureADDevice object. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link UpdatableAsset} * @throws ODataError When receiving a 4XX or 5XX status code - * @see Find more info here + * @see Find more info here */ @jakarta.annotation.Nullable public UpdatableAsset get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { @@ -142,7 +142,7 @@ public UpdatableAsset patch(@jakarta.annotation.Nonnull final UpdatableAsset bod return this.requestAdapter.send(requestInfo, errorMapping, UpdatableAsset::createFromDiscriminatorValue); } /** - * Delete an azureADDevice object. When a Microsoft Entra device is deleted, it is unregistered and automatically unenrolled from management for all update categories, as well as removed from every deploymentAudience and updatableAssetGroup. + * Delete an updatableAssetGroup object. When an updatableAssetGroup object, its member updatableAsset objects are not deleted. * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull @@ -150,7 +150,7 @@ public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } /** - * Delete an azureADDevice object. When a Microsoft Entra device is deleted, it is unregistered and automatically unenrolled from management for all update categories, as well as removed from every deploymentAudience and updatableAssetGroup. + * Delete an updatableAssetGroup object. When an updatableAssetGroup object, its member updatableAsset objects are not deleted. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} */ @@ -161,7 +161,7 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl return requestInfo; } /** - * Read the properties and relationships of an updatableAssetGroup object. + * Read the properties of an azureADDevice object. * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull @@ -169,7 +169,7 @@ public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } /** - * Read the properties and relationships of an updatableAssetGroup object. + * Read the properties of an azureADDevice object. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} */ @@ -221,7 +221,7 @@ public UpdatableAssetItemRequestBuilder withUrl(@jakarta.annotation.Nonnull fina public class DeleteRequestConfiguration extends BaseRequestConfiguration { } /** - * Read the properties and relationships of an updatableAssetGroup object. + * Read the properties of an azureADDevice object. */ @jakarta.annotation.Generated("com.microsoft.kiota") public class GetQueryParameters implements QueryParameters { diff --git a/src/main/java/com/microsoft/graph/beta/generated/admin/windows/updates/updatepolicies/item/compliancechanges/item/ComplianceChangeItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/admin/windows/updates/updatepolicies/item/compliancechanges/item/ComplianceChangeItemRequestBuilder.java index 8e8e36e7014..a6d06fd8b78 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/admin/windows/updates/updatepolicies/item/compliancechanges/item/ComplianceChangeItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/admin/windows/updates/updatepolicies/item/compliancechanges/item/ComplianceChangeItemRequestBuilder.java @@ -46,18 +46,18 @@ public ComplianceChangeItemRequestBuilder(@jakarta.annotation.Nonnull final Stri super(requestAdapter, "{+baseurl}/admin/windows/updates/updatePolicies/{updatePolicy%2Did}/complianceChanges/{complianceChange%2Did}{?%24expand,%24select}", rawUrl); } /** - * Delete a complianceChange object. + * Delete a contentApproval object. * @throws ODataError When receiving a 4XX or 5XX status code - * @see Find more info here + * @see Find more info here */ public void delete() { delete(null); } /** - * Delete a complianceChange object. + * Delete a contentApproval object. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code - * @see Find more info here + * @see Find more info here */ public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); @@ -66,21 +66,21 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume this.requestAdapter.sendPrimitive(requestInfo, errorMapping, Void.class); } /** - * Read the properties and relationships of a complianceChange object. + * Read the properties and relationships of a contentApproval object. * @return a {@link ComplianceChange} * @throws ODataError When receiving a 4XX or 5XX status code - * @see Find more info here + * @see Find more info here */ @jakarta.annotation.Nullable public ComplianceChange get() { return get(null); } /** - * Read the properties and relationships of a complianceChange object. + * Read the properties and relationships of a contentApproval object. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link ComplianceChange} * @throws ODataError When receiving a 4XX or 5XX status code - * @see Find more info here + * @see Find more info here */ @jakarta.annotation.Nullable public ComplianceChange get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { @@ -90,23 +90,23 @@ public ComplianceChange get(@jakarta.annotation.Nullable final java.util.functio return this.requestAdapter.send(requestInfo, errorMapping, ComplianceChange::createFromDiscriminatorValue); } /** - * Update the properties of a complianceChange object. + * Update the properties of a contentApproval object. * @param body The request body * @return a {@link ComplianceChange} * @throws ODataError When receiving a 4XX or 5XX status code - * @see Find more info here + * @see Find more info here */ @jakarta.annotation.Nullable public ComplianceChange patch(@jakarta.annotation.Nonnull final ComplianceChange body) { return patch(body, null); } /** - * Update the properties of a complianceChange object. + * Update the properties of a contentApproval object. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link ComplianceChange} * @throws ODataError When receiving a 4XX or 5XX status code - * @see Find more info here + * @see Find more info here */ @jakarta.annotation.Nullable public ComplianceChange patch(@jakarta.annotation.Nonnull final ComplianceChange body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { @@ -117,7 +117,7 @@ public ComplianceChange patch(@jakarta.annotation.Nonnull final ComplianceChange return this.requestAdapter.send(requestInfo, errorMapping, ComplianceChange::createFromDiscriminatorValue); } /** - * Delete a complianceChange object. + * Delete a contentApproval object. * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull @@ -125,7 +125,7 @@ public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } /** - * Delete a complianceChange object. + * Delete a contentApproval object. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} */ @@ -136,7 +136,7 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl return requestInfo; } /** - * Read the properties and relationships of a complianceChange object. + * Read the properties and relationships of a contentApproval object. * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull @@ -144,7 +144,7 @@ public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } /** - * Read the properties and relationships of a complianceChange object. + * Read the properties and relationships of a contentApproval object. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} */ @@ -156,7 +156,7 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f return requestInfo; } /** - * Update the properties of a complianceChange object. + * Update the properties of a contentApproval object. * @param body The request body * @return a {@link RequestInformation} */ @@ -165,7 +165,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull return toPatchRequestInformation(body, null); } /** - * Update the properties of a complianceChange object. + * Update the properties of a contentApproval object. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} @@ -196,7 +196,7 @@ public ComplianceChangeItemRequestBuilder withUrl(@jakarta.annotation.Nonnull fi public class DeleteRequestConfiguration extends BaseRequestConfiguration { } /** - * Read the properties and relationships of a complianceChange object. + * Read the properties and relationships of a contentApproval object. */ @jakarta.annotation.Generated("com.microsoft.kiota") public class GetQueryParameters implements QueryParameters { diff --git a/src/main/java/com/microsoft/graph/beta/generated/app/calls/item/participants/invite/InviteRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/app/calls/item/participants/invite/InviteRequestBuilder.java index 8f747290eac..325d49a04f5 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/app/calls/item/participants/invite/InviteRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/app/calls/item/participants/invite/InviteRequestBuilder.java @@ -36,23 +36,23 @@ public InviteRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @ja super(requestAdapter, "{+baseurl}/app/calls/{call%2Did}/participants/invite", rawUrl); } /** - * Delete a specific participant in a call. In some situations, it is appropriate for an application to remove a participant from an active call. This action can be done before or after the participant answers the call. When an active caller is removed, they are immediately dropped from the call with no pre- or post-removal notification. When an invited participant is removed, any outstanding add participant request is canceled. + * Invite participants to the active call. For more information about how to handle operations, see commsOperation. * @param body The request body * @return a {@link InviteParticipantsOperation} * @throws ODataError When receiving a 4XX or 5XX status code - * @see Find more info here + * @see Find more info here */ @jakarta.annotation.Nullable public InviteParticipantsOperation post(@jakarta.annotation.Nonnull final InvitePostRequestBody body) { return post(body, null); } /** - * Delete a specific participant in a call. In some situations, it is appropriate for an application to remove a participant from an active call. This action can be done before or after the participant answers the call. When an active caller is removed, they are immediately dropped from the call with no pre- or post-removal notification. When an invited participant is removed, any outstanding add participant request is canceled. + * Invite participants to the active call. For more information about how to handle operations, see commsOperation. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link InviteParticipantsOperation} * @throws ODataError When receiving a 4XX or 5XX status code - * @see Find more info here + * @see Find more info here */ @jakarta.annotation.Nullable public InviteParticipantsOperation post(@jakarta.annotation.Nonnull final InvitePostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { @@ -63,7 +63,7 @@ public InviteParticipantsOperation post(@jakarta.annotation.Nonnull final Invite return this.requestAdapter.send(requestInfo, errorMapping, InviteParticipantsOperation::createFromDiscriminatorValue); } /** - * Delete a specific participant in a call. In some situations, it is appropriate for an application to remove a participant from an active call. This action can be done before or after the participant answers the call. When an active caller is removed, they are immediately dropped from the call with no pre- or post-removal notification. When an invited participant is removed, any outstanding add participant request is canceled. + * Invite participants to the active call. For more information about how to handle operations, see commsOperation. * @param body The request body * @return a {@link RequestInformation} */ @@ -72,7 +72,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f return toPostRequestInformation(body, null); } /** - * Delete a specific participant in a call. In some situations, it is appropriate for an application to remove a participant from an active call. This action can be done before or after the participant answers the call. When an active caller is removed, they are immediately dropped from the call with no pre- or post-removal notification. When an invited participant is removed, any outstanding add participant request is canceled. + * Invite participants to the active call. For more information about how to handle operations, see commsOperation. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} diff --git a/src/main/java/com/microsoft/graph/beta/generated/communications/calls/item/participants/invite/InviteRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/communications/calls/item/participants/invite/InviteRequestBuilder.java index fe1f1e3681e..439c6074308 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/communications/calls/item/participants/invite/InviteRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/communications/calls/item/participants/invite/InviteRequestBuilder.java @@ -36,23 +36,23 @@ public InviteRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @ja super(requestAdapter, "{+baseurl}/communications/calls/{call%2Did}/participants/invite", rawUrl); } /** - * Delete a specific participant in a call. In some situations, it is appropriate for an application to remove a participant from an active call. This action can be done before or after the participant answers the call. When an active caller is removed, they are immediately dropped from the call with no pre- or post-removal notification. When an invited participant is removed, any outstanding add participant request is canceled. + * Invite participants to the active call. For more information about how to handle operations, see commsOperation. * @param body The request body * @return a {@link InviteParticipantsOperation} * @throws ODataError When receiving a 4XX or 5XX status code - * @see Find more info here + * @see Find more info here */ @jakarta.annotation.Nullable public InviteParticipantsOperation post(@jakarta.annotation.Nonnull final InvitePostRequestBody body) { return post(body, null); } /** - * Delete a specific participant in a call. In some situations, it is appropriate for an application to remove a participant from an active call. This action can be done before or after the participant answers the call. When an active caller is removed, they are immediately dropped from the call with no pre- or post-removal notification. When an invited participant is removed, any outstanding add participant request is canceled. + * Invite participants to the active call. For more information about how to handle operations, see commsOperation. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link InviteParticipantsOperation} * @throws ODataError When receiving a 4XX or 5XX status code - * @see Find more info here + * @see Find more info here */ @jakarta.annotation.Nullable public InviteParticipantsOperation post(@jakarta.annotation.Nonnull final InvitePostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { @@ -63,7 +63,7 @@ public InviteParticipantsOperation post(@jakarta.annotation.Nonnull final Invite return this.requestAdapter.send(requestInfo, errorMapping, InviteParticipantsOperation::createFromDiscriminatorValue); } /** - * Delete a specific participant in a call. In some situations, it is appropriate for an application to remove a participant from an active call. This action can be done before or after the participant answers the call. When an active caller is removed, they are immediately dropped from the call with no pre- or post-removal notification. When an invited participant is removed, any outstanding add participant request is canceled. + * Invite participants to the active call. For more information about how to handle operations, see commsOperation. * @param body The request body * @return a {@link RequestInformation} */ @@ -72,7 +72,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f return toPostRequestInformation(body, null); } /** - * Delete a specific participant in a call. In some situations, it is appropriate for an application to remove a participant from an active call. This action can be done before or after the participant answers the call. When an active caller is removed, they are immediately dropped from the call with no pre- or post-removal notification. When an invited participant is removed, any outstanding add participant request is canceled. + * Invite participants to the active call. For more information about how to handle operations, see commsOperation. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} diff --git a/src/main/java/com/microsoft/graph/beta/generated/dataclassification/sensitivitylabels/SensitivityLabelsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/dataclassification/sensitivitylabels/SensitivityLabelsRequestBuilder.java index f9f40cafd72..0e1ca68ec99 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/dataclassification/sensitivitylabels/SensitivityLabelsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/dataclassification/sensitivitylabels/SensitivityLabelsRequestBuilder.java @@ -1,5 +1,7 @@ package com.microsoft.graph.beta.dataclassification.sensitivitylabels; +import com.microsoft.graph.beta.dataclassification.sensitivitylabels.computeinheritancewithlabelidswithlocalewithcontentformats.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder; +import com.microsoft.graph.beta.dataclassification.sensitivitylabels.computerightsandinheritance.ComputeRightsAndInheritanceRequestBuilder; import com.microsoft.graph.beta.dataclassification.sensitivitylabels.count.CountRequestBuilder; import com.microsoft.graph.beta.dataclassification.sensitivitylabels.evaluate.EvaluateRequestBuilder; import com.microsoft.graph.beta.dataclassification.sensitivitylabels.item.SensitivityLabelItemRequestBuilder; @@ -24,6 +26,14 @@ */ @jakarta.annotation.Generated("com.microsoft.kiota") public class SensitivityLabelsRequestBuilder extends BaseRequestBuilder { + /** + * Provides operations to call the computeRightsAndInheritance method. + * @return a {@link ComputeRightsAndInheritanceRequestBuilder} + */ + @jakarta.annotation.Nonnull + public ComputeRightsAndInheritanceRequestBuilder computeRightsAndInheritance() { + return new ComputeRightsAndInheritanceRequestBuilder(pathParameters, requestAdapter); + } /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} @@ -52,6 +62,20 @@ public SensitivityLabelItemRequestBuilder bySensitivityLabelId(@jakarta.annotati urlTplParams.put("sensitivityLabel%2Did", sensitivityLabelId); return new SensitivityLabelItemRequestBuilder(urlTplParams, requestAdapter); } + /** + * Provides operations to call the computeInheritance method. + * @param contentFormats Usage: contentFormats={contentFormats} + * @param labelIds Usage: labelIds={labelIds} + * @param locale Usage: locale='{locale}' + * @return a {@link ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder} + */ + @jakarta.annotation.Nonnull + public ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder computeInheritanceWithLabelIdsWithLocaleWithContentFormats(@jakarta.annotation.Nonnull final String contentFormats, @jakarta.annotation.Nonnull final String labelIds, @jakarta.annotation.Nonnull final String locale) { + Objects.requireNonNull(contentFormats); + Objects.requireNonNull(labelIds); + Objects.requireNonNull(locale); + return new ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder(pathParameters, requestAdapter, contentFormats, labelIds, locale); + } /** * Instantiates a new {@link SensitivityLabelsRequestBuilder} and sets the default values. * @param pathParameters Path parameters for the request diff --git a/src/main/java/com/microsoft/graph/beta/generated/dataclassification/sensitivitylabels/computeinheritancewithlabelidswithlocalewithcontentformats/ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/dataclassification/sensitivitylabels/computeinheritancewithlabelidswithlocalewithcontentformats/ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder.java new file mode 100644 index 00000000000..36bacccd409 --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/dataclassification/sensitivitylabels/computeinheritancewithlabelidswithlocalewithcontentformats/ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder.java @@ -0,0 +1,104 @@ +package com.microsoft.graph.beta.dataclassification.sensitivitylabels.computeinheritancewithlabelidswithlocalewithcontentformats; + +import com.microsoft.graph.beta.models.odataerrors.ODataError; +import com.microsoft.graph.beta.models.SensitivityLabel; +import com.microsoft.kiota.BaseRequestBuilder; +import com.microsoft.kiota.BaseRequestConfiguration; +import com.microsoft.kiota.HttpMethod; +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 call the computeInheritance method. + */ +@jakarta.annotation.Generated("com.microsoft.kiota") +public class ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder extends BaseRequestBuilder { + /** + * Instantiates a new {@link ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder} and sets the default values. + * @param contentFormats Usage: contentFormats={contentFormats} + * @param labelIds Usage: labelIds={labelIds} + * @param locale Usage: locale='{locale}' + * @param pathParameters Path parameters for the request + * @param requestAdapter The request adapter to use to execute the requests. + */ + public ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter, @jakarta.annotation.Nullable final String contentFormats, @jakarta.annotation.Nullable final String labelIds, @jakarta.annotation.Nullable final String locale) { + super(requestAdapter, "{+baseurl}/dataClassification/sensitivityLabels/computeInheritance(labelIds={labelIds},locale='{locale}',contentFormats={contentFormats})", pathParameters); + this.pathParameters.put("contentFormats", contentFormats); + this.pathParameters.put("labelIds", labelIds); + this.pathParameters.put("locale", locale); + } + /** + * Instantiates a new {@link ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder} 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 ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/dataClassification/sensitivityLabels/computeInheritance(labelIds={labelIds},locale='{locale}',contentFormats={contentFormats})", rawUrl); + } + /** + * Calculate the sensitivity label that should be inherited by an output artifact, given a set of sensitivity labels from input or referenced artifacts. + * @return a {@link SensitivityLabel} + * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here + */ + @jakarta.annotation.Nullable + public SensitivityLabel get() { + return get(null); + } + /** + * Calculate the sensitivity label that should be inherited by an output artifact, given a set of sensitivity labels from input or referenced artifacts. + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link SensitivityLabel} + * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here + */ + @jakarta.annotation.Nullable + public SensitivityLabel get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); + final HashMap> errorMapping = new HashMap>(); + errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); + return this.requestAdapter.send(requestInfo, errorMapping, SensitivityLabel::createFromDiscriminatorValue); + } + /** + * Calculate the sensitivity label that should be inherited by an output artifact, given a set of sensitivity labels from input or referenced artifacts. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toGetRequestInformation() { + return toGetRequestInformation(null); + } + /** + * Calculate the sensitivity label that should be inherited by an output artifact, given a set of sensitivity labels from input or referenced artifacts. + * @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 requestConfiguration) { + final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); + requestInfo.configure(requestConfiguration, GetRequestConfiguration::new); + 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 ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder} + */ + @jakarta.annotation.Nonnull + public ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { + Objects.requireNonNull(rawUrl); + return new ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder(rawUrl, requestAdapter); + } + /** + * Configuration for the request such as headers, query parameters, and middleware options. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class GetRequestConfiguration extends BaseRequestConfiguration { + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/dataclassification/sensitivitylabels/computerightsandinheritance/ComputeRightsAndInheritancePostRequestBody.java b/src/main/java/com/microsoft/graph/beta/generated/dataclassification/sensitivitylabels/computerightsandinheritance/ComputeRightsAndInheritancePostRequestBody.java new file mode 100644 index 00000000000..d3dd835f85b --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/dataclassification/sensitivitylabels/computerightsandinheritance/ComputeRightsAndInheritancePostRequestBody.java @@ -0,0 +1,159 @@ +package com.microsoft.graph.beta.dataclassification.sensitivitylabels.computerightsandinheritance; + +import com.microsoft.graph.beta.models.ProtectedContent; +import com.microsoft.kiota.serialization.AdditionalDataHolder; +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParseNode; +import com.microsoft.kiota.serialization.SerializationWriter; +import com.microsoft.kiota.store.BackedModel; +import com.microsoft.kiota.store.BackingStore; +import com.microsoft.kiota.store.BackingStoreFactorySingleton; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +@jakarta.annotation.Generated("com.microsoft.kiota") +public class ComputeRightsAndInheritancePostRequestBody implements AdditionalDataHolder, BackedModel, Parsable { + /** + * Stores model information. + */ + @jakarta.annotation.Nonnull + protected BackingStore backingStore; + /** + * Instantiates a new {@link ComputeRightsAndInheritancePostRequestBody} and sets the default values. + */ + public ComputeRightsAndInheritancePostRequestBody() { + this.backingStore = BackingStoreFactorySingleton.instance.createBackingStore(); + this.setAdditionalData(new HashMap<>()); + } + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param parseNode The parse node to use to read the discriminator value and create the object + * @return a {@link ComputeRightsAndInheritancePostRequestBody} + */ + @jakarta.annotation.Nonnull + public static ComputeRightsAndInheritancePostRequestBody createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) { + Objects.requireNonNull(parseNode); + return new ComputeRightsAndInheritancePostRequestBody(); + } + /** + * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @return a {@link Map} + */ + @jakarta.annotation.Nonnull + public Map getAdditionalData() { + Map value = this.backingStore.get("additionalData"); + if(value == null) { + value = new HashMap<>(); + this.setAdditionalData(value); + } + return value; + } + /** + * Gets the backingStore property value. Stores model information. + * @return a {@link BackingStore} + */ + @jakarta.annotation.Nonnull + public BackingStore getBackingStore() { + return this.backingStore; + } + /** + * Gets the delegatedUserEmail property value. The delegatedUserEmail property + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String getDelegatedUserEmail() { + return this.backingStore.get("delegatedUserEmail"); + } + /** + * The deserialization information for the current model + * @return a {@link Map>} + */ + @jakarta.annotation.Nonnull + public Map> getFieldDeserializers() { + final HashMap> deserializerMap = new HashMap>(4); + deserializerMap.put("delegatedUserEmail", (n) -> { this.setDelegatedUserEmail(n.getStringValue()); }); + deserializerMap.put("locale", (n) -> { this.setLocale(n.getStringValue()); }); + deserializerMap.put("protectedContents", (n) -> { this.setProtectedContents(n.getCollectionOfObjectValues(ProtectedContent::createFromDiscriminatorValue)); }); + deserializerMap.put("supportedContentFormats", (n) -> { this.setSupportedContentFormats(n.getCollectionOfPrimitiveValues(String.class)); }); + return deserializerMap; + } + /** + * Gets the locale property value. The locale property + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String getLocale() { + return this.backingStore.get("locale"); + } + /** + * Gets the protectedContents property value. The protectedContents property + * @return a {@link java.util.List} + */ + @jakarta.annotation.Nullable + public java.util.List getProtectedContents() { + return this.backingStore.get("protectedContents"); + } + /** + * Gets the supportedContentFormats property value. The supportedContentFormats property + * @return a {@link java.util.List} + */ + @jakarta.annotation.Nullable + public java.util.List getSupportedContentFormats() { + return this.backingStore.get("supportedContentFormats"); + } + /** + * Serializes information the current object + * @param writer Serialization writer to use to serialize this model + */ + public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writer) { + Objects.requireNonNull(writer); + writer.writeStringValue("delegatedUserEmail", this.getDelegatedUserEmail()); + writer.writeStringValue("locale", this.getLocale()); + writer.writeCollectionOfObjectValues("protectedContents", this.getProtectedContents()); + writer.writeCollectionOfPrimitiveValues("supportedContentFormats", this.getSupportedContentFormats()); + writer.writeAdditionalData(this.getAdditionalData()); + } + /** + * Sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @param value Value to set for the AdditionalData property. + */ + public void setAdditionalData(@jakarta.annotation.Nullable final Map value) { + this.backingStore.set("additionalData", value); + } + /** + * Sets the backingStore property value. Stores model information. + * @param value Value to set for the backingStore property. + */ + public void setBackingStore(@jakarta.annotation.Nonnull final BackingStore value) { + Objects.requireNonNull(value); + this.backingStore = value; + } + /** + * Sets the delegatedUserEmail property value. The delegatedUserEmail property + * @param value Value to set for the delegatedUserEmail property. + */ + public void setDelegatedUserEmail(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("delegatedUserEmail", value); + } + /** + * Sets the locale property value. The locale property + * @param value Value to set for the locale property. + */ + public void setLocale(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("locale", value); + } + /** + * Sets the protectedContents property value. The protectedContents property + * @param value Value to set for the protectedContents property. + */ + public void setProtectedContents(@jakarta.annotation.Nullable final java.util.List value) { + this.backingStore.set("protectedContents", value); + } + /** + * Sets the supportedContentFormats property value. The supportedContentFormats property + * @param value Value to set for the supportedContentFormats property. + */ + public void setSupportedContentFormats(@jakarta.annotation.Nullable final java.util.List value) { + this.backingStore.set("supportedContentFormats", value); + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/dataclassification/sensitivitylabels/computerightsandinheritance/ComputeRightsAndInheritanceRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/dataclassification/sensitivitylabels/computerightsandinheritance/ComputeRightsAndInheritanceRequestBuilder.java new file mode 100644 index 00000000000..dc87dc5ed5c --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/dataclassification/sensitivitylabels/computerightsandinheritance/ComputeRightsAndInheritanceRequestBuilder.java @@ -0,0 +1,105 @@ +package com.microsoft.graph.beta.dataclassification.sensitivitylabels.computerightsandinheritance; + +import com.microsoft.graph.beta.models.ComputeRightsAndInheritanceResult; +import com.microsoft.graph.beta.models.odataerrors.ODataError; +import com.microsoft.kiota.BaseRequestBuilder; +import com.microsoft.kiota.BaseRequestConfiguration; +import com.microsoft.kiota.HttpMethod; +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 call the computeRightsAndInheritance method. + */ +@jakarta.annotation.Generated("com.microsoft.kiota") +public class ComputeRightsAndInheritanceRequestBuilder extends BaseRequestBuilder { + /** + * Instantiates a new {@link ComputeRightsAndInheritanceRequestBuilder} and sets the default values. + * @param pathParameters Path parameters for the request + * @param requestAdapter The request adapter to use to execute the requests. + */ + public ComputeRightsAndInheritanceRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/dataClassification/sensitivityLabels/computeRightsAndInheritance", pathParameters); + } + /** + * Instantiates a new {@link ComputeRightsAndInheritanceRequestBuilder} 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 ComputeRightsAndInheritanceRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/dataClassification/sensitivityLabels/computeRightsAndInheritance", rawUrl); + } + /** + * Computes the rights and inheritance for sensitivity labels based on the input content and labels. + * @param body The request body + * @return a {@link ComputeRightsAndInheritanceResult} + * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here + */ + @jakarta.annotation.Nullable + public ComputeRightsAndInheritanceResult post(@jakarta.annotation.Nonnull final ComputeRightsAndInheritancePostRequestBody body) { + return post(body, null); + } + /** + * Computes the rights and inheritance for sensitivity labels based on the input content and labels. + * @param body The request body + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link ComputeRightsAndInheritanceResult} + * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here + */ + @jakarta.annotation.Nullable + public ComputeRightsAndInheritanceResult post(@jakarta.annotation.Nonnull final ComputeRightsAndInheritancePostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + Objects.requireNonNull(body); + final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); + final HashMap> errorMapping = new HashMap>(); + errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); + return this.requestAdapter.send(requestInfo, errorMapping, ComputeRightsAndInheritanceResult::createFromDiscriminatorValue); + } + /** + * Computes the rights and inheritance for sensitivity labels based on the input content and labels. + * @param body The request body + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final ComputeRightsAndInheritancePostRequestBody body) { + return toPostRequestInformation(body, null); + } + /** + * Computes the rights and inheritance for sensitivity labels based on the input content and labels. + * @param body The request body + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final ComputeRightsAndInheritancePostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + Objects.requireNonNull(body); + final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); + requestInfo.configure(requestConfiguration, PostRequestConfiguration::new); + requestInfo.headers.tryAdd("Accept", "application/json"); + requestInfo.setContentFromParsable(requestAdapter, "application/json", body); + 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 ComputeRightsAndInheritanceRequestBuilder} + */ + @jakarta.annotation.Nonnull + public ComputeRightsAndInheritanceRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { + Objects.requireNonNull(rawUrl); + return new ComputeRightsAndInheritanceRequestBuilder(rawUrl, requestAdapter); + } + /** + * Configuration for the request such as headers, query parameters, and middleware options. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class PostRequestConfiguration extends BaseRequestConfiguration { + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/dataclassification/sensitivitylabels/item/SensitivityLabelItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/dataclassification/sensitivitylabels/item/SensitivityLabelItemRequestBuilder.java index 9dfe9311305..e20d5e51f4d 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/dataclassification/sensitivitylabels/item/SensitivityLabelItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/dataclassification/sensitivitylabels/item/SensitivityLabelItemRequestBuilder.java @@ -1,5 +1,6 @@ package com.microsoft.graph.beta.dataclassification.sensitivitylabels.item; +import com.microsoft.graph.beta.dataclassification.sensitivitylabels.item.rights.RightsRequestBuilder; import com.microsoft.graph.beta.dataclassification.sensitivitylabels.item.sublabels.SublabelsRequestBuilder; import com.microsoft.graph.beta.models.odataerrors.ODataError; import com.microsoft.graph.beta.models.SensitivityLabel; @@ -21,6 +22,14 @@ */ @jakarta.annotation.Generated("com.microsoft.kiota") public class SensitivityLabelItemRequestBuilder extends BaseRequestBuilder { + /** + * Provides operations to manage the rights property of the microsoft.graph.sensitivityLabel entity. + * @return a {@link RightsRequestBuilder} + */ + @jakarta.annotation.Nonnull + public RightsRequestBuilder rights() { + return new RightsRequestBuilder(pathParameters, requestAdapter); + } /** * Provides operations to manage the sublabels property of the microsoft.graph.sensitivityLabel entity. * @return a {@link SublabelsRequestBuilder} diff --git a/src/main/java/com/microsoft/graph/beta/generated/dataclassification/sensitivitylabels/item/rights/RightsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/dataclassification/sensitivitylabels/item/rights/RightsRequestBuilder.java new file mode 100644 index 00000000000..ec5e4537a49 --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/dataclassification/sensitivitylabels/item/rights/RightsRequestBuilder.java @@ -0,0 +1,129 @@ +package com.microsoft.graph.beta.dataclassification.sensitivitylabels.item.rights; + +import com.microsoft.graph.beta.models.odataerrors.ODataError; +import com.microsoft.graph.beta.models.UsageRightsIncluded; +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 rights property of the microsoft.graph.sensitivityLabel entity. + */ +@jakarta.annotation.Generated("com.microsoft.kiota") +public class RightsRequestBuilder extends BaseRequestBuilder { + /** + * Instantiates a new {@link RightsRequestBuilder} and sets the default values. + * @param pathParameters Path parameters for the request + * @param requestAdapter The request adapter to use to execute the requests. + */ + public RightsRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/dataClassification/sensitivityLabels/{sensitivityLabel%2Did}/rights{?%24expand,%24select}", pathParameters); + } + /** + * Instantiates a new {@link RightsRequestBuilder} 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 RightsRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/dataClassification/sensitivityLabels/{sensitivityLabel%2Did}/rights{?%24expand,%24select}", rawUrl); + } + /** + * Get rights from dataClassification + * @return a {@link UsageRightsIncluded} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public UsageRightsIncluded get() { + return get(null); + } + /** + * Get rights from dataClassification + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link UsageRightsIncluded} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public UsageRightsIncluded get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); + final HashMap> errorMapping = new HashMap>(); + errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); + return this.requestAdapter.send(requestInfo, errorMapping, UsageRightsIncluded::createFromDiscriminatorValue); + } + /** + * Get rights from dataClassification + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toGetRequestInformation() { + return toGetRequestInformation(null); + } + /** + * Get rights from dataClassification + * @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 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 RightsRequestBuilder} + */ + @jakarta.annotation.Nonnull + public RightsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { + Objects.requireNonNull(rawUrl); + return new RightsRequestBuilder(rawUrl, requestAdapter); + } + /** + * Get rights from dataClassification + */ + @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} + */ + @jakarta.annotation.Nonnull + public Map toQueryParameters() { + final Map 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(); + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/dataclassification/sensitivitylabels/item/sublabels/SublabelsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/dataclassification/sensitivitylabels/item/sublabels/SublabelsRequestBuilder.java index 6bbd41c0dad..44eff4c1565 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/dataclassification/sensitivitylabels/item/sublabels/SublabelsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/dataclassification/sensitivitylabels/item/sublabels/SublabelsRequestBuilder.java @@ -1,5 +1,7 @@ package com.microsoft.graph.beta.dataclassification.sensitivitylabels.item.sublabels; +import com.microsoft.graph.beta.dataclassification.sensitivitylabels.item.sublabels.computeinheritancewithlabelidswithlocalewithcontentformats.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder; +import com.microsoft.graph.beta.dataclassification.sensitivitylabels.item.sublabels.computerightsandinheritance.ComputeRightsAndInheritanceRequestBuilder; import com.microsoft.graph.beta.dataclassification.sensitivitylabels.item.sublabels.count.CountRequestBuilder; import com.microsoft.graph.beta.dataclassification.sensitivitylabels.item.sublabels.evaluate.EvaluateRequestBuilder; import com.microsoft.graph.beta.dataclassification.sensitivitylabels.item.sublabels.item.SensitivityLabelItemRequestBuilder; @@ -24,6 +26,14 @@ */ @jakarta.annotation.Generated("com.microsoft.kiota") public class SublabelsRequestBuilder extends BaseRequestBuilder { + /** + * Provides operations to call the computeRightsAndInheritance method. + * @return a {@link ComputeRightsAndInheritanceRequestBuilder} + */ + @jakarta.annotation.Nonnull + public ComputeRightsAndInheritanceRequestBuilder computeRightsAndInheritance() { + return new ComputeRightsAndInheritanceRequestBuilder(pathParameters, requestAdapter); + } /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} @@ -52,6 +62,20 @@ public SensitivityLabelItemRequestBuilder bySensitivityLabelId1(@jakarta.annotat urlTplParams.put("sensitivityLabel%2Did1", sensitivityLabelId1); return new SensitivityLabelItemRequestBuilder(urlTplParams, requestAdapter); } + /** + * Provides operations to call the computeInheritance method. + * @param contentFormats Usage: contentFormats={contentFormats} + * @param labelIds Usage: labelIds={labelIds} + * @param locale Usage: locale='{locale}' + * @return a {@link ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder} + */ + @jakarta.annotation.Nonnull + public ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder computeInheritanceWithLabelIdsWithLocaleWithContentFormats(@jakarta.annotation.Nonnull final String contentFormats, @jakarta.annotation.Nonnull final String labelIds, @jakarta.annotation.Nonnull final String locale) { + Objects.requireNonNull(contentFormats); + Objects.requireNonNull(labelIds); + Objects.requireNonNull(locale); + return new ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder(pathParameters, requestAdapter, contentFormats, labelIds, locale); + } /** * Instantiates a new {@link SublabelsRequestBuilder} and sets the default values. * @param pathParameters Path parameters for the request diff --git a/src/main/java/com/microsoft/graph/beta/generated/dataclassification/sensitivitylabels/item/sublabels/computeinheritancewithlabelidswithlocalewithcontentformats/ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/dataclassification/sensitivitylabels/item/sublabels/computeinheritancewithlabelidswithlocalewithcontentformats/ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder.java new file mode 100644 index 00000000000..37c3c52294d --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/dataclassification/sensitivitylabels/item/sublabels/computeinheritancewithlabelidswithlocalewithcontentformats/ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder.java @@ -0,0 +1,104 @@ +package com.microsoft.graph.beta.dataclassification.sensitivitylabels.item.sublabels.computeinheritancewithlabelidswithlocalewithcontentformats; + +import com.microsoft.graph.beta.models.odataerrors.ODataError; +import com.microsoft.graph.beta.models.SensitivityLabel; +import com.microsoft.kiota.BaseRequestBuilder; +import com.microsoft.kiota.BaseRequestConfiguration; +import com.microsoft.kiota.HttpMethod; +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 call the computeInheritance method. + */ +@jakarta.annotation.Generated("com.microsoft.kiota") +public class ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder extends BaseRequestBuilder { + /** + * Instantiates a new {@link ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder} and sets the default values. + * @param contentFormats Usage: contentFormats={contentFormats} + * @param labelIds Usage: labelIds={labelIds} + * @param locale Usage: locale='{locale}' + * @param pathParameters Path parameters for the request + * @param requestAdapter The request adapter to use to execute the requests. + */ + public ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter, @jakarta.annotation.Nullable final String contentFormats, @jakarta.annotation.Nullable final String labelIds, @jakarta.annotation.Nullable final String locale) { + super(requestAdapter, "{+baseurl}/dataClassification/sensitivityLabels/{sensitivityLabel%2Did}/sublabels/computeInheritance(labelIds={labelIds},locale='{locale}',contentFormats={contentFormats})", pathParameters); + this.pathParameters.put("contentFormats", contentFormats); + this.pathParameters.put("labelIds", labelIds); + this.pathParameters.put("locale", locale); + } + /** + * Instantiates a new {@link ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder} 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 ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/dataClassification/sensitivityLabels/{sensitivityLabel%2Did}/sublabels/computeInheritance(labelIds={labelIds},locale='{locale}',contentFormats={contentFormats})", rawUrl); + } + /** + * Calculate the sensitivity label that should be inherited by an output artifact, given a set of sensitivity labels from input or referenced artifacts. + * @return a {@link SensitivityLabel} + * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here + */ + @jakarta.annotation.Nullable + public SensitivityLabel get() { + return get(null); + } + /** + * Calculate the sensitivity label that should be inherited by an output artifact, given a set of sensitivity labels from input or referenced artifacts. + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link SensitivityLabel} + * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here + */ + @jakarta.annotation.Nullable + public SensitivityLabel get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); + final HashMap> errorMapping = new HashMap>(); + errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); + return this.requestAdapter.send(requestInfo, errorMapping, SensitivityLabel::createFromDiscriminatorValue); + } + /** + * Calculate the sensitivity label that should be inherited by an output artifact, given a set of sensitivity labels from input or referenced artifacts. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toGetRequestInformation() { + return toGetRequestInformation(null); + } + /** + * Calculate the sensitivity label that should be inherited by an output artifact, given a set of sensitivity labels from input or referenced artifacts. + * @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 requestConfiguration) { + final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); + requestInfo.configure(requestConfiguration, GetRequestConfiguration::new); + 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 ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder} + */ + @jakarta.annotation.Nonnull + public ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { + Objects.requireNonNull(rawUrl); + return new ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder(rawUrl, requestAdapter); + } + /** + * Configuration for the request such as headers, query parameters, and middleware options. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class GetRequestConfiguration extends BaseRequestConfiguration { + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/dataclassification/sensitivitylabels/item/sublabels/computerightsandinheritance/ComputeRightsAndInheritancePostRequestBody.java b/src/main/java/com/microsoft/graph/beta/generated/dataclassification/sensitivitylabels/item/sublabels/computerightsandinheritance/ComputeRightsAndInheritancePostRequestBody.java new file mode 100644 index 00000000000..005a8b85c52 --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/dataclassification/sensitivitylabels/item/sublabels/computerightsandinheritance/ComputeRightsAndInheritancePostRequestBody.java @@ -0,0 +1,159 @@ +package com.microsoft.graph.beta.dataclassification.sensitivitylabels.item.sublabels.computerightsandinheritance; + +import com.microsoft.graph.beta.models.ProtectedContent; +import com.microsoft.kiota.serialization.AdditionalDataHolder; +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParseNode; +import com.microsoft.kiota.serialization.SerializationWriter; +import com.microsoft.kiota.store.BackedModel; +import com.microsoft.kiota.store.BackingStore; +import com.microsoft.kiota.store.BackingStoreFactorySingleton; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +@jakarta.annotation.Generated("com.microsoft.kiota") +public class ComputeRightsAndInheritancePostRequestBody implements AdditionalDataHolder, BackedModel, Parsable { + /** + * Stores model information. + */ + @jakarta.annotation.Nonnull + protected BackingStore backingStore; + /** + * Instantiates a new {@link ComputeRightsAndInheritancePostRequestBody} and sets the default values. + */ + public ComputeRightsAndInheritancePostRequestBody() { + this.backingStore = BackingStoreFactorySingleton.instance.createBackingStore(); + this.setAdditionalData(new HashMap<>()); + } + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param parseNode The parse node to use to read the discriminator value and create the object + * @return a {@link ComputeRightsAndInheritancePostRequestBody} + */ + @jakarta.annotation.Nonnull + public static ComputeRightsAndInheritancePostRequestBody createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) { + Objects.requireNonNull(parseNode); + return new ComputeRightsAndInheritancePostRequestBody(); + } + /** + * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @return a {@link Map} + */ + @jakarta.annotation.Nonnull + public Map getAdditionalData() { + Map value = this.backingStore.get("additionalData"); + if(value == null) { + value = new HashMap<>(); + this.setAdditionalData(value); + } + return value; + } + /** + * Gets the backingStore property value. Stores model information. + * @return a {@link BackingStore} + */ + @jakarta.annotation.Nonnull + public BackingStore getBackingStore() { + return this.backingStore; + } + /** + * Gets the delegatedUserEmail property value. The delegatedUserEmail property + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String getDelegatedUserEmail() { + return this.backingStore.get("delegatedUserEmail"); + } + /** + * The deserialization information for the current model + * @return a {@link Map>} + */ + @jakarta.annotation.Nonnull + public Map> getFieldDeserializers() { + final HashMap> deserializerMap = new HashMap>(4); + deserializerMap.put("delegatedUserEmail", (n) -> { this.setDelegatedUserEmail(n.getStringValue()); }); + deserializerMap.put("locale", (n) -> { this.setLocale(n.getStringValue()); }); + deserializerMap.put("protectedContents", (n) -> { this.setProtectedContents(n.getCollectionOfObjectValues(ProtectedContent::createFromDiscriminatorValue)); }); + deserializerMap.put("supportedContentFormats", (n) -> { this.setSupportedContentFormats(n.getCollectionOfPrimitiveValues(String.class)); }); + return deserializerMap; + } + /** + * Gets the locale property value. The locale property + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String getLocale() { + return this.backingStore.get("locale"); + } + /** + * Gets the protectedContents property value. The protectedContents property + * @return a {@link java.util.List} + */ + @jakarta.annotation.Nullable + public java.util.List getProtectedContents() { + return this.backingStore.get("protectedContents"); + } + /** + * Gets the supportedContentFormats property value. The supportedContentFormats property + * @return a {@link java.util.List} + */ + @jakarta.annotation.Nullable + public java.util.List getSupportedContentFormats() { + return this.backingStore.get("supportedContentFormats"); + } + /** + * Serializes information the current object + * @param writer Serialization writer to use to serialize this model + */ + public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writer) { + Objects.requireNonNull(writer); + writer.writeStringValue("delegatedUserEmail", this.getDelegatedUserEmail()); + writer.writeStringValue("locale", this.getLocale()); + writer.writeCollectionOfObjectValues("protectedContents", this.getProtectedContents()); + writer.writeCollectionOfPrimitiveValues("supportedContentFormats", this.getSupportedContentFormats()); + writer.writeAdditionalData(this.getAdditionalData()); + } + /** + * Sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @param value Value to set for the AdditionalData property. + */ + public void setAdditionalData(@jakarta.annotation.Nullable final Map value) { + this.backingStore.set("additionalData", value); + } + /** + * Sets the backingStore property value. Stores model information. + * @param value Value to set for the backingStore property. + */ + public void setBackingStore(@jakarta.annotation.Nonnull final BackingStore value) { + Objects.requireNonNull(value); + this.backingStore = value; + } + /** + * Sets the delegatedUserEmail property value. The delegatedUserEmail property + * @param value Value to set for the delegatedUserEmail property. + */ + public void setDelegatedUserEmail(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("delegatedUserEmail", value); + } + /** + * Sets the locale property value. The locale property + * @param value Value to set for the locale property. + */ + public void setLocale(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("locale", value); + } + /** + * Sets the protectedContents property value. The protectedContents property + * @param value Value to set for the protectedContents property. + */ + public void setProtectedContents(@jakarta.annotation.Nullable final java.util.List value) { + this.backingStore.set("protectedContents", value); + } + /** + * Sets the supportedContentFormats property value. The supportedContentFormats property + * @param value Value to set for the supportedContentFormats property. + */ + public void setSupportedContentFormats(@jakarta.annotation.Nullable final java.util.List value) { + this.backingStore.set("supportedContentFormats", value); + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/dataclassification/sensitivitylabels/item/sublabels/computerightsandinheritance/ComputeRightsAndInheritanceRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/dataclassification/sensitivitylabels/item/sublabels/computerightsandinheritance/ComputeRightsAndInheritanceRequestBuilder.java new file mode 100644 index 00000000000..17b8ae42a7c --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/dataclassification/sensitivitylabels/item/sublabels/computerightsandinheritance/ComputeRightsAndInheritanceRequestBuilder.java @@ -0,0 +1,105 @@ +package com.microsoft.graph.beta.dataclassification.sensitivitylabels.item.sublabels.computerightsandinheritance; + +import com.microsoft.graph.beta.models.ComputeRightsAndInheritanceResult; +import com.microsoft.graph.beta.models.odataerrors.ODataError; +import com.microsoft.kiota.BaseRequestBuilder; +import com.microsoft.kiota.BaseRequestConfiguration; +import com.microsoft.kiota.HttpMethod; +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 call the computeRightsAndInheritance method. + */ +@jakarta.annotation.Generated("com.microsoft.kiota") +public class ComputeRightsAndInheritanceRequestBuilder extends BaseRequestBuilder { + /** + * Instantiates a new {@link ComputeRightsAndInheritanceRequestBuilder} and sets the default values. + * @param pathParameters Path parameters for the request + * @param requestAdapter The request adapter to use to execute the requests. + */ + public ComputeRightsAndInheritanceRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/dataClassification/sensitivityLabels/{sensitivityLabel%2Did}/sublabels/computeRightsAndInheritance", pathParameters); + } + /** + * Instantiates a new {@link ComputeRightsAndInheritanceRequestBuilder} 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 ComputeRightsAndInheritanceRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/dataClassification/sensitivityLabels/{sensitivityLabel%2Did}/sublabels/computeRightsAndInheritance", rawUrl); + } + /** + * Computes the rights and inheritance for sensitivity labels based on the input content and labels. + * @param body The request body + * @return a {@link ComputeRightsAndInheritanceResult} + * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here + */ + @jakarta.annotation.Nullable + public ComputeRightsAndInheritanceResult post(@jakarta.annotation.Nonnull final ComputeRightsAndInheritancePostRequestBody body) { + return post(body, null); + } + /** + * Computes the rights and inheritance for sensitivity labels based on the input content and labels. + * @param body The request body + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link ComputeRightsAndInheritanceResult} + * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here + */ + @jakarta.annotation.Nullable + public ComputeRightsAndInheritanceResult post(@jakarta.annotation.Nonnull final ComputeRightsAndInheritancePostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + Objects.requireNonNull(body); + final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); + final HashMap> errorMapping = new HashMap>(); + errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); + return this.requestAdapter.send(requestInfo, errorMapping, ComputeRightsAndInheritanceResult::createFromDiscriminatorValue); + } + /** + * Computes the rights and inheritance for sensitivity labels based on the input content and labels. + * @param body The request body + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final ComputeRightsAndInheritancePostRequestBody body) { + return toPostRequestInformation(body, null); + } + /** + * Computes the rights and inheritance for sensitivity labels based on the input content and labels. + * @param body The request body + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final ComputeRightsAndInheritancePostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + Objects.requireNonNull(body); + final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); + requestInfo.configure(requestConfiguration, PostRequestConfiguration::new); + requestInfo.headers.tryAdd("Accept", "application/json"); + requestInfo.setContentFromParsable(requestAdapter, "application/json", body); + 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 ComputeRightsAndInheritanceRequestBuilder} + */ + @jakarta.annotation.Nonnull + public ComputeRightsAndInheritanceRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { + Objects.requireNonNull(rawUrl); + return new ComputeRightsAndInheritanceRequestBuilder(rawUrl, requestAdapter); + } + /** + * Configuration for the request such as headers, query parameters, and middleware options. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class PostRequestConfiguration extends BaseRequestConfiguration { + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/dataclassification/sensitivitylabels/item/sublabels/item/SensitivityLabelItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/dataclassification/sensitivitylabels/item/sublabels/item/SensitivityLabelItemRequestBuilder.java index a5731f5a06d..b96f6efb519 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/dataclassification/sensitivitylabels/item/sublabels/item/SensitivityLabelItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/dataclassification/sensitivitylabels/item/sublabels/item/SensitivityLabelItemRequestBuilder.java @@ -1,5 +1,6 @@ package com.microsoft.graph.beta.dataclassification.sensitivitylabels.item.sublabels.item; +import com.microsoft.graph.beta.dataclassification.sensitivitylabels.item.sublabels.item.rights.RightsRequestBuilder; import com.microsoft.graph.beta.models.odataerrors.ODataError; import com.microsoft.graph.beta.models.SensitivityLabel; import com.microsoft.kiota.BaseRequestBuilder; @@ -20,6 +21,14 @@ */ @jakarta.annotation.Generated("com.microsoft.kiota") public class SensitivityLabelItemRequestBuilder extends BaseRequestBuilder { + /** + * Provides operations to manage the rights property of the microsoft.graph.sensitivityLabel entity. + * @return a {@link RightsRequestBuilder} + */ + @jakarta.annotation.Nonnull + public RightsRequestBuilder rights() { + return new RightsRequestBuilder(pathParameters, requestAdapter); + } /** * Instantiates a new {@link SensitivityLabelItemRequestBuilder} and sets the default values. * @param pathParameters Path parameters for the request diff --git a/src/main/java/com/microsoft/graph/beta/generated/dataclassification/sensitivitylabels/item/sublabels/item/rights/RightsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/dataclassification/sensitivitylabels/item/sublabels/item/rights/RightsRequestBuilder.java new file mode 100644 index 00000000000..26c901c88a5 --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/dataclassification/sensitivitylabels/item/sublabels/item/rights/RightsRequestBuilder.java @@ -0,0 +1,129 @@ +package com.microsoft.graph.beta.dataclassification.sensitivitylabels.item.sublabels.item.rights; + +import com.microsoft.graph.beta.models.odataerrors.ODataError; +import com.microsoft.graph.beta.models.UsageRightsIncluded; +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 rights property of the microsoft.graph.sensitivityLabel entity. + */ +@jakarta.annotation.Generated("com.microsoft.kiota") +public class RightsRequestBuilder extends BaseRequestBuilder { + /** + * Instantiates a new {@link RightsRequestBuilder} and sets the default values. + * @param pathParameters Path parameters for the request + * @param requestAdapter The request adapter to use to execute the requests. + */ + public RightsRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/dataClassification/sensitivityLabels/{sensitivityLabel%2Did}/sublabels/{sensitivityLabel%2Did1}/rights{?%24expand,%24select}", pathParameters); + } + /** + * Instantiates a new {@link RightsRequestBuilder} 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 RightsRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/dataClassification/sensitivityLabels/{sensitivityLabel%2Did}/sublabels/{sensitivityLabel%2Did1}/rights{?%24expand,%24select}", rawUrl); + } + /** + * Get rights from dataClassification + * @return a {@link UsageRightsIncluded} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public UsageRightsIncluded get() { + return get(null); + } + /** + * Get rights from dataClassification + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link UsageRightsIncluded} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public UsageRightsIncluded get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); + final HashMap> errorMapping = new HashMap>(); + errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); + return this.requestAdapter.send(requestInfo, errorMapping, UsageRightsIncluded::createFromDiscriminatorValue); + } + /** + * Get rights from dataClassification + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toGetRequestInformation() { + return toGetRequestInformation(null); + } + /** + * Get rights from dataClassification + * @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 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 RightsRequestBuilder} + */ + @jakarta.annotation.Nonnull + public RightsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { + Objects.requireNonNull(rawUrl); + return new RightsRequestBuilder(rawUrl, requestAdapter); + } + /** + * Get rights from dataClassification + */ + @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} + */ + @jakarta.annotation.Nonnull + public Map toQueryParameters() { + final Map 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(); + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphandroidforworkapp/relationships/RelationshipsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphandroidforworkapp/relationships/RelationshipsRequestBuilder.java index 5201d91207f..85300d81088 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphandroidforworkapp/relationships/RelationshipsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphandroidforworkapp/relationships/RelationshipsRequestBuilder.java @@ -60,7 +60,7 @@ public RelationshipsRequestBuilder(@jakarta.annotation.Nonnull final String rawU super(requestAdapter, "{+baseurl}/deviceAppManagement/mobileApps/{mobileApp%2Did}/graph.androidForWorkApp/relationships{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl); } /** - * List of relationships for this mobile app. + * The set of direct relationships for this app. * @return a {@link MobileAppRelationshipCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code */ @@ -69,7 +69,7 @@ public MobileAppRelationshipCollectionResponse get() { return get(null); } /** - * List of relationships for this mobile app. + * The set of direct relationships for this app. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link MobileAppRelationshipCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code @@ -107,7 +107,7 @@ public MobileAppRelationship post(@jakarta.annotation.Nonnull final MobileAppRel return this.requestAdapter.send(requestInfo, errorMapping, MobileAppRelationship::createFromDiscriminatorValue); } /** - * List of relationships for this mobile app. + * The set of direct relationships for this app. * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull @@ -115,7 +115,7 @@ public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } /** - * List of relationships for this mobile app. + * The set of direct relationships for this app. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} */ @@ -161,7 +161,7 @@ public RelationshipsRequestBuilder withUrl(@jakarta.annotation.Nonnull final Str return new RelationshipsRequestBuilder(rawUrl, requestAdapter); } /** - * List of relationships for this mobile app. + * The set of direct relationships for this app. */ @jakarta.annotation.Generated("com.microsoft.kiota") public class GetQueryParameters implements QueryParameters { diff --git a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphandroidforworkapp/relationships/item/MobileAppRelationshipItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphandroidforworkapp/relationships/item/MobileAppRelationshipItemRequestBuilder.java index b61b3a041b1..66a10240ab6 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphandroidforworkapp/relationships/item/MobileAppRelationshipItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphandroidforworkapp/relationships/item/MobileAppRelationshipItemRequestBuilder.java @@ -55,7 +55,7 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume this.requestAdapter.sendPrimitive(requestInfo, errorMapping, Void.class); } /** - * List of relationships for this mobile app. + * The set of direct relationships for this app. * @return a {@link MobileAppRelationship} * @throws ODataError When receiving a 4XX or 5XX status code */ @@ -64,7 +64,7 @@ public MobileAppRelationship get() { return get(null); } /** - * List of relationships for this mobile app. + * The set of direct relationships for this app. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link MobileAppRelationship} * @throws ODataError When receiving a 4XX or 5XX status code @@ -121,7 +121,7 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl return requestInfo; } /** - * List of relationships for this mobile app. + * The set of direct relationships for this app. * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull @@ -129,7 +129,7 @@ public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } /** - * List of relationships for this mobile app. + * The set of direct relationships for this app. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} */ @@ -181,7 +181,7 @@ public MobileAppRelationshipItemRequestBuilder withUrl(@jakarta.annotation.Nonnu public class DeleteRequestConfiguration extends BaseRequestConfiguration { } /** - * List of relationships for this mobile app. + * The set of direct relationships for this app. */ @jakarta.annotation.Generated("com.microsoft.kiota") public class GetQueryParameters implements QueryParameters { diff --git a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphandroidlobapp/relationships/RelationshipsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphandroidlobapp/relationships/RelationshipsRequestBuilder.java index 1cbf3465bf3..c922a99f4df 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphandroidlobapp/relationships/RelationshipsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphandroidlobapp/relationships/RelationshipsRequestBuilder.java @@ -60,7 +60,7 @@ public RelationshipsRequestBuilder(@jakarta.annotation.Nonnull final String rawU super(requestAdapter, "{+baseurl}/deviceAppManagement/mobileApps/{mobileApp%2Did}/graph.androidLobApp/relationships{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl); } /** - * List of relationships for this mobile app. + * The set of direct relationships for this app. * @return a {@link MobileAppRelationshipCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code */ @@ -69,7 +69,7 @@ public MobileAppRelationshipCollectionResponse get() { return get(null); } /** - * List of relationships for this mobile app. + * The set of direct relationships for this app. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link MobileAppRelationshipCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code @@ -107,7 +107,7 @@ public MobileAppRelationship post(@jakarta.annotation.Nonnull final MobileAppRel return this.requestAdapter.send(requestInfo, errorMapping, MobileAppRelationship::createFromDiscriminatorValue); } /** - * List of relationships for this mobile app. + * The set of direct relationships for this app. * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull @@ -115,7 +115,7 @@ public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } /** - * List of relationships for this mobile app. + * The set of direct relationships for this app. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} */ @@ -161,7 +161,7 @@ public RelationshipsRequestBuilder withUrl(@jakarta.annotation.Nonnull final Str return new RelationshipsRequestBuilder(rawUrl, requestAdapter); } /** - * List of relationships for this mobile app. + * The set of direct relationships for this app. */ @jakarta.annotation.Generated("com.microsoft.kiota") public class GetQueryParameters implements QueryParameters { diff --git a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphandroidlobapp/relationships/item/MobileAppRelationshipItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphandroidlobapp/relationships/item/MobileAppRelationshipItemRequestBuilder.java index 36924b5e42f..45771f5bae5 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphandroidlobapp/relationships/item/MobileAppRelationshipItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphandroidlobapp/relationships/item/MobileAppRelationshipItemRequestBuilder.java @@ -55,7 +55,7 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume this.requestAdapter.sendPrimitive(requestInfo, errorMapping, Void.class); } /** - * List of relationships for this mobile app. + * The set of direct relationships for this app. * @return a {@link MobileAppRelationship} * @throws ODataError When receiving a 4XX or 5XX status code */ @@ -64,7 +64,7 @@ public MobileAppRelationship get() { return get(null); } /** - * List of relationships for this mobile app. + * The set of direct relationships for this app. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link MobileAppRelationship} * @throws ODataError When receiving a 4XX or 5XX status code @@ -121,7 +121,7 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl return requestInfo; } /** - * List of relationships for this mobile app. + * The set of direct relationships for this app. * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull @@ -129,7 +129,7 @@ public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } /** - * List of relationships for this mobile app. + * The set of direct relationships for this app. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} */ @@ -181,7 +181,7 @@ public MobileAppRelationshipItemRequestBuilder withUrl(@jakarta.annotation.Nonnu public class DeleteRequestConfiguration extends BaseRequestConfiguration { } /** - * List of relationships for this mobile app. + * The set of direct relationships for this app. */ @jakarta.annotation.Generated("com.microsoft.kiota") public class GetQueryParameters implements QueryParameters { diff --git a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphandroidmanagedstoreapp/relationships/RelationshipsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphandroidmanagedstoreapp/relationships/RelationshipsRequestBuilder.java index fb75ea9cae5..288186f5aa9 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphandroidmanagedstoreapp/relationships/RelationshipsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphandroidmanagedstoreapp/relationships/RelationshipsRequestBuilder.java @@ -60,7 +60,7 @@ public RelationshipsRequestBuilder(@jakarta.annotation.Nonnull final String rawU super(requestAdapter, "{+baseurl}/deviceAppManagement/mobileApps/{mobileApp%2Did}/graph.androidManagedStoreApp/relationships{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl); } /** - * List of relationships for this mobile app. + * The set of direct relationships for this app. * @return a {@link MobileAppRelationshipCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code */ @@ -69,7 +69,7 @@ public MobileAppRelationshipCollectionResponse get() { return get(null); } /** - * List of relationships for this mobile app. + * The set of direct relationships for this app. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link MobileAppRelationshipCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code @@ -107,7 +107,7 @@ public MobileAppRelationship post(@jakarta.annotation.Nonnull final MobileAppRel return this.requestAdapter.send(requestInfo, errorMapping, MobileAppRelationship::createFromDiscriminatorValue); } /** - * List of relationships for this mobile app. + * The set of direct relationships for this app. * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull @@ -115,7 +115,7 @@ public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } /** - * List of relationships for this mobile app. + * The set of direct relationships for this app. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} */ @@ -161,7 +161,7 @@ public RelationshipsRequestBuilder withUrl(@jakarta.annotation.Nonnull final Str return new RelationshipsRequestBuilder(rawUrl, requestAdapter); } /** - * List of relationships for this mobile app. + * The set of direct relationships for this app. */ @jakarta.annotation.Generated("com.microsoft.kiota") public class GetQueryParameters implements QueryParameters { diff --git a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphandroidmanagedstoreapp/relationships/item/MobileAppRelationshipItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphandroidmanagedstoreapp/relationships/item/MobileAppRelationshipItemRequestBuilder.java index 82adb525b93..76d8b5a1082 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphandroidmanagedstoreapp/relationships/item/MobileAppRelationshipItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphandroidmanagedstoreapp/relationships/item/MobileAppRelationshipItemRequestBuilder.java @@ -55,7 +55,7 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume this.requestAdapter.sendPrimitive(requestInfo, errorMapping, Void.class); } /** - * List of relationships for this mobile app. + * The set of direct relationships for this app. * @return a {@link MobileAppRelationship} * @throws ODataError When receiving a 4XX or 5XX status code */ @@ -64,7 +64,7 @@ public MobileAppRelationship get() { return get(null); } /** - * List of relationships for this mobile app. + * The set of direct relationships for this app. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link MobileAppRelationship} * @throws ODataError When receiving a 4XX or 5XX status code @@ -121,7 +121,7 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl return requestInfo; } /** - * List of relationships for this mobile app. + * The set of direct relationships for this app. * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull @@ -129,7 +129,7 @@ public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } /** - * List of relationships for this mobile app. + * The set of direct relationships for this app. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} */ @@ -181,7 +181,7 @@ public MobileAppRelationshipItemRequestBuilder withUrl(@jakarta.annotation.Nonnu public class DeleteRequestConfiguration extends BaseRequestConfiguration { } /** - * List of relationships for this mobile app. + * The set of direct relationships for this app. */ @jakarta.annotation.Generated("com.microsoft.kiota") public class GetQueryParameters implements QueryParameters { diff --git a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphandroidstoreapp/relationships/RelationshipsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphandroidstoreapp/relationships/RelationshipsRequestBuilder.java index bc4b74edfe7..26b80345d76 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphandroidstoreapp/relationships/RelationshipsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphandroidstoreapp/relationships/RelationshipsRequestBuilder.java @@ -60,7 +60,7 @@ public RelationshipsRequestBuilder(@jakarta.annotation.Nonnull final String rawU super(requestAdapter, "{+baseurl}/deviceAppManagement/mobileApps/{mobileApp%2Did}/graph.androidStoreApp/relationships{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl); } /** - * List of relationships for this mobile app. + * The set of direct relationships for this app. * @return a {@link MobileAppRelationshipCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code */ @@ -69,7 +69,7 @@ public MobileAppRelationshipCollectionResponse get() { return get(null); } /** - * List of relationships for this mobile app. + * The set of direct relationships for this app. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link MobileAppRelationshipCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code @@ -107,7 +107,7 @@ public MobileAppRelationship post(@jakarta.annotation.Nonnull final MobileAppRel return this.requestAdapter.send(requestInfo, errorMapping, MobileAppRelationship::createFromDiscriminatorValue); } /** - * List of relationships for this mobile app. + * The set of direct relationships for this app. * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull @@ -115,7 +115,7 @@ public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } /** - * List of relationships for this mobile app. + * The set of direct relationships for this app. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} */ @@ -161,7 +161,7 @@ public RelationshipsRequestBuilder withUrl(@jakarta.annotation.Nonnull final Str return new RelationshipsRequestBuilder(rawUrl, requestAdapter); } /** - * List of relationships for this mobile app. + * The set of direct relationships for this app. */ @jakarta.annotation.Generated("com.microsoft.kiota") public class GetQueryParameters implements QueryParameters { diff --git a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphandroidstoreapp/relationships/item/MobileAppRelationshipItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphandroidstoreapp/relationships/item/MobileAppRelationshipItemRequestBuilder.java index a5c24e977bb..07f4e31c610 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphandroidstoreapp/relationships/item/MobileAppRelationshipItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphandroidstoreapp/relationships/item/MobileAppRelationshipItemRequestBuilder.java @@ -55,7 +55,7 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume this.requestAdapter.sendPrimitive(requestInfo, errorMapping, Void.class); } /** - * List of relationships for this mobile app. + * The set of direct relationships for this app. * @return a {@link MobileAppRelationship} * @throws ODataError When receiving a 4XX or 5XX status code */ @@ -64,7 +64,7 @@ public MobileAppRelationship get() { return get(null); } /** - * List of relationships for this mobile app. + * The set of direct relationships for this app. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link MobileAppRelationship} * @throws ODataError When receiving a 4XX or 5XX status code @@ -121,7 +121,7 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl return requestInfo; } /** - * List of relationships for this mobile app. + * The set of direct relationships for this app. * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull @@ -129,7 +129,7 @@ public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } /** - * List of relationships for this mobile app. + * The set of direct relationships for this app. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} */ @@ -181,7 +181,7 @@ public MobileAppRelationshipItemRequestBuilder withUrl(@jakarta.annotation.Nonnu public class DeleteRequestConfiguration extends BaseRequestConfiguration { } /** - * List of relationships for this mobile app. + * The set of direct relationships for this app. */ @jakarta.annotation.Generated("com.microsoft.kiota") public class GetQueryParameters implements QueryParameters { diff --git a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphioslobapp/relationships/RelationshipsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphioslobapp/relationships/RelationshipsRequestBuilder.java index f8ecd8850ce..a6f42336567 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphioslobapp/relationships/RelationshipsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphioslobapp/relationships/RelationshipsRequestBuilder.java @@ -60,7 +60,7 @@ public RelationshipsRequestBuilder(@jakarta.annotation.Nonnull final String rawU super(requestAdapter, "{+baseurl}/deviceAppManagement/mobileApps/{mobileApp%2Did}/graph.iosLobApp/relationships{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl); } /** - * List of relationships for this mobile app. + * The set of direct relationships for this app. * @return a {@link MobileAppRelationshipCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code */ @@ -69,7 +69,7 @@ public MobileAppRelationshipCollectionResponse get() { return get(null); } /** - * List of relationships for this mobile app. + * The set of direct relationships for this app. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link MobileAppRelationshipCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code @@ -107,7 +107,7 @@ public MobileAppRelationship post(@jakarta.annotation.Nonnull final MobileAppRel return this.requestAdapter.send(requestInfo, errorMapping, MobileAppRelationship::createFromDiscriminatorValue); } /** - * List of relationships for this mobile app. + * The set of direct relationships for this app. * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull @@ -115,7 +115,7 @@ public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } /** - * List of relationships for this mobile app. + * The set of direct relationships for this app. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} */ @@ -161,7 +161,7 @@ public RelationshipsRequestBuilder withUrl(@jakarta.annotation.Nonnull final Str return new RelationshipsRequestBuilder(rawUrl, requestAdapter); } /** - * List of relationships for this mobile app. + * The set of direct relationships for this app. */ @jakarta.annotation.Generated("com.microsoft.kiota") public class GetQueryParameters implements QueryParameters { diff --git a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphioslobapp/relationships/item/MobileAppRelationshipItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphioslobapp/relationships/item/MobileAppRelationshipItemRequestBuilder.java index 418c6e2d517..e4e611887e2 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphioslobapp/relationships/item/MobileAppRelationshipItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphioslobapp/relationships/item/MobileAppRelationshipItemRequestBuilder.java @@ -55,7 +55,7 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume this.requestAdapter.sendPrimitive(requestInfo, errorMapping, Void.class); } /** - * List of relationships for this mobile app. + * The set of direct relationships for this app. * @return a {@link MobileAppRelationship} * @throws ODataError When receiving a 4XX or 5XX status code */ @@ -64,7 +64,7 @@ public MobileAppRelationship get() { return get(null); } /** - * List of relationships for this mobile app. + * The set of direct relationships for this app. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link MobileAppRelationship} * @throws ODataError When receiving a 4XX or 5XX status code @@ -121,7 +121,7 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl return requestInfo; } /** - * List of relationships for this mobile app. + * The set of direct relationships for this app. * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull @@ -129,7 +129,7 @@ public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } /** - * List of relationships for this mobile app. + * The set of direct relationships for this app. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} */ @@ -181,7 +181,7 @@ public MobileAppRelationshipItemRequestBuilder withUrl(@jakarta.annotation.Nonnu public class DeleteRequestConfiguration extends BaseRequestConfiguration { } /** - * List of relationships for this mobile app. + * The set of direct relationships for this app. */ @jakarta.annotation.Generated("com.microsoft.kiota") public class GetQueryParameters implements QueryParameters { diff --git a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphiosstoreapp/relationships/RelationshipsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphiosstoreapp/relationships/RelationshipsRequestBuilder.java index 3b57ea0d42e..4b445add130 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphiosstoreapp/relationships/RelationshipsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphiosstoreapp/relationships/RelationshipsRequestBuilder.java @@ -60,7 +60,7 @@ public RelationshipsRequestBuilder(@jakarta.annotation.Nonnull final String rawU super(requestAdapter, "{+baseurl}/deviceAppManagement/mobileApps/{mobileApp%2Did}/graph.iosStoreApp/relationships{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl); } /** - * List of relationships for this mobile app. + * The set of direct relationships for this app. * @return a {@link MobileAppRelationshipCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code */ @@ -69,7 +69,7 @@ public MobileAppRelationshipCollectionResponse get() { return get(null); } /** - * List of relationships for this mobile app. + * The set of direct relationships for this app. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link MobileAppRelationshipCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code @@ -107,7 +107,7 @@ public MobileAppRelationship post(@jakarta.annotation.Nonnull final MobileAppRel return this.requestAdapter.send(requestInfo, errorMapping, MobileAppRelationship::createFromDiscriminatorValue); } /** - * List of relationships for this mobile app. + * The set of direct relationships for this app. * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull @@ -115,7 +115,7 @@ public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } /** - * List of relationships for this mobile app. + * The set of direct relationships for this app. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} */ @@ -161,7 +161,7 @@ public RelationshipsRequestBuilder withUrl(@jakarta.annotation.Nonnull final Str return new RelationshipsRequestBuilder(rawUrl, requestAdapter); } /** - * List of relationships for this mobile app. + * The set of direct relationships for this app. */ @jakarta.annotation.Generated("com.microsoft.kiota") public class GetQueryParameters implements QueryParameters { diff --git a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphiosstoreapp/relationships/item/MobileAppRelationshipItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphiosstoreapp/relationships/item/MobileAppRelationshipItemRequestBuilder.java index d211cd0e0fd..35d83ac931c 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphiosstoreapp/relationships/item/MobileAppRelationshipItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphiosstoreapp/relationships/item/MobileAppRelationshipItemRequestBuilder.java @@ -55,7 +55,7 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume this.requestAdapter.sendPrimitive(requestInfo, errorMapping, Void.class); } /** - * List of relationships for this mobile app. + * The set of direct relationships for this app. * @return a {@link MobileAppRelationship} * @throws ODataError When receiving a 4XX or 5XX status code */ @@ -64,7 +64,7 @@ public MobileAppRelationship get() { return get(null); } /** - * List of relationships for this mobile app. + * The set of direct relationships for this app. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link MobileAppRelationship} * @throws ODataError When receiving a 4XX or 5XX status code @@ -121,7 +121,7 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl return requestInfo; } /** - * List of relationships for this mobile app. + * The set of direct relationships for this app. * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull @@ -129,7 +129,7 @@ public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } /** - * List of relationships for this mobile app. + * The set of direct relationships for this app. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} */ @@ -181,7 +181,7 @@ public MobileAppRelationshipItemRequestBuilder withUrl(@jakarta.annotation.Nonnu public class DeleteRequestConfiguration extends BaseRequestConfiguration { } /** - * List of relationships for this mobile app. + * The set of direct relationships for this app. */ @jakarta.annotation.Generated("com.microsoft.kiota") public class GetQueryParameters implements QueryParameters { diff --git a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphiosvppapp/relationships/RelationshipsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphiosvppapp/relationships/RelationshipsRequestBuilder.java index ac647643cea..1019ab36a41 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphiosvppapp/relationships/RelationshipsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphiosvppapp/relationships/RelationshipsRequestBuilder.java @@ -60,7 +60,7 @@ public RelationshipsRequestBuilder(@jakarta.annotation.Nonnull final String rawU super(requestAdapter, "{+baseurl}/deviceAppManagement/mobileApps/{mobileApp%2Did}/graph.iosVppApp/relationships{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl); } /** - * List of relationships for this mobile app. + * The set of direct relationships for this app. * @return a {@link MobileAppRelationshipCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code */ @@ -69,7 +69,7 @@ public MobileAppRelationshipCollectionResponse get() { return get(null); } /** - * List of relationships for this mobile app. + * The set of direct relationships for this app. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link MobileAppRelationshipCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code @@ -107,7 +107,7 @@ public MobileAppRelationship post(@jakarta.annotation.Nonnull final MobileAppRel return this.requestAdapter.send(requestInfo, errorMapping, MobileAppRelationship::createFromDiscriminatorValue); } /** - * List of relationships for this mobile app. + * The set of direct relationships for this app. * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull @@ -115,7 +115,7 @@ public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } /** - * List of relationships for this mobile app. + * The set of direct relationships for this app. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} */ @@ -161,7 +161,7 @@ public RelationshipsRequestBuilder withUrl(@jakarta.annotation.Nonnull final Str return new RelationshipsRequestBuilder(rawUrl, requestAdapter); } /** - * List of relationships for this mobile app. + * The set of direct relationships for this app. */ @jakarta.annotation.Generated("com.microsoft.kiota") public class GetQueryParameters implements QueryParameters { diff --git a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphiosvppapp/relationships/item/MobileAppRelationshipItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphiosvppapp/relationships/item/MobileAppRelationshipItemRequestBuilder.java index 0084c2bf8a5..cd446342272 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphiosvppapp/relationships/item/MobileAppRelationshipItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphiosvppapp/relationships/item/MobileAppRelationshipItemRequestBuilder.java @@ -55,7 +55,7 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume this.requestAdapter.sendPrimitive(requestInfo, errorMapping, Void.class); } /** - * List of relationships for this mobile app. + * The set of direct relationships for this app. * @return a {@link MobileAppRelationship} * @throws ODataError When receiving a 4XX or 5XX status code */ @@ -64,7 +64,7 @@ public MobileAppRelationship get() { return get(null); } /** - * List of relationships for this mobile app. + * The set of direct relationships for this app. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link MobileAppRelationship} * @throws ODataError When receiving a 4XX or 5XX status code @@ -121,7 +121,7 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl return requestInfo; } /** - * List of relationships for this mobile app. + * The set of direct relationships for this app. * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull @@ -129,7 +129,7 @@ public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } /** - * List of relationships for this mobile app. + * The set of direct relationships for this app. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} */ @@ -181,7 +181,7 @@ public MobileAppRelationshipItemRequestBuilder withUrl(@jakarta.annotation.Nonnu public class DeleteRequestConfiguration extends BaseRequestConfiguration { } /** - * List of relationships for this mobile app. + * The set of direct relationships for this app. */ @jakarta.annotation.Generated("com.microsoft.kiota") public class GetQueryParameters implements QueryParameters { diff --git a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphmacosdmgapp/relationships/RelationshipsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphmacosdmgapp/relationships/RelationshipsRequestBuilder.java index 62879441aac..639157f50a2 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphmacosdmgapp/relationships/RelationshipsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphmacosdmgapp/relationships/RelationshipsRequestBuilder.java @@ -60,7 +60,7 @@ public RelationshipsRequestBuilder(@jakarta.annotation.Nonnull final String rawU super(requestAdapter, "{+baseurl}/deviceAppManagement/mobileApps/{mobileApp%2Did}/graph.macOSDmgApp/relationships{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl); } /** - * List of relationships for this mobile app. + * The set of direct relationships for this app. * @return a {@link MobileAppRelationshipCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code */ @@ -69,7 +69,7 @@ public MobileAppRelationshipCollectionResponse get() { return get(null); } /** - * List of relationships for this mobile app. + * The set of direct relationships for this app. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link MobileAppRelationshipCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code @@ -107,7 +107,7 @@ public MobileAppRelationship post(@jakarta.annotation.Nonnull final MobileAppRel return this.requestAdapter.send(requestInfo, errorMapping, MobileAppRelationship::createFromDiscriminatorValue); } /** - * List of relationships for this mobile app. + * The set of direct relationships for this app. * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull @@ -115,7 +115,7 @@ public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } /** - * List of relationships for this mobile app. + * The set of direct relationships for this app. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} */ @@ -161,7 +161,7 @@ public RelationshipsRequestBuilder withUrl(@jakarta.annotation.Nonnull final Str return new RelationshipsRequestBuilder(rawUrl, requestAdapter); } /** - * List of relationships for this mobile app. + * The set of direct relationships for this app. */ @jakarta.annotation.Generated("com.microsoft.kiota") public class GetQueryParameters implements QueryParameters { diff --git a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphmacosdmgapp/relationships/item/MobileAppRelationshipItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphmacosdmgapp/relationships/item/MobileAppRelationshipItemRequestBuilder.java index e092d252e18..7b99226bfec 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphmacosdmgapp/relationships/item/MobileAppRelationshipItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphmacosdmgapp/relationships/item/MobileAppRelationshipItemRequestBuilder.java @@ -55,7 +55,7 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume this.requestAdapter.sendPrimitive(requestInfo, errorMapping, Void.class); } /** - * List of relationships for this mobile app. + * The set of direct relationships for this app. * @return a {@link MobileAppRelationship} * @throws ODataError When receiving a 4XX or 5XX status code */ @@ -64,7 +64,7 @@ public MobileAppRelationship get() { return get(null); } /** - * List of relationships for this mobile app. + * The set of direct relationships for this app. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link MobileAppRelationship} * @throws ODataError When receiving a 4XX or 5XX status code @@ -121,7 +121,7 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl return requestInfo; } /** - * List of relationships for this mobile app. + * The set of direct relationships for this app. * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull @@ -129,7 +129,7 @@ public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } /** - * List of relationships for this mobile app. + * The set of direct relationships for this app. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} */ @@ -181,7 +181,7 @@ public MobileAppRelationshipItemRequestBuilder withUrl(@jakarta.annotation.Nonnu public class DeleteRequestConfiguration extends BaseRequestConfiguration { } /** - * List of relationships for this mobile app. + * The set of direct relationships for this app. */ @jakarta.annotation.Generated("com.microsoft.kiota") public class GetQueryParameters implements QueryParameters { diff --git a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphmacoslobapp/relationships/RelationshipsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphmacoslobapp/relationships/RelationshipsRequestBuilder.java index fa61178aa94..a2447293579 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphmacoslobapp/relationships/RelationshipsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphmacoslobapp/relationships/RelationshipsRequestBuilder.java @@ -60,7 +60,7 @@ public RelationshipsRequestBuilder(@jakarta.annotation.Nonnull final String rawU super(requestAdapter, "{+baseurl}/deviceAppManagement/mobileApps/{mobileApp%2Did}/graph.macOSLobApp/relationships{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl); } /** - * List of relationships for this mobile app. + * The set of direct relationships for this app. * @return a {@link MobileAppRelationshipCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code */ @@ -69,7 +69,7 @@ public MobileAppRelationshipCollectionResponse get() { return get(null); } /** - * List of relationships for this mobile app. + * The set of direct relationships for this app. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link MobileAppRelationshipCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code @@ -107,7 +107,7 @@ public MobileAppRelationship post(@jakarta.annotation.Nonnull final MobileAppRel return this.requestAdapter.send(requestInfo, errorMapping, MobileAppRelationship::createFromDiscriminatorValue); } /** - * List of relationships for this mobile app. + * The set of direct relationships for this app. * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull @@ -115,7 +115,7 @@ public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } /** - * List of relationships for this mobile app. + * The set of direct relationships for this app. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} */ @@ -161,7 +161,7 @@ public RelationshipsRequestBuilder withUrl(@jakarta.annotation.Nonnull final Str return new RelationshipsRequestBuilder(rawUrl, requestAdapter); } /** - * List of relationships for this mobile app. + * The set of direct relationships for this app. */ @jakarta.annotation.Generated("com.microsoft.kiota") public class GetQueryParameters implements QueryParameters { diff --git a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphmacoslobapp/relationships/item/MobileAppRelationshipItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphmacoslobapp/relationships/item/MobileAppRelationshipItemRequestBuilder.java index 778c125ca66..94d50b0fdda 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphmacoslobapp/relationships/item/MobileAppRelationshipItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphmacoslobapp/relationships/item/MobileAppRelationshipItemRequestBuilder.java @@ -55,7 +55,7 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume this.requestAdapter.sendPrimitive(requestInfo, errorMapping, Void.class); } /** - * List of relationships for this mobile app. + * The set of direct relationships for this app. * @return a {@link MobileAppRelationship} * @throws ODataError When receiving a 4XX or 5XX status code */ @@ -64,7 +64,7 @@ public MobileAppRelationship get() { return get(null); } /** - * List of relationships for this mobile app. + * The set of direct relationships for this app. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link MobileAppRelationship} * @throws ODataError When receiving a 4XX or 5XX status code @@ -121,7 +121,7 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl return requestInfo; } /** - * List of relationships for this mobile app. + * The set of direct relationships for this app. * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull @@ -129,7 +129,7 @@ public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } /** - * List of relationships for this mobile app. + * The set of direct relationships for this app. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} */ @@ -181,7 +181,7 @@ public MobileAppRelationshipItemRequestBuilder withUrl(@jakarta.annotation.Nonnu public class DeleteRequestConfiguration extends BaseRequestConfiguration { } /** - * List of relationships for this mobile app. + * The set of direct relationships for this app. */ @jakarta.annotation.Generated("com.microsoft.kiota") public class GetQueryParameters implements QueryParameters { diff --git a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphmacospkgapp/relationships/RelationshipsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphmacospkgapp/relationships/RelationshipsRequestBuilder.java index 60c827f1553..36f80c8068f 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphmacospkgapp/relationships/RelationshipsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphmacospkgapp/relationships/RelationshipsRequestBuilder.java @@ -60,7 +60,7 @@ public RelationshipsRequestBuilder(@jakarta.annotation.Nonnull final String rawU super(requestAdapter, "{+baseurl}/deviceAppManagement/mobileApps/{mobileApp%2Did}/graph.macOSPkgApp/relationships{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl); } /** - * List of relationships for this mobile app. + * The set of direct relationships for this app. * @return a {@link MobileAppRelationshipCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code */ @@ -69,7 +69,7 @@ public MobileAppRelationshipCollectionResponse get() { return get(null); } /** - * List of relationships for this mobile app. + * The set of direct relationships for this app. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link MobileAppRelationshipCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code @@ -107,7 +107,7 @@ public MobileAppRelationship post(@jakarta.annotation.Nonnull final MobileAppRel return this.requestAdapter.send(requestInfo, errorMapping, MobileAppRelationship::createFromDiscriminatorValue); } /** - * List of relationships for this mobile app. + * The set of direct relationships for this app. * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull @@ -115,7 +115,7 @@ public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } /** - * List of relationships for this mobile app. + * The set of direct relationships for this app. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} */ @@ -161,7 +161,7 @@ public RelationshipsRequestBuilder withUrl(@jakarta.annotation.Nonnull final Str return new RelationshipsRequestBuilder(rawUrl, requestAdapter); } /** - * List of relationships for this mobile app. + * The set of direct relationships for this app. */ @jakarta.annotation.Generated("com.microsoft.kiota") public class GetQueryParameters implements QueryParameters { diff --git a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphmacospkgapp/relationships/item/MobileAppRelationshipItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphmacospkgapp/relationships/item/MobileAppRelationshipItemRequestBuilder.java index dff4985578b..533a9e9f632 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphmacospkgapp/relationships/item/MobileAppRelationshipItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphmacospkgapp/relationships/item/MobileAppRelationshipItemRequestBuilder.java @@ -55,7 +55,7 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume this.requestAdapter.sendPrimitive(requestInfo, errorMapping, Void.class); } /** - * List of relationships for this mobile app. + * The set of direct relationships for this app. * @return a {@link MobileAppRelationship} * @throws ODataError When receiving a 4XX or 5XX status code */ @@ -64,7 +64,7 @@ public MobileAppRelationship get() { return get(null); } /** - * List of relationships for this mobile app. + * The set of direct relationships for this app. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link MobileAppRelationship} * @throws ODataError When receiving a 4XX or 5XX status code @@ -121,7 +121,7 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl return requestInfo; } /** - * List of relationships for this mobile app. + * The set of direct relationships for this app. * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull @@ -129,7 +129,7 @@ public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } /** - * List of relationships for this mobile app. + * The set of direct relationships for this app. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} */ @@ -181,7 +181,7 @@ public MobileAppRelationshipItemRequestBuilder withUrl(@jakarta.annotation.Nonnu public class DeleteRequestConfiguration extends BaseRequestConfiguration { } /** - * List of relationships for this mobile app. + * The set of direct relationships for this app. */ @jakarta.annotation.Generated("com.microsoft.kiota") public class GetQueryParameters implements QueryParameters { diff --git a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphmanagedandroidlobapp/relationships/RelationshipsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphmanagedandroidlobapp/relationships/RelationshipsRequestBuilder.java index 1d02bc88588..4f92afd48b8 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphmanagedandroidlobapp/relationships/RelationshipsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphmanagedandroidlobapp/relationships/RelationshipsRequestBuilder.java @@ -60,7 +60,7 @@ public RelationshipsRequestBuilder(@jakarta.annotation.Nonnull final String rawU super(requestAdapter, "{+baseurl}/deviceAppManagement/mobileApps/{mobileApp%2Did}/graph.managedAndroidLobApp/relationships{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl); } /** - * List of relationships for this mobile app. + * The set of direct relationships for this app. * @return a {@link MobileAppRelationshipCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code */ @@ -69,7 +69,7 @@ public MobileAppRelationshipCollectionResponse get() { return get(null); } /** - * List of relationships for this mobile app. + * The set of direct relationships for this app. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link MobileAppRelationshipCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code @@ -107,7 +107,7 @@ public MobileAppRelationship post(@jakarta.annotation.Nonnull final MobileAppRel return this.requestAdapter.send(requestInfo, errorMapping, MobileAppRelationship::createFromDiscriminatorValue); } /** - * List of relationships for this mobile app. + * The set of direct relationships for this app. * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull @@ -115,7 +115,7 @@ public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } /** - * List of relationships for this mobile app. + * The set of direct relationships for this app. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} */ @@ -161,7 +161,7 @@ public RelationshipsRequestBuilder withUrl(@jakarta.annotation.Nonnull final Str return new RelationshipsRequestBuilder(rawUrl, requestAdapter); } /** - * List of relationships for this mobile app. + * The set of direct relationships for this app. */ @jakarta.annotation.Generated("com.microsoft.kiota") public class GetQueryParameters implements QueryParameters { diff --git a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphmanagedandroidlobapp/relationships/item/MobileAppRelationshipItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphmanagedandroidlobapp/relationships/item/MobileAppRelationshipItemRequestBuilder.java index 6c2d1fd2ed9..5fdac983726 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphmanagedandroidlobapp/relationships/item/MobileAppRelationshipItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphmanagedandroidlobapp/relationships/item/MobileAppRelationshipItemRequestBuilder.java @@ -55,7 +55,7 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume this.requestAdapter.sendPrimitive(requestInfo, errorMapping, Void.class); } /** - * List of relationships for this mobile app. + * The set of direct relationships for this app. * @return a {@link MobileAppRelationship} * @throws ODataError When receiving a 4XX or 5XX status code */ @@ -64,7 +64,7 @@ public MobileAppRelationship get() { return get(null); } /** - * List of relationships for this mobile app. + * The set of direct relationships for this app. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link MobileAppRelationship} * @throws ODataError When receiving a 4XX or 5XX status code @@ -121,7 +121,7 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl return requestInfo; } /** - * List of relationships for this mobile app. + * The set of direct relationships for this app. * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull @@ -129,7 +129,7 @@ public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } /** - * List of relationships for this mobile app. + * The set of direct relationships for this app. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} */ @@ -181,7 +181,7 @@ public MobileAppRelationshipItemRequestBuilder withUrl(@jakarta.annotation.Nonnu public class DeleteRequestConfiguration extends BaseRequestConfiguration { } /** - * List of relationships for this mobile app. + * The set of direct relationships for this app. */ @jakarta.annotation.Generated("com.microsoft.kiota") public class GetQueryParameters implements QueryParameters { diff --git a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphmanagedioslobapp/relationships/RelationshipsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphmanagedioslobapp/relationships/RelationshipsRequestBuilder.java index e699247752a..635e265ca03 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphmanagedioslobapp/relationships/RelationshipsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphmanagedioslobapp/relationships/RelationshipsRequestBuilder.java @@ -60,7 +60,7 @@ public RelationshipsRequestBuilder(@jakarta.annotation.Nonnull final String rawU super(requestAdapter, "{+baseurl}/deviceAppManagement/mobileApps/{mobileApp%2Did}/graph.managedIOSLobApp/relationships{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl); } /** - * List of relationships for this mobile app. + * The set of direct relationships for this app. * @return a {@link MobileAppRelationshipCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code */ @@ -69,7 +69,7 @@ public MobileAppRelationshipCollectionResponse get() { return get(null); } /** - * List of relationships for this mobile app. + * The set of direct relationships for this app. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link MobileAppRelationshipCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code @@ -107,7 +107,7 @@ public MobileAppRelationship post(@jakarta.annotation.Nonnull final MobileAppRel return this.requestAdapter.send(requestInfo, errorMapping, MobileAppRelationship::createFromDiscriminatorValue); } /** - * List of relationships for this mobile app. + * The set of direct relationships for this app. * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull @@ -115,7 +115,7 @@ public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } /** - * List of relationships for this mobile app. + * The set of direct relationships for this app. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} */ @@ -161,7 +161,7 @@ public RelationshipsRequestBuilder withUrl(@jakarta.annotation.Nonnull final Str return new RelationshipsRequestBuilder(rawUrl, requestAdapter); } /** - * List of relationships for this mobile app. + * The set of direct relationships for this app. */ @jakarta.annotation.Generated("com.microsoft.kiota") public class GetQueryParameters implements QueryParameters { diff --git a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphmanagedioslobapp/relationships/item/MobileAppRelationshipItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphmanagedioslobapp/relationships/item/MobileAppRelationshipItemRequestBuilder.java index 6176929305a..a88f6d6298c 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphmanagedioslobapp/relationships/item/MobileAppRelationshipItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphmanagedioslobapp/relationships/item/MobileAppRelationshipItemRequestBuilder.java @@ -55,7 +55,7 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume this.requestAdapter.sendPrimitive(requestInfo, errorMapping, Void.class); } /** - * List of relationships for this mobile app. + * The set of direct relationships for this app. * @return a {@link MobileAppRelationship} * @throws ODataError When receiving a 4XX or 5XX status code */ @@ -64,7 +64,7 @@ public MobileAppRelationship get() { return get(null); } /** - * List of relationships for this mobile app. + * The set of direct relationships for this app. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link MobileAppRelationship} * @throws ODataError When receiving a 4XX or 5XX status code @@ -121,7 +121,7 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl return requestInfo; } /** - * List of relationships for this mobile app. + * The set of direct relationships for this app. * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull @@ -129,7 +129,7 @@ public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } /** - * List of relationships for this mobile app. + * The set of direct relationships for this app. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} */ @@ -181,7 +181,7 @@ public MobileAppRelationshipItemRequestBuilder withUrl(@jakarta.annotation.Nonnu public class DeleteRequestConfiguration extends BaseRequestConfiguration { } /** - * List of relationships for this mobile app. + * The set of direct relationships for this app. */ @jakarta.annotation.Generated("com.microsoft.kiota") public class GetQueryParameters implements QueryParameters { diff --git a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphmanagedmobilelobapp/relationships/RelationshipsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphmanagedmobilelobapp/relationships/RelationshipsRequestBuilder.java index faa646754b5..9191819c7d7 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphmanagedmobilelobapp/relationships/RelationshipsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphmanagedmobilelobapp/relationships/RelationshipsRequestBuilder.java @@ -60,7 +60,7 @@ public RelationshipsRequestBuilder(@jakarta.annotation.Nonnull final String rawU super(requestAdapter, "{+baseurl}/deviceAppManagement/mobileApps/{mobileApp%2Did}/graph.managedMobileLobApp/relationships{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl); } /** - * List of relationships for this mobile app. + * The set of direct relationships for this app. * @return a {@link MobileAppRelationshipCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code */ @@ -69,7 +69,7 @@ public MobileAppRelationshipCollectionResponse get() { return get(null); } /** - * List of relationships for this mobile app. + * The set of direct relationships for this app. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link MobileAppRelationshipCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code @@ -107,7 +107,7 @@ public MobileAppRelationship post(@jakarta.annotation.Nonnull final MobileAppRel return this.requestAdapter.send(requestInfo, errorMapping, MobileAppRelationship::createFromDiscriminatorValue); } /** - * List of relationships for this mobile app. + * The set of direct relationships for this app. * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull @@ -115,7 +115,7 @@ public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } /** - * List of relationships for this mobile app. + * The set of direct relationships for this app. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} */ @@ -161,7 +161,7 @@ public RelationshipsRequestBuilder withUrl(@jakarta.annotation.Nonnull final Str return new RelationshipsRequestBuilder(rawUrl, requestAdapter); } /** - * List of relationships for this mobile app. + * The set of direct relationships for this app. */ @jakarta.annotation.Generated("com.microsoft.kiota") public class GetQueryParameters implements QueryParameters { diff --git a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphmanagedmobilelobapp/relationships/item/MobileAppRelationshipItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphmanagedmobilelobapp/relationships/item/MobileAppRelationshipItemRequestBuilder.java index 98c3e8e5aae..3c2ecec3392 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphmanagedmobilelobapp/relationships/item/MobileAppRelationshipItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphmanagedmobilelobapp/relationships/item/MobileAppRelationshipItemRequestBuilder.java @@ -55,7 +55,7 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume this.requestAdapter.sendPrimitive(requestInfo, errorMapping, Void.class); } /** - * List of relationships for this mobile app. + * The set of direct relationships for this app. * @return a {@link MobileAppRelationship} * @throws ODataError When receiving a 4XX or 5XX status code */ @@ -64,7 +64,7 @@ public MobileAppRelationship get() { return get(null); } /** - * List of relationships for this mobile app. + * The set of direct relationships for this app. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link MobileAppRelationship} * @throws ODataError When receiving a 4XX or 5XX status code @@ -121,7 +121,7 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl return requestInfo; } /** - * List of relationships for this mobile app. + * The set of direct relationships for this app. * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull @@ -129,7 +129,7 @@ public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } /** - * List of relationships for this mobile app. + * The set of direct relationships for this app. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} */ @@ -181,7 +181,7 @@ public MobileAppRelationshipItemRequestBuilder withUrl(@jakarta.annotation.Nonnu public class DeleteRequestConfiguration extends BaseRequestConfiguration { } /** - * List of relationships for this mobile app. + * The set of direct relationships for this app. */ @jakarta.annotation.Generated("com.microsoft.kiota") public class GetQueryParameters implements QueryParameters { diff --git a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphmicrosoftstoreforbusinessapp/relationships/RelationshipsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphmicrosoftstoreforbusinessapp/relationships/RelationshipsRequestBuilder.java index 1324fa486f8..e87573c9016 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphmicrosoftstoreforbusinessapp/relationships/RelationshipsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphmicrosoftstoreforbusinessapp/relationships/RelationshipsRequestBuilder.java @@ -60,7 +60,7 @@ public RelationshipsRequestBuilder(@jakarta.annotation.Nonnull final String rawU super(requestAdapter, "{+baseurl}/deviceAppManagement/mobileApps/{mobileApp%2Did}/graph.microsoftStoreForBusinessApp/relationships{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl); } /** - * List of relationships for this mobile app. + * The set of direct relationships for this app. * @return a {@link MobileAppRelationshipCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code */ @@ -69,7 +69,7 @@ public MobileAppRelationshipCollectionResponse get() { return get(null); } /** - * List of relationships for this mobile app. + * The set of direct relationships for this app. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link MobileAppRelationshipCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code @@ -107,7 +107,7 @@ public MobileAppRelationship post(@jakarta.annotation.Nonnull final MobileAppRel return this.requestAdapter.send(requestInfo, errorMapping, MobileAppRelationship::createFromDiscriminatorValue); } /** - * List of relationships for this mobile app. + * The set of direct relationships for this app. * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull @@ -115,7 +115,7 @@ public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } /** - * List of relationships for this mobile app. + * The set of direct relationships for this app. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} */ @@ -161,7 +161,7 @@ public RelationshipsRequestBuilder withUrl(@jakarta.annotation.Nonnull final Str return new RelationshipsRequestBuilder(rawUrl, requestAdapter); } /** - * List of relationships for this mobile app. + * The set of direct relationships for this app. */ @jakarta.annotation.Generated("com.microsoft.kiota") public class GetQueryParameters implements QueryParameters { diff --git a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphmicrosoftstoreforbusinessapp/relationships/item/MobileAppRelationshipItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphmicrosoftstoreforbusinessapp/relationships/item/MobileAppRelationshipItemRequestBuilder.java index 823c492efa1..7bf766d5850 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphmicrosoftstoreforbusinessapp/relationships/item/MobileAppRelationshipItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphmicrosoftstoreforbusinessapp/relationships/item/MobileAppRelationshipItemRequestBuilder.java @@ -55,7 +55,7 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume this.requestAdapter.sendPrimitive(requestInfo, errorMapping, Void.class); } /** - * List of relationships for this mobile app. + * The set of direct relationships for this app. * @return a {@link MobileAppRelationship} * @throws ODataError When receiving a 4XX or 5XX status code */ @@ -64,7 +64,7 @@ public MobileAppRelationship get() { return get(null); } /** - * List of relationships for this mobile app. + * The set of direct relationships for this app. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link MobileAppRelationship} * @throws ODataError When receiving a 4XX or 5XX status code @@ -121,7 +121,7 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl return requestInfo; } /** - * List of relationships for this mobile app. + * The set of direct relationships for this app. * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull @@ -129,7 +129,7 @@ public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } /** - * List of relationships for this mobile app. + * The set of direct relationships for this app. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} */ @@ -181,7 +181,7 @@ public MobileAppRelationshipItemRequestBuilder withUrl(@jakarta.annotation.Nonnu public class DeleteRequestConfiguration extends BaseRequestConfiguration { } /** - * List of relationships for this mobile app. + * The set of direct relationships for this app. */ @jakarta.annotation.Generated("com.microsoft.kiota") public class GetQueryParameters implements QueryParameters { diff --git a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphwin32lobapp/relationships/RelationshipsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphwin32lobapp/relationships/RelationshipsRequestBuilder.java index ffc42ee8f86..39a5d63a8cd 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphwin32lobapp/relationships/RelationshipsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphwin32lobapp/relationships/RelationshipsRequestBuilder.java @@ -60,7 +60,7 @@ public RelationshipsRequestBuilder(@jakarta.annotation.Nonnull final String rawU super(requestAdapter, "{+baseurl}/deviceAppManagement/mobileApps/{mobileApp%2Did}/graph.win32LobApp/relationships{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl); } /** - * List of relationships for this mobile app. + * The set of direct relationships for this app. * @return a {@link MobileAppRelationshipCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code */ @@ -69,7 +69,7 @@ public MobileAppRelationshipCollectionResponse get() { return get(null); } /** - * List of relationships for this mobile app. + * The set of direct relationships for this app. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link MobileAppRelationshipCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code @@ -107,7 +107,7 @@ public MobileAppRelationship post(@jakarta.annotation.Nonnull final MobileAppRel return this.requestAdapter.send(requestInfo, errorMapping, MobileAppRelationship::createFromDiscriminatorValue); } /** - * List of relationships for this mobile app. + * The set of direct relationships for this app. * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull @@ -115,7 +115,7 @@ public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } /** - * List of relationships for this mobile app. + * The set of direct relationships for this app. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} */ @@ -161,7 +161,7 @@ public RelationshipsRequestBuilder withUrl(@jakarta.annotation.Nonnull final Str return new RelationshipsRequestBuilder(rawUrl, requestAdapter); } /** - * List of relationships for this mobile app. + * The set of direct relationships for this app. */ @jakarta.annotation.Generated("com.microsoft.kiota") public class GetQueryParameters implements QueryParameters { diff --git a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphwin32lobapp/relationships/item/MobileAppRelationshipItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphwin32lobapp/relationships/item/MobileAppRelationshipItemRequestBuilder.java index b5a6402d764..b9f7554e640 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphwin32lobapp/relationships/item/MobileAppRelationshipItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphwin32lobapp/relationships/item/MobileAppRelationshipItemRequestBuilder.java @@ -55,7 +55,7 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume this.requestAdapter.sendPrimitive(requestInfo, errorMapping, Void.class); } /** - * List of relationships for this mobile app. + * The set of direct relationships for this app. * @return a {@link MobileAppRelationship} * @throws ODataError When receiving a 4XX or 5XX status code */ @@ -64,7 +64,7 @@ public MobileAppRelationship get() { return get(null); } /** - * List of relationships for this mobile app. + * The set of direct relationships for this app. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link MobileAppRelationship} * @throws ODataError When receiving a 4XX or 5XX status code @@ -121,7 +121,7 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl return requestInfo; } /** - * List of relationships for this mobile app. + * The set of direct relationships for this app. * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull @@ -129,7 +129,7 @@ public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } /** - * List of relationships for this mobile app. + * The set of direct relationships for this app. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} */ @@ -181,7 +181,7 @@ public MobileAppRelationshipItemRequestBuilder withUrl(@jakarta.annotation.Nonnu public class DeleteRequestConfiguration extends BaseRequestConfiguration { } /** - * List of relationships for this mobile app. + * The set of direct relationships for this app. */ @jakarta.annotation.Generated("com.microsoft.kiota") public class GetQueryParameters implements QueryParameters { diff --git a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphwindowsappx/relationships/RelationshipsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphwindowsappx/relationships/RelationshipsRequestBuilder.java index 5e966ff3df5..6314df56796 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphwindowsappx/relationships/RelationshipsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphwindowsappx/relationships/RelationshipsRequestBuilder.java @@ -60,7 +60,7 @@ public RelationshipsRequestBuilder(@jakarta.annotation.Nonnull final String rawU super(requestAdapter, "{+baseurl}/deviceAppManagement/mobileApps/{mobileApp%2Did}/graph.windowsAppX/relationships{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl); } /** - * List of relationships for this mobile app. + * The set of direct relationships for this app. * @return a {@link MobileAppRelationshipCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code */ @@ -69,7 +69,7 @@ public MobileAppRelationshipCollectionResponse get() { return get(null); } /** - * List of relationships for this mobile app. + * The set of direct relationships for this app. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link MobileAppRelationshipCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code @@ -107,7 +107,7 @@ public MobileAppRelationship post(@jakarta.annotation.Nonnull final MobileAppRel return this.requestAdapter.send(requestInfo, errorMapping, MobileAppRelationship::createFromDiscriminatorValue); } /** - * List of relationships for this mobile app. + * The set of direct relationships for this app. * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull @@ -115,7 +115,7 @@ public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } /** - * List of relationships for this mobile app. + * The set of direct relationships for this app. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} */ @@ -161,7 +161,7 @@ public RelationshipsRequestBuilder withUrl(@jakarta.annotation.Nonnull final Str return new RelationshipsRequestBuilder(rawUrl, requestAdapter); } /** - * List of relationships for this mobile app. + * The set of direct relationships for this app. */ @jakarta.annotation.Generated("com.microsoft.kiota") public class GetQueryParameters implements QueryParameters { diff --git a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphwindowsappx/relationships/item/MobileAppRelationshipItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphwindowsappx/relationships/item/MobileAppRelationshipItemRequestBuilder.java index 4850343aacb..896508d814a 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphwindowsappx/relationships/item/MobileAppRelationshipItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphwindowsappx/relationships/item/MobileAppRelationshipItemRequestBuilder.java @@ -55,7 +55,7 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume this.requestAdapter.sendPrimitive(requestInfo, errorMapping, Void.class); } /** - * List of relationships for this mobile app. + * The set of direct relationships for this app. * @return a {@link MobileAppRelationship} * @throws ODataError When receiving a 4XX or 5XX status code */ @@ -64,7 +64,7 @@ public MobileAppRelationship get() { return get(null); } /** - * List of relationships for this mobile app. + * The set of direct relationships for this app. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link MobileAppRelationship} * @throws ODataError When receiving a 4XX or 5XX status code @@ -121,7 +121,7 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl return requestInfo; } /** - * List of relationships for this mobile app. + * The set of direct relationships for this app. * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull @@ -129,7 +129,7 @@ public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } /** - * List of relationships for this mobile app. + * The set of direct relationships for this app. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} */ @@ -181,7 +181,7 @@ public MobileAppRelationshipItemRequestBuilder withUrl(@jakarta.annotation.Nonnu public class DeleteRequestConfiguration extends BaseRequestConfiguration { } /** - * List of relationships for this mobile app. + * The set of direct relationships for this app. */ @jakarta.annotation.Generated("com.microsoft.kiota") public class GetQueryParameters implements QueryParameters { diff --git a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphwindowsmobilemsi/relationships/RelationshipsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphwindowsmobilemsi/relationships/RelationshipsRequestBuilder.java index 38df293efb1..2fb0a8cdc70 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphwindowsmobilemsi/relationships/RelationshipsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphwindowsmobilemsi/relationships/RelationshipsRequestBuilder.java @@ -60,7 +60,7 @@ public RelationshipsRequestBuilder(@jakarta.annotation.Nonnull final String rawU super(requestAdapter, "{+baseurl}/deviceAppManagement/mobileApps/{mobileApp%2Did}/graph.windowsMobileMSI/relationships{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl); } /** - * List of relationships for this mobile app. + * The set of direct relationships for this app. * @return a {@link MobileAppRelationshipCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code */ @@ -69,7 +69,7 @@ public MobileAppRelationshipCollectionResponse get() { return get(null); } /** - * List of relationships for this mobile app. + * The set of direct relationships for this app. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link MobileAppRelationshipCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code @@ -107,7 +107,7 @@ public MobileAppRelationship post(@jakarta.annotation.Nonnull final MobileAppRel return this.requestAdapter.send(requestInfo, errorMapping, MobileAppRelationship::createFromDiscriminatorValue); } /** - * List of relationships for this mobile app. + * The set of direct relationships for this app. * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull @@ -115,7 +115,7 @@ public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } /** - * List of relationships for this mobile app. + * The set of direct relationships for this app. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} */ @@ -161,7 +161,7 @@ public RelationshipsRequestBuilder withUrl(@jakarta.annotation.Nonnull final Str return new RelationshipsRequestBuilder(rawUrl, requestAdapter); } /** - * List of relationships for this mobile app. + * The set of direct relationships for this app. */ @jakarta.annotation.Generated("com.microsoft.kiota") public class GetQueryParameters implements QueryParameters { diff --git a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphwindowsmobilemsi/relationships/item/MobileAppRelationshipItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphwindowsmobilemsi/relationships/item/MobileAppRelationshipItemRequestBuilder.java index af2f173556d..f1230bb7e99 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphwindowsmobilemsi/relationships/item/MobileAppRelationshipItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphwindowsmobilemsi/relationships/item/MobileAppRelationshipItemRequestBuilder.java @@ -55,7 +55,7 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume this.requestAdapter.sendPrimitive(requestInfo, errorMapping, Void.class); } /** - * List of relationships for this mobile app. + * The set of direct relationships for this app. * @return a {@link MobileAppRelationship} * @throws ODataError When receiving a 4XX or 5XX status code */ @@ -64,7 +64,7 @@ public MobileAppRelationship get() { return get(null); } /** - * List of relationships for this mobile app. + * The set of direct relationships for this app. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link MobileAppRelationship} * @throws ODataError When receiving a 4XX or 5XX status code @@ -121,7 +121,7 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl return requestInfo; } /** - * List of relationships for this mobile app. + * The set of direct relationships for this app. * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull @@ -129,7 +129,7 @@ public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } /** - * List of relationships for this mobile app. + * The set of direct relationships for this app. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} */ @@ -181,7 +181,7 @@ public MobileAppRelationshipItemRequestBuilder withUrl(@jakarta.annotation.Nonnu public class DeleteRequestConfiguration extends BaseRequestConfiguration { } /** - * List of relationships for this mobile app. + * The set of direct relationships for this app. */ @jakarta.annotation.Generated("com.microsoft.kiota") public class GetQueryParameters implements QueryParameters { diff --git a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphwindowsstoreapp/relationships/RelationshipsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphwindowsstoreapp/relationships/RelationshipsRequestBuilder.java index b3ee7dc7b4b..d5d91664713 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphwindowsstoreapp/relationships/RelationshipsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphwindowsstoreapp/relationships/RelationshipsRequestBuilder.java @@ -60,7 +60,7 @@ public RelationshipsRequestBuilder(@jakarta.annotation.Nonnull final String rawU super(requestAdapter, "{+baseurl}/deviceAppManagement/mobileApps/{mobileApp%2Did}/graph.windowsStoreApp/relationships{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl); } /** - * List of relationships for this mobile app. + * The set of direct relationships for this app. * @return a {@link MobileAppRelationshipCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code */ @@ -69,7 +69,7 @@ public MobileAppRelationshipCollectionResponse get() { return get(null); } /** - * List of relationships for this mobile app. + * The set of direct relationships for this app. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link MobileAppRelationshipCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code @@ -107,7 +107,7 @@ public MobileAppRelationship post(@jakarta.annotation.Nonnull final MobileAppRel return this.requestAdapter.send(requestInfo, errorMapping, MobileAppRelationship::createFromDiscriminatorValue); } /** - * List of relationships for this mobile app. + * The set of direct relationships for this app. * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull @@ -115,7 +115,7 @@ public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } /** - * List of relationships for this mobile app. + * The set of direct relationships for this app. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} */ @@ -161,7 +161,7 @@ public RelationshipsRequestBuilder withUrl(@jakarta.annotation.Nonnull final Str return new RelationshipsRequestBuilder(rawUrl, requestAdapter); } /** - * List of relationships for this mobile app. + * The set of direct relationships for this app. */ @jakarta.annotation.Generated("com.microsoft.kiota") public class GetQueryParameters implements QueryParameters { diff --git a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphwindowsstoreapp/relationships/item/MobileAppRelationshipItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphwindowsstoreapp/relationships/item/MobileAppRelationshipItemRequestBuilder.java index 6d467c24619..4564760752d 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphwindowsstoreapp/relationships/item/MobileAppRelationshipItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphwindowsstoreapp/relationships/item/MobileAppRelationshipItemRequestBuilder.java @@ -55,7 +55,7 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume this.requestAdapter.sendPrimitive(requestInfo, errorMapping, Void.class); } /** - * List of relationships for this mobile app. + * The set of direct relationships for this app. * @return a {@link MobileAppRelationship} * @throws ODataError When receiving a 4XX or 5XX status code */ @@ -64,7 +64,7 @@ public MobileAppRelationship get() { return get(null); } /** - * List of relationships for this mobile app. + * The set of direct relationships for this app. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link MobileAppRelationship} * @throws ODataError When receiving a 4XX or 5XX status code @@ -121,7 +121,7 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl return requestInfo; } /** - * List of relationships for this mobile app. + * The set of direct relationships for this app. * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull @@ -129,7 +129,7 @@ public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } /** - * List of relationships for this mobile app. + * The set of direct relationships for this app. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} */ @@ -181,7 +181,7 @@ public MobileAppRelationshipItemRequestBuilder withUrl(@jakarta.annotation.Nonnu public class DeleteRequestConfiguration extends BaseRequestConfiguration { } /** - * List of relationships for this mobile app. + * The set of direct relationships for this app. */ @jakarta.annotation.Generated("com.microsoft.kiota") public class GetQueryParameters implements QueryParameters { diff --git a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphwindowsuniversalappx/relationships/RelationshipsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphwindowsuniversalappx/relationships/RelationshipsRequestBuilder.java index c8965a3eedd..26468a82a26 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphwindowsuniversalappx/relationships/RelationshipsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphwindowsuniversalappx/relationships/RelationshipsRequestBuilder.java @@ -60,7 +60,7 @@ public RelationshipsRequestBuilder(@jakarta.annotation.Nonnull final String rawU super(requestAdapter, "{+baseurl}/deviceAppManagement/mobileApps/{mobileApp%2Did}/graph.windowsUniversalAppX/relationships{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl); } /** - * List of relationships for this mobile app. + * The set of direct relationships for this app. * @return a {@link MobileAppRelationshipCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code */ @@ -69,7 +69,7 @@ public MobileAppRelationshipCollectionResponse get() { return get(null); } /** - * List of relationships for this mobile app. + * The set of direct relationships for this app. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link MobileAppRelationshipCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code @@ -107,7 +107,7 @@ public MobileAppRelationship post(@jakarta.annotation.Nonnull final MobileAppRel return this.requestAdapter.send(requestInfo, errorMapping, MobileAppRelationship::createFromDiscriminatorValue); } /** - * List of relationships for this mobile app. + * The set of direct relationships for this app. * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull @@ -115,7 +115,7 @@ public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } /** - * List of relationships for this mobile app. + * The set of direct relationships for this app. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} */ @@ -161,7 +161,7 @@ public RelationshipsRequestBuilder withUrl(@jakarta.annotation.Nonnull final Str return new RelationshipsRequestBuilder(rawUrl, requestAdapter); } /** - * List of relationships for this mobile app. + * The set of direct relationships for this app. */ @jakarta.annotation.Generated("com.microsoft.kiota") public class GetQueryParameters implements QueryParameters { diff --git a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphwindowsuniversalappx/relationships/item/MobileAppRelationshipItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphwindowsuniversalappx/relationships/item/MobileAppRelationshipItemRequestBuilder.java index 05ed4775ac2..d2ca76348e3 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphwindowsuniversalappx/relationships/item/MobileAppRelationshipItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphwindowsuniversalappx/relationships/item/MobileAppRelationshipItemRequestBuilder.java @@ -55,7 +55,7 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume this.requestAdapter.sendPrimitive(requestInfo, errorMapping, Void.class); } /** - * List of relationships for this mobile app. + * The set of direct relationships for this app. * @return a {@link MobileAppRelationship} * @throws ODataError When receiving a 4XX or 5XX status code */ @@ -64,7 +64,7 @@ public MobileAppRelationship get() { return get(null); } /** - * List of relationships for this mobile app. + * The set of direct relationships for this app. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link MobileAppRelationship} * @throws ODataError When receiving a 4XX or 5XX status code @@ -121,7 +121,7 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl return requestInfo; } /** - * List of relationships for this mobile app. + * The set of direct relationships for this app. * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull @@ -129,7 +129,7 @@ public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } /** - * List of relationships for this mobile app. + * The set of direct relationships for this app. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} */ @@ -181,7 +181,7 @@ public MobileAppRelationshipItemRequestBuilder withUrl(@jakarta.annotation.Nonnu public class DeleteRequestConfiguration extends BaseRequestConfiguration { } /** - * List of relationships for this mobile app. + * The set of direct relationships for this app. */ @jakarta.annotation.Generated("com.microsoft.kiota") public class GetQueryParameters implements QueryParameters { diff --git a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphwindowswebapp/relationships/RelationshipsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphwindowswebapp/relationships/RelationshipsRequestBuilder.java index 96eb7788d90..13198b08b8c 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphwindowswebapp/relationships/RelationshipsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphwindowswebapp/relationships/RelationshipsRequestBuilder.java @@ -60,7 +60,7 @@ public RelationshipsRequestBuilder(@jakarta.annotation.Nonnull final String rawU super(requestAdapter, "{+baseurl}/deviceAppManagement/mobileApps/{mobileApp%2Did}/graph.windowsWebApp/relationships{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl); } /** - * List of relationships for this mobile app. + * The set of direct relationships for this app. * @return a {@link MobileAppRelationshipCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code */ @@ -69,7 +69,7 @@ public MobileAppRelationshipCollectionResponse get() { return get(null); } /** - * List of relationships for this mobile app. + * The set of direct relationships for this app. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link MobileAppRelationshipCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code @@ -107,7 +107,7 @@ public MobileAppRelationship post(@jakarta.annotation.Nonnull final MobileAppRel return this.requestAdapter.send(requestInfo, errorMapping, MobileAppRelationship::createFromDiscriminatorValue); } /** - * List of relationships for this mobile app. + * The set of direct relationships for this app. * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull @@ -115,7 +115,7 @@ public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } /** - * List of relationships for this mobile app. + * The set of direct relationships for this app. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} */ @@ -161,7 +161,7 @@ public RelationshipsRequestBuilder withUrl(@jakarta.annotation.Nonnull final Str return new RelationshipsRequestBuilder(rawUrl, requestAdapter); } /** - * List of relationships for this mobile app. + * The set of direct relationships for this app. */ @jakarta.annotation.Generated("com.microsoft.kiota") public class GetQueryParameters implements QueryParameters { diff --git a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphwindowswebapp/relationships/item/MobileAppRelationshipItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphwindowswebapp/relationships/item/MobileAppRelationshipItemRequestBuilder.java index e93f5b2f40a..8ce49837a21 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphwindowswebapp/relationships/item/MobileAppRelationshipItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphwindowswebapp/relationships/item/MobileAppRelationshipItemRequestBuilder.java @@ -55,7 +55,7 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume this.requestAdapter.sendPrimitive(requestInfo, errorMapping, Void.class); } /** - * List of relationships for this mobile app. + * The set of direct relationships for this app. * @return a {@link MobileAppRelationship} * @throws ODataError When receiving a 4XX or 5XX status code */ @@ -64,7 +64,7 @@ public MobileAppRelationship get() { return get(null); } /** - * List of relationships for this mobile app. + * The set of direct relationships for this app. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link MobileAppRelationship} * @throws ODataError When receiving a 4XX or 5XX status code @@ -121,7 +121,7 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl return requestInfo; } /** - * List of relationships for this mobile app. + * The set of direct relationships for this app. * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull @@ -129,7 +129,7 @@ public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } /** - * List of relationships for this mobile app. + * The set of direct relationships for this app. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} */ @@ -181,7 +181,7 @@ public MobileAppRelationshipItemRequestBuilder withUrl(@jakarta.annotation.Nonnu public class DeleteRequestConfiguration extends BaseRequestConfiguration { } /** - * List of relationships for this mobile app. + * The set of direct relationships for this app. */ @jakarta.annotation.Generated("com.microsoft.kiota") public class GetQueryParameters implements QueryParameters { diff --git a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphwingetapp/relationships/RelationshipsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphwingetapp/relationships/RelationshipsRequestBuilder.java index 46e38ce5c5b..e60bfe2be17 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphwingetapp/relationships/RelationshipsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphwingetapp/relationships/RelationshipsRequestBuilder.java @@ -60,7 +60,7 @@ public RelationshipsRequestBuilder(@jakarta.annotation.Nonnull final String rawU super(requestAdapter, "{+baseurl}/deviceAppManagement/mobileApps/{mobileApp%2Did}/graph.winGetApp/relationships{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl); } /** - * List of relationships for this mobile app. + * The set of direct relationships for this app. * @return a {@link MobileAppRelationshipCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code */ @@ -69,7 +69,7 @@ public MobileAppRelationshipCollectionResponse get() { return get(null); } /** - * List of relationships for this mobile app. + * The set of direct relationships for this app. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link MobileAppRelationshipCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code @@ -107,7 +107,7 @@ public MobileAppRelationship post(@jakarta.annotation.Nonnull final MobileAppRel return this.requestAdapter.send(requestInfo, errorMapping, MobileAppRelationship::createFromDiscriminatorValue); } /** - * List of relationships for this mobile app. + * The set of direct relationships for this app. * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull @@ -115,7 +115,7 @@ public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } /** - * List of relationships for this mobile app. + * The set of direct relationships for this app. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} */ @@ -161,7 +161,7 @@ public RelationshipsRequestBuilder withUrl(@jakarta.annotation.Nonnull final Str return new RelationshipsRequestBuilder(rawUrl, requestAdapter); } /** - * List of relationships for this mobile app. + * The set of direct relationships for this app. */ @jakarta.annotation.Generated("com.microsoft.kiota") public class GetQueryParameters implements QueryParameters { diff --git a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphwingetapp/relationships/item/MobileAppRelationshipItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphwingetapp/relationships/item/MobileAppRelationshipItemRequestBuilder.java index f4a58c604f7..6f0d326ffc0 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphwingetapp/relationships/item/MobileAppRelationshipItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphwingetapp/relationships/item/MobileAppRelationshipItemRequestBuilder.java @@ -55,7 +55,7 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume this.requestAdapter.sendPrimitive(requestInfo, errorMapping, Void.class); } /** - * List of relationships for this mobile app. + * The set of direct relationships for this app. * @return a {@link MobileAppRelationship} * @throws ODataError When receiving a 4XX or 5XX status code */ @@ -64,7 +64,7 @@ public MobileAppRelationship get() { return get(null); } /** - * List of relationships for this mobile app. + * The set of direct relationships for this app. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link MobileAppRelationship} * @throws ODataError When receiving a 4XX or 5XX status code @@ -121,7 +121,7 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl return requestInfo; } /** - * List of relationships for this mobile app. + * The set of direct relationships for this app. * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull @@ -129,7 +129,7 @@ public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } /** - * List of relationships for this mobile app. + * The set of direct relationships for this app. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} */ @@ -181,7 +181,7 @@ public MobileAppRelationshipItemRequestBuilder withUrl(@jakarta.annotation.Nonnu public class DeleteRequestConfiguration extends BaseRequestConfiguration { } /** - * List of relationships for this mobile app. + * The set of direct relationships for this app. */ @jakarta.annotation.Generated("com.microsoft.kiota") public class GetQueryParameters implements QueryParameters { diff --git a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/relationships/RelationshipsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/relationships/RelationshipsRequestBuilder.java index bd8b64e2dc7..c15d8ff17cb 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/relationships/RelationshipsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/relationships/RelationshipsRequestBuilder.java @@ -60,7 +60,7 @@ public RelationshipsRequestBuilder(@jakarta.annotation.Nonnull final String rawU super(requestAdapter, "{+baseurl}/deviceAppManagement/mobileApps/{mobileApp%2Did}/relationships{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl); } /** - * List of relationships for this mobile app. + * The set of direct relationships for this app. * @return a {@link MobileAppRelationshipCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code */ @@ -69,7 +69,7 @@ public MobileAppRelationshipCollectionResponse get() { return get(null); } /** - * List of relationships for this mobile app. + * The set of direct relationships for this app. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link MobileAppRelationshipCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code @@ -107,7 +107,7 @@ public MobileAppRelationship post(@jakarta.annotation.Nonnull final MobileAppRel return this.requestAdapter.send(requestInfo, errorMapping, MobileAppRelationship::createFromDiscriminatorValue); } /** - * List of relationships for this mobile app. + * The set of direct relationships for this app. * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull @@ -115,7 +115,7 @@ public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } /** - * List of relationships for this mobile app. + * The set of direct relationships for this app. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} */ @@ -161,7 +161,7 @@ public RelationshipsRequestBuilder withUrl(@jakarta.annotation.Nonnull final Str return new RelationshipsRequestBuilder(rawUrl, requestAdapter); } /** - * List of relationships for this mobile app. + * The set of direct relationships for this app. */ @jakarta.annotation.Generated("com.microsoft.kiota") public class GetQueryParameters implements QueryParameters { diff --git a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/relationships/item/MobileAppRelationshipItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/relationships/item/MobileAppRelationshipItemRequestBuilder.java index 19986416e28..9d12dec6b51 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/relationships/item/MobileAppRelationshipItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/relationships/item/MobileAppRelationshipItemRequestBuilder.java @@ -55,7 +55,7 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume this.requestAdapter.sendPrimitive(requestInfo, errorMapping, Void.class); } /** - * List of relationships for this mobile app. + * The set of direct relationships for this app. * @return a {@link MobileAppRelationship} * @throws ODataError When receiving a 4XX or 5XX status code */ @@ -64,7 +64,7 @@ public MobileAppRelationship get() { return get(null); } /** - * List of relationships for this mobile app. + * The set of direct relationships for this app. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link MobileAppRelationship} * @throws ODataError When receiving a 4XX or 5XX status code @@ -121,7 +121,7 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl return requestInfo; } /** - * List of relationships for this mobile app. + * The set of direct relationships for this app. * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull @@ -129,7 +129,7 @@ public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } /** - * List of relationships for this mobile app. + * The set of direct relationships for this app. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} */ @@ -181,7 +181,7 @@ public MobileAppRelationshipItemRequestBuilder withUrl(@jakarta.annotation.Nonnu public class DeleteRequestConfiguration extends BaseRequestConfiguration { } /** - * List of relationships for this mobile app. + * The set of direct relationships for this app. */ @jakarta.annotation.Generated("com.microsoft.kiota") public class GetQueryParameters implements QueryParameters { diff --git a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/mobileapptroubleshootingevents/item/applogcollectionrequests/AppLogCollectionRequestsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/mobileapptroubleshootingevents/item/applogcollectionrequests/AppLogCollectionRequestsRequestBuilder.java index 26d812ece28..1ac56ed7cab 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/mobileapptroubleshootingevents/item/applogcollectionrequests/AppLogCollectionRequestsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/mobileapptroubleshootingevents/item/applogcollectionrequests/AppLogCollectionRequestsRequestBuilder.java @@ -60,7 +60,7 @@ public AppLogCollectionRequestsRequestBuilder(@jakarta.annotation.Nonnull final super(requestAdapter, "{+baseurl}/deviceManagement/mobileAppTroubleshootingEvents/{mobileAppTroubleshootingEvent%2Did}/appLogCollectionRequests{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl); } /** - * The collection property of AppLogUploadRequest. + * Indicates collection of App Log Upload Request. * @return a {@link AppLogCollectionRequestCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code */ @@ -69,7 +69,7 @@ public AppLogCollectionRequestCollectionResponse get() { return get(null); } /** - * The collection property of AppLogUploadRequest. + * Indicates collection of App Log Upload Request. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AppLogCollectionRequestCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code @@ -107,7 +107,7 @@ public AppLogCollectionRequest post(@jakarta.annotation.Nonnull final AppLogColl return this.requestAdapter.send(requestInfo, errorMapping, AppLogCollectionRequest::createFromDiscriminatorValue); } /** - * The collection property of AppLogUploadRequest. + * Indicates collection of App Log Upload Request. * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull @@ -115,7 +115,7 @@ public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } /** - * The collection property of AppLogUploadRequest. + * Indicates collection of App Log Upload Request. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} */ @@ -161,7 +161,7 @@ public AppLogCollectionRequestsRequestBuilder withUrl(@jakarta.annotation.Nonnul return new AppLogCollectionRequestsRequestBuilder(rawUrl, requestAdapter); } /** - * The collection property of AppLogUploadRequest. + * Indicates collection of App Log Upload Request. */ @jakarta.annotation.Generated("com.microsoft.kiota") public class GetQueryParameters implements QueryParameters { diff --git a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/mobileapptroubleshootingevents/item/applogcollectionrequests/item/AppLogCollectionRequestItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/mobileapptroubleshootingevents/item/applogcollectionrequests/item/AppLogCollectionRequestItemRequestBuilder.java index 5438a2b0d82..5b2b745009e 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/mobileapptroubleshootingevents/item/applogcollectionrequests/item/AppLogCollectionRequestItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/mobileapptroubleshootingevents/item/applogcollectionrequests/item/AppLogCollectionRequestItemRequestBuilder.java @@ -64,7 +64,7 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume this.requestAdapter.sendPrimitive(requestInfo, errorMapping, Void.class); } /** - * The collection property of AppLogUploadRequest. + * Indicates collection of App Log Upload Request. * @return a {@link AppLogCollectionRequest} * @throws ODataError When receiving a 4XX or 5XX status code */ @@ -73,7 +73,7 @@ public AppLogCollectionRequest get() { return get(null); } /** - * The collection property of AppLogUploadRequest. + * Indicates collection of App Log Upload Request. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AppLogCollectionRequest} * @throws ODataError When receiving a 4XX or 5XX status code @@ -130,7 +130,7 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl return requestInfo; } /** - * The collection property of AppLogUploadRequest. + * Indicates collection of App Log Upload Request. * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull @@ -138,7 +138,7 @@ public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } /** - * The collection property of AppLogUploadRequest. + * Indicates collection of App Log Upload Request. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} */ @@ -190,7 +190,7 @@ public AppLogCollectionRequestItemRequestBuilder withUrl(@jakarta.annotation.Non public class DeleteRequestConfiguration extends BaseRequestConfiguration { } /** - * The collection property of AppLogUploadRequest. + * Indicates collection of App Log Upload Request. */ @jakarta.annotation.Generated("com.microsoft.kiota") public class GetQueryParameters implements QueryParameters { diff --git a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/virtualendpoint/reports/ReportsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/virtualendpoint/reports/ReportsRequestBuilder.java index ee402ad73da..c6935b39eba 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/virtualendpoint/reports/ReportsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/virtualendpoint/reports/ReportsRequestBuilder.java @@ -14,6 +14,7 @@ import com.microsoft.graph.beta.devicemanagement.virtualendpoint.reports.getremoteconnectionhistoricalreports.GetRemoteConnectionHistoricalReportsRequestBuilder; import com.microsoft.graph.beta.devicemanagement.virtualendpoint.reports.gettotalaggregatedremoteconnectionreports.GetTotalAggregatedRemoteConnectionReportsRequestBuilder; import com.microsoft.graph.beta.devicemanagement.virtualendpoint.reports.retrievebulkactionstatusreport.RetrieveBulkActionStatusReportRequestBuilder; +import com.microsoft.graph.beta.devicemanagement.virtualendpoint.reports.retrievecloudpcrecommendationreports.RetrieveCloudPcRecommendationReportsRequestBuilder; import com.microsoft.graph.beta.devicemanagement.virtualendpoint.reports.retrievecloudpctenantmetricsreport.RetrieveCloudPcTenantMetricsReportRequestBuilder; import com.microsoft.graph.beta.devicemanagement.virtualendpoint.reports.retrievecloudpctroubleshootreports.RetrieveCloudPcTroubleshootReportsRequestBuilder; import com.microsoft.graph.beta.devicemanagement.virtualendpoint.reports.retrieveconnectionqualityreports.RetrieveConnectionQualityReportsRequestBuilder; @@ -135,6 +136,14 @@ public GetTotalAggregatedRemoteConnectionReportsRequestBuilder getTotalAggregate public RetrieveBulkActionStatusReportRequestBuilder retrieveBulkActionStatusReport() { return new RetrieveBulkActionStatusReportRequestBuilder(pathParameters, requestAdapter); } + /** + * Provides operations to call the retrieveCloudPcRecommendationReports method. + * @return a {@link RetrieveCloudPcRecommendationReportsRequestBuilder} + */ + @jakarta.annotation.Nonnull + public RetrieveCloudPcRecommendationReportsRequestBuilder retrieveCloudPcRecommendationReports() { + return new RetrieveCloudPcRecommendationReportsRequestBuilder(pathParameters, requestAdapter); + } /** * Provides operations to call the retrieveCloudPcTenantMetricsReport method. * @return a {@link RetrieveCloudPcTenantMetricsReportRequestBuilder} diff --git a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/virtualendpoint/reports/getcloudpcrecommendationreports/GetCloudPcRecommendationReportsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/virtualendpoint/reports/getcloudpcrecommendationreports/GetCloudPcRecommendationReportsRequestBuilder.java index e84a0709081..ed9d949554e 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/virtualendpoint/reports/getcloudpcrecommendationreports/GetCloudPcRecommendationReportsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/virtualendpoint/reports/getcloudpcrecommendationreports/GetCloudPcRecommendationReportsRequestBuilder.java @@ -40,9 +40,12 @@ public GetCloudPcRecommendationReportsRequestBuilder(@jakarta.annotation.Nonnull * @param body The request body * @return a {@link InputStream} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Starting from July 01, 2025, this API ('getCloudPcRecommendationReports') will be deprecated and no longer supported. Please use the retrieveCloudPcRecommendationReports API. as of 2025-02/getCloudPcRecommendationReports on 2025-02-27 and will be removed 2025-07-01 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public InputStream post(@jakarta.annotation.Nonnull final GetCloudPcRecommendationReportsPostRequestBody body) { return post(body, null); } @@ -52,9 +55,12 @@ public InputStream post(@jakarta.annotation.Nonnull final GetCloudPcRecommendati * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link InputStream} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Starting from July 01, 2025, this API ('getCloudPcRecommendationReports') will be deprecated and no longer supported. Please use the retrieveCloudPcRecommendationReports API. as of 2025-02/getCloudPcRecommendationReports on 2025-02-27 and will be removed 2025-07-01 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public InputStream post(@jakarta.annotation.Nonnull final GetCloudPcRecommendationReportsPostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -66,8 +72,11 @@ public InputStream post(@jakarta.annotation.Nonnull final GetCloudPcRecommendati * Get the device recommendation reports for Cloud PCs, such as the usage category report. The usage category report categorizes a Cloud PC as Undersized, Oversized, Rightsized, or Underutilized, and also provides the recommended SKU when the Cloud PC isn't Rightsized. * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * Starting from July 01, 2025, this API ('getCloudPcRecommendationReports') will be deprecated and no longer supported. Please use the retrieveCloudPcRecommendationReports API. as of 2025-02/getCloudPcRecommendationReports on 2025-02-27 and will be removed 2025-07-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final GetCloudPcRecommendationReportsPostRequestBody body) { return toPostRequestInformation(body, null); } @@ -76,8 +85,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * Starting from July 01, 2025, this API ('getCloudPcRecommendationReports') will be deprecated and no longer supported. Please use the retrieveCloudPcRecommendationReports API. as of 2025-02/getCloudPcRecommendationReports on 2025-02-27 and will be removed 2025-07-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final GetCloudPcRecommendationReportsPostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -90,8 +102,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * 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 GetCloudPcRecommendationReportsRequestBuilder} + * @deprecated + * Starting from July 01, 2025, this API ('getCloudPcRecommendationReports') will be deprecated and no longer supported. Please use the retrieveCloudPcRecommendationReports API. as of 2025-02/getCloudPcRecommendationReports on 2025-02-27 and will be removed 2025-07-01 */ @jakarta.annotation.Nonnull + @Deprecated public GetCloudPcRecommendationReportsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new GetCloudPcRecommendationReportsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/virtualendpoint/reports/retrievecloudpcrecommendationreports/RetrieveCloudPcRecommendationReportsPostRequestBody.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/virtualendpoint/reports/retrievecloudpcrecommendationreports/RetrieveCloudPcRecommendationReportsPostRequestBody.java new file mode 100644 index 00000000000..fca58b84ddb --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/virtualendpoint/reports/retrievecloudpcrecommendationreports/RetrieveCloudPcRecommendationReportsPostRequestBody.java @@ -0,0 +1,227 @@ +package com.microsoft.graph.beta.devicemanagement.virtualendpoint.reports.retrievecloudpcrecommendationreports; + +import com.microsoft.graph.beta.models.CloudPcRecommendationReportType; +import com.microsoft.kiota.serialization.AdditionalDataHolder; +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParseNode; +import com.microsoft.kiota.serialization.SerializationWriter; +import com.microsoft.kiota.store.BackedModel; +import com.microsoft.kiota.store.BackingStore; +import com.microsoft.kiota.store.BackingStoreFactorySingleton; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +@jakarta.annotation.Generated("com.microsoft.kiota") +public class RetrieveCloudPcRecommendationReportsPostRequestBody implements AdditionalDataHolder, BackedModel, Parsable { + /** + * Stores model information. + */ + @jakarta.annotation.Nonnull + protected BackingStore backingStore; + /** + * Instantiates a new {@link RetrieveCloudPcRecommendationReportsPostRequestBody} and sets the default values. + */ + public RetrieveCloudPcRecommendationReportsPostRequestBody() { + this.backingStore = BackingStoreFactorySingleton.instance.createBackingStore(); + this.setAdditionalData(new HashMap<>()); + } + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param parseNode The parse node to use to read the discriminator value and create the object + * @return a {@link RetrieveCloudPcRecommendationReportsPostRequestBody} + */ + @jakarta.annotation.Nonnull + public static RetrieveCloudPcRecommendationReportsPostRequestBody createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) { + Objects.requireNonNull(parseNode); + return new RetrieveCloudPcRecommendationReportsPostRequestBody(); + } + /** + * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @return a {@link Map} + */ + @jakarta.annotation.Nonnull + public Map getAdditionalData() { + Map value = this.backingStore.get("additionalData"); + if(value == null) { + value = new HashMap<>(); + this.setAdditionalData(value); + } + return value; + } + /** + * Gets the backingStore property value. Stores model information. + * @return a {@link BackingStore} + */ + @jakarta.annotation.Nonnull + public BackingStore getBackingStore() { + return this.backingStore; + } + /** + * The deserialization information for the current model + * @return a {@link Map>} + */ + @jakarta.annotation.Nonnull + public Map> getFieldDeserializers() { + final HashMap> deserializerMap = new HashMap>(8); + deserializerMap.put("filter", (n) -> { this.setFilter(n.getStringValue()); }); + deserializerMap.put("groupBy", (n) -> { this.setGroupBy(n.getCollectionOfPrimitiveValues(String.class)); }); + deserializerMap.put("orderBy", (n) -> { this.setOrderBy(n.getCollectionOfPrimitiveValues(String.class)); }); + deserializerMap.put("reportName", (n) -> { this.setReportName(n.getEnumValue(CloudPcRecommendationReportType::forValue)); }); + deserializerMap.put("search", (n) -> { this.setSearch(n.getStringValue()); }); + deserializerMap.put("select", (n) -> { this.setSelect(n.getCollectionOfPrimitiveValues(String.class)); }); + deserializerMap.put("skip", (n) -> { this.setSkip(n.getIntegerValue()); }); + deserializerMap.put("top", (n) -> { this.setTop(n.getIntegerValue()); }); + return deserializerMap; + } + /** + * Gets the filter property value. The filter property + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String getFilter() { + return this.backingStore.get("filter"); + } + /** + * Gets the groupBy property value. The groupBy property + * @return a {@link java.util.List} + */ + @jakarta.annotation.Nullable + public java.util.List getGroupBy() { + return this.backingStore.get("groupBy"); + } + /** + * Gets the orderBy property value. The orderBy property + * @return a {@link java.util.List} + */ + @jakarta.annotation.Nullable + public java.util.List getOrderBy() { + return this.backingStore.get("orderBy"); + } + /** + * Gets the reportName property value. The reportName property + * @return a {@link CloudPcRecommendationReportType} + */ + @jakarta.annotation.Nullable + public CloudPcRecommendationReportType getReportName() { + return this.backingStore.get("reportName"); + } + /** + * Gets the search property value. The search property + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String getSearch() { + return this.backingStore.get("search"); + } + /** + * Gets the select property value. The select property + * @return a {@link java.util.List} + */ + @jakarta.annotation.Nullable + public java.util.List getSelect() { + return this.backingStore.get("select"); + } + /** + * Gets the skip property value. The skip property + * @return a {@link Integer} + */ + @jakarta.annotation.Nullable + public Integer getSkip() { + return this.backingStore.get("skip"); + } + /** + * Gets the top property value. The top property + * @return a {@link Integer} + */ + @jakarta.annotation.Nullable + public Integer getTop() { + return this.backingStore.get("top"); + } + /** + * Serializes information the current object + * @param writer Serialization writer to use to serialize this model + */ + public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writer) { + Objects.requireNonNull(writer); + writer.writeStringValue("filter", this.getFilter()); + writer.writeCollectionOfPrimitiveValues("groupBy", this.getGroupBy()); + writer.writeCollectionOfPrimitiveValues("orderBy", this.getOrderBy()); + writer.writeEnumValue("reportName", this.getReportName()); + writer.writeStringValue("search", this.getSearch()); + writer.writeCollectionOfPrimitiveValues("select", this.getSelect()); + writer.writeIntegerValue("skip", this.getSkip()); + writer.writeIntegerValue("top", this.getTop()); + writer.writeAdditionalData(this.getAdditionalData()); + } + /** + * Sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @param value Value to set for the AdditionalData property. + */ + public void setAdditionalData(@jakarta.annotation.Nullable final Map value) { + this.backingStore.set("additionalData", value); + } + /** + * Sets the backingStore property value. Stores model information. + * @param value Value to set for the backingStore property. + */ + public void setBackingStore(@jakarta.annotation.Nonnull final BackingStore value) { + Objects.requireNonNull(value); + this.backingStore = value; + } + /** + * Sets the filter property value. The filter property + * @param value Value to set for the filter property. + */ + public void setFilter(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("filter", value); + } + /** + * Sets the groupBy property value. The groupBy property + * @param value Value to set for the groupBy property. + */ + public void setGroupBy(@jakarta.annotation.Nullable final java.util.List value) { + this.backingStore.set("groupBy", value); + } + /** + * Sets the orderBy property value. The orderBy property + * @param value Value to set for the orderBy property. + */ + public void setOrderBy(@jakarta.annotation.Nullable final java.util.List value) { + this.backingStore.set("orderBy", value); + } + /** + * Sets the reportName property value. The reportName property + * @param value Value to set for the reportName property. + */ + public void setReportName(@jakarta.annotation.Nullable final CloudPcRecommendationReportType value) { + this.backingStore.set("reportName", value); + } + /** + * Sets the search property value. The search property + * @param value Value to set for the search property. + */ + public void setSearch(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("search", value); + } + /** + * Sets the select property value. The select property + * @param value Value to set for the select property. + */ + public void setSelect(@jakarta.annotation.Nullable final java.util.List value) { + this.backingStore.set("select", value); + } + /** + * Sets the skip property value. The skip property + * @param value Value to set for the skip property. + */ + public void setSkip(@jakarta.annotation.Nullable final Integer value) { + this.backingStore.set("skip", value); + } + /** + * Sets the top property value. The top property + * @param value Value to set for the top property. + */ + public void setTop(@jakarta.annotation.Nullable final Integer value) { + this.backingStore.set("top", value); + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/virtualendpoint/reports/retrievecloudpcrecommendationreports/RetrieveCloudPcRecommendationReportsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/virtualendpoint/reports/retrievecloudpcrecommendationreports/RetrieveCloudPcRecommendationReportsRequestBuilder.java new file mode 100644 index 00000000000..6d8ea8f02e8 --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/virtualendpoint/reports/retrievecloudpcrecommendationreports/RetrieveCloudPcRecommendationReportsRequestBuilder.java @@ -0,0 +1,103 @@ +package com.microsoft.graph.beta.devicemanagement.virtualendpoint.reports.retrievecloudpcrecommendationreports; + +import com.microsoft.graph.beta.models.odataerrors.ODataError; +import com.microsoft.kiota.BaseRequestBuilder; +import com.microsoft.kiota.BaseRequestConfiguration; +import com.microsoft.kiota.HttpMethod; +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.io.InputStream; +import java.util.Collection; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +/** + * Provides operations to call the retrieveCloudPcRecommendationReports method. + */ +@jakarta.annotation.Generated("com.microsoft.kiota") +public class RetrieveCloudPcRecommendationReportsRequestBuilder extends BaseRequestBuilder { + /** + * Instantiates a new {@link RetrieveCloudPcRecommendationReportsRequestBuilder} and sets the default values. + * @param pathParameters Path parameters for the request + * @param requestAdapter The request adapter to use to execute the requests. + */ + public RetrieveCloudPcRecommendationReportsRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/deviceManagement/virtualEndpoint/reports/retrieveCloudPcRecommendationReports", pathParameters); + } + /** + * Instantiates a new {@link RetrieveCloudPcRecommendationReportsRequestBuilder} 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 RetrieveCloudPcRecommendationReportsRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/deviceManagement/virtualEndpoint/reports/retrieveCloudPcRecommendationReports", rawUrl); + } + /** + * Invoke action retrieveCloudPcRecommendationReports + * @param body The request body + * @return a {@link InputStream} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public InputStream post(@jakarta.annotation.Nonnull final RetrieveCloudPcRecommendationReportsPostRequestBody body) { + return post(body, null); + } + /** + * Invoke action retrieveCloudPcRecommendationReports + * @param body The request body + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link InputStream} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public InputStream post(@jakarta.annotation.Nonnull final RetrieveCloudPcRecommendationReportsPostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + Objects.requireNonNull(body); + final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); + final HashMap> errorMapping = new HashMap>(); + errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); + return this.requestAdapter.sendPrimitive(requestInfo, errorMapping, InputStream.class); + } + /** + * Invoke action retrieveCloudPcRecommendationReports + * @param body The request body + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final RetrieveCloudPcRecommendationReportsPostRequestBody body) { + return toPostRequestInformation(body, null); + } + /** + * Invoke action retrieveCloudPcRecommendationReports + * @param body The request body + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final RetrieveCloudPcRecommendationReportsPostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + Objects.requireNonNull(body); + final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); + requestInfo.configure(requestConfiguration, PostRequestConfiguration::new); + requestInfo.headers.tryAdd("Accept", "application/octet-stream"); + requestInfo.setContentFromParsable(requestAdapter, "application/json", body); + 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 RetrieveCloudPcRecommendationReportsRequestBuilder} + */ + @jakarta.annotation.Nonnull + public RetrieveCloudPcRecommendationReportsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { + Objects.requireNonNull(rawUrl); + return new RetrieveCloudPcRecommendationReportsRequestBuilder(rawUrl, requestAdapter); + } + /** + * Configuration for the request such as headers, query parameters, and middleware options. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class PostRequestConfiguration extends BaseRequestConfiguration { + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/directory/authenticationmethoddevices/hardwareoathdevices/HardwareOathDevicesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/directory/authenticationmethoddevices/hardwareoathdevices/HardwareOathDevicesRequestBuilder.java index 3794691dfb6..99d3c31334c 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/directory/authenticationmethoddevices/hardwareoathdevices/HardwareOathDevicesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/directory/authenticationmethoddevices/hardwareoathdevices/HardwareOathDevicesRequestBuilder.java @@ -84,23 +84,23 @@ public HardwareOathTokenAuthenticationMethodDeviceCollectionResponse get(@jakart return this.requestAdapter.send(requestInfo, errorMapping, HardwareOathTokenAuthenticationMethodDeviceCollectionResponse::createFromDiscriminatorValue); } /** - * Create a new hardwareOathTokenAuthenticationMethodDevice object. Supports bulk creation. + * Create a new hardwareOathTokenAuthenticationMethodDevice object. You can optionally create and assign to a user in the same request; Or assign to a user via the assign API. * @param body The request body * @return a {@link HardwareOathTokenAuthenticationMethodDevice} * @throws ODataError When receiving a 4XX or 5XX status code - * @see Find more info here + * @see Find more info here */ @jakarta.annotation.Nullable public HardwareOathTokenAuthenticationMethodDevice post(@jakarta.annotation.Nonnull final HardwareOathTokenAuthenticationMethodDevice body) { return post(body, null); } /** - * Create a new hardwareOathTokenAuthenticationMethodDevice object. Supports bulk creation. + * Create a new hardwareOathTokenAuthenticationMethodDevice object. You can optionally create and assign to a user in the same request; Or assign to a user via the assign API. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link HardwareOathTokenAuthenticationMethodDevice} * @throws ODataError When receiving a 4XX or 5XX status code - * @see Find more info here + * @see Find more info here */ @jakarta.annotation.Nullable public HardwareOathTokenAuthenticationMethodDevice post(@jakarta.annotation.Nonnull final HardwareOathTokenAuthenticationMethodDevice body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { @@ -131,7 +131,7 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f return requestInfo; } /** - * Create a new hardwareOathTokenAuthenticationMethodDevice object. Supports bulk creation. + * Create a new hardwareOathTokenAuthenticationMethodDevice object. You can optionally create and assign to a user in the same request; Or assign to a user via the assign API. * @param body The request body * @return a {@link RequestInformation} */ @@ -140,7 +140,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f return toPostRequestInformation(body, null); } /** - * Create a new hardwareOathTokenAuthenticationMethodDevice object. Supports bulk creation. + * Create a new hardwareOathTokenAuthenticationMethodDevice object. You can optionally create and assign to a user in the same request; Or assign to a user via the assign API. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} diff --git a/src/main/java/com/microsoft/graph/beta/generated/education/users/item/EducationUserItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/education/users/item/EducationUserItemRequestBuilder.java index 624a2571257..9f0d0f02b48 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/education/users/item/EducationUserItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/education/users/item/EducationUserItemRequestBuilder.java @@ -135,23 +135,23 @@ public EducationUser get(@jakarta.annotation.Nullable final java.util.function.C return this.requestAdapter.send(requestInfo, errorMapping, EducationUser::createFromDiscriminatorValue); } /** - * Update the properties of an educationuser object. + * Update the relatedContact collection of an educationUser object. * @param body The request body * @return a {@link EducationUser} * @throws ODataError When receiving a 4XX or 5XX status code - * @see Find more info here + * @see Find more info here */ @jakarta.annotation.Nullable public EducationUser patch(@jakarta.annotation.Nonnull final EducationUser body) { return patch(body, null); } /** - * Update the properties of an educationuser object. + * Update the relatedContact collection of an educationUser object. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link EducationUser} * @throws ODataError When receiving a 4XX or 5XX status code - * @see Find more info here + * @see Find more info here */ @jakarta.annotation.Nullable public EducationUser patch(@jakarta.annotation.Nonnull final EducationUser body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { @@ -201,7 +201,7 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f return requestInfo; } /** - * Update the properties of an educationuser object. + * Update the relatedContact collection of an educationUser object. * @param body The request body * @return a {@link RequestInformation} */ @@ -210,7 +210,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull return toPatchRequestInformation(body, null); } /** - * Update the properties of an educationuser object. + * Update the relatedContact collection of an educationUser object. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} diff --git a/src/main/java/com/microsoft/graph/beta/generated/external/connections/item/schema/SchemaRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/external/connections/item/schema/SchemaRequestBuilder.java index 05701d147cd..0aee76cfb16 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/external/connections/item/schema/SchemaRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/external/connections/item/schema/SchemaRequestBuilder.java @@ -61,23 +61,23 @@ public Schema get(@jakarta.annotation.Nullable final java.util.function.Consumer return this.requestAdapter.send(requestInfo, errorMapping, Schema::createFromDiscriminatorValue); } /** - * Update the properties of a schema for an externalConnection. + * Create a new or update an existing schema for a Microsoft Search connection. * @param body The request body * @return a {@link Schema} * @throws ODataError When receiving a 4XX or 5XX status code - * @see Find more info here + * @see Find more info here */ @jakarta.annotation.Nullable public Schema patch(@jakarta.annotation.Nonnull final Schema body) { return patch(body, null); } /** - * Update the properties of a schema for an externalConnection. + * Create a new or update an existing schema for a Microsoft Search connection. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Schema} * @throws ODataError When receiving a 4XX or 5XX status code - * @see Find more info here + * @see Find more info here */ @jakarta.annotation.Nullable public Schema patch(@jakarta.annotation.Nonnull final Schema body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { @@ -108,7 +108,7 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f return requestInfo; } /** - * Update the properties of a schema for an externalConnection. + * Create a new or update an existing schema for a Microsoft Search connection. * @param body The request body * @return a {@link RequestInformation} */ @@ -117,7 +117,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull return toPatchRequestInformation(body, null); } /** - * Update the properties of a schema for an externalConnection. + * Create a new or update an existing schema for a Microsoft Search connection. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} diff --git a/src/main/java/com/microsoft/graph/beta/generated/external/industrydata/dataconnectors/DataConnectorsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/external/industrydata/dataconnectors/DataConnectorsRequestBuilder.java index ee0c87ba44e..968f017efcc 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/external/industrydata/dataconnectors/DataConnectorsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/external/industrydata/dataconnectors/DataConnectorsRequestBuilder.java @@ -84,23 +84,23 @@ public IndustryDataConnectorCollectionResponse get(@jakarta.annotation.Nullable return this.requestAdapter.send(requestInfo, errorMapping, IndustryDataConnectorCollectionResponse::createFromDiscriminatorValue); } /** - * Create a new oneRosterApiDataConnector object. + * Create a new azureDataLakeConnector object. * @param body The request body * @return a {@link IndustryDataConnector} * @throws ODataError When receiving a 4XX or 5XX status code - * @see Find more info here + * @see Find more info here */ @jakarta.annotation.Nullable public IndustryDataConnector post(@jakarta.annotation.Nonnull final IndustryDataConnector body) { return post(body, null); } /** - * Create a new oneRosterApiDataConnector object. + * Create a new azureDataLakeConnector object. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link IndustryDataConnector} * @throws ODataError When receiving a 4XX or 5XX status code - * @see Find more info here + * @see Find more info here */ @jakarta.annotation.Nullable public IndustryDataConnector post(@jakarta.annotation.Nonnull final IndustryDataConnector body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { @@ -131,7 +131,7 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f return requestInfo; } /** - * Create a new oneRosterApiDataConnector object. + * Create a new azureDataLakeConnector object. * @param body The request body * @return a {@link RequestInformation} */ @@ -140,7 +140,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f return toPostRequestInformation(body, null); } /** - * Create a new oneRosterApiDataConnector object. + * Create a new azureDataLakeConnector object. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} diff --git a/src/main/java/com/microsoft/graph/beta/generated/external/industrydata/operations/item/LongRunningOperationItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/external/industrydata/operations/item/LongRunningOperationItemRequestBuilder.java index c8ed7876ed3..45bc555d4d6 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/external/industrydata/operations/item/LongRunningOperationItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/external/industrydata/operations/item/LongRunningOperationItemRequestBuilder.java @@ -55,21 +55,21 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume this.requestAdapter.sendPrimitive(requestInfo, errorMapping, Void.class); } /** - * Read the properties and relationships of a fileValidateOperation object. + * Read the properties and relationships of a longRunningOperation object. This API allows you to retrieve the details and status of the following long-running Microsoft Graph API operations. The possible states of the long-running operation are notStarted, running, succeeded, failed, unknownFutureValue where succeeded and failed are terminal states. * @return a {@link LongRunningOperation} * @throws ODataError When receiving a 4XX or 5XX status code - * @see Find more info here + * @see Find more info here */ @jakarta.annotation.Nullable public LongRunningOperation get() { return get(null); } /** - * Read the properties and relationships of a fileValidateOperation object. + * Read the properties and relationships of a longRunningOperation object. This API allows you to retrieve the details and status of the following long-running Microsoft Graph API operations. The possible states of the long-running operation are notStarted, running, succeeded, failed, unknownFutureValue where succeeded and failed are terminal states. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link LongRunningOperation} * @throws ODataError When receiving a 4XX or 5XX status code - * @see Find more info here + * @see Find more info here */ @jakarta.annotation.Nullable public LongRunningOperation get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { @@ -123,7 +123,7 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl return requestInfo; } /** - * Read the properties and relationships of a fileValidateOperation object. + * Read the properties and relationships of a longRunningOperation object. This API allows you to retrieve the details and status of the following long-running Microsoft Graph API operations. The possible states of the long-running operation are notStarted, running, succeeded, failed, unknownFutureValue where succeeded and failed are terminal states. * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull @@ -131,7 +131,7 @@ public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } /** - * Read the properties and relationships of a fileValidateOperation object. + * Read the properties and relationships of a longRunningOperation object. This API allows you to retrieve the details and status of the following long-running Microsoft Graph API operations. The possible states of the long-running operation are notStarted, running, succeeded, failed, unknownFutureValue where succeeded and failed are terminal states. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} */ @@ -183,7 +183,7 @@ public LongRunningOperationItemRequestBuilder withUrl(@jakarta.annotation.Nonnul public class DeleteRequestConfiguration extends BaseRequestConfiguration { } /** - * Read the properties and relationships of a fileValidateOperation object. + * Read the properties and relationships of a longRunningOperation object. This API allows you to retrieve the details and status of the following long-running Microsoft Graph API operations. The possible states of the long-running operation are notStarted, running, succeeded, failed, unknownFutureValue where succeeded and failed are terminal states. */ @jakarta.annotation.Generated("com.microsoft.kiota") public class GetQueryParameters implements QueryParameters { diff --git a/src/main/java/com/microsoft/graph/beta/generated/groups/item/conversations/ConversationsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/conversations/ConversationsRequestBuilder.java index d101eebe4fb..0d4a96e9fbd 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/conversations/ConversationsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/conversations/ConversationsRequestBuilder.java @@ -84,23 +84,23 @@ public ConversationCollectionResponse get(@jakarta.annotation.Nullable final jav return this.requestAdapter.send(requestInfo, errorMapping, ConversationCollectionResponse::createFromDiscriminatorValue); } /** - * Create a new conversation by including a thread and a post. Use reply thread or reply post to further post to that conversation. + * Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. * @param body The request body * @return a {@link Conversation} * @throws ODataError When receiving a 4XX or 5XX status code - * @see Find more info here + * @see Find more info here */ @jakarta.annotation.Nullable public Conversation post(@jakarta.annotation.Nonnull final Conversation body) { return post(body, null); } /** - * Create a new conversation by including a thread and a post. Use reply thread or reply post to further post to that conversation. + * Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Conversation} * @throws ODataError When receiving a 4XX or 5XX status code - * @see Find more info here + * @see Find more info here */ @jakarta.annotation.Nullable public Conversation post(@jakarta.annotation.Nonnull final Conversation body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { @@ -131,7 +131,7 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f return requestInfo; } /** - * Create a new conversation by including a thread and a post. Use reply thread or reply post to further post to that conversation. + * Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. * @param body The request body * @return a {@link RequestInformation} */ @@ -140,7 +140,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f return toPostRequestInformation(body, null); } /** - * Create a new conversation by including a thread and a post. Use reply thread or reply post to further post to that conversation. + * Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} diff --git a/src/main/java/com/microsoft/graph/beta/generated/groups/item/conversations/item/threads/item/reply/ReplyRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/conversations/item/threads/item/reply/ReplyRequestBuilder.java index 2a696e26c4f..351067d851f 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/conversations/item/threads/item/reply/ReplyRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/conversations/item/threads/item/reply/ReplyRequestBuilder.java @@ -35,20 +35,20 @@ public ReplyRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak super(requestAdapter, "{+baseurl}/groups/{group%2Did}/conversations/{conversation%2Did}/threads/{conversationThread%2Did}/reply", rawUrl); } /** - * Reply to a post and add a new post to the specified thread in a group conversation. You can specify both the parent conversation and thread in the request, or, you can specify just the parent thread without the parent conversation. + * Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. * @param body The request body * @throws ODataError When receiving a 4XX or 5XX status code - * @see Find more info here + * @see Find more info here */ public void post(@jakarta.annotation.Nonnull final ReplyPostRequestBody body) { post(body, null); } /** - * Reply to a post and add a new post to the specified thread in a group conversation. You can specify both the parent conversation and thread in the request, or, you can specify just the parent thread without the parent conversation. + * Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code - * @see Find more info here + * @see Find more info here */ public void post(@jakarta.annotation.Nonnull final ReplyPostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); @@ -58,7 +58,7 @@ public void post(@jakarta.annotation.Nonnull final ReplyPostRequestBody body, @j this.requestAdapter.sendPrimitive(requestInfo, errorMapping, Void.class); } /** - * Reply to a post and add a new post to the specified thread in a group conversation. You can specify both the parent conversation and thread in the request, or, you can specify just the parent thread without the parent conversation. + * Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. * @param body The request body * @return a {@link RequestInformation} */ @@ -67,7 +67,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f return toPostRequestInformation(body, null); } /** - * Reply to a post and add a new post to the specified thread in a group conversation. You can specify both the parent conversation and thread in the request, or, you can specify just the parent thread without the parent conversation. + * Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} diff --git a/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/informationprotection/sensitivitylabels/SensitivityLabelsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/informationprotection/sensitivitylabels/SensitivityLabelsRequestBuilder.java index 6baa72f8dcc..7ebe4fc5f94 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/informationprotection/sensitivitylabels/SensitivityLabelsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/informationprotection/sensitivitylabels/SensitivityLabelsRequestBuilder.java @@ -1,5 +1,7 @@ package com.microsoft.graph.beta.groups.item.sites.item.informationprotection.sensitivitylabels; +import com.microsoft.graph.beta.groups.item.sites.item.informationprotection.sensitivitylabels.computeinheritancewithlabelidswithlocalewithcontentformats.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder; +import com.microsoft.graph.beta.groups.item.sites.item.informationprotection.sensitivitylabels.computerightsandinheritance.ComputeRightsAndInheritanceRequestBuilder; import com.microsoft.graph.beta.groups.item.sites.item.informationprotection.sensitivitylabels.count.CountRequestBuilder; import com.microsoft.graph.beta.groups.item.sites.item.informationprotection.sensitivitylabels.evaluate.EvaluateRequestBuilder; import com.microsoft.graph.beta.groups.item.sites.item.informationprotection.sensitivitylabels.item.SensitivityLabelItemRequestBuilder; @@ -24,6 +26,14 @@ */ @jakarta.annotation.Generated("com.microsoft.kiota") public class SensitivityLabelsRequestBuilder extends BaseRequestBuilder { + /** + * Provides operations to call the computeRightsAndInheritance method. + * @return a {@link ComputeRightsAndInheritanceRequestBuilder} + */ + @jakarta.annotation.Nonnull + public ComputeRightsAndInheritanceRequestBuilder computeRightsAndInheritance() { + return new ComputeRightsAndInheritanceRequestBuilder(pathParameters, requestAdapter); + } /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} @@ -52,6 +62,20 @@ public SensitivityLabelItemRequestBuilder bySensitivityLabelId(@jakarta.annotati urlTplParams.put("sensitivityLabel%2Did", sensitivityLabelId); return new SensitivityLabelItemRequestBuilder(urlTplParams, requestAdapter); } + /** + * Provides operations to call the computeInheritance method. + * @param contentFormats Usage: contentFormats={contentFormats} + * @param labelIds Usage: labelIds={labelIds} + * @param locale Usage: locale='{locale}' + * @return a {@link ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder} + */ + @jakarta.annotation.Nonnull + public ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder computeInheritanceWithLabelIdsWithLocaleWithContentFormats(@jakarta.annotation.Nonnull final String contentFormats, @jakarta.annotation.Nonnull final String labelIds, @jakarta.annotation.Nonnull final String locale) { + Objects.requireNonNull(contentFormats); + Objects.requireNonNull(labelIds); + Objects.requireNonNull(locale); + return new ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder(pathParameters, requestAdapter, contentFormats, labelIds, locale); + } /** * Instantiates a new {@link SensitivityLabelsRequestBuilder} and sets the default values. * @param pathParameters Path parameters for the request diff --git a/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/informationprotection/sensitivitylabels/computeinheritancewithlabelidswithlocalewithcontentformats/ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/informationprotection/sensitivitylabels/computeinheritancewithlabelidswithlocalewithcontentformats/ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder.java new file mode 100644 index 00000000000..d3123163f40 --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/informationprotection/sensitivitylabels/computeinheritancewithlabelidswithlocalewithcontentformats/ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder.java @@ -0,0 +1,104 @@ +package com.microsoft.graph.beta.groups.item.sites.item.informationprotection.sensitivitylabels.computeinheritancewithlabelidswithlocalewithcontentformats; + +import com.microsoft.graph.beta.models.odataerrors.ODataError; +import com.microsoft.graph.beta.models.SensitivityLabel; +import com.microsoft.kiota.BaseRequestBuilder; +import com.microsoft.kiota.BaseRequestConfiguration; +import com.microsoft.kiota.HttpMethod; +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 call the computeInheritance method. + */ +@jakarta.annotation.Generated("com.microsoft.kiota") +public class ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder extends BaseRequestBuilder { + /** + * Instantiates a new {@link ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder} and sets the default values. + * @param contentFormats Usage: contentFormats={contentFormats} + * @param labelIds Usage: labelIds={labelIds} + * @param locale Usage: locale='{locale}' + * @param pathParameters Path parameters for the request + * @param requestAdapter The request adapter to use to execute the requests. + */ + public ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter, @jakarta.annotation.Nullable final String contentFormats, @jakarta.annotation.Nullable final String labelIds, @jakarta.annotation.Nullable final String locale) { + super(requestAdapter, "{+baseurl}/groups/{group%2Did}/sites/{site%2Did}/informationProtection/sensitivityLabels/computeInheritance(labelIds={labelIds},locale='{locale}',contentFormats={contentFormats})", pathParameters); + this.pathParameters.put("contentFormats", contentFormats); + this.pathParameters.put("labelIds", labelIds); + this.pathParameters.put("locale", locale); + } + /** + * Instantiates a new {@link ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder} 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 ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/groups/{group%2Did}/sites/{site%2Did}/informationProtection/sensitivityLabels/computeInheritance(labelIds={labelIds},locale='{locale}',contentFormats={contentFormats})", rawUrl); + } + /** + * Calculate the sensitivity label that should be inherited by an output artifact, given a set of sensitivity labels from input or referenced artifacts. + * @return a {@link SensitivityLabel} + * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here + */ + @jakarta.annotation.Nullable + public SensitivityLabel get() { + return get(null); + } + /** + * Calculate the sensitivity label that should be inherited by an output artifact, given a set of sensitivity labels from input or referenced artifacts. + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link SensitivityLabel} + * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here + */ + @jakarta.annotation.Nullable + public SensitivityLabel get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); + final HashMap> errorMapping = new HashMap>(); + errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); + return this.requestAdapter.send(requestInfo, errorMapping, SensitivityLabel::createFromDiscriminatorValue); + } + /** + * Calculate the sensitivity label that should be inherited by an output artifact, given a set of sensitivity labels from input or referenced artifacts. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toGetRequestInformation() { + return toGetRequestInformation(null); + } + /** + * Calculate the sensitivity label that should be inherited by an output artifact, given a set of sensitivity labels from input or referenced artifacts. + * @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 requestConfiguration) { + final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); + requestInfo.configure(requestConfiguration, GetRequestConfiguration::new); + 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 ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder} + */ + @jakarta.annotation.Nonnull + public ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { + Objects.requireNonNull(rawUrl); + return new ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder(rawUrl, requestAdapter); + } + /** + * Configuration for the request such as headers, query parameters, and middleware options. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class GetRequestConfiguration extends BaseRequestConfiguration { + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/informationprotection/sensitivitylabels/computerightsandinheritance/ComputeRightsAndInheritancePostRequestBody.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/informationprotection/sensitivitylabels/computerightsandinheritance/ComputeRightsAndInheritancePostRequestBody.java new file mode 100644 index 00000000000..17fbda88119 --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/informationprotection/sensitivitylabels/computerightsandinheritance/ComputeRightsAndInheritancePostRequestBody.java @@ -0,0 +1,159 @@ +package com.microsoft.graph.beta.groups.item.sites.item.informationprotection.sensitivitylabels.computerightsandinheritance; + +import com.microsoft.graph.beta.models.ProtectedContent; +import com.microsoft.kiota.serialization.AdditionalDataHolder; +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParseNode; +import com.microsoft.kiota.serialization.SerializationWriter; +import com.microsoft.kiota.store.BackedModel; +import com.microsoft.kiota.store.BackingStore; +import com.microsoft.kiota.store.BackingStoreFactorySingleton; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +@jakarta.annotation.Generated("com.microsoft.kiota") +public class ComputeRightsAndInheritancePostRequestBody implements AdditionalDataHolder, BackedModel, Parsable { + /** + * Stores model information. + */ + @jakarta.annotation.Nonnull + protected BackingStore backingStore; + /** + * Instantiates a new {@link ComputeRightsAndInheritancePostRequestBody} and sets the default values. + */ + public ComputeRightsAndInheritancePostRequestBody() { + this.backingStore = BackingStoreFactorySingleton.instance.createBackingStore(); + this.setAdditionalData(new HashMap<>()); + } + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param parseNode The parse node to use to read the discriminator value and create the object + * @return a {@link ComputeRightsAndInheritancePostRequestBody} + */ + @jakarta.annotation.Nonnull + public static ComputeRightsAndInheritancePostRequestBody createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) { + Objects.requireNonNull(parseNode); + return new ComputeRightsAndInheritancePostRequestBody(); + } + /** + * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @return a {@link Map} + */ + @jakarta.annotation.Nonnull + public Map getAdditionalData() { + Map value = this.backingStore.get("additionalData"); + if(value == null) { + value = new HashMap<>(); + this.setAdditionalData(value); + } + return value; + } + /** + * Gets the backingStore property value. Stores model information. + * @return a {@link BackingStore} + */ + @jakarta.annotation.Nonnull + public BackingStore getBackingStore() { + return this.backingStore; + } + /** + * Gets the delegatedUserEmail property value. The delegatedUserEmail property + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String getDelegatedUserEmail() { + return this.backingStore.get("delegatedUserEmail"); + } + /** + * The deserialization information for the current model + * @return a {@link Map>} + */ + @jakarta.annotation.Nonnull + public Map> getFieldDeserializers() { + final HashMap> deserializerMap = new HashMap>(4); + deserializerMap.put("delegatedUserEmail", (n) -> { this.setDelegatedUserEmail(n.getStringValue()); }); + deserializerMap.put("locale", (n) -> { this.setLocale(n.getStringValue()); }); + deserializerMap.put("protectedContents", (n) -> { this.setProtectedContents(n.getCollectionOfObjectValues(ProtectedContent::createFromDiscriminatorValue)); }); + deserializerMap.put("supportedContentFormats", (n) -> { this.setSupportedContentFormats(n.getCollectionOfPrimitiveValues(String.class)); }); + return deserializerMap; + } + /** + * Gets the locale property value. The locale property + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String getLocale() { + return this.backingStore.get("locale"); + } + /** + * Gets the protectedContents property value. The protectedContents property + * @return a {@link java.util.List} + */ + @jakarta.annotation.Nullable + public java.util.List getProtectedContents() { + return this.backingStore.get("protectedContents"); + } + /** + * Gets the supportedContentFormats property value. The supportedContentFormats property + * @return a {@link java.util.List} + */ + @jakarta.annotation.Nullable + public java.util.List getSupportedContentFormats() { + return this.backingStore.get("supportedContentFormats"); + } + /** + * Serializes information the current object + * @param writer Serialization writer to use to serialize this model + */ + public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writer) { + Objects.requireNonNull(writer); + writer.writeStringValue("delegatedUserEmail", this.getDelegatedUserEmail()); + writer.writeStringValue("locale", this.getLocale()); + writer.writeCollectionOfObjectValues("protectedContents", this.getProtectedContents()); + writer.writeCollectionOfPrimitiveValues("supportedContentFormats", this.getSupportedContentFormats()); + writer.writeAdditionalData(this.getAdditionalData()); + } + /** + * Sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @param value Value to set for the AdditionalData property. + */ + public void setAdditionalData(@jakarta.annotation.Nullable final Map value) { + this.backingStore.set("additionalData", value); + } + /** + * Sets the backingStore property value. Stores model information. + * @param value Value to set for the backingStore property. + */ + public void setBackingStore(@jakarta.annotation.Nonnull final BackingStore value) { + Objects.requireNonNull(value); + this.backingStore = value; + } + /** + * Sets the delegatedUserEmail property value. The delegatedUserEmail property + * @param value Value to set for the delegatedUserEmail property. + */ + public void setDelegatedUserEmail(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("delegatedUserEmail", value); + } + /** + * Sets the locale property value. The locale property + * @param value Value to set for the locale property. + */ + public void setLocale(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("locale", value); + } + /** + * Sets the protectedContents property value. The protectedContents property + * @param value Value to set for the protectedContents property. + */ + public void setProtectedContents(@jakarta.annotation.Nullable final java.util.List value) { + this.backingStore.set("protectedContents", value); + } + /** + * Sets the supportedContentFormats property value. The supportedContentFormats property + * @param value Value to set for the supportedContentFormats property. + */ + public void setSupportedContentFormats(@jakarta.annotation.Nullable final java.util.List value) { + this.backingStore.set("supportedContentFormats", value); + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/informationprotection/sensitivitylabels/computerightsandinheritance/ComputeRightsAndInheritanceRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/informationprotection/sensitivitylabels/computerightsandinheritance/ComputeRightsAndInheritanceRequestBuilder.java new file mode 100644 index 00000000000..8d0c233c6a9 --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/informationprotection/sensitivitylabels/computerightsandinheritance/ComputeRightsAndInheritanceRequestBuilder.java @@ -0,0 +1,105 @@ +package com.microsoft.graph.beta.groups.item.sites.item.informationprotection.sensitivitylabels.computerightsandinheritance; + +import com.microsoft.graph.beta.models.ComputeRightsAndInheritanceResult; +import com.microsoft.graph.beta.models.odataerrors.ODataError; +import com.microsoft.kiota.BaseRequestBuilder; +import com.microsoft.kiota.BaseRequestConfiguration; +import com.microsoft.kiota.HttpMethod; +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 call the computeRightsAndInheritance method. + */ +@jakarta.annotation.Generated("com.microsoft.kiota") +public class ComputeRightsAndInheritanceRequestBuilder extends BaseRequestBuilder { + /** + * Instantiates a new {@link ComputeRightsAndInheritanceRequestBuilder} and sets the default values. + * @param pathParameters Path parameters for the request + * @param requestAdapter The request adapter to use to execute the requests. + */ + public ComputeRightsAndInheritanceRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/groups/{group%2Did}/sites/{site%2Did}/informationProtection/sensitivityLabels/computeRightsAndInheritance", pathParameters); + } + /** + * Instantiates a new {@link ComputeRightsAndInheritanceRequestBuilder} 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 ComputeRightsAndInheritanceRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/groups/{group%2Did}/sites/{site%2Did}/informationProtection/sensitivityLabels/computeRightsAndInheritance", rawUrl); + } + /** + * Computes the rights and inheritance for sensitivity labels based on the input content and labels. + * @param body The request body + * @return a {@link ComputeRightsAndInheritanceResult} + * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here + */ + @jakarta.annotation.Nullable + public ComputeRightsAndInheritanceResult post(@jakarta.annotation.Nonnull final ComputeRightsAndInheritancePostRequestBody body) { + return post(body, null); + } + /** + * Computes the rights and inheritance for sensitivity labels based on the input content and labels. + * @param body The request body + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link ComputeRightsAndInheritanceResult} + * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here + */ + @jakarta.annotation.Nullable + public ComputeRightsAndInheritanceResult post(@jakarta.annotation.Nonnull final ComputeRightsAndInheritancePostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + Objects.requireNonNull(body); + final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); + final HashMap> errorMapping = new HashMap>(); + errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); + return this.requestAdapter.send(requestInfo, errorMapping, ComputeRightsAndInheritanceResult::createFromDiscriminatorValue); + } + /** + * Computes the rights and inheritance for sensitivity labels based on the input content and labels. + * @param body The request body + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final ComputeRightsAndInheritancePostRequestBody body) { + return toPostRequestInformation(body, null); + } + /** + * Computes the rights and inheritance for sensitivity labels based on the input content and labels. + * @param body The request body + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final ComputeRightsAndInheritancePostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + Objects.requireNonNull(body); + final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); + requestInfo.configure(requestConfiguration, PostRequestConfiguration::new); + requestInfo.headers.tryAdd("Accept", "application/json"); + requestInfo.setContentFromParsable(requestAdapter, "application/json", body); + 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 ComputeRightsAndInheritanceRequestBuilder} + */ + @jakarta.annotation.Nonnull + public ComputeRightsAndInheritanceRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { + Objects.requireNonNull(rawUrl); + return new ComputeRightsAndInheritanceRequestBuilder(rawUrl, requestAdapter); + } + /** + * Configuration for the request such as headers, query parameters, and middleware options. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class PostRequestConfiguration extends BaseRequestConfiguration { + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/informationprotection/sensitivitylabels/item/SensitivityLabelItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/informationprotection/sensitivitylabels/item/SensitivityLabelItemRequestBuilder.java index c975adf5185..bf6e684ef59 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/informationprotection/sensitivitylabels/item/SensitivityLabelItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/informationprotection/sensitivitylabels/item/SensitivityLabelItemRequestBuilder.java @@ -1,5 +1,6 @@ package com.microsoft.graph.beta.groups.item.sites.item.informationprotection.sensitivitylabels.item; +import com.microsoft.graph.beta.groups.item.sites.item.informationprotection.sensitivitylabels.item.rights.RightsRequestBuilder; import com.microsoft.graph.beta.groups.item.sites.item.informationprotection.sensitivitylabels.item.sublabels.SublabelsRequestBuilder; import com.microsoft.graph.beta.models.odataerrors.ODataError; import com.microsoft.graph.beta.models.SensitivityLabel; @@ -21,6 +22,14 @@ */ @jakarta.annotation.Generated("com.microsoft.kiota") public class SensitivityLabelItemRequestBuilder extends BaseRequestBuilder { + /** + * Provides operations to manage the rights property of the microsoft.graph.sensitivityLabel entity. + * @return a {@link RightsRequestBuilder} + */ + @jakarta.annotation.Nonnull + public RightsRequestBuilder rights() { + return new RightsRequestBuilder(pathParameters, requestAdapter); + } /** * Provides operations to manage the sublabels property of the microsoft.graph.sensitivityLabel entity. * @return a {@link SublabelsRequestBuilder} diff --git a/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/informationprotection/sensitivitylabels/item/rights/RightsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/informationprotection/sensitivitylabels/item/rights/RightsRequestBuilder.java new file mode 100644 index 00000000000..1788955cd25 --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/informationprotection/sensitivitylabels/item/rights/RightsRequestBuilder.java @@ -0,0 +1,129 @@ +package com.microsoft.graph.beta.groups.item.sites.item.informationprotection.sensitivitylabels.item.rights; + +import com.microsoft.graph.beta.models.odataerrors.ODataError; +import com.microsoft.graph.beta.models.UsageRightsIncluded; +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 rights property of the microsoft.graph.sensitivityLabel entity. + */ +@jakarta.annotation.Generated("com.microsoft.kiota") +public class RightsRequestBuilder extends BaseRequestBuilder { + /** + * Instantiates a new {@link RightsRequestBuilder} and sets the default values. + * @param pathParameters Path parameters for the request + * @param requestAdapter The request adapter to use to execute the requests. + */ + public RightsRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/groups/{group%2Did}/sites/{site%2Did}/informationProtection/sensitivityLabels/{sensitivityLabel%2Did}/rights{?%24expand,%24select}", pathParameters); + } + /** + * Instantiates a new {@link RightsRequestBuilder} 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 RightsRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/groups/{group%2Did}/sites/{site%2Did}/informationProtection/sensitivityLabels/{sensitivityLabel%2Did}/rights{?%24expand,%24select}", rawUrl); + } + /** + * Get rights from groups + * @return a {@link UsageRightsIncluded} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public UsageRightsIncluded get() { + return get(null); + } + /** + * Get rights from groups + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link UsageRightsIncluded} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public UsageRightsIncluded get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); + final HashMap> errorMapping = new HashMap>(); + errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); + return this.requestAdapter.send(requestInfo, errorMapping, UsageRightsIncluded::createFromDiscriminatorValue); + } + /** + * Get rights from groups + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toGetRequestInformation() { + return toGetRequestInformation(null); + } + /** + * Get rights from groups + * @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 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 RightsRequestBuilder} + */ + @jakarta.annotation.Nonnull + public RightsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { + Objects.requireNonNull(rawUrl); + return new RightsRequestBuilder(rawUrl, requestAdapter); + } + /** + * Get rights from groups + */ + @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} + */ + @jakarta.annotation.Nonnull + public Map toQueryParameters() { + final Map 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(); + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/informationprotection/sensitivitylabels/item/sublabels/SublabelsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/informationprotection/sensitivitylabels/item/sublabels/SublabelsRequestBuilder.java index 499e95e4161..eb7693e24b6 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/informationprotection/sensitivitylabels/item/sublabels/SublabelsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/informationprotection/sensitivitylabels/item/sublabels/SublabelsRequestBuilder.java @@ -1,5 +1,7 @@ package com.microsoft.graph.beta.groups.item.sites.item.informationprotection.sensitivitylabels.item.sublabels; +import com.microsoft.graph.beta.groups.item.sites.item.informationprotection.sensitivitylabels.item.sublabels.computeinheritancewithlabelidswithlocalewithcontentformats.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder; +import com.microsoft.graph.beta.groups.item.sites.item.informationprotection.sensitivitylabels.item.sublabels.computerightsandinheritance.ComputeRightsAndInheritanceRequestBuilder; import com.microsoft.graph.beta.groups.item.sites.item.informationprotection.sensitivitylabels.item.sublabels.count.CountRequestBuilder; import com.microsoft.graph.beta.groups.item.sites.item.informationprotection.sensitivitylabels.item.sublabels.evaluate.EvaluateRequestBuilder; import com.microsoft.graph.beta.groups.item.sites.item.informationprotection.sensitivitylabels.item.sublabels.item.SensitivityLabelItemRequestBuilder; @@ -24,6 +26,14 @@ */ @jakarta.annotation.Generated("com.microsoft.kiota") public class SublabelsRequestBuilder extends BaseRequestBuilder { + /** + * Provides operations to call the computeRightsAndInheritance method. + * @return a {@link ComputeRightsAndInheritanceRequestBuilder} + */ + @jakarta.annotation.Nonnull + public ComputeRightsAndInheritanceRequestBuilder computeRightsAndInheritance() { + return new ComputeRightsAndInheritanceRequestBuilder(pathParameters, requestAdapter); + } /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} @@ -52,6 +62,20 @@ public SensitivityLabelItemRequestBuilder bySensitivityLabelId1(@jakarta.annotat urlTplParams.put("sensitivityLabel%2Did1", sensitivityLabelId1); return new SensitivityLabelItemRequestBuilder(urlTplParams, requestAdapter); } + /** + * Provides operations to call the computeInheritance method. + * @param contentFormats Usage: contentFormats={contentFormats} + * @param labelIds Usage: labelIds={labelIds} + * @param locale Usage: locale='{locale}' + * @return a {@link ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder} + */ + @jakarta.annotation.Nonnull + public ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder computeInheritanceWithLabelIdsWithLocaleWithContentFormats(@jakarta.annotation.Nonnull final String contentFormats, @jakarta.annotation.Nonnull final String labelIds, @jakarta.annotation.Nonnull final String locale) { + Objects.requireNonNull(contentFormats); + Objects.requireNonNull(labelIds); + Objects.requireNonNull(locale); + return new ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder(pathParameters, requestAdapter, contentFormats, labelIds, locale); + } /** * Instantiates a new {@link SublabelsRequestBuilder} and sets the default values. * @param pathParameters Path parameters for the request diff --git a/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/informationprotection/sensitivitylabels/item/sublabels/computeinheritancewithlabelidswithlocalewithcontentformats/ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/informationprotection/sensitivitylabels/item/sublabels/computeinheritancewithlabelidswithlocalewithcontentformats/ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder.java new file mode 100644 index 00000000000..f52738a7281 --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/informationprotection/sensitivitylabels/item/sublabels/computeinheritancewithlabelidswithlocalewithcontentformats/ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder.java @@ -0,0 +1,104 @@ +package com.microsoft.graph.beta.groups.item.sites.item.informationprotection.sensitivitylabels.item.sublabels.computeinheritancewithlabelidswithlocalewithcontentformats; + +import com.microsoft.graph.beta.models.odataerrors.ODataError; +import com.microsoft.graph.beta.models.SensitivityLabel; +import com.microsoft.kiota.BaseRequestBuilder; +import com.microsoft.kiota.BaseRequestConfiguration; +import com.microsoft.kiota.HttpMethod; +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 call the computeInheritance method. + */ +@jakarta.annotation.Generated("com.microsoft.kiota") +public class ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder extends BaseRequestBuilder { + /** + * Instantiates a new {@link ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder} and sets the default values. + * @param contentFormats Usage: contentFormats={contentFormats} + * @param labelIds Usage: labelIds={labelIds} + * @param locale Usage: locale='{locale}' + * @param pathParameters Path parameters for the request + * @param requestAdapter The request adapter to use to execute the requests. + */ + public ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter, @jakarta.annotation.Nullable final String contentFormats, @jakarta.annotation.Nullable final String labelIds, @jakarta.annotation.Nullable final String locale) { + super(requestAdapter, "{+baseurl}/groups/{group%2Did}/sites/{site%2Did}/informationProtection/sensitivityLabels/{sensitivityLabel%2Did}/sublabels/computeInheritance(labelIds={labelIds},locale='{locale}',contentFormats={contentFormats})", pathParameters); + this.pathParameters.put("contentFormats", contentFormats); + this.pathParameters.put("labelIds", labelIds); + this.pathParameters.put("locale", locale); + } + /** + * Instantiates a new {@link ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder} 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 ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/groups/{group%2Did}/sites/{site%2Did}/informationProtection/sensitivityLabels/{sensitivityLabel%2Did}/sublabels/computeInheritance(labelIds={labelIds},locale='{locale}',contentFormats={contentFormats})", rawUrl); + } + /** + * Calculate the sensitivity label that should be inherited by an output artifact, given a set of sensitivity labels from input or referenced artifacts. + * @return a {@link SensitivityLabel} + * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here + */ + @jakarta.annotation.Nullable + public SensitivityLabel get() { + return get(null); + } + /** + * Calculate the sensitivity label that should be inherited by an output artifact, given a set of sensitivity labels from input or referenced artifacts. + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link SensitivityLabel} + * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here + */ + @jakarta.annotation.Nullable + public SensitivityLabel get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); + final HashMap> errorMapping = new HashMap>(); + errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); + return this.requestAdapter.send(requestInfo, errorMapping, SensitivityLabel::createFromDiscriminatorValue); + } + /** + * Calculate the sensitivity label that should be inherited by an output artifact, given a set of sensitivity labels from input or referenced artifacts. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toGetRequestInformation() { + return toGetRequestInformation(null); + } + /** + * Calculate the sensitivity label that should be inherited by an output artifact, given a set of sensitivity labels from input or referenced artifacts. + * @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 requestConfiguration) { + final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); + requestInfo.configure(requestConfiguration, GetRequestConfiguration::new); + 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 ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder} + */ + @jakarta.annotation.Nonnull + public ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { + Objects.requireNonNull(rawUrl); + return new ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder(rawUrl, requestAdapter); + } + /** + * Configuration for the request such as headers, query parameters, and middleware options. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class GetRequestConfiguration extends BaseRequestConfiguration { + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/informationprotection/sensitivitylabels/item/sublabels/computerightsandinheritance/ComputeRightsAndInheritancePostRequestBody.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/informationprotection/sensitivitylabels/item/sublabels/computerightsandinheritance/ComputeRightsAndInheritancePostRequestBody.java new file mode 100644 index 00000000000..5476d1b876c --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/informationprotection/sensitivitylabels/item/sublabels/computerightsandinheritance/ComputeRightsAndInheritancePostRequestBody.java @@ -0,0 +1,159 @@ +package com.microsoft.graph.beta.groups.item.sites.item.informationprotection.sensitivitylabels.item.sublabels.computerightsandinheritance; + +import com.microsoft.graph.beta.models.ProtectedContent; +import com.microsoft.kiota.serialization.AdditionalDataHolder; +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParseNode; +import com.microsoft.kiota.serialization.SerializationWriter; +import com.microsoft.kiota.store.BackedModel; +import com.microsoft.kiota.store.BackingStore; +import com.microsoft.kiota.store.BackingStoreFactorySingleton; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +@jakarta.annotation.Generated("com.microsoft.kiota") +public class ComputeRightsAndInheritancePostRequestBody implements AdditionalDataHolder, BackedModel, Parsable { + /** + * Stores model information. + */ + @jakarta.annotation.Nonnull + protected BackingStore backingStore; + /** + * Instantiates a new {@link ComputeRightsAndInheritancePostRequestBody} and sets the default values. + */ + public ComputeRightsAndInheritancePostRequestBody() { + this.backingStore = BackingStoreFactorySingleton.instance.createBackingStore(); + this.setAdditionalData(new HashMap<>()); + } + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param parseNode The parse node to use to read the discriminator value and create the object + * @return a {@link ComputeRightsAndInheritancePostRequestBody} + */ + @jakarta.annotation.Nonnull + public static ComputeRightsAndInheritancePostRequestBody createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) { + Objects.requireNonNull(parseNode); + return new ComputeRightsAndInheritancePostRequestBody(); + } + /** + * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @return a {@link Map} + */ + @jakarta.annotation.Nonnull + public Map getAdditionalData() { + Map value = this.backingStore.get("additionalData"); + if(value == null) { + value = new HashMap<>(); + this.setAdditionalData(value); + } + return value; + } + /** + * Gets the backingStore property value. Stores model information. + * @return a {@link BackingStore} + */ + @jakarta.annotation.Nonnull + public BackingStore getBackingStore() { + return this.backingStore; + } + /** + * Gets the delegatedUserEmail property value. The delegatedUserEmail property + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String getDelegatedUserEmail() { + return this.backingStore.get("delegatedUserEmail"); + } + /** + * The deserialization information for the current model + * @return a {@link Map>} + */ + @jakarta.annotation.Nonnull + public Map> getFieldDeserializers() { + final HashMap> deserializerMap = new HashMap>(4); + deserializerMap.put("delegatedUserEmail", (n) -> { this.setDelegatedUserEmail(n.getStringValue()); }); + deserializerMap.put("locale", (n) -> { this.setLocale(n.getStringValue()); }); + deserializerMap.put("protectedContents", (n) -> { this.setProtectedContents(n.getCollectionOfObjectValues(ProtectedContent::createFromDiscriminatorValue)); }); + deserializerMap.put("supportedContentFormats", (n) -> { this.setSupportedContentFormats(n.getCollectionOfPrimitiveValues(String.class)); }); + return deserializerMap; + } + /** + * Gets the locale property value. The locale property + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String getLocale() { + return this.backingStore.get("locale"); + } + /** + * Gets the protectedContents property value. The protectedContents property + * @return a {@link java.util.List} + */ + @jakarta.annotation.Nullable + public java.util.List getProtectedContents() { + return this.backingStore.get("protectedContents"); + } + /** + * Gets the supportedContentFormats property value. The supportedContentFormats property + * @return a {@link java.util.List} + */ + @jakarta.annotation.Nullable + public java.util.List getSupportedContentFormats() { + return this.backingStore.get("supportedContentFormats"); + } + /** + * Serializes information the current object + * @param writer Serialization writer to use to serialize this model + */ + public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writer) { + Objects.requireNonNull(writer); + writer.writeStringValue("delegatedUserEmail", this.getDelegatedUserEmail()); + writer.writeStringValue("locale", this.getLocale()); + writer.writeCollectionOfObjectValues("protectedContents", this.getProtectedContents()); + writer.writeCollectionOfPrimitiveValues("supportedContentFormats", this.getSupportedContentFormats()); + writer.writeAdditionalData(this.getAdditionalData()); + } + /** + * Sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @param value Value to set for the AdditionalData property. + */ + public void setAdditionalData(@jakarta.annotation.Nullable final Map value) { + this.backingStore.set("additionalData", value); + } + /** + * Sets the backingStore property value. Stores model information. + * @param value Value to set for the backingStore property. + */ + public void setBackingStore(@jakarta.annotation.Nonnull final BackingStore value) { + Objects.requireNonNull(value); + this.backingStore = value; + } + /** + * Sets the delegatedUserEmail property value. The delegatedUserEmail property + * @param value Value to set for the delegatedUserEmail property. + */ + public void setDelegatedUserEmail(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("delegatedUserEmail", value); + } + /** + * Sets the locale property value. The locale property + * @param value Value to set for the locale property. + */ + public void setLocale(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("locale", value); + } + /** + * Sets the protectedContents property value. The protectedContents property + * @param value Value to set for the protectedContents property. + */ + public void setProtectedContents(@jakarta.annotation.Nullable final java.util.List value) { + this.backingStore.set("protectedContents", value); + } + /** + * Sets the supportedContentFormats property value. The supportedContentFormats property + * @param value Value to set for the supportedContentFormats property. + */ + public void setSupportedContentFormats(@jakarta.annotation.Nullable final java.util.List value) { + this.backingStore.set("supportedContentFormats", value); + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/informationprotection/sensitivitylabels/item/sublabels/computerightsandinheritance/ComputeRightsAndInheritanceRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/informationprotection/sensitivitylabels/item/sublabels/computerightsandinheritance/ComputeRightsAndInheritanceRequestBuilder.java new file mode 100644 index 00000000000..726182f3c76 --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/informationprotection/sensitivitylabels/item/sublabels/computerightsandinheritance/ComputeRightsAndInheritanceRequestBuilder.java @@ -0,0 +1,105 @@ +package com.microsoft.graph.beta.groups.item.sites.item.informationprotection.sensitivitylabels.item.sublabels.computerightsandinheritance; + +import com.microsoft.graph.beta.models.ComputeRightsAndInheritanceResult; +import com.microsoft.graph.beta.models.odataerrors.ODataError; +import com.microsoft.kiota.BaseRequestBuilder; +import com.microsoft.kiota.BaseRequestConfiguration; +import com.microsoft.kiota.HttpMethod; +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 call the computeRightsAndInheritance method. + */ +@jakarta.annotation.Generated("com.microsoft.kiota") +public class ComputeRightsAndInheritanceRequestBuilder extends BaseRequestBuilder { + /** + * Instantiates a new {@link ComputeRightsAndInheritanceRequestBuilder} and sets the default values. + * @param pathParameters Path parameters for the request + * @param requestAdapter The request adapter to use to execute the requests. + */ + public ComputeRightsAndInheritanceRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/groups/{group%2Did}/sites/{site%2Did}/informationProtection/sensitivityLabels/{sensitivityLabel%2Did}/sublabels/computeRightsAndInheritance", pathParameters); + } + /** + * Instantiates a new {@link ComputeRightsAndInheritanceRequestBuilder} 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 ComputeRightsAndInheritanceRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/groups/{group%2Did}/sites/{site%2Did}/informationProtection/sensitivityLabels/{sensitivityLabel%2Did}/sublabels/computeRightsAndInheritance", rawUrl); + } + /** + * Computes the rights and inheritance for sensitivity labels based on the input content and labels. + * @param body The request body + * @return a {@link ComputeRightsAndInheritanceResult} + * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here + */ + @jakarta.annotation.Nullable + public ComputeRightsAndInheritanceResult post(@jakarta.annotation.Nonnull final ComputeRightsAndInheritancePostRequestBody body) { + return post(body, null); + } + /** + * Computes the rights and inheritance for sensitivity labels based on the input content and labels. + * @param body The request body + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link ComputeRightsAndInheritanceResult} + * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here + */ + @jakarta.annotation.Nullable + public ComputeRightsAndInheritanceResult post(@jakarta.annotation.Nonnull final ComputeRightsAndInheritancePostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + Objects.requireNonNull(body); + final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); + final HashMap> errorMapping = new HashMap>(); + errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); + return this.requestAdapter.send(requestInfo, errorMapping, ComputeRightsAndInheritanceResult::createFromDiscriminatorValue); + } + /** + * Computes the rights and inheritance for sensitivity labels based on the input content and labels. + * @param body The request body + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final ComputeRightsAndInheritancePostRequestBody body) { + return toPostRequestInformation(body, null); + } + /** + * Computes the rights and inheritance for sensitivity labels based on the input content and labels. + * @param body The request body + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final ComputeRightsAndInheritancePostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + Objects.requireNonNull(body); + final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); + requestInfo.configure(requestConfiguration, PostRequestConfiguration::new); + requestInfo.headers.tryAdd("Accept", "application/json"); + requestInfo.setContentFromParsable(requestAdapter, "application/json", body); + 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 ComputeRightsAndInheritanceRequestBuilder} + */ + @jakarta.annotation.Nonnull + public ComputeRightsAndInheritanceRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { + Objects.requireNonNull(rawUrl); + return new ComputeRightsAndInheritanceRequestBuilder(rawUrl, requestAdapter); + } + /** + * Configuration for the request such as headers, query parameters, and middleware options. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class PostRequestConfiguration extends BaseRequestConfiguration { + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/informationprotection/sensitivitylabels/item/sublabels/item/SensitivityLabelItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/informationprotection/sensitivitylabels/item/sublabels/item/SensitivityLabelItemRequestBuilder.java index 043b339eb04..cc36fe8dfdf 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/informationprotection/sensitivitylabels/item/sublabels/item/SensitivityLabelItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/informationprotection/sensitivitylabels/item/sublabels/item/SensitivityLabelItemRequestBuilder.java @@ -1,5 +1,6 @@ package com.microsoft.graph.beta.groups.item.sites.item.informationprotection.sensitivitylabels.item.sublabels.item; +import com.microsoft.graph.beta.groups.item.sites.item.informationprotection.sensitivitylabels.item.sublabels.item.rights.RightsRequestBuilder; import com.microsoft.graph.beta.models.odataerrors.ODataError; import com.microsoft.graph.beta.models.SensitivityLabel; import com.microsoft.kiota.BaseRequestBuilder; @@ -20,6 +21,14 @@ */ @jakarta.annotation.Generated("com.microsoft.kiota") public class SensitivityLabelItemRequestBuilder extends BaseRequestBuilder { + /** + * Provides operations to manage the rights property of the microsoft.graph.sensitivityLabel entity. + * @return a {@link RightsRequestBuilder} + */ + @jakarta.annotation.Nonnull + public RightsRequestBuilder rights() { + return new RightsRequestBuilder(pathParameters, requestAdapter); + } /** * Instantiates a new {@link SensitivityLabelItemRequestBuilder} and sets the default values. * @param pathParameters Path parameters for the request diff --git a/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/informationprotection/sensitivitylabels/item/sublabels/item/rights/RightsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/informationprotection/sensitivitylabels/item/sublabels/item/rights/RightsRequestBuilder.java new file mode 100644 index 00000000000..6b3f8471916 --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/informationprotection/sensitivitylabels/item/sublabels/item/rights/RightsRequestBuilder.java @@ -0,0 +1,129 @@ +package com.microsoft.graph.beta.groups.item.sites.item.informationprotection.sensitivitylabels.item.sublabels.item.rights; + +import com.microsoft.graph.beta.models.odataerrors.ODataError; +import com.microsoft.graph.beta.models.UsageRightsIncluded; +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 rights property of the microsoft.graph.sensitivityLabel entity. + */ +@jakarta.annotation.Generated("com.microsoft.kiota") +public class RightsRequestBuilder extends BaseRequestBuilder { + /** + * Instantiates a new {@link RightsRequestBuilder} and sets the default values. + * @param pathParameters Path parameters for the request + * @param requestAdapter The request adapter to use to execute the requests. + */ + public RightsRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/groups/{group%2Did}/sites/{site%2Did}/informationProtection/sensitivityLabels/{sensitivityLabel%2Did}/sublabels/{sensitivityLabel%2Did1}/rights{?%24expand,%24select}", pathParameters); + } + /** + * Instantiates a new {@link RightsRequestBuilder} 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 RightsRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/groups/{group%2Did}/sites/{site%2Did}/informationProtection/sensitivityLabels/{sensitivityLabel%2Did}/sublabels/{sensitivityLabel%2Did1}/rights{?%24expand,%24select}", rawUrl); + } + /** + * Get rights from groups + * @return a {@link UsageRightsIncluded} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public UsageRightsIncluded get() { + return get(null); + } + /** + * Get rights from groups + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link UsageRightsIncluded} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public UsageRightsIncluded get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); + final HashMap> errorMapping = new HashMap>(); + errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); + return this.requestAdapter.send(requestInfo, errorMapping, UsageRightsIncluded::createFromDiscriminatorValue); + } + /** + * Get rights from groups + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toGetRequestInformation() { + return toGetRequestInformation(null); + } + /** + * Get rights from groups + * @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 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 RightsRequestBuilder} + */ + @jakarta.annotation.Nonnull + public RightsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { + Objects.requireNonNull(rawUrl); + return new RightsRequestBuilder(rawUrl, requestAdapter); + } + /** + * Get rights from groups + */ + @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} + */ + @jakarta.annotation.Nonnull + public Map toQueryParameters() { + final Map 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(); + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/recyclebin/items/ItemsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/recyclebin/items/ItemsRequestBuilder.java index d23ad0fc7c3..1733d56650d 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/recyclebin/items/ItemsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/recyclebin/items/ItemsRequestBuilder.java @@ -1,7 +1,9 @@ package com.microsoft.graph.beta.groups.item.sites.item.recyclebin.items; import com.microsoft.graph.beta.groups.item.sites.item.recyclebin.items.count.CountRequestBuilder; +import com.microsoft.graph.beta.groups.item.sites.item.recyclebin.items.delete.DeleteRequestBuilder; import com.microsoft.graph.beta.groups.item.sites.item.recyclebin.items.item.RecycleBinItemItemRequestBuilder; +import com.microsoft.graph.beta.groups.item.sites.item.recyclebin.items.restore.RestoreRequestBuilder; import com.microsoft.graph.beta.models.odataerrors.ODataError; import com.microsoft.graph.beta.models.RecycleBinItem; import com.microsoft.graph.beta.models.RecycleBinItemCollectionResponse; @@ -31,6 +33,22 @@ public class ItemsRequestBuilder extends BaseRequestBuilder { public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); } + /** + * Provides operations to call the delete method. + * @return a {@link DeleteRequestBuilder} + */ + @jakarta.annotation.Nonnull + public DeleteRequestBuilder deletePath() { + return new DeleteRequestBuilder(pathParameters, requestAdapter); + } + /** + * Provides operations to call the restore method. + * @return a {@link RestoreRequestBuilder} + */ + @jakarta.annotation.Nonnull + public RestoreRequestBuilder restore() { + return new RestoreRequestBuilder(pathParameters, requestAdapter); + } /** * Provides operations to manage the items property of the microsoft.graph.recycleBin entity. * @param recycleBinItemId The unique identifier of recycleBinItem diff --git a/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/recyclebin/items/delete/DeletePostRequestBody.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/recyclebin/items/delete/DeletePostRequestBody.java new file mode 100644 index 00000000000..281ec0bed9c --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/recyclebin/items/delete/DeletePostRequestBody.java @@ -0,0 +1,107 @@ +package com.microsoft.graph.beta.groups.item.sites.item.recyclebin.items.delete; + +import com.microsoft.kiota.serialization.AdditionalDataHolder; +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParseNode; +import com.microsoft.kiota.serialization.SerializationWriter; +import com.microsoft.kiota.store.BackedModel; +import com.microsoft.kiota.store.BackingStore; +import com.microsoft.kiota.store.BackingStoreFactorySingleton; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +@jakarta.annotation.Generated("com.microsoft.kiota") +public class DeletePostRequestBody implements AdditionalDataHolder, BackedModel, Parsable { + /** + * Stores model information. + */ + @jakarta.annotation.Nonnull + protected BackingStore backingStore; + /** + * Instantiates a new {@link DeletePostRequestBody} and sets the default values. + */ + public DeletePostRequestBody() { + this.backingStore = BackingStoreFactorySingleton.instance.createBackingStore(); + this.setAdditionalData(new HashMap<>()); + } + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param parseNode The parse node to use to read the discriminator value and create the object + * @return a {@link DeletePostRequestBody} + */ + @jakarta.annotation.Nonnull + public static DeletePostRequestBody createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) { + Objects.requireNonNull(parseNode); + return new DeletePostRequestBody(); + } + /** + * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @return a {@link Map} + */ + @jakarta.annotation.Nonnull + public Map getAdditionalData() { + Map value = this.backingStore.get("additionalData"); + if(value == null) { + value = new HashMap<>(); + this.setAdditionalData(value); + } + return value; + } + /** + * Gets the backingStore property value. Stores model information. + * @return a {@link BackingStore} + */ + @jakarta.annotation.Nonnull + public BackingStore getBackingStore() { + return this.backingStore; + } + /** + * The deserialization information for the current model + * @return a {@link Map>} + */ + @jakarta.annotation.Nonnull + public Map> getFieldDeserializers() { + final HashMap> deserializerMap = new HashMap>(1); + deserializerMap.put("ids", (n) -> { this.setIds(n.getCollectionOfPrimitiveValues(String.class)); }); + return deserializerMap; + } + /** + * Gets the ids property value. The ids property + * @return a {@link java.util.List} + */ + @jakarta.annotation.Nullable + public java.util.List getIds() { + return this.backingStore.get("ids"); + } + /** + * Serializes information the current object + * @param writer Serialization writer to use to serialize this model + */ + public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writer) { + Objects.requireNonNull(writer); + writer.writeCollectionOfPrimitiveValues("ids", this.getIds()); + writer.writeAdditionalData(this.getAdditionalData()); + } + /** + * Sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @param value Value to set for the AdditionalData property. + */ + public void setAdditionalData(@jakarta.annotation.Nullable final Map value) { + this.backingStore.set("additionalData", value); + } + /** + * Sets the backingStore property value. Stores model information. + * @param value Value to set for the backingStore property. + */ + public void setBackingStore(@jakarta.annotation.Nonnull final BackingStore value) { + Objects.requireNonNull(value); + this.backingStore = value; + } + /** + * Sets the ids property value. The ids property + * @param value Value to set for the ids property. + */ + public void setIds(@jakarta.annotation.Nullable final java.util.List value) { + this.backingStore.set("ids", value); + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/recyclebin/items/delete/DeleteRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/recyclebin/items/delete/DeleteRequestBuilder.java new file mode 100644 index 00000000000..d6c95825567 --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/recyclebin/items/delete/DeleteRequestBuilder.java @@ -0,0 +1,97 @@ +package com.microsoft.graph.beta.groups.item.sites.item.recyclebin.items.delete; + +import com.microsoft.graph.beta.models.odataerrors.ODataError; +import com.microsoft.kiota.BaseRequestBuilder; +import com.microsoft.kiota.BaseRequestConfiguration; +import com.microsoft.kiota.HttpMethod; +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 call the delete method. + */ +@jakarta.annotation.Generated("com.microsoft.kiota") +public class DeleteRequestBuilder extends BaseRequestBuilder { + /** + * Instantiates a new {@link DeleteRequestBuilder} and sets the default values. + * @param pathParameters Path parameters for the request + * @param requestAdapter The request adapter to use to execute the requests. + */ + public DeleteRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/groups/{group%2Did}/sites/{site%2Did}/recycleBin/items/delete", pathParameters); + } + /** + * Instantiates a new {@link DeleteRequestBuilder} 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 DeleteRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/groups/{group%2Did}/sites/{site%2Did}/recycleBin/items/delete", rawUrl); + } + /** + * Invoke action delete + * @param body The request body + * @throws ODataError When receiving a 4XX or 5XX status code + */ + public void post(@jakarta.annotation.Nonnull final DeletePostRequestBody body) { + post(body, null); + } + /** + * Invoke action delete + * @param body The request body + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @throws ODataError When receiving a 4XX or 5XX status code + */ + public void post(@jakarta.annotation.Nonnull final DeletePostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + Objects.requireNonNull(body); + final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); + final HashMap> errorMapping = new HashMap>(); + errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); + this.requestAdapter.sendPrimitive(requestInfo, errorMapping, Void.class); + } + /** + * Invoke action delete + * @param body The request body + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final DeletePostRequestBody body) { + return toPostRequestInformation(body, null); + } + /** + * Invoke action delete + * @param body The request body + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final DeletePostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + Objects.requireNonNull(body); + final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); + requestInfo.configure(requestConfiguration, PostRequestConfiguration::new); + requestInfo.setContentFromParsable(requestAdapter, "application/json", body); + 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 DeleteRequestBuilder} + */ + @jakarta.annotation.Nonnull + public DeleteRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { + Objects.requireNonNull(rawUrl); + return new DeleteRequestBuilder(rawUrl, requestAdapter); + } + /** + * Configuration for the request such as headers, query parameters, and middleware options. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class PostRequestConfiguration extends BaseRequestConfiguration { + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/recyclebin/items/restore/RestorePostRequestBody.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/recyclebin/items/restore/RestorePostRequestBody.java new file mode 100644 index 00000000000..92a078f45a5 --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/recyclebin/items/restore/RestorePostRequestBody.java @@ -0,0 +1,107 @@ +package com.microsoft.graph.beta.groups.item.sites.item.recyclebin.items.restore; + +import com.microsoft.kiota.serialization.AdditionalDataHolder; +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParseNode; +import com.microsoft.kiota.serialization.SerializationWriter; +import com.microsoft.kiota.store.BackedModel; +import com.microsoft.kiota.store.BackingStore; +import com.microsoft.kiota.store.BackingStoreFactorySingleton; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +@jakarta.annotation.Generated("com.microsoft.kiota") +public class RestorePostRequestBody implements AdditionalDataHolder, BackedModel, Parsable { + /** + * Stores model information. + */ + @jakarta.annotation.Nonnull + protected BackingStore backingStore; + /** + * Instantiates a new {@link RestorePostRequestBody} and sets the default values. + */ + public RestorePostRequestBody() { + this.backingStore = BackingStoreFactorySingleton.instance.createBackingStore(); + this.setAdditionalData(new HashMap<>()); + } + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param parseNode The parse node to use to read the discriminator value and create the object + * @return a {@link RestorePostRequestBody} + */ + @jakarta.annotation.Nonnull + public static RestorePostRequestBody createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) { + Objects.requireNonNull(parseNode); + return new RestorePostRequestBody(); + } + /** + * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @return a {@link Map} + */ + @jakarta.annotation.Nonnull + public Map getAdditionalData() { + Map value = this.backingStore.get("additionalData"); + if(value == null) { + value = new HashMap<>(); + this.setAdditionalData(value); + } + return value; + } + /** + * Gets the backingStore property value. Stores model information. + * @return a {@link BackingStore} + */ + @jakarta.annotation.Nonnull + public BackingStore getBackingStore() { + return this.backingStore; + } + /** + * The deserialization information for the current model + * @return a {@link Map>} + */ + @jakarta.annotation.Nonnull + public Map> getFieldDeserializers() { + final HashMap> deserializerMap = new HashMap>(1); + deserializerMap.put("ids", (n) -> { this.setIds(n.getCollectionOfPrimitiveValues(String.class)); }); + return deserializerMap; + } + /** + * Gets the ids property value. The ids property + * @return a {@link java.util.List} + */ + @jakarta.annotation.Nullable + public java.util.List getIds() { + return this.backingStore.get("ids"); + } + /** + * Serializes information the current object + * @param writer Serialization writer to use to serialize this model + */ + public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writer) { + Objects.requireNonNull(writer); + writer.writeCollectionOfPrimitiveValues("ids", this.getIds()); + writer.writeAdditionalData(this.getAdditionalData()); + } + /** + * Sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @param value Value to set for the AdditionalData property. + */ + public void setAdditionalData(@jakarta.annotation.Nullable final Map value) { + this.backingStore.set("additionalData", value); + } + /** + * Sets the backingStore property value. Stores model information. + * @param value Value to set for the backingStore property. + */ + public void setBackingStore(@jakarta.annotation.Nonnull final BackingStore value) { + Objects.requireNonNull(value); + this.backingStore = value; + } + /** + * Sets the ids property value. The ids property + * @param value Value to set for the ids property. + */ + public void setIds(@jakarta.annotation.Nullable final java.util.List value) { + this.backingStore.set("ids", value); + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/recyclebin/items/restore/RestorePostResponse.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/recyclebin/items/restore/RestorePostResponse.java new file mode 100644 index 00000000000..a4537b5e0fa --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/recyclebin/items/restore/RestorePostResponse.java @@ -0,0 +1,63 @@ +package com.microsoft.graph.beta.groups.item.sites.item.recyclebin.items.restore; + +import com.microsoft.graph.beta.models.BaseCollectionPaginationCountResponse; +import com.microsoft.graph.beta.models.RecycleBinItem; +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParseNode; +import com.microsoft.kiota.serialization.SerializationWriter; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +@jakarta.annotation.Generated("com.microsoft.kiota") +public class RestorePostResponse extends BaseCollectionPaginationCountResponse implements Parsable { + /** + * Instantiates a new {@link RestorePostResponse} and sets the default values. + */ + public RestorePostResponse() { + super(); + } + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param parseNode The parse node to use to read the discriminator value and create the object + * @return a {@link RestorePostResponse} + */ + @jakarta.annotation.Nonnull + public static RestorePostResponse createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) { + Objects.requireNonNull(parseNode); + return new RestorePostResponse(); + } + /** + * The deserialization information for the current model + * @return a {@link Map>} + */ + @jakarta.annotation.Nonnull + public Map> getFieldDeserializers() { + final HashMap> deserializerMap = new HashMap>(super.getFieldDeserializers()); + deserializerMap.put("value", (n) -> { this.setValue(n.getCollectionOfObjectValues(RecycleBinItem::createFromDiscriminatorValue)); }); + return deserializerMap; + } + /** + * Gets the value property value. The value property + * @return a {@link java.util.List} + */ + @jakarta.annotation.Nullable + public java.util.List getValue() { + return this.backingStore.get("value"); + } + /** + * Serializes information the current object + * @param writer Serialization writer to use to serialize this model + */ + public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writer) { + Objects.requireNonNull(writer); + super.serialize(writer); + writer.writeCollectionOfObjectValues("value", this.getValue()); + } + /** + * Sets the value property value. The value property + * @param value Value to set for the value property. + */ + public void setValue(@jakarta.annotation.Nullable final java.util.List value) { + this.backingStore.set("value", value); + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/recyclebin/items/restore/RestoreRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/recyclebin/items/restore/RestoreRequestBuilder.java new file mode 100644 index 00000000000..fa2340a0471 --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/recyclebin/items/restore/RestoreRequestBuilder.java @@ -0,0 +1,102 @@ +package com.microsoft.graph.beta.groups.item.sites.item.recyclebin.items.restore; + +import com.microsoft.graph.beta.models.odataerrors.ODataError; +import com.microsoft.kiota.BaseRequestBuilder; +import com.microsoft.kiota.BaseRequestConfiguration; +import com.microsoft.kiota.HttpMethod; +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 call the restore method. + */ +@jakarta.annotation.Generated("com.microsoft.kiota") +public class RestoreRequestBuilder extends BaseRequestBuilder { + /** + * Instantiates a new {@link RestoreRequestBuilder} and sets the default values. + * @param pathParameters Path parameters for the request + * @param requestAdapter The request adapter to use to execute the requests. + */ + public RestoreRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/groups/{group%2Did}/sites/{site%2Did}/recycleBin/items/restore", pathParameters); + } + /** + * Instantiates a new {@link RestoreRequestBuilder} 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 RestoreRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/groups/{group%2Did}/sites/{site%2Did}/recycleBin/items/restore", rawUrl); + } + /** + * Invoke action restore + * @param body The request body + * @return a {@link RestorePostResponse} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public RestorePostResponse post(@jakarta.annotation.Nonnull final RestorePostRequestBody body) { + return post(body, null); + } + /** + * Invoke action restore + * @param body The request body + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link RestorePostResponse} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public RestorePostResponse post(@jakarta.annotation.Nonnull final RestorePostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + Objects.requireNonNull(body); + final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); + final HashMap> errorMapping = new HashMap>(); + errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); + return this.requestAdapter.send(requestInfo, errorMapping, RestorePostResponse::createFromDiscriminatorValue); + } + /** + * Invoke action restore + * @param body The request body + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final RestorePostRequestBody body) { + return toPostRequestInformation(body, null); + } + /** + * Invoke action restore + * @param body The request body + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final RestorePostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + Objects.requireNonNull(body); + final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); + requestInfo.configure(requestConfiguration, PostRequestConfiguration::new); + requestInfo.headers.tryAdd("Accept", "application/json"); + requestInfo.setContentFromParsable(requestAdapter, "application/json", body); + 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 RestoreRequestBuilder} + */ + @jakarta.annotation.Nonnull + public RestoreRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { + Objects.requireNonNull(rawUrl); + return new RestoreRequestBuilder(rawUrl, requestAdapter); + } + /** + * Configuration for the request such as headers, query parameters, and middleware options. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class PostRequestConfiguration extends BaseRequestConfiguration { + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/groups/item/threads/item/reply/ReplyRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/threads/item/reply/ReplyRequestBuilder.java index 3d919c3b107..b203c38d003 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/threads/item/reply/ReplyRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/threads/item/reply/ReplyRequestBuilder.java @@ -35,20 +35,20 @@ public ReplyRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak super(requestAdapter, "{+baseurl}/groups/{group%2Did}/threads/{conversationThread%2Did}/reply", rawUrl); } /** - * Reply to a post and add a new post to the specified thread in a group conversation. You can specify both the parent conversation and thread in the request, or, you can specify just the parent thread without the parent conversation. + * Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. * @param body The request body * @throws ODataError When receiving a 4XX or 5XX status code - * @see Find more info here + * @see Find more info here */ public void post(@jakarta.annotation.Nonnull final ReplyPostRequestBody body) { post(body, null); } /** - * Reply to a post and add a new post to the specified thread in a group conversation. You can specify both the parent conversation and thread in the request, or, you can specify just the parent thread without the parent conversation. + * Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code - * @see Find more info here + * @see Find more info here */ public void post(@jakarta.annotation.Nonnull final ReplyPostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); @@ -58,7 +58,7 @@ public void post(@jakarta.annotation.Nonnull final ReplyPostRequestBody body, @j this.requestAdapter.sendPrimitive(requestInfo, errorMapping, Void.class); } /** - * Reply to a post and add a new post to the specified thread in a group conversation. You can specify both the parent conversation and thread in the request, or, you can specify just the parent thread without the parent conversation. + * Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. * @param body The request body * @return a {@link RequestInformation} */ @@ -67,7 +67,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f return toPostRequestInformation(body, null); } /** - * Reply to a post and add a new post to the specified thread in a group conversation. You can specify both the parent conversation and thread in the request, or, you can specify just the parent thread without the parent conversation. + * Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackagecatalogs/item/customaccesspackageworkflowextensions/item/CustomAccessPackageWorkflowExtensionItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackagecatalogs/item/customaccesspackageworkflowextensions/item/CustomAccessPackageWorkflowExtensionItemRequestBuilder.java index 15d54cf0b29..9353e3e517d 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackagecatalogs/item/customaccesspackageworkflowextensions/item/CustomAccessPackageWorkflowExtensionItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackagecatalogs/item/customaccesspackageworkflowextensions/item/CustomAccessPackageWorkflowExtensionItemRequestBuilder.java @@ -37,23 +37,23 @@ public CustomAccessPackageWorkflowExtensionItemRequestBuilder(@jakarta.annotatio super(requestAdapter, "{+baseurl}/identityGovernance/entitlementManagement/accessPackageCatalogs/{accessPackageCatalog%2Did}/customAccessPackageWorkflowExtensions/{customAccessPackageWorkflowExtension%2Did}{?%24expand,%24select}", rawUrl); } /** - * Delete a customAccessPackageWorkflowExtension object. The custom workflow extension must first be removed from any associated policies before it can be deleted. Follow these steps to remove the custom workflow extension from any associated policies:1. First retrieve the accessPackageCatalogId by calling the Get accessPackageAssignmentPolicies operation and appending ?$expand=accessPackage($expand=accessPackageCatalog) to the query. For example, https://graph.microsoft.com/beta/identityGovernance/entitlementManagement/accessPackageAssignmentPolicies?$expand=accessPackage($expand=accessPackageCatalog).2. Use the access package catalog ID and retrieve the ID of the customAccessPackageWorkflowExtension object that you want to delete by running the LIST customAccessPackageWorkflowExtensions operation.3. Call the Update accessPackageAssignmentPolicy operation to remove the custom workflow extension object from the policy. For an example, see Example 2: Remove the customExtensionHandlers and verifiableCredentialSettings from a policy. + * Delete an accessPackageAssignmentRequestWorkflowExtension object. The custom workflow extension must first be removed from any associated policies before it can be deleted. Follow these steps to remove the custom workflow extension from any associated policies:1. First retrieve the accessPackageCatalogId by calling the Get accessPackageAssignmentPolicies operation and appending ?$expand=accessPackage($expand=accessPackageCatalog) to the query. For example, https://graph.microsoft.com/beta/identityGovernance/entitlementManagement/accessPackageAssignmentPolicies?$expand=accessPackage($expand=accessPackageCatalog).2. Use the access package catalog ID and retrieve the ID of the accessPackageCustomWorkflowExtension object that you want to delete by running the List accessPackageCustomWorkflowExtensions operation.3. Call the Update accessPackageAssignmentPolicy operation to remove the custom workflow extension object from the policy. For an example, see Example 3: Remove the customExtensionStageSettings from a policy. * @throws ODataError When receiving a 4XX or 5XX status code * @deprecated * as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31 - * @see Find more info here + * @see Find more info here */ @Deprecated public void delete() { delete(null); } /** - * Delete a customAccessPackageWorkflowExtension object. The custom workflow extension must first be removed from any associated policies before it can be deleted. Follow these steps to remove the custom workflow extension from any associated policies:1. First retrieve the accessPackageCatalogId by calling the Get accessPackageAssignmentPolicies operation and appending ?$expand=accessPackage($expand=accessPackageCatalog) to the query. For example, https://graph.microsoft.com/beta/identityGovernance/entitlementManagement/accessPackageAssignmentPolicies?$expand=accessPackage($expand=accessPackageCatalog).2. Use the access package catalog ID and retrieve the ID of the customAccessPackageWorkflowExtension object that you want to delete by running the LIST customAccessPackageWorkflowExtensions operation.3. Call the Update accessPackageAssignmentPolicy operation to remove the custom workflow extension object from the policy. For an example, see Example 2: Remove the customExtensionHandlers and verifiableCredentialSettings from a policy. + * Delete an accessPackageAssignmentRequestWorkflowExtension object. The custom workflow extension must first be removed from any associated policies before it can be deleted. Follow these steps to remove the custom workflow extension from any associated policies:1. First retrieve the accessPackageCatalogId by calling the Get accessPackageAssignmentPolicies operation and appending ?$expand=accessPackage($expand=accessPackageCatalog) to the query. For example, https://graph.microsoft.com/beta/identityGovernance/entitlementManagement/accessPackageAssignmentPolicies?$expand=accessPackage($expand=accessPackageCatalog).2. Use the access package catalog ID and retrieve the ID of the accessPackageCustomWorkflowExtension object that you want to delete by running the List accessPackageCustomWorkflowExtensions operation.3. Call the Update accessPackageAssignmentPolicy operation to remove the custom workflow extension object from the policy. For an example, see Example 3: Remove the customExtensionStageSettings from a policy. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code * @deprecated * as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31 - * @see Find more info here + * @see Find more info here */ @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { @@ -126,7 +126,7 @@ public CustomAccessPackageWorkflowExtension patch(@jakarta.annotation.Nonnull fi return this.requestAdapter.send(requestInfo, errorMapping, CustomAccessPackageWorkflowExtension::createFromDiscriminatorValue); } /** - * Delete a customAccessPackageWorkflowExtension object. The custom workflow extension must first be removed from any associated policies before it can be deleted. Follow these steps to remove the custom workflow extension from any associated policies:1. First retrieve the accessPackageCatalogId by calling the Get accessPackageAssignmentPolicies operation and appending ?$expand=accessPackage($expand=accessPackageCatalog) to the query. For example, https://graph.microsoft.com/beta/identityGovernance/entitlementManagement/accessPackageAssignmentPolicies?$expand=accessPackage($expand=accessPackageCatalog).2. Use the access package catalog ID and retrieve the ID of the customAccessPackageWorkflowExtension object that you want to delete by running the LIST customAccessPackageWorkflowExtensions operation.3. Call the Update accessPackageAssignmentPolicy operation to remove the custom workflow extension object from the policy. For an example, see Example 2: Remove the customExtensionHandlers and verifiableCredentialSettings from a policy. + * Delete an accessPackageAssignmentRequestWorkflowExtension object. The custom workflow extension must first be removed from any associated policies before it can be deleted. Follow these steps to remove the custom workflow extension from any associated policies:1. First retrieve the accessPackageCatalogId by calling the Get accessPackageAssignmentPolicies operation and appending ?$expand=accessPackage($expand=accessPackageCatalog) to the query. For example, https://graph.microsoft.com/beta/identityGovernance/entitlementManagement/accessPackageAssignmentPolicies?$expand=accessPackage($expand=accessPackageCatalog).2. Use the access package catalog ID and retrieve the ID of the accessPackageCustomWorkflowExtension object that you want to delete by running the List accessPackageCustomWorkflowExtensions operation.3. Call the Update accessPackageAssignmentPolicy operation to remove the custom workflow extension object from the policy. For an example, see Example 3: Remove the customExtensionStageSettings from a policy. * @return a {@link RequestInformation} * @deprecated * as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31 @@ -137,7 +137,7 @@ public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } /** - * Delete a customAccessPackageWorkflowExtension object. The custom workflow extension must first be removed from any associated policies before it can be deleted. Follow these steps to remove the custom workflow extension from any associated policies:1. First retrieve the accessPackageCatalogId by calling the Get accessPackageAssignmentPolicies operation and appending ?$expand=accessPackage($expand=accessPackageCatalog) to the query. For example, https://graph.microsoft.com/beta/identityGovernance/entitlementManagement/accessPackageAssignmentPolicies?$expand=accessPackage($expand=accessPackageCatalog).2. Use the access package catalog ID and retrieve the ID of the customAccessPackageWorkflowExtension object that you want to delete by running the LIST customAccessPackageWorkflowExtensions operation.3. Call the Update accessPackageAssignmentPolicy operation to remove the custom workflow extension object from the policy. For an example, see Example 2: Remove the customExtensionHandlers and verifiableCredentialSettings from a policy. + * Delete an accessPackageAssignmentRequestWorkflowExtension object. The custom workflow extension must first be removed from any associated policies before it can be deleted. Follow these steps to remove the custom workflow extension from any associated policies:1. First retrieve the accessPackageCatalogId by calling the Get accessPackageAssignmentPolicies operation and appending ?$expand=accessPackage($expand=accessPackageCatalog) to the query. For example, https://graph.microsoft.com/beta/identityGovernance/entitlementManagement/accessPackageAssignmentPolicies?$expand=accessPackage($expand=accessPackageCatalog).2. Use the access package catalog ID and retrieve the ID of the accessPackageCustomWorkflowExtension object that you want to delete by running the List accessPackageCustomWorkflowExtensions operation.3. Call the Update accessPackageAssignmentPolicy operation to remove the custom workflow extension object from the policy. For an example, see Example 3: Remove the customExtensionStageSettings from a policy. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} * @deprecated diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/AccessPackageItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/AccessPackageItemRequestBuilder.java index ca965533d13..4a08220d723 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/AccessPackageItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/AccessPackageItemRequestBuilder.java @@ -140,21 +140,21 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume this.requestAdapter.sendPrimitive(requestInfo, errorMapping, Void.class); } /** - * Retrieve the properties and relationships of an accessPackage object. + * Retrieve an access package with a list of accessPackageResourceRoleScope objects. These objects represent the resource roles that an access package assigns to each subject. Each object links to an accessPackageResourceRole and an accessPackageResourceScope. * @return a {@link AccessPackage} * @throws ODataError When receiving a 4XX or 5XX status code - * @see Find more info here + * @see Find more info here */ @jakarta.annotation.Nullable public AccessPackage get() { return get(null); } /** - * Retrieve the properties and relationships of an accessPackage object. + * Retrieve an access package with a list of accessPackageResourceRoleScope objects. These objects represent the resource roles that an access package assigns to each subject. Each object links to an accessPackageResourceRole and an accessPackageResourceScope. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessPackage} * @throws ODataError When receiving a 4XX or 5XX status code - * @see Find more info here + * @see Find more info here */ @jakarta.annotation.Nullable public AccessPackage get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { @@ -210,7 +210,7 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl return requestInfo; } /** - * Retrieve the properties and relationships of an accessPackage object. + * Retrieve an access package with a list of accessPackageResourceRoleScope objects. These objects represent the resource roles that an access package assigns to each subject. Each object links to an accessPackageResourceRole and an accessPackageResourceScope. * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull @@ -218,7 +218,7 @@ public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } /** - * Retrieve the properties and relationships of an accessPackage object. + * Retrieve an access package with a list of accessPackageResourceRoleScope objects. These objects represent the resource roles that an access package assigns to each subject. Each object links to an accessPackageResourceRole and an accessPackageResourceScope. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} */ @@ -270,7 +270,7 @@ public AccessPackageItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final public class DeleteRequestConfiguration extends BaseRequestConfiguration { } /** - * Retrieve the properties and relationships of an accessPackage object. + * Retrieve an access package with a list of accessPackageResourceRoleScope objects. These objects represent the resource roles that an access package assigns to each subject. Each object links to an accessPackageResourceRole and an accessPackageResourceScope. */ @jakarta.annotation.Generated("com.microsoft.kiota") public class GetQueryParameters implements QueryParameters { diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageswithuniquename/AccessPackagesWithUniqueNameRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageswithuniquename/AccessPackagesWithUniqueNameRequestBuilder.java index 8b8bb92bbdd..fed2e346711 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageswithuniquename/AccessPackagesWithUniqueNameRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageswithuniquename/AccessPackagesWithUniqueNameRequestBuilder.java @@ -77,21 +77,21 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume this.requestAdapter.sendPrimitive(requestInfo, errorMapping, Void.class); } /** - * Retrieve the properties and relationships of an accessPackage object. + * Retrieve an access package with a list of accessPackageResourceRoleScope objects. These objects represent the resource roles that an access package assigns to each subject. Each object links to an accessPackageResourceRole and an accessPackageResourceScope. * @return a {@link AccessPackage} * @throws ODataError When receiving a 4XX or 5XX status code - * @see Find more info here + * @see Find more info here */ @jakarta.annotation.Nullable public AccessPackage get() { return get(null); } /** - * Retrieve the properties and relationships of an accessPackage object. + * Retrieve an access package with a list of accessPackageResourceRoleScope objects. These objects represent the resource roles that an access package assigns to each subject. Each object links to an accessPackageResourceRole and an accessPackageResourceScope. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessPackage} * @throws ODataError When receiving a 4XX or 5XX status code - * @see Find more info here + * @see Find more info here */ @jakarta.annotation.Nullable public AccessPackage get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { @@ -147,7 +147,7 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl return requestInfo; } /** - * Retrieve the properties and relationships of an accessPackage object. + * Retrieve an access package with a list of accessPackageResourceRoleScope objects. These objects represent the resource roles that an access package assigns to each subject. Each object links to an accessPackageResourceRole and an accessPackageResourceScope. * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull @@ -155,7 +155,7 @@ public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } /** - * Retrieve the properties and relationships of an accessPackage object. + * Retrieve an access package with a list of accessPackageResourceRoleScope objects. These objects represent the resource roles that an access package assigns to each subject. Each object links to an accessPackageResourceRole and an accessPackageResourceScope. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} */ @@ -207,7 +207,7 @@ public AccessPackagesWithUniqueNameRequestBuilder withUrl(@jakarta.annotation.No public class DeleteRequestConfiguration extends BaseRequestConfiguration { } /** - * Retrieve the properties and relationships of an accessPackage object. + * Retrieve an access package with a list of accessPackageResourceRoleScope objects. These objects represent the resource roles that an access package assigns to each subject. Each object links to an accessPackageResourceRole and an accessPackageResourceScope. */ @jakarta.annotation.Generated("com.microsoft.kiota") public class GetQueryParameters implements QueryParameters { diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/termsofuse/agreements/item/AgreementItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/termsofuse/agreements/item/AgreementItemRequestBuilder.java index 984f0f9a131..2c0542411d7 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/termsofuse/agreements/item/AgreementItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/termsofuse/agreements/item/AgreementItemRequestBuilder.java @@ -84,21 +84,21 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume this.requestAdapter.sendPrimitive(requestInfo, errorMapping, Void.class); } /** - * Retrieve the properties and relationships of an agreement object. + * Retrieve all files related to an agreement. This includes the default file and all localized files. * @return a {@link Agreement} * @throws ODataError When receiving a 4XX or 5XX status code - * @see Find more info here + * @see Find more info here */ @jakarta.annotation.Nullable public Agreement get() { return get(null); } /** - * Retrieve the properties and relationships of an agreement object. + * Retrieve all files related to an agreement. This includes the default file and all localized files. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Agreement} * @throws ODataError When receiving a 4XX or 5XX status code - * @see Find more info here + * @see Find more info here */ @jakarta.annotation.Nullable public Agreement get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { @@ -154,7 +154,7 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl return requestInfo; } /** - * Retrieve the properties and relationships of an agreement object. + * Retrieve all files related to an agreement. This includes the default file and all localized files. * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull @@ -162,7 +162,7 @@ public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } /** - * Retrieve the properties and relationships of an agreement object. + * Retrieve all files related to an agreement. This includes the default file and all localized files. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} */ @@ -214,7 +214,7 @@ public AgreementItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final Str public class DeleteRequestConfiguration extends BaseRequestConfiguration { } /** - * Retrieve the properties and relationships of an agreement object. + * Retrieve all files related to an agreement. This includes the default file and all localized files. */ @jakarta.annotation.Generated("com.microsoft.kiota") public class GetQueryParameters implements QueryParameters { diff --git a/src/main/java/com/microsoft/graph/beta/generated/informationprotection/sensitivitylabels/SensitivityLabelsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/informationprotection/sensitivitylabels/SensitivityLabelsRequestBuilder.java index 4713d043762..2a2dc8cc09c 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/informationprotection/sensitivitylabels/SensitivityLabelsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/informationprotection/sensitivitylabels/SensitivityLabelsRequestBuilder.java @@ -1,5 +1,7 @@ package com.microsoft.graph.beta.informationprotection.sensitivitylabels; +import com.microsoft.graph.beta.informationprotection.sensitivitylabels.computeinheritancewithlabelidswithlocalewithcontentformats.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder; +import com.microsoft.graph.beta.informationprotection.sensitivitylabels.computerightsandinheritance.ComputeRightsAndInheritanceRequestBuilder; import com.microsoft.graph.beta.informationprotection.sensitivitylabels.count.CountRequestBuilder; import com.microsoft.graph.beta.informationprotection.sensitivitylabels.evaluate.EvaluateRequestBuilder; import com.microsoft.graph.beta.informationprotection.sensitivitylabels.item.SensitivityLabelItemRequestBuilder; @@ -24,6 +26,14 @@ */ @jakarta.annotation.Generated("com.microsoft.kiota") public class SensitivityLabelsRequestBuilder extends BaseRequestBuilder { + /** + * Provides operations to call the computeRightsAndInheritance method. + * @return a {@link ComputeRightsAndInheritanceRequestBuilder} + */ + @jakarta.annotation.Nonnull + public ComputeRightsAndInheritanceRequestBuilder computeRightsAndInheritance() { + return new ComputeRightsAndInheritanceRequestBuilder(pathParameters, requestAdapter); + } /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} @@ -52,6 +62,20 @@ public SensitivityLabelItemRequestBuilder bySensitivityLabelId(@jakarta.annotati urlTplParams.put("sensitivityLabel%2Did", sensitivityLabelId); return new SensitivityLabelItemRequestBuilder(urlTplParams, requestAdapter); } + /** + * Provides operations to call the computeInheritance method. + * @param contentFormats Usage: contentFormats={contentFormats} + * @param labelIds Usage: labelIds={labelIds} + * @param locale Usage: locale='{locale}' + * @return a {@link ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder} + */ + @jakarta.annotation.Nonnull + public ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder computeInheritanceWithLabelIdsWithLocaleWithContentFormats(@jakarta.annotation.Nonnull final String contentFormats, @jakarta.annotation.Nonnull final String labelIds, @jakarta.annotation.Nonnull final String locale) { + Objects.requireNonNull(contentFormats); + Objects.requireNonNull(labelIds); + Objects.requireNonNull(locale); + return new ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder(pathParameters, requestAdapter, contentFormats, labelIds, locale); + } /** * Instantiates a new {@link SensitivityLabelsRequestBuilder} and sets the default values. * @param pathParameters Path parameters for the request diff --git a/src/main/java/com/microsoft/graph/beta/generated/informationprotection/sensitivitylabels/computeinheritancewithlabelidswithlocalewithcontentformats/ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/informationprotection/sensitivitylabels/computeinheritancewithlabelidswithlocalewithcontentformats/ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder.java new file mode 100644 index 00000000000..dada4f1c5eb --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/informationprotection/sensitivitylabels/computeinheritancewithlabelidswithlocalewithcontentformats/ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder.java @@ -0,0 +1,104 @@ +package com.microsoft.graph.beta.informationprotection.sensitivitylabels.computeinheritancewithlabelidswithlocalewithcontentformats; + +import com.microsoft.graph.beta.models.odataerrors.ODataError; +import com.microsoft.graph.beta.models.SensitivityLabel; +import com.microsoft.kiota.BaseRequestBuilder; +import com.microsoft.kiota.BaseRequestConfiguration; +import com.microsoft.kiota.HttpMethod; +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 call the computeInheritance method. + */ +@jakarta.annotation.Generated("com.microsoft.kiota") +public class ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder extends BaseRequestBuilder { + /** + * Instantiates a new {@link ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder} and sets the default values. + * @param contentFormats Usage: contentFormats={contentFormats} + * @param labelIds Usage: labelIds={labelIds} + * @param locale Usage: locale='{locale}' + * @param pathParameters Path parameters for the request + * @param requestAdapter The request adapter to use to execute the requests. + */ + public ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter, @jakarta.annotation.Nullable final String contentFormats, @jakarta.annotation.Nullable final String labelIds, @jakarta.annotation.Nullable final String locale) { + super(requestAdapter, "{+baseurl}/informationProtection/sensitivityLabels/computeInheritance(labelIds={labelIds},locale='{locale}',contentFormats={contentFormats})", pathParameters); + this.pathParameters.put("contentFormats", contentFormats); + this.pathParameters.put("labelIds", labelIds); + this.pathParameters.put("locale", locale); + } + /** + * Instantiates a new {@link ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder} 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 ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/informationProtection/sensitivityLabels/computeInheritance(labelIds={labelIds},locale='{locale}',contentFormats={contentFormats})", rawUrl); + } + /** + * Calculate the sensitivity label that should be inherited by an output artifact, given a set of sensitivity labels from input or referenced artifacts. + * @return a {@link SensitivityLabel} + * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here + */ + @jakarta.annotation.Nullable + public SensitivityLabel get() { + return get(null); + } + /** + * Calculate the sensitivity label that should be inherited by an output artifact, given a set of sensitivity labels from input or referenced artifacts. + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link SensitivityLabel} + * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here + */ + @jakarta.annotation.Nullable + public SensitivityLabel get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); + final HashMap> errorMapping = new HashMap>(); + errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); + return this.requestAdapter.send(requestInfo, errorMapping, SensitivityLabel::createFromDiscriminatorValue); + } + /** + * Calculate the sensitivity label that should be inherited by an output artifact, given a set of sensitivity labels from input or referenced artifacts. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toGetRequestInformation() { + return toGetRequestInformation(null); + } + /** + * Calculate the sensitivity label that should be inherited by an output artifact, given a set of sensitivity labels from input or referenced artifacts. + * @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 requestConfiguration) { + final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); + requestInfo.configure(requestConfiguration, GetRequestConfiguration::new); + 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 ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder} + */ + @jakarta.annotation.Nonnull + public ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { + Objects.requireNonNull(rawUrl); + return new ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder(rawUrl, requestAdapter); + } + /** + * Configuration for the request such as headers, query parameters, and middleware options. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class GetRequestConfiguration extends BaseRequestConfiguration { + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/informationprotection/sensitivitylabels/computerightsandinheritance/ComputeRightsAndInheritancePostRequestBody.java b/src/main/java/com/microsoft/graph/beta/generated/informationprotection/sensitivitylabels/computerightsandinheritance/ComputeRightsAndInheritancePostRequestBody.java new file mode 100644 index 00000000000..b831d51bcc6 --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/informationprotection/sensitivitylabels/computerightsandinheritance/ComputeRightsAndInheritancePostRequestBody.java @@ -0,0 +1,159 @@ +package com.microsoft.graph.beta.informationprotection.sensitivitylabels.computerightsandinheritance; + +import com.microsoft.graph.beta.models.ProtectedContent; +import com.microsoft.kiota.serialization.AdditionalDataHolder; +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParseNode; +import com.microsoft.kiota.serialization.SerializationWriter; +import com.microsoft.kiota.store.BackedModel; +import com.microsoft.kiota.store.BackingStore; +import com.microsoft.kiota.store.BackingStoreFactorySingleton; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +@jakarta.annotation.Generated("com.microsoft.kiota") +public class ComputeRightsAndInheritancePostRequestBody implements AdditionalDataHolder, BackedModel, Parsable { + /** + * Stores model information. + */ + @jakarta.annotation.Nonnull + protected BackingStore backingStore; + /** + * Instantiates a new {@link ComputeRightsAndInheritancePostRequestBody} and sets the default values. + */ + public ComputeRightsAndInheritancePostRequestBody() { + this.backingStore = BackingStoreFactorySingleton.instance.createBackingStore(); + this.setAdditionalData(new HashMap<>()); + } + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param parseNode The parse node to use to read the discriminator value and create the object + * @return a {@link ComputeRightsAndInheritancePostRequestBody} + */ + @jakarta.annotation.Nonnull + public static ComputeRightsAndInheritancePostRequestBody createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) { + Objects.requireNonNull(parseNode); + return new ComputeRightsAndInheritancePostRequestBody(); + } + /** + * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @return a {@link Map} + */ + @jakarta.annotation.Nonnull + public Map getAdditionalData() { + Map value = this.backingStore.get("additionalData"); + if(value == null) { + value = new HashMap<>(); + this.setAdditionalData(value); + } + return value; + } + /** + * Gets the backingStore property value. Stores model information. + * @return a {@link BackingStore} + */ + @jakarta.annotation.Nonnull + public BackingStore getBackingStore() { + return this.backingStore; + } + /** + * Gets the delegatedUserEmail property value. The delegatedUserEmail property + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String getDelegatedUserEmail() { + return this.backingStore.get("delegatedUserEmail"); + } + /** + * The deserialization information for the current model + * @return a {@link Map>} + */ + @jakarta.annotation.Nonnull + public Map> getFieldDeserializers() { + final HashMap> deserializerMap = new HashMap>(4); + deserializerMap.put("delegatedUserEmail", (n) -> { this.setDelegatedUserEmail(n.getStringValue()); }); + deserializerMap.put("locale", (n) -> { this.setLocale(n.getStringValue()); }); + deserializerMap.put("protectedContents", (n) -> { this.setProtectedContents(n.getCollectionOfObjectValues(ProtectedContent::createFromDiscriminatorValue)); }); + deserializerMap.put("supportedContentFormats", (n) -> { this.setSupportedContentFormats(n.getCollectionOfPrimitiveValues(String.class)); }); + return deserializerMap; + } + /** + * Gets the locale property value. The locale property + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String getLocale() { + return this.backingStore.get("locale"); + } + /** + * Gets the protectedContents property value. The protectedContents property + * @return a {@link java.util.List} + */ + @jakarta.annotation.Nullable + public java.util.List getProtectedContents() { + return this.backingStore.get("protectedContents"); + } + /** + * Gets the supportedContentFormats property value. The supportedContentFormats property + * @return a {@link java.util.List} + */ + @jakarta.annotation.Nullable + public java.util.List getSupportedContentFormats() { + return this.backingStore.get("supportedContentFormats"); + } + /** + * Serializes information the current object + * @param writer Serialization writer to use to serialize this model + */ + public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writer) { + Objects.requireNonNull(writer); + writer.writeStringValue("delegatedUserEmail", this.getDelegatedUserEmail()); + writer.writeStringValue("locale", this.getLocale()); + writer.writeCollectionOfObjectValues("protectedContents", this.getProtectedContents()); + writer.writeCollectionOfPrimitiveValues("supportedContentFormats", this.getSupportedContentFormats()); + writer.writeAdditionalData(this.getAdditionalData()); + } + /** + * Sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @param value Value to set for the AdditionalData property. + */ + public void setAdditionalData(@jakarta.annotation.Nullable final Map value) { + this.backingStore.set("additionalData", value); + } + /** + * Sets the backingStore property value. Stores model information. + * @param value Value to set for the backingStore property. + */ + public void setBackingStore(@jakarta.annotation.Nonnull final BackingStore value) { + Objects.requireNonNull(value); + this.backingStore = value; + } + /** + * Sets the delegatedUserEmail property value. The delegatedUserEmail property + * @param value Value to set for the delegatedUserEmail property. + */ + public void setDelegatedUserEmail(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("delegatedUserEmail", value); + } + /** + * Sets the locale property value. The locale property + * @param value Value to set for the locale property. + */ + public void setLocale(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("locale", value); + } + /** + * Sets the protectedContents property value. The protectedContents property + * @param value Value to set for the protectedContents property. + */ + public void setProtectedContents(@jakarta.annotation.Nullable final java.util.List value) { + this.backingStore.set("protectedContents", value); + } + /** + * Sets the supportedContentFormats property value. The supportedContentFormats property + * @param value Value to set for the supportedContentFormats property. + */ + public void setSupportedContentFormats(@jakarta.annotation.Nullable final java.util.List value) { + this.backingStore.set("supportedContentFormats", value); + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/informationprotection/sensitivitylabels/computerightsandinheritance/ComputeRightsAndInheritanceRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/informationprotection/sensitivitylabels/computerightsandinheritance/ComputeRightsAndInheritanceRequestBuilder.java new file mode 100644 index 00000000000..29acf231a5f --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/informationprotection/sensitivitylabels/computerightsandinheritance/ComputeRightsAndInheritanceRequestBuilder.java @@ -0,0 +1,105 @@ +package com.microsoft.graph.beta.informationprotection.sensitivitylabels.computerightsandinheritance; + +import com.microsoft.graph.beta.models.ComputeRightsAndInheritanceResult; +import com.microsoft.graph.beta.models.odataerrors.ODataError; +import com.microsoft.kiota.BaseRequestBuilder; +import com.microsoft.kiota.BaseRequestConfiguration; +import com.microsoft.kiota.HttpMethod; +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 call the computeRightsAndInheritance method. + */ +@jakarta.annotation.Generated("com.microsoft.kiota") +public class ComputeRightsAndInheritanceRequestBuilder extends BaseRequestBuilder { + /** + * Instantiates a new {@link ComputeRightsAndInheritanceRequestBuilder} and sets the default values. + * @param pathParameters Path parameters for the request + * @param requestAdapter The request adapter to use to execute the requests. + */ + public ComputeRightsAndInheritanceRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/informationProtection/sensitivityLabels/computeRightsAndInheritance", pathParameters); + } + /** + * Instantiates a new {@link ComputeRightsAndInheritanceRequestBuilder} 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 ComputeRightsAndInheritanceRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/informationProtection/sensitivityLabels/computeRightsAndInheritance", rawUrl); + } + /** + * Computes the rights and inheritance for sensitivity labels based on the input content and labels. + * @param body The request body + * @return a {@link ComputeRightsAndInheritanceResult} + * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here + */ + @jakarta.annotation.Nullable + public ComputeRightsAndInheritanceResult post(@jakarta.annotation.Nonnull final ComputeRightsAndInheritancePostRequestBody body) { + return post(body, null); + } + /** + * Computes the rights and inheritance for sensitivity labels based on the input content and labels. + * @param body The request body + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link ComputeRightsAndInheritanceResult} + * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here + */ + @jakarta.annotation.Nullable + public ComputeRightsAndInheritanceResult post(@jakarta.annotation.Nonnull final ComputeRightsAndInheritancePostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + Objects.requireNonNull(body); + final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); + final HashMap> errorMapping = new HashMap>(); + errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); + return this.requestAdapter.send(requestInfo, errorMapping, ComputeRightsAndInheritanceResult::createFromDiscriminatorValue); + } + /** + * Computes the rights and inheritance for sensitivity labels based on the input content and labels. + * @param body The request body + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final ComputeRightsAndInheritancePostRequestBody body) { + return toPostRequestInformation(body, null); + } + /** + * Computes the rights and inheritance for sensitivity labels based on the input content and labels. + * @param body The request body + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final ComputeRightsAndInheritancePostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + Objects.requireNonNull(body); + final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); + requestInfo.configure(requestConfiguration, PostRequestConfiguration::new); + requestInfo.headers.tryAdd("Accept", "application/json"); + requestInfo.setContentFromParsable(requestAdapter, "application/json", body); + 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 ComputeRightsAndInheritanceRequestBuilder} + */ + @jakarta.annotation.Nonnull + public ComputeRightsAndInheritanceRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { + Objects.requireNonNull(rawUrl); + return new ComputeRightsAndInheritanceRequestBuilder(rawUrl, requestAdapter); + } + /** + * Configuration for the request such as headers, query parameters, and middleware options. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class PostRequestConfiguration extends BaseRequestConfiguration { + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/informationprotection/sensitivitylabels/item/SensitivityLabelItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/informationprotection/sensitivitylabels/item/SensitivityLabelItemRequestBuilder.java index 8ebd1ef813c..f3644327b2c 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/informationprotection/sensitivitylabels/item/SensitivityLabelItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/informationprotection/sensitivitylabels/item/SensitivityLabelItemRequestBuilder.java @@ -1,5 +1,6 @@ package com.microsoft.graph.beta.informationprotection.sensitivitylabels.item; +import com.microsoft.graph.beta.informationprotection.sensitivitylabels.item.rights.RightsRequestBuilder; import com.microsoft.graph.beta.informationprotection.sensitivitylabels.item.sublabels.SublabelsRequestBuilder; import com.microsoft.graph.beta.models.odataerrors.ODataError; import com.microsoft.graph.beta.models.SensitivityLabel; @@ -21,6 +22,14 @@ */ @jakarta.annotation.Generated("com.microsoft.kiota") public class SensitivityLabelItemRequestBuilder extends BaseRequestBuilder { + /** + * Provides operations to manage the rights property of the microsoft.graph.sensitivityLabel entity. + * @return a {@link RightsRequestBuilder} + */ + @jakarta.annotation.Nonnull + public RightsRequestBuilder rights() { + return new RightsRequestBuilder(pathParameters, requestAdapter); + } /** * Provides operations to manage the sublabels property of the microsoft.graph.sensitivityLabel entity. * @return a {@link SublabelsRequestBuilder} diff --git a/src/main/java/com/microsoft/graph/beta/generated/informationprotection/sensitivitylabels/item/rights/RightsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/informationprotection/sensitivitylabels/item/rights/RightsRequestBuilder.java new file mode 100644 index 00000000000..1f74c963813 --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/informationprotection/sensitivitylabels/item/rights/RightsRequestBuilder.java @@ -0,0 +1,129 @@ +package com.microsoft.graph.beta.informationprotection.sensitivitylabels.item.rights; + +import com.microsoft.graph.beta.models.odataerrors.ODataError; +import com.microsoft.graph.beta.models.UsageRightsIncluded; +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 rights property of the microsoft.graph.sensitivityLabel entity. + */ +@jakarta.annotation.Generated("com.microsoft.kiota") +public class RightsRequestBuilder extends BaseRequestBuilder { + /** + * Instantiates a new {@link RightsRequestBuilder} and sets the default values. + * @param pathParameters Path parameters for the request + * @param requestAdapter The request adapter to use to execute the requests. + */ + public RightsRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/informationProtection/sensitivityLabels/{sensitivityLabel%2Did}/rights{?%24expand,%24select}", pathParameters); + } + /** + * Instantiates a new {@link RightsRequestBuilder} 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 RightsRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/informationProtection/sensitivityLabels/{sensitivityLabel%2Did}/rights{?%24expand,%24select}", rawUrl); + } + /** + * Get rights from informationProtection + * @return a {@link UsageRightsIncluded} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public UsageRightsIncluded get() { + return get(null); + } + /** + * Get rights from informationProtection + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link UsageRightsIncluded} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public UsageRightsIncluded get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); + final HashMap> errorMapping = new HashMap>(); + errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); + return this.requestAdapter.send(requestInfo, errorMapping, UsageRightsIncluded::createFromDiscriminatorValue); + } + /** + * Get rights from informationProtection + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toGetRequestInformation() { + return toGetRequestInformation(null); + } + /** + * Get rights from informationProtection + * @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 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 RightsRequestBuilder} + */ + @jakarta.annotation.Nonnull + public RightsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { + Objects.requireNonNull(rawUrl); + return new RightsRequestBuilder(rawUrl, requestAdapter); + } + /** + * Get rights from informationProtection + */ + @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} + */ + @jakarta.annotation.Nonnull + public Map toQueryParameters() { + final Map 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(); + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/informationprotection/sensitivitylabels/item/sublabels/SublabelsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/informationprotection/sensitivitylabels/item/sublabels/SublabelsRequestBuilder.java index 0dff4ddfeb0..af34c5481eb 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/informationprotection/sensitivitylabels/item/sublabels/SublabelsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/informationprotection/sensitivitylabels/item/sublabels/SublabelsRequestBuilder.java @@ -1,5 +1,7 @@ package com.microsoft.graph.beta.informationprotection.sensitivitylabels.item.sublabels; +import com.microsoft.graph.beta.informationprotection.sensitivitylabels.item.sublabels.computeinheritancewithlabelidswithlocalewithcontentformats.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder; +import com.microsoft.graph.beta.informationprotection.sensitivitylabels.item.sublabels.computerightsandinheritance.ComputeRightsAndInheritanceRequestBuilder; import com.microsoft.graph.beta.informationprotection.sensitivitylabels.item.sublabels.count.CountRequestBuilder; import com.microsoft.graph.beta.informationprotection.sensitivitylabels.item.sublabels.evaluate.EvaluateRequestBuilder; import com.microsoft.graph.beta.informationprotection.sensitivitylabels.item.sublabels.item.SensitivityLabelItemRequestBuilder; @@ -24,6 +26,14 @@ */ @jakarta.annotation.Generated("com.microsoft.kiota") public class SublabelsRequestBuilder extends BaseRequestBuilder { + /** + * Provides operations to call the computeRightsAndInheritance method. + * @return a {@link ComputeRightsAndInheritanceRequestBuilder} + */ + @jakarta.annotation.Nonnull + public ComputeRightsAndInheritanceRequestBuilder computeRightsAndInheritance() { + return new ComputeRightsAndInheritanceRequestBuilder(pathParameters, requestAdapter); + } /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} @@ -52,6 +62,20 @@ public SensitivityLabelItemRequestBuilder bySensitivityLabelId1(@jakarta.annotat urlTplParams.put("sensitivityLabel%2Did1", sensitivityLabelId1); return new SensitivityLabelItemRequestBuilder(urlTplParams, requestAdapter); } + /** + * Provides operations to call the computeInheritance method. + * @param contentFormats Usage: contentFormats={contentFormats} + * @param labelIds Usage: labelIds={labelIds} + * @param locale Usage: locale='{locale}' + * @return a {@link ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder} + */ + @jakarta.annotation.Nonnull + public ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder computeInheritanceWithLabelIdsWithLocaleWithContentFormats(@jakarta.annotation.Nonnull final String contentFormats, @jakarta.annotation.Nonnull final String labelIds, @jakarta.annotation.Nonnull final String locale) { + Objects.requireNonNull(contentFormats); + Objects.requireNonNull(labelIds); + Objects.requireNonNull(locale); + return new ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder(pathParameters, requestAdapter, contentFormats, labelIds, locale); + } /** * Instantiates a new {@link SublabelsRequestBuilder} and sets the default values. * @param pathParameters Path parameters for the request diff --git a/src/main/java/com/microsoft/graph/beta/generated/informationprotection/sensitivitylabels/item/sublabels/computeinheritancewithlabelidswithlocalewithcontentformats/ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/informationprotection/sensitivitylabels/item/sublabels/computeinheritancewithlabelidswithlocalewithcontentformats/ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder.java new file mode 100644 index 00000000000..6866e3f4aaf --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/informationprotection/sensitivitylabels/item/sublabels/computeinheritancewithlabelidswithlocalewithcontentformats/ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder.java @@ -0,0 +1,104 @@ +package com.microsoft.graph.beta.informationprotection.sensitivitylabels.item.sublabels.computeinheritancewithlabelidswithlocalewithcontentformats; + +import com.microsoft.graph.beta.models.odataerrors.ODataError; +import com.microsoft.graph.beta.models.SensitivityLabel; +import com.microsoft.kiota.BaseRequestBuilder; +import com.microsoft.kiota.BaseRequestConfiguration; +import com.microsoft.kiota.HttpMethod; +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 call the computeInheritance method. + */ +@jakarta.annotation.Generated("com.microsoft.kiota") +public class ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder extends BaseRequestBuilder { + /** + * Instantiates a new {@link ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder} and sets the default values. + * @param contentFormats Usage: contentFormats={contentFormats} + * @param labelIds Usage: labelIds={labelIds} + * @param locale Usage: locale='{locale}' + * @param pathParameters Path parameters for the request + * @param requestAdapter The request adapter to use to execute the requests. + */ + public ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter, @jakarta.annotation.Nullable final String contentFormats, @jakarta.annotation.Nullable final String labelIds, @jakarta.annotation.Nullable final String locale) { + super(requestAdapter, "{+baseurl}/informationProtection/sensitivityLabels/{sensitivityLabel%2Did}/sublabels/computeInheritance(labelIds={labelIds},locale='{locale}',contentFormats={contentFormats})", pathParameters); + this.pathParameters.put("contentFormats", contentFormats); + this.pathParameters.put("labelIds", labelIds); + this.pathParameters.put("locale", locale); + } + /** + * Instantiates a new {@link ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder} 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 ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/informationProtection/sensitivityLabels/{sensitivityLabel%2Did}/sublabels/computeInheritance(labelIds={labelIds},locale='{locale}',contentFormats={contentFormats})", rawUrl); + } + /** + * Calculate the sensitivity label that should be inherited by an output artifact, given a set of sensitivity labels from input or referenced artifacts. + * @return a {@link SensitivityLabel} + * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here + */ + @jakarta.annotation.Nullable + public SensitivityLabel get() { + return get(null); + } + /** + * Calculate the sensitivity label that should be inherited by an output artifact, given a set of sensitivity labels from input or referenced artifacts. + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link SensitivityLabel} + * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here + */ + @jakarta.annotation.Nullable + public SensitivityLabel get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); + final HashMap> errorMapping = new HashMap>(); + errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); + return this.requestAdapter.send(requestInfo, errorMapping, SensitivityLabel::createFromDiscriminatorValue); + } + /** + * Calculate the sensitivity label that should be inherited by an output artifact, given a set of sensitivity labels from input or referenced artifacts. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toGetRequestInformation() { + return toGetRequestInformation(null); + } + /** + * Calculate the sensitivity label that should be inherited by an output artifact, given a set of sensitivity labels from input or referenced artifacts. + * @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 requestConfiguration) { + final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); + requestInfo.configure(requestConfiguration, GetRequestConfiguration::new); + 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 ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder} + */ + @jakarta.annotation.Nonnull + public ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { + Objects.requireNonNull(rawUrl); + return new ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder(rawUrl, requestAdapter); + } + /** + * Configuration for the request such as headers, query parameters, and middleware options. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class GetRequestConfiguration extends BaseRequestConfiguration { + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/informationprotection/sensitivitylabels/item/sublabels/computerightsandinheritance/ComputeRightsAndInheritancePostRequestBody.java b/src/main/java/com/microsoft/graph/beta/generated/informationprotection/sensitivitylabels/item/sublabels/computerightsandinheritance/ComputeRightsAndInheritancePostRequestBody.java new file mode 100644 index 00000000000..0f6d7be927e --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/informationprotection/sensitivitylabels/item/sublabels/computerightsandinheritance/ComputeRightsAndInheritancePostRequestBody.java @@ -0,0 +1,159 @@ +package com.microsoft.graph.beta.informationprotection.sensitivitylabels.item.sublabels.computerightsandinheritance; + +import com.microsoft.graph.beta.models.ProtectedContent; +import com.microsoft.kiota.serialization.AdditionalDataHolder; +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParseNode; +import com.microsoft.kiota.serialization.SerializationWriter; +import com.microsoft.kiota.store.BackedModel; +import com.microsoft.kiota.store.BackingStore; +import com.microsoft.kiota.store.BackingStoreFactorySingleton; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +@jakarta.annotation.Generated("com.microsoft.kiota") +public class ComputeRightsAndInheritancePostRequestBody implements AdditionalDataHolder, BackedModel, Parsable { + /** + * Stores model information. + */ + @jakarta.annotation.Nonnull + protected BackingStore backingStore; + /** + * Instantiates a new {@link ComputeRightsAndInheritancePostRequestBody} and sets the default values. + */ + public ComputeRightsAndInheritancePostRequestBody() { + this.backingStore = BackingStoreFactorySingleton.instance.createBackingStore(); + this.setAdditionalData(new HashMap<>()); + } + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param parseNode The parse node to use to read the discriminator value and create the object + * @return a {@link ComputeRightsAndInheritancePostRequestBody} + */ + @jakarta.annotation.Nonnull + public static ComputeRightsAndInheritancePostRequestBody createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) { + Objects.requireNonNull(parseNode); + return new ComputeRightsAndInheritancePostRequestBody(); + } + /** + * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @return a {@link Map} + */ + @jakarta.annotation.Nonnull + public Map getAdditionalData() { + Map value = this.backingStore.get("additionalData"); + if(value == null) { + value = new HashMap<>(); + this.setAdditionalData(value); + } + return value; + } + /** + * Gets the backingStore property value. Stores model information. + * @return a {@link BackingStore} + */ + @jakarta.annotation.Nonnull + public BackingStore getBackingStore() { + return this.backingStore; + } + /** + * Gets the delegatedUserEmail property value. The delegatedUserEmail property + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String getDelegatedUserEmail() { + return this.backingStore.get("delegatedUserEmail"); + } + /** + * The deserialization information for the current model + * @return a {@link Map>} + */ + @jakarta.annotation.Nonnull + public Map> getFieldDeserializers() { + final HashMap> deserializerMap = new HashMap>(4); + deserializerMap.put("delegatedUserEmail", (n) -> { this.setDelegatedUserEmail(n.getStringValue()); }); + deserializerMap.put("locale", (n) -> { this.setLocale(n.getStringValue()); }); + deserializerMap.put("protectedContents", (n) -> { this.setProtectedContents(n.getCollectionOfObjectValues(ProtectedContent::createFromDiscriminatorValue)); }); + deserializerMap.put("supportedContentFormats", (n) -> { this.setSupportedContentFormats(n.getCollectionOfPrimitiveValues(String.class)); }); + return deserializerMap; + } + /** + * Gets the locale property value. The locale property + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String getLocale() { + return this.backingStore.get("locale"); + } + /** + * Gets the protectedContents property value. The protectedContents property + * @return a {@link java.util.List} + */ + @jakarta.annotation.Nullable + public java.util.List getProtectedContents() { + return this.backingStore.get("protectedContents"); + } + /** + * Gets the supportedContentFormats property value. The supportedContentFormats property + * @return a {@link java.util.List} + */ + @jakarta.annotation.Nullable + public java.util.List getSupportedContentFormats() { + return this.backingStore.get("supportedContentFormats"); + } + /** + * Serializes information the current object + * @param writer Serialization writer to use to serialize this model + */ + public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writer) { + Objects.requireNonNull(writer); + writer.writeStringValue("delegatedUserEmail", this.getDelegatedUserEmail()); + writer.writeStringValue("locale", this.getLocale()); + writer.writeCollectionOfObjectValues("protectedContents", this.getProtectedContents()); + writer.writeCollectionOfPrimitiveValues("supportedContentFormats", this.getSupportedContentFormats()); + writer.writeAdditionalData(this.getAdditionalData()); + } + /** + * Sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @param value Value to set for the AdditionalData property. + */ + public void setAdditionalData(@jakarta.annotation.Nullable final Map value) { + this.backingStore.set("additionalData", value); + } + /** + * Sets the backingStore property value. Stores model information. + * @param value Value to set for the backingStore property. + */ + public void setBackingStore(@jakarta.annotation.Nonnull final BackingStore value) { + Objects.requireNonNull(value); + this.backingStore = value; + } + /** + * Sets the delegatedUserEmail property value. The delegatedUserEmail property + * @param value Value to set for the delegatedUserEmail property. + */ + public void setDelegatedUserEmail(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("delegatedUserEmail", value); + } + /** + * Sets the locale property value. The locale property + * @param value Value to set for the locale property. + */ + public void setLocale(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("locale", value); + } + /** + * Sets the protectedContents property value. The protectedContents property + * @param value Value to set for the protectedContents property. + */ + public void setProtectedContents(@jakarta.annotation.Nullable final java.util.List value) { + this.backingStore.set("protectedContents", value); + } + /** + * Sets the supportedContentFormats property value. The supportedContentFormats property + * @param value Value to set for the supportedContentFormats property. + */ + public void setSupportedContentFormats(@jakarta.annotation.Nullable final java.util.List value) { + this.backingStore.set("supportedContentFormats", value); + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/informationprotection/sensitivitylabels/item/sublabels/computerightsandinheritance/ComputeRightsAndInheritanceRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/informationprotection/sensitivitylabels/item/sublabels/computerightsandinheritance/ComputeRightsAndInheritanceRequestBuilder.java new file mode 100644 index 00000000000..64e211f32c2 --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/informationprotection/sensitivitylabels/item/sublabels/computerightsandinheritance/ComputeRightsAndInheritanceRequestBuilder.java @@ -0,0 +1,105 @@ +package com.microsoft.graph.beta.informationprotection.sensitivitylabels.item.sublabels.computerightsandinheritance; + +import com.microsoft.graph.beta.models.ComputeRightsAndInheritanceResult; +import com.microsoft.graph.beta.models.odataerrors.ODataError; +import com.microsoft.kiota.BaseRequestBuilder; +import com.microsoft.kiota.BaseRequestConfiguration; +import com.microsoft.kiota.HttpMethod; +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 call the computeRightsAndInheritance method. + */ +@jakarta.annotation.Generated("com.microsoft.kiota") +public class ComputeRightsAndInheritanceRequestBuilder extends BaseRequestBuilder { + /** + * Instantiates a new {@link ComputeRightsAndInheritanceRequestBuilder} and sets the default values. + * @param pathParameters Path parameters for the request + * @param requestAdapter The request adapter to use to execute the requests. + */ + public ComputeRightsAndInheritanceRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/informationProtection/sensitivityLabels/{sensitivityLabel%2Did}/sublabels/computeRightsAndInheritance", pathParameters); + } + /** + * Instantiates a new {@link ComputeRightsAndInheritanceRequestBuilder} 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 ComputeRightsAndInheritanceRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/informationProtection/sensitivityLabels/{sensitivityLabel%2Did}/sublabels/computeRightsAndInheritance", rawUrl); + } + /** + * Computes the rights and inheritance for sensitivity labels based on the input content and labels. + * @param body The request body + * @return a {@link ComputeRightsAndInheritanceResult} + * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here + */ + @jakarta.annotation.Nullable + public ComputeRightsAndInheritanceResult post(@jakarta.annotation.Nonnull final ComputeRightsAndInheritancePostRequestBody body) { + return post(body, null); + } + /** + * Computes the rights and inheritance for sensitivity labels based on the input content and labels. + * @param body The request body + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link ComputeRightsAndInheritanceResult} + * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here + */ + @jakarta.annotation.Nullable + public ComputeRightsAndInheritanceResult post(@jakarta.annotation.Nonnull final ComputeRightsAndInheritancePostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + Objects.requireNonNull(body); + final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); + final HashMap> errorMapping = new HashMap>(); + errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); + return this.requestAdapter.send(requestInfo, errorMapping, ComputeRightsAndInheritanceResult::createFromDiscriminatorValue); + } + /** + * Computes the rights and inheritance for sensitivity labels based on the input content and labels. + * @param body The request body + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final ComputeRightsAndInheritancePostRequestBody body) { + return toPostRequestInformation(body, null); + } + /** + * Computes the rights and inheritance for sensitivity labels based on the input content and labels. + * @param body The request body + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final ComputeRightsAndInheritancePostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + Objects.requireNonNull(body); + final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); + requestInfo.configure(requestConfiguration, PostRequestConfiguration::new); + requestInfo.headers.tryAdd("Accept", "application/json"); + requestInfo.setContentFromParsable(requestAdapter, "application/json", body); + 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 ComputeRightsAndInheritanceRequestBuilder} + */ + @jakarta.annotation.Nonnull + public ComputeRightsAndInheritanceRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { + Objects.requireNonNull(rawUrl); + return new ComputeRightsAndInheritanceRequestBuilder(rawUrl, requestAdapter); + } + /** + * Configuration for the request such as headers, query parameters, and middleware options. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class PostRequestConfiguration extends BaseRequestConfiguration { + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/informationprotection/sensitivitylabels/item/sublabels/item/SensitivityLabelItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/informationprotection/sensitivitylabels/item/sublabels/item/SensitivityLabelItemRequestBuilder.java index ec4e469a28d..2fb5ff303cd 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/informationprotection/sensitivitylabels/item/sublabels/item/SensitivityLabelItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/informationprotection/sensitivitylabels/item/sublabels/item/SensitivityLabelItemRequestBuilder.java @@ -1,5 +1,6 @@ package com.microsoft.graph.beta.informationprotection.sensitivitylabels.item.sublabels.item; +import com.microsoft.graph.beta.informationprotection.sensitivitylabels.item.sublabels.item.rights.RightsRequestBuilder; import com.microsoft.graph.beta.models.odataerrors.ODataError; import com.microsoft.graph.beta.models.SensitivityLabel; import com.microsoft.kiota.BaseRequestBuilder; @@ -20,6 +21,14 @@ */ @jakarta.annotation.Generated("com.microsoft.kiota") public class SensitivityLabelItemRequestBuilder extends BaseRequestBuilder { + /** + * Provides operations to manage the rights property of the microsoft.graph.sensitivityLabel entity. + * @return a {@link RightsRequestBuilder} + */ + @jakarta.annotation.Nonnull + public RightsRequestBuilder rights() { + return new RightsRequestBuilder(pathParameters, requestAdapter); + } /** * Instantiates a new {@link SensitivityLabelItemRequestBuilder} and sets the default values. * @param pathParameters Path parameters for the request diff --git a/src/main/java/com/microsoft/graph/beta/generated/informationprotection/sensitivitylabels/item/sublabels/item/rights/RightsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/informationprotection/sensitivitylabels/item/sublabels/item/rights/RightsRequestBuilder.java new file mode 100644 index 00000000000..431dbcef841 --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/informationprotection/sensitivitylabels/item/sublabels/item/rights/RightsRequestBuilder.java @@ -0,0 +1,129 @@ +package com.microsoft.graph.beta.informationprotection.sensitivitylabels.item.sublabels.item.rights; + +import com.microsoft.graph.beta.models.odataerrors.ODataError; +import com.microsoft.graph.beta.models.UsageRightsIncluded; +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 rights property of the microsoft.graph.sensitivityLabel entity. + */ +@jakarta.annotation.Generated("com.microsoft.kiota") +public class RightsRequestBuilder extends BaseRequestBuilder { + /** + * Instantiates a new {@link RightsRequestBuilder} and sets the default values. + * @param pathParameters Path parameters for the request + * @param requestAdapter The request adapter to use to execute the requests. + */ + public RightsRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/informationProtection/sensitivityLabels/{sensitivityLabel%2Did}/sublabels/{sensitivityLabel%2Did1}/rights{?%24expand,%24select}", pathParameters); + } + /** + * Instantiates a new {@link RightsRequestBuilder} 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 RightsRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/informationProtection/sensitivityLabels/{sensitivityLabel%2Did}/sublabels/{sensitivityLabel%2Did1}/rights{?%24expand,%24select}", rawUrl); + } + /** + * Get rights from informationProtection + * @return a {@link UsageRightsIncluded} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public UsageRightsIncluded get() { + return get(null); + } + /** + * Get rights from informationProtection + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link UsageRightsIncluded} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public UsageRightsIncluded get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); + final HashMap> errorMapping = new HashMap>(); + errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); + return this.requestAdapter.send(requestInfo, errorMapping, UsageRightsIncluded::createFromDiscriminatorValue); + } + /** + * Get rights from informationProtection + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toGetRequestInformation() { + return toGetRequestInformation(null); + } + /** + * Get rights from informationProtection + * @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 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 RightsRequestBuilder} + */ + @jakarta.annotation.Nonnull + public RightsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { + Objects.requireNonNull(rawUrl); + return new RightsRequestBuilder(rawUrl, requestAdapter); + } + /** + * Get rights from informationProtection + */ + @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} + */ + @jakarta.annotation.Nonnull + public Map toQueryParameters() { + final Map 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(); + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/kiota-dom-export.txt b/src/main/java/com/microsoft/graph/beta/generated/kiota-dom-export.txt index b807cbbdb35..3bbdae32d9b 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/kiota-dom-export.txt +++ b/src/main/java/com/microsoft/graph/beta/generated/kiota-dom-export.txt @@ -1921,6 +1921,7 @@ com.microsoft.graph.beta.admin.people.PeopleRequestBuilder::|public|namePronunci com.microsoft.graph.beta.admin.people.PeopleRequestBuilder::|public|patch(body:PeopleAdminSettings):PeopleAdminSettings com.microsoft.graph.beta.admin.people.PeopleRequestBuilder::|public|patch(body:PeopleAdminSettings; requestConfiguration?:java.util.function.Consumer):PeopleAdminSettings com.microsoft.graph.beta.admin.people.PeopleRequestBuilder::|public|profileCardProperties:ProfileCardPropertiesRequestBuilder +com.microsoft.graph.beta.admin.people.PeopleRequestBuilder::|public|profilePropertySettings:ProfilePropertySettingsRequestBuilder com.microsoft.graph.beta.admin.people.PeopleRequestBuilder::|public|pronouns:PronounsRequestBuilder com.microsoft.graph.beta.admin.people.PeopleRequestBuilder::|public|toDeleteRequestInformation():RequestInformation com.microsoft.graph.beta.admin.people.PeopleRequestBuilder::|public|toDeleteRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation @@ -1994,6 +1995,71 @@ com.microsoft.graph.beta.admin.people.profilecardproperties.ProfileCardPropertie com.microsoft.graph.beta.admin.people.profilecardproperties.ProfileCardPropertiesRequestBuilder::|public|toPostRequestInformation(body:ProfileCardProperty):RequestInformation com.microsoft.graph.beta.admin.people.profilecardproperties.ProfileCardPropertiesRequestBuilder::|public|toPostRequestInformation(body:ProfileCardProperty; requestConfiguration?:java.util.function.Consumer):RequestInformation com.microsoft.graph.beta.admin.people.profilecardproperties.ProfileCardPropertiesRequestBuilder::|public|withUrl(rawUrl:String):ProfileCardPropertiesRequestBuilder +com.microsoft.graph.beta.admin.people.profilepropertysettings.count.CountRequestBuilder-->BaseRequestBuilder +com.microsoft.graph.beta.admin.people.profilepropertysettings.count.CountRequestBuilder.GetQueryParameters::|public|filter:String +com.microsoft.graph.beta.admin.people.profilepropertysettings.count.CountRequestBuilder.GetQueryParameters::|public|search:String +com.microsoft.graph.beta.admin.people.profilepropertysettings.count.CountRequestBuilder.GetQueryParameters::|public|toQueryParameters():Map +com.microsoft.graph.beta.admin.people.profilepropertysettings.count.CountRequestBuilder.GetQueryParameters~~>QueryParameters +com.microsoft.graph.beta.admin.people.profilepropertysettings.count.CountRequestBuilder.GetRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.beta.admin.people.profilepropertysettings.count.CountRequestBuilder.GetRequestConfiguration::|public|queryParameters:GetQueryParameters +com.microsoft.graph.beta.admin.people.profilepropertysettings.count.CountRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.admin.people.profilepropertysettings.count.CountRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.admin.people.profilepropertysettings.count.CountRequestBuilder::|public|get():Integer +com.microsoft.graph.beta.admin.people.profilepropertysettings.count.CountRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):Integer +com.microsoft.graph.beta.admin.people.profilepropertysettings.count.CountRequestBuilder::|public|toGetRequestInformation():RequestInformation +com.microsoft.graph.beta.admin.people.profilepropertysettings.count.CountRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.beta.admin.people.profilepropertysettings.count.CountRequestBuilder::|public|withUrl(rawUrl:String):CountRequestBuilder +com.microsoft.graph.beta.admin.people.profilepropertysettings.item.ProfilePropertySettingItemRequestBuilder-->BaseRequestBuilder +com.microsoft.graph.beta.admin.people.profilepropertysettings.item.ProfilePropertySettingItemRequestBuilder.DeleteRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.beta.admin.people.profilepropertysettings.item.ProfilePropertySettingItemRequestBuilder.GetQueryParameters::|public|expand:String[] +com.microsoft.graph.beta.admin.people.profilepropertysettings.item.ProfilePropertySettingItemRequestBuilder.GetQueryParameters::|public|select:String[] +com.microsoft.graph.beta.admin.people.profilepropertysettings.item.ProfilePropertySettingItemRequestBuilder.GetQueryParameters::|public|toQueryParameters():Map +com.microsoft.graph.beta.admin.people.profilepropertysettings.item.ProfilePropertySettingItemRequestBuilder.GetQueryParameters~~>QueryParameters +com.microsoft.graph.beta.admin.people.profilepropertysettings.item.ProfilePropertySettingItemRequestBuilder.GetRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.beta.admin.people.profilepropertysettings.item.ProfilePropertySettingItemRequestBuilder.GetRequestConfiguration::|public|queryParameters:GetQueryParameters +com.microsoft.graph.beta.admin.people.profilepropertysettings.item.ProfilePropertySettingItemRequestBuilder.PatchRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.beta.admin.people.profilepropertysettings.item.ProfilePropertySettingItemRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.admin.people.profilepropertysettings.item.ProfilePropertySettingItemRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.admin.people.profilepropertysettings.item.ProfilePropertySettingItemRequestBuilder::|public|delete():Void +com.microsoft.graph.beta.admin.people.profilepropertysettings.item.ProfilePropertySettingItemRequestBuilder::|public|delete(requestConfiguration?:java.util.function.Consumer):Void +com.microsoft.graph.beta.admin.people.profilepropertysettings.item.ProfilePropertySettingItemRequestBuilder::|public|get():ProfilePropertySetting +com.microsoft.graph.beta.admin.people.profilepropertysettings.item.ProfilePropertySettingItemRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):ProfilePropertySetting +com.microsoft.graph.beta.admin.people.profilepropertysettings.item.ProfilePropertySettingItemRequestBuilder::|public|patch(body:ProfilePropertySetting):ProfilePropertySetting +com.microsoft.graph.beta.admin.people.profilepropertysettings.item.ProfilePropertySettingItemRequestBuilder::|public|patch(body:ProfilePropertySetting; requestConfiguration?:java.util.function.Consumer):ProfilePropertySetting +com.microsoft.graph.beta.admin.people.profilepropertysettings.item.ProfilePropertySettingItemRequestBuilder::|public|toDeleteRequestInformation():RequestInformation +com.microsoft.graph.beta.admin.people.profilepropertysettings.item.ProfilePropertySettingItemRequestBuilder::|public|toDeleteRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.beta.admin.people.profilepropertysettings.item.ProfilePropertySettingItemRequestBuilder::|public|toGetRequestInformation():RequestInformation +com.microsoft.graph.beta.admin.people.profilepropertysettings.item.ProfilePropertySettingItemRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.beta.admin.people.profilepropertysettings.item.ProfilePropertySettingItemRequestBuilder::|public|toPatchRequestInformation(body:ProfilePropertySetting):RequestInformation +com.microsoft.graph.beta.admin.people.profilepropertysettings.item.ProfilePropertySettingItemRequestBuilder::|public|toPatchRequestInformation(body:ProfilePropertySetting; requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.beta.admin.people.profilepropertysettings.item.ProfilePropertySettingItemRequestBuilder::|public|withUrl(rawUrl:String):ProfilePropertySettingItemRequestBuilder +com.microsoft.graph.beta.admin.people.profilepropertysettings.ProfilePropertySettingsRequestBuilder-->BaseRequestBuilder +com.microsoft.graph.beta.admin.people.profilepropertysettings.ProfilePropertySettingsRequestBuilder.GetQueryParameters::|public|count:Boolean +com.microsoft.graph.beta.admin.people.profilepropertysettings.ProfilePropertySettingsRequestBuilder.GetQueryParameters::|public|expand:String[] +com.microsoft.graph.beta.admin.people.profilepropertysettings.ProfilePropertySettingsRequestBuilder.GetQueryParameters::|public|filter:String +com.microsoft.graph.beta.admin.people.profilepropertysettings.ProfilePropertySettingsRequestBuilder.GetQueryParameters::|public|orderby:String[] +com.microsoft.graph.beta.admin.people.profilepropertysettings.ProfilePropertySettingsRequestBuilder.GetQueryParameters::|public|search:String +com.microsoft.graph.beta.admin.people.profilepropertysettings.ProfilePropertySettingsRequestBuilder.GetQueryParameters::|public|select:String[] +com.microsoft.graph.beta.admin.people.profilepropertysettings.ProfilePropertySettingsRequestBuilder.GetQueryParameters::|public|skip:Integer +com.microsoft.graph.beta.admin.people.profilepropertysettings.ProfilePropertySettingsRequestBuilder.GetQueryParameters::|public|top:Integer +com.microsoft.graph.beta.admin.people.profilepropertysettings.ProfilePropertySettingsRequestBuilder.GetQueryParameters::|public|toQueryParameters():Map +com.microsoft.graph.beta.admin.people.profilepropertysettings.ProfilePropertySettingsRequestBuilder.GetQueryParameters~~>QueryParameters +com.microsoft.graph.beta.admin.people.profilepropertysettings.ProfilePropertySettingsRequestBuilder.GetRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.beta.admin.people.profilepropertysettings.ProfilePropertySettingsRequestBuilder.GetRequestConfiguration::|public|queryParameters:GetQueryParameters +com.microsoft.graph.beta.admin.people.profilepropertysettings.ProfilePropertySettingsRequestBuilder.PostRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.beta.admin.people.profilepropertysettings.ProfilePropertySettingsRequestBuilder::|public|byProfilePropertySettingId(profilePropertySettingId:String):ProfilePropertySettingItemRequestBuilder +com.microsoft.graph.beta.admin.people.profilepropertysettings.ProfilePropertySettingsRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.admin.people.profilepropertysettings.ProfilePropertySettingsRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.admin.people.profilepropertysettings.ProfilePropertySettingsRequestBuilder::|public|count:CountRequestBuilder +com.microsoft.graph.beta.admin.people.profilepropertysettings.ProfilePropertySettingsRequestBuilder::|public|get():ProfilePropertySettingCollectionResponse +com.microsoft.graph.beta.admin.people.profilepropertysettings.ProfilePropertySettingsRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):ProfilePropertySettingCollectionResponse +com.microsoft.graph.beta.admin.people.profilepropertysettings.ProfilePropertySettingsRequestBuilder::|public|post(body:ProfilePropertySetting):ProfilePropertySetting +com.microsoft.graph.beta.admin.people.profilepropertysettings.ProfilePropertySettingsRequestBuilder::|public|post(body:ProfilePropertySetting; requestConfiguration?:java.util.function.Consumer):ProfilePropertySetting +com.microsoft.graph.beta.admin.people.profilepropertysettings.ProfilePropertySettingsRequestBuilder::|public|toGetRequestInformation():RequestInformation +com.microsoft.graph.beta.admin.people.profilepropertysettings.ProfilePropertySettingsRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.beta.admin.people.profilepropertysettings.ProfilePropertySettingsRequestBuilder::|public|toPostRequestInformation(body:ProfilePropertySetting):RequestInformation +com.microsoft.graph.beta.admin.people.profilepropertysettings.ProfilePropertySettingsRequestBuilder::|public|toPostRequestInformation(body:ProfilePropertySetting; requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.beta.admin.people.profilepropertysettings.ProfilePropertySettingsRequestBuilder::|public|withUrl(rawUrl:String):ProfilePropertySettingsRequestBuilder com.microsoft.graph.beta.admin.people.pronouns.PronounsRequestBuilder-->BaseRequestBuilder com.microsoft.graph.beta.admin.people.pronouns.PronounsRequestBuilder.DeleteRequestConfiguration-->BaseRequestConfiguration com.microsoft.graph.beta.admin.people.pronouns.PronounsRequestBuilder.GetQueryParameters::|public|expand:String[] @@ -23176,6 +23242,42 @@ com.microsoft.graph.beta.dataclassification.sensitivetypes.SensitiveTypesRequest com.microsoft.graph.beta.dataclassification.sensitivetypes.SensitiveTypesRequestBuilder::|public|toPostRequestInformation(body:SensitiveType):RequestInformation com.microsoft.graph.beta.dataclassification.sensitivetypes.SensitiveTypesRequestBuilder::|public|toPostRequestInformation(body:SensitiveType; requestConfiguration?:java.util.function.Consumer):RequestInformation com.microsoft.graph.beta.dataclassification.sensitivetypes.SensitiveTypesRequestBuilder::|public|withUrl(rawUrl:String):SensitiveTypesRequestBuilder +com.microsoft.graph.beta.dataclassification.sensitivitylabels.computeinheritancewithlabelidswithlocalewithcontentformats.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder-->BaseRequestBuilder +com.microsoft.graph.beta.dataclassification.sensitivitylabels.computeinheritancewithlabelidswithlocalewithcontentformats.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder.GetRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.beta.dataclassification.sensitivitylabels.computeinheritancewithlabelidswithlocalewithcontentformats.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter; contentFormats?:String; labelIds?:String; locale?:String):Void +com.microsoft.graph.beta.dataclassification.sensitivitylabels.computeinheritancewithlabelidswithlocalewithcontentformats.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.dataclassification.sensitivitylabels.computeinheritancewithlabelidswithlocalewithcontentformats.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder::|public|get():SensitivityLabel +com.microsoft.graph.beta.dataclassification.sensitivitylabels.computeinheritancewithlabelidswithlocalewithcontentformats.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):SensitivityLabel +com.microsoft.graph.beta.dataclassification.sensitivitylabels.computeinheritancewithlabelidswithlocalewithcontentformats.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder::|public|toGetRequestInformation():RequestInformation +com.microsoft.graph.beta.dataclassification.sensitivitylabels.computeinheritancewithlabelidswithlocalewithcontentformats.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.beta.dataclassification.sensitivitylabels.computeinheritancewithlabelidswithlocalewithcontentformats.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder::|public|withUrl(rawUrl:String):ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder +com.microsoft.graph.beta.dataclassification.sensitivitylabels.computerightsandinheritance.ComputeRightsAndInheritancePostRequestBody::|protected|backingStore:BackingStore +com.microsoft.graph.beta.dataclassification.sensitivitylabels.computerightsandinheritance.ComputeRightsAndInheritancePostRequestBody::|public|constructor():void +com.microsoft.graph.beta.dataclassification.sensitivitylabels.computerightsandinheritance.ComputeRightsAndInheritancePostRequestBody::|public|getAdditionalData():Map +com.microsoft.graph.beta.dataclassification.sensitivitylabels.computerightsandinheritance.ComputeRightsAndInheritancePostRequestBody::|public|getBackingStore():BackingStore +com.microsoft.graph.beta.dataclassification.sensitivitylabels.computerightsandinheritance.ComputeRightsAndInheritancePostRequestBody::|public|getDelegatedUserEmail():String +com.microsoft.graph.beta.dataclassification.sensitivitylabels.computerightsandinheritance.ComputeRightsAndInheritancePostRequestBody::|public|getFieldDeserializers():Map> +com.microsoft.graph.beta.dataclassification.sensitivitylabels.computerightsandinheritance.ComputeRightsAndInheritancePostRequestBody::|public|getLocale():String +com.microsoft.graph.beta.dataclassification.sensitivitylabels.computerightsandinheritance.ComputeRightsAndInheritancePostRequestBody::|public|getProtectedContents():java.util.List +com.microsoft.graph.beta.dataclassification.sensitivitylabels.computerightsandinheritance.ComputeRightsAndInheritancePostRequestBody::|public|getSupportedContentFormats():java.util.List +com.microsoft.graph.beta.dataclassification.sensitivitylabels.computerightsandinheritance.ComputeRightsAndInheritancePostRequestBody::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.beta.dataclassification.sensitivitylabels.computerightsandinheritance.ComputeRightsAndInheritancePostRequestBody::|public|setAdditionalData(value?:Map):void +com.microsoft.graph.beta.dataclassification.sensitivitylabels.computerightsandinheritance.ComputeRightsAndInheritancePostRequestBody::|public|setBackingStore(value:BackingStore):void +com.microsoft.graph.beta.dataclassification.sensitivitylabels.computerightsandinheritance.ComputeRightsAndInheritancePostRequestBody::|public|setDelegatedUserEmail(value?:String):void +com.microsoft.graph.beta.dataclassification.sensitivitylabels.computerightsandinheritance.ComputeRightsAndInheritancePostRequestBody::|public|setLocale(value?:String):void +com.microsoft.graph.beta.dataclassification.sensitivitylabels.computerightsandinheritance.ComputeRightsAndInheritancePostRequestBody::|public|setProtectedContents(value?:java.util.List):void +com.microsoft.graph.beta.dataclassification.sensitivitylabels.computerightsandinheritance.ComputeRightsAndInheritancePostRequestBody::|public|setSupportedContentFormats(value?:java.util.List):void +com.microsoft.graph.beta.dataclassification.sensitivitylabels.computerightsandinheritance.ComputeRightsAndInheritancePostRequestBody::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):ComputeRightsAndInheritancePostRequestBody +com.microsoft.graph.beta.dataclassification.sensitivitylabels.computerightsandinheritance.ComputeRightsAndInheritancePostRequestBody~~>AdditionalDataHolder; BackedModel; Parsable +com.microsoft.graph.beta.dataclassification.sensitivitylabels.computerightsandinheritance.ComputeRightsAndInheritanceRequestBuilder-->BaseRequestBuilder +com.microsoft.graph.beta.dataclassification.sensitivitylabels.computerightsandinheritance.ComputeRightsAndInheritanceRequestBuilder.PostRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.beta.dataclassification.sensitivitylabels.computerightsandinheritance.ComputeRightsAndInheritanceRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.dataclassification.sensitivitylabels.computerightsandinheritance.ComputeRightsAndInheritanceRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.dataclassification.sensitivitylabels.computerightsandinheritance.ComputeRightsAndInheritanceRequestBuilder::|public|post(body:ComputeRightsAndInheritancePostRequestBody):ComputeRightsAndInheritanceResult +com.microsoft.graph.beta.dataclassification.sensitivitylabels.computerightsandinheritance.ComputeRightsAndInheritanceRequestBuilder::|public|post(body:ComputeRightsAndInheritancePostRequestBody; requestConfiguration?:java.util.function.Consumer):ComputeRightsAndInheritanceResult +com.microsoft.graph.beta.dataclassification.sensitivitylabels.computerightsandinheritance.ComputeRightsAndInheritanceRequestBuilder::|public|toPostRequestInformation(body:ComputeRightsAndInheritancePostRequestBody):RequestInformation +com.microsoft.graph.beta.dataclassification.sensitivitylabels.computerightsandinheritance.ComputeRightsAndInheritanceRequestBuilder::|public|toPostRequestInformation(body:ComputeRightsAndInheritancePostRequestBody; requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.beta.dataclassification.sensitivitylabels.computerightsandinheritance.ComputeRightsAndInheritanceRequestBuilder::|public|withUrl(rawUrl:String):ComputeRightsAndInheritanceRequestBuilder com.microsoft.graph.beta.dataclassification.sensitivitylabels.count.CountRequestBuilder-->BaseRequestBuilder com.microsoft.graph.beta.dataclassification.sensitivitylabels.count.CountRequestBuilder.GetQueryParameters::|public|filter:String com.microsoft.graph.beta.dataclassification.sensitivitylabels.count.CountRequestBuilder.GetQueryParameters::|public|search:String @@ -23213,6 +23315,20 @@ com.microsoft.graph.beta.dataclassification.sensitivitylabels.evaluate.EvaluateR com.microsoft.graph.beta.dataclassification.sensitivitylabels.evaluate.EvaluateRequestBuilder::|public|toPostRequestInformation(body:EvaluatePostRequestBody):RequestInformation com.microsoft.graph.beta.dataclassification.sensitivitylabels.evaluate.EvaluateRequestBuilder::|public|toPostRequestInformation(body:EvaluatePostRequestBody; requestConfiguration?:java.util.function.Consumer):RequestInformation com.microsoft.graph.beta.dataclassification.sensitivitylabels.evaluate.EvaluateRequestBuilder::|public|withUrl(rawUrl:String):EvaluateRequestBuilder +com.microsoft.graph.beta.dataclassification.sensitivitylabels.item.rights.RightsRequestBuilder-->BaseRequestBuilder +com.microsoft.graph.beta.dataclassification.sensitivitylabels.item.rights.RightsRequestBuilder.GetQueryParameters::|public|expand:String[] +com.microsoft.graph.beta.dataclassification.sensitivitylabels.item.rights.RightsRequestBuilder.GetQueryParameters::|public|select:String[] +com.microsoft.graph.beta.dataclassification.sensitivitylabels.item.rights.RightsRequestBuilder.GetQueryParameters::|public|toQueryParameters():Map +com.microsoft.graph.beta.dataclassification.sensitivitylabels.item.rights.RightsRequestBuilder.GetQueryParameters~~>QueryParameters +com.microsoft.graph.beta.dataclassification.sensitivitylabels.item.rights.RightsRequestBuilder.GetRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.beta.dataclassification.sensitivitylabels.item.rights.RightsRequestBuilder.GetRequestConfiguration::|public|queryParameters:GetQueryParameters +com.microsoft.graph.beta.dataclassification.sensitivitylabels.item.rights.RightsRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.dataclassification.sensitivitylabels.item.rights.RightsRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.dataclassification.sensitivitylabels.item.rights.RightsRequestBuilder::|public|get():UsageRightsIncluded +com.microsoft.graph.beta.dataclassification.sensitivitylabels.item.rights.RightsRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):UsageRightsIncluded +com.microsoft.graph.beta.dataclassification.sensitivitylabels.item.rights.RightsRequestBuilder::|public|toGetRequestInformation():RequestInformation +com.microsoft.graph.beta.dataclassification.sensitivitylabels.item.rights.RightsRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.beta.dataclassification.sensitivitylabels.item.rights.RightsRequestBuilder::|public|withUrl(rawUrl:String):RightsRequestBuilder com.microsoft.graph.beta.dataclassification.sensitivitylabels.item.SensitivityLabelItemRequestBuilder-->BaseRequestBuilder com.microsoft.graph.beta.dataclassification.sensitivitylabels.item.SensitivityLabelItemRequestBuilder.DeleteRequestConfiguration-->BaseRequestConfiguration com.microsoft.graph.beta.dataclassification.sensitivitylabels.item.SensitivityLabelItemRequestBuilder.GetQueryParameters::|public|expand:String[] @@ -23230,6 +23346,7 @@ com.microsoft.graph.beta.dataclassification.sensitivitylabels.item.SensitivityLa com.microsoft.graph.beta.dataclassification.sensitivitylabels.item.SensitivityLabelItemRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):SensitivityLabel com.microsoft.graph.beta.dataclassification.sensitivitylabels.item.SensitivityLabelItemRequestBuilder::|public|patch(body:SensitivityLabel):SensitivityLabel com.microsoft.graph.beta.dataclassification.sensitivitylabels.item.SensitivityLabelItemRequestBuilder::|public|patch(body:SensitivityLabel; requestConfiguration?:java.util.function.Consumer):SensitivityLabel +com.microsoft.graph.beta.dataclassification.sensitivitylabels.item.SensitivityLabelItemRequestBuilder::|public|rights:RightsRequestBuilder com.microsoft.graph.beta.dataclassification.sensitivitylabels.item.SensitivityLabelItemRequestBuilder::|public|sublabels:SublabelsRequestBuilder com.microsoft.graph.beta.dataclassification.sensitivitylabels.item.SensitivityLabelItemRequestBuilder::|public|toDeleteRequestInformation():RequestInformation com.microsoft.graph.beta.dataclassification.sensitivitylabels.item.SensitivityLabelItemRequestBuilder::|public|toDeleteRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation @@ -23238,6 +23355,42 @@ com.microsoft.graph.beta.dataclassification.sensitivitylabels.item.SensitivityLa com.microsoft.graph.beta.dataclassification.sensitivitylabels.item.SensitivityLabelItemRequestBuilder::|public|toPatchRequestInformation(body:SensitivityLabel):RequestInformation com.microsoft.graph.beta.dataclassification.sensitivitylabels.item.SensitivityLabelItemRequestBuilder::|public|toPatchRequestInformation(body:SensitivityLabel; requestConfiguration?:java.util.function.Consumer):RequestInformation com.microsoft.graph.beta.dataclassification.sensitivitylabels.item.SensitivityLabelItemRequestBuilder::|public|withUrl(rawUrl:String):SensitivityLabelItemRequestBuilder +com.microsoft.graph.beta.dataclassification.sensitivitylabels.item.sublabels.computeinheritancewithlabelidswithlocalewithcontentformats.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder-->BaseRequestBuilder +com.microsoft.graph.beta.dataclassification.sensitivitylabels.item.sublabels.computeinheritancewithlabelidswithlocalewithcontentformats.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder.GetRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.beta.dataclassification.sensitivitylabels.item.sublabels.computeinheritancewithlabelidswithlocalewithcontentformats.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter; contentFormats?:String; labelIds?:String; locale?:String):Void +com.microsoft.graph.beta.dataclassification.sensitivitylabels.item.sublabels.computeinheritancewithlabelidswithlocalewithcontentformats.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.dataclassification.sensitivitylabels.item.sublabels.computeinheritancewithlabelidswithlocalewithcontentformats.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder::|public|get():SensitivityLabel +com.microsoft.graph.beta.dataclassification.sensitivitylabels.item.sublabels.computeinheritancewithlabelidswithlocalewithcontentformats.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):SensitivityLabel +com.microsoft.graph.beta.dataclassification.sensitivitylabels.item.sublabels.computeinheritancewithlabelidswithlocalewithcontentformats.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder::|public|toGetRequestInformation():RequestInformation +com.microsoft.graph.beta.dataclassification.sensitivitylabels.item.sublabels.computeinheritancewithlabelidswithlocalewithcontentformats.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.beta.dataclassification.sensitivitylabels.item.sublabels.computeinheritancewithlabelidswithlocalewithcontentformats.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder::|public|withUrl(rawUrl:String):ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder +com.microsoft.graph.beta.dataclassification.sensitivitylabels.item.sublabels.computerightsandinheritance.ComputeRightsAndInheritancePostRequestBody::|protected|backingStore:BackingStore +com.microsoft.graph.beta.dataclassification.sensitivitylabels.item.sublabels.computerightsandinheritance.ComputeRightsAndInheritancePostRequestBody::|public|constructor():void +com.microsoft.graph.beta.dataclassification.sensitivitylabels.item.sublabels.computerightsandinheritance.ComputeRightsAndInheritancePostRequestBody::|public|getAdditionalData():Map +com.microsoft.graph.beta.dataclassification.sensitivitylabels.item.sublabels.computerightsandinheritance.ComputeRightsAndInheritancePostRequestBody::|public|getBackingStore():BackingStore +com.microsoft.graph.beta.dataclassification.sensitivitylabels.item.sublabels.computerightsandinheritance.ComputeRightsAndInheritancePostRequestBody::|public|getDelegatedUserEmail():String +com.microsoft.graph.beta.dataclassification.sensitivitylabels.item.sublabels.computerightsandinheritance.ComputeRightsAndInheritancePostRequestBody::|public|getFieldDeserializers():Map> +com.microsoft.graph.beta.dataclassification.sensitivitylabels.item.sublabels.computerightsandinheritance.ComputeRightsAndInheritancePostRequestBody::|public|getLocale():String +com.microsoft.graph.beta.dataclassification.sensitivitylabels.item.sublabels.computerightsandinheritance.ComputeRightsAndInheritancePostRequestBody::|public|getProtectedContents():java.util.List +com.microsoft.graph.beta.dataclassification.sensitivitylabels.item.sublabels.computerightsandinheritance.ComputeRightsAndInheritancePostRequestBody::|public|getSupportedContentFormats():java.util.List +com.microsoft.graph.beta.dataclassification.sensitivitylabels.item.sublabels.computerightsandinheritance.ComputeRightsAndInheritancePostRequestBody::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.beta.dataclassification.sensitivitylabels.item.sublabels.computerightsandinheritance.ComputeRightsAndInheritancePostRequestBody::|public|setAdditionalData(value?:Map):void +com.microsoft.graph.beta.dataclassification.sensitivitylabels.item.sublabels.computerightsandinheritance.ComputeRightsAndInheritancePostRequestBody::|public|setBackingStore(value:BackingStore):void +com.microsoft.graph.beta.dataclassification.sensitivitylabels.item.sublabels.computerightsandinheritance.ComputeRightsAndInheritancePostRequestBody::|public|setDelegatedUserEmail(value?:String):void +com.microsoft.graph.beta.dataclassification.sensitivitylabels.item.sublabels.computerightsandinheritance.ComputeRightsAndInheritancePostRequestBody::|public|setLocale(value?:String):void +com.microsoft.graph.beta.dataclassification.sensitivitylabels.item.sublabels.computerightsandinheritance.ComputeRightsAndInheritancePostRequestBody::|public|setProtectedContents(value?:java.util.List):void +com.microsoft.graph.beta.dataclassification.sensitivitylabels.item.sublabels.computerightsandinheritance.ComputeRightsAndInheritancePostRequestBody::|public|setSupportedContentFormats(value?:java.util.List):void +com.microsoft.graph.beta.dataclassification.sensitivitylabels.item.sublabels.computerightsandinheritance.ComputeRightsAndInheritancePostRequestBody::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):ComputeRightsAndInheritancePostRequestBody +com.microsoft.graph.beta.dataclassification.sensitivitylabels.item.sublabels.computerightsandinheritance.ComputeRightsAndInheritancePostRequestBody~~>AdditionalDataHolder; BackedModel; Parsable +com.microsoft.graph.beta.dataclassification.sensitivitylabels.item.sublabels.computerightsandinheritance.ComputeRightsAndInheritanceRequestBuilder-->BaseRequestBuilder +com.microsoft.graph.beta.dataclassification.sensitivitylabels.item.sublabels.computerightsandinheritance.ComputeRightsAndInheritanceRequestBuilder.PostRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.beta.dataclassification.sensitivitylabels.item.sublabels.computerightsandinheritance.ComputeRightsAndInheritanceRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.dataclassification.sensitivitylabels.item.sublabels.computerightsandinheritance.ComputeRightsAndInheritanceRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.dataclassification.sensitivitylabels.item.sublabels.computerightsandinheritance.ComputeRightsAndInheritanceRequestBuilder::|public|post(body:ComputeRightsAndInheritancePostRequestBody):ComputeRightsAndInheritanceResult +com.microsoft.graph.beta.dataclassification.sensitivitylabels.item.sublabels.computerightsandinheritance.ComputeRightsAndInheritanceRequestBuilder::|public|post(body:ComputeRightsAndInheritancePostRequestBody; requestConfiguration?:java.util.function.Consumer):ComputeRightsAndInheritanceResult +com.microsoft.graph.beta.dataclassification.sensitivitylabels.item.sublabels.computerightsandinheritance.ComputeRightsAndInheritanceRequestBuilder::|public|toPostRequestInformation(body:ComputeRightsAndInheritancePostRequestBody):RequestInformation +com.microsoft.graph.beta.dataclassification.sensitivitylabels.item.sublabels.computerightsandinheritance.ComputeRightsAndInheritanceRequestBuilder::|public|toPostRequestInformation(body:ComputeRightsAndInheritancePostRequestBody; requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.beta.dataclassification.sensitivitylabels.item.sublabels.computerightsandinheritance.ComputeRightsAndInheritanceRequestBuilder::|public|withUrl(rawUrl:String):ComputeRightsAndInheritanceRequestBuilder com.microsoft.graph.beta.dataclassification.sensitivitylabels.item.sublabels.count.CountRequestBuilder-->BaseRequestBuilder com.microsoft.graph.beta.dataclassification.sensitivitylabels.item.sublabels.count.CountRequestBuilder.GetQueryParameters::|public|filter:String com.microsoft.graph.beta.dataclassification.sensitivitylabels.item.sublabels.count.CountRequestBuilder.GetQueryParameters::|public|search:String @@ -23275,6 +23428,20 @@ com.microsoft.graph.beta.dataclassification.sensitivitylabels.item.sublabels.eva com.microsoft.graph.beta.dataclassification.sensitivitylabels.item.sublabels.evaluate.EvaluateRequestBuilder::|public|toPostRequestInformation(body:EvaluatePostRequestBody):RequestInformation com.microsoft.graph.beta.dataclassification.sensitivitylabels.item.sublabels.evaluate.EvaluateRequestBuilder::|public|toPostRequestInformation(body:EvaluatePostRequestBody; requestConfiguration?:java.util.function.Consumer):RequestInformation com.microsoft.graph.beta.dataclassification.sensitivitylabels.item.sublabels.evaluate.EvaluateRequestBuilder::|public|withUrl(rawUrl:String):EvaluateRequestBuilder +com.microsoft.graph.beta.dataclassification.sensitivitylabels.item.sublabels.item.rights.RightsRequestBuilder-->BaseRequestBuilder +com.microsoft.graph.beta.dataclassification.sensitivitylabels.item.sublabels.item.rights.RightsRequestBuilder.GetQueryParameters::|public|expand:String[] +com.microsoft.graph.beta.dataclassification.sensitivitylabels.item.sublabels.item.rights.RightsRequestBuilder.GetQueryParameters::|public|select:String[] +com.microsoft.graph.beta.dataclassification.sensitivitylabels.item.sublabels.item.rights.RightsRequestBuilder.GetQueryParameters::|public|toQueryParameters():Map +com.microsoft.graph.beta.dataclassification.sensitivitylabels.item.sublabels.item.rights.RightsRequestBuilder.GetQueryParameters~~>QueryParameters +com.microsoft.graph.beta.dataclassification.sensitivitylabels.item.sublabels.item.rights.RightsRequestBuilder.GetRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.beta.dataclassification.sensitivitylabels.item.sublabels.item.rights.RightsRequestBuilder.GetRequestConfiguration::|public|queryParameters:GetQueryParameters +com.microsoft.graph.beta.dataclassification.sensitivitylabels.item.sublabels.item.rights.RightsRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.dataclassification.sensitivitylabels.item.sublabels.item.rights.RightsRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.dataclassification.sensitivitylabels.item.sublabels.item.rights.RightsRequestBuilder::|public|get():UsageRightsIncluded +com.microsoft.graph.beta.dataclassification.sensitivitylabels.item.sublabels.item.rights.RightsRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):UsageRightsIncluded +com.microsoft.graph.beta.dataclassification.sensitivitylabels.item.sublabels.item.rights.RightsRequestBuilder::|public|toGetRequestInformation():RequestInformation +com.microsoft.graph.beta.dataclassification.sensitivitylabels.item.sublabels.item.rights.RightsRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.beta.dataclassification.sensitivitylabels.item.sublabels.item.rights.RightsRequestBuilder::|public|withUrl(rawUrl:String):RightsRequestBuilder com.microsoft.graph.beta.dataclassification.sensitivitylabels.item.sublabels.item.SensitivityLabelItemRequestBuilder-->BaseRequestBuilder com.microsoft.graph.beta.dataclassification.sensitivitylabels.item.sublabels.item.SensitivityLabelItemRequestBuilder.DeleteRequestConfiguration-->BaseRequestConfiguration com.microsoft.graph.beta.dataclassification.sensitivitylabels.item.sublabels.item.SensitivityLabelItemRequestBuilder.GetQueryParameters::|public|expand:String[] @@ -23292,6 +23459,7 @@ com.microsoft.graph.beta.dataclassification.sensitivitylabels.item.sublabels.ite com.microsoft.graph.beta.dataclassification.sensitivitylabels.item.sublabels.item.SensitivityLabelItemRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):SensitivityLabel com.microsoft.graph.beta.dataclassification.sensitivitylabels.item.sublabels.item.SensitivityLabelItemRequestBuilder::|public|patch(body:SensitivityLabel):SensitivityLabel com.microsoft.graph.beta.dataclassification.sensitivitylabels.item.sublabels.item.SensitivityLabelItemRequestBuilder::|public|patch(body:SensitivityLabel; requestConfiguration?:java.util.function.Consumer):SensitivityLabel +com.microsoft.graph.beta.dataclassification.sensitivitylabels.item.sublabels.item.SensitivityLabelItemRequestBuilder::|public|rights:RightsRequestBuilder com.microsoft.graph.beta.dataclassification.sensitivitylabels.item.sublabels.item.SensitivityLabelItemRequestBuilder::|public|toDeleteRequestInformation():RequestInformation com.microsoft.graph.beta.dataclassification.sensitivitylabels.item.sublabels.item.SensitivityLabelItemRequestBuilder::|public|toDeleteRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation com.microsoft.graph.beta.dataclassification.sensitivitylabels.item.sublabels.item.SensitivityLabelItemRequestBuilder::|public|toGetRequestInformation():RequestInformation @@ -23314,6 +23482,8 @@ com.microsoft.graph.beta.dataclassification.sensitivitylabels.item.sublabels.Sub com.microsoft.graph.beta.dataclassification.sensitivitylabels.item.sublabels.SublabelsRequestBuilder.GetRequestConfiguration::|public|queryParameters:GetQueryParameters com.microsoft.graph.beta.dataclassification.sensitivitylabels.item.sublabels.SublabelsRequestBuilder.PostRequestConfiguration-->BaseRequestConfiguration com.microsoft.graph.beta.dataclassification.sensitivitylabels.item.sublabels.SublabelsRequestBuilder::|public|bySensitivityLabelId1(sensitivityLabelId1:String):SensitivityLabelItemRequestBuilder +com.microsoft.graph.beta.dataclassification.sensitivitylabels.item.sublabels.SublabelsRequestBuilder::|public|computeInheritanceWithLabelIdsWithLocaleWithContentFormats(contentFormats:String; labelIds:String; locale:String):ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder +com.microsoft.graph.beta.dataclassification.sensitivitylabels.item.sublabels.SublabelsRequestBuilder::|public|computeRightsAndInheritance:ComputeRightsAndInheritanceRequestBuilder com.microsoft.graph.beta.dataclassification.sensitivitylabels.item.sublabels.SublabelsRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void com.microsoft.graph.beta.dataclassification.sensitivitylabels.item.sublabels.SublabelsRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void com.microsoft.graph.beta.dataclassification.sensitivitylabels.item.sublabels.SublabelsRequestBuilder::|public|count:CountRequestBuilder @@ -23342,6 +23512,8 @@ com.microsoft.graph.beta.dataclassification.sensitivitylabels.SensitivityLabelsR com.microsoft.graph.beta.dataclassification.sensitivitylabels.SensitivityLabelsRequestBuilder.GetRequestConfiguration::|public|queryParameters:GetQueryParameters com.microsoft.graph.beta.dataclassification.sensitivitylabels.SensitivityLabelsRequestBuilder.PostRequestConfiguration-->BaseRequestConfiguration com.microsoft.graph.beta.dataclassification.sensitivitylabels.SensitivityLabelsRequestBuilder::|public|bySensitivityLabelId(sensitivityLabelId:String):SensitivityLabelItemRequestBuilder +com.microsoft.graph.beta.dataclassification.sensitivitylabels.SensitivityLabelsRequestBuilder::|public|computeInheritanceWithLabelIdsWithLocaleWithContentFormats(contentFormats:String; labelIds:String; locale:String):ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder +com.microsoft.graph.beta.dataclassification.sensitivitylabels.SensitivityLabelsRequestBuilder::|public|computeRightsAndInheritance:ComputeRightsAndInheritanceRequestBuilder com.microsoft.graph.beta.dataclassification.sensitivitylabels.SensitivityLabelsRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void com.microsoft.graph.beta.dataclassification.sensitivitylabels.SensitivityLabelsRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void com.microsoft.graph.beta.dataclassification.sensitivitylabels.SensitivityLabelsRequestBuilder::|public|count:CountRequestBuilder @@ -66766,6 +66938,7 @@ com.microsoft.graph.beta.devicemanagement.virtualendpoint.reports.ReportsRequest com.microsoft.graph.beta.devicemanagement.virtualendpoint.reports.ReportsRequestBuilder::|public|patch(body:CloudPcReports):CloudPcReports com.microsoft.graph.beta.devicemanagement.virtualendpoint.reports.ReportsRequestBuilder::|public|patch(body:CloudPcReports; requestConfiguration?:java.util.function.Consumer):CloudPcReports com.microsoft.graph.beta.devicemanagement.virtualendpoint.reports.ReportsRequestBuilder::|public|retrieveBulkActionStatusReport:RetrieveBulkActionStatusReportRequestBuilder +com.microsoft.graph.beta.devicemanagement.virtualendpoint.reports.ReportsRequestBuilder::|public|retrieveCloudPcRecommendationReports:RetrieveCloudPcRecommendationReportsRequestBuilder com.microsoft.graph.beta.devicemanagement.virtualendpoint.reports.ReportsRequestBuilder::|public|retrieveCloudPcTenantMetricsReport:RetrieveCloudPcTenantMetricsReportRequestBuilder com.microsoft.graph.beta.devicemanagement.virtualendpoint.reports.ReportsRequestBuilder::|public|retrieveCloudPcTroubleshootReports:RetrieveCloudPcTroubleshootReportsRequestBuilder com.microsoft.graph.beta.devicemanagement.virtualendpoint.reports.ReportsRequestBuilder::|public|retrieveConnectionQualityReports:RetrieveConnectionQualityReportsRequestBuilder @@ -66811,6 +66984,41 @@ com.microsoft.graph.beta.devicemanagement.virtualendpoint.reports.retrievebulkac com.microsoft.graph.beta.devicemanagement.virtualendpoint.reports.retrievebulkactionstatusreport.RetrieveBulkActionStatusReportRequestBuilder::|public|toPostRequestInformation(body:RetrieveBulkActionStatusReportPostRequestBody):RequestInformation com.microsoft.graph.beta.devicemanagement.virtualendpoint.reports.retrievebulkactionstatusreport.RetrieveBulkActionStatusReportRequestBuilder::|public|toPostRequestInformation(body:RetrieveBulkActionStatusReportPostRequestBody; requestConfiguration?:java.util.function.Consumer):RequestInformation com.microsoft.graph.beta.devicemanagement.virtualendpoint.reports.retrievebulkactionstatusreport.RetrieveBulkActionStatusReportRequestBuilder::|public|withUrl(rawUrl:String):RetrieveBulkActionStatusReportRequestBuilder +com.microsoft.graph.beta.devicemanagement.virtualendpoint.reports.retrievecloudpcrecommendationreports.RetrieveCloudPcRecommendationReportsPostRequestBody::|protected|backingStore:BackingStore +com.microsoft.graph.beta.devicemanagement.virtualendpoint.reports.retrievecloudpcrecommendationreports.RetrieveCloudPcRecommendationReportsPostRequestBody::|public|constructor():void +com.microsoft.graph.beta.devicemanagement.virtualendpoint.reports.retrievecloudpcrecommendationreports.RetrieveCloudPcRecommendationReportsPostRequestBody::|public|getAdditionalData():Map +com.microsoft.graph.beta.devicemanagement.virtualendpoint.reports.retrievecloudpcrecommendationreports.RetrieveCloudPcRecommendationReportsPostRequestBody::|public|getBackingStore():BackingStore +com.microsoft.graph.beta.devicemanagement.virtualendpoint.reports.retrievecloudpcrecommendationreports.RetrieveCloudPcRecommendationReportsPostRequestBody::|public|getFieldDeserializers():Map> +com.microsoft.graph.beta.devicemanagement.virtualendpoint.reports.retrievecloudpcrecommendationreports.RetrieveCloudPcRecommendationReportsPostRequestBody::|public|getFilter():String +com.microsoft.graph.beta.devicemanagement.virtualendpoint.reports.retrievecloudpcrecommendationreports.RetrieveCloudPcRecommendationReportsPostRequestBody::|public|getGroupBy():java.util.List +com.microsoft.graph.beta.devicemanagement.virtualendpoint.reports.retrievecloudpcrecommendationreports.RetrieveCloudPcRecommendationReportsPostRequestBody::|public|getOrderBy():java.util.List +com.microsoft.graph.beta.devicemanagement.virtualendpoint.reports.retrievecloudpcrecommendationreports.RetrieveCloudPcRecommendationReportsPostRequestBody::|public|getReportName():CloudPcRecommendationReportType +com.microsoft.graph.beta.devicemanagement.virtualendpoint.reports.retrievecloudpcrecommendationreports.RetrieveCloudPcRecommendationReportsPostRequestBody::|public|getSearch():String +com.microsoft.graph.beta.devicemanagement.virtualendpoint.reports.retrievecloudpcrecommendationreports.RetrieveCloudPcRecommendationReportsPostRequestBody::|public|getSelect():java.util.List +com.microsoft.graph.beta.devicemanagement.virtualendpoint.reports.retrievecloudpcrecommendationreports.RetrieveCloudPcRecommendationReportsPostRequestBody::|public|getSkip():Integer +com.microsoft.graph.beta.devicemanagement.virtualendpoint.reports.retrievecloudpcrecommendationreports.RetrieveCloudPcRecommendationReportsPostRequestBody::|public|getTop():Integer +com.microsoft.graph.beta.devicemanagement.virtualendpoint.reports.retrievecloudpcrecommendationreports.RetrieveCloudPcRecommendationReportsPostRequestBody::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.beta.devicemanagement.virtualendpoint.reports.retrievecloudpcrecommendationreports.RetrieveCloudPcRecommendationReportsPostRequestBody::|public|setAdditionalData(value?:Map):void +com.microsoft.graph.beta.devicemanagement.virtualendpoint.reports.retrievecloudpcrecommendationreports.RetrieveCloudPcRecommendationReportsPostRequestBody::|public|setBackingStore(value:BackingStore):void +com.microsoft.graph.beta.devicemanagement.virtualendpoint.reports.retrievecloudpcrecommendationreports.RetrieveCloudPcRecommendationReportsPostRequestBody::|public|setFilter(value?:String):void +com.microsoft.graph.beta.devicemanagement.virtualendpoint.reports.retrievecloudpcrecommendationreports.RetrieveCloudPcRecommendationReportsPostRequestBody::|public|setGroupBy(value?:java.util.List):void +com.microsoft.graph.beta.devicemanagement.virtualendpoint.reports.retrievecloudpcrecommendationreports.RetrieveCloudPcRecommendationReportsPostRequestBody::|public|setOrderBy(value?:java.util.List):void +com.microsoft.graph.beta.devicemanagement.virtualendpoint.reports.retrievecloudpcrecommendationreports.RetrieveCloudPcRecommendationReportsPostRequestBody::|public|setReportName(value?:CloudPcRecommendationReportType):void +com.microsoft.graph.beta.devicemanagement.virtualendpoint.reports.retrievecloudpcrecommendationreports.RetrieveCloudPcRecommendationReportsPostRequestBody::|public|setSearch(value?:String):void +com.microsoft.graph.beta.devicemanagement.virtualendpoint.reports.retrievecloudpcrecommendationreports.RetrieveCloudPcRecommendationReportsPostRequestBody::|public|setSelect(value?:java.util.List):void +com.microsoft.graph.beta.devicemanagement.virtualendpoint.reports.retrievecloudpcrecommendationreports.RetrieveCloudPcRecommendationReportsPostRequestBody::|public|setSkip(value?:Integer):void +com.microsoft.graph.beta.devicemanagement.virtualendpoint.reports.retrievecloudpcrecommendationreports.RetrieveCloudPcRecommendationReportsPostRequestBody::|public|setTop(value?:Integer):void +com.microsoft.graph.beta.devicemanagement.virtualendpoint.reports.retrievecloudpcrecommendationreports.RetrieveCloudPcRecommendationReportsPostRequestBody::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):RetrieveCloudPcRecommendationReportsPostRequestBody +com.microsoft.graph.beta.devicemanagement.virtualendpoint.reports.retrievecloudpcrecommendationreports.RetrieveCloudPcRecommendationReportsPostRequestBody~~>AdditionalDataHolder; BackedModel; Parsable +com.microsoft.graph.beta.devicemanagement.virtualendpoint.reports.retrievecloudpcrecommendationreports.RetrieveCloudPcRecommendationReportsRequestBuilder-->BaseRequestBuilder +com.microsoft.graph.beta.devicemanagement.virtualendpoint.reports.retrievecloudpcrecommendationreports.RetrieveCloudPcRecommendationReportsRequestBuilder.PostRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.beta.devicemanagement.virtualendpoint.reports.retrievecloudpcrecommendationreports.RetrieveCloudPcRecommendationReportsRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.devicemanagement.virtualendpoint.reports.retrievecloudpcrecommendationreports.RetrieveCloudPcRecommendationReportsRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.devicemanagement.virtualendpoint.reports.retrievecloudpcrecommendationreports.RetrieveCloudPcRecommendationReportsRequestBuilder::|public|post(body:RetrieveCloudPcRecommendationReportsPostRequestBody):InputStream +com.microsoft.graph.beta.devicemanagement.virtualendpoint.reports.retrievecloudpcrecommendationreports.RetrieveCloudPcRecommendationReportsRequestBuilder::|public|post(body:RetrieveCloudPcRecommendationReportsPostRequestBody; requestConfiguration?:java.util.function.Consumer):InputStream +com.microsoft.graph.beta.devicemanagement.virtualendpoint.reports.retrievecloudpcrecommendationreports.RetrieveCloudPcRecommendationReportsRequestBuilder::|public|toPostRequestInformation(body:RetrieveCloudPcRecommendationReportsPostRequestBody):RequestInformation +com.microsoft.graph.beta.devicemanagement.virtualendpoint.reports.retrievecloudpcrecommendationreports.RetrieveCloudPcRecommendationReportsRequestBuilder::|public|toPostRequestInformation(body:RetrieveCloudPcRecommendationReportsPostRequestBody; requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.beta.devicemanagement.virtualendpoint.reports.retrievecloudpcrecommendationreports.RetrieveCloudPcRecommendationReportsRequestBuilder::|public|withUrl(rawUrl:String):RetrieveCloudPcRecommendationReportsRequestBuilder com.microsoft.graph.beta.devicemanagement.virtualendpoint.reports.retrievecloudpctenantmetricsreport.RetrieveCloudPcTenantMetricsReportPostRequestBody::|protected|backingStore:BackingStore com.microsoft.graph.beta.devicemanagement.virtualendpoint.reports.retrievecloudpctenantmetricsreport.RetrieveCloudPcTenantMetricsReportPostRequestBody::|public|constructor():void com.microsoft.graph.beta.devicemanagement.virtualendpoint.reports.retrievecloudpctenantmetricsreport.RetrieveCloudPcTenantMetricsReportPostRequestBody::|public|getAdditionalData():Map @@ -139069,6 +139277,42 @@ com.microsoft.graph.beta.groups.item.sites.item.informationprotection.policy.Pol com.microsoft.graph.beta.groups.item.sites.item.informationprotection.policy.PolicyRequestBuilder::|public|toPatchRequestInformation(body:InformationProtectionPolicy):RequestInformation com.microsoft.graph.beta.groups.item.sites.item.informationprotection.policy.PolicyRequestBuilder::|public|toPatchRequestInformation(body:InformationProtectionPolicy; requestConfiguration?:java.util.function.Consumer):RequestInformation com.microsoft.graph.beta.groups.item.sites.item.informationprotection.policy.PolicyRequestBuilder::|public|withUrl(rawUrl:String):PolicyRequestBuilder +com.microsoft.graph.beta.groups.item.sites.item.informationprotection.sensitivitylabels.computeinheritancewithlabelidswithlocalewithcontentformats.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder-->BaseRequestBuilder +com.microsoft.graph.beta.groups.item.sites.item.informationprotection.sensitivitylabels.computeinheritancewithlabelidswithlocalewithcontentformats.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder.GetRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.beta.groups.item.sites.item.informationprotection.sensitivitylabels.computeinheritancewithlabelidswithlocalewithcontentformats.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter; contentFormats?:String; labelIds?:String; locale?:String):Void +com.microsoft.graph.beta.groups.item.sites.item.informationprotection.sensitivitylabels.computeinheritancewithlabelidswithlocalewithcontentformats.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.groups.item.sites.item.informationprotection.sensitivitylabels.computeinheritancewithlabelidswithlocalewithcontentformats.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder::|public|get():SensitivityLabel +com.microsoft.graph.beta.groups.item.sites.item.informationprotection.sensitivitylabels.computeinheritancewithlabelidswithlocalewithcontentformats.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):SensitivityLabel +com.microsoft.graph.beta.groups.item.sites.item.informationprotection.sensitivitylabels.computeinheritancewithlabelidswithlocalewithcontentformats.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder::|public|toGetRequestInformation():RequestInformation +com.microsoft.graph.beta.groups.item.sites.item.informationprotection.sensitivitylabels.computeinheritancewithlabelidswithlocalewithcontentformats.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.beta.groups.item.sites.item.informationprotection.sensitivitylabels.computeinheritancewithlabelidswithlocalewithcontentformats.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder::|public|withUrl(rawUrl:String):ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder +com.microsoft.graph.beta.groups.item.sites.item.informationprotection.sensitivitylabels.computerightsandinheritance.ComputeRightsAndInheritancePostRequestBody::|protected|backingStore:BackingStore +com.microsoft.graph.beta.groups.item.sites.item.informationprotection.sensitivitylabels.computerightsandinheritance.ComputeRightsAndInheritancePostRequestBody::|public|constructor():void +com.microsoft.graph.beta.groups.item.sites.item.informationprotection.sensitivitylabels.computerightsandinheritance.ComputeRightsAndInheritancePostRequestBody::|public|getAdditionalData():Map +com.microsoft.graph.beta.groups.item.sites.item.informationprotection.sensitivitylabels.computerightsandinheritance.ComputeRightsAndInheritancePostRequestBody::|public|getBackingStore():BackingStore +com.microsoft.graph.beta.groups.item.sites.item.informationprotection.sensitivitylabels.computerightsandinheritance.ComputeRightsAndInheritancePostRequestBody::|public|getDelegatedUserEmail():String +com.microsoft.graph.beta.groups.item.sites.item.informationprotection.sensitivitylabels.computerightsandinheritance.ComputeRightsAndInheritancePostRequestBody::|public|getFieldDeserializers():Map> +com.microsoft.graph.beta.groups.item.sites.item.informationprotection.sensitivitylabels.computerightsandinheritance.ComputeRightsAndInheritancePostRequestBody::|public|getLocale():String +com.microsoft.graph.beta.groups.item.sites.item.informationprotection.sensitivitylabels.computerightsandinheritance.ComputeRightsAndInheritancePostRequestBody::|public|getProtectedContents():java.util.List +com.microsoft.graph.beta.groups.item.sites.item.informationprotection.sensitivitylabels.computerightsandinheritance.ComputeRightsAndInheritancePostRequestBody::|public|getSupportedContentFormats():java.util.List +com.microsoft.graph.beta.groups.item.sites.item.informationprotection.sensitivitylabels.computerightsandinheritance.ComputeRightsAndInheritancePostRequestBody::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.beta.groups.item.sites.item.informationprotection.sensitivitylabels.computerightsandinheritance.ComputeRightsAndInheritancePostRequestBody::|public|setAdditionalData(value?:Map):void +com.microsoft.graph.beta.groups.item.sites.item.informationprotection.sensitivitylabels.computerightsandinheritance.ComputeRightsAndInheritancePostRequestBody::|public|setBackingStore(value:BackingStore):void +com.microsoft.graph.beta.groups.item.sites.item.informationprotection.sensitivitylabels.computerightsandinheritance.ComputeRightsAndInheritancePostRequestBody::|public|setDelegatedUserEmail(value?:String):void +com.microsoft.graph.beta.groups.item.sites.item.informationprotection.sensitivitylabels.computerightsandinheritance.ComputeRightsAndInheritancePostRequestBody::|public|setLocale(value?:String):void +com.microsoft.graph.beta.groups.item.sites.item.informationprotection.sensitivitylabels.computerightsandinheritance.ComputeRightsAndInheritancePostRequestBody::|public|setProtectedContents(value?:java.util.List):void +com.microsoft.graph.beta.groups.item.sites.item.informationprotection.sensitivitylabels.computerightsandinheritance.ComputeRightsAndInheritancePostRequestBody::|public|setSupportedContentFormats(value?:java.util.List):void +com.microsoft.graph.beta.groups.item.sites.item.informationprotection.sensitivitylabels.computerightsandinheritance.ComputeRightsAndInheritancePostRequestBody::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):ComputeRightsAndInheritancePostRequestBody +com.microsoft.graph.beta.groups.item.sites.item.informationprotection.sensitivitylabels.computerightsandinheritance.ComputeRightsAndInheritancePostRequestBody~~>AdditionalDataHolder; BackedModel; Parsable +com.microsoft.graph.beta.groups.item.sites.item.informationprotection.sensitivitylabels.computerightsandinheritance.ComputeRightsAndInheritanceRequestBuilder-->BaseRequestBuilder +com.microsoft.graph.beta.groups.item.sites.item.informationprotection.sensitivitylabels.computerightsandinheritance.ComputeRightsAndInheritanceRequestBuilder.PostRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.beta.groups.item.sites.item.informationprotection.sensitivitylabels.computerightsandinheritance.ComputeRightsAndInheritanceRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.groups.item.sites.item.informationprotection.sensitivitylabels.computerightsandinheritance.ComputeRightsAndInheritanceRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.groups.item.sites.item.informationprotection.sensitivitylabels.computerightsandinheritance.ComputeRightsAndInheritanceRequestBuilder::|public|post(body:ComputeRightsAndInheritancePostRequestBody):ComputeRightsAndInheritanceResult +com.microsoft.graph.beta.groups.item.sites.item.informationprotection.sensitivitylabels.computerightsandinheritance.ComputeRightsAndInheritanceRequestBuilder::|public|post(body:ComputeRightsAndInheritancePostRequestBody; requestConfiguration?:java.util.function.Consumer):ComputeRightsAndInheritanceResult +com.microsoft.graph.beta.groups.item.sites.item.informationprotection.sensitivitylabels.computerightsandinheritance.ComputeRightsAndInheritanceRequestBuilder::|public|toPostRequestInformation(body:ComputeRightsAndInheritancePostRequestBody):RequestInformation +com.microsoft.graph.beta.groups.item.sites.item.informationprotection.sensitivitylabels.computerightsandinheritance.ComputeRightsAndInheritanceRequestBuilder::|public|toPostRequestInformation(body:ComputeRightsAndInheritancePostRequestBody; requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.beta.groups.item.sites.item.informationprotection.sensitivitylabels.computerightsandinheritance.ComputeRightsAndInheritanceRequestBuilder::|public|withUrl(rawUrl:String):ComputeRightsAndInheritanceRequestBuilder com.microsoft.graph.beta.groups.item.sites.item.informationprotection.sensitivitylabels.count.CountRequestBuilder-->BaseRequestBuilder com.microsoft.graph.beta.groups.item.sites.item.informationprotection.sensitivitylabels.count.CountRequestBuilder.GetQueryParameters::|public|filter:String com.microsoft.graph.beta.groups.item.sites.item.informationprotection.sensitivitylabels.count.CountRequestBuilder.GetQueryParameters::|public|search:String @@ -139106,6 +139350,20 @@ com.microsoft.graph.beta.groups.item.sites.item.informationprotection.sensitivit com.microsoft.graph.beta.groups.item.sites.item.informationprotection.sensitivitylabels.evaluate.EvaluateRequestBuilder::|public|toPostRequestInformation(body:EvaluatePostRequestBody):RequestInformation com.microsoft.graph.beta.groups.item.sites.item.informationprotection.sensitivitylabels.evaluate.EvaluateRequestBuilder::|public|toPostRequestInformation(body:EvaluatePostRequestBody; requestConfiguration?:java.util.function.Consumer):RequestInformation com.microsoft.graph.beta.groups.item.sites.item.informationprotection.sensitivitylabels.evaluate.EvaluateRequestBuilder::|public|withUrl(rawUrl:String):EvaluateRequestBuilder +com.microsoft.graph.beta.groups.item.sites.item.informationprotection.sensitivitylabels.item.rights.RightsRequestBuilder-->BaseRequestBuilder +com.microsoft.graph.beta.groups.item.sites.item.informationprotection.sensitivitylabels.item.rights.RightsRequestBuilder.GetQueryParameters::|public|expand:String[] +com.microsoft.graph.beta.groups.item.sites.item.informationprotection.sensitivitylabels.item.rights.RightsRequestBuilder.GetQueryParameters::|public|select:String[] +com.microsoft.graph.beta.groups.item.sites.item.informationprotection.sensitivitylabels.item.rights.RightsRequestBuilder.GetQueryParameters::|public|toQueryParameters():Map +com.microsoft.graph.beta.groups.item.sites.item.informationprotection.sensitivitylabels.item.rights.RightsRequestBuilder.GetQueryParameters~~>QueryParameters +com.microsoft.graph.beta.groups.item.sites.item.informationprotection.sensitivitylabels.item.rights.RightsRequestBuilder.GetRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.beta.groups.item.sites.item.informationprotection.sensitivitylabels.item.rights.RightsRequestBuilder.GetRequestConfiguration::|public|queryParameters:GetQueryParameters +com.microsoft.graph.beta.groups.item.sites.item.informationprotection.sensitivitylabels.item.rights.RightsRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.groups.item.sites.item.informationprotection.sensitivitylabels.item.rights.RightsRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.groups.item.sites.item.informationprotection.sensitivitylabels.item.rights.RightsRequestBuilder::|public|get():UsageRightsIncluded +com.microsoft.graph.beta.groups.item.sites.item.informationprotection.sensitivitylabels.item.rights.RightsRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):UsageRightsIncluded +com.microsoft.graph.beta.groups.item.sites.item.informationprotection.sensitivitylabels.item.rights.RightsRequestBuilder::|public|toGetRequestInformation():RequestInformation +com.microsoft.graph.beta.groups.item.sites.item.informationprotection.sensitivitylabels.item.rights.RightsRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.beta.groups.item.sites.item.informationprotection.sensitivitylabels.item.rights.RightsRequestBuilder::|public|withUrl(rawUrl:String):RightsRequestBuilder com.microsoft.graph.beta.groups.item.sites.item.informationprotection.sensitivitylabels.item.SensitivityLabelItemRequestBuilder-->BaseRequestBuilder com.microsoft.graph.beta.groups.item.sites.item.informationprotection.sensitivitylabels.item.SensitivityLabelItemRequestBuilder.DeleteRequestConfiguration-->BaseRequestConfiguration com.microsoft.graph.beta.groups.item.sites.item.informationprotection.sensitivitylabels.item.SensitivityLabelItemRequestBuilder.GetQueryParameters::|public|expand:String[] @@ -139123,6 +139381,7 @@ com.microsoft.graph.beta.groups.item.sites.item.informationprotection.sensitivit com.microsoft.graph.beta.groups.item.sites.item.informationprotection.sensitivitylabels.item.SensitivityLabelItemRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):SensitivityLabel com.microsoft.graph.beta.groups.item.sites.item.informationprotection.sensitivitylabels.item.SensitivityLabelItemRequestBuilder::|public|patch(body:SensitivityLabel):SensitivityLabel com.microsoft.graph.beta.groups.item.sites.item.informationprotection.sensitivitylabels.item.SensitivityLabelItemRequestBuilder::|public|patch(body:SensitivityLabel; requestConfiguration?:java.util.function.Consumer):SensitivityLabel +com.microsoft.graph.beta.groups.item.sites.item.informationprotection.sensitivitylabels.item.SensitivityLabelItemRequestBuilder::|public|rights:RightsRequestBuilder com.microsoft.graph.beta.groups.item.sites.item.informationprotection.sensitivitylabels.item.SensitivityLabelItemRequestBuilder::|public|sublabels:SublabelsRequestBuilder com.microsoft.graph.beta.groups.item.sites.item.informationprotection.sensitivitylabels.item.SensitivityLabelItemRequestBuilder::|public|toDeleteRequestInformation():RequestInformation com.microsoft.graph.beta.groups.item.sites.item.informationprotection.sensitivitylabels.item.SensitivityLabelItemRequestBuilder::|public|toDeleteRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation @@ -139131,6 +139390,42 @@ com.microsoft.graph.beta.groups.item.sites.item.informationprotection.sensitivit com.microsoft.graph.beta.groups.item.sites.item.informationprotection.sensitivitylabels.item.SensitivityLabelItemRequestBuilder::|public|toPatchRequestInformation(body:SensitivityLabel):RequestInformation com.microsoft.graph.beta.groups.item.sites.item.informationprotection.sensitivitylabels.item.SensitivityLabelItemRequestBuilder::|public|toPatchRequestInformation(body:SensitivityLabel; requestConfiguration?:java.util.function.Consumer):RequestInformation com.microsoft.graph.beta.groups.item.sites.item.informationprotection.sensitivitylabels.item.SensitivityLabelItemRequestBuilder::|public|withUrl(rawUrl:String):SensitivityLabelItemRequestBuilder +com.microsoft.graph.beta.groups.item.sites.item.informationprotection.sensitivitylabels.item.sublabels.computeinheritancewithlabelidswithlocalewithcontentformats.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder-->BaseRequestBuilder +com.microsoft.graph.beta.groups.item.sites.item.informationprotection.sensitivitylabels.item.sublabels.computeinheritancewithlabelidswithlocalewithcontentformats.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder.GetRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.beta.groups.item.sites.item.informationprotection.sensitivitylabels.item.sublabels.computeinheritancewithlabelidswithlocalewithcontentformats.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter; contentFormats?:String; labelIds?:String; locale?:String):Void +com.microsoft.graph.beta.groups.item.sites.item.informationprotection.sensitivitylabels.item.sublabels.computeinheritancewithlabelidswithlocalewithcontentformats.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.groups.item.sites.item.informationprotection.sensitivitylabels.item.sublabels.computeinheritancewithlabelidswithlocalewithcontentformats.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder::|public|get():SensitivityLabel +com.microsoft.graph.beta.groups.item.sites.item.informationprotection.sensitivitylabels.item.sublabels.computeinheritancewithlabelidswithlocalewithcontentformats.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):SensitivityLabel +com.microsoft.graph.beta.groups.item.sites.item.informationprotection.sensitivitylabels.item.sublabels.computeinheritancewithlabelidswithlocalewithcontentformats.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder::|public|toGetRequestInformation():RequestInformation +com.microsoft.graph.beta.groups.item.sites.item.informationprotection.sensitivitylabels.item.sublabels.computeinheritancewithlabelidswithlocalewithcontentformats.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.beta.groups.item.sites.item.informationprotection.sensitivitylabels.item.sublabels.computeinheritancewithlabelidswithlocalewithcontentformats.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder::|public|withUrl(rawUrl:String):ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder +com.microsoft.graph.beta.groups.item.sites.item.informationprotection.sensitivitylabels.item.sublabels.computerightsandinheritance.ComputeRightsAndInheritancePostRequestBody::|protected|backingStore:BackingStore +com.microsoft.graph.beta.groups.item.sites.item.informationprotection.sensitivitylabels.item.sublabels.computerightsandinheritance.ComputeRightsAndInheritancePostRequestBody::|public|constructor():void +com.microsoft.graph.beta.groups.item.sites.item.informationprotection.sensitivitylabels.item.sublabels.computerightsandinheritance.ComputeRightsAndInheritancePostRequestBody::|public|getAdditionalData():Map +com.microsoft.graph.beta.groups.item.sites.item.informationprotection.sensitivitylabels.item.sublabels.computerightsandinheritance.ComputeRightsAndInheritancePostRequestBody::|public|getBackingStore():BackingStore +com.microsoft.graph.beta.groups.item.sites.item.informationprotection.sensitivitylabels.item.sublabels.computerightsandinheritance.ComputeRightsAndInheritancePostRequestBody::|public|getDelegatedUserEmail():String +com.microsoft.graph.beta.groups.item.sites.item.informationprotection.sensitivitylabels.item.sublabels.computerightsandinheritance.ComputeRightsAndInheritancePostRequestBody::|public|getFieldDeserializers():Map> +com.microsoft.graph.beta.groups.item.sites.item.informationprotection.sensitivitylabels.item.sublabels.computerightsandinheritance.ComputeRightsAndInheritancePostRequestBody::|public|getLocale():String +com.microsoft.graph.beta.groups.item.sites.item.informationprotection.sensitivitylabels.item.sublabels.computerightsandinheritance.ComputeRightsAndInheritancePostRequestBody::|public|getProtectedContents():java.util.List +com.microsoft.graph.beta.groups.item.sites.item.informationprotection.sensitivitylabels.item.sublabels.computerightsandinheritance.ComputeRightsAndInheritancePostRequestBody::|public|getSupportedContentFormats():java.util.List +com.microsoft.graph.beta.groups.item.sites.item.informationprotection.sensitivitylabels.item.sublabels.computerightsandinheritance.ComputeRightsAndInheritancePostRequestBody::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.beta.groups.item.sites.item.informationprotection.sensitivitylabels.item.sublabels.computerightsandinheritance.ComputeRightsAndInheritancePostRequestBody::|public|setAdditionalData(value?:Map):void +com.microsoft.graph.beta.groups.item.sites.item.informationprotection.sensitivitylabels.item.sublabels.computerightsandinheritance.ComputeRightsAndInheritancePostRequestBody::|public|setBackingStore(value:BackingStore):void +com.microsoft.graph.beta.groups.item.sites.item.informationprotection.sensitivitylabels.item.sublabels.computerightsandinheritance.ComputeRightsAndInheritancePostRequestBody::|public|setDelegatedUserEmail(value?:String):void +com.microsoft.graph.beta.groups.item.sites.item.informationprotection.sensitivitylabels.item.sublabels.computerightsandinheritance.ComputeRightsAndInheritancePostRequestBody::|public|setLocale(value?:String):void +com.microsoft.graph.beta.groups.item.sites.item.informationprotection.sensitivitylabels.item.sublabels.computerightsandinheritance.ComputeRightsAndInheritancePostRequestBody::|public|setProtectedContents(value?:java.util.List):void +com.microsoft.graph.beta.groups.item.sites.item.informationprotection.sensitivitylabels.item.sublabels.computerightsandinheritance.ComputeRightsAndInheritancePostRequestBody::|public|setSupportedContentFormats(value?:java.util.List):void +com.microsoft.graph.beta.groups.item.sites.item.informationprotection.sensitivitylabels.item.sublabels.computerightsandinheritance.ComputeRightsAndInheritancePostRequestBody::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):ComputeRightsAndInheritancePostRequestBody +com.microsoft.graph.beta.groups.item.sites.item.informationprotection.sensitivitylabels.item.sublabels.computerightsandinheritance.ComputeRightsAndInheritancePostRequestBody~~>AdditionalDataHolder; BackedModel; Parsable +com.microsoft.graph.beta.groups.item.sites.item.informationprotection.sensitivitylabels.item.sublabels.computerightsandinheritance.ComputeRightsAndInheritanceRequestBuilder-->BaseRequestBuilder +com.microsoft.graph.beta.groups.item.sites.item.informationprotection.sensitivitylabels.item.sublabels.computerightsandinheritance.ComputeRightsAndInheritanceRequestBuilder.PostRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.beta.groups.item.sites.item.informationprotection.sensitivitylabels.item.sublabels.computerightsandinheritance.ComputeRightsAndInheritanceRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.groups.item.sites.item.informationprotection.sensitivitylabels.item.sublabels.computerightsandinheritance.ComputeRightsAndInheritanceRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.groups.item.sites.item.informationprotection.sensitivitylabels.item.sublabels.computerightsandinheritance.ComputeRightsAndInheritanceRequestBuilder::|public|post(body:ComputeRightsAndInheritancePostRequestBody):ComputeRightsAndInheritanceResult +com.microsoft.graph.beta.groups.item.sites.item.informationprotection.sensitivitylabels.item.sublabels.computerightsandinheritance.ComputeRightsAndInheritanceRequestBuilder::|public|post(body:ComputeRightsAndInheritancePostRequestBody; requestConfiguration?:java.util.function.Consumer):ComputeRightsAndInheritanceResult +com.microsoft.graph.beta.groups.item.sites.item.informationprotection.sensitivitylabels.item.sublabels.computerightsandinheritance.ComputeRightsAndInheritanceRequestBuilder::|public|toPostRequestInformation(body:ComputeRightsAndInheritancePostRequestBody):RequestInformation +com.microsoft.graph.beta.groups.item.sites.item.informationprotection.sensitivitylabels.item.sublabels.computerightsandinheritance.ComputeRightsAndInheritanceRequestBuilder::|public|toPostRequestInformation(body:ComputeRightsAndInheritancePostRequestBody; requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.beta.groups.item.sites.item.informationprotection.sensitivitylabels.item.sublabels.computerightsandinheritance.ComputeRightsAndInheritanceRequestBuilder::|public|withUrl(rawUrl:String):ComputeRightsAndInheritanceRequestBuilder com.microsoft.graph.beta.groups.item.sites.item.informationprotection.sensitivitylabels.item.sublabels.count.CountRequestBuilder-->BaseRequestBuilder com.microsoft.graph.beta.groups.item.sites.item.informationprotection.sensitivitylabels.item.sublabels.count.CountRequestBuilder.GetQueryParameters::|public|filter:String com.microsoft.graph.beta.groups.item.sites.item.informationprotection.sensitivitylabels.item.sublabels.count.CountRequestBuilder.GetQueryParameters::|public|search:String @@ -139168,6 +139463,20 @@ com.microsoft.graph.beta.groups.item.sites.item.informationprotection.sensitivit com.microsoft.graph.beta.groups.item.sites.item.informationprotection.sensitivitylabels.item.sublabels.evaluate.EvaluateRequestBuilder::|public|toPostRequestInformation(body:EvaluatePostRequestBody):RequestInformation com.microsoft.graph.beta.groups.item.sites.item.informationprotection.sensitivitylabels.item.sublabels.evaluate.EvaluateRequestBuilder::|public|toPostRequestInformation(body:EvaluatePostRequestBody; requestConfiguration?:java.util.function.Consumer):RequestInformation com.microsoft.graph.beta.groups.item.sites.item.informationprotection.sensitivitylabels.item.sublabels.evaluate.EvaluateRequestBuilder::|public|withUrl(rawUrl:String):EvaluateRequestBuilder +com.microsoft.graph.beta.groups.item.sites.item.informationprotection.sensitivitylabels.item.sublabels.item.rights.RightsRequestBuilder-->BaseRequestBuilder +com.microsoft.graph.beta.groups.item.sites.item.informationprotection.sensitivitylabels.item.sublabels.item.rights.RightsRequestBuilder.GetQueryParameters::|public|expand:String[] +com.microsoft.graph.beta.groups.item.sites.item.informationprotection.sensitivitylabels.item.sublabels.item.rights.RightsRequestBuilder.GetQueryParameters::|public|select:String[] +com.microsoft.graph.beta.groups.item.sites.item.informationprotection.sensitivitylabels.item.sublabels.item.rights.RightsRequestBuilder.GetQueryParameters::|public|toQueryParameters():Map +com.microsoft.graph.beta.groups.item.sites.item.informationprotection.sensitivitylabels.item.sublabels.item.rights.RightsRequestBuilder.GetQueryParameters~~>QueryParameters +com.microsoft.graph.beta.groups.item.sites.item.informationprotection.sensitivitylabels.item.sublabels.item.rights.RightsRequestBuilder.GetRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.beta.groups.item.sites.item.informationprotection.sensitivitylabels.item.sublabels.item.rights.RightsRequestBuilder.GetRequestConfiguration::|public|queryParameters:GetQueryParameters +com.microsoft.graph.beta.groups.item.sites.item.informationprotection.sensitivitylabels.item.sublabels.item.rights.RightsRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.groups.item.sites.item.informationprotection.sensitivitylabels.item.sublabels.item.rights.RightsRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.groups.item.sites.item.informationprotection.sensitivitylabels.item.sublabels.item.rights.RightsRequestBuilder::|public|get():UsageRightsIncluded +com.microsoft.graph.beta.groups.item.sites.item.informationprotection.sensitivitylabels.item.sublabels.item.rights.RightsRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):UsageRightsIncluded +com.microsoft.graph.beta.groups.item.sites.item.informationprotection.sensitivitylabels.item.sublabels.item.rights.RightsRequestBuilder::|public|toGetRequestInformation():RequestInformation +com.microsoft.graph.beta.groups.item.sites.item.informationprotection.sensitivitylabels.item.sublabels.item.rights.RightsRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.beta.groups.item.sites.item.informationprotection.sensitivitylabels.item.sublabels.item.rights.RightsRequestBuilder::|public|withUrl(rawUrl:String):RightsRequestBuilder com.microsoft.graph.beta.groups.item.sites.item.informationprotection.sensitivitylabels.item.sublabels.item.SensitivityLabelItemRequestBuilder-->BaseRequestBuilder com.microsoft.graph.beta.groups.item.sites.item.informationprotection.sensitivitylabels.item.sublabels.item.SensitivityLabelItemRequestBuilder.DeleteRequestConfiguration-->BaseRequestConfiguration com.microsoft.graph.beta.groups.item.sites.item.informationprotection.sensitivitylabels.item.sublabels.item.SensitivityLabelItemRequestBuilder.GetQueryParameters::|public|expand:String[] @@ -139185,6 +139494,7 @@ com.microsoft.graph.beta.groups.item.sites.item.informationprotection.sensitivit com.microsoft.graph.beta.groups.item.sites.item.informationprotection.sensitivitylabels.item.sublabels.item.SensitivityLabelItemRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):SensitivityLabel com.microsoft.graph.beta.groups.item.sites.item.informationprotection.sensitivitylabels.item.sublabels.item.SensitivityLabelItemRequestBuilder::|public|patch(body:SensitivityLabel):SensitivityLabel com.microsoft.graph.beta.groups.item.sites.item.informationprotection.sensitivitylabels.item.sublabels.item.SensitivityLabelItemRequestBuilder::|public|patch(body:SensitivityLabel; requestConfiguration?:java.util.function.Consumer):SensitivityLabel +com.microsoft.graph.beta.groups.item.sites.item.informationprotection.sensitivitylabels.item.sublabels.item.SensitivityLabelItemRequestBuilder::|public|rights:RightsRequestBuilder com.microsoft.graph.beta.groups.item.sites.item.informationprotection.sensitivitylabels.item.sublabels.item.SensitivityLabelItemRequestBuilder::|public|toDeleteRequestInformation():RequestInformation com.microsoft.graph.beta.groups.item.sites.item.informationprotection.sensitivitylabels.item.sublabels.item.SensitivityLabelItemRequestBuilder::|public|toDeleteRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation com.microsoft.graph.beta.groups.item.sites.item.informationprotection.sensitivitylabels.item.sublabels.item.SensitivityLabelItemRequestBuilder::|public|toGetRequestInformation():RequestInformation @@ -139207,6 +139517,8 @@ com.microsoft.graph.beta.groups.item.sites.item.informationprotection.sensitivit com.microsoft.graph.beta.groups.item.sites.item.informationprotection.sensitivitylabels.item.sublabels.SublabelsRequestBuilder.GetRequestConfiguration::|public|queryParameters:GetQueryParameters com.microsoft.graph.beta.groups.item.sites.item.informationprotection.sensitivitylabels.item.sublabels.SublabelsRequestBuilder.PostRequestConfiguration-->BaseRequestConfiguration com.microsoft.graph.beta.groups.item.sites.item.informationprotection.sensitivitylabels.item.sublabels.SublabelsRequestBuilder::|public|bySensitivityLabelId1(sensitivityLabelId1:String):SensitivityLabelItemRequestBuilder +com.microsoft.graph.beta.groups.item.sites.item.informationprotection.sensitivitylabels.item.sublabels.SublabelsRequestBuilder::|public|computeInheritanceWithLabelIdsWithLocaleWithContentFormats(contentFormats:String; labelIds:String; locale:String):ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder +com.microsoft.graph.beta.groups.item.sites.item.informationprotection.sensitivitylabels.item.sublabels.SublabelsRequestBuilder::|public|computeRightsAndInheritance:ComputeRightsAndInheritanceRequestBuilder com.microsoft.graph.beta.groups.item.sites.item.informationprotection.sensitivitylabels.item.sublabels.SublabelsRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void com.microsoft.graph.beta.groups.item.sites.item.informationprotection.sensitivitylabels.item.sublabels.SublabelsRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void com.microsoft.graph.beta.groups.item.sites.item.informationprotection.sensitivitylabels.item.sublabels.SublabelsRequestBuilder::|public|count:CountRequestBuilder @@ -139235,6 +139547,8 @@ com.microsoft.graph.beta.groups.item.sites.item.informationprotection.sensitivit com.microsoft.graph.beta.groups.item.sites.item.informationprotection.sensitivitylabels.SensitivityLabelsRequestBuilder.GetRequestConfiguration::|public|queryParameters:GetQueryParameters com.microsoft.graph.beta.groups.item.sites.item.informationprotection.sensitivitylabels.SensitivityLabelsRequestBuilder.PostRequestConfiguration-->BaseRequestConfiguration com.microsoft.graph.beta.groups.item.sites.item.informationprotection.sensitivitylabels.SensitivityLabelsRequestBuilder::|public|bySensitivityLabelId(sensitivityLabelId:String):SensitivityLabelItemRequestBuilder +com.microsoft.graph.beta.groups.item.sites.item.informationprotection.sensitivitylabels.SensitivityLabelsRequestBuilder::|public|computeInheritanceWithLabelIdsWithLocaleWithContentFormats(contentFormats:String; labelIds:String; locale:String):ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder +com.microsoft.graph.beta.groups.item.sites.item.informationprotection.sensitivitylabels.SensitivityLabelsRequestBuilder::|public|computeRightsAndInheritance:ComputeRightsAndInheritanceRequestBuilder com.microsoft.graph.beta.groups.item.sites.item.informationprotection.sensitivitylabels.SensitivityLabelsRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void com.microsoft.graph.beta.groups.item.sites.item.informationprotection.sensitivitylabels.SensitivityLabelsRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void com.microsoft.graph.beta.groups.item.sites.item.informationprotection.sensitivitylabels.SensitivityLabelsRequestBuilder::|public|count:CountRequestBuilder @@ -145335,6 +145649,27 @@ com.microsoft.graph.beta.groups.item.sites.item.recyclebin.items.count.CountRequ com.microsoft.graph.beta.groups.item.sites.item.recyclebin.items.count.CountRequestBuilder::|public|toGetRequestInformation():RequestInformation com.microsoft.graph.beta.groups.item.sites.item.recyclebin.items.count.CountRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation com.microsoft.graph.beta.groups.item.sites.item.recyclebin.items.count.CountRequestBuilder::|public|withUrl(rawUrl:String):CountRequestBuilder +com.microsoft.graph.beta.groups.item.sites.item.recyclebin.items.delete.DeletePostRequestBody::|protected|backingStore:BackingStore +com.microsoft.graph.beta.groups.item.sites.item.recyclebin.items.delete.DeletePostRequestBody::|public|constructor():void +com.microsoft.graph.beta.groups.item.sites.item.recyclebin.items.delete.DeletePostRequestBody::|public|getAdditionalData():Map +com.microsoft.graph.beta.groups.item.sites.item.recyclebin.items.delete.DeletePostRequestBody::|public|getBackingStore():BackingStore +com.microsoft.graph.beta.groups.item.sites.item.recyclebin.items.delete.DeletePostRequestBody::|public|getFieldDeserializers():Map> +com.microsoft.graph.beta.groups.item.sites.item.recyclebin.items.delete.DeletePostRequestBody::|public|getIds():java.util.List +com.microsoft.graph.beta.groups.item.sites.item.recyclebin.items.delete.DeletePostRequestBody::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.beta.groups.item.sites.item.recyclebin.items.delete.DeletePostRequestBody::|public|setAdditionalData(value?:Map):void +com.microsoft.graph.beta.groups.item.sites.item.recyclebin.items.delete.DeletePostRequestBody::|public|setBackingStore(value:BackingStore):void +com.microsoft.graph.beta.groups.item.sites.item.recyclebin.items.delete.DeletePostRequestBody::|public|setIds(value?:java.util.List):void +com.microsoft.graph.beta.groups.item.sites.item.recyclebin.items.delete.DeletePostRequestBody::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):DeletePostRequestBody +com.microsoft.graph.beta.groups.item.sites.item.recyclebin.items.delete.DeletePostRequestBody~~>AdditionalDataHolder; BackedModel; Parsable +com.microsoft.graph.beta.groups.item.sites.item.recyclebin.items.delete.DeleteRequestBuilder-->BaseRequestBuilder +com.microsoft.graph.beta.groups.item.sites.item.recyclebin.items.delete.DeleteRequestBuilder.PostRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.beta.groups.item.sites.item.recyclebin.items.delete.DeleteRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.groups.item.sites.item.recyclebin.items.delete.DeleteRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.groups.item.sites.item.recyclebin.items.delete.DeleteRequestBuilder::|public|post(body:DeletePostRequestBody):Void +com.microsoft.graph.beta.groups.item.sites.item.recyclebin.items.delete.DeleteRequestBuilder::|public|post(body:DeletePostRequestBody; requestConfiguration?:java.util.function.Consumer):Void +com.microsoft.graph.beta.groups.item.sites.item.recyclebin.items.delete.DeleteRequestBuilder::|public|toPostRequestInformation(body:DeletePostRequestBody):RequestInformation +com.microsoft.graph.beta.groups.item.sites.item.recyclebin.items.delete.DeleteRequestBuilder::|public|toPostRequestInformation(body:DeletePostRequestBody; requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.beta.groups.item.sites.item.recyclebin.items.delete.DeleteRequestBuilder::|public|withUrl(rawUrl:String):DeleteRequestBuilder com.microsoft.graph.beta.groups.item.sites.item.recyclebin.items.item.createdbyuser.CreatedByUserRequestBuilder-->BaseRequestBuilder com.microsoft.graph.beta.groups.item.sites.item.recyclebin.items.item.createdbyuser.CreatedByUserRequestBuilder.GetQueryParameters::|public|expand:String[] com.microsoft.graph.beta.groups.item.sites.item.recyclebin.items.item.createdbyuser.CreatedByUserRequestBuilder.GetQueryParameters::|public|select:String[] @@ -145519,15 +145854,45 @@ com.microsoft.graph.beta.groups.item.sites.item.recyclebin.items.ItemsRequestBui com.microsoft.graph.beta.groups.item.sites.item.recyclebin.items.ItemsRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void com.microsoft.graph.beta.groups.item.sites.item.recyclebin.items.ItemsRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void com.microsoft.graph.beta.groups.item.sites.item.recyclebin.items.ItemsRequestBuilder::|public|count:CountRequestBuilder +com.microsoft.graph.beta.groups.item.sites.item.recyclebin.items.ItemsRequestBuilder::|public|deletePath:DeleteRequestBuilder com.microsoft.graph.beta.groups.item.sites.item.recyclebin.items.ItemsRequestBuilder::|public|get():RecycleBinItemCollectionResponse com.microsoft.graph.beta.groups.item.sites.item.recyclebin.items.ItemsRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):RecycleBinItemCollectionResponse com.microsoft.graph.beta.groups.item.sites.item.recyclebin.items.ItemsRequestBuilder::|public|post(body:RecycleBinItem):RecycleBinItem com.microsoft.graph.beta.groups.item.sites.item.recyclebin.items.ItemsRequestBuilder::|public|post(body:RecycleBinItem; requestConfiguration?:java.util.function.Consumer):RecycleBinItem +com.microsoft.graph.beta.groups.item.sites.item.recyclebin.items.ItemsRequestBuilder::|public|restore:RestoreRequestBuilder com.microsoft.graph.beta.groups.item.sites.item.recyclebin.items.ItemsRequestBuilder::|public|toGetRequestInformation():RequestInformation com.microsoft.graph.beta.groups.item.sites.item.recyclebin.items.ItemsRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation com.microsoft.graph.beta.groups.item.sites.item.recyclebin.items.ItemsRequestBuilder::|public|toPostRequestInformation(body:RecycleBinItem):RequestInformation com.microsoft.graph.beta.groups.item.sites.item.recyclebin.items.ItemsRequestBuilder::|public|toPostRequestInformation(body:RecycleBinItem; requestConfiguration?:java.util.function.Consumer):RequestInformation com.microsoft.graph.beta.groups.item.sites.item.recyclebin.items.ItemsRequestBuilder::|public|withUrl(rawUrl:String):ItemsRequestBuilder +com.microsoft.graph.beta.groups.item.sites.item.recyclebin.items.restore.RestorePostRequestBody::|protected|backingStore:BackingStore +com.microsoft.graph.beta.groups.item.sites.item.recyclebin.items.restore.RestorePostRequestBody::|public|constructor():void +com.microsoft.graph.beta.groups.item.sites.item.recyclebin.items.restore.RestorePostRequestBody::|public|getAdditionalData():Map +com.microsoft.graph.beta.groups.item.sites.item.recyclebin.items.restore.RestorePostRequestBody::|public|getBackingStore():BackingStore +com.microsoft.graph.beta.groups.item.sites.item.recyclebin.items.restore.RestorePostRequestBody::|public|getFieldDeserializers():Map> +com.microsoft.graph.beta.groups.item.sites.item.recyclebin.items.restore.RestorePostRequestBody::|public|getIds():java.util.List +com.microsoft.graph.beta.groups.item.sites.item.recyclebin.items.restore.RestorePostRequestBody::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.beta.groups.item.sites.item.recyclebin.items.restore.RestorePostRequestBody::|public|setAdditionalData(value?:Map):void +com.microsoft.graph.beta.groups.item.sites.item.recyclebin.items.restore.RestorePostRequestBody::|public|setBackingStore(value:BackingStore):void +com.microsoft.graph.beta.groups.item.sites.item.recyclebin.items.restore.RestorePostRequestBody::|public|setIds(value?:java.util.List):void +com.microsoft.graph.beta.groups.item.sites.item.recyclebin.items.restore.RestorePostRequestBody::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):RestorePostRequestBody +com.microsoft.graph.beta.groups.item.sites.item.recyclebin.items.restore.RestorePostRequestBody~~>AdditionalDataHolder; BackedModel; Parsable +com.microsoft.graph.beta.groups.item.sites.item.recyclebin.items.restore.RestorePostResponse-->BaseCollectionPaginationCountResponse +com.microsoft.graph.beta.groups.item.sites.item.recyclebin.items.restore.RestorePostResponse::|public|constructor():void +com.microsoft.graph.beta.groups.item.sites.item.recyclebin.items.restore.RestorePostResponse::|public|getFieldDeserializers():Map> +com.microsoft.graph.beta.groups.item.sites.item.recyclebin.items.restore.RestorePostResponse::|public|getValue():java.util.List +com.microsoft.graph.beta.groups.item.sites.item.recyclebin.items.restore.RestorePostResponse::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.beta.groups.item.sites.item.recyclebin.items.restore.RestorePostResponse::|public|setValue(value?:java.util.List):void +com.microsoft.graph.beta.groups.item.sites.item.recyclebin.items.restore.RestorePostResponse::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):RestorePostResponse +com.microsoft.graph.beta.groups.item.sites.item.recyclebin.items.restore.RestoreRequestBuilder-->BaseRequestBuilder +com.microsoft.graph.beta.groups.item.sites.item.recyclebin.items.restore.RestoreRequestBuilder.PostRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.beta.groups.item.sites.item.recyclebin.items.restore.RestoreRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.groups.item.sites.item.recyclebin.items.restore.RestoreRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.groups.item.sites.item.recyclebin.items.restore.RestoreRequestBuilder::|public|post(body:RestorePostRequestBody):RestorePostResponse +com.microsoft.graph.beta.groups.item.sites.item.recyclebin.items.restore.RestoreRequestBuilder::|public|post(body:RestorePostRequestBody; requestConfiguration?:java.util.function.Consumer):RestorePostResponse +com.microsoft.graph.beta.groups.item.sites.item.recyclebin.items.restore.RestoreRequestBuilder::|public|toPostRequestInformation(body:RestorePostRequestBody):RequestInformation +com.microsoft.graph.beta.groups.item.sites.item.recyclebin.items.restore.RestoreRequestBuilder::|public|toPostRequestInformation(body:RestorePostRequestBody; requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.beta.groups.item.sites.item.recyclebin.items.restore.RestoreRequestBuilder::|public|withUrl(rawUrl:String):RestoreRequestBuilder com.microsoft.graph.beta.groups.item.sites.item.recyclebin.lastmodifiedbyuser.LastModifiedByUserRequestBuilder-->BaseRequestBuilder com.microsoft.graph.beta.groups.item.sites.item.recyclebin.lastmodifiedbyuser.LastModifiedByUserRequestBuilder.GetQueryParameters::|public|expand:String[] com.microsoft.graph.beta.groups.item.sites.item.recyclebin.lastmodifiedbyuser.LastModifiedByUserRequestBuilder.GetQueryParameters::|public|select:String[] @@ -180382,6 +180747,42 @@ com.microsoft.graph.beta.informationprotection.policy.PolicyRequestBuilder::|pub com.microsoft.graph.beta.informationprotection.policy.PolicyRequestBuilder::|public|toPatchRequestInformation(body:InformationProtectionPolicy):RequestInformation com.microsoft.graph.beta.informationprotection.policy.PolicyRequestBuilder::|public|toPatchRequestInformation(body:InformationProtectionPolicy; requestConfiguration?:java.util.function.Consumer):RequestInformation com.microsoft.graph.beta.informationprotection.policy.PolicyRequestBuilder::|public|withUrl(rawUrl:String):PolicyRequestBuilder +com.microsoft.graph.beta.informationprotection.sensitivitylabels.computeinheritancewithlabelidswithlocalewithcontentformats.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder-->BaseRequestBuilder +com.microsoft.graph.beta.informationprotection.sensitivitylabels.computeinheritancewithlabelidswithlocalewithcontentformats.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder.GetRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.beta.informationprotection.sensitivitylabels.computeinheritancewithlabelidswithlocalewithcontentformats.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter; contentFormats?:String; labelIds?:String; locale?:String):Void +com.microsoft.graph.beta.informationprotection.sensitivitylabels.computeinheritancewithlabelidswithlocalewithcontentformats.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.informationprotection.sensitivitylabels.computeinheritancewithlabelidswithlocalewithcontentformats.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder::|public|get():SensitivityLabel +com.microsoft.graph.beta.informationprotection.sensitivitylabels.computeinheritancewithlabelidswithlocalewithcontentformats.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):SensitivityLabel +com.microsoft.graph.beta.informationprotection.sensitivitylabels.computeinheritancewithlabelidswithlocalewithcontentformats.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder::|public|toGetRequestInformation():RequestInformation +com.microsoft.graph.beta.informationprotection.sensitivitylabels.computeinheritancewithlabelidswithlocalewithcontentformats.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.beta.informationprotection.sensitivitylabels.computeinheritancewithlabelidswithlocalewithcontentformats.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder::|public|withUrl(rawUrl:String):ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder +com.microsoft.graph.beta.informationprotection.sensitivitylabels.computerightsandinheritance.ComputeRightsAndInheritancePostRequestBody::|protected|backingStore:BackingStore +com.microsoft.graph.beta.informationprotection.sensitivitylabels.computerightsandinheritance.ComputeRightsAndInheritancePostRequestBody::|public|constructor():void +com.microsoft.graph.beta.informationprotection.sensitivitylabels.computerightsandinheritance.ComputeRightsAndInheritancePostRequestBody::|public|getAdditionalData():Map +com.microsoft.graph.beta.informationprotection.sensitivitylabels.computerightsandinheritance.ComputeRightsAndInheritancePostRequestBody::|public|getBackingStore():BackingStore +com.microsoft.graph.beta.informationprotection.sensitivitylabels.computerightsandinheritance.ComputeRightsAndInheritancePostRequestBody::|public|getDelegatedUserEmail():String +com.microsoft.graph.beta.informationprotection.sensitivitylabels.computerightsandinheritance.ComputeRightsAndInheritancePostRequestBody::|public|getFieldDeserializers():Map> +com.microsoft.graph.beta.informationprotection.sensitivitylabels.computerightsandinheritance.ComputeRightsAndInheritancePostRequestBody::|public|getLocale():String +com.microsoft.graph.beta.informationprotection.sensitivitylabels.computerightsandinheritance.ComputeRightsAndInheritancePostRequestBody::|public|getProtectedContents():java.util.List +com.microsoft.graph.beta.informationprotection.sensitivitylabels.computerightsandinheritance.ComputeRightsAndInheritancePostRequestBody::|public|getSupportedContentFormats():java.util.List +com.microsoft.graph.beta.informationprotection.sensitivitylabels.computerightsandinheritance.ComputeRightsAndInheritancePostRequestBody::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.beta.informationprotection.sensitivitylabels.computerightsandinheritance.ComputeRightsAndInheritancePostRequestBody::|public|setAdditionalData(value?:Map):void +com.microsoft.graph.beta.informationprotection.sensitivitylabels.computerightsandinheritance.ComputeRightsAndInheritancePostRequestBody::|public|setBackingStore(value:BackingStore):void +com.microsoft.graph.beta.informationprotection.sensitivitylabels.computerightsandinheritance.ComputeRightsAndInheritancePostRequestBody::|public|setDelegatedUserEmail(value?:String):void +com.microsoft.graph.beta.informationprotection.sensitivitylabels.computerightsandinheritance.ComputeRightsAndInheritancePostRequestBody::|public|setLocale(value?:String):void +com.microsoft.graph.beta.informationprotection.sensitivitylabels.computerightsandinheritance.ComputeRightsAndInheritancePostRequestBody::|public|setProtectedContents(value?:java.util.List):void +com.microsoft.graph.beta.informationprotection.sensitivitylabels.computerightsandinheritance.ComputeRightsAndInheritancePostRequestBody::|public|setSupportedContentFormats(value?:java.util.List):void +com.microsoft.graph.beta.informationprotection.sensitivitylabels.computerightsandinheritance.ComputeRightsAndInheritancePostRequestBody::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):ComputeRightsAndInheritancePostRequestBody +com.microsoft.graph.beta.informationprotection.sensitivitylabels.computerightsandinheritance.ComputeRightsAndInheritancePostRequestBody~~>AdditionalDataHolder; BackedModel; Parsable +com.microsoft.graph.beta.informationprotection.sensitivitylabels.computerightsandinheritance.ComputeRightsAndInheritanceRequestBuilder-->BaseRequestBuilder +com.microsoft.graph.beta.informationprotection.sensitivitylabels.computerightsandinheritance.ComputeRightsAndInheritanceRequestBuilder.PostRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.beta.informationprotection.sensitivitylabels.computerightsandinheritance.ComputeRightsAndInheritanceRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.informationprotection.sensitivitylabels.computerightsandinheritance.ComputeRightsAndInheritanceRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.informationprotection.sensitivitylabels.computerightsandinheritance.ComputeRightsAndInheritanceRequestBuilder::|public|post(body:ComputeRightsAndInheritancePostRequestBody):ComputeRightsAndInheritanceResult +com.microsoft.graph.beta.informationprotection.sensitivitylabels.computerightsandinheritance.ComputeRightsAndInheritanceRequestBuilder::|public|post(body:ComputeRightsAndInheritancePostRequestBody; requestConfiguration?:java.util.function.Consumer):ComputeRightsAndInheritanceResult +com.microsoft.graph.beta.informationprotection.sensitivitylabels.computerightsandinheritance.ComputeRightsAndInheritanceRequestBuilder::|public|toPostRequestInformation(body:ComputeRightsAndInheritancePostRequestBody):RequestInformation +com.microsoft.graph.beta.informationprotection.sensitivitylabels.computerightsandinheritance.ComputeRightsAndInheritanceRequestBuilder::|public|toPostRequestInformation(body:ComputeRightsAndInheritancePostRequestBody; requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.beta.informationprotection.sensitivitylabels.computerightsandinheritance.ComputeRightsAndInheritanceRequestBuilder::|public|withUrl(rawUrl:String):ComputeRightsAndInheritanceRequestBuilder com.microsoft.graph.beta.informationprotection.sensitivitylabels.count.CountRequestBuilder-->BaseRequestBuilder com.microsoft.graph.beta.informationprotection.sensitivitylabels.count.CountRequestBuilder.GetQueryParameters::|public|filter:String com.microsoft.graph.beta.informationprotection.sensitivitylabels.count.CountRequestBuilder.GetQueryParameters::|public|search:String @@ -180419,6 +180820,20 @@ com.microsoft.graph.beta.informationprotection.sensitivitylabels.evaluate.Evalua com.microsoft.graph.beta.informationprotection.sensitivitylabels.evaluate.EvaluateRequestBuilder::|public|toPostRequestInformation(body:EvaluatePostRequestBody):RequestInformation com.microsoft.graph.beta.informationprotection.sensitivitylabels.evaluate.EvaluateRequestBuilder::|public|toPostRequestInformation(body:EvaluatePostRequestBody; requestConfiguration?:java.util.function.Consumer):RequestInformation com.microsoft.graph.beta.informationprotection.sensitivitylabels.evaluate.EvaluateRequestBuilder::|public|withUrl(rawUrl:String):EvaluateRequestBuilder +com.microsoft.graph.beta.informationprotection.sensitivitylabels.item.rights.RightsRequestBuilder-->BaseRequestBuilder +com.microsoft.graph.beta.informationprotection.sensitivitylabels.item.rights.RightsRequestBuilder.GetQueryParameters::|public|expand:String[] +com.microsoft.graph.beta.informationprotection.sensitivitylabels.item.rights.RightsRequestBuilder.GetQueryParameters::|public|select:String[] +com.microsoft.graph.beta.informationprotection.sensitivitylabels.item.rights.RightsRequestBuilder.GetQueryParameters::|public|toQueryParameters():Map +com.microsoft.graph.beta.informationprotection.sensitivitylabels.item.rights.RightsRequestBuilder.GetQueryParameters~~>QueryParameters +com.microsoft.graph.beta.informationprotection.sensitivitylabels.item.rights.RightsRequestBuilder.GetRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.beta.informationprotection.sensitivitylabels.item.rights.RightsRequestBuilder.GetRequestConfiguration::|public|queryParameters:GetQueryParameters +com.microsoft.graph.beta.informationprotection.sensitivitylabels.item.rights.RightsRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.informationprotection.sensitivitylabels.item.rights.RightsRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.informationprotection.sensitivitylabels.item.rights.RightsRequestBuilder::|public|get():UsageRightsIncluded +com.microsoft.graph.beta.informationprotection.sensitivitylabels.item.rights.RightsRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):UsageRightsIncluded +com.microsoft.graph.beta.informationprotection.sensitivitylabels.item.rights.RightsRequestBuilder::|public|toGetRequestInformation():RequestInformation +com.microsoft.graph.beta.informationprotection.sensitivitylabels.item.rights.RightsRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.beta.informationprotection.sensitivitylabels.item.rights.RightsRequestBuilder::|public|withUrl(rawUrl:String):RightsRequestBuilder com.microsoft.graph.beta.informationprotection.sensitivitylabels.item.SensitivityLabelItemRequestBuilder-->BaseRequestBuilder com.microsoft.graph.beta.informationprotection.sensitivitylabels.item.SensitivityLabelItemRequestBuilder.DeleteRequestConfiguration-->BaseRequestConfiguration com.microsoft.graph.beta.informationprotection.sensitivitylabels.item.SensitivityLabelItemRequestBuilder.GetQueryParameters::|public|expand:String[] @@ -180436,6 +180851,7 @@ com.microsoft.graph.beta.informationprotection.sensitivitylabels.item.Sensitivit com.microsoft.graph.beta.informationprotection.sensitivitylabels.item.SensitivityLabelItemRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):SensitivityLabel com.microsoft.graph.beta.informationprotection.sensitivitylabels.item.SensitivityLabelItemRequestBuilder::|public|patch(body:SensitivityLabel):SensitivityLabel com.microsoft.graph.beta.informationprotection.sensitivitylabels.item.SensitivityLabelItemRequestBuilder::|public|patch(body:SensitivityLabel; requestConfiguration?:java.util.function.Consumer):SensitivityLabel +com.microsoft.graph.beta.informationprotection.sensitivitylabels.item.SensitivityLabelItemRequestBuilder::|public|rights:RightsRequestBuilder com.microsoft.graph.beta.informationprotection.sensitivitylabels.item.SensitivityLabelItemRequestBuilder::|public|sublabels:SublabelsRequestBuilder com.microsoft.graph.beta.informationprotection.sensitivitylabels.item.SensitivityLabelItemRequestBuilder::|public|toDeleteRequestInformation():RequestInformation com.microsoft.graph.beta.informationprotection.sensitivitylabels.item.SensitivityLabelItemRequestBuilder::|public|toDeleteRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation @@ -180444,6 +180860,42 @@ com.microsoft.graph.beta.informationprotection.sensitivitylabels.item.Sensitivit com.microsoft.graph.beta.informationprotection.sensitivitylabels.item.SensitivityLabelItemRequestBuilder::|public|toPatchRequestInformation(body:SensitivityLabel):RequestInformation com.microsoft.graph.beta.informationprotection.sensitivitylabels.item.SensitivityLabelItemRequestBuilder::|public|toPatchRequestInformation(body:SensitivityLabel; requestConfiguration?:java.util.function.Consumer):RequestInformation com.microsoft.graph.beta.informationprotection.sensitivitylabels.item.SensitivityLabelItemRequestBuilder::|public|withUrl(rawUrl:String):SensitivityLabelItemRequestBuilder +com.microsoft.graph.beta.informationprotection.sensitivitylabels.item.sublabels.computeinheritancewithlabelidswithlocalewithcontentformats.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder-->BaseRequestBuilder +com.microsoft.graph.beta.informationprotection.sensitivitylabels.item.sublabels.computeinheritancewithlabelidswithlocalewithcontentformats.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder.GetRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.beta.informationprotection.sensitivitylabels.item.sublabels.computeinheritancewithlabelidswithlocalewithcontentformats.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter; contentFormats?:String; labelIds?:String; locale?:String):Void +com.microsoft.graph.beta.informationprotection.sensitivitylabels.item.sublabels.computeinheritancewithlabelidswithlocalewithcontentformats.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.informationprotection.sensitivitylabels.item.sublabels.computeinheritancewithlabelidswithlocalewithcontentformats.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder::|public|get():SensitivityLabel +com.microsoft.graph.beta.informationprotection.sensitivitylabels.item.sublabels.computeinheritancewithlabelidswithlocalewithcontentformats.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):SensitivityLabel +com.microsoft.graph.beta.informationprotection.sensitivitylabels.item.sublabels.computeinheritancewithlabelidswithlocalewithcontentformats.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder::|public|toGetRequestInformation():RequestInformation +com.microsoft.graph.beta.informationprotection.sensitivitylabels.item.sublabels.computeinheritancewithlabelidswithlocalewithcontentformats.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.beta.informationprotection.sensitivitylabels.item.sublabels.computeinheritancewithlabelidswithlocalewithcontentformats.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder::|public|withUrl(rawUrl:String):ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder +com.microsoft.graph.beta.informationprotection.sensitivitylabels.item.sublabels.computerightsandinheritance.ComputeRightsAndInheritancePostRequestBody::|protected|backingStore:BackingStore +com.microsoft.graph.beta.informationprotection.sensitivitylabels.item.sublabels.computerightsandinheritance.ComputeRightsAndInheritancePostRequestBody::|public|constructor():void +com.microsoft.graph.beta.informationprotection.sensitivitylabels.item.sublabels.computerightsandinheritance.ComputeRightsAndInheritancePostRequestBody::|public|getAdditionalData():Map +com.microsoft.graph.beta.informationprotection.sensitivitylabels.item.sublabels.computerightsandinheritance.ComputeRightsAndInheritancePostRequestBody::|public|getBackingStore():BackingStore +com.microsoft.graph.beta.informationprotection.sensitivitylabels.item.sublabels.computerightsandinheritance.ComputeRightsAndInheritancePostRequestBody::|public|getDelegatedUserEmail():String +com.microsoft.graph.beta.informationprotection.sensitivitylabels.item.sublabels.computerightsandinheritance.ComputeRightsAndInheritancePostRequestBody::|public|getFieldDeserializers():Map> +com.microsoft.graph.beta.informationprotection.sensitivitylabels.item.sublabels.computerightsandinheritance.ComputeRightsAndInheritancePostRequestBody::|public|getLocale():String +com.microsoft.graph.beta.informationprotection.sensitivitylabels.item.sublabels.computerightsandinheritance.ComputeRightsAndInheritancePostRequestBody::|public|getProtectedContents():java.util.List +com.microsoft.graph.beta.informationprotection.sensitivitylabels.item.sublabels.computerightsandinheritance.ComputeRightsAndInheritancePostRequestBody::|public|getSupportedContentFormats():java.util.List +com.microsoft.graph.beta.informationprotection.sensitivitylabels.item.sublabels.computerightsandinheritance.ComputeRightsAndInheritancePostRequestBody::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.beta.informationprotection.sensitivitylabels.item.sublabels.computerightsandinheritance.ComputeRightsAndInheritancePostRequestBody::|public|setAdditionalData(value?:Map):void +com.microsoft.graph.beta.informationprotection.sensitivitylabels.item.sublabels.computerightsandinheritance.ComputeRightsAndInheritancePostRequestBody::|public|setBackingStore(value:BackingStore):void +com.microsoft.graph.beta.informationprotection.sensitivitylabels.item.sublabels.computerightsandinheritance.ComputeRightsAndInheritancePostRequestBody::|public|setDelegatedUserEmail(value?:String):void +com.microsoft.graph.beta.informationprotection.sensitivitylabels.item.sublabels.computerightsandinheritance.ComputeRightsAndInheritancePostRequestBody::|public|setLocale(value?:String):void +com.microsoft.graph.beta.informationprotection.sensitivitylabels.item.sublabels.computerightsandinheritance.ComputeRightsAndInheritancePostRequestBody::|public|setProtectedContents(value?:java.util.List):void +com.microsoft.graph.beta.informationprotection.sensitivitylabels.item.sublabels.computerightsandinheritance.ComputeRightsAndInheritancePostRequestBody::|public|setSupportedContentFormats(value?:java.util.List):void +com.microsoft.graph.beta.informationprotection.sensitivitylabels.item.sublabels.computerightsandinheritance.ComputeRightsAndInheritancePostRequestBody::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):ComputeRightsAndInheritancePostRequestBody +com.microsoft.graph.beta.informationprotection.sensitivitylabels.item.sublabels.computerightsandinheritance.ComputeRightsAndInheritancePostRequestBody~~>AdditionalDataHolder; BackedModel; Parsable +com.microsoft.graph.beta.informationprotection.sensitivitylabels.item.sublabels.computerightsandinheritance.ComputeRightsAndInheritanceRequestBuilder-->BaseRequestBuilder +com.microsoft.graph.beta.informationprotection.sensitivitylabels.item.sublabels.computerightsandinheritance.ComputeRightsAndInheritanceRequestBuilder.PostRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.beta.informationprotection.sensitivitylabels.item.sublabels.computerightsandinheritance.ComputeRightsAndInheritanceRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.informationprotection.sensitivitylabels.item.sublabels.computerightsandinheritance.ComputeRightsAndInheritanceRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.informationprotection.sensitivitylabels.item.sublabels.computerightsandinheritance.ComputeRightsAndInheritanceRequestBuilder::|public|post(body:ComputeRightsAndInheritancePostRequestBody):ComputeRightsAndInheritanceResult +com.microsoft.graph.beta.informationprotection.sensitivitylabels.item.sublabels.computerightsandinheritance.ComputeRightsAndInheritanceRequestBuilder::|public|post(body:ComputeRightsAndInheritancePostRequestBody; requestConfiguration?:java.util.function.Consumer):ComputeRightsAndInheritanceResult +com.microsoft.graph.beta.informationprotection.sensitivitylabels.item.sublabels.computerightsandinheritance.ComputeRightsAndInheritanceRequestBuilder::|public|toPostRequestInformation(body:ComputeRightsAndInheritancePostRequestBody):RequestInformation +com.microsoft.graph.beta.informationprotection.sensitivitylabels.item.sublabels.computerightsandinheritance.ComputeRightsAndInheritanceRequestBuilder::|public|toPostRequestInformation(body:ComputeRightsAndInheritancePostRequestBody; requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.beta.informationprotection.sensitivitylabels.item.sublabels.computerightsandinheritance.ComputeRightsAndInheritanceRequestBuilder::|public|withUrl(rawUrl:String):ComputeRightsAndInheritanceRequestBuilder com.microsoft.graph.beta.informationprotection.sensitivitylabels.item.sublabels.count.CountRequestBuilder-->BaseRequestBuilder com.microsoft.graph.beta.informationprotection.sensitivitylabels.item.sublabels.count.CountRequestBuilder.GetQueryParameters::|public|filter:String com.microsoft.graph.beta.informationprotection.sensitivitylabels.item.sublabels.count.CountRequestBuilder.GetQueryParameters::|public|search:String @@ -180481,6 +180933,20 @@ com.microsoft.graph.beta.informationprotection.sensitivitylabels.item.sublabels. com.microsoft.graph.beta.informationprotection.sensitivitylabels.item.sublabels.evaluate.EvaluateRequestBuilder::|public|toPostRequestInformation(body:EvaluatePostRequestBody):RequestInformation com.microsoft.graph.beta.informationprotection.sensitivitylabels.item.sublabels.evaluate.EvaluateRequestBuilder::|public|toPostRequestInformation(body:EvaluatePostRequestBody; requestConfiguration?:java.util.function.Consumer):RequestInformation com.microsoft.graph.beta.informationprotection.sensitivitylabels.item.sublabels.evaluate.EvaluateRequestBuilder::|public|withUrl(rawUrl:String):EvaluateRequestBuilder +com.microsoft.graph.beta.informationprotection.sensitivitylabels.item.sublabels.item.rights.RightsRequestBuilder-->BaseRequestBuilder +com.microsoft.graph.beta.informationprotection.sensitivitylabels.item.sublabels.item.rights.RightsRequestBuilder.GetQueryParameters::|public|expand:String[] +com.microsoft.graph.beta.informationprotection.sensitivitylabels.item.sublabels.item.rights.RightsRequestBuilder.GetQueryParameters::|public|select:String[] +com.microsoft.graph.beta.informationprotection.sensitivitylabels.item.sublabels.item.rights.RightsRequestBuilder.GetQueryParameters::|public|toQueryParameters():Map +com.microsoft.graph.beta.informationprotection.sensitivitylabels.item.sublabels.item.rights.RightsRequestBuilder.GetQueryParameters~~>QueryParameters +com.microsoft.graph.beta.informationprotection.sensitivitylabels.item.sublabels.item.rights.RightsRequestBuilder.GetRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.beta.informationprotection.sensitivitylabels.item.sublabels.item.rights.RightsRequestBuilder.GetRequestConfiguration::|public|queryParameters:GetQueryParameters +com.microsoft.graph.beta.informationprotection.sensitivitylabels.item.sublabels.item.rights.RightsRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.informationprotection.sensitivitylabels.item.sublabels.item.rights.RightsRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.informationprotection.sensitivitylabels.item.sublabels.item.rights.RightsRequestBuilder::|public|get():UsageRightsIncluded +com.microsoft.graph.beta.informationprotection.sensitivitylabels.item.sublabels.item.rights.RightsRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):UsageRightsIncluded +com.microsoft.graph.beta.informationprotection.sensitivitylabels.item.sublabels.item.rights.RightsRequestBuilder::|public|toGetRequestInformation():RequestInformation +com.microsoft.graph.beta.informationprotection.sensitivitylabels.item.sublabels.item.rights.RightsRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.beta.informationprotection.sensitivitylabels.item.sublabels.item.rights.RightsRequestBuilder::|public|withUrl(rawUrl:String):RightsRequestBuilder com.microsoft.graph.beta.informationprotection.sensitivitylabels.item.sublabels.item.SensitivityLabelItemRequestBuilder-->BaseRequestBuilder com.microsoft.graph.beta.informationprotection.sensitivitylabels.item.sublabels.item.SensitivityLabelItemRequestBuilder.DeleteRequestConfiguration-->BaseRequestConfiguration com.microsoft.graph.beta.informationprotection.sensitivitylabels.item.sublabels.item.SensitivityLabelItemRequestBuilder.GetQueryParameters::|public|expand:String[] @@ -180498,6 +180964,7 @@ com.microsoft.graph.beta.informationprotection.sensitivitylabels.item.sublabels. com.microsoft.graph.beta.informationprotection.sensitivitylabels.item.sublabels.item.SensitivityLabelItemRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):SensitivityLabel com.microsoft.graph.beta.informationprotection.sensitivitylabels.item.sublabels.item.SensitivityLabelItemRequestBuilder::|public|patch(body:SensitivityLabel):SensitivityLabel com.microsoft.graph.beta.informationprotection.sensitivitylabels.item.sublabels.item.SensitivityLabelItemRequestBuilder::|public|patch(body:SensitivityLabel; requestConfiguration?:java.util.function.Consumer):SensitivityLabel +com.microsoft.graph.beta.informationprotection.sensitivitylabels.item.sublabels.item.SensitivityLabelItemRequestBuilder::|public|rights:RightsRequestBuilder com.microsoft.graph.beta.informationprotection.sensitivitylabels.item.sublabels.item.SensitivityLabelItemRequestBuilder::|public|toDeleteRequestInformation():RequestInformation com.microsoft.graph.beta.informationprotection.sensitivitylabels.item.sublabels.item.SensitivityLabelItemRequestBuilder::|public|toDeleteRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation com.microsoft.graph.beta.informationprotection.sensitivitylabels.item.sublabels.item.SensitivityLabelItemRequestBuilder::|public|toGetRequestInformation():RequestInformation @@ -180520,6 +180987,8 @@ com.microsoft.graph.beta.informationprotection.sensitivitylabels.item.sublabels. com.microsoft.graph.beta.informationprotection.sensitivitylabels.item.sublabels.SublabelsRequestBuilder.GetRequestConfiguration::|public|queryParameters:GetQueryParameters com.microsoft.graph.beta.informationprotection.sensitivitylabels.item.sublabels.SublabelsRequestBuilder.PostRequestConfiguration-->BaseRequestConfiguration com.microsoft.graph.beta.informationprotection.sensitivitylabels.item.sublabels.SublabelsRequestBuilder::|public|bySensitivityLabelId1(sensitivityLabelId1:String):SensitivityLabelItemRequestBuilder +com.microsoft.graph.beta.informationprotection.sensitivitylabels.item.sublabels.SublabelsRequestBuilder::|public|computeInheritanceWithLabelIdsWithLocaleWithContentFormats(contentFormats:String; labelIds:String; locale:String):ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder +com.microsoft.graph.beta.informationprotection.sensitivitylabels.item.sublabels.SublabelsRequestBuilder::|public|computeRightsAndInheritance:ComputeRightsAndInheritanceRequestBuilder com.microsoft.graph.beta.informationprotection.sensitivitylabels.item.sublabels.SublabelsRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void com.microsoft.graph.beta.informationprotection.sensitivitylabels.item.sublabels.SublabelsRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void com.microsoft.graph.beta.informationprotection.sensitivitylabels.item.sublabels.SublabelsRequestBuilder::|public|count:CountRequestBuilder @@ -180548,6 +181017,8 @@ com.microsoft.graph.beta.informationprotection.sensitivitylabels.SensitivityLabe com.microsoft.graph.beta.informationprotection.sensitivitylabels.SensitivityLabelsRequestBuilder.GetRequestConfiguration::|public|queryParameters:GetQueryParameters com.microsoft.graph.beta.informationprotection.sensitivitylabels.SensitivityLabelsRequestBuilder.PostRequestConfiguration-->BaseRequestConfiguration com.microsoft.graph.beta.informationprotection.sensitivitylabels.SensitivityLabelsRequestBuilder::|public|bySensitivityLabelId(sensitivityLabelId:String):SensitivityLabelItemRequestBuilder +com.microsoft.graph.beta.informationprotection.sensitivitylabels.SensitivityLabelsRequestBuilder::|public|computeInheritanceWithLabelIdsWithLocaleWithContentFormats(contentFormats:String; labelIds:String; locale:String):ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder +com.microsoft.graph.beta.informationprotection.sensitivitylabels.SensitivityLabelsRequestBuilder::|public|computeRightsAndInheritance:ComputeRightsAndInheritanceRequestBuilder com.microsoft.graph.beta.informationprotection.sensitivitylabels.SensitivityLabelsRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void com.microsoft.graph.beta.informationprotection.sensitivitylabels.SensitivityLabelsRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void com.microsoft.graph.beta.informationprotection.sensitivitylabels.SensitivityLabelsRequestBuilder::|public|count:CountRequestBuilder @@ -197812,6 +198283,8 @@ com.microsoft.graph.beta.models.CloudPcProvisioningType::0001-Shared com.microsoft.graph.beta.models.CloudPcProvisioningType::0002-UnknownFutureValue com.microsoft.graph.beta.models.CloudPcProvisioningType::0003-SharedByUser com.microsoft.graph.beta.models.CloudPcProvisioningType::0004-SharedByEntraGroup +com.microsoft.graph.beta.models.CloudPcRecommendationReportType::0000-CloudPcUsageCategoryReports +com.microsoft.graph.beta.models.CloudPcRecommendationReportType::0001-UnknownFutureValue com.microsoft.graph.beta.models.CloudPcRegionGroup::0000-Default com.microsoft.graph.beta.models.CloudPcRegionGroup::0001-Australia com.microsoft.graph.beta.models.CloudPcRegionGroup::0002-Canada @@ -199185,6 +199658,24 @@ com.microsoft.graph.beta.models.ComplianceStatus::0005-Error com.microsoft.graph.beta.models.ComplianceStatus::0006-Conflict com.microsoft.graph.beta.models.ComplianceStatus::0007-NotAssigned com.microsoft.graph.beta.models.Compliance~~>AdditionalDataHolder; BackedModel; Parsable +com.microsoft.graph.beta.models.ComputeRightsAndInheritanceResult::|protected|backingStore:BackingStore +com.microsoft.graph.beta.models.ComputeRightsAndInheritanceResult::|public|constructor():void +com.microsoft.graph.beta.models.ComputeRightsAndInheritanceResult::|public|getAdditionalData():Map +com.microsoft.graph.beta.models.ComputeRightsAndInheritanceResult::|public|getBackingStore():BackingStore +com.microsoft.graph.beta.models.ComputeRightsAndInheritanceResult::|public|getContentRights():java.util.List +com.microsoft.graph.beta.models.ComputeRightsAndInheritanceResult::|public|getFieldDeserializers():Map> +com.microsoft.graph.beta.models.ComputeRightsAndInheritanceResult::|public|getInheritedLabel():SensitivityLabel +com.microsoft.graph.beta.models.ComputeRightsAndInheritanceResult::|public|getOdataType():String +com.microsoft.graph.beta.models.ComputeRightsAndInheritanceResult::|public|getSensitivityLabels():java.util.List +com.microsoft.graph.beta.models.ComputeRightsAndInheritanceResult::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.beta.models.ComputeRightsAndInheritanceResult::|public|setAdditionalData(value?:Map):void +com.microsoft.graph.beta.models.ComputeRightsAndInheritanceResult::|public|setBackingStore(value:BackingStore):void +com.microsoft.graph.beta.models.ComputeRightsAndInheritanceResult::|public|setContentRights(value?:java.util.List):void +com.microsoft.graph.beta.models.ComputeRightsAndInheritanceResult::|public|setInheritedLabel(value?:SensitivityLabel):void +com.microsoft.graph.beta.models.ComputeRightsAndInheritanceResult::|public|setOdataType(value?:String):void +com.microsoft.graph.beta.models.ComputeRightsAndInheritanceResult::|public|setSensitivityLabels(value?:java.util.List):void +com.microsoft.graph.beta.models.ComputeRightsAndInheritanceResult::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):ComputeRightsAndInheritanceResult +com.microsoft.graph.beta.models.ComputeRightsAndInheritanceResult~~>AdditionalDataHolder; BackedModel; Parsable com.microsoft.graph.beta.models.ConditionalAccessAllExternalTenants-->ConditionalAccessExternalTenants com.microsoft.graph.beta.models.ConditionalAccessAllExternalTenants::|public|constructor():void com.microsoft.graph.beta.models.ConditionalAccessAllExternalTenants::|public|getFieldDeserializers():Map> @@ -218392,11 +218883,13 @@ com.microsoft.graph.beta.models.IdentifierUriConfiguration::|public|getBackingSt com.microsoft.graph.beta.models.IdentifierUriConfiguration::|public|getFieldDeserializers():Map> com.microsoft.graph.beta.models.IdentifierUriConfiguration::|public|getNonDefaultUriAddition():IdentifierUriRestriction com.microsoft.graph.beta.models.IdentifierUriConfiguration::|public|getOdataType():String +com.microsoft.graph.beta.models.IdentifierUriConfiguration::|public|getUriAdditionWithoutUniqueTenantIdentifier():IdentifierUriRestriction com.microsoft.graph.beta.models.IdentifierUriConfiguration::|public|serialize(writer:SerializationWriter):Void com.microsoft.graph.beta.models.IdentifierUriConfiguration::|public|setAdditionalData(value?:Map):void com.microsoft.graph.beta.models.IdentifierUriConfiguration::|public|setBackingStore(value:BackingStore):void com.microsoft.graph.beta.models.IdentifierUriConfiguration::|public|setNonDefaultUriAddition(value?:IdentifierUriRestriction):void com.microsoft.graph.beta.models.IdentifierUriConfiguration::|public|setOdataType(value?:String):void +com.microsoft.graph.beta.models.IdentifierUriConfiguration::|public|setUriAdditionWithoutUniqueTenantIdentifier(value?:IdentifierUriRestriction):void com.microsoft.graph.beta.models.IdentifierUriConfiguration::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):IdentifierUriConfiguration com.microsoft.graph.beta.models.IdentifierUriConfiguration~~>AdditionalDataHolder; BackedModel; Parsable com.microsoft.graph.beta.models.IdentifierUriRestriction::|protected|backingStore:BackingStore @@ -224224,6 +224717,23 @@ com.microsoft.graph.beta.models.LabelActionBase::|public|setName(value?:String): com.microsoft.graph.beta.models.LabelActionBase::|public|setOdataType(value?:String):void com.microsoft.graph.beta.models.LabelActionBase::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):LabelActionBase com.microsoft.graph.beta.models.LabelActionBase~~>AdditionalDataHolder; BackedModel; Parsable +com.microsoft.graph.beta.models.LabelActionSource::0000-Manual +com.microsoft.graph.beta.models.LabelActionSource::0001-Automatic +com.microsoft.graph.beta.models.LabelActionSource::0002-Recommended +com.microsoft.graph.beta.models.LabelActionSource::0003-None +com.microsoft.graph.beta.models.LabelActionSource::0004-UnknownFutureValue +com.microsoft.graph.beta.models.LabelContentRight-->Entity +com.microsoft.graph.beta.models.LabelContentRight::|public|constructor():void +com.microsoft.graph.beta.models.LabelContentRight::|public|getCid():String +com.microsoft.graph.beta.models.LabelContentRight::|public|getFieldDeserializers():Map> +com.microsoft.graph.beta.models.LabelContentRight::|public|getFormat():String +com.microsoft.graph.beta.models.LabelContentRight::|public|getLabel():SensitivityLabel +com.microsoft.graph.beta.models.LabelContentRight::|public|OdataType:String +com.microsoft.graph.beta.models.LabelContentRight::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.beta.models.LabelContentRight::|public|setCid(value?:String):void +com.microsoft.graph.beta.models.LabelContentRight::|public|setFormat(value?:String):void +com.microsoft.graph.beta.models.LabelContentRight::|public|setLabel(value?:SensitivityLabel):void +com.microsoft.graph.beta.models.LabelContentRight::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):LabelContentRight com.microsoft.graph.beta.models.LabelDetails-->ParentLabelDetails com.microsoft.graph.beta.models.LabelDetails::|public|constructor():void com.microsoft.graph.beta.models.LabelDetails::|public|getFieldDeserializers():Map> @@ -237886,6 +238396,11 @@ com.microsoft.graph.beta.models.OrganizationalBrandingProperties::|public|setSqu com.microsoft.graph.beta.models.OrganizationalBrandingProperties::|public|setSquareLogoRelativeUrl(value?:String):void com.microsoft.graph.beta.models.OrganizationalBrandingProperties::|public|setUsernameHintText(value?:String):void com.microsoft.graph.beta.models.OrganizationalBrandingProperties::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):OrganizationalBrandingProperties +com.microsoft.graph.beta.models.OrganizationAllowedAudiences::0000-Me +com.microsoft.graph.beta.models.OrganizationAllowedAudiences::0001-Organization +com.microsoft.graph.beta.models.OrganizationAllowedAudiences::0002-FederatedOrganizations +com.microsoft.graph.beta.models.OrganizationAllowedAudiences::0003-Everyone +com.microsoft.graph.beta.models.OrganizationAllowedAudiences::0004-UnknownFutureValue com.microsoft.graph.beta.models.OrganizationalUnit-->DirectoryObject com.microsoft.graph.beta.models.OrganizationalUnit::|public|constructor():void com.microsoft.graph.beta.models.OrganizationalUnit::|public|getChildren():java.util.List @@ -239587,12 +240102,14 @@ com.microsoft.graph.beta.models.PeopleAdminSettings::|public|getFieldDeserialize com.microsoft.graph.beta.models.PeopleAdminSettings::|public|getItemInsights():InsightsSettings com.microsoft.graph.beta.models.PeopleAdminSettings::|public|getNamePronunciation():NamePronunciationSettings com.microsoft.graph.beta.models.PeopleAdminSettings::|public|getProfileCardProperties():java.util.List +com.microsoft.graph.beta.models.PeopleAdminSettings::|public|getProfilePropertySettings():java.util.List com.microsoft.graph.beta.models.PeopleAdminSettings::|public|getPronouns():PronounsSettings com.microsoft.graph.beta.models.PeopleAdminSettings::|public|OdataType:String com.microsoft.graph.beta.models.PeopleAdminSettings::|public|serialize(writer:SerializationWriter):Void com.microsoft.graph.beta.models.PeopleAdminSettings::|public|setItemInsights(value?:InsightsSettings):void com.microsoft.graph.beta.models.PeopleAdminSettings::|public|setNamePronunciation(value?:NamePronunciationSettings):void com.microsoft.graph.beta.models.PeopleAdminSettings::|public|setProfileCardProperties(value?:java.util.List):void +com.microsoft.graph.beta.models.PeopleAdminSettings::|public|setProfilePropertySettings(value?:java.util.List):void com.microsoft.graph.beta.models.PeopleAdminSettings::|public|setPronouns(value?:PronounsSettings):void com.microsoft.graph.beta.models.PeopleAdminSettings::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):PeopleAdminSettings com.microsoft.graph.beta.models.PerfectForwardSecrecyGroup::0000-Pfs1 @@ -245041,6 +245558,27 @@ com.microsoft.graph.beta.models.ProfilePhotoCollectionResponse::|public|getValue com.microsoft.graph.beta.models.ProfilePhotoCollectionResponse::|public|serialize(writer:SerializationWriter):Void com.microsoft.graph.beta.models.ProfilePhotoCollectionResponse::|public|setValue(value?:java.util.List):void com.microsoft.graph.beta.models.ProfilePhotoCollectionResponse::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):ProfilePhotoCollectionResponse +com.microsoft.graph.beta.models.ProfilePropertySetting-->Entity +com.microsoft.graph.beta.models.ProfilePropertySetting::|public|constructor():void +com.microsoft.graph.beta.models.ProfilePropertySetting::|public|getAllowedAudiences():OrganizationAllowedAudiences +com.microsoft.graph.beta.models.ProfilePropertySetting::|public|getFieldDeserializers():Map> +com.microsoft.graph.beta.models.ProfilePropertySetting::|public|getIsUserOverrideForAudienceEnabled():Boolean +com.microsoft.graph.beta.models.ProfilePropertySetting::|public|getName():String +com.microsoft.graph.beta.models.ProfilePropertySetting::|public|getPrioritizedSourceUrls():java.util.List +com.microsoft.graph.beta.models.ProfilePropertySetting::|public|OdataType:String +com.microsoft.graph.beta.models.ProfilePropertySetting::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.beta.models.ProfilePropertySetting::|public|setAllowedAudiences(value?:OrganizationAllowedAudiences):void +com.microsoft.graph.beta.models.ProfilePropertySetting::|public|setIsUserOverrideForAudienceEnabled(value?:Boolean):void +com.microsoft.graph.beta.models.ProfilePropertySetting::|public|setName(value?:String):void +com.microsoft.graph.beta.models.ProfilePropertySetting::|public|setPrioritizedSourceUrls(value?:java.util.List):void +com.microsoft.graph.beta.models.ProfilePropertySetting::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):ProfilePropertySetting +com.microsoft.graph.beta.models.ProfilePropertySettingCollectionResponse-->BaseCollectionPaginationCountResponse +com.microsoft.graph.beta.models.ProfilePropertySettingCollectionResponse::|public|constructor():void +com.microsoft.graph.beta.models.ProfilePropertySettingCollectionResponse::|public|getFieldDeserializers():Map> +com.microsoft.graph.beta.models.ProfilePropertySettingCollectionResponse::|public|getValue():java.util.List +com.microsoft.graph.beta.models.ProfilePropertySettingCollectionResponse::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.beta.models.ProfilePropertySettingCollectionResponse::|public|setValue(value?:java.util.List):void +com.microsoft.graph.beta.models.ProfilePropertySettingCollectionResponse::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):ProfilePropertySettingCollectionResponse com.microsoft.graph.beta.models.ProfileSource-->Entity com.microsoft.graph.beta.models.ProfileSource::|public|constructor():void com.microsoft.graph.beta.models.ProfileSource::|public|getDisplayName():String @@ -245294,6 +245832,24 @@ com.microsoft.graph.beta.models.ProtectedApplicationMetadata::|public|OdataType: com.microsoft.graph.beta.models.ProtectedApplicationMetadata::|public|serialize(writer:SerializationWriter):Void com.microsoft.graph.beta.models.ProtectedApplicationMetadata::|public|setApplicationLocation(value?:PolicyLocation):void com.microsoft.graph.beta.models.ProtectedApplicationMetadata::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):ProtectedApplicationMetadata +com.microsoft.graph.beta.models.ProtectedContent::|protected|backingStore:BackingStore +com.microsoft.graph.beta.models.ProtectedContent::|public|constructor():void +com.microsoft.graph.beta.models.ProtectedContent::|public|getAdditionalData():Map +com.microsoft.graph.beta.models.ProtectedContent::|public|getBackingStore():BackingStore +com.microsoft.graph.beta.models.ProtectedContent::|public|getCid():String +com.microsoft.graph.beta.models.ProtectedContent::|public|getFieldDeserializers():Map> +com.microsoft.graph.beta.models.ProtectedContent::|public|getFormat():String +com.microsoft.graph.beta.models.ProtectedContent::|public|getLabelId():String +com.microsoft.graph.beta.models.ProtectedContent::|public|getOdataType():String +com.microsoft.graph.beta.models.ProtectedContent::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.beta.models.ProtectedContent::|public|setAdditionalData(value?:Map):void +com.microsoft.graph.beta.models.ProtectedContent::|public|setBackingStore(value:BackingStore):void +com.microsoft.graph.beta.models.ProtectedContent::|public|setCid(value?:String):void +com.microsoft.graph.beta.models.ProtectedContent::|public|setFormat(value?:String):void +com.microsoft.graph.beta.models.ProtectedContent::|public|setLabelId(value?:String):void +com.microsoft.graph.beta.models.ProtectedContent::|public|setOdataType(value?:String):void +com.microsoft.graph.beta.models.ProtectedContent::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):ProtectedContent +com.microsoft.graph.beta.models.ProtectedContent~~>AdditionalDataHolder; BackedModel; Parsable com.microsoft.graph.beta.models.ProtectGroup-->LabelActionBase com.microsoft.graph.beta.models.ProtectGroup::|public|constructor():void com.microsoft.graph.beta.models.ProtectGroup::|public|getAllowEmailFromGuestUsers():Boolean @@ -259271,10 +259827,12 @@ com.microsoft.graph.beta.models.Sensitivity::0002-Private com.microsoft.graph.beta.models.Sensitivity::0003-Confidential com.microsoft.graph.beta.models.SensitivityLabel-->Entity com.microsoft.graph.beta.models.SensitivityLabel::|public|constructor():void +com.microsoft.graph.beta.models.SensitivityLabel::|public|getActionSource():LabelActionSource com.microsoft.graph.beta.models.SensitivityLabel::|public|getApplicableTo():SensitivityLabelTarget com.microsoft.graph.beta.models.SensitivityLabel::|public|getApplicationMode():ApplicationMode com.microsoft.graph.beta.models.SensitivityLabel::|public|getAssignedPolicies():java.util.List com.microsoft.graph.beta.models.SensitivityLabel::|public|getAutoLabeling():AutoLabeling +com.microsoft.graph.beta.models.SensitivityLabel::|public|getAutoTooltip():String com.microsoft.graph.beta.models.SensitivityLabel::|public|getColor():String com.microsoft.graph.beta.models.SensitivityLabel::|public|getDescription():String com.microsoft.graph.beta.models.SensitivityLabel::|public|getDisplayName():String @@ -259282,26 +259840,34 @@ com.microsoft.graph.beta.models.SensitivityLabel::|public|getFieldDeserializers( com.microsoft.graph.beta.models.SensitivityLabel::|public|getIsDefault():Boolean com.microsoft.graph.beta.models.SensitivityLabel::|public|getIsEnabled():Boolean com.microsoft.graph.beta.models.SensitivityLabel::|public|getIsEndpointProtectionEnabled():Boolean +com.microsoft.graph.beta.models.SensitivityLabel::|public|getIsScopedToUser():Boolean com.microsoft.graph.beta.models.SensitivityLabel::|public|getLabelActions():java.util.List +com.microsoft.graph.beta.models.SensitivityLabel::|public|getLocale():String com.microsoft.graph.beta.models.SensitivityLabel::|public|getName():String com.microsoft.graph.beta.models.SensitivityLabel::|public|getPriority():Integer +com.microsoft.graph.beta.models.SensitivityLabel::|public|getRights():UsageRightsIncluded com.microsoft.graph.beta.models.SensitivityLabel::|public|getSublabels():java.util.List com.microsoft.graph.beta.models.SensitivityLabel::|public|getToolTip():String com.microsoft.graph.beta.models.SensitivityLabel::|public|OdataType:String com.microsoft.graph.beta.models.SensitivityLabel::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.beta.models.SensitivityLabel::|public|setActionSource(value?:LabelActionSource):void com.microsoft.graph.beta.models.SensitivityLabel::|public|setApplicableTo(value?:SensitivityLabelTarget):void com.microsoft.graph.beta.models.SensitivityLabel::|public|setApplicationMode(value?:ApplicationMode):void com.microsoft.graph.beta.models.SensitivityLabel::|public|setAssignedPolicies(value?:java.util.List):void com.microsoft.graph.beta.models.SensitivityLabel::|public|setAutoLabeling(value?:AutoLabeling):void +com.microsoft.graph.beta.models.SensitivityLabel::|public|setAutoTooltip(value?:String):void com.microsoft.graph.beta.models.SensitivityLabel::|public|setColor(value?:String):void com.microsoft.graph.beta.models.SensitivityLabel::|public|setDescription(value?:String):void com.microsoft.graph.beta.models.SensitivityLabel::|public|setDisplayName(value?:String):void com.microsoft.graph.beta.models.SensitivityLabel::|public|setIsDefault(value?:Boolean):void com.microsoft.graph.beta.models.SensitivityLabel::|public|setIsEnabled(value?:Boolean):void com.microsoft.graph.beta.models.SensitivityLabel::|public|setIsEndpointProtectionEnabled(value?:Boolean):void +com.microsoft.graph.beta.models.SensitivityLabel::|public|setIsScopedToUser(value?:Boolean):void com.microsoft.graph.beta.models.SensitivityLabel::|public|setLabelActions(value?:java.util.List):void +com.microsoft.graph.beta.models.SensitivityLabel::|public|setLocale(value?:String):void com.microsoft.graph.beta.models.SensitivityLabel::|public|setName(value?:String):void com.microsoft.graph.beta.models.SensitivityLabel::|public|setPriority(value?:Integer):void +com.microsoft.graph.beta.models.SensitivityLabel::|public|setRights(value?:UsageRightsIncluded):void com.microsoft.graph.beta.models.SensitivityLabel::|public|setSublabels(value?:java.util.List):void com.microsoft.graph.beta.models.SensitivityLabel::|public|setToolTip(value?:String):void com.microsoft.graph.beta.models.SensitivityLabel::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):SensitivityLabel @@ -268718,6 +269284,39 @@ com.microsoft.graph.beta.models.UsageRightCollectionResponse::|public|getValue() com.microsoft.graph.beta.models.UsageRightCollectionResponse::|public|serialize(writer:SerializationWriter):Void com.microsoft.graph.beta.models.UsageRightCollectionResponse::|public|setValue(value?:java.util.List):void com.microsoft.graph.beta.models.UsageRightCollectionResponse::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):UsageRightCollectionResponse +com.microsoft.graph.beta.models.UsageRights::0000-Unknown +com.microsoft.graph.beta.models.UsageRights::0001-DocEdit +com.microsoft.graph.beta.models.UsageRights::0002-Edit +com.microsoft.graph.beta.models.UsageRights::0003-Comment +com.microsoft.graph.beta.models.UsageRights::0004-Export +com.microsoft.graph.beta.models.UsageRights::0005-Forward +com.microsoft.graph.beta.models.UsageRights::0006-Owner +com.microsoft.graph.beta.models.UsageRights::0007-Print +com.microsoft.graph.beta.models.UsageRights::0008-Reply +com.microsoft.graph.beta.models.UsageRights::0009-ReplyAll +com.microsoft.graph.beta.models.UsageRights::0010-View +com.microsoft.graph.beta.models.UsageRights::0011-Extract +com.microsoft.graph.beta.models.UsageRights::0012-ViewRightsData +com.microsoft.graph.beta.models.UsageRights::0013-EditRightsData +com.microsoft.graph.beta.models.UsageRights::0014-ObjModel +com.microsoft.graph.beta.models.UsageRights::0015-AccessDenied +com.microsoft.graph.beta.models.UsageRights::0016-UserDefinedProtectionTypeNotSupportedException +com.microsoft.graph.beta.models.UsageRights::0017-EncryptedProtectionTypeNotSupportedException +com.microsoft.graph.beta.models.UsageRights::0018-PurviewClaimsChallengeNotSupportedException +com.microsoft.graph.beta.models.UsageRights::0019-Exception +com.microsoft.graph.beta.models.UsageRights::0020-UnknownFutureValue +com.microsoft.graph.beta.models.UsageRightsIncluded-->Entity +com.microsoft.graph.beta.models.UsageRightsIncluded::|public|constructor():void +com.microsoft.graph.beta.models.UsageRightsIncluded::|public|getFieldDeserializers():Map> +com.microsoft.graph.beta.models.UsageRightsIncluded::|public|getOwnerEmail():String +com.microsoft.graph.beta.models.UsageRightsIncluded::|public|getUserEmail():String +com.microsoft.graph.beta.models.UsageRightsIncluded::|public|getValue():UsageRights +com.microsoft.graph.beta.models.UsageRightsIncluded::|public|OdataType:String +com.microsoft.graph.beta.models.UsageRightsIncluded::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.beta.models.UsageRightsIncluded::|public|setOwnerEmail(value?:String):void +com.microsoft.graph.beta.models.UsageRightsIncluded::|public|setUserEmail(value?:String):void +com.microsoft.graph.beta.models.UsageRightsIncluded::|public|setValue(value?:UsageRights):void +com.microsoft.graph.beta.models.UsageRightsIncluded::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):UsageRightsIncluded com.microsoft.graph.beta.models.UsageRightState::0000-Active com.microsoft.graph.beta.models.UsageRightState::0001-Inactive com.microsoft.graph.beta.models.UsageRightState::0002-Warning @@ -315349,6 +315948,42 @@ com.microsoft.graph.beta.security.datasecurityandgovernance.protectionscopes.Pro com.microsoft.graph.beta.security.datasecurityandgovernance.protectionscopes.ProtectionScopesRequestBuilder::|public|toPatchRequestInformation(body:TenantProtectionScopeContainer):RequestInformation com.microsoft.graph.beta.security.datasecurityandgovernance.protectionscopes.ProtectionScopesRequestBuilder::|public|toPatchRequestInformation(body:TenantProtectionScopeContainer; requestConfiguration?:java.util.function.Consumer):RequestInformation com.microsoft.graph.beta.security.datasecurityandgovernance.protectionscopes.ProtectionScopesRequestBuilder::|public|withUrl(rawUrl:String):ProtectionScopesRequestBuilder +com.microsoft.graph.beta.security.datasecurityandgovernance.sensitivitylabels.computeinheritancewithlabelidswithlocalewithcontentformats.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder-->BaseRequestBuilder +com.microsoft.graph.beta.security.datasecurityandgovernance.sensitivitylabels.computeinheritancewithlabelidswithlocalewithcontentformats.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder.GetRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.beta.security.datasecurityandgovernance.sensitivitylabels.computeinheritancewithlabelidswithlocalewithcontentformats.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter; contentFormats?:String; labelIds?:String; locale?:String):Void +com.microsoft.graph.beta.security.datasecurityandgovernance.sensitivitylabels.computeinheritancewithlabelidswithlocalewithcontentformats.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.security.datasecurityandgovernance.sensitivitylabels.computeinheritancewithlabelidswithlocalewithcontentformats.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder::|public|get():SensitivityLabel +com.microsoft.graph.beta.security.datasecurityandgovernance.sensitivitylabels.computeinheritancewithlabelidswithlocalewithcontentformats.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):SensitivityLabel +com.microsoft.graph.beta.security.datasecurityandgovernance.sensitivitylabels.computeinheritancewithlabelidswithlocalewithcontentformats.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder::|public|toGetRequestInformation():RequestInformation +com.microsoft.graph.beta.security.datasecurityandgovernance.sensitivitylabels.computeinheritancewithlabelidswithlocalewithcontentformats.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.beta.security.datasecurityandgovernance.sensitivitylabels.computeinheritancewithlabelidswithlocalewithcontentformats.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder::|public|withUrl(rawUrl:String):ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder +com.microsoft.graph.beta.security.datasecurityandgovernance.sensitivitylabels.computerightsandinheritance.ComputeRightsAndInheritancePostRequestBody::|protected|backingStore:BackingStore +com.microsoft.graph.beta.security.datasecurityandgovernance.sensitivitylabels.computerightsandinheritance.ComputeRightsAndInheritancePostRequestBody::|public|constructor():void +com.microsoft.graph.beta.security.datasecurityandgovernance.sensitivitylabels.computerightsandinheritance.ComputeRightsAndInheritancePostRequestBody::|public|getAdditionalData():Map +com.microsoft.graph.beta.security.datasecurityandgovernance.sensitivitylabels.computerightsandinheritance.ComputeRightsAndInheritancePostRequestBody::|public|getBackingStore():BackingStore +com.microsoft.graph.beta.security.datasecurityandgovernance.sensitivitylabels.computerightsandinheritance.ComputeRightsAndInheritancePostRequestBody::|public|getDelegatedUserEmail():String +com.microsoft.graph.beta.security.datasecurityandgovernance.sensitivitylabels.computerightsandinheritance.ComputeRightsAndInheritancePostRequestBody::|public|getFieldDeserializers():Map> +com.microsoft.graph.beta.security.datasecurityandgovernance.sensitivitylabels.computerightsandinheritance.ComputeRightsAndInheritancePostRequestBody::|public|getLocale():String +com.microsoft.graph.beta.security.datasecurityandgovernance.sensitivitylabels.computerightsandinheritance.ComputeRightsAndInheritancePostRequestBody::|public|getProtectedContents():java.util.List +com.microsoft.graph.beta.security.datasecurityandgovernance.sensitivitylabels.computerightsandinheritance.ComputeRightsAndInheritancePostRequestBody::|public|getSupportedContentFormats():java.util.List +com.microsoft.graph.beta.security.datasecurityandgovernance.sensitivitylabels.computerightsandinheritance.ComputeRightsAndInheritancePostRequestBody::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.beta.security.datasecurityandgovernance.sensitivitylabels.computerightsandinheritance.ComputeRightsAndInheritancePostRequestBody::|public|setAdditionalData(value?:Map):void +com.microsoft.graph.beta.security.datasecurityandgovernance.sensitivitylabels.computerightsandinheritance.ComputeRightsAndInheritancePostRequestBody::|public|setBackingStore(value:BackingStore):void +com.microsoft.graph.beta.security.datasecurityandgovernance.sensitivitylabels.computerightsandinheritance.ComputeRightsAndInheritancePostRequestBody::|public|setDelegatedUserEmail(value?:String):void +com.microsoft.graph.beta.security.datasecurityandgovernance.sensitivitylabels.computerightsandinheritance.ComputeRightsAndInheritancePostRequestBody::|public|setLocale(value?:String):void +com.microsoft.graph.beta.security.datasecurityandgovernance.sensitivitylabels.computerightsandinheritance.ComputeRightsAndInheritancePostRequestBody::|public|setProtectedContents(value?:java.util.List):void +com.microsoft.graph.beta.security.datasecurityandgovernance.sensitivitylabels.computerightsandinheritance.ComputeRightsAndInheritancePostRequestBody::|public|setSupportedContentFormats(value?:java.util.List):void +com.microsoft.graph.beta.security.datasecurityandgovernance.sensitivitylabels.computerightsandinheritance.ComputeRightsAndInheritancePostRequestBody::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):ComputeRightsAndInheritancePostRequestBody +com.microsoft.graph.beta.security.datasecurityandgovernance.sensitivitylabels.computerightsandinheritance.ComputeRightsAndInheritancePostRequestBody~~>AdditionalDataHolder; BackedModel; Parsable +com.microsoft.graph.beta.security.datasecurityandgovernance.sensitivitylabels.computerightsandinheritance.ComputeRightsAndInheritanceRequestBuilder-->BaseRequestBuilder +com.microsoft.graph.beta.security.datasecurityandgovernance.sensitivitylabels.computerightsandinheritance.ComputeRightsAndInheritanceRequestBuilder.PostRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.beta.security.datasecurityandgovernance.sensitivitylabels.computerightsandinheritance.ComputeRightsAndInheritanceRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.security.datasecurityandgovernance.sensitivitylabels.computerightsandinheritance.ComputeRightsAndInheritanceRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.security.datasecurityandgovernance.sensitivitylabels.computerightsandinheritance.ComputeRightsAndInheritanceRequestBuilder::|public|post(body:ComputeRightsAndInheritancePostRequestBody):ComputeRightsAndInheritanceResult +com.microsoft.graph.beta.security.datasecurityandgovernance.sensitivitylabels.computerightsandinheritance.ComputeRightsAndInheritanceRequestBuilder::|public|post(body:ComputeRightsAndInheritancePostRequestBody; requestConfiguration?:java.util.function.Consumer):ComputeRightsAndInheritanceResult +com.microsoft.graph.beta.security.datasecurityandgovernance.sensitivitylabels.computerightsandinheritance.ComputeRightsAndInheritanceRequestBuilder::|public|toPostRequestInformation(body:ComputeRightsAndInheritancePostRequestBody):RequestInformation +com.microsoft.graph.beta.security.datasecurityandgovernance.sensitivitylabels.computerightsandinheritance.ComputeRightsAndInheritanceRequestBuilder::|public|toPostRequestInformation(body:ComputeRightsAndInheritancePostRequestBody; requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.beta.security.datasecurityandgovernance.sensitivitylabels.computerightsandinheritance.ComputeRightsAndInheritanceRequestBuilder::|public|withUrl(rawUrl:String):ComputeRightsAndInheritanceRequestBuilder com.microsoft.graph.beta.security.datasecurityandgovernance.sensitivitylabels.count.CountRequestBuilder-->BaseRequestBuilder com.microsoft.graph.beta.security.datasecurityandgovernance.sensitivitylabels.count.CountRequestBuilder.GetQueryParameters::|public|filter:String com.microsoft.graph.beta.security.datasecurityandgovernance.sensitivitylabels.count.CountRequestBuilder.GetQueryParameters::|public|search:String @@ -315386,6 +316021,20 @@ com.microsoft.graph.beta.security.datasecurityandgovernance.sensitivitylabels.ev com.microsoft.graph.beta.security.datasecurityandgovernance.sensitivitylabels.evaluate.EvaluateRequestBuilder::|public|toPostRequestInformation(body:EvaluatePostRequestBody):RequestInformation com.microsoft.graph.beta.security.datasecurityandgovernance.sensitivitylabels.evaluate.EvaluateRequestBuilder::|public|toPostRequestInformation(body:EvaluatePostRequestBody; requestConfiguration?:java.util.function.Consumer):RequestInformation com.microsoft.graph.beta.security.datasecurityandgovernance.sensitivitylabels.evaluate.EvaluateRequestBuilder::|public|withUrl(rawUrl:String):EvaluateRequestBuilder +com.microsoft.graph.beta.security.datasecurityandgovernance.sensitivitylabels.item.rights.RightsRequestBuilder-->BaseRequestBuilder +com.microsoft.graph.beta.security.datasecurityandgovernance.sensitivitylabels.item.rights.RightsRequestBuilder.GetQueryParameters::|public|expand:String[] +com.microsoft.graph.beta.security.datasecurityandgovernance.sensitivitylabels.item.rights.RightsRequestBuilder.GetQueryParameters::|public|select:String[] +com.microsoft.graph.beta.security.datasecurityandgovernance.sensitivitylabels.item.rights.RightsRequestBuilder.GetQueryParameters::|public|toQueryParameters():Map +com.microsoft.graph.beta.security.datasecurityandgovernance.sensitivitylabels.item.rights.RightsRequestBuilder.GetQueryParameters~~>QueryParameters +com.microsoft.graph.beta.security.datasecurityandgovernance.sensitivitylabels.item.rights.RightsRequestBuilder.GetRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.beta.security.datasecurityandgovernance.sensitivitylabels.item.rights.RightsRequestBuilder.GetRequestConfiguration::|public|queryParameters:GetQueryParameters +com.microsoft.graph.beta.security.datasecurityandgovernance.sensitivitylabels.item.rights.RightsRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.security.datasecurityandgovernance.sensitivitylabels.item.rights.RightsRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.security.datasecurityandgovernance.sensitivitylabels.item.rights.RightsRequestBuilder::|public|get():UsageRightsIncluded +com.microsoft.graph.beta.security.datasecurityandgovernance.sensitivitylabels.item.rights.RightsRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):UsageRightsIncluded +com.microsoft.graph.beta.security.datasecurityandgovernance.sensitivitylabels.item.rights.RightsRequestBuilder::|public|toGetRequestInformation():RequestInformation +com.microsoft.graph.beta.security.datasecurityandgovernance.sensitivitylabels.item.rights.RightsRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.beta.security.datasecurityandgovernance.sensitivitylabels.item.rights.RightsRequestBuilder::|public|withUrl(rawUrl:String):RightsRequestBuilder com.microsoft.graph.beta.security.datasecurityandgovernance.sensitivitylabels.item.SensitivityLabelItemRequestBuilder-->BaseRequestBuilder com.microsoft.graph.beta.security.datasecurityandgovernance.sensitivitylabels.item.SensitivityLabelItemRequestBuilder.DeleteRequestConfiguration-->BaseRequestConfiguration com.microsoft.graph.beta.security.datasecurityandgovernance.sensitivitylabels.item.SensitivityLabelItemRequestBuilder.GetQueryParameters::|public|expand:String[] @@ -315403,6 +316052,7 @@ com.microsoft.graph.beta.security.datasecurityandgovernance.sensitivitylabels.it com.microsoft.graph.beta.security.datasecurityandgovernance.sensitivitylabels.item.SensitivityLabelItemRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):SensitivityLabel com.microsoft.graph.beta.security.datasecurityandgovernance.sensitivitylabels.item.SensitivityLabelItemRequestBuilder::|public|patch(body:SensitivityLabel):SensitivityLabel com.microsoft.graph.beta.security.datasecurityandgovernance.sensitivitylabels.item.SensitivityLabelItemRequestBuilder::|public|patch(body:SensitivityLabel; requestConfiguration?:java.util.function.Consumer):SensitivityLabel +com.microsoft.graph.beta.security.datasecurityandgovernance.sensitivitylabels.item.SensitivityLabelItemRequestBuilder::|public|rights:RightsRequestBuilder com.microsoft.graph.beta.security.datasecurityandgovernance.sensitivitylabels.item.SensitivityLabelItemRequestBuilder::|public|sublabels:SublabelsRequestBuilder com.microsoft.graph.beta.security.datasecurityandgovernance.sensitivitylabels.item.SensitivityLabelItemRequestBuilder::|public|toDeleteRequestInformation():RequestInformation com.microsoft.graph.beta.security.datasecurityandgovernance.sensitivitylabels.item.SensitivityLabelItemRequestBuilder::|public|toDeleteRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation @@ -315411,6 +316061,42 @@ com.microsoft.graph.beta.security.datasecurityandgovernance.sensitivitylabels.it com.microsoft.graph.beta.security.datasecurityandgovernance.sensitivitylabels.item.SensitivityLabelItemRequestBuilder::|public|toPatchRequestInformation(body:SensitivityLabel):RequestInformation com.microsoft.graph.beta.security.datasecurityandgovernance.sensitivitylabels.item.SensitivityLabelItemRequestBuilder::|public|toPatchRequestInformation(body:SensitivityLabel; requestConfiguration?:java.util.function.Consumer):RequestInformation com.microsoft.graph.beta.security.datasecurityandgovernance.sensitivitylabels.item.SensitivityLabelItemRequestBuilder::|public|withUrl(rawUrl:String):SensitivityLabelItemRequestBuilder +com.microsoft.graph.beta.security.datasecurityandgovernance.sensitivitylabels.item.sublabels.computeinheritancewithlabelidswithlocalewithcontentformats.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder-->BaseRequestBuilder +com.microsoft.graph.beta.security.datasecurityandgovernance.sensitivitylabels.item.sublabels.computeinheritancewithlabelidswithlocalewithcontentformats.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder.GetRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.beta.security.datasecurityandgovernance.sensitivitylabels.item.sublabels.computeinheritancewithlabelidswithlocalewithcontentformats.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter; contentFormats?:String; labelIds?:String; locale?:String):Void +com.microsoft.graph.beta.security.datasecurityandgovernance.sensitivitylabels.item.sublabels.computeinheritancewithlabelidswithlocalewithcontentformats.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.security.datasecurityandgovernance.sensitivitylabels.item.sublabels.computeinheritancewithlabelidswithlocalewithcontentformats.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder::|public|get():SensitivityLabel +com.microsoft.graph.beta.security.datasecurityandgovernance.sensitivitylabels.item.sublabels.computeinheritancewithlabelidswithlocalewithcontentformats.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):SensitivityLabel +com.microsoft.graph.beta.security.datasecurityandgovernance.sensitivitylabels.item.sublabels.computeinheritancewithlabelidswithlocalewithcontentformats.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder::|public|toGetRequestInformation():RequestInformation +com.microsoft.graph.beta.security.datasecurityandgovernance.sensitivitylabels.item.sublabels.computeinheritancewithlabelidswithlocalewithcontentformats.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.beta.security.datasecurityandgovernance.sensitivitylabels.item.sublabels.computeinheritancewithlabelidswithlocalewithcontentformats.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder::|public|withUrl(rawUrl:String):ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder +com.microsoft.graph.beta.security.datasecurityandgovernance.sensitivitylabels.item.sublabels.computerightsandinheritance.ComputeRightsAndInheritancePostRequestBody::|protected|backingStore:BackingStore +com.microsoft.graph.beta.security.datasecurityandgovernance.sensitivitylabels.item.sublabels.computerightsandinheritance.ComputeRightsAndInheritancePostRequestBody::|public|constructor():void +com.microsoft.graph.beta.security.datasecurityandgovernance.sensitivitylabels.item.sublabels.computerightsandinheritance.ComputeRightsAndInheritancePostRequestBody::|public|getAdditionalData():Map +com.microsoft.graph.beta.security.datasecurityandgovernance.sensitivitylabels.item.sublabels.computerightsandinheritance.ComputeRightsAndInheritancePostRequestBody::|public|getBackingStore():BackingStore +com.microsoft.graph.beta.security.datasecurityandgovernance.sensitivitylabels.item.sublabels.computerightsandinheritance.ComputeRightsAndInheritancePostRequestBody::|public|getDelegatedUserEmail():String +com.microsoft.graph.beta.security.datasecurityandgovernance.sensitivitylabels.item.sublabels.computerightsandinheritance.ComputeRightsAndInheritancePostRequestBody::|public|getFieldDeserializers():Map> +com.microsoft.graph.beta.security.datasecurityandgovernance.sensitivitylabels.item.sublabels.computerightsandinheritance.ComputeRightsAndInheritancePostRequestBody::|public|getLocale():String +com.microsoft.graph.beta.security.datasecurityandgovernance.sensitivitylabels.item.sublabels.computerightsandinheritance.ComputeRightsAndInheritancePostRequestBody::|public|getProtectedContents():java.util.List +com.microsoft.graph.beta.security.datasecurityandgovernance.sensitivitylabels.item.sublabels.computerightsandinheritance.ComputeRightsAndInheritancePostRequestBody::|public|getSupportedContentFormats():java.util.List +com.microsoft.graph.beta.security.datasecurityandgovernance.sensitivitylabels.item.sublabels.computerightsandinheritance.ComputeRightsAndInheritancePostRequestBody::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.beta.security.datasecurityandgovernance.sensitivitylabels.item.sublabels.computerightsandinheritance.ComputeRightsAndInheritancePostRequestBody::|public|setAdditionalData(value?:Map):void +com.microsoft.graph.beta.security.datasecurityandgovernance.sensitivitylabels.item.sublabels.computerightsandinheritance.ComputeRightsAndInheritancePostRequestBody::|public|setBackingStore(value:BackingStore):void +com.microsoft.graph.beta.security.datasecurityandgovernance.sensitivitylabels.item.sublabels.computerightsandinheritance.ComputeRightsAndInheritancePostRequestBody::|public|setDelegatedUserEmail(value?:String):void +com.microsoft.graph.beta.security.datasecurityandgovernance.sensitivitylabels.item.sublabels.computerightsandinheritance.ComputeRightsAndInheritancePostRequestBody::|public|setLocale(value?:String):void +com.microsoft.graph.beta.security.datasecurityandgovernance.sensitivitylabels.item.sublabels.computerightsandinheritance.ComputeRightsAndInheritancePostRequestBody::|public|setProtectedContents(value?:java.util.List):void +com.microsoft.graph.beta.security.datasecurityandgovernance.sensitivitylabels.item.sublabels.computerightsandinheritance.ComputeRightsAndInheritancePostRequestBody::|public|setSupportedContentFormats(value?:java.util.List):void +com.microsoft.graph.beta.security.datasecurityandgovernance.sensitivitylabels.item.sublabels.computerightsandinheritance.ComputeRightsAndInheritancePostRequestBody::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):ComputeRightsAndInheritancePostRequestBody +com.microsoft.graph.beta.security.datasecurityandgovernance.sensitivitylabels.item.sublabels.computerightsandinheritance.ComputeRightsAndInheritancePostRequestBody~~>AdditionalDataHolder; BackedModel; Parsable +com.microsoft.graph.beta.security.datasecurityandgovernance.sensitivitylabels.item.sublabels.computerightsandinheritance.ComputeRightsAndInheritanceRequestBuilder-->BaseRequestBuilder +com.microsoft.graph.beta.security.datasecurityandgovernance.sensitivitylabels.item.sublabels.computerightsandinheritance.ComputeRightsAndInheritanceRequestBuilder.PostRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.beta.security.datasecurityandgovernance.sensitivitylabels.item.sublabels.computerightsandinheritance.ComputeRightsAndInheritanceRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.security.datasecurityandgovernance.sensitivitylabels.item.sublabels.computerightsandinheritance.ComputeRightsAndInheritanceRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.security.datasecurityandgovernance.sensitivitylabels.item.sublabels.computerightsandinheritance.ComputeRightsAndInheritanceRequestBuilder::|public|post(body:ComputeRightsAndInheritancePostRequestBody):ComputeRightsAndInheritanceResult +com.microsoft.graph.beta.security.datasecurityandgovernance.sensitivitylabels.item.sublabels.computerightsandinheritance.ComputeRightsAndInheritanceRequestBuilder::|public|post(body:ComputeRightsAndInheritancePostRequestBody; requestConfiguration?:java.util.function.Consumer):ComputeRightsAndInheritanceResult +com.microsoft.graph.beta.security.datasecurityandgovernance.sensitivitylabels.item.sublabels.computerightsandinheritance.ComputeRightsAndInheritanceRequestBuilder::|public|toPostRequestInformation(body:ComputeRightsAndInheritancePostRequestBody):RequestInformation +com.microsoft.graph.beta.security.datasecurityandgovernance.sensitivitylabels.item.sublabels.computerightsandinheritance.ComputeRightsAndInheritanceRequestBuilder::|public|toPostRequestInformation(body:ComputeRightsAndInheritancePostRequestBody; requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.beta.security.datasecurityandgovernance.sensitivitylabels.item.sublabels.computerightsandinheritance.ComputeRightsAndInheritanceRequestBuilder::|public|withUrl(rawUrl:String):ComputeRightsAndInheritanceRequestBuilder com.microsoft.graph.beta.security.datasecurityandgovernance.sensitivitylabels.item.sublabels.count.CountRequestBuilder-->BaseRequestBuilder com.microsoft.graph.beta.security.datasecurityandgovernance.sensitivitylabels.item.sublabels.count.CountRequestBuilder.GetQueryParameters::|public|filter:String com.microsoft.graph.beta.security.datasecurityandgovernance.sensitivitylabels.item.sublabels.count.CountRequestBuilder.GetQueryParameters::|public|search:String @@ -315448,6 +316134,20 @@ com.microsoft.graph.beta.security.datasecurityandgovernance.sensitivitylabels.it com.microsoft.graph.beta.security.datasecurityandgovernance.sensitivitylabels.item.sublabels.evaluate.EvaluateRequestBuilder::|public|toPostRequestInformation(body:EvaluatePostRequestBody):RequestInformation com.microsoft.graph.beta.security.datasecurityandgovernance.sensitivitylabels.item.sublabels.evaluate.EvaluateRequestBuilder::|public|toPostRequestInformation(body:EvaluatePostRequestBody; requestConfiguration?:java.util.function.Consumer):RequestInformation com.microsoft.graph.beta.security.datasecurityandgovernance.sensitivitylabels.item.sublabels.evaluate.EvaluateRequestBuilder::|public|withUrl(rawUrl:String):EvaluateRequestBuilder +com.microsoft.graph.beta.security.datasecurityandgovernance.sensitivitylabels.item.sublabels.item.rights.RightsRequestBuilder-->BaseRequestBuilder +com.microsoft.graph.beta.security.datasecurityandgovernance.sensitivitylabels.item.sublabels.item.rights.RightsRequestBuilder.GetQueryParameters::|public|expand:String[] +com.microsoft.graph.beta.security.datasecurityandgovernance.sensitivitylabels.item.sublabels.item.rights.RightsRequestBuilder.GetQueryParameters::|public|select:String[] +com.microsoft.graph.beta.security.datasecurityandgovernance.sensitivitylabels.item.sublabels.item.rights.RightsRequestBuilder.GetQueryParameters::|public|toQueryParameters():Map +com.microsoft.graph.beta.security.datasecurityandgovernance.sensitivitylabels.item.sublabels.item.rights.RightsRequestBuilder.GetQueryParameters~~>QueryParameters +com.microsoft.graph.beta.security.datasecurityandgovernance.sensitivitylabels.item.sublabels.item.rights.RightsRequestBuilder.GetRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.beta.security.datasecurityandgovernance.sensitivitylabels.item.sublabels.item.rights.RightsRequestBuilder.GetRequestConfiguration::|public|queryParameters:GetQueryParameters +com.microsoft.graph.beta.security.datasecurityandgovernance.sensitivitylabels.item.sublabels.item.rights.RightsRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.security.datasecurityandgovernance.sensitivitylabels.item.sublabels.item.rights.RightsRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.security.datasecurityandgovernance.sensitivitylabels.item.sublabels.item.rights.RightsRequestBuilder::|public|get():UsageRightsIncluded +com.microsoft.graph.beta.security.datasecurityandgovernance.sensitivitylabels.item.sublabels.item.rights.RightsRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):UsageRightsIncluded +com.microsoft.graph.beta.security.datasecurityandgovernance.sensitivitylabels.item.sublabels.item.rights.RightsRequestBuilder::|public|toGetRequestInformation():RequestInformation +com.microsoft.graph.beta.security.datasecurityandgovernance.sensitivitylabels.item.sublabels.item.rights.RightsRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.beta.security.datasecurityandgovernance.sensitivitylabels.item.sublabels.item.rights.RightsRequestBuilder::|public|withUrl(rawUrl:String):RightsRequestBuilder com.microsoft.graph.beta.security.datasecurityandgovernance.sensitivitylabels.item.sublabels.item.SensitivityLabelItemRequestBuilder-->BaseRequestBuilder com.microsoft.graph.beta.security.datasecurityandgovernance.sensitivitylabels.item.sublabels.item.SensitivityLabelItemRequestBuilder.DeleteRequestConfiguration-->BaseRequestConfiguration com.microsoft.graph.beta.security.datasecurityandgovernance.sensitivitylabels.item.sublabels.item.SensitivityLabelItemRequestBuilder.GetQueryParameters::|public|expand:String[] @@ -315465,6 +316165,7 @@ com.microsoft.graph.beta.security.datasecurityandgovernance.sensitivitylabels.it com.microsoft.graph.beta.security.datasecurityandgovernance.sensitivitylabels.item.sublabels.item.SensitivityLabelItemRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):SensitivityLabel com.microsoft.graph.beta.security.datasecurityandgovernance.sensitivitylabels.item.sublabels.item.SensitivityLabelItemRequestBuilder::|public|patch(body:SensitivityLabel):SensitivityLabel com.microsoft.graph.beta.security.datasecurityandgovernance.sensitivitylabels.item.sublabels.item.SensitivityLabelItemRequestBuilder::|public|patch(body:SensitivityLabel; requestConfiguration?:java.util.function.Consumer):SensitivityLabel +com.microsoft.graph.beta.security.datasecurityandgovernance.sensitivitylabels.item.sublabels.item.SensitivityLabelItemRequestBuilder::|public|rights:RightsRequestBuilder com.microsoft.graph.beta.security.datasecurityandgovernance.sensitivitylabels.item.sublabels.item.SensitivityLabelItemRequestBuilder::|public|toDeleteRequestInformation():RequestInformation com.microsoft.graph.beta.security.datasecurityandgovernance.sensitivitylabels.item.sublabels.item.SensitivityLabelItemRequestBuilder::|public|toDeleteRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation com.microsoft.graph.beta.security.datasecurityandgovernance.sensitivitylabels.item.sublabels.item.SensitivityLabelItemRequestBuilder::|public|toGetRequestInformation():RequestInformation @@ -315487,6 +316188,8 @@ com.microsoft.graph.beta.security.datasecurityandgovernance.sensitivitylabels.it com.microsoft.graph.beta.security.datasecurityandgovernance.sensitivitylabels.item.sublabels.SublabelsRequestBuilder.GetRequestConfiguration::|public|queryParameters:GetQueryParameters com.microsoft.graph.beta.security.datasecurityandgovernance.sensitivitylabels.item.sublabels.SublabelsRequestBuilder.PostRequestConfiguration-->BaseRequestConfiguration com.microsoft.graph.beta.security.datasecurityandgovernance.sensitivitylabels.item.sublabels.SublabelsRequestBuilder::|public|bySensitivityLabelId1(sensitivityLabelId1:String):SensitivityLabelItemRequestBuilder +com.microsoft.graph.beta.security.datasecurityandgovernance.sensitivitylabels.item.sublabels.SublabelsRequestBuilder::|public|computeInheritanceWithLabelIdsWithLocaleWithContentFormats(contentFormats:String; labelIds:String; locale:String):ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder +com.microsoft.graph.beta.security.datasecurityandgovernance.sensitivitylabels.item.sublabels.SublabelsRequestBuilder::|public|computeRightsAndInheritance:ComputeRightsAndInheritanceRequestBuilder com.microsoft.graph.beta.security.datasecurityandgovernance.sensitivitylabels.item.sublabels.SublabelsRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void com.microsoft.graph.beta.security.datasecurityandgovernance.sensitivitylabels.item.sublabels.SublabelsRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void com.microsoft.graph.beta.security.datasecurityandgovernance.sensitivitylabels.item.sublabels.SublabelsRequestBuilder::|public|count:CountRequestBuilder @@ -315515,6 +316218,8 @@ com.microsoft.graph.beta.security.datasecurityandgovernance.sensitivitylabels.Se com.microsoft.graph.beta.security.datasecurityandgovernance.sensitivitylabels.SensitivityLabelsRequestBuilder.GetRequestConfiguration::|public|queryParameters:GetQueryParameters com.microsoft.graph.beta.security.datasecurityandgovernance.sensitivitylabels.SensitivityLabelsRequestBuilder.PostRequestConfiguration-->BaseRequestConfiguration com.microsoft.graph.beta.security.datasecurityandgovernance.sensitivitylabels.SensitivityLabelsRequestBuilder::|public|bySensitivityLabelId(sensitivityLabelId:String):SensitivityLabelItemRequestBuilder +com.microsoft.graph.beta.security.datasecurityandgovernance.sensitivitylabels.SensitivityLabelsRequestBuilder::|public|computeInheritanceWithLabelIdsWithLocaleWithContentFormats(contentFormats:String; labelIds:String; locale:String):ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder +com.microsoft.graph.beta.security.datasecurityandgovernance.sensitivitylabels.SensitivityLabelsRequestBuilder::|public|computeRightsAndInheritance:ComputeRightsAndInheritanceRequestBuilder com.microsoft.graph.beta.security.datasecurityandgovernance.sensitivitylabels.SensitivityLabelsRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void com.microsoft.graph.beta.security.datasecurityandgovernance.sensitivitylabels.SensitivityLabelsRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void com.microsoft.graph.beta.security.datasecurityandgovernance.sensitivitylabels.SensitivityLabelsRequestBuilder::|public|count:CountRequestBuilder @@ -329524,6 +330229,42 @@ com.microsoft.graph.beta.sites.item.informationprotection.policy.PolicyRequestBu com.microsoft.graph.beta.sites.item.informationprotection.policy.PolicyRequestBuilder::|public|toPatchRequestInformation(body:InformationProtectionPolicy):RequestInformation com.microsoft.graph.beta.sites.item.informationprotection.policy.PolicyRequestBuilder::|public|toPatchRequestInformation(body:InformationProtectionPolicy; requestConfiguration?:java.util.function.Consumer):RequestInformation com.microsoft.graph.beta.sites.item.informationprotection.policy.PolicyRequestBuilder::|public|withUrl(rawUrl:String):PolicyRequestBuilder +com.microsoft.graph.beta.sites.item.informationprotection.sensitivitylabels.computeinheritancewithlabelidswithlocalewithcontentformats.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder-->BaseRequestBuilder +com.microsoft.graph.beta.sites.item.informationprotection.sensitivitylabels.computeinheritancewithlabelidswithlocalewithcontentformats.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder.GetRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.beta.sites.item.informationprotection.sensitivitylabels.computeinheritancewithlabelidswithlocalewithcontentformats.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter; contentFormats?:String; labelIds?:String; locale?:String):Void +com.microsoft.graph.beta.sites.item.informationprotection.sensitivitylabels.computeinheritancewithlabelidswithlocalewithcontentformats.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.sites.item.informationprotection.sensitivitylabels.computeinheritancewithlabelidswithlocalewithcontentformats.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder::|public|get():SensitivityLabel +com.microsoft.graph.beta.sites.item.informationprotection.sensitivitylabels.computeinheritancewithlabelidswithlocalewithcontentformats.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):SensitivityLabel +com.microsoft.graph.beta.sites.item.informationprotection.sensitivitylabels.computeinheritancewithlabelidswithlocalewithcontentformats.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder::|public|toGetRequestInformation():RequestInformation +com.microsoft.graph.beta.sites.item.informationprotection.sensitivitylabels.computeinheritancewithlabelidswithlocalewithcontentformats.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.beta.sites.item.informationprotection.sensitivitylabels.computeinheritancewithlabelidswithlocalewithcontentformats.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder::|public|withUrl(rawUrl:String):ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder +com.microsoft.graph.beta.sites.item.informationprotection.sensitivitylabels.computerightsandinheritance.ComputeRightsAndInheritancePostRequestBody::|protected|backingStore:BackingStore +com.microsoft.graph.beta.sites.item.informationprotection.sensitivitylabels.computerightsandinheritance.ComputeRightsAndInheritancePostRequestBody::|public|constructor():void +com.microsoft.graph.beta.sites.item.informationprotection.sensitivitylabels.computerightsandinheritance.ComputeRightsAndInheritancePostRequestBody::|public|getAdditionalData():Map +com.microsoft.graph.beta.sites.item.informationprotection.sensitivitylabels.computerightsandinheritance.ComputeRightsAndInheritancePostRequestBody::|public|getBackingStore():BackingStore +com.microsoft.graph.beta.sites.item.informationprotection.sensitivitylabels.computerightsandinheritance.ComputeRightsAndInheritancePostRequestBody::|public|getDelegatedUserEmail():String +com.microsoft.graph.beta.sites.item.informationprotection.sensitivitylabels.computerightsandinheritance.ComputeRightsAndInheritancePostRequestBody::|public|getFieldDeserializers():Map> +com.microsoft.graph.beta.sites.item.informationprotection.sensitivitylabels.computerightsandinheritance.ComputeRightsAndInheritancePostRequestBody::|public|getLocale():String +com.microsoft.graph.beta.sites.item.informationprotection.sensitivitylabels.computerightsandinheritance.ComputeRightsAndInheritancePostRequestBody::|public|getProtectedContents():java.util.List +com.microsoft.graph.beta.sites.item.informationprotection.sensitivitylabels.computerightsandinheritance.ComputeRightsAndInheritancePostRequestBody::|public|getSupportedContentFormats():java.util.List +com.microsoft.graph.beta.sites.item.informationprotection.sensitivitylabels.computerightsandinheritance.ComputeRightsAndInheritancePostRequestBody::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.beta.sites.item.informationprotection.sensitivitylabels.computerightsandinheritance.ComputeRightsAndInheritancePostRequestBody::|public|setAdditionalData(value?:Map):void +com.microsoft.graph.beta.sites.item.informationprotection.sensitivitylabels.computerightsandinheritance.ComputeRightsAndInheritancePostRequestBody::|public|setBackingStore(value:BackingStore):void +com.microsoft.graph.beta.sites.item.informationprotection.sensitivitylabels.computerightsandinheritance.ComputeRightsAndInheritancePostRequestBody::|public|setDelegatedUserEmail(value?:String):void +com.microsoft.graph.beta.sites.item.informationprotection.sensitivitylabels.computerightsandinheritance.ComputeRightsAndInheritancePostRequestBody::|public|setLocale(value?:String):void +com.microsoft.graph.beta.sites.item.informationprotection.sensitivitylabels.computerightsandinheritance.ComputeRightsAndInheritancePostRequestBody::|public|setProtectedContents(value?:java.util.List):void +com.microsoft.graph.beta.sites.item.informationprotection.sensitivitylabels.computerightsandinheritance.ComputeRightsAndInheritancePostRequestBody::|public|setSupportedContentFormats(value?:java.util.List):void +com.microsoft.graph.beta.sites.item.informationprotection.sensitivitylabels.computerightsandinheritance.ComputeRightsAndInheritancePostRequestBody::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):ComputeRightsAndInheritancePostRequestBody +com.microsoft.graph.beta.sites.item.informationprotection.sensitivitylabels.computerightsandinheritance.ComputeRightsAndInheritancePostRequestBody~~>AdditionalDataHolder; BackedModel; Parsable +com.microsoft.graph.beta.sites.item.informationprotection.sensitivitylabels.computerightsandinheritance.ComputeRightsAndInheritanceRequestBuilder-->BaseRequestBuilder +com.microsoft.graph.beta.sites.item.informationprotection.sensitivitylabels.computerightsandinheritance.ComputeRightsAndInheritanceRequestBuilder.PostRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.beta.sites.item.informationprotection.sensitivitylabels.computerightsandinheritance.ComputeRightsAndInheritanceRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.sites.item.informationprotection.sensitivitylabels.computerightsandinheritance.ComputeRightsAndInheritanceRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.sites.item.informationprotection.sensitivitylabels.computerightsandinheritance.ComputeRightsAndInheritanceRequestBuilder::|public|post(body:ComputeRightsAndInheritancePostRequestBody):ComputeRightsAndInheritanceResult +com.microsoft.graph.beta.sites.item.informationprotection.sensitivitylabels.computerightsandinheritance.ComputeRightsAndInheritanceRequestBuilder::|public|post(body:ComputeRightsAndInheritancePostRequestBody; requestConfiguration?:java.util.function.Consumer):ComputeRightsAndInheritanceResult +com.microsoft.graph.beta.sites.item.informationprotection.sensitivitylabels.computerightsandinheritance.ComputeRightsAndInheritanceRequestBuilder::|public|toPostRequestInformation(body:ComputeRightsAndInheritancePostRequestBody):RequestInformation +com.microsoft.graph.beta.sites.item.informationprotection.sensitivitylabels.computerightsandinheritance.ComputeRightsAndInheritanceRequestBuilder::|public|toPostRequestInformation(body:ComputeRightsAndInheritancePostRequestBody; requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.beta.sites.item.informationprotection.sensitivitylabels.computerightsandinheritance.ComputeRightsAndInheritanceRequestBuilder::|public|withUrl(rawUrl:String):ComputeRightsAndInheritanceRequestBuilder com.microsoft.graph.beta.sites.item.informationprotection.sensitivitylabels.count.CountRequestBuilder-->BaseRequestBuilder com.microsoft.graph.beta.sites.item.informationprotection.sensitivitylabels.count.CountRequestBuilder.GetQueryParameters::|public|filter:String com.microsoft.graph.beta.sites.item.informationprotection.sensitivitylabels.count.CountRequestBuilder.GetQueryParameters::|public|search:String @@ -329561,6 +330302,20 @@ com.microsoft.graph.beta.sites.item.informationprotection.sensitivitylabels.eval com.microsoft.graph.beta.sites.item.informationprotection.sensitivitylabels.evaluate.EvaluateRequestBuilder::|public|toPostRequestInformation(body:EvaluatePostRequestBody):RequestInformation com.microsoft.graph.beta.sites.item.informationprotection.sensitivitylabels.evaluate.EvaluateRequestBuilder::|public|toPostRequestInformation(body:EvaluatePostRequestBody; requestConfiguration?:java.util.function.Consumer):RequestInformation com.microsoft.graph.beta.sites.item.informationprotection.sensitivitylabels.evaluate.EvaluateRequestBuilder::|public|withUrl(rawUrl:String):EvaluateRequestBuilder +com.microsoft.graph.beta.sites.item.informationprotection.sensitivitylabels.item.rights.RightsRequestBuilder-->BaseRequestBuilder +com.microsoft.graph.beta.sites.item.informationprotection.sensitivitylabels.item.rights.RightsRequestBuilder.GetQueryParameters::|public|expand:String[] +com.microsoft.graph.beta.sites.item.informationprotection.sensitivitylabels.item.rights.RightsRequestBuilder.GetQueryParameters::|public|select:String[] +com.microsoft.graph.beta.sites.item.informationprotection.sensitivitylabels.item.rights.RightsRequestBuilder.GetQueryParameters::|public|toQueryParameters():Map +com.microsoft.graph.beta.sites.item.informationprotection.sensitivitylabels.item.rights.RightsRequestBuilder.GetQueryParameters~~>QueryParameters +com.microsoft.graph.beta.sites.item.informationprotection.sensitivitylabels.item.rights.RightsRequestBuilder.GetRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.beta.sites.item.informationprotection.sensitivitylabels.item.rights.RightsRequestBuilder.GetRequestConfiguration::|public|queryParameters:GetQueryParameters +com.microsoft.graph.beta.sites.item.informationprotection.sensitivitylabels.item.rights.RightsRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.sites.item.informationprotection.sensitivitylabels.item.rights.RightsRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.sites.item.informationprotection.sensitivitylabels.item.rights.RightsRequestBuilder::|public|get():UsageRightsIncluded +com.microsoft.graph.beta.sites.item.informationprotection.sensitivitylabels.item.rights.RightsRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):UsageRightsIncluded +com.microsoft.graph.beta.sites.item.informationprotection.sensitivitylabels.item.rights.RightsRequestBuilder::|public|toGetRequestInformation():RequestInformation +com.microsoft.graph.beta.sites.item.informationprotection.sensitivitylabels.item.rights.RightsRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.beta.sites.item.informationprotection.sensitivitylabels.item.rights.RightsRequestBuilder::|public|withUrl(rawUrl:String):RightsRequestBuilder com.microsoft.graph.beta.sites.item.informationprotection.sensitivitylabels.item.SensitivityLabelItemRequestBuilder-->BaseRequestBuilder com.microsoft.graph.beta.sites.item.informationprotection.sensitivitylabels.item.SensitivityLabelItemRequestBuilder.DeleteRequestConfiguration-->BaseRequestConfiguration com.microsoft.graph.beta.sites.item.informationprotection.sensitivitylabels.item.SensitivityLabelItemRequestBuilder.GetQueryParameters::|public|expand:String[] @@ -329578,6 +330333,7 @@ com.microsoft.graph.beta.sites.item.informationprotection.sensitivitylabels.item com.microsoft.graph.beta.sites.item.informationprotection.sensitivitylabels.item.SensitivityLabelItemRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):SensitivityLabel com.microsoft.graph.beta.sites.item.informationprotection.sensitivitylabels.item.SensitivityLabelItemRequestBuilder::|public|patch(body:SensitivityLabel):SensitivityLabel com.microsoft.graph.beta.sites.item.informationprotection.sensitivitylabels.item.SensitivityLabelItemRequestBuilder::|public|patch(body:SensitivityLabel; requestConfiguration?:java.util.function.Consumer):SensitivityLabel +com.microsoft.graph.beta.sites.item.informationprotection.sensitivitylabels.item.SensitivityLabelItemRequestBuilder::|public|rights:RightsRequestBuilder com.microsoft.graph.beta.sites.item.informationprotection.sensitivitylabels.item.SensitivityLabelItemRequestBuilder::|public|sublabels:SublabelsRequestBuilder com.microsoft.graph.beta.sites.item.informationprotection.sensitivitylabels.item.SensitivityLabelItemRequestBuilder::|public|toDeleteRequestInformation():RequestInformation com.microsoft.graph.beta.sites.item.informationprotection.sensitivitylabels.item.SensitivityLabelItemRequestBuilder::|public|toDeleteRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation @@ -329586,6 +330342,42 @@ com.microsoft.graph.beta.sites.item.informationprotection.sensitivitylabels.item com.microsoft.graph.beta.sites.item.informationprotection.sensitivitylabels.item.SensitivityLabelItemRequestBuilder::|public|toPatchRequestInformation(body:SensitivityLabel):RequestInformation com.microsoft.graph.beta.sites.item.informationprotection.sensitivitylabels.item.SensitivityLabelItemRequestBuilder::|public|toPatchRequestInformation(body:SensitivityLabel; requestConfiguration?:java.util.function.Consumer):RequestInformation com.microsoft.graph.beta.sites.item.informationprotection.sensitivitylabels.item.SensitivityLabelItemRequestBuilder::|public|withUrl(rawUrl:String):SensitivityLabelItemRequestBuilder +com.microsoft.graph.beta.sites.item.informationprotection.sensitivitylabels.item.sublabels.computeinheritancewithlabelidswithlocalewithcontentformats.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder-->BaseRequestBuilder +com.microsoft.graph.beta.sites.item.informationprotection.sensitivitylabels.item.sublabels.computeinheritancewithlabelidswithlocalewithcontentformats.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder.GetRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.beta.sites.item.informationprotection.sensitivitylabels.item.sublabels.computeinheritancewithlabelidswithlocalewithcontentformats.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter; contentFormats?:String; labelIds?:String; locale?:String):Void +com.microsoft.graph.beta.sites.item.informationprotection.sensitivitylabels.item.sublabels.computeinheritancewithlabelidswithlocalewithcontentformats.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.sites.item.informationprotection.sensitivitylabels.item.sublabels.computeinheritancewithlabelidswithlocalewithcontentformats.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder::|public|get():SensitivityLabel +com.microsoft.graph.beta.sites.item.informationprotection.sensitivitylabels.item.sublabels.computeinheritancewithlabelidswithlocalewithcontentformats.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):SensitivityLabel +com.microsoft.graph.beta.sites.item.informationprotection.sensitivitylabels.item.sublabels.computeinheritancewithlabelidswithlocalewithcontentformats.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder::|public|toGetRequestInformation():RequestInformation +com.microsoft.graph.beta.sites.item.informationprotection.sensitivitylabels.item.sublabels.computeinheritancewithlabelidswithlocalewithcontentformats.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.beta.sites.item.informationprotection.sensitivitylabels.item.sublabels.computeinheritancewithlabelidswithlocalewithcontentformats.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder::|public|withUrl(rawUrl:String):ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder +com.microsoft.graph.beta.sites.item.informationprotection.sensitivitylabels.item.sublabels.computerightsandinheritance.ComputeRightsAndInheritancePostRequestBody::|protected|backingStore:BackingStore +com.microsoft.graph.beta.sites.item.informationprotection.sensitivitylabels.item.sublabels.computerightsandinheritance.ComputeRightsAndInheritancePostRequestBody::|public|constructor():void +com.microsoft.graph.beta.sites.item.informationprotection.sensitivitylabels.item.sublabels.computerightsandinheritance.ComputeRightsAndInheritancePostRequestBody::|public|getAdditionalData():Map +com.microsoft.graph.beta.sites.item.informationprotection.sensitivitylabels.item.sublabels.computerightsandinheritance.ComputeRightsAndInheritancePostRequestBody::|public|getBackingStore():BackingStore +com.microsoft.graph.beta.sites.item.informationprotection.sensitivitylabels.item.sublabels.computerightsandinheritance.ComputeRightsAndInheritancePostRequestBody::|public|getDelegatedUserEmail():String +com.microsoft.graph.beta.sites.item.informationprotection.sensitivitylabels.item.sublabels.computerightsandinheritance.ComputeRightsAndInheritancePostRequestBody::|public|getFieldDeserializers():Map> +com.microsoft.graph.beta.sites.item.informationprotection.sensitivitylabels.item.sublabels.computerightsandinheritance.ComputeRightsAndInheritancePostRequestBody::|public|getLocale():String +com.microsoft.graph.beta.sites.item.informationprotection.sensitivitylabels.item.sublabels.computerightsandinheritance.ComputeRightsAndInheritancePostRequestBody::|public|getProtectedContents():java.util.List +com.microsoft.graph.beta.sites.item.informationprotection.sensitivitylabels.item.sublabels.computerightsandinheritance.ComputeRightsAndInheritancePostRequestBody::|public|getSupportedContentFormats():java.util.List +com.microsoft.graph.beta.sites.item.informationprotection.sensitivitylabels.item.sublabels.computerightsandinheritance.ComputeRightsAndInheritancePostRequestBody::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.beta.sites.item.informationprotection.sensitivitylabels.item.sublabels.computerightsandinheritance.ComputeRightsAndInheritancePostRequestBody::|public|setAdditionalData(value?:Map):void +com.microsoft.graph.beta.sites.item.informationprotection.sensitivitylabels.item.sublabels.computerightsandinheritance.ComputeRightsAndInheritancePostRequestBody::|public|setBackingStore(value:BackingStore):void +com.microsoft.graph.beta.sites.item.informationprotection.sensitivitylabels.item.sublabels.computerightsandinheritance.ComputeRightsAndInheritancePostRequestBody::|public|setDelegatedUserEmail(value?:String):void +com.microsoft.graph.beta.sites.item.informationprotection.sensitivitylabels.item.sublabels.computerightsandinheritance.ComputeRightsAndInheritancePostRequestBody::|public|setLocale(value?:String):void +com.microsoft.graph.beta.sites.item.informationprotection.sensitivitylabels.item.sublabels.computerightsandinheritance.ComputeRightsAndInheritancePostRequestBody::|public|setProtectedContents(value?:java.util.List):void +com.microsoft.graph.beta.sites.item.informationprotection.sensitivitylabels.item.sublabels.computerightsandinheritance.ComputeRightsAndInheritancePostRequestBody::|public|setSupportedContentFormats(value?:java.util.List):void +com.microsoft.graph.beta.sites.item.informationprotection.sensitivitylabels.item.sublabels.computerightsandinheritance.ComputeRightsAndInheritancePostRequestBody::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):ComputeRightsAndInheritancePostRequestBody +com.microsoft.graph.beta.sites.item.informationprotection.sensitivitylabels.item.sublabels.computerightsandinheritance.ComputeRightsAndInheritancePostRequestBody~~>AdditionalDataHolder; BackedModel; Parsable +com.microsoft.graph.beta.sites.item.informationprotection.sensitivitylabels.item.sublabels.computerightsandinheritance.ComputeRightsAndInheritanceRequestBuilder-->BaseRequestBuilder +com.microsoft.graph.beta.sites.item.informationprotection.sensitivitylabels.item.sublabels.computerightsandinheritance.ComputeRightsAndInheritanceRequestBuilder.PostRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.beta.sites.item.informationprotection.sensitivitylabels.item.sublabels.computerightsandinheritance.ComputeRightsAndInheritanceRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.sites.item.informationprotection.sensitivitylabels.item.sublabels.computerightsandinheritance.ComputeRightsAndInheritanceRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.sites.item.informationprotection.sensitivitylabels.item.sublabels.computerightsandinheritance.ComputeRightsAndInheritanceRequestBuilder::|public|post(body:ComputeRightsAndInheritancePostRequestBody):ComputeRightsAndInheritanceResult +com.microsoft.graph.beta.sites.item.informationprotection.sensitivitylabels.item.sublabels.computerightsandinheritance.ComputeRightsAndInheritanceRequestBuilder::|public|post(body:ComputeRightsAndInheritancePostRequestBody; requestConfiguration?:java.util.function.Consumer):ComputeRightsAndInheritanceResult +com.microsoft.graph.beta.sites.item.informationprotection.sensitivitylabels.item.sublabels.computerightsandinheritance.ComputeRightsAndInheritanceRequestBuilder::|public|toPostRequestInformation(body:ComputeRightsAndInheritancePostRequestBody):RequestInformation +com.microsoft.graph.beta.sites.item.informationprotection.sensitivitylabels.item.sublabels.computerightsandinheritance.ComputeRightsAndInheritanceRequestBuilder::|public|toPostRequestInformation(body:ComputeRightsAndInheritancePostRequestBody; requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.beta.sites.item.informationprotection.sensitivitylabels.item.sublabels.computerightsandinheritance.ComputeRightsAndInheritanceRequestBuilder::|public|withUrl(rawUrl:String):ComputeRightsAndInheritanceRequestBuilder com.microsoft.graph.beta.sites.item.informationprotection.sensitivitylabels.item.sublabels.count.CountRequestBuilder-->BaseRequestBuilder com.microsoft.graph.beta.sites.item.informationprotection.sensitivitylabels.item.sublabels.count.CountRequestBuilder.GetQueryParameters::|public|filter:String com.microsoft.graph.beta.sites.item.informationprotection.sensitivitylabels.item.sublabels.count.CountRequestBuilder.GetQueryParameters::|public|search:String @@ -329623,6 +330415,20 @@ com.microsoft.graph.beta.sites.item.informationprotection.sensitivitylabels.item com.microsoft.graph.beta.sites.item.informationprotection.sensitivitylabels.item.sublabels.evaluate.EvaluateRequestBuilder::|public|toPostRequestInformation(body:EvaluatePostRequestBody):RequestInformation com.microsoft.graph.beta.sites.item.informationprotection.sensitivitylabels.item.sublabels.evaluate.EvaluateRequestBuilder::|public|toPostRequestInformation(body:EvaluatePostRequestBody; requestConfiguration?:java.util.function.Consumer):RequestInformation com.microsoft.graph.beta.sites.item.informationprotection.sensitivitylabels.item.sublabels.evaluate.EvaluateRequestBuilder::|public|withUrl(rawUrl:String):EvaluateRequestBuilder +com.microsoft.graph.beta.sites.item.informationprotection.sensitivitylabels.item.sublabels.item.rights.RightsRequestBuilder-->BaseRequestBuilder +com.microsoft.graph.beta.sites.item.informationprotection.sensitivitylabels.item.sublabels.item.rights.RightsRequestBuilder.GetQueryParameters::|public|expand:String[] +com.microsoft.graph.beta.sites.item.informationprotection.sensitivitylabels.item.sublabels.item.rights.RightsRequestBuilder.GetQueryParameters::|public|select:String[] +com.microsoft.graph.beta.sites.item.informationprotection.sensitivitylabels.item.sublabels.item.rights.RightsRequestBuilder.GetQueryParameters::|public|toQueryParameters():Map +com.microsoft.graph.beta.sites.item.informationprotection.sensitivitylabels.item.sublabels.item.rights.RightsRequestBuilder.GetQueryParameters~~>QueryParameters +com.microsoft.graph.beta.sites.item.informationprotection.sensitivitylabels.item.sublabels.item.rights.RightsRequestBuilder.GetRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.beta.sites.item.informationprotection.sensitivitylabels.item.sublabels.item.rights.RightsRequestBuilder.GetRequestConfiguration::|public|queryParameters:GetQueryParameters +com.microsoft.graph.beta.sites.item.informationprotection.sensitivitylabels.item.sublabels.item.rights.RightsRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.sites.item.informationprotection.sensitivitylabels.item.sublabels.item.rights.RightsRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.sites.item.informationprotection.sensitivitylabels.item.sublabels.item.rights.RightsRequestBuilder::|public|get():UsageRightsIncluded +com.microsoft.graph.beta.sites.item.informationprotection.sensitivitylabels.item.sublabels.item.rights.RightsRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):UsageRightsIncluded +com.microsoft.graph.beta.sites.item.informationprotection.sensitivitylabels.item.sublabels.item.rights.RightsRequestBuilder::|public|toGetRequestInformation():RequestInformation +com.microsoft.graph.beta.sites.item.informationprotection.sensitivitylabels.item.sublabels.item.rights.RightsRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.beta.sites.item.informationprotection.sensitivitylabels.item.sublabels.item.rights.RightsRequestBuilder::|public|withUrl(rawUrl:String):RightsRequestBuilder com.microsoft.graph.beta.sites.item.informationprotection.sensitivitylabels.item.sublabels.item.SensitivityLabelItemRequestBuilder-->BaseRequestBuilder com.microsoft.graph.beta.sites.item.informationprotection.sensitivitylabels.item.sublabels.item.SensitivityLabelItemRequestBuilder.DeleteRequestConfiguration-->BaseRequestConfiguration com.microsoft.graph.beta.sites.item.informationprotection.sensitivitylabels.item.sublabels.item.SensitivityLabelItemRequestBuilder.GetQueryParameters::|public|expand:String[] @@ -329640,6 +330446,7 @@ com.microsoft.graph.beta.sites.item.informationprotection.sensitivitylabels.item com.microsoft.graph.beta.sites.item.informationprotection.sensitivitylabels.item.sublabels.item.SensitivityLabelItemRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):SensitivityLabel com.microsoft.graph.beta.sites.item.informationprotection.sensitivitylabels.item.sublabels.item.SensitivityLabelItemRequestBuilder::|public|patch(body:SensitivityLabel):SensitivityLabel com.microsoft.graph.beta.sites.item.informationprotection.sensitivitylabels.item.sublabels.item.SensitivityLabelItemRequestBuilder::|public|patch(body:SensitivityLabel; requestConfiguration?:java.util.function.Consumer):SensitivityLabel +com.microsoft.graph.beta.sites.item.informationprotection.sensitivitylabels.item.sublabels.item.SensitivityLabelItemRequestBuilder::|public|rights:RightsRequestBuilder com.microsoft.graph.beta.sites.item.informationprotection.sensitivitylabels.item.sublabels.item.SensitivityLabelItemRequestBuilder::|public|toDeleteRequestInformation():RequestInformation com.microsoft.graph.beta.sites.item.informationprotection.sensitivitylabels.item.sublabels.item.SensitivityLabelItemRequestBuilder::|public|toDeleteRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation com.microsoft.graph.beta.sites.item.informationprotection.sensitivitylabels.item.sublabels.item.SensitivityLabelItemRequestBuilder::|public|toGetRequestInformation():RequestInformation @@ -329662,6 +330469,8 @@ com.microsoft.graph.beta.sites.item.informationprotection.sensitivitylabels.item com.microsoft.graph.beta.sites.item.informationprotection.sensitivitylabels.item.sublabels.SublabelsRequestBuilder.GetRequestConfiguration::|public|queryParameters:GetQueryParameters com.microsoft.graph.beta.sites.item.informationprotection.sensitivitylabels.item.sublabels.SublabelsRequestBuilder.PostRequestConfiguration-->BaseRequestConfiguration com.microsoft.graph.beta.sites.item.informationprotection.sensitivitylabels.item.sublabels.SublabelsRequestBuilder::|public|bySensitivityLabelId1(sensitivityLabelId1:String):SensitivityLabelItemRequestBuilder +com.microsoft.graph.beta.sites.item.informationprotection.sensitivitylabels.item.sublabels.SublabelsRequestBuilder::|public|computeInheritanceWithLabelIdsWithLocaleWithContentFormats(contentFormats:String; labelIds:String; locale:String):ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder +com.microsoft.graph.beta.sites.item.informationprotection.sensitivitylabels.item.sublabels.SublabelsRequestBuilder::|public|computeRightsAndInheritance:ComputeRightsAndInheritanceRequestBuilder com.microsoft.graph.beta.sites.item.informationprotection.sensitivitylabels.item.sublabels.SublabelsRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void com.microsoft.graph.beta.sites.item.informationprotection.sensitivitylabels.item.sublabels.SublabelsRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void com.microsoft.graph.beta.sites.item.informationprotection.sensitivitylabels.item.sublabels.SublabelsRequestBuilder::|public|count:CountRequestBuilder @@ -329690,6 +330499,8 @@ com.microsoft.graph.beta.sites.item.informationprotection.sensitivitylabels.Sens com.microsoft.graph.beta.sites.item.informationprotection.sensitivitylabels.SensitivityLabelsRequestBuilder.GetRequestConfiguration::|public|queryParameters:GetQueryParameters com.microsoft.graph.beta.sites.item.informationprotection.sensitivitylabels.SensitivityLabelsRequestBuilder.PostRequestConfiguration-->BaseRequestConfiguration com.microsoft.graph.beta.sites.item.informationprotection.sensitivitylabels.SensitivityLabelsRequestBuilder::|public|bySensitivityLabelId(sensitivityLabelId:String):SensitivityLabelItemRequestBuilder +com.microsoft.graph.beta.sites.item.informationprotection.sensitivitylabels.SensitivityLabelsRequestBuilder::|public|computeInheritanceWithLabelIdsWithLocaleWithContentFormats(contentFormats:String; labelIds:String; locale:String):ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder +com.microsoft.graph.beta.sites.item.informationprotection.sensitivitylabels.SensitivityLabelsRequestBuilder::|public|computeRightsAndInheritance:ComputeRightsAndInheritanceRequestBuilder com.microsoft.graph.beta.sites.item.informationprotection.sensitivitylabels.SensitivityLabelsRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void com.microsoft.graph.beta.sites.item.informationprotection.sensitivitylabels.SensitivityLabelsRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void com.microsoft.graph.beta.sites.item.informationprotection.sensitivitylabels.SensitivityLabelsRequestBuilder::|public|count:CountRequestBuilder @@ -335740,6 +336551,27 @@ com.microsoft.graph.beta.sites.item.recyclebin.items.count.CountRequestBuilder:: com.microsoft.graph.beta.sites.item.recyclebin.items.count.CountRequestBuilder::|public|toGetRequestInformation():RequestInformation com.microsoft.graph.beta.sites.item.recyclebin.items.count.CountRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation com.microsoft.graph.beta.sites.item.recyclebin.items.count.CountRequestBuilder::|public|withUrl(rawUrl:String):CountRequestBuilder +com.microsoft.graph.beta.sites.item.recyclebin.items.delete.DeletePostRequestBody::|protected|backingStore:BackingStore +com.microsoft.graph.beta.sites.item.recyclebin.items.delete.DeletePostRequestBody::|public|constructor():void +com.microsoft.graph.beta.sites.item.recyclebin.items.delete.DeletePostRequestBody::|public|getAdditionalData():Map +com.microsoft.graph.beta.sites.item.recyclebin.items.delete.DeletePostRequestBody::|public|getBackingStore():BackingStore +com.microsoft.graph.beta.sites.item.recyclebin.items.delete.DeletePostRequestBody::|public|getFieldDeserializers():Map> +com.microsoft.graph.beta.sites.item.recyclebin.items.delete.DeletePostRequestBody::|public|getIds():java.util.List +com.microsoft.graph.beta.sites.item.recyclebin.items.delete.DeletePostRequestBody::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.beta.sites.item.recyclebin.items.delete.DeletePostRequestBody::|public|setAdditionalData(value?:Map):void +com.microsoft.graph.beta.sites.item.recyclebin.items.delete.DeletePostRequestBody::|public|setBackingStore(value:BackingStore):void +com.microsoft.graph.beta.sites.item.recyclebin.items.delete.DeletePostRequestBody::|public|setIds(value?:java.util.List):void +com.microsoft.graph.beta.sites.item.recyclebin.items.delete.DeletePostRequestBody::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):DeletePostRequestBody +com.microsoft.graph.beta.sites.item.recyclebin.items.delete.DeletePostRequestBody~~>AdditionalDataHolder; BackedModel; Parsable +com.microsoft.graph.beta.sites.item.recyclebin.items.delete.DeleteRequestBuilder-->BaseRequestBuilder +com.microsoft.graph.beta.sites.item.recyclebin.items.delete.DeleteRequestBuilder.PostRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.beta.sites.item.recyclebin.items.delete.DeleteRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.sites.item.recyclebin.items.delete.DeleteRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.sites.item.recyclebin.items.delete.DeleteRequestBuilder::|public|post(body:DeletePostRequestBody):Void +com.microsoft.graph.beta.sites.item.recyclebin.items.delete.DeleteRequestBuilder::|public|post(body:DeletePostRequestBody; requestConfiguration?:java.util.function.Consumer):Void +com.microsoft.graph.beta.sites.item.recyclebin.items.delete.DeleteRequestBuilder::|public|toPostRequestInformation(body:DeletePostRequestBody):RequestInformation +com.microsoft.graph.beta.sites.item.recyclebin.items.delete.DeleteRequestBuilder::|public|toPostRequestInformation(body:DeletePostRequestBody; requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.beta.sites.item.recyclebin.items.delete.DeleteRequestBuilder::|public|withUrl(rawUrl:String):DeleteRequestBuilder com.microsoft.graph.beta.sites.item.recyclebin.items.item.createdbyuser.CreatedByUserRequestBuilder-->BaseRequestBuilder com.microsoft.graph.beta.sites.item.recyclebin.items.item.createdbyuser.CreatedByUserRequestBuilder.GetQueryParameters::|public|expand:String[] com.microsoft.graph.beta.sites.item.recyclebin.items.item.createdbyuser.CreatedByUserRequestBuilder.GetQueryParameters::|public|select:String[] @@ -335924,15 +336756,45 @@ com.microsoft.graph.beta.sites.item.recyclebin.items.ItemsRequestBuilder::|publi com.microsoft.graph.beta.sites.item.recyclebin.items.ItemsRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void com.microsoft.graph.beta.sites.item.recyclebin.items.ItemsRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void com.microsoft.graph.beta.sites.item.recyclebin.items.ItemsRequestBuilder::|public|count:CountRequestBuilder +com.microsoft.graph.beta.sites.item.recyclebin.items.ItemsRequestBuilder::|public|deletePath:DeleteRequestBuilder com.microsoft.graph.beta.sites.item.recyclebin.items.ItemsRequestBuilder::|public|get():RecycleBinItemCollectionResponse com.microsoft.graph.beta.sites.item.recyclebin.items.ItemsRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):RecycleBinItemCollectionResponse com.microsoft.graph.beta.sites.item.recyclebin.items.ItemsRequestBuilder::|public|post(body:RecycleBinItem):RecycleBinItem com.microsoft.graph.beta.sites.item.recyclebin.items.ItemsRequestBuilder::|public|post(body:RecycleBinItem; requestConfiguration?:java.util.function.Consumer):RecycleBinItem +com.microsoft.graph.beta.sites.item.recyclebin.items.ItemsRequestBuilder::|public|restore:RestoreRequestBuilder com.microsoft.graph.beta.sites.item.recyclebin.items.ItemsRequestBuilder::|public|toGetRequestInformation():RequestInformation com.microsoft.graph.beta.sites.item.recyclebin.items.ItemsRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation com.microsoft.graph.beta.sites.item.recyclebin.items.ItemsRequestBuilder::|public|toPostRequestInformation(body:RecycleBinItem):RequestInformation com.microsoft.graph.beta.sites.item.recyclebin.items.ItemsRequestBuilder::|public|toPostRequestInformation(body:RecycleBinItem; requestConfiguration?:java.util.function.Consumer):RequestInformation com.microsoft.graph.beta.sites.item.recyclebin.items.ItemsRequestBuilder::|public|withUrl(rawUrl:String):ItemsRequestBuilder +com.microsoft.graph.beta.sites.item.recyclebin.items.restore.RestorePostRequestBody::|protected|backingStore:BackingStore +com.microsoft.graph.beta.sites.item.recyclebin.items.restore.RestorePostRequestBody::|public|constructor():void +com.microsoft.graph.beta.sites.item.recyclebin.items.restore.RestorePostRequestBody::|public|getAdditionalData():Map +com.microsoft.graph.beta.sites.item.recyclebin.items.restore.RestorePostRequestBody::|public|getBackingStore():BackingStore +com.microsoft.graph.beta.sites.item.recyclebin.items.restore.RestorePostRequestBody::|public|getFieldDeserializers():Map> +com.microsoft.graph.beta.sites.item.recyclebin.items.restore.RestorePostRequestBody::|public|getIds():java.util.List +com.microsoft.graph.beta.sites.item.recyclebin.items.restore.RestorePostRequestBody::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.beta.sites.item.recyclebin.items.restore.RestorePostRequestBody::|public|setAdditionalData(value?:Map):void +com.microsoft.graph.beta.sites.item.recyclebin.items.restore.RestorePostRequestBody::|public|setBackingStore(value:BackingStore):void +com.microsoft.graph.beta.sites.item.recyclebin.items.restore.RestorePostRequestBody::|public|setIds(value?:java.util.List):void +com.microsoft.graph.beta.sites.item.recyclebin.items.restore.RestorePostRequestBody::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):RestorePostRequestBody +com.microsoft.graph.beta.sites.item.recyclebin.items.restore.RestorePostRequestBody~~>AdditionalDataHolder; BackedModel; Parsable +com.microsoft.graph.beta.sites.item.recyclebin.items.restore.RestorePostResponse-->BaseCollectionPaginationCountResponse +com.microsoft.graph.beta.sites.item.recyclebin.items.restore.RestorePostResponse::|public|constructor():void +com.microsoft.graph.beta.sites.item.recyclebin.items.restore.RestorePostResponse::|public|getFieldDeserializers():Map> +com.microsoft.graph.beta.sites.item.recyclebin.items.restore.RestorePostResponse::|public|getValue():java.util.List +com.microsoft.graph.beta.sites.item.recyclebin.items.restore.RestorePostResponse::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.beta.sites.item.recyclebin.items.restore.RestorePostResponse::|public|setValue(value?:java.util.List):void +com.microsoft.graph.beta.sites.item.recyclebin.items.restore.RestorePostResponse::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):RestorePostResponse +com.microsoft.graph.beta.sites.item.recyclebin.items.restore.RestoreRequestBuilder-->BaseRequestBuilder +com.microsoft.graph.beta.sites.item.recyclebin.items.restore.RestoreRequestBuilder.PostRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.beta.sites.item.recyclebin.items.restore.RestoreRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.sites.item.recyclebin.items.restore.RestoreRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.sites.item.recyclebin.items.restore.RestoreRequestBuilder::|public|post(body:RestorePostRequestBody):RestorePostResponse +com.microsoft.graph.beta.sites.item.recyclebin.items.restore.RestoreRequestBuilder::|public|post(body:RestorePostRequestBody; requestConfiguration?:java.util.function.Consumer):RestorePostResponse +com.microsoft.graph.beta.sites.item.recyclebin.items.restore.RestoreRequestBuilder::|public|toPostRequestInformation(body:RestorePostRequestBody):RequestInformation +com.microsoft.graph.beta.sites.item.recyclebin.items.restore.RestoreRequestBuilder::|public|toPostRequestInformation(body:RestorePostRequestBody; requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.beta.sites.item.recyclebin.items.restore.RestoreRequestBuilder::|public|withUrl(rawUrl:String):RestoreRequestBuilder com.microsoft.graph.beta.sites.item.recyclebin.lastmodifiedbyuser.LastModifiedByUserRequestBuilder-->BaseRequestBuilder com.microsoft.graph.beta.sites.item.recyclebin.lastmodifiedbyuser.LastModifiedByUserRequestBuilder.GetQueryParameters::|public|expand:String[] com.microsoft.graph.beta.sites.item.recyclebin.lastmodifiedbyuser.LastModifiedByUserRequestBuilder.GetQueryParameters::|public|select:String[] @@ -345684,6 +346546,27 @@ com.microsoft.graph.beta.storage.filestorage.containers.item.recyclebin.items.co com.microsoft.graph.beta.storage.filestorage.containers.item.recyclebin.items.count.CountRequestBuilder::|public|toGetRequestInformation():RequestInformation com.microsoft.graph.beta.storage.filestorage.containers.item.recyclebin.items.count.CountRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation com.microsoft.graph.beta.storage.filestorage.containers.item.recyclebin.items.count.CountRequestBuilder::|public|withUrl(rawUrl:String):CountRequestBuilder +com.microsoft.graph.beta.storage.filestorage.containers.item.recyclebin.items.delete.DeletePostRequestBody::|protected|backingStore:BackingStore +com.microsoft.graph.beta.storage.filestorage.containers.item.recyclebin.items.delete.DeletePostRequestBody::|public|constructor():void +com.microsoft.graph.beta.storage.filestorage.containers.item.recyclebin.items.delete.DeletePostRequestBody::|public|getAdditionalData():Map +com.microsoft.graph.beta.storage.filestorage.containers.item.recyclebin.items.delete.DeletePostRequestBody::|public|getBackingStore():BackingStore +com.microsoft.graph.beta.storage.filestorage.containers.item.recyclebin.items.delete.DeletePostRequestBody::|public|getFieldDeserializers():Map> +com.microsoft.graph.beta.storage.filestorage.containers.item.recyclebin.items.delete.DeletePostRequestBody::|public|getIds():java.util.List +com.microsoft.graph.beta.storage.filestorage.containers.item.recyclebin.items.delete.DeletePostRequestBody::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.beta.storage.filestorage.containers.item.recyclebin.items.delete.DeletePostRequestBody::|public|setAdditionalData(value?:Map):void +com.microsoft.graph.beta.storage.filestorage.containers.item.recyclebin.items.delete.DeletePostRequestBody::|public|setBackingStore(value:BackingStore):void +com.microsoft.graph.beta.storage.filestorage.containers.item.recyclebin.items.delete.DeletePostRequestBody::|public|setIds(value?:java.util.List):void +com.microsoft.graph.beta.storage.filestorage.containers.item.recyclebin.items.delete.DeletePostRequestBody::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):DeletePostRequestBody +com.microsoft.graph.beta.storage.filestorage.containers.item.recyclebin.items.delete.DeletePostRequestBody~~>AdditionalDataHolder; BackedModel; Parsable +com.microsoft.graph.beta.storage.filestorage.containers.item.recyclebin.items.delete.DeleteRequestBuilder-->BaseRequestBuilder +com.microsoft.graph.beta.storage.filestorage.containers.item.recyclebin.items.delete.DeleteRequestBuilder.PostRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.beta.storage.filestorage.containers.item.recyclebin.items.delete.DeleteRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.storage.filestorage.containers.item.recyclebin.items.delete.DeleteRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.storage.filestorage.containers.item.recyclebin.items.delete.DeleteRequestBuilder::|public|post(body:DeletePostRequestBody):Void +com.microsoft.graph.beta.storage.filestorage.containers.item.recyclebin.items.delete.DeleteRequestBuilder::|public|post(body:DeletePostRequestBody; requestConfiguration?:java.util.function.Consumer):Void +com.microsoft.graph.beta.storage.filestorage.containers.item.recyclebin.items.delete.DeleteRequestBuilder::|public|toPostRequestInformation(body:DeletePostRequestBody):RequestInformation +com.microsoft.graph.beta.storage.filestorage.containers.item.recyclebin.items.delete.DeleteRequestBuilder::|public|toPostRequestInformation(body:DeletePostRequestBody; requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.beta.storage.filestorage.containers.item.recyclebin.items.delete.DeleteRequestBuilder::|public|withUrl(rawUrl:String):DeleteRequestBuilder com.microsoft.graph.beta.storage.filestorage.containers.item.recyclebin.items.item.createdbyuser.CreatedByUserRequestBuilder-->BaseRequestBuilder com.microsoft.graph.beta.storage.filestorage.containers.item.recyclebin.items.item.createdbyuser.CreatedByUserRequestBuilder.GetQueryParameters::|public|expand:String[] com.microsoft.graph.beta.storage.filestorage.containers.item.recyclebin.items.item.createdbyuser.CreatedByUserRequestBuilder.GetQueryParameters::|public|select:String[] @@ -345868,15 +346751,45 @@ com.microsoft.graph.beta.storage.filestorage.containers.item.recyclebin.items.It com.microsoft.graph.beta.storage.filestorage.containers.item.recyclebin.items.ItemsRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void com.microsoft.graph.beta.storage.filestorage.containers.item.recyclebin.items.ItemsRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void com.microsoft.graph.beta.storage.filestorage.containers.item.recyclebin.items.ItemsRequestBuilder::|public|count:CountRequestBuilder +com.microsoft.graph.beta.storage.filestorage.containers.item.recyclebin.items.ItemsRequestBuilder::|public|deletePath:DeleteRequestBuilder com.microsoft.graph.beta.storage.filestorage.containers.item.recyclebin.items.ItemsRequestBuilder::|public|get():RecycleBinItemCollectionResponse com.microsoft.graph.beta.storage.filestorage.containers.item.recyclebin.items.ItemsRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):RecycleBinItemCollectionResponse com.microsoft.graph.beta.storage.filestorage.containers.item.recyclebin.items.ItemsRequestBuilder::|public|post(body:RecycleBinItem):RecycleBinItem com.microsoft.graph.beta.storage.filestorage.containers.item.recyclebin.items.ItemsRequestBuilder::|public|post(body:RecycleBinItem; requestConfiguration?:java.util.function.Consumer):RecycleBinItem +com.microsoft.graph.beta.storage.filestorage.containers.item.recyclebin.items.ItemsRequestBuilder::|public|restore:RestoreRequestBuilder com.microsoft.graph.beta.storage.filestorage.containers.item.recyclebin.items.ItemsRequestBuilder::|public|toGetRequestInformation():RequestInformation com.microsoft.graph.beta.storage.filestorage.containers.item.recyclebin.items.ItemsRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation com.microsoft.graph.beta.storage.filestorage.containers.item.recyclebin.items.ItemsRequestBuilder::|public|toPostRequestInformation(body:RecycleBinItem):RequestInformation com.microsoft.graph.beta.storage.filestorage.containers.item.recyclebin.items.ItemsRequestBuilder::|public|toPostRequestInformation(body:RecycleBinItem; requestConfiguration?:java.util.function.Consumer):RequestInformation com.microsoft.graph.beta.storage.filestorage.containers.item.recyclebin.items.ItemsRequestBuilder::|public|withUrl(rawUrl:String):ItemsRequestBuilder +com.microsoft.graph.beta.storage.filestorage.containers.item.recyclebin.items.restore.RestorePostRequestBody::|protected|backingStore:BackingStore +com.microsoft.graph.beta.storage.filestorage.containers.item.recyclebin.items.restore.RestorePostRequestBody::|public|constructor():void +com.microsoft.graph.beta.storage.filestorage.containers.item.recyclebin.items.restore.RestorePostRequestBody::|public|getAdditionalData():Map +com.microsoft.graph.beta.storage.filestorage.containers.item.recyclebin.items.restore.RestorePostRequestBody::|public|getBackingStore():BackingStore +com.microsoft.graph.beta.storage.filestorage.containers.item.recyclebin.items.restore.RestorePostRequestBody::|public|getFieldDeserializers():Map> +com.microsoft.graph.beta.storage.filestorage.containers.item.recyclebin.items.restore.RestorePostRequestBody::|public|getIds():java.util.List +com.microsoft.graph.beta.storage.filestorage.containers.item.recyclebin.items.restore.RestorePostRequestBody::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.beta.storage.filestorage.containers.item.recyclebin.items.restore.RestorePostRequestBody::|public|setAdditionalData(value?:Map):void +com.microsoft.graph.beta.storage.filestorage.containers.item.recyclebin.items.restore.RestorePostRequestBody::|public|setBackingStore(value:BackingStore):void +com.microsoft.graph.beta.storage.filestorage.containers.item.recyclebin.items.restore.RestorePostRequestBody::|public|setIds(value?:java.util.List):void +com.microsoft.graph.beta.storage.filestorage.containers.item.recyclebin.items.restore.RestorePostRequestBody::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):RestorePostRequestBody +com.microsoft.graph.beta.storage.filestorage.containers.item.recyclebin.items.restore.RestorePostRequestBody~~>AdditionalDataHolder; BackedModel; Parsable +com.microsoft.graph.beta.storage.filestorage.containers.item.recyclebin.items.restore.RestorePostResponse-->BaseCollectionPaginationCountResponse +com.microsoft.graph.beta.storage.filestorage.containers.item.recyclebin.items.restore.RestorePostResponse::|public|constructor():void +com.microsoft.graph.beta.storage.filestorage.containers.item.recyclebin.items.restore.RestorePostResponse::|public|getFieldDeserializers():Map> +com.microsoft.graph.beta.storage.filestorage.containers.item.recyclebin.items.restore.RestorePostResponse::|public|getValue():java.util.List +com.microsoft.graph.beta.storage.filestorage.containers.item.recyclebin.items.restore.RestorePostResponse::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.beta.storage.filestorage.containers.item.recyclebin.items.restore.RestorePostResponse::|public|setValue(value?:java.util.List):void +com.microsoft.graph.beta.storage.filestorage.containers.item.recyclebin.items.restore.RestorePostResponse::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):RestorePostResponse +com.microsoft.graph.beta.storage.filestorage.containers.item.recyclebin.items.restore.RestoreRequestBuilder-->BaseRequestBuilder +com.microsoft.graph.beta.storage.filestorage.containers.item.recyclebin.items.restore.RestoreRequestBuilder.PostRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.beta.storage.filestorage.containers.item.recyclebin.items.restore.RestoreRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.storage.filestorage.containers.item.recyclebin.items.restore.RestoreRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.storage.filestorage.containers.item.recyclebin.items.restore.RestoreRequestBuilder::|public|post(body:RestorePostRequestBody):RestorePostResponse +com.microsoft.graph.beta.storage.filestorage.containers.item.recyclebin.items.restore.RestoreRequestBuilder::|public|post(body:RestorePostRequestBody; requestConfiguration?:java.util.function.Consumer):RestorePostResponse +com.microsoft.graph.beta.storage.filestorage.containers.item.recyclebin.items.restore.RestoreRequestBuilder::|public|toPostRequestInformation(body:RestorePostRequestBody):RequestInformation +com.microsoft.graph.beta.storage.filestorage.containers.item.recyclebin.items.restore.RestoreRequestBuilder::|public|toPostRequestInformation(body:RestorePostRequestBody; requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.beta.storage.filestorage.containers.item.recyclebin.items.restore.RestoreRequestBuilder::|public|withUrl(rawUrl:String):RestoreRequestBuilder com.microsoft.graph.beta.storage.filestorage.containers.item.recyclebin.lastmodifiedbyuser.LastModifiedByUserRequestBuilder-->BaseRequestBuilder com.microsoft.graph.beta.storage.filestorage.containers.item.recyclebin.lastmodifiedbyuser.LastModifiedByUserRequestBuilder.GetQueryParameters::|public|expand:String[] com.microsoft.graph.beta.storage.filestorage.containers.item.recyclebin.lastmodifiedbyuser.LastModifiedByUserRequestBuilder.GetQueryParameters::|public|select:String[] @@ -346533,6 +347446,27 @@ com.microsoft.graph.beta.storage.filestorage.deletedcontainers.item.recyclebin.i com.microsoft.graph.beta.storage.filestorage.deletedcontainers.item.recyclebin.items.count.CountRequestBuilder::|public|toGetRequestInformation():RequestInformation com.microsoft.graph.beta.storage.filestorage.deletedcontainers.item.recyclebin.items.count.CountRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation com.microsoft.graph.beta.storage.filestorage.deletedcontainers.item.recyclebin.items.count.CountRequestBuilder::|public|withUrl(rawUrl:String):CountRequestBuilder +com.microsoft.graph.beta.storage.filestorage.deletedcontainers.item.recyclebin.items.delete.DeletePostRequestBody::|protected|backingStore:BackingStore +com.microsoft.graph.beta.storage.filestorage.deletedcontainers.item.recyclebin.items.delete.DeletePostRequestBody::|public|constructor():void +com.microsoft.graph.beta.storage.filestorage.deletedcontainers.item.recyclebin.items.delete.DeletePostRequestBody::|public|getAdditionalData():Map +com.microsoft.graph.beta.storage.filestorage.deletedcontainers.item.recyclebin.items.delete.DeletePostRequestBody::|public|getBackingStore():BackingStore +com.microsoft.graph.beta.storage.filestorage.deletedcontainers.item.recyclebin.items.delete.DeletePostRequestBody::|public|getFieldDeserializers():Map> +com.microsoft.graph.beta.storage.filestorage.deletedcontainers.item.recyclebin.items.delete.DeletePostRequestBody::|public|getIds():java.util.List +com.microsoft.graph.beta.storage.filestorage.deletedcontainers.item.recyclebin.items.delete.DeletePostRequestBody::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.beta.storage.filestorage.deletedcontainers.item.recyclebin.items.delete.DeletePostRequestBody::|public|setAdditionalData(value?:Map):void +com.microsoft.graph.beta.storage.filestorage.deletedcontainers.item.recyclebin.items.delete.DeletePostRequestBody::|public|setBackingStore(value:BackingStore):void +com.microsoft.graph.beta.storage.filestorage.deletedcontainers.item.recyclebin.items.delete.DeletePostRequestBody::|public|setIds(value?:java.util.List):void +com.microsoft.graph.beta.storage.filestorage.deletedcontainers.item.recyclebin.items.delete.DeletePostRequestBody::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):DeletePostRequestBody +com.microsoft.graph.beta.storage.filestorage.deletedcontainers.item.recyclebin.items.delete.DeletePostRequestBody~~>AdditionalDataHolder; BackedModel; Parsable +com.microsoft.graph.beta.storage.filestorage.deletedcontainers.item.recyclebin.items.delete.DeleteRequestBuilder-->BaseRequestBuilder +com.microsoft.graph.beta.storage.filestorage.deletedcontainers.item.recyclebin.items.delete.DeleteRequestBuilder.PostRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.beta.storage.filestorage.deletedcontainers.item.recyclebin.items.delete.DeleteRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.storage.filestorage.deletedcontainers.item.recyclebin.items.delete.DeleteRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.storage.filestorage.deletedcontainers.item.recyclebin.items.delete.DeleteRequestBuilder::|public|post(body:DeletePostRequestBody):Void +com.microsoft.graph.beta.storage.filestorage.deletedcontainers.item.recyclebin.items.delete.DeleteRequestBuilder::|public|post(body:DeletePostRequestBody; requestConfiguration?:java.util.function.Consumer):Void +com.microsoft.graph.beta.storage.filestorage.deletedcontainers.item.recyclebin.items.delete.DeleteRequestBuilder::|public|toPostRequestInformation(body:DeletePostRequestBody):RequestInformation +com.microsoft.graph.beta.storage.filestorage.deletedcontainers.item.recyclebin.items.delete.DeleteRequestBuilder::|public|toPostRequestInformation(body:DeletePostRequestBody; requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.beta.storage.filestorage.deletedcontainers.item.recyclebin.items.delete.DeleteRequestBuilder::|public|withUrl(rawUrl:String):DeleteRequestBuilder com.microsoft.graph.beta.storage.filestorage.deletedcontainers.item.recyclebin.items.item.createdbyuser.CreatedByUserRequestBuilder-->BaseRequestBuilder com.microsoft.graph.beta.storage.filestorage.deletedcontainers.item.recyclebin.items.item.createdbyuser.CreatedByUserRequestBuilder.GetQueryParameters::|public|expand:String[] com.microsoft.graph.beta.storage.filestorage.deletedcontainers.item.recyclebin.items.item.createdbyuser.CreatedByUserRequestBuilder.GetQueryParameters::|public|select:String[] @@ -346717,15 +347651,45 @@ com.microsoft.graph.beta.storage.filestorage.deletedcontainers.item.recyclebin.i com.microsoft.graph.beta.storage.filestorage.deletedcontainers.item.recyclebin.items.ItemsRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void com.microsoft.graph.beta.storage.filestorage.deletedcontainers.item.recyclebin.items.ItemsRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void com.microsoft.graph.beta.storage.filestorage.deletedcontainers.item.recyclebin.items.ItemsRequestBuilder::|public|count:CountRequestBuilder +com.microsoft.graph.beta.storage.filestorage.deletedcontainers.item.recyclebin.items.ItemsRequestBuilder::|public|deletePath:DeleteRequestBuilder com.microsoft.graph.beta.storage.filestorage.deletedcontainers.item.recyclebin.items.ItemsRequestBuilder::|public|get():RecycleBinItemCollectionResponse com.microsoft.graph.beta.storage.filestorage.deletedcontainers.item.recyclebin.items.ItemsRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):RecycleBinItemCollectionResponse com.microsoft.graph.beta.storage.filestorage.deletedcontainers.item.recyclebin.items.ItemsRequestBuilder::|public|post(body:RecycleBinItem):RecycleBinItem com.microsoft.graph.beta.storage.filestorage.deletedcontainers.item.recyclebin.items.ItemsRequestBuilder::|public|post(body:RecycleBinItem; requestConfiguration?:java.util.function.Consumer):RecycleBinItem +com.microsoft.graph.beta.storage.filestorage.deletedcontainers.item.recyclebin.items.ItemsRequestBuilder::|public|restore:RestoreRequestBuilder com.microsoft.graph.beta.storage.filestorage.deletedcontainers.item.recyclebin.items.ItemsRequestBuilder::|public|toGetRequestInformation():RequestInformation com.microsoft.graph.beta.storage.filestorage.deletedcontainers.item.recyclebin.items.ItemsRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation com.microsoft.graph.beta.storage.filestorage.deletedcontainers.item.recyclebin.items.ItemsRequestBuilder::|public|toPostRequestInformation(body:RecycleBinItem):RequestInformation com.microsoft.graph.beta.storage.filestorage.deletedcontainers.item.recyclebin.items.ItemsRequestBuilder::|public|toPostRequestInformation(body:RecycleBinItem; requestConfiguration?:java.util.function.Consumer):RequestInformation com.microsoft.graph.beta.storage.filestorage.deletedcontainers.item.recyclebin.items.ItemsRequestBuilder::|public|withUrl(rawUrl:String):ItemsRequestBuilder +com.microsoft.graph.beta.storage.filestorage.deletedcontainers.item.recyclebin.items.restore.RestorePostRequestBody::|protected|backingStore:BackingStore +com.microsoft.graph.beta.storage.filestorage.deletedcontainers.item.recyclebin.items.restore.RestorePostRequestBody::|public|constructor():void +com.microsoft.graph.beta.storage.filestorage.deletedcontainers.item.recyclebin.items.restore.RestorePostRequestBody::|public|getAdditionalData():Map +com.microsoft.graph.beta.storage.filestorage.deletedcontainers.item.recyclebin.items.restore.RestorePostRequestBody::|public|getBackingStore():BackingStore +com.microsoft.graph.beta.storage.filestorage.deletedcontainers.item.recyclebin.items.restore.RestorePostRequestBody::|public|getFieldDeserializers():Map> +com.microsoft.graph.beta.storage.filestorage.deletedcontainers.item.recyclebin.items.restore.RestorePostRequestBody::|public|getIds():java.util.List +com.microsoft.graph.beta.storage.filestorage.deletedcontainers.item.recyclebin.items.restore.RestorePostRequestBody::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.beta.storage.filestorage.deletedcontainers.item.recyclebin.items.restore.RestorePostRequestBody::|public|setAdditionalData(value?:Map):void +com.microsoft.graph.beta.storage.filestorage.deletedcontainers.item.recyclebin.items.restore.RestorePostRequestBody::|public|setBackingStore(value:BackingStore):void +com.microsoft.graph.beta.storage.filestorage.deletedcontainers.item.recyclebin.items.restore.RestorePostRequestBody::|public|setIds(value?:java.util.List):void +com.microsoft.graph.beta.storage.filestorage.deletedcontainers.item.recyclebin.items.restore.RestorePostRequestBody::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):RestorePostRequestBody +com.microsoft.graph.beta.storage.filestorage.deletedcontainers.item.recyclebin.items.restore.RestorePostRequestBody~~>AdditionalDataHolder; BackedModel; Parsable +com.microsoft.graph.beta.storage.filestorage.deletedcontainers.item.recyclebin.items.restore.RestorePostResponse-->BaseCollectionPaginationCountResponse +com.microsoft.graph.beta.storage.filestorage.deletedcontainers.item.recyclebin.items.restore.RestorePostResponse::|public|constructor():void +com.microsoft.graph.beta.storage.filestorage.deletedcontainers.item.recyclebin.items.restore.RestorePostResponse::|public|getFieldDeserializers():Map> +com.microsoft.graph.beta.storage.filestorage.deletedcontainers.item.recyclebin.items.restore.RestorePostResponse::|public|getValue():java.util.List +com.microsoft.graph.beta.storage.filestorage.deletedcontainers.item.recyclebin.items.restore.RestorePostResponse::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.beta.storage.filestorage.deletedcontainers.item.recyclebin.items.restore.RestorePostResponse::|public|setValue(value?:java.util.List):void +com.microsoft.graph.beta.storage.filestorage.deletedcontainers.item.recyclebin.items.restore.RestorePostResponse::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):RestorePostResponse +com.microsoft.graph.beta.storage.filestorage.deletedcontainers.item.recyclebin.items.restore.RestoreRequestBuilder-->BaseRequestBuilder +com.microsoft.graph.beta.storage.filestorage.deletedcontainers.item.recyclebin.items.restore.RestoreRequestBuilder.PostRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.beta.storage.filestorage.deletedcontainers.item.recyclebin.items.restore.RestoreRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.storage.filestorage.deletedcontainers.item.recyclebin.items.restore.RestoreRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.storage.filestorage.deletedcontainers.item.recyclebin.items.restore.RestoreRequestBuilder::|public|post(body:RestorePostRequestBody):RestorePostResponse +com.microsoft.graph.beta.storage.filestorage.deletedcontainers.item.recyclebin.items.restore.RestoreRequestBuilder::|public|post(body:RestorePostRequestBody; requestConfiguration?:java.util.function.Consumer):RestorePostResponse +com.microsoft.graph.beta.storage.filestorage.deletedcontainers.item.recyclebin.items.restore.RestoreRequestBuilder::|public|toPostRequestInformation(body:RestorePostRequestBody):RequestInformation +com.microsoft.graph.beta.storage.filestorage.deletedcontainers.item.recyclebin.items.restore.RestoreRequestBuilder::|public|toPostRequestInformation(body:RestorePostRequestBody; requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.beta.storage.filestorage.deletedcontainers.item.recyclebin.items.restore.RestoreRequestBuilder::|public|withUrl(rawUrl:String):RestoreRequestBuilder com.microsoft.graph.beta.storage.filestorage.deletedcontainers.item.recyclebin.lastmodifiedbyuser.LastModifiedByUserRequestBuilder-->BaseRequestBuilder com.microsoft.graph.beta.storage.filestorage.deletedcontainers.item.recyclebin.lastmodifiedbyuser.LastModifiedByUserRequestBuilder.GetQueryParameters::|public|expand:String[] com.microsoft.graph.beta.storage.filestorage.deletedcontainers.item.recyclebin.lastmodifiedbyuser.LastModifiedByUserRequestBuilder.GetQueryParameters::|public|select:String[] @@ -396750,6 +397714,42 @@ com.microsoft.graph.beta.users.item.datasecurityandgovernance.protectionscopes.P com.microsoft.graph.beta.users.item.datasecurityandgovernance.protectionscopes.ProtectionScopesRequestBuilder::|public|toPatchRequestInformation(body:UserProtectionScopeContainer):RequestInformation com.microsoft.graph.beta.users.item.datasecurityandgovernance.protectionscopes.ProtectionScopesRequestBuilder::|public|toPatchRequestInformation(body:UserProtectionScopeContainer; requestConfiguration?:java.util.function.Consumer):RequestInformation com.microsoft.graph.beta.users.item.datasecurityandgovernance.protectionscopes.ProtectionScopesRequestBuilder::|public|withUrl(rawUrl:String):ProtectionScopesRequestBuilder +com.microsoft.graph.beta.users.item.datasecurityandgovernance.sensitivitylabels.computeinheritancewithlabelidswithlocalewithcontentformats.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder-->BaseRequestBuilder +com.microsoft.graph.beta.users.item.datasecurityandgovernance.sensitivitylabels.computeinheritancewithlabelidswithlocalewithcontentformats.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder.GetRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.beta.users.item.datasecurityandgovernance.sensitivitylabels.computeinheritancewithlabelidswithlocalewithcontentformats.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter; contentFormats?:String; labelIds?:String; locale?:String):Void +com.microsoft.graph.beta.users.item.datasecurityandgovernance.sensitivitylabels.computeinheritancewithlabelidswithlocalewithcontentformats.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.users.item.datasecurityandgovernance.sensitivitylabels.computeinheritancewithlabelidswithlocalewithcontentformats.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder::|public|get():SensitivityLabel +com.microsoft.graph.beta.users.item.datasecurityandgovernance.sensitivitylabels.computeinheritancewithlabelidswithlocalewithcontentformats.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):SensitivityLabel +com.microsoft.graph.beta.users.item.datasecurityandgovernance.sensitivitylabels.computeinheritancewithlabelidswithlocalewithcontentformats.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder::|public|toGetRequestInformation():RequestInformation +com.microsoft.graph.beta.users.item.datasecurityandgovernance.sensitivitylabels.computeinheritancewithlabelidswithlocalewithcontentformats.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.beta.users.item.datasecurityandgovernance.sensitivitylabels.computeinheritancewithlabelidswithlocalewithcontentformats.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder::|public|withUrl(rawUrl:String):ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder +com.microsoft.graph.beta.users.item.datasecurityandgovernance.sensitivitylabels.computerightsandinheritance.ComputeRightsAndInheritancePostRequestBody::|protected|backingStore:BackingStore +com.microsoft.graph.beta.users.item.datasecurityandgovernance.sensitivitylabels.computerightsandinheritance.ComputeRightsAndInheritancePostRequestBody::|public|constructor():void +com.microsoft.graph.beta.users.item.datasecurityandgovernance.sensitivitylabels.computerightsandinheritance.ComputeRightsAndInheritancePostRequestBody::|public|getAdditionalData():Map +com.microsoft.graph.beta.users.item.datasecurityandgovernance.sensitivitylabels.computerightsandinheritance.ComputeRightsAndInheritancePostRequestBody::|public|getBackingStore():BackingStore +com.microsoft.graph.beta.users.item.datasecurityandgovernance.sensitivitylabels.computerightsandinheritance.ComputeRightsAndInheritancePostRequestBody::|public|getDelegatedUserEmail():String +com.microsoft.graph.beta.users.item.datasecurityandgovernance.sensitivitylabels.computerightsandinheritance.ComputeRightsAndInheritancePostRequestBody::|public|getFieldDeserializers():Map> +com.microsoft.graph.beta.users.item.datasecurityandgovernance.sensitivitylabels.computerightsandinheritance.ComputeRightsAndInheritancePostRequestBody::|public|getLocale():String +com.microsoft.graph.beta.users.item.datasecurityandgovernance.sensitivitylabels.computerightsandinheritance.ComputeRightsAndInheritancePostRequestBody::|public|getProtectedContents():java.util.List +com.microsoft.graph.beta.users.item.datasecurityandgovernance.sensitivitylabels.computerightsandinheritance.ComputeRightsAndInheritancePostRequestBody::|public|getSupportedContentFormats():java.util.List +com.microsoft.graph.beta.users.item.datasecurityandgovernance.sensitivitylabels.computerightsandinheritance.ComputeRightsAndInheritancePostRequestBody::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.beta.users.item.datasecurityandgovernance.sensitivitylabels.computerightsandinheritance.ComputeRightsAndInheritancePostRequestBody::|public|setAdditionalData(value?:Map):void +com.microsoft.graph.beta.users.item.datasecurityandgovernance.sensitivitylabels.computerightsandinheritance.ComputeRightsAndInheritancePostRequestBody::|public|setBackingStore(value:BackingStore):void +com.microsoft.graph.beta.users.item.datasecurityandgovernance.sensitivitylabels.computerightsandinheritance.ComputeRightsAndInheritancePostRequestBody::|public|setDelegatedUserEmail(value?:String):void +com.microsoft.graph.beta.users.item.datasecurityandgovernance.sensitivitylabels.computerightsandinheritance.ComputeRightsAndInheritancePostRequestBody::|public|setLocale(value?:String):void +com.microsoft.graph.beta.users.item.datasecurityandgovernance.sensitivitylabels.computerightsandinheritance.ComputeRightsAndInheritancePostRequestBody::|public|setProtectedContents(value?:java.util.List):void +com.microsoft.graph.beta.users.item.datasecurityandgovernance.sensitivitylabels.computerightsandinheritance.ComputeRightsAndInheritancePostRequestBody::|public|setSupportedContentFormats(value?:java.util.List):void +com.microsoft.graph.beta.users.item.datasecurityandgovernance.sensitivitylabels.computerightsandinheritance.ComputeRightsAndInheritancePostRequestBody::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):ComputeRightsAndInheritancePostRequestBody +com.microsoft.graph.beta.users.item.datasecurityandgovernance.sensitivitylabels.computerightsandinheritance.ComputeRightsAndInheritancePostRequestBody~~>AdditionalDataHolder; BackedModel; Parsable +com.microsoft.graph.beta.users.item.datasecurityandgovernance.sensitivitylabels.computerightsandinheritance.ComputeRightsAndInheritanceRequestBuilder-->BaseRequestBuilder +com.microsoft.graph.beta.users.item.datasecurityandgovernance.sensitivitylabels.computerightsandinheritance.ComputeRightsAndInheritanceRequestBuilder.PostRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.beta.users.item.datasecurityandgovernance.sensitivitylabels.computerightsandinheritance.ComputeRightsAndInheritanceRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.users.item.datasecurityandgovernance.sensitivitylabels.computerightsandinheritance.ComputeRightsAndInheritanceRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.users.item.datasecurityandgovernance.sensitivitylabels.computerightsandinheritance.ComputeRightsAndInheritanceRequestBuilder::|public|post(body:ComputeRightsAndInheritancePostRequestBody):ComputeRightsAndInheritanceResult +com.microsoft.graph.beta.users.item.datasecurityandgovernance.sensitivitylabels.computerightsandinheritance.ComputeRightsAndInheritanceRequestBuilder::|public|post(body:ComputeRightsAndInheritancePostRequestBody; requestConfiguration?:java.util.function.Consumer):ComputeRightsAndInheritanceResult +com.microsoft.graph.beta.users.item.datasecurityandgovernance.sensitivitylabels.computerightsandinheritance.ComputeRightsAndInheritanceRequestBuilder::|public|toPostRequestInformation(body:ComputeRightsAndInheritancePostRequestBody):RequestInformation +com.microsoft.graph.beta.users.item.datasecurityandgovernance.sensitivitylabels.computerightsandinheritance.ComputeRightsAndInheritanceRequestBuilder::|public|toPostRequestInformation(body:ComputeRightsAndInheritancePostRequestBody; requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.beta.users.item.datasecurityandgovernance.sensitivitylabels.computerightsandinheritance.ComputeRightsAndInheritanceRequestBuilder::|public|withUrl(rawUrl:String):ComputeRightsAndInheritanceRequestBuilder com.microsoft.graph.beta.users.item.datasecurityandgovernance.sensitivitylabels.count.CountRequestBuilder-->BaseRequestBuilder com.microsoft.graph.beta.users.item.datasecurityandgovernance.sensitivitylabels.count.CountRequestBuilder.GetQueryParameters::|public|filter:String com.microsoft.graph.beta.users.item.datasecurityandgovernance.sensitivitylabels.count.CountRequestBuilder.GetQueryParameters::|public|search:String @@ -396787,6 +397787,20 @@ com.microsoft.graph.beta.users.item.datasecurityandgovernance.sensitivitylabels. com.microsoft.graph.beta.users.item.datasecurityandgovernance.sensitivitylabels.evaluate.EvaluateRequestBuilder::|public|toPostRequestInformation(body:EvaluatePostRequestBody):RequestInformation com.microsoft.graph.beta.users.item.datasecurityandgovernance.sensitivitylabels.evaluate.EvaluateRequestBuilder::|public|toPostRequestInformation(body:EvaluatePostRequestBody; requestConfiguration?:java.util.function.Consumer):RequestInformation com.microsoft.graph.beta.users.item.datasecurityandgovernance.sensitivitylabels.evaluate.EvaluateRequestBuilder::|public|withUrl(rawUrl:String):EvaluateRequestBuilder +com.microsoft.graph.beta.users.item.datasecurityandgovernance.sensitivitylabels.item.rights.RightsRequestBuilder-->BaseRequestBuilder +com.microsoft.graph.beta.users.item.datasecurityandgovernance.sensitivitylabels.item.rights.RightsRequestBuilder.GetQueryParameters::|public|expand:String[] +com.microsoft.graph.beta.users.item.datasecurityandgovernance.sensitivitylabels.item.rights.RightsRequestBuilder.GetQueryParameters::|public|select:String[] +com.microsoft.graph.beta.users.item.datasecurityandgovernance.sensitivitylabels.item.rights.RightsRequestBuilder.GetQueryParameters::|public|toQueryParameters():Map +com.microsoft.graph.beta.users.item.datasecurityandgovernance.sensitivitylabels.item.rights.RightsRequestBuilder.GetQueryParameters~~>QueryParameters +com.microsoft.graph.beta.users.item.datasecurityandgovernance.sensitivitylabels.item.rights.RightsRequestBuilder.GetRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.beta.users.item.datasecurityandgovernance.sensitivitylabels.item.rights.RightsRequestBuilder.GetRequestConfiguration::|public|queryParameters:GetQueryParameters +com.microsoft.graph.beta.users.item.datasecurityandgovernance.sensitivitylabels.item.rights.RightsRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.users.item.datasecurityandgovernance.sensitivitylabels.item.rights.RightsRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.users.item.datasecurityandgovernance.sensitivitylabels.item.rights.RightsRequestBuilder::|public|get():UsageRightsIncluded +com.microsoft.graph.beta.users.item.datasecurityandgovernance.sensitivitylabels.item.rights.RightsRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):UsageRightsIncluded +com.microsoft.graph.beta.users.item.datasecurityandgovernance.sensitivitylabels.item.rights.RightsRequestBuilder::|public|toGetRequestInformation():RequestInformation +com.microsoft.graph.beta.users.item.datasecurityandgovernance.sensitivitylabels.item.rights.RightsRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.beta.users.item.datasecurityandgovernance.sensitivitylabels.item.rights.RightsRequestBuilder::|public|withUrl(rawUrl:String):RightsRequestBuilder com.microsoft.graph.beta.users.item.datasecurityandgovernance.sensitivitylabels.item.SensitivityLabelItemRequestBuilder-->BaseRequestBuilder com.microsoft.graph.beta.users.item.datasecurityandgovernance.sensitivitylabels.item.SensitivityLabelItemRequestBuilder.DeleteRequestConfiguration-->BaseRequestConfiguration com.microsoft.graph.beta.users.item.datasecurityandgovernance.sensitivitylabels.item.SensitivityLabelItemRequestBuilder.GetQueryParameters::|public|expand:String[] @@ -396804,6 +397818,7 @@ com.microsoft.graph.beta.users.item.datasecurityandgovernance.sensitivitylabels. com.microsoft.graph.beta.users.item.datasecurityandgovernance.sensitivitylabels.item.SensitivityLabelItemRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):SensitivityLabel com.microsoft.graph.beta.users.item.datasecurityandgovernance.sensitivitylabels.item.SensitivityLabelItemRequestBuilder::|public|patch(body:SensitivityLabel):SensitivityLabel com.microsoft.graph.beta.users.item.datasecurityandgovernance.sensitivitylabels.item.SensitivityLabelItemRequestBuilder::|public|patch(body:SensitivityLabel; requestConfiguration?:java.util.function.Consumer):SensitivityLabel +com.microsoft.graph.beta.users.item.datasecurityandgovernance.sensitivitylabels.item.SensitivityLabelItemRequestBuilder::|public|rights:RightsRequestBuilder com.microsoft.graph.beta.users.item.datasecurityandgovernance.sensitivitylabels.item.SensitivityLabelItemRequestBuilder::|public|sublabels:SublabelsRequestBuilder com.microsoft.graph.beta.users.item.datasecurityandgovernance.sensitivitylabels.item.SensitivityLabelItemRequestBuilder::|public|toDeleteRequestInformation():RequestInformation com.microsoft.graph.beta.users.item.datasecurityandgovernance.sensitivitylabels.item.SensitivityLabelItemRequestBuilder::|public|toDeleteRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation @@ -396812,6 +397827,42 @@ com.microsoft.graph.beta.users.item.datasecurityandgovernance.sensitivitylabels. com.microsoft.graph.beta.users.item.datasecurityandgovernance.sensitivitylabels.item.SensitivityLabelItemRequestBuilder::|public|toPatchRequestInformation(body:SensitivityLabel):RequestInformation com.microsoft.graph.beta.users.item.datasecurityandgovernance.sensitivitylabels.item.SensitivityLabelItemRequestBuilder::|public|toPatchRequestInformation(body:SensitivityLabel; requestConfiguration?:java.util.function.Consumer):RequestInformation com.microsoft.graph.beta.users.item.datasecurityandgovernance.sensitivitylabels.item.SensitivityLabelItemRequestBuilder::|public|withUrl(rawUrl:String):SensitivityLabelItemRequestBuilder +com.microsoft.graph.beta.users.item.datasecurityandgovernance.sensitivitylabels.item.sublabels.computeinheritancewithlabelidswithlocalewithcontentformats.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder-->BaseRequestBuilder +com.microsoft.graph.beta.users.item.datasecurityandgovernance.sensitivitylabels.item.sublabels.computeinheritancewithlabelidswithlocalewithcontentformats.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder.GetRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.beta.users.item.datasecurityandgovernance.sensitivitylabels.item.sublabels.computeinheritancewithlabelidswithlocalewithcontentformats.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter; contentFormats?:String; labelIds?:String; locale?:String):Void +com.microsoft.graph.beta.users.item.datasecurityandgovernance.sensitivitylabels.item.sublabels.computeinheritancewithlabelidswithlocalewithcontentformats.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.users.item.datasecurityandgovernance.sensitivitylabels.item.sublabels.computeinheritancewithlabelidswithlocalewithcontentformats.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder::|public|get():SensitivityLabel +com.microsoft.graph.beta.users.item.datasecurityandgovernance.sensitivitylabels.item.sublabels.computeinheritancewithlabelidswithlocalewithcontentformats.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):SensitivityLabel +com.microsoft.graph.beta.users.item.datasecurityandgovernance.sensitivitylabels.item.sublabels.computeinheritancewithlabelidswithlocalewithcontentformats.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder::|public|toGetRequestInformation():RequestInformation +com.microsoft.graph.beta.users.item.datasecurityandgovernance.sensitivitylabels.item.sublabels.computeinheritancewithlabelidswithlocalewithcontentformats.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.beta.users.item.datasecurityandgovernance.sensitivitylabels.item.sublabels.computeinheritancewithlabelidswithlocalewithcontentformats.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder::|public|withUrl(rawUrl:String):ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder +com.microsoft.graph.beta.users.item.datasecurityandgovernance.sensitivitylabels.item.sublabels.computerightsandinheritance.ComputeRightsAndInheritancePostRequestBody::|protected|backingStore:BackingStore +com.microsoft.graph.beta.users.item.datasecurityandgovernance.sensitivitylabels.item.sublabels.computerightsandinheritance.ComputeRightsAndInheritancePostRequestBody::|public|constructor():void +com.microsoft.graph.beta.users.item.datasecurityandgovernance.sensitivitylabels.item.sublabels.computerightsandinheritance.ComputeRightsAndInheritancePostRequestBody::|public|getAdditionalData():Map +com.microsoft.graph.beta.users.item.datasecurityandgovernance.sensitivitylabels.item.sublabels.computerightsandinheritance.ComputeRightsAndInheritancePostRequestBody::|public|getBackingStore():BackingStore +com.microsoft.graph.beta.users.item.datasecurityandgovernance.sensitivitylabels.item.sublabels.computerightsandinheritance.ComputeRightsAndInheritancePostRequestBody::|public|getDelegatedUserEmail():String +com.microsoft.graph.beta.users.item.datasecurityandgovernance.sensitivitylabels.item.sublabels.computerightsandinheritance.ComputeRightsAndInheritancePostRequestBody::|public|getFieldDeserializers():Map> +com.microsoft.graph.beta.users.item.datasecurityandgovernance.sensitivitylabels.item.sublabels.computerightsandinheritance.ComputeRightsAndInheritancePostRequestBody::|public|getLocale():String +com.microsoft.graph.beta.users.item.datasecurityandgovernance.sensitivitylabels.item.sublabels.computerightsandinheritance.ComputeRightsAndInheritancePostRequestBody::|public|getProtectedContents():java.util.List +com.microsoft.graph.beta.users.item.datasecurityandgovernance.sensitivitylabels.item.sublabels.computerightsandinheritance.ComputeRightsAndInheritancePostRequestBody::|public|getSupportedContentFormats():java.util.List +com.microsoft.graph.beta.users.item.datasecurityandgovernance.sensitivitylabels.item.sublabels.computerightsandinheritance.ComputeRightsAndInheritancePostRequestBody::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.beta.users.item.datasecurityandgovernance.sensitivitylabels.item.sublabels.computerightsandinheritance.ComputeRightsAndInheritancePostRequestBody::|public|setAdditionalData(value?:Map):void +com.microsoft.graph.beta.users.item.datasecurityandgovernance.sensitivitylabels.item.sublabels.computerightsandinheritance.ComputeRightsAndInheritancePostRequestBody::|public|setBackingStore(value:BackingStore):void +com.microsoft.graph.beta.users.item.datasecurityandgovernance.sensitivitylabels.item.sublabels.computerightsandinheritance.ComputeRightsAndInheritancePostRequestBody::|public|setDelegatedUserEmail(value?:String):void +com.microsoft.graph.beta.users.item.datasecurityandgovernance.sensitivitylabels.item.sublabels.computerightsandinheritance.ComputeRightsAndInheritancePostRequestBody::|public|setLocale(value?:String):void +com.microsoft.graph.beta.users.item.datasecurityandgovernance.sensitivitylabels.item.sublabels.computerightsandinheritance.ComputeRightsAndInheritancePostRequestBody::|public|setProtectedContents(value?:java.util.List):void +com.microsoft.graph.beta.users.item.datasecurityandgovernance.sensitivitylabels.item.sublabels.computerightsandinheritance.ComputeRightsAndInheritancePostRequestBody::|public|setSupportedContentFormats(value?:java.util.List):void +com.microsoft.graph.beta.users.item.datasecurityandgovernance.sensitivitylabels.item.sublabels.computerightsandinheritance.ComputeRightsAndInheritancePostRequestBody::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):ComputeRightsAndInheritancePostRequestBody +com.microsoft.graph.beta.users.item.datasecurityandgovernance.sensitivitylabels.item.sublabels.computerightsandinheritance.ComputeRightsAndInheritancePostRequestBody~~>AdditionalDataHolder; BackedModel; Parsable +com.microsoft.graph.beta.users.item.datasecurityandgovernance.sensitivitylabels.item.sublabels.computerightsandinheritance.ComputeRightsAndInheritanceRequestBuilder-->BaseRequestBuilder +com.microsoft.graph.beta.users.item.datasecurityandgovernance.sensitivitylabels.item.sublabels.computerightsandinheritance.ComputeRightsAndInheritanceRequestBuilder.PostRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.beta.users.item.datasecurityandgovernance.sensitivitylabels.item.sublabels.computerightsandinheritance.ComputeRightsAndInheritanceRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.users.item.datasecurityandgovernance.sensitivitylabels.item.sublabels.computerightsandinheritance.ComputeRightsAndInheritanceRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.users.item.datasecurityandgovernance.sensitivitylabels.item.sublabels.computerightsandinheritance.ComputeRightsAndInheritanceRequestBuilder::|public|post(body:ComputeRightsAndInheritancePostRequestBody):ComputeRightsAndInheritanceResult +com.microsoft.graph.beta.users.item.datasecurityandgovernance.sensitivitylabels.item.sublabels.computerightsandinheritance.ComputeRightsAndInheritanceRequestBuilder::|public|post(body:ComputeRightsAndInheritancePostRequestBody; requestConfiguration?:java.util.function.Consumer):ComputeRightsAndInheritanceResult +com.microsoft.graph.beta.users.item.datasecurityandgovernance.sensitivitylabels.item.sublabels.computerightsandinheritance.ComputeRightsAndInheritanceRequestBuilder::|public|toPostRequestInformation(body:ComputeRightsAndInheritancePostRequestBody):RequestInformation +com.microsoft.graph.beta.users.item.datasecurityandgovernance.sensitivitylabels.item.sublabels.computerightsandinheritance.ComputeRightsAndInheritanceRequestBuilder::|public|toPostRequestInformation(body:ComputeRightsAndInheritancePostRequestBody; requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.beta.users.item.datasecurityandgovernance.sensitivitylabels.item.sublabels.computerightsandinheritance.ComputeRightsAndInheritanceRequestBuilder::|public|withUrl(rawUrl:String):ComputeRightsAndInheritanceRequestBuilder com.microsoft.graph.beta.users.item.datasecurityandgovernance.sensitivitylabels.item.sublabels.count.CountRequestBuilder-->BaseRequestBuilder com.microsoft.graph.beta.users.item.datasecurityandgovernance.sensitivitylabels.item.sublabels.count.CountRequestBuilder.GetQueryParameters::|public|filter:String com.microsoft.graph.beta.users.item.datasecurityandgovernance.sensitivitylabels.item.sublabels.count.CountRequestBuilder.GetQueryParameters::|public|search:String @@ -396849,6 +397900,20 @@ com.microsoft.graph.beta.users.item.datasecurityandgovernance.sensitivitylabels. com.microsoft.graph.beta.users.item.datasecurityandgovernance.sensitivitylabels.item.sublabels.evaluate.EvaluateRequestBuilder::|public|toPostRequestInformation(body:EvaluatePostRequestBody):RequestInformation com.microsoft.graph.beta.users.item.datasecurityandgovernance.sensitivitylabels.item.sublabels.evaluate.EvaluateRequestBuilder::|public|toPostRequestInformation(body:EvaluatePostRequestBody; requestConfiguration?:java.util.function.Consumer):RequestInformation com.microsoft.graph.beta.users.item.datasecurityandgovernance.sensitivitylabels.item.sublabels.evaluate.EvaluateRequestBuilder::|public|withUrl(rawUrl:String):EvaluateRequestBuilder +com.microsoft.graph.beta.users.item.datasecurityandgovernance.sensitivitylabels.item.sublabels.item.rights.RightsRequestBuilder-->BaseRequestBuilder +com.microsoft.graph.beta.users.item.datasecurityandgovernance.sensitivitylabels.item.sublabels.item.rights.RightsRequestBuilder.GetQueryParameters::|public|expand:String[] +com.microsoft.graph.beta.users.item.datasecurityandgovernance.sensitivitylabels.item.sublabels.item.rights.RightsRequestBuilder.GetQueryParameters::|public|select:String[] +com.microsoft.graph.beta.users.item.datasecurityandgovernance.sensitivitylabels.item.sublabels.item.rights.RightsRequestBuilder.GetQueryParameters::|public|toQueryParameters():Map +com.microsoft.graph.beta.users.item.datasecurityandgovernance.sensitivitylabels.item.sublabels.item.rights.RightsRequestBuilder.GetQueryParameters~~>QueryParameters +com.microsoft.graph.beta.users.item.datasecurityandgovernance.sensitivitylabels.item.sublabels.item.rights.RightsRequestBuilder.GetRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.beta.users.item.datasecurityandgovernance.sensitivitylabels.item.sublabels.item.rights.RightsRequestBuilder.GetRequestConfiguration::|public|queryParameters:GetQueryParameters +com.microsoft.graph.beta.users.item.datasecurityandgovernance.sensitivitylabels.item.sublabels.item.rights.RightsRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.users.item.datasecurityandgovernance.sensitivitylabels.item.sublabels.item.rights.RightsRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.users.item.datasecurityandgovernance.sensitivitylabels.item.sublabels.item.rights.RightsRequestBuilder::|public|get():UsageRightsIncluded +com.microsoft.graph.beta.users.item.datasecurityandgovernance.sensitivitylabels.item.sublabels.item.rights.RightsRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):UsageRightsIncluded +com.microsoft.graph.beta.users.item.datasecurityandgovernance.sensitivitylabels.item.sublabels.item.rights.RightsRequestBuilder::|public|toGetRequestInformation():RequestInformation +com.microsoft.graph.beta.users.item.datasecurityandgovernance.sensitivitylabels.item.sublabels.item.rights.RightsRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.beta.users.item.datasecurityandgovernance.sensitivitylabels.item.sublabels.item.rights.RightsRequestBuilder::|public|withUrl(rawUrl:String):RightsRequestBuilder com.microsoft.graph.beta.users.item.datasecurityandgovernance.sensitivitylabels.item.sublabels.item.SensitivityLabelItemRequestBuilder-->BaseRequestBuilder com.microsoft.graph.beta.users.item.datasecurityandgovernance.sensitivitylabels.item.sublabels.item.SensitivityLabelItemRequestBuilder.DeleteRequestConfiguration-->BaseRequestConfiguration com.microsoft.graph.beta.users.item.datasecurityandgovernance.sensitivitylabels.item.sublabels.item.SensitivityLabelItemRequestBuilder.GetQueryParameters::|public|expand:String[] @@ -396866,6 +397931,7 @@ com.microsoft.graph.beta.users.item.datasecurityandgovernance.sensitivitylabels. com.microsoft.graph.beta.users.item.datasecurityandgovernance.sensitivitylabels.item.sublabels.item.SensitivityLabelItemRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):SensitivityLabel com.microsoft.graph.beta.users.item.datasecurityandgovernance.sensitivitylabels.item.sublabels.item.SensitivityLabelItemRequestBuilder::|public|patch(body:SensitivityLabel):SensitivityLabel com.microsoft.graph.beta.users.item.datasecurityandgovernance.sensitivitylabels.item.sublabels.item.SensitivityLabelItemRequestBuilder::|public|patch(body:SensitivityLabel; requestConfiguration?:java.util.function.Consumer):SensitivityLabel +com.microsoft.graph.beta.users.item.datasecurityandgovernance.sensitivitylabels.item.sublabels.item.SensitivityLabelItemRequestBuilder::|public|rights:RightsRequestBuilder com.microsoft.graph.beta.users.item.datasecurityandgovernance.sensitivitylabels.item.sublabels.item.SensitivityLabelItemRequestBuilder::|public|toDeleteRequestInformation():RequestInformation com.microsoft.graph.beta.users.item.datasecurityandgovernance.sensitivitylabels.item.sublabels.item.SensitivityLabelItemRequestBuilder::|public|toDeleteRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation com.microsoft.graph.beta.users.item.datasecurityandgovernance.sensitivitylabels.item.sublabels.item.SensitivityLabelItemRequestBuilder::|public|toGetRequestInformation():RequestInformation @@ -396888,6 +397954,8 @@ com.microsoft.graph.beta.users.item.datasecurityandgovernance.sensitivitylabels. com.microsoft.graph.beta.users.item.datasecurityandgovernance.sensitivitylabels.item.sublabels.SublabelsRequestBuilder.GetRequestConfiguration::|public|queryParameters:GetQueryParameters com.microsoft.graph.beta.users.item.datasecurityandgovernance.sensitivitylabels.item.sublabels.SublabelsRequestBuilder.PostRequestConfiguration-->BaseRequestConfiguration com.microsoft.graph.beta.users.item.datasecurityandgovernance.sensitivitylabels.item.sublabels.SublabelsRequestBuilder::|public|bySensitivityLabelId1(sensitivityLabelId1:String):SensitivityLabelItemRequestBuilder +com.microsoft.graph.beta.users.item.datasecurityandgovernance.sensitivitylabels.item.sublabels.SublabelsRequestBuilder::|public|computeInheritanceWithLabelIdsWithLocaleWithContentFormats(contentFormats:String; labelIds:String; locale:String):ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder +com.microsoft.graph.beta.users.item.datasecurityandgovernance.sensitivitylabels.item.sublabels.SublabelsRequestBuilder::|public|computeRightsAndInheritance:ComputeRightsAndInheritanceRequestBuilder com.microsoft.graph.beta.users.item.datasecurityandgovernance.sensitivitylabels.item.sublabels.SublabelsRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void com.microsoft.graph.beta.users.item.datasecurityandgovernance.sensitivitylabels.item.sublabels.SublabelsRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void com.microsoft.graph.beta.users.item.datasecurityandgovernance.sensitivitylabels.item.sublabels.SublabelsRequestBuilder::|public|count:CountRequestBuilder @@ -396916,6 +397984,8 @@ com.microsoft.graph.beta.users.item.datasecurityandgovernance.sensitivitylabels. com.microsoft.graph.beta.users.item.datasecurityandgovernance.sensitivitylabels.SensitivityLabelsRequestBuilder.GetRequestConfiguration::|public|queryParameters:GetQueryParameters com.microsoft.graph.beta.users.item.datasecurityandgovernance.sensitivitylabels.SensitivityLabelsRequestBuilder.PostRequestConfiguration-->BaseRequestConfiguration com.microsoft.graph.beta.users.item.datasecurityandgovernance.sensitivitylabels.SensitivityLabelsRequestBuilder::|public|bySensitivityLabelId(sensitivityLabelId:String):SensitivityLabelItemRequestBuilder +com.microsoft.graph.beta.users.item.datasecurityandgovernance.sensitivitylabels.SensitivityLabelsRequestBuilder::|public|computeInheritanceWithLabelIdsWithLocaleWithContentFormats(contentFormats:String; labelIds:String; locale:String):ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder +com.microsoft.graph.beta.users.item.datasecurityandgovernance.sensitivitylabels.SensitivityLabelsRequestBuilder::|public|computeRightsAndInheritance:ComputeRightsAndInheritanceRequestBuilder com.microsoft.graph.beta.users.item.datasecurityandgovernance.sensitivitylabels.SensitivityLabelsRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void com.microsoft.graph.beta.users.item.datasecurityandgovernance.sensitivitylabels.SensitivityLabelsRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void com.microsoft.graph.beta.users.item.datasecurityandgovernance.sensitivitylabels.SensitivityLabelsRequestBuilder::|public|count:CountRequestBuilder @@ -401975,6 +403045,42 @@ com.microsoft.graph.beta.users.item.informationprotection.policy.PolicyRequestBu com.microsoft.graph.beta.users.item.informationprotection.policy.PolicyRequestBuilder::|public|toPatchRequestInformation(body:InformationProtectionPolicy):RequestInformation com.microsoft.graph.beta.users.item.informationprotection.policy.PolicyRequestBuilder::|public|toPatchRequestInformation(body:InformationProtectionPolicy; requestConfiguration?:java.util.function.Consumer):RequestInformation com.microsoft.graph.beta.users.item.informationprotection.policy.PolicyRequestBuilder::|public|withUrl(rawUrl:String):PolicyRequestBuilder +com.microsoft.graph.beta.users.item.informationprotection.sensitivitylabels.computeinheritancewithlabelidswithlocalewithcontentformats.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder-->BaseRequestBuilder +com.microsoft.graph.beta.users.item.informationprotection.sensitivitylabels.computeinheritancewithlabelidswithlocalewithcontentformats.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder.GetRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.beta.users.item.informationprotection.sensitivitylabels.computeinheritancewithlabelidswithlocalewithcontentformats.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter; contentFormats?:String; labelIds?:String; locale?:String):Void +com.microsoft.graph.beta.users.item.informationprotection.sensitivitylabels.computeinheritancewithlabelidswithlocalewithcontentformats.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.users.item.informationprotection.sensitivitylabels.computeinheritancewithlabelidswithlocalewithcontentformats.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder::|public|get():SensitivityLabel +com.microsoft.graph.beta.users.item.informationprotection.sensitivitylabels.computeinheritancewithlabelidswithlocalewithcontentformats.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):SensitivityLabel +com.microsoft.graph.beta.users.item.informationprotection.sensitivitylabels.computeinheritancewithlabelidswithlocalewithcontentformats.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder::|public|toGetRequestInformation():RequestInformation +com.microsoft.graph.beta.users.item.informationprotection.sensitivitylabels.computeinheritancewithlabelidswithlocalewithcontentformats.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.beta.users.item.informationprotection.sensitivitylabels.computeinheritancewithlabelidswithlocalewithcontentformats.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder::|public|withUrl(rawUrl:String):ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder +com.microsoft.graph.beta.users.item.informationprotection.sensitivitylabels.computerightsandinheritance.ComputeRightsAndInheritancePostRequestBody::|protected|backingStore:BackingStore +com.microsoft.graph.beta.users.item.informationprotection.sensitivitylabels.computerightsandinheritance.ComputeRightsAndInheritancePostRequestBody::|public|constructor():void +com.microsoft.graph.beta.users.item.informationprotection.sensitivitylabels.computerightsandinheritance.ComputeRightsAndInheritancePostRequestBody::|public|getAdditionalData():Map +com.microsoft.graph.beta.users.item.informationprotection.sensitivitylabels.computerightsandinheritance.ComputeRightsAndInheritancePostRequestBody::|public|getBackingStore():BackingStore +com.microsoft.graph.beta.users.item.informationprotection.sensitivitylabels.computerightsandinheritance.ComputeRightsAndInheritancePostRequestBody::|public|getDelegatedUserEmail():String +com.microsoft.graph.beta.users.item.informationprotection.sensitivitylabels.computerightsandinheritance.ComputeRightsAndInheritancePostRequestBody::|public|getFieldDeserializers():Map> +com.microsoft.graph.beta.users.item.informationprotection.sensitivitylabels.computerightsandinheritance.ComputeRightsAndInheritancePostRequestBody::|public|getLocale():String +com.microsoft.graph.beta.users.item.informationprotection.sensitivitylabels.computerightsandinheritance.ComputeRightsAndInheritancePostRequestBody::|public|getProtectedContents():java.util.List +com.microsoft.graph.beta.users.item.informationprotection.sensitivitylabels.computerightsandinheritance.ComputeRightsAndInheritancePostRequestBody::|public|getSupportedContentFormats():java.util.List +com.microsoft.graph.beta.users.item.informationprotection.sensitivitylabels.computerightsandinheritance.ComputeRightsAndInheritancePostRequestBody::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.beta.users.item.informationprotection.sensitivitylabels.computerightsandinheritance.ComputeRightsAndInheritancePostRequestBody::|public|setAdditionalData(value?:Map):void +com.microsoft.graph.beta.users.item.informationprotection.sensitivitylabels.computerightsandinheritance.ComputeRightsAndInheritancePostRequestBody::|public|setBackingStore(value:BackingStore):void +com.microsoft.graph.beta.users.item.informationprotection.sensitivitylabels.computerightsandinheritance.ComputeRightsAndInheritancePostRequestBody::|public|setDelegatedUserEmail(value?:String):void +com.microsoft.graph.beta.users.item.informationprotection.sensitivitylabels.computerightsandinheritance.ComputeRightsAndInheritancePostRequestBody::|public|setLocale(value?:String):void +com.microsoft.graph.beta.users.item.informationprotection.sensitivitylabels.computerightsandinheritance.ComputeRightsAndInheritancePostRequestBody::|public|setProtectedContents(value?:java.util.List):void +com.microsoft.graph.beta.users.item.informationprotection.sensitivitylabels.computerightsandinheritance.ComputeRightsAndInheritancePostRequestBody::|public|setSupportedContentFormats(value?:java.util.List):void +com.microsoft.graph.beta.users.item.informationprotection.sensitivitylabels.computerightsandinheritance.ComputeRightsAndInheritancePostRequestBody::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):ComputeRightsAndInheritancePostRequestBody +com.microsoft.graph.beta.users.item.informationprotection.sensitivitylabels.computerightsandinheritance.ComputeRightsAndInheritancePostRequestBody~~>AdditionalDataHolder; BackedModel; Parsable +com.microsoft.graph.beta.users.item.informationprotection.sensitivitylabels.computerightsandinheritance.ComputeRightsAndInheritanceRequestBuilder-->BaseRequestBuilder +com.microsoft.graph.beta.users.item.informationprotection.sensitivitylabels.computerightsandinheritance.ComputeRightsAndInheritanceRequestBuilder.PostRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.beta.users.item.informationprotection.sensitivitylabels.computerightsandinheritance.ComputeRightsAndInheritanceRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.users.item.informationprotection.sensitivitylabels.computerightsandinheritance.ComputeRightsAndInheritanceRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.users.item.informationprotection.sensitivitylabels.computerightsandinheritance.ComputeRightsAndInheritanceRequestBuilder::|public|post(body:ComputeRightsAndInheritancePostRequestBody):ComputeRightsAndInheritanceResult +com.microsoft.graph.beta.users.item.informationprotection.sensitivitylabels.computerightsandinheritance.ComputeRightsAndInheritanceRequestBuilder::|public|post(body:ComputeRightsAndInheritancePostRequestBody; requestConfiguration?:java.util.function.Consumer):ComputeRightsAndInheritanceResult +com.microsoft.graph.beta.users.item.informationprotection.sensitivitylabels.computerightsandinheritance.ComputeRightsAndInheritanceRequestBuilder::|public|toPostRequestInformation(body:ComputeRightsAndInheritancePostRequestBody):RequestInformation +com.microsoft.graph.beta.users.item.informationprotection.sensitivitylabels.computerightsandinheritance.ComputeRightsAndInheritanceRequestBuilder::|public|toPostRequestInformation(body:ComputeRightsAndInheritancePostRequestBody; requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.beta.users.item.informationprotection.sensitivitylabels.computerightsandinheritance.ComputeRightsAndInheritanceRequestBuilder::|public|withUrl(rawUrl:String):ComputeRightsAndInheritanceRequestBuilder com.microsoft.graph.beta.users.item.informationprotection.sensitivitylabels.count.CountRequestBuilder-->BaseRequestBuilder com.microsoft.graph.beta.users.item.informationprotection.sensitivitylabels.count.CountRequestBuilder.GetQueryParameters::|public|filter:String com.microsoft.graph.beta.users.item.informationprotection.sensitivitylabels.count.CountRequestBuilder.GetQueryParameters::|public|search:String @@ -402012,6 +403118,20 @@ com.microsoft.graph.beta.users.item.informationprotection.sensitivitylabels.eval com.microsoft.graph.beta.users.item.informationprotection.sensitivitylabels.evaluate.EvaluateRequestBuilder::|public|toPostRequestInformation(body:EvaluatePostRequestBody):RequestInformation com.microsoft.graph.beta.users.item.informationprotection.sensitivitylabels.evaluate.EvaluateRequestBuilder::|public|toPostRequestInformation(body:EvaluatePostRequestBody; requestConfiguration?:java.util.function.Consumer):RequestInformation com.microsoft.graph.beta.users.item.informationprotection.sensitivitylabels.evaluate.EvaluateRequestBuilder::|public|withUrl(rawUrl:String):EvaluateRequestBuilder +com.microsoft.graph.beta.users.item.informationprotection.sensitivitylabels.item.rights.RightsRequestBuilder-->BaseRequestBuilder +com.microsoft.graph.beta.users.item.informationprotection.sensitivitylabels.item.rights.RightsRequestBuilder.GetQueryParameters::|public|expand:String[] +com.microsoft.graph.beta.users.item.informationprotection.sensitivitylabels.item.rights.RightsRequestBuilder.GetQueryParameters::|public|select:String[] +com.microsoft.graph.beta.users.item.informationprotection.sensitivitylabels.item.rights.RightsRequestBuilder.GetQueryParameters::|public|toQueryParameters():Map +com.microsoft.graph.beta.users.item.informationprotection.sensitivitylabels.item.rights.RightsRequestBuilder.GetQueryParameters~~>QueryParameters +com.microsoft.graph.beta.users.item.informationprotection.sensitivitylabels.item.rights.RightsRequestBuilder.GetRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.beta.users.item.informationprotection.sensitivitylabels.item.rights.RightsRequestBuilder.GetRequestConfiguration::|public|queryParameters:GetQueryParameters +com.microsoft.graph.beta.users.item.informationprotection.sensitivitylabels.item.rights.RightsRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.users.item.informationprotection.sensitivitylabels.item.rights.RightsRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.users.item.informationprotection.sensitivitylabels.item.rights.RightsRequestBuilder::|public|get():UsageRightsIncluded +com.microsoft.graph.beta.users.item.informationprotection.sensitivitylabels.item.rights.RightsRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):UsageRightsIncluded +com.microsoft.graph.beta.users.item.informationprotection.sensitivitylabels.item.rights.RightsRequestBuilder::|public|toGetRequestInformation():RequestInformation +com.microsoft.graph.beta.users.item.informationprotection.sensitivitylabels.item.rights.RightsRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.beta.users.item.informationprotection.sensitivitylabels.item.rights.RightsRequestBuilder::|public|withUrl(rawUrl:String):RightsRequestBuilder com.microsoft.graph.beta.users.item.informationprotection.sensitivitylabels.item.SensitivityLabelItemRequestBuilder-->BaseRequestBuilder com.microsoft.graph.beta.users.item.informationprotection.sensitivitylabels.item.SensitivityLabelItemRequestBuilder.DeleteRequestConfiguration-->BaseRequestConfiguration com.microsoft.graph.beta.users.item.informationprotection.sensitivitylabels.item.SensitivityLabelItemRequestBuilder.GetQueryParameters::|public|expand:String[] @@ -402029,6 +403149,7 @@ com.microsoft.graph.beta.users.item.informationprotection.sensitivitylabels.item com.microsoft.graph.beta.users.item.informationprotection.sensitivitylabels.item.SensitivityLabelItemRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):SensitivityLabel com.microsoft.graph.beta.users.item.informationprotection.sensitivitylabels.item.SensitivityLabelItemRequestBuilder::|public|patch(body:SensitivityLabel):SensitivityLabel com.microsoft.graph.beta.users.item.informationprotection.sensitivitylabels.item.SensitivityLabelItemRequestBuilder::|public|patch(body:SensitivityLabel; requestConfiguration?:java.util.function.Consumer):SensitivityLabel +com.microsoft.graph.beta.users.item.informationprotection.sensitivitylabels.item.SensitivityLabelItemRequestBuilder::|public|rights:RightsRequestBuilder com.microsoft.graph.beta.users.item.informationprotection.sensitivitylabels.item.SensitivityLabelItemRequestBuilder::|public|sublabels:SublabelsRequestBuilder com.microsoft.graph.beta.users.item.informationprotection.sensitivitylabels.item.SensitivityLabelItemRequestBuilder::|public|toDeleteRequestInformation():RequestInformation com.microsoft.graph.beta.users.item.informationprotection.sensitivitylabels.item.SensitivityLabelItemRequestBuilder::|public|toDeleteRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation @@ -402037,6 +403158,42 @@ com.microsoft.graph.beta.users.item.informationprotection.sensitivitylabels.item com.microsoft.graph.beta.users.item.informationprotection.sensitivitylabels.item.SensitivityLabelItemRequestBuilder::|public|toPatchRequestInformation(body:SensitivityLabel):RequestInformation com.microsoft.graph.beta.users.item.informationprotection.sensitivitylabels.item.SensitivityLabelItemRequestBuilder::|public|toPatchRequestInformation(body:SensitivityLabel; requestConfiguration?:java.util.function.Consumer):RequestInformation com.microsoft.graph.beta.users.item.informationprotection.sensitivitylabels.item.SensitivityLabelItemRequestBuilder::|public|withUrl(rawUrl:String):SensitivityLabelItemRequestBuilder +com.microsoft.graph.beta.users.item.informationprotection.sensitivitylabels.item.sublabels.computeinheritancewithlabelidswithlocalewithcontentformats.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder-->BaseRequestBuilder +com.microsoft.graph.beta.users.item.informationprotection.sensitivitylabels.item.sublabels.computeinheritancewithlabelidswithlocalewithcontentformats.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder.GetRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.beta.users.item.informationprotection.sensitivitylabels.item.sublabels.computeinheritancewithlabelidswithlocalewithcontentformats.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter; contentFormats?:String; labelIds?:String; locale?:String):Void +com.microsoft.graph.beta.users.item.informationprotection.sensitivitylabels.item.sublabels.computeinheritancewithlabelidswithlocalewithcontentformats.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.users.item.informationprotection.sensitivitylabels.item.sublabels.computeinheritancewithlabelidswithlocalewithcontentformats.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder::|public|get():SensitivityLabel +com.microsoft.graph.beta.users.item.informationprotection.sensitivitylabels.item.sublabels.computeinheritancewithlabelidswithlocalewithcontentformats.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):SensitivityLabel +com.microsoft.graph.beta.users.item.informationprotection.sensitivitylabels.item.sublabels.computeinheritancewithlabelidswithlocalewithcontentformats.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder::|public|toGetRequestInformation():RequestInformation +com.microsoft.graph.beta.users.item.informationprotection.sensitivitylabels.item.sublabels.computeinheritancewithlabelidswithlocalewithcontentformats.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.beta.users.item.informationprotection.sensitivitylabels.item.sublabels.computeinheritancewithlabelidswithlocalewithcontentformats.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder::|public|withUrl(rawUrl:String):ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder +com.microsoft.graph.beta.users.item.informationprotection.sensitivitylabels.item.sublabels.computerightsandinheritance.ComputeRightsAndInheritancePostRequestBody::|protected|backingStore:BackingStore +com.microsoft.graph.beta.users.item.informationprotection.sensitivitylabels.item.sublabels.computerightsandinheritance.ComputeRightsAndInheritancePostRequestBody::|public|constructor():void +com.microsoft.graph.beta.users.item.informationprotection.sensitivitylabels.item.sublabels.computerightsandinheritance.ComputeRightsAndInheritancePostRequestBody::|public|getAdditionalData():Map +com.microsoft.graph.beta.users.item.informationprotection.sensitivitylabels.item.sublabels.computerightsandinheritance.ComputeRightsAndInheritancePostRequestBody::|public|getBackingStore():BackingStore +com.microsoft.graph.beta.users.item.informationprotection.sensitivitylabels.item.sublabels.computerightsandinheritance.ComputeRightsAndInheritancePostRequestBody::|public|getDelegatedUserEmail():String +com.microsoft.graph.beta.users.item.informationprotection.sensitivitylabels.item.sublabels.computerightsandinheritance.ComputeRightsAndInheritancePostRequestBody::|public|getFieldDeserializers():Map> +com.microsoft.graph.beta.users.item.informationprotection.sensitivitylabels.item.sublabels.computerightsandinheritance.ComputeRightsAndInheritancePostRequestBody::|public|getLocale():String +com.microsoft.graph.beta.users.item.informationprotection.sensitivitylabels.item.sublabels.computerightsandinheritance.ComputeRightsAndInheritancePostRequestBody::|public|getProtectedContents():java.util.List +com.microsoft.graph.beta.users.item.informationprotection.sensitivitylabels.item.sublabels.computerightsandinheritance.ComputeRightsAndInheritancePostRequestBody::|public|getSupportedContentFormats():java.util.List +com.microsoft.graph.beta.users.item.informationprotection.sensitivitylabels.item.sublabels.computerightsandinheritance.ComputeRightsAndInheritancePostRequestBody::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.beta.users.item.informationprotection.sensitivitylabels.item.sublabels.computerightsandinheritance.ComputeRightsAndInheritancePostRequestBody::|public|setAdditionalData(value?:Map):void +com.microsoft.graph.beta.users.item.informationprotection.sensitivitylabels.item.sublabels.computerightsandinheritance.ComputeRightsAndInheritancePostRequestBody::|public|setBackingStore(value:BackingStore):void +com.microsoft.graph.beta.users.item.informationprotection.sensitivitylabels.item.sublabels.computerightsandinheritance.ComputeRightsAndInheritancePostRequestBody::|public|setDelegatedUserEmail(value?:String):void +com.microsoft.graph.beta.users.item.informationprotection.sensitivitylabels.item.sublabels.computerightsandinheritance.ComputeRightsAndInheritancePostRequestBody::|public|setLocale(value?:String):void +com.microsoft.graph.beta.users.item.informationprotection.sensitivitylabels.item.sublabels.computerightsandinheritance.ComputeRightsAndInheritancePostRequestBody::|public|setProtectedContents(value?:java.util.List):void +com.microsoft.graph.beta.users.item.informationprotection.sensitivitylabels.item.sublabels.computerightsandinheritance.ComputeRightsAndInheritancePostRequestBody::|public|setSupportedContentFormats(value?:java.util.List):void +com.microsoft.graph.beta.users.item.informationprotection.sensitivitylabels.item.sublabels.computerightsandinheritance.ComputeRightsAndInheritancePostRequestBody::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):ComputeRightsAndInheritancePostRequestBody +com.microsoft.graph.beta.users.item.informationprotection.sensitivitylabels.item.sublabels.computerightsandinheritance.ComputeRightsAndInheritancePostRequestBody~~>AdditionalDataHolder; BackedModel; Parsable +com.microsoft.graph.beta.users.item.informationprotection.sensitivitylabels.item.sublabels.computerightsandinheritance.ComputeRightsAndInheritanceRequestBuilder-->BaseRequestBuilder +com.microsoft.graph.beta.users.item.informationprotection.sensitivitylabels.item.sublabels.computerightsandinheritance.ComputeRightsAndInheritanceRequestBuilder.PostRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.beta.users.item.informationprotection.sensitivitylabels.item.sublabels.computerightsandinheritance.ComputeRightsAndInheritanceRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.users.item.informationprotection.sensitivitylabels.item.sublabels.computerightsandinheritance.ComputeRightsAndInheritanceRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.users.item.informationprotection.sensitivitylabels.item.sublabels.computerightsandinheritance.ComputeRightsAndInheritanceRequestBuilder::|public|post(body:ComputeRightsAndInheritancePostRequestBody):ComputeRightsAndInheritanceResult +com.microsoft.graph.beta.users.item.informationprotection.sensitivitylabels.item.sublabels.computerightsandinheritance.ComputeRightsAndInheritanceRequestBuilder::|public|post(body:ComputeRightsAndInheritancePostRequestBody; requestConfiguration?:java.util.function.Consumer):ComputeRightsAndInheritanceResult +com.microsoft.graph.beta.users.item.informationprotection.sensitivitylabels.item.sublabels.computerightsandinheritance.ComputeRightsAndInheritanceRequestBuilder::|public|toPostRequestInformation(body:ComputeRightsAndInheritancePostRequestBody):RequestInformation +com.microsoft.graph.beta.users.item.informationprotection.sensitivitylabels.item.sublabels.computerightsandinheritance.ComputeRightsAndInheritanceRequestBuilder::|public|toPostRequestInformation(body:ComputeRightsAndInheritancePostRequestBody; requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.beta.users.item.informationprotection.sensitivitylabels.item.sublabels.computerightsandinheritance.ComputeRightsAndInheritanceRequestBuilder::|public|withUrl(rawUrl:String):ComputeRightsAndInheritanceRequestBuilder com.microsoft.graph.beta.users.item.informationprotection.sensitivitylabels.item.sublabels.count.CountRequestBuilder-->BaseRequestBuilder com.microsoft.graph.beta.users.item.informationprotection.sensitivitylabels.item.sublabels.count.CountRequestBuilder.GetQueryParameters::|public|filter:String com.microsoft.graph.beta.users.item.informationprotection.sensitivitylabels.item.sublabels.count.CountRequestBuilder.GetQueryParameters::|public|search:String @@ -402074,6 +403231,20 @@ com.microsoft.graph.beta.users.item.informationprotection.sensitivitylabels.item com.microsoft.graph.beta.users.item.informationprotection.sensitivitylabels.item.sublabels.evaluate.EvaluateRequestBuilder::|public|toPostRequestInformation(body:EvaluatePostRequestBody):RequestInformation com.microsoft.graph.beta.users.item.informationprotection.sensitivitylabels.item.sublabels.evaluate.EvaluateRequestBuilder::|public|toPostRequestInformation(body:EvaluatePostRequestBody; requestConfiguration?:java.util.function.Consumer):RequestInformation com.microsoft.graph.beta.users.item.informationprotection.sensitivitylabels.item.sublabels.evaluate.EvaluateRequestBuilder::|public|withUrl(rawUrl:String):EvaluateRequestBuilder +com.microsoft.graph.beta.users.item.informationprotection.sensitivitylabels.item.sublabels.item.rights.RightsRequestBuilder-->BaseRequestBuilder +com.microsoft.graph.beta.users.item.informationprotection.sensitivitylabels.item.sublabels.item.rights.RightsRequestBuilder.GetQueryParameters::|public|expand:String[] +com.microsoft.graph.beta.users.item.informationprotection.sensitivitylabels.item.sublabels.item.rights.RightsRequestBuilder.GetQueryParameters::|public|select:String[] +com.microsoft.graph.beta.users.item.informationprotection.sensitivitylabels.item.sublabels.item.rights.RightsRequestBuilder.GetQueryParameters::|public|toQueryParameters():Map +com.microsoft.graph.beta.users.item.informationprotection.sensitivitylabels.item.sublabels.item.rights.RightsRequestBuilder.GetQueryParameters~~>QueryParameters +com.microsoft.graph.beta.users.item.informationprotection.sensitivitylabels.item.sublabels.item.rights.RightsRequestBuilder.GetRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.beta.users.item.informationprotection.sensitivitylabels.item.sublabels.item.rights.RightsRequestBuilder.GetRequestConfiguration::|public|queryParameters:GetQueryParameters +com.microsoft.graph.beta.users.item.informationprotection.sensitivitylabels.item.sublabels.item.rights.RightsRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.users.item.informationprotection.sensitivitylabels.item.sublabels.item.rights.RightsRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.users.item.informationprotection.sensitivitylabels.item.sublabels.item.rights.RightsRequestBuilder::|public|get():UsageRightsIncluded +com.microsoft.graph.beta.users.item.informationprotection.sensitivitylabels.item.sublabels.item.rights.RightsRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):UsageRightsIncluded +com.microsoft.graph.beta.users.item.informationprotection.sensitivitylabels.item.sublabels.item.rights.RightsRequestBuilder::|public|toGetRequestInformation():RequestInformation +com.microsoft.graph.beta.users.item.informationprotection.sensitivitylabels.item.sublabels.item.rights.RightsRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.beta.users.item.informationprotection.sensitivitylabels.item.sublabels.item.rights.RightsRequestBuilder::|public|withUrl(rawUrl:String):RightsRequestBuilder com.microsoft.graph.beta.users.item.informationprotection.sensitivitylabels.item.sublabels.item.SensitivityLabelItemRequestBuilder-->BaseRequestBuilder com.microsoft.graph.beta.users.item.informationprotection.sensitivitylabels.item.sublabels.item.SensitivityLabelItemRequestBuilder.DeleteRequestConfiguration-->BaseRequestConfiguration com.microsoft.graph.beta.users.item.informationprotection.sensitivitylabels.item.sublabels.item.SensitivityLabelItemRequestBuilder.GetQueryParameters::|public|expand:String[] @@ -402091,6 +403262,7 @@ com.microsoft.graph.beta.users.item.informationprotection.sensitivitylabels.item com.microsoft.graph.beta.users.item.informationprotection.sensitivitylabels.item.sublabels.item.SensitivityLabelItemRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):SensitivityLabel com.microsoft.graph.beta.users.item.informationprotection.sensitivitylabels.item.sublabels.item.SensitivityLabelItemRequestBuilder::|public|patch(body:SensitivityLabel):SensitivityLabel com.microsoft.graph.beta.users.item.informationprotection.sensitivitylabels.item.sublabels.item.SensitivityLabelItemRequestBuilder::|public|patch(body:SensitivityLabel; requestConfiguration?:java.util.function.Consumer):SensitivityLabel +com.microsoft.graph.beta.users.item.informationprotection.sensitivitylabels.item.sublabels.item.SensitivityLabelItemRequestBuilder::|public|rights:RightsRequestBuilder com.microsoft.graph.beta.users.item.informationprotection.sensitivitylabels.item.sublabels.item.SensitivityLabelItemRequestBuilder::|public|toDeleteRequestInformation():RequestInformation com.microsoft.graph.beta.users.item.informationprotection.sensitivitylabels.item.sublabels.item.SensitivityLabelItemRequestBuilder::|public|toDeleteRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation com.microsoft.graph.beta.users.item.informationprotection.sensitivitylabels.item.sublabels.item.SensitivityLabelItemRequestBuilder::|public|toGetRequestInformation():RequestInformation @@ -402113,6 +403285,8 @@ com.microsoft.graph.beta.users.item.informationprotection.sensitivitylabels.item com.microsoft.graph.beta.users.item.informationprotection.sensitivitylabels.item.sublabels.SublabelsRequestBuilder.GetRequestConfiguration::|public|queryParameters:GetQueryParameters com.microsoft.graph.beta.users.item.informationprotection.sensitivitylabels.item.sublabels.SublabelsRequestBuilder.PostRequestConfiguration-->BaseRequestConfiguration com.microsoft.graph.beta.users.item.informationprotection.sensitivitylabels.item.sublabels.SublabelsRequestBuilder::|public|bySensitivityLabelId1(sensitivityLabelId1:String):SensitivityLabelItemRequestBuilder +com.microsoft.graph.beta.users.item.informationprotection.sensitivitylabels.item.sublabels.SublabelsRequestBuilder::|public|computeInheritanceWithLabelIdsWithLocaleWithContentFormats(contentFormats:String; labelIds:String; locale:String):ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder +com.microsoft.graph.beta.users.item.informationprotection.sensitivitylabels.item.sublabels.SublabelsRequestBuilder::|public|computeRightsAndInheritance:ComputeRightsAndInheritanceRequestBuilder com.microsoft.graph.beta.users.item.informationprotection.sensitivitylabels.item.sublabels.SublabelsRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void com.microsoft.graph.beta.users.item.informationprotection.sensitivitylabels.item.sublabels.SublabelsRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void com.microsoft.graph.beta.users.item.informationprotection.sensitivitylabels.item.sublabels.SublabelsRequestBuilder::|public|count:CountRequestBuilder @@ -402141,6 +403315,8 @@ com.microsoft.graph.beta.users.item.informationprotection.sensitivitylabels.Sens com.microsoft.graph.beta.users.item.informationprotection.sensitivitylabels.SensitivityLabelsRequestBuilder.GetRequestConfiguration::|public|queryParameters:GetQueryParameters com.microsoft.graph.beta.users.item.informationprotection.sensitivitylabels.SensitivityLabelsRequestBuilder.PostRequestConfiguration-->BaseRequestConfiguration com.microsoft.graph.beta.users.item.informationprotection.sensitivitylabels.SensitivityLabelsRequestBuilder::|public|bySensitivityLabelId(sensitivityLabelId:String):SensitivityLabelItemRequestBuilder +com.microsoft.graph.beta.users.item.informationprotection.sensitivitylabels.SensitivityLabelsRequestBuilder::|public|computeInheritanceWithLabelIdsWithLocaleWithContentFormats(contentFormats:String; labelIds:String; locale:String):ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder +com.microsoft.graph.beta.users.item.informationprotection.sensitivitylabels.SensitivityLabelsRequestBuilder::|public|computeRightsAndInheritance:ComputeRightsAndInheritanceRequestBuilder com.microsoft.graph.beta.users.item.informationprotection.sensitivitylabels.SensitivityLabelsRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void com.microsoft.graph.beta.users.item.informationprotection.sensitivitylabels.SensitivityLabelsRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void com.microsoft.graph.beta.users.item.informationprotection.sensitivitylabels.SensitivityLabelsRequestBuilder::|public|count:CountRequestBuilder diff --git a/src/main/java/com/microsoft/graph/beta/generated/kiota-lock.json b/src/main/java/com/microsoft/graph/beta/generated/kiota-lock.json index be125811c4d..07f13e31feb 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/kiota-lock.json +++ b/src/main/java/com/microsoft/graph/beta/generated/kiota-lock.json @@ -1,5 +1,5 @@ { - "descriptionHash": "6516F0177EBE1D31E055A71F3E57E2619154DA13E476CEAE9328855C01EB1812B43C65D6DEEE30BF0AF0BBA91CAE56910333B15AC9E8224B7A17959DA6569EFA", + "descriptionHash": "0F40AB32284DFBDC12F20879BCAF6E5BAD30CAECFB277F7C18483CEA887D728A856B1B727CE4F67A8F4CBF0955C0E7F998B80F9A8691E015E619EF53C18818C7", "descriptionLocation": "../../msgraph-metadata/clean_beta_openapi/openapi.yaml", "lockFileVersion": "1.0.0", "kiotaVersion": "1.27.0", diff --git a/src/main/java/com/microsoft/graph/beta/generated/models/AccessPackageAssignmentPolicy.java b/src/main/java/com/microsoft/graph/beta/generated/models/AccessPackageAssignmentPolicy.java index 0abb18009a3..de82aed38c6 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/models/AccessPackageAssignmentPolicy.java +++ b/src/main/java/com/microsoft/graph/beta/generated/models/AccessPackageAssignmentPolicy.java @@ -50,7 +50,7 @@ public String getAccessPackageId() { return this.backingStore.get("accessPackageId"); } /** - * Gets the accessPackageNotificationSettings property value. The accessPackageNotificationSettings property + * Gets the accessPackageNotificationSettings property value. Represents the settings for email notifications for requests to an access package. * @return a {@link AccessPackageNotificationSettings} */ @jakarta.annotation.Nullable @@ -264,7 +264,7 @@ public void setAccessPackageId(@jakarta.annotation.Nullable final String value) this.backingStore.set("accessPackageId", value); } /** - * Sets the accessPackageNotificationSettings property value. The accessPackageNotificationSettings property + * Sets the accessPackageNotificationSettings property value. Represents the settings for email notifications for requests to an access package. * @param value Value to set for the accessPackageNotificationSettings property. */ public void setAccessPackageNotificationSettings(@jakarta.annotation.Nullable final AccessPackageNotificationSettings value) { diff --git a/src/main/java/com/microsoft/graph/beta/generated/models/AccessPackageNotificationSettings.java b/src/main/java/com/microsoft/graph/beta/generated/models/AccessPackageNotificationSettings.java index 28d8ff8133f..2631c3f6673 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/models/AccessPackageNotificationSettings.java +++ b/src/main/java/com/microsoft/graph/beta/generated/models/AccessPackageNotificationSettings.java @@ -67,7 +67,7 @@ public Map> getFieldDeserializers return deserializerMap; } /** - * Gets the isAssignmentNotificationDisabled property value. The isAssignmentNotificationDisabled property + * Gets the isAssignmentNotificationDisabled property value. Indicates if notification emails for an access package are disabled within an access package assignment policy. * @return a {@link Boolean} */ @jakarta.annotation.Nullable @@ -108,7 +108,7 @@ public void setBackingStore(@jakarta.annotation.Nonnull final BackingStore value this.backingStore = value; } /** - * Sets the isAssignmentNotificationDisabled property value. The isAssignmentNotificationDisabled property + * Sets the isAssignmentNotificationDisabled property value. Indicates if notification emails for an access package are disabled within an access package assignment policy. * @param value Value to set for the isAssignmentNotificationDisabled property. */ public void setIsAssignmentNotificationDisabled(@jakarta.annotation.Nullable final Boolean value) { diff --git a/src/main/java/com/microsoft/graph/beta/generated/models/AutoLabeling.java b/src/main/java/com/microsoft/graph/beta/generated/models/AutoLabeling.java index e4c53c49b33..5b341d8a929 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/models/AutoLabeling.java +++ b/src/main/java/com/microsoft/graph/beta/generated/models/AutoLabeling.java @@ -68,7 +68,7 @@ public Map> getFieldDeserializers return deserializerMap; } /** - * Gets the message property value. The message property + * Gets the message property value. The message displayed to the user when the label is applied automatically. * @return a {@link String} */ @jakarta.annotation.Nullable @@ -84,7 +84,7 @@ public String getOdataType() { return this.backingStore.get("odataType"); } /** - * Gets the sensitiveTypeIds property value. The sensitiveTypeIds property + * Gets the sensitiveTypeIds property value. The list of sensitive information type (SIT) IDs that trigger the automatic application of this label. * @return a {@link java.util.List} */ @jakarta.annotation.Nullable @@ -118,7 +118,7 @@ public void setBackingStore(@jakarta.annotation.Nonnull final BackingStore value this.backingStore = value; } /** - * Sets the message property value. The message property + * Sets the message property value. The message displayed to the user when the label is applied automatically. * @param value Value to set for the message property. */ public void setMessage(@jakarta.annotation.Nullable final String value) { @@ -132,7 +132,7 @@ public void setOdataType(@jakarta.annotation.Nullable final String value) { this.backingStore.set("odataType", value); } /** - * Sets the sensitiveTypeIds property value. The sensitiveTypeIds property + * Sets the sensitiveTypeIds property value. The list of sensitive information type (SIT) IDs that trigger the automatic application of this label. * @param value Value to set for the sensitiveTypeIds property. */ public void setSensitiveTypeIds(@jakarta.annotation.Nullable final java.util.List value) { diff --git a/src/main/java/com/microsoft/graph/beta/generated/models/ClassificationError.java b/src/main/java/com/microsoft/graph/beta/generated/models/ClassificationError.java index 313825cb044..9be09590683 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/models/ClassificationError.java +++ b/src/main/java/com/microsoft/graph/beta/generated/models/ClassificationError.java @@ -32,7 +32,7 @@ public static ClassificationError createFromDiscriminatorValue(@jakarta.annotati return new ClassificationError(); } /** - * Gets the details property value. A collection of more specific errors that contribute to the overall error. + * Gets the details property value. A collection of more specific errors contributing to the overall error. * @return a {@link java.util.List} */ @jakarta.annotation.Nullable @@ -59,7 +59,7 @@ public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writ writer.writeCollectionOfObjectValues("details", this.getDetails()); } /** - * Sets the details property value. A collection of more specific errors that contribute to the overall error. + * Sets the details property value. A collection of more specific errors contributing to the overall error. * @param value Value to set for the details property. */ public void setDetails(@jakarta.annotation.Nullable final java.util.List value) { diff --git a/src/main/java/com/microsoft/graph/beta/generated/models/CloudPcPolicyScheduledApplyActionDetail.java b/src/main/java/com/microsoft/graph/beta/generated/models/CloudPcPolicyScheduledApplyActionDetail.java index ec50df6d444..2953b892407 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/models/CloudPcPolicyScheduledApplyActionDetail.java +++ b/src/main/java/com/microsoft/graph/beta/generated/models/CloudPcPolicyScheduledApplyActionDetail.java @@ -25,7 +25,7 @@ public static CloudPcPolicyScheduledApplyActionDetail createFromDiscriminatorVal return new CloudPcPolicyScheduledApplyActionDetail(); } /** - * Gets the cronScheduleExpression property value. An expression that specifies the cron schedule. (For example, '0 0 0 20 ' means schedules a job to run at midnight on the 20th of every month) Administrators can set a cron expression to define the scheduling rules for automatic regular application. When auto-provision is disabled, cronScheduleExpression is set to null, stopping the automatic task scheduling. Read-Only. + * Gets the cronScheduleExpression property value. An expression that specifies the cron schedule. (For example, '0 0 0 20 ' means schedules a job to run at midnight on the 20th of every month) Administrators can set a cron expression to define the scheduling rules for automatic regular application. When auto provision is disabled, cronScheduleExpression is set to null, stopping the automatic task scheduling. Read-Only. * @return a {@link String} */ @jakarta.annotation.Nullable @@ -62,7 +62,7 @@ public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writ writer.writeIntegerValue("reservePercentage", this.getReservePercentage()); } /** - * Sets the cronScheduleExpression property value. An expression that specifies the cron schedule. (For example, '0 0 0 20 ' means schedules a job to run at midnight on the 20th of every month) Administrators can set a cron expression to define the scheduling rules for automatic regular application. When auto-provision is disabled, cronScheduleExpression is set to null, stopping the automatic task scheduling. Read-Only. + * Sets the cronScheduleExpression property value. An expression that specifies the cron schedule. (For example, '0 0 0 20 ' means schedules a job to run at midnight on the 20th of every month) Administrators can set a cron expression to define the scheduling rules for automatic regular application. When auto provision is disabled, cronScheduleExpression is set to null, stopping the automatic task scheduling. Read-Only. * @param value Value to set for the cronScheduleExpression property. */ public void setCronScheduleExpression(@jakarta.annotation.Nullable final String value) { diff --git a/src/main/java/com/microsoft/graph/beta/generated/models/CloudPcRecommendationReportType.java b/src/main/java/com/microsoft/graph/beta/generated/models/CloudPcRecommendationReportType.java new file mode 100644 index 00000000000..5daac935a1b --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/models/CloudPcRecommendationReportType.java @@ -0,0 +1,25 @@ +package com.microsoft.graph.beta.models; + +import com.microsoft.kiota.serialization.ValuedEnum; +import java.util.Objects; + +@jakarta.annotation.Generated("com.microsoft.kiota") +public enum CloudPcRecommendationReportType implements ValuedEnum { + CloudPcUsageCategoryReports("cloudPcUsageCategoryReports"), + UnknownFutureValue("unknownFutureValue"); + public final String value; + CloudPcRecommendationReportType(final String value) { + this.value = value; + } + @jakarta.annotation.Nonnull + public String getValue() { return this.value; } + @jakarta.annotation.Nullable + public static CloudPcRecommendationReportType forValue(@jakarta.annotation.Nonnull final String searchValue) { + Objects.requireNonNull(searchValue); + switch(searchValue) { + case "cloudPcUsageCategoryReports": return CloudPcUsageCategoryReports; + case "unknownFutureValue": return UnknownFutureValue; + default: return null; + } + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/models/ComputeRightsAndInheritanceResult.java b/src/main/java/com/microsoft/graph/beta/generated/models/ComputeRightsAndInheritanceResult.java new file mode 100644 index 00000000000..06857168402 --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/models/ComputeRightsAndInheritanceResult.java @@ -0,0 +1,158 @@ +package com.microsoft.graph.beta.models; + +import com.microsoft.kiota.serialization.AdditionalDataHolder; +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParseNode; +import com.microsoft.kiota.serialization.SerializationWriter; +import com.microsoft.kiota.store.BackedModel; +import com.microsoft.kiota.store.BackingStore; +import com.microsoft.kiota.store.BackingStoreFactorySingleton; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +@jakarta.annotation.Generated("com.microsoft.kiota") +public class ComputeRightsAndInheritanceResult implements AdditionalDataHolder, BackedModel, Parsable { + /** + * Stores model information. + */ + @jakarta.annotation.Nonnull + protected BackingStore backingStore; + /** + * Instantiates a new {@link ComputeRightsAndInheritanceResult} and sets the default values. + */ + public ComputeRightsAndInheritanceResult() { + this.backingStore = BackingStoreFactorySingleton.instance.createBackingStore(); + this.setAdditionalData(new HashMap<>()); + } + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param parseNode The parse node to use to read the discriminator value and create the object + * @return a {@link ComputeRightsAndInheritanceResult} + */ + @jakarta.annotation.Nonnull + public static ComputeRightsAndInheritanceResult createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) { + Objects.requireNonNull(parseNode); + return new ComputeRightsAndInheritanceResult(); + } + /** + * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @return a {@link Map} + */ + @jakarta.annotation.Nonnull + public Map getAdditionalData() { + Map value = this.backingStore.get("additionalData"); + if(value == null) { + value = new HashMap<>(); + this.setAdditionalData(value); + } + return value; + } + /** + * Gets the backingStore property value. Stores model information. + * @return a {@link BackingStore} + */ + @jakarta.annotation.Nonnull + public BackingStore getBackingStore() { + return this.backingStore; + } + /** + * Gets the contentRights property value. The contentRights property + * @return a {@link java.util.List} + */ + @jakarta.annotation.Nullable + public java.util.List getContentRights() { + return this.backingStore.get("contentRights"); + } + /** + * The deserialization information for the current model + * @return a {@link Map>} + */ + @jakarta.annotation.Nonnull + public Map> getFieldDeserializers() { + final HashMap> deserializerMap = new HashMap>(4); + deserializerMap.put("contentRights", (n) -> { this.setContentRights(n.getCollectionOfObjectValues(LabelContentRight::createFromDiscriminatorValue)); }); + deserializerMap.put("inheritedLabel", (n) -> { this.setInheritedLabel(n.getObjectValue(SensitivityLabel::createFromDiscriminatorValue)); }); + deserializerMap.put("@odata.type", (n) -> { this.setOdataType(n.getStringValue()); }); + deserializerMap.put("sensitivityLabels", (n) -> { this.setSensitivityLabels(n.getCollectionOfObjectValues(SensitivityLabel::createFromDiscriminatorValue)); }); + return deserializerMap; + } + /** + * Gets the inheritedLabel property value. The inheritedLabel property + * @return a {@link SensitivityLabel} + */ + @jakarta.annotation.Nullable + public SensitivityLabel getInheritedLabel() { + return this.backingStore.get("inheritedLabel"); + } + /** + * Gets the @odata.type property value. The OdataType property + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String getOdataType() { + return this.backingStore.get("odataType"); + } + /** + * Gets the sensitivityLabels property value. The sensitivityLabels property + * @return a {@link java.util.List} + */ + @jakarta.annotation.Nullable + public java.util.List getSensitivityLabels() { + return this.backingStore.get("sensitivityLabels"); + } + /** + * Serializes information the current object + * @param writer Serialization writer to use to serialize this model + */ + public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writer) { + Objects.requireNonNull(writer); + writer.writeCollectionOfObjectValues("contentRights", this.getContentRights()); + writer.writeObjectValue("inheritedLabel", this.getInheritedLabel()); + writer.writeStringValue("@odata.type", this.getOdataType()); + writer.writeCollectionOfObjectValues("sensitivityLabels", this.getSensitivityLabels()); + writer.writeAdditionalData(this.getAdditionalData()); + } + /** + * Sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @param value Value to set for the AdditionalData property. + */ + public void setAdditionalData(@jakarta.annotation.Nullable final Map value) { + this.backingStore.set("additionalData", value); + } + /** + * Sets the backingStore property value. Stores model information. + * @param value Value to set for the backingStore property. + */ + public void setBackingStore(@jakarta.annotation.Nonnull final BackingStore value) { + Objects.requireNonNull(value); + this.backingStore = value; + } + /** + * Sets the contentRights property value. The contentRights property + * @param value Value to set for the contentRights property. + */ + public void setContentRights(@jakarta.annotation.Nullable final java.util.List value) { + this.backingStore.set("contentRights", value); + } + /** + * Sets the inheritedLabel property value. The inheritedLabel property + * @param value Value to set for the inheritedLabel property. + */ + public void setInheritedLabel(@jakarta.annotation.Nullable final SensitivityLabel value) { + this.backingStore.set("inheritedLabel", value); + } + /** + * Sets the @odata.type property value. The OdataType property + * @param value Value to set for the @odata.type property. + */ + public void setOdataType(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("odataType", value); + } + /** + * Sets the sensitivityLabels property value. The sensitivityLabels property + * @param value Value to set for the sensitivityLabels property. + */ + public void setSensitivityLabels(@jakarta.annotation.Nullable final java.util.List value) { + this.backingStore.set("sensitivityLabels", value); + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/models/DeviceManagementConfigurationChoiceSettingCollectionDefinition.java b/src/main/java/com/microsoft/graph/beta/generated/models/DeviceManagementConfigurationChoiceSettingCollectionDefinition.java index 9c837b112dc..97d5d33be1d 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/models/DeviceManagementConfigurationChoiceSettingCollectionDefinition.java +++ b/src/main/java/com/microsoft/graph/beta/generated/models/DeviceManagementConfigurationChoiceSettingCollectionDefinition.java @@ -36,7 +36,7 @@ public Map> getFieldDeserializers return deserializerMap; } /** - * Gets the maximumCount property value. Maximum number of choices in the collection. Valid values 1 to 100 + * Gets the maximumCount property value. Maximum number of choices in the collection * @return a {@link Integer} */ @jakarta.annotation.Nullable @@ -44,7 +44,7 @@ public Integer getMaximumCount() { return this.backingStore.get("maximumCount"); } /** - * Gets the minimumCount property value. Minimum number of choices in the collection. Valid values 1 to 100 + * Gets the minimumCount property value. Minimum number of choices in the collection * @return a {@link Integer} */ @jakarta.annotation.Nullable @@ -62,14 +62,14 @@ public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writ writer.writeIntegerValue("minimumCount", this.getMinimumCount()); } /** - * Sets the maximumCount property value. Maximum number of choices in the collection. Valid values 1 to 100 + * Sets the maximumCount property value. Maximum number of choices in the collection * @param value Value to set for the maximumCount property. */ public void setMaximumCount(@jakarta.annotation.Nullable final Integer value) { this.backingStore.set("maximumCount", value); } /** - * Sets the minimumCount property value. Minimum number of choices in the collection. Valid values 1 to 100 + * Sets the minimumCount property value. Minimum number of choices in the collection * @param value Value to set for the minimumCount property. */ public void setMinimumCount(@jakarta.annotation.Nullable final Integer value) { diff --git a/src/main/java/com/microsoft/graph/beta/generated/models/DeviceManagementConfigurationChoiceSettingDefinition.java b/src/main/java/com/microsoft/graph/beta/generated/models/DeviceManagementConfigurationChoiceSettingDefinition.java index 9f022cdb6dc..6310d89e8d6 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/models/DeviceManagementConfigurationChoiceSettingDefinition.java +++ b/src/main/java/com/microsoft/graph/beta/generated/models/DeviceManagementConfigurationChoiceSettingDefinition.java @@ -32,7 +32,7 @@ public static DeviceManagementConfigurationChoiceSettingDefinition createFromDis return new DeviceManagementConfigurationChoiceSettingDefinition(); } /** - * Gets the defaultOptionId property value. Default option for the choice setting. + * Gets the defaultOptionId property value. Default option for choice setting * @return a {@link String} */ @jakarta.annotation.Nullable @@ -51,7 +51,7 @@ public Map> getFieldDeserializers return deserializerMap; } /** - * Gets the options property value. Options for the setting that can be selected. + * Gets the options property value. Options for the setting that can be selected * @return a {@link java.util.List} */ @jakarta.annotation.Nullable @@ -69,14 +69,14 @@ public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writ writer.writeCollectionOfObjectValues("options", this.getOptions()); } /** - * Sets the defaultOptionId property value. Default option for the choice setting. + * Sets the defaultOptionId property value. Default option for choice setting * @param value Value to set for the defaultOptionId property. */ public void setDefaultOptionId(@jakarta.annotation.Nullable final String value) { this.backingStore.set("defaultOptionId", value); } /** - * Sets the options property value. Options for the setting that can be selected. + * Sets the options property value. Options for the setting that can be selected * @param value Value to set for the options property. */ public void setOptions(@jakarta.annotation.Nullable final java.util.List value) { diff --git a/src/main/java/com/microsoft/graph/beta/generated/models/DeviceManagementConfigurationReferredSettingInformation.java b/src/main/java/com/microsoft/graph/beta/generated/models/DeviceManagementConfigurationReferredSettingInformation.java index b3ec96f2168..1e8ca805d9e 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/models/DeviceManagementConfigurationReferredSettingInformation.java +++ b/src/main/java/com/microsoft/graph/beta/generated/models/DeviceManagementConfigurationReferredSettingInformation.java @@ -78,7 +78,7 @@ public String getOdataType() { return this.backingStore.get("odataType"); } /** - * Gets the settingDefinitionId property value. Setting definition id that is being referred to a setting. Applicable for reusable setting + * Gets the settingDefinitionId property value. Setting definition id that is being referred to a setting. Applicable for reusable setting. * @return a {@link String} */ @jakarta.annotation.Nullable @@ -118,7 +118,7 @@ public void setOdataType(@jakarta.annotation.Nullable final String value) { this.backingStore.set("odataType", value); } /** - * Sets the settingDefinitionId property value. Setting definition id that is being referred to a setting. Applicable for reusable setting + * Sets the settingDefinitionId property value. Setting definition id that is being referred to a setting. Applicable for reusable setting. * @param value Value to set for the settingDefinitionId property. */ public void setSettingDefinitionId(@jakarta.annotation.Nullable final String value) { diff --git a/src/main/java/com/microsoft/graph/beta/generated/models/DeviceManagementConfigurationSettingGroupCollectionDefinition.java b/src/main/java/com/microsoft/graph/beta/generated/models/DeviceManagementConfigurationSettingGroupCollectionDefinition.java index bf95eb6fa2d..cd92b22c293 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/models/DeviceManagementConfigurationSettingGroupCollectionDefinition.java +++ b/src/main/java/com/microsoft/graph/beta/generated/models/DeviceManagementConfigurationSettingGroupCollectionDefinition.java @@ -36,7 +36,7 @@ public Map> getFieldDeserializers return deserializerMap; } /** - * Gets the maximumCount property value. Maximum number of setting group count in the collection + * Gets the maximumCount property value. Maximum number of setting group count in the collection. Valid values 1 to 100 * @return a {@link Integer} */ @jakarta.annotation.Nullable @@ -44,7 +44,7 @@ public Integer getMaximumCount() { return this.backingStore.get("maximumCount"); } /** - * Gets the minimumCount property value. Minimum number of setting group count in the collection + * Gets the minimumCount property value. Minimum number of setting group count in the collection. Valid values 1 to 100 * @return a {@link Integer} */ @jakarta.annotation.Nullable @@ -62,14 +62,14 @@ public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writ writer.writeIntegerValue("minimumCount", this.getMinimumCount()); } /** - * Sets the maximumCount property value. Maximum number of setting group count in the collection + * Sets the maximumCount property value. Maximum number of setting group count in the collection. Valid values 1 to 100 * @param value Value to set for the maximumCount property. */ public void setMaximumCount(@jakarta.annotation.Nullable final Integer value) { this.backingStore.set("maximumCount", value); } /** - * Sets the minimumCount property value. Minimum number of setting group count in the collection + * Sets the minimumCount property value. Minimum number of setting group count in the collection. Valid values 1 to 100 * @param value Value to set for the minimumCount property. */ public void setMinimumCount(@jakarta.annotation.Nullable final Integer value) { diff --git a/src/main/java/com/microsoft/graph/beta/generated/models/DeviceManagementConfigurationSimpleSettingDefinition.java b/src/main/java/com/microsoft/graph/beta/generated/models/DeviceManagementConfigurationSimpleSettingDefinition.java index c19c8a011a4..fbebe1570f2 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/models/DeviceManagementConfigurationSimpleSettingDefinition.java +++ b/src/main/java/com/microsoft/graph/beta/generated/models/DeviceManagementConfigurationSimpleSettingDefinition.java @@ -32,7 +32,7 @@ public static DeviceManagementConfigurationSimpleSettingDefinition createFromDis return new DeviceManagementConfigurationSimpleSettingDefinition(); } /** - * Gets the defaultValue property value. Default setting value for this setting + * Gets the defaultValue property value. Default setting value for this setting. * @return a {@link DeviceManagementConfigurationSettingValue} */ @jakarta.annotation.Nullable @@ -40,7 +40,7 @@ public DeviceManagementConfigurationSettingValue getDefaultValue() { return this.backingStore.get("defaultValue"); } /** - * Gets the dependedOnBy property value. list of child settings that depend on this setting + * Gets the dependedOnBy property value. list of child settings that depend on this setting. * @return a {@link java.util.List} */ @jakarta.annotation.Nullable @@ -48,7 +48,7 @@ public java.util.List getDepen return this.backingStore.get("dependedOnBy"); } /** - * Gets the dependentOn property value. list of parent settings this setting is dependent on + * Gets the dependentOn property value. list of parent settings this setting is dependent on. * @return a {@link java.util.List} */ @jakarta.annotation.Nullable @@ -69,7 +69,7 @@ public Map> getFieldDeserializers return deserializerMap; } /** - * Gets the valueDefinition property value. Definition of the value for this setting + * Gets the valueDefinition property value. Definition of the value for this setting. * @return a {@link DeviceManagementConfigurationSettingValueDefinition} */ @jakarta.annotation.Nullable @@ -89,28 +89,28 @@ public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writ writer.writeObjectValue("valueDefinition", this.getValueDefinition()); } /** - * Sets the defaultValue property value. Default setting value for this setting + * Sets the defaultValue property value. Default setting value for this setting. * @param value Value to set for the defaultValue property. */ public void setDefaultValue(@jakarta.annotation.Nullable final DeviceManagementConfigurationSettingValue value) { this.backingStore.set("defaultValue", value); } /** - * Sets the dependedOnBy property value. list of child settings that depend on this setting + * Sets the dependedOnBy property value. list of child settings that depend on this setting. * @param value Value to set for the dependedOnBy property. */ public void setDependedOnBy(@jakarta.annotation.Nullable final java.util.List value) { this.backingStore.set("dependedOnBy", value); } /** - * Sets the dependentOn property value. list of parent settings this setting is dependent on + * Sets the dependentOn property value. list of parent settings this setting is dependent on. * @param value Value to set for the dependentOn property. */ public void setDependentOn(@jakarta.annotation.Nullable final java.util.List value) { this.backingStore.set("dependentOn", value); } /** - * Sets the valueDefinition property value. Definition of the value for this setting + * Sets the valueDefinition property value. Definition of the value for this setting. * @param value Value to set for the valueDefinition property. */ public void setValueDefinition(@jakarta.annotation.Nullable final DeviceManagementConfigurationSettingValueDefinition value) { diff --git a/src/main/java/com/microsoft/graph/beta/generated/models/EducationAiFeedbackAudienceEngagementSettings.java b/src/main/java/com/microsoft/graph/beta/generated/models/EducationAiFeedbackAudienceEngagementSettings.java index 7a5db2c8aab..34cabf885eb 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/models/EducationAiFeedbackAudienceEngagementSettings.java +++ b/src/main/java/com/microsoft/graph/beta/generated/models/EducationAiFeedbackAudienceEngagementSettings.java @@ -48,7 +48,7 @@ public Map getAdditionalData() { return value; } /** - * Gets the areEngagementStrategiesEnabled property value. The areEngagementStrategiesEnabled property + * Gets the areEngagementStrategiesEnabled property value. Indicates whether the student should receive feedback on their engagement strategies from the AI feedback. * @return a {@link Boolean} */ @jakarta.annotation.Nullable @@ -77,7 +77,7 @@ public Map> getFieldDeserializers return deserializerMap; } /** - * Gets the isCallToActionEnabled property value. The isCallToActionEnabled property + * Gets the isCallToActionEnabled property value. Indicates whether the student should receive feedback on their call to action from the AI feedback. * @return a {@link Boolean} */ @jakarta.annotation.Nullable @@ -85,7 +85,7 @@ public Boolean getIsCallToActionEnabled() { return this.backingStore.get("isCallToActionEnabled"); } /** - * Gets the isEmotionalAndIntellectualAppealEnabled property value. The isEmotionalAndIntellectualAppealEnabled property + * Gets the isEmotionalAndIntellectualAppealEnabled property value. Indicates whether the student should receive feedback on their emotional and intellectual appeal from the AI feedback. * @return a {@link Boolean} */ @jakarta.annotation.Nullable @@ -120,7 +120,7 @@ public void setAdditionalData(@jakarta.annotation.Nullable final Map> getFieldDeserializers return deserializerMap; } /** - * Gets the isMessageClarityEnabled property value. The isMessageClarityEnabled property + * Gets the isMessageClarityEnabled property value. Indicates whether the student should receive feedback on their message clarity from the AI feedback. * @return a {@link Boolean} */ @jakarta.annotation.Nullable @@ -77,7 +77,7 @@ public Boolean getIsMessageClarityEnabled() { return this.backingStore.get("isMessageClarityEnabled"); } /** - * Gets the isQualityOfInformationEnabled property value. The isQualityOfInformationEnabled property + * Gets the isQualityOfInformationEnabled property value. Indicates whether the student should receive feedback on their quality of information from the AI feedback. * @return a {@link Boolean} */ @jakarta.annotation.Nullable @@ -85,7 +85,7 @@ public Boolean getIsQualityOfInformationEnabled() { return this.backingStore.get("isQualityOfInformationEnabled"); } /** - * Gets the isSpeechOrganizationEnabled property value. The isSpeechOrganizationEnabled property + * Gets the isSpeechOrganizationEnabled property value. Indicates whether the student should receive feedback on their speech organization from the AI feedback. * @return a {@link Boolean} */ @jakarta.annotation.Nullable @@ -128,21 +128,21 @@ public void setBackingStore(@jakarta.annotation.Nonnull final BackingStore value this.backingStore = value; } /** - * Sets the isMessageClarityEnabled property value. The isMessageClarityEnabled property + * Sets the isMessageClarityEnabled property value. Indicates whether the student should receive feedback on their message clarity from the AI feedback. * @param value Value to set for the isMessageClarityEnabled property. */ public void setIsMessageClarityEnabled(@jakarta.annotation.Nullable final Boolean value) { this.backingStore.set("isMessageClarityEnabled", value); } /** - * Sets the isQualityOfInformationEnabled property value. The isQualityOfInformationEnabled property + * Sets the isQualityOfInformationEnabled property value. Indicates whether the student should receive feedback on their quality of information from the AI feedback. * @param value Value to set for the isQualityOfInformationEnabled property. */ public void setIsQualityOfInformationEnabled(@jakarta.annotation.Nullable final Boolean value) { this.backingStore.set("isQualityOfInformationEnabled", value); } /** - * Sets the isSpeechOrganizationEnabled property value. The isSpeechOrganizationEnabled property + * Sets the isSpeechOrganizationEnabled property value. Indicates whether the student should receive feedback on their speech organization from the AI feedback. * @param value Value to set for the isSpeechOrganizationEnabled property. */ public void setIsSpeechOrganizationEnabled(@jakarta.annotation.Nullable final Boolean value) { diff --git a/src/main/java/com/microsoft/graph/beta/generated/models/EducationAiFeedbackDeliverySettings.java b/src/main/java/com/microsoft/graph/beta/generated/models/EducationAiFeedbackDeliverySettings.java index 7b5c6cdb595..abc786e1d85 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/models/EducationAiFeedbackDeliverySettings.java +++ b/src/main/java/com/microsoft/graph/beta/generated/models/EducationAiFeedbackDeliverySettings.java @@ -48,7 +48,7 @@ public Map getAdditionalData() { return value; } /** - * Gets the areRhetoricalTechniquesEnabled property value. The areRhetoricalTechniquesEnabled property + * Gets the areRhetoricalTechniquesEnabled property value. Indicates whether the student should receive feedback on their rhetorical techniques from the AI feedback. * @return a {@link Boolean} */ @jakarta.annotation.Nullable @@ -77,7 +77,7 @@ public Map> getFieldDeserializers return deserializerMap; } /** - * Gets the isLanguageUseEnabled property value. The isLanguageUseEnabled property + * Gets the isLanguageUseEnabled property value. Indicates whether the student should receive feedback on their language use from the AI feedback. * @return a {@link Boolean} */ @jakarta.annotation.Nullable @@ -85,7 +85,7 @@ public Boolean getIsLanguageUseEnabled() { return this.backingStore.get("isLanguageUseEnabled"); } /** - * Gets the isStyleEnabled property value. The isStyleEnabled property + * Gets the isStyleEnabled property value. Indicates whether the student should receive feedback on their style from the AI feedback. * @return a {@link Boolean} */ @jakarta.annotation.Nullable @@ -120,7 +120,7 @@ public void setAdditionalData(@jakarta.annotation.Nullable final Map getAdditionalData() { return value; } /** - * Gets the audienceEngagementSettings property value. The audienceEngagementSettings property + * Gets the audienceEngagementSettings property value. The audience engagement related feedback types that students should receive from the AI feedback. * @return a {@link EducationAiFeedbackAudienceEngagementSettings} */ @jakarta.annotation.Nullable @@ -64,7 +64,7 @@ public BackingStore getBackingStore() { return this.backingStore; } /** - * Gets the contentSettings property value. The contentSettings property + * Gets the contentSettings property value. The content related feedback types that students should receive from the AI feedback. * @return a {@link EducationAiFeedbackContentSettings} */ @jakarta.annotation.Nullable @@ -72,7 +72,7 @@ public EducationAiFeedbackContentSettings getContentSettings() { return this.backingStore.get("contentSettings"); } /** - * Gets the deliverySettings property value. The deliverySettings property + * Gets the deliverySettings property value. The delivery related feedback types that students should receive from the AI feedback. * @return a {@link EducationAiFeedbackDeliverySettings} */ @jakarta.annotation.Nullable @@ -120,7 +120,7 @@ public void setAdditionalData(@jakarta.annotation.Nullable final Map> getFieldDeserializers return deserializerMap; } /** - * Gets the points property value. Number of points a teacher is giving this submission object. + * Gets the points property value. Number of points a teacher gives to this submission object. * @return a {@link Float} */ @jakarta.annotation.Nullable @@ -53,7 +53,7 @@ public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writ writer.writeFloatValue("points", this.getPoints()); } /** - * Sets the points property value. Number of points a teacher is giving this submission object. + * Sets the points property value. Number of points a teacher gives to this submission object. * @param value Value to set for the points property. */ public void setPoints(@jakarta.annotation.Nullable final Float value) { diff --git a/src/main/java/com/microsoft/graph/beta/generated/models/EducationSpeakerCoachAudienceEngagementSettings.java b/src/main/java/com/microsoft/graph/beta/generated/models/EducationSpeakerCoachAudienceEngagementSettings.java index 4dc0a5726e0..62e75c559fe 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/models/EducationSpeakerCoachAudienceEngagementSettings.java +++ b/src/main/java/com/microsoft/graph/beta/generated/models/EducationSpeakerCoachAudienceEngagementSettings.java @@ -67,7 +67,7 @@ public Map> getFieldDeserializers return deserializerMap; } /** - * Gets the isBodyLanguageEnabled property value. The isBodyLanguageEnabled property + * Gets the isBodyLanguageEnabled property value. Indicates whether the student should receive feedback on their body language from the Speaker Coach. * @return a {@link Boolean} */ @jakarta.annotation.Nullable @@ -108,7 +108,7 @@ public void setBackingStore(@jakarta.annotation.Nonnull final BackingStore value this.backingStore = value; } /** - * Sets the isBodyLanguageEnabled property value. The isBodyLanguageEnabled property + * Sets the isBodyLanguageEnabled property value. Indicates whether the student should receive feedback on their body language from the Speaker Coach. * @param value Value to set for the isBodyLanguageEnabled property. */ public void setIsBodyLanguageEnabled(@jakarta.annotation.Nullable final Boolean value) { diff --git a/src/main/java/com/microsoft/graph/beta/generated/models/EducationSpeakerCoachContentSettings.java b/src/main/java/com/microsoft/graph/beta/generated/models/EducationSpeakerCoachContentSettings.java index a741284d505..ce826058ec7 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/models/EducationSpeakerCoachContentSettings.java +++ b/src/main/java/com/microsoft/graph/beta/generated/models/EducationSpeakerCoachContentSettings.java @@ -68,7 +68,7 @@ public Map> getFieldDeserializers return deserializerMap; } /** - * Gets the isInclusivenessEnabled property value. The isInclusivenessEnabled property + * Gets the isInclusivenessEnabled property value. Indicates whether the student should receive feedback on their inclusiveness from the Speaker Coach. * @return a {@link Boolean} */ @jakarta.annotation.Nullable @@ -76,7 +76,7 @@ public Boolean getIsInclusivenessEnabled() { return this.backingStore.get("isInclusivenessEnabled"); } /** - * Gets the isRepetitiveLanguageEnabled property value. The isRepetitiveLanguageEnabled property + * Gets the isRepetitiveLanguageEnabled property value. Indicates whether the student should receive feedback on their repetitive language from the Speaker Coach. * @return a {@link Boolean} */ @jakarta.annotation.Nullable @@ -118,14 +118,14 @@ public void setBackingStore(@jakarta.annotation.Nonnull final BackingStore value this.backingStore = value; } /** - * Sets the isInclusivenessEnabled property value. The isInclusivenessEnabled property + * Sets the isInclusivenessEnabled property value. Indicates whether the student should receive feedback on their inclusiveness from the Speaker Coach. * @param value Value to set for the isInclusivenessEnabled property. */ public void setIsInclusivenessEnabled(@jakarta.annotation.Nullable final Boolean value) { this.backingStore.set("isInclusivenessEnabled", value); } /** - * Sets the isRepetitiveLanguageEnabled property value. The isRepetitiveLanguageEnabled property + * Sets the isRepetitiveLanguageEnabled property value. Indicates whether the student should receive feedback on their repetitive language from the Speaker Coach. * @param value Value to set for the isRepetitiveLanguageEnabled property. */ public void setIsRepetitiveLanguageEnabled(@jakarta.annotation.Nullable final Boolean value) { diff --git a/src/main/java/com/microsoft/graph/beta/generated/models/EducationSpeakerCoachDeliverySettings.java b/src/main/java/com/microsoft/graph/beta/generated/models/EducationSpeakerCoachDeliverySettings.java index 0c3eb0b9380..89f8652fc3c 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/models/EducationSpeakerCoachDeliverySettings.java +++ b/src/main/java/com/microsoft/graph/beta/generated/models/EducationSpeakerCoachDeliverySettings.java @@ -48,7 +48,7 @@ public Map getAdditionalData() { return value; } /** - * Gets the areFillerWordsEnabled property value. The areFillerWordsEnabled property + * Gets the areFillerWordsEnabled property value. Indicates whether the student should receive feedback on their filler words from the Speaker Coach. * @return a {@link Boolean} */ @jakarta.annotation.Nullable @@ -78,7 +78,7 @@ public Map> getFieldDeserializers return deserializerMap; } /** - * Gets the isPaceEnabled property value. The isPaceEnabled property + * Gets the isPaceEnabled property value. Indicates whether the student should receive feedback on their pace from the Speaker Coach. * @return a {@link Boolean} */ @jakarta.annotation.Nullable @@ -86,7 +86,7 @@ public Boolean getIsPaceEnabled() { return this.backingStore.get("isPaceEnabled"); } /** - * Gets the isPitchEnabled property value. The isPitchEnabled property + * Gets the isPitchEnabled property value. Indicates whether the student should receive feedback on their pitch from the Speaker Coach. * @return a {@link Boolean} */ @jakarta.annotation.Nullable @@ -94,7 +94,7 @@ public Boolean getIsPitchEnabled() { return this.backingStore.get("isPitchEnabled"); } /** - * Gets the isPronunciationEnabled property value. The isPronunciationEnabled property + * Gets the isPronunciationEnabled property value. Indicates whether the student should receive feedback on their pronunciation from the Speaker Coach. This is automatically enabled if isAiFeedbackEnabled is set to true on the educationSpeakerProgressResource, or if spokenLanguageLocale is set to a value besides en-US on the educationSpeakerProgressResource. * @return a {@link Boolean} */ @jakarta.annotation.Nullable @@ -130,7 +130,7 @@ public void setAdditionalData(@jakarta.annotation.Nullable final Map getAdditionalData() { return value; } /** - * Gets the audienceEngagementSettings property value. The audienceEngagementSettings property + * Gets the audienceEngagementSettings property value. The audience engagement related feedback types that students should receive from the Speaker Coach. * @return a {@link EducationSpeakerCoachAudienceEngagementSettings} */ @jakarta.annotation.Nullable @@ -64,7 +64,7 @@ public BackingStore getBackingStore() { return this.backingStore; } /** - * Gets the contentSettings property value. The contentSettings property + * Gets the contentSettings property value. The content related feedback types that students should receive from the Speaker Coach. * @return a {@link EducationSpeakerCoachContentSettings} */ @jakarta.annotation.Nullable @@ -72,7 +72,7 @@ public EducationSpeakerCoachContentSettings getContentSettings() { return this.backingStore.get("contentSettings"); } /** - * Gets the deliverySettings property value. The deliverySettings property + * Gets the deliverySettings property value. The delivery related feedback types that students should receive from the Speaker Coach. * @return a {@link EducationSpeakerCoachDeliverySettings} */ @jakarta.annotation.Nullable @@ -120,7 +120,7 @@ public void setAdditionalData(@jakarta.annotation.Nullable final Map> getFieldDeserializers return deserializerMap; } /** - * Gets the isAiFeedbackEnabled property value. The isAiFeedbackEnabled property + * Gets the isAiFeedbackEnabled property value. Indicates whether AI feedback is enabled for the student submissions. * @return a {@link Boolean} */ @jakarta.annotation.Nullable @@ -60,7 +60,7 @@ public Boolean getIsAiFeedbackEnabled() { return this.backingStore.get("isAiFeedbackEnabled"); } /** - * Gets the isVideoRequired property value. The isVideoRequired property + * Gets the isVideoRequired property value. Indicates whether video is required for the student recording. * @return a {@link Boolean} */ @jakarta.annotation.Nullable @@ -68,7 +68,7 @@ public Boolean getIsVideoRequired() { return this.backingStore.get("isVideoRequired"); } /** - * Gets the maxRecordingAttempts property value. The maxRecordingAttempts property + * Gets the maxRecordingAttempts property value. The maximum number of recording attempts available to the student. Specify 0 to set unlimited recording attempts. * @return a {@link Integer} */ @jakarta.annotation.Nullable @@ -76,7 +76,7 @@ public Integer getMaxRecordingAttempts() { return this.backingStore.get("maxRecordingAttempts"); } /** - * Gets the presentationTitle property value. The presentationTitle property + * Gets the presentationTitle property value. The title of the speaker progress resource visible to students. * @return a {@link String} */ @jakarta.annotation.Nullable @@ -84,7 +84,7 @@ public String getPresentationTitle() { return this.backingStore.get("presentationTitle"); } /** - * Gets the recordingTimeLimitInMinutes property value. The recordingTimeLimitInMinutes property + * Gets the recordingTimeLimitInMinutes property value. The time limit is in minutes for the student recording. * @return a {@link Integer} */ @jakarta.annotation.Nullable @@ -92,7 +92,7 @@ public Integer getRecordingTimeLimitInMinutes() { return this.backingStore.get("recordingTimeLimitInMinutes"); } /** - * Gets the showRehearsalReportToStudentBeforeMediaUpload property value. The showRehearsalReportToStudentBeforeMediaUpload property + * Gets the showRehearsalReportToStudentBeforeMediaUpload property value. Allows students to view their rehearsal report before the assignment is graded. * @return a {@link Boolean} */ @jakarta.annotation.Nullable @@ -100,7 +100,7 @@ public Boolean getShowRehearsalReportToStudentBeforeMediaUpload() { return this.backingStore.get("showRehearsalReportToStudentBeforeMediaUpload"); } /** - * Gets the speakerCoachSettings property value. The speakerCoachSettings property + * Gets the speakerCoachSettings property value. The feedback types that students should receive from the Speaker Coach. * @return a {@link EducationSpeakerCoachSettings} */ @jakarta.annotation.Nullable @@ -108,7 +108,7 @@ public EducationSpeakerCoachSettings getSpeakerCoachSettings() { return this.backingStore.get("speakerCoachSettings"); } /** - * Gets the spokenLanguageLocale property value. The spokenLanguageLocale property + * Gets the spokenLanguageLocale property value. The spoken language for the student recording. For example, en-US. * @return a {@link String} */ @jakarta.annotation.Nullable @@ -133,63 +133,63 @@ public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writ writer.writeStringValue("spokenLanguageLocale", this.getSpokenLanguageLocale()); } /** - * Sets the aiFeedbackCriteria property value. The aiFeedbackCriteria property + * Sets the aiFeedbackCriteria property value. The feedback types that students should receive from AI feedback. This property should only be provided if isAiFeedbackEnabled is true. * @param value Value to set for the aiFeedbackCriteria property. */ public void setAiFeedbackCriteria(@jakarta.annotation.Nullable final EducationAiFeedbackCriteria value) { this.backingStore.set("aiFeedbackCriteria", value); } /** - * Sets the isAiFeedbackEnabled property value. The isAiFeedbackEnabled property + * Sets the isAiFeedbackEnabled property value. Indicates whether AI feedback is enabled for the student submissions. * @param value Value to set for the isAiFeedbackEnabled property. */ public void setIsAiFeedbackEnabled(@jakarta.annotation.Nullable final Boolean value) { this.backingStore.set("isAiFeedbackEnabled", value); } /** - * Sets the isVideoRequired property value. The isVideoRequired property + * Sets the isVideoRequired property value. Indicates whether video is required for the student recording. * @param value Value to set for the isVideoRequired property. */ public void setIsVideoRequired(@jakarta.annotation.Nullable final Boolean value) { this.backingStore.set("isVideoRequired", value); } /** - * Sets the maxRecordingAttempts property value. The maxRecordingAttempts property + * Sets the maxRecordingAttempts property value. The maximum number of recording attempts available to the student. Specify 0 to set unlimited recording attempts. * @param value Value to set for the maxRecordingAttempts property. */ public void setMaxRecordingAttempts(@jakarta.annotation.Nullable final Integer value) { this.backingStore.set("maxRecordingAttempts", value); } /** - * Sets the presentationTitle property value. The presentationTitle property + * Sets the presentationTitle property value. The title of the speaker progress resource visible to students. * @param value Value to set for the presentationTitle property. */ public void setPresentationTitle(@jakarta.annotation.Nullable final String value) { this.backingStore.set("presentationTitle", value); } /** - * Sets the recordingTimeLimitInMinutes property value. The recordingTimeLimitInMinutes property + * Sets the recordingTimeLimitInMinutes property value. The time limit is in minutes for the student recording. * @param value Value to set for the recordingTimeLimitInMinutes property. */ public void setRecordingTimeLimitInMinutes(@jakarta.annotation.Nullable final Integer value) { this.backingStore.set("recordingTimeLimitInMinutes", value); } /** - * Sets the showRehearsalReportToStudentBeforeMediaUpload property value. The showRehearsalReportToStudentBeforeMediaUpload property + * Sets the showRehearsalReportToStudentBeforeMediaUpload property value. Allows students to view their rehearsal report before the assignment is graded. * @param value Value to set for the showRehearsalReportToStudentBeforeMediaUpload property. */ public void setShowRehearsalReportToStudentBeforeMediaUpload(@jakarta.annotation.Nullable final Boolean value) { this.backingStore.set("showRehearsalReportToStudentBeforeMediaUpload", value); } /** - * Sets the speakerCoachSettings property value. The speakerCoachSettings property + * Sets the speakerCoachSettings property value. The feedback types that students should receive from the Speaker Coach. * @param value Value to set for the speakerCoachSettings property. */ public void setSpeakerCoachSettings(@jakarta.annotation.Nullable final EducationSpeakerCoachSettings value) { this.backingStore.set("speakerCoachSettings", value); } /** - * Sets the spokenLanguageLocale property value. The spokenLanguageLocale property + * Sets the spokenLanguageLocale property value. The spoken language for the student recording. For example, en-US. * @param value Value to set for the spokenLanguageLocale property. */ public void setSpokenLanguageLocale(@jakarta.annotation.Nullable final String value) { diff --git a/src/main/java/com/microsoft/graph/beta/generated/models/Entity.java b/src/main/java/com/microsoft/graph/beta/generated/models/Entity.java index f155697c6ed..a359ad6ff45 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/models/Entity.java +++ b/src/main/java/com/microsoft/graph/beta/generated/models/Entity.java @@ -26,7 +26,6 @@ import com.microsoft.graph.beta.models.ediscovery.ReviewSet; import com.microsoft.graph.beta.models.ediscovery.ReviewSetQuery; import com.microsoft.graph.beta.models.ediscovery.SourceCollection; -import com.microsoft.graph.beta.models.ediscovery.Tag; import com.microsoft.graph.beta.models.ediscovery.TagOperation; import com.microsoft.graph.beta.models.ediscovery.UnifiedGroupSource; import com.microsoft.graph.beta.models.ediscovery.UserSource; @@ -39,6 +38,7 @@ import com.microsoft.graph.beta.models.externalconnectors.ExternalItem; import com.microsoft.graph.beta.models.externalconnectors.Identity; import com.microsoft.graph.beta.models.externalconnectors.Schema; +import com.microsoft.graph.beta.models.healthmonitoring.Alert; import com.microsoft.graph.beta.models.healthmonitoring.AlertConfiguration; import com.microsoft.graph.beta.models.healthmonitoring.HealthMonitoringRoot; import com.microsoft.graph.beta.models.identitygovernance.CustomTaskExtension; @@ -175,7 +175,6 @@ import com.microsoft.graph.beta.models.search.Bookmark; import com.microsoft.graph.beta.models.search.Qna; import com.microsoft.graph.beta.models.search.SearchAnswer; -import com.microsoft.graph.beta.models.security.Alert; import com.microsoft.graph.beta.models.security.AnalyzedEmail; import com.microsoft.graph.beta.models.security.Article; import com.microsoft.graph.beta.models.security.ArticleIndicator; @@ -265,6 +264,7 @@ import com.microsoft.graph.beta.models.security.SslCertificate; import com.microsoft.graph.beta.models.security.SubcategoryTemplate; import com.microsoft.graph.beta.models.security.Subdomain; +import com.microsoft.graph.beta.models.security.Tag; import com.microsoft.graph.beta.models.security.ThreatIntelligence; import com.microsoft.graph.beta.models.security.ThreatSubmission; import com.microsoft.graph.beta.models.security.ThreatSubmissionRoot; @@ -1297,6 +1297,7 @@ private static Entity createFromDiscriminatorValue_1(@jakarta.annotation.Nonnull case "#microsoft.graph.itemPublication": return new ItemPublication(); case "#microsoft.graph.itemRetentionLabel": return new ItemRetentionLabel(); case "#microsoft.graph.jobResponseBase": return new JobResponseBase(); + case "#microsoft.graph.labelContentRight": return new LabelContentRight(); case "#microsoft.graph.landingPage": return new LandingPage(); case "#microsoft.graph.landingPageDetail": return new LandingPageDetail(); case "#microsoft.graph.languageProficiency": return new LanguageProficiency(); @@ -1382,7 +1383,6 @@ private static Entity createFromDiscriminatorValue_1(@jakarta.annotation.Nonnull case "#microsoft.graph.managedDeviceMobileAppConfigurationPolicySetItem": return new ManagedDeviceMobileAppConfigurationPolicySetItem(); case "#microsoft.graph.managedDeviceMobileAppConfigurationState": return new ManagedDeviceMobileAppConfigurationState(); case "#microsoft.graph.managedDeviceMobileAppConfigurationUserStatus": return new ManagedDeviceMobileAppConfigurationUserStatus(); - case "#microsoft.graph.managedDeviceMobileAppConfigurationUserSummary": return new ManagedDeviceMobileAppConfigurationUserSummary(); } return null; } @@ -1394,6 +1394,7 @@ private static Entity createFromDiscriminatorValue_1(@jakarta.annotation.Nonnull @jakarta.annotation.Nonnull private static Entity createFromDiscriminatorValue_2(@jakarta.annotation.Nonnull final String discriminatorValue) { switch (discriminatorValue) { + case "#microsoft.graph.managedDeviceMobileAppConfigurationUserSummary": return new ManagedDeviceMobileAppConfigurationUserSummary(); case "#microsoft.graph.managedDeviceOverview": return new ManagedDeviceOverview(); case "#microsoft.graph.managedDeviceWindowsOperatingSystemImage": return new ManagedDeviceWindowsOperatingSystemImage(); case "#microsoft.graph.managedEBook": return new ManagedEBook(); @@ -1754,6 +1755,7 @@ private static Entity createFromDiscriminatorValue_2(@jakarta.annotation.Nonnull case "#microsoft.graph.profile": return new Profile(); case "#microsoft.graph.profileCardProperty": return new ProfileCardProperty(); case "#microsoft.graph.profilePhoto": return new ProfilePhoto(); + case "#microsoft.graph.profilePropertySetting": return new ProfilePropertySetting(); case "#microsoft.graph.profileSource": return new ProfileSource(); case "#microsoft.graph.program": return new Program(); case "#microsoft.graph.programControl": return new ProgramControl(); @@ -1892,8 +1894,6 @@ private static Entity createFromDiscriminatorValue_2(@jakarta.annotation.Nonnull case "#microsoft.graph.security.emailThreatSubmission": return new EmailThreatSubmission(); case "#microsoft.graph.security.emailThreatSubmissionPolicy": return new EmailThreatSubmissionPolicy(); case "#microsoft.graph.security.emailUrlThreatSubmission": return new EmailUrlThreatSubmission(); - case "#microsoft.graph.security.endpointDiscoveredCloudAppDetail": return new EndpointDiscoveredCloudAppDetail(); - case "#microsoft.graph.security.file": return new File(); } return null; } @@ -1905,6 +1905,8 @@ private static Entity createFromDiscriminatorValue_2(@jakarta.annotation.Nonnull @jakarta.annotation.Nonnull private static Entity createFromDiscriminatorValue_3(@jakarta.annotation.Nonnull final String discriminatorValue) { switch (discriminatorValue) { + case "#microsoft.graph.security.endpointDiscoveredCloudAppDetail": return new EndpointDiscoveredCloudAppDetail(); + case "#microsoft.graph.security.file": return new File(); case "#microsoft.graph.security.fileContentThreatSubmission": return new FileContentThreatSubmission(); case "#microsoft.graph.security.filePlanDescriptor": return new FilePlanDescriptor(); case "#microsoft.graph.security.filePlanDescriptorTemplate": return new FilePlanDescriptorTemplate(); @@ -2181,6 +2183,7 @@ private static Entity createFromDiscriminatorValue_3(@jakarta.annotation.Nonnull case "#microsoft.graph.updateRecordingStatusOperation": return new UpdateRecordingStatusOperation(); case "#microsoft.graph.urlAssessmentRequest": return new UrlAssessmentRequest(); case "#microsoft.graph.usageRight": return new UsageRight(); + case "#microsoft.graph.usageRightsIncluded": return new UsageRightsIncluded(); case "#microsoft.graph.usedInsight": return new UsedInsight(); case "#microsoft.graph.user": return new User(); case "#microsoft.graph.userAccountInformation": return new UserAccountInformation(); @@ -2402,9 +2405,6 @@ private static Entity createFromDiscriminatorValue_3(@jakarta.annotation.Nonnull case "#microsoft.graph.windowsUpdates.qualityUpdateCatalogEntry": return new QualityUpdateCatalogEntry(); case "#microsoft.graph.windowsUpdates.resourceConnection": return new ResourceConnection(); case "#microsoft.graph.windowsUpdates.softwareUpdateCatalogEntry": return new SoftwareUpdateCatalogEntry(); - case "#microsoft.graph.windowsUpdates.updatableAsset": return new UpdatableAsset(); - case "#microsoft.graph.windowsUpdates.updatableAssetGroup": return new UpdatableAssetGroup(); - case "#microsoft.graph.windowsUpdates.updatePolicy": return new UpdatePolicy(); } return null; } @@ -2416,6 +2416,9 @@ private static Entity createFromDiscriminatorValue_3(@jakarta.annotation.Nonnull @jakarta.annotation.Nonnull private static Entity createFromDiscriminatorValue_4(@jakarta.annotation.Nonnull final String discriminatorValue) { switch (discriminatorValue) { + case "#microsoft.graph.windowsUpdates.updatableAsset": return new UpdatableAsset(); + case "#microsoft.graph.windowsUpdates.updatableAssetGroup": return new UpdatableAssetGroup(); + case "#microsoft.graph.windowsUpdates.updatePolicy": return new UpdatePolicy(); case "#microsoft.graph.windowsUpdateState": return new WindowsUpdateState(); case "#microsoft.graph.windowsVpnConfiguration": return new WindowsVpnConfiguration(); case "#microsoft.graph.windowsWebApp": return new WindowsWebApp(); diff --git a/src/main/java/com/microsoft/graph/beta/generated/models/IdentifierUriConfiguration.java b/src/main/java/com/microsoft/graph/beta/generated/models/IdentifierUriConfiguration.java index 4579a60c67a..1c88383a34f 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/models/IdentifierUriConfiguration.java +++ b/src/main/java/com/microsoft/graph/beta/generated/models/IdentifierUriConfiguration.java @@ -61,9 +61,10 @@ public BackingStore getBackingStore() { */ @jakarta.annotation.Nonnull public Map> getFieldDeserializers() { - final HashMap> deserializerMap = new HashMap>(2); + final HashMap> deserializerMap = new HashMap>(3); deserializerMap.put("nonDefaultUriAddition", (n) -> { this.setNonDefaultUriAddition(n.getObjectValue(IdentifierUriRestriction::createFromDiscriminatorValue)); }); deserializerMap.put("@odata.type", (n) -> { this.setOdataType(n.getStringValue()); }); + deserializerMap.put("uriAdditionWithoutUniqueTenantIdentifier", (n) -> { this.setUriAdditionWithoutUniqueTenantIdentifier(n.getObjectValue(IdentifierUriRestriction::createFromDiscriminatorValue)); }); return deserializerMap; } /** @@ -82,6 +83,14 @@ public IdentifierUriRestriction getNonDefaultUriAddition() { public String getOdataType() { return this.backingStore.get("odataType"); } + /** + * Gets the uriAdditionWithoutUniqueTenantIdentifier property value. Block new identifier URIs for applications, unless they contain a unique tenant identifier like the tenant ID, appId (client ID), or verified domain. For example, api://{tenatId}/string, api://{appId}/string, {scheme}://string/{tenantId}, {scheme}://string/{appId}, https://{verified-domain.com}/path, {scheme}://{subdomain}.{verified-domain.com}/path. + * @return a {@link IdentifierUriRestriction} + */ + @jakarta.annotation.Nullable + public IdentifierUriRestriction getUriAdditionWithoutUniqueTenantIdentifier() { + return this.backingStore.get("uriAdditionWithoutUniqueTenantIdentifier"); + } /** * Serializes information the current object * @param writer Serialization writer to use to serialize this model @@ -90,6 +99,7 @@ public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writ Objects.requireNonNull(writer); writer.writeObjectValue("nonDefaultUriAddition", this.getNonDefaultUriAddition()); writer.writeStringValue("@odata.type", this.getOdataType()); + writer.writeObjectValue("uriAdditionWithoutUniqueTenantIdentifier", this.getUriAdditionWithoutUniqueTenantIdentifier()); writer.writeAdditionalData(this.getAdditionalData()); } /** @@ -121,4 +131,11 @@ public void setNonDefaultUriAddition(@jakarta.annotation.Nullable final Identifi public void setOdataType(@jakarta.annotation.Nullable final String value) { this.backingStore.set("odataType", value); } + /** + * Sets the uriAdditionWithoutUniqueTenantIdentifier property value. Block new identifier URIs for applications, unless they contain a unique tenant identifier like the tenant ID, appId (client ID), or verified domain. For example, api://{tenatId}/string, api://{appId}/string, {scheme}://string/{tenantId}, {scheme}://string/{appId}, https://{verified-domain.com}/path, {scheme}://{subdomain}.{verified-domain.com}/path. + * @param value Value to set for the uriAdditionWithoutUniqueTenantIdentifier property. + */ + public void setUriAdditionWithoutUniqueTenantIdentifier(@jakarta.annotation.Nullable final IdentifierUriRestriction value) { + this.backingStore.set("uriAdditionWithoutUniqueTenantIdentifier", value); + } } diff --git a/src/main/java/com/microsoft/graph/beta/generated/models/LabelActionBase.java b/src/main/java/com/microsoft/graph/beta/generated/models/LabelActionBase.java index 1e6c62bfb44..31c43b9062e 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/models/LabelActionBase.java +++ b/src/main/java/com/microsoft/graph/beta/generated/models/LabelActionBase.java @@ -83,7 +83,7 @@ public Map> getFieldDeserializers return deserializerMap; } /** - * Gets the name property value. The name property + * Gets the name property value. The name of the action (for example, 'Encrypt', 'AddHeader'). * @return a {@link String} */ @jakarta.annotation.Nullable @@ -124,7 +124,7 @@ public void setBackingStore(@jakarta.annotation.Nonnull final BackingStore value this.backingStore = value; } /** - * Sets the name property value. The name property + * Sets the name property value. The name of the action (for example, 'Encrypt', 'AddHeader'). * @param value Value to set for the name property. */ public void setName(@jakarta.annotation.Nullable final String value) { diff --git a/src/main/java/com/microsoft/graph/beta/generated/models/LabelActionSource.java b/src/main/java/com/microsoft/graph/beta/generated/models/LabelActionSource.java new file mode 100644 index 00000000000..cdfe8f00744 --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/models/LabelActionSource.java @@ -0,0 +1,31 @@ +package com.microsoft.graph.beta.models; + +import com.microsoft.kiota.serialization.ValuedEnum; +import java.util.Objects; + +@jakarta.annotation.Generated("com.microsoft.kiota") +public enum LabelActionSource implements ValuedEnum { + Manual("manual"), + Automatic("automatic"), + Recommended("recommended"), + None("none"), + UnknownFutureValue("unknownFutureValue"); + public final String value; + LabelActionSource(final String value) { + this.value = value; + } + @jakarta.annotation.Nonnull + public String getValue() { return this.value; } + @jakarta.annotation.Nullable + public static LabelActionSource forValue(@jakarta.annotation.Nonnull final String searchValue) { + Objects.requireNonNull(searchValue); + switch(searchValue) { + case "manual": return Manual; + case "automatic": return Automatic; + case "recommended": return Recommended; + case "none": return None; + case "unknownFutureValue": return UnknownFutureValue; + default: return null; + } + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/models/LabelContentRight.java b/src/main/java/com/microsoft/graph/beta/generated/models/LabelContentRight.java new file mode 100644 index 00000000000..bada69350b2 --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/models/LabelContentRight.java @@ -0,0 +1,95 @@ +package com.microsoft.graph.beta.models; + +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParseNode; +import com.microsoft.kiota.serialization.SerializationWriter; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +@jakarta.annotation.Generated("com.microsoft.kiota") +public class LabelContentRight extends Entity implements Parsable { + /** + * Instantiates a new {@link LabelContentRight} and sets the default values. + */ + public LabelContentRight() { + super(); + } + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param parseNode The parse node to use to read the discriminator value and create the object + * @return a {@link LabelContentRight} + */ + @jakarta.annotation.Nonnull + public static LabelContentRight createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) { + Objects.requireNonNull(parseNode); + return new LabelContentRight(); + } + /** + * Gets the cid property value. The content identifier. + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String getCid() { + return this.backingStore.get("cid"); + } + /** + * The deserialization information for the current model + * @return a {@link Map>} + */ + @jakarta.annotation.Nonnull + public Map> getFieldDeserializers() { + final HashMap> deserializerMap = new HashMap>(super.getFieldDeserializers()); + deserializerMap.put("cid", (n) -> { this.setCid(n.getStringValue()); }); + deserializerMap.put("format", (n) -> { this.setFormat(n.getStringValue()); }); + deserializerMap.put("label", (n) -> { this.setLabel(n.getObjectValue(SensitivityLabel::createFromDiscriminatorValue)); }); + return deserializerMap; + } + /** + * Gets the format property value. The content format. + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String getFormat() { + return this.backingStore.get("format"); + } + /** + * Gets the label property value. The label property + * @return a {@link SensitivityLabel} + */ + @jakarta.annotation.Nullable + public SensitivityLabel getLabel() { + return this.backingStore.get("label"); + } + /** + * Serializes information the current object + * @param writer Serialization writer to use to serialize this model + */ + public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writer) { + Objects.requireNonNull(writer); + super.serialize(writer); + writer.writeStringValue("cid", this.getCid()); + writer.writeStringValue("format", this.getFormat()); + writer.writeObjectValue("label", this.getLabel()); + } + /** + * Sets the cid property value. The content identifier. + * @param value Value to set for the cid property. + */ + public void setCid(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("cid", value); + } + /** + * Sets the format property value. The content format. + * @param value Value to set for the format property. + */ + public void setFormat(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("format", value); + } + /** + * Sets the label property value. The label property + * @param value Value to set for the label property. + */ + public void setLabel(@jakarta.annotation.Nullable final SensitivityLabel value) { + this.backingStore.set("label", value); + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/models/LabelPolicy.java b/src/main/java/com/microsoft/graph/beta/generated/models/LabelPolicy.java index 6839fe19ac4..f3d6b59b744 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/models/LabelPolicy.java +++ b/src/main/java/com/microsoft/graph/beta/generated/models/LabelPolicy.java @@ -68,7 +68,7 @@ public Map> getFieldDeserializers return deserializerMap; } /** - * Gets the id property value. The id property + * Gets the id property value. The unique identifier of the label policy. * @return a {@link String} */ @jakarta.annotation.Nullable @@ -76,7 +76,7 @@ public String getId() { return this.backingStore.get("id"); } /** - * Gets the name property value. The name property + * Gets the name property value. The display name of the label policy. * @return a {@link String} */ @jakarta.annotation.Nullable @@ -118,14 +118,14 @@ public void setBackingStore(@jakarta.annotation.Nonnull final BackingStore value this.backingStore = value; } /** - * Sets the id property value. The id property + * Sets the id property value. The unique identifier of the label policy. * @param value Value to set for the id property. */ public void setId(@jakarta.annotation.Nullable final String value) { this.backingStore.set("id", value); } /** - * Sets the name property value. The name property + * Sets the name property value. The display name of the label policy. * @param value Value to set for the name property. */ public void setName(@jakarta.annotation.Nullable final String value) { diff --git a/src/main/java/com/microsoft/graph/beta/generated/models/MacOsLobAppAssignmentSettings.java b/src/main/java/com/microsoft/graph/beta/generated/models/MacOsLobAppAssignmentSettings.java index 9b7124da50b..279bfd72943 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/models/MacOsLobAppAssignmentSettings.java +++ b/src/main/java/com/microsoft/graph/beta/generated/models/MacOsLobAppAssignmentSettings.java @@ -39,7 +39,7 @@ public Map> getFieldDeserializers return deserializerMap; } /** - * Gets the uninstallOnDeviceRemoval property value. When TRUE, indicates that the app should be uninstalled when the device is removed from Intune. When FALSE, indicates that the app will not be uninstalled when the device is removed from Intune. + * Gets the uninstallOnDeviceRemoval property value. Whether or not to uninstall the app when device is removed from Intune. * @return a {@link Boolean} */ @jakarta.annotation.Nullable @@ -56,7 +56,7 @@ public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writ writer.writeBooleanValue("uninstallOnDeviceRemoval", this.getUninstallOnDeviceRemoval()); } /** - * Sets the uninstallOnDeviceRemoval property value. When TRUE, indicates that the app should be uninstalled when the device is removed from Intune. When FALSE, indicates that the app will not be uninstalled when the device is removed from Intune. + * Sets the uninstallOnDeviceRemoval property value. Whether or not to uninstall the app when device is removed from Intune. * @param value Value to set for the uninstallOnDeviceRemoval property. */ public void setUninstallOnDeviceRemoval(@jakarta.annotation.Nullable final Boolean value) { diff --git a/src/main/java/com/microsoft/graph/beta/generated/models/MobileApp.java b/src/main/java/com/microsoft/graph/beta/generated/models/MobileApp.java index 8717bd61df0..76cca558daf 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/models/MobileApp.java +++ b/src/main/java/com/microsoft/graph/beta/generated/models/MobileApp.java @@ -91,7 +91,7 @@ public java.util.List getCategories() { return this.backingStore.get("categories"); } /** - * Gets the createdDateTime property value. The date and time the app was created. + * Gets the createdDateTime property value. The date and time the app was created. This property is read-only. * @return a {@link OffsetDateTime} */ @jakarta.annotation.Nullable @@ -99,7 +99,7 @@ public OffsetDateTime getCreatedDateTime() { return this.backingStore.get("createdDateTime"); } /** - * Gets the dependentAppCount property value. The total number of dependencies the child app has. + * Gets the dependentAppCount property value. The total number of dependencies the child app has. This property is read-only. * @return a {@link Integer} */ @jakarta.annotation.Nullable @@ -170,7 +170,7 @@ public String getInformationUrl() { return this.backingStore.get("informationUrl"); } /** - * Gets the isAssigned property value. The value indicating whether the app is assigned to at least one group. + * Gets the isAssigned property value. The value indicating whether the app is assigned to at least one group. This property is read-only. * @return a {@link Boolean} */ @jakarta.annotation.Nullable @@ -194,7 +194,7 @@ public MimeContent getLargeIcon() { return this.backingStore.get("largeIcon"); } /** - * Gets the lastModifiedDateTime property value. The date and time the app was last modified. + * Gets the lastModifiedDateTime property value. The date and time the app was last modified. This property is read-only. * @return a {@link OffsetDateTime} */ @jakarta.annotation.Nullable @@ -242,7 +242,7 @@ public MobileAppPublishingState getPublishingState() { return this.backingStore.get("publishingState"); } /** - * Gets the relationships property value. List of relationships for this mobile app. + * Gets the relationships property value. The set of direct relationships for this app. * @return a {@link java.util.List} */ @jakarta.annotation.Nullable @@ -274,7 +274,7 @@ public Integer getSupersedingAppCount() { return this.backingStore.get("supersedingAppCount"); } /** - * Gets the uploadState property value. The upload state. + * Gets the uploadState property value. The upload state. Possible values are: 0 - Not Ready, 1 - Ready, 2 - Processing. This property is read-only. * @return a {@link Integer} */ @jakarta.annotation.Nullable @@ -319,14 +319,14 @@ public void setCategories(@jakarta.annotation.Nullable final java.util.List value) { @@ -452,7 +452,7 @@ public void setSupersedingAppCount(@jakarta.annotation.Nullable final Integer va this.backingStore.set("supersedingAppCount", value); } /** - * Sets the uploadState property value. The upload state. + * Sets the uploadState property value. The upload state. Possible values are: 0 - Not Ready, 1 - Ready, 2 - Processing. This property is read-only. * @param value Value to set for the uploadState property. */ public void setUploadState(@jakarta.annotation.Nullable final Integer value) { diff --git a/src/main/java/com/microsoft/graph/beta/generated/models/MobileAppTroubleshootingEvent.java b/src/main/java/com/microsoft/graph/beta/generated/models/MobileAppTroubleshootingEvent.java index 202949e3f81..bc24f9eca6f 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/models/MobileAppTroubleshootingEvent.java +++ b/src/main/java/com/microsoft/graph/beta/generated/models/MobileAppTroubleshootingEvent.java @@ -36,7 +36,7 @@ public String getApplicationId() { return this.backingStore.get("applicationId"); } /** - * Gets the appLogCollectionRequests property value. The collection property of AppLogUploadRequest. + * Gets the appLogCollectionRequests property value. Indicates collection of App Log Upload Request. * @return a {@link java.util.List} */ @jakarta.annotation.Nullable @@ -112,7 +112,7 @@ public void setApplicationId(@jakarta.annotation.Nullable final String value) { this.backingStore.set("applicationId", value); } /** - * Sets the appLogCollectionRequests property value. The collection property of AppLogUploadRequest. + * Sets the appLogCollectionRequests property value. Indicates collection of App Log Upload Request. * @param value Value to set for the appLogCollectionRequests property. */ public void setAppLogCollectionRequests(@jakarta.annotation.Nullable final java.util.List value) { diff --git a/src/main/java/com/microsoft/graph/beta/generated/models/OrganizationAllowedAudiences.java b/src/main/java/com/microsoft/graph/beta/generated/models/OrganizationAllowedAudiences.java new file mode 100644 index 00000000000..a916bde0388 --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/models/OrganizationAllowedAudiences.java @@ -0,0 +1,31 @@ +package com.microsoft.graph.beta.models; + +import com.microsoft.kiota.serialization.ValuedEnum; +import java.util.Objects; + +@jakarta.annotation.Generated("com.microsoft.kiota") +public enum OrganizationAllowedAudiences implements ValuedEnum { + Me("me"), + Organization("organization"), + FederatedOrganizations("federatedOrganizations"), + Everyone("everyone"), + UnknownFutureValue("unknownFutureValue"); + public final String value; + OrganizationAllowedAudiences(final String value) { + this.value = value; + } + @jakarta.annotation.Nonnull + public String getValue() { return this.value; } + @jakarta.annotation.Nullable + public static OrganizationAllowedAudiences forValue(@jakarta.annotation.Nonnull final String searchValue) { + Objects.requireNonNull(searchValue); + switch(searchValue) { + case "me": return Me; + case "organization": return Organization; + case "federatedOrganizations": return FederatedOrganizations; + case "everyone": return Everyone; + case "unknownFutureValue": return UnknownFutureValue; + default: return null; + } + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/models/PeopleAdminSettings.java b/src/main/java/com/microsoft/graph/beta/generated/models/PeopleAdminSettings.java index 01d82567b75..5a021cc4ba9 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/models/PeopleAdminSettings.java +++ b/src/main/java/com/microsoft/graph/beta/generated/models/PeopleAdminSettings.java @@ -34,6 +34,7 @@ public Map> getFieldDeserializers deserializerMap.put("itemInsights", (n) -> { this.setItemInsights(n.getObjectValue(InsightsSettings::createFromDiscriminatorValue)); }); deserializerMap.put("namePronunciation", (n) -> { this.setNamePronunciation(n.getObjectValue(NamePronunciationSettings::createFromDiscriminatorValue)); }); deserializerMap.put("profileCardProperties", (n) -> { this.setProfileCardProperties(n.getCollectionOfObjectValues(ProfileCardProperty::createFromDiscriminatorValue)); }); + deserializerMap.put("profilePropertySettings", (n) -> { this.setProfilePropertySettings(n.getCollectionOfObjectValues(ProfilePropertySetting::createFromDiscriminatorValue)); }); deserializerMap.put("pronouns", (n) -> { this.setPronouns(n.getObjectValue(PronounsSettings::createFromDiscriminatorValue)); }); return deserializerMap; } @@ -61,6 +62,14 @@ public NamePronunciationSettings getNamePronunciation() { public java.util.List getProfileCardProperties() { return this.backingStore.get("profileCardProperties"); } + /** + * Gets the profilePropertySettings property value. A collection of profile property configuration settings defined by an administrator for an organization. + * @return a {@link java.util.List} + */ + @jakarta.annotation.Nullable + public java.util.List getProfilePropertySettings() { + return this.backingStore.get("profilePropertySettings"); + } /** * Gets the pronouns property value. Administrator settings that manage the support of pronouns in an organization. * @return a {@link PronounsSettings} @@ -79,6 +88,7 @@ public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writ writer.writeObjectValue("itemInsights", this.getItemInsights()); writer.writeObjectValue("namePronunciation", this.getNamePronunciation()); writer.writeCollectionOfObjectValues("profileCardProperties", this.getProfileCardProperties()); + writer.writeCollectionOfObjectValues("profilePropertySettings", this.getProfilePropertySettings()); writer.writeObjectValue("pronouns", this.getPronouns()); } /** @@ -102,6 +112,13 @@ public void setNamePronunciation(@jakarta.annotation.Nullable final NamePronunci public void setProfileCardProperties(@jakarta.annotation.Nullable final java.util.List value) { this.backingStore.set("profileCardProperties", value); } + /** + * Sets the profilePropertySettings property value. A collection of profile property configuration settings defined by an administrator for an organization. + * @param value Value to set for the profilePropertySettings property. + */ + public void setProfilePropertySettings(@jakarta.annotation.Nullable final java.util.List value) { + this.backingStore.set("profilePropertySettings", value); + } /** * Sets the pronouns property value. Administrator settings that manage the support of pronouns in an organization. * @param value Value to set for the pronouns property. diff --git a/src/main/java/com/microsoft/graph/beta/generated/models/ProcessContentResponse.java b/src/main/java/com/microsoft/graph/beta/generated/models/ProcessContentResponse.java index 5f2ad6bcaac..023e32db1ca 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/models/ProcessContentResponse.java +++ b/src/main/java/com/microsoft/graph/beta/generated/models/ProcessContentResponse.java @@ -77,7 +77,7 @@ public String getOdataType() { return this.backingStore.get("odataType"); } /** - * Gets the policyActions property value. A collection of policy actions (like DLP actions) triggered by the processed content. + * Gets the policyActions property value. A collection of policy actions (like DLP actions) triggered by the processed content. NOTE: Currently, the only policyAction supported in processContentResponse is '_restrictAccess' * @return a {@link java.util.List} */ @jakarta.annotation.Nullable @@ -135,7 +135,7 @@ public void setOdataType(@jakarta.annotation.Nullable final String value) { this.backingStore.set("odataType", value); } /** - * Sets the policyActions property value. A collection of policy actions (like DLP actions) triggered by the processed content. + * Sets the policyActions property value. A collection of policy actions (like DLP actions) triggered by the processed content. NOTE: Currently, the only policyAction supported in processContentResponse is '_restrictAccess' * @param value Value to set for the policyActions property. */ public void setPolicyActions(@jakarta.annotation.Nullable final java.util.List value) { diff --git a/src/main/java/com/microsoft/graph/beta/generated/models/ProfilePropertySetting.java b/src/main/java/com/microsoft/graph/beta/generated/models/ProfilePropertySetting.java new file mode 100644 index 00000000000..1e7558dc040 --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/models/ProfilePropertySetting.java @@ -0,0 +1,112 @@ +package com.microsoft.graph.beta.models; + +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParseNode; +import com.microsoft.kiota.serialization.SerializationWriter; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +@jakarta.annotation.Generated("com.microsoft.kiota") +public class ProfilePropertySetting extends Entity implements Parsable { + /** + * Instantiates a new {@link ProfilePropertySetting} and sets the default values. + */ + public ProfilePropertySetting() { + super(); + } + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param parseNode The parse node to use to read the discriminator value and create the object + * @return a {@link ProfilePropertySetting} + */ + @jakarta.annotation.Nonnull + public static ProfilePropertySetting createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) { + Objects.requireNonNull(parseNode); + return new ProfilePropertySetting(); + } + /** + * Gets the allowedAudiences property value. A privacy setting that reflects the allowed audience for the configured property. The possible values are: me, organization, federatedOrganizations, everyone, unknownFutureValue. + * @return a {@link OrganizationAllowedAudiences} + */ + @jakarta.annotation.Nullable + public OrganizationAllowedAudiences getAllowedAudiences() { + return this.backingStore.get("allowedAudiences"); + } + /** + * The deserialization information for the current model + * @return a {@link Map>} + */ + @jakarta.annotation.Nonnull + public Map> getFieldDeserializers() { + final HashMap> deserializerMap = new HashMap>(super.getFieldDeserializers()); + deserializerMap.put("allowedAudiences", (n) -> { this.setAllowedAudiences(n.getEnumValue(OrganizationAllowedAudiences::forValue)); }); + deserializerMap.put("isUserOverrideForAudienceEnabled", (n) -> { this.setIsUserOverrideForAudienceEnabled(n.getBooleanValue()); }); + deserializerMap.put("name", (n) -> { this.setName(n.getStringValue()); }); + deserializerMap.put("prioritizedSourceUrls", (n) -> { this.setPrioritizedSourceUrls(n.getCollectionOfPrimitiveValues(String.class)); }); + return deserializerMap; + } + /** + * Gets the isUserOverrideForAudienceEnabled property value. Defines whether a user is allowed to override the tenant admin privacy setting. + * @return a {@link Boolean} + */ + @jakarta.annotation.Nullable + public Boolean getIsUserOverrideForAudienceEnabled() { + return this.backingStore.get("isUserOverrideForAudienceEnabled"); + } + /** + * Gets the name property value. Name of the property-level setting. + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String getName() { + return this.backingStore.get("name"); + } + /** + * Gets the prioritizedSourceUrls property value. A collection of prioritized profile source URLs ordered by data precedence within an organization. + * @return a {@link java.util.List} + */ + @jakarta.annotation.Nullable + public java.util.List getPrioritizedSourceUrls() { + return this.backingStore.get("prioritizedSourceUrls"); + } + /** + * Serializes information the current object + * @param writer Serialization writer to use to serialize this model + */ + public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writer) { + Objects.requireNonNull(writer); + super.serialize(writer); + writer.writeEnumValue("allowedAudiences", this.getAllowedAudiences()); + writer.writeBooleanValue("isUserOverrideForAudienceEnabled", this.getIsUserOverrideForAudienceEnabled()); + writer.writeStringValue("name", this.getName()); + writer.writeCollectionOfPrimitiveValues("prioritizedSourceUrls", this.getPrioritizedSourceUrls()); + } + /** + * Sets the allowedAudiences property value. A privacy setting that reflects the allowed audience for the configured property. The possible values are: me, organization, federatedOrganizations, everyone, unknownFutureValue. + * @param value Value to set for the allowedAudiences property. + */ + public void setAllowedAudiences(@jakarta.annotation.Nullable final OrganizationAllowedAudiences value) { + this.backingStore.set("allowedAudiences", value); + } + /** + * Sets the isUserOverrideForAudienceEnabled property value. Defines whether a user is allowed to override the tenant admin privacy setting. + * @param value Value to set for the isUserOverrideForAudienceEnabled property. + */ + public void setIsUserOverrideForAudienceEnabled(@jakarta.annotation.Nullable final Boolean value) { + this.backingStore.set("isUserOverrideForAudienceEnabled", value); + } + /** + * Sets the name property value. Name of the property-level setting. + * @param value Value to set for the name property. + */ + public void setName(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("name", value); + } + /** + * Sets the prioritizedSourceUrls property value. A collection of prioritized profile source URLs ordered by data precedence within an organization. + * @param value Value to set for the prioritizedSourceUrls property. + */ + public void setPrioritizedSourceUrls(@jakarta.annotation.Nullable final java.util.List value) { + this.backingStore.set("prioritizedSourceUrls", value); + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/models/ProfilePropertySettingCollectionResponse.java b/src/main/java/com/microsoft/graph/beta/generated/models/ProfilePropertySettingCollectionResponse.java new file mode 100644 index 00000000000..a8cee3f0041 --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/models/ProfilePropertySettingCollectionResponse.java @@ -0,0 +1,61 @@ +package com.microsoft.graph.beta.models; + +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParseNode; +import com.microsoft.kiota.serialization.SerializationWriter; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +@jakarta.annotation.Generated("com.microsoft.kiota") +public class ProfilePropertySettingCollectionResponse extends BaseCollectionPaginationCountResponse implements Parsable { + /** + * Instantiates a new {@link ProfilePropertySettingCollectionResponse} and sets the default values. + */ + public ProfilePropertySettingCollectionResponse() { + super(); + } + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param parseNode The parse node to use to read the discriminator value and create the object + * @return a {@link ProfilePropertySettingCollectionResponse} + */ + @jakarta.annotation.Nonnull + public static ProfilePropertySettingCollectionResponse createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) { + Objects.requireNonNull(parseNode); + return new ProfilePropertySettingCollectionResponse(); + } + /** + * The deserialization information for the current model + * @return a {@link Map>} + */ + @jakarta.annotation.Nonnull + public Map> getFieldDeserializers() { + final HashMap> deserializerMap = new HashMap>(super.getFieldDeserializers()); + deserializerMap.put("value", (n) -> { this.setValue(n.getCollectionOfObjectValues(ProfilePropertySetting::createFromDiscriminatorValue)); }); + return deserializerMap; + } + /** + * Gets the value property value. The value property + * @return a {@link java.util.List} + */ + @jakarta.annotation.Nullable + public java.util.List getValue() { + return this.backingStore.get("value"); + } + /** + * Serializes information the current object + * @param writer Serialization writer to use to serialize this model + */ + public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writer) { + Objects.requireNonNull(writer); + super.serialize(writer); + writer.writeCollectionOfObjectValues("value", this.getValue()); + } + /** + * Sets the value property value. The value property + * @param value Value to set for the value property. + */ + public void setValue(@jakarta.annotation.Nullable final java.util.List value) { + this.backingStore.set("value", value); + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/models/ProtectedContent.java b/src/main/java/com/microsoft/graph/beta/generated/models/ProtectedContent.java new file mode 100644 index 00000000000..f93f7c35570 --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/models/ProtectedContent.java @@ -0,0 +1,158 @@ +package com.microsoft.graph.beta.models; + +import com.microsoft.kiota.serialization.AdditionalDataHolder; +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParseNode; +import com.microsoft.kiota.serialization.SerializationWriter; +import com.microsoft.kiota.store.BackedModel; +import com.microsoft.kiota.store.BackingStore; +import com.microsoft.kiota.store.BackingStoreFactorySingleton; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +@jakarta.annotation.Generated("com.microsoft.kiota") +public class ProtectedContent implements AdditionalDataHolder, BackedModel, Parsable { + /** + * Stores model information. + */ + @jakarta.annotation.Nonnull + protected BackingStore backingStore; + /** + * Instantiates a new {@link ProtectedContent} and sets the default values. + */ + public ProtectedContent() { + this.backingStore = BackingStoreFactorySingleton.instance.createBackingStore(); + this.setAdditionalData(new HashMap<>()); + } + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param parseNode The parse node to use to read the discriminator value and create the object + * @return a {@link ProtectedContent} + */ + @jakarta.annotation.Nonnull + public static ProtectedContent createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) { + Objects.requireNonNull(parseNode); + return new ProtectedContent(); + } + /** + * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @return a {@link Map} + */ + @jakarta.annotation.Nonnull + public Map getAdditionalData() { + Map value = this.backingStore.get("additionalData"); + if(value == null) { + value = new HashMap<>(); + this.setAdditionalData(value); + } + return value; + } + /** + * Gets the backingStore property value. Stores model information. + * @return a {@link BackingStore} + */ + @jakarta.annotation.Nonnull + public BackingStore getBackingStore() { + return this.backingStore; + } + /** + * Gets the cid property value. The content id + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String getCid() { + return this.backingStore.get("cid"); + } + /** + * The deserialization information for the current model + * @return a {@link Map>} + */ + @jakarta.annotation.Nonnull + public Map> getFieldDeserializers() { + final HashMap> deserializerMap = new HashMap>(4); + deserializerMap.put("cid", (n) -> { this.setCid(n.getStringValue()); }); + deserializerMap.put("format", (n) -> { this.setFormat(n.getStringValue()); }); + deserializerMap.put("labelId", (n) -> { this.setLabelId(n.getStringValue()); }); + deserializerMap.put("@odata.type", (n) -> { this.setOdataType(n.getStringValue()); }); + return deserializerMap; + } + /** + * Gets the format property value. The content format. + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String getFormat() { + return this.backingStore.get("format"); + } + /** + * Gets the labelId property value. The unique identifier for the sensitivity label applied to the content. + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String getLabelId() { + return this.backingStore.get("labelId"); + } + /** + * Gets the @odata.type property value. The OdataType property + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String getOdataType() { + return this.backingStore.get("odataType"); + } + /** + * Serializes information the current object + * @param writer Serialization writer to use to serialize this model + */ + public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writer) { + Objects.requireNonNull(writer); + writer.writeStringValue("cid", this.getCid()); + writer.writeStringValue("format", this.getFormat()); + writer.writeStringValue("labelId", this.getLabelId()); + writer.writeStringValue("@odata.type", this.getOdataType()); + writer.writeAdditionalData(this.getAdditionalData()); + } + /** + * Sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @param value Value to set for the AdditionalData property. + */ + public void setAdditionalData(@jakarta.annotation.Nullable final Map value) { + this.backingStore.set("additionalData", value); + } + /** + * Sets the backingStore property value. Stores model information. + * @param value Value to set for the backingStore property. + */ + public void setBackingStore(@jakarta.annotation.Nonnull final BackingStore value) { + Objects.requireNonNull(value); + this.backingStore = value; + } + /** + * Sets the cid property value. The content id + * @param value Value to set for the cid property. + */ + public void setCid(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("cid", value); + } + /** + * Sets the format property value. The content format. + * @param value Value to set for the format property. + */ + public void setFormat(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("format", value); + } + /** + * Sets the labelId property value. The unique identifier for the sensitivity label applied to the content. + * @param value Value to set for the labelId property. + */ + public void setLabelId(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("labelId", value); + } + /** + * Sets the @odata.type property value. The OdataType property + * @param value Value to set for the @odata.type property. + */ + public void setOdataType(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("odataType", value); + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/models/SecureScoreControlProfile.java b/src/main/java/com/microsoft/graph/beta/generated/models/SecureScoreControlProfile.java index ed9c1abe216..c0d79b3d152 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/models/SecureScoreControlProfile.java +++ b/src/main/java/com/microsoft/graph/beta/generated/models/SecureScoreControlProfile.java @@ -50,7 +50,7 @@ public String getAzureTenantId() { return this.backingStore.get("azureTenantId"); } /** - * Gets the complianceInformation property value. The collection of compliance information associated with secure score control + * Gets the complianceInformation property value. The collection of compliance information associated with secure score control. Not implemented. Currently returns null. * @return a {@link java.util.List} */ @jakarta.annotation.Nullable @@ -254,7 +254,7 @@ public void setAzureTenantId(@jakarta.annotation.Nullable final String value) { this.backingStore.set("azureTenantId", value); } /** - * Sets the complianceInformation property value. The collection of compliance information associated with secure score control + * Sets the complianceInformation property value. The collection of compliance information associated with secure score control. Not implemented. Currently returns null. * @param value Value to set for the complianceInformation property. */ public void setComplianceInformation(@jakarta.annotation.Nullable final java.util.List value) { diff --git a/src/main/java/com/microsoft/graph/beta/generated/models/SensitivityLabel.java b/src/main/java/com/microsoft/graph/beta/generated/models/SensitivityLabel.java index bf8ee145273..a82361ea85f 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/models/SensitivityLabel.java +++ b/src/main/java/com/microsoft/graph/beta/generated/models/SensitivityLabel.java @@ -25,6 +25,14 @@ public static SensitivityLabel createFromDiscriminatorValue(@jakarta.annotation. Objects.requireNonNull(parseNode); return new SensitivityLabel(); } + /** + * Gets the actionSource property value. The actionSource property + * @return a {@link LabelActionSource} + */ + @jakarta.annotation.Nullable + public LabelActionSource getActionSource() { + return this.backingStore.get("actionSource"); + } /** * Gets the applicableTo property value. The applicableTo property * @return a {@link EnumSet} @@ -57,6 +65,14 @@ public java.util.List getAssignedPolicies() { public AutoLabeling getAutoLabeling() { return this.backingStore.get("autoLabeling"); } + /** + * Gets the autoTooltip property value. The autoTooltip property + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String getAutoTooltip() { + return this.backingStore.get("autoTooltip"); + } /** * Gets the color property value. The color property * @return a {@link String} @@ -88,19 +104,24 @@ public String getDisplayName() { @jakarta.annotation.Nonnull public Map> getFieldDeserializers() { final HashMap> deserializerMap = new HashMap>(super.getFieldDeserializers()); + deserializerMap.put("actionSource", (n) -> { this.setActionSource(n.getEnumValue(LabelActionSource::forValue)); }); deserializerMap.put("applicableTo", (n) -> { this.setApplicableTo(n.getEnumSetValue(SensitivityLabelTarget::forValue)); }); deserializerMap.put("applicationMode", (n) -> { this.setApplicationMode(n.getEnumValue(ApplicationMode::forValue)); }); deserializerMap.put("assignedPolicies", (n) -> { this.setAssignedPolicies(n.getCollectionOfObjectValues(LabelPolicy::createFromDiscriminatorValue)); }); deserializerMap.put("autoLabeling", (n) -> { this.setAutoLabeling(n.getObjectValue(AutoLabeling::createFromDiscriminatorValue)); }); + deserializerMap.put("autoTooltip", (n) -> { this.setAutoTooltip(n.getStringValue()); }); deserializerMap.put("color", (n) -> { this.setColor(n.getStringValue()); }); deserializerMap.put("description", (n) -> { this.setDescription(n.getStringValue()); }); deserializerMap.put("displayName", (n) -> { this.setDisplayName(n.getStringValue()); }); deserializerMap.put("isDefault", (n) -> { this.setIsDefault(n.getBooleanValue()); }); deserializerMap.put("isEnabled", (n) -> { this.setIsEnabled(n.getBooleanValue()); }); deserializerMap.put("isEndpointProtectionEnabled", (n) -> { this.setIsEndpointProtectionEnabled(n.getBooleanValue()); }); + deserializerMap.put("isScopedToUser", (n) -> { this.setIsScopedToUser(n.getBooleanValue()); }); deserializerMap.put("labelActions", (n) -> { this.setLabelActions(n.getCollectionOfObjectValues(LabelActionBase::createFromDiscriminatorValue)); }); + deserializerMap.put("locale", (n) -> { this.setLocale(n.getStringValue()); }); deserializerMap.put("name", (n) -> { this.setName(n.getStringValue()); }); deserializerMap.put("priority", (n) -> { this.setPriority(n.getIntegerValue()); }); + deserializerMap.put("rights", (n) -> { this.setRights(n.getObjectValue(UsageRightsIncluded::createFromDiscriminatorValue)); }); deserializerMap.put("sublabels", (n) -> { this.setSublabels(n.getCollectionOfObjectValues(SensitivityLabel::createFromDiscriminatorValue)); }); deserializerMap.put("toolTip", (n) -> { this.setToolTip(n.getStringValue()); }); return deserializerMap; @@ -129,6 +150,14 @@ public Boolean getIsEnabled() { public Boolean getIsEndpointProtectionEnabled() { return this.backingStore.get("isEndpointProtectionEnabled"); } + /** + * Gets the isScopedToUser property value. The isScopedToUser property + * @return a {@link Boolean} + */ + @jakarta.annotation.Nullable + public Boolean getIsScopedToUser() { + return this.backingStore.get("isScopedToUser"); + } /** * Gets the labelActions property value. The labelActions property * @return a {@link java.util.List} @@ -137,6 +166,14 @@ public Boolean getIsEndpointProtectionEnabled() { public java.util.List getLabelActions() { return this.backingStore.get("labelActions"); } + /** + * Gets the locale property value. The locale property + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String getLocale() { + return this.backingStore.get("locale"); + } /** * Gets the name property value. The name property * @return a {@link String} @@ -153,6 +190,14 @@ public String getName() { public Integer getPriority() { return this.backingStore.get("priority"); } + /** + * Gets the rights property value. The rights property + * @return a {@link UsageRightsIncluded} + */ + @jakarta.annotation.Nullable + public UsageRightsIncluded getRights() { + return this.backingStore.get("rights"); + } /** * Gets the sublabels property value. The sublabels property * @return a {@link java.util.List} @@ -176,22 +221,34 @@ public String getToolTip() { public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writer) { Objects.requireNonNull(writer); super.serialize(writer); + writer.writeEnumValue("actionSource", this.getActionSource()); writer.writeEnumSetValue("applicableTo", this.getApplicableTo()); writer.writeEnumValue("applicationMode", this.getApplicationMode()); writer.writeCollectionOfObjectValues("assignedPolicies", this.getAssignedPolicies()); writer.writeObjectValue("autoLabeling", this.getAutoLabeling()); + writer.writeStringValue("autoTooltip", this.getAutoTooltip()); writer.writeStringValue("color", this.getColor()); writer.writeStringValue("description", this.getDescription()); writer.writeStringValue("displayName", this.getDisplayName()); writer.writeBooleanValue("isDefault", this.getIsDefault()); writer.writeBooleanValue("isEnabled", this.getIsEnabled()); writer.writeBooleanValue("isEndpointProtectionEnabled", this.getIsEndpointProtectionEnabled()); + writer.writeBooleanValue("isScopedToUser", this.getIsScopedToUser()); writer.writeCollectionOfObjectValues("labelActions", this.getLabelActions()); + writer.writeStringValue("locale", this.getLocale()); writer.writeStringValue("name", this.getName()); writer.writeIntegerValue("priority", this.getPriority()); + writer.writeObjectValue("rights", this.getRights()); writer.writeCollectionOfObjectValues("sublabels", this.getSublabels()); writer.writeStringValue("toolTip", this.getToolTip()); } + /** + * Sets the actionSource property value. The actionSource property + * @param value Value to set for the actionSource property. + */ + public void setActionSource(@jakarta.annotation.Nullable final LabelActionSource value) { + this.backingStore.set("actionSource", value); + } /** * Sets the applicableTo property value. The applicableTo property * @param value Value to set for the applicableTo property. @@ -220,6 +277,13 @@ public void setAssignedPolicies(@jakarta.annotation.Nullable final java.util.Lis public void setAutoLabeling(@jakarta.annotation.Nullable final AutoLabeling value) { this.backingStore.set("autoLabeling", value); } + /** + * Sets the autoTooltip property value. The autoTooltip property + * @param value Value to set for the autoTooltip property. + */ + public void setAutoTooltip(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("autoTooltip", value); + } /** * Sets the color property value. The color property * @param value Value to set for the color property. @@ -262,6 +326,13 @@ public void setIsEnabled(@jakarta.annotation.Nullable final Boolean value) { public void setIsEndpointProtectionEnabled(@jakarta.annotation.Nullable final Boolean value) { this.backingStore.set("isEndpointProtectionEnabled", value); } + /** + * Sets the isScopedToUser property value. The isScopedToUser property + * @param value Value to set for the isScopedToUser property. + */ + public void setIsScopedToUser(@jakarta.annotation.Nullable final Boolean value) { + this.backingStore.set("isScopedToUser", value); + } /** * Sets the labelActions property value. The labelActions property * @param value Value to set for the labelActions property. @@ -269,6 +340,13 @@ public void setIsEndpointProtectionEnabled(@jakarta.annotation.Nullable final Bo public void setLabelActions(@jakarta.annotation.Nullable final java.util.List value) { this.backingStore.set("labelActions", value); } + /** + * Sets the locale property value. The locale property + * @param value Value to set for the locale property. + */ + public void setLocale(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("locale", value); + } /** * Sets the name property value. The name property * @param value Value to set for the name property. @@ -283,6 +361,13 @@ public void setName(@jakarta.annotation.Nullable final String value) { public void setPriority(@jakarta.annotation.Nullable final Integer value) { this.backingStore.set("priority", value); } + /** + * Sets the rights property value. The rights property + * @param value Value to set for the rights property. + */ + public void setRights(@jakarta.annotation.Nullable final UsageRightsIncluded value) { + this.backingStore.set("rights", value); + } /** * Sets the sublabels property value. The sublabels property * @param value Value to set for the sublabels property. diff --git a/src/main/java/com/microsoft/graph/beta/generated/models/SignIn.java b/src/main/java/com/microsoft/graph/beta/generated/models/SignIn.java index 543ea59960d..b9c6783045d 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/models/SignIn.java +++ b/src/main/java/com/microsoft/graph/beta/generated/models/SignIn.java @@ -28,7 +28,7 @@ public static SignIn createFromDiscriminatorValue(@jakarta.annotation.Nonnull fi return new SignIn(); } /** - * Gets the agent property value. The agent property + * Gets the agent property value. Represents details about the agentic sign-in. Includes the type of agent as well as parentAppID in some cases * @return a {@link AgentSignIn} */ @jakarta.annotation.Nullable @@ -795,7 +795,7 @@ public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writ writer.writeEnumValue("userType", this.getUserType()); } /** - * Sets the agent property value. The agent property + * Sets the agent property value. Represents details about the agentic sign-in. Includes the type of agent as well as parentAppID in some cases * @param value Value to set for the agent property. */ public void setAgent(@jakarta.annotation.Nullable final AgentSignIn value) { diff --git a/src/main/java/com/microsoft/graph/beta/generated/models/UsageRights.java b/src/main/java/com/microsoft/graph/beta/generated/models/UsageRights.java new file mode 100644 index 00000000000..e085b7acc39 --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/models/UsageRights.java @@ -0,0 +1,63 @@ +package com.microsoft.graph.beta.models; + +import com.microsoft.kiota.serialization.ValuedEnum; +import java.util.Objects; + +@jakarta.annotation.Generated("com.microsoft.kiota") +public enum UsageRights implements ValuedEnum { + Unknown("unknown"), + DocEdit("docEdit"), + Edit("edit"), + Comment("comment"), + Export("export"), + Forward("forward"), + Owner("owner"), + Print("print"), + Reply("reply"), + ReplyAll("replyAll"), + View("view"), + Extract("extract"), + ViewRightsData("viewRightsData"), + EditRightsData("editRightsData"), + ObjModel("objModel"), + AccessDenied("accessDenied"), + UserDefinedProtectionTypeNotSupportedException("userDefinedProtectionTypeNotSupportedException"), + EncryptedProtectionTypeNotSupportedException("encryptedProtectionTypeNotSupportedException"), + PurviewClaimsChallengeNotSupportedException("purviewClaimsChallengeNotSupportedException"), + Exception("exception"), + UnknownFutureValue("unknownFutureValue"); + public final String value; + UsageRights(final String value) { + this.value = value; + } + @jakarta.annotation.Nonnull + public String getValue() { return this.value; } + @jakarta.annotation.Nullable + public static UsageRights forValue(@jakarta.annotation.Nonnull final String searchValue) { + Objects.requireNonNull(searchValue); + switch(searchValue) { + case "unknown": return Unknown; + case "docEdit": return DocEdit; + case "edit": return Edit; + case "comment": return Comment; + case "export": return Export; + case "forward": return Forward; + case "owner": return Owner; + case "print": return Print; + case "reply": return Reply; + case "replyAll": return ReplyAll; + case "view": return View; + case "extract": return Extract; + case "viewRightsData": return ViewRightsData; + case "editRightsData": return EditRightsData; + case "objModel": return ObjModel; + case "accessDenied": return AccessDenied; + case "userDefinedProtectionTypeNotSupportedException": return UserDefinedProtectionTypeNotSupportedException; + case "encryptedProtectionTypeNotSupportedException": return EncryptedProtectionTypeNotSupportedException; + case "purviewClaimsChallengeNotSupportedException": return PurviewClaimsChallengeNotSupportedException; + case "exception": return Exception; + case "unknownFutureValue": return UnknownFutureValue; + default: return null; + } + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/models/UsageRightsIncluded.java b/src/main/java/com/microsoft/graph/beta/generated/models/UsageRightsIncluded.java new file mode 100644 index 00000000000..35f0405ccfb --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/models/UsageRightsIncluded.java @@ -0,0 +1,96 @@ +package com.microsoft.graph.beta.models; + +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParseNode; +import com.microsoft.kiota.serialization.SerializationWriter; +import java.util.EnumSet; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +@jakarta.annotation.Generated("com.microsoft.kiota") +public class UsageRightsIncluded extends Entity implements Parsable { + /** + * Instantiates a new {@link UsageRightsIncluded} and sets the default values. + */ + public UsageRightsIncluded() { + super(); + } + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param parseNode The parse node to use to read the discriminator value and create the object + * @return a {@link UsageRightsIncluded} + */ + @jakarta.annotation.Nonnull + public static UsageRightsIncluded createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) { + Objects.requireNonNull(parseNode); + return new UsageRightsIncluded(); + } + /** + * The deserialization information for the current model + * @return a {@link Map>} + */ + @jakarta.annotation.Nonnull + public Map> getFieldDeserializers() { + final HashMap> deserializerMap = new HashMap>(super.getFieldDeserializers()); + deserializerMap.put("ownerEmail", (n) -> { this.setOwnerEmail(n.getStringValue()); }); + deserializerMap.put("userEmail", (n) -> { this.setUserEmail(n.getStringValue()); }); + deserializerMap.put("value", (n) -> { this.setValue(n.getEnumSetValue(UsageRights::forValue)); }); + return deserializerMap; + } + /** + * Gets the ownerEmail property value. The email of owner label rights. + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String getOwnerEmail() { + return this.backingStore.get("ownerEmail"); + } + /** + * Gets the userEmail property value. The email of user with label user rights. + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String getUserEmail() { + return this.backingStore.get("userEmail"); + } + /** + * Gets the value property value. The value property + * @return a {@link EnumSet} + */ + @jakarta.annotation.Nullable + public EnumSet getValue() { + return this.backingStore.get("value"); + } + /** + * Serializes information the current object + * @param writer Serialization writer to use to serialize this model + */ + public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writer) { + Objects.requireNonNull(writer); + super.serialize(writer); + writer.writeStringValue("ownerEmail", this.getOwnerEmail()); + writer.writeStringValue("userEmail", this.getUserEmail()); + writer.writeEnumSetValue("value", this.getValue()); + } + /** + * Sets the ownerEmail property value. The email of owner label rights. + * @param value Value to set for the ownerEmail property. + */ + public void setOwnerEmail(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("ownerEmail", value); + } + /** + * Sets the userEmail property value. The email of user with label user rights. + * @param value Value to set for the userEmail property. + */ + public void setUserEmail(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("userEmail", value); + } + /** + * Sets the value property value. The value property + * @param value Value to set for the value property. + */ + public void setValue(@jakarta.annotation.Nullable final EnumSet value) { + this.backingStore.set("value", value); + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/models/WindowsDomainJoinConfiguration.java b/src/main/java/com/microsoft/graph/beta/generated/models/WindowsDomainJoinConfiguration.java index d258eae6c09..5559029a4ea 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/models/WindowsDomainJoinConfiguration.java +++ b/src/main/java/com/microsoft/graph/beta/generated/models/WindowsDomainJoinConfiguration.java @@ -67,7 +67,7 @@ public Map> getFieldDeserializers return deserializerMap; } /** - * Gets the networkAccessConfigurations property value. Reference to device configurations required for network connectivity. This collection can contain a maximum of 2 elements. + * Gets the networkAccessConfigurations property value. Reference to device configurations required for network connectivity * @return a {@link java.util.List} */ @jakarta.annotation.Nullable @@ -117,7 +117,7 @@ public void setComputerNameSuffixRandomCharCount(@jakarta.annotation.Nullable fi this.backingStore.set("computerNameSuffixRandomCharCount", value); } /** - * Sets the networkAccessConfigurations property value. Reference to device configurations required for network connectivity. This collection can contain a maximum of 2 elements. + * Sets the networkAccessConfigurations property value. Reference to device configurations required for network connectivity * @param value Value to set for the networkAccessConfigurations property. */ public void setNetworkAccessConfigurations(@jakarta.annotation.Nullable final java.util.List value) { diff --git a/src/main/java/com/microsoft/graph/beta/generated/models/WindowsUniversalAppXAppAssignmentSettings.java b/src/main/java/com/microsoft/graph/beta/generated/models/WindowsUniversalAppXAppAssignmentSettings.java index 52d6a1a72bf..0872224ab0f 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/models/WindowsUniversalAppXAppAssignmentSettings.java +++ b/src/main/java/com/microsoft/graph/beta/generated/models/WindowsUniversalAppXAppAssignmentSettings.java @@ -39,7 +39,7 @@ public Map> getFieldDeserializers return deserializerMap; } /** - * Gets the useDeviceContext property value. If true, uses device execution context for Windows Universal AppX mobile app. Device-context install is not allowed when this type of app is targeted with Available intent. Defaults to false. + * Gets the useDeviceContext property value. Whether or not to use device execution context for Windows Universal AppX mobile app. * @return a {@link Boolean} */ @jakarta.annotation.Nullable @@ -56,7 +56,7 @@ public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writ writer.writeBooleanValue("useDeviceContext", this.getUseDeviceContext()); } /** - * Sets the useDeviceContext property value. If true, uses device execution context for Windows Universal AppX mobile app. Device-context install is not allowed when this type of app is targeted with Available intent. Defaults to false. + * Sets the useDeviceContext property value. Whether or not to use device execution context for Windows Universal AppX mobile app. * @param value Value to set for the useDeviceContext property. */ public void setUseDeviceContext(@jakarta.annotation.Nullable final Boolean value) { diff --git a/src/main/java/com/microsoft/graph/beta/generated/models/agentic/AgentSignIn.java b/src/main/java/com/microsoft/graph/beta/generated/models/agentic/AgentSignIn.java index 301a2c324ff..d21f90cc022 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/models/agentic/AgentSignIn.java +++ b/src/main/java/com/microsoft/graph/beta/generated/models/agentic/AgentSignIn.java @@ -84,7 +84,7 @@ public String getOdataType() { return this.backingStore.get("odataType"); } /** - * Gets the parentAppId property value. The parentAppId property + * Gets the parentAppId property value. The ID of the parent application for agentic instances. * @return a {@link String} */ @jakarta.annotation.Nullable @@ -132,7 +132,7 @@ public void setOdataType(@jakarta.annotation.Nullable final String value) { this.backingStore.set("odataType", value); } /** - * Sets the parentAppId property value. The parentAppId property + * Sets the parentAppId property value. The ID of the parent application for agentic instances. * @param value Value to set for the parentAppId property. */ public void setParentAppId(@jakarta.annotation.Nullable final String value) { diff --git a/src/main/java/com/microsoft/graph/beta/generated/models/security/SensitivityLabel.java b/src/main/java/com/microsoft/graph/beta/generated/models/security/SensitivityLabel.java index b8f4b1c1d2d..f98c4c5b974 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/models/security/SensitivityLabel.java +++ b/src/main/java/com/microsoft/graph/beta/generated/models/security/SensitivityLabel.java @@ -101,7 +101,7 @@ public String getName() { return this.backingStore.get("name"); } /** - * Gets the parent property value. The parent label associated with a child label. Null if the label has no parent. + * Gets the parent property value. The parent property * @return a {@link SensitivityLabel} */ @jakarta.annotation.Nullable @@ -192,7 +192,7 @@ public void setName(@jakarta.annotation.Nullable final String value) { this.backingStore.set("name", value); } /** - * Sets the parent property value. The parent label associated with a child label. Null if the label has no parent. + * Sets the parent property value. The parent property * @param value Value to set for the parent property. */ public void setParent(@jakarta.annotation.Nullable final SensitivityLabel value) { diff --git a/src/main/java/com/microsoft/graph/beta/generated/policies/crosstenantaccesspolicy/partners/item/identitysynchronization/IdentitySynchronizationRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/policies/crosstenantaccesspolicy/partners/item/identitysynchronization/IdentitySynchronizationRequestBuilder.java index d9e6dbbb8ea..f557e74a6ba 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/policies/crosstenantaccesspolicy/partners/item/identitysynchronization/IdentitySynchronizationRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/policies/crosstenantaccesspolicy/partners/item/identitysynchronization/IdentitySynchronizationRequestBuilder.java @@ -81,23 +81,23 @@ public CrossTenantIdentitySyncPolicyPartner get(@jakarta.annotation.Nullable fin return this.requestAdapter.send(requestInfo, errorMapping, CrossTenantIdentitySyncPolicyPartner::createFromDiscriminatorValue); } /** - * Update the user synchronization policy of a partner-specific configuration. + * Create a cross-tenant user synchronization policy for a partner-specific configuration. * @param body The request body * @return a {@link CrossTenantIdentitySyncPolicyPartner} * @throws ODataError When receiving a 4XX or 5XX status code - * @see Find more info here + * @see Find more info here */ @jakarta.annotation.Nullable public CrossTenantIdentitySyncPolicyPartner put(@jakarta.annotation.Nonnull final CrossTenantIdentitySyncPolicyPartner body) { return put(body, null); } /** - * Update the user synchronization policy of a partner-specific configuration. + * Create a cross-tenant user synchronization policy for a partner-specific configuration. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link CrossTenantIdentitySyncPolicyPartner} * @throws ODataError When receiving a 4XX or 5XX status code - * @see Find more info here + * @see Find more info here */ @jakarta.annotation.Nullable public CrossTenantIdentitySyncPolicyPartner put(@jakarta.annotation.Nonnull final CrossTenantIdentitySyncPolicyPartner body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { @@ -147,7 +147,7 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f return requestInfo; } /** - * Update the user synchronization policy of a partner-specific configuration. + * Create a cross-tenant user synchronization policy for a partner-specific configuration. * @param body The request body * @return a {@link RequestInformation} */ @@ -156,7 +156,7 @@ public RequestInformation toPutRequestInformation(@jakarta.annotation.Nonnull fi return toPutRequestInformation(body, null); } /** - * Update the user synchronization policy of a partner-specific configuration. + * Create a cross-tenant user synchronization policy for a partner-specific configuration. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} diff --git a/src/main/java/com/microsoft/graph/beta/generated/policies/federatedtokenvalidationpolicy/FederatedTokenValidationPolicyRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/policies/federatedtokenvalidationpolicy/FederatedTokenValidationPolicyRequestBuilder.java index 95e012240ac..b33d66dbb59 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/policies/federatedtokenvalidationpolicy/FederatedTokenValidationPolicyRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/policies/federatedtokenvalidationpolicy/FederatedTokenValidationPolicyRequestBuilder.java @@ -55,21 +55,21 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume this.requestAdapter.sendPrimitive(requestInfo, errorMapping, Void.class); } /** - * Read the properties and relationships of a federatedTokenValidationPolicy object. + * Get a list of the federatedTokenValidationPolicy objects and their properties. * @return a {@link FederatedTokenValidationPolicy} * @throws ODataError When receiving a 4XX or 5XX status code - * @see Find more info here + * @see Find more info here */ @jakarta.annotation.Nullable public FederatedTokenValidationPolicy get() { return get(null); } /** - * Read the properties and relationships of a federatedTokenValidationPolicy object. + * Get a list of the federatedTokenValidationPolicy objects and their properties. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link FederatedTokenValidationPolicy} * @throws ODataError When receiving a 4XX or 5XX status code - * @see Find more info here + * @see Find more info here */ @jakarta.annotation.Nullable public FederatedTokenValidationPolicy get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { @@ -125,7 +125,7 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl return requestInfo; } /** - * Read the properties and relationships of a federatedTokenValidationPolicy object. + * Get a list of the federatedTokenValidationPolicy objects and their properties. * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull @@ -133,7 +133,7 @@ public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } /** - * Read the properties and relationships of a federatedTokenValidationPolicy object. + * Get a list of the federatedTokenValidationPolicy objects and their properties. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} */ @@ -185,7 +185,7 @@ public FederatedTokenValidationPolicyRequestBuilder withUrl(@jakarta.annotation. public class DeleteRequestConfiguration extends BaseRequestConfiguration { } /** - * Read the properties and relationships of a federatedTokenValidationPolicy object. + * Get a list of the federatedTokenValidationPolicy objects and their properties. */ @jakarta.annotation.Generated("com.microsoft.kiota") public class GetQueryParameters implements QueryParameters { diff --git a/src/main/java/com/microsoft/graph/beta/generated/rolemanagement/devicemanagement/roleassignments/RoleAssignmentsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/rolemanagement/devicemanagement/roleassignments/RoleAssignmentsRequestBuilder.java index 801720604a8..27bf745fc70 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/rolemanagement/devicemanagement/roleassignments/RoleAssignmentsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/rolemanagement/devicemanagement/roleassignments/RoleAssignmentsRequestBuilder.java @@ -66,12 +66,12 @@ public RoleAssignmentsRequestBuilder(@jakarta.annotation.Nonnull final String ra super(requestAdapter, "{+baseurl}/roleManagement/deviceManagement/roleAssignments{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl); } /** - * Get a list of unifiedRoleAssignmentMultiple objects for an RBAC provider. The following RBAC providers are currently supported:- Cloud PC - device management (Intune) For other Microsoft 365 applications (like Microsoft Entra ID), use unifiedRoleAssignment. + * Get the properties and relationships of a unifiedRoleAssignmentMultiple object of an RBAC provider. The following RBAC providers are currently supported:- Cloud PC - device management (Intune) For other Microsoft 365 applications (like Microsoft Entra ID), use unifiedRoleAssignment. * @return a {@link UnifiedRoleAssignmentMultipleCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code * @deprecated * This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01 - * @see Find more info here + * @see Find more info here */ @jakarta.annotation.Nullable @Deprecated @@ -79,13 +79,13 @@ public UnifiedRoleAssignmentMultipleCollectionResponse get() { return get(null); } /** - * Get a list of unifiedRoleAssignmentMultiple objects for an RBAC provider. The following RBAC providers are currently supported:- Cloud PC - device management (Intune) For other Microsoft 365 applications (like Microsoft Entra ID), use unifiedRoleAssignment. + * Get the properties and relationships of a unifiedRoleAssignmentMultiple object of an RBAC provider. The following RBAC providers are currently supported:- Cloud PC - device management (Intune) For other Microsoft 365 applications (like Microsoft Entra ID), use unifiedRoleAssignment. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link UnifiedRoleAssignmentMultipleCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code * @deprecated * This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01 - * @see Find more info here + * @see Find more info here */ @jakarta.annotation.Nullable @Deprecated @@ -129,7 +129,7 @@ public UnifiedRoleAssignmentMultiple post(@jakarta.annotation.Nonnull final Unif return this.requestAdapter.send(requestInfo, errorMapping, UnifiedRoleAssignmentMultiple::createFromDiscriminatorValue); } /** - * Get a list of unifiedRoleAssignmentMultiple objects for an RBAC provider. The following RBAC providers are currently supported:- Cloud PC - device management (Intune) For other Microsoft 365 applications (like Microsoft Entra ID), use unifiedRoleAssignment. + * Get the properties and relationships of a unifiedRoleAssignmentMultiple object of an RBAC provider. The following RBAC providers are currently supported:- Cloud PC - device management (Intune) For other Microsoft 365 applications (like Microsoft Entra ID), use unifiedRoleAssignment. * @return a {@link RequestInformation} * @deprecated * This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01 @@ -140,7 +140,7 @@ public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } /** - * Get a list of unifiedRoleAssignmentMultiple objects for an RBAC provider. The following RBAC providers are currently supported:- Cloud PC - device management (Intune) For other Microsoft 365 applications (like Microsoft Entra ID), use unifiedRoleAssignment. + * Get the properties and relationships of a unifiedRoleAssignmentMultiple object of an RBAC provider. The following RBAC providers are currently supported:- Cloud PC - device management (Intune) For other Microsoft 365 applications (like Microsoft Entra ID), use unifiedRoleAssignment. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} * @deprecated @@ -198,7 +198,7 @@ public RoleAssignmentsRequestBuilder withUrl(@jakarta.annotation.Nonnull final S return new RoleAssignmentsRequestBuilder(rawUrl, requestAdapter); } /** - * Get a list of unifiedRoleAssignmentMultiple objects for an RBAC provider. The following RBAC providers are currently supported:- Cloud PC - device management (Intune) For other Microsoft 365 applications (like Microsoft Entra ID), use unifiedRoleAssignment. + * Get the properties and relationships of a unifiedRoleAssignmentMultiple object of an RBAC provider. The following RBAC providers are currently supported:- Cloud PC - device management (Intune) For other Microsoft 365 applications (like Microsoft Entra ID), use unifiedRoleAssignment. */ @jakarta.annotation.Generated("com.microsoft.kiota") public class GetQueryParameters implements QueryParameters { diff --git a/src/main/java/com/microsoft/graph/beta/generated/security/datasecurityandgovernance/sensitivitylabels/SensitivityLabelsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/security/datasecurityandgovernance/sensitivitylabels/SensitivityLabelsRequestBuilder.java index 9d9d60fce33..3869fa4b73d 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/security/datasecurityandgovernance/sensitivitylabels/SensitivityLabelsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/security/datasecurityandgovernance/sensitivitylabels/SensitivityLabelsRequestBuilder.java @@ -3,6 +3,8 @@ import com.microsoft.graph.beta.models.odataerrors.ODataError; import com.microsoft.graph.beta.models.SensitivityLabel; import com.microsoft.graph.beta.models.SensitivityLabelCollectionResponse; +import com.microsoft.graph.beta.security.datasecurityandgovernance.sensitivitylabels.computeinheritancewithlabelidswithlocalewithcontentformats.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder; +import com.microsoft.graph.beta.security.datasecurityandgovernance.sensitivitylabels.computerightsandinheritance.ComputeRightsAndInheritanceRequestBuilder; import com.microsoft.graph.beta.security.datasecurityandgovernance.sensitivitylabels.count.CountRequestBuilder; import com.microsoft.graph.beta.security.datasecurityandgovernance.sensitivitylabels.evaluate.EvaluateRequestBuilder; import com.microsoft.graph.beta.security.datasecurityandgovernance.sensitivitylabels.item.SensitivityLabelItemRequestBuilder; @@ -24,6 +26,14 @@ */ @jakarta.annotation.Generated("com.microsoft.kiota") public class SensitivityLabelsRequestBuilder extends BaseRequestBuilder { + /** + * Provides operations to call the computeRightsAndInheritance method. + * @return a {@link ComputeRightsAndInheritanceRequestBuilder} + */ + @jakarta.annotation.Nonnull + public ComputeRightsAndInheritanceRequestBuilder computeRightsAndInheritance() { + return new ComputeRightsAndInheritanceRequestBuilder(pathParameters, requestAdapter); + } /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} @@ -52,6 +62,20 @@ public SensitivityLabelItemRequestBuilder bySensitivityLabelId(@jakarta.annotati urlTplParams.put("sensitivityLabel%2Did", sensitivityLabelId); return new SensitivityLabelItemRequestBuilder(urlTplParams, requestAdapter); } + /** + * Provides operations to call the computeInheritance method. + * @param contentFormats Usage: contentFormats={contentFormats} + * @param labelIds Usage: labelIds={labelIds} + * @param locale Usage: locale='{locale}' + * @return a {@link ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder} + */ + @jakarta.annotation.Nonnull + public ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder computeInheritanceWithLabelIdsWithLocaleWithContentFormats(@jakarta.annotation.Nonnull final String contentFormats, @jakarta.annotation.Nonnull final String labelIds, @jakarta.annotation.Nonnull final String locale) { + Objects.requireNonNull(contentFormats); + Objects.requireNonNull(labelIds); + Objects.requireNonNull(locale); + return new ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder(pathParameters, requestAdapter, contentFormats, labelIds, locale); + } /** * Instantiates a new {@link SensitivityLabelsRequestBuilder} and sets the default values. * @param pathParameters Path parameters for the request @@ -69,19 +93,21 @@ public SensitivityLabelsRequestBuilder(@jakarta.annotation.Nonnull final String super(requestAdapter, "{+baseurl}/security/dataSecurityAndGovernance/sensitivityLabels{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl); } /** - * Get sensitivityLabels from security + * List the sensitivity labels available to a specific user. * @return a {@link SensitivityLabelCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here */ @jakarta.annotation.Nullable public SensitivityLabelCollectionResponse get() { return get(null); } /** - * Get sensitivityLabels from security + * List the sensitivity labels available to a specific user. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link SensitivityLabelCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here */ @jakarta.annotation.Nullable public SensitivityLabelCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { @@ -116,7 +142,7 @@ public SensitivityLabel post(@jakarta.annotation.Nonnull final SensitivityLabel return this.requestAdapter.send(requestInfo, errorMapping, SensitivityLabel::createFromDiscriminatorValue); } /** - * Get sensitivityLabels from security + * List the sensitivity labels available to a specific user. * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull @@ -124,7 +150,7 @@ public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } /** - * Get sensitivityLabels from security + * List the sensitivity labels available to a specific user. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} */ @@ -170,7 +196,7 @@ public SensitivityLabelsRequestBuilder withUrl(@jakarta.annotation.Nonnull final return new SensitivityLabelsRequestBuilder(rawUrl, requestAdapter); } /** - * Get sensitivityLabels from security + * List the sensitivity labels available to a specific user. */ @jakarta.annotation.Generated("com.microsoft.kiota") public class GetQueryParameters implements QueryParameters { diff --git a/src/main/java/com/microsoft/graph/beta/generated/security/datasecurityandgovernance/sensitivitylabels/computeinheritancewithlabelidswithlocalewithcontentformats/ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/security/datasecurityandgovernance/sensitivitylabels/computeinheritancewithlabelidswithlocalewithcontentformats/ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder.java new file mode 100644 index 00000000000..f43da86e42c --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/security/datasecurityandgovernance/sensitivitylabels/computeinheritancewithlabelidswithlocalewithcontentformats/ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder.java @@ -0,0 +1,104 @@ +package com.microsoft.graph.beta.security.datasecurityandgovernance.sensitivitylabels.computeinheritancewithlabelidswithlocalewithcontentformats; + +import com.microsoft.graph.beta.models.odataerrors.ODataError; +import com.microsoft.graph.beta.models.SensitivityLabel; +import com.microsoft.kiota.BaseRequestBuilder; +import com.microsoft.kiota.BaseRequestConfiguration; +import com.microsoft.kiota.HttpMethod; +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 call the computeInheritance method. + */ +@jakarta.annotation.Generated("com.microsoft.kiota") +public class ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder extends BaseRequestBuilder { + /** + * Instantiates a new {@link ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder} and sets the default values. + * @param contentFormats Usage: contentFormats={contentFormats} + * @param labelIds Usage: labelIds={labelIds} + * @param locale Usage: locale='{locale}' + * @param pathParameters Path parameters for the request + * @param requestAdapter The request adapter to use to execute the requests. + */ + public ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter, @jakarta.annotation.Nullable final String contentFormats, @jakarta.annotation.Nullable final String labelIds, @jakarta.annotation.Nullable final String locale) { + super(requestAdapter, "{+baseurl}/security/dataSecurityAndGovernance/sensitivityLabels/computeInheritance(labelIds={labelIds},locale='{locale}',contentFormats={contentFormats})", pathParameters); + this.pathParameters.put("contentFormats", contentFormats); + this.pathParameters.put("labelIds", labelIds); + this.pathParameters.put("locale", locale); + } + /** + * Instantiates a new {@link ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder} 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 ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/security/dataSecurityAndGovernance/sensitivityLabels/computeInheritance(labelIds={labelIds},locale='{locale}',contentFormats={contentFormats})", rawUrl); + } + /** + * Calculate the sensitivity label that should be inherited by an output artifact, given a set of sensitivity labels from input or referenced artifacts. + * @return a {@link SensitivityLabel} + * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here + */ + @jakarta.annotation.Nullable + public SensitivityLabel get() { + return get(null); + } + /** + * Calculate the sensitivity label that should be inherited by an output artifact, given a set of sensitivity labels from input or referenced artifacts. + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link SensitivityLabel} + * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here + */ + @jakarta.annotation.Nullable + public SensitivityLabel get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); + final HashMap> errorMapping = new HashMap>(); + errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); + return this.requestAdapter.send(requestInfo, errorMapping, SensitivityLabel::createFromDiscriminatorValue); + } + /** + * Calculate the sensitivity label that should be inherited by an output artifact, given a set of sensitivity labels from input or referenced artifacts. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toGetRequestInformation() { + return toGetRequestInformation(null); + } + /** + * Calculate the sensitivity label that should be inherited by an output artifact, given a set of sensitivity labels from input or referenced artifacts. + * @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 requestConfiguration) { + final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); + requestInfo.configure(requestConfiguration, GetRequestConfiguration::new); + 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 ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder} + */ + @jakarta.annotation.Nonnull + public ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { + Objects.requireNonNull(rawUrl); + return new ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder(rawUrl, requestAdapter); + } + /** + * Configuration for the request such as headers, query parameters, and middleware options. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class GetRequestConfiguration extends BaseRequestConfiguration { + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/security/datasecurityandgovernance/sensitivitylabels/computerightsandinheritance/ComputeRightsAndInheritancePostRequestBody.java b/src/main/java/com/microsoft/graph/beta/generated/security/datasecurityandgovernance/sensitivitylabels/computerightsandinheritance/ComputeRightsAndInheritancePostRequestBody.java new file mode 100644 index 00000000000..a64c875a635 --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/security/datasecurityandgovernance/sensitivitylabels/computerightsandinheritance/ComputeRightsAndInheritancePostRequestBody.java @@ -0,0 +1,159 @@ +package com.microsoft.graph.beta.security.datasecurityandgovernance.sensitivitylabels.computerightsandinheritance; + +import com.microsoft.graph.beta.models.ProtectedContent; +import com.microsoft.kiota.serialization.AdditionalDataHolder; +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParseNode; +import com.microsoft.kiota.serialization.SerializationWriter; +import com.microsoft.kiota.store.BackedModel; +import com.microsoft.kiota.store.BackingStore; +import com.microsoft.kiota.store.BackingStoreFactorySingleton; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +@jakarta.annotation.Generated("com.microsoft.kiota") +public class ComputeRightsAndInheritancePostRequestBody implements AdditionalDataHolder, BackedModel, Parsable { + /** + * Stores model information. + */ + @jakarta.annotation.Nonnull + protected BackingStore backingStore; + /** + * Instantiates a new {@link ComputeRightsAndInheritancePostRequestBody} and sets the default values. + */ + public ComputeRightsAndInheritancePostRequestBody() { + this.backingStore = BackingStoreFactorySingleton.instance.createBackingStore(); + this.setAdditionalData(new HashMap<>()); + } + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param parseNode The parse node to use to read the discriminator value and create the object + * @return a {@link ComputeRightsAndInheritancePostRequestBody} + */ + @jakarta.annotation.Nonnull + public static ComputeRightsAndInheritancePostRequestBody createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) { + Objects.requireNonNull(parseNode); + return new ComputeRightsAndInheritancePostRequestBody(); + } + /** + * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @return a {@link Map} + */ + @jakarta.annotation.Nonnull + public Map getAdditionalData() { + Map value = this.backingStore.get("additionalData"); + if(value == null) { + value = new HashMap<>(); + this.setAdditionalData(value); + } + return value; + } + /** + * Gets the backingStore property value. Stores model information. + * @return a {@link BackingStore} + */ + @jakarta.annotation.Nonnull + public BackingStore getBackingStore() { + return this.backingStore; + } + /** + * Gets the delegatedUserEmail property value. The delegatedUserEmail property + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String getDelegatedUserEmail() { + return this.backingStore.get("delegatedUserEmail"); + } + /** + * The deserialization information for the current model + * @return a {@link Map>} + */ + @jakarta.annotation.Nonnull + public Map> getFieldDeserializers() { + final HashMap> deserializerMap = new HashMap>(4); + deserializerMap.put("delegatedUserEmail", (n) -> { this.setDelegatedUserEmail(n.getStringValue()); }); + deserializerMap.put("locale", (n) -> { this.setLocale(n.getStringValue()); }); + deserializerMap.put("protectedContents", (n) -> { this.setProtectedContents(n.getCollectionOfObjectValues(ProtectedContent::createFromDiscriminatorValue)); }); + deserializerMap.put("supportedContentFormats", (n) -> { this.setSupportedContentFormats(n.getCollectionOfPrimitiveValues(String.class)); }); + return deserializerMap; + } + /** + * Gets the locale property value. The locale property + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String getLocale() { + return this.backingStore.get("locale"); + } + /** + * Gets the protectedContents property value. The protectedContents property + * @return a {@link java.util.List} + */ + @jakarta.annotation.Nullable + public java.util.List getProtectedContents() { + return this.backingStore.get("protectedContents"); + } + /** + * Gets the supportedContentFormats property value. The supportedContentFormats property + * @return a {@link java.util.List} + */ + @jakarta.annotation.Nullable + public java.util.List getSupportedContentFormats() { + return this.backingStore.get("supportedContentFormats"); + } + /** + * Serializes information the current object + * @param writer Serialization writer to use to serialize this model + */ + public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writer) { + Objects.requireNonNull(writer); + writer.writeStringValue("delegatedUserEmail", this.getDelegatedUserEmail()); + writer.writeStringValue("locale", this.getLocale()); + writer.writeCollectionOfObjectValues("protectedContents", this.getProtectedContents()); + writer.writeCollectionOfPrimitiveValues("supportedContentFormats", this.getSupportedContentFormats()); + writer.writeAdditionalData(this.getAdditionalData()); + } + /** + * Sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @param value Value to set for the AdditionalData property. + */ + public void setAdditionalData(@jakarta.annotation.Nullable final Map value) { + this.backingStore.set("additionalData", value); + } + /** + * Sets the backingStore property value. Stores model information. + * @param value Value to set for the backingStore property. + */ + public void setBackingStore(@jakarta.annotation.Nonnull final BackingStore value) { + Objects.requireNonNull(value); + this.backingStore = value; + } + /** + * Sets the delegatedUserEmail property value. The delegatedUserEmail property + * @param value Value to set for the delegatedUserEmail property. + */ + public void setDelegatedUserEmail(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("delegatedUserEmail", value); + } + /** + * Sets the locale property value. The locale property + * @param value Value to set for the locale property. + */ + public void setLocale(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("locale", value); + } + /** + * Sets the protectedContents property value. The protectedContents property + * @param value Value to set for the protectedContents property. + */ + public void setProtectedContents(@jakarta.annotation.Nullable final java.util.List value) { + this.backingStore.set("protectedContents", value); + } + /** + * Sets the supportedContentFormats property value. The supportedContentFormats property + * @param value Value to set for the supportedContentFormats property. + */ + public void setSupportedContentFormats(@jakarta.annotation.Nullable final java.util.List value) { + this.backingStore.set("supportedContentFormats", value); + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/security/datasecurityandgovernance/sensitivitylabels/computerightsandinheritance/ComputeRightsAndInheritanceRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/security/datasecurityandgovernance/sensitivitylabels/computerightsandinheritance/ComputeRightsAndInheritanceRequestBuilder.java new file mode 100644 index 00000000000..f2b2e3ef754 --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/security/datasecurityandgovernance/sensitivitylabels/computerightsandinheritance/ComputeRightsAndInheritanceRequestBuilder.java @@ -0,0 +1,105 @@ +package com.microsoft.graph.beta.security.datasecurityandgovernance.sensitivitylabels.computerightsandinheritance; + +import com.microsoft.graph.beta.models.ComputeRightsAndInheritanceResult; +import com.microsoft.graph.beta.models.odataerrors.ODataError; +import com.microsoft.kiota.BaseRequestBuilder; +import com.microsoft.kiota.BaseRequestConfiguration; +import com.microsoft.kiota.HttpMethod; +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 call the computeRightsAndInheritance method. + */ +@jakarta.annotation.Generated("com.microsoft.kiota") +public class ComputeRightsAndInheritanceRequestBuilder extends BaseRequestBuilder { + /** + * Instantiates a new {@link ComputeRightsAndInheritanceRequestBuilder} and sets the default values. + * @param pathParameters Path parameters for the request + * @param requestAdapter The request adapter to use to execute the requests. + */ + public ComputeRightsAndInheritanceRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/security/dataSecurityAndGovernance/sensitivityLabels/computeRightsAndInheritance", pathParameters); + } + /** + * Instantiates a new {@link ComputeRightsAndInheritanceRequestBuilder} 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 ComputeRightsAndInheritanceRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/security/dataSecurityAndGovernance/sensitivityLabels/computeRightsAndInheritance", rawUrl); + } + /** + * Computes the rights and inheritance for sensitivity labels based on the input content and labels. + * @param body The request body + * @return a {@link ComputeRightsAndInheritanceResult} + * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here + */ + @jakarta.annotation.Nullable + public ComputeRightsAndInheritanceResult post(@jakarta.annotation.Nonnull final ComputeRightsAndInheritancePostRequestBody body) { + return post(body, null); + } + /** + * Computes the rights and inheritance for sensitivity labels based on the input content and labels. + * @param body The request body + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link ComputeRightsAndInheritanceResult} + * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here + */ + @jakarta.annotation.Nullable + public ComputeRightsAndInheritanceResult post(@jakarta.annotation.Nonnull final ComputeRightsAndInheritancePostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + Objects.requireNonNull(body); + final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); + final HashMap> errorMapping = new HashMap>(); + errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); + return this.requestAdapter.send(requestInfo, errorMapping, ComputeRightsAndInheritanceResult::createFromDiscriminatorValue); + } + /** + * Computes the rights and inheritance for sensitivity labels based on the input content and labels. + * @param body The request body + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final ComputeRightsAndInheritancePostRequestBody body) { + return toPostRequestInformation(body, null); + } + /** + * Computes the rights and inheritance for sensitivity labels based on the input content and labels. + * @param body The request body + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final ComputeRightsAndInheritancePostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + Objects.requireNonNull(body); + final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); + requestInfo.configure(requestConfiguration, PostRequestConfiguration::new); + requestInfo.headers.tryAdd("Accept", "application/json"); + requestInfo.setContentFromParsable(requestAdapter, "application/json", body); + 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 ComputeRightsAndInheritanceRequestBuilder} + */ + @jakarta.annotation.Nonnull + public ComputeRightsAndInheritanceRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { + Objects.requireNonNull(rawUrl); + return new ComputeRightsAndInheritanceRequestBuilder(rawUrl, requestAdapter); + } + /** + * Configuration for the request such as headers, query parameters, and middleware options. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class PostRequestConfiguration extends BaseRequestConfiguration { + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/security/datasecurityandgovernance/sensitivitylabels/item/SensitivityLabelItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/security/datasecurityandgovernance/sensitivitylabels/item/SensitivityLabelItemRequestBuilder.java index fec577fdcf6..3777e43120e 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/security/datasecurityandgovernance/sensitivitylabels/item/SensitivityLabelItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/security/datasecurityandgovernance/sensitivitylabels/item/SensitivityLabelItemRequestBuilder.java @@ -2,6 +2,7 @@ import com.microsoft.graph.beta.models.odataerrors.ODataError; import com.microsoft.graph.beta.models.SensitivityLabel; +import com.microsoft.graph.beta.security.datasecurityandgovernance.sensitivitylabels.item.rights.RightsRequestBuilder; import com.microsoft.graph.beta.security.datasecurityandgovernance.sensitivitylabels.item.sublabels.SublabelsRequestBuilder; import com.microsoft.kiota.BaseRequestBuilder; import com.microsoft.kiota.BaseRequestConfiguration; @@ -21,6 +22,14 @@ */ @jakarta.annotation.Generated("com.microsoft.kiota") public class SensitivityLabelItemRequestBuilder extends BaseRequestBuilder { + /** + * Provides operations to manage the rights property of the microsoft.graph.sensitivityLabel entity. + * @return a {@link RightsRequestBuilder} + */ + @jakarta.annotation.Nonnull + public RightsRequestBuilder rights() { + return new RightsRequestBuilder(pathParameters, requestAdapter); + } /** * Provides operations to manage the sublabels property of the microsoft.graph.sensitivityLabel entity. * @return a {@link SublabelsRequestBuilder} @@ -64,19 +73,21 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume this.requestAdapter.sendPrimitive(requestInfo, errorMapping, Void.class); } /** - * Get sensitivityLabels from security + * Get a sensitivity label available for the entire tenant. * @return a {@link SensitivityLabel} * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here */ @jakarta.annotation.Nullable public SensitivityLabel get() { return get(null); } /** - * Get sensitivityLabels from security + * Get a sensitivity label available for the entire tenant. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link SensitivityLabel} * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here */ @jakarta.annotation.Nullable public SensitivityLabel get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { @@ -130,7 +141,7 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl return requestInfo; } /** - * Get sensitivityLabels from security + * Get a sensitivity label available for the entire tenant. * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull @@ -138,7 +149,7 @@ public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } /** - * Get sensitivityLabels from security + * Get a sensitivity label available for the entire tenant. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} */ @@ -190,7 +201,7 @@ public SensitivityLabelItemRequestBuilder withUrl(@jakarta.annotation.Nonnull fi public class DeleteRequestConfiguration extends BaseRequestConfiguration { } /** - * Get sensitivityLabels from security + * Get a sensitivity label available for the entire tenant. */ @jakarta.annotation.Generated("com.microsoft.kiota") public class GetQueryParameters implements QueryParameters { diff --git a/src/main/java/com/microsoft/graph/beta/generated/security/datasecurityandgovernance/sensitivitylabels/item/rights/RightsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/security/datasecurityandgovernance/sensitivitylabels/item/rights/RightsRequestBuilder.java new file mode 100644 index 00000000000..732b9ae76c0 --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/security/datasecurityandgovernance/sensitivitylabels/item/rights/RightsRequestBuilder.java @@ -0,0 +1,131 @@ +package com.microsoft.graph.beta.security.datasecurityandgovernance.sensitivitylabels.item.rights; + +import com.microsoft.graph.beta.models.odataerrors.ODataError; +import com.microsoft.graph.beta.models.UsageRightsIncluded; +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 rights property of the microsoft.graph.sensitivityLabel entity. + */ +@jakarta.annotation.Generated("com.microsoft.kiota") +public class RightsRequestBuilder extends BaseRequestBuilder { + /** + * Instantiates a new {@link RightsRequestBuilder} and sets the default values. + * @param pathParameters Path parameters for the request + * @param requestAdapter The request adapter to use to execute the requests. + */ + public RightsRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/security/dataSecurityAndGovernance/sensitivityLabels/{sensitivityLabel%2Did}/rights{?%24expand,%24select}", pathParameters); + } + /** + * Instantiates a new {@link RightsRequestBuilder} 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 RightsRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/security/dataSecurityAndGovernance/sensitivityLabels/{sensitivityLabel%2Did}/rights{?%24expand,%24select}", rawUrl); + } + /** + * Get the usage rights granted to the calling user for a specific sensitivity label that has admin-defined permissions. + * @return a {@link UsageRightsIncluded} + * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here + */ + @jakarta.annotation.Nullable + public UsageRightsIncluded get() { + return get(null); + } + /** + * Get the usage rights granted to the calling user for a specific sensitivity label that has admin-defined permissions. + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link UsageRightsIncluded} + * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here + */ + @jakarta.annotation.Nullable + public UsageRightsIncluded get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); + final HashMap> errorMapping = new HashMap>(); + errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); + return this.requestAdapter.send(requestInfo, errorMapping, UsageRightsIncluded::createFromDiscriminatorValue); + } + /** + * Get the usage rights granted to the calling user for a specific sensitivity label that has admin-defined permissions. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toGetRequestInformation() { + return toGetRequestInformation(null); + } + /** + * Get the usage rights granted to the calling user for a specific sensitivity label that has admin-defined permissions. + * @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 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 RightsRequestBuilder} + */ + @jakarta.annotation.Nonnull + public RightsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { + Objects.requireNonNull(rawUrl); + return new RightsRequestBuilder(rawUrl, requestAdapter); + } + /** + * Get the usage rights granted to the calling user for a specific sensitivity label that has admin-defined permissions. + */ + @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} + */ + @jakarta.annotation.Nonnull + public Map toQueryParameters() { + final Map 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(); + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/security/datasecurityandgovernance/sensitivitylabels/item/sublabels/SublabelsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/security/datasecurityandgovernance/sensitivitylabels/item/sublabels/SublabelsRequestBuilder.java index 89cca8c6e0f..cc269f509ea 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/security/datasecurityandgovernance/sensitivitylabels/item/sublabels/SublabelsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/security/datasecurityandgovernance/sensitivitylabels/item/sublabels/SublabelsRequestBuilder.java @@ -3,6 +3,8 @@ import com.microsoft.graph.beta.models.odataerrors.ODataError; import com.microsoft.graph.beta.models.SensitivityLabel; import com.microsoft.graph.beta.models.SensitivityLabelCollectionResponse; +import com.microsoft.graph.beta.security.datasecurityandgovernance.sensitivitylabels.item.sublabels.computeinheritancewithlabelidswithlocalewithcontentformats.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder; +import com.microsoft.graph.beta.security.datasecurityandgovernance.sensitivitylabels.item.sublabels.computerightsandinheritance.ComputeRightsAndInheritanceRequestBuilder; import com.microsoft.graph.beta.security.datasecurityandgovernance.sensitivitylabels.item.sublabels.count.CountRequestBuilder; import com.microsoft.graph.beta.security.datasecurityandgovernance.sensitivitylabels.item.sublabels.evaluate.EvaluateRequestBuilder; import com.microsoft.graph.beta.security.datasecurityandgovernance.sensitivitylabels.item.sublabels.item.SensitivityLabelItemRequestBuilder; @@ -24,6 +26,14 @@ */ @jakarta.annotation.Generated("com.microsoft.kiota") public class SublabelsRequestBuilder extends BaseRequestBuilder { + /** + * Provides operations to call the computeRightsAndInheritance method. + * @return a {@link ComputeRightsAndInheritanceRequestBuilder} + */ + @jakarta.annotation.Nonnull + public ComputeRightsAndInheritanceRequestBuilder computeRightsAndInheritance() { + return new ComputeRightsAndInheritanceRequestBuilder(pathParameters, requestAdapter); + } /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} @@ -52,6 +62,20 @@ public SensitivityLabelItemRequestBuilder bySensitivityLabelId1(@jakarta.annotat urlTplParams.put("sensitivityLabel%2Did1", sensitivityLabelId1); return new SensitivityLabelItemRequestBuilder(urlTplParams, requestAdapter); } + /** + * Provides operations to call the computeInheritance method. + * @param contentFormats Usage: contentFormats={contentFormats} + * @param labelIds Usage: labelIds={labelIds} + * @param locale Usage: locale='{locale}' + * @return a {@link ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder} + */ + @jakarta.annotation.Nonnull + public ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder computeInheritanceWithLabelIdsWithLocaleWithContentFormats(@jakarta.annotation.Nonnull final String contentFormats, @jakarta.annotation.Nonnull final String labelIds, @jakarta.annotation.Nonnull final String locale) { + Objects.requireNonNull(contentFormats); + Objects.requireNonNull(labelIds); + Objects.requireNonNull(locale); + return new ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder(pathParameters, requestAdapter, contentFormats, labelIds, locale); + } /** * Instantiates a new {@link SublabelsRequestBuilder} and sets the default values. * @param pathParameters Path parameters for the request diff --git a/src/main/java/com/microsoft/graph/beta/generated/security/datasecurityandgovernance/sensitivitylabels/item/sublabels/computeinheritancewithlabelidswithlocalewithcontentformats/ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/security/datasecurityandgovernance/sensitivitylabels/item/sublabels/computeinheritancewithlabelidswithlocalewithcontentformats/ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder.java new file mode 100644 index 00000000000..7ea7486a2fc --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/security/datasecurityandgovernance/sensitivitylabels/item/sublabels/computeinheritancewithlabelidswithlocalewithcontentformats/ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder.java @@ -0,0 +1,104 @@ +package com.microsoft.graph.beta.security.datasecurityandgovernance.sensitivitylabels.item.sublabels.computeinheritancewithlabelidswithlocalewithcontentformats; + +import com.microsoft.graph.beta.models.odataerrors.ODataError; +import com.microsoft.graph.beta.models.SensitivityLabel; +import com.microsoft.kiota.BaseRequestBuilder; +import com.microsoft.kiota.BaseRequestConfiguration; +import com.microsoft.kiota.HttpMethod; +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 call the computeInheritance method. + */ +@jakarta.annotation.Generated("com.microsoft.kiota") +public class ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder extends BaseRequestBuilder { + /** + * Instantiates a new {@link ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder} and sets the default values. + * @param contentFormats Usage: contentFormats={contentFormats} + * @param labelIds Usage: labelIds={labelIds} + * @param locale Usage: locale='{locale}' + * @param pathParameters Path parameters for the request + * @param requestAdapter The request adapter to use to execute the requests. + */ + public ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter, @jakarta.annotation.Nullable final String contentFormats, @jakarta.annotation.Nullable final String labelIds, @jakarta.annotation.Nullable final String locale) { + super(requestAdapter, "{+baseurl}/security/dataSecurityAndGovernance/sensitivityLabels/{sensitivityLabel%2Did}/sublabels/computeInheritance(labelIds={labelIds},locale='{locale}',contentFormats={contentFormats})", pathParameters); + this.pathParameters.put("contentFormats", contentFormats); + this.pathParameters.put("labelIds", labelIds); + this.pathParameters.put("locale", locale); + } + /** + * Instantiates a new {@link ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder} 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 ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/security/dataSecurityAndGovernance/sensitivityLabels/{sensitivityLabel%2Did}/sublabels/computeInheritance(labelIds={labelIds},locale='{locale}',contentFormats={contentFormats})", rawUrl); + } + /** + * Calculate the sensitivity label that should be inherited by an output artifact, given a set of sensitivity labels from input or referenced artifacts. + * @return a {@link SensitivityLabel} + * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here + */ + @jakarta.annotation.Nullable + public SensitivityLabel get() { + return get(null); + } + /** + * Calculate the sensitivity label that should be inherited by an output artifact, given a set of sensitivity labels from input or referenced artifacts. + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link SensitivityLabel} + * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here + */ + @jakarta.annotation.Nullable + public SensitivityLabel get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); + final HashMap> errorMapping = new HashMap>(); + errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); + return this.requestAdapter.send(requestInfo, errorMapping, SensitivityLabel::createFromDiscriminatorValue); + } + /** + * Calculate the sensitivity label that should be inherited by an output artifact, given a set of sensitivity labels from input or referenced artifacts. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toGetRequestInformation() { + return toGetRequestInformation(null); + } + /** + * Calculate the sensitivity label that should be inherited by an output artifact, given a set of sensitivity labels from input or referenced artifacts. + * @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 requestConfiguration) { + final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); + requestInfo.configure(requestConfiguration, GetRequestConfiguration::new); + 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 ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder} + */ + @jakarta.annotation.Nonnull + public ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { + Objects.requireNonNull(rawUrl); + return new ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder(rawUrl, requestAdapter); + } + /** + * Configuration for the request such as headers, query parameters, and middleware options. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class GetRequestConfiguration extends BaseRequestConfiguration { + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/security/datasecurityandgovernance/sensitivitylabels/item/sublabels/computerightsandinheritance/ComputeRightsAndInheritancePostRequestBody.java b/src/main/java/com/microsoft/graph/beta/generated/security/datasecurityandgovernance/sensitivitylabels/item/sublabels/computerightsandinheritance/ComputeRightsAndInheritancePostRequestBody.java new file mode 100644 index 00000000000..ba20e39021f --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/security/datasecurityandgovernance/sensitivitylabels/item/sublabels/computerightsandinheritance/ComputeRightsAndInheritancePostRequestBody.java @@ -0,0 +1,159 @@ +package com.microsoft.graph.beta.security.datasecurityandgovernance.sensitivitylabels.item.sublabels.computerightsandinheritance; + +import com.microsoft.graph.beta.models.ProtectedContent; +import com.microsoft.kiota.serialization.AdditionalDataHolder; +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParseNode; +import com.microsoft.kiota.serialization.SerializationWriter; +import com.microsoft.kiota.store.BackedModel; +import com.microsoft.kiota.store.BackingStore; +import com.microsoft.kiota.store.BackingStoreFactorySingleton; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +@jakarta.annotation.Generated("com.microsoft.kiota") +public class ComputeRightsAndInheritancePostRequestBody implements AdditionalDataHolder, BackedModel, Parsable { + /** + * Stores model information. + */ + @jakarta.annotation.Nonnull + protected BackingStore backingStore; + /** + * Instantiates a new {@link ComputeRightsAndInheritancePostRequestBody} and sets the default values. + */ + public ComputeRightsAndInheritancePostRequestBody() { + this.backingStore = BackingStoreFactorySingleton.instance.createBackingStore(); + this.setAdditionalData(new HashMap<>()); + } + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param parseNode The parse node to use to read the discriminator value and create the object + * @return a {@link ComputeRightsAndInheritancePostRequestBody} + */ + @jakarta.annotation.Nonnull + public static ComputeRightsAndInheritancePostRequestBody createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) { + Objects.requireNonNull(parseNode); + return new ComputeRightsAndInheritancePostRequestBody(); + } + /** + * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @return a {@link Map} + */ + @jakarta.annotation.Nonnull + public Map getAdditionalData() { + Map value = this.backingStore.get("additionalData"); + if(value == null) { + value = new HashMap<>(); + this.setAdditionalData(value); + } + return value; + } + /** + * Gets the backingStore property value. Stores model information. + * @return a {@link BackingStore} + */ + @jakarta.annotation.Nonnull + public BackingStore getBackingStore() { + return this.backingStore; + } + /** + * Gets the delegatedUserEmail property value. The delegatedUserEmail property + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String getDelegatedUserEmail() { + return this.backingStore.get("delegatedUserEmail"); + } + /** + * The deserialization information for the current model + * @return a {@link Map>} + */ + @jakarta.annotation.Nonnull + public Map> getFieldDeserializers() { + final HashMap> deserializerMap = new HashMap>(4); + deserializerMap.put("delegatedUserEmail", (n) -> { this.setDelegatedUserEmail(n.getStringValue()); }); + deserializerMap.put("locale", (n) -> { this.setLocale(n.getStringValue()); }); + deserializerMap.put("protectedContents", (n) -> { this.setProtectedContents(n.getCollectionOfObjectValues(ProtectedContent::createFromDiscriminatorValue)); }); + deserializerMap.put("supportedContentFormats", (n) -> { this.setSupportedContentFormats(n.getCollectionOfPrimitiveValues(String.class)); }); + return deserializerMap; + } + /** + * Gets the locale property value. The locale property + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String getLocale() { + return this.backingStore.get("locale"); + } + /** + * Gets the protectedContents property value. The protectedContents property + * @return a {@link java.util.List} + */ + @jakarta.annotation.Nullable + public java.util.List getProtectedContents() { + return this.backingStore.get("protectedContents"); + } + /** + * Gets the supportedContentFormats property value. The supportedContentFormats property + * @return a {@link java.util.List} + */ + @jakarta.annotation.Nullable + public java.util.List getSupportedContentFormats() { + return this.backingStore.get("supportedContentFormats"); + } + /** + * Serializes information the current object + * @param writer Serialization writer to use to serialize this model + */ + public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writer) { + Objects.requireNonNull(writer); + writer.writeStringValue("delegatedUserEmail", this.getDelegatedUserEmail()); + writer.writeStringValue("locale", this.getLocale()); + writer.writeCollectionOfObjectValues("protectedContents", this.getProtectedContents()); + writer.writeCollectionOfPrimitiveValues("supportedContentFormats", this.getSupportedContentFormats()); + writer.writeAdditionalData(this.getAdditionalData()); + } + /** + * Sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @param value Value to set for the AdditionalData property. + */ + public void setAdditionalData(@jakarta.annotation.Nullable final Map value) { + this.backingStore.set("additionalData", value); + } + /** + * Sets the backingStore property value. Stores model information. + * @param value Value to set for the backingStore property. + */ + public void setBackingStore(@jakarta.annotation.Nonnull final BackingStore value) { + Objects.requireNonNull(value); + this.backingStore = value; + } + /** + * Sets the delegatedUserEmail property value. The delegatedUserEmail property + * @param value Value to set for the delegatedUserEmail property. + */ + public void setDelegatedUserEmail(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("delegatedUserEmail", value); + } + /** + * Sets the locale property value. The locale property + * @param value Value to set for the locale property. + */ + public void setLocale(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("locale", value); + } + /** + * Sets the protectedContents property value. The protectedContents property + * @param value Value to set for the protectedContents property. + */ + public void setProtectedContents(@jakarta.annotation.Nullable final java.util.List value) { + this.backingStore.set("protectedContents", value); + } + /** + * Sets the supportedContentFormats property value. The supportedContentFormats property + * @param value Value to set for the supportedContentFormats property. + */ + public void setSupportedContentFormats(@jakarta.annotation.Nullable final java.util.List value) { + this.backingStore.set("supportedContentFormats", value); + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/security/datasecurityandgovernance/sensitivitylabels/item/sublabels/computerightsandinheritance/ComputeRightsAndInheritanceRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/security/datasecurityandgovernance/sensitivitylabels/item/sublabels/computerightsandinheritance/ComputeRightsAndInheritanceRequestBuilder.java new file mode 100644 index 00000000000..d0c3deefa0e --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/security/datasecurityandgovernance/sensitivitylabels/item/sublabels/computerightsandinheritance/ComputeRightsAndInheritanceRequestBuilder.java @@ -0,0 +1,105 @@ +package com.microsoft.graph.beta.security.datasecurityandgovernance.sensitivitylabels.item.sublabels.computerightsandinheritance; + +import com.microsoft.graph.beta.models.ComputeRightsAndInheritanceResult; +import com.microsoft.graph.beta.models.odataerrors.ODataError; +import com.microsoft.kiota.BaseRequestBuilder; +import com.microsoft.kiota.BaseRequestConfiguration; +import com.microsoft.kiota.HttpMethod; +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 call the computeRightsAndInheritance method. + */ +@jakarta.annotation.Generated("com.microsoft.kiota") +public class ComputeRightsAndInheritanceRequestBuilder extends BaseRequestBuilder { + /** + * Instantiates a new {@link ComputeRightsAndInheritanceRequestBuilder} and sets the default values. + * @param pathParameters Path parameters for the request + * @param requestAdapter The request adapter to use to execute the requests. + */ + public ComputeRightsAndInheritanceRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/security/dataSecurityAndGovernance/sensitivityLabels/{sensitivityLabel%2Did}/sublabels/computeRightsAndInheritance", pathParameters); + } + /** + * Instantiates a new {@link ComputeRightsAndInheritanceRequestBuilder} 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 ComputeRightsAndInheritanceRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/security/dataSecurityAndGovernance/sensitivityLabels/{sensitivityLabel%2Did}/sublabels/computeRightsAndInheritance", rawUrl); + } + /** + * Computes the rights and inheritance for sensitivity labels based on the input content and labels. + * @param body The request body + * @return a {@link ComputeRightsAndInheritanceResult} + * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here + */ + @jakarta.annotation.Nullable + public ComputeRightsAndInheritanceResult post(@jakarta.annotation.Nonnull final ComputeRightsAndInheritancePostRequestBody body) { + return post(body, null); + } + /** + * Computes the rights and inheritance for sensitivity labels based on the input content and labels. + * @param body The request body + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link ComputeRightsAndInheritanceResult} + * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here + */ + @jakarta.annotation.Nullable + public ComputeRightsAndInheritanceResult post(@jakarta.annotation.Nonnull final ComputeRightsAndInheritancePostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + Objects.requireNonNull(body); + final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); + final HashMap> errorMapping = new HashMap>(); + errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); + return this.requestAdapter.send(requestInfo, errorMapping, ComputeRightsAndInheritanceResult::createFromDiscriminatorValue); + } + /** + * Computes the rights and inheritance for sensitivity labels based on the input content and labels. + * @param body The request body + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final ComputeRightsAndInheritancePostRequestBody body) { + return toPostRequestInformation(body, null); + } + /** + * Computes the rights and inheritance for sensitivity labels based on the input content and labels. + * @param body The request body + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final ComputeRightsAndInheritancePostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + Objects.requireNonNull(body); + final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); + requestInfo.configure(requestConfiguration, PostRequestConfiguration::new); + requestInfo.headers.tryAdd("Accept", "application/json"); + requestInfo.setContentFromParsable(requestAdapter, "application/json", body); + 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 ComputeRightsAndInheritanceRequestBuilder} + */ + @jakarta.annotation.Nonnull + public ComputeRightsAndInheritanceRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { + Objects.requireNonNull(rawUrl); + return new ComputeRightsAndInheritanceRequestBuilder(rawUrl, requestAdapter); + } + /** + * Configuration for the request such as headers, query parameters, and middleware options. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class PostRequestConfiguration extends BaseRequestConfiguration { + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/security/datasecurityandgovernance/sensitivitylabels/item/sublabels/item/SensitivityLabelItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/security/datasecurityandgovernance/sensitivitylabels/item/sublabels/item/SensitivityLabelItemRequestBuilder.java index 61f0bb488b8..fc37a142daa 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/security/datasecurityandgovernance/sensitivitylabels/item/sublabels/item/SensitivityLabelItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/security/datasecurityandgovernance/sensitivitylabels/item/sublabels/item/SensitivityLabelItemRequestBuilder.java @@ -2,6 +2,7 @@ import com.microsoft.graph.beta.models.odataerrors.ODataError; import com.microsoft.graph.beta.models.SensitivityLabel; +import com.microsoft.graph.beta.security.datasecurityandgovernance.sensitivitylabels.item.sublabels.item.rights.RightsRequestBuilder; import com.microsoft.kiota.BaseRequestBuilder; import com.microsoft.kiota.BaseRequestConfiguration; import com.microsoft.kiota.HttpMethod; @@ -20,6 +21,14 @@ */ @jakarta.annotation.Generated("com.microsoft.kiota") public class SensitivityLabelItemRequestBuilder extends BaseRequestBuilder { + /** + * Provides operations to manage the rights property of the microsoft.graph.sensitivityLabel entity. + * @return a {@link RightsRequestBuilder} + */ + @jakarta.annotation.Nonnull + public RightsRequestBuilder rights() { + return new RightsRequestBuilder(pathParameters, requestAdapter); + } /** * Instantiates a new {@link SensitivityLabelItemRequestBuilder} and sets the default values. * @param pathParameters Path parameters for the request diff --git a/src/main/java/com/microsoft/graph/beta/generated/security/datasecurityandgovernance/sensitivitylabels/item/sublabels/item/rights/RightsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/security/datasecurityandgovernance/sensitivitylabels/item/sublabels/item/rights/RightsRequestBuilder.java new file mode 100644 index 00000000000..07e01b52129 --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/security/datasecurityandgovernance/sensitivitylabels/item/sublabels/item/rights/RightsRequestBuilder.java @@ -0,0 +1,129 @@ +package com.microsoft.graph.beta.security.datasecurityandgovernance.sensitivitylabels.item.sublabels.item.rights; + +import com.microsoft.graph.beta.models.odataerrors.ODataError; +import com.microsoft.graph.beta.models.UsageRightsIncluded; +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 rights property of the microsoft.graph.sensitivityLabel entity. + */ +@jakarta.annotation.Generated("com.microsoft.kiota") +public class RightsRequestBuilder extends BaseRequestBuilder { + /** + * Instantiates a new {@link RightsRequestBuilder} and sets the default values. + * @param pathParameters Path parameters for the request + * @param requestAdapter The request adapter to use to execute the requests. + */ + public RightsRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/security/dataSecurityAndGovernance/sensitivityLabels/{sensitivityLabel%2Did}/sublabels/{sensitivityLabel%2Did1}/rights{?%24expand,%24select}", pathParameters); + } + /** + * Instantiates a new {@link RightsRequestBuilder} 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 RightsRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/security/dataSecurityAndGovernance/sensitivityLabels/{sensitivityLabel%2Did}/sublabels/{sensitivityLabel%2Did1}/rights{?%24expand,%24select}", rawUrl); + } + /** + * Get rights from security + * @return a {@link UsageRightsIncluded} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public UsageRightsIncluded get() { + return get(null); + } + /** + * Get rights from security + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link UsageRightsIncluded} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public UsageRightsIncluded get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); + final HashMap> errorMapping = new HashMap>(); + errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); + return this.requestAdapter.send(requestInfo, errorMapping, UsageRightsIncluded::createFromDiscriminatorValue); + } + /** + * Get rights from security + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toGetRequestInformation() { + return toGetRequestInformation(null); + } + /** + * Get rights from security + * @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 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 RightsRequestBuilder} + */ + @jakarta.annotation.Nonnull + public RightsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { + Objects.requireNonNull(rawUrl); + return new RightsRequestBuilder(rawUrl, requestAdapter); + } + /** + * Get rights from security + */ + @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} + */ + @jakarta.annotation.Nonnull + public Map toQueryParameters() { + final Map 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(); + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/security/informationprotection/sensitivitylabels/item/parent/ParentRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/security/informationprotection/sensitivitylabels/item/parent/ParentRequestBuilder.java index f6738ebeb39..878004fd836 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/security/informationprotection/sensitivitylabels/item/parent/ParentRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/security/informationprotection/sensitivitylabels/item/parent/ParentRequestBuilder.java @@ -55,7 +55,7 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume this.requestAdapter.sendPrimitive(requestInfo, errorMapping, Void.class); } /** - * The parent label associated with a child label. Null if the label has no parent. + * Get parent from security * @return a {@link SensitivityLabel} * @throws ODataError When receiving a 4XX or 5XX status code */ @@ -64,7 +64,7 @@ public SensitivityLabel get() { return get(null); } /** - * The parent label associated with a child label. Null if the label has no parent. + * Get parent from security * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link SensitivityLabel} * @throws ODataError When receiving a 4XX or 5XX status code @@ -121,7 +121,7 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl return requestInfo; } /** - * The parent label associated with a child label. Null if the label has no parent. + * Get parent from security * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull @@ -129,7 +129,7 @@ public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } /** - * The parent label associated with a child label. Null if the label has no parent. + * Get parent from security * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} */ @@ -181,7 +181,7 @@ public ParentRequestBuilder withUrl(@jakarta.annotation.Nonnull final String raw public class DeleteRequestConfiguration extends BaseRequestConfiguration { } /** - * The parent label associated with a child label. Null if the label has no parent. + * Get parent from security */ @jakarta.annotation.Generated("com.microsoft.kiota") public class GetQueryParameters implements QueryParameters { diff --git a/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/claimspolicy/ClaimsPolicyRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/claimspolicy/ClaimsPolicyRequestBuilder.java index b2a7a15b4ff..e2ee66520c3 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/claimspolicy/ClaimsPolicyRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/claimspolicy/ClaimsPolicyRequestBuilder.java @@ -61,23 +61,23 @@ public CustomClaimsPolicy get(@jakarta.annotation.Nullable final java.util.funct return this.requestAdapter.send(requestInfo, errorMapping, CustomClaimsPolicy::createFromDiscriminatorValue); } /** - * Create a new customClaimsPolicy object if it doesn't exist, or replace an existing one. + * Update a customClaimsPolicy object. * @param body The request body * @return a {@link CustomClaimsPolicy} * @throws ODataError When receiving a 4XX or 5XX status code - * @see Find more info here + * @see Find more info here */ @jakarta.annotation.Nullable public CustomClaimsPolicy patch(@jakarta.annotation.Nonnull final CustomClaimsPolicy body) { return patch(body, null); } /** - * Create a new customClaimsPolicy object if it doesn't exist, or replace an existing one. + * Update a customClaimsPolicy object. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link CustomClaimsPolicy} * @throws ODataError When receiving a 4XX or 5XX status code - * @see Find more info here + * @see Find more info here */ @jakarta.annotation.Nullable public CustomClaimsPolicy patch(@jakarta.annotation.Nonnull final CustomClaimsPolicy body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { @@ -88,23 +88,23 @@ public CustomClaimsPolicy patch(@jakarta.annotation.Nonnull final CustomClaimsPo return this.requestAdapter.send(requestInfo, errorMapping, CustomClaimsPolicy::createFromDiscriminatorValue); } /** - * Create a new customClaimsPolicy object if it doesn't exist, or replace an existing one. + * Update a customClaimsPolicy object. * @param body The request body * @return a {@link CustomClaimsPolicy} * @throws ODataError When receiving a 4XX or 5XX status code - * @see Find more info here + * @see Find more info here */ @jakarta.annotation.Nullable public CustomClaimsPolicy put(@jakarta.annotation.Nonnull final CustomClaimsPolicy body) { return put(body, null); } /** - * Create a new customClaimsPolicy object if it doesn't exist, or replace an existing one. + * Update a customClaimsPolicy object. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link CustomClaimsPolicy} * @throws ODataError When receiving a 4XX or 5XX status code - * @see Find more info here + * @see Find more info here */ @jakarta.annotation.Nullable public CustomClaimsPolicy put(@jakarta.annotation.Nonnull final CustomClaimsPolicy body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { @@ -135,7 +135,7 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f return requestInfo; } /** - * Create a new customClaimsPolicy object if it doesn't exist, or replace an existing one. + * Update a customClaimsPolicy object. * @param body The request body * @return a {@link RequestInformation} */ @@ -144,7 +144,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull return toPatchRequestInformation(body, null); } /** - * Create a new customClaimsPolicy object if it doesn't exist, or replace an existing one. + * Update a customClaimsPolicy object. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} @@ -159,7 +159,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull return requestInfo; } /** - * Create a new customClaimsPolicy object if it doesn't exist, or replace an existing one. + * Update a customClaimsPolicy object. * @param body The request body * @return a {@link RequestInformation} */ @@ -168,7 +168,7 @@ public RequestInformation toPutRequestInformation(@jakarta.annotation.Nonnull fi return toPutRequestInformation(body, null); } /** - * Create a new customClaimsPolicy object if it doesn't exist, or replace an existing one. + * Update a customClaimsPolicy object. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} diff --git a/src/main/java/com/microsoft/graph/beta/generated/sites/SitesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/sites/SitesRequestBuilder.java index bf4611d04df..710a0d98f82 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/sites/SitesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/sites/SitesRequestBuilder.java @@ -95,21 +95,21 @@ public SitesRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak super(requestAdapter, "{+baseurl}/sites{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl); } /** - * List all available sites in an organization. Specific filter criteria and query options are also supported and described below: In addition, you can use a $search query against the /sites collection to find sites matching given keywords.If you want to list all sites across all geographies, refer to getAllSites. For more guidance about building applications that use site discovery for scanning purposes, see Best practices for discovering files and detecting changes at scale. + * Search across a SharePoint tenant for sites that match keywords provided. The only property that works for sorting is createdDateTime. The search filter is a free text search that uses multiple properties when retrieving the search results. * @return a {@link SiteCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code - * @see Find more info here + * @see Find more info here */ @jakarta.annotation.Nullable public SiteCollectionResponse get() { return get(null); } /** - * List all available sites in an organization. Specific filter criteria and query options are also supported and described below: In addition, you can use a $search query against the /sites collection to find sites matching given keywords.If you want to list all sites across all geographies, refer to getAllSites. For more guidance about building applications that use site discovery for scanning purposes, see Best practices for discovering files and detecting changes at scale. + * Search across a SharePoint tenant for sites that match keywords provided. The only property that works for sorting is createdDateTime. The search filter is a free text search that uses multiple properties when retrieving the search results. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link SiteCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code - * @see Find more info here + * @see Find more info here */ @jakarta.annotation.Nullable public SiteCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { @@ -119,7 +119,7 @@ public SiteCollectionResponse get(@jakarta.annotation.Nullable final java.util.f return this.requestAdapter.send(requestInfo, errorMapping, SiteCollectionResponse::createFromDiscriminatorValue); } /** - * List all available sites in an organization. Specific filter criteria and query options are also supported and described below: In addition, you can use a $search query against the /sites collection to find sites matching given keywords.If you want to list all sites across all geographies, refer to getAllSites. For more guidance about building applications that use site discovery for scanning purposes, see Best practices for discovering files and detecting changes at scale. + * Search across a SharePoint tenant for sites that match keywords provided. The only property that works for sorting is createdDateTime. The search filter is a free text search that uses multiple properties when retrieving the search results. * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull @@ -127,7 +127,7 @@ public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } /** - * List all available sites in an organization. Specific filter criteria and query options are also supported and described below: In addition, you can use a $search query against the /sites collection to find sites matching given keywords.If you want to list all sites across all geographies, refer to getAllSites. For more guidance about building applications that use site discovery for scanning purposes, see Best practices for discovering files and detecting changes at scale. + * Search across a SharePoint tenant for sites that match keywords provided. The only property that works for sorting is createdDateTime. The search filter is a free text search that uses multiple properties when retrieving the search results. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} */ @@ -149,7 +149,7 @@ public SitesRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawU return new SitesRequestBuilder(rawUrl, requestAdapter); } /** - * List all available sites in an organization. Specific filter criteria and query options are also supported and described below: In addition, you can use a $search query against the /sites collection to find sites matching given keywords.If you want to list all sites across all geographies, refer to getAllSites. For more guidance about building applications that use site discovery for scanning purposes, see Best practices for discovering files and detecting changes at scale. + * Search across a SharePoint tenant for sites that match keywords provided. The only property that works for sorting is createdDateTime. The search filter is a free text search that uses multiple properties when retrieving the search results. */ @jakarta.annotation.Generated("com.microsoft.kiota") public class GetQueryParameters implements QueryParameters { diff --git a/src/main/java/com/microsoft/graph/beta/generated/sites/item/informationprotection/sensitivitylabels/SensitivityLabelsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/sites/item/informationprotection/sensitivitylabels/SensitivityLabelsRequestBuilder.java index 16d358a2716..0a1c55aee6e 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/sites/item/informationprotection/sensitivitylabels/SensitivityLabelsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/sites/item/informationprotection/sensitivitylabels/SensitivityLabelsRequestBuilder.java @@ -3,6 +3,8 @@ import com.microsoft.graph.beta.models.odataerrors.ODataError; import com.microsoft.graph.beta.models.SensitivityLabel; import com.microsoft.graph.beta.models.SensitivityLabelCollectionResponse; +import com.microsoft.graph.beta.sites.item.informationprotection.sensitivitylabels.computeinheritancewithlabelidswithlocalewithcontentformats.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder; +import com.microsoft.graph.beta.sites.item.informationprotection.sensitivitylabels.computerightsandinheritance.ComputeRightsAndInheritanceRequestBuilder; import com.microsoft.graph.beta.sites.item.informationprotection.sensitivitylabels.count.CountRequestBuilder; import com.microsoft.graph.beta.sites.item.informationprotection.sensitivitylabels.evaluate.EvaluateRequestBuilder; import com.microsoft.graph.beta.sites.item.informationprotection.sensitivitylabels.item.SensitivityLabelItemRequestBuilder; @@ -24,6 +26,14 @@ */ @jakarta.annotation.Generated("com.microsoft.kiota") public class SensitivityLabelsRequestBuilder extends BaseRequestBuilder { + /** + * Provides operations to call the computeRightsAndInheritance method. + * @return a {@link ComputeRightsAndInheritanceRequestBuilder} + */ + @jakarta.annotation.Nonnull + public ComputeRightsAndInheritanceRequestBuilder computeRightsAndInheritance() { + return new ComputeRightsAndInheritanceRequestBuilder(pathParameters, requestAdapter); + } /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} @@ -52,6 +62,20 @@ public SensitivityLabelItemRequestBuilder bySensitivityLabelId(@jakarta.annotati urlTplParams.put("sensitivityLabel%2Did", sensitivityLabelId); return new SensitivityLabelItemRequestBuilder(urlTplParams, requestAdapter); } + /** + * Provides operations to call the computeInheritance method. + * @param contentFormats Usage: contentFormats={contentFormats} + * @param labelIds Usage: labelIds={labelIds} + * @param locale Usage: locale='{locale}' + * @return a {@link ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder} + */ + @jakarta.annotation.Nonnull + public ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder computeInheritanceWithLabelIdsWithLocaleWithContentFormats(@jakarta.annotation.Nonnull final String contentFormats, @jakarta.annotation.Nonnull final String labelIds, @jakarta.annotation.Nonnull final String locale) { + Objects.requireNonNull(contentFormats); + Objects.requireNonNull(labelIds); + Objects.requireNonNull(locale); + return new ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder(pathParameters, requestAdapter, contentFormats, labelIds, locale); + } /** * Instantiates a new {@link SensitivityLabelsRequestBuilder} and sets the default values. * @param pathParameters Path parameters for the request diff --git a/src/main/java/com/microsoft/graph/beta/generated/sites/item/informationprotection/sensitivitylabels/computeinheritancewithlabelidswithlocalewithcontentformats/ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/sites/item/informationprotection/sensitivitylabels/computeinheritancewithlabelidswithlocalewithcontentformats/ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder.java new file mode 100644 index 00000000000..4c17d5ac4f8 --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/sites/item/informationprotection/sensitivitylabels/computeinheritancewithlabelidswithlocalewithcontentformats/ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder.java @@ -0,0 +1,104 @@ +package com.microsoft.graph.beta.sites.item.informationprotection.sensitivitylabels.computeinheritancewithlabelidswithlocalewithcontentformats; + +import com.microsoft.graph.beta.models.odataerrors.ODataError; +import com.microsoft.graph.beta.models.SensitivityLabel; +import com.microsoft.kiota.BaseRequestBuilder; +import com.microsoft.kiota.BaseRequestConfiguration; +import com.microsoft.kiota.HttpMethod; +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 call the computeInheritance method. + */ +@jakarta.annotation.Generated("com.microsoft.kiota") +public class ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder extends BaseRequestBuilder { + /** + * Instantiates a new {@link ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder} and sets the default values. + * @param contentFormats Usage: contentFormats={contentFormats} + * @param labelIds Usage: labelIds={labelIds} + * @param locale Usage: locale='{locale}' + * @param pathParameters Path parameters for the request + * @param requestAdapter The request adapter to use to execute the requests. + */ + public ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter, @jakarta.annotation.Nullable final String contentFormats, @jakarta.annotation.Nullable final String labelIds, @jakarta.annotation.Nullable final String locale) { + super(requestAdapter, "{+baseurl}/sites/{site%2Did}/informationProtection/sensitivityLabels/computeInheritance(labelIds={labelIds},locale='{locale}',contentFormats={contentFormats})", pathParameters); + this.pathParameters.put("contentFormats", contentFormats); + this.pathParameters.put("labelIds", labelIds); + this.pathParameters.put("locale", locale); + } + /** + * Instantiates a new {@link ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder} 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 ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/sites/{site%2Did}/informationProtection/sensitivityLabels/computeInheritance(labelIds={labelIds},locale='{locale}',contentFormats={contentFormats})", rawUrl); + } + /** + * Calculate the sensitivity label that should be inherited by an output artifact, given a set of sensitivity labels from input or referenced artifacts. + * @return a {@link SensitivityLabel} + * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here + */ + @jakarta.annotation.Nullable + public SensitivityLabel get() { + return get(null); + } + /** + * Calculate the sensitivity label that should be inherited by an output artifact, given a set of sensitivity labels from input or referenced artifacts. + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link SensitivityLabel} + * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here + */ + @jakarta.annotation.Nullable + public SensitivityLabel get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); + final HashMap> errorMapping = new HashMap>(); + errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); + return this.requestAdapter.send(requestInfo, errorMapping, SensitivityLabel::createFromDiscriminatorValue); + } + /** + * Calculate the sensitivity label that should be inherited by an output artifact, given a set of sensitivity labels from input or referenced artifacts. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toGetRequestInformation() { + return toGetRequestInformation(null); + } + /** + * Calculate the sensitivity label that should be inherited by an output artifact, given a set of sensitivity labels from input or referenced artifacts. + * @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 requestConfiguration) { + final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); + requestInfo.configure(requestConfiguration, GetRequestConfiguration::new); + 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 ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder} + */ + @jakarta.annotation.Nonnull + public ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { + Objects.requireNonNull(rawUrl); + return new ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder(rawUrl, requestAdapter); + } + /** + * Configuration for the request such as headers, query parameters, and middleware options. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class GetRequestConfiguration extends BaseRequestConfiguration { + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/sites/item/informationprotection/sensitivitylabels/computerightsandinheritance/ComputeRightsAndInheritancePostRequestBody.java b/src/main/java/com/microsoft/graph/beta/generated/sites/item/informationprotection/sensitivitylabels/computerightsandinheritance/ComputeRightsAndInheritancePostRequestBody.java new file mode 100644 index 00000000000..de0de1be3ff --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/sites/item/informationprotection/sensitivitylabels/computerightsandinheritance/ComputeRightsAndInheritancePostRequestBody.java @@ -0,0 +1,159 @@ +package com.microsoft.graph.beta.sites.item.informationprotection.sensitivitylabels.computerightsandinheritance; + +import com.microsoft.graph.beta.models.ProtectedContent; +import com.microsoft.kiota.serialization.AdditionalDataHolder; +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParseNode; +import com.microsoft.kiota.serialization.SerializationWriter; +import com.microsoft.kiota.store.BackedModel; +import com.microsoft.kiota.store.BackingStore; +import com.microsoft.kiota.store.BackingStoreFactorySingleton; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +@jakarta.annotation.Generated("com.microsoft.kiota") +public class ComputeRightsAndInheritancePostRequestBody implements AdditionalDataHolder, BackedModel, Parsable { + /** + * Stores model information. + */ + @jakarta.annotation.Nonnull + protected BackingStore backingStore; + /** + * Instantiates a new {@link ComputeRightsAndInheritancePostRequestBody} and sets the default values. + */ + public ComputeRightsAndInheritancePostRequestBody() { + this.backingStore = BackingStoreFactorySingleton.instance.createBackingStore(); + this.setAdditionalData(new HashMap<>()); + } + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param parseNode The parse node to use to read the discriminator value and create the object + * @return a {@link ComputeRightsAndInheritancePostRequestBody} + */ + @jakarta.annotation.Nonnull + public static ComputeRightsAndInheritancePostRequestBody createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) { + Objects.requireNonNull(parseNode); + return new ComputeRightsAndInheritancePostRequestBody(); + } + /** + * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @return a {@link Map} + */ + @jakarta.annotation.Nonnull + public Map getAdditionalData() { + Map value = this.backingStore.get("additionalData"); + if(value == null) { + value = new HashMap<>(); + this.setAdditionalData(value); + } + return value; + } + /** + * Gets the backingStore property value. Stores model information. + * @return a {@link BackingStore} + */ + @jakarta.annotation.Nonnull + public BackingStore getBackingStore() { + return this.backingStore; + } + /** + * Gets the delegatedUserEmail property value. The delegatedUserEmail property + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String getDelegatedUserEmail() { + return this.backingStore.get("delegatedUserEmail"); + } + /** + * The deserialization information for the current model + * @return a {@link Map>} + */ + @jakarta.annotation.Nonnull + public Map> getFieldDeserializers() { + final HashMap> deserializerMap = new HashMap>(4); + deserializerMap.put("delegatedUserEmail", (n) -> { this.setDelegatedUserEmail(n.getStringValue()); }); + deserializerMap.put("locale", (n) -> { this.setLocale(n.getStringValue()); }); + deserializerMap.put("protectedContents", (n) -> { this.setProtectedContents(n.getCollectionOfObjectValues(ProtectedContent::createFromDiscriminatorValue)); }); + deserializerMap.put("supportedContentFormats", (n) -> { this.setSupportedContentFormats(n.getCollectionOfPrimitiveValues(String.class)); }); + return deserializerMap; + } + /** + * Gets the locale property value. The locale property + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String getLocale() { + return this.backingStore.get("locale"); + } + /** + * Gets the protectedContents property value. The protectedContents property + * @return a {@link java.util.List} + */ + @jakarta.annotation.Nullable + public java.util.List getProtectedContents() { + return this.backingStore.get("protectedContents"); + } + /** + * Gets the supportedContentFormats property value. The supportedContentFormats property + * @return a {@link java.util.List} + */ + @jakarta.annotation.Nullable + public java.util.List getSupportedContentFormats() { + return this.backingStore.get("supportedContentFormats"); + } + /** + * Serializes information the current object + * @param writer Serialization writer to use to serialize this model + */ + public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writer) { + Objects.requireNonNull(writer); + writer.writeStringValue("delegatedUserEmail", this.getDelegatedUserEmail()); + writer.writeStringValue("locale", this.getLocale()); + writer.writeCollectionOfObjectValues("protectedContents", this.getProtectedContents()); + writer.writeCollectionOfPrimitiveValues("supportedContentFormats", this.getSupportedContentFormats()); + writer.writeAdditionalData(this.getAdditionalData()); + } + /** + * Sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @param value Value to set for the AdditionalData property. + */ + public void setAdditionalData(@jakarta.annotation.Nullable final Map value) { + this.backingStore.set("additionalData", value); + } + /** + * Sets the backingStore property value. Stores model information. + * @param value Value to set for the backingStore property. + */ + public void setBackingStore(@jakarta.annotation.Nonnull final BackingStore value) { + Objects.requireNonNull(value); + this.backingStore = value; + } + /** + * Sets the delegatedUserEmail property value. The delegatedUserEmail property + * @param value Value to set for the delegatedUserEmail property. + */ + public void setDelegatedUserEmail(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("delegatedUserEmail", value); + } + /** + * Sets the locale property value. The locale property + * @param value Value to set for the locale property. + */ + public void setLocale(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("locale", value); + } + /** + * Sets the protectedContents property value. The protectedContents property + * @param value Value to set for the protectedContents property. + */ + public void setProtectedContents(@jakarta.annotation.Nullable final java.util.List value) { + this.backingStore.set("protectedContents", value); + } + /** + * Sets the supportedContentFormats property value. The supportedContentFormats property + * @param value Value to set for the supportedContentFormats property. + */ + public void setSupportedContentFormats(@jakarta.annotation.Nullable final java.util.List value) { + this.backingStore.set("supportedContentFormats", value); + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/sites/item/informationprotection/sensitivitylabels/computerightsandinheritance/ComputeRightsAndInheritanceRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/sites/item/informationprotection/sensitivitylabels/computerightsandinheritance/ComputeRightsAndInheritanceRequestBuilder.java new file mode 100644 index 00000000000..dcee601b404 --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/sites/item/informationprotection/sensitivitylabels/computerightsandinheritance/ComputeRightsAndInheritanceRequestBuilder.java @@ -0,0 +1,105 @@ +package com.microsoft.graph.beta.sites.item.informationprotection.sensitivitylabels.computerightsandinheritance; + +import com.microsoft.graph.beta.models.ComputeRightsAndInheritanceResult; +import com.microsoft.graph.beta.models.odataerrors.ODataError; +import com.microsoft.kiota.BaseRequestBuilder; +import com.microsoft.kiota.BaseRequestConfiguration; +import com.microsoft.kiota.HttpMethod; +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 call the computeRightsAndInheritance method. + */ +@jakarta.annotation.Generated("com.microsoft.kiota") +public class ComputeRightsAndInheritanceRequestBuilder extends BaseRequestBuilder { + /** + * Instantiates a new {@link ComputeRightsAndInheritanceRequestBuilder} and sets the default values. + * @param pathParameters Path parameters for the request + * @param requestAdapter The request adapter to use to execute the requests. + */ + public ComputeRightsAndInheritanceRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/sites/{site%2Did}/informationProtection/sensitivityLabels/computeRightsAndInheritance", pathParameters); + } + /** + * Instantiates a new {@link ComputeRightsAndInheritanceRequestBuilder} 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 ComputeRightsAndInheritanceRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/sites/{site%2Did}/informationProtection/sensitivityLabels/computeRightsAndInheritance", rawUrl); + } + /** + * Computes the rights and inheritance for sensitivity labels based on the input content and labels. + * @param body The request body + * @return a {@link ComputeRightsAndInheritanceResult} + * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here + */ + @jakarta.annotation.Nullable + public ComputeRightsAndInheritanceResult post(@jakarta.annotation.Nonnull final ComputeRightsAndInheritancePostRequestBody body) { + return post(body, null); + } + /** + * Computes the rights and inheritance for sensitivity labels based on the input content and labels. + * @param body The request body + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link ComputeRightsAndInheritanceResult} + * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here + */ + @jakarta.annotation.Nullable + public ComputeRightsAndInheritanceResult post(@jakarta.annotation.Nonnull final ComputeRightsAndInheritancePostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + Objects.requireNonNull(body); + final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); + final HashMap> errorMapping = new HashMap>(); + errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); + return this.requestAdapter.send(requestInfo, errorMapping, ComputeRightsAndInheritanceResult::createFromDiscriminatorValue); + } + /** + * Computes the rights and inheritance for sensitivity labels based on the input content and labels. + * @param body The request body + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final ComputeRightsAndInheritancePostRequestBody body) { + return toPostRequestInformation(body, null); + } + /** + * Computes the rights and inheritance for sensitivity labels based on the input content and labels. + * @param body The request body + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final ComputeRightsAndInheritancePostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + Objects.requireNonNull(body); + final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); + requestInfo.configure(requestConfiguration, PostRequestConfiguration::new); + requestInfo.headers.tryAdd("Accept", "application/json"); + requestInfo.setContentFromParsable(requestAdapter, "application/json", body); + 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 ComputeRightsAndInheritanceRequestBuilder} + */ + @jakarta.annotation.Nonnull + public ComputeRightsAndInheritanceRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { + Objects.requireNonNull(rawUrl); + return new ComputeRightsAndInheritanceRequestBuilder(rawUrl, requestAdapter); + } + /** + * Configuration for the request such as headers, query parameters, and middleware options. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class PostRequestConfiguration extends BaseRequestConfiguration { + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/sites/item/informationprotection/sensitivitylabels/item/SensitivityLabelItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/sites/item/informationprotection/sensitivitylabels/item/SensitivityLabelItemRequestBuilder.java index 3a077a121b1..2ceef750ed9 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/sites/item/informationprotection/sensitivitylabels/item/SensitivityLabelItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/sites/item/informationprotection/sensitivitylabels/item/SensitivityLabelItemRequestBuilder.java @@ -2,6 +2,7 @@ import com.microsoft.graph.beta.models.odataerrors.ODataError; import com.microsoft.graph.beta.models.SensitivityLabel; +import com.microsoft.graph.beta.sites.item.informationprotection.sensitivitylabels.item.rights.RightsRequestBuilder; import com.microsoft.graph.beta.sites.item.informationprotection.sensitivitylabels.item.sublabels.SublabelsRequestBuilder; import com.microsoft.kiota.BaseRequestBuilder; import com.microsoft.kiota.BaseRequestConfiguration; @@ -21,6 +22,14 @@ */ @jakarta.annotation.Generated("com.microsoft.kiota") public class SensitivityLabelItemRequestBuilder extends BaseRequestBuilder { + /** + * Provides operations to manage the rights property of the microsoft.graph.sensitivityLabel entity. + * @return a {@link RightsRequestBuilder} + */ + @jakarta.annotation.Nonnull + public RightsRequestBuilder rights() { + return new RightsRequestBuilder(pathParameters, requestAdapter); + } /** * Provides operations to manage the sublabels property of the microsoft.graph.sensitivityLabel entity. * @return a {@link SublabelsRequestBuilder} diff --git a/src/main/java/com/microsoft/graph/beta/generated/sites/item/informationprotection/sensitivitylabels/item/rights/RightsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/sites/item/informationprotection/sensitivitylabels/item/rights/RightsRequestBuilder.java new file mode 100644 index 00000000000..19d6a5cf5bd --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/sites/item/informationprotection/sensitivitylabels/item/rights/RightsRequestBuilder.java @@ -0,0 +1,129 @@ +package com.microsoft.graph.beta.sites.item.informationprotection.sensitivitylabels.item.rights; + +import com.microsoft.graph.beta.models.odataerrors.ODataError; +import com.microsoft.graph.beta.models.UsageRightsIncluded; +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 rights property of the microsoft.graph.sensitivityLabel entity. + */ +@jakarta.annotation.Generated("com.microsoft.kiota") +public class RightsRequestBuilder extends BaseRequestBuilder { + /** + * Instantiates a new {@link RightsRequestBuilder} and sets the default values. + * @param pathParameters Path parameters for the request + * @param requestAdapter The request adapter to use to execute the requests. + */ + public RightsRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/sites/{site%2Did}/informationProtection/sensitivityLabels/{sensitivityLabel%2Did}/rights{?%24expand,%24select}", pathParameters); + } + /** + * Instantiates a new {@link RightsRequestBuilder} 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 RightsRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/sites/{site%2Did}/informationProtection/sensitivityLabels/{sensitivityLabel%2Did}/rights{?%24expand,%24select}", rawUrl); + } + /** + * Get rights from sites + * @return a {@link UsageRightsIncluded} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public UsageRightsIncluded get() { + return get(null); + } + /** + * Get rights from sites + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link UsageRightsIncluded} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public UsageRightsIncluded get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); + final HashMap> errorMapping = new HashMap>(); + errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); + return this.requestAdapter.send(requestInfo, errorMapping, UsageRightsIncluded::createFromDiscriminatorValue); + } + /** + * Get rights from sites + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toGetRequestInformation() { + return toGetRequestInformation(null); + } + /** + * Get rights from sites + * @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 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 RightsRequestBuilder} + */ + @jakarta.annotation.Nonnull + public RightsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { + Objects.requireNonNull(rawUrl); + return new RightsRequestBuilder(rawUrl, requestAdapter); + } + /** + * Get rights from sites + */ + @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} + */ + @jakarta.annotation.Nonnull + public Map toQueryParameters() { + final Map 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(); + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/sites/item/informationprotection/sensitivitylabels/item/sublabels/SublabelsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/sites/item/informationprotection/sensitivitylabels/item/sublabels/SublabelsRequestBuilder.java index 268ee368989..f6376bef2fd 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/sites/item/informationprotection/sensitivitylabels/item/sublabels/SublabelsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/sites/item/informationprotection/sensitivitylabels/item/sublabels/SublabelsRequestBuilder.java @@ -3,6 +3,8 @@ import com.microsoft.graph.beta.models.odataerrors.ODataError; import com.microsoft.graph.beta.models.SensitivityLabel; import com.microsoft.graph.beta.models.SensitivityLabelCollectionResponse; +import com.microsoft.graph.beta.sites.item.informationprotection.sensitivitylabels.item.sublabels.computeinheritancewithlabelidswithlocalewithcontentformats.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder; +import com.microsoft.graph.beta.sites.item.informationprotection.sensitivitylabels.item.sublabels.computerightsandinheritance.ComputeRightsAndInheritanceRequestBuilder; import com.microsoft.graph.beta.sites.item.informationprotection.sensitivitylabels.item.sublabels.count.CountRequestBuilder; import com.microsoft.graph.beta.sites.item.informationprotection.sensitivitylabels.item.sublabels.evaluate.EvaluateRequestBuilder; import com.microsoft.graph.beta.sites.item.informationprotection.sensitivitylabels.item.sublabels.item.SensitivityLabelItemRequestBuilder; @@ -24,6 +26,14 @@ */ @jakarta.annotation.Generated("com.microsoft.kiota") public class SublabelsRequestBuilder extends BaseRequestBuilder { + /** + * Provides operations to call the computeRightsAndInheritance method. + * @return a {@link ComputeRightsAndInheritanceRequestBuilder} + */ + @jakarta.annotation.Nonnull + public ComputeRightsAndInheritanceRequestBuilder computeRightsAndInheritance() { + return new ComputeRightsAndInheritanceRequestBuilder(pathParameters, requestAdapter); + } /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} @@ -52,6 +62,20 @@ public SensitivityLabelItemRequestBuilder bySensitivityLabelId1(@jakarta.annotat urlTplParams.put("sensitivityLabel%2Did1", sensitivityLabelId1); return new SensitivityLabelItemRequestBuilder(urlTplParams, requestAdapter); } + /** + * Provides operations to call the computeInheritance method. + * @param contentFormats Usage: contentFormats={contentFormats} + * @param labelIds Usage: labelIds={labelIds} + * @param locale Usage: locale='{locale}' + * @return a {@link ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder} + */ + @jakarta.annotation.Nonnull + public ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder computeInheritanceWithLabelIdsWithLocaleWithContentFormats(@jakarta.annotation.Nonnull final String contentFormats, @jakarta.annotation.Nonnull final String labelIds, @jakarta.annotation.Nonnull final String locale) { + Objects.requireNonNull(contentFormats); + Objects.requireNonNull(labelIds); + Objects.requireNonNull(locale); + return new ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder(pathParameters, requestAdapter, contentFormats, labelIds, locale); + } /** * Instantiates a new {@link SublabelsRequestBuilder} and sets the default values. * @param pathParameters Path parameters for the request diff --git a/src/main/java/com/microsoft/graph/beta/generated/sites/item/informationprotection/sensitivitylabels/item/sublabels/computeinheritancewithlabelidswithlocalewithcontentformats/ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/sites/item/informationprotection/sensitivitylabels/item/sublabels/computeinheritancewithlabelidswithlocalewithcontentformats/ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder.java new file mode 100644 index 00000000000..8620a386c51 --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/sites/item/informationprotection/sensitivitylabels/item/sublabels/computeinheritancewithlabelidswithlocalewithcontentformats/ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder.java @@ -0,0 +1,104 @@ +package com.microsoft.graph.beta.sites.item.informationprotection.sensitivitylabels.item.sublabels.computeinheritancewithlabelidswithlocalewithcontentformats; + +import com.microsoft.graph.beta.models.odataerrors.ODataError; +import com.microsoft.graph.beta.models.SensitivityLabel; +import com.microsoft.kiota.BaseRequestBuilder; +import com.microsoft.kiota.BaseRequestConfiguration; +import com.microsoft.kiota.HttpMethod; +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 call the computeInheritance method. + */ +@jakarta.annotation.Generated("com.microsoft.kiota") +public class ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder extends BaseRequestBuilder { + /** + * Instantiates a new {@link ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder} and sets the default values. + * @param contentFormats Usage: contentFormats={contentFormats} + * @param labelIds Usage: labelIds={labelIds} + * @param locale Usage: locale='{locale}' + * @param pathParameters Path parameters for the request + * @param requestAdapter The request adapter to use to execute the requests. + */ + public ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter, @jakarta.annotation.Nullable final String contentFormats, @jakarta.annotation.Nullable final String labelIds, @jakarta.annotation.Nullable final String locale) { + super(requestAdapter, "{+baseurl}/sites/{site%2Did}/informationProtection/sensitivityLabels/{sensitivityLabel%2Did}/sublabels/computeInheritance(labelIds={labelIds},locale='{locale}',contentFormats={contentFormats})", pathParameters); + this.pathParameters.put("contentFormats", contentFormats); + this.pathParameters.put("labelIds", labelIds); + this.pathParameters.put("locale", locale); + } + /** + * Instantiates a new {@link ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder} 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 ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/sites/{site%2Did}/informationProtection/sensitivityLabels/{sensitivityLabel%2Did}/sublabels/computeInheritance(labelIds={labelIds},locale='{locale}',contentFormats={contentFormats})", rawUrl); + } + /** + * Calculate the sensitivity label that should be inherited by an output artifact, given a set of sensitivity labels from input or referenced artifacts. + * @return a {@link SensitivityLabel} + * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here + */ + @jakarta.annotation.Nullable + public SensitivityLabel get() { + return get(null); + } + /** + * Calculate the sensitivity label that should be inherited by an output artifact, given a set of sensitivity labels from input or referenced artifacts. + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link SensitivityLabel} + * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here + */ + @jakarta.annotation.Nullable + public SensitivityLabel get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); + final HashMap> errorMapping = new HashMap>(); + errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); + return this.requestAdapter.send(requestInfo, errorMapping, SensitivityLabel::createFromDiscriminatorValue); + } + /** + * Calculate the sensitivity label that should be inherited by an output artifact, given a set of sensitivity labels from input or referenced artifacts. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toGetRequestInformation() { + return toGetRequestInformation(null); + } + /** + * Calculate the sensitivity label that should be inherited by an output artifact, given a set of sensitivity labels from input or referenced artifacts. + * @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 requestConfiguration) { + final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); + requestInfo.configure(requestConfiguration, GetRequestConfiguration::new); + 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 ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder} + */ + @jakarta.annotation.Nonnull + public ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { + Objects.requireNonNull(rawUrl); + return new ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder(rawUrl, requestAdapter); + } + /** + * Configuration for the request such as headers, query parameters, and middleware options. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class GetRequestConfiguration extends BaseRequestConfiguration { + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/sites/item/informationprotection/sensitivitylabels/item/sublabels/computerightsandinheritance/ComputeRightsAndInheritancePostRequestBody.java b/src/main/java/com/microsoft/graph/beta/generated/sites/item/informationprotection/sensitivitylabels/item/sublabels/computerightsandinheritance/ComputeRightsAndInheritancePostRequestBody.java new file mode 100644 index 00000000000..31022a0e1bd --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/sites/item/informationprotection/sensitivitylabels/item/sublabels/computerightsandinheritance/ComputeRightsAndInheritancePostRequestBody.java @@ -0,0 +1,159 @@ +package com.microsoft.graph.beta.sites.item.informationprotection.sensitivitylabels.item.sublabels.computerightsandinheritance; + +import com.microsoft.graph.beta.models.ProtectedContent; +import com.microsoft.kiota.serialization.AdditionalDataHolder; +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParseNode; +import com.microsoft.kiota.serialization.SerializationWriter; +import com.microsoft.kiota.store.BackedModel; +import com.microsoft.kiota.store.BackingStore; +import com.microsoft.kiota.store.BackingStoreFactorySingleton; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +@jakarta.annotation.Generated("com.microsoft.kiota") +public class ComputeRightsAndInheritancePostRequestBody implements AdditionalDataHolder, BackedModel, Parsable { + /** + * Stores model information. + */ + @jakarta.annotation.Nonnull + protected BackingStore backingStore; + /** + * Instantiates a new {@link ComputeRightsAndInheritancePostRequestBody} and sets the default values. + */ + public ComputeRightsAndInheritancePostRequestBody() { + this.backingStore = BackingStoreFactorySingleton.instance.createBackingStore(); + this.setAdditionalData(new HashMap<>()); + } + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param parseNode The parse node to use to read the discriminator value and create the object + * @return a {@link ComputeRightsAndInheritancePostRequestBody} + */ + @jakarta.annotation.Nonnull + public static ComputeRightsAndInheritancePostRequestBody createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) { + Objects.requireNonNull(parseNode); + return new ComputeRightsAndInheritancePostRequestBody(); + } + /** + * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @return a {@link Map} + */ + @jakarta.annotation.Nonnull + public Map getAdditionalData() { + Map value = this.backingStore.get("additionalData"); + if(value == null) { + value = new HashMap<>(); + this.setAdditionalData(value); + } + return value; + } + /** + * Gets the backingStore property value. Stores model information. + * @return a {@link BackingStore} + */ + @jakarta.annotation.Nonnull + public BackingStore getBackingStore() { + return this.backingStore; + } + /** + * Gets the delegatedUserEmail property value. The delegatedUserEmail property + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String getDelegatedUserEmail() { + return this.backingStore.get("delegatedUserEmail"); + } + /** + * The deserialization information for the current model + * @return a {@link Map>} + */ + @jakarta.annotation.Nonnull + public Map> getFieldDeserializers() { + final HashMap> deserializerMap = new HashMap>(4); + deserializerMap.put("delegatedUserEmail", (n) -> { this.setDelegatedUserEmail(n.getStringValue()); }); + deserializerMap.put("locale", (n) -> { this.setLocale(n.getStringValue()); }); + deserializerMap.put("protectedContents", (n) -> { this.setProtectedContents(n.getCollectionOfObjectValues(ProtectedContent::createFromDiscriminatorValue)); }); + deserializerMap.put("supportedContentFormats", (n) -> { this.setSupportedContentFormats(n.getCollectionOfPrimitiveValues(String.class)); }); + return deserializerMap; + } + /** + * Gets the locale property value. The locale property + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String getLocale() { + return this.backingStore.get("locale"); + } + /** + * Gets the protectedContents property value. The protectedContents property + * @return a {@link java.util.List} + */ + @jakarta.annotation.Nullable + public java.util.List getProtectedContents() { + return this.backingStore.get("protectedContents"); + } + /** + * Gets the supportedContentFormats property value. The supportedContentFormats property + * @return a {@link java.util.List} + */ + @jakarta.annotation.Nullable + public java.util.List getSupportedContentFormats() { + return this.backingStore.get("supportedContentFormats"); + } + /** + * Serializes information the current object + * @param writer Serialization writer to use to serialize this model + */ + public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writer) { + Objects.requireNonNull(writer); + writer.writeStringValue("delegatedUserEmail", this.getDelegatedUserEmail()); + writer.writeStringValue("locale", this.getLocale()); + writer.writeCollectionOfObjectValues("protectedContents", this.getProtectedContents()); + writer.writeCollectionOfPrimitiveValues("supportedContentFormats", this.getSupportedContentFormats()); + writer.writeAdditionalData(this.getAdditionalData()); + } + /** + * Sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @param value Value to set for the AdditionalData property. + */ + public void setAdditionalData(@jakarta.annotation.Nullable final Map value) { + this.backingStore.set("additionalData", value); + } + /** + * Sets the backingStore property value. Stores model information. + * @param value Value to set for the backingStore property. + */ + public void setBackingStore(@jakarta.annotation.Nonnull final BackingStore value) { + Objects.requireNonNull(value); + this.backingStore = value; + } + /** + * Sets the delegatedUserEmail property value. The delegatedUserEmail property + * @param value Value to set for the delegatedUserEmail property. + */ + public void setDelegatedUserEmail(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("delegatedUserEmail", value); + } + /** + * Sets the locale property value. The locale property + * @param value Value to set for the locale property. + */ + public void setLocale(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("locale", value); + } + /** + * Sets the protectedContents property value. The protectedContents property + * @param value Value to set for the protectedContents property. + */ + public void setProtectedContents(@jakarta.annotation.Nullable final java.util.List value) { + this.backingStore.set("protectedContents", value); + } + /** + * Sets the supportedContentFormats property value. The supportedContentFormats property + * @param value Value to set for the supportedContentFormats property. + */ + public void setSupportedContentFormats(@jakarta.annotation.Nullable final java.util.List value) { + this.backingStore.set("supportedContentFormats", value); + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/sites/item/informationprotection/sensitivitylabels/item/sublabels/computerightsandinheritance/ComputeRightsAndInheritanceRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/sites/item/informationprotection/sensitivitylabels/item/sublabels/computerightsandinheritance/ComputeRightsAndInheritanceRequestBuilder.java new file mode 100644 index 00000000000..8a5501453cf --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/sites/item/informationprotection/sensitivitylabels/item/sublabels/computerightsandinheritance/ComputeRightsAndInheritanceRequestBuilder.java @@ -0,0 +1,105 @@ +package com.microsoft.graph.beta.sites.item.informationprotection.sensitivitylabels.item.sublabels.computerightsandinheritance; + +import com.microsoft.graph.beta.models.ComputeRightsAndInheritanceResult; +import com.microsoft.graph.beta.models.odataerrors.ODataError; +import com.microsoft.kiota.BaseRequestBuilder; +import com.microsoft.kiota.BaseRequestConfiguration; +import com.microsoft.kiota.HttpMethod; +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 call the computeRightsAndInheritance method. + */ +@jakarta.annotation.Generated("com.microsoft.kiota") +public class ComputeRightsAndInheritanceRequestBuilder extends BaseRequestBuilder { + /** + * Instantiates a new {@link ComputeRightsAndInheritanceRequestBuilder} and sets the default values. + * @param pathParameters Path parameters for the request + * @param requestAdapter The request adapter to use to execute the requests. + */ + public ComputeRightsAndInheritanceRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/sites/{site%2Did}/informationProtection/sensitivityLabels/{sensitivityLabel%2Did}/sublabels/computeRightsAndInheritance", pathParameters); + } + /** + * Instantiates a new {@link ComputeRightsAndInheritanceRequestBuilder} 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 ComputeRightsAndInheritanceRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/sites/{site%2Did}/informationProtection/sensitivityLabels/{sensitivityLabel%2Did}/sublabels/computeRightsAndInheritance", rawUrl); + } + /** + * Computes the rights and inheritance for sensitivity labels based on the input content and labels. + * @param body The request body + * @return a {@link ComputeRightsAndInheritanceResult} + * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here + */ + @jakarta.annotation.Nullable + public ComputeRightsAndInheritanceResult post(@jakarta.annotation.Nonnull final ComputeRightsAndInheritancePostRequestBody body) { + return post(body, null); + } + /** + * Computes the rights and inheritance for sensitivity labels based on the input content and labels. + * @param body The request body + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link ComputeRightsAndInheritanceResult} + * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here + */ + @jakarta.annotation.Nullable + public ComputeRightsAndInheritanceResult post(@jakarta.annotation.Nonnull final ComputeRightsAndInheritancePostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + Objects.requireNonNull(body); + final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); + final HashMap> errorMapping = new HashMap>(); + errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); + return this.requestAdapter.send(requestInfo, errorMapping, ComputeRightsAndInheritanceResult::createFromDiscriminatorValue); + } + /** + * Computes the rights and inheritance for sensitivity labels based on the input content and labels. + * @param body The request body + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final ComputeRightsAndInheritancePostRequestBody body) { + return toPostRequestInformation(body, null); + } + /** + * Computes the rights and inheritance for sensitivity labels based on the input content and labels. + * @param body The request body + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final ComputeRightsAndInheritancePostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + Objects.requireNonNull(body); + final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); + requestInfo.configure(requestConfiguration, PostRequestConfiguration::new); + requestInfo.headers.tryAdd("Accept", "application/json"); + requestInfo.setContentFromParsable(requestAdapter, "application/json", body); + 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 ComputeRightsAndInheritanceRequestBuilder} + */ + @jakarta.annotation.Nonnull + public ComputeRightsAndInheritanceRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { + Objects.requireNonNull(rawUrl); + return new ComputeRightsAndInheritanceRequestBuilder(rawUrl, requestAdapter); + } + /** + * Configuration for the request such as headers, query parameters, and middleware options. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class PostRequestConfiguration extends BaseRequestConfiguration { + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/sites/item/informationprotection/sensitivitylabels/item/sublabels/item/SensitivityLabelItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/sites/item/informationprotection/sensitivitylabels/item/sublabels/item/SensitivityLabelItemRequestBuilder.java index 866415a02d5..8746a032cd7 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/sites/item/informationprotection/sensitivitylabels/item/sublabels/item/SensitivityLabelItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/sites/item/informationprotection/sensitivitylabels/item/sublabels/item/SensitivityLabelItemRequestBuilder.java @@ -2,6 +2,7 @@ import com.microsoft.graph.beta.models.odataerrors.ODataError; import com.microsoft.graph.beta.models.SensitivityLabel; +import com.microsoft.graph.beta.sites.item.informationprotection.sensitivitylabels.item.sublabels.item.rights.RightsRequestBuilder; import com.microsoft.kiota.BaseRequestBuilder; import com.microsoft.kiota.BaseRequestConfiguration; import com.microsoft.kiota.HttpMethod; @@ -20,6 +21,14 @@ */ @jakarta.annotation.Generated("com.microsoft.kiota") public class SensitivityLabelItemRequestBuilder extends BaseRequestBuilder { + /** + * Provides operations to manage the rights property of the microsoft.graph.sensitivityLabel entity. + * @return a {@link RightsRequestBuilder} + */ + @jakarta.annotation.Nonnull + public RightsRequestBuilder rights() { + return new RightsRequestBuilder(pathParameters, requestAdapter); + } /** * Instantiates a new {@link SensitivityLabelItemRequestBuilder} and sets the default values. * @param pathParameters Path parameters for the request diff --git a/src/main/java/com/microsoft/graph/beta/generated/sites/item/informationprotection/sensitivitylabels/item/sublabels/item/rights/RightsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/sites/item/informationprotection/sensitivitylabels/item/sublabels/item/rights/RightsRequestBuilder.java new file mode 100644 index 00000000000..b8fe0e4d32b --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/sites/item/informationprotection/sensitivitylabels/item/sublabels/item/rights/RightsRequestBuilder.java @@ -0,0 +1,129 @@ +package com.microsoft.graph.beta.sites.item.informationprotection.sensitivitylabels.item.sublabels.item.rights; + +import com.microsoft.graph.beta.models.odataerrors.ODataError; +import com.microsoft.graph.beta.models.UsageRightsIncluded; +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 rights property of the microsoft.graph.sensitivityLabel entity. + */ +@jakarta.annotation.Generated("com.microsoft.kiota") +public class RightsRequestBuilder extends BaseRequestBuilder { + /** + * Instantiates a new {@link RightsRequestBuilder} and sets the default values. + * @param pathParameters Path parameters for the request + * @param requestAdapter The request adapter to use to execute the requests. + */ + public RightsRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/sites/{site%2Did}/informationProtection/sensitivityLabels/{sensitivityLabel%2Did}/sublabels/{sensitivityLabel%2Did1}/rights{?%24expand,%24select}", pathParameters); + } + /** + * Instantiates a new {@link RightsRequestBuilder} 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 RightsRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/sites/{site%2Did}/informationProtection/sensitivityLabels/{sensitivityLabel%2Did}/sublabels/{sensitivityLabel%2Did1}/rights{?%24expand,%24select}", rawUrl); + } + /** + * Get rights from sites + * @return a {@link UsageRightsIncluded} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public UsageRightsIncluded get() { + return get(null); + } + /** + * Get rights from sites + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link UsageRightsIncluded} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public UsageRightsIncluded get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); + final HashMap> errorMapping = new HashMap>(); + errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); + return this.requestAdapter.send(requestInfo, errorMapping, UsageRightsIncluded::createFromDiscriminatorValue); + } + /** + * Get rights from sites + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toGetRequestInformation() { + return toGetRequestInformation(null); + } + /** + * Get rights from sites + * @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 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 RightsRequestBuilder} + */ + @jakarta.annotation.Nonnull + public RightsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { + Objects.requireNonNull(rawUrl); + return new RightsRequestBuilder(rawUrl, requestAdapter); + } + /** + * Get rights from sites + */ + @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} + */ + @jakarta.annotation.Nonnull + public Map toQueryParameters() { + final Map 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(); + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/sites/item/lists/item/ListItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/sites/item/lists/item/ListItemRequestBuilder.java index b8630b78788..df56b6441f9 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/sites/item/lists/item/ListItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/sites/item/lists/item/ListItemRequestBuilder.java @@ -145,21 +145,21 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume this.requestAdapter.sendPrimitive(requestInfo, errorMapping, Void.class); } /** - * Get the list of richLongRunningOperations associated with a list. + * Return the metadata for a list. * @return a {@link List} * @throws ODataError When receiving a 4XX or 5XX status code - * @see Find more info here + * @see Find more info here */ @jakarta.annotation.Nullable public List get() { return get(null); } /** - * Get the list of richLongRunningOperations associated with a list. + * Return the metadata for a list. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link List} * @throws ODataError When receiving a 4XX or 5XX status code - * @see Find more info here + * @see Find more info here */ @jakarta.annotation.Nullable public List get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { @@ -213,7 +213,7 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl return requestInfo; } /** - * Get the list of richLongRunningOperations associated with a list. + * Return the metadata for a list. * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull @@ -221,7 +221,7 @@ public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } /** - * Get the list of richLongRunningOperations associated with a list. + * Return the metadata for a list. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} */ @@ -273,7 +273,7 @@ public ListItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String r public class DeleteRequestConfiguration extends BaseRequestConfiguration { } /** - * Get the list of richLongRunningOperations associated with a list. + * Return the metadata for a list. */ @jakarta.annotation.Generated("com.microsoft.kiota") public class GetQueryParameters implements QueryParameters { diff --git a/src/main/java/com/microsoft/graph/beta/generated/sites/item/pages/PagesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/sites/item/pages/PagesRequestBuilder.java index 9539528430f..e096abdd61c 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/sites/item/pages/PagesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/sites/item/pages/PagesRequestBuilder.java @@ -93,23 +93,23 @@ public BaseSitePageCollectionResponse get(@jakarta.annotation.Nullable final jav return this.requestAdapter.send(requestInfo, errorMapping, BaseSitePageCollectionResponse::createFromDiscriminatorValue); } /** - * Create a new newsLinkPage in the site pages list of a site. + * Create a new sitePage in the site pages list in a site. * @param body The request body * @return a {@link BaseSitePage} * @throws ODataError When receiving a 4XX or 5XX status code - * @see Find more info here + * @see Find more info here */ @jakarta.annotation.Nullable public BaseSitePage post(@jakarta.annotation.Nonnull final BaseSitePage body) { return post(body, null); } /** - * Create a new newsLinkPage in the site pages list of a site. + * Create a new sitePage in the site pages list in a site. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link BaseSitePage} * @throws ODataError When receiving a 4XX or 5XX status code - * @see Find more info here + * @see Find more info here */ @jakarta.annotation.Nullable public BaseSitePage post(@jakarta.annotation.Nonnull final BaseSitePage body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { @@ -140,7 +140,7 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f return requestInfo; } /** - * Create a new newsLinkPage in the site pages list of a site. + * Create a new sitePage in the site pages list in a site. * @param body The request body * @return a {@link RequestInformation} */ @@ -149,7 +149,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f return toPostRequestInformation(body, null); } /** - * Create a new newsLinkPage in the site pages list of a site. + * Create a new sitePage in the site pages list in a site. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} diff --git a/src/main/java/com/microsoft/graph/beta/generated/sites/item/recyclebin/items/ItemsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/sites/item/recyclebin/items/ItemsRequestBuilder.java index 53bd736c614..aa409e79a38 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/sites/item/recyclebin/items/ItemsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/sites/item/recyclebin/items/ItemsRequestBuilder.java @@ -4,7 +4,9 @@ import com.microsoft.graph.beta.models.RecycleBinItem; import com.microsoft.graph.beta.models.RecycleBinItemCollectionResponse; import com.microsoft.graph.beta.sites.item.recyclebin.items.count.CountRequestBuilder; +import com.microsoft.graph.beta.sites.item.recyclebin.items.delete.DeleteRequestBuilder; import com.microsoft.graph.beta.sites.item.recyclebin.items.item.RecycleBinItemItemRequestBuilder; +import com.microsoft.graph.beta.sites.item.recyclebin.items.restore.RestoreRequestBuilder; import com.microsoft.kiota.BaseRequestBuilder; import com.microsoft.kiota.BaseRequestConfiguration; import com.microsoft.kiota.HttpMethod; @@ -31,6 +33,22 @@ public class ItemsRequestBuilder extends BaseRequestBuilder { public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); } + /** + * Provides operations to call the delete method. + * @return a {@link DeleteRequestBuilder} + */ + @jakarta.annotation.Nonnull + public DeleteRequestBuilder deletePath() { + return new DeleteRequestBuilder(pathParameters, requestAdapter); + } + /** + * Provides operations to call the restore method. + * @return a {@link RestoreRequestBuilder} + */ + @jakarta.annotation.Nonnull + public RestoreRequestBuilder restore() { + return new RestoreRequestBuilder(pathParameters, requestAdapter); + } /** * Provides operations to manage the items property of the microsoft.graph.recycleBin entity. * @param recycleBinItemId The unique identifier of recycleBinItem diff --git a/src/main/java/com/microsoft/graph/beta/generated/sites/item/recyclebin/items/delete/DeletePostRequestBody.java b/src/main/java/com/microsoft/graph/beta/generated/sites/item/recyclebin/items/delete/DeletePostRequestBody.java new file mode 100644 index 00000000000..830121d95d3 --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/sites/item/recyclebin/items/delete/DeletePostRequestBody.java @@ -0,0 +1,107 @@ +package com.microsoft.graph.beta.sites.item.recyclebin.items.delete; + +import com.microsoft.kiota.serialization.AdditionalDataHolder; +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParseNode; +import com.microsoft.kiota.serialization.SerializationWriter; +import com.microsoft.kiota.store.BackedModel; +import com.microsoft.kiota.store.BackingStore; +import com.microsoft.kiota.store.BackingStoreFactorySingleton; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +@jakarta.annotation.Generated("com.microsoft.kiota") +public class DeletePostRequestBody implements AdditionalDataHolder, BackedModel, Parsable { + /** + * Stores model information. + */ + @jakarta.annotation.Nonnull + protected BackingStore backingStore; + /** + * Instantiates a new {@link DeletePostRequestBody} and sets the default values. + */ + public DeletePostRequestBody() { + this.backingStore = BackingStoreFactorySingleton.instance.createBackingStore(); + this.setAdditionalData(new HashMap<>()); + } + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param parseNode The parse node to use to read the discriminator value and create the object + * @return a {@link DeletePostRequestBody} + */ + @jakarta.annotation.Nonnull + public static DeletePostRequestBody createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) { + Objects.requireNonNull(parseNode); + return new DeletePostRequestBody(); + } + /** + * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @return a {@link Map} + */ + @jakarta.annotation.Nonnull + public Map getAdditionalData() { + Map value = this.backingStore.get("additionalData"); + if(value == null) { + value = new HashMap<>(); + this.setAdditionalData(value); + } + return value; + } + /** + * Gets the backingStore property value. Stores model information. + * @return a {@link BackingStore} + */ + @jakarta.annotation.Nonnull + public BackingStore getBackingStore() { + return this.backingStore; + } + /** + * The deserialization information for the current model + * @return a {@link Map>} + */ + @jakarta.annotation.Nonnull + public Map> getFieldDeserializers() { + final HashMap> deserializerMap = new HashMap>(1); + deserializerMap.put("ids", (n) -> { this.setIds(n.getCollectionOfPrimitiveValues(String.class)); }); + return deserializerMap; + } + /** + * Gets the ids property value. The ids property + * @return a {@link java.util.List} + */ + @jakarta.annotation.Nullable + public java.util.List getIds() { + return this.backingStore.get("ids"); + } + /** + * Serializes information the current object + * @param writer Serialization writer to use to serialize this model + */ + public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writer) { + Objects.requireNonNull(writer); + writer.writeCollectionOfPrimitiveValues("ids", this.getIds()); + writer.writeAdditionalData(this.getAdditionalData()); + } + /** + * Sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @param value Value to set for the AdditionalData property. + */ + public void setAdditionalData(@jakarta.annotation.Nullable final Map value) { + this.backingStore.set("additionalData", value); + } + /** + * Sets the backingStore property value. Stores model information. + * @param value Value to set for the backingStore property. + */ + public void setBackingStore(@jakarta.annotation.Nonnull final BackingStore value) { + Objects.requireNonNull(value); + this.backingStore = value; + } + /** + * Sets the ids property value. The ids property + * @param value Value to set for the ids property. + */ + public void setIds(@jakarta.annotation.Nullable final java.util.List value) { + this.backingStore.set("ids", value); + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/sites/item/recyclebin/items/delete/DeleteRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/sites/item/recyclebin/items/delete/DeleteRequestBuilder.java new file mode 100644 index 00000000000..adae16c5d4b --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/sites/item/recyclebin/items/delete/DeleteRequestBuilder.java @@ -0,0 +1,97 @@ +package com.microsoft.graph.beta.sites.item.recyclebin.items.delete; + +import com.microsoft.graph.beta.models.odataerrors.ODataError; +import com.microsoft.kiota.BaseRequestBuilder; +import com.microsoft.kiota.BaseRequestConfiguration; +import com.microsoft.kiota.HttpMethod; +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 call the delete method. + */ +@jakarta.annotation.Generated("com.microsoft.kiota") +public class DeleteRequestBuilder extends BaseRequestBuilder { + /** + * Instantiates a new {@link DeleteRequestBuilder} and sets the default values. + * @param pathParameters Path parameters for the request + * @param requestAdapter The request adapter to use to execute the requests. + */ + public DeleteRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/sites/{site%2Did}/recycleBin/items/delete", pathParameters); + } + /** + * Instantiates a new {@link DeleteRequestBuilder} 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 DeleteRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/sites/{site%2Did}/recycleBin/items/delete", rawUrl); + } + /** + * Invoke action delete + * @param body The request body + * @throws ODataError When receiving a 4XX or 5XX status code + */ + public void post(@jakarta.annotation.Nonnull final DeletePostRequestBody body) { + post(body, null); + } + /** + * Invoke action delete + * @param body The request body + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @throws ODataError When receiving a 4XX or 5XX status code + */ + public void post(@jakarta.annotation.Nonnull final DeletePostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + Objects.requireNonNull(body); + final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); + final HashMap> errorMapping = new HashMap>(); + errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); + this.requestAdapter.sendPrimitive(requestInfo, errorMapping, Void.class); + } + /** + * Invoke action delete + * @param body The request body + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final DeletePostRequestBody body) { + return toPostRequestInformation(body, null); + } + /** + * Invoke action delete + * @param body The request body + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final DeletePostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + Objects.requireNonNull(body); + final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); + requestInfo.configure(requestConfiguration, PostRequestConfiguration::new); + requestInfo.setContentFromParsable(requestAdapter, "application/json", body); + 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 DeleteRequestBuilder} + */ + @jakarta.annotation.Nonnull + public DeleteRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { + Objects.requireNonNull(rawUrl); + return new DeleteRequestBuilder(rawUrl, requestAdapter); + } + /** + * Configuration for the request such as headers, query parameters, and middleware options. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class PostRequestConfiguration extends BaseRequestConfiguration { + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/sites/item/recyclebin/items/restore/RestorePostRequestBody.java b/src/main/java/com/microsoft/graph/beta/generated/sites/item/recyclebin/items/restore/RestorePostRequestBody.java new file mode 100644 index 00000000000..d216b684248 --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/sites/item/recyclebin/items/restore/RestorePostRequestBody.java @@ -0,0 +1,107 @@ +package com.microsoft.graph.beta.sites.item.recyclebin.items.restore; + +import com.microsoft.kiota.serialization.AdditionalDataHolder; +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParseNode; +import com.microsoft.kiota.serialization.SerializationWriter; +import com.microsoft.kiota.store.BackedModel; +import com.microsoft.kiota.store.BackingStore; +import com.microsoft.kiota.store.BackingStoreFactorySingleton; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +@jakarta.annotation.Generated("com.microsoft.kiota") +public class RestorePostRequestBody implements AdditionalDataHolder, BackedModel, Parsable { + /** + * Stores model information. + */ + @jakarta.annotation.Nonnull + protected BackingStore backingStore; + /** + * Instantiates a new {@link RestorePostRequestBody} and sets the default values. + */ + public RestorePostRequestBody() { + this.backingStore = BackingStoreFactorySingleton.instance.createBackingStore(); + this.setAdditionalData(new HashMap<>()); + } + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param parseNode The parse node to use to read the discriminator value and create the object + * @return a {@link RestorePostRequestBody} + */ + @jakarta.annotation.Nonnull + public static RestorePostRequestBody createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) { + Objects.requireNonNull(parseNode); + return new RestorePostRequestBody(); + } + /** + * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @return a {@link Map} + */ + @jakarta.annotation.Nonnull + public Map getAdditionalData() { + Map value = this.backingStore.get("additionalData"); + if(value == null) { + value = new HashMap<>(); + this.setAdditionalData(value); + } + return value; + } + /** + * Gets the backingStore property value. Stores model information. + * @return a {@link BackingStore} + */ + @jakarta.annotation.Nonnull + public BackingStore getBackingStore() { + return this.backingStore; + } + /** + * The deserialization information for the current model + * @return a {@link Map>} + */ + @jakarta.annotation.Nonnull + public Map> getFieldDeserializers() { + final HashMap> deserializerMap = new HashMap>(1); + deserializerMap.put("ids", (n) -> { this.setIds(n.getCollectionOfPrimitiveValues(String.class)); }); + return deserializerMap; + } + /** + * Gets the ids property value. The ids property + * @return a {@link java.util.List} + */ + @jakarta.annotation.Nullable + public java.util.List getIds() { + return this.backingStore.get("ids"); + } + /** + * Serializes information the current object + * @param writer Serialization writer to use to serialize this model + */ + public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writer) { + Objects.requireNonNull(writer); + writer.writeCollectionOfPrimitiveValues("ids", this.getIds()); + writer.writeAdditionalData(this.getAdditionalData()); + } + /** + * Sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @param value Value to set for the AdditionalData property. + */ + public void setAdditionalData(@jakarta.annotation.Nullable final Map value) { + this.backingStore.set("additionalData", value); + } + /** + * Sets the backingStore property value. Stores model information. + * @param value Value to set for the backingStore property. + */ + public void setBackingStore(@jakarta.annotation.Nonnull final BackingStore value) { + Objects.requireNonNull(value); + this.backingStore = value; + } + /** + * Sets the ids property value. The ids property + * @param value Value to set for the ids property. + */ + public void setIds(@jakarta.annotation.Nullable final java.util.List value) { + this.backingStore.set("ids", value); + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/sites/item/recyclebin/items/restore/RestorePostResponse.java b/src/main/java/com/microsoft/graph/beta/generated/sites/item/recyclebin/items/restore/RestorePostResponse.java new file mode 100644 index 00000000000..906bd3b6a65 --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/sites/item/recyclebin/items/restore/RestorePostResponse.java @@ -0,0 +1,63 @@ +package com.microsoft.graph.beta.sites.item.recyclebin.items.restore; + +import com.microsoft.graph.beta.models.BaseCollectionPaginationCountResponse; +import com.microsoft.graph.beta.models.RecycleBinItem; +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParseNode; +import com.microsoft.kiota.serialization.SerializationWriter; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +@jakarta.annotation.Generated("com.microsoft.kiota") +public class RestorePostResponse extends BaseCollectionPaginationCountResponse implements Parsable { + /** + * Instantiates a new {@link RestorePostResponse} and sets the default values. + */ + public RestorePostResponse() { + super(); + } + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param parseNode The parse node to use to read the discriminator value and create the object + * @return a {@link RestorePostResponse} + */ + @jakarta.annotation.Nonnull + public static RestorePostResponse createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) { + Objects.requireNonNull(parseNode); + return new RestorePostResponse(); + } + /** + * The deserialization information for the current model + * @return a {@link Map>} + */ + @jakarta.annotation.Nonnull + public Map> getFieldDeserializers() { + final HashMap> deserializerMap = new HashMap>(super.getFieldDeserializers()); + deserializerMap.put("value", (n) -> { this.setValue(n.getCollectionOfObjectValues(RecycleBinItem::createFromDiscriminatorValue)); }); + return deserializerMap; + } + /** + * Gets the value property value. The value property + * @return a {@link java.util.List} + */ + @jakarta.annotation.Nullable + public java.util.List getValue() { + return this.backingStore.get("value"); + } + /** + * Serializes information the current object + * @param writer Serialization writer to use to serialize this model + */ + public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writer) { + Objects.requireNonNull(writer); + super.serialize(writer); + writer.writeCollectionOfObjectValues("value", this.getValue()); + } + /** + * Sets the value property value. The value property + * @param value Value to set for the value property. + */ + public void setValue(@jakarta.annotation.Nullable final java.util.List value) { + this.backingStore.set("value", value); + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/sites/item/recyclebin/items/restore/RestoreRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/sites/item/recyclebin/items/restore/RestoreRequestBuilder.java new file mode 100644 index 00000000000..a3b09d490f8 --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/sites/item/recyclebin/items/restore/RestoreRequestBuilder.java @@ -0,0 +1,102 @@ +package com.microsoft.graph.beta.sites.item.recyclebin.items.restore; + +import com.microsoft.graph.beta.models.odataerrors.ODataError; +import com.microsoft.kiota.BaseRequestBuilder; +import com.microsoft.kiota.BaseRequestConfiguration; +import com.microsoft.kiota.HttpMethod; +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 call the restore method. + */ +@jakarta.annotation.Generated("com.microsoft.kiota") +public class RestoreRequestBuilder extends BaseRequestBuilder { + /** + * Instantiates a new {@link RestoreRequestBuilder} and sets the default values. + * @param pathParameters Path parameters for the request + * @param requestAdapter The request adapter to use to execute the requests. + */ + public RestoreRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/sites/{site%2Did}/recycleBin/items/restore", pathParameters); + } + /** + * Instantiates a new {@link RestoreRequestBuilder} 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 RestoreRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/sites/{site%2Did}/recycleBin/items/restore", rawUrl); + } + /** + * Invoke action restore + * @param body The request body + * @return a {@link RestorePostResponse} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public RestorePostResponse post(@jakarta.annotation.Nonnull final RestorePostRequestBody body) { + return post(body, null); + } + /** + * Invoke action restore + * @param body The request body + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link RestorePostResponse} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public RestorePostResponse post(@jakarta.annotation.Nonnull final RestorePostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + Objects.requireNonNull(body); + final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); + final HashMap> errorMapping = new HashMap>(); + errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); + return this.requestAdapter.send(requestInfo, errorMapping, RestorePostResponse::createFromDiscriminatorValue); + } + /** + * Invoke action restore + * @param body The request body + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final RestorePostRequestBody body) { + return toPostRequestInformation(body, null); + } + /** + * Invoke action restore + * @param body The request body + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final RestorePostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + Objects.requireNonNull(body); + final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); + requestInfo.configure(requestConfiguration, PostRequestConfiguration::new); + requestInfo.headers.tryAdd("Accept", "application/json"); + requestInfo.setContentFromParsable(requestAdapter, "application/json", body); + 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 RestoreRequestBuilder} + */ + @jakarta.annotation.Nonnull + public RestoreRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { + Objects.requireNonNull(rawUrl); + return new RestoreRequestBuilder(rawUrl, requestAdapter); + } + /** + * Configuration for the request such as headers, query parameters, and middleware options. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class PostRequestConfiguration extends BaseRequestConfiguration { + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/storage/filestorage/containers/item/recyclebin/items/ItemsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/storage/filestorage/containers/item/recyclebin/items/ItemsRequestBuilder.java index e358052a2d7..bb332f6616d 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/storage/filestorage/containers/item/recyclebin/items/ItemsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/storage/filestorage/containers/item/recyclebin/items/ItemsRequestBuilder.java @@ -4,7 +4,9 @@ import com.microsoft.graph.beta.models.RecycleBinItem; import com.microsoft.graph.beta.models.RecycleBinItemCollectionResponse; import com.microsoft.graph.beta.storage.filestorage.containers.item.recyclebin.items.count.CountRequestBuilder; +import com.microsoft.graph.beta.storage.filestorage.containers.item.recyclebin.items.delete.DeleteRequestBuilder; import com.microsoft.graph.beta.storage.filestorage.containers.item.recyclebin.items.item.RecycleBinItemItemRequestBuilder; +import com.microsoft.graph.beta.storage.filestorage.containers.item.recyclebin.items.restore.RestoreRequestBuilder; import com.microsoft.kiota.BaseRequestBuilder; import com.microsoft.kiota.BaseRequestConfiguration; import com.microsoft.kiota.HttpMethod; @@ -31,6 +33,22 @@ public class ItemsRequestBuilder extends BaseRequestBuilder { public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); } + /** + * Provides operations to call the delete method. + * @return a {@link DeleteRequestBuilder} + */ + @jakarta.annotation.Nonnull + public DeleteRequestBuilder deletePath() { + return new DeleteRequestBuilder(pathParameters, requestAdapter); + } + /** + * Provides operations to call the restore method. + * @return a {@link RestoreRequestBuilder} + */ + @jakarta.annotation.Nonnull + public RestoreRequestBuilder restore() { + return new RestoreRequestBuilder(pathParameters, requestAdapter); + } /** * Provides operations to manage the items property of the microsoft.graph.recycleBin entity. * @param recycleBinItemId The unique identifier of recycleBinItem diff --git a/src/main/java/com/microsoft/graph/beta/generated/storage/filestorage/containers/item/recyclebin/items/delete/DeletePostRequestBody.java b/src/main/java/com/microsoft/graph/beta/generated/storage/filestorage/containers/item/recyclebin/items/delete/DeletePostRequestBody.java new file mode 100644 index 00000000000..5a746c672d5 --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/storage/filestorage/containers/item/recyclebin/items/delete/DeletePostRequestBody.java @@ -0,0 +1,107 @@ +package com.microsoft.graph.beta.storage.filestorage.containers.item.recyclebin.items.delete; + +import com.microsoft.kiota.serialization.AdditionalDataHolder; +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParseNode; +import com.microsoft.kiota.serialization.SerializationWriter; +import com.microsoft.kiota.store.BackedModel; +import com.microsoft.kiota.store.BackingStore; +import com.microsoft.kiota.store.BackingStoreFactorySingleton; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +@jakarta.annotation.Generated("com.microsoft.kiota") +public class DeletePostRequestBody implements AdditionalDataHolder, BackedModel, Parsable { + /** + * Stores model information. + */ + @jakarta.annotation.Nonnull + protected BackingStore backingStore; + /** + * Instantiates a new {@link DeletePostRequestBody} and sets the default values. + */ + public DeletePostRequestBody() { + this.backingStore = BackingStoreFactorySingleton.instance.createBackingStore(); + this.setAdditionalData(new HashMap<>()); + } + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param parseNode The parse node to use to read the discriminator value and create the object + * @return a {@link DeletePostRequestBody} + */ + @jakarta.annotation.Nonnull + public static DeletePostRequestBody createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) { + Objects.requireNonNull(parseNode); + return new DeletePostRequestBody(); + } + /** + * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @return a {@link Map} + */ + @jakarta.annotation.Nonnull + public Map getAdditionalData() { + Map value = this.backingStore.get("additionalData"); + if(value == null) { + value = new HashMap<>(); + this.setAdditionalData(value); + } + return value; + } + /** + * Gets the backingStore property value. Stores model information. + * @return a {@link BackingStore} + */ + @jakarta.annotation.Nonnull + public BackingStore getBackingStore() { + return this.backingStore; + } + /** + * The deserialization information for the current model + * @return a {@link Map>} + */ + @jakarta.annotation.Nonnull + public Map> getFieldDeserializers() { + final HashMap> deserializerMap = new HashMap>(1); + deserializerMap.put("ids", (n) -> { this.setIds(n.getCollectionOfPrimitiveValues(String.class)); }); + return deserializerMap; + } + /** + * Gets the ids property value. The ids property + * @return a {@link java.util.List} + */ + @jakarta.annotation.Nullable + public java.util.List getIds() { + return this.backingStore.get("ids"); + } + /** + * Serializes information the current object + * @param writer Serialization writer to use to serialize this model + */ + public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writer) { + Objects.requireNonNull(writer); + writer.writeCollectionOfPrimitiveValues("ids", this.getIds()); + writer.writeAdditionalData(this.getAdditionalData()); + } + /** + * Sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @param value Value to set for the AdditionalData property. + */ + public void setAdditionalData(@jakarta.annotation.Nullable final Map value) { + this.backingStore.set("additionalData", value); + } + /** + * Sets the backingStore property value. Stores model information. + * @param value Value to set for the backingStore property. + */ + public void setBackingStore(@jakarta.annotation.Nonnull final BackingStore value) { + Objects.requireNonNull(value); + this.backingStore = value; + } + /** + * Sets the ids property value. The ids property + * @param value Value to set for the ids property. + */ + public void setIds(@jakarta.annotation.Nullable final java.util.List value) { + this.backingStore.set("ids", value); + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/storage/filestorage/containers/item/recyclebin/items/delete/DeleteRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/storage/filestorage/containers/item/recyclebin/items/delete/DeleteRequestBuilder.java new file mode 100644 index 00000000000..5955a1adb1e --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/storage/filestorage/containers/item/recyclebin/items/delete/DeleteRequestBuilder.java @@ -0,0 +1,97 @@ +package com.microsoft.graph.beta.storage.filestorage.containers.item.recyclebin.items.delete; + +import com.microsoft.graph.beta.models.odataerrors.ODataError; +import com.microsoft.kiota.BaseRequestBuilder; +import com.microsoft.kiota.BaseRequestConfiguration; +import com.microsoft.kiota.HttpMethod; +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 call the delete method. + */ +@jakarta.annotation.Generated("com.microsoft.kiota") +public class DeleteRequestBuilder extends BaseRequestBuilder { + /** + * Instantiates a new {@link DeleteRequestBuilder} and sets the default values. + * @param pathParameters Path parameters for the request + * @param requestAdapter The request adapter to use to execute the requests. + */ + public DeleteRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/recycleBin/items/delete", pathParameters); + } + /** + * Instantiates a new {@link DeleteRequestBuilder} 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 DeleteRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/recycleBin/items/delete", rawUrl); + } + /** + * Invoke action delete + * @param body The request body + * @throws ODataError When receiving a 4XX or 5XX status code + */ + public void post(@jakarta.annotation.Nonnull final DeletePostRequestBody body) { + post(body, null); + } + /** + * Invoke action delete + * @param body The request body + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @throws ODataError When receiving a 4XX or 5XX status code + */ + public void post(@jakarta.annotation.Nonnull final DeletePostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + Objects.requireNonNull(body); + final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); + final HashMap> errorMapping = new HashMap>(); + errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); + this.requestAdapter.sendPrimitive(requestInfo, errorMapping, Void.class); + } + /** + * Invoke action delete + * @param body The request body + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final DeletePostRequestBody body) { + return toPostRequestInformation(body, null); + } + /** + * Invoke action delete + * @param body The request body + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final DeletePostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + Objects.requireNonNull(body); + final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); + requestInfo.configure(requestConfiguration, PostRequestConfiguration::new); + requestInfo.setContentFromParsable(requestAdapter, "application/json", body); + 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 DeleteRequestBuilder} + */ + @jakarta.annotation.Nonnull + public DeleteRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { + Objects.requireNonNull(rawUrl); + return new DeleteRequestBuilder(rawUrl, requestAdapter); + } + /** + * Configuration for the request such as headers, query parameters, and middleware options. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class PostRequestConfiguration extends BaseRequestConfiguration { + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/storage/filestorage/containers/item/recyclebin/items/restore/RestorePostRequestBody.java b/src/main/java/com/microsoft/graph/beta/generated/storage/filestorage/containers/item/recyclebin/items/restore/RestorePostRequestBody.java new file mode 100644 index 00000000000..9799594d0c8 --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/storage/filestorage/containers/item/recyclebin/items/restore/RestorePostRequestBody.java @@ -0,0 +1,107 @@ +package com.microsoft.graph.beta.storage.filestorage.containers.item.recyclebin.items.restore; + +import com.microsoft.kiota.serialization.AdditionalDataHolder; +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParseNode; +import com.microsoft.kiota.serialization.SerializationWriter; +import com.microsoft.kiota.store.BackedModel; +import com.microsoft.kiota.store.BackingStore; +import com.microsoft.kiota.store.BackingStoreFactorySingleton; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +@jakarta.annotation.Generated("com.microsoft.kiota") +public class RestorePostRequestBody implements AdditionalDataHolder, BackedModel, Parsable { + /** + * Stores model information. + */ + @jakarta.annotation.Nonnull + protected BackingStore backingStore; + /** + * Instantiates a new {@link RestorePostRequestBody} and sets the default values. + */ + public RestorePostRequestBody() { + this.backingStore = BackingStoreFactorySingleton.instance.createBackingStore(); + this.setAdditionalData(new HashMap<>()); + } + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param parseNode The parse node to use to read the discriminator value and create the object + * @return a {@link RestorePostRequestBody} + */ + @jakarta.annotation.Nonnull + public static RestorePostRequestBody createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) { + Objects.requireNonNull(parseNode); + return new RestorePostRequestBody(); + } + /** + * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @return a {@link Map} + */ + @jakarta.annotation.Nonnull + public Map getAdditionalData() { + Map value = this.backingStore.get("additionalData"); + if(value == null) { + value = new HashMap<>(); + this.setAdditionalData(value); + } + return value; + } + /** + * Gets the backingStore property value. Stores model information. + * @return a {@link BackingStore} + */ + @jakarta.annotation.Nonnull + public BackingStore getBackingStore() { + return this.backingStore; + } + /** + * The deserialization information for the current model + * @return a {@link Map>} + */ + @jakarta.annotation.Nonnull + public Map> getFieldDeserializers() { + final HashMap> deserializerMap = new HashMap>(1); + deserializerMap.put("ids", (n) -> { this.setIds(n.getCollectionOfPrimitiveValues(String.class)); }); + return deserializerMap; + } + /** + * Gets the ids property value. The ids property + * @return a {@link java.util.List} + */ + @jakarta.annotation.Nullable + public java.util.List getIds() { + return this.backingStore.get("ids"); + } + /** + * Serializes information the current object + * @param writer Serialization writer to use to serialize this model + */ + public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writer) { + Objects.requireNonNull(writer); + writer.writeCollectionOfPrimitiveValues("ids", this.getIds()); + writer.writeAdditionalData(this.getAdditionalData()); + } + /** + * Sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @param value Value to set for the AdditionalData property. + */ + public void setAdditionalData(@jakarta.annotation.Nullable final Map value) { + this.backingStore.set("additionalData", value); + } + /** + * Sets the backingStore property value. Stores model information. + * @param value Value to set for the backingStore property. + */ + public void setBackingStore(@jakarta.annotation.Nonnull final BackingStore value) { + Objects.requireNonNull(value); + this.backingStore = value; + } + /** + * Sets the ids property value. The ids property + * @param value Value to set for the ids property. + */ + public void setIds(@jakarta.annotation.Nullable final java.util.List value) { + this.backingStore.set("ids", value); + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/storage/filestorage/containers/item/recyclebin/items/restore/RestorePostResponse.java b/src/main/java/com/microsoft/graph/beta/generated/storage/filestorage/containers/item/recyclebin/items/restore/RestorePostResponse.java new file mode 100644 index 00000000000..44ac8097c3a --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/storage/filestorage/containers/item/recyclebin/items/restore/RestorePostResponse.java @@ -0,0 +1,63 @@ +package com.microsoft.graph.beta.storage.filestorage.containers.item.recyclebin.items.restore; + +import com.microsoft.graph.beta.models.BaseCollectionPaginationCountResponse; +import com.microsoft.graph.beta.models.RecycleBinItem; +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParseNode; +import com.microsoft.kiota.serialization.SerializationWriter; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +@jakarta.annotation.Generated("com.microsoft.kiota") +public class RestorePostResponse extends BaseCollectionPaginationCountResponse implements Parsable { + /** + * Instantiates a new {@link RestorePostResponse} and sets the default values. + */ + public RestorePostResponse() { + super(); + } + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param parseNode The parse node to use to read the discriminator value and create the object + * @return a {@link RestorePostResponse} + */ + @jakarta.annotation.Nonnull + public static RestorePostResponse createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) { + Objects.requireNonNull(parseNode); + return new RestorePostResponse(); + } + /** + * The deserialization information for the current model + * @return a {@link Map>} + */ + @jakarta.annotation.Nonnull + public Map> getFieldDeserializers() { + final HashMap> deserializerMap = new HashMap>(super.getFieldDeserializers()); + deserializerMap.put("value", (n) -> { this.setValue(n.getCollectionOfObjectValues(RecycleBinItem::createFromDiscriminatorValue)); }); + return deserializerMap; + } + /** + * Gets the value property value. The value property + * @return a {@link java.util.List} + */ + @jakarta.annotation.Nullable + public java.util.List getValue() { + return this.backingStore.get("value"); + } + /** + * Serializes information the current object + * @param writer Serialization writer to use to serialize this model + */ + public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writer) { + Objects.requireNonNull(writer); + super.serialize(writer); + writer.writeCollectionOfObjectValues("value", this.getValue()); + } + /** + * Sets the value property value. The value property + * @param value Value to set for the value property. + */ + public void setValue(@jakarta.annotation.Nullable final java.util.List value) { + this.backingStore.set("value", value); + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/storage/filestorage/containers/item/recyclebin/items/restore/RestoreRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/storage/filestorage/containers/item/recyclebin/items/restore/RestoreRequestBuilder.java new file mode 100644 index 00000000000..62ea4c4a21d --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/storage/filestorage/containers/item/recyclebin/items/restore/RestoreRequestBuilder.java @@ -0,0 +1,102 @@ +package com.microsoft.graph.beta.storage.filestorage.containers.item.recyclebin.items.restore; + +import com.microsoft.graph.beta.models.odataerrors.ODataError; +import com.microsoft.kiota.BaseRequestBuilder; +import com.microsoft.kiota.BaseRequestConfiguration; +import com.microsoft.kiota.HttpMethod; +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 call the restore method. + */ +@jakarta.annotation.Generated("com.microsoft.kiota") +public class RestoreRequestBuilder extends BaseRequestBuilder { + /** + * Instantiates a new {@link RestoreRequestBuilder} and sets the default values. + * @param pathParameters Path parameters for the request + * @param requestAdapter The request adapter to use to execute the requests. + */ + public RestoreRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/recycleBin/items/restore", pathParameters); + } + /** + * Instantiates a new {@link RestoreRequestBuilder} 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 RestoreRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/recycleBin/items/restore", rawUrl); + } + /** + * Invoke action restore + * @param body The request body + * @return a {@link RestorePostResponse} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public RestorePostResponse post(@jakarta.annotation.Nonnull final RestorePostRequestBody body) { + return post(body, null); + } + /** + * Invoke action restore + * @param body The request body + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link RestorePostResponse} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public RestorePostResponse post(@jakarta.annotation.Nonnull final RestorePostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + Objects.requireNonNull(body); + final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); + final HashMap> errorMapping = new HashMap>(); + errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); + return this.requestAdapter.send(requestInfo, errorMapping, RestorePostResponse::createFromDiscriminatorValue); + } + /** + * Invoke action restore + * @param body The request body + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final RestorePostRequestBody body) { + return toPostRequestInformation(body, null); + } + /** + * Invoke action restore + * @param body The request body + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final RestorePostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + Objects.requireNonNull(body); + final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); + requestInfo.configure(requestConfiguration, PostRequestConfiguration::new); + requestInfo.headers.tryAdd("Accept", "application/json"); + requestInfo.setContentFromParsable(requestAdapter, "application/json", body); + 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 RestoreRequestBuilder} + */ + @jakarta.annotation.Nonnull + public RestoreRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { + Objects.requireNonNull(rawUrl); + return new RestoreRequestBuilder(rawUrl, requestAdapter); + } + /** + * Configuration for the request such as headers, query parameters, and middleware options. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class PostRequestConfiguration extends BaseRequestConfiguration { + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/storage/filestorage/deletedcontainers/item/recyclebin/items/ItemsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/storage/filestorage/deletedcontainers/item/recyclebin/items/ItemsRequestBuilder.java index 1ff25a0fe41..cd90b9cac3f 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/storage/filestorage/deletedcontainers/item/recyclebin/items/ItemsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/storage/filestorage/deletedcontainers/item/recyclebin/items/ItemsRequestBuilder.java @@ -4,7 +4,9 @@ import com.microsoft.graph.beta.models.RecycleBinItem; import com.microsoft.graph.beta.models.RecycleBinItemCollectionResponse; import com.microsoft.graph.beta.storage.filestorage.deletedcontainers.item.recyclebin.items.count.CountRequestBuilder; +import com.microsoft.graph.beta.storage.filestorage.deletedcontainers.item.recyclebin.items.delete.DeleteRequestBuilder; import com.microsoft.graph.beta.storage.filestorage.deletedcontainers.item.recyclebin.items.item.RecycleBinItemItemRequestBuilder; +import com.microsoft.graph.beta.storage.filestorage.deletedcontainers.item.recyclebin.items.restore.RestoreRequestBuilder; import com.microsoft.kiota.BaseRequestBuilder; import com.microsoft.kiota.BaseRequestConfiguration; import com.microsoft.kiota.HttpMethod; @@ -31,6 +33,22 @@ public class ItemsRequestBuilder extends BaseRequestBuilder { public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); } + /** + * Provides operations to call the delete method. + * @return a {@link DeleteRequestBuilder} + */ + @jakarta.annotation.Nonnull + public DeleteRequestBuilder deletePath() { + return new DeleteRequestBuilder(pathParameters, requestAdapter); + } + /** + * Provides operations to call the restore method. + * @return a {@link RestoreRequestBuilder} + */ + @jakarta.annotation.Nonnull + public RestoreRequestBuilder restore() { + return new RestoreRequestBuilder(pathParameters, requestAdapter); + } /** * Provides operations to manage the items property of the microsoft.graph.recycleBin entity. * @param recycleBinItemId The unique identifier of recycleBinItem diff --git a/src/main/java/com/microsoft/graph/beta/generated/storage/filestorage/deletedcontainers/item/recyclebin/items/delete/DeletePostRequestBody.java b/src/main/java/com/microsoft/graph/beta/generated/storage/filestorage/deletedcontainers/item/recyclebin/items/delete/DeletePostRequestBody.java new file mode 100644 index 00000000000..064818de7c8 --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/storage/filestorage/deletedcontainers/item/recyclebin/items/delete/DeletePostRequestBody.java @@ -0,0 +1,107 @@ +package com.microsoft.graph.beta.storage.filestorage.deletedcontainers.item.recyclebin.items.delete; + +import com.microsoft.kiota.serialization.AdditionalDataHolder; +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParseNode; +import com.microsoft.kiota.serialization.SerializationWriter; +import com.microsoft.kiota.store.BackedModel; +import com.microsoft.kiota.store.BackingStore; +import com.microsoft.kiota.store.BackingStoreFactorySingleton; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +@jakarta.annotation.Generated("com.microsoft.kiota") +public class DeletePostRequestBody implements AdditionalDataHolder, BackedModel, Parsable { + /** + * Stores model information. + */ + @jakarta.annotation.Nonnull + protected BackingStore backingStore; + /** + * Instantiates a new {@link DeletePostRequestBody} and sets the default values. + */ + public DeletePostRequestBody() { + this.backingStore = BackingStoreFactorySingleton.instance.createBackingStore(); + this.setAdditionalData(new HashMap<>()); + } + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param parseNode The parse node to use to read the discriminator value and create the object + * @return a {@link DeletePostRequestBody} + */ + @jakarta.annotation.Nonnull + public static DeletePostRequestBody createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) { + Objects.requireNonNull(parseNode); + return new DeletePostRequestBody(); + } + /** + * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @return a {@link Map} + */ + @jakarta.annotation.Nonnull + public Map getAdditionalData() { + Map value = this.backingStore.get("additionalData"); + if(value == null) { + value = new HashMap<>(); + this.setAdditionalData(value); + } + return value; + } + /** + * Gets the backingStore property value. Stores model information. + * @return a {@link BackingStore} + */ + @jakarta.annotation.Nonnull + public BackingStore getBackingStore() { + return this.backingStore; + } + /** + * The deserialization information for the current model + * @return a {@link Map>} + */ + @jakarta.annotation.Nonnull + public Map> getFieldDeserializers() { + final HashMap> deserializerMap = new HashMap>(1); + deserializerMap.put("ids", (n) -> { this.setIds(n.getCollectionOfPrimitiveValues(String.class)); }); + return deserializerMap; + } + /** + * Gets the ids property value. The ids property + * @return a {@link java.util.List} + */ + @jakarta.annotation.Nullable + public java.util.List getIds() { + return this.backingStore.get("ids"); + } + /** + * Serializes information the current object + * @param writer Serialization writer to use to serialize this model + */ + public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writer) { + Objects.requireNonNull(writer); + writer.writeCollectionOfPrimitiveValues("ids", this.getIds()); + writer.writeAdditionalData(this.getAdditionalData()); + } + /** + * Sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @param value Value to set for the AdditionalData property. + */ + public void setAdditionalData(@jakarta.annotation.Nullable final Map value) { + this.backingStore.set("additionalData", value); + } + /** + * Sets the backingStore property value. Stores model information. + * @param value Value to set for the backingStore property. + */ + public void setBackingStore(@jakarta.annotation.Nonnull final BackingStore value) { + Objects.requireNonNull(value); + this.backingStore = value; + } + /** + * Sets the ids property value. The ids property + * @param value Value to set for the ids property. + */ + public void setIds(@jakarta.annotation.Nullable final java.util.List value) { + this.backingStore.set("ids", value); + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/storage/filestorage/deletedcontainers/item/recyclebin/items/delete/DeleteRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/storage/filestorage/deletedcontainers/item/recyclebin/items/delete/DeleteRequestBuilder.java new file mode 100644 index 00000000000..b09c6843d32 --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/storage/filestorage/deletedcontainers/item/recyclebin/items/delete/DeleteRequestBuilder.java @@ -0,0 +1,97 @@ +package com.microsoft.graph.beta.storage.filestorage.deletedcontainers.item.recyclebin.items.delete; + +import com.microsoft.graph.beta.models.odataerrors.ODataError; +import com.microsoft.kiota.BaseRequestBuilder; +import com.microsoft.kiota.BaseRequestConfiguration; +import com.microsoft.kiota.HttpMethod; +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 call the delete method. + */ +@jakarta.annotation.Generated("com.microsoft.kiota") +public class DeleteRequestBuilder extends BaseRequestBuilder { + /** + * Instantiates a new {@link DeleteRequestBuilder} and sets the default values. + * @param pathParameters Path parameters for the request + * @param requestAdapter The request adapter to use to execute the requests. + */ + public DeleteRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/storage/fileStorage/deletedContainers/{fileStorageContainer%2Did}/recycleBin/items/delete", pathParameters); + } + /** + * Instantiates a new {@link DeleteRequestBuilder} 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 DeleteRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/storage/fileStorage/deletedContainers/{fileStorageContainer%2Did}/recycleBin/items/delete", rawUrl); + } + /** + * Invoke action delete + * @param body The request body + * @throws ODataError When receiving a 4XX or 5XX status code + */ + public void post(@jakarta.annotation.Nonnull final DeletePostRequestBody body) { + post(body, null); + } + /** + * Invoke action delete + * @param body The request body + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @throws ODataError When receiving a 4XX or 5XX status code + */ + public void post(@jakarta.annotation.Nonnull final DeletePostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + Objects.requireNonNull(body); + final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); + final HashMap> errorMapping = new HashMap>(); + errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); + this.requestAdapter.sendPrimitive(requestInfo, errorMapping, Void.class); + } + /** + * Invoke action delete + * @param body The request body + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final DeletePostRequestBody body) { + return toPostRequestInformation(body, null); + } + /** + * Invoke action delete + * @param body The request body + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final DeletePostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + Objects.requireNonNull(body); + final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); + requestInfo.configure(requestConfiguration, PostRequestConfiguration::new); + requestInfo.setContentFromParsable(requestAdapter, "application/json", body); + 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 DeleteRequestBuilder} + */ + @jakarta.annotation.Nonnull + public DeleteRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { + Objects.requireNonNull(rawUrl); + return new DeleteRequestBuilder(rawUrl, requestAdapter); + } + /** + * Configuration for the request such as headers, query parameters, and middleware options. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class PostRequestConfiguration extends BaseRequestConfiguration { + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/storage/filestorage/deletedcontainers/item/recyclebin/items/restore/RestorePostRequestBody.java b/src/main/java/com/microsoft/graph/beta/generated/storage/filestorage/deletedcontainers/item/recyclebin/items/restore/RestorePostRequestBody.java new file mode 100644 index 00000000000..c758d344ff8 --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/storage/filestorage/deletedcontainers/item/recyclebin/items/restore/RestorePostRequestBody.java @@ -0,0 +1,107 @@ +package com.microsoft.graph.beta.storage.filestorage.deletedcontainers.item.recyclebin.items.restore; + +import com.microsoft.kiota.serialization.AdditionalDataHolder; +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParseNode; +import com.microsoft.kiota.serialization.SerializationWriter; +import com.microsoft.kiota.store.BackedModel; +import com.microsoft.kiota.store.BackingStore; +import com.microsoft.kiota.store.BackingStoreFactorySingleton; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +@jakarta.annotation.Generated("com.microsoft.kiota") +public class RestorePostRequestBody implements AdditionalDataHolder, BackedModel, Parsable { + /** + * Stores model information. + */ + @jakarta.annotation.Nonnull + protected BackingStore backingStore; + /** + * Instantiates a new {@link RestorePostRequestBody} and sets the default values. + */ + public RestorePostRequestBody() { + this.backingStore = BackingStoreFactorySingleton.instance.createBackingStore(); + this.setAdditionalData(new HashMap<>()); + } + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param parseNode The parse node to use to read the discriminator value and create the object + * @return a {@link RestorePostRequestBody} + */ + @jakarta.annotation.Nonnull + public static RestorePostRequestBody createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) { + Objects.requireNonNull(parseNode); + return new RestorePostRequestBody(); + } + /** + * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @return a {@link Map} + */ + @jakarta.annotation.Nonnull + public Map getAdditionalData() { + Map value = this.backingStore.get("additionalData"); + if(value == null) { + value = new HashMap<>(); + this.setAdditionalData(value); + } + return value; + } + /** + * Gets the backingStore property value. Stores model information. + * @return a {@link BackingStore} + */ + @jakarta.annotation.Nonnull + public BackingStore getBackingStore() { + return this.backingStore; + } + /** + * The deserialization information for the current model + * @return a {@link Map>} + */ + @jakarta.annotation.Nonnull + public Map> getFieldDeserializers() { + final HashMap> deserializerMap = new HashMap>(1); + deserializerMap.put("ids", (n) -> { this.setIds(n.getCollectionOfPrimitiveValues(String.class)); }); + return deserializerMap; + } + /** + * Gets the ids property value. The ids property + * @return a {@link java.util.List} + */ + @jakarta.annotation.Nullable + public java.util.List getIds() { + return this.backingStore.get("ids"); + } + /** + * Serializes information the current object + * @param writer Serialization writer to use to serialize this model + */ + public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writer) { + Objects.requireNonNull(writer); + writer.writeCollectionOfPrimitiveValues("ids", this.getIds()); + writer.writeAdditionalData(this.getAdditionalData()); + } + /** + * Sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @param value Value to set for the AdditionalData property. + */ + public void setAdditionalData(@jakarta.annotation.Nullable final Map value) { + this.backingStore.set("additionalData", value); + } + /** + * Sets the backingStore property value. Stores model information. + * @param value Value to set for the backingStore property. + */ + public void setBackingStore(@jakarta.annotation.Nonnull final BackingStore value) { + Objects.requireNonNull(value); + this.backingStore = value; + } + /** + * Sets the ids property value. The ids property + * @param value Value to set for the ids property. + */ + public void setIds(@jakarta.annotation.Nullable final java.util.List value) { + this.backingStore.set("ids", value); + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/storage/filestorage/deletedcontainers/item/recyclebin/items/restore/RestorePostResponse.java b/src/main/java/com/microsoft/graph/beta/generated/storage/filestorage/deletedcontainers/item/recyclebin/items/restore/RestorePostResponse.java new file mode 100644 index 00000000000..7d4c8f70e2e --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/storage/filestorage/deletedcontainers/item/recyclebin/items/restore/RestorePostResponse.java @@ -0,0 +1,63 @@ +package com.microsoft.graph.beta.storage.filestorage.deletedcontainers.item.recyclebin.items.restore; + +import com.microsoft.graph.beta.models.BaseCollectionPaginationCountResponse; +import com.microsoft.graph.beta.models.RecycleBinItem; +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParseNode; +import com.microsoft.kiota.serialization.SerializationWriter; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +@jakarta.annotation.Generated("com.microsoft.kiota") +public class RestorePostResponse extends BaseCollectionPaginationCountResponse implements Parsable { + /** + * Instantiates a new {@link RestorePostResponse} and sets the default values. + */ + public RestorePostResponse() { + super(); + } + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param parseNode The parse node to use to read the discriminator value and create the object + * @return a {@link RestorePostResponse} + */ + @jakarta.annotation.Nonnull + public static RestorePostResponse createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) { + Objects.requireNonNull(parseNode); + return new RestorePostResponse(); + } + /** + * The deserialization information for the current model + * @return a {@link Map>} + */ + @jakarta.annotation.Nonnull + public Map> getFieldDeserializers() { + final HashMap> deserializerMap = new HashMap>(super.getFieldDeserializers()); + deserializerMap.put("value", (n) -> { this.setValue(n.getCollectionOfObjectValues(RecycleBinItem::createFromDiscriminatorValue)); }); + return deserializerMap; + } + /** + * Gets the value property value. The value property + * @return a {@link java.util.List} + */ + @jakarta.annotation.Nullable + public java.util.List getValue() { + return this.backingStore.get("value"); + } + /** + * Serializes information the current object + * @param writer Serialization writer to use to serialize this model + */ + public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writer) { + Objects.requireNonNull(writer); + super.serialize(writer); + writer.writeCollectionOfObjectValues("value", this.getValue()); + } + /** + * Sets the value property value. The value property + * @param value Value to set for the value property. + */ + public void setValue(@jakarta.annotation.Nullable final java.util.List value) { + this.backingStore.set("value", value); + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/storage/filestorage/deletedcontainers/item/recyclebin/items/restore/RestoreRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/storage/filestorage/deletedcontainers/item/recyclebin/items/restore/RestoreRequestBuilder.java new file mode 100644 index 00000000000..7e1f602d54d --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/storage/filestorage/deletedcontainers/item/recyclebin/items/restore/RestoreRequestBuilder.java @@ -0,0 +1,102 @@ +package com.microsoft.graph.beta.storage.filestorage.deletedcontainers.item.recyclebin.items.restore; + +import com.microsoft.graph.beta.models.odataerrors.ODataError; +import com.microsoft.kiota.BaseRequestBuilder; +import com.microsoft.kiota.BaseRequestConfiguration; +import com.microsoft.kiota.HttpMethod; +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 call the restore method. + */ +@jakarta.annotation.Generated("com.microsoft.kiota") +public class RestoreRequestBuilder extends BaseRequestBuilder { + /** + * Instantiates a new {@link RestoreRequestBuilder} and sets the default values. + * @param pathParameters Path parameters for the request + * @param requestAdapter The request adapter to use to execute the requests. + */ + public RestoreRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/storage/fileStorage/deletedContainers/{fileStorageContainer%2Did}/recycleBin/items/restore", pathParameters); + } + /** + * Instantiates a new {@link RestoreRequestBuilder} 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 RestoreRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/storage/fileStorage/deletedContainers/{fileStorageContainer%2Did}/recycleBin/items/restore", rawUrl); + } + /** + * Invoke action restore + * @param body The request body + * @return a {@link RestorePostResponse} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public RestorePostResponse post(@jakarta.annotation.Nonnull final RestorePostRequestBody body) { + return post(body, null); + } + /** + * Invoke action restore + * @param body The request body + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link RestorePostResponse} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public RestorePostResponse post(@jakarta.annotation.Nonnull final RestorePostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + Objects.requireNonNull(body); + final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); + final HashMap> errorMapping = new HashMap>(); + errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); + return this.requestAdapter.send(requestInfo, errorMapping, RestorePostResponse::createFromDiscriminatorValue); + } + /** + * Invoke action restore + * @param body The request body + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final RestorePostRequestBody body) { + return toPostRequestInformation(body, null); + } + /** + * Invoke action restore + * @param body The request body + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final RestorePostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + Objects.requireNonNull(body); + final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); + requestInfo.configure(requestConfiguration, PostRequestConfiguration::new); + requestInfo.headers.tryAdd("Accept", "application/json"); + requestInfo.setContentFromParsable(requestAdapter, "application/json", body); + 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 RestoreRequestBuilder} + */ + @jakarta.annotation.Nonnull + public RestoreRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { + Objects.requireNonNull(rawUrl); + return new RestoreRequestBuilder(rawUrl, requestAdapter); + } + /** + * Configuration for the request such as headers, query parameters, and middleware options. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class PostRequestConfiguration extends BaseRequestConfiguration { + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/teams/item/channels/item/messages/MessagesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/teams/item/channels/item/messages/MessagesRequestBuilder.java index b5634bc682b..d50ec09f896 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/teams/item/channels/item/messages/MessagesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/teams/item/channels/item/messages/MessagesRequestBuilder.java @@ -111,23 +111,23 @@ public ChatMessageCollectionResponse get(@jakarta.annotation.Nullable final java return this.requestAdapter.send(requestInfo, errorMapping, ChatMessageCollectionResponse::createFromDiscriminatorValue); } /** - * Send a new chatMessage in the specified channel or a chat. + * Send a new chatMessage in the specified channel. * @param body The request body * @return a {@link ChatMessage} * @throws ODataError When receiving a 4XX or 5XX status code - * @see Find more info here + * @see Find more info here */ @jakarta.annotation.Nullable public ChatMessage post(@jakarta.annotation.Nonnull final ChatMessage body) { return post(body, null); } /** - * Send a new chatMessage in the specified channel or a chat. + * Send a new chatMessage in the specified channel. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link ChatMessage} * @throws ODataError When receiving a 4XX or 5XX status code - * @see Find more info here + * @see Find more info here */ @jakarta.annotation.Nullable public ChatMessage post(@jakarta.annotation.Nonnull final ChatMessage body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { @@ -158,7 +158,7 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f return requestInfo; } /** - * Send a new chatMessage in the specified channel or a chat. + * Send a new chatMessage in the specified channel. * @param body The request body * @return a {@link RequestInformation} */ @@ -167,7 +167,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f return toPostRequestInformation(body, null); } /** - * Send a new chatMessage in the specified channel or a chat. + * Send a new chatMessage in the specified channel. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} diff --git a/src/main/java/com/microsoft/graph/beta/generated/teamwork/teamtemplates/TeamTemplatesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/teamwork/teamtemplates/TeamTemplatesRequestBuilder.java index 2b75d7f4a00..9e9ae4eb28f 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/teamwork/teamtemplates/TeamTemplatesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/teamwork/teamtemplates/TeamTemplatesRequestBuilder.java @@ -60,21 +60,21 @@ public TeamTemplatesRequestBuilder(@jakarta.annotation.Nonnull final String rawU super(requestAdapter, "{+baseurl}/teamwork/teamTemplates{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl); } /** - * Get the list of teamTemplate objects that are available for a tenant. + * List the teamTemplateDefinition objects associated with a teamTemplate. * @return a {@link TeamTemplateCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code - * @see Find more info here + * @see Find more info here */ @jakarta.annotation.Nullable public TeamTemplateCollectionResponse get() { return get(null); } /** - * Get the list of teamTemplate objects that are available for a tenant. + * List the teamTemplateDefinition objects associated with a teamTemplate. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link TeamTemplateCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code - * @see Find more info here + * @see Find more info here */ @jakarta.annotation.Nullable public TeamTemplateCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { @@ -109,7 +109,7 @@ public TeamTemplate post(@jakarta.annotation.Nonnull final TeamTemplate body, @j return this.requestAdapter.send(requestInfo, errorMapping, TeamTemplate::createFromDiscriminatorValue); } /** - * Get the list of teamTemplate objects that are available for a tenant. + * List the teamTemplateDefinition objects associated with a teamTemplate. * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull @@ -117,7 +117,7 @@ public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } /** - * Get the list of teamTemplate objects that are available for a tenant. + * List the teamTemplateDefinition objects associated with a teamTemplate. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} */ @@ -163,7 +163,7 @@ public TeamTemplatesRequestBuilder withUrl(@jakarta.annotation.Nonnull final Str return new TeamTemplatesRequestBuilder(rawUrl, requestAdapter); } /** - * Get the list of teamTemplate objects that are available for a tenant. + * List the teamTemplateDefinition objects associated with a teamTemplate. */ @jakarta.annotation.Generated("com.microsoft.kiota") public class GetQueryParameters implements QueryParameters { diff --git a/src/main/java/com/microsoft/graph/beta/generated/tenantrelationships/multitenantorganization/MultiTenantOrganizationRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/tenantrelationships/multitenantorganization/MultiTenantOrganizationRequestBuilder.java index 2bfd9cbbefa..87467d94fbc 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/tenantrelationships/multitenantorganization/MultiTenantOrganizationRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/tenantrelationships/multitenantorganization/MultiTenantOrganizationRequestBuilder.java @@ -79,23 +79,23 @@ public MultiTenantOrganization get(@jakarta.annotation.Nullable final java.util. return this.requestAdapter.send(requestInfo, errorMapping, MultiTenantOrganization::createFromDiscriminatorValue); } /** - * Create a new multi-tenant organization. By default, the creator tenant becomes an owner tenant upon successful creation. Only owner tenants can manage a multi-tenant organization. To allow for asynchronous processing, you must wait a minimum of 2 hours between creation and joining a multi-tenant organization. + * Update the properties of a multi-tenant organization. * @param body The request body * @return a {@link MultiTenantOrganization} * @throws ODataError When receiving a 4XX or 5XX status code - * @see Find more info here + * @see Find more info here */ @jakarta.annotation.Nullable public MultiTenantOrganization patch(@jakarta.annotation.Nonnull final MultiTenantOrganization body) { return patch(body, null); } /** - * Create a new multi-tenant organization. By default, the creator tenant becomes an owner tenant upon successful creation. Only owner tenants can manage a multi-tenant organization. To allow for asynchronous processing, you must wait a minimum of 2 hours between creation and joining a multi-tenant organization. + * Update the properties of a multi-tenant organization. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link MultiTenantOrganization} * @throws ODataError When receiving a 4XX or 5XX status code - * @see Find more info here + * @see Find more info here */ @jakarta.annotation.Nullable public MultiTenantOrganization patch(@jakarta.annotation.Nonnull final MultiTenantOrganization body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { @@ -126,7 +126,7 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f return requestInfo; } /** - * Create a new multi-tenant organization. By default, the creator tenant becomes an owner tenant upon successful creation. Only owner tenants can manage a multi-tenant organization. To allow for asynchronous processing, you must wait a minimum of 2 hours between creation and joining a multi-tenant organization. + * Update the properties of a multi-tenant organization. * @param body The request body * @return a {@link RequestInformation} */ @@ -135,7 +135,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull return toPatchRequestInformation(body, null); } /** - * Create a new multi-tenant organization. By default, the creator tenant becomes an owner tenant upon successful creation. Only owner tenants can manage a multi-tenant organization. To allow for asynchronous processing, you must wait a minimum of 2 hours between creation and joining a multi-tenant organization. + * Update the properties of a multi-tenant organization. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} diff --git a/src/main/java/com/microsoft/graph/beta/generated/users/item/datasecurityandgovernance/sensitivitylabels/SensitivityLabelsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/users/item/datasecurityandgovernance/sensitivitylabels/SensitivityLabelsRequestBuilder.java index 13f8c1b63b8..c3be4ecc7b5 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/users/item/datasecurityandgovernance/sensitivitylabels/SensitivityLabelsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/users/item/datasecurityandgovernance/sensitivitylabels/SensitivityLabelsRequestBuilder.java @@ -3,6 +3,8 @@ import com.microsoft.graph.beta.models.odataerrors.ODataError; import com.microsoft.graph.beta.models.SensitivityLabel; import com.microsoft.graph.beta.models.SensitivityLabelCollectionResponse; +import com.microsoft.graph.beta.users.item.datasecurityandgovernance.sensitivitylabels.computeinheritancewithlabelidswithlocalewithcontentformats.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder; +import com.microsoft.graph.beta.users.item.datasecurityandgovernance.sensitivitylabels.computerightsandinheritance.ComputeRightsAndInheritanceRequestBuilder; import com.microsoft.graph.beta.users.item.datasecurityandgovernance.sensitivitylabels.count.CountRequestBuilder; import com.microsoft.graph.beta.users.item.datasecurityandgovernance.sensitivitylabels.evaluate.EvaluateRequestBuilder; import com.microsoft.graph.beta.users.item.datasecurityandgovernance.sensitivitylabels.item.SensitivityLabelItemRequestBuilder; @@ -24,6 +26,14 @@ */ @jakarta.annotation.Generated("com.microsoft.kiota") public class SensitivityLabelsRequestBuilder extends BaseRequestBuilder { + /** + * Provides operations to call the computeRightsAndInheritance method. + * @return a {@link ComputeRightsAndInheritanceRequestBuilder} + */ + @jakarta.annotation.Nonnull + public ComputeRightsAndInheritanceRequestBuilder computeRightsAndInheritance() { + return new ComputeRightsAndInheritanceRequestBuilder(pathParameters, requestAdapter); + } /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} @@ -52,6 +62,20 @@ public SensitivityLabelItemRequestBuilder bySensitivityLabelId(@jakarta.annotati urlTplParams.put("sensitivityLabel%2Did", sensitivityLabelId); return new SensitivityLabelItemRequestBuilder(urlTplParams, requestAdapter); } + /** + * Provides operations to call the computeInheritance method. + * @param contentFormats Usage: contentFormats={contentFormats} + * @param labelIds Usage: labelIds={labelIds} + * @param locale Usage: locale='{locale}' + * @return a {@link ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder} + */ + @jakarta.annotation.Nonnull + public ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder computeInheritanceWithLabelIdsWithLocaleWithContentFormats(@jakarta.annotation.Nonnull final String contentFormats, @jakarta.annotation.Nonnull final String labelIds, @jakarta.annotation.Nonnull final String locale) { + Objects.requireNonNull(contentFormats); + Objects.requireNonNull(labelIds); + Objects.requireNonNull(locale); + return new ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder(pathParameters, requestAdapter, contentFormats, labelIds, locale); + } /** * Instantiates a new {@link SensitivityLabelsRequestBuilder} and sets the default values. * @param pathParameters Path parameters for the request diff --git a/src/main/java/com/microsoft/graph/beta/generated/users/item/datasecurityandgovernance/sensitivitylabels/computeinheritancewithlabelidswithlocalewithcontentformats/ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/users/item/datasecurityandgovernance/sensitivitylabels/computeinheritancewithlabelidswithlocalewithcontentformats/ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder.java new file mode 100644 index 00000000000..91cd4890caf --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/users/item/datasecurityandgovernance/sensitivitylabels/computeinheritancewithlabelidswithlocalewithcontentformats/ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder.java @@ -0,0 +1,104 @@ +package com.microsoft.graph.beta.users.item.datasecurityandgovernance.sensitivitylabels.computeinheritancewithlabelidswithlocalewithcontentformats; + +import com.microsoft.graph.beta.models.odataerrors.ODataError; +import com.microsoft.graph.beta.models.SensitivityLabel; +import com.microsoft.kiota.BaseRequestBuilder; +import com.microsoft.kiota.BaseRequestConfiguration; +import com.microsoft.kiota.HttpMethod; +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 call the computeInheritance method. + */ +@jakarta.annotation.Generated("com.microsoft.kiota") +public class ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder extends BaseRequestBuilder { + /** + * Instantiates a new {@link ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder} and sets the default values. + * @param contentFormats Usage: contentFormats={contentFormats} + * @param labelIds Usage: labelIds={labelIds} + * @param locale Usage: locale='{locale}' + * @param pathParameters Path parameters for the request + * @param requestAdapter The request adapter to use to execute the requests. + */ + public ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter, @jakarta.annotation.Nullable final String contentFormats, @jakarta.annotation.Nullable final String labelIds, @jakarta.annotation.Nullable final String locale) { + super(requestAdapter, "{+baseurl}/users/{user%2Did}/dataSecurityAndGovernance/sensitivityLabels/computeInheritance(labelIds={labelIds},locale='{locale}',contentFormats={contentFormats})", pathParameters); + this.pathParameters.put("contentFormats", contentFormats); + this.pathParameters.put("labelIds", labelIds); + this.pathParameters.put("locale", locale); + } + /** + * Instantiates a new {@link ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder} 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 ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/users/{user%2Did}/dataSecurityAndGovernance/sensitivityLabels/computeInheritance(labelIds={labelIds},locale='{locale}',contentFormats={contentFormats})", rawUrl); + } + /** + * Calculate the sensitivity label that should be inherited by an output artifact, given a set of sensitivity labels from input or referenced artifacts. + * @return a {@link SensitivityLabel} + * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here + */ + @jakarta.annotation.Nullable + public SensitivityLabel get() { + return get(null); + } + /** + * Calculate the sensitivity label that should be inherited by an output artifact, given a set of sensitivity labels from input or referenced artifacts. + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link SensitivityLabel} + * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here + */ + @jakarta.annotation.Nullable + public SensitivityLabel get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); + final HashMap> errorMapping = new HashMap>(); + errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); + return this.requestAdapter.send(requestInfo, errorMapping, SensitivityLabel::createFromDiscriminatorValue); + } + /** + * Calculate the sensitivity label that should be inherited by an output artifact, given a set of sensitivity labels from input or referenced artifacts. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toGetRequestInformation() { + return toGetRequestInformation(null); + } + /** + * Calculate the sensitivity label that should be inherited by an output artifact, given a set of sensitivity labels from input or referenced artifacts. + * @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 requestConfiguration) { + final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); + requestInfo.configure(requestConfiguration, GetRequestConfiguration::new); + 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 ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder} + */ + @jakarta.annotation.Nonnull + public ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { + Objects.requireNonNull(rawUrl); + return new ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder(rawUrl, requestAdapter); + } + /** + * Configuration for the request such as headers, query parameters, and middleware options. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class GetRequestConfiguration extends BaseRequestConfiguration { + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/users/item/datasecurityandgovernance/sensitivitylabels/computerightsandinheritance/ComputeRightsAndInheritancePostRequestBody.java b/src/main/java/com/microsoft/graph/beta/generated/users/item/datasecurityandgovernance/sensitivitylabels/computerightsandinheritance/ComputeRightsAndInheritancePostRequestBody.java new file mode 100644 index 00000000000..ed58d37c0ee --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/users/item/datasecurityandgovernance/sensitivitylabels/computerightsandinheritance/ComputeRightsAndInheritancePostRequestBody.java @@ -0,0 +1,159 @@ +package com.microsoft.graph.beta.users.item.datasecurityandgovernance.sensitivitylabels.computerightsandinheritance; + +import com.microsoft.graph.beta.models.ProtectedContent; +import com.microsoft.kiota.serialization.AdditionalDataHolder; +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParseNode; +import com.microsoft.kiota.serialization.SerializationWriter; +import com.microsoft.kiota.store.BackedModel; +import com.microsoft.kiota.store.BackingStore; +import com.microsoft.kiota.store.BackingStoreFactorySingleton; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +@jakarta.annotation.Generated("com.microsoft.kiota") +public class ComputeRightsAndInheritancePostRequestBody implements AdditionalDataHolder, BackedModel, Parsable { + /** + * Stores model information. + */ + @jakarta.annotation.Nonnull + protected BackingStore backingStore; + /** + * Instantiates a new {@link ComputeRightsAndInheritancePostRequestBody} and sets the default values. + */ + public ComputeRightsAndInheritancePostRequestBody() { + this.backingStore = BackingStoreFactorySingleton.instance.createBackingStore(); + this.setAdditionalData(new HashMap<>()); + } + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param parseNode The parse node to use to read the discriminator value and create the object + * @return a {@link ComputeRightsAndInheritancePostRequestBody} + */ + @jakarta.annotation.Nonnull + public static ComputeRightsAndInheritancePostRequestBody createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) { + Objects.requireNonNull(parseNode); + return new ComputeRightsAndInheritancePostRequestBody(); + } + /** + * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @return a {@link Map} + */ + @jakarta.annotation.Nonnull + public Map getAdditionalData() { + Map value = this.backingStore.get("additionalData"); + if(value == null) { + value = new HashMap<>(); + this.setAdditionalData(value); + } + return value; + } + /** + * Gets the backingStore property value. Stores model information. + * @return a {@link BackingStore} + */ + @jakarta.annotation.Nonnull + public BackingStore getBackingStore() { + return this.backingStore; + } + /** + * Gets the delegatedUserEmail property value. The delegatedUserEmail property + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String getDelegatedUserEmail() { + return this.backingStore.get("delegatedUserEmail"); + } + /** + * The deserialization information for the current model + * @return a {@link Map>} + */ + @jakarta.annotation.Nonnull + public Map> getFieldDeserializers() { + final HashMap> deserializerMap = new HashMap>(4); + deserializerMap.put("delegatedUserEmail", (n) -> { this.setDelegatedUserEmail(n.getStringValue()); }); + deserializerMap.put("locale", (n) -> { this.setLocale(n.getStringValue()); }); + deserializerMap.put("protectedContents", (n) -> { this.setProtectedContents(n.getCollectionOfObjectValues(ProtectedContent::createFromDiscriminatorValue)); }); + deserializerMap.put("supportedContentFormats", (n) -> { this.setSupportedContentFormats(n.getCollectionOfPrimitiveValues(String.class)); }); + return deserializerMap; + } + /** + * Gets the locale property value. The locale property + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String getLocale() { + return this.backingStore.get("locale"); + } + /** + * Gets the protectedContents property value. The protectedContents property + * @return a {@link java.util.List} + */ + @jakarta.annotation.Nullable + public java.util.List getProtectedContents() { + return this.backingStore.get("protectedContents"); + } + /** + * Gets the supportedContentFormats property value. The supportedContentFormats property + * @return a {@link java.util.List} + */ + @jakarta.annotation.Nullable + public java.util.List getSupportedContentFormats() { + return this.backingStore.get("supportedContentFormats"); + } + /** + * Serializes information the current object + * @param writer Serialization writer to use to serialize this model + */ + public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writer) { + Objects.requireNonNull(writer); + writer.writeStringValue("delegatedUserEmail", this.getDelegatedUserEmail()); + writer.writeStringValue("locale", this.getLocale()); + writer.writeCollectionOfObjectValues("protectedContents", this.getProtectedContents()); + writer.writeCollectionOfPrimitiveValues("supportedContentFormats", this.getSupportedContentFormats()); + writer.writeAdditionalData(this.getAdditionalData()); + } + /** + * Sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @param value Value to set for the AdditionalData property. + */ + public void setAdditionalData(@jakarta.annotation.Nullable final Map value) { + this.backingStore.set("additionalData", value); + } + /** + * Sets the backingStore property value. Stores model information. + * @param value Value to set for the backingStore property. + */ + public void setBackingStore(@jakarta.annotation.Nonnull final BackingStore value) { + Objects.requireNonNull(value); + this.backingStore = value; + } + /** + * Sets the delegatedUserEmail property value. The delegatedUserEmail property + * @param value Value to set for the delegatedUserEmail property. + */ + public void setDelegatedUserEmail(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("delegatedUserEmail", value); + } + /** + * Sets the locale property value. The locale property + * @param value Value to set for the locale property. + */ + public void setLocale(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("locale", value); + } + /** + * Sets the protectedContents property value. The protectedContents property + * @param value Value to set for the protectedContents property. + */ + public void setProtectedContents(@jakarta.annotation.Nullable final java.util.List value) { + this.backingStore.set("protectedContents", value); + } + /** + * Sets the supportedContentFormats property value. The supportedContentFormats property + * @param value Value to set for the supportedContentFormats property. + */ + public void setSupportedContentFormats(@jakarta.annotation.Nullable final java.util.List value) { + this.backingStore.set("supportedContentFormats", value); + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/users/item/datasecurityandgovernance/sensitivitylabels/computerightsandinheritance/ComputeRightsAndInheritanceRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/users/item/datasecurityandgovernance/sensitivitylabels/computerightsandinheritance/ComputeRightsAndInheritanceRequestBuilder.java new file mode 100644 index 00000000000..149561cd9e0 --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/users/item/datasecurityandgovernance/sensitivitylabels/computerightsandinheritance/ComputeRightsAndInheritanceRequestBuilder.java @@ -0,0 +1,105 @@ +package com.microsoft.graph.beta.users.item.datasecurityandgovernance.sensitivitylabels.computerightsandinheritance; + +import com.microsoft.graph.beta.models.ComputeRightsAndInheritanceResult; +import com.microsoft.graph.beta.models.odataerrors.ODataError; +import com.microsoft.kiota.BaseRequestBuilder; +import com.microsoft.kiota.BaseRequestConfiguration; +import com.microsoft.kiota.HttpMethod; +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 call the computeRightsAndInheritance method. + */ +@jakarta.annotation.Generated("com.microsoft.kiota") +public class ComputeRightsAndInheritanceRequestBuilder extends BaseRequestBuilder { + /** + * Instantiates a new {@link ComputeRightsAndInheritanceRequestBuilder} and sets the default values. + * @param pathParameters Path parameters for the request + * @param requestAdapter The request adapter to use to execute the requests. + */ + public ComputeRightsAndInheritanceRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/users/{user%2Did}/dataSecurityAndGovernance/sensitivityLabels/computeRightsAndInheritance", pathParameters); + } + /** + * Instantiates a new {@link ComputeRightsAndInheritanceRequestBuilder} 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 ComputeRightsAndInheritanceRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/users/{user%2Did}/dataSecurityAndGovernance/sensitivityLabels/computeRightsAndInheritance", rawUrl); + } + /** + * Computes the rights and inheritance for sensitivity labels based on the input content and labels. + * @param body The request body + * @return a {@link ComputeRightsAndInheritanceResult} + * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here + */ + @jakarta.annotation.Nullable + public ComputeRightsAndInheritanceResult post(@jakarta.annotation.Nonnull final ComputeRightsAndInheritancePostRequestBody body) { + return post(body, null); + } + /** + * Computes the rights and inheritance for sensitivity labels based on the input content and labels. + * @param body The request body + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link ComputeRightsAndInheritanceResult} + * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here + */ + @jakarta.annotation.Nullable + public ComputeRightsAndInheritanceResult post(@jakarta.annotation.Nonnull final ComputeRightsAndInheritancePostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + Objects.requireNonNull(body); + final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); + final HashMap> errorMapping = new HashMap>(); + errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); + return this.requestAdapter.send(requestInfo, errorMapping, ComputeRightsAndInheritanceResult::createFromDiscriminatorValue); + } + /** + * Computes the rights and inheritance for sensitivity labels based on the input content and labels. + * @param body The request body + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final ComputeRightsAndInheritancePostRequestBody body) { + return toPostRequestInformation(body, null); + } + /** + * Computes the rights and inheritance for sensitivity labels based on the input content and labels. + * @param body The request body + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final ComputeRightsAndInheritancePostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + Objects.requireNonNull(body); + final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); + requestInfo.configure(requestConfiguration, PostRequestConfiguration::new); + requestInfo.headers.tryAdd("Accept", "application/json"); + requestInfo.setContentFromParsable(requestAdapter, "application/json", body); + 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 ComputeRightsAndInheritanceRequestBuilder} + */ + @jakarta.annotation.Nonnull + public ComputeRightsAndInheritanceRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { + Objects.requireNonNull(rawUrl); + return new ComputeRightsAndInheritanceRequestBuilder(rawUrl, requestAdapter); + } + /** + * Configuration for the request such as headers, query parameters, and middleware options. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class PostRequestConfiguration extends BaseRequestConfiguration { + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/users/item/datasecurityandgovernance/sensitivitylabels/item/SensitivityLabelItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/users/item/datasecurityandgovernance/sensitivitylabels/item/SensitivityLabelItemRequestBuilder.java index 75118ce162f..aa72e64a4b4 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/users/item/datasecurityandgovernance/sensitivitylabels/item/SensitivityLabelItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/users/item/datasecurityandgovernance/sensitivitylabels/item/SensitivityLabelItemRequestBuilder.java @@ -2,6 +2,7 @@ import com.microsoft.graph.beta.models.odataerrors.ODataError; import com.microsoft.graph.beta.models.SensitivityLabel; +import com.microsoft.graph.beta.users.item.datasecurityandgovernance.sensitivitylabels.item.rights.RightsRequestBuilder; import com.microsoft.graph.beta.users.item.datasecurityandgovernance.sensitivitylabels.item.sublabels.SublabelsRequestBuilder; import com.microsoft.kiota.BaseRequestBuilder; import com.microsoft.kiota.BaseRequestConfiguration; @@ -21,6 +22,14 @@ */ @jakarta.annotation.Generated("com.microsoft.kiota") public class SensitivityLabelItemRequestBuilder extends BaseRequestBuilder { + /** + * Provides operations to manage the rights property of the microsoft.graph.sensitivityLabel entity. + * @return a {@link RightsRequestBuilder} + */ + @jakarta.annotation.Nonnull + public RightsRequestBuilder rights() { + return new RightsRequestBuilder(pathParameters, requestAdapter); + } /** * Provides operations to manage the sublabels property of the microsoft.graph.sensitivityLabel entity. * @return a {@link SublabelsRequestBuilder} diff --git a/src/main/java/com/microsoft/graph/beta/generated/users/item/datasecurityandgovernance/sensitivitylabels/item/rights/RightsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/users/item/datasecurityandgovernance/sensitivitylabels/item/rights/RightsRequestBuilder.java new file mode 100644 index 00000000000..b80a36141c8 --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/users/item/datasecurityandgovernance/sensitivitylabels/item/rights/RightsRequestBuilder.java @@ -0,0 +1,129 @@ +package com.microsoft.graph.beta.users.item.datasecurityandgovernance.sensitivitylabels.item.rights; + +import com.microsoft.graph.beta.models.odataerrors.ODataError; +import com.microsoft.graph.beta.models.UsageRightsIncluded; +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 rights property of the microsoft.graph.sensitivityLabel entity. + */ +@jakarta.annotation.Generated("com.microsoft.kiota") +public class RightsRequestBuilder extends BaseRequestBuilder { + /** + * Instantiates a new {@link RightsRequestBuilder} and sets the default values. + * @param pathParameters Path parameters for the request + * @param requestAdapter The request adapter to use to execute the requests. + */ + public RightsRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/users/{user%2Did}/dataSecurityAndGovernance/sensitivityLabels/{sensitivityLabel%2Did}/rights{?%24expand,%24select}", pathParameters); + } + /** + * Instantiates a new {@link RightsRequestBuilder} 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 RightsRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/users/{user%2Did}/dataSecurityAndGovernance/sensitivityLabels/{sensitivityLabel%2Did}/rights{?%24expand,%24select}", rawUrl); + } + /** + * Get rights from users + * @return a {@link UsageRightsIncluded} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public UsageRightsIncluded get() { + return get(null); + } + /** + * Get rights from users + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link UsageRightsIncluded} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public UsageRightsIncluded get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); + final HashMap> errorMapping = new HashMap>(); + errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); + return this.requestAdapter.send(requestInfo, errorMapping, UsageRightsIncluded::createFromDiscriminatorValue); + } + /** + * Get rights from users + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toGetRequestInformation() { + return toGetRequestInformation(null); + } + /** + * Get rights from users + * @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 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 RightsRequestBuilder} + */ + @jakarta.annotation.Nonnull + public RightsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { + Objects.requireNonNull(rawUrl); + return new RightsRequestBuilder(rawUrl, requestAdapter); + } + /** + * Get rights from users + */ + @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} + */ + @jakarta.annotation.Nonnull + public Map toQueryParameters() { + final Map 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(); + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/users/item/datasecurityandgovernance/sensitivitylabels/item/sublabels/SublabelsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/users/item/datasecurityandgovernance/sensitivitylabels/item/sublabels/SublabelsRequestBuilder.java index 9ff20ac1ddb..e0fd51efd45 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/users/item/datasecurityandgovernance/sensitivitylabels/item/sublabels/SublabelsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/users/item/datasecurityandgovernance/sensitivitylabels/item/sublabels/SublabelsRequestBuilder.java @@ -3,6 +3,8 @@ import com.microsoft.graph.beta.models.odataerrors.ODataError; import com.microsoft.graph.beta.models.SensitivityLabel; import com.microsoft.graph.beta.models.SensitivityLabelCollectionResponse; +import com.microsoft.graph.beta.users.item.datasecurityandgovernance.sensitivitylabels.item.sublabels.computeinheritancewithlabelidswithlocalewithcontentformats.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder; +import com.microsoft.graph.beta.users.item.datasecurityandgovernance.sensitivitylabels.item.sublabels.computerightsandinheritance.ComputeRightsAndInheritanceRequestBuilder; import com.microsoft.graph.beta.users.item.datasecurityandgovernance.sensitivitylabels.item.sublabels.count.CountRequestBuilder; import com.microsoft.graph.beta.users.item.datasecurityandgovernance.sensitivitylabels.item.sublabels.evaluate.EvaluateRequestBuilder; import com.microsoft.graph.beta.users.item.datasecurityandgovernance.sensitivitylabels.item.sublabels.item.SensitivityLabelItemRequestBuilder; @@ -24,6 +26,14 @@ */ @jakarta.annotation.Generated("com.microsoft.kiota") public class SublabelsRequestBuilder extends BaseRequestBuilder { + /** + * Provides operations to call the computeRightsAndInheritance method. + * @return a {@link ComputeRightsAndInheritanceRequestBuilder} + */ + @jakarta.annotation.Nonnull + public ComputeRightsAndInheritanceRequestBuilder computeRightsAndInheritance() { + return new ComputeRightsAndInheritanceRequestBuilder(pathParameters, requestAdapter); + } /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} @@ -52,6 +62,20 @@ public SensitivityLabelItemRequestBuilder bySensitivityLabelId1(@jakarta.annotat urlTplParams.put("sensitivityLabel%2Did1", sensitivityLabelId1); return new SensitivityLabelItemRequestBuilder(urlTplParams, requestAdapter); } + /** + * Provides operations to call the computeInheritance method. + * @param contentFormats Usage: contentFormats={contentFormats} + * @param labelIds Usage: labelIds={labelIds} + * @param locale Usage: locale='{locale}' + * @return a {@link ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder} + */ + @jakarta.annotation.Nonnull + public ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder computeInheritanceWithLabelIdsWithLocaleWithContentFormats(@jakarta.annotation.Nonnull final String contentFormats, @jakarta.annotation.Nonnull final String labelIds, @jakarta.annotation.Nonnull final String locale) { + Objects.requireNonNull(contentFormats); + Objects.requireNonNull(labelIds); + Objects.requireNonNull(locale); + return new ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder(pathParameters, requestAdapter, contentFormats, labelIds, locale); + } /** * Instantiates a new {@link SublabelsRequestBuilder} and sets the default values. * @param pathParameters Path parameters for the request diff --git a/src/main/java/com/microsoft/graph/beta/generated/users/item/datasecurityandgovernance/sensitivitylabels/item/sublabels/computeinheritancewithlabelidswithlocalewithcontentformats/ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/users/item/datasecurityandgovernance/sensitivitylabels/item/sublabels/computeinheritancewithlabelidswithlocalewithcontentformats/ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder.java new file mode 100644 index 00000000000..111f4312e68 --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/users/item/datasecurityandgovernance/sensitivitylabels/item/sublabels/computeinheritancewithlabelidswithlocalewithcontentformats/ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder.java @@ -0,0 +1,104 @@ +package com.microsoft.graph.beta.users.item.datasecurityandgovernance.sensitivitylabels.item.sublabels.computeinheritancewithlabelidswithlocalewithcontentformats; + +import com.microsoft.graph.beta.models.odataerrors.ODataError; +import com.microsoft.graph.beta.models.SensitivityLabel; +import com.microsoft.kiota.BaseRequestBuilder; +import com.microsoft.kiota.BaseRequestConfiguration; +import com.microsoft.kiota.HttpMethod; +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 call the computeInheritance method. + */ +@jakarta.annotation.Generated("com.microsoft.kiota") +public class ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder extends BaseRequestBuilder { + /** + * Instantiates a new {@link ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder} and sets the default values. + * @param contentFormats Usage: contentFormats={contentFormats} + * @param labelIds Usage: labelIds={labelIds} + * @param locale Usage: locale='{locale}' + * @param pathParameters Path parameters for the request + * @param requestAdapter The request adapter to use to execute the requests. + */ + public ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter, @jakarta.annotation.Nullable final String contentFormats, @jakarta.annotation.Nullable final String labelIds, @jakarta.annotation.Nullable final String locale) { + super(requestAdapter, "{+baseurl}/users/{user%2Did}/dataSecurityAndGovernance/sensitivityLabels/{sensitivityLabel%2Did}/sublabels/computeInheritance(labelIds={labelIds},locale='{locale}',contentFormats={contentFormats})", pathParameters); + this.pathParameters.put("contentFormats", contentFormats); + this.pathParameters.put("labelIds", labelIds); + this.pathParameters.put("locale", locale); + } + /** + * Instantiates a new {@link ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder} 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 ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/users/{user%2Did}/dataSecurityAndGovernance/sensitivityLabels/{sensitivityLabel%2Did}/sublabels/computeInheritance(labelIds={labelIds},locale='{locale}',contentFormats={contentFormats})", rawUrl); + } + /** + * Calculate the sensitivity label that should be inherited by an output artifact, given a set of sensitivity labels from input or referenced artifacts. + * @return a {@link SensitivityLabel} + * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here + */ + @jakarta.annotation.Nullable + public SensitivityLabel get() { + return get(null); + } + /** + * Calculate the sensitivity label that should be inherited by an output artifact, given a set of sensitivity labels from input or referenced artifacts. + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link SensitivityLabel} + * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here + */ + @jakarta.annotation.Nullable + public SensitivityLabel get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); + final HashMap> errorMapping = new HashMap>(); + errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); + return this.requestAdapter.send(requestInfo, errorMapping, SensitivityLabel::createFromDiscriminatorValue); + } + /** + * Calculate the sensitivity label that should be inherited by an output artifact, given a set of sensitivity labels from input or referenced artifacts. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toGetRequestInformation() { + return toGetRequestInformation(null); + } + /** + * Calculate the sensitivity label that should be inherited by an output artifact, given a set of sensitivity labels from input or referenced artifacts. + * @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 requestConfiguration) { + final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); + requestInfo.configure(requestConfiguration, GetRequestConfiguration::new); + 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 ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder} + */ + @jakarta.annotation.Nonnull + public ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { + Objects.requireNonNull(rawUrl); + return new ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder(rawUrl, requestAdapter); + } + /** + * Configuration for the request such as headers, query parameters, and middleware options. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class GetRequestConfiguration extends BaseRequestConfiguration { + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/users/item/datasecurityandgovernance/sensitivitylabels/item/sublabels/computerightsandinheritance/ComputeRightsAndInheritancePostRequestBody.java b/src/main/java/com/microsoft/graph/beta/generated/users/item/datasecurityandgovernance/sensitivitylabels/item/sublabels/computerightsandinheritance/ComputeRightsAndInheritancePostRequestBody.java new file mode 100644 index 00000000000..54094723da0 --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/users/item/datasecurityandgovernance/sensitivitylabels/item/sublabels/computerightsandinheritance/ComputeRightsAndInheritancePostRequestBody.java @@ -0,0 +1,159 @@ +package com.microsoft.graph.beta.users.item.datasecurityandgovernance.sensitivitylabels.item.sublabels.computerightsandinheritance; + +import com.microsoft.graph.beta.models.ProtectedContent; +import com.microsoft.kiota.serialization.AdditionalDataHolder; +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParseNode; +import com.microsoft.kiota.serialization.SerializationWriter; +import com.microsoft.kiota.store.BackedModel; +import com.microsoft.kiota.store.BackingStore; +import com.microsoft.kiota.store.BackingStoreFactorySingleton; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +@jakarta.annotation.Generated("com.microsoft.kiota") +public class ComputeRightsAndInheritancePostRequestBody implements AdditionalDataHolder, BackedModel, Parsable { + /** + * Stores model information. + */ + @jakarta.annotation.Nonnull + protected BackingStore backingStore; + /** + * Instantiates a new {@link ComputeRightsAndInheritancePostRequestBody} and sets the default values. + */ + public ComputeRightsAndInheritancePostRequestBody() { + this.backingStore = BackingStoreFactorySingleton.instance.createBackingStore(); + this.setAdditionalData(new HashMap<>()); + } + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param parseNode The parse node to use to read the discriminator value and create the object + * @return a {@link ComputeRightsAndInheritancePostRequestBody} + */ + @jakarta.annotation.Nonnull + public static ComputeRightsAndInheritancePostRequestBody createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) { + Objects.requireNonNull(parseNode); + return new ComputeRightsAndInheritancePostRequestBody(); + } + /** + * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @return a {@link Map} + */ + @jakarta.annotation.Nonnull + public Map getAdditionalData() { + Map value = this.backingStore.get("additionalData"); + if(value == null) { + value = new HashMap<>(); + this.setAdditionalData(value); + } + return value; + } + /** + * Gets the backingStore property value. Stores model information. + * @return a {@link BackingStore} + */ + @jakarta.annotation.Nonnull + public BackingStore getBackingStore() { + return this.backingStore; + } + /** + * Gets the delegatedUserEmail property value. The delegatedUserEmail property + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String getDelegatedUserEmail() { + return this.backingStore.get("delegatedUserEmail"); + } + /** + * The deserialization information for the current model + * @return a {@link Map>} + */ + @jakarta.annotation.Nonnull + public Map> getFieldDeserializers() { + final HashMap> deserializerMap = new HashMap>(4); + deserializerMap.put("delegatedUserEmail", (n) -> { this.setDelegatedUserEmail(n.getStringValue()); }); + deserializerMap.put("locale", (n) -> { this.setLocale(n.getStringValue()); }); + deserializerMap.put("protectedContents", (n) -> { this.setProtectedContents(n.getCollectionOfObjectValues(ProtectedContent::createFromDiscriminatorValue)); }); + deserializerMap.put("supportedContentFormats", (n) -> { this.setSupportedContentFormats(n.getCollectionOfPrimitiveValues(String.class)); }); + return deserializerMap; + } + /** + * Gets the locale property value. The locale property + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String getLocale() { + return this.backingStore.get("locale"); + } + /** + * Gets the protectedContents property value. The protectedContents property + * @return a {@link java.util.List} + */ + @jakarta.annotation.Nullable + public java.util.List getProtectedContents() { + return this.backingStore.get("protectedContents"); + } + /** + * Gets the supportedContentFormats property value. The supportedContentFormats property + * @return a {@link java.util.List} + */ + @jakarta.annotation.Nullable + public java.util.List getSupportedContentFormats() { + return this.backingStore.get("supportedContentFormats"); + } + /** + * Serializes information the current object + * @param writer Serialization writer to use to serialize this model + */ + public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writer) { + Objects.requireNonNull(writer); + writer.writeStringValue("delegatedUserEmail", this.getDelegatedUserEmail()); + writer.writeStringValue("locale", this.getLocale()); + writer.writeCollectionOfObjectValues("protectedContents", this.getProtectedContents()); + writer.writeCollectionOfPrimitiveValues("supportedContentFormats", this.getSupportedContentFormats()); + writer.writeAdditionalData(this.getAdditionalData()); + } + /** + * Sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @param value Value to set for the AdditionalData property. + */ + public void setAdditionalData(@jakarta.annotation.Nullable final Map value) { + this.backingStore.set("additionalData", value); + } + /** + * Sets the backingStore property value. Stores model information. + * @param value Value to set for the backingStore property. + */ + public void setBackingStore(@jakarta.annotation.Nonnull final BackingStore value) { + Objects.requireNonNull(value); + this.backingStore = value; + } + /** + * Sets the delegatedUserEmail property value. The delegatedUserEmail property + * @param value Value to set for the delegatedUserEmail property. + */ + public void setDelegatedUserEmail(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("delegatedUserEmail", value); + } + /** + * Sets the locale property value. The locale property + * @param value Value to set for the locale property. + */ + public void setLocale(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("locale", value); + } + /** + * Sets the protectedContents property value. The protectedContents property + * @param value Value to set for the protectedContents property. + */ + public void setProtectedContents(@jakarta.annotation.Nullable final java.util.List value) { + this.backingStore.set("protectedContents", value); + } + /** + * Sets the supportedContentFormats property value. The supportedContentFormats property + * @param value Value to set for the supportedContentFormats property. + */ + public void setSupportedContentFormats(@jakarta.annotation.Nullable final java.util.List value) { + this.backingStore.set("supportedContentFormats", value); + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/users/item/datasecurityandgovernance/sensitivitylabels/item/sublabels/computerightsandinheritance/ComputeRightsAndInheritanceRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/users/item/datasecurityandgovernance/sensitivitylabels/item/sublabels/computerightsandinheritance/ComputeRightsAndInheritanceRequestBuilder.java new file mode 100644 index 00000000000..1c01da12654 --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/users/item/datasecurityandgovernance/sensitivitylabels/item/sublabels/computerightsandinheritance/ComputeRightsAndInheritanceRequestBuilder.java @@ -0,0 +1,105 @@ +package com.microsoft.graph.beta.users.item.datasecurityandgovernance.sensitivitylabels.item.sublabels.computerightsandinheritance; + +import com.microsoft.graph.beta.models.ComputeRightsAndInheritanceResult; +import com.microsoft.graph.beta.models.odataerrors.ODataError; +import com.microsoft.kiota.BaseRequestBuilder; +import com.microsoft.kiota.BaseRequestConfiguration; +import com.microsoft.kiota.HttpMethod; +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 call the computeRightsAndInheritance method. + */ +@jakarta.annotation.Generated("com.microsoft.kiota") +public class ComputeRightsAndInheritanceRequestBuilder extends BaseRequestBuilder { + /** + * Instantiates a new {@link ComputeRightsAndInheritanceRequestBuilder} and sets the default values. + * @param pathParameters Path parameters for the request + * @param requestAdapter The request adapter to use to execute the requests. + */ + public ComputeRightsAndInheritanceRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/users/{user%2Did}/dataSecurityAndGovernance/sensitivityLabels/{sensitivityLabel%2Did}/sublabels/computeRightsAndInheritance", pathParameters); + } + /** + * Instantiates a new {@link ComputeRightsAndInheritanceRequestBuilder} 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 ComputeRightsAndInheritanceRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/users/{user%2Did}/dataSecurityAndGovernance/sensitivityLabels/{sensitivityLabel%2Did}/sublabels/computeRightsAndInheritance", rawUrl); + } + /** + * Computes the rights and inheritance for sensitivity labels based on the input content and labels. + * @param body The request body + * @return a {@link ComputeRightsAndInheritanceResult} + * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here + */ + @jakarta.annotation.Nullable + public ComputeRightsAndInheritanceResult post(@jakarta.annotation.Nonnull final ComputeRightsAndInheritancePostRequestBody body) { + return post(body, null); + } + /** + * Computes the rights and inheritance for sensitivity labels based on the input content and labels. + * @param body The request body + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link ComputeRightsAndInheritanceResult} + * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here + */ + @jakarta.annotation.Nullable + public ComputeRightsAndInheritanceResult post(@jakarta.annotation.Nonnull final ComputeRightsAndInheritancePostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + Objects.requireNonNull(body); + final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); + final HashMap> errorMapping = new HashMap>(); + errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); + return this.requestAdapter.send(requestInfo, errorMapping, ComputeRightsAndInheritanceResult::createFromDiscriminatorValue); + } + /** + * Computes the rights and inheritance for sensitivity labels based on the input content and labels. + * @param body The request body + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final ComputeRightsAndInheritancePostRequestBody body) { + return toPostRequestInformation(body, null); + } + /** + * Computes the rights and inheritance for sensitivity labels based on the input content and labels. + * @param body The request body + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final ComputeRightsAndInheritancePostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + Objects.requireNonNull(body); + final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); + requestInfo.configure(requestConfiguration, PostRequestConfiguration::new); + requestInfo.headers.tryAdd("Accept", "application/json"); + requestInfo.setContentFromParsable(requestAdapter, "application/json", body); + 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 ComputeRightsAndInheritanceRequestBuilder} + */ + @jakarta.annotation.Nonnull + public ComputeRightsAndInheritanceRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { + Objects.requireNonNull(rawUrl); + return new ComputeRightsAndInheritanceRequestBuilder(rawUrl, requestAdapter); + } + /** + * Configuration for the request such as headers, query parameters, and middleware options. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class PostRequestConfiguration extends BaseRequestConfiguration { + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/users/item/datasecurityandgovernance/sensitivitylabels/item/sublabels/item/SensitivityLabelItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/users/item/datasecurityandgovernance/sensitivitylabels/item/sublabels/item/SensitivityLabelItemRequestBuilder.java index ac88c23b633..34104ec0408 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/users/item/datasecurityandgovernance/sensitivitylabels/item/sublabels/item/SensitivityLabelItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/users/item/datasecurityandgovernance/sensitivitylabels/item/sublabels/item/SensitivityLabelItemRequestBuilder.java @@ -2,6 +2,7 @@ import com.microsoft.graph.beta.models.odataerrors.ODataError; import com.microsoft.graph.beta.models.SensitivityLabel; +import com.microsoft.graph.beta.users.item.datasecurityandgovernance.sensitivitylabels.item.sublabels.item.rights.RightsRequestBuilder; import com.microsoft.kiota.BaseRequestBuilder; import com.microsoft.kiota.BaseRequestConfiguration; import com.microsoft.kiota.HttpMethod; @@ -20,6 +21,14 @@ */ @jakarta.annotation.Generated("com.microsoft.kiota") public class SensitivityLabelItemRequestBuilder extends BaseRequestBuilder { + /** + * Provides operations to manage the rights property of the microsoft.graph.sensitivityLabel entity. + * @return a {@link RightsRequestBuilder} + */ + @jakarta.annotation.Nonnull + public RightsRequestBuilder rights() { + return new RightsRequestBuilder(pathParameters, requestAdapter); + } /** * Instantiates a new {@link SensitivityLabelItemRequestBuilder} and sets the default values. * @param pathParameters Path parameters for the request diff --git a/src/main/java/com/microsoft/graph/beta/generated/users/item/datasecurityandgovernance/sensitivitylabels/item/sublabels/item/rights/RightsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/users/item/datasecurityandgovernance/sensitivitylabels/item/sublabels/item/rights/RightsRequestBuilder.java new file mode 100644 index 00000000000..c9ec2ab4cc8 --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/users/item/datasecurityandgovernance/sensitivitylabels/item/sublabels/item/rights/RightsRequestBuilder.java @@ -0,0 +1,129 @@ +package com.microsoft.graph.beta.users.item.datasecurityandgovernance.sensitivitylabels.item.sublabels.item.rights; + +import com.microsoft.graph.beta.models.odataerrors.ODataError; +import com.microsoft.graph.beta.models.UsageRightsIncluded; +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 rights property of the microsoft.graph.sensitivityLabel entity. + */ +@jakarta.annotation.Generated("com.microsoft.kiota") +public class RightsRequestBuilder extends BaseRequestBuilder { + /** + * Instantiates a new {@link RightsRequestBuilder} and sets the default values. + * @param pathParameters Path parameters for the request + * @param requestAdapter The request adapter to use to execute the requests. + */ + public RightsRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/users/{user%2Did}/dataSecurityAndGovernance/sensitivityLabels/{sensitivityLabel%2Did}/sublabels/{sensitivityLabel%2Did1}/rights{?%24expand,%24select}", pathParameters); + } + /** + * Instantiates a new {@link RightsRequestBuilder} 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 RightsRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/users/{user%2Did}/dataSecurityAndGovernance/sensitivityLabels/{sensitivityLabel%2Did}/sublabels/{sensitivityLabel%2Did1}/rights{?%24expand,%24select}", rawUrl); + } + /** + * Get rights from users + * @return a {@link UsageRightsIncluded} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public UsageRightsIncluded get() { + return get(null); + } + /** + * Get rights from users + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link UsageRightsIncluded} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public UsageRightsIncluded get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); + final HashMap> errorMapping = new HashMap>(); + errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); + return this.requestAdapter.send(requestInfo, errorMapping, UsageRightsIncluded::createFromDiscriminatorValue); + } + /** + * Get rights from users + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toGetRequestInformation() { + return toGetRequestInformation(null); + } + /** + * Get rights from users + * @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 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 RightsRequestBuilder} + */ + @jakarta.annotation.Nonnull + public RightsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { + Objects.requireNonNull(rawUrl); + return new RightsRequestBuilder(rawUrl, requestAdapter); + } + /** + * Get rights from users + */ + @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} + */ + @jakarta.annotation.Nonnull + public Map toQueryParameters() { + final Map 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(); + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/users/item/informationprotection/sensitivitylabels/SensitivityLabelsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/users/item/informationprotection/sensitivitylabels/SensitivityLabelsRequestBuilder.java index d1ccd86ca69..717fbffa64f 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/users/item/informationprotection/sensitivitylabels/SensitivityLabelsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/users/item/informationprotection/sensitivitylabels/SensitivityLabelsRequestBuilder.java @@ -3,6 +3,8 @@ import com.microsoft.graph.beta.models.odataerrors.ODataError; import com.microsoft.graph.beta.models.SensitivityLabel; import com.microsoft.graph.beta.models.SensitivityLabelCollectionResponse; +import com.microsoft.graph.beta.users.item.informationprotection.sensitivitylabels.computeinheritancewithlabelidswithlocalewithcontentformats.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder; +import com.microsoft.graph.beta.users.item.informationprotection.sensitivitylabels.computerightsandinheritance.ComputeRightsAndInheritanceRequestBuilder; import com.microsoft.graph.beta.users.item.informationprotection.sensitivitylabels.count.CountRequestBuilder; import com.microsoft.graph.beta.users.item.informationprotection.sensitivitylabels.evaluate.EvaluateRequestBuilder; import com.microsoft.graph.beta.users.item.informationprotection.sensitivitylabels.item.SensitivityLabelItemRequestBuilder; @@ -24,6 +26,14 @@ */ @jakarta.annotation.Generated("com.microsoft.kiota") public class SensitivityLabelsRequestBuilder extends BaseRequestBuilder { + /** + * Provides operations to call the computeRightsAndInheritance method. + * @return a {@link ComputeRightsAndInheritanceRequestBuilder} + */ + @jakarta.annotation.Nonnull + public ComputeRightsAndInheritanceRequestBuilder computeRightsAndInheritance() { + return new ComputeRightsAndInheritanceRequestBuilder(pathParameters, requestAdapter); + } /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} @@ -52,6 +62,20 @@ public SensitivityLabelItemRequestBuilder bySensitivityLabelId(@jakarta.annotati urlTplParams.put("sensitivityLabel%2Did", sensitivityLabelId); return new SensitivityLabelItemRequestBuilder(urlTplParams, requestAdapter); } + /** + * Provides operations to call the computeInheritance method. + * @param contentFormats Usage: contentFormats={contentFormats} + * @param labelIds Usage: labelIds={labelIds} + * @param locale Usage: locale='{locale}' + * @return a {@link ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder} + */ + @jakarta.annotation.Nonnull + public ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder computeInheritanceWithLabelIdsWithLocaleWithContentFormats(@jakarta.annotation.Nonnull final String contentFormats, @jakarta.annotation.Nonnull final String labelIds, @jakarta.annotation.Nonnull final String locale) { + Objects.requireNonNull(contentFormats); + Objects.requireNonNull(labelIds); + Objects.requireNonNull(locale); + return new ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder(pathParameters, requestAdapter, contentFormats, labelIds, locale); + } /** * Instantiates a new {@link SensitivityLabelsRequestBuilder} and sets the default values. * @param pathParameters Path parameters for the request diff --git a/src/main/java/com/microsoft/graph/beta/generated/users/item/informationprotection/sensitivitylabels/computeinheritancewithlabelidswithlocalewithcontentformats/ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/users/item/informationprotection/sensitivitylabels/computeinheritancewithlabelidswithlocalewithcontentformats/ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder.java new file mode 100644 index 00000000000..94202453d39 --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/users/item/informationprotection/sensitivitylabels/computeinheritancewithlabelidswithlocalewithcontentformats/ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder.java @@ -0,0 +1,104 @@ +package com.microsoft.graph.beta.users.item.informationprotection.sensitivitylabels.computeinheritancewithlabelidswithlocalewithcontentformats; + +import com.microsoft.graph.beta.models.odataerrors.ODataError; +import com.microsoft.graph.beta.models.SensitivityLabel; +import com.microsoft.kiota.BaseRequestBuilder; +import com.microsoft.kiota.BaseRequestConfiguration; +import com.microsoft.kiota.HttpMethod; +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 call the computeInheritance method. + */ +@jakarta.annotation.Generated("com.microsoft.kiota") +public class ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder extends BaseRequestBuilder { + /** + * Instantiates a new {@link ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder} and sets the default values. + * @param contentFormats Usage: contentFormats={contentFormats} + * @param labelIds Usage: labelIds={labelIds} + * @param locale Usage: locale='{locale}' + * @param pathParameters Path parameters for the request + * @param requestAdapter The request adapter to use to execute the requests. + */ + public ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter, @jakarta.annotation.Nullable final String contentFormats, @jakarta.annotation.Nullable final String labelIds, @jakarta.annotation.Nullable final String locale) { + super(requestAdapter, "{+baseurl}/users/{user%2Did}/informationProtection/sensitivityLabels/computeInheritance(labelIds={labelIds},locale='{locale}',contentFormats={contentFormats})", pathParameters); + this.pathParameters.put("contentFormats", contentFormats); + this.pathParameters.put("labelIds", labelIds); + this.pathParameters.put("locale", locale); + } + /** + * Instantiates a new {@link ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder} 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 ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/users/{user%2Did}/informationProtection/sensitivityLabels/computeInheritance(labelIds={labelIds},locale='{locale}',contentFormats={contentFormats})", rawUrl); + } + /** + * Calculate the sensitivity label that should be inherited by an output artifact, given a set of sensitivity labels from input or referenced artifacts. + * @return a {@link SensitivityLabel} + * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here + */ + @jakarta.annotation.Nullable + public SensitivityLabel get() { + return get(null); + } + /** + * Calculate the sensitivity label that should be inherited by an output artifact, given a set of sensitivity labels from input or referenced artifacts. + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link SensitivityLabel} + * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here + */ + @jakarta.annotation.Nullable + public SensitivityLabel get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); + final HashMap> errorMapping = new HashMap>(); + errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); + return this.requestAdapter.send(requestInfo, errorMapping, SensitivityLabel::createFromDiscriminatorValue); + } + /** + * Calculate the sensitivity label that should be inherited by an output artifact, given a set of sensitivity labels from input or referenced artifacts. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toGetRequestInformation() { + return toGetRequestInformation(null); + } + /** + * Calculate the sensitivity label that should be inherited by an output artifact, given a set of sensitivity labels from input or referenced artifacts. + * @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 requestConfiguration) { + final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); + requestInfo.configure(requestConfiguration, GetRequestConfiguration::new); + 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 ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder} + */ + @jakarta.annotation.Nonnull + public ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { + Objects.requireNonNull(rawUrl); + return new ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder(rawUrl, requestAdapter); + } + /** + * Configuration for the request such as headers, query parameters, and middleware options. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class GetRequestConfiguration extends BaseRequestConfiguration { + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/users/item/informationprotection/sensitivitylabels/computerightsandinheritance/ComputeRightsAndInheritancePostRequestBody.java b/src/main/java/com/microsoft/graph/beta/generated/users/item/informationprotection/sensitivitylabels/computerightsandinheritance/ComputeRightsAndInheritancePostRequestBody.java new file mode 100644 index 00000000000..7dc05cb8026 --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/users/item/informationprotection/sensitivitylabels/computerightsandinheritance/ComputeRightsAndInheritancePostRequestBody.java @@ -0,0 +1,159 @@ +package com.microsoft.graph.beta.users.item.informationprotection.sensitivitylabels.computerightsandinheritance; + +import com.microsoft.graph.beta.models.ProtectedContent; +import com.microsoft.kiota.serialization.AdditionalDataHolder; +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParseNode; +import com.microsoft.kiota.serialization.SerializationWriter; +import com.microsoft.kiota.store.BackedModel; +import com.microsoft.kiota.store.BackingStore; +import com.microsoft.kiota.store.BackingStoreFactorySingleton; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +@jakarta.annotation.Generated("com.microsoft.kiota") +public class ComputeRightsAndInheritancePostRequestBody implements AdditionalDataHolder, BackedModel, Parsable { + /** + * Stores model information. + */ + @jakarta.annotation.Nonnull + protected BackingStore backingStore; + /** + * Instantiates a new {@link ComputeRightsAndInheritancePostRequestBody} and sets the default values. + */ + public ComputeRightsAndInheritancePostRequestBody() { + this.backingStore = BackingStoreFactorySingleton.instance.createBackingStore(); + this.setAdditionalData(new HashMap<>()); + } + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param parseNode The parse node to use to read the discriminator value and create the object + * @return a {@link ComputeRightsAndInheritancePostRequestBody} + */ + @jakarta.annotation.Nonnull + public static ComputeRightsAndInheritancePostRequestBody createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) { + Objects.requireNonNull(parseNode); + return new ComputeRightsAndInheritancePostRequestBody(); + } + /** + * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @return a {@link Map} + */ + @jakarta.annotation.Nonnull + public Map getAdditionalData() { + Map value = this.backingStore.get("additionalData"); + if(value == null) { + value = new HashMap<>(); + this.setAdditionalData(value); + } + return value; + } + /** + * Gets the backingStore property value. Stores model information. + * @return a {@link BackingStore} + */ + @jakarta.annotation.Nonnull + public BackingStore getBackingStore() { + return this.backingStore; + } + /** + * Gets the delegatedUserEmail property value. The delegatedUserEmail property + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String getDelegatedUserEmail() { + return this.backingStore.get("delegatedUserEmail"); + } + /** + * The deserialization information for the current model + * @return a {@link Map>} + */ + @jakarta.annotation.Nonnull + public Map> getFieldDeserializers() { + final HashMap> deserializerMap = new HashMap>(4); + deserializerMap.put("delegatedUserEmail", (n) -> { this.setDelegatedUserEmail(n.getStringValue()); }); + deserializerMap.put("locale", (n) -> { this.setLocale(n.getStringValue()); }); + deserializerMap.put("protectedContents", (n) -> { this.setProtectedContents(n.getCollectionOfObjectValues(ProtectedContent::createFromDiscriminatorValue)); }); + deserializerMap.put("supportedContentFormats", (n) -> { this.setSupportedContentFormats(n.getCollectionOfPrimitiveValues(String.class)); }); + return deserializerMap; + } + /** + * Gets the locale property value. The locale property + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String getLocale() { + return this.backingStore.get("locale"); + } + /** + * Gets the protectedContents property value. The protectedContents property + * @return a {@link java.util.List} + */ + @jakarta.annotation.Nullable + public java.util.List getProtectedContents() { + return this.backingStore.get("protectedContents"); + } + /** + * Gets the supportedContentFormats property value. The supportedContentFormats property + * @return a {@link java.util.List} + */ + @jakarta.annotation.Nullable + public java.util.List getSupportedContentFormats() { + return this.backingStore.get("supportedContentFormats"); + } + /** + * Serializes information the current object + * @param writer Serialization writer to use to serialize this model + */ + public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writer) { + Objects.requireNonNull(writer); + writer.writeStringValue("delegatedUserEmail", this.getDelegatedUserEmail()); + writer.writeStringValue("locale", this.getLocale()); + writer.writeCollectionOfObjectValues("protectedContents", this.getProtectedContents()); + writer.writeCollectionOfPrimitiveValues("supportedContentFormats", this.getSupportedContentFormats()); + writer.writeAdditionalData(this.getAdditionalData()); + } + /** + * Sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @param value Value to set for the AdditionalData property. + */ + public void setAdditionalData(@jakarta.annotation.Nullable final Map value) { + this.backingStore.set("additionalData", value); + } + /** + * Sets the backingStore property value. Stores model information. + * @param value Value to set for the backingStore property. + */ + public void setBackingStore(@jakarta.annotation.Nonnull final BackingStore value) { + Objects.requireNonNull(value); + this.backingStore = value; + } + /** + * Sets the delegatedUserEmail property value. The delegatedUserEmail property + * @param value Value to set for the delegatedUserEmail property. + */ + public void setDelegatedUserEmail(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("delegatedUserEmail", value); + } + /** + * Sets the locale property value. The locale property + * @param value Value to set for the locale property. + */ + public void setLocale(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("locale", value); + } + /** + * Sets the protectedContents property value. The protectedContents property + * @param value Value to set for the protectedContents property. + */ + public void setProtectedContents(@jakarta.annotation.Nullable final java.util.List value) { + this.backingStore.set("protectedContents", value); + } + /** + * Sets the supportedContentFormats property value. The supportedContentFormats property + * @param value Value to set for the supportedContentFormats property. + */ + public void setSupportedContentFormats(@jakarta.annotation.Nullable final java.util.List value) { + this.backingStore.set("supportedContentFormats", value); + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/users/item/informationprotection/sensitivitylabels/computerightsandinheritance/ComputeRightsAndInheritanceRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/users/item/informationprotection/sensitivitylabels/computerightsandinheritance/ComputeRightsAndInheritanceRequestBuilder.java new file mode 100644 index 00000000000..0ba4c62e292 --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/users/item/informationprotection/sensitivitylabels/computerightsandinheritance/ComputeRightsAndInheritanceRequestBuilder.java @@ -0,0 +1,105 @@ +package com.microsoft.graph.beta.users.item.informationprotection.sensitivitylabels.computerightsandinheritance; + +import com.microsoft.graph.beta.models.ComputeRightsAndInheritanceResult; +import com.microsoft.graph.beta.models.odataerrors.ODataError; +import com.microsoft.kiota.BaseRequestBuilder; +import com.microsoft.kiota.BaseRequestConfiguration; +import com.microsoft.kiota.HttpMethod; +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 call the computeRightsAndInheritance method. + */ +@jakarta.annotation.Generated("com.microsoft.kiota") +public class ComputeRightsAndInheritanceRequestBuilder extends BaseRequestBuilder { + /** + * Instantiates a new {@link ComputeRightsAndInheritanceRequestBuilder} and sets the default values. + * @param pathParameters Path parameters for the request + * @param requestAdapter The request adapter to use to execute the requests. + */ + public ComputeRightsAndInheritanceRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/users/{user%2Did}/informationProtection/sensitivityLabels/computeRightsAndInheritance", pathParameters); + } + /** + * Instantiates a new {@link ComputeRightsAndInheritanceRequestBuilder} 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 ComputeRightsAndInheritanceRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/users/{user%2Did}/informationProtection/sensitivityLabels/computeRightsAndInheritance", rawUrl); + } + /** + * Computes the rights and inheritance for sensitivity labels based on the input content and labels. + * @param body The request body + * @return a {@link ComputeRightsAndInheritanceResult} + * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here + */ + @jakarta.annotation.Nullable + public ComputeRightsAndInheritanceResult post(@jakarta.annotation.Nonnull final ComputeRightsAndInheritancePostRequestBody body) { + return post(body, null); + } + /** + * Computes the rights and inheritance for sensitivity labels based on the input content and labels. + * @param body The request body + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link ComputeRightsAndInheritanceResult} + * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here + */ + @jakarta.annotation.Nullable + public ComputeRightsAndInheritanceResult post(@jakarta.annotation.Nonnull final ComputeRightsAndInheritancePostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + Objects.requireNonNull(body); + final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); + final HashMap> errorMapping = new HashMap>(); + errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); + return this.requestAdapter.send(requestInfo, errorMapping, ComputeRightsAndInheritanceResult::createFromDiscriminatorValue); + } + /** + * Computes the rights and inheritance for sensitivity labels based on the input content and labels. + * @param body The request body + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final ComputeRightsAndInheritancePostRequestBody body) { + return toPostRequestInformation(body, null); + } + /** + * Computes the rights and inheritance for sensitivity labels based on the input content and labels. + * @param body The request body + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final ComputeRightsAndInheritancePostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + Objects.requireNonNull(body); + final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); + requestInfo.configure(requestConfiguration, PostRequestConfiguration::new); + requestInfo.headers.tryAdd("Accept", "application/json"); + requestInfo.setContentFromParsable(requestAdapter, "application/json", body); + 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 ComputeRightsAndInheritanceRequestBuilder} + */ + @jakarta.annotation.Nonnull + public ComputeRightsAndInheritanceRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { + Objects.requireNonNull(rawUrl); + return new ComputeRightsAndInheritanceRequestBuilder(rawUrl, requestAdapter); + } + /** + * Configuration for the request such as headers, query parameters, and middleware options. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class PostRequestConfiguration extends BaseRequestConfiguration { + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/users/item/informationprotection/sensitivitylabels/item/SensitivityLabelItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/users/item/informationprotection/sensitivitylabels/item/SensitivityLabelItemRequestBuilder.java index e3b46997dc1..d88565c1221 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/users/item/informationprotection/sensitivitylabels/item/SensitivityLabelItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/users/item/informationprotection/sensitivitylabels/item/SensitivityLabelItemRequestBuilder.java @@ -2,6 +2,7 @@ import com.microsoft.graph.beta.models.odataerrors.ODataError; import com.microsoft.graph.beta.models.SensitivityLabel; +import com.microsoft.graph.beta.users.item.informationprotection.sensitivitylabels.item.rights.RightsRequestBuilder; import com.microsoft.graph.beta.users.item.informationprotection.sensitivitylabels.item.sublabels.SublabelsRequestBuilder; import com.microsoft.kiota.BaseRequestBuilder; import com.microsoft.kiota.BaseRequestConfiguration; @@ -21,6 +22,14 @@ */ @jakarta.annotation.Generated("com.microsoft.kiota") public class SensitivityLabelItemRequestBuilder extends BaseRequestBuilder { + /** + * Provides operations to manage the rights property of the microsoft.graph.sensitivityLabel entity. + * @return a {@link RightsRequestBuilder} + */ + @jakarta.annotation.Nonnull + public RightsRequestBuilder rights() { + return new RightsRequestBuilder(pathParameters, requestAdapter); + } /** * Provides operations to manage the sublabels property of the microsoft.graph.sensitivityLabel entity. * @return a {@link SublabelsRequestBuilder} diff --git a/src/main/java/com/microsoft/graph/beta/generated/users/item/informationprotection/sensitivitylabels/item/rights/RightsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/users/item/informationprotection/sensitivitylabels/item/rights/RightsRequestBuilder.java new file mode 100644 index 00000000000..bfdc2dc897c --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/users/item/informationprotection/sensitivitylabels/item/rights/RightsRequestBuilder.java @@ -0,0 +1,129 @@ +package com.microsoft.graph.beta.users.item.informationprotection.sensitivitylabels.item.rights; + +import com.microsoft.graph.beta.models.odataerrors.ODataError; +import com.microsoft.graph.beta.models.UsageRightsIncluded; +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 rights property of the microsoft.graph.sensitivityLabel entity. + */ +@jakarta.annotation.Generated("com.microsoft.kiota") +public class RightsRequestBuilder extends BaseRequestBuilder { + /** + * Instantiates a new {@link RightsRequestBuilder} and sets the default values. + * @param pathParameters Path parameters for the request + * @param requestAdapter The request adapter to use to execute the requests. + */ + public RightsRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/users/{user%2Did}/informationProtection/sensitivityLabels/{sensitivityLabel%2Did}/rights{?%24expand,%24select}", pathParameters); + } + /** + * Instantiates a new {@link RightsRequestBuilder} 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 RightsRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/users/{user%2Did}/informationProtection/sensitivityLabels/{sensitivityLabel%2Did}/rights{?%24expand,%24select}", rawUrl); + } + /** + * Get rights from users + * @return a {@link UsageRightsIncluded} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public UsageRightsIncluded get() { + return get(null); + } + /** + * Get rights from users + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link UsageRightsIncluded} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public UsageRightsIncluded get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); + final HashMap> errorMapping = new HashMap>(); + errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); + return this.requestAdapter.send(requestInfo, errorMapping, UsageRightsIncluded::createFromDiscriminatorValue); + } + /** + * Get rights from users + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toGetRequestInformation() { + return toGetRequestInformation(null); + } + /** + * Get rights from users + * @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 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 RightsRequestBuilder} + */ + @jakarta.annotation.Nonnull + public RightsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { + Objects.requireNonNull(rawUrl); + return new RightsRequestBuilder(rawUrl, requestAdapter); + } + /** + * Get rights from users + */ + @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} + */ + @jakarta.annotation.Nonnull + public Map toQueryParameters() { + final Map 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(); + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/users/item/informationprotection/sensitivitylabels/item/sublabels/SublabelsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/users/item/informationprotection/sensitivitylabels/item/sublabels/SublabelsRequestBuilder.java index 1877f831361..13e2de36e0d 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/users/item/informationprotection/sensitivitylabels/item/sublabels/SublabelsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/users/item/informationprotection/sensitivitylabels/item/sublabels/SublabelsRequestBuilder.java @@ -3,6 +3,8 @@ import com.microsoft.graph.beta.models.odataerrors.ODataError; import com.microsoft.graph.beta.models.SensitivityLabel; import com.microsoft.graph.beta.models.SensitivityLabelCollectionResponse; +import com.microsoft.graph.beta.users.item.informationprotection.sensitivitylabels.item.sublabels.computeinheritancewithlabelidswithlocalewithcontentformats.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder; +import com.microsoft.graph.beta.users.item.informationprotection.sensitivitylabels.item.sublabels.computerightsandinheritance.ComputeRightsAndInheritanceRequestBuilder; import com.microsoft.graph.beta.users.item.informationprotection.sensitivitylabels.item.sublabels.count.CountRequestBuilder; import com.microsoft.graph.beta.users.item.informationprotection.sensitivitylabels.item.sublabels.evaluate.EvaluateRequestBuilder; import com.microsoft.graph.beta.users.item.informationprotection.sensitivitylabels.item.sublabels.item.SensitivityLabelItemRequestBuilder; @@ -24,6 +26,14 @@ */ @jakarta.annotation.Generated("com.microsoft.kiota") public class SublabelsRequestBuilder extends BaseRequestBuilder { + /** + * Provides operations to call the computeRightsAndInheritance method. + * @return a {@link ComputeRightsAndInheritanceRequestBuilder} + */ + @jakarta.annotation.Nonnull + public ComputeRightsAndInheritanceRequestBuilder computeRightsAndInheritance() { + return new ComputeRightsAndInheritanceRequestBuilder(pathParameters, requestAdapter); + } /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} @@ -52,6 +62,20 @@ public SensitivityLabelItemRequestBuilder bySensitivityLabelId1(@jakarta.annotat urlTplParams.put("sensitivityLabel%2Did1", sensitivityLabelId1); return new SensitivityLabelItemRequestBuilder(urlTplParams, requestAdapter); } + /** + * Provides operations to call the computeInheritance method. + * @param contentFormats Usage: contentFormats={contentFormats} + * @param labelIds Usage: labelIds={labelIds} + * @param locale Usage: locale='{locale}' + * @return a {@link ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder} + */ + @jakarta.annotation.Nonnull + public ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder computeInheritanceWithLabelIdsWithLocaleWithContentFormats(@jakarta.annotation.Nonnull final String contentFormats, @jakarta.annotation.Nonnull final String labelIds, @jakarta.annotation.Nonnull final String locale) { + Objects.requireNonNull(contentFormats); + Objects.requireNonNull(labelIds); + Objects.requireNonNull(locale); + return new ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder(pathParameters, requestAdapter, contentFormats, labelIds, locale); + } /** * Instantiates a new {@link SublabelsRequestBuilder} and sets the default values. * @param pathParameters Path parameters for the request diff --git a/src/main/java/com/microsoft/graph/beta/generated/users/item/informationprotection/sensitivitylabels/item/sublabels/computeinheritancewithlabelidswithlocalewithcontentformats/ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/users/item/informationprotection/sensitivitylabels/item/sublabels/computeinheritancewithlabelidswithlocalewithcontentformats/ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder.java new file mode 100644 index 00000000000..a35bd7fc00a --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/users/item/informationprotection/sensitivitylabels/item/sublabels/computeinheritancewithlabelidswithlocalewithcontentformats/ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder.java @@ -0,0 +1,104 @@ +package com.microsoft.graph.beta.users.item.informationprotection.sensitivitylabels.item.sublabels.computeinheritancewithlabelidswithlocalewithcontentformats; + +import com.microsoft.graph.beta.models.odataerrors.ODataError; +import com.microsoft.graph.beta.models.SensitivityLabel; +import com.microsoft.kiota.BaseRequestBuilder; +import com.microsoft.kiota.BaseRequestConfiguration; +import com.microsoft.kiota.HttpMethod; +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 call the computeInheritance method. + */ +@jakarta.annotation.Generated("com.microsoft.kiota") +public class ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder extends BaseRequestBuilder { + /** + * Instantiates a new {@link ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder} and sets the default values. + * @param contentFormats Usage: contentFormats={contentFormats} + * @param labelIds Usage: labelIds={labelIds} + * @param locale Usage: locale='{locale}' + * @param pathParameters Path parameters for the request + * @param requestAdapter The request adapter to use to execute the requests. + */ + public ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter, @jakarta.annotation.Nullable final String contentFormats, @jakarta.annotation.Nullable final String labelIds, @jakarta.annotation.Nullable final String locale) { + super(requestAdapter, "{+baseurl}/users/{user%2Did}/informationProtection/sensitivityLabels/{sensitivityLabel%2Did}/sublabels/computeInheritance(labelIds={labelIds},locale='{locale}',contentFormats={contentFormats})", pathParameters); + this.pathParameters.put("contentFormats", contentFormats); + this.pathParameters.put("labelIds", labelIds); + this.pathParameters.put("locale", locale); + } + /** + * Instantiates a new {@link ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder} 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 ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/users/{user%2Did}/informationProtection/sensitivityLabels/{sensitivityLabel%2Did}/sublabels/computeInheritance(labelIds={labelIds},locale='{locale}',contentFormats={contentFormats})", rawUrl); + } + /** + * Calculate the sensitivity label that should be inherited by an output artifact, given a set of sensitivity labels from input or referenced artifacts. + * @return a {@link SensitivityLabel} + * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here + */ + @jakarta.annotation.Nullable + public SensitivityLabel get() { + return get(null); + } + /** + * Calculate the sensitivity label that should be inherited by an output artifact, given a set of sensitivity labels from input or referenced artifacts. + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link SensitivityLabel} + * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here + */ + @jakarta.annotation.Nullable + public SensitivityLabel get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); + final HashMap> errorMapping = new HashMap>(); + errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); + return this.requestAdapter.send(requestInfo, errorMapping, SensitivityLabel::createFromDiscriminatorValue); + } + /** + * Calculate the sensitivity label that should be inherited by an output artifact, given a set of sensitivity labels from input or referenced artifacts. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toGetRequestInformation() { + return toGetRequestInformation(null); + } + /** + * Calculate the sensitivity label that should be inherited by an output artifact, given a set of sensitivity labels from input or referenced artifacts. + * @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 requestConfiguration) { + final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); + requestInfo.configure(requestConfiguration, GetRequestConfiguration::new); + 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 ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder} + */ + @jakarta.annotation.Nonnull + public ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { + Objects.requireNonNull(rawUrl); + return new ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder(rawUrl, requestAdapter); + } + /** + * Configuration for the request such as headers, query parameters, and middleware options. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class GetRequestConfiguration extends BaseRequestConfiguration { + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/users/item/informationprotection/sensitivitylabels/item/sublabels/computerightsandinheritance/ComputeRightsAndInheritancePostRequestBody.java b/src/main/java/com/microsoft/graph/beta/generated/users/item/informationprotection/sensitivitylabels/item/sublabels/computerightsandinheritance/ComputeRightsAndInheritancePostRequestBody.java new file mode 100644 index 00000000000..a9529e703eb --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/users/item/informationprotection/sensitivitylabels/item/sublabels/computerightsandinheritance/ComputeRightsAndInheritancePostRequestBody.java @@ -0,0 +1,159 @@ +package com.microsoft.graph.beta.users.item.informationprotection.sensitivitylabels.item.sublabels.computerightsandinheritance; + +import com.microsoft.graph.beta.models.ProtectedContent; +import com.microsoft.kiota.serialization.AdditionalDataHolder; +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParseNode; +import com.microsoft.kiota.serialization.SerializationWriter; +import com.microsoft.kiota.store.BackedModel; +import com.microsoft.kiota.store.BackingStore; +import com.microsoft.kiota.store.BackingStoreFactorySingleton; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +@jakarta.annotation.Generated("com.microsoft.kiota") +public class ComputeRightsAndInheritancePostRequestBody implements AdditionalDataHolder, BackedModel, Parsable { + /** + * Stores model information. + */ + @jakarta.annotation.Nonnull + protected BackingStore backingStore; + /** + * Instantiates a new {@link ComputeRightsAndInheritancePostRequestBody} and sets the default values. + */ + public ComputeRightsAndInheritancePostRequestBody() { + this.backingStore = BackingStoreFactorySingleton.instance.createBackingStore(); + this.setAdditionalData(new HashMap<>()); + } + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param parseNode The parse node to use to read the discriminator value and create the object + * @return a {@link ComputeRightsAndInheritancePostRequestBody} + */ + @jakarta.annotation.Nonnull + public static ComputeRightsAndInheritancePostRequestBody createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) { + Objects.requireNonNull(parseNode); + return new ComputeRightsAndInheritancePostRequestBody(); + } + /** + * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @return a {@link Map} + */ + @jakarta.annotation.Nonnull + public Map getAdditionalData() { + Map value = this.backingStore.get("additionalData"); + if(value == null) { + value = new HashMap<>(); + this.setAdditionalData(value); + } + return value; + } + /** + * Gets the backingStore property value. Stores model information. + * @return a {@link BackingStore} + */ + @jakarta.annotation.Nonnull + public BackingStore getBackingStore() { + return this.backingStore; + } + /** + * Gets the delegatedUserEmail property value. The delegatedUserEmail property + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String getDelegatedUserEmail() { + return this.backingStore.get("delegatedUserEmail"); + } + /** + * The deserialization information for the current model + * @return a {@link Map>} + */ + @jakarta.annotation.Nonnull + public Map> getFieldDeserializers() { + final HashMap> deserializerMap = new HashMap>(4); + deserializerMap.put("delegatedUserEmail", (n) -> { this.setDelegatedUserEmail(n.getStringValue()); }); + deserializerMap.put("locale", (n) -> { this.setLocale(n.getStringValue()); }); + deserializerMap.put("protectedContents", (n) -> { this.setProtectedContents(n.getCollectionOfObjectValues(ProtectedContent::createFromDiscriminatorValue)); }); + deserializerMap.put("supportedContentFormats", (n) -> { this.setSupportedContentFormats(n.getCollectionOfPrimitiveValues(String.class)); }); + return deserializerMap; + } + /** + * Gets the locale property value. The locale property + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String getLocale() { + return this.backingStore.get("locale"); + } + /** + * Gets the protectedContents property value. The protectedContents property + * @return a {@link java.util.List} + */ + @jakarta.annotation.Nullable + public java.util.List getProtectedContents() { + return this.backingStore.get("protectedContents"); + } + /** + * Gets the supportedContentFormats property value. The supportedContentFormats property + * @return a {@link java.util.List} + */ + @jakarta.annotation.Nullable + public java.util.List getSupportedContentFormats() { + return this.backingStore.get("supportedContentFormats"); + } + /** + * Serializes information the current object + * @param writer Serialization writer to use to serialize this model + */ + public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writer) { + Objects.requireNonNull(writer); + writer.writeStringValue("delegatedUserEmail", this.getDelegatedUserEmail()); + writer.writeStringValue("locale", this.getLocale()); + writer.writeCollectionOfObjectValues("protectedContents", this.getProtectedContents()); + writer.writeCollectionOfPrimitiveValues("supportedContentFormats", this.getSupportedContentFormats()); + writer.writeAdditionalData(this.getAdditionalData()); + } + /** + * Sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @param value Value to set for the AdditionalData property. + */ + public void setAdditionalData(@jakarta.annotation.Nullable final Map value) { + this.backingStore.set("additionalData", value); + } + /** + * Sets the backingStore property value. Stores model information. + * @param value Value to set for the backingStore property. + */ + public void setBackingStore(@jakarta.annotation.Nonnull final BackingStore value) { + Objects.requireNonNull(value); + this.backingStore = value; + } + /** + * Sets the delegatedUserEmail property value. The delegatedUserEmail property + * @param value Value to set for the delegatedUserEmail property. + */ + public void setDelegatedUserEmail(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("delegatedUserEmail", value); + } + /** + * Sets the locale property value. The locale property + * @param value Value to set for the locale property. + */ + public void setLocale(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("locale", value); + } + /** + * Sets the protectedContents property value. The protectedContents property + * @param value Value to set for the protectedContents property. + */ + public void setProtectedContents(@jakarta.annotation.Nullable final java.util.List value) { + this.backingStore.set("protectedContents", value); + } + /** + * Sets the supportedContentFormats property value. The supportedContentFormats property + * @param value Value to set for the supportedContentFormats property. + */ + public void setSupportedContentFormats(@jakarta.annotation.Nullable final java.util.List value) { + this.backingStore.set("supportedContentFormats", value); + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/users/item/informationprotection/sensitivitylabels/item/sublabels/computerightsandinheritance/ComputeRightsAndInheritanceRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/users/item/informationprotection/sensitivitylabels/item/sublabels/computerightsandinheritance/ComputeRightsAndInheritanceRequestBuilder.java new file mode 100644 index 00000000000..f2931ada2ae --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/users/item/informationprotection/sensitivitylabels/item/sublabels/computerightsandinheritance/ComputeRightsAndInheritanceRequestBuilder.java @@ -0,0 +1,105 @@ +package com.microsoft.graph.beta.users.item.informationprotection.sensitivitylabels.item.sublabels.computerightsandinheritance; + +import com.microsoft.graph.beta.models.ComputeRightsAndInheritanceResult; +import com.microsoft.graph.beta.models.odataerrors.ODataError; +import com.microsoft.kiota.BaseRequestBuilder; +import com.microsoft.kiota.BaseRequestConfiguration; +import com.microsoft.kiota.HttpMethod; +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 call the computeRightsAndInheritance method. + */ +@jakarta.annotation.Generated("com.microsoft.kiota") +public class ComputeRightsAndInheritanceRequestBuilder extends BaseRequestBuilder { + /** + * Instantiates a new {@link ComputeRightsAndInheritanceRequestBuilder} and sets the default values. + * @param pathParameters Path parameters for the request + * @param requestAdapter The request adapter to use to execute the requests. + */ + public ComputeRightsAndInheritanceRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/users/{user%2Did}/informationProtection/sensitivityLabels/{sensitivityLabel%2Did}/sublabels/computeRightsAndInheritance", pathParameters); + } + /** + * Instantiates a new {@link ComputeRightsAndInheritanceRequestBuilder} 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 ComputeRightsAndInheritanceRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/users/{user%2Did}/informationProtection/sensitivityLabels/{sensitivityLabel%2Did}/sublabels/computeRightsAndInheritance", rawUrl); + } + /** + * Computes the rights and inheritance for sensitivity labels based on the input content and labels. + * @param body The request body + * @return a {@link ComputeRightsAndInheritanceResult} + * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here + */ + @jakarta.annotation.Nullable + public ComputeRightsAndInheritanceResult post(@jakarta.annotation.Nonnull final ComputeRightsAndInheritancePostRequestBody body) { + return post(body, null); + } + /** + * Computes the rights and inheritance for sensitivity labels based on the input content and labels. + * @param body The request body + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link ComputeRightsAndInheritanceResult} + * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here + */ + @jakarta.annotation.Nullable + public ComputeRightsAndInheritanceResult post(@jakarta.annotation.Nonnull final ComputeRightsAndInheritancePostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + Objects.requireNonNull(body); + final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); + final HashMap> errorMapping = new HashMap>(); + errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); + return this.requestAdapter.send(requestInfo, errorMapping, ComputeRightsAndInheritanceResult::createFromDiscriminatorValue); + } + /** + * Computes the rights and inheritance for sensitivity labels based on the input content and labels. + * @param body The request body + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final ComputeRightsAndInheritancePostRequestBody body) { + return toPostRequestInformation(body, null); + } + /** + * Computes the rights and inheritance for sensitivity labels based on the input content and labels. + * @param body The request body + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final ComputeRightsAndInheritancePostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + Objects.requireNonNull(body); + final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); + requestInfo.configure(requestConfiguration, PostRequestConfiguration::new); + requestInfo.headers.tryAdd("Accept", "application/json"); + requestInfo.setContentFromParsable(requestAdapter, "application/json", body); + 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 ComputeRightsAndInheritanceRequestBuilder} + */ + @jakarta.annotation.Nonnull + public ComputeRightsAndInheritanceRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { + Objects.requireNonNull(rawUrl); + return new ComputeRightsAndInheritanceRequestBuilder(rawUrl, requestAdapter); + } + /** + * Configuration for the request such as headers, query parameters, and middleware options. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class PostRequestConfiguration extends BaseRequestConfiguration { + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/users/item/informationprotection/sensitivitylabels/item/sublabels/item/SensitivityLabelItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/users/item/informationprotection/sensitivitylabels/item/sublabels/item/SensitivityLabelItemRequestBuilder.java index 382c27fa183..8cfe478d928 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/users/item/informationprotection/sensitivitylabels/item/sublabels/item/SensitivityLabelItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/users/item/informationprotection/sensitivitylabels/item/sublabels/item/SensitivityLabelItemRequestBuilder.java @@ -2,6 +2,7 @@ import com.microsoft.graph.beta.models.odataerrors.ODataError; import com.microsoft.graph.beta.models.SensitivityLabel; +import com.microsoft.graph.beta.users.item.informationprotection.sensitivitylabels.item.sublabels.item.rights.RightsRequestBuilder; import com.microsoft.kiota.BaseRequestBuilder; import com.microsoft.kiota.BaseRequestConfiguration; import com.microsoft.kiota.HttpMethod; @@ -20,6 +21,14 @@ */ @jakarta.annotation.Generated("com.microsoft.kiota") public class SensitivityLabelItemRequestBuilder extends BaseRequestBuilder { + /** + * Provides operations to manage the rights property of the microsoft.graph.sensitivityLabel entity. + * @return a {@link RightsRequestBuilder} + */ + @jakarta.annotation.Nonnull + public RightsRequestBuilder rights() { + return new RightsRequestBuilder(pathParameters, requestAdapter); + } /** * Instantiates a new {@link SensitivityLabelItemRequestBuilder} and sets the default values. * @param pathParameters Path parameters for the request diff --git a/src/main/java/com/microsoft/graph/beta/generated/users/item/informationprotection/sensitivitylabels/item/sublabels/item/rights/RightsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/users/item/informationprotection/sensitivitylabels/item/sublabels/item/rights/RightsRequestBuilder.java new file mode 100644 index 00000000000..ba6b8e63fcb --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/users/item/informationprotection/sensitivitylabels/item/sublabels/item/rights/RightsRequestBuilder.java @@ -0,0 +1,129 @@ +package com.microsoft.graph.beta.users.item.informationprotection.sensitivitylabels.item.sublabels.item.rights; + +import com.microsoft.graph.beta.models.odataerrors.ODataError; +import com.microsoft.graph.beta.models.UsageRightsIncluded; +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 rights property of the microsoft.graph.sensitivityLabel entity. + */ +@jakarta.annotation.Generated("com.microsoft.kiota") +public class RightsRequestBuilder extends BaseRequestBuilder { + /** + * Instantiates a new {@link RightsRequestBuilder} and sets the default values. + * @param pathParameters Path parameters for the request + * @param requestAdapter The request adapter to use to execute the requests. + */ + public RightsRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/users/{user%2Did}/informationProtection/sensitivityLabels/{sensitivityLabel%2Did}/sublabels/{sensitivityLabel%2Did1}/rights{?%24expand,%24select}", pathParameters); + } + /** + * Instantiates a new {@link RightsRequestBuilder} 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 RightsRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/users/{user%2Did}/informationProtection/sensitivityLabels/{sensitivityLabel%2Did}/sublabels/{sensitivityLabel%2Did1}/rights{?%24expand,%24select}", rawUrl); + } + /** + * Get rights from users + * @return a {@link UsageRightsIncluded} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public UsageRightsIncluded get() { + return get(null); + } + /** + * Get rights from users + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link UsageRightsIncluded} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public UsageRightsIncluded get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); + final HashMap> errorMapping = new HashMap>(); + errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); + return this.requestAdapter.send(requestInfo, errorMapping, UsageRightsIncluded::createFromDiscriminatorValue); + } + /** + * Get rights from users + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toGetRequestInformation() { + return toGetRequestInformation(null); + } + /** + * Get rights from users + * @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 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 RightsRequestBuilder} + */ + @jakarta.annotation.Nonnull + public RightsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { + Objects.requireNonNull(rawUrl); + return new RightsRequestBuilder(rawUrl, requestAdapter); + } + /** + * Get rights from users + */ + @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} + */ + @jakarta.annotation.Nonnull + public Map toQueryParameters() { + final Map 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(); + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/users/item/mobileapptroubleshootingevents/item/applogcollectionrequests/AppLogCollectionRequestsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/users/item/mobileapptroubleshootingevents/item/applogcollectionrequests/AppLogCollectionRequestsRequestBuilder.java index f9661664452..d073bb70e4c 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/users/item/mobileapptroubleshootingevents/item/applogcollectionrequests/AppLogCollectionRequestsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/users/item/mobileapptroubleshootingevents/item/applogcollectionrequests/AppLogCollectionRequestsRequestBuilder.java @@ -60,7 +60,7 @@ public AppLogCollectionRequestsRequestBuilder(@jakarta.annotation.Nonnull final super(requestAdapter, "{+baseurl}/users/{user%2Did}/mobileAppTroubleshootingEvents/{mobileAppTroubleshootingEvent%2Did}/appLogCollectionRequests{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl); } /** - * The collection property of AppLogUploadRequest. + * Indicates collection of App Log Upload Request. * @return a {@link AppLogCollectionRequestCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code */ @@ -69,7 +69,7 @@ public AppLogCollectionRequestCollectionResponse get() { return get(null); } /** - * The collection property of AppLogUploadRequest. + * Indicates collection of App Log Upload Request. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AppLogCollectionRequestCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code @@ -107,7 +107,7 @@ public AppLogCollectionRequest post(@jakarta.annotation.Nonnull final AppLogColl return this.requestAdapter.send(requestInfo, errorMapping, AppLogCollectionRequest::createFromDiscriminatorValue); } /** - * The collection property of AppLogUploadRequest. + * Indicates collection of App Log Upload Request. * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull @@ -115,7 +115,7 @@ public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } /** - * The collection property of AppLogUploadRequest. + * Indicates collection of App Log Upload Request. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} */ @@ -161,7 +161,7 @@ public AppLogCollectionRequestsRequestBuilder withUrl(@jakarta.annotation.Nonnul return new AppLogCollectionRequestsRequestBuilder(rawUrl, requestAdapter); } /** - * The collection property of AppLogUploadRequest. + * Indicates collection of App Log Upload Request. */ @jakarta.annotation.Generated("com.microsoft.kiota") public class GetQueryParameters implements QueryParameters { diff --git a/src/main/java/com/microsoft/graph/beta/generated/users/item/mobileapptroubleshootingevents/item/applogcollectionrequests/item/AppLogCollectionRequestItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/users/item/mobileapptroubleshootingevents/item/applogcollectionrequests/item/AppLogCollectionRequestItemRequestBuilder.java index 958360e3d00..3970f65e42b 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/users/item/mobileapptroubleshootingevents/item/applogcollectionrequests/item/AppLogCollectionRequestItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/users/item/mobileapptroubleshootingevents/item/applogcollectionrequests/item/AppLogCollectionRequestItemRequestBuilder.java @@ -64,7 +64,7 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume this.requestAdapter.sendPrimitive(requestInfo, errorMapping, Void.class); } /** - * The collection property of AppLogUploadRequest. + * Indicates collection of App Log Upload Request. * @return a {@link AppLogCollectionRequest} * @throws ODataError When receiving a 4XX or 5XX status code */ @@ -73,7 +73,7 @@ public AppLogCollectionRequest get() { return get(null); } /** - * The collection property of AppLogUploadRequest. + * Indicates collection of App Log Upload Request. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AppLogCollectionRequest} * @throws ODataError When receiving a 4XX or 5XX status code @@ -130,7 +130,7 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl return requestInfo; } /** - * The collection property of AppLogUploadRequest. + * Indicates collection of App Log Upload Request. * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull @@ -138,7 +138,7 @@ public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } /** - * The collection property of AppLogUploadRequest. + * Indicates collection of App Log Upload Request. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} */ @@ -190,7 +190,7 @@ public AppLogCollectionRequestItemRequestBuilder withUrl(@jakarta.annotation.Non public class DeleteRequestConfiguration extends BaseRequestConfiguration { } /** - * The collection property of AppLogUploadRequest. + * Indicates collection of App Log Upload Request. */ @jakarta.annotation.Generated("com.microsoft.kiota") public class GetQueryParameters implements QueryParameters { diff --git a/src/main/java/com/microsoft/graph/beta/generated/users/item/presence/PresenceRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/users/item/presence/PresenceRequestBuilder.java index 450364977d2..7886e382b9a 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/users/item/presence/PresenceRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/users/item/presence/PresenceRequestBuilder.java @@ -100,21 +100,21 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume this.requestAdapter.sendPrimitive(requestInfo, errorMapping, Void.class); } /** - * Set a presence status message for a user. An optional expiration date and time can be supplied. + * Get a user's presence information. * @return a {@link Presence} * @throws ODataError When receiving a 4XX or 5XX status code - * @see Find more info here + * @see Find more info here */ @jakarta.annotation.Nullable public Presence get() { return get(null); } /** - * Set a presence status message for a user. An optional expiration date and time can be supplied. + * Get a user's presence information. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Presence} * @throws ODataError When receiving a 4XX or 5XX status code - * @see Find more info here + * @see Find more info here */ @jakarta.annotation.Nullable public Presence get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { @@ -168,7 +168,7 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl return requestInfo; } /** - * Set a presence status message for a user. An optional expiration date and time can be supplied. + * Get a user's presence information. * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull @@ -176,7 +176,7 @@ public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } /** - * Set a presence status message for a user. An optional expiration date and time can be supplied. + * Get a user's presence information. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} */ @@ -228,7 +228,7 @@ public PresenceRequestBuilder withUrl(@jakarta.annotation.Nonnull final String r public class DeleteRequestConfiguration extends BaseRequestConfiguration { } /** - * Set a presence status message for a user. An optional expiration date and time can be supplied. + * Get a user's presence information. */ @jakarta.annotation.Generated("com.microsoft.kiota") public class GetQueryParameters implements QueryParameters { diff --git a/src/main/java/com/microsoft/graph/beta/generated/users/item/security/informationprotection/sensitivitylabels/item/parent/ParentRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/users/item/security/informationprotection/sensitivitylabels/item/parent/ParentRequestBuilder.java index e274f6d5605..de1eeb7dbf6 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/users/item/security/informationprotection/sensitivitylabels/item/parent/ParentRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/users/item/security/informationprotection/sensitivitylabels/item/parent/ParentRequestBuilder.java @@ -55,7 +55,7 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume this.requestAdapter.sendPrimitive(requestInfo, errorMapping, Void.class); } /** - * The parent label associated with a child label. Null if the label has no parent. + * Get parent from users * @return a {@link SensitivityLabel} * @throws ODataError When receiving a 4XX or 5XX status code */ @@ -64,7 +64,7 @@ public SensitivityLabel get() { return get(null); } /** - * The parent label associated with a child label. Null if the label has no parent. + * Get parent from users * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link SensitivityLabel} * @throws ODataError When receiving a 4XX or 5XX status code @@ -121,7 +121,7 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl return requestInfo; } /** - * The parent label associated with a child label. Null if the label has no parent. + * Get parent from users * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull @@ -129,7 +129,7 @@ public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } /** - * The parent label associated with a child label. Null if the label has no parent. + * Get parent from users * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} */ @@ -181,7 +181,7 @@ public ParentRequestBuilder withUrl(@jakarta.annotation.Nonnull final String raw public class DeleteRequestConfiguration extends BaseRequestConfiguration { } /** - * The parent label associated with a child label. Null if the label has no parent. + * Get parent from users */ @jakarta.annotation.Generated("com.microsoft.kiota") public class GetQueryParameters implements QueryParameters { diff --git a/src/main/java/com/microsoft/graph/beta/info/Constants.java b/src/main/java/com/microsoft/graph/beta/info/Constants.java index ab80cdd17fa..36ee2b9e8ea 100644 --- a/src/main/java/com/microsoft/graph/beta/info/Constants.java +++ b/src/main/java/com/microsoft/graph/beta/info/Constants.java @@ -6,7 +6,7 @@ private Constants() { } /** The SDK version */ // x-release-please-start-version - public static final String VERSION_NAME = "6.44.0"; + public static final String VERSION_NAME = "6.45.0"; // x-release-please-end }