diff --git a/src/main/java/com/microsoft/graph/generated/admin/people/PeopleRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/admin/people/PeopleRequestBuilder.java index 1cfedd1b257..3dffbf4ab50 100644 --- a/src/main/java/com/microsoft/graph/generated/admin/people/PeopleRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/generated/admin/people/PeopleRequestBuilder.java @@ -2,6 +2,8 @@ import com.microsoft.graph.admin.people.iteminsights.ItemInsightsRequestBuilder; import com.microsoft.graph.admin.people.profilecardproperties.ProfileCardPropertiesRequestBuilder; +import com.microsoft.graph.admin.people.profilesources.ProfileSourcesRequestBuilder; +import com.microsoft.graph.admin.people.profilesourceswithsourceid.ProfileSourcesWithSourceIdRequestBuilder; import com.microsoft.graph.admin.people.pronouns.PronounsRequestBuilder; import com.microsoft.graph.models.odataerrors.ODataError; import com.microsoft.graph.models.PeopleAdminSettings; @@ -39,6 +41,14 @@ public ItemInsightsRequestBuilder itemInsights() { public ProfileCardPropertiesRequestBuilder profileCardProperties() { return new ProfileCardPropertiesRequestBuilder(pathParameters, requestAdapter); } + /** + * Provides operations to manage the profileSources property of the microsoft.graph.peopleAdminSettings entity. + * @return a {@link ProfileSourcesRequestBuilder} + */ + @jakarta.annotation.Nonnull + public ProfileSourcesRequestBuilder profileSources() { + return new ProfileSourcesRequestBuilder(pathParameters, requestAdapter); + } /** * Provides operations to manage the pronouns property of the microsoft.graph.peopleAdminSettings entity. * @return a {@link PronounsRequestBuilder} @@ -87,6 +97,16 @@ public PeopleAdminSettings get(@jakarta.annotation.Nullable final java.util.func errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); return this.requestAdapter.send(requestInfo, errorMapping, PeopleAdminSettings::createFromDiscriminatorValue); } + /** + * Provides operations to manage the profileSources property of the microsoft.graph.peopleAdminSettings entity. + * @param sourceId Alternate key of profileSource + * @return a {@link ProfileSourcesWithSourceIdRequestBuilder} + */ + @jakarta.annotation.Nonnull + public ProfileSourcesWithSourceIdRequestBuilder profileSourcesWithSourceId(@jakarta.annotation.Nonnull final String sourceId) { + Objects.requireNonNull(sourceId); + return new ProfileSourcesWithSourceIdRequestBuilder(pathParameters, requestAdapter, sourceId); + } /** * Retrieve the properties and relationships of a peopleAdminSettings object. * @return a {@link RequestInformation} diff --git a/src/main/java/com/microsoft/graph/generated/admin/people/profilesources/ProfileSourcesRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/admin/people/profilesources/ProfileSourcesRequestBuilder.java new file mode 100644 index 00000000000..0c8d7223d24 --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/admin/people/profilesources/ProfileSourcesRequestBuilder.java @@ -0,0 +1,247 @@ +package com.microsoft.graph.admin.people.profilesources; + +import com.microsoft.graph.admin.people.profilesources.count.CountRequestBuilder; +import com.microsoft.graph.admin.people.profilesources.item.ProfileSourceItemRequestBuilder; +import com.microsoft.graph.models.odataerrors.ODataError; +import com.microsoft.graph.models.ProfileSource; +import com.microsoft.graph.models.ProfileSourceCollectionResponse; +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 profileSources property of the microsoft.graph.peopleAdminSettings entity. + */ +@jakarta.annotation.Generated("com.microsoft.kiota") +public class ProfileSourcesRequestBuilder 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 profileSources property of the microsoft.graph.peopleAdminSettings entity. + * @param profileSourceId The unique identifier of profileSource + * @return a {@link ProfileSourceItemRequestBuilder} + */ + @jakarta.annotation.Nonnull + public ProfileSourceItemRequestBuilder byProfileSourceId(@jakarta.annotation.Nonnull final String profileSourceId) { + Objects.requireNonNull(profileSourceId); + final HashMap urlTplParams = new HashMap(this.pathParameters); + urlTplParams.put("profileSource%2Did", profileSourceId); + return new ProfileSourceItemRequestBuilder(urlTplParams, requestAdapter); + } + /** + * Instantiates a new {@link ProfileSourcesRequestBuilder} and sets the default values. + * @param pathParameters Path parameters for the request + * @param requestAdapter The request adapter to use to execute the requests. + */ + public ProfileSourcesRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/admin/people/profileSources{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters); + } + /** + * Instantiates a new {@link ProfileSourcesRequestBuilder} 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 ProfileSourcesRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/admin/people/profileSources{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl); + } + /** + * Get a list of the profileSource objects and their properties, which represent both external data sources and out-of-the-box Microsoft data sources configured for user profiles in an organization. + * @return a {@link ProfileSourceCollectionResponse} + * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here + */ + @jakarta.annotation.Nullable + public ProfileSourceCollectionResponse get() { + return get(null); + } + /** + * Get a list of the profileSource objects and their properties, which represent both external data sources and out-of-the-box Microsoft data sources configured for user profiles in an organization. + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link ProfileSourceCollectionResponse} + * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here + */ + @jakarta.annotation.Nullable + public ProfileSourceCollectionResponse 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, ProfileSourceCollectionResponse::createFromDiscriminatorValue); + } + /** + * Create a new profileSource object. + * @param body The request body + * @return a {@link ProfileSource} + * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here + */ + @jakarta.annotation.Nullable + public ProfileSource post(@jakarta.annotation.Nonnull final ProfileSource body) { + return post(body, null); + } + /** + * Create a new profileSource object. + * @param body The request body + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link ProfileSource} + * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here + */ + @jakarta.annotation.Nullable + public ProfileSource post(@jakarta.annotation.Nonnull final ProfileSource 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, ProfileSource::createFromDiscriminatorValue); + } + /** + * Get a list of the profileSource objects and their properties, which represent both external data sources and out-of-the-box Microsoft data sources configured for user profiles in an organization. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toGetRequestInformation() { + return toGetRequestInformation(null); + } + /** + * Get a list of the profileSource objects and their properties, which represent both external data sources and out-of-the-box Microsoft data sources configured for user profiles in an organization. + * @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 profileSource object. + * @param body The request body + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final ProfileSource body) { + return toPostRequestInformation(body, null); + } + /** + * Create a new profileSource 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 ProfileSource 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 ProfileSourcesRequestBuilder} + */ + @jakarta.annotation.Nonnull + public ProfileSourcesRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { + Objects.requireNonNull(rawUrl); + return new ProfileSourcesRequestBuilder(rawUrl, requestAdapter); + } + /** + * Get a list of the profileSource objects and their properties, which represent both external data sources and out-of-the-box Microsoft data sources configured for user profiles in an organization. + */ + @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/generated/admin/people/profilesources/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/admin/people/profilesources/count/CountRequestBuilder.java new file mode 100644 index 00000000000..3f963b57f19 --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/admin/people/profilesources/count/CountRequestBuilder.java @@ -0,0 +1,128 @@ +package com.microsoft.graph.admin.people.profilesources.count; + +import com.microsoft.graph.models.odataerrors.ODataError; +import com.microsoft.kiota.BaseRequestBuilder; +import com.microsoft.kiota.BaseRequestConfiguration; +import com.microsoft.kiota.HttpMethod; +import com.microsoft.kiota.QueryParameters; +import com.microsoft.kiota.RequestAdapter; +import com.microsoft.kiota.RequestInformation; +import com.microsoft.kiota.RequestOption; +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParsableFactory; +import java.util.Collection; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +/** + * Provides operations to 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/profileSources/$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/profileSources/$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/generated/admin/people/profilesources/item/ProfileSourceItemRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/admin/people/profilesources/item/ProfileSourceItemRequestBuilder.java new file mode 100644 index 00000000000..c69e6519760 --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/admin/people/profilesources/item/ProfileSourceItemRequestBuilder.java @@ -0,0 +1,232 @@ +package com.microsoft.graph.admin.people.profilesources.item; + +import com.microsoft.graph.models.odataerrors.ODataError; +import com.microsoft.graph.models.ProfileSource; +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 profileSources property of the microsoft.graph.peopleAdminSettings entity. + */ +@jakarta.annotation.Generated("com.microsoft.kiota") +public class ProfileSourceItemRequestBuilder extends BaseRequestBuilder { + /** + * Instantiates a new {@link ProfileSourceItemRequestBuilder} and sets the default values. + * @param pathParameters Path parameters for the request + * @param requestAdapter The request adapter to use to execute the requests. + */ + public ProfileSourceItemRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/admin/people/profileSources/{profileSource%2Did}{?%24expand,%24select}", pathParameters); + } + /** + * Instantiates a new {@link ProfileSourceItemRequestBuilder} 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 ProfileSourceItemRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/admin/people/profileSources/{profileSource%2Did}{?%24expand,%24select}", rawUrl); + } + /** + * Delete a profileSource object. + * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here + */ + public void delete() { + delete(null); + } + /** + * Delete a profileSource 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); + } + /** + * A collection of profile source settings configured by an administrator in an organization. + * @return a {@link ProfileSource} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public ProfileSource get() { + return get(null); + } + /** + * A collection of profile source settings configured by an administrator in an organization. + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link ProfileSource} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public ProfileSource 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, ProfileSource::createFromDiscriminatorValue); + } + /** + * Update the properties of a profileSource object. + * @param body The request body + * @return a {@link ProfileSource} + * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here + */ + @jakarta.annotation.Nullable + public ProfileSource patch(@jakarta.annotation.Nonnull final ProfileSource body) { + return patch(body, null); + } + /** + * Update the properties of a profileSource object. + * @param body The request body + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link ProfileSource} + * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here + */ + @jakarta.annotation.Nullable + public ProfileSource patch(@jakarta.annotation.Nonnull final ProfileSource 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, ProfileSource::createFromDiscriminatorValue); + } + /** + * Delete a profileSource object. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toDeleteRequestInformation() { + return toDeleteRequestInformation(null); + } + /** + * Delete a profileSource 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); + requestInfo.headers.tryAdd("Accept", "application/json"); + return requestInfo; + } + /** + * A collection of profile source settings configured by an administrator in an organization. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toGetRequestInformation() { + return toGetRequestInformation(null); + } + /** + * A collection of profile source settings configured by an administrator in an organization. + * @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 profileSource object. + * @param body The request body + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final ProfileSource body) { + return toPatchRequestInformation(body, null); + } + /** + * Update the properties of a profileSource 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 ProfileSource 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 ProfileSourceItemRequestBuilder} + */ + @jakarta.annotation.Nonnull + public ProfileSourceItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { + Objects.requireNonNull(rawUrl); + return new ProfileSourceItemRequestBuilder(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 { + } + /** + * A collection of profile source settings configured by an administrator in an organization. + */ + @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/generated/admin/people/profilesourceswithsourceid/ProfileSourcesWithSourceIdRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/admin/people/profilesourceswithsourceid/ProfileSourcesWithSourceIdRequestBuilder.java new file mode 100644 index 00000000000..acd38ba5fb4 --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/admin/people/profilesourceswithsourceid/ProfileSourcesWithSourceIdRequestBuilder.java @@ -0,0 +1,234 @@ +package com.microsoft.graph.admin.people.profilesourceswithsourceid; + +import com.microsoft.graph.models.odataerrors.ODataError; +import com.microsoft.graph.models.ProfileSource; +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 profileSources property of the microsoft.graph.peopleAdminSettings entity. + */ +@jakarta.annotation.Generated("com.microsoft.kiota") +public class ProfileSourcesWithSourceIdRequestBuilder extends BaseRequestBuilder { + /** + * Instantiates a new {@link ProfileSourcesWithSourceIdRequestBuilder} and sets the default values. + * @param pathParameters Path parameters for the request + * @param requestAdapter The request adapter to use to execute the requests. + * @param sourceId Alternate key of profileSource + */ + public ProfileSourcesWithSourceIdRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter, @jakarta.annotation.Nullable final String sourceId) { + super(requestAdapter, "{+baseurl}/admin/people/profileSources(sourceId='{sourceId}'){?%24expand,%24select}", pathParameters); + this.pathParameters.put("sourceId", sourceId); + } + /** + * Instantiates a new {@link ProfileSourcesWithSourceIdRequestBuilder} 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 ProfileSourcesWithSourceIdRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/admin/people/profileSources(sourceId='{sourceId}'){?%24expand,%24select}", rawUrl); + } + /** + * Delete a profileSource object. + * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here + */ + public void delete() { + delete(null); + } + /** + * Delete a profileSource 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); + } + /** + * A collection of profile source settings configured by an administrator in an organization. + * @return a {@link ProfileSource} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public ProfileSource get() { + return get(null); + } + /** + * A collection of profile source settings configured by an administrator in an organization. + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link ProfileSource} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public ProfileSource 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, ProfileSource::createFromDiscriminatorValue); + } + /** + * Update the properties of a profileSource object. + * @param body The request body + * @return a {@link ProfileSource} + * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here + */ + @jakarta.annotation.Nullable + public ProfileSource patch(@jakarta.annotation.Nonnull final ProfileSource body) { + return patch(body, null); + } + /** + * Update the properties of a profileSource object. + * @param body The request body + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link ProfileSource} + * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here + */ + @jakarta.annotation.Nullable + public ProfileSource patch(@jakarta.annotation.Nonnull final ProfileSource 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, ProfileSource::createFromDiscriminatorValue); + } + /** + * Delete a profileSource object. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toDeleteRequestInformation() { + return toDeleteRequestInformation(null); + } + /** + * Delete a profileSource 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); + requestInfo.headers.tryAdd("Accept", "application/json"); + return requestInfo; + } + /** + * A collection of profile source settings configured by an administrator in an organization. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toGetRequestInformation() { + return toGetRequestInformation(null); + } + /** + * A collection of profile source settings configured by an administrator in an organization. + * @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 profileSource object. + * @param body The request body + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final ProfileSource body) { + return toPatchRequestInformation(body, null); + } + /** + * Update the properties of a profileSource 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 ProfileSource 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 ProfileSourcesWithSourceIdRequestBuilder} + */ + @jakarta.annotation.Nonnull + public ProfileSourcesWithSourceIdRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { + Objects.requireNonNull(rawUrl); + return new ProfileSourcesWithSourceIdRequestBuilder(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 { + } + /** + * A collection of profile source settings configured by an administrator in an organization. + */ + @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/generated/admin/teams/TeamsRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/admin/teams/TeamsRequestBuilder.java index e1a6d32434f..0d065828c86 100644 --- a/src/main/java/com/microsoft/graph/generated/admin/teams/TeamsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/generated/admin/teams/TeamsRequestBuilder.java @@ -1,6 +1,7 @@ package com.microsoft.graph.admin.teams; import com.microsoft.graph.admin.teams.policy.PolicyRequestBuilder; +import com.microsoft.graph.admin.teams.telephonenumbermanagement.TelephoneNumberManagementRequestBuilder; import com.microsoft.graph.admin.teams.userconfigurations.UserConfigurationsRequestBuilder; import com.microsoft.graph.models.odataerrors.ODataError; import com.microsoft.graph.models.teamsadministration.TeamsAdminRoot; @@ -30,6 +31,14 @@ public class TeamsRequestBuilder extends BaseRequestBuilder { public PolicyRequestBuilder policy() { return new PolicyRequestBuilder(pathParameters, requestAdapter); } + /** + * Provides operations to manage the telephoneNumberManagement property of the microsoft.graph.teamsAdministration.teamsAdminRoot entity. + * @return a {@link TelephoneNumberManagementRequestBuilder} + */ + @jakarta.annotation.Nonnull + public TelephoneNumberManagementRequestBuilder telephoneNumberManagement() { + return new TelephoneNumberManagementRequestBuilder(pathParameters, requestAdapter); + } /** * Provides operations to manage the userConfigurations property of the microsoft.graph.teamsAdministration.teamsAdminRoot entity. * @return a {@link UserConfigurationsRequestBuilder} @@ -73,7 +82,7 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume this.requestAdapter.sendPrimitive(requestInfo, errorMapping, Void.class); } /** - * A container for Teams administration functionalities, such as user configurations and policy assignments. + * A container for Teams administration functionalities, such as Teams telephone number management functionalities, user Teams configurations, and policy assignments. * @return a {@link TeamsAdminRoot} * @throws ODataError When receiving a 4XX or 5XX status code */ @@ -82,7 +91,7 @@ public TeamsAdminRoot get() { return get(null); } /** - * A container for Teams administration functionalities, such as user configurations and policy assignments. + * A container for Teams administration functionalities, such as Teams telephone number management functionalities, user Teams configurations, and policy assignments. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link TeamsAdminRoot} * @throws ODataError When receiving a 4XX or 5XX status code @@ -140,7 +149,7 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl return requestInfo; } /** - * A container for Teams administration functionalities, such as user configurations and policy assignments. + * A container for Teams administration functionalities, such as Teams telephone number management functionalities, user Teams configurations, and policy assignments. * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull @@ -148,7 +157,7 @@ public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } /** - * A container for Teams administration functionalities, such as user configurations and policy assignments. + * A container for Teams administration functionalities, such as Teams telephone number management functionalities, user Teams configurations, and policy assignments. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} */ @@ -200,7 +209,7 @@ public TeamsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawU public class DeleteRequestConfiguration extends BaseRequestConfiguration { } /** - * A container for Teams administration functionalities, such as user configurations and policy assignments. + * A container for Teams administration functionalities, such as Teams telephone number management functionalities, user Teams configurations, and policy assignments. */ @jakarta.annotation.Generated("com.microsoft.kiota") public class GetQueryParameters implements QueryParameters { diff --git a/src/main/java/com/microsoft/graph/generated/admin/teams/telephonenumbermanagement/TelephoneNumberManagementRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/admin/teams/telephonenumbermanagement/TelephoneNumberManagementRequestBuilder.java new file mode 100644 index 00000000000..24aa37e2a2d --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/admin/teams/telephonenumbermanagement/TelephoneNumberManagementRequestBuilder.java @@ -0,0 +1,246 @@ +package com.microsoft.graph.admin.teams.telephonenumbermanagement; + +import com.microsoft.graph.admin.teams.telephonenumbermanagement.numberassignments.NumberAssignmentsRequestBuilder; +import com.microsoft.graph.admin.teams.telephonenumbermanagement.operations.OperationsRequestBuilder; +import com.microsoft.graph.models.odataerrors.ODataError; +import com.microsoft.graph.models.teamsadministration.TelephoneNumberManagementRoot; +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 telephoneNumberManagement property of the microsoft.graph.teamsAdministration.teamsAdminRoot entity. + */ +@jakarta.annotation.Generated("com.microsoft.kiota") +public class TelephoneNumberManagementRequestBuilder extends BaseRequestBuilder { + /** + * Provides operations to manage the numberAssignments property of the microsoft.graph.teamsAdministration.telephoneNumberManagementRoot entity. + * @return a {@link NumberAssignmentsRequestBuilder} + */ + @jakarta.annotation.Nonnull + public NumberAssignmentsRequestBuilder numberAssignments() { + return new NumberAssignmentsRequestBuilder(pathParameters, requestAdapter); + } + /** + * Provides operations to manage the operations property of the microsoft.graph.teamsAdministration.telephoneNumberManagementRoot entity. + * @return a {@link OperationsRequestBuilder} + */ + @jakarta.annotation.Nonnull + public OperationsRequestBuilder operations() { + return new OperationsRequestBuilder(pathParameters, requestAdapter); + } + /** + * Instantiates a new {@link TelephoneNumberManagementRequestBuilder} and sets the default values. + * @param pathParameters Path parameters for the request + * @param requestAdapter The request adapter to use to execute the requests. + */ + public TelephoneNumberManagementRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/admin/teams/telephoneNumberManagement{?%24expand,%24select}", pathParameters); + } + /** + * Instantiates a new {@link TelephoneNumberManagementRequestBuilder} 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 TelephoneNumberManagementRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/admin/teams/telephoneNumberManagement{?%24expand,%24select}", rawUrl); + } + /** + * Delete navigation property telephoneNumberManagement for admin + * @throws ODataError When receiving a 4XX or 5XX status code + */ + public void delete() { + delete(null); + } + /** + * Delete navigation property telephoneNumberManagement for admin + * @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 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); + } + /** + * Represents a collection of available telephone number management operations. + * @return a {@link TelephoneNumberManagementRoot} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public TelephoneNumberManagementRoot get() { + return get(null); + } + /** + * Represents a collection of available telephone number management operations. + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link TelephoneNumberManagementRoot} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public TelephoneNumberManagementRoot 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, TelephoneNumberManagementRoot::createFromDiscriminatorValue); + } + /** + * Update the navigation property telephoneNumberManagement in admin + * @param body The request body + * @return a {@link TelephoneNumberManagementRoot} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public TelephoneNumberManagementRoot patch(@jakarta.annotation.Nonnull final TelephoneNumberManagementRoot body) { + return patch(body, null); + } + /** + * Update the navigation property telephoneNumberManagement in admin + * @param body The request body + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link TelephoneNumberManagementRoot} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public TelephoneNumberManagementRoot patch(@jakarta.annotation.Nonnull final TelephoneNumberManagementRoot 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, TelephoneNumberManagementRoot::createFromDiscriminatorValue); + } + /** + * Delete navigation property telephoneNumberManagement for admin + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toDeleteRequestInformation() { + return toDeleteRequestInformation(null); + } + /** + * Delete navigation property telephoneNumberManagement for admin + * @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); + requestInfo.headers.tryAdd("Accept", "application/json"); + return requestInfo; + } + /** + * Represents a collection of available telephone number management operations. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toGetRequestInformation() { + return toGetRequestInformation(null); + } + /** + * Represents a collection of available telephone number management operations. + * @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 navigation property telephoneNumberManagement in admin + * @param body The request body + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final TelephoneNumberManagementRoot body) { + return toPatchRequestInformation(body, null); + } + /** + * Update the navigation property telephoneNumberManagement in admin + * @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 TelephoneNumberManagementRoot 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 TelephoneNumberManagementRequestBuilder} + */ + @jakarta.annotation.Nonnull + public TelephoneNumberManagementRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { + Objects.requireNonNull(rawUrl); + return new TelephoneNumberManagementRequestBuilder(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 { + } + /** + * Represents a collection of available telephone number management operations. + */ + @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/generated/admin/teams/telephonenumbermanagement/numberassignments/NumberAssignmentsRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/admin/teams/telephonenumbermanagement/numberassignments/NumberAssignmentsRequestBuilder.java new file mode 100644 index 00000000000..3310204d31a --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/admin/teams/telephonenumbermanagement/numberassignments/NumberAssignmentsRequestBuilder.java @@ -0,0 +1,272 @@ +package com.microsoft.graph.admin.teams.telephonenumbermanagement.numberassignments; + +import com.microsoft.graph.admin.teams.telephonenumbermanagement.numberassignments.count.CountRequestBuilder; +import com.microsoft.graph.admin.teams.telephonenumbermanagement.numberassignments.item.NumberAssignmentItemRequestBuilder; +import com.microsoft.graph.admin.teams.telephonenumbermanagement.numberassignments.microsoftgraphteamsadministrationassignnumber.MicrosoftGraphTeamsAdministrationAssignNumberRequestBuilder; +import com.microsoft.graph.admin.teams.telephonenumbermanagement.numberassignments.microsoftgraphteamsadministrationunassignnumber.MicrosoftGraphTeamsAdministrationUnassignNumberRequestBuilder; +import com.microsoft.graph.admin.teams.telephonenumbermanagement.numberassignments.microsoftgraphteamsadministrationupdatenumber.MicrosoftGraphTeamsAdministrationUpdateNumberRequestBuilder; +import com.microsoft.graph.models.odataerrors.ODataError; +import com.microsoft.graph.models.teamsadministration.NumberAssignment; +import com.microsoft.graph.models.teamsadministration.NumberAssignmentCollectionResponse; +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 numberAssignments property of the microsoft.graph.teamsAdministration.telephoneNumberManagementRoot entity. + */ +@jakarta.annotation.Generated("com.microsoft.kiota") +public class NumberAssignmentsRequestBuilder 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 call the assignNumber method. + * @return a {@link MicrosoftGraphTeamsAdministrationAssignNumberRequestBuilder} + */ + @jakarta.annotation.Nonnull + public MicrosoftGraphTeamsAdministrationAssignNumberRequestBuilder microsoftGraphTeamsAdministrationAssignNumber() { + return new MicrosoftGraphTeamsAdministrationAssignNumberRequestBuilder(pathParameters, requestAdapter); + } + /** + * Provides operations to call the unassignNumber method. + * @return a {@link MicrosoftGraphTeamsAdministrationUnassignNumberRequestBuilder} + */ + @jakarta.annotation.Nonnull + public MicrosoftGraphTeamsAdministrationUnassignNumberRequestBuilder microsoftGraphTeamsAdministrationUnassignNumber() { + return new MicrosoftGraphTeamsAdministrationUnassignNumberRequestBuilder(pathParameters, requestAdapter); + } + /** + * Provides operations to call the updateNumber method. + * @return a {@link MicrosoftGraphTeamsAdministrationUpdateNumberRequestBuilder} + */ + @jakarta.annotation.Nonnull + public MicrosoftGraphTeamsAdministrationUpdateNumberRequestBuilder microsoftGraphTeamsAdministrationUpdateNumber() { + return new MicrosoftGraphTeamsAdministrationUpdateNumberRequestBuilder(pathParameters, requestAdapter); + } + /** + * Provides operations to manage the numberAssignments property of the microsoft.graph.teamsAdministration.telephoneNumberManagementRoot entity. + * @param numberAssignmentId The unique identifier of numberAssignment + * @return a {@link NumberAssignmentItemRequestBuilder} + */ + @jakarta.annotation.Nonnull + public NumberAssignmentItemRequestBuilder byNumberAssignmentId(@jakarta.annotation.Nonnull final String numberAssignmentId) { + Objects.requireNonNull(numberAssignmentId); + final HashMap urlTplParams = new HashMap(this.pathParameters); + urlTplParams.put("numberAssignment%2Did", numberAssignmentId); + return new NumberAssignmentItemRequestBuilder(urlTplParams, requestAdapter); + } + /** + * Instantiates a new {@link NumberAssignmentsRequestBuilder} and sets the default values. + * @param pathParameters Path parameters for the request + * @param requestAdapter The request adapter to use to execute the requests. + */ + public NumberAssignmentsRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/admin/teams/telephoneNumberManagement/numberAssignments{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters); + } + /** + * Instantiates a new {@link NumberAssignmentsRequestBuilder} 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 NumberAssignmentsRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/admin/teams/telephoneNumberManagement/numberAssignments{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl); + } + /** + * Read the properties and relationships of microsoft.graph.teamsAdministration.numberAssignment object. + * @return a {@link NumberAssignmentCollectionResponse} + * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here + */ + @jakarta.annotation.Nullable + public NumberAssignmentCollectionResponse get() { + return get(null); + } + /** + * Read the properties and relationships of microsoft.graph.teamsAdministration.numberAssignment object. + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link NumberAssignmentCollectionResponse} + * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here + */ + @jakarta.annotation.Nullable + public NumberAssignmentCollectionResponse 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, NumberAssignmentCollectionResponse::createFromDiscriminatorValue); + } + /** + * Create new navigation property to numberAssignments for admin + * @param body The request body + * @return a {@link NumberAssignment} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public NumberAssignment post(@jakarta.annotation.Nonnull final NumberAssignment body) { + return post(body, null); + } + /** + * Create new navigation property to numberAssignments for admin + * @param body The request body + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link NumberAssignment} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public NumberAssignment post(@jakarta.annotation.Nonnull final NumberAssignment 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, NumberAssignment::createFromDiscriminatorValue); + } + /** + * Read the properties and relationships of microsoft.graph.teamsAdministration.numberAssignment object. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toGetRequestInformation() { + return toGetRequestInformation(null); + } + /** + * Read the properties and relationships of microsoft.graph.teamsAdministration.numberAssignment 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; + } + /** + * Create new navigation property to numberAssignments for admin + * @param body The request body + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final NumberAssignment body) { + return toPostRequestInformation(body, null); + } + /** + * Create new navigation property to numberAssignments for admin + * @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 NumberAssignment 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 NumberAssignmentsRequestBuilder} + */ + @jakarta.annotation.Nonnull + public NumberAssignmentsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { + Objects.requireNonNull(rawUrl); + return new NumberAssignmentsRequestBuilder(rawUrl, requestAdapter); + } + /** + * Read the properties and relationships of microsoft.graph.teamsAdministration.numberAssignment object. + */ + @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/generated/admin/teams/telephonenumbermanagement/numberassignments/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/admin/teams/telephonenumbermanagement/numberassignments/count/CountRequestBuilder.java new file mode 100644 index 00000000000..abfd11bf25e --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/admin/teams/telephonenumbermanagement/numberassignments/count/CountRequestBuilder.java @@ -0,0 +1,128 @@ +package com.microsoft.graph.admin.teams.telephonenumbermanagement.numberassignments.count; + +import com.microsoft.graph.models.odataerrors.ODataError; +import com.microsoft.kiota.BaseRequestBuilder; +import com.microsoft.kiota.BaseRequestConfiguration; +import com.microsoft.kiota.HttpMethod; +import com.microsoft.kiota.QueryParameters; +import com.microsoft.kiota.RequestAdapter; +import com.microsoft.kiota.RequestInformation; +import com.microsoft.kiota.RequestOption; +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParsableFactory; +import java.util.Collection; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +/** + * Provides operations to 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/teams/telephoneNumberManagement/numberAssignments/$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/teams/telephoneNumberManagement/numberAssignments/$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/generated/admin/teams/telephonenumbermanagement/numberassignments/item/NumberAssignmentItemRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/admin/teams/telephonenumbermanagement/numberassignments/item/NumberAssignmentItemRequestBuilder.java new file mode 100644 index 00000000000..5434acca2a7 --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/admin/teams/telephonenumbermanagement/numberassignments/item/NumberAssignmentItemRequestBuilder.java @@ -0,0 +1,228 @@ +package com.microsoft.graph.admin.teams.telephonenumbermanagement.numberassignments.item; + +import com.microsoft.graph.models.odataerrors.ODataError; +import com.microsoft.graph.models.teamsadministration.NumberAssignment; +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 numberAssignments property of the microsoft.graph.teamsAdministration.telephoneNumberManagementRoot entity. + */ +@jakarta.annotation.Generated("com.microsoft.kiota") +public class NumberAssignmentItemRequestBuilder extends BaseRequestBuilder { + /** + * Instantiates a new {@link NumberAssignmentItemRequestBuilder} and sets the default values. + * @param pathParameters Path parameters for the request + * @param requestAdapter The request adapter to use to execute the requests. + */ + public NumberAssignmentItemRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/admin/teams/telephoneNumberManagement/numberAssignments/{numberAssignment%2Did}{?%24expand,%24select}", pathParameters); + } + /** + * Instantiates a new {@link NumberAssignmentItemRequestBuilder} 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 NumberAssignmentItemRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/admin/teams/telephoneNumberManagement/numberAssignments/{numberAssignment%2Did}{?%24expand,%24select}", rawUrl); + } + /** + * Delete navigation property numberAssignments for admin + * @throws ODataError When receiving a 4XX or 5XX status code + */ + public void delete() { + delete(null); + } + /** + * Delete navigation property numberAssignments for admin + * @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 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); + } + /** + * Represents a collection of synchronous telephone number management operations. + * @return a {@link NumberAssignment} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public NumberAssignment get() { + return get(null); + } + /** + * Represents a collection of synchronous telephone number management operations. + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link NumberAssignment} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public NumberAssignment 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, NumberAssignment::createFromDiscriminatorValue); + } + /** + * Update the navigation property numberAssignments in admin + * @param body The request body + * @return a {@link NumberAssignment} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public NumberAssignment patch(@jakarta.annotation.Nonnull final NumberAssignment body) { + return patch(body, null); + } + /** + * Update the navigation property numberAssignments in admin + * @param body The request body + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link NumberAssignment} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public NumberAssignment patch(@jakarta.annotation.Nonnull final NumberAssignment 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, NumberAssignment::createFromDiscriminatorValue); + } + /** + * Delete navigation property numberAssignments for admin + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toDeleteRequestInformation() { + return toDeleteRequestInformation(null); + } + /** + * Delete navigation property numberAssignments for admin + * @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); + requestInfo.headers.tryAdd("Accept", "application/json"); + return requestInfo; + } + /** + * Represents a collection of synchronous telephone number management operations. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toGetRequestInformation() { + return toGetRequestInformation(null); + } + /** + * Represents a collection of synchronous telephone number management operations. + * @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 navigation property numberAssignments in admin + * @param body The request body + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final NumberAssignment body) { + return toPatchRequestInformation(body, null); + } + /** + * Update the navigation property numberAssignments in admin + * @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 NumberAssignment 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 NumberAssignmentItemRequestBuilder} + */ + @jakarta.annotation.Nonnull + public NumberAssignmentItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { + Objects.requireNonNull(rawUrl); + return new NumberAssignmentItemRequestBuilder(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 { + } + /** + * Represents a collection of synchronous telephone number management operations. + */ + @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/generated/admin/teams/telephonenumbermanagement/numberassignments/microsoftgraphteamsadministrationassignnumber/AssignNumberPostRequestBody.java b/src/main/java/com/microsoft/graph/generated/admin/teams/telephonenumbermanagement/numberassignments/microsoftgraphteamsadministrationassignnumber/AssignNumberPostRequestBody.java new file mode 100644 index 00000000000..093925f411e --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/admin/teams/telephonenumbermanagement/numberassignments/microsoftgraphteamsadministrationassignnumber/AssignNumberPostRequestBody.java @@ -0,0 +1,177 @@ +package com.microsoft.graph.admin.teams.telephonenumbermanagement.numberassignments.microsoftgraphteamsadministrationassignnumber; + +import com.microsoft.graph.models.teamsadministration.AssignmentCategory; +import com.microsoft.graph.models.teamsadministration.NumberType; +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 AssignNumberPostRequestBody implements AdditionalDataHolder, BackedModel, Parsable { + /** + * Stores model information. + */ + @jakarta.annotation.Nonnull + protected BackingStore backingStore; + /** + * Instantiates a new {@link AssignNumberPostRequestBody} and sets the default values. + */ + public AssignNumberPostRequestBody() { + 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 AssignNumberPostRequestBody} + */ + @jakarta.annotation.Nonnull + public static AssignNumberPostRequestBody createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) { + Objects.requireNonNull(parseNode); + return new AssignNumberPostRequestBody(); + } + /** + * 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 assignmentCategory property value. The assignmentCategory property + * @return a {@link AssignmentCategory} + */ + @jakarta.annotation.Nullable + public AssignmentCategory getAssignmentCategory() { + return this.backingStore.get("assignmentCategory"); + } + /** + * Gets the assignmentTargetId property value. The assignmentTargetId property + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String getAssignmentTargetId() { + return this.backingStore.get("assignmentTargetId"); + } + /** + * 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>(5); + deserializerMap.put("assignmentCategory", (n) -> { this.setAssignmentCategory(n.getEnumValue(AssignmentCategory::forValue)); }); + deserializerMap.put("assignmentTargetId", (n) -> { this.setAssignmentTargetId(n.getStringValue()); }); + deserializerMap.put("locationId", (n) -> { this.setLocationId(n.getStringValue()); }); + deserializerMap.put("numberType", (n) -> { this.setNumberType(n.getEnumValue(NumberType::forValue)); }); + deserializerMap.put("telephoneNumber", (n) -> { this.setTelephoneNumber(n.getStringValue()); }); + return deserializerMap; + } + /** + * Gets the locationId property value. The locationId property + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String getLocationId() { + return this.backingStore.get("locationId"); + } + /** + * Gets the numberType property value. The numberType property + * @return a {@link NumberType} + */ + @jakarta.annotation.Nullable + public NumberType getNumberType() { + return this.backingStore.get("numberType"); + } + /** + * Gets the telephoneNumber property value. The telephoneNumber property + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String getTelephoneNumber() { + return this.backingStore.get("telephoneNumber"); + } + /** + * 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.writeEnumValue("assignmentCategory", this.getAssignmentCategory()); + writer.writeStringValue("assignmentTargetId", this.getAssignmentTargetId()); + writer.writeStringValue("locationId", this.getLocationId()); + writer.writeEnumValue("numberType", this.getNumberType()); + writer.writeStringValue("telephoneNumber", this.getTelephoneNumber()); + 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 assignmentCategory property value. The assignmentCategory property + * @param value Value to set for the assignmentCategory property. + */ + public void setAssignmentCategory(@jakarta.annotation.Nullable final AssignmentCategory value) { + this.backingStore.set("assignmentCategory", value); + } + /** + * Sets the assignmentTargetId property value. The assignmentTargetId property + * @param value Value to set for the assignmentTargetId property. + */ + public void setAssignmentTargetId(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("assignmentTargetId", 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 locationId property value. The locationId property + * @param value Value to set for the locationId property. + */ + public void setLocationId(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("locationId", value); + } + /** + * Sets the numberType property value. The numberType property + * @param value Value to set for the numberType property. + */ + public void setNumberType(@jakarta.annotation.Nullable final NumberType value) { + this.backingStore.set("numberType", value); + } + /** + * Sets the telephoneNumber property value. The telephoneNumber property + * @param value Value to set for the telephoneNumber property. + */ + public void setTelephoneNumber(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("telephoneNumber", value); + } +} diff --git a/src/main/java/com/microsoft/graph/generated/admin/teams/telephonenumbermanagement/numberassignments/microsoftgraphteamsadministrationassignnumber/MicrosoftGraphTeamsAdministrationAssignNumberRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/admin/teams/telephonenumbermanagement/numberassignments/microsoftgraphteamsadministrationassignnumber/MicrosoftGraphTeamsAdministrationAssignNumberRequestBuilder.java new file mode 100644 index 00000000000..cf82ea0bbc6 --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/admin/teams/telephonenumbermanagement/numberassignments/microsoftgraphteamsadministrationassignnumber/MicrosoftGraphTeamsAdministrationAssignNumberRequestBuilder.java @@ -0,0 +1,100 @@ +package com.microsoft.graph.admin.teams.telephonenumbermanagement.numberassignments.microsoftgraphteamsadministrationassignnumber; + +import com.microsoft.graph.models.odataerrors.ODataError; +import com.microsoft.kiota.BaseRequestBuilder; +import com.microsoft.kiota.BaseRequestConfiguration; +import com.microsoft.kiota.HttpMethod; +import com.microsoft.kiota.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 assignNumber method. + */ +@jakarta.annotation.Generated("com.microsoft.kiota") +public class MicrosoftGraphTeamsAdministrationAssignNumberRequestBuilder extends BaseRequestBuilder { + /** + * Instantiates a new {@link MicrosoftGraphTeamsAdministrationAssignNumberRequestBuilder} and sets the default values. + * @param pathParameters Path parameters for the request + * @param requestAdapter The request adapter to use to execute the requests. + */ + public MicrosoftGraphTeamsAdministrationAssignNumberRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/admin/teams/telephoneNumberManagement/numberAssignments/microsoft.graph.teamsAdministration.assignNumber", pathParameters); + } + /** + * Instantiates a new {@link MicrosoftGraphTeamsAdministrationAssignNumberRequestBuilder} 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 MicrosoftGraphTeamsAdministrationAssignNumberRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/admin/teams/telephoneNumberManagement/numberAssignments/microsoft.graph.teamsAdministration.assignNumber", rawUrl); + } + /** + * Creates an asynchronous order to assign a telephone number to a user account. + * @param body The request body + * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here + */ + public void post(@jakarta.annotation.Nonnull final AssignNumberPostRequestBody body) { + post(body, null); + } + /** + * Creates an asynchronous order to assign a telephone number to a user account. + * @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 + */ + public void post(@jakarta.annotation.Nonnull final AssignNumberPostRequestBody 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); + } + /** + * Creates an asynchronous order to assign a telephone number to a user account. + * @param body The request body + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final AssignNumberPostRequestBody body) { + return toPostRequestInformation(body, null); + } + /** + * Creates an asynchronous order to assign a telephone number to a user account. + * @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 AssignNumberPostRequestBody 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 MicrosoftGraphTeamsAdministrationAssignNumberRequestBuilder} + */ + @jakarta.annotation.Nonnull + public MicrosoftGraphTeamsAdministrationAssignNumberRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { + Objects.requireNonNull(rawUrl); + return new MicrosoftGraphTeamsAdministrationAssignNumberRequestBuilder(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/generated/admin/teams/telephonenumbermanagement/numberassignments/microsoftgraphteamsadministrationunassignnumber/MicrosoftGraphTeamsAdministrationUnassignNumberRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/admin/teams/telephonenumbermanagement/numberassignments/microsoftgraphteamsadministrationunassignnumber/MicrosoftGraphTeamsAdministrationUnassignNumberRequestBuilder.java new file mode 100644 index 00000000000..fba33fe667f --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/admin/teams/telephonenumbermanagement/numberassignments/microsoftgraphteamsadministrationunassignnumber/MicrosoftGraphTeamsAdministrationUnassignNumberRequestBuilder.java @@ -0,0 +1,100 @@ +package com.microsoft.graph.admin.teams.telephonenumbermanagement.numberassignments.microsoftgraphteamsadministrationunassignnumber; + +import com.microsoft.graph.models.odataerrors.ODataError; +import com.microsoft.kiota.BaseRequestBuilder; +import com.microsoft.kiota.BaseRequestConfiguration; +import com.microsoft.kiota.HttpMethod; +import com.microsoft.kiota.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 unassignNumber method. + */ +@jakarta.annotation.Generated("com.microsoft.kiota") +public class MicrosoftGraphTeamsAdministrationUnassignNumberRequestBuilder extends BaseRequestBuilder { + /** + * Instantiates a new {@link MicrosoftGraphTeamsAdministrationUnassignNumberRequestBuilder} and sets the default values. + * @param pathParameters Path parameters for the request + * @param requestAdapter The request adapter to use to execute the requests. + */ + public MicrosoftGraphTeamsAdministrationUnassignNumberRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/admin/teams/telephoneNumberManagement/numberAssignments/microsoft.graph.teamsAdministration.unassignNumber", pathParameters); + } + /** + * Instantiates a new {@link MicrosoftGraphTeamsAdministrationUnassignNumberRequestBuilder} 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 MicrosoftGraphTeamsAdministrationUnassignNumberRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/admin/teams/telephoneNumberManagement/numberAssignments/microsoft.graph.teamsAdministration.unassignNumber", rawUrl); + } + /** + * Creates an asynchronous order to unassign a telephone number from a user account. + * @param body The request body + * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here + */ + public void post(@jakarta.annotation.Nonnull final UnassignNumberPostRequestBody body) { + post(body, null); + } + /** + * Creates an asynchronous order to unassign a telephone number from a user account. + * @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 + */ + public void post(@jakarta.annotation.Nonnull final UnassignNumberPostRequestBody 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); + } + /** + * Creates an asynchronous order to unassign a telephone number from a user account. + * @param body The request body + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final UnassignNumberPostRequestBody body) { + return toPostRequestInformation(body, null); + } + /** + * Creates an asynchronous order to unassign a telephone number from a user account. + * @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 UnassignNumberPostRequestBody 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 MicrosoftGraphTeamsAdministrationUnassignNumberRequestBuilder} + */ + @jakarta.annotation.Nonnull + public MicrosoftGraphTeamsAdministrationUnassignNumberRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { + Objects.requireNonNull(rawUrl); + return new MicrosoftGraphTeamsAdministrationUnassignNumberRequestBuilder(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/generated/admin/teams/telephonenumbermanagement/numberassignments/microsoftgraphteamsadministrationunassignnumber/UnassignNumberPostRequestBody.java b/src/main/java/com/microsoft/graph/generated/admin/teams/telephonenumbermanagement/numberassignments/microsoftgraphteamsadministrationunassignnumber/UnassignNumberPostRequestBody.java new file mode 100644 index 00000000000..2da62cc9a43 --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/admin/teams/telephonenumbermanagement/numberassignments/microsoftgraphteamsadministrationunassignnumber/UnassignNumberPostRequestBody.java @@ -0,0 +1,125 @@ +package com.microsoft.graph.admin.teams.telephonenumbermanagement.numberassignments.microsoftgraphteamsadministrationunassignnumber; + +import com.microsoft.graph.models.teamsadministration.NumberType; +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 UnassignNumberPostRequestBody implements AdditionalDataHolder, BackedModel, Parsable { + /** + * Stores model information. + */ + @jakarta.annotation.Nonnull + protected BackingStore backingStore; + /** + * Instantiates a new {@link UnassignNumberPostRequestBody} and sets the default values. + */ + public UnassignNumberPostRequestBody() { + 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 UnassignNumberPostRequestBody} + */ + @jakarta.annotation.Nonnull + public static UnassignNumberPostRequestBody createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) { + Objects.requireNonNull(parseNode); + return new UnassignNumberPostRequestBody(); + } + /** + * 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>(2); + deserializerMap.put("numberType", (n) -> { this.setNumberType(n.getEnumValue(NumberType::forValue)); }); + deserializerMap.put("telephoneNumber", (n) -> { this.setTelephoneNumber(n.getStringValue()); }); + return deserializerMap; + } + /** + * Gets the numberType property value. The numberType property + * @return a {@link NumberType} + */ + @jakarta.annotation.Nullable + public NumberType getNumberType() { + return this.backingStore.get("numberType"); + } + /** + * Gets the telephoneNumber property value. The telephoneNumber property + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String getTelephoneNumber() { + return this.backingStore.get("telephoneNumber"); + } + /** + * 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.writeEnumValue("numberType", this.getNumberType()); + writer.writeStringValue("telephoneNumber", this.getTelephoneNumber()); + 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 numberType property value. The numberType property + * @param value Value to set for the numberType property. + */ + public void setNumberType(@jakarta.annotation.Nullable final NumberType value) { + this.backingStore.set("numberType", value); + } + /** + * Sets the telephoneNumber property value. The telephoneNumber property + * @param value Value to set for the telephoneNumber property. + */ + public void setTelephoneNumber(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("telephoneNumber", value); + } +} diff --git a/src/main/java/com/microsoft/graph/generated/admin/teams/telephonenumbermanagement/numberassignments/microsoftgraphteamsadministrationupdatenumber/MicrosoftGraphTeamsAdministrationUpdateNumberRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/admin/teams/telephonenumbermanagement/numberassignments/microsoftgraphteamsadministrationupdatenumber/MicrosoftGraphTeamsAdministrationUpdateNumberRequestBuilder.java new file mode 100644 index 00000000000..57d2b7bea86 --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/admin/teams/telephonenumbermanagement/numberassignments/microsoftgraphteamsadministrationupdatenumber/MicrosoftGraphTeamsAdministrationUpdateNumberRequestBuilder.java @@ -0,0 +1,100 @@ +package com.microsoft.graph.admin.teams.telephonenumbermanagement.numberassignments.microsoftgraphteamsadministrationupdatenumber; + +import com.microsoft.graph.models.odataerrors.ODataError; +import com.microsoft.kiota.BaseRequestBuilder; +import com.microsoft.kiota.BaseRequestConfiguration; +import com.microsoft.kiota.HttpMethod; +import com.microsoft.kiota.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 updateNumber method. + */ +@jakarta.annotation.Generated("com.microsoft.kiota") +public class MicrosoftGraphTeamsAdministrationUpdateNumberRequestBuilder extends BaseRequestBuilder { + /** + * Instantiates a new {@link MicrosoftGraphTeamsAdministrationUpdateNumberRequestBuilder} and sets the default values. + * @param pathParameters Path parameters for the request + * @param requestAdapter The request adapter to use to execute the requests. + */ + public MicrosoftGraphTeamsAdministrationUpdateNumberRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/admin/teams/telephoneNumberManagement/numberAssignments/microsoft.graph.teamsAdministration.updateNumber", pathParameters); + } + /** + * Instantiates a new {@link MicrosoftGraphTeamsAdministrationUpdateNumberRequestBuilder} 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 MicrosoftGraphTeamsAdministrationUpdateNumberRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/admin/teams/telephoneNumberManagement/numberAssignments/microsoft.graph.teamsAdministration.updateNumber", rawUrl); + } + /** + * This method is used to update an existing number with optional attributes. Currently supported attributes are locationId, networkSiteId, and reverseNumberLookupOptions. + * @param body The request body + * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here + */ + public void post(@jakarta.annotation.Nonnull final UpdateNumberPostRequestBody body) { + post(body, null); + } + /** + * This method is used to update an existing number with optional attributes. Currently supported attributes are locationId, networkSiteId, and reverseNumberLookupOptions. + * @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 + */ + public void post(@jakarta.annotation.Nonnull final UpdateNumberPostRequestBody 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); + } + /** + * This method is used to update an existing number with optional attributes. Currently supported attributes are locationId, networkSiteId, and reverseNumberLookupOptions. + * @param body The request body + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final UpdateNumberPostRequestBody body) { + return toPostRequestInformation(body, null); + } + /** + * This method is used to update an existing number with optional attributes. Currently supported attributes are locationId, networkSiteId, and reverseNumberLookupOptions. + * @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 UpdateNumberPostRequestBody 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 MicrosoftGraphTeamsAdministrationUpdateNumberRequestBuilder} + */ + @jakarta.annotation.Nonnull + public MicrosoftGraphTeamsAdministrationUpdateNumberRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { + Objects.requireNonNull(rawUrl); + return new MicrosoftGraphTeamsAdministrationUpdateNumberRequestBuilder(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/generated/admin/teams/telephonenumbermanagement/numberassignments/microsoftgraphteamsadministrationupdatenumber/UpdateNumberPostRequestBody.java b/src/main/java/com/microsoft/graph/generated/admin/teams/telephonenumbermanagement/numberassignments/microsoftgraphteamsadministrationupdatenumber/UpdateNumberPostRequestBody.java new file mode 100644 index 00000000000..a7725e6e0e5 --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/admin/teams/telephonenumbermanagement/numberassignments/microsoftgraphteamsadministrationupdatenumber/UpdateNumberPostRequestBody.java @@ -0,0 +1,158 @@ +package com.microsoft.graph.admin.teams.telephonenumbermanagement.numberassignments.microsoftgraphteamsadministrationupdatenumber; + +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 UpdateNumberPostRequestBody implements AdditionalDataHolder, BackedModel, Parsable { + /** + * Stores model information. + */ + @jakarta.annotation.Nonnull + protected BackingStore backingStore; + /** + * Instantiates a new {@link UpdateNumberPostRequestBody} and sets the default values. + */ + public UpdateNumberPostRequestBody() { + 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 UpdateNumberPostRequestBody} + */ + @jakarta.annotation.Nonnull + public static UpdateNumberPostRequestBody createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) { + Objects.requireNonNull(parseNode); + return new UpdateNumberPostRequestBody(); + } + /** + * 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>(4); + deserializerMap.put("locationId", (n) -> { this.setLocationId(n.getStringValue()); }); + deserializerMap.put("networkSiteId", (n) -> { this.setNetworkSiteId(n.getStringValue()); }); + deserializerMap.put("reverseNumberLookupOptions", (n) -> { this.setReverseNumberLookupOptions(n.getCollectionOfPrimitiveValues(String.class)); }); + deserializerMap.put("telephoneNumber", (n) -> { this.setTelephoneNumber(n.getStringValue()); }); + return deserializerMap; + } + /** + * Gets the locationId property value. The locationId property + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String getLocationId() { + return this.backingStore.get("locationId"); + } + /** + * Gets the networkSiteId property value. The networkSiteId property + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String getNetworkSiteId() { + return this.backingStore.get("networkSiteId"); + } + /** + * Gets the reverseNumberLookupOptions property value. The reverseNumberLookupOptions property + * @return a {@link java.util.List} + */ + @jakarta.annotation.Nullable + public java.util.List getReverseNumberLookupOptions() { + return this.backingStore.get("reverseNumberLookupOptions"); + } + /** + * Gets the telephoneNumber property value. The telephoneNumber property + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String getTelephoneNumber() { + return this.backingStore.get("telephoneNumber"); + } + /** + * 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("locationId", this.getLocationId()); + writer.writeStringValue("networkSiteId", this.getNetworkSiteId()); + writer.writeCollectionOfPrimitiveValues("reverseNumberLookupOptions", this.getReverseNumberLookupOptions()); + writer.writeStringValue("telephoneNumber", this.getTelephoneNumber()); + 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 locationId property value. The locationId property + * @param value Value to set for the locationId property. + */ + public void setLocationId(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("locationId", value); + } + /** + * Sets the networkSiteId property value. The networkSiteId property + * @param value Value to set for the networkSiteId property. + */ + public void setNetworkSiteId(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("networkSiteId", value); + } + /** + * Sets the reverseNumberLookupOptions property value. The reverseNumberLookupOptions property + * @param value Value to set for the reverseNumberLookupOptions property. + */ + public void setReverseNumberLookupOptions(@jakarta.annotation.Nullable final java.util.List value) { + this.backingStore.set("reverseNumberLookupOptions", value); + } + /** + * Sets the telephoneNumber property value. The telephoneNumber property + * @param value Value to set for the telephoneNumber property. + */ + public void setTelephoneNumber(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("telephoneNumber", value); + } +} diff --git a/src/main/java/com/microsoft/graph/generated/admin/teams/telephonenumbermanagement/operations/OperationsRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/admin/teams/telephonenumbermanagement/operations/OperationsRequestBuilder.java new file mode 100644 index 00000000000..d3fc0b07b90 --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/admin/teams/telephonenumbermanagement/operations/OperationsRequestBuilder.java @@ -0,0 +1,243 @@ +package com.microsoft.graph.admin.teams.telephonenumbermanagement.operations; + +import com.microsoft.graph.admin.teams.telephonenumbermanagement.operations.count.CountRequestBuilder; +import com.microsoft.graph.admin.teams.telephonenumbermanagement.operations.item.TelephoneNumberLongRunningOperationItemRequestBuilder; +import com.microsoft.graph.models.odataerrors.ODataError; +import com.microsoft.graph.models.teamsadministration.TelephoneNumberLongRunningOperation; +import com.microsoft.graph.models.teamsadministration.TelephoneNumberLongRunningOperationCollectionResponse; +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 operations property of the microsoft.graph.teamsAdministration.telephoneNumberManagementRoot entity. + */ +@jakarta.annotation.Generated("com.microsoft.kiota") +public class OperationsRequestBuilder 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 operations property of the microsoft.graph.teamsAdministration.telephoneNumberManagementRoot entity. + * @param telephoneNumberLongRunningOperationId The unique identifier of telephoneNumberLongRunningOperation + * @return a {@link TelephoneNumberLongRunningOperationItemRequestBuilder} + */ + @jakarta.annotation.Nonnull + public TelephoneNumberLongRunningOperationItemRequestBuilder byTelephoneNumberLongRunningOperationId(@jakarta.annotation.Nonnull final String telephoneNumberLongRunningOperationId) { + Objects.requireNonNull(telephoneNumberLongRunningOperationId); + final HashMap urlTplParams = new HashMap(this.pathParameters); + urlTplParams.put("telephoneNumberLongRunningOperation%2Did", telephoneNumberLongRunningOperationId); + return new TelephoneNumberLongRunningOperationItemRequestBuilder(urlTplParams, requestAdapter); + } + /** + * Instantiates a new {@link OperationsRequestBuilder} and sets the default values. + * @param pathParameters Path parameters for the request + * @param requestAdapter The request adapter to use to execute the requests. + */ + public OperationsRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/admin/teams/telephoneNumberManagement/operations{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters); + } + /** + * Instantiates a new {@link OperationsRequestBuilder} 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 OperationsRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/admin/teams/telephoneNumberManagement/operations{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl); + } + /** + * Read the properties and relationships of microsoft.graph.teamsAdministration.telephoneNumberLongRunningOperation object. This method is used to query the status of an assign or unassign number action using Graph API. This link is returned in the Location response header found in assign or unassign operation result. + * @return a {@link TelephoneNumberLongRunningOperationCollectionResponse} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public TelephoneNumberLongRunningOperationCollectionResponse get() { + return get(null); + } + /** + * Read the properties and relationships of microsoft.graph.teamsAdministration.telephoneNumberLongRunningOperation object. This method is used to query the status of an assign or unassign number action using Graph API. This link is returned in the Location response header found in assign or unassign operation result. + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link TelephoneNumberLongRunningOperationCollectionResponse} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public TelephoneNumberLongRunningOperationCollectionResponse 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, TelephoneNumberLongRunningOperationCollectionResponse::createFromDiscriminatorValue); + } + /** + * Create new navigation property to operations for admin + * @param body The request body + * @return a {@link TelephoneNumberLongRunningOperation} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public TelephoneNumberLongRunningOperation post(@jakarta.annotation.Nonnull final TelephoneNumberLongRunningOperation body) { + return post(body, null); + } + /** + * Create new navigation property to operations for admin + * @param body The request body + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link TelephoneNumberLongRunningOperation} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public TelephoneNumberLongRunningOperation post(@jakarta.annotation.Nonnull final TelephoneNumberLongRunningOperation 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, TelephoneNumberLongRunningOperation::createFromDiscriminatorValue); + } + /** + * Read the properties and relationships of microsoft.graph.teamsAdministration.telephoneNumberLongRunningOperation object. This method is used to query the status of an assign or unassign number action using Graph API. This link is returned in the Location response header found in assign or unassign operation result. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toGetRequestInformation() { + return toGetRequestInformation(null); + } + /** + * Read the properties and relationships of microsoft.graph.teamsAdministration.telephoneNumberLongRunningOperation object. This method is used to query the status of an assign or unassign number action using Graph API. This link is returned in the Location response header found in assign or unassign operation result. + * @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 new navigation property to operations for admin + * @param body The request body + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final TelephoneNumberLongRunningOperation body) { + return toPostRequestInformation(body, null); + } + /** + * Create new navigation property to operations for admin + * @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 TelephoneNumberLongRunningOperation 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 OperationsRequestBuilder} + */ + @jakarta.annotation.Nonnull + public OperationsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { + Objects.requireNonNull(rawUrl); + return new OperationsRequestBuilder(rawUrl, requestAdapter); + } + /** + * Read the properties and relationships of microsoft.graph.teamsAdministration.telephoneNumberLongRunningOperation object. This method is used to query the status of an assign or unassign number action using Graph API. This link is returned in the Location response header found in assign or unassign operation result. + */ + @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/generated/admin/teams/telephonenumbermanagement/operations/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/admin/teams/telephonenumbermanagement/operations/count/CountRequestBuilder.java new file mode 100644 index 00000000000..10b68b49b52 --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/admin/teams/telephonenumbermanagement/operations/count/CountRequestBuilder.java @@ -0,0 +1,128 @@ +package com.microsoft.graph.admin.teams.telephonenumbermanagement.operations.count; + +import com.microsoft.graph.models.odataerrors.ODataError; +import com.microsoft.kiota.BaseRequestBuilder; +import com.microsoft.kiota.BaseRequestConfiguration; +import com.microsoft.kiota.HttpMethod; +import com.microsoft.kiota.QueryParameters; +import com.microsoft.kiota.RequestAdapter; +import com.microsoft.kiota.RequestInformation; +import com.microsoft.kiota.RequestOption; +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParsableFactory; +import java.util.Collection; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +/** + * Provides operations to 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/teams/telephoneNumberManagement/operations/$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/teams/telephoneNumberManagement/operations/$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/generated/admin/teams/telephonenumbermanagement/operations/item/TelephoneNumberLongRunningOperationItemRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/admin/teams/telephonenumbermanagement/operations/item/TelephoneNumberLongRunningOperationItemRequestBuilder.java new file mode 100644 index 00000000000..2f7e41c07d9 --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/admin/teams/telephonenumbermanagement/operations/item/TelephoneNumberLongRunningOperationItemRequestBuilder.java @@ -0,0 +1,230 @@ +package com.microsoft.graph.admin.teams.telephonenumbermanagement.operations.item; + +import com.microsoft.graph.models.odataerrors.ODataError; +import com.microsoft.graph.models.teamsadministration.TelephoneNumberLongRunningOperation; +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 operations property of the microsoft.graph.teamsAdministration.telephoneNumberManagementRoot entity. + */ +@jakarta.annotation.Generated("com.microsoft.kiota") +public class TelephoneNumberLongRunningOperationItemRequestBuilder extends BaseRequestBuilder { + /** + * Instantiates a new {@link TelephoneNumberLongRunningOperationItemRequestBuilder} and sets the default values. + * @param pathParameters Path parameters for the request + * @param requestAdapter The request adapter to use to execute the requests. + */ + public TelephoneNumberLongRunningOperationItemRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/admin/teams/telephoneNumberManagement/operations/{telephoneNumberLongRunningOperation%2Did}{?%24expand,%24select}", pathParameters); + } + /** + * Instantiates a new {@link TelephoneNumberLongRunningOperationItemRequestBuilder} 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 TelephoneNumberLongRunningOperationItemRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/admin/teams/telephoneNumberManagement/operations/{telephoneNumberLongRunningOperation%2Did}{?%24expand,%24select}", rawUrl); + } + /** + * Delete navigation property operations for admin + * @throws ODataError When receiving a 4XX or 5XX status code + */ + public void delete() { + delete(null); + } + /** + * Delete navigation property operations for admin + * @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 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 microsoft.graph.teamsAdministration.telephoneNumberLongRunningOperation object. This method is used to query the status of an assign or unassign number action using Graph API. This link is returned in the Location response header found in assign or unassign operation result. + * @return a {@link TelephoneNumberLongRunningOperation} + * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here + */ + @jakarta.annotation.Nullable + public TelephoneNumberLongRunningOperation get() { + return get(null); + } + /** + * Read the properties and relationships of microsoft.graph.teamsAdministration.telephoneNumberLongRunningOperation object. This method is used to query the status of an assign or unassign number action using Graph API. This link is returned in the Location response header found in assign or unassign operation result. + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link TelephoneNumberLongRunningOperation} + * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here + */ + @jakarta.annotation.Nullable + public TelephoneNumberLongRunningOperation 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, TelephoneNumberLongRunningOperation::createFromDiscriminatorValue); + } + /** + * Update the navigation property operations in admin + * @param body The request body + * @return a {@link TelephoneNumberLongRunningOperation} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public TelephoneNumberLongRunningOperation patch(@jakarta.annotation.Nonnull final TelephoneNumberLongRunningOperation body) { + return patch(body, null); + } + /** + * Update the navigation property operations in admin + * @param body The request body + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link TelephoneNumberLongRunningOperation} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public TelephoneNumberLongRunningOperation patch(@jakarta.annotation.Nonnull final TelephoneNumberLongRunningOperation 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, TelephoneNumberLongRunningOperation::createFromDiscriminatorValue); + } + /** + * Delete navigation property operations for admin + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toDeleteRequestInformation() { + return toDeleteRequestInformation(null); + } + /** + * Delete navigation property operations for admin + * @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); + requestInfo.headers.tryAdd("Accept", "application/json"); + return requestInfo; + } + /** + * Read the properties and relationships of microsoft.graph.teamsAdministration.telephoneNumberLongRunningOperation object. This method is used to query the status of an assign or unassign number action using Graph API. This link is returned in the Location response header found in assign or unassign operation result. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toGetRequestInformation() { + return toGetRequestInformation(null); + } + /** + * Read the properties and relationships of microsoft.graph.teamsAdministration.telephoneNumberLongRunningOperation object. This method is used to query the status of an assign or unassign number action using Graph API. This link is returned in the Location response header found in assign or unassign operation result. + * @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 navigation property operations in admin + * @param body The request body + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final TelephoneNumberLongRunningOperation body) { + return toPatchRequestInformation(body, null); + } + /** + * Update the navigation property operations in admin + * @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 TelephoneNumberLongRunningOperation 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 TelephoneNumberLongRunningOperationItemRequestBuilder} + */ + @jakarta.annotation.Nonnull + public TelephoneNumberLongRunningOperationItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { + Objects.requireNonNull(rawUrl); + return new TelephoneNumberLongRunningOperationItemRequestBuilder(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 microsoft.graph.teamsAdministration.telephoneNumberLongRunningOperation object. This method is used to query the status of an assign or unassign number action using Graph API. This link is returned in the Location response header found in assign or unassign operation result. + */ + @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/generated/applications/ApplicationsRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/applications/ApplicationsRequestBuilder.java index add2d1d46d5..d0f20ad45bc 100644 --- a/src/main/java/com/microsoft/graph/generated/applications/ApplicationsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/generated/applications/ApplicationsRequestBuilder.java @@ -96,7 +96,7 @@ public ApplicationsRequestBuilder(@jakarta.annotation.Nonnull final String rawUr super(requestAdapter, "{+baseurl}/applications{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl); } /** - * Get the list of applications in this organization. + * Get the list of applications in this organization. This API also returns agentIdentityBlueprint objects, which are identified by the @odata.type property of #microsoft.graph.agentIdentityBlueprint. * @return a {@link ApplicationCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code * @see Find more info here @@ -106,7 +106,7 @@ public ApplicationCollectionResponse get() { return get(null); } /** - * Get the list of applications in this organization. + * Get the list of applications in this organization. This API also returns agentIdentityBlueprint objects, which are identified by the @odata.type property of #microsoft.graph.agentIdentityBlueprint. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link ApplicationCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code @@ -120,7 +120,7 @@ public ApplicationCollectionResponse get(@jakarta.annotation.Nullable final java return this.requestAdapter.send(requestInfo, errorMapping, ApplicationCollectionResponse::createFromDiscriminatorValue); } /** - * Create a new application object. + * Create a new application object. This API can also create an agentIdentityBlueprint object when the @odata.type property is set to #microsoft.graph.agentIdentityBlueprint. * @param body The request body * @return a {@link Application} * @throws ODataError When receiving a 4XX or 5XX status code @@ -131,7 +131,7 @@ public Application post(@jakarta.annotation.Nonnull final Application body) { return post(body, null); } /** - * Create a new application object. + * Create a new application object. This API can also create an agentIdentityBlueprint object when the @odata.type property is set to #microsoft.graph.agentIdentityBlueprint. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Application} @@ -147,7 +147,7 @@ public Application post(@jakarta.annotation.Nonnull final Application body, @jak return this.requestAdapter.send(requestInfo, errorMapping, Application::createFromDiscriminatorValue); } /** - * Get the list of applications in this organization. + * Get the list of applications in this organization. This API also returns agentIdentityBlueprint objects, which are identified by the @odata.type property of #microsoft.graph.agentIdentityBlueprint. * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull @@ -155,7 +155,7 @@ public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } /** - * Get the list of applications in this organization. + * Get the list of applications in this organization. This API also returns agentIdentityBlueprint objects, which are identified by the @odata.type property of #microsoft.graph.agentIdentityBlueprint. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} */ @@ -167,7 +167,7 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f return requestInfo; } /** - * Create a new application object. + * Create a new application object. This API can also create an agentIdentityBlueprint object when the @odata.type property is set to #microsoft.graph.agentIdentityBlueprint. * @param body The request body * @return a {@link RequestInformation} */ @@ -176,7 +176,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f return toPostRequestInformation(body, null); } /** - * Create a new application object. + * Create a new application object. This API can also create an agentIdentityBlueprint object when the @odata.type property is set to #microsoft.graph.agentIdentityBlueprint. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} @@ -201,7 +201,7 @@ public ApplicationsRequestBuilder withUrl(@jakarta.annotation.Nonnull final Stri return new ApplicationsRequestBuilder(rawUrl, requestAdapter); } /** - * Get the list of applications in this organization. + * Get the list of applications in this organization. This API also returns agentIdentityBlueprint objects, which are identified by the @odata.type property of #microsoft.graph.agentIdentityBlueprint. */ @jakarta.annotation.Generated("com.microsoft.kiota") public class GetQueryParameters implements QueryParameters { diff --git a/src/main/java/com/microsoft/graph/generated/applications/delta/DeltaGetResponse.java b/src/main/java/com/microsoft/graph/generated/applications/delta/DeltaGetResponse.java index 1b5f885fb98..e26aaf872c9 100644 --- a/src/main/java/com/microsoft/graph/generated/applications/delta/DeltaGetResponse.java +++ b/src/main/java/com/microsoft/graph/generated/applications/delta/DeltaGetResponse.java @@ -1,7 +1,7 @@ package com.microsoft.graph.applications.delta; -import com.microsoft.graph.models.Application; import com.microsoft.graph.models.BaseDeltaFunctionResponse; +import com.microsoft.graph.models.DirectoryObject; import com.microsoft.kiota.serialization.Parsable; import com.microsoft.kiota.serialization.ParseNode; import com.microsoft.kiota.serialization.SerializationWriter; @@ -33,15 +33,15 @@ public static DeltaGetResponse createFromDiscriminatorValue(@jakarta.annotation. @jakarta.annotation.Nonnull public Map> getFieldDeserializers() { final HashMap> deserializerMap = new HashMap>(super.getFieldDeserializers()); - deserializerMap.put("value", (n) -> { this.setValue(n.getCollectionOfObjectValues(Application::createFromDiscriminatorValue)); }); + deserializerMap.put("value", (n) -> { this.setValue(n.getCollectionOfObjectValues(DirectoryObject::createFromDiscriminatorValue)); }); return deserializerMap; } /** * Gets the value property value. The value property - * @return a {@link java.util.List} + * @return a {@link java.util.List} */ @jakarta.annotation.Nullable - public java.util.List getValue() { + public java.util.List getValue() { return this.backingStore.get("value"); } /** @@ -57,7 +57,7 @@ public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writ * 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) { + 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/generated/applications/delta/DeltaRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/applications/delta/DeltaRequestBuilder.java index 88f1020c18b..701b4e1360e 100644 --- a/src/main/java/com/microsoft/graph/generated/applications/delta/DeltaRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/generated/applications/delta/DeltaRequestBuilder.java @@ -36,21 +36,21 @@ public DeltaRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak super(requestAdapter, "{+baseurl}/applications/delta(){?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl); } /** - * Get newly created, updated, or deleted applications without performing a full read of the entire resource collection. For more information, see Use delta query to track changes in Microsoft Graph data for details. + * Get newly created, updated, or deleted directory objects without performing a full read of the entire directoryObject collection. For more information, see Use delta query to track changes in Microsoft Graph data for details. * @return a {@link DeltaGetResponse} * @throws ODataError When receiving a 4XX or 5XX status code - * @see Find more info here + * @see Find more info here */ @jakarta.annotation.Nullable public DeltaGetResponse get() { return get(null); } /** - * Get newly created, updated, or deleted applications without performing a full read of the entire resource collection. For more information, see Use delta query to track changes in Microsoft Graph data for details. + * Get newly created, updated, or deleted directory objects without performing a full read of the entire directoryObject collection. For more information, see Use delta query to track changes in Microsoft Graph data for details. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link DeltaGetResponse} * @throws ODataError When receiving a 4XX or 5XX status code - * @see Find more info here + * @see Find more info here */ @jakarta.annotation.Nullable public DeltaGetResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { @@ -60,7 +60,7 @@ public DeltaGetResponse get(@jakarta.annotation.Nullable final java.util.functio return this.requestAdapter.send(requestInfo, errorMapping, DeltaGetResponse::createFromDiscriminatorValue); } /** - * Get newly created, updated, or deleted applications without performing a full read of the entire resource collection. For more information, see Use delta query to track changes in Microsoft Graph data for details. + * Get newly created, updated, or deleted directory objects without performing a full read of the entire directoryObject collection. For more information, see Use delta query to track changes in Microsoft Graph data for details. * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull @@ -68,7 +68,7 @@ public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } /** - * Get newly created, updated, or deleted applications without performing a full read of the entire resource collection. For more information, see Use delta query to track changes in Microsoft Graph data for details. + * Get newly created, updated, or deleted directory objects without performing a full read of the entire directoryObject collection. For more information, see Use delta query to track changes in Microsoft Graph data for details. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} */ @@ -90,7 +90,7 @@ public DeltaRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawU return new DeltaRequestBuilder(rawUrl, requestAdapter); } /** - * Get newly created, updated, or deleted applications without performing a full read of the entire resource collection. For more information, see Use delta query to track changes in Microsoft Graph data for details. + * Get newly created, updated, or deleted directory objects without performing a full read of the entire directoryObject collection. For more information, see Use delta query to track changes in Microsoft Graph data for details. */ @jakarta.annotation.Generated("com.microsoft.kiota") public class GetQueryParameters implements QueryParameters { diff --git a/src/main/java/com/microsoft/graph/generated/applications/item/ApplicationItemRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/applications/item/ApplicationItemRequestBuilder.java index 7e76e18defe..1832c439383 100644 --- a/src/main/java/com/microsoft/graph/generated/applications/item/ApplicationItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/generated/applications/item/ApplicationItemRequestBuilder.java @@ -227,7 +227,7 @@ public ApplicationItemRequestBuilder(@jakarta.annotation.Nonnull final String ra super(requestAdapter, "{+baseurl}/applications/{application%2Did}{?%24expand,%24select}", rawUrl); } /** - * Delete an application object. When deleted, apps are moved to a temporary container and can be restored within 30 days. After that time, they are permanently deleted. + * Delete an application object. When deleted, apps are moved to a temporary container and can be restored within 30 days. After that time, they are permanently deleted. This API can also delete an agentIdentityBlueprint object by its ID. * @throws ODataError When receiving a 4XX or 5XX status code * @see Find more info here */ @@ -235,7 +235,7 @@ public void delete() { delete(null); } /** - * Delete an application object. When deleted, apps are moved to a temporary container and can be restored within 30 days. After that time, they are permanently deleted. + * Delete an application object. When deleted, apps are moved to a temporary container and can be restored within 30 days. After that time, they are permanently deleted. This API can also delete an agentIdentityBlueprint object by its ID. * @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 @@ -257,7 +257,7 @@ public FederatedIdentityCredentialsWithNameRequestBuilder federatedIdentityCrede return new FederatedIdentityCredentialsWithNameRequestBuilder(pathParameters, requestAdapter, name); } /** - * Get the properties and relationships of an application object. + * Get the properties and relationships of an application object. This API can be used to get agentIdentityBlueprint objects as well by their ID. * @return a {@link Application} * @throws ODataError When receiving a 4XX or 5XX status code * @see Find more info here @@ -267,7 +267,7 @@ public Application get() { return get(null); } /** - * Get the properties and relationships of an application object. + * Get the properties and relationships of an application object. This API can be used to get agentIdentityBlueprint objects as well by their ID. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Application} * @throws ODataError When receiving a 4XX or 5XX status code @@ -281,7 +281,7 @@ public Application get(@jakarta.annotation.Nullable final java.util.function.Con return this.requestAdapter.send(requestInfo, errorMapping, Application::createFromDiscriminatorValue); } /** - * Create a new application object if it doesn't exist, or update the properties of an existing application object. + * Create a new application object if it doesn't exist, or update the properties of an existing application object. This API can also create an agentIdentityBlueprint object if it doesn't exist, or update properties of an existing agentIdentityBlueprint, when the @odata.type property is set to #microsoft.graph.agentIdentityBlueprint. * @param body The request body * @return a {@link Application} * @throws ODataError When receiving a 4XX or 5XX status code @@ -292,7 +292,7 @@ public Application patch(@jakarta.annotation.Nonnull final Application body) { return patch(body, null); } /** - * Create a new application object if it doesn't exist, or update the properties of an existing application object. + * Create a new application object if it doesn't exist, or update the properties of an existing application object. This API can also create an agentIdentityBlueprint object if it doesn't exist, or update properties of an existing agentIdentityBlueprint, when the @odata.type property is set to #microsoft.graph.agentIdentityBlueprint. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Application} @@ -308,7 +308,7 @@ public Application patch(@jakarta.annotation.Nonnull final Application body, @ja return this.requestAdapter.send(requestInfo, errorMapping, Application::createFromDiscriminatorValue); } /** - * Delete an application object. When deleted, apps are moved to a temporary container and can be restored within 30 days. After that time, they are permanently deleted. + * Delete an application object. When deleted, apps are moved to a temporary container and can be restored within 30 days. After that time, they are permanently deleted. This API can also delete an agentIdentityBlueprint object by its ID. * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull @@ -316,7 +316,7 @@ public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } /** - * Delete an application object. When deleted, apps are moved to a temporary container and can be restored within 30 days. After that time, they are permanently deleted. + * Delete an application object. When deleted, apps are moved to a temporary container and can be restored within 30 days. After that time, they are permanently deleted. This API can also delete an agentIdentityBlueprint object by its ID. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} */ @@ -328,7 +328,7 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl return requestInfo; } /** - * Get the properties and relationships of an application object. + * Get the properties and relationships of an application object. This API can be used to get agentIdentityBlueprint objects as well by their ID. * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull @@ -336,7 +336,7 @@ public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } /** - * Get the properties and relationships of an application object. + * Get the properties and relationships of an application object. This API can be used to get agentIdentityBlueprint objects as well by their ID. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} */ @@ -348,7 +348,7 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f return requestInfo; } /** - * Create a new application object if it doesn't exist, or update the properties of an existing application object. + * Create a new application object if it doesn't exist, or update the properties of an existing application object. This API can also create an agentIdentityBlueprint object if it doesn't exist, or update properties of an existing agentIdentityBlueprint, when the @odata.type property is set to #microsoft.graph.agentIdentityBlueprint. * @param body The request body * @return a {@link RequestInformation} */ @@ -357,7 +357,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull return toPatchRequestInformation(body, null); } /** - * Create a new application object if it doesn't exist, or update the properties of an existing application object. + * Create a new application object if it doesn't exist, or update the properties of an existing application object. This API can also create an agentIdentityBlueprint object if it doesn't exist, or update properties of an existing agentIdentityBlueprint, when the @odata.type property is set to #microsoft.graph.agentIdentityBlueprint. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} @@ -388,7 +388,7 @@ public ApplicationItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final S public class DeleteRequestConfiguration extends BaseRequestConfiguration { } /** - * Get the properties and relationships of an application object. + * Get the properties and relationships of an application object. This API can be used to get agentIdentityBlueprint objects as well by their ID. */ @jakarta.annotation.Generated("com.microsoft.kiota") public class GetQueryParameters implements QueryParameters { diff --git a/src/main/java/com/microsoft/graph/generated/applications/item/removekey/RemoveKeyRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/applications/item/removekey/RemoveKeyRequestBuilder.java index 787302a2311..162d3daa459 100644 --- a/src/main/java/com/microsoft/graph/generated/applications/item/removekey/RemoveKeyRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/generated/applications/item/removekey/RemoveKeyRequestBuilder.java @@ -35,20 +35,20 @@ public RemoveKeyRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, super(requestAdapter, "{+baseurl}/applications/{application%2Did}/removeKey", rawUrl); } /** - * Remove a key credential from an application. This method along with addKey can be used by an application to automate rolling its expiring keys. As part of the request validation for this method, a proof of possession of an existing key is verified before the action can be performed. + * Remove a key credential from an agentIdentityBlueprint. This method along with addKey can be used to automate rolling its expiring keys. * @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 RemoveKeyPostRequestBody body) { post(body, null); } /** - * Remove a key credential from an application. This method along with addKey can be used by an application to automate rolling its expiring keys. As part of the request validation for this method, a proof of possession of an existing key is verified before the action can be performed. + * Remove a key credential from an agentIdentityBlueprint. This method along with addKey can be used to automate rolling its expiring keys. * @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 RemoveKeyPostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); @@ -58,7 +58,7 @@ public void post(@jakarta.annotation.Nonnull final RemoveKeyPostRequestBody body this.requestAdapter.sendPrimitive(requestInfo, errorMapping, Void.class); } /** - * Remove a key credential from an application. This method along with addKey can be used by an application to automate rolling its expiring keys. As part of the request validation for this method, a proof of possession of an existing key is verified before the action can be performed. + * Remove a key credential from an agentIdentityBlueprint. This method along with addKey can be used to automate rolling its expiring keys. * @param body The request body * @return a {@link RequestInformation} */ @@ -67,7 +67,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f return toPostRequestInformation(body, null); } /** - * Remove a key credential from an application. This method along with addKey can be used by an application to automate rolling its expiring keys. As part of the request validation for this method, a proof of possession of an existing key is verified before the action can be performed. + * Remove a key credential from an agentIdentityBlueprint. This method along with addKey can be used to automate rolling its expiring keys. * @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/generated/applications/item/restore/RestoreRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/applications/item/restore/RestoreRequestBuilder.java index 4018e950659..6c87f64f7a4 100644 --- a/src/main/java/com/microsoft/graph/generated/applications/item/restore/RestoreRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/generated/applications/item/restore/RestoreRequestBuilder.java @@ -36,7 +36,7 @@ public RestoreRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @j super(requestAdapter, "{+baseurl}/applications/{application%2Did}/restore", rawUrl); } /** - * Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. + * Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- agentIdentityBlueprint- agentIdentity- agentIdentityBlueprintPrincipal- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. * @return a {@link DirectoryObject} * @throws ODataError When receiving a 4XX or 5XX status code * @see Find more info here @@ -46,7 +46,7 @@ public DirectoryObject post() { return post(null); } /** - * Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. + * Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- agentIdentityBlueprint- agentIdentity- agentIdentityBlueprintPrincipal- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link DirectoryObject} * @throws ODataError When receiving a 4XX or 5XX status code @@ -60,7 +60,7 @@ public DirectoryObject post(@jakarta.annotation.Nullable final java.util.functio return this.requestAdapter.send(requestInfo, errorMapping, DirectoryObject::createFromDiscriminatorValue); } /** - * Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. + * Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- agentIdentityBlueprint- agentIdentity- agentIdentityBlueprintPrincipal- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull @@ -68,7 +68,7 @@ public RequestInformation toPostRequestInformation() { return toPostRequestInformation(null); } /** - * Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. + * Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- agentIdentityBlueprint- agentIdentity- agentIdentityBlueprintPrincipal- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. * @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/generated/applications/item/setverifiedpublisher/SetVerifiedPublisherRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/applications/item/setverifiedpublisher/SetVerifiedPublisherRequestBuilder.java index 1461d1dc1d0..f46d50e91a1 100644 --- a/src/main/java/com/microsoft/graph/generated/applications/item/setverifiedpublisher/SetVerifiedPublisherRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/generated/applications/item/setverifiedpublisher/SetVerifiedPublisherRequestBuilder.java @@ -35,20 +35,20 @@ public SetVerifiedPublisherRequestBuilder(@jakarta.annotation.Nonnull final Stri super(requestAdapter, "{+baseurl}/applications/{application%2Did}/setVerifiedPublisher", rawUrl); } /** - * Set the verifiedPublisher on an application. For more information, including prerequisites to setting a verified publisher, see Publisher verification. + * Set the the verifiedPublisher on an agentIdentityBlueprint. For more information, including prerequisites to setting a verified publisher, see Publisher verification. * @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 SetVerifiedPublisherPostRequestBody body) { post(body, null); } /** - * Set the verifiedPublisher on an application. For more information, including prerequisites to setting a verified publisher, see Publisher verification. + * Set the the verifiedPublisher on an agentIdentityBlueprint. For more information, including prerequisites to setting a verified publisher, see Publisher verification. * @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 SetVerifiedPublisherPostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); @@ -58,7 +58,7 @@ public void post(@jakarta.annotation.Nonnull final SetVerifiedPublisherPostReque this.requestAdapter.sendPrimitive(requestInfo, errorMapping, Void.class); } /** - * Set the verifiedPublisher on an application. For more information, including prerequisites to setting a verified publisher, see Publisher verification. + * Set the the verifiedPublisher on an agentIdentityBlueprint. For more information, including prerequisites to setting a verified publisher, see Publisher verification. * @param body The request body * @return a {@link RequestInformation} */ @@ -67,7 +67,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f return toPostRequestInformation(body, null); } /** - * Set the verifiedPublisher on an application. For more information, including prerequisites to setting a verified publisher, see Publisher verification. + * Set the the verifiedPublisher on an agentIdentityBlueprint. For more information, including prerequisites to setting a verified publisher, see Publisher verification. * @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/generated/applications/item/unsetverifiedpublisher/UnsetVerifiedPublisherRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/applications/item/unsetverifiedpublisher/UnsetVerifiedPublisherRequestBuilder.java index fa7253e0698..5c0f9d610d4 100644 --- a/src/main/java/com/microsoft/graph/generated/applications/item/unsetverifiedpublisher/UnsetVerifiedPublisherRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/generated/applications/item/unsetverifiedpublisher/UnsetVerifiedPublisherRequestBuilder.java @@ -35,18 +35,18 @@ public UnsetVerifiedPublisherRequestBuilder(@jakarta.annotation.Nonnull final St super(requestAdapter, "{+baseurl}/applications/{application%2Did}/unsetVerifiedPublisher", rawUrl); } /** - * Unset the verifiedPublisher previously set on an application, removing all verified publisher properties. For more information, see Publisher verification. + * Unset the verifiedPublisher previously set on an agentIdentityBlueprint, removing all verified publisher properties. For more information, see Publisher verification. * @throws ODataError When receiving a 4XX or 5XX status code - * @see Find more info here + * @see Find more info here */ public void post() { post(null); } /** - * Unset the verifiedPublisher previously set on an application, removing all verified publisher properties. For more information, see Publisher verification. + * Unset the verifiedPublisher previously set on an agentIdentityBlueprint, removing all verified publisher properties. For more information, see Publisher verification. * @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.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toPostRequestInformation(requestConfiguration); @@ -55,7 +55,7 @@ public void post(@jakarta.annotation.Nullable final java.util.function.Consumer< this.requestAdapter.sendPrimitive(requestInfo, errorMapping, Void.class); } /** - * Unset the verifiedPublisher previously set on an application, removing all verified publisher properties. For more information, see Publisher verification. + * Unset the verifiedPublisher previously set on an agentIdentityBlueprint, removing all verified publisher properties. For more information, see Publisher verification. * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull @@ -63,7 +63,7 @@ public RequestInformation toPostRequestInformation() { return toPostRequestInformation(null); } /** - * Unset the verifiedPublisher previously set on an application, removing all verified publisher properties. For more information, see Publisher verification. + * Unset the verifiedPublisher previously set on an agentIdentityBlueprint, removing all verified publisher properties. For more information, see Publisher verification. * @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/generated/applicationswithappid/ApplicationsWithAppIdRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/applicationswithappid/ApplicationsWithAppIdRequestBuilder.java index 91106a89728..7868d438ab9 100644 --- a/src/main/java/com/microsoft/graph/generated/applicationswithappid/ApplicationsWithAppIdRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/generated/applicationswithappid/ApplicationsWithAppIdRequestBuilder.java @@ -39,7 +39,7 @@ public ApplicationsWithAppIdRequestBuilder(@jakarta.annotation.Nonnull final Str super(requestAdapter, "{+baseurl}/applications(appId='{appId}'){?%24expand,%24select}", rawUrl); } /** - * Delete an application object. When deleted, apps are moved to a temporary container and can be restored within 30 days. After that time, they are permanently deleted. + * Delete an application object. When deleted, apps are moved to a temporary container and can be restored within 30 days. After that time, they are permanently deleted. This API can also delete an agentIdentityBlueprint object by its ID. * @throws ODataError When receiving a 4XX or 5XX status code * @see Find more info here */ @@ -47,7 +47,7 @@ public void delete() { delete(null); } /** - * Delete an application object. When deleted, apps are moved to a temporary container and can be restored within 30 days. After that time, they are permanently deleted. + * Delete an application object. When deleted, apps are moved to a temporary container and can be restored within 30 days. After that time, they are permanently deleted. This API can also delete an agentIdentityBlueprint object by its ID. * @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 @@ -59,7 +59,7 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume this.requestAdapter.sendPrimitive(requestInfo, errorMapping, Void.class); } /** - * Get the properties and relationships of an application object. + * Get the properties and relationships of an application object. This API can be used to get agentIdentityBlueprint objects as well by their ID. * @return a {@link Application} * @throws ODataError When receiving a 4XX or 5XX status code * @see Find more info here @@ -69,7 +69,7 @@ public Application get() { return get(null); } /** - * Get the properties and relationships of an application object. + * Get the properties and relationships of an application object. This API can be used to get agentIdentityBlueprint objects as well by their ID. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Application} * @throws ODataError When receiving a 4XX or 5XX status code @@ -83,7 +83,7 @@ public Application get(@jakarta.annotation.Nullable final java.util.function.Con return this.requestAdapter.send(requestInfo, errorMapping, Application::createFromDiscriminatorValue); } /** - * Create a new application object if it doesn't exist, or update the properties of an existing application object. + * Create a new application object if it doesn't exist, or update the properties of an existing application object. This API can also create an agentIdentityBlueprint object if it doesn't exist, or update properties of an existing agentIdentityBlueprint, when the @odata.type property is set to #microsoft.graph.agentIdentityBlueprint. * @param body The request body * @return a {@link Application} * @throws ODataError When receiving a 4XX or 5XX status code @@ -94,7 +94,7 @@ public Application patch(@jakarta.annotation.Nonnull final Application body) { return patch(body, null); } /** - * Create a new application object if it doesn't exist, or update the properties of an existing application object. + * Create a new application object if it doesn't exist, or update the properties of an existing application object. This API can also create an agentIdentityBlueprint object if it doesn't exist, or update properties of an existing agentIdentityBlueprint, when the @odata.type property is set to #microsoft.graph.agentIdentityBlueprint. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Application} @@ -110,7 +110,7 @@ public Application patch(@jakarta.annotation.Nonnull final Application body, @ja return this.requestAdapter.send(requestInfo, errorMapping, Application::createFromDiscriminatorValue); } /** - * Delete an application object. When deleted, apps are moved to a temporary container and can be restored within 30 days. After that time, they are permanently deleted. + * Delete an application object. When deleted, apps are moved to a temporary container and can be restored within 30 days. After that time, they are permanently deleted. This API can also delete an agentIdentityBlueprint object by its ID. * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull @@ -118,7 +118,7 @@ public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } /** - * Delete an application object. When deleted, apps are moved to a temporary container and can be restored within 30 days. After that time, they are permanently deleted. + * Delete an application object. When deleted, apps are moved to a temporary container and can be restored within 30 days. After that time, they are permanently deleted. This API can also delete an agentIdentityBlueprint object by its ID. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} */ @@ -130,7 +130,7 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl return requestInfo; } /** - * Get the properties and relationships of an application object. + * Get the properties and relationships of an application object. This API can be used to get agentIdentityBlueprint objects as well by their ID. * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull @@ -138,7 +138,7 @@ public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } /** - * Get the properties and relationships of an application object. + * Get the properties and relationships of an application object. This API can be used to get agentIdentityBlueprint objects as well by their ID. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} */ @@ -150,7 +150,7 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f return requestInfo; } /** - * Create a new application object if it doesn't exist, or update the properties of an existing application object. + * Create a new application object if it doesn't exist, or update the properties of an existing application object. This API can also create an agentIdentityBlueprint object if it doesn't exist, or update properties of an existing agentIdentityBlueprint, when the @odata.type property is set to #microsoft.graph.agentIdentityBlueprint. * @param body The request body * @return a {@link RequestInformation} */ @@ -159,7 +159,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull return toPatchRequestInformation(body, null); } /** - * Create a new application object if it doesn't exist, or update the properties of an existing application object. + * Create a new application object if it doesn't exist, or update the properties of an existing application object. This API can also create an agentIdentityBlueprint object if it doesn't exist, or update properties of an existing agentIdentityBlueprint, when the @odata.type property is set to #microsoft.graph.agentIdentityBlueprint. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} @@ -190,7 +190,7 @@ public ApplicationsWithAppIdRequestBuilder withUrl(@jakarta.annotation.Nonnull f public class DeleteRequestConfiguration extends BaseRequestConfiguration { } /** - * Get the properties and relationships of an application object. + * Get the properties and relationships of an application object. This API can be used to get agentIdentityBlueprint objects as well by their ID. */ @jakarta.annotation.Generated("com.microsoft.kiota") public class GetQueryParameters implements QueryParameters { diff --git a/src/main/java/com/microsoft/graph/generated/applicationswithuniquename/ApplicationsWithUniqueNameRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/applicationswithuniquename/ApplicationsWithUniqueNameRequestBuilder.java index 196d8026350..aabb465966e 100644 --- a/src/main/java/com/microsoft/graph/generated/applicationswithuniquename/ApplicationsWithUniqueNameRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/generated/applicationswithuniquename/ApplicationsWithUniqueNameRequestBuilder.java @@ -39,7 +39,7 @@ public ApplicationsWithUniqueNameRequestBuilder(@jakarta.annotation.Nonnull fina super(requestAdapter, "{+baseurl}/applications(uniqueName='{uniqueName}'){?%24expand,%24select}", rawUrl); } /** - * Delete an application object. When deleted, apps are moved to a temporary container and can be restored within 30 days. After that time, they are permanently deleted. + * Delete an application object. When deleted, apps are moved to a temporary container and can be restored within 30 days. After that time, they are permanently deleted. This API can also delete an agentIdentityBlueprint object by its ID. * @throws ODataError When receiving a 4XX or 5XX status code * @see Find more info here */ @@ -47,7 +47,7 @@ public void delete() { delete(null); } /** - * Delete an application object. When deleted, apps are moved to a temporary container and can be restored within 30 days. After that time, they are permanently deleted. + * Delete an application object. When deleted, apps are moved to a temporary container and can be restored within 30 days. After that time, they are permanently deleted. This API can also delete an agentIdentityBlueprint object by its ID. * @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 @@ -59,7 +59,7 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume this.requestAdapter.sendPrimitive(requestInfo, errorMapping, Void.class); } /** - * Get the properties and relationships of an application object. + * Get the properties and relationships of an application object. This API can be used to get agentIdentityBlueprint objects as well by their ID. * @return a {@link Application} * @throws ODataError When receiving a 4XX or 5XX status code * @see Find more info here @@ -69,7 +69,7 @@ public Application get() { return get(null); } /** - * Get the properties and relationships of an application object. + * Get the properties and relationships of an application object. This API can be used to get agentIdentityBlueprint objects as well by their ID. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Application} * @throws ODataError When receiving a 4XX or 5XX status code @@ -83,7 +83,7 @@ public Application get(@jakarta.annotation.Nullable final java.util.function.Con return this.requestAdapter.send(requestInfo, errorMapping, Application::createFromDiscriminatorValue); } /** - * Create a new application object if it doesn't exist, or update the properties of an existing application object. + * Create a new application object if it doesn't exist, or update the properties of an existing application object. This API can also create an agentIdentityBlueprint object if it doesn't exist, or update properties of an existing agentIdentityBlueprint, when the @odata.type property is set to #microsoft.graph.agentIdentityBlueprint. * @param body The request body * @return a {@link Application} * @throws ODataError When receiving a 4XX or 5XX status code @@ -94,7 +94,7 @@ public Application patch(@jakarta.annotation.Nonnull final Application body) { return patch(body, null); } /** - * Create a new application object if it doesn't exist, or update the properties of an existing application object. + * Create a new application object if it doesn't exist, or update the properties of an existing application object. This API can also create an agentIdentityBlueprint object if it doesn't exist, or update properties of an existing agentIdentityBlueprint, when the @odata.type property is set to #microsoft.graph.agentIdentityBlueprint. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Application} @@ -110,7 +110,7 @@ public Application patch(@jakarta.annotation.Nonnull final Application body, @ja return this.requestAdapter.send(requestInfo, errorMapping, Application::createFromDiscriminatorValue); } /** - * Delete an application object. When deleted, apps are moved to a temporary container and can be restored within 30 days. After that time, they are permanently deleted. + * Delete an application object. When deleted, apps are moved to a temporary container and can be restored within 30 days. After that time, they are permanently deleted. This API can also delete an agentIdentityBlueprint object by its ID. * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull @@ -118,7 +118,7 @@ public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } /** - * Delete an application object. When deleted, apps are moved to a temporary container and can be restored within 30 days. After that time, they are permanently deleted. + * Delete an application object. When deleted, apps are moved to a temporary container and can be restored within 30 days. After that time, they are permanently deleted. This API can also delete an agentIdentityBlueprint object by its ID. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} */ @@ -130,7 +130,7 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl return requestInfo; } /** - * Get the properties and relationships of an application object. + * Get the properties and relationships of an application object. This API can be used to get agentIdentityBlueprint objects as well by their ID. * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull @@ -138,7 +138,7 @@ public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } /** - * Get the properties and relationships of an application object. + * Get the properties and relationships of an application object. This API can be used to get agentIdentityBlueprint objects as well by their ID. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} */ @@ -150,7 +150,7 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f return requestInfo; } /** - * Create a new application object if it doesn't exist, or update the properties of an existing application object. + * Create a new application object if it doesn't exist, or update the properties of an existing application object. This API can also create an agentIdentityBlueprint object if it doesn't exist, or update properties of an existing agentIdentityBlueprint, when the @odata.type property is set to #microsoft.graph.agentIdentityBlueprint. * @param body The request body * @return a {@link RequestInformation} */ @@ -159,7 +159,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull return toPatchRequestInformation(body, null); } /** - * Create a new application object if it doesn't exist, or update the properties of an existing application object. + * Create a new application object if it doesn't exist, or update the properties of an existing application object. This API can also create an agentIdentityBlueprint object if it doesn't exist, or update properties of an existing agentIdentityBlueprint, when the @odata.type property is set to #microsoft.graph.agentIdentityBlueprint. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} @@ -190,7 +190,7 @@ public ApplicationsWithUniqueNameRequestBuilder withUrl(@jakarta.annotation.Nonn public class DeleteRequestConfiguration extends BaseRequestConfiguration { } /** - * Get the properties and relationships of an application object. + * Get the properties and relationships of an application object. This API can be used to get agentIdentityBlueprint objects as well by their ID. */ @jakarta.annotation.Generated("com.microsoft.kiota") public class GetQueryParameters implements QueryParameters { diff --git a/src/main/java/com/microsoft/graph/generated/chats/item/messages/MessagesRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/chats/item/messages/MessagesRequestBuilder.java index c3b107a924f..57d2413f0c2 100644 --- a/src/main/java/com/microsoft/graph/generated/chats/item/messages/MessagesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/generated/chats/item/messages/MessagesRequestBuilder.java @@ -3,6 +3,7 @@ import com.microsoft.graph.chats.item.messages.count.CountRequestBuilder; import com.microsoft.graph.chats.item.messages.delta.DeltaRequestBuilder; import com.microsoft.graph.chats.item.messages.item.ChatMessageItemRequestBuilder; +import com.microsoft.graph.chats.item.messages.replywithquote.ReplyWithQuoteRequestBuilder; import com.microsoft.graph.models.ChatMessage; import com.microsoft.graph.models.ChatMessageCollectionResponse; import com.microsoft.graph.models.odataerrors.ODataError; @@ -40,6 +41,14 @@ public CountRequestBuilder count() { public DeltaRequestBuilder delta() { return new DeltaRequestBuilder(pathParameters, requestAdapter); } + /** + * Provides operations to call the replyWithQuote method. + * @return a {@link ReplyWithQuoteRequestBuilder} + */ + @jakarta.annotation.Nonnull + public ReplyWithQuoteRequestBuilder replyWithQuote() { + return new ReplyWithQuoteRequestBuilder(pathParameters, requestAdapter); + } /** * Provides operations to manage the messages property of the microsoft.graph.chat entity. * @param chatMessageId The unique identifier of chatMessage diff --git a/src/main/java/com/microsoft/graph/generated/chats/item/messages/item/replies/RepliesRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/chats/item/messages/item/replies/RepliesRequestBuilder.java index 2558306fd3f..42d965b6f01 100644 --- a/src/main/java/com/microsoft/graph/generated/chats/item/messages/item/replies/RepliesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/generated/chats/item/messages/item/replies/RepliesRequestBuilder.java @@ -3,6 +3,7 @@ import com.microsoft.graph.chats.item.messages.item.replies.count.CountRequestBuilder; import com.microsoft.graph.chats.item.messages.item.replies.delta.DeltaRequestBuilder; import com.microsoft.graph.chats.item.messages.item.replies.item.ChatMessageItemRequestBuilder; +import com.microsoft.graph.chats.item.messages.item.replies.replywithquote.ReplyWithQuoteRequestBuilder; import com.microsoft.graph.models.ChatMessage; import com.microsoft.graph.models.ChatMessageCollectionResponse; import com.microsoft.graph.models.odataerrors.ODataError; @@ -40,6 +41,14 @@ public CountRequestBuilder count() { public DeltaRequestBuilder delta() { return new DeltaRequestBuilder(pathParameters, requestAdapter); } + /** + * Provides operations to call the replyWithQuote method. + * @return a {@link ReplyWithQuoteRequestBuilder} + */ + @jakarta.annotation.Nonnull + public ReplyWithQuoteRequestBuilder replyWithQuote() { + return new ReplyWithQuoteRequestBuilder(pathParameters, requestAdapter); + } /** * Provides operations to manage the replies property of the microsoft.graph.chatMessage entity. * @param chatMessageId1 The unique identifier of chatMessage diff --git a/src/main/java/com/microsoft/graph/generated/chats/item/messages/item/replies/replywithquote/ReplyWithQuotePostRequestBody.java b/src/main/java/com/microsoft/graph/generated/chats/item/messages/item/replies/replywithquote/ReplyWithQuotePostRequestBody.java new file mode 100644 index 00000000000..e72183fddd1 --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/chats/item/messages/item/replies/replywithquote/ReplyWithQuotePostRequestBody.java @@ -0,0 +1,125 @@ +package com.microsoft.graph.chats.item.messages.item.replies.replywithquote; + +import com.microsoft.graph.models.ChatMessage; +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 ReplyWithQuotePostRequestBody implements AdditionalDataHolder, BackedModel, Parsable { + /** + * Stores model information. + */ + @jakarta.annotation.Nonnull + protected BackingStore backingStore; + /** + * Instantiates a new {@link ReplyWithQuotePostRequestBody} and sets the default values. + */ + public ReplyWithQuotePostRequestBody() { + 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 ReplyWithQuotePostRequestBody} + */ + @jakarta.annotation.Nonnull + public static ReplyWithQuotePostRequestBody createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) { + Objects.requireNonNull(parseNode); + return new ReplyWithQuotePostRequestBody(); + } + /** + * 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>(2); + deserializerMap.put("messageIds", (n) -> { this.setMessageIds(n.getCollectionOfPrimitiveValues(String.class)); }); + deserializerMap.put("replyMessage", (n) -> { this.setReplyMessage(n.getObjectValue(ChatMessage::createFromDiscriminatorValue)); }); + return deserializerMap; + } + /** + * Gets the messageIds property value. The messageIds property + * @return a {@link java.util.List} + */ + @jakarta.annotation.Nullable + public java.util.List getMessageIds() { + return this.backingStore.get("messageIds"); + } + /** + * Gets the replyMessage property value. The replyMessage property + * @return a {@link ChatMessage} + */ + @jakarta.annotation.Nullable + public ChatMessage getReplyMessage() { + return this.backingStore.get("replyMessage"); + } + /** + * 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("messageIds", this.getMessageIds()); + writer.writeObjectValue("replyMessage", this.getReplyMessage()); + 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 messageIds property value. The messageIds property + * @param value Value to set for the messageIds property. + */ + public void setMessageIds(@jakarta.annotation.Nullable final java.util.List value) { + this.backingStore.set("messageIds", value); + } + /** + * Sets the replyMessage property value. The replyMessage property + * @param value Value to set for the replyMessage property. + */ + public void setReplyMessage(@jakarta.annotation.Nullable final ChatMessage value) { + this.backingStore.set("replyMessage", value); + } +} diff --git a/src/main/java/com/microsoft/graph/generated/chats/item/messages/item/replies/replywithquote/ReplyWithQuoteRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/chats/item/messages/item/replies/replywithquote/ReplyWithQuoteRequestBuilder.java new file mode 100644 index 00000000000..52c9bc92750 --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/chats/item/messages/item/replies/replywithquote/ReplyWithQuoteRequestBuilder.java @@ -0,0 +1,105 @@ +package com.microsoft.graph.chats.item.messages.item.replies.replywithquote; + +import com.microsoft.graph.models.ChatMessage; +import com.microsoft.graph.models.odataerrors.ODataError; +import com.microsoft.kiota.BaseRequestBuilder; +import com.microsoft.kiota.BaseRequestConfiguration; +import com.microsoft.kiota.HttpMethod; +import com.microsoft.kiota.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 replyWithQuote method. + */ +@jakarta.annotation.Generated("com.microsoft.kiota") +public class ReplyWithQuoteRequestBuilder extends BaseRequestBuilder { + /** + * Instantiates a new {@link ReplyWithQuoteRequestBuilder} and sets the default values. + * @param pathParameters Path parameters for the request + * @param requestAdapter The request adapter to use to execute the requests. + */ + public ReplyWithQuoteRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/chats/{chat%2Did}/messages/{chatMessage%2Did}/replies/replyWithQuote", pathParameters); + } + /** + * Instantiates a new {@link ReplyWithQuoteRequestBuilder} 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 ReplyWithQuoteRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/chats/{chat%2Did}/messages/{chatMessage%2Did}/replies/replyWithQuote", rawUrl); + } + /** + * Reply with quote to a single chat message or multiple chat messages in a chat. + * @param body The request body + * @return a {@link ChatMessage} + * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here + */ + @jakarta.annotation.Nullable + public ChatMessage post(@jakarta.annotation.Nonnull final ReplyWithQuotePostRequestBody body) { + return post(body, null); + } + /** + * Reply with quote to a single chat message or multiple chat messages in a chat. + * @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 + */ + @jakarta.annotation.Nullable + public ChatMessage post(@jakarta.annotation.Nonnull final ReplyWithQuotePostRequestBody 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, ChatMessage::createFromDiscriminatorValue); + } + /** + * Reply with quote to a single chat message or multiple chat messages in a chat. + * @param body The request body + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final ReplyWithQuotePostRequestBody body) { + return toPostRequestInformation(body, null); + } + /** + * Reply with quote to a single chat message or multiple chat messages in a chat. + * @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 ReplyWithQuotePostRequestBody 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 ReplyWithQuoteRequestBuilder} + */ + @jakarta.annotation.Nonnull + public ReplyWithQuoteRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { + Objects.requireNonNull(rawUrl); + return new ReplyWithQuoteRequestBuilder(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/generated/chats/item/messages/replywithquote/ReplyWithQuotePostRequestBody.java b/src/main/java/com/microsoft/graph/generated/chats/item/messages/replywithquote/ReplyWithQuotePostRequestBody.java new file mode 100644 index 00000000000..e455137a402 --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/chats/item/messages/replywithquote/ReplyWithQuotePostRequestBody.java @@ -0,0 +1,125 @@ +package com.microsoft.graph.chats.item.messages.replywithquote; + +import com.microsoft.graph.models.ChatMessage; +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 ReplyWithQuotePostRequestBody implements AdditionalDataHolder, BackedModel, Parsable { + /** + * Stores model information. + */ + @jakarta.annotation.Nonnull + protected BackingStore backingStore; + /** + * Instantiates a new {@link ReplyWithQuotePostRequestBody} and sets the default values. + */ + public ReplyWithQuotePostRequestBody() { + 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 ReplyWithQuotePostRequestBody} + */ + @jakarta.annotation.Nonnull + public static ReplyWithQuotePostRequestBody createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) { + Objects.requireNonNull(parseNode); + return new ReplyWithQuotePostRequestBody(); + } + /** + * 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>(2); + deserializerMap.put("messageIds", (n) -> { this.setMessageIds(n.getCollectionOfPrimitiveValues(String.class)); }); + deserializerMap.put("replyMessage", (n) -> { this.setReplyMessage(n.getObjectValue(ChatMessage::createFromDiscriminatorValue)); }); + return deserializerMap; + } + /** + * Gets the messageIds property value. The messageIds property + * @return a {@link java.util.List} + */ + @jakarta.annotation.Nullable + public java.util.List getMessageIds() { + return this.backingStore.get("messageIds"); + } + /** + * Gets the replyMessage property value. The replyMessage property + * @return a {@link ChatMessage} + */ + @jakarta.annotation.Nullable + public ChatMessage getReplyMessage() { + return this.backingStore.get("replyMessage"); + } + /** + * 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("messageIds", this.getMessageIds()); + writer.writeObjectValue("replyMessage", this.getReplyMessage()); + 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 messageIds property value. The messageIds property + * @param value Value to set for the messageIds property. + */ + public void setMessageIds(@jakarta.annotation.Nullable final java.util.List value) { + this.backingStore.set("messageIds", value); + } + /** + * Sets the replyMessage property value. The replyMessage property + * @param value Value to set for the replyMessage property. + */ + public void setReplyMessage(@jakarta.annotation.Nullable final ChatMessage value) { + this.backingStore.set("replyMessage", value); + } +} diff --git a/src/main/java/com/microsoft/graph/generated/chats/item/messages/replywithquote/ReplyWithQuoteRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/chats/item/messages/replywithquote/ReplyWithQuoteRequestBuilder.java new file mode 100644 index 00000000000..4c0d86f1c28 --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/chats/item/messages/replywithquote/ReplyWithQuoteRequestBuilder.java @@ -0,0 +1,105 @@ +package com.microsoft.graph.chats.item.messages.replywithquote; + +import com.microsoft.graph.models.ChatMessage; +import com.microsoft.graph.models.odataerrors.ODataError; +import com.microsoft.kiota.BaseRequestBuilder; +import com.microsoft.kiota.BaseRequestConfiguration; +import com.microsoft.kiota.HttpMethod; +import com.microsoft.kiota.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 replyWithQuote method. + */ +@jakarta.annotation.Generated("com.microsoft.kiota") +public class ReplyWithQuoteRequestBuilder extends BaseRequestBuilder { + /** + * Instantiates a new {@link ReplyWithQuoteRequestBuilder} and sets the default values. + * @param pathParameters Path parameters for the request + * @param requestAdapter The request adapter to use to execute the requests. + */ + public ReplyWithQuoteRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/chats/{chat%2Did}/messages/replyWithQuote", pathParameters); + } + /** + * Instantiates a new {@link ReplyWithQuoteRequestBuilder} 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 ReplyWithQuoteRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/chats/{chat%2Did}/messages/replyWithQuote", rawUrl); + } + /** + * Reply with quote to a single chat message or multiple chat messages in a chat. + * @param body The request body + * @return a {@link ChatMessage} + * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here + */ + @jakarta.annotation.Nullable + public ChatMessage post(@jakarta.annotation.Nonnull final ReplyWithQuotePostRequestBody body) { + return post(body, null); + } + /** + * Reply with quote to a single chat message or multiple chat messages in a chat. + * @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 + */ + @jakarta.annotation.Nullable + public ChatMessage post(@jakarta.annotation.Nonnull final ReplyWithQuotePostRequestBody 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, ChatMessage::createFromDiscriminatorValue); + } + /** + * Reply with quote to a single chat message or multiple chat messages in a chat. + * @param body The request body + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final ReplyWithQuotePostRequestBody body) { + return toPostRequestInformation(body, null); + } + /** + * Reply with quote to a single chat message or multiple chat messages in a chat. + * @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 ReplyWithQuotePostRequestBody 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 ReplyWithQuoteRequestBuilder} + */ + @jakarta.annotation.Nonnull + public ReplyWithQuoteRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { + Objects.requireNonNull(rawUrl); + return new ReplyWithQuoteRequestBuilder(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/generated/contacts/item/restore/RestoreRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/contacts/item/restore/RestoreRequestBuilder.java index 9802e0ee8af..a3b18e9bdac 100644 --- a/src/main/java/com/microsoft/graph/generated/contacts/item/restore/RestoreRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/generated/contacts/item/restore/RestoreRequestBuilder.java @@ -36,7 +36,7 @@ public RestoreRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @j super(requestAdapter, "{+baseurl}/contacts/{orgContact%2Did}/restore", rawUrl); } /** - * Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. + * Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- agentIdentityBlueprint- agentIdentity- agentIdentityBlueprintPrincipal- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. * @return a {@link DirectoryObject} * @throws ODataError When receiving a 4XX or 5XX status code * @see Find more info here @@ -46,7 +46,7 @@ public DirectoryObject post() { return post(null); } /** - * Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. + * Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- agentIdentityBlueprint- agentIdentity- agentIdentityBlueprintPrincipal- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link DirectoryObject} * @throws ODataError When receiving a 4XX or 5XX status code @@ -60,7 +60,7 @@ public DirectoryObject post(@jakarta.annotation.Nullable final java.util.functio return this.requestAdapter.send(requestInfo, errorMapping, DirectoryObject::createFromDiscriminatorValue); } /** - * Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. + * Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- agentIdentityBlueprint- agentIdentity- agentIdentityBlueprintPrincipal- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull @@ -68,7 +68,7 @@ public RequestInformation toPostRequestInformation() { return toPostRequestInformation(null); } /** - * Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. + * Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- agentIdentityBlueprint- agentIdentity- agentIdentityBlueprintPrincipal- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. * @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/generated/contacts/item/retryserviceprovisioning/RetryServiceProvisioningRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/contacts/item/retryserviceprovisioning/RetryServiceProvisioningRequestBuilder.java index 51452b2b696..3db441bb23a 100644 --- a/src/main/java/com/microsoft/graph/generated/contacts/item/retryserviceprovisioning/RetryServiceProvisioningRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/generated/contacts/item/retryserviceprovisioning/RetryServiceProvisioningRequestBuilder.java @@ -35,16 +35,18 @@ public RetryServiceProvisioningRequestBuilder(@jakarta.annotation.Nonnull final super(requestAdapter, "{+baseurl}/contacts/{orgContact%2Did}/retryServiceProvisioning", rawUrl); } /** - * Invoke action retryServiceProvisioning + * Retry the orgContact service provisioning. * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here */ public void post() { post(null); } /** - * Invoke action retryServiceProvisioning + * Retry the orgContact service provisioning. * @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 post(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toPostRequestInformation(requestConfiguration); @@ -53,7 +55,7 @@ public void post(@jakarta.annotation.Nullable final java.util.function.Consumer< this.requestAdapter.sendPrimitive(requestInfo, errorMapping, Void.class); } /** - * Invoke action retryServiceProvisioning + * Retry the orgContact service provisioning. * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull @@ -61,7 +63,7 @@ public RequestInformation toPostRequestInformation() { return toPostRequestInformation(null); } /** - * Invoke action retryServiceProvisioning + * Retry the orgContact service provisioning. * @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/generated/contracts/item/restore/RestoreRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/contracts/item/restore/RestoreRequestBuilder.java index 5ae5179e238..13de8a01d99 100644 --- a/src/main/java/com/microsoft/graph/generated/contracts/item/restore/RestoreRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/generated/contracts/item/restore/RestoreRequestBuilder.java @@ -36,7 +36,7 @@ public RestoreRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @j super(requestAdapter, "{+baseurl}/contracts/{contract%2Did}/restore", rawUrl); } /** - * Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. + * Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- agentIdentityBlueprint- agentIdentity- agentIdentityBlueprintPrincipal- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. * @return a {@link DirectoryObject} * @throws ODataError When receiving a 4XX or 5XX status code * @see Find more info here @@ -46,7 +46,7 @@ public DirectoryObject post() { return post(null); } /** - * Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. + * Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- agentIdentityBlueprint- agentIdentity- agentIdentityBlueprintPrincipal- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link DirectoryObject} * @throws ODataError When receiving a 4XX or 5XX status code @@ -60,7 +60,7 @@ public DirectoryObject post(@jakarta.annotation.Nullable final java.util.functio return this.requestAdapter.send(requestInfo, errorMapping, DirectoryObject::createFromDiscriminatorValue); } /** - * Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. + * Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- agentIdentityBlueprint- agentIdentity- agentIdentityBlueprintPrincipal- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull @@ -68,7 +68,7 @@ public RequestInformation toPostRequestInformation() { return toPostRequestInformation(null); } /** - * Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. + * Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- agentIdentityBlueprint- agentIdentity- agentIdentityBlueprintPrincipal- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. * @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/generated/devices/item/restore/RestoreRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/devices/item/restore/RestoreRequestBuilder.java index 20f7457564e..ad746cb95fb 100644 --- a/src/main/java/com/microsoft/graph/generated/devices/item/restore/RestoreRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/generated/devices/item/restore/RestoreRequestBuilder.java @@ -36,7 +36,7 @@ public RestoreRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @j super(requestAdapter, "{+baseurl}/devices/{device%2Did}/restore", rawUrl); } /** - * Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. + * Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- agentIdentityBlueprint- agentIdentity- agentIdentityBlueprintPrincipal- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. * @return a {@link DirectoryObject} * @throws ODataError When receiving a 4XX or 5XX status code * @see Find more info here @@ -46,7 +46,7 @@ public DirectoryObject post() { return post(null); } /** - * Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. + * Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- agentIdentityBlueprint- agentIdentity- agentIdentityBlueprintPrincipal- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link DirectoryObject} * @throws ODataError When receiving a 4XX or 5XX status code @@ -60,7 +60,7 @@ public DirectoryObject post(@jakarta.annotation.Nullable final java.util.functio return this.requestAdapter.send(requestInfo, errorMapping, DirectoryObject::createFromDiscriminatorValue); } /** - * Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. + * Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- agentIdentityBlueprint- agentIdentity- agentIdentityBlueprintPrincipal- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull @@ -68,7 +68,7 @@ public RequestInformation toPostRequestInformation() { return toPostRequestInformation(null); } /** - * Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. + * Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- agentIdentityBlueprint- agentIdentity- agentIdentityBlueprintPrincipal- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. * @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/generated/directory/deleteditems/DeletedItemsRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/directory/deleteditems/DeletedItemsRequestBuilder.java index 1277808a370..54b138edf99 100644 --- a/src/main/java/com/microsoft/graph/generated/directory/deleteditems/DeletedItemsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/generated/directory/deleteditems/DeletedItemsRequestBuilder.java @@ -140,7 +140,7 @@ public DeletedItemsRequestBuilder(@jakarta.annotation.Nonnull final String rawUr super(requestAdapter, "{+baseurl}/directory/deletedItems{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl); } /** - * Retrieve the properties of a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Retrieve the properties of a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user + * Retrieve the properties of a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Retrieve the properties of a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- agentIdentityBlueprint- agentIdentity- agentIdentityBlueprintPrincipal- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user * @return a {@link DirectoryObjectCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code */ @@ -149,7 +149,7 @@ public DirectoryObjectCollectionResponse get() { return get(null); } /** - * Retrieve the properties of a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Retrieve the properties of a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user + * Retrieve the properties of a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Retrieve the properties of a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- agentIdentityBlueprint- agentIdentity- agentIdentityBlueprintPrincipal- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link DirectoryObjectCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code @@ -162,7 +162,7 @@ public DirectoryObjectCollectionResponse get(@jakarta.annotation.Nullable final return this.requestAdapter.send(requestInfo, errorMapping, DirectoryObjectCollectionResponse::createFromDiscriminatorValue); } /** - * Retrieve the properties of a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Retrieve the properties of a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user + * Retrieve the properties of a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Retrieve the properties of a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- agentIdentityBlueprint- agentIdentity- agentIdentityBlueprintPrincipal- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull @@ -170,7 +170,7 @@ public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } /** - * Retrieve the properties of a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Retrieve the properties of a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user + * Retrieve the properties of a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Retrieve the properties of a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- agentIdentityBlueprint- agentIdentity- agentIdentityBlueprintPrincipal- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} */ @@ -192,7 +192,7 @@ public DeletedItemsRequestBuilder withUrl(@jakarta.annotation.Nonnull final Stri return new DeletedItemsRequestBuilder(rawUrl, requestAdapter); } /** - * Retrieve the properties of a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Retrieve the properties of a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user + * Retrieve the properties of a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Retrieve the properties of a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- agentIdentityBlueprint- agentIdentity- agentIdentityBlueprintPrincipal- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user */ @jakarta.annotation.Generated("com.microsoft.kiota") public class GetQueryParameters implements QueryParameters { diff --git a/src/main/java/com/microsoft/graph/generated/directory/deleteditems/graphgroup/GraphGroupRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/directory/deleteditems/graphgroup/GraphGroupRequestBuilder.java index a6eb8ebd7b7..7a99e3666bc 100644 --- a/src/main/java/com/microsoft/graph/generated/directory/deleteditems/graphgroup/GraphGroupRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/generated/directory/deleteditems/graphgroup/GraphGroupRequestBuilder.java @@ -46,7 +46,7 @@ public GraphGroupRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, super(requestAdapter, "{+baseurl}/directory/deletedItems/graph.group{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl); } /** - * Retrieve a list of recently deleted directory objects. Currently, deleted items functionality is only supported for the application, servicePrincipal, group, administrative unit, and user resources. Retrieve a list of recently deleted directory objects from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user + * Retrieve a list of recently deleted directory objects. Currently, deleted items functionality is only supported for the application, servicePrincipal, group, administrative unit, and user resources. Retrieve a list of recently deleted directory objects from deleted items. The following types are supported:- administrativeUnit- application- agentIdentityBlueprint- agentIdentity- agentIdentityBlueprintPrincipal- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user * @return a {@link GroupCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code * @see Find more info here @@ -56,7 +56,7 @@ public GroupCollectionResponse get() { return get(null); } /** - * Retrieve a list of recently deleted directory objects. Currently, deleted items functionality is only supported for the application, servicePrincipal, group, administrative unit, and user resources. Retrieve a list of recently deleted directory objects from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user + * Retrieve a list of recently deleted directory objects. Currently, deleted items functionality is only supported for the application, servicePrincipal, group, administrative unit, and user resources. Retrieve a list of recently deleted directory objects from deleted items. The following types are supported:- administrativeUnit- application- agentIdentityBlueprint- agentIdentity- agentIdentityBlueprintPrincipal- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link GroupCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code @@ -70,7 +70,7 @@ public GroupCollectionResponse get(@jakarta.annotation.Nullable final java.util. return this.requestAdapter.send(requestInfo, errorMapping, GroupCollectionResponse::createFromDiscriminatorValue); } /** - * Retrieve a list of recently deleted directory objects. Currently, deleted items functionality is only supported for the application, servicePrincipal, group, administrative unit, and user resources. Retrieve a list of recently deleted directory objects from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user + * Retrieve a list of recently deleted directory objects. Currently, deleted items functionality is only supported for the application, servicePrincipal, group, administrative unit, and user resources. Retrieve a list of recently deleted directory objects from deleted items. The following types are supported:- administrativeUnit- application- agentIdentityBlueprint- agentIdentity- agentIdentityBlueprintPrincipal- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull @@ -78,7 +78,7 @@ public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } /** - * Retrieve a list of recently deleted directory objects. Currently, deleted items functionality is only supported for the application, servicePrincipal, group, administrative unit, and user resources. Retrieve a list of recently deleted directory objects from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user + * Retrieve a list of recently deleted directory objects. Currently, deleted items functionality is only supported for the application, servicePrincipal, group, administrative unit, and user resources. Retrieve a list of recently deleted directory objects from deleted items. The following types are supported:- administrativeUnit- application- agentIdentityBlueprint- agentIdentity- agentIdentityBlueprintPrincipal- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} */ @@ -100,7 +100,7 @@ public GraphGroupRequestBuilder withUrl(@jakarta.annotation.Nonnull final String return new GraphGroupRequestBuilder(rawUrl, requestAdapter); } /** - * Retrieve a list of recently deleted directory objects. Currently, deleted items functionality is only supported for the application, servicePrincipal, group, administrative unit, and user resources. Retrieve a list of recently deleted directory objects from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user + * Retrieve a list of recently deleted directory objects. Currently, deleted items functionality is only supported for the application, servicePrincipal, group, administrative unit, and user resources. Retrieve a list of recently deleted directory objects from deleted items. The following types are supported:- administrativeUnit- application- agentIdentityBlueprint- agentIdentity- agentIdentityBlueprintPrincipal- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user */ @jakarta.annotation.Generated("com.microsoft.kiota") public class GetQueryParameters implements QueryParameters { diff --git a/src/main/java/com/microsoft/graph/generated/directory/deleteditems/item/DirectoryObjectItemRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/directory/deleteditems/item/DirectoryObjectItemRequestBuilder.java index f4a39cedb2f..f824b7953cb 100644 --- a/src/main/java/com/microsoft/graph/generated/directory/deleteditems/item/DirectoryObjectItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/generated/directory/deleteditems/item/DirectoryObjectItemRequestBuilder.java @@ -156,7 +156,7 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume this.requestAdapter.sendPrimitive(requestInfo, errorMapping, Void.class); } /** - * Retrieve the properties of a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Retrieve the properties of a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user + * Retrieve the properties of a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Retrieve the properties of a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- agentIdentityBlueprint- agentIdentity- agentIdentityBlueprintPrincipal- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user * @return a {@link DirectoryObject} * @throws ODataError When receiving a 4XX or 5XX status code * @see Find more info here @@ -166,7 +166,7 @@ public DirectoryObject get() { return get(null); } /** - * Retrieve the properties of a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Retrieve the properties of a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user + * Retrieve the properties of a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Retrieve the properties of a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- agentIdentityBlueprint- agentIdentity- agentIdentityBlueprintPrincipal- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link DirectoryObject} * @throws ODataError When receiving a 4XX or 5XX status code @@ -200,7 +200,7 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl return requestInfo; } /** - * Retrieve the properties of a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Retrieve the properties of a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user + * Retrieve the properties of a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Retrieve the properties of a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- agentIdentityBlueprint- agentIdentity- agentIdentityBlueprintPrincipal- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull @@ -208,7 +208,7 @@ public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } /** - * Retrieve the properties of a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Retrieve the properties of a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user + * Retrieve the properties of a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Retrieve the properties of a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- agentIdentityBlueprint- agentIdentity- agentIdentityBlueprintPrincipal- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} */ @@ -236,7 +236,7 @@ public DirectoryObjectItemRequestBuilder withUrl(@jakarta.annotation.Nonnull fin public class DeleteRequestConfiguration extends BaseRequestConfiguration { } /** - * Retrieve the properties of a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Retrieve the properties of a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user + * Retrieve the properties of a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Retrieve the properties of a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- agentIdentityBlueprint- agentIdentity- agentIdentityBlueprintPrincipal- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user */ @jakarta.annotation.Generated("com.microsoft.kiota") public class GetQueryParameters implements QueryParameters { diff --git a/src/main/java/com/microsoft/graph/generated/directory/deleteditems/item/graphgroup/GraphGroupRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/directory/deleteditems/item/graphgroup/GraphGroupRequestBuilder.java index 41f125919ef..4a16dc5ada6 100644 --- a/src/main/java/com/microsoft/graph/generated/directory/deleteditems/item/graphgroup/GraphGroupRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/generated/directory/deleteditems/item/graphgroup/GraphGroupRequestBuilder.java @@ -37,7 +37,7 @@ public GraphGroupRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, super(requestAdapter, "{+baseurl}/directory/deletedItems/{directoryObject%2Did}/graph.group{?%24expand,%24select}", rawUrl); } /** - * Retrieve a list of recently deleted directory objects. Currently, deleted items functionality is only supported for the application, servicePrincipal, group, administrative unit, and user resources. Retrieve a list of recently deleted directory objects from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user + * Retrieve a list of recently deleted directory objects. Currently, deleted items functionality is only supported for the application, servicePrincipal, group, administrative unit, and user resources. Retrieve a list of recently deleted directory objects from deleted items. The following types are supported:- administrativeUnit- application- agentIdentityBlueprint- agentIdentity- agentIdentityBlueprintPrincipal- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user * @return a {@link Group} * @throws ODataError When receiving a 4XX or 5XX status code * @see Find more info here @@ -47,7 +47,7 @@ public Group get() { return get(null); } /** - * Retrieve a list of recently deleted directory objects. Currently, deleted items functionality is only supported for the application, servicePrincipal, group, administrative unit, and user resources. Retrieve a list of recently deleted directory objects from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user + * Retrieve a list of recently deleted directory objects. Currently, deleted items functionality is only supported for the application, servicePrincipal, group, administrative unit, and user resources. Retrieve a list of recently deleted directory objects from deleted items. The following types are supported:- administrativeUnit- application- agentIdentityBlueprint- agentIdentity- agentIdentityBlueprintPrincipal- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Group} * @throws ODataError When receiving a 4XX or 5XX status code @@ -61,7 +61,7 @@ public Group get(@jakarta.annotation.Nullable final java.util.function.Consumer< return this.requestAdapter.send(requestInfo, errorMapping, Group::createFromDiscriminatorValue); } /** - * Retrieve a list of recently deleted directory objects. Currently, deleted items functionality is only supported for the application, servicePrincipal, group, administrative unit, and user resources. Retrieve a list of recently deleted directory objects from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user + * Retrieve a list of recently deleted directory objects. Currently, deleted items functionality is only supported for the application, servicePrincipal, group, administrative unit, and user resources. Retrieve a list of recently deleted directory objects from deleted items. The following types are supported:- administrativeUnit- application- agentIdentityBlueprint- agentIdentity- agentIdentityBlueprintPrincipal- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull @@ -69,7 +69,7 @@ public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } /** - * Retrieve a list of recently deleted directory objects. Currently, deleted items functionality is only supported for the application, servicePrincipal, group, administrative unit, and user resources. Retrieve a list of recently deleted directory objects from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user + * Retrieve a list of recently deleted directory objects. Currently, deleted items functionality is only supported for the application, servicePrincipal, group, administrative unit, and user resources. Retrieve a list of recently deleted directory objects from deleted items. The following types are supported:- administrativeUnit- application- agentIdentityBlueprint- agentIdentity- agentIdentityBlueprintPrincipal- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} */ @@ -91,7 +91,7 @@ public GraphGroupRequestBuilder withUrl(@jakarta.annotation.Nonnull final String return new GraphGroupRequestBuilder(rawUrl, requestAdapter); } /** - * Retrieve a list of recently deleted directory objects. Currently, deleted items functionality is only supported for the application, servicePrincipal, group, administrative unit, and user resources. Retrieve a list of recently deleted directory objects from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user + * Retrieve a list of recently deleted directory objects. Currently, deleted items functionality is only supported for the application, servicePrincipal, group, administrative unit, and user resources. Retrieve a list of recently deleted directory objects from deleted items. The following types are supported:- administrativeUnit- application- agentIdentityBlueprint- agentIdentity- agentIdentityBlueprintPrincipal- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user */ @jakarta.annotation.Generated("com.microsoft.kiota") public class GetQueryParameters implements QueryParameters { diff --git a/src/main/java/com/microsoft/graph/generated/directory/deleteditems/item/restore/RestoreRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/directory/deleteditems/item/restore/RestoreRequestBuilder.java index 16f34cadcb1..52bc067d185 100644 --- a/src/main/java/com/microsoft/graph/generated/directory/deleteditems/item/restore/RestoreRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/generated/directory/deleteditems/item/restore/RestoreRequestBuilder.java @@ -36,7 +36,7 @@ public RestoreRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @j super(requestAdapter, "{+baseurl}/directory/deletedItems/{directoryObject%2Did}/restore", rawUrl); } /** - * Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. + * Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- agentIdentityBlueprint- agentIdentity- agentIdentityBlueprintPrincipal- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. * @return a {@link DirectoryObject} * @throws ODataError When receiving a 4XX or 5XX status code * @see Find more info here @@ -46,7 +46,7 @@ public DirectoryObject post() { return post(null); } /** - * Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. + * Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- agentIdentityBlueprint- agentIdentity- agentIdentityBlueprintPrincipal- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link DirectoryObject} * @throws ODataError When receiving a 4XX or 5XX status code @@ -60,7 +60,7 @@ public DirectoryObject post(@jakarta.annotation.Nullable final java.util.functio return this.requestAdapter.send(requestInfo, errorMapping, DirectoryObject::createFromDiscriminatorValue); } /** - * Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. + * Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- agentIdentityBlueprint- agentIdentity- agentIdentityBlueprintPrincipal- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull @@ -68,7 +68,7 @@ public RequestInformation toPostRequestInformation() { return toPostRequestInformation(null); } /** - * Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. + * Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- agentIdentityBlueprint- agentIdentity- agentIdentityBlueprintPrincipal- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. * @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/generated/directoryobjects/item/restore/RestoreRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/directoryobjects/item/restore/RestoreRequestBuilder.java index 35adb974cb3..6a3862ebed0 100644 --- a/src/main/java/com/microsoft/graph/generated/directoryobjects/item/restore/RestoreRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/generated/directoryobjects/item/restore/RestoreRequestBuilder.java @@ -36,7 +36,7 @@ public RestoreRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @j super(requestAdapter, "{+baseurl}/directoryObjects/{directoryObject%2Did}/restore", rawUrl); } /** - * Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. + * Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- agentIdentityBlueprint- agentIdentity- agentIdentityBlueprintPrincipal- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. * @return a {@link DirectoryObject} * @throws ODataError When receiving a 4XX or 5XX status code * @see Find more info here @@ -46,7 +46,7 @@ public DirectoryObject post() { return post(null); } /** - * Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. + * Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- agentIdentityBlueprint- agentIdentity- agentIdentityBlueprintPrincipal- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link DirectoryObject} * @throws ODataError When receiving a 4XX or 5XX status code @@ -60,7 +60,7 @@ public DirectoryObject post(@jakarta.annotation.Nullable final java.util.functio return this.requestAdapter.send(requestInfo, errorMapping, DirectoryObject::createFromDiscriminatorValue); } /** - * Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. + * Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- agentIdentityBlueprint- agentIdentity- agentIdentityBlueprintPrincipal- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull @@ -68,7 +68,7 @@ public RequestInformation toPostRequestInformation() { return toPostRequestInformation(null); } /** - * Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. + * Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- agentIdentityBlueprint- agentIdentity- agentIdentityBlueprintPrincipal- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. * @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/generated/directoryroles/item/restore/RestoreRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/directoryroles/item/restore/RestoreRequestBuilder.java index d6b26eda464..bc1874783d9 100644 --- a/src/main/java/com/microsoft/graph/generated/directoryroles/item/restore/RestoreRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/generated/directoryroles/item/restore/RestoreRequestBuilder.java @@ -36,7 +36,7 @@ public RestoreRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @j super(requestAdapter, "{+baseurl}/directoryRoles/{directoryRole%2Did}/restore", rawUrl); } /** - * Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. + * Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- agentIdentityBlueprint- agentIdentity- agentIdentityBlueprintPrincipal- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. * @return a {@link DirectoryObject} * @throws ODataError When receiving a 4XX or 5XX status code * @see Find more info here @@ -46,7 +46,7 @@ public DirectoryObject post() { return post(null); } /** - * Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. + * Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- agentIdentityBlueprint- agentIdentity- agentIdentityBlueprintPrincipal- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link DirectoryObject} * @throws ODataError When receiving a 4XX or 5XX status code @@ -60,7 +60,7 @@ public DirectoryObject post(@jakarta.annotation.Nullable final java.util.functio return this.requestAdapter.send(requestInfo, errorMapping, DirectoryObject::createFromDiscriminatorValue); } /** - * Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. + * Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- agentIdentityBlueprint- agentIdentity- agentIdentityBlueprintPrincipal- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull @@ -68,7 +68,7 @@ public RequestInformation toPostRequestInformation() { return toPostRequestInformation(null); } /** - * Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. + * Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- agentIdentityBlueprint- agentIdentity- agentIdentityBlueprintPrincipal- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. * @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/generated/directoryroletemplates/item/restore/RestoreRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/directoryroletemplates/item/restore/RestoreRequestBuilder.java index 82173f9d5cb..5eaf6c8865d 100644 --- a/src/main/java/com/microsoft/graph/generated/directoryroletemplates/item/restore/RestoreRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/generated/directoryroletemplates/item/restore/RestoreRequestBuilder.java @@ -36,7 +36,7 @@ public RestoreRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @j super(requestAdapter, "{+baseurl}/directoryRoleTemplates/{directoryRoleTemplate%2Did}/restore", rawUrl); } /** - * Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. + * Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- agentIdentityBlueprint- agentIdentity- agentIdentityBlueprintPrincipal- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. * @return a {@link DirectoryObject} * @throws ODataError When receiving a 4XX or 5XX status code * @see Find more info here @@ -46,7 +46,7 @@ public DirectoryObject post() { return post(null); } /** - * Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. + * Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- agentIdentityBlueprint- agentIdentity- agentIdentityBlueprintPrincipal- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link DirectoryObject} * @throws ODataError When receiving a 4XX or 5XX status code @@ -60,7 +60,7 @@ public DirectoryObject post(@jakarta.annotation.Nullable final java.util.functio return this.requestAdapter.send(requestInfo, errorMapping, DirectoryObject::createFromDiscriminatorValue); } /** - * Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. + * Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- agentIdentityBlueprint- agentIdentity- agentIdentityBlueprintPrincipal- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull @@ -68,7 +68,7 @@ public RequestInformation toPostRequestInformation() { return toPostRequestInformation(null); } /** - * Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. + * Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- agentIdentityBlueprint- agentIdentity- agentIdentityBlueprintPrincipal- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. * @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/generated/groups/item/restore/RestoreRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/groups/item/restore/RestoreRequestBuilder.java index f1f2966c766..aabb3f4e3ff 100644 --- a/src/main/java/com/microsoft/graph/generated/groups/item/restore/RestoreRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/generated/groups/item/restore/RestoreRequestBuilder.java @@ -36,7 +36,7 @@ public RestoreRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @j super(requestAdapter, "{+baseurl}/groups/{group%2Did}/restore", rawUrl); } /** - * Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. + * Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- agentIdentityBlueprint- agentIdentity- agentIdentityBlueprintPrincipal- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. * @return a {@link DirectoryObject} * @throws ODataError When receiving a 4XX or 5XX status code * @see Find more info here @@ -46,7 +46,7 @@ public DirectoryObject post() { return post(null); } /** - * Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. + * Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- agentIdentityBlueprint- agentIdentity- agentIdentityBlueprintPrincipal- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link DirectoryObject} * @throws ODataError When receiving a 4XX or 5XX status code @@ -60,7 +60,7 @@ public DirectoryObject post(@jakarta.annotation.Nullable final java.util.functio return this.requestAdapter.send(requestInfo, errorMapping, DirectoryObject::createFromDiscriminatorValue); } /** - * Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. + * Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- agentIdentityBlueprint- agentIdentity- agentIdentityBlueprintPrincipal- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull @@ -68,7 +68,7 @@ public RequestInformation toPostRequestInformation() { return toPostRequestInformation(null); } /** - * Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. + * Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- agentIdentityBlueprint- agentIdentity- agentIdentityBlueprintPrincipal- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. * @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/generated/groups/item/team/channels/item/messages/MessagesRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/groups/item/team/channels/item/messages/MessagesRequestBuilder.java index c84a3b1cd33..53816d41506 100644 --- a/src/main/java/com/microsoft/graph/generated/groups/item/team/channels/item/messages/MessagesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/generated/groups/item/team/channels/item/messages/MessagesRequestBuilder.java @@ -3,6 +3,7 @@ import com.microsoft.graph.groups.item.team.channels.item.messages.count.CountRequestBuilder; import com.microsoft.graph.groups.item.team.channels.item.messages.delta.DeltaRequestBuilder; import com.microsoft.graph.groups.item.team.channels.item.messages.item.ChatMessageItemRequestBuilder; +import com.microsoft.graph.groups.item.team.channels.item.messages.replywithquote.ReplyWithQuoteRequestBuilder; import com.microsoft.graph.models.ChatMessage; import com.microsoft.graph.models.ChatMessageCollectionResponse; import com.microsoft.graph.models.odataerrors.ODataError; @@ -40,6 +41,14 @@ public CountRequestBuilder count() { public DeltaRequestBuilder delta() { return new DeltaRequestBuilder(pathParameters, requestAdapter); } + /** + * Provides operations to call the replyWithQuote method. + * @return a {@link ReplyWithQuoteRequestBuilder} + */ + @jakarta.annotation.Nonnull + public ReplyWithQuoteRequestBuilder replyWithQuote() { + return new ReplyWithQuoteRequestBuilder(pathParameters, requestAdapter); + } /** * Provides operations to manage the messages property of the microsoft.graph.channel entity. * @param chatMessageId The unique identifier of chatMessage diff --git a/src/main/java/com/microsoft/graph/generated/groups/item/team/channels/item/messages/item/replies/RepliesRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/groups/item/team/channels/item/messages/item/replies/RepliesRequestBuilder.java index d529849499e..08d3258ab2c 100644 --- a/src/main/java/com/microsoft/graph/generated/groups/item/team/channels/item/messages/item/replies/RepliesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/generated/groups/item/team/channels/item/messages/item/replies/RepliesRequestBuilder.java @@ -3,6 +3,7 @@ import com.microsoft.graph.groups.item.team.channels.item.messages.item.replies.count.CountRequestBuilder; import com.microsoft.graph.groups.item.team.channels.item.messages.item.replies.delta.DeltaRequestBuilder; import com.microsoft.graph.groups.item.team.channels.item.messages.item.replies.item.ChatMessageItemRequestBuilder; +import com.microsoft.graph.groups.item.team.channels.item.messages.item.replies.replywithquote.ReplyWithQuoteRequestBuilder; import com.microsoft.graph.models.ChatMessage; import com.microsoft.graph.models.ChatMessageCollectionResponse; import com.microsoft.graph.models.odataerrors.ODataError; @@ -40,6 +41,14 @@ public CountRequestBuilder count() { public DeltaRequestBuilder delta() { return new DeltaRequestBuilder(pathParameters, requestAdapter); } + /** + * Provides operations to call the replyWithQuote method. + * @return a {@link ReplyWithQuoteRequestBuilder} + */ + @jakarta.annotation.Nonnull + public ReplyWithQuoteRequestBuilder replyWithQuote() { + return new ReplyWithQuoteRequestBuilder(pathParameters, requestAdapter); + } /** * Provides operations to manage the replies property of the microsoft.graph.chatMessage entity. * @param chatMessageId1 The unique identifier of chatMessage diff --git a/src/main/java/com/microsoft/graph/generated/groups/item/team/channels/item/messages/item/replies/replywithquote/ReplyWithQuotePostRequestBody.java b/src/main/java/com/microsoft/graph/generated/groups/item/team/channels/item/messages/item/replies/replywithquote/ReplyWithQuotePostRequestBody.java new file mode 100644 index 00000000000..fa1a264d5f4 --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/groups/item/team/channels/item/messages/item/replies/replywithquote/ReplyWithQuotePostRequestBody.java @@ -0,0 +1,125 @@ +package com.microsoft.graph.groups.item.team.channels.item.messages.item.replies.replywithquote; + +import com.microsoft.graph.models.ChatMessage; +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 ReplyWithQuotePostRequestBody implements AdditionalDataHolder, BackedModel, Parsable { + /** + * Stores model information. + */ + @jakarta.annotation.Nonnull + protected BackingStore backingStore; + /** + * Instantiates a new {@link ReplyWithQuotePostRequestBody} and sets the default values. + */ + public ReplyWithQuotePostRequestBody() { + 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 ReplyWithQuotePostRequestBody} + */ + @jakarta.annotation.Nonnull + public static ReplyWithQuotePostRequestBody createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) { + Objects.requireNonNull(parseNode); + return new ReplyWithQuotePostRequestBody(); + } + /** + * 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>(2); + deserializerMap.put("messageIds", (n) -> { this.setMessageIds(n.getCollectionOfPrimitiveValues(String.class)); }); + deserializerMap.put("replyMessage", (n) -> { this.setReplyMessage(n.getObjectValue(ChatMessage::createFromDiscriminatorValue)); }); + return deserializerMap; + } + /** + * Gets the messageIds property value. The messageIds property + * @return a {@link java.util.List} + */ + @jakarta.annotation.Nullable + public java.util.List getMessageIds() { + return this.backingStore.get("messageIds"); + } + /** + * Gets the replyMessage property value. The replyMessage property + * @return a {@link ChatMessage} + */ + @jakarta.annotation.Nullable + public ChatMessage getReplyMessage() { + return this.backingStore.get("replyMessage"); + } + /** + * 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("messageIds", this.getMessageIds()); + writer.writeObjectValue("replyMessage", this.getReplyMessage()); + 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 messageIds property value. The messageIds property + * @param value Value to set for the messageIds property. + */ + public void setMessageIds(@jakarta.annotation.Nullable final java.util.List value) { + this.backingStore.set("messageIds", value); + } + /** + * Sets the replyMessage property value. The replyMessage property + * @param value Value to set for the replyMessage property. + */ + public void setReplyMessage(@jakarta.annotation.Nullable final ChatMessage value) { + this.backingStore.set("replyMessage", value); + } +} diff --git a/src/main/java/com/microsoft/graph/generated/groups/item/team/channels/item/messages/item/replies/replywithquote/ReplyWithQuoteRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/groups/item/team/channels/item/messages/item/replies/replywithquote/ReplyWithQuoteRequestBuilder.java new file mode 100644 index 00000000000..4a9be516740 --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/groups/item/team/channels/item/messages/item/replies/replywithquote/ReplyWithQuoteRequestBuilder.java @@ -0,0 +1,105 @@ +package com.microsoft.graph.groups.item.team.channels.item.messages.item.replies.replywithquote; + +import com.microsoft.graph.models.ChatMessage; +import com.microsoft.graph.models.odataerrors.ODataError; +import com.microsoft.kiota.BaseRequestBuilder; +import com.microsoft.kiota.BaseRequestConfiguration; +import com.microsoft.kiota.HttpMethod; +import com.microsoft.kiota.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 replyWithQuote method. + */ +@jakarta.annotation.Generated("com.microsoft.kiota") +public class ReplyWithQuoteRequestBuilder extends BaseRequestBuilder { + /** + * Instantiates a new {@link ReplyWithQuoteRequestBuilder} and sets the default values. + * @param pathParameters Path parameters for the request + * @param requestAdapter The request adapter to use to execute the requests. + */ + public ReplyWithQuoteRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/groups/{group%2Did}/team/channels/{channel%2Did}/messages/{chatMessage%2Did}/replies/replyWithQuote", pathParameters); + } + /** + * Instantiates a new {@link ReplyWithQuoteRequestBuilder} 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 ReplyWithQuoteRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/groups/{group%2Did}/team/channels/{channel%2Did}/messages/{chatMessage%2Did}/replies/replyWithQuote", rawUrl); + } + /** + * Reply with quote to a single chat message or multiple chat messages in a chat. + * @param body The request body + * @return a {@link ChatMessage} + * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here + */ + @jakarta.annotation.Nullable + public ChatMessage post(@jakarta.annotation.Nonnull final ReplyWithQuotePostRequestBody body) { + return post(body, null); + } + /** + * Reply with quote to a single chat message or multiple chat messages in a chat. + * @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 + */ + @jakarta.annotation.Nullable + public ChatMessage post(@jakarta.annotation.Nonnull final ReplyWithQuotePostRequestBody 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, ChatMessage::createFromDiscriminatorValue); + } + /** + * Reply with quote to a single chat message or multiple chat messages in a chat. + * @param body The request body + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final ReplyWithQuotePostRequestBody body) { + return toPostRequestInformation(body, null); + } + /** + * Reply with quote to a single chat message or multiple chat messages in a chat. + * @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 ReplyWithQuotePostRequestBody 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 ReplyWithQuoteRequestBuilder} + */ + @jakarta.annotation.Nonnull + public ReplyWithQuoteRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { + Objects.requireNonNull(rawUrl); + return new ReplyWithQuoteRequestBuilder(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/generated/groups/item/team/channels/item/messages/replywithquote/ReplyWithQuotePostRequestBody.java b/src/main/java/com/microsoft/graph/generated/groups/item/team/channels/item/messages/replywithquote/ReplyWithQuotePostRequestBody.java new file mode 100644 index 00000000000..64dfa72b075 --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/groups/item/team/channels/item/messages/replywithquote/ReplyWithQuotePostRequestBody.java @@ -0,0 +1,125 @@ +package com.microsoft.graph.groups.item.team.channels.item.messages.replywithquote; + +import com.microsoft.graph.models.ChatMessage; +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 ReplyWithQuotePostRequestBody implements AdditionalDataHolder, BackedModel, Parsable { + /** + * Stores model information. + */ + @jakarta.annotation.Nonnull + protected BackingStore backingStore; + /** + * Instantiates a new {@link ReplyWithQuotePostRequestBody} and sets the default values. + */ + public ReplyWithQuotePostRequestBody() { + 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 ReplyWithQuotePostRequestBody} + */ + @jakarta.annotation.Nonnull + public static ReplyWithQuotePostRequestBody createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) { + Objects.requireNonNull(parseNode); + return new ReplyWithQuotePostRequestBody(); + } + /** + * 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>(2); + deserializerMap.put("messageIds", (n) -> { this.setMessageIds(n.getCollectionOfPrimitiveValues(String.class)); }); + deserializerMap.put("replyMessage", (n) -> { this.setReplyMessage(n.getObjectValue(ChatMessage::createFromDiscriminatorValue)); }); + return deserializerMap; + } + /** + * Gets the messageIds property value. The messageIds property + * @return a {@link java.util.List} + */ + @jakarta.annotation.Nullable + public java.util.List getMessageIds() { + return this.backingStore.get("messageIds"); + } + /** + * Gets the replyMessage property value. The replyMessage property + * @return a {@link ChatMessage} + */ + @jakarta.annotation.Nullable + public ChatMessage getReplyMessage() { + return this.backingStore.get("replyMessage"); + } + /** + * 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("messageIds", this.getMessageIds()); + writer.writeObjectValue("replyMessage", this.getReplyMessage()); + 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 messageIds property value. The messageIds property + * @param value Value to set for the messageIds property. + */ + public void setMessageIds(@jakarta.annotation.Nullable final java.util.List value) { + this.backingStore.set("messageIds", value); + } + /** + * Sets the replyMessage property value. The replyMessage property + * @param value Value to set for the replyMessage property. + */ + public void setReplyMessage(@jakarta.annotation.Nullable final ChatMessage value) { + this.backingStore.set("replyMessage", value); + } +} diff --git a/src/main/java/com/microsoft/graph/generated/groups/item/team/channels/item/messages/replywithquote/ReplyWithQuoteRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/groups/item/team/channels/item/messages/replywithquote/ReplyWithQuoteRequestBuilder.java new file mode 100644 index 00000000000..8ba37272381 --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/groups/item/team/channels/item/messages/replywithquote/ReplyWithQuoteRequestBuilder.java @@ -0,0 +1,105 @@ +package com.microsoft.graph.groups.item.team.channels.item.messages.replywithquote; + +import com.microsoft.graph.models.ChatMessage; +import com.microsoft.graph.models.odataerrors.ODataError; +import com.microsoft.kiota.BaseRequestBuilder; +import com.microsoft.kiota.BaseRequestConfiguration; +import com.microsoft.kiota.HttpMethod; +import com.microsoft.kiota.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 replyWithQuote method. + */ +@jakarta.annotation.Generated("com.microsoft.kiota") +public class ReplyWithQuoteRequestBuilder extends BaseRequestBuilder { + /** + * Instantiates a new {@link ReplyWithQuoteRequestBuilder} and sets the default values. + * @param pathParameters Path parameters for the request + * @param requestAdapter The request adapter to use to execute the requests. + */ + public ReplyWithQuoteRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/groups/{group%2Did}/team/channels/{channel%2Did}/messages/replyWithQuote", pathParameters); + } + /** + * Instantiates a new {@link ReplyWithQuoteRequestBuilder} 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 ReplyWithQuoteRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/groups/{group%2Did}/team/channels/{channel%2Did}/messages/replyWithQuote", rawUrl); + } + /** + * Reply with quote to a single chat message or multiple chat messages in a chat. + * @param body The request body + * @return a {@link ChatMessage} + * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here + */ + @jakarta.annotation.Nullable + public ChatMessage post(@jakarta.annotation.Nonnull final ReplyWithQuotePostRequestBody body) { + return post(body, null); + } + /** + * Reply with quote to a single chat message or multiple chat messages in a chat. + * @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 + */ + @jakarta.annotation.Nullable + public ChatMessage post(@jakarta.annotation.Nonnull final ReplyWithQuotePostRequestBody 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, ChatMessage::createFromDiscriminatorValue); + } + /** + * Reply with quote to a single chat message or multiple chat messages in a chat. + * @param body The request body + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final ReplyWithQuotePostRequestBody body) { + return toPostRequestInformation(body, null); + } + /** + * Reply with quote to a single chat message or multiple chat messages in a chat. + * @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 ReplyWithQuotePostRequestBody 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 ReplyWithQuoteRequestBuilder} + */ + @jakarta.annotation.Nonnull + public ReplyWithQuoteRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { + Objects.requireNonNull(rawUrl); + return new ReplyWithQuoteRequestBuilder(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/generated/groups/item/team/primarychannel/messages/MessagesRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/groups/item/team/primarychannel/messages/MessagesRequestBuilder.java index a75320808a6..af4a9efa1c5 100644 --- a/src/main/java/com/microsoft/graph/generated/groups/item/team/primarychannel/messages/MessagesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/generated/groups/item/team/primarychannel/messages/MessagesRequestBuilder.java @@ -3,6 +3,7 @@ import com.microsoft.graph.groups.item.team.primarychannel.messages.count.CountRequestBuilder; import com.microsoft.graph.groups.item.team.primarychannel.messages.delta.DeltaRequestBuilder; import com.microsoft.graph.groups.item.team.primarychannel.messages.item.ChatMessageItemRequestBuilder; +import com.microsoft.graph.groups.item.team.primarychannel.messages.replywithquote.ReplyWithQuoteRequestBuilder; import com.microsoft.graph.models.ChatMessage; import com.microsoft.graph.models.ChatMessageCollectionResponse; import com.microsoft.graph.models.odataerrors.ODataError; @@ -40,6 +41,14 @@ public CountRequestBuilder count() { public DeltaRequestBuilder delta() { return new DeltaRequestBuilder(pathParameters, requestAdapter); } + /** + * Provides operations to call the replyWithQuote method. + * @return a {@link ReplyWithQuoteRequestBuilder} + */ + @jakarta.annotation.Nonnull + public ReplyWithQuoteRequestBuilder replyWithQuote() { + return new ReplyWithQuoteRequestBuilder(pathParameters, requestAdapter); + } /** * Provides operations to manage the messages property of the microsoft.graph.channel entity. * @param chatMessageId The unique identifier of chatMessage diff --git a/src/main/java/com/microsoft/graph/generated/groups/item/team/primarychannel/messages/item/replies/RepliesRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/groups/item/team/primarychannel/messages/item/replies/RepliesRequestBuilder.java index d9b5e60860d..5a77b9eed4b 100644 --- a/src/main/java/com/microsoft/graph/generated/groups/item/team/primarychannel/messages/item/replies/RepliesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/generated/groups/item/team/primarychannel/messages/item/replies/RepliesRequestBuilder.java @@ -3,6 +3,7 @@ import com.microsoft.graph.groups.item.team.primarychannel.messages.item.replies.count.CountRequestBuilder; import com.microsoft.graph.groups.item.team.primarychannel.messages.item.replies.delta.DeltaRequestBuilder; import com.microsoft.graph.groups.item.team.primarychannel.messages.item.replies.item.ChatMessageItemRequestBuilder; +import com.microsoft.graph.groups.item.team.primarychannel.messages.item.replies.replywithquote.ReplyWithQuoteRequestBuilder; import com.microsoft.graph.models.ChatMessage; import com.microsoft.graph.models.ChatMessageCollectionResponse; import com.microsoft.graph.models.odataerrors.ODataError; @@ -40,6 +41,14 @@ public CountRequestBuilder count() { public DeltaRequestBuilder delta() { return new DeltaRequestBuilder(pathParameters, requestAdapter); } + /** + * Provides operations to call the replyWithQuote method. + * @return a {@link ReplyWithQuoteRequestBuilder} + */ + @jakarta.annotation.Nonnull + public ReplyWithQuoteRequestBuilder replyWithQuote() { + return new ReplyWithQuoteRequestBuilder(pathParameters, requestAdapter); + } /** * Provides operations to manage the replies property of the microsoft.graph.chatMessage entity. * @param chatMessageId1 The unique identifier of chatMessage diff --git a/src/main/java/com/microsoft/graph/generated/groups/item/team/primarychannel/messages/item/replies/replywithquote/ReplyWithQuotePostRequestBody.java b/src/main/java/com/microsoft/graph/generated/groups/item/team/primarychannel/messages/item/replies/replywithquote/ReplyWithQuotePostRequestBody.java new file mode 100644 index 00000000000..e0279e682be --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/groups/item/team/primarychannel/messages/item/replies/replywithquote/ReplyWithQuotePostRequestBody.java @@ -0,0 +1,125 @@ +package com.microsoft.graph.groups.item.team.primarychannel.messages.item.replies.replywithquote; + +import com.microsoft.graph.models.ChatMessage; +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 ReplyWithQuotePostRequestBody implements AdditionalDataHolder, BackedModel, Parsable { + /** + * Stores model information. + */ + @jakarta.annotation.Nonnull + protected BackingStore backingStore; + /** + * Instantiates a new {@link ReplyWithQuotePostRequestBody} and sets the default values. + */ + public ReplyWithQuotePostRequestBody() { + 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 ReplyWithQuotePostRequestBody} + */ + @jakarta.annotation.Nonnull + public static ReplyWithQuotePostRequestBody createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) { + Objects.requireNonNull(parseNode); + return new ReplyWithQuotePostRequestBody(); + } + /** + * 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>(2); + deserializerMap.put("messageIds", (n) -> { this.setMessageIds(n.getCollectionOfPrimitiveValues(String.class)); }); + deserializerMap.put("replyMessage", (n) -> { this.setReplyMessage(n.getObjectValue(ChatMessage::createFromDiscriminatorValue)); }); + return deserializerMap; + } + /** + * Gets the messageIds property value. The messageIds property + * @return a {@link java.util.List} + */ + @jakarta.annotation.Nullable + public java.util.List getMessageIds() { + return this.backingStore.get("messageIds"); + } + /** + * Gets the replyMessage property value. The replyMessage property + * @return a {@link ChatMessage} + */ + @jakarta.annotation.Nullable + public ChatMessage getReplyMessage() { + return this.backingStore.get("replyMessage"); + } + /** + * 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("messageIds", this.getMessageIds()); + writer.writeObjectValue("replyMessage", this.getReplyMessage()); + 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 messageIds property value. The messageIds property + * @param value Value to set for the messageIds property. + */ + public void setMessageIds(@jakarta.annotation.Nullable final java.util.List value) { + this.backingStore.set("messageIds", value); + } + /** + * Sets the replyMessage property value. The replyMessage property + * @param value Value to set for the replyMessage property. + */ + public void setReplyMessage(@jakarta.annotation.Nullable final ChatMessage value) { + this.backingStore.set("replyMessage", value); + } +} diff --git a/src/main/java/com/microsoft/graph/generated/groups/item/team/primarychannel/messages/item/replies/replywithquote/ReplyWithQuoteRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/groups/item/team/primarychannel/messages/item/replies/replywithquote/ReplyWithQuoteRequestBuilder.java new file mode 100644 index 00000000000..3ca0ffa1f09 --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/groups/item/team/primarychannel/messages/item/replies/replywithquote/ReplyWithQuoteRequestBuilder.java @@ -0,0 +1,105 @@ +package com.microsoft.graph.groups.item.team.primarychannel.messages.item.replies.replywithquote; + +import com.microsoft.graph.models.ChatMessage; +import com.microsoft.graph.models.odataerrors.ODataError; +import com.microsoft.kiota.BaseRequestBuilder; +import com.microsoft.kiota.BaseRequestConfiguration; +import com.microsoft.kiota.HttpMethod; +import com.microsoft.kiota.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 replyWithQuote method. + */ +@jakarta.annotation.Generated("com.microsoft.kiota") +public class ReplyWithQuoteRequestBuilder extends BaseRequestBuilder { + /** + * Instantiates a new {@link ReplyWithQuoteRequestBuilder} and sets the default values. + * @param pathParameters Path parameters for the request + * @param requestAdapter The request adapter to use to execute the requests. + */ + public ReplyWithQuoteRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/groups/{group%2Did}/team/primaryChannel/messages/{chatMessage%2Did}/replies/replyWithQuote", pathParameters); + } + /** + * Instantiates a new {@link ReplyWithQuoteRequestBuilder} 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 ReplyWithQuoteRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/groups/{group%2Did}/team/primaryChannel/messages/{chatMessage%2Did}/replies/replyWithQuote", rawUrl); + } + /** + * Reply with quote to a single chat message or multiple chat messages in a chat. + * @param body The request body + * @return a {@link ChatMessage} + * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here + */ + @jakarta.annotation.Nullable + public ChatMessage post(@jakarta.annotation.Nonnull final ReplyWithQuotePostRequestBody body) { + return post(body, null); + } + /** + * Reply with quote to a single chat message or multiple chat messages in a chat. + * @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 + */ + @jakarta.annotation.Nullable + public ChatMessage post(@jakarta.annotation.Nonnull final ReplyWithQuotePostRequestBody 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, ChatMessage::createFromDiscriminatorValue); + } + /** + * Reply with quote to a single chat message or multiple chat messages in a chat. + * @param body The request body + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final ReplyWithQuotePostRequestBody body) { + return toPostRequestInformation(body, null); + } + /** + * Reply with quote to a single chat message or multiple chat messages in a chat. + * @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 ReplyWithQuotePostRequestBody 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 ReplyWithQuoteRequestBuilder} + */ + @jakarta.annotation.Nonnull + public ReplyWithQuoteRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { + Objects.requireNonNull(rawUrl); + return new ReplyWithQuoteRequestBuilder(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/generated/groups/item/team/primarychannel/messages/replywithquote/ReplyWithQuotePostRequestBody.java b/src/main/java/com/microsoft/graph/generated/groups/item/team/primarychannel/messages/replywithquote/ReplyWithQuotePostRequestBody.java new file mode 100644 index 00000000000..24040a0b6b0 --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/groups/item/team/primarychannel/messages/replywithquote/ReplyWithQuotePostRequestBody.java @@ -0,0 +1,125 @@ +package com.microsoft.graph.groups.item.team.primarychannel.messages.replywithquote; + +import com.microsoft.graph.models.ChatMessage; +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 ReplyWithQuotePostRequestBody implements AdditionalDataHolder, BackedModel, Parsable { + /** + * Stores model information. + */ + @jakarta.annotation.Nonnull + protected BackingStore backingStore; + /** + * Instantiates a new {@link ReplyWithQuotePostRequestBody} and sets the default values. + */ + public ReplyWithQuotePostRequestBody() { + 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 ReplyWithQuotePostRequestBody} + */ + @jakarta.annotation.Nonnull + public static ReplyWithQuotePostRequestBody createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) { + Objects.requireNonNull(parseNode); + return new ReplyWithQuotePostRequestBody(); + } + /** + * 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>(2); + deserializerMap.put("messageIds", (n) -> { this.setMessageIds(n.getCollectionOfPrimitiveValues(String.class)); }); + deserializerMap.put("replyMessage", (n) -> { this.setReplyMessage(n.getObjectValue(ChatMessage::createFromDiscriminatorValue)); }); + return deserializerMap; + } + /** + * Gets the messageIds property value. The messageIds property + * @return a {@link java.util.List} + */ + @jakarta.annotation.Nullable + public java.util.List getMessageIds() { + return this.backingStore.get("messageIds"); + } + /** + * Gets the replyMessage property value. The replyMessage property + * @return a {@link ChatMessage} + */ + @jakarta.annotation.Nullable + public ChatMessage getReplyMessage() { + return this.backingStore.get("replyMessage"); + } + /** + * 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("messageIds", this.getMessageIds()); + writer.writeObjectValue("replyMessage", this.getReplyMessage()); + 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 messageIds property value. The messageIds property + * @param value Value to set for the messageIds property. + */ + public void setMessageIds(@jakarta.annotation.Nullable final java.util.List value) { + this.backingStore.set("messageIds", value); + } + /** + * Sets the replyMessage property value. The replyMessage property + * @param value Value to set for the replyMessage property. + */ + public void setReplyMessage(@jakarta.annotation.Nullable final ChatMessage value) { + this.backingStore.set("replyMessage", value); + } +} diff --git a/src/main/java/com/microsoft/graph/generated/groups/item/team/primarychannel/messages/replywithquote/ReplyWithQuoteRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/groups/item/team/primarychannel/messages/replywithquote/ReplyWithQuoteRequestBuilder.java new file mode 100644 index 00000000000..94821cdd553 --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/groups/item/team/primarychannel/messages/replywithquote/ReplyWithQuoteRequestBuilder.java @@ -0,0 +1,105 @@ +package com.microsoft.graph.groups.item.team.primarychannel.messages.replywithquote; + +import com.microsoft.graph.models.ChatMessage; +import com.microsoft.graph.models.odataerrors.ODataError; +import com.microsoft.kiota.BaseRequestBuilder; +import com.microsoft.kiota.BaseRequestConfiguration; +import com.microsoft.kiota.HttpMethod; +import com.microsoft.kiota.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 replyWithQuote method. + */ +@jakarta.annotation.Generated("com.microsoft.kiota") +public class ReplyWithQuoteRequestBuilder extends BaseRequestBuilder { + /** + * Instantiates a new {@link ReplyWithQuoteRequestBuilder} and sets the default values. + * @param pathParameters Path parameters for the request + * @param requestAdapter The request adapter to use to execute the requests. + */ + public ReplyWithQuoteRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/groups/{group%2Did}/team/primaryChannel/messages/replyWithQuote", pathParameters); + } + /** + * Instantiates a new {@link ReplyWithQuoteRequestBuilder} 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 ReplyWithQuoteRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/groups/{group%2Did}/team/primaryChannel/messages/replyWithQuote", rawUrl); + } + /** + * Reply with quote to a single chat message or multiple chat messages in a chat. + * @param body The request body + * @return a {@link ChatMessage} + * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here + */ + @jakarta.annotation.Nullable + public ChatMessage post(@jakarta.annotation.Nonnull final ReplyWithQuotePostRequestBody body) { + return post(body, null); + } + /** + * Reply with quote to a single chat message or multiple chat messages in a chat. + * @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 + */ + @jakarta.annotation.Nullable + public ChatMessage post(@jakarta.annotation.Nonnull final ReplyWithQuotePostRequestBody 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, ChatMessage::createFromDiscriminatorValue); + } + /** + * Reply with quote to a single chat message or multiple chat messages in a chat. + * @param body The request body + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final ReplyWithQuotePostRequestBody body) { + return toPostRequestInformation(body, null); + } + /** + * Reply with quote to a single chat message or multiple chat messages in a chat. + * @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 ReplyWithQuotePostRequestBody 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 ReplyWithQuoteRequestBuilder} + */ + @jakarta.annotation.Nonnull + public ReplyWithQuoteRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { + Objects.requireNonNull(rawUrl); + return new ReplyWithQuoteRequestBuilder(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/generated/groupsettingtemplates/item/restore/RestoreRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/groupsettingtemplates/item/restore/RestoreRequestBuilder.java index 4902bff2224..04659f5bded 100644 --- a/src/main/java/com/microsoft/graph/generated/groupsettingtemplates/item/restore/RestoreRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/generated/groupsettingtemplates/item/restore/RestoreRequestBuilder.java @@ -36,7 +36,7 @@ public RestoreRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @j super(requestAdapter, "{+baseurl}/groupSettingTemplates/{groupSettingTemplate%2Did}/restore", rawUrl); } /** - * Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. + * Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- agentIdentityBlueprint- agentIdentity- agentIdentityBlueprintPrincipal- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. * @return a {@link DirectoryObject} * @throws ODataError When receiving a 4XX or 5XX status code * @see Find more info here @@ -46,7 +46,7 @@ public DirectoryObject post() { return post(null); } /** - * Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. + * Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- agentIdentityBlueprint- agentIdentity- agentIdentityBlueprintPrincipal- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link DirectoryObject} * @throws ODataError When receiving a 4XX or 5XX status code @@ -60,7 +60,7 @@ public DirectoryObject post(@jakarta.annotation.Nullable final java.util.functio return this.requestAdapter.send(requestInfo, errorMapping, DirectoryObject::createFromDiscriminatorValue); } /** - * Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. + * Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- agentIdentityBlueprint- agentIdentity- agentIdentityBlueprintPrincipal- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull @@ -68,7 +68,7 @@ public RequestInformation toPostRequestInformation() { return toPostRequestInformation(null); } /** - * Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. + * Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- agentIdentityBlueprint- agentIdentity- agentIdentityBlueprintPrincipal- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. * @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/generated/identitygovernance/entitlementmanagement/accesspackages/item/assignmentpolicies/item/accesspackage/AccessPackageRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/identitygovernance/entitlementmanagement/accesspackages/item/assignmentpolicies/item/accesspackage/AccessPackageRequestBuilder.java index a4fcb615f4d..a621d80c70b 100644 --- a/src/main/java/com/microsoft/graph/generated/identitygovernance/entitlementmanagement/accesspackages/item/assignmentpolicies/item/accesspackage/AccessPackageRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/generated/identitygovernance/entitlementmanagement/accesspackages/item/assignmentpolicies/item/accesspackage/AccessPackageRequestBuilder.java @@ -37,7 +37,7 @@ public AccessPackageRequestBuilder(@jakarta.annotation.Nonnull final String rawU super(requestAdapter, "{+baseurl}/identityGovernance/entitlementManagement/accessPackages/{accessPackage%2Did}/assignmentPolicies/{accessPackageAssignmentPolicy%2Did}/accessPackage{?%24expand,%24select}", rawUrl); } /** - * Access package containing this policy. Read-only. Supports $expand. + * Access package containing this policy. Read-only. Supports $expand. * @return a {@link AccessPackage} * @throws ODataError When receiving a 4XX or 5XX status code */ @@ -46,7 +46,7 @@ public AccessPackage get() { return get(null); } /** - * Access package containing this policy. Read-only. Supports $expand. + * Access package containing this policy. Read-only. Supports $expand. * @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 @@ -59,7 +59,7 @@ public AccessPackage get(@jakarta.annotation.Nullable final java.util.function.C return this.requestAdapter.send(requestInfo, errorMapping, AccessPackage::createFromDiscriminatorValue); } /** - * Access package containing this policy. Read-only. Supports $expand. + * Access package containing this policy. Read-only. Supports $expand. * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull @@ -67,7 +67,7 @@ public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } /** - * Access package containing this policy. Read-only. Supports $expand. + * Access package containing this policy. Read-only. Supports $expand. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} */ @@ -89,7 +89,7 @@ public AccessPackageRequestBuilder withUrl(@jakarta.annotation.Nonnull final Str return new AccessPackageRequestBuilder(rawUrl, requestAdapter); } /** - * Access package containing this policy. Read-only. Supports $expand. + * Access package containing this policy. Read-only. Supports $expand. */ @jakarta.annotation.Generated("com.microsoft.kiota") public class GetQueryParameters implements QueryParameters { diff --git a/src/main/java/com/microsoft/graph/generated/identitygovernance/entitlementmanagement/assignmentpolicies/item/accesspackage/AccessPackageRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/identitygovernance/entitlementmanagement/assignmentpolicies/item/accesspackage/AccessPackageRequestBuilder.java index b07d4c6cc50..9c4839e3e3f 100644 --- a/src/main/java/com/microsoft/graph/generated/identitygovernance/entitlementmanagement/assignmentpolicies/item/accesspackage/AccessPackageRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/generated/identitygovernance/entitlementmanagement/assignmentpolicies/item/accesspackage/AccessPackageRequestBuilder.java @@ -37,7 +37,7 @@ public AccessPackageRequestBuilder(@jakarta.annotation.Nonnull final String rawU super(requestAdapter, "{+baseurl}/identityGovernance/entitlementManagement/assignmentPolicies/{accessPackageAssignmentPolicy%2Did}/accessPackage{?%24expand,%24select}", rawUrl); } /** - * Access package containing this policy. Read-only. Supports $expand. + * Access package containing this policy. Read-only. Supports $expand. * @return a {@link AccessPackage} * @throws ODataError When receiving a 4XX or 5XX status code */ @@ -46,7 +46,7 @@ public AccessPackage get() { return get(null); } /** - * Access package containing this policy. Read-only. Supports $expand. + * Access package containing this policy. Read-only. Supports $expand. * @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 @@ -59,7 +59,7 @@ public AccessPackage get(@jakarta.annotation.Nullable final java.util.function.C return this.requestAdapter.send(requestInfo, errorMapping, AccessPackage::createFromDiscriminatorValue); } /** - * Access package containing this policy. Read-only. Supports $expand. + * Access package containing this policy. Read-only. Supports $expand. * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull @@ -67,7 +67,7 @@ public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } /** - * Access package containing this policy. Read-only. Supports $expand. + * Access package containing this policy. Read-only. Supports $expand. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} */ @@ -89,7 +89,7 @@ public AccessPackageRequestBuilder withUrl(@jakarta.annotation.Nonnull final Str return new AccessPackageRequestBuilder(rawUrl, requestAdapter); } /** - * Access package containing this policy. Read-only. Supports $expand. + * Access package containing this policy. Read-only. Supports $expand. */ @jakarta.annotation.Generated("com.microsoft.kiota") public class GetQueryParameters implements QueryParameters { diff --git a/src/main/java/com/microsoft/graph/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/administrationscopetargets/AdministrationScopeTargetsRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/administrationscopetargets/AdministrationScopeTargetsRequestBuilder.java index 94cb675d3f4..03452c5e6eb 100644 --- a/src/main/java/com/microsoft/graph/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/administrationscopetargets/AdministrationScopeTargetsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/administrationscopetargets/AdministrationScopeTargetsRequestBuilder.java @@ -59,7 +59,7 @@ public AdministrationScopeTargetsRequestBuilder(@jakarta.annotation.Nonnull fina super(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/deletedItems/workflows/{workflow%2Did}/administrationScopeTargets{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl); } /** - * Get administrationScopeTargets from identityGovernance + * The administrative units in the scope of the workflow. Optional. Supports $expand. * @return a {@link DirectoryObjectCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code */ @@ -68,7 +68,7 @@ public DirectoryObjectCollectionResponse get() { return get(null); } /** - * Get administrationScopeTargets from identityGovernance + * The administrative units in the scope of the workflow. Optional. Supports $expand. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link DirectoryObjectCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code @@ -81,7 +81,7 @@ public DirectoryObjectCollectionResponse get(@jakarta.annotation.Nullable final return this.requestAdapter.send(requestInfo, errorMapping, DirectoryObjectCollectionResponse::createFromDiscriminatorValue); } /** - * Get administrationScopeTargets from identityGovernance + * The administrative units in the scope of the workflow. Optional. Supports $expand. * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull @@ -89,7 +89,7 @@ public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } /** - * Get administrationScopeTargets from identityGovernance + * The administrative units in the scope of the workflow. Optional. Supports $expand. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} */ @@ -111,7 +111,7 @@ public AdministrationScopeTargetsRequestBuilder withUrl(@jakarta.annotation.Nonn return new AdministrationScopeTargetsRequestBuilder(rawUrl, requestAdapter); } /** - * Get administrationScopeTargets from identityGovernance + * The administrative units in the scope of the workflow. Optional. Supports $expand. */ @jakarta.annotation.Generated("com.microsoft.kiota") public class GetQueryParameters implements QueryParameters { diff --git a/src/main/java/com/microsoft/graph/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/administrationscopetargets/item/DirectoryObjectItemRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/administrationscopetargets/item/DirectoryObjectItemRequestBuilder.java index 5f62f06a426..b2c21e11637 100644 --- a/src/main/java/com/microsoft/graph/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/administrationscopetargets/item/DirectoryObjectItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/administrationscopetargets/item/DirectoryObjectItemRequestBuilder.java @@ -37,7 +37,7 @@ public DirectoryObjectItemRequestBuilder(@jakarta.annotation.Nonnull final Strin super(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/deletedItems/workflows/{workflow%2Did}/administrationScopeTargets/{directoryObject%2Did}{?%24expand,%24select}", rawUrl); } /** - * Get administrationScopeTargets from identityGovernance + * The administrative units in the scope of the workflow. Optional. Supports $expand. * @return a {@link DirectoryObject} * @throws ODataError When receiving a 4XX or 5XX status code */ @@ -46,7 +46,7 @@ public DirectoryObject get() { return get(null); } /** - * Get administrationScopeTargets from identityGovernance + * The administrative units in the scope of the workflow. Optional. Supports $expand. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link DirectoryObject} * @throws ODataError When receiving a 4XX or 5XX status code @@ -59,7 +59,7 @@ public DirectoryObject get(@jakarta.annotation.Nullable final java.util.function return this.requestAdapter.send(requestInfo, errorMapping, DirectoryObject::createFromDiscriminatorValue); } /** - * Get administrationScopeTargets from identityGovernance + * The administrative units in the scope of the workflow. Optional. Supports $expand. * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull @@ -67,7 +67,7 @@ public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } /** - * Get administrationScopeTargets from identityGovernance + * The administrative units in the scope of the workflow. Optional. Supports $expand. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} */ @@ -89,7 +89,7 @@ public DirectoryObjectItemRequestBuilder withUrl(@jakarta.annotation.Nonnull fin return new DirectoryObjectItemRequestBuilder(rawUrl, requestAdapter); } /** - * Get administrationScopeTargets from identityGovernance + * The administrative units in the scope of the workflow. Optional. Supports $expand. */ @jakarta.annotation.Generated("com.microsoft.kiota") public class GetQueryParameters implements QueryParameters { diff --git a/src/main/java/com/microsoft/graph/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/versions/item/administrationscopetargets/AdministrationScopeTargetsRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/versions/item/administrationscopetargets/AdministrationScopeTargetsRequestBuilder.java index 5752ed0f59e..2df9a3767ae 100644 --- a/src/main/java/com/microsoft/graph/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/versions/item/administrationscopetargets/AdministrationScopeTargetsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/versions/item/administrationscopetargets/AdministrationScopeTargetsRequestBuilder.java @@ -59,7 +59,7 @@ public AdministrationScopeTargetsRequestBuilder(@jakarta.annotation.Nonnull fina super(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/deletedItems/workflows/{workflow%2Did}/versions/{workflowVersion%2DversionNumber}/administrationScopeTargets{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl); } /** - * Get administrationScopeTargets from identityGovernance + * The administrative units in the scope of the workflow. Optional. Supports $expand. * @return a {@link DirectoryObjectCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code */ @@ -68,7 +68,7 @@ public DirectoryObjectCollectionResponse get() { return get(null); } /** - * Get administrationScopeTargets from identityGovernance + * The administrative units in the scope of the workflow. Optional. Supports $expand. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link DirectoryObjectCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code @@ -81,7 +81,7 @@ public DirectoryObjectCollectionResponse get(@jakarta.annotation.Nullable final return this.requestAdapter.send(requestInfo, errorMapping, DirectoryObjectCollectionResponse::createFromDiscriminatorValue); } /** - * Get administrationScopeTargets from identityGovernance + * The administrative units in the scope of the workflow. Optional. Supports $expand. * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull @@ -89,7 +89,7 @@ public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } /** - * Get administrationScopeTargets from identityGovernance + * The administrative units in the scope of the workflow. Optional. Supports $expand. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} */ @@ -111,7 +111,7 @@ public AdministrationScopeTargetsRequestBuilder withUrl(@jakarta.annotation.Nonn return new AdministrationScopeTargetsRequestBuilder(rawUrl, requestAdapter); } /** - * Get administrationScopeTargets from identityGovernance + * The administrative units in the scope of the workflow. Optional. Supports $expand. */ @jakarta.annotation.Generated("com.microsoft.kiota") public class GetQueryParameters implements QueryParameters { diff --git a/src/main/java/com/microsoft/graph/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/versions/item/administrationscopetargets/item/DirectoryObjectItemRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/versions/item/administrationscopetargets/item/DirectoryObjectItemRequestBuilder.java index bcc0c18809f..346e8d3de65 100644 --- a/src/main/java/com/microsoft/graph/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/versions/item/administrationscopetargets/item/DirectoryObjectItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/versions/item/administrationscopetargets/item/DirectoryObjectItemRequestBuilder.java @@ -37,7 +37,7 @@ public DirectoryObjectItemRequestBuilder(@jakarta.annotation.Nonnull final Strin super(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/deletedItems/workflows/{workflow%2Did}/versions/{workflowVersion%2DversionNumber}/administrationScopeTargets/{directoryObject%2Did}{?%24expand,%24select}", rawUrl); } /** - * Get administrationScopeTargets from identityGovernance + * The administrative units in the scope of the workflow. Optional. Supports $expand. * @return a {@link DirectoryObject} * @throws ODataError When receiving a 4XX or 5XX status code */ @@ -46,7 +46,7 @@ public DirectoryObject get() { return get(null); } /** - * Get administrationScopeTargets from identityGovernance + * The administrative units in the scope of the workflow. Optional. Supports $expand. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link DirectoryObject} * @throws ODataError When receiving a 4XX or 5XX status code @@ -59,7 +59,7 @@ public DirectoryObject get(@jakarta.annotation.Nullable final java.util.function return this.requestAdapter.send(requestInfo, errorMapping, DirectoryObject::createFromDiscriminatorValue); } /** - * Get administrationScopeTargets from identityGovernance + * The administrative units in the scope of the workflow. Optional. Supports $expand. * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull @@ -67,7 +67,7 @@ public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } /** - * Get administrationScopeTargets from identityGovernance + * The administrative units in the scope of the workflow. Optional. Supports $expand. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} */ @@ -89,7 +89,7 @@ public DirectoryObjectItemRequestBuilder withUrl(@jakarta.annotation.Nonnull fin return new DirectoryObjectItemRequestBuilder(rawUrl, requestAdapter); } /** - * Get administrationScopeTargets from identityGovernance + * The administrative units in the scope of the workflow. Optional. Supports $expand. */ @jakarta.annotation.Generated("com.microsoft.kiota") public class GetQueryParameters implements QueryParameters { diff --git a/src/main/java/com/microsoft/graph/generated/identitygovernance/lifecycleworkflows/workflows/item/administrationscopetargets/AdministrationScopeTargetsRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/identitygovernance/lifecycleworkflows/workflows/item/administrationscopetargets/AdministrationScopeTargetsRequestBuilder.java index 52c6e36fb21..2cd6e012c1f 100644 --- a/src/main/java/com/microsoft/graph/generated/identitygovernance/lifecycleworkflows/workflows/item/administrationscopetargets/AdministrationScopeTargetsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/generated/identitygovernance/lifecycleworkflows/workflows/item/administrationscopetargets/AdministrationScopeTargetsRequestBuilder.java @@ -59,7 +59,7 @@ public AdministrationScopeTargetsRequestBuilder(@jakarta.annotation.Nonnull fina super(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/workflows/{workflow%2Did}/administrationScopeTargets{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl); } /** - * Get administrationScopeTargets from identityGovernance + * The administrative units in the scope of the workflow. Optional. Supports $expand. * @return a {@link DirectoryObjectCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code */ @@ -68,7 +68,7 @@ public DirectoryObjectCollectionResponse get() { return get(null); } /** - * Get administrationScopeTargets from identityGovernance + * The administrative units in the scope of the workflow. Optional. Supports $expand. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link DirectoryObjectCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code @@ -81,7 +81,7 @@ public DirectoryObjectCollectionResponse get(@jakarta.annotation.Nullable final return this.requestAdapter.send(requestInfo, errorMapping, DirectoryObjectCollectionResponse::createFromDiscriminatorValue); } /** - * Get administrationScopeTargets from identityGovernance + * The administrative units in the scope of the workflow. Optional. Supports $expand. * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull @@ -89,7 +89,7 @@ public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } /** - * Get administrationScopeTargets from identityGovernance + * The administrative units in the scope of the workflow. Optional. Supports $expand. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} */ @@ -111,7 +111,7 @@ public AdministrationScopeTargetsRequestBuilder withUrl(@jakarta.annotation.Nonn return new AdministrationScopeTargetsRequestBuilder(rawUrl, requestAdapter); } /** - * Get administrationScopeTargets from identityGovernance + * The administrative units in the scope of the workflow. Optional. Supports $expand. */ @jakarta.annotation.Generated("com.microsoft.kiota") public class GetQueryParameters implements QueryParameters { diff --git a/src/main/java/com/microsoft/graph/generated/identitygovernance/lifecycleworkflows/workflows/item/administrationscopetargets/item/DirectoryObjectItemRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/identitygovernance/lifecycleworkflows/workflows/item/administrationscopetargets/item/DirectoryObjectItemRequestBuilder.java index 94df6b4f9e4..3e6d9b3f09c 100644 --- a/src/main/java/com/microsoft/graph/generated/identitygovernance/lifecycleworkflows/workflows/item/administrationscopetargets/item/DirectoryObjectItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/generated/identitygovernance/lifecycleworkflows/workflows/item/administrationscopetargets/item/DirectoryObjectItemRequestBuilder.java @@ -37,7 +37,7 @@ public DirectoryObjectItemRequestBuilder(@jakarta.annotation.Nonnull final Strin super(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/workflows/{workflow%2Did}/administrationScopeTargets/{directoryObject%2Did}{?%24expand,%24select}", rawUrl); } /** - * Get administrationScopeTargets from identityGovernance + * The administrative units in the scope of the workflow. Optional. Supports $expand. * @return a {@link DirectoryObject} * @throws ODataError When receiving a 4XX or 5XX status code */ @@ -46,7 +46,7 @@ public DirectoryObject get() { return get(null); } /** - * Get administrationScopeTargets from identityGovernance + * The administrative units in the scope of the workflow. Optional. Supports $expand. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link DirectoryObject} * @throws ODataError When receiving a 4XX or 5XX status code @@ -59,7 +59,7 @@ public DirectoryObject get(@jakarta.annotation.Nullable final java.util.function return this.requestAdapter.send(requestInfo, errorMapping, DirectoryObject::createFromDiscriminatorValue); } /** - * Get administrationScopeTargets from identityGovernance + * The administrative units in the scope of the workflow. Optional. Supports $expand. * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull @@ -67,7 +67,7 @@ public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } /** - * Get administrationScopeTargets from identityGovernance + * The administrative units in the scope of the workflow. Optional. Supports $expand. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} */ @@ -89,7 +89,7 @@ public DirectoryObjectItemRequestBuilder withUrl(@jakarta.annotation.Nonnull fin return new DirectoryObjectItemRequestBuilder(rawUrl, requestAdapter); } /** - * Get administrationScopeTargets from identityGovernance + * The administrative units in the scope of the workflow. Optional. Supports $expand. */ @jakarta.annotation.Generated("com.microsoft.kiota") public class GetQueryParameters implements QueryParameters { diff --git a/src/main/java/com/microsoft/graph/generated/identitygovernance/lifecycleworkflows/workflows/item/versions/item/administrationscopetargets/AdministrationScopeTargetsRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/identitygovernance/lifecycleworkflows/workflows/item/versions/item/administrationscopetargets/AdministrationScopeTargetsRequestBuilder.java index 896fdc0a5de..b5994579640 100644 --- a/src/main/java/com/microsoft/graph/generated/identitygovernance/lifecycleworkflows/workflows/item/versions/item/administrationscopetargets/AdministrationScopeTargetsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/generated/identitygovernance/lifecycleworkflows/workflows/item/versions/item/administrationscopetargets/AdministrationScopeTargetsRequestBuilder.java @@ -59,7 +59,7 @@ public AdministrationScopeTargetsRequestBuilder(@jakarta.annotation.Nonnull fina super(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/workflows/{workflow%2Did}/versions/{workflowVersion%2DversionNumber}/administrationScopeTargets{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl); } /** - * Get administrationScopeTargets from identityGovernance + * The administrative units in the scope of the workflow. Optional. Supports $expand. * @return a {@link DirectoryObjectCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code */ @@ -68,7 +68,7 @@ public DirectoryObjectCollectionResponse get() { return get(null); } /** - * Get administrationScopeTargets from identityGovernance + * The administrative units in the scope of the workflow. Optional. Supports $expand. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link DirectoryObjectCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code @@ -81,7 +81,7 @@ public DirectoryObjectCollectionResponse get(@jakarta.annotation.Nullable final return this.requestAdapter.send(requestInfo, errorMapping, DirectoryObjectCollectionResponse::createFromDiscriminatorValue); } /** - * Get administrationScopeTargets from identityGovernance + * The administrative units in the scope of the workflow. Optional. Supports $expand. * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull @@ -89,7 +89,7 @@ public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } /** - * Get administrationScopeTargets from identityGovernance + * The administrative units in the scope of the workflow. Optional. Supports $expand. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} */ @@ -111,7 +111,7 @@ public AdministrationScopeTargetsRequestBuilder withUrl(@jakarta.annotation.Nonn return new AdministrationScopeTargetsRequestBuilder(rawUrl, requestAdapter); } /** - * Get administrationScopeTargets from identityGovernance + * The administrative units in the scope of the workflow. Optional. Supports $expand. */ @jakarta.annotation.Generated("com.microsoft.kiota") public class GetQueryParameters implements QueryParameters { diff --git a/src/main/java/com/microsoft/graph/generated/identitygovernance/lifecycleworkflows/workflows/item/versions/item/administrationscopetargets/item/DirectoryObjectItemRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/identitygovernance/lifecycleworkflows/workflows/item/versions/item/administrationscopetargets/item/DirectoryObjectItemRequestBuilder.java index e551e0b1a3b..fd28784ac8a 100644 --- a/src/main/java/com/microsoft/graph/generated/identitygovernance/lifecycleworkflows/workflows/item/versions/item/administrationscopetargets/item/DirectoryObjectItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/generated/identitygovernance/lifecycleworkflows/workflows/item/versions/item/administrationscopetargets/item/DirectoryObjectItemRequestBuilder.java @@ -37,7 +37,7 @@ public DirectoryObjectItemRequestBuilder(@jakarta.annotation.Nonnull final Strin super(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/workflows/{workflow%2Did}/versions/{workflowVersion%2DversionNumber}/administrationScopeTargets/{directoryObject%2Did}{?%24expand,%24select}", rawUrl); } /** - * Get administrationScopeTargets from identityGovernance + * The administrative units in the scope of the workflow. Optional. Supports $expand. * @return a {@link DirectoryObject} * @throws ODataError When receiving a 4XX or 5XX status code */ @@ -46,7 +46,7 @@ public DirectoryObject get() { return get(null); } /** - * Get administrationScopeTargets from identityGovernance + * The administrative units in the scope of the workflow. Optional. Supports $expand. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link DirectoryObject} * @throws ODataError When receiving a 4XX or 5XX status code @@ -59,7 +59,7 @@ public DirectoryObject get(@jakarta.annotation.Nullable final java.util.function return this.requestAdapter.send(requestInfo, errorMapping, DirectoryObject::createFromDiscriminatorValue); } /** - * Get administrationScopeTargets from identityGovernance + * The administrative units in the scope of the workflow. Optional. Supports $expand. * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull @@ -67,7 +67,7 @@ public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } /** - * Get administrationScopeTargets from identityGovernance + * The administrative units in the scope of the workflow. Optional. Supports $expand. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} */ @@ -89,7 +89,7 @@ public DirectoryObjectItemRequestBuilder withUrl(@jakarta.annotation.Nonnull fin return new DirectoryObjectItemRequestBuilder(rawUrl, requestAdapter); } /** - * Get administrationScopeTargets from identityGovernance + * The administrative units in the scope of the workflow. Optional. Supports $expand. */ @jakarta.annotation.Generated("com.microsoft.kiota") public class GetQueryParameters implements QueryParameters { diff --git a/src/main/java/com/microsoft/graph/generated/kiota-dom-export.txt b/src/main/java/com/microsoft/graph/generated/kiota-dom-export.txt index 521fa9149de..c1b803ef85d 100644 --- a/src/main/java/com/microsoft/graph/generated/kiota-dom-export.txt +++ b/src/main/java/com/microsoft/graph/generated/kiota-dom-export.txt @@ -527,6 +527,8 @@ com.microsoft.graph.admin.people.PeopleRequestBuilder::|public|get():PeopleAdmin com.microsoft.graph.admin.people.PeopleRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):PeopleAdminSettings com.microsoft.graph.admin.people.PeopleRequestBuilder::|public|itemInsights:ItemInsightsRequestBuilder com.microsoft.graph.admin.people.PeopleRequestBuilder::|public|profileCardProperties:ProfileCardPropertiesRequestBuilder +com.microsoft.graph.admin.people.PeopleRequestBuilder::|public|profileSources:ProfileSourcesRequestBuilder +com.microsoft.graph.admin.people.PeopleRequestBuilder::|public|profileSourcesWithSourceId(sourceId:String):ProfileSourcesWithSourceIdRequestBuilder com.microsoft.graph.admin.people.PeopleRequestBuilder::|public|pronouns:PronounsRequestBuilder com.microsoft.graph.admin.people.PeopleRequestBuilder::|public|toGetRequestInformation():RequestInformation com.microsoft.graph.admin.people.PeopleRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation @@ -596,6 +598,95 @@ com.microsoft.graph.admin.people.profilecardproperties.ProfileCardPropertiesRequ com.microsoft.graph.admin.people.profilecardproperties.ProfileCardPropertiesRequestBuilder::|public|toPostRequestInformation(body:ProfileCardProperty):RequestInformation com.microsoft.graph.admin.people.profilecardproperties.ProfileCardPropertiesRequestBuilder::|public|toPostRequestInformation(body:ProfileCardProperty; requestConfiguration?:java.util.function.Consumer):RequestInformation com.microsoft.graph.admin.people.profilecardproperties.ProfileCardPropertiesRequestBuilder::|public|withUrl(rawUrl:String):ProfileCardPropertiesRequestBuilder +com.microsoft.graph.admin.people.profilesources.count.CountRequestBuilder-->BaseRequestBuilder +com.microsoft.graph.admin.people.profilesources.count.CountRequestBuilder.GetQueryParameters::|public|filter:String +com.microsoft.graph.admin.people.profilesources.count.CountRequestBuilder.GetQueryParameters::|public|search:String +com.microsoft.graph.admin.people.profilesources.count.CountRequestBuilder.GetQueryParameters::|public|toQueryParameters():Map +com.microsoft.graph.admin.people.profilesources.count.CountRequestBuilder.GetQueryParameters~~>QueryParameters +com.microsoft.graph.admin.people.profilesources.count.CountRequestBuilder.GetRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.admin.people.profilesources.count.CountRequestBuilder.GetRequestConfiguration::|public|queryParameters:GetQueryParameters +com.microsoft.graph.admin.people.profilesources.count.CountRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void +com.microsoft.graph.admin.people.profilesources.count.CountRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.admin.people.profilesources.count.CountRequestBuilder::|public|get():Integer +com.microsoft.graph.admin.people.profilesources.count.CountRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):Integer +com.microsoft.graph.admin.people.profilesources.count.CountRequestBuilder::|public|toGetRequestInformation():RequestInformation +com.microsoft.graph.admin.people.profilesources.count.CountRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.admin.people.profilesources.count.CountRequestBuilder::|public|withUrl(rawUrl:String):CountRequestBuilder +com.microsoft.graph.admin.people.profilesources.item.ProfileSourceItemRequestBuilder-->BaseRequestBuilder +com.microsoft.graph.admin.people.profilesources.item.ProfileSourceItemRequestBuilder.DeleteRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.admin.people.profilesources.item.ProfileSourceItemRequestBuilder.GetQueryParameters::|public|expand:String[] +com.microsoft.graph.admin.people.profilesources.item.ProfileSourceItemRequestBuilder.GetQueryParameters::|public|select:String[] +com.microsoft.graph.admin.people.profilesources.item.ProfileSourceItemRequestBuilder.GetQueryParameters::|public|toQueryParameters():Map +com.microsoft.graph.admin.people.profilesources.item.ProfileSourceItemRequestBuilder.GetQueryParameters~~>QueryParameters +com.microsoft.graph.admin.people.profilesources.item.ProfileSourceItemRequestBuilder.GetRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.admin.people.profilesources.item.ProfileSourceItemRequestBuilder.GetRequestConfiguration::|public|queryParameters:GetQueryParameters +com.microsoft.graph.admin.people.profilesources.item.ProfileSourceItemRequestBuilder.PatchRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.admin.people.profilesources.item.ProfileSourceItemRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void +com.microsoft.graph.admin.people.profilesources.item.ProfileSourceItemRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.admin.people.profilesources.item.ProfileSourceItemRequestBuilder::|public|delete():Void +com.microsoft.graph.admin.people.profilesources.item.ProfileSourceItemRequestBuilder::|public|delete(requestConfiguration?:java.util.function.Consumer):Void +com.microsoft.graph.admin.people.profilesources.item.ProfileSourceItemRequestBuilder::|public|get():ProfileSource +com.microsoft.graph.admin.people.profilesources.item.ProfileSourceItemRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):ProfileSource +com.microsoft.graph.admin.people.profilesources.item.ProfileSourceItemRequestBuilder::|public|patch(body:ProfileSource):ProfileSource +com.microsoft.graph.admin.people.profilesources.item.ProfileSourceItemRequestBuilder::|public|patch(body:ProfileSource; requestConfiguration?:java.util.function.Consumer):ProfileSource +com.microsoft.graph.admin.people.profilesources.item.ProfileSourceItemRequestBuilder::|public|toDeleteRequestInformation():RequestInformation +com.microsoft.graph.admin.people.profilesources.item.ProfileSourceItemRequestBuilder::|public|toDeleteRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.admin.people.profilesources.item.ProfileSourceItemRequestBuilder::|public|toGetRequestInformation():RequestInformation +com.microsoft.graph.admin.people.profilesources.item.ProfileSourceItemRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.admin.people.profilesources.item.ProfileSourceItemRequestBuilder::|public|toPatchRequestInformation(body:ProfileSource):RequestInformation +com.microsoft.graph.admin.people.profilesources.item.ProfileSourceItemRequestBuilder::|public|toPatchRequestInformation(body:ProfileSource; requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.admin.people.profilesources.item.ProfileSourceItemRequestBuilder::|public|withUrl(rawUrl:String):ProfileSourceItemRequestBuilder +com.microsoft.graph.admin.people.profilesources.ProfileSourcesRequestBuilder-->BaseRequestBuilder +com.microsoft.graph.admin.people.profilesources.ProfileSourcesRequestBuilder.GetQueryParameters::|public|count:Boolean +com.microsoft.graph.admin.people.profilesources.ProfileSourcesRequestBuilder.GetQueryParameters::|public|expand:String[] +com.microsoft.graph.admin.people.profilesources.ProfileSourcesRequestBuilder.GetQueryParameters::|public|filter:String +com.microsoft.graph.admin.people.profilesources.ProfileSourcesRequestBuilder.GetQueryParameters::|public|orderby:String[] +com.microsoft.graph.admin.people.profilesources.ProfileSourcesRequestBuilder.GetQueryParameters::|public|search:String +com.microsoft.graph.admin.people.profilesources.ProfileSourcesRequestBuilder.GetQueryParameters::|public|select:String[] +com.microsoft.graph.admin.people.profilesources.ProfileSourcesRequestBuilder.GetQueryParameters::|public|skip:Integer +com.microsoft.graph.admin.people.profilesources.ProfileSourcesRequestBuilder.GetQueryParameters::|public|top:Integer +com.microsoft.graph.admin.people.profilesources.ProfileSourcesRequestBuilder.GetQueryParameters::|public|toQueryParameters():Map +com.microsoft.graph.admin.people.profilesources.ProfileSourcesRequestBuilder.GetQueryParameters~~>QueryParameters +com.microsoft.graph.admin.people.profilesources.ProfileSourcesRequestBuilder.GetRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.admin.people.profilesources.ProfileSourcesRequestBuilder.GetRequestConfiguration::|public|queryParameters:GetQueryParameters +com.microsoft.graph.admin.people.profilesources.ProfileSourcesRequestBuilder.PostRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.admin.people.profilesources.ProfileSourcesRequestBuilder::|public|byProfileSourceId(profileSourceId:String):ProfileSourceItemRequestBuilder +com.microsoft.graph.admin.people.profilesources.ProfileSourcesRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void +com.microsoft.graph.admin.people.profilesources.ProfileSourcesRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.admin.people.profilesources.ProfileSourcesRequestBuilder::|public|count:CountRequestBuilder +com.microsoft.graph.admin.people.profilesources.ProfileSourcesRequestBuilder::|public|get():ProfileSourceCollectionResponse +com.microsoft.graph.admin.people.profilesources.ProfileSourcesRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):ProfileSourceCollectionResponse +com.microsoft.graph.admin.people.profilesources.ProfileSourcesRequestBuilder::|public|post(body:ProfileSource):ProfileSource +com.microsoft.graph.admin.people.profilesources.ProfileSourcesRequestBuilder::|public|post(body:ProfileSource; requestConfiguration?:java.util.function.Consumer):ProfileSource +com.microsoft.graph.admin.people.profilesources.ProfileSourcesRequestBuilder::|public|toGetRequestInformation():RequestInformation +com.microsoft.graph.admin.people.profilesources.ProfileSourcesRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.admin.people.profilesources.ProfileSourcesRequestBuilder::|public|toPostRequestInformation(body:ProfileSource):RequestInformation +com.microsoft.graph.admin.people.profilesources.ProfileSourcesRequestBuilder::|public|toPostRequestInformation(body:ProfileSource; requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.admin.people.profilesources.ProfileSourcesRequestBuilder::|public|withUrl(rawUrl:String):ProfileSourcesRequestBuilder +com.microsoft.graph.admin.people.profilesourceswithsourceid.ProfileSourcesWithSourceIdRequestBuilder-->BaseRequestBuilder +com.microsoft.graph.admin.people.profilesourceswithsourceid.ProfileSourcesWithSourceIdRequestBuilder.DeleteRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.admin.people.profilesourceswithsourceid.ProfileSourcesWithSourceIdRequestBuilder.GetQueryParameters::|public|expand:String[] +com.microsoft.graph.admin.people.profilesourceswithsourceid.ProfileSourcesWithSourceIdRequestBuilder.GetQueryParameters::|public|select:String[] +com.microsoft.graph.admin.people.profilesourceswithsourceid.ProfileSourcesWithSourceIdRequestBuilder.GetQueryParameters::|public|toQueryParameters():Map +com.microsoft.graph.admin.people.profilesourceswithsourceid.ProfileSourcesWithSourceIdRequestBuilder.GetQueryParameters~~>QueryParameters +com.microsoft.graph.admin.people.profilesourceswithsourceid.ProfileSourcesWithSourceIdRequestBuilder.GetRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.admin.people.profilesourceswithsourceid.ProfileSourcesWithSourceIdRequestBuilder.GetRequestConfiguration::|public|queryParameters:GetQueryParameters +com.microsoft.graph.admin.people.profilesourceswithsourceid.ProfileSourcesWithSourceIdRequestBuilder.PatchRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.admin.people.profilesourceswithsourceid.ProfileSourcesWithSourceIdRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter; sourceId?:String):Void +com.microsoft.graph.admin.people.profilesourceswithsourceid.ProfileSourcesWithSourceIdRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.admin.people.profilesourceswithsourceid.ProfileSourcesWithSourceIdRequestBuilder::|public|delete():Void +com.microsoft.graph.admin.people.profilesourceswithsourceid.ProfileSourcesWithSourceIdRequestBuilder::|public|delete(requestConfiguration?:java.util.function.Consumer):Void +com.microsoft.graph.admin.people.profilesourceswithsourceid.ProfileSourcesWithSourceIdRequestBuilder::|public|get():ProfileSource +com.microsoft.graph.admin.people.profilesourceswithsourceid.ProfileSourcesWithSourceIdRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):ProfileSource +com.microsoft.graph.admin.people.profilesourceswithsourceid.ProfileSourcesWithSourceIdRequestBuilder::|public|patch(body:ProfileSource):ProfileSource +com.microsoft.graph.admin.people.profilesourceswithsourceid.ProfileSourcesWithSourceIdRequestBuilder::|public|patch(body:ProfileSource; requestConfiguration?:java.util.function.Consumer):ProfileSource +com.microsoft.graph.admin.people.profilesourceswithsourceid.ProfileSourcesWithSourceIdRequestBuilder::|public|toDeleteRequestInformation():RequestInformation +com.microsoft.graph.admin.people.profilesourceswithsourceid.ProfileSourcesWithSourceIdRequestBuilder::|public|toDeleteRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.admin.people.profilesourceswithsourceid.ProfileSourcesWithSourceIdRequestBuilder::|public|toGetRequestInformation():RequestInformation +com.microsoft.graph.admin.people.profilesourceswithsourceid.ProfileSourcesWithSourceIdRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.admin.people.profilesourceswithsourceid.ProfileSourcesWithSourceIdRequestBuilder::|public|toPatchRequestInformation(body:ProfileSource):RequestInformation +com.microsoft.graph.admin.people.profilesourceswithsourceid.ProfileSourcesWithSourceIdRequestBuilder::|public|toPatchRequestInformation(body:ProfileSource; requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.admin.people.profilesourceswithsourceid.ProfileSourcesWithSourceIdRequestBuilder::|public|withUrl(rawUrl:String):ProfileSourcesWithSourceIdRequestBuilder com.microsoft.graph.admin.people.pronouns.PronounsRequestBuilder-->BaseRequestBuilder com.microsoft.graph.admin.people.pronouns.PronounsRequestBuilder.GetQueryParameters::|public|expand:String[] com.microsoft.graph.admin.people.pronouns.PronounsRequestBuilder.GetQueryParameters::|public|select:String[] @@ -1486,6 +1577,7 @@ com.microsoft.graph.admin.teams.TeamsRequestBuilder::|public|get(requestConfigur com.microsoft.graph.admin.teams.TeamsRequestBuilder::|public|patch(body:TeamsAdminRoot):TeamsAdminRoot com.microsoft.graph.admin.teams.TeamsRequestBuilder::|public|patch(body:TeamsAdminRoot; requestConfiguration?:java.util.function.Consumer):TeamsAdminRoot com.microsoft.graph.admin.teams.TeamsRequestBuilder::|public|policy:PolicyRequestBuilder +com.microsoft.graph.admin.teams.TeamsRequestBuilder::|public|telephoneNumberManagement:TelephoneNumberManagementRequestBuilder com.microsoft.graph.admin.teams.TeamsRequestBuilder::|public|toDeleteRequestInformation():RequestInformation com.microsoft.graph.admin.teams.TeamsRequestBuilder::|public|toDeleteRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation com.microsoft.graph.admin.teams.TeamsRequestBuilder::|public|toGetRequestInformation():RequestInformation @@ -1494,6 +1586,244 @@ com.microsoft.graph.admin.teams.TeamsRequestBuilder::|public|toPatchRequestInfor com.microsoft.graph.admin.teams.TeamsRequestBuilder::|public|toPatchRequestInformation(body:TeamsAdminRoot; requestConfiguration?:java.util.function.Consumer):RequestInformation com.microsoft.graph.admin.teams.TeamsRequestBuilder::|public|userConfigurations:UserConfigurationsRequestBuilder com.microsoft.graph.admin.teams.TeamsRequestBuilder::|public|withUrl(rawUrl:String):TeamsRequestBuilder +com.microsoft.graph.admin.teams.telephonenumbermanagement.numberassignments.count.CountRequestBuilder-->BaseRequestBuilder +com.microsoft.graph.admin.teams.telephonenumbermanagement.numberassignments.count.CountRequestBuilder.GetQueryParameters::|public|filter:String +com.microsoft.graph.admin.teams.telephonenumbermanagement.numberassignments.count.CountRequestBuilder.GetQueryParameters::|public|search:String +com.microsoft.graph.admin.teams.telephonenumbermanagement.numberassignments.count.CountRequestBuilder.GetQueryParameters::|public|toQueryParameters():Map +com.microsoft.graph.admin.teams.telephonenumbermanagement.numberassignments.count.CountRequestBuilder.GetQueryParameters~~>QueryParameters +com.microsoft.graph.admin.teams.telephonenumbermanagement.numberassignments.count.CountRequestBuilder.GetRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.admin.teams.telephonenumbermanagement.numberassignments.count.CountRequestBuilder.GetRequestConfiguration::|public|queryParameters:GetQueryParameters +com.microsoft.graph.admin.teams.telephonenumbermanagement.numberassignments.count.CountRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void +com.microsoft.graph.admin.teams.telephonenumbermanagement.numberassignments.count.CountRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.admin.teams.telephonenumbermanagement.numberassignments.count.CountRequestBuilder::|public|get():Integer +com.microsoft.graph.admin.teams.telephonenumbermanagement.numberassignments.count.CountRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):Integer +com.microsoft.graph.admin.teams.telephonenumbermanagement.numberassignments.count.CountRequestBuilder::|public|toGetRequestInformation():RequestInformation +com.microsoft.graph.admin.teams.telephonenumbermanagement.numberassignments.count.CountRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.admin.teams.telephonenumbermanagement.numberassignments.count.CountRequestBuilder::|public|withUrl(rawUrl:String):CountRequestBuilder +com.microsoft.graph.admin.teams.telephonenumbermanagement.numberassignments.item.NumberAssignmentItemRequestBuilder-->BaseRequestBuilder +com.microsoft.graph.admin.teams.telephonenumbermanagement.numberassignments.item.NumberAssignmentItemRequestBuilder.DeleteRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.admin.teams.telephonenumbermanagement.numberassignments.item.NumberAssignmentItemRequestBuilder.GetQueryParameters::|public|expand:String[] +com.microsoft.graph.admin.teams.telephonenumbermanagement.numberassignments.item.NumberAssignmentItemRequestBuilder.GetQueryParameters::|public|select:String[] +com.microsoft.graph.admin.teams.telephonenumbermanagement.numberassignments.item.NumberAssignmentItemRequestBuilder.GetQueryParameters::|public|toQueryParameters():Map +com.microsoft.graph.admin.teams.telephonenumbermanagement.numberassignments.item.NumberAssignmentItemRequestBuilder.GetQueryParameters~~>QueryParameters +com.microsoft.graph.admin.teams.telephonenumbermanagement.numberassignments.item.NumberAssignmentItemRequestBuilder.GetRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.admin.teams.telephonenumbermanagement.numberassignments.item.NumberAssignmentItemRequestBuilder.GetRequestConfiguration::|public|queryParameters:GetQueryParameters +com.microsoft.graph.admin.teams.telephonenumbermanagement.numberassignments.item.NumberAssignmentItemRequestBuilder.PatchRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.admin.teams.telephonenumbermanagement.numberassignments.item.NumberAssignmentItemRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void +com.microsoft.graph.admin.teams.telephonenumbermanagement.numberassignments.item.NumberAssignmentItemRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.admin.teams.telephonenumbermanagement.numberassignments.item.NumberAssignmentItemRequestBuilder::|public|delete():Void +com.microsoft.graph.admin.teams.telephonenumbermanagement.numberassignments.item.NumberAssignmentItemRequestBuilder::|public|delete(requestConfiguration?:java.util.function.Consumer):Void +com.microsoft.graph.admin.teams.telephonenumbermanagement.numberassignments.item.NumberAssignmentItemRequestBuilder::|public|get():NumberAssignment +com.microsoft.graph.admin.teams.telephonenumbermanagement.numberassignments.item.NumberAssignmentItemRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):NumberAssignment +com.microsoft.graph.admin.teams.telephonenumbermanagement.numberassignments.item.NumberAssignmentItemRequestBuilder::|public|patch(body:NumberAssignment):NumberAssignment +com.microsoft.graph.admin.teams.telephonenumbermanagement.numberassignments.item.NumberAssignmentItemRequestBuilder::|public|patch(body:NumberAssignment; requestConfiguration?:java.util.function.Consumer):NumberAssignment +com.microsoft.graph.admin.teams.telephonenumbermanagement.numberassignments.item.NumberAssignmentItemRequestBuilder::|public|toDeleteRequestInformation():RequestInformation +com.microsoft.graph.admin.teams.telephonenumbermanagement.numberassignments.item.NumberAssignmentItemRequestBuilder::|public|toDeleteRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.admin.teams.telephonenumbermanagement.numberassignments.item.NumberAssignmentItemRequestBuilder::|public|toGetRequestInformation():RequestInformation +com.microsoft.graph.admin.teams.telephonenumbermanagement.numberassignments.item.NumberAssignmentItemRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.admin.teams.telephonenumbermanagement.numberassignments.item.NumberAssignmentItemRequestBuilder::|public|toPatchRequestInformation(body:NumberAssignment):RequestInformation +com.microsoft.graph.admin.teams.telephonenumbermanagement.numberassignments.item.NumberAssignmentItemRequestBuilder::|public|toPatchRequestInformation(body:NumberAssignment; requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.admin.teams.telephonenumbermanagement.numberassignments.item.NumberAssignmentItemRequestBuilder::|public|withUrl(rawUrl:String):NumberAssignmentItemRequestBuilder +com.microsoft.graph.admin.teams.telephonenumbermanagement.numberassignments.microsoftgraphteamsadministrationassignnumber.AssignNumberPostRequestBody::|protected|backingStore:BackingStore +com.microsoft.graph.admin.teams.telephonenumbermanagement.numberassignments.microsoftgraphteamsadministrationassignnumber.AssignNumberPostRequestBody::|public|constructor():void +com.microsoft.graph.admin.teams.telephonenumbermanagement.numberassignments.microsoftgraphteamsadministrationassignnumber.AssignNumberPostRequestBody::|public|getAdditionalData():Map +com.microsoft.graph.admin.teams.telephonenumbermanagement.numberassignments.microsoftgraphteamsadministrationassignnumber.AssignNumberPostRequestBody::|public|getAssignmentCategory():AssignmentCategory +com.microsoft.graph.admin.teams.telephonenumbermanagement.numberassignments.microsoftgraphteamsadministrationassignnumber.AssignNumberPostRequestBody::|public|getAssignmentTargetId():String +com.microsoft.graph.admin.teams.telephonenumbermanagement.numberassignments.microsoftgraphteamsadministrationassignnumber.AssignNumberPostRequestBody::|public|getBackingStore():BackingStore +com.microsoft.graph.admin.teams.telephonenumbermanagement.numberassignments.microsoftgraphteamsadministrationassignnumber.AssignNumberPostRequestBody::|public|getFieldDeserializers():Map> +com.microsoft.graph.admin.teams.telephonenumbermanagement.numberassignments.microsoftgraphteamsadministrationassignnumber.AssignNumberPostRequestBody::|public|getLocationId():String +com.microsoft.graph.admin.teams.telephonenumbermanagement.numberassignments.microsoftgraphteamsadministrationassignnumber.AssignNumberPostRequestBody::|public|getNumberType():NumberType +com.microsoft.graph.admin.teams.telephonenumbermanagement.numberassignments.microsoftgraphteamsadministrationassignnumber.AssignNumberPostRequestBody::|public|getTelephoneNumber():String +com.microsoft.graph.admin.teams.telephonenumbermanagement.numberassignments.microsoftgraphteamsadministrationassignnumber.AssignNumberPostRequestBody::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.admin.teams.telephonenumbermanagement.numberassignments.microsoftgraphteamsadministrationassignnumber.AssignNumberPostRequestBody::|public|setAdditionalData(value?:Map):void +com.microsoft.graph.admin.teams.telephonenumbermanagement.numberassignments.microsoftgraphteamsadministrationassignnumber.AssignNumberPostRequestBody::|public|setAssignmentCategory(value?:AssignmentCategory):void +com.microsoft.graph.admin.teams.telephonenumbermanagement.numberassignments.microsoftgraphteamsadministrationassignnumber.AssignNumberPostRequestBody::|public|setAssignmentTargetId(value?:String):void +com.microsoft.graph.admin.teams.telephonenumbermanagement.numberassignments.microsoftgraphteamsadministrationassignnumber.AssignNumberPostRequestBody::|public|setBackingStore(value:BackingStore):void +com.microsoft.graph.admin.teams.telephonenumbermanagement.numberassignments.microsoftgraphteamsadministrationassignnumber.AssignNumberPostRequestBody::|public|setLocationId(value?:String):void +com.microsoft.graph.admin.teams.telephonenumbermanagement.numberassignments.microsoftgraphteamsadministrationassignnumber.AssignNumberPostRequestBody::|public|setNumberType(value?:NumberType):void +com.microsoft.graph.admin.teams.telephonenumbermanagement.numberassignments.microsoftgraphteamsadministrationassignnumber.AssignNumberPostRequestBody::|public|setTelephoneNumber(value?:String):void +com.microsoft.graph.admin.teams.telephonenumbermanagement.numberassignments.microsoftgraphteamsadministrationassignnumber.AssignNumberPostRequestBody::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):AssignNumberPostRequestBody +com.microsoft.graph.admin.teams.telephonenumbermanagement.numberassignments.microsoftgraphteamsadministrationassignnumber.AssignNumberPostRequestBody~~>AdditionalDataHolder; BackedModel; Parsable +com.microsoft.graph.admin.teams.telephonenumbermanagement.numberassignments.microsoftgraphteamsadministrationassignnumber.MicrosoftGraphTeamsAdministrationAssignNumberRequestBuilder-->BaseRequestBuilder +com.microsoft.graph.admin.teams.telephonenumbermanagement.numberassignments.microsoftgraphteamsadministrationassignnumber.MicrosoftGraphTeamsAdministrationAssignNumberRequestBuilder.PostRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.admin.teams.telephonenumbermanagement.numberassignments.microsoftgraphteamsadministrationassignnumber.MicrosoftGraphTeamsAdministrationAssignNumberRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void +com.microsoft.graph.admin.teams.telephonenumbermanagement.numberassignments.microsoftgraphteamsadministrationassignnumber.MicrosoftGraphTeamsAdministrationAssignNumberRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.admin.teams.telephonenumbermanagement.numberassignments.microsoftgraphteamsadministrationassignnumber.MicrosoftGraphTeamsAdministrationAssignNumberRequestBuilder::|public|post(body:AssignNumberPostRequestBody):Void +com.microsoft.graph.admin.teams.telephonenumbermanagement.numberassignments.microsoftgraphteamsadministrationassignnumber.MicrosoftGraphTeamsAdministrationAssignNumberRequestBuilder::|public|post(body:AssignNumberPostRequestBody; requestConfiguration?:java.util.function.Consumer):Void +com.microsoft.graph.admin.teams.telephonenumbermanagement.numberassignments.microsoftgraphteamsadministrationassignnumber.MicrosoftGraphTeamsAdministrationAssignNumberRequestBuilder::|public|toPostRequestInformation(body:AssignNumberPostRequestBody):RequestInformation +com.microsoft.graph.admin.teams.telephonenumbermanagement.numberassignments.microsoftgraphteamsadministrationassignnumber.MicrosoftGraphTeamsAdministrationAssignNumberRequestBuilder::|public|toPostRequestInformation(body:AssignNumberPostRequestBody; requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.admin.teams.telephonenumbermanagement.numberassignments.microsoftgraphteamsadministrationassignnumber.MicrosoftGraphTeamsAdministrationAssignNumberRequestBuilder::|public|withUrl(rawUrl:String):MicrosoftGraphTeamsAdministrationAssignNumberRequestBuilder +com.microsoft.graph.admin.teams.telephonenumbermanagement.numberassignments.microsoftgraphteamsadministrationunassignnumber.MicrosoftGraphTeamsAdministrationUnassignNumberRequestBuilder-->BaseRequestBuilder +com.microsoft.graph.admin.teams.telephonenumbermanagement.numberassignments.microsoftgraphteamsadministrationunassignnumber.MicrosoftGraphTeamsAdministrationUnassignNumberRequestBuilder.PostRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.admin.teams.telephonenumbermanagement.numberassignments.microsoftgraphteamsadministrationunassignnumber.MicrosoftGraphTeamsAdministrationUnassignNumberRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void +com.microsoft.graph.admin.teams.telephonenumbermanagement.numberassignments.microsoftgraphteamsadministrationunassignnumber.MicrosoftGraphTeamsAdministrationUnassignNumberRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.admin.teams.telephonenumbermanagement.numberassignments.microsoftgraphteamsadministrationunassignnumber.MicrosoftGraphTeamsAdministrationUnassignNumberRequestBuilder::|public|post(body:UnassignNumberPostRequestBody):Void +com.microsoft.graph.admin.teams.telephonenumbermanagement.numberassignments.microsoftgraphteamsadministrationunassignnumber.MicrosoftGraphTeamsAdministrationUnassignNumberRequestBuilder::|public|post(body:UnassignNumberPostRequestBody; requestConfiguration?:java.util.function.Consumer):Void +com.microsoft.graph.admin.teams.telephonenumbermanagement.numberassignments.microsoftgraphteamsadministrationunassignnumber.MicrosoftGraphTeamsAdministrationUnassignNumberRequestBuilder::|public|toPostRequestInformation(body:UnassignNumberPostRequestBody):RequestInformation +com.microsoft.graph.admin.teams.telephonenumbermanagement.numberassignments.microsoftgraphteamsadministrationunassignnumber.MicrosoftGraphTeamsAdministrationUnassignNumberRequestBuilder::|public|toPostRequestInformation(body:UnassignNumberPostRequestBody; requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.admin.teams.telephonenumbermanagement.numberassignments.microsoftgraphteamsadministrationunassignnumber.MicrosoftGraphTeamsAdministrationUnassignNumberRequestBuilder::|public|withUrl(rawUrl:String):MicrosoftGraphTeamsAdministrationUnassignNumberRequestBuilder +com.microsoft.graph.admin.teams.telephonenumbermanagement.numberassignments.microsoftgraphteamsadministrationunassignnumber.UnassignNumberPostRequestBody::|protected|backingStore:BackingStore +com.microsoft.graph.admin.teams.telephonenumbermanagement.numberassignments.microsoftgraphteamsadministrationunassignnumber.UnassignNumberPostRequestBody::|public|constructor():void +com.microsoft.graph.admin.teams.telephonenumbermanagement.numberassignments.microsoftgraphteamsadministrationunassignnumber.UnassignNumberPostRequestBody::|public|getAdditionalData():Map +com.microsoft.graph.admin.teams.telephonenumbermanagement.numberassignments.microsoftgraphteamsadministrationunassignnumber.UnassignNumberPostRequestBody::|public|getBackingStore():BackingStore +com.microsoft.graph.admin.teams.telephonenumbermanagement.numberassignments.microsoftgraphteamsadministrationunassignnumber.UnassignNumberPostRequestBody::|public|getFieldDeserializers():Map> +com.microsoft.graph.admin.teams.telephonenumbermanagement.numberassignments.microsoftgraphteamsadministrationunassignnumber.UnassignNumberPostRequestBody::|public|getNumberType():NumberType +com.microsoft.graph.admin.teams.telephonenumbermanagement.numberassignments.microsoftgraphteamsadministrationunassignnumber.UnassignNumberPostRequestBody::|public|getTelephoneNumber():String +com.microsoft.graph.admin.teams.telephonenumbermanagement.numberassignments.microsoftgraphteamsadministrationunassignnumber.UnassignNumberPostRequestBody::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.admin.teams.telephonenumbermanagement.numberassignments.microsoftgraphteamsadministrationunassignnumber.UnassignNumberPostRequestBody::|public|setAdditionalData(value?:Map):void +com.microsoft.graph.admin.teams.telephonenumbermanagement.numberassignments.microsoftgraphteamsadministrationunassignnumber.UnassignNumberPostRequestBody::|public|setBackingStore(value:BackingStore):void +com.microsoft.graph.admin.teams.telephonenumbermanagement.numberassignments.microsoftgraphteamsadministrationunassignnumber.UnassignNumberPostRequestBody::|public|setNumberType(value?:NumberType):void +com.microsoft.graph.admin.teams.telephonenumbermanagement.numberassignments.microsoftgraphteamsadministrationunassignnumber.UnassignNumberPostRequestBody::|public|setTelephoneNumber(value?:String):void +com.microsoft.graph.admin.teams.telephonenumbermanagement.numberassignments.microsoftgraphteamsadministrationunassignnumber.UnassignNumberPostRequestBody::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):UnassignNumberPostRequestBody +com.microsoft.graph.admin.teams.telephonenumbermanagement.numberassignments.microsoftgraphteamsadministrationunassignnumber.UnassignNumberPostRequestBody~~>AdditionalDataHolder; BackedModel; Parsable +com.microsoft.graph.admin.teams.telephonenumbermanagement.numberassignments.microsoftgraphteamsadministrationupdatenumber.MicrosoftGraphTeamsAdministrationUpdateNumberRequestBuilder-->BaseRequestBuilder +com.microsoft.graph.admin.teams.telephonenumbermanagement.numberassignments.microsoftgraphteamsadministrationupdatenumber.MicrosoftGraphTeamsAdministrationUpdateNumberRequestBuilder.PostRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.admin.teams.telephonenumbermanagement.numberassignments.microsoftgraphteamsadministrationupdatenumber.MicrosoftGraphTeamsAdministrationUpdateNumberRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void +com.microsoft.graph.admin.teams.telephonenumbermanagement.numberassignments.microsoftgraphteamsadministrationupdatenumber.MicrosoftGraphTeamsAdministrationUpdateNumberRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.admin.teams.telephonenumbermanagement.numberassignments.microsoftgraphteamsadministrationupdatenumber.MicrosoftGraphTeamsAdministrationUpdateNumberRequestBuilder::|public|post(body:UpdateNumberPostRequestBody):Void +com.microsoft.graph.admin.teams.telephonenumbermanagement.numberassignments.microsoftgraphteamsadministrationupdatenumber.MicrosoftGraphTeamsAdministrationUpdateNumberRequestBuilder::|public|post(body:UpdateNumberPostRequestBody; requestConfiguration?:java.util.function.Consumer):Void +com.microsoft.graph.admin.teams.telephonenumbermanagement.numberassignments.microsoftgraphteamsadministrationupdatenumber.MicrosoftGraphTeamsAdministrationUpdateNumberRequestBuilder::|public|toPostRequestInformation(body:UpdateNumberPostRequestBody):RequestInformation +com.microsoft.graph.admin.teams.telephonenumbermanagement.numberassignments.microsoftgraphteamsadministrationupdatenumber.MicrosoftGraphTeamsAdministrationUpdateNumberRequestBuilder::|public|toPostRequestInformation(body:UpdateNumberPostRequestBody; requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.admin.teams.telephonenumbermanagement.numberassignments.microsoftgraphteamsadministrationupdatenumber.MicrosoftGraphTeamsAdministrationUpdateNumberRequestBuilder::|public|withUrl(rawUrl:String):MicrosoftGraphTeamsAdministrationUpdateNumberRequestBuilder +com.microsoft.graph.admin.teams.telephonenumbermanagement.numberassignments.microsoftgraphteamsadministrationupdatenumber.UpdateNumberPostRequestBody::|protected|backingStore:BackingStore +com.microsoft.graph.admin.teams.telephonenumbermanagement.numberassignments.microsoftgraphteamsadministrationupdatenumber.UpdateNumberPostRequestBody::|public|constructor():void +com.microsoft.graph.admin.teams.telephonenumbermanagement.numberassignments.microsoftgraphteamsadministrationupdatenumber.UpdateNumberPostRequestBody::|public|getAdditionalData():Map +com.microsoft.graph.admin.teams.telephonenumbermanagement.numberassignments.microsoftgraphteamsadministrationupdatenumber.UpdateNumberPostRequestBody::|public|getBackingStore():BackingStore +com.microsoft.graph.admin.teams.telephonenumbermanagement.numberassignments.microsoftgraphteamsadministrationupdatenumber.UpdateNumberPostRequestBody::|public|getFieldDeserializers():Map> +com.microsoft.graph.admin.teams.telephonenumbermanagement.numberassignments.microsoftgraphteamsadministrationupdatenumber.UpdateNumberPostRequestBody::|public|getLocationId():String +com.microsoft.graph.admin.teams.telephonenumbermanagement.numberassignments.microsoftgraphteamsadministrationupdatenumber.UpdateNumberPostRequestBody::|public|getNetworkSiteId():String +com.microsoft.graph.admin.teams.telephonenumbermanagement.numberassignments.microsoftgraphteamsadministrationupdatenumber.UpdateNumberPostRequestBody::|public|getReverseNumberLookupOptions():java.util.List +com.microsoft.graph.admin.teams.telephonenumbermanagement.numberassignments.microsoftgraphteamsadministrationupdatenumber.UpdateNumberPostRequestBody::|public|getTelephoneNumber():String +com.microsoft.graph.admin.teams.telephonenumbermanagement.numberassignments.microsoftgraphteamsadministrationupdatenumber.UpdateNumberPostRequestBody::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.admin.teams.telephonenumbermanagement.numberassignments.microsoftgraphteamsadministrationupdatenumber.UpdateNumberPostRequestBody::|public|setAdditionalData(value?:Map):void +com.microsoft.graph.admin.teams.telephonenumbermanagement.numberassignments.microsoftgraphteamsadministrationupdatenumber.UpdateNumberPostRequestBody::|public|setBackingStore(value:BackingStore):void +com.microsoft.graph.admin.teams.telephonenumbermanagement.numberassignments.microsoftgraphteamsadministrationupdatenumber.UpdateNumberPostRequestBody::|public|setLocationId(value?:String):void +com.microsoft.graph.admin.teams.telephonenumbermanagement.numberassignments.microsoftgraphteamsadministrationupdatenumber.UpdateNumberPostRequestBody::|public|setNetworkSiteId(value?:String):void +com.microsoft.graph.admin.teams.telephonenumbermanagement.numberassignments.microsoftgraphteamsadministrationupdatenumber.UpdateNumberPostRequestBody::|public|setReverseNumberLookupOptions(value?:java.util.List):void +com.microsoft.graph.admin.teams.telephonenumbermanagement.numberassignments.microsoftgraphteamsadministrationupdatenumber.UpdateNumberPostRequestBody::|public|setTelephoneNumber(value?:String):void +com.microsoft.graph.admin.teams.telephonenumbermanagement.numberassignments.microsoftgraphteamsadministrationupdatenumber.UpdateNumberPostRequestBody::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):UpdateNumberPostRequestBody +com.microsoft.graph.admin.teams.telephonenumbermanagement.numberassignments.microsoftgraphteamsadministrationupdatenumber.UpdateNumberPostRequestBody~~>AdditionalDataHolder; BackedModel; Parsable +com.microsoft.graph.admin.teams.telephonenumbermanagement.numberassignments.NumberAssignmentsRequestBuilder-->BaseRequestBuilder +com.microsoft.graph.admin.teams.telephonenumbermanagement.numberassignments.NumberAssignmentsRequestBuilder.GetQueryParameters::|public|count:Boolean +com.microsoft.graph.admin.teams.telephonenumbermanagement.numberassignments.NumberAssignmentsRequestBuilder.GetQueryParameters::|public|expand:String[] +com.microsoft.graph.admin.teams.telephonenumbermanagement.numberassignments.NumberAssignmentsRequestBuilder.GetQueryParameters::|public|filter:String +com.microsoft.graph.admin.teams.telephonenumbermanagement.numberassignments.NumberAssignmentsRequestBuilder.GetQueryParameters::|public|orderby:String[] +com.microsoft.graph.admin.teams.telephonenumbermanagement.numberassignments.NumberAssignmentsRequestBuilder.GetQueryParameters::|public|search:String +com.microsoft.graph.admin.teams.telephonenumbermanagement.numberassignments.NumberAssignmentsRequestBuilder.GetQueryParameters::|public|select:String[] +com.microsoft.graph.admin.teams.telephonenumbermanagement.numberassignments.NumberAssignmentsRequestBuilder.GetQueryParameters::|public|skip:Integer +com.microsoft.graph.admin.teams.telephonenumbermanagement.numberassignments.NumberAssignmentsRequestBuilder.GetQueryParameters::|public|top:Integer +com.microsoft.graph.admin.teams.telephonenumbermanagement.numberassignments.NumberAssignmentsRequestBuilder.GetQueryParameters::|public|toQueryParameters():Map +com.microsoft.graph.admin.teams.telephonenumbermanagement.numberassignments.NumberAssignmentsRequestBuilder.GetQueryParameters~~>QueryParameters +com.microsoft.graph.admin.teams.telephonenumbermanagement.numberassignments.NumberAssignmentsRequestBuilder.GetRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.admin.teams.telephonenumbermanagement.numberassignments.NumberAssignmentsRequestBuilder.GetRequestConfiguration::|public|queryParameters:GetQueryParameters +com.microsoft.graph.admin.teams.telephonenumbermanagement.numberassignments.NumberAssignmentsRequestBuilder.PostRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.admin.teams.telephonenumbermanagement.numberassignments.NumberAssignmentsRequestBuilder::|public|byNumberAssignmentId(numberAssignmentId:String):NumberAssignmentItemRequestBuilder +com.microsoft.graph.admin.teams.telephonenumbermanagement.numberassignments.NumberAssignmentsRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void +com.microsoft.graph.admin.teams.telephonenumbermanagement.numberassignments.NumberAssignmentsRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.admin.teams.telephonenumbermanagement.numberassignments.NumberAssignmentsRequestBuilder::|public|count:CountRequestBuilder +com.microsoft.graph.admin.teams.telephonenumbermanagement.numberassignments.NumberAssignmentsRequestBuilder::|public|get():NumberAssignmentCollectionResponse +com.microsoft.graph.admin.teams.telephonenumbermanagement.numberassignments.NumberAssignmentsRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):NumberAssignmentCollectionResponse +com.microsoft.graph.admin.teams.telephonenumbermanagement.numberassignments.NumberAssignmentsRequestBuilder::|public|microsoftGraphTeamsAdministrationAssignNumber:MicrosoftGraphTeamsAdministrationAssignNumberRequestBuilder +com.microsoft.graph.admin.teams.telephonenumbermanagement.numberassignments.NumberAssignmentsRequestBuilder::|public|microsoftGraphTeamsAdministrationUnassignNumber:MicrosoftGraphTeamsAdministrationUnassignNumberRequestBuilder +com.microsoft.graph.admin.teams.telephonenumbermanagement.numberassignments.NumberAssignmentsRequestBuilder::|public|microsoftGraphTeamsAdministrationUpdateNumber:MicrosoftGraphTeamsAdministrationUpdateNumberRequestBuilder +com.microsoft.graph.admin.teams.telephonenumbermanagement.numberassignments.NumberAssignmentsRequestBuilder::|public|post(body:NumberAssignment):NumberAssignment +com.microsoft.graph.admin.teams.telephonenumbermanagement.numberassignments.NumberAssignmentsRequestBuilder::|public|post(body:NumberAssignment; requestConfiguration?:java.util.function.Consumer):NumberAssignment +com.microsoft.graph.admin.teams.telephonenumbermanagement.numberassignments.NumberAssignmentsRequestBuilder::|public|toGetRequestInformation():RequestInformation +com.microsoft.graph.admin.teams.telephonenumbermanagement.numberassignments.NumberAssignmentsRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.admin.teams.telephonenumbermanagement.numberassignments.NumberAssignmentsRequestBuilder::|public|toPostRequestInformation(body:NumberAssignment):RequestInformation +com.microsoft.graph.admin.teams.telephonenumbermanagement.numberassignments.NumberAssignmentsRequestBuilder::|public|toPostRequestInformation(body:NumberAssignment; requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.admin.teams.telephonenumbermanagement.numberassignments.NumberAssignmentsRequestBuilder::|public|withUrl(rawUrl:String):NumberAssignmentsRequestBuilder +com.microsoft.graph.admin.teams.telephonenumbermanagement.operations.count.CountRequestBuilder-->BaseRequestBuilder +com.microsoft.graph.admin.teams.telephonenumbermanagement.operations.count.CountRequestBuilder.GetQueryParameters::|public|filter:String +com.microsoft.graph.admin.teams.telephonenumbermanagement.operations.count.CountRequestBuilder.GetQueryParameters::|public|search:String +com.microsoft.graph.admin.teams.telephonenumbermanagement.operations.count.CountRequestBuilder.GetQueryParameters::|public|toQueryParameters():Map +com.microsoft.graph.admin.teams.telephonenumbermanagement.operations.count.CountRequestBuilder.GetQueryParameters~~>QueryParameters +com.microsoft.graph.admin.teams.telephonenumbermanagement.operations.count.CountRequestBuilder.GetRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.admin.teams.telephonenumbermanagement.operations.count.CountRequestBuilder.GetRequestConfiguration::|public|queryParameters:GetQueryParameters +com.microsoft.graph.admin.teams.telephonenumbermanagement.operations.count.CountRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void +com.microsoft.graph.admin.teams.telephonenumbermanagement.operations.count.CountRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.admin.teams.telephonenumbermanagement.operations.count.CountRequestBuilder::|public|get():Integer +com.microsoft.graph.admin.teams.telephonenumbermanagement.operations.count.CountRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):Integer +com.microsoft.graph.admin.teams.telephonenumbermanagement.operations.count.CountRequestBuilder::|public|toGetRequestInformation():RequestInformation +com.microsoft.graph.admin.teams.telephonenumbermanagement.operations.count.CountRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.admin.teams.telephonenumbermanagement.operations.count.CountRequestBuilder::|public|withUrl(rawUrl:String):CountRequestBuilder +com.microsoft.graph.admin.teams.telephonenumbermanagement.operations.item.TelephoneNumberLongRunningOperationItemRequestBuilder-->BaseRequestBuilder +com.microsoft.graph.admin.teams.telephonenumbermanagement.operations.item.TelephoneNumberLongRunningOperationItemRequestBuilder.DeleteRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.admin.teams.telephonenumbermanagement.operations.item.TelephoneNumberLongRunningOperationItemRequestBuilder.GetQueryParameters::|public|expand:String[] +com.microsoft.graph.admin.teams.telephonenumbermanagement.operations.item.TelephoneNumberLongRunningOperationItemRequestBuilder.GetQueryParameters::|public|select:String[] +com.microsoft.graph.admin.teams.telephonenumbermanagement.operations.item.TelephoneNumberLongRunningOperationItemRequestBuilder.GetQueryParameters::|public|toQueryParameters():Map +com.microsoft.graph.admin.teams.telephonenumbermanagement.operations.item.TelephoneNumberLongRunningOperationItemRequestBuilder.GetQueryParameters~~>QueryParameters +com.microsoft.graph.admin.teams.telephonenumbermanagement.operations.item.TelephoneNumberLongRunningOperationItemRequestBuilder.GetRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.admin.teams.telephonenumbermanagement.operations.item.TelephoneNumberLongRunningOperationItemRequestBuilder.GetRequestConfiguration::|public|queryParameters:GetQueryParameters +com.microsoft.graph.admin.teams.telephonenumbermanagement.operations.item.TelephoneNumberLongRunningOperationItemRequestBuilder.PatchRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.admin.teams.telephonenumbermanagement.operations.item.TelephoneNumberLongRunningOperationItemRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void +com.microsoft.graph.admin.teams.telephonenumbermanagement.operations.item.TelephoneNumberLongRunningOperationItemRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.admin.teams.telephonenumbermanagement.operations.item.TelephoneNumberLongRunningOperationItemRequestBuilder::|public|delete():Void +com.microsoft.graph.admin.teams.telephonenumbermanagement.operations.item.TelephoneNumberLongRunningOperationItemRequestBuilder::|public|delete(requestConfiguration?:java.util.function.Consumer):Void +com.microsoft.graph.admin.teams.telephonenumbermanagement.operations.item.TelephoneNumberLongRunningOperationItemRequestBuilder::|public|get():TelephoneNumberLongRunningOperation +com.microsoft.graph.admin.teams.telephonenumbermanagement.operations.item.TelephoneNumberLongRunningOperationItemRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):TelephoneNumberLongRunningOperation +com.microsoft.graph.admin.teams.telephonenumbermanagement.operations.item.TelephoneNumberLongRunningOperationItemRequestBuilder::|public|patch(body:TelephoneNumberLongRunningOperation):TelephoneNumberLongRunningOperation +com.microsoft.graph.admin.teams.telephonenumbermanagement.operations.item.TelephoneNumberLongRunningOperationItemRequestBuilder::|public|patch(body:TelephoneNumberLongRunningOperation; requestConfiguration?:java.util.function.Consumer):TelephoneNumberLongRunningOperation +com.microsoft.graph.admin.teams.telephonenumbermanagement.operations.item.TelephoneNumberLongRunningOperationItemRequestBuilder::|public|toDeleteRequestInformation():RequestInformation +com.microsoft.graph.admin.teams.telephonenumbermanagement.operations.item.TelephoneNumberLongRunningOperationItemRequestBuilder::|public|toDeleteRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.admin.teams.telephonenumbermanagement.operations.item.TelephoneNumberLongRunningOperationItemRequestBuilder::|public|toGetRequestInformation():RequestInformation +com.microsoft.graph.admin.teams.telephonenumbermanagement.operations.item.TelephoneNumberLongRunningOperationItemRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.admin.teams.telephonenumbermanagement.operations.item.TelephoneNumberLongRunningOperationItemRequestBuilder::|public|toPatchRequestInformation(body:TelephoneNumberLongRunningOperation):RequestInformation +com.microsoft.graph.admin.teams.telephonenumbermanagement.operations.item.TelephoneNumberLongRunningOperationItemRequestBuilder::|public|toPatchRequestInformation(body:TelephoneNumberLongRunningOperation; requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.admin.teams.telephonenumbermanagement.operations.item.TelephoneNumberLongRunningOperationItemRequestBuilder::|public|withUrl(rawUrl:String):TelephoneNumberLongRunningOperationItemRequestBuilder +com.microsoft.graph.admin.teams.telephonenumbermanagement.operations.OperationsRequestBuilder-->BaseRequestBuilder +com.microsoft.graph.admin.teams.telephonenumbermanagement.operations.OperationsRequestBuilder.GetQueryParameters::|public|count:Boolean +com.microsoft.graph.admin.teams.telephonenumbermanagement.operations.OperationsRequestBuilder.GetQueryParameters::|public|expand:String[] +com.microsoft.graph.admin.teams.telephonenumbermanagement.operations.OperationsRequestBuilder.GetQueryParameters::|public|filter:String +com.microsoft.graph.admin.teams.telephonenumbermanagement.operations.OperationsRequestBuilder.GetQueryParameters::|public|orderby:String[] +com.microsoft.graph.admin.teams.telephonenumbermanagement.operations.OperationsRequestBuilder.GetQueryParameters::|public|search:String +com.microsoft.graph.admin.teams.telephonenumbermanagement.operations.OperationsRequestBuilder.GetQueryParameters::|public|select:String[] +com.microsoft.graph.admin.teams.telephonenumbermanagement.operations.OperationsRequestBuilder.GetQueryParameters::|public|skip:Integer +com.microsoft.graph.admin.teams.telephonenumbermanagement.operations.OperationsRequestBuilder.GetQueryParameters::|public|top:Integer +com.microsoft.graph.admin.teams.telephonenumbermanagement.operations.OperationsRequestBuilder.GetQueryParameters::|public|toQueryParameters():Map +com.microsoft.graph.admin.teams.telephonenumbermanagement.operations.OperationsRequestBuilder.GetQueryParameters~~>QueryParameters +com.microsoft.graph.admin.teams.telephonenumbermanagement.operations.OperationsRequestBuilder.GetRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.admin.teams.telephonenumbermanagement.operations.OperationsRequestBuilder.GetRequestConfiguration::|public|queryParameters:GetQueryParameters +com.microsoft.graph.admin.teams.telephonenumbermanagement.operations.OperationsRequestBuilder.PostRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.admin.teams.telephonenumbermanagement.operations.OperationsRequestBuilder::|public|byTelephoneNumberLongRunningOperationId(telephoneNumberLongRunningOperationId:String):TelephoneNumberLongRunningOperationItemRequestBuilder +com.microsoft.graph.admin.teams.telephonenumbermanagement.operations.OperationsRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void +com.microsoft.graph.admin.teams.telephonenumbermanagement.operations.OperationsRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.admin.teams.telephonenumbermanagement.operations.OperationsRequestBuilder::|public|count:CountRequestBuilder +com.microsoft.graph.admin.teams.telephonenumbermanagement.operations.OperationsRequestBuilder::|public|get():TelephoneNumberLongRunningOperationCollectionResponse +com.microsoft.graph.admin.teams.telephonenumbermanagement.operations.OperationsRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):TelephoneNumberLongRunningOperationCollectionResponse +com.microsoft.graph.admin.teams.telephonenumbermanagement.operations.OperationsRequestBuilder::|public|post(body:TelephoneNumberLongRunningOperation):TelephoneNumberLongRunningOperation +com.microsoft.graph.admin.teams.telephonenumbermanagement.operations.OperationsRequestBuilder::|public|post(body:TelephoneNumberLongRunningOperation; requestConfiguration?:java.util.function.Consumer):TelephoneNumberLongRunningOperation +com.microsoft.graph.admin.teams.telephonenumbermanagement.operations.OperationsRequestBuilder::|public|toGetRequestInformation():RequestInformation +com.microsoft.graph.admin.teams.telephonenumbermanagement.operations.OperationsRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.admin.teams.telephonenumbermanagement.operations.OperationsRequestBuilder::|public|toPostRequestInformation(body:TelephoneNumberLongRunningOperation):RequestInformation +com.microsoft.graph.admin.teams.telephonenumbermanagement.operations.OperationsRequestBuilder::|public|toPostRequestInformation(body:TelephoneNumberLongRunningOperation; requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.admin.teams.telephonenumbermanagement.operations.OperationsRequestBuilder::|public|withUrl(rawUrl:String):OperationsRequestBuilder +com.microsoft.graph.admin.teams.telephonenumbermanagement.TelephoneNumberManagementRequestBuilder-->BaseRequestBuilder +com.microsoft.graph.admin.teams.telephonenumbermanagement.TelephoneNumberManagementRequestBuilder.DeleteRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.admin.teams.telephonenumbermanagement.TelephoneNumberManagementRequestBuilder.GetQueryParameters::|public|expand:String[] +com.microsoft.graph.admin.teams.telephonenumbermanagement.TelephoneNumberManagementRequestBuilder.GetQueryParameters::|public|select:String[] +com.microsoft.graph.admin.teams.telephonenumbermanagement.TelephoneNumberManagementRequestBuilder.GetQueryParameters::|public|toQueryParameters():Map +com.microsoft.graph.admin.teams.telephonenumbermanagement.TelephoneNumberManagementRequestBuilder.GetQueryParameters~~>QueryParameters +com.microsoft.graph.admin.teams.telephonenumbermanagement.TelephoneNumberManagementRequestBuilder.GetRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.admin.teams.telephonenumbermanagement.TelephoneNumberManagementRequestBuilder.GetRequestConfiguration::|public|queryParameters:GetQueryParameters +com.microsoft.graph.admin.teams.telephonenumbermanagement.TelephoneNumberManagementRequestBuilder.PatchRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.admin.teams.telephonenumbermanagement.TelephoneNumberManagementRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void +com.microsoft.graph.admin.teams.telephonenumbermanagement.TelephoneNumberManagementRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.admin.teams.telephonenumbermanagement.TelephoneNumberManagementRequestBuilder::|public|delete():Void +com.microsoft.graph.admin.teams.telephonenumbermanagement.TelephoneNumberManagementRequestBuilder::|public|delete(requestConfiguration?:java.util.function.Consumer):Void +com.microsoft.graph.admin.teams.telephonenumbermanagement.TelephoneNumberManagementRequestBuilder::|public|get():TelephoneNumberManagementRoot +com.microsoft.graph.admin.teams.telephonenumbermanagement.TelephoneNumberManagementRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):TelephoneNumberManagementRoot +com.microsoft.graph.admin.teams.telephonenumbermanagement.TelephoneNumberManagementRequestBuilder::|public|numberAssignments:NumberAssignmentsRequestBuilder +com.microsoft.graph.admin.teams.telephonenumbermanagement.TelephoneNumberManagementRequestBuilder::|public|operations:OperationsRequestBuilder +com.microsoft.graph.admin.teams.telephonenumbermanagement.TelephoneNumberManagementRequestBuilder::|public|patch(body:TelephoneNumberManagementRoot):TelephoneNumberManagementRoot +com.microsoft.graph.admin.teams.telephonenumbermanagement.TelephoneNumberManagementRequestBuilder::|public|patch(body:TelephoneNumberManagementRoot; requestConfiguration?:java.util.function.Consumer):TelephoneNumberManagementRoot +com.microsoft.graph.admin.teams.telephonenumbermanagement.TelephoneNumberManagementRequestBuilder::|public|toDeleteRequestInformation():RequestInformation +com.microsoft.graph.admin.teams.telephonenumbermanagement.TelephoneNumberManagementRequestBuilder::|public|toDeleteRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.admin.teams.telephonenumbermanagement.TelephoneNumberManagementRequestBuilder::|public|toGetRequestInformation():RequestInformation +com.microsoft.graph.admin.teams.telephonenumbermanagement.TelephoneNumberManagementRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.admin.teams.telephonenumbermanagement.TelephoneNumberManagementRequestBuilder::|public|toPatchRequestInformation(body:TelephoneNumberManagementRoot):RequestInformation +com.microsoft.graph.admin.teams.telephonenumbermanagement.TelephoneNumberManagementRequestBuilder::|public|toPatchRequestInformation(body:TelephoneNumberManagementRoot; requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.admin.teams.telephonenumbermanagement.TelephoneNumberManagementRequestBuilder::|public|withUrl(rawUrl:String):TelephoneNumberManagementRequestBuilder com.microsoft.graph.admin.teams.userconfigurations.count.CountRequestBuilder-->BaseRequestBuilder com.microsoft.graph.admin.teams.userconfigurations.count.CountRequestBuilder.GetQueryParameters::|public|filter:String com.microsoft.graph.admin.teams.userconfigurations.count.CountRequestBuilder.GetQueryParameters::|public|search:String @@ -2307,9 +2637,9 @@ com.microsoft.graph.applications.count.CountRequestBuilder::|public|withUrl(rawU com.microsoft.graph.applications.delta.DeltaGetResponse-->BaseDeltaFunctionResponse com.microsoft.graph.applications.delta.DeltaGetResponse::|public|constructor():void com.microsoft.graph.applications.delta.DeltaGetResponse::|public|getFieldDeserializers():Map> -com.microsoft.graph.applications.delta.DeltaGetResponse::|public|getValue():java.util.List +com.microsoft.graph.applications.delta.DeltaGetResponse::|public|getValue():java.util.List com.microsoft.graph.applications.delta.DeltaGetResponse::|public|serialize(writer:SerializationWriter):Void -com.microsoft.graph.applications.delta.DeltaGetResponse::|public|setValue(value?:java.util.List):void +com.microsoft.graph.applications.delta.DeltaGetResponse::|public|setValue(value?:java.util.List):void com.microsoft.graph.applications.delta.DeltaGetResponse::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):DeltaGetResponse com.microsoft.graph.applications.delta.DeltaRequestBuilder-->BaseRequestBuilder com.microsoft.graph.applications.delta.DeltaRequestBuilder.GetQueryParameters::|public|count:Boolean @@ -5785,11 +6115,35 @@ com.microsoft.graph.chats.item.messages.item.replies.RepliesRequestBuilder::|pub com.microsoft.graph.chats.item.messages.item.replies.RepliesRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):ChatMessageCollectionResponse com.microsoft.graph.chats.item.messages.item.replies.RepliesRequestBuilder::|public|post(body:ChatMessage):ChatMessage com.microsoft.graph.chats.item.messages.item.replies.RepliesRequestBuilder::|public|post(body:ChatMessage; requestConfiguration?:java.util.function.Consumer):ChatMessage +com.microsoft.graph.chats.item.messages.item.replies.RepliesRequestBuilder::|public|replyWithQuote:ReplyWithQuoteRequestBuilder com.microsoft.graph.chats.item.messages.item.replies.RepliesRequestBuilder::|public|toGetRequestInformation():RequestInformation com.microsoft.graph.chats.item.messages.item.replies.RepliesRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation com.microsoft.graph.chats.item.messages.item.replies.RepliesRequestBuilder::|public|toPostRequestInformation(body:ChatMessage):RequestInformation com.microsoft.graph.chats.item.messages.item.replies.RepliesRequestBuilder::|public|toPostRequestInformation(body:ChatMessage; requestConfiguration?:java.util.function.Consumer):RequestInformation com.microsoft.graph.chats.item.messages.item.replies.RepliesRequestBuilder::|public|withUrl(rawUrl:String):RepliesRequestBuilder +com.microsoft.graph.chats.item.messages.item.replies.replywithquote.ReplyWithQuotePostRequestBody::|protected|backingStore:BackingStore +com.microsoft.graph.chats.item.messages.item.replies.replywithquote.ReplyWithQuotePostRequestBody::|public|constructor():void +com.microsoft.graph.chats.item.messages.item.replies.replywithquote.ReplyWithQuotePostRequestBody::|public|getAdditionalData():Map +com.microsoft.graph.chats.item.messages.item.replies.replywithquote.ReplyWithQuotePostRequestBody::|public|getBackingStore():BackingStore +com.microsoft.graph.chats.item.messages.item.replies.replywithquote.ReplyWithQuotePostRequestBody::|public|getFieldDeserializers():Map> +com.microsoft.graph.chats.item.messages.item.replies.replywithquote.ReplyWithQuotePostRequestBody::|public|getMessageIds():java.util.List +com.microsoft.graph.chats.item.messages.item.replies.replywithquote.ReplyWithQuotePostRequestBody::|public|getReplyMessage():ChatMessage +com.microsoft.graph.chats.item.messages.item.replies.replywithquote.ReplyWithQuotePostRequestBody::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.chats.item.messages.item.replies.replywithquote.ReplyWithQuotePostRequestBody::|public|setAdditionalData(value?:Map):void +com.microsoft.graph.chats.item.messages.item.replies.replywithquote.ReplyWithQuotePostRequestBody::|public|setBackingStore(value:BackingStore):void +com.microsoft.graph.chats.item.messages.item.replies.replywithquote.ReplyWithQuotePostRequestBody::|public|setMessageIds(value?:java.util.List):void +com.microsoft.graph.chats.item.messages.item.replies.replywithquote.ReplyWithQuotePostRequestBody::|public|setReplyMessage(value?:ChatMessage):void +com.microsoft.graph.chats.item.messages.item.replies.replywithquote.ReplyWithQuotePostRequestBody::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):ReplyWithQuotePostRequestBody +com.microsoft.graph.chats.item.messages.item.replies.replywithquote.ReplyWithQuotePostRequestBody~~>AdditionalDataHolder; BackedModel; Parsable +com.microsoft.graph.chats.item.messages.item.replies.replywithquote.ReplyWithQuoteRequestBuilder-->BaseRequestBuilder +com.microsoft.graph.chats.item.messages.item.replies.replywithquote.ReplyWithQuoteRequestBuilder.PostRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.chats.item.messages.item.replies.replywithquote.ReplyWithQuoteRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void +com.microsoft.graph.chats.item.messages.item.replies.replywithquote.ReplyWithQuoteRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.chats.item.messages.item.replies.replywithquote.ReplyWithQuoteRequestBuilder::|public|post(body:ReplyWithQuotePostRequestBody):ChatMessage +com.microsoft.graph.chats.item.messages.item.replies.replywithquote.ReplyWithQuoteRequestBuilder::|public|post(body:ReplyWithQuotePostRequestBody; requestConfiguration?:java.util.function.Consumer):ChatMessage +com.microsoft.graph.chats.item.messages.item.replies.replywithquote.ReplyWithQuoteRequestBuilder::|public|toPostRequestInformation(body:ReplyWithQuotePostRequestBody):RequestInformation +com.microsoft.graph.chats.item.messages.item.replies.replywithquote.ReplyWithQuoteRequestBuilder::|public|toPostRequestInformation(body:ReplyWithQuotePostRequestBody; requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.chats.item.messages.item.replies.replywithquote.ReplyWithQuoteRequestBuilder::|public|withUrl(rawUrl:String):ReplyWithQuoteRequestBuilder com.microsoft.graph.chats.item.messages.item.setreaction.SetReactionPostRequestBody::|protected|backingStore:BackingStore com.microsoft.graph.chats.item.messages.item.setreaction.SetReactionPostRequestBody::|public|constructor():void com.microsoft.graph.chats.item.messages.item.setreaction.SetReactionPostRequestBody::|public|getAdditionalData():Map @@ -5873,11 +6227,35 @@ com.microsoft.graph.chats.item.messages.MessagesRequestBuilder::|public|get():Ch com.microsoft.graph.chats.item.messages.MessagesRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):ChatMessageCollectionResponse com.microsoft.graph.chats.item.messages.MessagesRequestBuilder::|public|post(body:ChatMessage):ChatMessage com.microsoft.graph.chats.item.messages.MessagesRequestBuilder::|public|post(body:ChatMessage; requestConfiguration?:java.util.function.Consumer):ChatMessage +com.microsoft.graph.chats.item.messages.MessagesRequestBuilder::|public|replyWithQuote:ReplyWithQuoteRequestBuilder com.microsoft.graph.chats.item.messages.MessagesRequestBuilder::|public|toGetRequestInformation():RequestInformation com.microsoft.graph.chats.item.messages.MessagesRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation com.microsoft.graph.chats.item.messages.MessagesRequestBuilder::|public|toPostRequestInformation(body:ChatMessage):RequestInformation com.microsoft.graph.chats.item.messages.MessagesRequestBuilder::|public|toPostRequestInformation(body:ChatMessage; requestConfiguration?:java.util.function.Consumer):RequestInformation com.microsoft.graph.chats.item.messages.MessagesRequestBuilder::|public|withUrl(rawUrl:String):MessagesRequestBuilder +com.microsoft.graph.chats.item.messages.replywithquote.ReplyWithQuotePostRequestBody::|protected|backingStore:BackingStore +com.microsoft.graph.chats.item.messages.replywithquote.ReplyWithQuotePostRequestBody::|public|constructor():void +com.microsoft.graph.chats.item.messages.replywithquote.ReplyWithQuotePostRequestBody::|public|getAdditionalData():Map +com.microsoft.graph.chats.item.messages.replywithquote.ReplyWithQuotePostRequestBody::|public|getBackingStore():BackingStore +com.microsoft.graph.chats.item.messages.replywithquote.ReplyWithQuotePostRequestBody::|public|getFieldDeserializers():Map> +com.microsoft.graph.chats.item.messages.replywithquote.ReplyWithQuotePostRequestBody::|public|getMessageIds():java.util.List +com.microsoft.graph.chats.item.messages.replywithquote.ReplyWithQuotePostRequestBody::|public|getReplyMessage():ChatMessage +com.microsoft.graph.chats.item.messages.replywithquote.ReplyWithQuotePostRequestBody::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.chats.item.messages.replywithquote.ReplyWithQuotePostRequestBody::|public|setAdditionalData(value?:Map):void +com.microsoft.graph.chats.item.messages.replywithquote.ReplyWithQuotePostRequestBody::|public|setBackingStore(value:BackingStore):void +com.microsoft.graph.chats.item.messages.replywithquote.ReplyWithQuotePostRequestBody::|public|setMessageIds(value?:java.util.List):void +com.microsoft.graph.chats.item.messages.replywithquote.ReplyWithQuotePostRequestBody::|public|setReplyMessage(value?:ChatMessage):void +com.microsoft.graph.chats.item.messages.replywithquote.ReplyWithQuotePostRequestBody::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):ReplyWithQuotePostRequestBody +com.microsoft.graph.chats.item.messages.replywithquote.ReplyWithQuotePostRequestBody~~>AdditionalDataHolder; BackedModel; Parsable +com.microsoft.graph.chats.item.messages.replywithquote.ReplyWithQuoteRequestBuilder-->BaseRequestBuilder +com.microsoft.graph.chats.item.messages.replywithquote.ReplyWithQuoteRequestBuilder.PostRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.chats.item.messages.replywithquote.ReplyWithQuoteRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void +com.microsoft.graph.chats.item.messages.replywithquote.ReplyWithQuoteRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.chats.item.messages.replywithquote.ReplyWithQuoteRequestBuilder::|public|post(body:ReplyWithQuotePostRequestBody):ChatMessage +com.microsoft.graph.chats.item.messages.replywithquote.ReplyWithQuoteRequestBuilder::|public|post(body:ReplyWithQuotePostRequestBody; requestConfiguration?:java.util.function.Consumer):ChatMessage +com.microsoft.graph.chats.item.messages.replywithquote.ReplyWithQuoteRequestBuilder::|public|toPostRequestInformation(body:ReplyWithQuotePostRequestBody):RequestInformation +com.microsoft.graph.chats.item.messages.replywithquote.ReplyWithQuoteRequestBuilder::|public|toPostRequestInformation(body:ReplyWithQuotePostRequestBody; requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.chats.item.messages.replywithquote.ReplyWithQuoteRequestBuilder::|public|withUrl(rawUrl:String):ReplyWithQuoteRequestBuilder com.microsoft.graph.chats.item.permissiongrants.count.CountRequestBuilder-->BaseRequestBuilder com.microsoft.graph.chats.item.permissiongrants.count.CountRequestBuilder.GetQueryParameters::|public|filter:String com.microsoft.graph.chats.item.permissiongrants.count.CountRequestBuilder.GetQueryParameters::|public|search:String @@ -87187,11 +87565,35 @@ com.microsoft.graph.groups.item.team.channels.item.messages.item.replies.Replies com.microsoft.graph.groups.item.team.channels.item.messages.item.replies.RepliesRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):ChatMessageCollectionResponse com.microsoft.graph.groups.item.team.channels.item.messages.item.replies.RepliesRequestBuilder::|public|post(body:ChatMessage):ChatMessage com.microsoft.graph.groups.item.team.channels.item.messages.item.replies.RepliesRequestBuilder::|public|post(body:ChatMessage; requestConfiguration?:java.util.function.Consumer):ChatMessage +com.microsoft.graph.groups.item.team.channels.item.messages.item.replies.RepliesRequestBuilder::|public|replyWithQuote:ReplyWithQuoteRequestBuilder com.microsoft.graph.groups.item.team.channels.item.messages.item.replies.RepliesRequestBuilder::|public|toGetRequestInformation():RequestInformation com.microsoft.graph.groups.item.team.channels.item.messages.item.replies.RepliesRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation com.microsoft.graph.groups.item.team.channels.item.messages.item.replies.RepliesRequestBuilder::|public|toPostRequestInformation(body:ChatMessage):RequestInformation com.microsoft.graph.groups.item.team.channels.item.messages.item.replies.RepliesRequestBuilder::|public|toPostRequestInformation(body:ChatMessage; requestConfiguration?:java.util.function.Consumer):RequestInformation com.microsoft.graph.groups.item.team.channels.item.messages.item.replies.RepliesRequestBuilder::|public|withUrl(rawUrl:String):RepliesRequestBuilder +com.microsoft.graph.groups.item.team.channels.item.messages.item.replies.replywithquote.ReplyWithQuotePostRequestBody::|protected|backingStore:BackingStore +com.microsoft.graph.groups.item.team.channels.item.messages.item.replies.replywithquote.ReplyWithQuotePostRequestBody::|public|constructor():void +com.microsoft.graph.groups.item.team.channels.item.messages.item.replies.replywithquote.ReplyWithQuotePostRequestBody::|public|getAdditionalData():Map +com.microsoft.graph.groups.item.team.channels.item.messages.item.replies.replywithquote.ReplyWithQuotePostRequestBody::|public|getBackingStore():BackingStore +com.microsoft.graph.groups.item.team.channels.item.messages.item.replies.replywithquote.ReplyWithQuotePostRequestBody::|public|getFieldDeserializers():Map> +com.microsoft.graph.groups.item.team.channels.item.messages.item.replies.replywithquote.ReplyWithQuotePostRequestBody::|public|getMessageIds():java.util.List +com.microsoft.graph.groups.item.team.channels.item.messages.item.replies.replywithquote.ReplyWithQuotePostRequestBody::|public|getReplyMessage():ChatMessage +com.microsoft.graph.groups.item.team.channels.item.messages.item.replies.replywithquote.ReplyWithQuotePostRequestBody::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.groups.item.team.channels.item.messages.item.replies.replywithquote.ReplyWithQuotePostRequestBody::|public|setAdditionalData(value?:Map):void +com.microsoft.graph.groups.item.team.channels.item.messages.item.replies.replywithquote.ReplyWithQuotePostRequestBody::|public|setBackingStore(value:BackingStore):void +com.microsoft.graph.groups.item.team.channels.item.messages.item.replies.replywithquote.ReplyWithQuotePostRequestBody::|public|setMessageIds(value?:java.util.List):void +com.microsoft.graph.groups.item.team.channels.item.messages.item.replies.replywithquote.ReplyWithQuotePostRequestBody::|public|setReplyMessage(value?:ChatMessage):void +com.microsoft.graph.groups.item.team.channels.item.messages.item.replies.replywithquote.ReplyWithQuotePostRequestBody::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):ReplyWithQuotePostRequestBody +com.microsoft.graph.groups.item.team.channels.item.messages.item.replies.replywithquote.ReplyWithQuotePostRequestBody~~>AdditionalDataHolder; BackedModel; Parsable +com.microsoft.graph.groups.item.team.channels.item.messages.item.replies.replywithquote.ReplyWithQuoteRequestBuilder-->BaseRequestBuilder +com.microsoft.graph.groups.item.team.channels.item.messages.item.replies.replywithquote.ReplyWithQuoteRequestBuilder.PostRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.groups.item.team.channels.item.messages.item.replies.replywithquote.ReplyWithQuoteRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void +com.microsoft.graph.groups.item.team.channels.item.messages.item.replies.replywithquote.ReplyWithQuoteRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.groups.item.team.channels.item.messages.item.replies.replywithquote.ReplyWithQuoteRequestBuilder::|public|post(body:ReplyWithQuotePostRequestBody):ChatMessage +com.microsoft.graph.groups.item.team.channels.item.messages.item.replies.replywithquote.ReplyWithQuoteRequestBuilder::|public|post(body:ReplyWithQuotePostRequestBody; requestConfiguration?:java.util.function.Consumer):ChatMessage +com.microsoft.graph.groups.item.team.channels.item.messages.item.replies.replywithquote.ReplyWithQuoteRequestBuilder::|public|toPostRequestInformation(body:ReplyWithQuotePostRequestBody):RequestInformation +com.microsoft.graph.groups.item.team.channels.item.messages.item.replies.replywithquote.ReplyWithQuoteRequestBuilder::|public|toPostRequestInformation(body:ReplyWithQuotePostRequestBody; requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.groups.item.team.channels.item.messages.item.replies.replywithquote.ReplyWithQuoteRequestBuilder::|public|withUrl(rawUrl:String):ReplyWithQuoteRequestBuilder com.microsoft.graph.groups.item.team.channels.item.messages.item.setreaction.SetReactionPostRequestBody::|protected|backingStore:BackingStore com.microsoft.graph.groups.item.team.channels.item.messages.item.setreaction.SetReactionPostRequestBody::|public|constructor():void com.microsoft.graph.groups.item.team.channels.item.messages.item.setreaction.SetReactionPostRequestBody::|public|getAdditionalData():Map @@ -87275,11 +87677,35 @@ com.microsoft.graph.groups.item.team.channels.item.messages.MessagesRequestBuild com.microsoft.graph.groups.item.team.channels.item.messages.MessagesRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):ChatMessageCollectionResponse com.microsoft.graph.groups.item.team.channels.item.messages.MessagesRequestBuilder::|public|post(body:ChatMessage):ChatMessage com.microsoft.graph.groups.item.team.channels.item.messages.MessagesRequestBuilder::|public|post(body:ChatMessage; requestConfiguration?:java.util.function.Consumer):ChatMessage +com.microsoft.graph.groups.item.team.channels.item.messages.MessagesRequestBuilder::|public|replyWithQuote:ReplyWithQuoteRequestBuilder com.microsoft.graph.groups.item.team.channels.item.messages.MessagesRequestBuilder::|public|toGetRequestInformation():RequestInformation com.microsoft.graph.groups.item.team.channels.item.messages.MessagesRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation com.microsoft.graph.groups.item.team.channels.item.messages.MessagesRequestBuilder::|public|toPostRequestInformation(body:ChatMessage):RequestInformation com.microsoft.graph.groups.item.team.channels.item.messages.MessagesRequestBuilder::|public|toPostRequestInformation(body:ChatMessage; requestConfiguration?:java.util.function.Consumer):RequestInformation com.microsoft.graph.groups.item.team.channels.item.messages.MessagesRequestBuilder::|public|withUrl(rawUrl:String):MessagesRequestBuilder +com.microsoft.graph.groups.item.team.channels.item.messages.replywithquote.ReplyWithQuotePostRequestBody::|protected|backingStore:BackingStore +com.microsoft.graph.groups.item.team.channels.item.messages.replywithquote.ReplyWithQuotePostRequestBody::|public|constructor():void +com.microsoft.graph.groups.item.team.channels.item.messages.replywithquote.ReplyWithQuotePostRequestBody::|public|getAdditionalData():Map +com.microsoft.graph.groups.item.team.channels.item.messages.replywithquote.ReplyWithQuotePostRequestBody::|public|getBackingStore():BackingStore +com.microsoft.graph.groups.item.team.channels.item.messages.replywithquote.ReplyWithQuotePostRequestBody::|public|getFieldDeserializers():Map> +com.microsoft.graph.groups.item.team.channels.item.messages.replywithquote.ReplyWithQuotePostRequestBody::|public|getMessageIds():java.util.List +com.microsoft.graph.groups.item.team.channels.item.messages.replywithquote.ReplyWithQuotePostRequestBody::|public|getReplyMessage():ChatMessage +com.microsoft.graph.groups.item.team.channels.item.messages.replywithquote.ReplyWithQuotePostRequestBody::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.groups.item.team.channels.item.messages.replywithquote.ReplyWithQuotePostRequestBody::|public|setAdditionalData(value?:Map):void +com.microsoft.graph.groups.item.team.channels.item.messages.replywithquote.ReplyWithQuotePostRequestBody::|public|setBackingStore(value:BackingStore):void +com.microsoft.graph.groups.item.team.channels.item.messages.replywithquote.ReplyWithQuotePostRequestBody::|public|setMessageIds(value?:java.util.List):void +com.microsoft.graph.groups.item.team.channels.item.messages.replywithquote.ReplyWithQuotePostRequestBody::|public|setReplyMessage(value?:ChatMessage):void +com.microsoft.graph.groups.item.team.channels.item.messages.replywithquote.ReplyWithQuotePostRequestBody::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):ReplyWithQuotePostRequestBody +com.microsoft.graph.groups.item.team.channels.item.messages.replywithquote.ReplyWithQuotePostRequestBody~~>AdditionalDataHolder; BackedModel; Parsable +com.microsoft.graph.groups.item.team.channels.item.messages.replywithquote.ReplyWithQuoteRequestBuilder-->BaseRequestBuilder +com.microsoft.graph.groups.item.team.channels.item.messages.replywithquote.ReplyWithQuoteRequestBuilder.PostRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.groups.item.team.channels.item.messages.replywithquote.ReplyWithQuoteRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void +com.microsoft.graph.groups.item.team.channels.item.messages.replywithquote.ReplyWithQuoteRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.groups.item.team.channels.item.messages.replywithquote.ReplyWithQuoteRequestBuilder::|public|post(body:ReplyWithQuotePostRequestBody):ChatMessage +com.microsoft.graph.groups.item.team.channels.item.messages.replywithquote.ReplyWithQuoteRequestBuilder::|public|post(body:ReplyWithQuotePostRequestBody; requestConfiguration?:java.util.function.Consumer):ChatMessage +com.microsoft.graph.groups.item.team.channels.item.messages.replywithquote.ReplyWithQuoteRequestBuilder::|public|toPostRequestInformation(body:ReplyWithQuotePostRequestBody):RequestInformation +com.microsoft.graph.groups.item.team.channels.item.messages.replywithquote.ReplyWithQuoteRequestBuilder::|public|toPostRequestInformation(body:ReplyWithQuotePostRequestBody; requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.groups.item.team.channels.item.messages.replywithquote.ReplyWithQuoteRequestBuilder::|public|withUrl(rawUrl:String):ReplyWithQuoteRequestBuilder com.microsoft.graph.groups.item.team.channels.item.provisionemail.ProvisionEmailRequestBuilder-->BaseRequestBuilder com.microsoft.graph.groups.item.team.channels.item.provisionemail.ProvisionEmailRequestBuilder.PostRequestConfiguration-->BaseRequestConfiguration com.microsoft.graph.groups.item.team.channels.item.provisionemail.ProvisionEmailRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void @@ -88802,11 +89228,35 @@ com.microsoft.graph.groups.item.team.primarychannel.messages.item.replies.Replie com.microsoft.graph.groups.item.team.primarychannel.messages.item.replies.RepliesRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):ChatMessageCollectionResponse com.microsoft.graph.groups.item.team.primarychannel.messages.item.replies.RepliesRequestBuilder::|public|post(body:ChatMessage):ChatMessage com.microsoft.graph.groups.item.team.primarychannel.messages.item.replies.RepliesRequestBuilder::|public|post(body:ChatMessage; requestConfiguration?:java.util.function.Consumer):ChatMessage +com.microsoft.graph.groups.item.team.primarychannel.messages.item.replies.RepliesRequestBuilder::|public|replyWithQuote:ReplyWithQuoteRequestBuilder com.microsoft.graph.groups.item.team.primarychannel.messages.item.replies.RepliesRequestBuilder::|public|toGetRequestInformation():RequestInformation com.microsoft.graph.groups.item.team.primarychannel.messages.item.replies.RepliesRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation com.microsoft.graph.groups.item.team.primarychannel.messages.item.replies.RepliesRequestBuilder::|public|toPostRequestInformation(body:ChatMessage):RequestInformation com.microsoft.graph.groups.item.team.primarychannel.messages.item.replies.RepliesRequestBuilder::|public|toPostRequestInformation(body:ChatMessage; requestConfiguration?:java.util.function.Consumer):RequestInformation com.microsoft.graph.groups.item.team.primarychannel.messages.item.replies.RepliesRequestBuilder::|public|withUrl(rawUrl:String):RepliesRequestBuilder +com.microsoft.graph.groups.item.team.primarychannel.messages.item.replies.replywithquote.ReplyWithQuotePostRequestBody::|protected|backingStore:BackingStore +com.microsoft.graph.groups.item.team.primarychannel.messages.item.replies.replywithquote.ReplyWithQuotePostRequestBody::|public|constructor():void +com.microsoft.graph.groups.item.team.primarychannel.messages.item.replies.replywithquote.ReplyWithQuotePostRequestBody::|public|getAdditionalData():Map +com.microsoft.graph.groups.item.team.primarychannel.messages.item.replies.replywithquote.ReplyWithQuotePostRequestBody::|public|getBackingStore():BackingStore +com.microsoft.graph.groups.item.team.primarychannel.messages.item.replies.replywithquote.ReplyWithQuotePostRequestBody::|public|getFieldDeserializers():Map> +com.microsoft.graph.groups.item.team.primarychannel.messages.item.replies.replywithquote.ReplyWithQuotePostRequestBody::|public|getMessageIds():java.util.List +com.microsoft.graph.groups.item.team.primarychannel.messages.item.replies.replywithquote.ReplyWithQuotePostRequestBody::|public|getReplyMessage():ChatMessage +com.microsoft.graph.groups.item.team.primarychannel.messages.item.replies.replywithquote.ReplyWithQuotePostRequestBody::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.groups.item.team.primarychannel.messages.item.replies.replywithquote.ReplyWithQuotePostRequestBody::|public|setAdditionalData(value?:Map):void +com.microsoft.graph.groups.item.team.primarychannel.messages.item.replies.replywithquote.ReplyWithQuotePostRequestBody::|public|setBackingStore(value:BackingStore):void +com.microsoft.graph.groups.item.team.primarychannel.messages.item.replies.replywithquote.ReplyWithQuotePostRequestBody::|public|setMessageIds(value?:java.util.List):void +com.microsoft.graph.groups.item.team.primarychannel.messages.item.replies.replywithquote.ReplyWithQuotePostRequestBody::|public|setReplyMessage(value?:ChatMessage):void +com.microsoft.graph.groups.item.team.primarychannel.messages.item.replies.replywithquote.ReplyWithQuotePostRequestBody::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):ReplyWithQuotePostRequestBody +com.microsoft.graph.groups.item.team.primarychannel.messages.item.replies.replywithquote.ReplyWithQuotePostRequestBody~~>AdditionalDataHolder; BackedModel; Parsable +com.microsoft.graph.groups.item.team.primarychannel.messages.item.replies.replywithquote.ReplyWithQuoteRequestBuilder-->BaseRequestBuilder +com.microsoft.graph.groups.item.team.primarychannel.messages.item.replies.replywithquote.ReplyWithQuoteRequestBuilder.PostRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.groups.item.team.primarychannel.messages.item.replies.replywithquote.ReplyWithQuoteRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void +com.microsoft.graph.groups.item.team.primarychannel.messages.item.replies.replywithquote.ReplyWithQuoteRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.groups.item.team.primarychannel.messages.item.replies.replywithquote.ReplyWithQuoteRequestBuilder::|public|post(body:ReplyWithQuotePostRequestBody):ChatMessage +com.microsoft.graph.groups.item.team.primarychannel.messages.item.replies.replywithquote.ReplyWithQuoteRequestBuilder::|public|post(body:ReplyWithQuotePostRequestBody; requestConfiguration?:java.util.function.Consumer):ChatMessage +com.microsoft.graph.groups.item.team.primarychannel.messages.item.replies.replywithquote.ReplyWithQuoteRequestBuilder::|public|toPostRequestInformation(body:ReplyWithQuotePostRequestBody):RequestInformation +com.microsoft.graph.groups.item.team.primarychannel.messages.item.replies.replywithquote.ReplyWithQuoteRequestBuilder::|public|toPostRequestInformation(body:ReplyWithQuotePostRequestBody; requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.groups.item.team.primarychannel.messages.item.replies.replywithquote.ReplyWithQuoteRequestBuilder::|public|withUrl(rawUrl:String):ReplyWithQuoteRequestBuilder com.microsoft.graph.groups.item.team.primarychannel.messages.item.setreaction.SetReactionPostRequestBody::|protected|backingStore:BackingStore com.microsoft.graph.groups.item.team.primarychannel.messages.item.setreaction.SetReactionPostRequestBody::|public|constructor():void com.microsoft.graph.groups.item.team.primarychannel.messages.item.setreaction.SetReactionPostRequestBody::|public|getAdditionalData():Map @@ -88890,11 +89340,35 @@ com.microsoft.graph.groups.item.team.primarychannel.messages.MessagesRequestBuil com.microsoft.graph.groups.item.team.primarychannel.messages.MessagesRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):ChatMessageCollectionResponse com.microsoft.graph.groups.item.team.primarychannel.messages.MessagesRequestBuilder::|public|post(body:ChatMessage):ChatMessage com.microsoft.graph.groups.item.team.primarychannel.messages.MessagesRequestBuilder::|public|post(body:ChatMessage; requestConfiguration?:java.util.function.Consumer):ChatMessage +com.microsoft.graph.groups.item.team.primarychannel.messages.MessagesRequestBuilder::|public|replyWithQuote:ReplyWithQuoteRequestBuilder com.microsoft.graph.groups.item.team.primarychannel.messages.MessagesRequestBuilder::|public|toGetRequestInformation():RequestInformation com.microsoft.graph.groups.item.team.primarychannel.messages.MessagesRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation com.microsoft.graph.groups.item.team.primarychannel.messages.MessagesRequestBuilder::|public|toPostRequestInformation(body:ChatMessage):RequestInformation com.microsoft.graph.groups.item.team.primarychannel.messages.MessagesRequestBuilder::|public|toPostRequestInformation(body:ChatMessage; requestConfiguration?:java.util.function.Consumer):RequestInformation com.microsoft.graph.groups.item.team.primarychannel.messages.MessagesRequestBuilder::|public|withUrl(rawUrl:String):MessagesRequestBuilder +com.microsoft.graph.groups.item.team.primarychannel.messages.replywithquote.ReplyWithQuotePostRequestBody::|protected|backingStore:BackingStore +com.microsoft.graph.groups.item.team.primarychannel.messages.replywithquote.ReplyWithQuotePostRequestBody::|public|constructor():void +com.microsoft.graph.groups.item.team.primarychannel.messages.replywithquote.ReplyWithQuotePostRequestBody::|public|getAdditionalData():Map +com.microsoft.graph.groups.item.team.primarychannel.messages.replywithquote.ReplyWithQuotePostRequestBody::|public|getBackingStore():BackingStore +com.microsoft.graph.groups.item.team.primarychannel.messages.replywithquote.ReplyWithQuotePostRequestBody::|public|getFieldDeserializers():Map> +com.microsoft.graph.groups.item.team.primarychannel.messages.replywithquote.ReplyWithQuotePostRequestBody::|public|getMessageIds():java.util.List +com.microsoft.graph.groups.item.team.primarychannel.messages.replywithquote.ReplyWithQuotePostRequestBody::|public|getReplyMessage():ChatMessage +com.microsoft.graph.groups.item.team.primarychannel.messages.replywithquote.ReplyWithQuotePostRequestBody::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.groups.item.team.primarychannel.messages.replywithquote.ReplyWithQuotePostRequestBody::|public|setAdditionalData(value?:Map):void +com.microsoft.graph.groups.item.team.primarychannel.messages.replywithquote.ReplyWithQuotePostRequestBody::|public|setBackingStore(value:BackingStore):void +com.microsoft.graph.groups.item.team.primarychannel.messages.replywithquote.ReplyWithQuotePostRequestBody::|public|setMessageIds(value?:java.util.List):void +com.microsoft.graph.groups.item.team.primarychannel.messages.replywithquote.ReplyWithQuotePostRequestBody::|public|setReplyMessage(value?:ChatMessage):void +com.microsoft.graph.groups.item.team.primarychannel.messages.replywithquote.ReplyWithQuotePostRequestBody::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):ReplyWithQuotePostRequestBody +com.microsoft.graph.groups.item.team.primarychannel.messages.replywithquote.ReplyWithQuotePostRequestBody~~>AdditionalDataHolder; BackedModel; Parsable +com.microsoft.graph.groups.item.team.primarychannel.messages.replywithquote.ReplyWithQuoteRequestBuilder-->BaseRequestBuilder +com.microsoft.graph.groups.item.team.primarychannel.messages.replywithquote.ReplyWithQuoteRequestBuilder.PostRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.groups.item.team.primarychannel.messages.replywithquote.ReplyWithQuoteRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void +com.microsoft.graph.groups.item.team.primarychannel.messages.replywithquote.ReplyWithQuoteRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.groups.item.team.primarychannel.messages.replywithquote.ReplyWithQuoteRequestBuilder::|public|post(body:ReplyWithQuotePostRequestBody):ChatMessage +com.microsoft.graph.groups.item.team.primarychannel.messages.replywithquote.ReplyWithQuoteRequestBuilder::|public|post(body:ReplyWithQuotePostRequestBody; requestConfiguration?:java.util.function.Consumer):ChatMessage +com.microsoft.graph.groups.item.team.primarychannel.messages.replywithquote.ReplyWithQuoteRequestBuilder::|public|toPostRequestInformation(body:ReplyWithQuotePostRequestBody):RequestInformation +com.microsoft.graph.groups.item.team.primarychannel.messages.replywithquote.ReplyWithQuoteRequestBuilder::|public|toPostRequestInformation(body:ReplyWithQuotePostRequestBody; requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.groups.item.team.primarychannel.messages.replywithquote.ReplyWithQuoteRequestBuilder::|public|withUrl(rawUrl:String):ReplyWithQuoteRequestBuilder com.microsoft.graph.groups.item.team.primarychannel.PrimaryChannelRequestBuilder-->BaseRequestBuilder com.microsoft.graph.groups.item.team.primarychannel.PrimaryChannelRequestBuilder.DeleteRequestConfiguration-->BaseRequestConfiguration com.microsoft.graph.groups.item.team.primarychannel.PrimaryChannelRequestBuilder.GetQueryParameters::|public|expand:String[] @@ -112918,6 +113392,48 @@ com.microsoft.graph.models.AdvancedConfigState::0000-Default com.microsoft.graph.models.AdvancedConfigState::0001-Enabled com.microsoft.graph.models.AdvancedConfigState::0002-Disabled com.microsoft.graph.models.AdvancedConfigState::0003-UnknownFutureValue +com.microsoft.graph.models.AgentIdentity-->ServicePrincipal +com.microsoft.graph.models.AgentIdentity::|public|constructor():void +com.microsoft.graph.models.AgentIdentity::|public|getAgentIdentityBlueprintId():String +com.microsoft.graph.models.AgentIdentity::|public|getCreatedByAppId():String +com.microsoft.graph.models.AgentIdentity::|public|getCreatedDateTime():OffsetDateTime +com.microsoft.graph.models.AgentIdentity::|public|getFieldDeserializers():Map> +com.microsoft.graph.models.AgentIdentity::|public|getSponsors():java.util.List +com.microsoft.graph.models.AgentIdentity::|public|OdataType:String +com.microsoft.graph.models.AgentIdentity::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.models.AgentIdentity::|public|setAgentIdentityBlueprintId(value?:String):void +com.microsoft.graph.models.AgentIdentity::|public|setCreatedByAppId(value?:String):void +com.microsoft.graph.models.AgentIdentity::|public|setCreatedDateTime(value?:OffsetDateTime):void +com.microsoft.graph.models.AgentIdentity::|public|setSponsors(value?:java.util.List):void +com.microsoft.graph.models.AgentIdentity::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):AgentIdentity +com.microsoft.graph.models.AgentIdentityBlueprint-->Application +com.microsoft.graph.models.AgentIdentityBlueprint::|public|constructor():void +com.microsoft.graph.models.AgentIdentityBlueprint::|public|getCreatedByAppId():String +com.microsoft.graph.models.AgentIdentityBlueprint::|public|getFieldDeserializers():Map> +com.microsoft.graph.models.AgentIdentityBlueprint::|public|getInheritablePermissions():java.util.List +com.microsoft.graph.models.AgentIdentityBlueprint::|public|getSponsors():java.util.List +com.microsoft.graph.models.AgentIdentityBlueprint::|public|OdataType:String +com.microsoft.graph.models.AgentIdentityBlueprint::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.models.AgentIdentityBlueprint::|public|setCreatedByAppId(value?:String):void +com.microsoft.graph.models.AgentIdentityBlueprint::|public|setInheritablePermissions(value?:java.util.List):void +com.microsoft.graph.models.AgentIdentityBlueprint::|public|setSponsors(value?:java.util.List):void +com.microsoft.graph.models.AgentIdentityBlueprint::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):AgentIdentityBlueprint +com.microsoft.graph.models.AgentIdentityBlueprintPrincipal-->ServicePrincipal +com.microsoft.graph.models.AgentIdentityBlueprintPrincipal::|public|constructor():void +com.microsoft.graph.models.AgentIdentityBlueprintPrincipal::|public|getCreatedByAppId():String +com.microsoft.graph.models.AgentIdentityBlueprintPrincipal::|public|getFieldDeserializers():Map> +com.microsoft.graph.models.AgentIdentityBlueprintPrincipal::|public|getSponsors():java.util.List +com.microsoft.graph.models.AgentIdentityBlueprintPrincipal::|public|OdataType:String +com.microsoft.graph.models.AgentIdentityBlueprintPrincipal::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.models.AgentIdentityBlueprintPrincipal::|public|setCreatedByAppId(value?:String):void +com.microsoft.graph.models.AgentIdentityBlueprintPrincipal::|public|setSponsors(value?:java.util.List):void +com.microsoft.graph.models.AgentIdentityBlueprintPrincipal::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):AgentIdentityBlueprintPrincipal +com.microsoft.graph.models.AgentUser-->User +com.microsoft.graph.models.AgentUser::|public|constructor():void +com.microsoft.graph.models.AgentUser::|public|getFieldDeserializers():Map> +com.microsoft.graph.models.AgentUser::|public|OdataType:String +com.microsoft.graph.models.AgentUser::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.models.AgentUser::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):AgentUser com.microsoft.graph.models.AggregationOption::|protected|backingStore:BackingStore com.microsoft.graph.models.AggregationOption::|public|constructor():void com.microsoft.graph.models.AggregationOption::|public|getAdditionalData():Map @@ -113530,6 +114046,12 @@ com.microsoft.graph.models.AlertTrigger::|public|setType(value?:String):void com.microsoft.graph.models.AlertTrigger::|public|setValue(value?:String):void com.microsoft.graph.models.AlertTrigger::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):AlertTrigger com.microsoft.graph.models.AlertTrigger~~>AdditionalDataHolder; BackedModel; Parsable +com.microsoft.graph.models.AllAllowedScopes-->InheritableScopes +com.microsoft.graph.models.AllAllowedScopes::|public|constructor():void +com.microsoft.graph.models.AllAllowedScopes::|public|getFieldDeserializers():Map> +com.microsoft.graph.models.AllAllowedScopes::|public|OdataType:String +com.microsoft.graph.models.AllAllowedScopes::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.models.AllAllowedScopes::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):AllAllowedScopes com.microsoft.graph.models.AllDeviceRegistrationMembership-->DeviceRegistrationMembership com.microsoft.graph.models.AllDeviceRegistrationMembership::|public|constructor():void com.microsoft.graph.models.AllDeviceRegistrationMembership::|public|getFieldDeserializers():Map> @@ -116086,6 +116608,7 @@ com.microsoft.graph.models.AuthenticationMethodModes::0013-X509CertificateMultiF com.microsoft.graph.models.AuthenticationMethodModes::0014-FederatedSingleFactor com.microsoft.graph.models.AuthenticationMethodModes::0015-FederatedMultiFactor com.microsoft.graph.models.AuthenticationMethodModes::0016-UnknownFutureValue +com.microsoft.graph.models.AuthenticationMethodModes::0017-QrCodePin com.microsoft.graph.models.AuthenticationMethodPlatform::0000-Unknown com.microsoft.graph.models.AuthenticationMethodPlatform::0001-Windows com.microsoft.graph.models.AuthenticationMethodPlatform::0002-MacOS @@ -116577,6 +117100,7 @@ com.microsoft.graph.models.BaseAuthenticationMethod::0009-Email com.microsoft.graph.models.BaseAuthenticationMethod::0010-X509Certificate com.microsoft.graph.models.BaseAuthenticationMethod::0011-Federation com.microsoft.graph.models.BaseAuthenticationMethod::0012-UnknownFutureValue +com.microsoft.graph.models.BaseAuthenticationMethod::0013-QrCodePin com.microsoft.graph.models.BaseCollectionPaginationCountResponse::|protected|backingStore:BackingStore com.microsoft.graph.models.BaseCollectionPaginationCountResponse::|public|constructor():void com.microsoft.graph.models.BaseCollectionPaginationCountResponse::|public|getAdditionalData():Map @@ -121668,10 +122192,13 @@ com.microsoft.graph.models.Contact::|public|getOtherAddress():PhysicalAddress com.microsoft.graph.models.Contact::|public|getParentFolderId():String com.microsoft.graph.models.Contact::|public|getPersonalNotes():String com.microsoft.graph.models.Contact::|public|getPhoto():ProfilePhoto +com.microsoft.graph.models.Contact::|public|getPrimaryEmailAddress():EmailAddress com.microsoft.graph.models.Contact::|public|getProfession():String +com.microsoft.graph.models.Contact::|public|getSecondaryEmailAddress():EmailAddress com.microsoft.graph.models.Contact::|public|getSingleValueExtendedProperties():java.util.List com.microsoft.graph.models.Contact::|public|getSpouseName():String com.microsoft.graph.models.Contact::|public|getSurname():String +com.microsoft.graph.models.Contact::|public|getTertiaryEmailAddress():EmailAddress com.microsoft.graph.models.Contact::|public|getTitle():String com.microsoft.graph.models.Contact::|public|getYomiCompanyName():String com.microsoft.graph.models.Contact::|public|getYomiGivenName():String @@ -121707,10 +122234,13 @@ com.microsoft.graph.models.Contact::|public|setOtherAddress(value?:PhysicalAddre com.microsoft.graph.models.Contact::|public|setParentFolderId(value?:String):void com.microsoft.graph.models.Contact::|public|setPersonalNotes(value?:String):void com.microsoft.graph.models.Contact::|public|setPhoto(value?:ProfilePhoto):void +com.microsoft.graph.models.Contact::|public|setPrimaryEmailAddress(value?:EmailAddress):void com.microsoft.graph.models.Contact::|public|setProfession(value?:String):void +com.microsoft.graph.models.Contact::|public|setSecondaryEmailAddress(value?:EmailAddress):void com.microsoft.graph.models.Contact::|public|setSingleValueExtendedProperties(value?:java.util.List):void com.microsoft.graph.models.Contact::|public|setSpouseName(value?:String):void com.microsoft.graph.models.Contact::|public|setSurname(value?:String):void +com.microsoft.graph.models.Contact::|public|setTertiaryEmailAddress(value?:EmailAddress):void com.microsoft.graph.models.Contact::|public|setTitle(value?:String):void com.microsoft.graph.models.Contact::|public|setYomiCompanyName(value?:String):void com.microsoft.graph.models.Contact::|public|setYomiGivenName(value?:String):void @@ -125244,6 +125774,7 @@ com.microsoft.graph.models.DlpAction::0008-SPBlockAnonymousAccess com.microsoft.graph.models.DlpAction::0009-SPRuntimeAccessControl com.microsoft.graph.models.DlpAction::0010-SPSharingNotifyUser com.microsoft.graph.models.DlpAction::0011-SPSharingGenerateIncidentReport +com.microsoft.graph.models.DlpAction::0012-RestrictWebGrounding com.microsoft.graph.models.DlpActionInfo::|protected|backingStore:BackingStore com.microsoft.graph.models.DlpActionInfo::|public|constructor():void com.microsoft.graph.models.DlpActionInfo::|public|getAction():DlpAction @@ -127697,6 +128228,19 @@ com.microsoft.graph.models.EnumeratedDeviceRegistrationMembership::|public|seria com.microsoft.graph.models.EnumeratedDeviceRegistrationMembership::|public|setGroups(value?:java.util.List):void com.microsoft.graph.models.EnumeratedDeviceRegistrationMembership::|public|setUsers(value?:java.util.List):void com.microsoft.graph.models.EnumeratedDeviceRegistrationMembership::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):EnumeratedDeviceRegistrationMembership +com.microsoft.graph.models.EnumeratedScopes-->InheritableScopes +com.microsoft.graph.models.EnumeratedScopes::|public|constructor():void +com.microsoft.graph.models.EnumeratedScopes::|public|getFieldDeserializers():Map> +com.microsoft.graph.models.EnumeratedScopes::|public|getScopes():java.util.List +com.microsoft.graph.models.EnumeratedScopes::|public|OdataType:String +com.microsoft.graph.models.EnumeratedScopes::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.models.EnumeratedScopes::|public|setScopes(value?:java.util.List):void +com.microsoft.graph.models.EnumeratedScopes::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):EnumeratedScopes +com.microsoft.graph.models.ErrorCorrectionLevel::0000-L +com.microsoft.graph.models.ErrorCorrectionLevel::0001-M +com.microsoft.graph.models.ErrorCorrectionLevel::0002-Q +com.microsoft.graph.models.ErrorCorrectionLevel::0003-H +com.microsoft.graph.models.ErrorCorrectionLevel::0004-UnknownFutureValue com.microsoft.graph.models.Event-->OutlookItem com.microsoft.graph.models.Event::|public|constructor():void com.microsoft.graph.models.Event::|public|getAllowNewTimeProposals():Boolean @@ -128209,6 +128753,21 @@ com.microsoft.graph.models.externalconnectors.ConnectionState::0001-Ready com.microsoft.graph.models.externalconnectors.ConnectionState::0002-Obsolete com.microsoft.graph.models.externalconnectors.ConnectionState::0003-LimitExceeded com.microsoft.graph.models.externalconnectors.ConnectionState::0004-UnknownFutureValue +com.microsoft.graph.models.externalconnectors.ContentCategory::0000-Uncategorized +com.microsoft.graph.models.externalconnectors.ContentCategory::0001-KnowledgeBase +com.microsoft.graph.models.externalconnectors.ContentCategory::0002-Wikis +com.microsoft.graph.models.externalconnectors.ContentCategory::0003-FileRepository +com.microsoft.graph.models.externalconnectors.ContentCategory::0004-Qna +com.microsoft.graph.models.externalconnectors.ContentCategory::0005-Crm +com.microsoft.graph.models.externalconnectors.ContentCategory::0006-Dashboard +com.microsoft.graph.models.externalconnectors.ContentCategory::0007-People +com.microsoft.graph.models.externalconnectors.ContentCategory::0008-Media +com.microsoft.graph.models.externalconnectors.ContentCategory::0009-Email +com.microsoft.graph.models.externalconnectors.ContentCategory::0010-Messaging +com.microsoft.graph.models.externalconnectors.ContentCategory::0011-MeetingTranscripts +com.microsoft.graph.models.externalconnectors.ContentCategory::0012-TaskManagement +com.microsoft.graph.models.externalconnectors.ContentCategory::0013-LearningManagement +com.microsoft.graph.models.externalconnectors.ContentCategory::0014-UnknownFutureValue com.microsoft.graph.models.externalconnectors.DisplayTemplate::|protected|backingStore:BackingStore com.microsoft.graph.models.externalconnectors.DisplayTemplate::|public|constructor():void com.microsoft.graph.models.externalconnectors.DisplayTemplate::|public|getAdditionalData():Map @@ -128279,6 +128838,7 @@ com.microsoft.graph.models.externalconnectors.ExternalConnection::|public|constr com.microsoft.graph.models.externalconnectors.ExternalConnection::|public|getActivitySettings():ActivitySettings com.microsoft.graph.models.externalconnectors.ExternalConnection::|public|getConfiguration():Configuration com.microsoft.graph.models.externalconnectors.ExternalConnection::|public|getConnectorId():String +com.microsoft.graph.models.externalconnectors.ExternalConnection::|public|getContentCategory():ContentCategory com.microsoft.graph.models.externalconnectors.ExternalConnection::|public|getDescription():String com.microsoft.graph.models.externalconnectors.ExternalConnection::|public|getFieldDeserializers():Map> com.microsoft.graph.models.externalconnectors.ExternalConnection::|public|getGroups():java.util.List @@ -128293,6 +128853,7 @@ com.microsoft.graph.models.externalconnectors.ExternalConnection::|public|serial com.microsoft.graph.models.externalconnectors.ExternalConnection::|public|setActivitySettings(value?:ActivitySettings):void com.microsoft.graph.models.externalconnectors.ExternalConnection::|public|setConfiguration(value?:Configuration):void com.microsoft.graph.models.externalconnectors.ExternalConnection::|public|setConnectorId(value?:String):void +com.microsoft.graph.models.externalconnectors.ExternalConnection::|public|setContentCategory(value?:ContentCategory):void com.microsoft.graph.models.externalconnectors.ExternalConnection::|public|setDescription(value?:String):void com.microsoft.graph.models.externalconnectors.ExternalConnection::|public|setGroups(value?:java.util.List):void com.microsoft.graph.models.externalconnectors.ExternalConnection::|public|setItems(value?:java.util.List):void @@ -128408,7 +128969,45 @@ com.microsoft.graph.models.externalconnectors.Label::0006-LastModifiedDateTime com.microsoft.graph.models.externalconnectors.Label::0007-FileName com.microsoft.graph.models.externalconnectors.Label::0008-FileExtension com.microsoft.graph.models.externalconnectors.Label::0009-UnknownFutureValue -com.microsoft.graph.models.externalconnectors.Label::0010-IconUrl +com.microsoft.graph.models.externalconnectors.Label::0010-ContainerName +com.microsoft.graph.models.externalconnectors.Label::0011-ContainerUrl +com.microsoft.graph.models.externalconnectors.Label::0012-IconUrl +com.microsoft.graph.models.externalconnectors.Label::0013-AssignedToPeople +com.microsoft.graph.models.externalconnectors.Label::0014-ClosedBy +com.microsoft.graph.models.externalconnectors.Label::0015-ClosedDate +com.microsoft.graph.models.externalconnectors.Label::0016-Priority +com.microsoft.graph.models.externalconnectors.Label::0017-SprintName +com.microsoft.graph.models.externalconnectors.Label::0018-Tags +com.microsoft.graph.models.externalconnectors.Label::0019-Severity +com.microsoft.graph.models.externalconnectors.Label::0020-State +com.microsoft.graph.models.externalconnectors.Label::0021-DueDate +com.microsoft.graph.models.externalconnectors.Label::0022-ItemParentId +com.microsoft.graph.models.externalconnectors.Label::0023-ItemPath +com.microsoft.graph.models.externalconnectors.Label::0024-ItemType +com.microsoft.graph.models.externalconnectors.Label::0025-NumberOfReactions +com.microsoft.graph.models.externalconnectors.Label::0026-ParentUrl +com.microsoft.graph.models.externalconnectors.Label::0027-PriorityNormalized +com.microsoft.graph.models.externalconnectors.Label::0028-ReportedBy +com.microsoft.graph.models.externalconnectors.Label::0029-SecondaryId +com.microsoft.graph.models.externalconnectors.Label::0030-PersonEmails +com.microsoft.graph.models.externalconnectors.Label::0031-PersonAddresses +com.microsoft.graph.models.externalconnectors.Label::0032-PersonAnniversaries +com.microsoft.graph.models.externalconnectors.Label::0033-PersonName +com.microsoft.graph.models.externalconnectors.Label::0034-PersonNote +com.microsoft.graph.models.externalconnectors.Label::0035-PersonPhones +com.microsoft.graph.models.externalconnectors.Label::0036-PersonCurrentPosition +com.microsoft.graph.models.externalconnectors.Label::0037-PersonWebAccounts +com.microsoft.graph.models.externalconnectors.Label::0038-PersonWebSite +com.microsoft.graph.models.externalconnectors.Label::0039-PersonSkills +com.microsoft.graph.models.externalconnectors.Label::0040-PersonProjects +com.microsoft.graph.models.externalconnectors.Label::0041-PersonAccount +com.microsoft.graph.models.externalconnectors.Label::0042-PersonAwards +com.microsoft.graph.models.externalconnectors.Label::0043-PersonCertifications +com.microsoft.graph.models.externalconnectors.Label::0044-PersonAssistants +com.microsoft.graph.models.externalconnectors.Label::0045-PersonColleagues +com.microsoft.graph.models.externalconnectors.Label::0046-PersonManager +com.microsoft.graph.models.externalconnectors.Label::0047-PersonAlternateContacts +com.microsoft.graph.models.externalconnectors.Label::0048-PersonEmergencyContacts com.microsoft.graph.models.externalconnectors.Properties::|protected|backingStore:BackingStore com.microsoft.graph.models.externalconnectors.Properties::|public|constructor():void com.microsoft.graph.models.externalconnectors.Properties::|public|getAdditionalData():Map @@ -128426,6 +129025,7 @@ com.microsoft.graph.models.externalconnectors.Property::|public|constructor():vo com.microsoft.graph.models.externalconnectors.Property::|public|getAdditionalData():Map com.microsoft.graph.models.externalconnectors.Property::|public|getAliases():java.util.List com.microsoft.graph.models.externalconnectors.Property::|public|getBackingStore():BackingStore +com.microsoft.graph.models.externalconnectors.Property::|public|getDescription():String com.microsoft.graph.models.externalconnectors.Property::|public|getFieldDeserializers():Map> com.microsoft.graph.models.externalconnectors.Property::|public|getIsQueryable():Boolean com.microsoft.graph.models.externalconnectors.Property::|public|getIsRefinable():Boolean @@ -128439,6 +129039,7 @@ com.microsoft.graph.models.externalconnectors.Property::|public|serialize(writer com.microsoft.graph.models.externalconnectors.Property::|public|setAdditionalData(value?:Map):void com.microsoft.graph.models.externalconnectors.Property::|public|setAliases(value?:java.util.List):void com.microsoft.graph.models.externalconnectors.Property::|public|setBackingStore(value:BackingStore):void +com.microsoft.graph.models.externalconnectors.Property::|public|setDescription(value?:String):void com.microsoft.graph.models.externalconnectors.Property::|public|setIsQueryable(value?:Boolean):void com.microsoft.graph.models.externalconnectors.Property::|public|setIsRefinable(value?:Boolean):void com.microsoft.graph.models.externalconnectors.Property::|public|setIsRetrievable(value?:Boolean):void @@ -128478,6 +129079,8 @@ com.microsoft.graph.models.externalconnectors.PropertyType::0006-Int64Collection com.microsoft.graph.models.externalconnectors.PropertyType::0007-DoubleCollection com.microsoft.graph.models.externalconnectors.PropertyType::0008-DateTimeCollection com.microsoft.graph.models.externalconnectors.PropertyType::0009-UnknownFutureValue +com.microsoft.graph.models.externalconnectors.PropertyType::0010-Principal +com.microsoft.graph.models.externalconnectors.PropertyType::0011-PrincipalCollection com.microsoft.graph.models.externalconnectors.Property~~>AdditionalDataHolder; BackedModel; Parsable com.microsoft.graph.models.externalconnectors.RuleOperation::0000-Null com.microsoft.graph.models.externalconnectors.RuleOperation::0001-Equals @@ -128912,6 +129515,7 @@ com.microsoft.graph.models.FileStorageContainer::|public|getMigrationJobs():java com.microsoft.graph.models.FileStorageContainer::|public|getPermissions():java.util.List com.microsoft.graph.models.FileStorageContainer::|public|getRecycleBin():RecycleBin com.microsoft.graph.models.FileStorageContainer::|public|getSettings():FileStorageContainerSettings +com.microsoft.graph.models.FileStorageContainer::|public|getSharePointGroups():java.util.List com.microsoft.graph.models.FileStorageContainer::|public|getStatus():FileStorageContainerStatus com.microsoft.graph.models.FileStorageContainer::|public|getViewpoint():FileStorageContainerViewpoint com.microsoft.graph.models.FileStorageContainer::|public|OdataType:String @@ -128929,6 +129533,7 @@ com.microsoft.graph.models.FileStorageContainer::|public|setMigrationJobs(value? com.microsoft.graph.models.FileStorageContainer::|public|setPermissions(value?:java.util.List):void com.microsoft.graph.models.FileStorageContainer::|public|setRecycleBin(value?:RecycleBin):void com.microsoft.graph.models.FileStorageContainer::|public|setSettings(value?:FileStorageContainerSettings):void +com.microsoft.graph.models.FileStorageContainer::|public|setSharePointGroups(value?:java.util.List):void com.microsoft.graph.models.FileStorageContainer::|public|setStatus(value?:FileStorageContainerStatus):void com.microsoft.graph.models.FileStorageContainer::|public|setViewpoint(value?:FileStorageContainerViewpoint):void com.microsoft.graph.models.FileStorageContainer::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):FileStorageContainer @@ -129583,6 +130188,7 @@ com.microsoft.graph.models.Group::|public|getTransitiveMembers():java.util.List< com.microsoft.graph.models.Group::|public|getUniqueName():String com.microsoft.graph.models.Group::|public|getUnseenCount():Integer com.microsoft.graph.models.Group::|public|getVisibility():String +com.microsoft.graph.models.Group::|public|getWelcomeMessageEnabled():Boolean com.microsoft.graph.models.Group::|public|OdataType:String com.microsoft.graph.models.Group::|public|serialize(writer:SerializationWriter):Void com.microsoft.graph.models.Group::|public|setAcceptedSenders(value?:java.util.List):void @@ -129656,6 +130262,7 @@ com.microsoft.graph.models.Group::|public|setTransitiveMembers(value?:java.util. com.microsoft.graph.models.Group::|public|setUniqueName(value?:String):void com.microsoft.graph.models.Group::|public|setUnseenCount(value?:Integer):void com.microsoft.graph.models.Group::|public|setVisibility(value?:String):void +com.microsoft.graph.models.Group::|public|setWelcomeMessageEnabled(value?:Boolean):void com.microsoft.graph.models.Group::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):Group com.microsoft.graph.models.GroupAssignmentTarget-->DeviceAndAppManagementAssignmentTarget com.microsoft.graph.models.GroupAssignmentTarget::|public|constructor():void @@ -131138,6 +131745,22 @@ com.microsoft.graph.models.IncludedUserTypes::0000-All com.microsoft.graph.models.IncludedUserTypes::0001-Member com.microsoft.graph.models.IncludedUserTypes::0002-Guest com.microsoft.graph.models.IncludedUserTypes::0003-UnknownFutureValue +com.microsoft.graph.models.IncludeTarget::|protected|backingStore:BackingStore +com.microsoft.graph.models.IncludeTarget::|public|constructor():void +com.microsoft.graph.models.IncludeTarget::|public|getAdditionalData():Map +com.microsoft.graph.models.IncludeTarget::|public|getBackingStore():BackingStore +com.microsoft.graph.models.IncludeTarget::|public|getFieldDeserializers():Map> +com.microsoft.graph.models.IncludeTarget::|public|getId():String +com.microsoft.graph.models.IncludeTarget::|public|getOdataType():String +com.microsoft.graph.models.IncludeTarget::|public|getTargetType():AuthenticationMethodTargetType +com.microsoft.graph.models.IncludeTarget::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.models.IncludeTarget::|public|setAdditionalData(value?:Map):void +com.microsoft.graph.models.IncludeTarget::|public|setBackingStore(value:BackingStore):void +com.microsoft.graph.models.IncludeTarget::|public|setId(value?:String):void +com.microsoft.graph.models.IncludeTarget::|public|setOdataType(value?:String):void +com.microsoft.graph.models.IncludeTarget::|public|setTargetType(value?:AuthenticationMethodTargetType):void +com.microsoft.graph.models.IncludeTarget::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):IncludeTarget +com.microsoft.graph.models.IncludeTarget~~>AdditionalDataHolder; BackedModel; Parsable com.microsoft.graph.models.IncomingCallOptions-->CallOptions com.microsoft.graph.models.IncomingCallOptions::|public|constructor():void com.microsoft.graph.models.IncomingCallOptions::|public|getFieldDeserializers():Map> @@ -131248,6 +131871,36 @@ com.microsoft.graph.models.InformationProtection::|public|setOdataType(value?:St com.microsoft.graph.models.InformationProtection::|public|setThreatAssessmentRequests(value?:java.util.List):void com.microsoft.graph.models.InformationProtection::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):InformationProtection com.microsoft.graph.models.InformationProtection~~>AdditionalDataHolder; BackedModel; Parsable +com.microsoft.graph.models.InheritablePermission::|protected|backingStore:BackingStore +com.microsoft.graph.models.InheritablePermission::|public|constructor():void +com.microsoft.graph.models.InheritablePermission::|public|getAdditionalData():Map +com.microsoft.graph.models.InheritablePermission::|public|getBackingStore():BackingStore +com.microsoft.graph.models.InheritablePermission::|public|getFieldDeserializers():Map> +com.microsoft.graph.models.InheritablePermission::|public|getInheritableScopes():InheritableScopes +com.microsoft.graph.models.InheritablePermission::|public|getOdataType():String +com.microsoft.graph.models.InheritablePermission::|public|getResourceAppId():String +com.microsoft.graph.models.InheritablePermission::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.models.InheritablePermission::|public|setAdditionalData(value?:Map):void +com.microsoft.graph.models.InheritablePermission::|public|setBackingStore(value:BackingStore):void +com.microsoft.graph.models.InheritablePermission::|public|setInheritableScopes(value?:InheritableScopes):void +com.microsoft.graph.models.InheritablePermission::|public|setOdataType(value?:String):void +com.microsoft.graph.models.InheritablePermission::|public|setResourceAppId(value?:String):void +com.microsoft.graph.models.InheritablePermission::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):InheritablePermission +com.microsoft.graph.models.InheritablePermission~~>AdditionalDataHolder; BackedModel; Parsable +com.microsoft.graph.models.InheritableScopes::|protected|backingStore:BackingStore +com.microsoft.graph.models.InheritableScopes::|public|constructor():void +com.microsoft.graph.models.InheritableScopes::|public|getAdditionalData():Map +com.microsoft.graph.models.InheritableScopes::|public|getBackingStore():BackingStore +com.microsoft.graph.models.InheritableScopes::|public|getFieldDeserializers():Map> +com.microsoft.graph.models.InheritableScopes::|public|getKind():ScopeCollectionKind +com.microsoft.graph.models.InheritableScopes::|public|getOdataType():String +com.microsoft.graph.models.InheritableScopes::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.models.InheritableScopes::|public|setAdditionalData(value?:Map):void +com.microsoft.graph.models.InheritableScopes::|public|setBackingStore(value:BackingStore):void +com.microsoft.graph.models.InheritableScopes::|public|setKind(value?:ScopeCollectionKind):void +com.microsoft.graph.models.InheritableScopes::|public|setOdataType(value?:String):void +com.microsoft.graph.models.InheritableScopes::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):InheritableScopes +com.microsoft.graph.models.InheritableScopes~~>AdditionalDataHolder; BackedModel; Parsable com.microsoft.graph.models.Initiator-->Identity com.microsoft.graph.models.Initiator::|public|constructor():void com.microsoft.graph.models.Initiator::|public|getFieldDeserializers():Map> @@ -136343,6 +136996,12 @@ com.microsoft.graph.models.NoDeviceRegistrationMembership::|public|getFieldDeser com.microsoft.graph.models.NoDeviceRegistrationMembership::|public|OdataType:String com.microsoft.graph.models.NoDeviceRegistrationMembership::|public|serialize(writer:SerializationWriter):Void com.microsoft.graph.models.NoDeviceRegistrationMembership::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):NoDeviceRegistrationMembership +com.microsoft.graph.models.NoScopes-->InheritableScopes +com.microsoft.graph.models.NoScopes::|public|constructor():void +com.microsoft.graph.models.NoScopes::|public|getFieldDeserializers():Map> +com.microsoft.graph.models.NoScopes::|public|OdataType:String +com.microsoft.graph.models.NoScopes::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.models.NoScopes::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):NoScopes com.microsoft.graph.models.Notebook-->OnenoteEntityHierarchyModel com.microsoft.graph.models.Notebook::|public|constructor():void com.microsoft.graph.models.Notebook::|public|getFieldDeserializers():Map> @@ -139013,11 +139672,13 @@ com.microsoft.graph.models.PeopleAdminSettings::|public|constructor():void com.microsoft.graph.models.PeopleAdminSettings::|public|getFieldDeserializers():Map> com.microsoft.graph.models.PeopleAdminSettings::|public|getItemInsights():InsightsSettings com.microsoft.graph.models.PeopleAdminSettings::|public|getProfileCardProperties():java.util.List +com.microsoft.graph.models.PeopleAdminSettings::|public|getProfileSources():java.util.List com.microsoft.graph.models.PeopleAdminSettings::|public|getPronouns():PronounsSettings com.microsoft.graph.models.PeopleAdminSettings::|public|OdataType:String com.microsoft.graph.models.PeopleAdminSettings::|public|serialize(writer:SerializationWriter):Void com.microsoft.graph.models.PeopleAdminSettings::|public|setItemInsights(value?:InsightsSettings):void com.microsoft.graph.models.PeopleAdminSettings::|public|setProfileCardProperties(value?:java.util.List):void +com.microsoft.graph.models.PeopleAdminSettings::|public|setProfileSources(value?:java.util.List):void com.microsoft.graph.models.PeopleAdminSettings::|public|setPronouns(value?:PronounsSettings):void com.microsoft.graph.models.PeopleAdminSettings::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):PeopleAdminSettings com.microsoft.graph.models.Permission-->Entity @@ -142318,6 +142979,47 @@ com.microsoft.graph.models.ProfilePhotoCollectionResponse::|public|getValue():ja com.microsoft.graph.models.ProfilePhotoCollectionResponse::|public|serialize(writer:SerializationWriter):Void com.microsoft.graph.models.ProfilePhotoCollectionResponse::|public|setValue(value?:java.util.List):void com.microsoft.graph.models.ProfilePhotoCollectionResponse::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):ProfilePhotoCollectionResponse +com.microsoft.graph.models.ProfileSource-->Entity +com.microsoft.graph.models.ProfileSource::|public|constructor():void +com.microsoft.graph.models.ProfileSource::|public|getDisplayName():String +com.microsoft.graph.models.ProfileSource::|public|getFieldDeserializers():Map> +com.microsoft.graph.models.ProfileSource::|public|getKind():String +com.microsoft.graph.models.ProfileSource::|public|getLocalizations():java.util.List +com.microsoft.graph.models.ProfileSource::|public|getSourceId():String +com.microsoft.graph.models.ProfileSource::|public|getWebUrl():String +com.microsoft.graph.models.ProfileSource::|public|OdataType:String +com.microsoft.graph.models.ProfileSource::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.models.ProfileSource::|public|setDisplayName(value?:String):void +com.microsoft.graph.models.ProfileSource::|public|setKind(value?:String):void +com.microsoft.graph.models.ProfileSource::|public|setLocalizations(value?:java.util.List):void +com.microsoft.graph.models.ProfileSource::|public|setSourceId(value?:String):void +com.microsoft.graph.models.ProfileSource::|public|setWebUrl(value?:String):void +com.microsoft.graph.models.ProfileSource::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):ProfileSource +com.microsoft.graph.models.ProfileSourceCollectionResponse-->BaseCollectionPaginationCountResponse +com.microsoft.graph.models.ProfileSourceCollectionResponse::|public|constructor():void +com.microsoft.graph.models.ProfileSourceCollectionResponse::|public|getFieldDeserializers():Map> +com.microsoft.graph.models.ProfileSourceCollectionResponse::|public|getValue():java.util.List +com.microsoft.graph.models.ProfileSourceCollectionResponse::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.models.ProfileSourceCollectionResponse::|public|setValue(value?:java.util.List):void +com.microsoft.graph.models.ProfileSourceCollectionResponse::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):ProfileSourceCollectionResponse +com.microsoft.graph.models.ProfileSourceLocalization::|protected|backingStore:BackingStore +com.microsoft.graph.models.ProfileSourceLocalization::|public|constructor():void +com.microsoft.graph.models.ProfileSourceLocalization::|public|getAdditionalData():Map +com.microsoft.graph.models.ProfileSourceLocalization::|public|getBackingStore():BackingStore +com.microsoft.graph.models.ProfileSourceLocalization::|public|getDisplayName():String +com.microsoft.graph.models.ProfileSourceLocalization::|public|getFieldDeserializers():Map> +com.microsoft.graph.models.ProfileSourceLocalization::|public|getLanguageTag():String +com.microsoft.graph.models.ProfileSourceLocalization::|public|getOdataType():String +com.microsoft.graph.models.ProfileSourceLocalization::|public|getWebUrl():String +com.microsoft.graph.models.ProfileSourceLocalization::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.models.ProfileSourceLocalization::|public|setAdditionalData(value?:Map):void +com.microsoft.graph.models.ProfileSourceLocalization::|public|setBackingStore(value:BackingStore):void +com.microsoft.graph.models.ProfileSourceLocalization::|public|setDisplayName(value?:String):void +com.microsoft.graph.models.ProfileSourceLocalization::|public|setLanguageTag(value?:String):void +com.microsoft.graph.models.ProfileSourceLocalization::|public|setOdataType(value?:String):void +com.microsoft.graph.models.ProfileSourceLocalization::|public|setWebUrl(value?:String):void +com.microsoft.graph.models.ProfileSourceLocalization::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):ProfileSourceLocalization +com.microsoft.graph.models.ProfileSourceLocalization~~>AdditionalDataHolder; BackedModel; Parsable com.microsoft.graph.models.Prompt::|protected|backingStore:BackingStore com.microsoft.graph.models.Prompt::|public|constructor():void com.microsoft.graph.models.Prompt::|public|getAdditionalData():Map @@ -142823,6 +143525,80 @@ com.microsoft.graph.models.PublicKeyInfrastructureRoot::|public|OdataType:String com.microsoft.graph.models.PublicKeyInfrastructureRoot::|public|serialize(writer:SerializationWriter):Void com.microsoft.graph.models.PublicKeyInfrastructureRoot::|public|setCertificateBasedAuthConfigurations(value?:java.util.List):void com.microsoft.graph.models.PublicKeyInfrastructureRoot::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):PublicKeyInfrastructureRoot +com.microsoft.graph.models.QrCode-->Entity +com.microsoft.graph.models.QrCode::|public|constructor():void +com.microsoft.graph.models.QrCode::|public|getCreatedDateTime():OffsetDateTime +com.microsoft.graph.models.QrCode::|public|getExpireDateTime():OffsetDateTime +com.microsoft.graph.models.QrCode::|public|getFieldDeserializers():Map> +com.microsoft.graph.models.QrCode::|public|getImage():QrCodeImageDetails +com.microsoft.graph.models.QrCode::|public|getLastUsedDateTime():OffsetDateTime +com.microsoft.graph.models.QrCode::|public|getStartDateTime():OffsetDateTime +com.microsoft.graph.models.QrCode::|public|OdataType:String +com.microsoft.graph.models.QrCode::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.models.QrCode::|public|setCreatedDateTime(value?:OffsetDateTime):void +com.microsoft.graph.models.QrCode::|public|setExpireDateTime(value?:OffsetDateTime):void +com.microsoft.graph.models.QrCode::|public|setImage(value?:QrCodeImageDetails):void +com.microsoft.graph.models.QrCode::|public|setLastUsedDateTime(value?:OffsetDateTime):void +com.microsoft.graph.models.QrCode::|public|setStartDateTime(value?:OffsetDateTime):void +com.microsoft.graph.models.QrCode::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):QrCode +com.microsoft.graph.models.QrCodeImageDetails::|protected|backingStore:BackingStore +com.microsoft.graph.models.QrCodeImageDetails::|public|constructor():void +com.microsoft.graph.models.QrCodeImageDetails::|public|getAdditionalData():Map +com.microsoft.graph.models.QrCodeImageDetails::|public|getBackingStore():BackingStore +com.microsoft.graph.models.QrCodeImageDetails::|public|getBinaryValue():byte[] +com.microsoft.graph.models.QrCodeImageDetails::|public|getErrorCorrectionLevel():ErrorCorrectionLevel +com.microsoft.graph.models.QrCodeImageDetails::|public|getFieldDeserializers():Map> +com.microsoft.graph.models.QrCodeImageDetails::|public|getOdataType():String +com.microsoft.graph.models.QrCodeImageDetails::|public|getRawContent():byte[] +com.microsoft.graph.models.QrCodeImageDetails::|public|getVersion():Integer +com.microsoft.graph.models.QrCodeImageDetails::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.models.QrCodeImageDetails::|public|setAdditionalData(value?:Map):void +com.microsoft.graph.models.QrCodeImageDetails::|public|setBackingStore(value:BackingStore):void +com.microsoft.graph.models.QrCodeImageDetails::|public|setBinaryValue(value?:byte[]):void +com.microsoft.graph.models.QrCodeImageDetails::|public|setErrorCorrectionLevel(value?:ErrorCorrectionLevel):void +com.microsoft.graph.models.QrCodeImageDetails::|public|setOdataType(value?:String):void +com.microsoft.graph.models.QrCodeImageDetails::|public|setRawContent(value?:byte[]):void +com.microsoft.graph.models.QrCodeImageDetails::|public|setVersion(value?:Integer):void +com.microsoft.graph.models.QrCodeImageDetails::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):QrCodeImageDetails +com.microsoft.graph.models.QrCodeImageDetails~~>AdditionalDataHolder; BackedModel; Parsable +com.microsoft.graph.models.QrCodePinAuthenticationMethod-->AuthenticationMethod +com.microsoft.graph.models.QrCodePinAuthenticationMethod::|public|constructor():void +com.microsoft.graph.models.QrCodePinAuthenticationMethod::|public|getFieldDeserializers():Map> +com.microsoft.graph.models.QrCodePinAuthenticationMethod::|public|getPin():QrPin +com.microsoft.graph.models.QrCodePinAuthenticationMethod::|public|getStandardQRCode():QrCode +com.microsoft.graph.models.QrCodePinAuthenticationMethod::|public|getTemporaryQRCode():QrCode +com.microsoft.graph.models.QrCodePinAuthenticationMethod::|public|OdataType:String +com.microsoft.graph.models.QrCodePinAuthenticationMethod::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.models.QrCodePinAuthenticationMethod::|public|setPin(value?:QrPin):void +com.microsoft.graph.models.QrCodePinAuthenticationMethod::|public|setStandardQRCode(value?:QrCode):void +com.microsoft.graph.models.QrCodePinAuthenticationMethod::|public|setTemporaryQRCode(value?:QrCode):void +com.microsoft.graph.models.QrCodePinAuthenticationMethod::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):QrCodePinAuthenticationMethod +com.microsoft.graph.models.QrCodePinAuthenticationMethodConfiguration-->AuthenticationMethodConfiguration +com.microsoft.graph.models.QrCodePinAuthenticationMethodConfiguration::|public|constructor():void +com.microsoft.graph.models.QrCodePinAuthenticationMethodConfiguration::|public|getFieldDeserializers():Map> +com.microsoft.graph.models.QrCodePinAuthenticationMethodConfiguration::|public|getIncludeTargets():java.util.List +com.microsoft.graph.models.QrCodePinAuthenticationMethodConfiguration::|public|getPinLength():Integer +com.microsoft.graph.models.QrCodePinAuthenticationMethodConfiguration::|public|getStandardQRCodeLifetimeInDays():Integer +com.microsoft.graph.models.QrCodePinAuthenticationMethodConfiguration::|public|OdataType:String +com.microsoft.graph.models.QrCodePinAuthenticationMethodConfiguration::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.models.QrCodePinAuthenticationMethodConfiguration::|public|setIncludeTargets(value?:java.util.List):void +com.microsoft.graph.models.QrCodePinAuthenticationMethodConfiguration::|public|setPinLength(value?:Integer):void +com.microsoft.graph.models.QrCodePinAuthenticationMethodConfiguration::|public|setStandardQRCodeLifetimeInDays(value?:Integer):void +com.microsoft.graph.models.QrCodePinAuthenticationMethodConfiguration::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):QrCodePinAuthenticationMethodConfiguration +com.microsoft.graph.models.QrPin-->Entity +com.microsoft.graph.models.QrPin::|public|constructor():void +com.microsoft.graph.models.QrPin::|public|getCode():String +com.microsoft.graph.models.QrPin::|public|getCreatedDateTime():OffsetDateTime +com.microsoft.graph.models.QrPin::|public|getFieldDeserializers():Map> +com.microsoft.graph.models.QrPin::|public|getForceChangePinNextSignIn():Boolean +com.microsoft.graph.models.QrPin::|public|getUpdatedDateTime():OffsetDateTime +com.microsoft.graph.models.QrPin::|public|OdataType:String +com.microsoft.graph.models.QrPin::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.models.QrPin::|public|setCode(value?:String):void +com.microsoft.graph.models.QrPin::|public|setCreatedDateTime(value?:OffsetDateTime):void +com.microsoft.graph.models.QrPin::|public|setForceChangePinNextSignIn(value?:Boolean):void +com.microsoft.graph.models.QrPin::|public|setUpdatedDateTime(value?:OffsetDateTime):void +com.microsoft.graph.models.QrPin::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):QrPin com.microsoft.graph.models.QuarantineReason::0000-EncounteredBaseEscrowThreshold com.microsoft.graph.models.QuarantineReason::0001-EncounteredTotalEscrowThreshold com.microsoft.graph.models.QuarantineReason::0002-EncounteredEscrowProportionThreshold @@ -145214,6 +145990,11 @@ com.microsoft.graph.models.ScopeBase::|public|setIdentity(value?:String):void com.microsoft.graph.models.ScopeBase::|public|setOdataType(value?:String):void com.microsoft.graph.models.ScopeBase::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):ScopeBase com.microsoft.graph.models.ScopeBase~~>AdditionalDataHolder; BackedModel; Parsable +com.microsoft.graph.models.ScopeCollectionKind::0000-AllAllowed +com.microsoft.graph.models.ScopeCollectionKind::0001-Enumerated +com.microsoft.graph.models.ScopeCollectionKind::0002-None +com.microsoft.graph.models.ScopeCollectionKind::0003-ScopeKindNotSet +com.microsoft.graph.models.ScopeCollectionKind::0004-UnknownFutureValue com.microsoft.graph.models.ScopedRoleMembership-->Entity com.microsoft.graph.models.ScopedRoleMembership::|public|constructor():void com.microsoft.graph.models.ScopedRoleMembership::|public|getAdministrativeUnitId():String @@ -150795,6 +151576,52 @@ com.microsoft.graph.models.Sharepoint::|public|OdataType:String com.microsoft.graph.models.Sharepoint::|public|serialize(writer:SerializationWriter):Void com.microsoft.graph.models.Sharepoint::|public|setSettings(value?:SharepointSettings):void com.microsoft.graph.models.Sharepoint::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):Sharepoint +com.microsoft.graph.models.SharePointGroup-->Entity +com.microsoft.graph.models.SharePointGroup::|public|constructor():void +com.microsoft.graph.models.SharePointGroup::|public|getDescription():String +com.microsoft.graph.models.SharePointGroup::|public|getFieldDeserializers():Map> +com.microsoft.graph.models.SharePointGroup::|public|getMembers():java.util.List +com.microsoft.graph.models.SharePointGroup::|public|getPrincipalId():String +com.microsoft.graph.models.SharePointGroup::|public|getTitle():String +com.microsoft.graph.models.SharePointGroup::|public|OdataType:String +com.microsoft.graph.models.SharePointGroup::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.models.SharePointGroup::|public|setDescription(value?:String):void +com.microsoft.graph.models.SharePointGroup::|public|setMembers(value?:java.util.List):void +com.microsoft.graph.models.SharePointGroup::|public|setPrincipalId(value?:String):void +com.microsoft.graph.models.SharePointGroup::|public|setTitle(value?:String):void +com.microsoft.graph.models.SharePointGroup::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):SharePointGroup +com.microsoft.graph.models.SharePointGroupCollectionResponse-->BaseCollectionPaginationCountResponse +com.microsoft.graph.models.SharePointGroupCollectionResponse::|public|constructor():void +com.microsoft.graph.models.SharePointGroupCollectionResponse::|public|getFieldDeserializers():Map> +com.microsoft.graph.models.SharePointGroupCollectionResponse::|public|getValue():java.util.List +com.microsoft.graph.models.SharePointGroupCollectionResponse::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.models.SharePointGroupCollectionResponse::|public|setValue(value?:java.util.List):void +com.microsoft.graph.models.SharePointGroupCollectionResponse::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):SharePointGroupCollectionResponse +com.microsoft.graph.models.SharePointGroupIdentity-->Identity +com.microsoft.graph.models.SharePointGroupIdentity::|public|constructor():void +com.microsoft.graph.models.SharePointGroupIdentity::|public|getFieldDeserializers():Map> +com.microsoft.graph.models.SharePointGroupIdentity::|public|getPrincipalId():String +com.microsoft.graph.models.SharePointGroupIdentity::|public|getTitle():String +com.microsoft.graph.models.SharePointGroupIdentity::|public|OdataType:String +com.microsoft.graph.models.SharePointGroupIdentity::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.models.SharePointGroupIdentity::|public|setPrincipalId(value?:String):void +com.microsoft.graph.models.SharePointGroupIdentity::|public|setTitle(value?:String):void +com.microsoft.graph.models.SharePointGroupIdentity::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):SharePointGroupIdentity +com.microsoft.graph.models.SharePointGroupMember-->Entity +com.microsoft.graph.models.SharePointGroupMember::|public|constructor():void +com.microsoft.graph.models.SharePointGroupMember::|public|getFieldDeserializers():Map> +com.microsoft.graph.models.SharePointGroupMember::|public|getIdentity():SharePointIdentitySet +com.microsoft.graph.models.SharePointGroupMember::|public|OdataType:String +com.microsoft.graph.models.SharePointGroupMember::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.models.SharePointGroupMember::|public|setIdentity(value?:SharePointIdentitySet):void +com.microsoft.graph.models.SharePointGroupMember::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):SharePointGroupMember +com.microsoft.graph.models.SharePointGroupMemberCollectionResponse-->BaseCollectionPaginationCountResponse +com.microsoft.graph.models.SharePointGroupMemberCollectionResponse::|public|constructor():void +com.microsoft.graph.models.SharePointGroupMemberCollectionResponse::|public|getFieldDeserializers():Map> +com.microsoft.graph.models.SharePointGroupMemberCollectionResponse::|public|getValue():java.util.List +com.microsoft.graph.models.SharePointGroupMemberCollectionResponse::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.models.SharePointGroupMemberCollectionResponse::|public|setValue(value?:java.util.List):void +com.microsoft.graph.models.SharePointGroupMemberCollectionResponse::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):SharePointGroupMemberCollectionResponse com.microsoft.graph.models.SharePointIdentity-->Identity com.microsoft.graph.models.SharePointIdentity::|public|constructor():void com.microsoft.graph.models.SharePointIdentity::|public|getFieldDeserializers():Map> @@ -150807,11 +151634,13 @@ com.microsoft.graph.models.SharePointIdentitySet-->IdentitySet com.microsoft.graph.models.SharePointIdentitySet::|public|constructor():void com.microsoft.graph.models.SharePointIdentitySet::|public|getFieldDeserializers():Map> com.microsoft.graph.models.SharePointIdentitySet::|public|getGroup():Identity +com.microsoft.graph.models.SharePointIdentitySet::|public|getSharePointGroup():SharePointGroupIdentity com.microsoft.graph.models.SharePointIdentitySet::|public|getSiteGroup():SharePointIdentity com.microsoft.graph.models.SharePointIdentitySet::|public|getSiteUser():SharePointIdentity com.microsoft.graph.models.SharePointIdentitySet::|public|OdataType:String com.microsoft.graph.models.SharePointIdentitySet::|public|serialize(writer:SerializationWriter):Void com.microsoft.graph.models.SharePointIdentitySet::|public|setGroup(value?:Identity):void +com.microsoft.graph.models.SharePointIdentitySet::|public|setSharePointGroup(value?:SharePointGroupIdentity):void com.microsoft.graph.models.SharePointIdentitySet::|public|setSiteGroup(value?:SharePointIdentity):void com.microsoft.graph.models.SharePointIdentitySet::|public|setSiteUser(value?:SharePointIdentity):void com.microsoft.graph.models.SharePointIdentitySet::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):SharePointIdentitySet @@ -153606,6 +154435,12 @@ com.microsoft.graph.models.teamsadministration.AccountType::0003-SfbOnPremUser com.microsoft.graph.models.teamsadministration.AccountType::0004-Unknown com.microsoft.graph.models.teamsadministration.AccountType::0005-UnknownFutureValue com.microsoft.graph.models.teamsadministration.AccountType::0006-IneligibleUser +com.microsoft.graph.models.teamsadministration.ActivationState::0000-Activated +com.microsoft.graph.models.teamsadministration.ActivationState::0001-AssignmentPending +com.microsoft.graph.models.teamsadministration.ActivationState::0002-AssignmentFailed +com.microsoft.graph.models.teamsadministration.ActivationState::0003-UpdatePending +com.microsoft.graph.models.teamsadministration.ActivationState::0004-UpdateFailed +com.microsoft.graph.models.teamsadministration.ActivationState::0005-UnknownFutureValue com.microsoft.graph.models.teamsadministration.AssignedTelephoneNumber::|protected|backingStore:BackingStore com.microsoft.graph.models.teamsadministration.AssignedTelephoneNumber::|public|constructor():void com.microsoft.graph.models.teamsadministration.AssignedTelephoneNumber::|public|getAdditionalData():Map @@ -153626,9 +154461,20 @@ com.microsoft.graph.models.teamsadministration.AssignmentCategory::0000-Primary com.microsoft.graph.models.teamsadministration.AssignmentCategory::0001-Private com.microsoft.graph.models.teamsadministration.AssignmentCategory::0002-Alternate com.microsoft.graph.models.teamsadministration.AssignmentCategory::0003-UnknownFutureValue +com.microsoft.graph.models.teamsadministration.AssignmentStatus::0000-Unassigned +com.microsoft.graph.models.teamsadministration.AssignmentStatus::0001-InternalError +com.microsoft.graph.models.teamsadministration.AssignmentStatus::0002-UserAssigned +com.microsoft.graph.models.teamsadministration.AssignmentStatus::0003-ConferenceAssigned +com.microsoft.graph.models.teamsadministration.AssignmentStatus::0004-VoiceApplicationAssigned +com.microsoft.graph.models.teamsadministration.AssignmentStatus::0005-ThirdPartyAppAssigned +com.microsoft.graph.models.teamsadministration.AssignmentStatus::0006-PolicyAssigned +com.microsoft.graph.models.teamsadministration.AssignmentStatus::0007-UnknownFutureValue com.microsoft.graph.models.teamsadministration.AssignmentType::0000-Direct com.microsoft.graph.models.teamsadministration.AssignmentType::0001-Group com.microsoft.graph.models.teamsadministration.AssignmentType::0002-UnknownFutureValue +com.microsoft.graph.models.teamsadministration.CustomerAction::0000-LocationUpdate +com.microsoft.graph.models.teamsadministration.CustomerAction::0001-Release +com.microsoft.graph.models.teamsadministration.CustomerAction::0002-UnknownFutureValue com.microsoft.graph.models.teamsadministration.EffectivePolicyAssignment::|protected|backingStore:BackingStore com.microsoft.graph.models.teamsadministration.EffectivePolicyAssignment::|public|constructor():void com.microsoft.graph.models.teamsadministration.EffectivePolicyAssignment::|public|getAdditionalData():Map @@ -153645,6 +154491,66 @@ com.microsoft.graph.models.teamsadministration.EffectivePolicyAssignment::|publi com.microsoft.graph.models.teamsadministration.EffectivePolicyAssignment::|public|setPolicyType(value?:String):void com.microsoft.graph.models.teamsadministration.EffectivePolicyAssignment::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):EffectivePolicyAssignment com.microsoft.graph.models.teamsadministration.EffectivePolicyAssignment~~>AdditionalDataHolder; BackedModel; Parsable +com.microsoft.graph.models.teamsadministration.NumberAssignment-->Entity +com.microsoft.graph.models.teamsadministration.NumberAssignment::|public|constructor():void +com.microsoft.graph.models.teamsadministration.NumberAssignment::|public|getActivationState():ActivationState +com.microsoft.graph.models.teamsadministration.NumberAssignment::|public|getAssignmentCategory():AssignmentCategory +com.microsoft.graph.models.teamsadministration.NumberAssignment::|public|getAssignmentStatus():AssignmentStatus +com.microsoft.graph.models.teamsadministration.NumberAssignment::|public|getAssignmentTargetId():String +com.microsoft.graph.models.teamsadministration.NumberAssignment::|public|getCapabilities():java.util.List +com.microsoft.graph.models.teamsadministration.NumberAssignment::|public|getCity():String +com.microsoft.graph.models.teamsadministration.NumberAssignment::|public|getCivicAddressId():String +com.microsoft.graph.models.teamsadministration.NumberAssignment::|public|getFieldDeserializers():Map> +com.microsoft.graph.models.teamsadministration.NumberAssignment::|public|getIsoCountryCode():String +com.microsoft.graph.models.teamsadministration.NumberAssignment::|public|getLocationId():String +com.microsoft.graph.models.teamsadministration.NumberAssignment::|public|getNetworkSiteId():String +com.microsoft.graph.models.teamsadministration.NumberAssignment::|public|getNumberSource():NumberSource +com.microsoft.graph.models.teamsadministration.NumberAssignment::|public|getNumberType():NumberType +com.microsoft.graph.models.teamsadministration.NumberAssignment::|public|getOperatorId():String +com.microsoft.graph.models.teamsadministration.NumberAssignment::|public|getPortInStatus():PortInStatus +com.microsoft.graph.models.teamsadministration.NumberAssignment::|public|getReverseNumberLookupOptions():java.util.List +com.microsoft.graph.models.teamsadministration.NumberAssignment::|public|getSupportedCustomerActions():java.util.List +com.microsoft.graph.models.teamsadministration.NumberAssignment::|public|getTelephoneNumber():String +com.microsoft.graph.models.teamsadministration.NumberAssignment::|public|OdataType:String +com.microsoft.graph.models.teamsadministration.NumberAssignment::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.models.teamsadministration.NumberAssignment::|public|setActivationState(value?:ActivationState):void +com.microsoft.graph.models.teamsadministration.NumberAssignment::|public|setAssignmentCategory(value?:AssignmentCategory):void +com.microsoft.graph.models.teamsadministration.NumberAssignment::|public|setAssignmentStatus(value?:AssignmentStatus):void +com.microsoft.graph.models.teamsadministration.NumberAssignment::|public|setAssignmentTargetId(value?:String):void +com.microsoft.graph.models.teamsadministration.NumberAssignment::|public|setCapabilities(value?:java.util.List):void +com.microsoft.graph.models.teamsadministration.NumberAssignment::|public|setCity(value?:String):void +com.microsoft.graph.models.teamsadministration.NumberAssignment::|public|setCivicAddressId(value?:String):void +com.microsoft.graph.models.teamsadministration.NumberAssignment::|public|setIsoCountryCode(value?:String):void +com.microsoft.graph.models.teamsadministration.NumberAssignment::|public|setLocationId(value?:String):void +com.microsoft.graph.models.teamsadministration.NumberAssignment::|public|setNetworkSiteId(value?:String):void +com.microsoft.graph.models.teamsadministration.NumberAssignment::|public|setNumberSource(value?:NumberSource):void +com.microsoft.graph.models.teamsadministration.NumberAssignment::|public|setNumberType(value?:NumberType):void +com.microsoft.graph.models.teamsadministration.NumberAssignment::|public|setOperatorId(value?:String):void +com.microsoft.graph.models.teamsadministration.NumberAssignment::|public|setPortInStatus(value?:PortInStatus):void +com.microsoft.graph.models.teamsadministration.NumberAssignment::|public|setReverseNumberLookupOptions(value?:java.util.List):void +com.microsoft.graph.models.teamsadministration.NumberAssignment::|public|setSupportedCustomerActions(value?:java.util.List):void +com.microsoft.graph.models.teamsadministration.NumberAssignment::|public|setTelephoneNumber(value?:String):void +com.microsoft.graph.models.teamsadministration.NumberAssignment::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):NumberAssignment +com.microsoft.graph.models.teamsadministration.NumberAssignmentCollectionResponse-->BaseCollectionPaginationCountResponse +com.microsoft.graph.models.teamsadministration.NumberAssignmentCollectionResponse::|public|constructor():void +com.microsoft.graph.models.teamsadministration.NumberAssignmentCollectionResponse::|public|getFieldDeserializers():Map> +com.microsoft.graph.models.teamsadministration.NumberAssignmentCollectionResponse::|public|getValue():java.util.List +com.microsoft.graph.models.teamsadministration.NumberAssignmentCollectionResponse::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.models.teamsadministration.NumberAssignmentCollectionResponse::|public|setValue(value?:java.util.List):void +com.microsoft.graph.models.teamsadministration.NumberAssignmentCollectionResponse::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):NumberAssignmentCollectionResponse +com.microsoft.graph.models.teamsadministration.NumberCapability::0000-ConferenceAssignment +com.microsoft.graph.models.teamsadministration.NumberCapability::0001-VoiceApplicationAssignment +com.microsoft.graph.models.teamsadministration.NumberCapability::0002-UserAssignment +com.microsoft.graph.models.teamsadministration.NumberCapability::0003-TeamsPhoneMobile +com.microsoft.graph.models.teamsadministration.NumberCapability::0004-UnknownFutureValue +com.microsoft.graph.models.teamsadministration.NumberSource::0000-Online +com.microsoft.graph.models.teamsadministration.NumberSource::0001-OnPremises +com.microsoft.graph.models.teamsadministration.NumberSource::0002-UnknownFutureValue +com.microsoft.graph.models.teamsadministration.NumberType::0000-InternalError +com.microsoft.graph.models.teamsadministration.NumberType::0001-DirectRouting +com.microsoft.graph.models.teamsadministration.NumberType::0002-CallingPlan +com.microsoft.graph.models.teamsadministration.NumberType::0003-OperatorConnect +com.microsoft.graph.models.teamsadministration.NumberType::0004-UnknownFutureValue com.microsoft.graph.models.teamsadministration.PolicyAssignment::|protected|backingStore:BackingStore com.microsoft.graph.models.teamsadministration.PolicyAssignment::|public|constructor():void com.microsoft.graph.models.teamsadministration.PolicyAssignment::|public|getAdditionalData():Map @@ -153675,14 +154581,21 @@ com.microsoft.graph.models.teamsadministration.PolicyIdentifierDetail::|public|s com.microsoft.graph.models.teamsadministration.PolicyIdentifierDetail::|public|setName(value?:String):void com.microsoft.graph.models.teamsadministration.PolicyIdentifierDetail::|public|setPolicyId(value?:String):void com.microsoft.graph.models.teamsadministration.PolicyIdentifierDetail::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):PolicyIdentifierDetail +com.microsoft.graph.models.teamsadministration.PortInStatus::0000-Completed +com.microsoft.graph.models.teamsadministration.PortInStatus::0001-FirmOrderCommitmentAccepted +com.microsoft.graph.models.teamsadministration.PortInStatus::0002-UnknownFutureValue +com.microsoft.graph.models.teamsadministration.ReverseNumberLookupOption::0000-SkipInternalVoip +com.microsoft.graph.models.teamsadministration.ReverseNumberLookupOption::0001-UnknownFutureValue com.microsoft.graph.models.teamsadministration.TeamsAdminRoot-->Entity com.microsoft.graph.models.teamsadministration.TeamsAdminRoot::|public|constructor():void com.microsoft.graph.models.teamsadministration.TeamsAdminRoot::|public|getFieldDeserializers():Map> com.microsoft.graph.models.teamsadministration.TeamsAdminRoot::|public|getPolicy():TeamsPolicyAssignment +com.microsoft.graph.models.teamsadministration.TeamsAdminRoot::|public|getTelephoneNumberManagement():TelephoneNumberManagementRoot com.microsoft.graph.models.teamsadministration.TeamsAdminRoot::|public|getUserConfigurations():java.util.List com.microsoft.graph.models.teamsadministration.TeamsAdminRoot::|public|OdataType:String com.microsoft.graph.models.teamsadministration.TeamsAdminRoot::|public|serialize(writer:SerializationWriter):Void com.microsoft.graph.models.teamsadministration.TeamsAdminRoot::|public|setPolicy(value?:TeamsPolicyAssignment):void +com.microsoft.graph.models.teamsadministration.TeamsAdminRoot::|public|setTelephoneNumberManagement(value?:TelephoneNumberManagementRoot):void com.microsoft.graph.models.teamsadministration.TeamsAdminRoot::|public|setUserConfigurations(value?:java.util.List):void com.microsoft.graph.models.teamsadministration.TeamsAdminRoot::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):TeamsAdminRoot com.microsoft.graph.models.teamsadministration.TeamsPolicyAssignment-->Entity @@ -153745,6 +154658,53 @@ com.microsoft.graph.models.teamsadministration.TeamsUserConfigurationCollectionR com.microsoft.graph.models.teamsadministration.TeamsUserConfigurationCollectionResponse::|public|serialize(writer:SerializationWriter):Void com.microsoft.graph.models.teamsadministration.TeamsUserConfigurationCollectionResponse::|public|setValue(value?:java.util.List):void com.microsoft.graph.models.teamsadministration.TeamsUserConfigurationCollectionResponse::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):TeamsUserConfigurationCollectionResponse +com.microsoft.graph.models.teamsadministration.TelephoneNumberLongRunningOperation-->Entity +com.microsoft.graph.models.teamsadministration.TelephoneNumberLongRunningOperation::|public|constructor():void +com.microsoft.graph.models.teamsadministration.TelephoneNumberLongRunningOperation::|public|getCreatedDateTime():String +com.microsoft.graph.models.teamsadministration.TelephoneNumberLongRunningOperation::|public|getFieldDeserializers():Map> +com.microsoft.graph.models.teamsadministration.TelephoneNumberLongRunningOperation::|public|getNumbers():java.util.List +com.microsoft.graph.models.teamsadministration.TelephoneNumberLongRunningOperation::|public|getStatus():LongRunningOperationStatus +com.microsoft.graph.models.teamsadministration.TelephoneNumberLongRunningOperation::|public|OdataType:String +com.microsoft.graph.models.teamsadministration.TelephoneNumberLongRunningOperation::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.models.teamsadministration.TelephoneNumberLongRunningOperation::|public|setCreatedDateTime(value?:String):void +com.microsoft.graph.models.teamsadministration.TelephoneNumberLongRunningOperation::|public|setNumbers(value?:java.util.List):void +com.microsoft.graph.models.teamsadministration.TelephoneNumberLongRunningOperation::|public|setStatus(value?:LongRunningOperationStatus):void +com.microsoft.graph.models.teamsadministration.TelephoneNumberLongRunningOperation::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):TelephoneNumberLongRunningOperation +com.microsoft.graph.models.teamsadministration.TelephoneNumberLongRunningOperationCollectionResponse-->BaseCollectionPaginationCountResponse +com.microsoft.graph.models.teamsadministration.TelephoneNumberLongRunningOperationCollectionResponse::|public|constructor():void +com.microsoft.graph.models.teamsadministration.TelephoneNumberLongRunningOperationCollectionResponse::|public|getFieldDeserializers():Map> +com.microsoft.graph.models.teamsadministration.TelephoneNumberLongRunningOperationCollectionResponse::|public|getValue():java.util.List +com.microsoft.graph.models.teamsadministration.TelephoneNumberLongRunningOperationCollectionResponse::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.models.teamsadministration.TelephoneNumberLongRunningOperationCollectionResponse::|public|setValue(value?:java.util.List):void +com.microsoft.graph.models.teamsadministration.TelephoneNumberLongRunningOperationCollectionResponse::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):TelephoneNumberLongRunningOperationCollectionResponse +com.microsoft.graph.models.teamsadministration.TelephoneNumberLongRunningOperationDetails::|protected|backingStore:BackingStore +com.microsoft.graph.models.teamsadministration.TelephoneNumberLongRunningOperationDetails::|public|constructor():void +com.microsoft.graph.models.teamsadministration.TelephoneNumberLongRunningOperationDetails::|public|getAdditionalData():Map +com.microsoft.graph.models.teamsadministration.TelephoneNumberLongRunningOperationDetails::|public|getBackingStore():BackingStore +com.microsoft.graph.models.teamsadministration.TelephoneNumberLongRunningOperationDetails::|public|getFieldDeserializers():Map> +com.microsoft.graph.models.teamsadministration.TelephoneNumberLongRunningOperationDetails::|public|getOdataType():String +com.microsoft.graph.models.teamsadministration.TelephoneNumberLongRunningOperationDetails::|public|getResourceLocation():String +com.microsoft.graph.models.teamsadministration.TelephoneNumberLongRunningOperationDetails::|public|getStatus():LongRunningOperationStatus +com.microsoft.graph.models.teamsadministration.TelephoneNumberLongRunningOperationDetails::|public|getStatusDetail():String +com.microsoft.graph.models.teamsadministration.TelephoneNumberLongRunningOperationDetails::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.models.teamsadministration.TelephoneNumberLongRunningOperationDetails::|public|setAdditionalData(value?:Map):void +com.microsoft.graph.models.teamsadministration.TelephoneNumberLongRunningOperationDetails::|public|setBackingStore(value:BackingStore):void +com.microsoft.graph.models.teamsadministration.TelephoneNumberLongRunningOperationDetails::|public|setOdataType(value?:String):void +com.microsoft.graph.models.teamsadministration.TelephoneNumberLongRunningOperationDetails::|public|setResourceLocation(value?:String):void +com.microsoft.graph.models.teamsadministration.TelephoneNumberLongRunningOperationDetails::|public|setStatus(value?:LongRunningOperationStatus):void +com.microsoft.graph.models.teamsadministration.TelephoneNumberLongRunningOperationDetails::|public|setStatusDetail(value?:String):void +com.microsoft.graph.models.teamsadministration.TelephoneNumberLongRunningOperationDetails::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):TelephoneNumberLongRunningOperationDetails +com.microsoft.graph.models.teamsadministration.TelephoneNumberLongRunningOperationDetails~~>AdditionalDataHolder; BackedModel; Parsable +com.microsoft.graph.models.teamsadministration.TelephoneNumberManagementRoot-->Entity +com.microsoft.graph.models.teamsadministration.TelephoneNumberManagementRoot::|public|constructor():void +com.microsoft.graph.models.teamsadministration.TelephoneNumberManagementRoot::|public|getFieldDeserializers():Map> +com.microsoft.graph.models.teamsadministration.TelephoneNumberManagementRoot::|public|getNumberAssignments():java.util.List +com.microsoft.graph.models.teamsadministration.TelephoneNumberManagementRoot::|public|getOperations():java.util.List +com.microsoft.graph.models.teamsadministration.TelephoneNumberManagementRoot::|public|OdataType:String +com.microsoft.graph.models.teamsadministration.TelephoneNumberManagementRoot::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.models.teamsadministration.TelephoneNumberManagementRoot::|public|setNumberAssignments(value?:java.util.List):void +com.microsoft.graph.models.teamsadministration.TelephoneNumberManagementRoot::|public|setOperations(value?:java.util.List):void +com.microsoft.graph.models.teamsadministration.TelephoneNumberManagementRoot::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):TelephoneNumberManagementRoot com.microsoft.graph.models.TeamsApp-->Entity com.microsoft.graph.models.TeamsApp::|public|constructor():void com.microsoft.graph.models.TeamsApp::|public|getAppDefinitions():java.util.List @@ -156465,6 +157425,7 @@ com.microsoft.graph.models.User::|public|getFollowedSites():java.util.List com.microsoft.graph.models.User::|public|getGivenName():String com.microsoft.graph.models.User::|public|getHireDate():OffsetDateTime com.microsoft.graph.models.User::|public|getIdentities():java.util.List +com.microsoft.graph.models.User::|public|getIdentityParentId():String com.microsoft.graph.models.User::|public|getImAddresses():java.util.List com.microsoft.graph.models.User::|public|getInferenceClassification():InferenceClassification com.microsoft.graph.models.User::|public|getInsights():ItemInsights @@ -156600,6 +157561,7 @@ com.microsoft.graph.models.User::|public|setFollowedSites(value?:java.util.List< com.microsoft.graph.models.User::|public|setGivenName(value?:String):void com.microsoft.graph.models.User::|public|setHireDate(value?:OffsetDateTime):void com.microsoft.graph.models.User::|public|setIdentities(value?:java.util.List):void +com.microsoft.graph.models.User::|public|setIdentityParentId(value?:String):void com.microsoft.graph.models.User::|public|setImAddresses(value?:java.util.List):void com.microsoft.graph.models.User::|public|setInferenceClassification(value?:InferenceClassification):void com.microsoft.graph.models.User::|public|setInsights(value?:ItemInsights):void @@ -162463,16 +163425,20 @@ com.microsoft.graph.models.X509CertificateAffinityLevel::0002-UnknownFutureValue com.microsoft.graph.models.X509CertificateAuthenticationMethodConfiguration-->AuthenticationMethodConfiguration com.microsoft.graph.models.X509CertificateAuthenticationMethodConfiguration::|public|constructor():void com.microsoft.graph.models.X509CertificateAuthenticationMethodConfiguration::|public|getAuthenticationModeConfiguration():X509CertificateAuthenticationModeConfiguration +com.microsoft.graph.models.X509CertificateAuthenticationMethodConfiguration::|public|getCertificateAuthorityScopes():java.util.List com.microsoft.graph.models.X509CertificateAuthenticationMethodConfiguration::|public|getCertificateUserBindings():java.util.List com.microsoft.graph.models.X509CertificateAuthenticationMethodConfiguration::|public|getCrlValidationConfiguration():X509CertificateCRLValidationConfiguration com.microsoft.graph.models.X509CertificateAuthenticationMethodConfiguration::|public|getFieldDeserializers():Map> com.microsoft.graph.models.X509CertificateAuthenticationMethodConfiguration::|public|getIncludeTargets():java.util.List +com.microsoft.graph.models.X509CertificateAuthenticationMethodConfiguration::|public|getIssuerHintsConfiguration():X509CertificateIssuerHintsConfiguration com.microsoft.graph.models.X509CertificateAuthenticationMethodConfiguration::|public|OdataType:String com.microsoft.graph.models.X509CertificateAuthenticationMethodConfiguration::|public|serialize(writer:SerializationWriter):Void com.microsoft.graph.models.X509CertificateAuthenticationMethodConfiguration::|public|setAuthenticationModeConfiguration(value?:X509CertificateAuthenticationModeConfiguration):void +com.microsoft.graph.models.X509CertificateAuthenticationMethodConfiguration::|public|setCertificateAuthorityScopes(value?:java.util.List):void com.microsoft.graph.models.X509CertificateAuthenticationMethodConfiguration::|public|setCertificateUserBindings(value?:java.util.List):void com.microsoft.graph.models.X509CertificateAuthenticationMethodConfiguration::|public|setCrlValidationConfiguration(value?:X509CertificateCRLValidationConfiguration):void com.microsoft.graph.models.X509CertificateAuthenticationMethodConfiguration::|public|setIncludeTargets(value?:java.util.List):void +com.microsoft.graph.models.X509CertificateAuthenticationMethodConfiguration::|public|setIssuerHintsConfiguration(value?:X509CertificateIssuerHintsConfiguration):void com.microsoft.graph.models.X509CertificateAuthenticationMethodConfiguration::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):X509CertificateAuthenticationMethodConfiguration com.microsoft.graph.models.X509CertificateAuthenticationMode::0000-X509CertificateSingleFactor com.microsoft.graph.models.X509CertificateAuthenticationMode::0001-X509CertificateMultiFactor @@ -162495,6 +163461,24 @@ com.microsoft.graph.models.X509CertificateAuthenticationModeConfiguration::|publ com.microsoft.graph.models.X509CertificateAuthenticationModeConfiguration::|public|setX509CertificateDefaultRequiredAffinityLevel(value?:X509CertificateAffinityLevel):void com.microsoft.graph.models.X509CertificateAuthenticationModeConfiguration::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):X509CertificateAuthenticationModeConfiguration com.microsoft.graph.models.X509CertificateAuthenticationModeConfiguration~~>AdditionalDataHolder; BackedModel; Parsable +com.microsoft.graph.models.X509CertificateAuthorityScope::|protected|backingStore:BackingStore +com.microsoft.graph.models.X509CertificateAuthorityScope::|public|constructor():void +com.microsoft.graph.models.X509CertificateAuthorityScope::|public|getAdditionalData():Map +com.microsoft.graph.models.X509CertificateAuthorityScope::|public|getBackingStore():BackingStore +com.microsoft.graph.models.X509CertificateAuthorityScope::|public|getFieldDeserializers():Map> +com.microsoft.graph.models.X509CertificateAuthorityScope::|public|getIncludeTargets():java.util.List +com.microsoft.graph.models.X509CertificateAuthorityScope::|public|getOdataType():String +com.microsoft.graph.models.X509CertificateAuthorityScope::|public|getPublicKeyInfrastructureIdentifier():String +com.microsoft.graph.models.X509CertificateAuthorityScope::|public|getSubjectKeyIdentifier():String +com.microsoft.graph.models.X509CertificateAuthorityScope::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.models.X509CertificateAuthorityScope::|public|setAdditionalData(value?:Map):void +com.microsoft.graph.models.X509CertificateAuthorityScope::|public|setBackingStore(value:BackingStore):void +com.microsoft.graph.models.X509CertificateAuthorityScope::|public|setIncludeTargets(value?:java.util.List):void +com.microsoft.graph.models.X509CertificateAuthorityScope::|public|setOdataType(value?:String):void +com.microsoft.graph.models.X509CertificateAuthorityScope::|public|setPublicKeyInfrastructureIdentifier(value?:String):void +com.microsoft.graph.models.X509CertificateAuthorityScope::|public|setSubjectKeyIdentifier(value?:String):void +com.microsoft.graph.models.X509CertificateAuthorityScope::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):X509CertificateAuthorityScope +com.microsoft.graph.models.X509CertificateAuthorityScope~~>AdditionalDataHolder; BackedModel; Parsable com.microsoft.graph.models.X509CertificateCombinationConfiguration-->AuthenticationCombinationConfiguration com.microsoft.graph.models.X509CertificateCombinationConfiguration::|public|constructor():void com.microsoft.graph.models.X509CertificateCombinationConfiguration::|public|getAllowedIssuerSkis():java.util.List @@ -162524,6 +163508,23 @@ com.microsoft.graph.models.X509CertificateCRLValidationConfigurationState::0000- com.microsoft.graph.models.X509CertificateCRLValidationConfigurationState::0001-Enabled com.microsoft.graph.models.X509CertificateCRLValidationConfigurationState::0002-UnknownFutureValue com.microsoft.graph.models.X509CertificateCRLValidationConfiguration~~>AdditionalDataHolder; BackedModel; Parsable +com.microsoft.graph.models.X509CertificateIssuerHintsConfiguration::|protected|backingStore:BackingStore +com.microsoft.graph.models.X509CertificateIssuerHintsConfiguration::|public|constructor():void +com.microsoft.graph.models.X509CertificateIssuerHintsConfiguration::|public|getAdditionalData():Map +com.microsoft.graph.models.X509CertificateIssuerHintsConfiguration::|public|getBackingStore():BackingStore +com.microsoft.graph.models.X509CertificateIssuerHintsConfiguration::|public|getFieldDeserializers():Map> +com.microsoft.graph.models.X509CertificateIssuerHintsConfiguration::|public|getOdataType():String +com.microsoft.graph.models.X509CertificateIssuerHintsConfiguration::|public|getState():X509CertificateIssuerHintsState +com.microsoft.graph.models.X509CertificateIssuerHintsConfiguration::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.models.X509CertificateIssuerHintsConfiguration::|public|setAdditionalData(value?:Map):void +com.microsoft.graph.models.X509CertificateIssuerHintsConfiguration::|public|setBackingStore(value:BackingStore):void +com.microsoft.graph.models.X509CertificateIssuerHintsConfiguration::|public|setOdataType(value?:String):void +com.microsoft.graph.models.X509CertificateIssuerHintsConfiguration::|public|setState(value?:X509CertificateIssuerHintsState):void +com.microsoft.graph.models.X509CertificateIssuerHintsConfiguration::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):X509CertificateIssuerHintsConfiguration +com.microsoft.graph.models.X509CertificateIssuerHintsConfiguration~~>AdditionalDataHolder; BackedModel; Parsable +com.microsoft.graph.models.X509CertificateIssuerHintsState::0000-Disabled +com.microsoft.graph.models.X509CertificateIssuerHintsState::0001-Enabled +com.microsoft.graph.models.X509CertificateIssuerHintsState::0002-UnknownFutureValue com.microsoft.graph.models.X509CertificateRule::|protected|backingStore:BackingStore com.microsoft.graph.models.X509CertificateRule::|public|constructor():void com.microsoft.graph.models.X509CertificateRule::|public|getAdditionalData():Map @@ -205728,6 +206729,7 @@ com.microsoft.graph.storage.filestorage.containers.item.FileStorageContainerItem com.microsoft.graph.storage.filestorage.containers.item.FileStorageContainerItemRequestBuilder::|public|provisionMigrationContainers:ProvisionMigrationContainersRequestBuilder com.microsoft.graph.storage.filestorage.containers.item.FileStorageContainerItemRequestBuilder::|public|recycleBin:RecycleBinRequestBuilder com.microsoft.graph.storage.filestorage.containers.item.FileStorageContainerItemRequestBuilder::|public|restore:RestoreRequestBuilder +com.microsoft.graph.storage.filestorage.containers.item.FileStorageContainerItemRequestBuilder::|public|sharePointGroups:SharePointGroupsRequestBuilder com.microsoft.graph.storage.filestorage.containers.item.FileStorageContainerItemRequestBuilder::|public|toDeleteRequestInformation():RequestInformation com.microsoft.graph.storage.filestorage.containers.item.FileStorageContainerItemRequestBuilder::|public|toDeleteRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation com.microsoft.graph.storage.filestorage.containers.item.FileStorageContainerItemRequestBuilder::|public|toGetRequestInformation():RequestInformation @@ -206385,6 +207387,137 @@ com.microsoft.graph.storage.filestorage.containers.item.restore.RestoreRequestBu com.microsoft.graph.storage.filestorage.containers.item.restore.RestoreRequestBuilder::|public|toPostRequestInformation():RequestInformation com.microsoft.graph.storage.filestorage.containers.item.restore.RestoreRequestBuilder::|public|toPostRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation com.microsoft.graph.storage.filestorage.containers.item.restore.RestoreRequestBuilder::|public|withUrl(rawUrl:String):RestoreRequestBuilder +com.microsoft.graph.storage.filestorage.containers.item.sharepointgroups.count.CountRequestBuilder-->BaseRequestBuilder +com.microsoft.graph.storage.filestorage.containers.item.sharepointgroups.count.CountRequestBuilder.GetQueryParameters::|public|filter:String +com.microsoft.graph.storage.filestorage.containers.item.sharepointgroups.count.CountRequestBuilder.GetQueryParameters::|public|search:String +com.microsoft.graph.storage.filestorage.containers.item.sharepointgroups.count.CountRequestBuilder.GetQueryParameters::|public|toQueryParameters():Map +com.microsoft.graph.storage.filestorage.containers.item.sharepointgroups.count.CountRequestBuilder.GetQueryParameters~~>QueryParameters +com.microsoft.graph.storage.filestorage.containers.item.sharepointgroups.count.CountRequestBuilder.GetRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.storage.filestorage.containers.item.sharepointgroups.count.CountRequestBuilder.GetRequestConfiguration::|public|queryParameters:GetQueryParameters +com.microsoft.graph.storage.filestorage.containers.item.sharepointgroups.count.CountRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void +com.microsoft.graph.storage.filestorage.containers.item.sharepointgroups.count.CountRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.storage.filestorage.containers.item.sharepointgroups.count.CountRequestBuilder::|public|get():Integer +com.microsoft.graph.storage.filestorage.containers.item.sharepointgroups.count.CountRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):Integer +com.microsoft.graph.storage.filestorage.containers.item.sharepointgroups.count.CountRequestBuilder::|public|toGetRequestInformation():RequestInformation +com.microsoft.graph.storage.filestorage.containers.item.sharepointgroups.count.CountRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.storage.filestorage.containers.item.sharepointgroups.count.CountRequestBuilder::|public|withUrl(rawUrl:String):CountRequestBuilder +com.microsoft.graph.storage.filestorage.containers.item.sharepointgroups.item.members.count.CountRequestBuilder-->BaseRequestBuilder +com.microsoft.graph.storage.filestorage.containers.item.sharepointgroups.item.members.count.CountRequestBuilder.GetQueryParameters::|public|filter:String +com.microsoft.graph.storage.filestorage.containers.item.sharepointgroups.item.members.count.CountRequestBuilder.GetQueryParameters::|public|search:String +com.microsoft.graph.storage.filestorage.containers.item.sharepointgroups.item.members.count.CountRequestBuilder.GetQueryParameters::|public|toQueryParameters():Map +com.microsoft.graph.storage.filestorage.containers.item.sharepointgroups.item.members.count.CountRequestBuilder.GetQueryParameters~~>QueryParameters +com.microsoft.graph.storage.filestorage.containers.item.sharepointgroups.item.members.count.CountRequestBuilder.GetRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.storage.filestorage.containers.item.sharepointgroups.item.members.count.CountRequestBuilder.GetRequestConfiguration::|public|queryParameters:GetQueryParameters +com.microsoft.graph.storage.filestorage.containers.item.sharepointgroups.item.members.count.CountRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void +com.microsoft.graph.storage.filestorage.containers.item.sharepointgroups.item.members.count.CountRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.storage.filestorage.containers.item.sharepointgroups.item.members.count.CountRequestBuilder::|public|get():Integer +com.microsoft.graph.storage.filestorage.containers.item.sharepointgroups.item.members.count.CountRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):Integer +com.microsoft.graph.storage.filestorage.containers.item.sharepointgroups.item.members.count.CountRequestBuilder::|public|toGetRequestInformation():RequestInformation +com.microsoft.graph.storage.filestorage.containers.item.sharepointgroups.item.members.count.CountRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.storage.filestorage.containers.item.sharepointgroups.item.members.count.CountRequestBuilder::|public|withUrl(rawUrl:String):CountRequestBuilder +com.microsoft.graph.storage.filestorage.containers.item.sharepointgroups.item.members.item.SharePointGroupMemberItemRequestBuilder-->BaseRequestBuilder +com.microsoft.graph.storage.filestorage.containers.item.sharepointgroups.item.members.item.SharePointGroupMemberItemRequestBuilder.DeleteRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.storage.filestorage.containers.item.sharepointgroups.item.members.item.SharePointGroupMemberItemRequestBuilder.GetQueryParameters::|public|expand:String[] +com.microsoft.graph.storage.filestorage.containers.item.sharepointgroups.item.members.item.SharePointGroupMemberItemRequestBuilder.GetQueryParameters::|public|select:String[] +com.microsoft.graph.storage.filestorage.containers.item.sharepointgroups.item.members.item.SharePointGroupMemberItemRequestBuilder.GetQueryParameters::|public|toQueryParameters():Map +com.microsoft.graph.storage.filestorage.containers.item.sharepointgroups.item.members.item.SharePointGroupMemberItemRequestBuilder.GetQueryParameters~~>QueryParameters +com.microsoft.graph.storage.filestorage.containers.item.sharepointgroups.item.members.item.SharePointGroupMemberItemRequestBuilder.GetRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.storage.filestorage.containers.item.sharepointgroups.item.members.item.SharePointGroupMemberItemRequestBuilder.GetRequestConfiguration::|public|queryParameters:GetQueryParameters +com.microsoft.graph.storage.filestorage.containers.item.sharepointgroups.item.members.item.SharePointGroupMemberItemRequestBuilder.PatchRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.storage.filestorage.containers.item.sharepointgroups.item.members.item.SharePointGroupMemberItemRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void +com.microsoft.graph.storage.filestorage.containers.item.sharepointgroups.item.members.item.SharePointGroupMemberItemRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.storage.filestorage.containers.item.sharepointgroups.item.members.item.SharePointGroupMemberItemRequestBuilder::|public|delete():Void +com.microsoft.graph.storage.filestorage.containers.item.sharepointgroups.item.members.item.SharePointGroupMemberItemRequestBuilder::|public|delete(requestConfiguration?:java.util.function.Consumer):Void +com.microsoft.graph.storage.filestorage.containers.item.sharepointgroups.item.members.item.SharePointGroupMemberItemRequestBuilder::|public|get():SharePointGroupMember +com.microsoft.graph.storage.filestorage.containers.item.sharepointgroups.item.members.item.SharePointGroupMemberItemRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):SharePointGroupMember +com.microsoft.graph.storage.filestorage.containers.item.sharepointgroups.item.members.item.SharePointGroupMemberItemRequestBuilder::|public|patch(body:SharePointGroupMember):SharePointGroupMember +com.microsoft.graph.storage.filestorage.containers.item.sharepointgroups.item.members.item.SharePointGroupMemberItemRequestBuilder::|public|patch(body:SharePointGroupMember; requestConfiguration?:java.util.function.Consumer):SharePointGroupMember +com.microsoft.graph.storage.filestorage.containers.item.sharepointgroups.item.members.item.SharePointGroupMemberItemRequestBuilder::|public|toDeleteRequestInformation():RequestInformation +com.microsoft.graph.storage.filestorage.containers.item.sharepointgroups.item.members.item.SharePointGroupMemberItemRequestBuilder::|public|toDeleteRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.storage.filestorage.containers.item.sharepointgroups.item.members.item.SharePointGroupMemberItemRequestBuilder::|public|toGetRequestInformation():RequestInformation +com.microsoft.graph.storage.filestorage.containers.item.sharepointgroups.item.members.item.SharePointGroupMemberItemRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.storage.filestorage.containers.item.sharepointgroups.item.members.item.SharePointGroupMemberItemRequestBuilder::|public|toPatchRequestInformation(body:SharePointGroupMember):RequestInformation +com.microsoft.graph.storage.filestorage.containers.item.sharepointgroups.item.members.item.SharePointGroupMemberItemRequestBuilder::|public|toPatchRequestInformation(body:SharePointGroupMember; requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.storage.filestorage.containers.item.sharepointgroups.item.members.item.SharePointGroupMemberItemRequestBuilder::|public|withUrl(rawUrl:String):SharePointGroupMemberItemRequestBuilder +com.microsoft.graph.storage.filestorage.containers.item.sharepointgroups.item.members.MembersRequestBuilder-->BaseRequestBuilder +com.microsoft.graph.storage.filestorage.containers.item.sharepointgroups.item.members.MembersRequestBuilder.GetQueryParameters::|public|count:Boolean +com.microsoft.graph.storage.filestorage.containers.item.sharepointgroups.item.members.MembersRequestBuilder.GetQueryParameters::|public|expand:String[] +com.microsoft.graph.storage.filestorage.containers.item.sharepointgroups.item.members.MembersRequestBuilder.GetQueryParameters::|public|filter:String +com.microsoft.graph.storage.filestorage.containers.item.sharepointgroups.item.members.MembersRequestBuilder.GetQueryParameters::|public|orderby:String[] +com.microsoft.graph.storage.filestorage.containers.item.sharepointgroups.item.members.MembersRequestBuilder.GetQueryParameters::|public|search:String +com.microsoft.graph.storage.filestorage.containers.item.sharepointgroups.item.members.MembersRequestBuilder.GetQueryParameters::|public|select:String[] +com.microsoft.graph.storage.filestorage.containers.item.sharepointgroups.item.members.MembersRequestBuilder.GetQueryParameters::|public|skip:Integer +com.microsoft.graph.storage.filestorage.containers.item.sharepointgroups.item.members.MembersRequestBuilder.GetQueryParameters::|public|top:Integer +com.microsoft.graph.storage.filestorage.containers.item.sharepointgroups.item.members.MembersRequestBuilder.GetQueryParameters::|public|toQueryParameters():Map +com.microsoft.graph.storage.filestorage.containers.item.sharepointgroups.item.members.MembersRequestBuilder.GetQueryParameters~~>QueryParameters +com.microsoft.graph.storage.filestorage.containers.item.sharepointgroups.item.members.MembersRequestBuilder.GetRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.storage.filestorage.containers.item.sharepointgroups.item.members.MembersRequestBuilder.GetRequestConfiguration::|public|queryParameters:GetQueryParameters +com.microsoft.graph.storage.filestorage.containers.item.sharepointgroups.item.members.MembersRequestBuilder.PostRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.storage.filestorage.containers.item.sharepointgroups.item.members.MembersRequestBuilder::|public|bySharePointGroupMemberId(sharePointGroupMemberId:String):SharePointGroupMemberItemRequestBuilder +com.microsoft.graph.storage.filestorage.containers.item.sharepointgroups.item.members.MembersRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void +com.microsoft.graph.storage.filestorage.containers.item.sharepointgroups.item.members.MembersRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.storage.filestorage.containers.item.sharepointgroups.item.members.MembersRequestBuilder::|public|count:CountRequestBuilder +com.microsoft.graph.storage.filestorage.containers.item.sharepointgroups.item.members.MembersRequestBuilder::|public|get():SharePointGroupMemberCollectionResponse +com.microsoft.graph.storage.filestorage.containers.item.sharepointgroups.item.members.MembersRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):SharePointGroupMemberCollectionResponse +com.microsoft.graph.storage.filestorage.containers.item.sharepointgroups.item.members.MembersRequestBuilder::|public|post(body:SharePointGroupMember):SharePointGroupMember +com.microsoft.graph.storage.filestorage.containers.item.sharepointgroups.item.members.MembersRequestBuilder::|public|post(body:SharePointGroupMember; requestConfiguration?:java.util.function.Consumer):SharePointGroupMember +com.microsoft.graph.storage.filestorage.containers.item.sharepointgroups.item.members.MembersRequestBuilder::|public|toGetRequestInformation():RequestInformation +com.microsoft.graph.storage.filestorage.containers.item.sharepointgroups.item.members.MembersRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.storage.filestorage.containers.item.sharepointgroups.item.members.MembersRequestBuilder::|public|toPostRequestInformation(body:SharePointGroupMember):RequestInformation +com.microsoft.graph.storage.filestorage.containers.item.sharepointgroups.item.members.MembersRequestBuilder::|public|toPostRequestInformation(body:SharePointGroupMember; requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.storage.filestorage.containers.item.sharepointgroups.item.members.MembersRequestBuilder::|public|withUrl(rawUrl:String):MembersRequestBuilder +com.microsoft.graph.storage.filestorage.containers.item.sharepointgroups.item.SharePointGroupItemRequestBuilder-->BaseRequestBuilder +com.microsoft.graph.storage.filestorage.containers.item.sharepointgroups.item.SharePointGroupItemRequestBuilder.DeleteRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.storage.filestorage.containers.item.sharepointgroups.item.SharePointGroupItemRequestBuilder.GetQueryParameters::|public|expand:String[] +com.microsoft.graph.storage.filestorage.containers.item.sharepointgroups.item.SharePointGroupItemRequestBuilder.GetQueryParameters::|public|select:String[] +com.microsoft.graph.storage.filestorage.containers.item.sharepointgroups.item.SharePointGroupItemRequestBuilder.GetQueryParameters::|public|toQueryParameters():Map +com.microsoft.graph.storage.filestorage.containers.item.sharepointgroups.item.SharePointGroupItemRequestBuilder.GetQueryParameters~~>QueryParameters +com.microsoft.graph.storage.filestorage.containers.item.sharepointgroups.item.SharePointGroupItemRequestBuilder.GetRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.storage.filestorage.containers.item.sharepointgroups.item.SharePointGroupItemRequestBuilder.GetRequestConfiguration::|public|queryParameters:GetQueryParameters +com.microsoft.graph.storage.filestorage.containers.item.sharepointgroups.item.SharePointGroupItemRequestBuilder.PatchRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.storage.filestorage.containers.item.sharepointgroups.item.SharePointGroupItemRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void +com.microsoft.graph.storage.filestorage.containers.item.sharepointgroups.item.SharePointGroupItemRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.storage.filestorage.containers.item.sharepointgroups.item.SharePointGroupItemRequestBuilder::|public|delete():Void +com.microsoft.graph.storage.filestorage.containers.item.sharepointgroups.item.SharePointGroupItemRequestBuilder::|public|delete(requestConfiguration?:java.util.function.Consumer):Void +com.microsoft.graph.storage.filestorage.containers.item.sharepointgroups.item.SharePointGroupItemRequestBuilder::|public|get():SharePointGroup +com.microsoft.graph.storage.filestorage.containers.item.sharepointgroups.item.SharePointGroupItemRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):SharePointGroup +com.microsoft.graph.storage.filestorage.containers.item.sharepointgroups.item.SharePointGroupItemRequestBuilder::|public|members:MembersRequestBuilder +com.microsoft.graph.storage.filestorage.containers.item.sharepointgroups.item.SharePointGroupItemRequestBuilder::|public|patch(body:SharePointGroup):SharePointGroup +com.microsoft.graph.storage.filestorage.containers.item.sharepointgroups.item.SharePointGroupItemRequestBuilder::|public|patch(body:SharePointGroup; requestConfiguration?:java.util.function.Consumer):SharePointGroup +com.microsoft.graph.storage.filestorage.containers.item.sharepointgroups.item.SharePointGroupItemRequestBuilder::|public|toDeleteRequestInformation():RequestInformation +com.microsoft.graph.storage.filestorage.containers.item.sharepointgroups.item.SharePointGroupItemRequestBuilder::|public|toDeleteRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.storage.filestorage.containers.item.sharepointgroups.item.SharePointGroupItemRequestBuilder::|public|toGetRequestInformation():RequestInformation +com.microsoft.graph.storage.filestorage.containers.item.sharepointgroups.item.SharePointGroupItemRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.storage.filestorage.containers.item.sharepointgroups.item.SharePointGroupItemRequestBuilder::|public|toPatchRequestInformation(body:SharePointGroup):RequestInformation +com.microsoft.graph.storage.filestorage.containers.item.sharepointgroups.item.SharePointGroupItemRequestBuilder::|public|toPatchRequestInformation(body:SharePointGroup; requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.storage.filestorage.containers.item.sharepointgroups.item.SharePointGroupItemRequestBuilder::|public|withUrl(rawUrl:String):SharePointGroupItemRequestBuilder +com.microsoft.graph.storage.filestorage.containers.item.sharepointgroups.SharePointGroupsRequestBuilder-->BaseRequestBuilder +com.microsoft.graph.storage.filestorage.containers.item.sharepointgroups.SharePointGroupsRequestBuilder.GetQueryParameters::|public|count:Boolean +com.microsoft.graph.storage.filestorage.containers.item.sharepointgroups.SharePointGroupsRequestBuilder.GetQueryParameters::|public|expand:String[] +com.microsoft.graph.storage.filestorage.containers.item.sharepointgroups.SharePointGroupsRequestBuilder.GetQueryParameters::|public|filter:String +com.microsoft.graph.storage.filestorage.containers.item.sharepointgroups.SharePointGroupsRequestBuilder.GetQueryParameters::|public|orderby:String[] +com.microsoft.graph.storage.filestorage.containers.item.sharepointgroups.SharePointGroupsRequestBuilder.GetQueryParameters::|public|search:String +com.microsoft.graph.storage.filestorage.containers.item.sharepointgroups.SharePointGroupsRequestBuilder.GetQueryParameters::|public|select:String[] +com.microsoft.graph.storage.filestorage.containers.item.sharepointgroups.SharePointGroupsRequestBuilder.GetQueryParameters::|public|skip:Integer +com.microsoft.graph.storage.filestorage.containers.item.sharepointgroups.SharePointGroupsRequestBuilder.GetQueryParameters::|public|top:Integer +com.microsoft.graph.storage.filestorage.containers.item.sharepointgroups.SharePointGroupsRequestBuilder.GetQueryParameters::|public|toQueryParameters():Map +com.microsoft.graph.storage.filestorage.containers.item.sharepointgroups.SharePointGroupsRequestBuilder.GetQueryParameters~~>QueryParameters +com.microsoft.graph.storage.filestorage.containers.item.sharepointgroups.SharePointGroupsRequestBuilder.GetRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.storage.filestorage.containers.item.sharepointgroups.SharePointGroupsRequestBuilder.GetRequestConfiguration::|public|queryParameters:GetQueryParameters +com.microsoft.graph.storage.filestorage.containers.item.sharepointgroups.SharePointGroupsRequestBuilder.PostRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.storage.filestorage.containers.item.sharepointgroups.SharePointGroupsRequestBuilder::|public|bySharePointGroupId(sharePointGroupId:String):SharePointGroupItemRequestBuilder +com.microsoft.graph.storage.filestorage.containers.item.sharepointgroups.SharePointGroupsRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void +com.microsoft.graph.storage.filestorage.containers.item.sharepointgroups.SharePointGroupsRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.storage.filestorage.containers.item.sharepointgroups.SharePointGroupsRequestBuilder::|public|count:CountRequestBuilder +com.microsoft.graph.storage.filestorage.containers.item.sharepointgroups.SharePointGroupsRequestBuilder::|public|get():SharePointGroupCollectionResponse +com.microsoft.graph.storage.filestorage.containers.item.sharepointgroups.SharePointGroupsRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):SharePointGroupCollectionResponse +com.microsoft.graph.storage.filestorage.containers.item.sharepointgroups.SharePointGroupsRequestBuilder::|public|post(body:SharePointGroup):SharePointGroup +com.microsoft.graph.storage.filestorage.containers.item.sharepointgroups.SharePointGroupsRequestBuilder::|public|post(body:SharePointGroup; requestConfiguration?:java.util.function.Consumer):SharePointGroup +com.microsoft.graph.storage.filestorage.containers.item.sharepointgroups.SharePointGroupsRequestBuilder::|public|toGetRequestInformation():RequestInformation +com.microsoft.graph.storage.filestorage.containers.item.sharepointgroups.SharePointGroupsRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.storage.filestorage.containers.item.sharepointgroups.SharePointGroupsRequestBuilder::|public|toPostRequestInformation(body:SharePointGroup):RequestInformation +com.microsoft.graph.storage.filestorage.containers.item.sharepointgroups.SharePointGroupsRequestBuilder::|public|toPostRequestInformation(body:SharePointGroup; requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.storage.filestorage.containers.item.sharepointgroups.SharePointGroupsRequestBuilder::|public|withUrl(rawUrl:String):SharePointGroupsRequestBuilder com.microsoft.graph.storage.filestorage.containers.item.unlock.UnlockRequestBuilder-->BaseRequestBuilder com.microsoft.graph.storage.filestorage.containers.item.unlock.UnlockRequestBuilder.PostRequestConfiguration-->BaseRequestConfiguration com.microsoft.graph.storage.filestorage.containers.item.unlock.UnlockRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void @@ -206761,6 +207894,7 @@ com.microsoft.graph.storage.filestorage.deletedcontainers.item.FileStorageContai com.microsoft.graph.storage.filestorage.deletedcontainers.item.FileStorageContainerItemRequestBuilder::|public|provisionMigrationContainers:ProvisionMigrationContainersRequestBuilder com.microsoft.graph.storage.filestorage.deletedcontainers.item.FileStorageContainerItemRequestBuilder::|public|recycleBin:RecycleBinRequestBuilder com.microsoft.graph.storage.filestorage.deletedcontainers.item.FileStorageContainerItemRequestBuilder::|public|restore:RestoreRequestBuilder +com.microsoft.graph.storage.filestorage.deletedcontainers.item.FileStorageContainerItemRequestBuilder::|public|sharePointGroups:SharePointGroupsRequestBuilder com.microsoft.graph.storage.filestorage.deletedcontainers.item.FileStorageContainerItemRequestBuilder::|public|toDeleteRequestInformation():RequestInformation com.microsoft.graph.storage.filestorage.deletedcontainers.item.FileStorageContainerItemRequestBuilder::|public|toDeleteRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation com.microsoft.graph.storage.filestorage.deletedcontainers.item.FileStorageContainerItemRequestBuilder::|public|toGetRequestInformation():RequestInformation @@ -207418,6 +208552,137 @@ com.microsoft.graph.storage.filestorage.deletedcontainers.item.restore.RestoreRe com.microsoft.graph.storage.filestorage.deletedcontainers.item.restore.RestoreRequestBuilder::|public|toPostRequestInformation():RequestInformation com.microsoft.graph.storage.filestorage.deletedcontainers.item.restore.RestoreRequestBuilder::|public|toPostRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation com.microsoft.graph.storage.filestorage.deletedcontainers.item.restore.RestoreRequestBuilder::|public|withUrl(rawUrl:String):RestoreRequestBuilder +com.microsoft.graph.storage.filestorage.deletedcontainers.item.sharepointgroups.count.CountRequestBuilder-->BaseRequestBuilder +com.microsoft.graph.storage.filestorage.deletedcontainers.item.sharepointgroups.count.CountRequestBuilder.GetQueryParameters::|public|filter:String +com.microsoft.graph.storage.filestorage.deletedcontainers.item.sharepointgroups.count.CountRequestBuilder.GetQueryParameters::|public|search:String +com.microsoft.graph.storage.filestorage.deletedcontainers.item.sharepointgroups.count.CountRequestBuilder.GetQueryParameters::|public|toQueryParameters():Map +com.microsoft.graph.storage.filestorage.deletedcontainers.item.sharepointgroups.count.CountRequestBuilder.GetQueryParameters~~>QueryParameters +com.microsoft.graph.storage.filestorage.deletedcontainers.item.sharepointgroups.count.CountRequestBuilder.GetRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.storage.filestorage.deletedcontainers.item.sharepointgroups.count.CountRequestBuilder.GetRequestConfiguration::|public|queryParameters:GetQueryParameters +com.microsoft.graph.storage.filestorage.deletedcontainers.item.sharepointgroups.count.CountRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void +com.microsoft.graph.storage.filestorage.deletedcontainers.item.sharepointgroups.count.CountRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.storage.filestorage.deletedcontainers.item.sharepointgroups.count.CountRequestBuilder::|public|get():Integer +com.microsoft.graph.storage.filestorage.deletedcontainers.item.sharepointgroups.count.CountRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):Integer +com.microsoft.graph.storage.filestorage.deletedcontainers.item.sharepointgroups.count.CountRequestBuilder::|public|toGetRequestInformation():RequestInformation +com.microsoft.graph.storage.filestorage.deletedcontainers.item.sharepointgroups.count.CountRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.storage.filestorage.deletedcontainers.item.sharepointgroups.count.CountRequestBuilder::|public|withUrl(rawUrl:String):CountRequestBuilder +com.microsoft.graph.storage.filestorage.deletedcontainers.item.sharepointgroups.item.members.count.CountRequestBuilder-->BaseRequestBuilder +com.microsoft.graph.storage.filestorage.deletedcontainers.item.sharepointgroups.item.members.count.CountRequestBuilder.GetQueryParameters::|public|filter:String +com.microsoft.graph.storage.filestorage.deletedcontainers.item.sharepointgroups.item.members.count.CountRequestBuilder.GetQueryParameters::|public|search:String +com.microsoft.graph.storage.filestorage.deletedcontainers.item.sharepointgroups.item.members.count.CountRequestBuilder.GetQueryParameters::|public|toQueryParameters():Map +com.microsoft.graph.storage.filestorage.deletedcontainers.item.sharepointgroups.item.members.count.CountRequestBuilder.GetQueryParameters~~>QueryParameters +com.microsoft.graph.storage.filestorage.deletedcontainers.item.sharepointgroups.item.members.count.CountRequestBuilder.GetRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.storage.filestorage.deletedcontainers.item.sharepointgroups.item.members.count.CountRequestBuilder.GetRequestConfiguration::|public|queryParameters:GetQueryParameters +com.microsoft.graph.storage.filestorage.deletedcontainers.item.sharepointgroups.item.members.count.CountRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void +com.microsoft.graph.storage.filestorage.deletedcontainers.item.sharepointgroups.item.members.count.CountRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.storage.filestorage.deletedcontainers.item.sharepointgroups.item.members.count.CountRequestBuilder::|public|get():Integer +com.microsoft.graph.storage.filestorage.deletedcontainers.item.sharepointgroups.item.members.count.CountRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):Integer +com.microsoft.graph.storage.filestorage.deletedcontainers.item.sharepointgroups.item.members.count.CountRequestBuilder::|public|toGetRequestInformation():RequestInformation +com.microsoft.graph.storage.filestorage.deletedcontainers.item.sharepointgroups.item.members.count.CountRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.storage.filestorage.deletedcontainers.item.sharepointgroups.item.members.count.CountRequestBuilder::|public|withUrl(rawUrl:String):CountRequestBuilder +com.microsoft.graph.storage.filestorage.deletedcontainers.item.sharepointgroups.item.members.item.SharePointGroupMemberItemRequestBuilder-->BaseRequestBuilder +com.microsoft.graph.storage.filestorage.deletedcontainers.item.sharepointgroups.item.members.item.SharePointGroupMemberItemRequestBuilder.DeleteRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.storage.filestorage.deletedcontainers.item.sharepointgroups.item.members.item.SharePointGroupMemberItemRequestBuilder.GetQueryParameters::|public|expand:String[] +com.microsoft.graph.storage.filestorage.deletedcontainers.item.sharepointgroups.item.members.item.SharePointGroupMemberItemRequestBuilder.GetQueryParameters::|public|select:String[] +com.microsoft.graph.storage.filestorage.deletedcontainers.item.sharepointgroups.item.members.item.SharePointGroupMemberItemRequestBuilder.GetQueryParameters::|public|toQueryParameters():Map +com.microsoft.graph.storage.filestorage.deletedcontainers.item.sharepointgroups.item.members.item.SharePointGroupMemberItemRequestBuilder.GetQueryParameters~~>QueryParameters +com.microsoft.graph.storage.filestorage.deletedcontainers.item.sharepointgroups.item.members.item.SharePointGroupMemberItemRequestBuilder.GetRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.storage.filestorage.deletedcontainers.item.sharepointgroups.item.members.item.SharePointGroupMemberItemRequestBuilder.GetRequestConfiguration::|public|queryParameters:GetQueryParameters +com.microsoft.graph.storage.filestorage.deletedcontainers.item.sharepointgroups.item.members.item.SharePointGroupMemberItemRequestBuilder.PatchRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.storage.filestorage.deletedcontainers.item.sharepointgroups.item.members.item.SharePointGroupMemberItemRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void +com.microsoft.graph.storage.filestorage.deletedcontainers.item.sharepointgroups.item.members.item.SharePointGroupMemberItemRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.storage.filestorage.deletedcontainers.item.sharepointgroups.item.members.item.SharePointGroupMemberItemRequestBuilder::|public|delete():Void +com.microsoft.graph.storage.filestorage.deletedcontainers.item.sharepointgroups.item.members.item.SharePointGroupMemberItemRequestBuilder::|public|delete(requestConfiguration?:java.util.function.Consumer):Void +com.microsoft.graph.storage.filestorage.deletedcontainers.item.sharepointgroups.item.members.item.SharePointGroupMemberItemRequestBuilder::|public|get():SharePointGroupMember +com.microsoft.graph.storage.filestorage.deletedcontainers.item.sharepointgroups.item.members.item.SharePointGroupMemberItemRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):SharePointGroupMember +com.microsoft.graph.storage.filestorage.deletedcontainers.item.sharepointgroups.item.members.item.SharePointGroupMemberItemRequestBuilder::|public|patch(body:SharePointGroupMember):SharePointGroupMember +com.microsoft.graph.storage.filestorage.deletedcontainers.item.sharepointgroups.item.members.item.SharePointGroupMemberItemRequestBuilder::|public|patch(body:SharePointGroupMember; requestConfiguration?:java.util.function.Consumer):SharePointGroupMember +com.microsoft.graph.storage.filestorage.deletedcontainers.item.sharepointgroups.item.members.item.SharePointGroupMemberItemRequestBuilder::|public|toDeleteRequestInformation():RequestInformation +com.microsoft.graph.storage.filestorage.deletedcontainers.item.sharepointgroups.item.members.item.SharePointGroupMemberItemRequestBuilder::|public|toDeleteRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.storage.filestorage.deletedcontainers.item.sharepointgroups.item.members.item.SharePointGroupMemberItemRequestBuilder::|public|toGetRequestInformation():RequestInformation +com.microsoft.graph.storage.filestorage.deletedcontainers.item.sharepointgroups.item.members.item.SharePointGroupMemberItemRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.storage.filestorage.deletedcontainers.item.sharepointgroups.item.members.item.SharePointGroupMemberItemRequestBuilder::|public|toPatchRequestInformation(body:SharePointGroupMember):RequestInformation +com.microsoft.graph.storage.filestorage.deletedcontainers.item.sharepointgroups.item.members.item.SharePointGroupMemberItemRequestBuilder::|public|toPatchRequestInformation(body:SharePointGroupMember; requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.storage.filestorage.deletedcontainers.item.sharepointgroups.item.members.item.SharePointGroupMemberItemRequestBuilder::|public|withUrl(rawUrl:String):SharePointGroupMemberItemRequestBuilder +com.microsoft.graph.storage.filestorage.deletedcontainers.item.sharepointgroups.item.members.MembersRequestBuilder-->BaseRequestBuilder +com.microsoft.graph.storage.filestorage.deletedcontainers.item.sharepointgroups.item.members.MembersRequestBuilder.GetQueryParameters::|public|count:Boolean +com.microsoft.graph.storage.filestorage.deletedcontainers.item.sharepointgroups.item.members.MembersRequestBuilder.GetQueryParameters::|public|expand:String[] +com.microsoft.graph.storage.filestorage.deletedcontainers.item.sharepointgroups.item.members.MembersRequestBuilder.GetQueryParameters::|public|filter:String +com.microsoft.graph.storage.filestorage.deletedcontainers.item.sharepointgroups.item.members.MembersRequestBuilder.GetQueryParameters::|public|orderby:String[] +com.microsoft.graph.storage.filestorage.deletedcontainers.item.sharepointgroups.item.members.MembersRequestBuilder.GetQueryParameters::|public|search:String +com.microsoft.graph.storage.filestorage.deletedcontainers.item.sharepointgroups.item.members.MembersRequestBuilder.GetQueryParameters::|public|select:String[] +com.microsoft.graph.storage.filestorage.deletedcontainers.item.sharepointgroups.item.members.MembersRequestBuilder.GetQueryParameters::|public|skip:Integer +com.microsoft.graph.storage.filestorage.deletedcontainers.item.sharepointgroups.item.members.MembersRequestBuilder.GetQueryParameters::|public|top:Integer +com.microsoft.graph.storage.filestorage.deletedcontainers.item.sharepointgroups.item.members.MembersRequestBuilder.GetQueryParameters::|public|toQueryParameters():Map +com.microsoft.graph.storage.filestorage.deletedcontainers.item.sharepointgroups.item.members.MembersRequestBuilder.GetQueryParameters~~>QueryParameters +com.microsoft.graph.storage.filestorage.deletedcontainers.item.sharepointgroups.item.members.MembersRequestBuilder.GetRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.storage.filestorage.deletedcontainers.item.sharepointgroups.item.members.MembersRequestBuilder.GetRequestConfiguration::|public|queryParameters:GetQueryParameters +com.microsoft.graph.storage.filestorage.deletedcontainers.item.sharepointgroups.item.members.MembersRequestBuilder.PostRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.storage.filestorage.deletedcontainers.item.sharepointgroups.item.members.MembersRequestBuilder::|public|bySharePointGroupMemberId(sharePointGroupMemberId:String):SharePointGroupMemberItemRequestBuilder +com.microsoft.graph.storage.filestorage.deletedcontainers.item.sharepointgroups.item.members.MembersRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void +com.microsoft.graph.storage.filestorage.deletedcontainers.item.sharepointgroups.item.members.MembersRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.storage.filestorage.deletedcontainers.item.sharepointgroups.item.members.MembersRequestBuilder::|public|count:CountRequestBuilder +com.microsoft.graph.storage.filestorage.deletedcontainers.item.sharepointgroups.item.members.MembersRequestBuilder::|public|get():SharePointGroupMemberCollectionResponse +com.microsoft.graph.storage.filestorage.deletedcontainers.item.sharepointgroups.item.members.MembersRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):SharePointGroupMemberCollectionResponse +com.microsoft.graph.storage.filestorage.deletedcontainers.item.sharepointgroups.item.members.MembersRequestBuilder::|public|post(body:SharePointGroupMember):SharePointGroupMember +com.microsoft.graph.storage.filestorage.deletedcontainers.item.sharepointgroups.item.members.MembersRequestBuilder::|public|post(body:SharePointGroupMember; requestConfiguration?:java.util.function.Consumer):SharePointGroupMember +com.microsoft.graph.storage.filestorage.deletedcontainers.item.sharepointgroups.item.members.MembersRequestBuilder::|public|toGetRequestInformation():RequestInformation +com.microsoft.graph.storage.filestorage.deletedcontainers.item.sharepointgroups.item.members.MembersRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.storage.filestorage.deletedcontainers.item.sharepointgroups.item.members.MembersRequestBuilder::|public|toPostRequestInformation(body:SharePointGroupMember):RequestInformation +com.microsoft.graph.storage.filestorage.deletedcontainers.item.sharepointgroups.item.members.MembersRequestBuilder::|public|toPostRequestInformation(body:SharePointGroupMember; requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.storage.filestorage.deletedcontainers.item.sharepointgroups.item.members.MembersRequestBuilder::|public|withUrl(rawUrl:String):MembersRequestBuilder +com.microsoft.graph.storage.filestorage.deletedcontainers.item.sharepointgroups.item.SharePointGroupItemRequestBuilder-->BaseRequestBuilder +com.microsoft.graph.storage.filestorage.deletedcontainers.item.sharepointgroups.item.SharePointGroupItemRequestBuilder.DeleteRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.storage.filestorage.deletedcontainers.item.sharepointgroups.item.SharePointGroupItemRequestBuilder.GetQueryParameters::|public|expand:String[] +com.microsoft.graph.storage.filestorage.deletedcontainers.item.sharepointgroups.item.SharePointGroupItemRequestBuilder.GetQueryParameters::|public|select:String[] +com.microsoft.graph.storage.filestorage.deletedcontainers.item.sharepointgroups.item.SharePointGroupItemRequestBuilder.GetQueryParameters::|public|toQueryParameters():Map +com.microsoft.graph.storage.filestorage.deletedcontainers.item.sharepointgroups.item.SharePointGroupItemRequestBuilder.GetQueryParameters~~>QueryParameters +com.microsoft.graph.storage.filestorage.deletedcontainers.item.sharepointgroups.item.SharePointGroupItemRequestBuilder.GetRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.storage.filestorage.deletedcontainers.item.sharepointgroups.item.SharePointGroupItemRequestBuilder.GetRequestConfiguration::|public|queryParameters:GetQueryParameters +com.microsoft.graph.storage.filestorage.deletedcontainers.item.sharepointgroups.item.SharePointGroupItemRequestBuilder.PatchRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.storage.filestorage.deletedcontainers.item.sharepointgroups.item.SharePointGroupItemRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void +com.microsoft.graph.storage.filestorage.deletedcontainers.item.sharepointgroups.item.SharePointGroupItemRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.storage.filestorage.deletedcontainers.item.sharepointgroups.item.SharePointGroupItemRequestBuilder::|public|delete():Void +com.microsoft.graph.storage.filestorage.deletedcontainers.item.sharepointgroups.item.SharePointGroupItemRequestBuilder::|public|delete(requestConfiguration?:java.util.function.Consumer):Void +com.microsoft.graph.storage.filestorage.deletedcontainers.item.sharepointgroups.item.SharePointGroupItemRequestBuilder::|public|get():SharePointGroup +com.microsoft.graph.storage.filestorage.deletedcontainers.item.sharepointgroups.item.SharePointGroupItemRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):SharePointGroup +com.microsoft.graph.storage.filestorage.deletedcontainers.item.sharepointgroups.item.SharePointGroupItemRequestBuilder::|public|members:MembersRequestBuilder +com.microsoft.graph.storage.filestorage.deletedcontainers.item.sharepointgroups.item.SharePointGroupItemRequestBuilder::|public|patch(body:SharePointGroup):SharePointGroup +com.microsoft.graph.storage.filestorage.deletedcontainers.item.sharepointgroups.item.SharePointGroupItemRequestBuilder::|public|patch(body:SharePointGroup; requestConfiguration?:java.util.function.Consumer):SharePointGroup +com.microsoft.graph.storage.filestorage.deletedcontainers.item.sharepointgroups.item.SharePointGroupItemRequestBuilder::|public|toDeleteRequestInformation():RequestInformation +com.microsoft.graph.storage.filestorage.deletedcontainers.item.sharepointgroups.item.SharePointGroupItemRequestBuilder::|public|toDeleteRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.storage.filestorage.deletedcontainers.item.sharepointgroups.item.SharePointGroupItemRequestBuilder::|public|toGetRequestInformation():RequestInformation +com.microsoft.graph.storage.filestorage.deletedcontainers.item.sharepointgroups.item.SharePointGroupItemRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.storage.filestorage.deletedcontainers.item.sharepointgroups.item.SharePointGroupItemRequestBuilder::|public|toPatchRequestInformation(body:SharePointGroup):RequestInformation +com.microsoft.graph.storage.filestorage.deletedcontainers.item.sharepointgroups.item.SharePointGroupItemRequestBuilder::|public|toPatchRequestInformation(body:SharePointGroup; requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.storage.filestorage.deletedcontainers.item.sharepointgroups.item.SharePointGroupItemRequestBuilder::|public|withUrl(rawUrl:String):SharePointGroupItemRequestBuilder +com.microsoft.graph.storage.filestorage.deletedcontainers.item.sharepointgroups.SharePointGroupsRequestBuilder-->BaseRequestBuilder +com.microsoft.graph.storage.filestorage.deletedcontainers.item.sharepointgroups.SharePointGroupsRequestBuilder.GetQueryParameters::|public|count:Boolean +com.microsoft.graph.storage.filestorage.deletedcontainers.item.sharepointgroups.SharePointGroupsRequestBuilder.GetQueryParameters::|public|expand:String[] +com.microsoft.graph.storage.filestorage.deletedcontainers.item.sharepointgroups.SharePointGroupsRequestBuilder.GetQueryParameters::|public|filter:String +com.microsoft.graph.storage.filestorage.deletedcontainers.item.sharepointgroups.SharePointGroupsRequestBuilder.GetQueryParameters::|public|orderby:String[] +com.microsoft.graph.storage.filestorage.deletedcontainers.item.sharepointgroups.SharePointGroupsRequestBuilder.GetQueryParameters::|public|search:String +com.microsoft.graph.storage.filestorage.deletedcontainers.item.sharepointgroups.SharePointGroupsRequestBuilder.GetQueryParameters::|public|select:String[] +com.microsoft.graph.storage.filestorage.deletedcontainers.item.sharepointgroups.SharePointGroupsRequestBuilder.GetQueryParameters::|public|skip:Integer +com.microsoft.graph.storage.filestorage.deletedcontainers.item.sharepointgroups.SharePointGroupsRequestBuilder.GetQueryParameters::|public|top:Integer +com.microsoft.graph.storage.filestorage.deletedcontainers.item.sharepointgroups.SharePointGroupsRequestBuilder.GetQueryParameters::|public|toQueryParameters():Map +com.microsoft.graph.storage.filestorage.deletedcontainers.item.sharepointgroups.SharePointGroupsRequestBuilder.GetQueryParameters~~>QueryParameters +com.microsoft.graph.storage.filestorage.deletedcontainers.item.sharepointgroups.SharePointGroupsRequestBuilder.GetRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.storage.filestorage.deletedcontainers.item.sharepointgroups.SharePointGroupsRequestBuilder.GetRequestConfiguration::|public|queryParameters:GetQueryParameters +com.microsoft.graph.storage.filestorage.deletedcontainers.item.sharepointgroups.SharePointGroupsRequestBuilder.PostRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.storage.filestorage.deletedcontainers.item.sharepointgroups.SharePointGroupsRequestBuilder::|public|bySharePointGroupId(sharePointGroupId:String):SharePointGroupItemRequestBuilder +com.microsoft.graph.storage.filestorage.deletedcontainers.item.sharepointgroups.SharePointGroupsRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void +com.microsoft.graph.storage.filestorage.deletedcontainers.item.sharepointgroups.SharePointGroupsRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.storage.filestorage.deletedcontainers.item.sharepointgroups.SharePointGroupsRequestBuilder::|public|count:CountRequestBuilder +com.microsoft.graph.storage.filestorage.deletedcontainers.item.sharepointgroups.SharePointGroupsRequestBuilder::|public|get():SharePointGroupCollectionResponse +com.microsoft.graph.storage.filestorage.deletedcontainers.item.sharepointgroups.SharePointGroupsRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):SharePointGroupCollectionResponse +com.microsoft.graph.storage.filestorage.deletedcontainers.item.sharepointgroups.SharePointGroupsRequestBuilder::|public|post(body:SharePointGroup):SharePointGroup +com.microsoft.graph.storage.filestorage.deletedcontainers.item.sharepointgroups.SharePointGroupsRequestBuilder::|public|post(body:SharePointGroup; requestConfiguration?:java.util.function.Consumer):SharePointGroup +com.microsoft.graph.storage.filestorage.deletedcontainers.item.sharepointgroups.SharePointGroupsRequestBuilder::|public|toGetRequestInformation():RequestInformation +com.microsoft.graph.storage.filestorage.deletedcontainers.item.sharepointgroups.SharePointGroupsRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.storage.filestorage.deletedcontainers.item.sharepointgroups.SharePointGroupsRequestBuilder::|public|toPostRequestInformation(body:SharePointGroup):RequestInformation +com.microsoft.graph.storage.filestorage.deletedcontainers.item.sharepointgroups.SharePointGroupsRequestBuilder::|public|toPostRequestInformation(body:SharePointGroup; requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.storage.filestorage.deletedcontainers.item.sharepointgroups.SharePointGroupsRequestBuilder::|public|withUrl(rawUrl:String):SharePointGroupsRequestBuilder com.microsoft.graph.storage.filestorage.deletedcontainers.item.unlock.UnlockRequestBuilder-->BaseRequestBuilder com.microsoft.graph.storage.filestorage.deletedcontainers.item.unlock.UnlockRequestBuilder.PostRequestConfiguration-->BaseRequestConfiguration com.microsoft.graph.storage.filestorage.deletedcontainers.item.unlock.UnlockRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void @@ -208681,11 +209946,35 @@ com.microsoft.graph.teams.item.channels.item.messages.item.replies.RepliesReques com.microsoft.graph.teams.item.channels.item.messages.item.replies.RepliesRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):ChatMessageCollectionResponse com.microsoft.graph.teams.item.channels.item.messages.item.replies.RepliesRequestBuilder::|public|post(body:ChatMessage):ChatMessage com.microsoft.graph.teams.item.channels.item.messages.item.replies.RepliesRequestBuilder::|public|post(body:ChatMessage; requestConfiguration?:java.util.function.Consumer):ChatMessage +com.microsoft.graph.teams.item.channels.item.messages.item.replies.RepliesRequestBuilder::|public|replyWithQuote:ReplyWithQuoteRequestBuilder com.microsoft.graph.teams.item.channels.item.messages.item.replies.RepliesRequestBuilder::|public|toGetRequestInformation():RequestInformation com.microsoft.graph.teams.item.channels.item.messages.item.replies.RepliesRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation com.microsoft.graph.teams.item.channels.item.messages.item.replies.RepliesRequestBuilder::|public|toPostRequestInformation(body:ChatMessage):RequestInformation com.microsoft.graph.teams.item.channels.item.messages.item.replies.RepliesRequestBuilder::|public|toPostRequestInformation(body:ChatMessage; requestConfiguration?:java.util.function.Consumer):RequestInformation com.microsoft.graph.teams.item.channels.item.messages.item.replies.RepliesRequestBuilder::|public|withUrl(rawUrl:String):RepliesRequestBuilder +com.microsoft.graph.teams.item.channels.item.messages.item.replies.replywithquote.ReplyWithQuotePostRequestBody::|protected|backingStore:BackingStore +com.microsoft.graph.teams.item.channels.item.messages.item.replies.replywithquote.ReplyWithQuotePostRequestBody::|public|constructor():void +com.microsoft.graph.teams.item.channels.item.messages.item.replies.replywithquote.ReplyWithQuotePostRequestBody::|public|getAdditionalData():Map +com.microsoft.graph.teams.item.channels.item.messages.item.replies.replywithquote.ReplyWithQuotePostRequestBody::|public|getBackingStore():BackingStore +com.microsoft.graph.teams.item.channels.item.messages.item.replies.replywithquote.ReplyWithQuotePostRequestBody::|public|getFieldDeserializers():Map> +com.microsoft.graph.teams.item.channels.item.messages.item.replies.replywithquote.ReplyWithQuotePostRequestBody::|public|getMessageIds():java.util.List +com.microsoft.graph.teams.item.channels.item.messages.item.replies.replywithquote.ReplyWithQuotePostRequestBody::|public|getReplyMessage():ChatMessage +com.microsoft.graph.teams.item.channels.item.messages.item.replies.replywithquote.ReplyWithQuotePostRequestBody::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.teams.item.channels.item.messages.item.replies.replywithquote.ReplyWithQuotePostRequestBody::|public|setAdditionalData(value?:Map):void +com.microsoft.graph.teams.item.channels.item.messages.item.replies.replywithquote.ReplyWithQuotePostRequestBody::|public|setBackingStore(value:BackingStore):void +com.microsoft.graph.teams.item.channels.item.messages.item.replies.replywithquote.ReplyWithQuotePostRequestBody::|public|setMessageIds(value?:java.util.List):void +com.microsoft.graph.teams.item.channels.item.messages.item.replies.replywithquote.ReplyWithQuotePostRequestBody::|public|setReplyMessage(value?:ChatMessage):void +com.microsoft.graph.teams.item.channels.item.messages.item.replies.replywithquote.ReplyWithQuotePostRequestBody::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):ReplyWithQuotePostRequestBody +com.microsoft.graph.teams.item.channels.item.messages.item.replies.replywithquote.ReplyWithQuotePostRequestBody~~>AdditionalDataHolder; BackedModel; Parsable +com.microsoft.graph.teams.item.channels.item.messages.item.replies.replywithquote.ReplyWithQuoteRequestBuilder-->BaseRequestBuilder +com.microsoft.graph.teams.item.channels.item.messages.item.replies.replywithquote.ReplyWithQuoteRequestBuilder.PostRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.teams.item.channels.item.messages.item.replies.replywithquote.ReplyWithQuoteRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void +com.microsoft.graph.teams.item.channels.item.messages.item.replies.replywithquote.ReplyWithQuoteRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.teams.item.channels.item.messages.item.replies.replywithquote.ReplyWithQuoteRequestBuilder::|public|post(body:ReplyWithQuotePostRequestBody):ChatMessage +com.microsoft.graph.teams.item.channels.item.messages.item.replies.replywithquote.ReplyWithQuoteRequestBuilder::|public|post(body:ReplyWithQuotePostRequestBody; requestConfiguration?:java.util.function.Consumer):ChatMessage +com.microsoft.graph.teams.item.channels.item.messages.item.replies.replywithquote.ReplyWithQuoteRequestBuilder::|public|toPostRequestInformation(body:ReplyWithQuotePostRequestBody):RequestInformation +com.microsoft.graph.teams.item.channels.item.messages.item.replies.replywithquote.ReplyWithQuoteRequestBuilder::|public|toPostRequestInformation(body:ReplyWithQuotePostRequestBody; requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.teams.item.channels.item.messages.item.replies.replywithquote.ReplyWithQuoteRequestBuilder::|public|withUrl(rawUrl:String):ReplyWithQuoteRequestBuilder com.microsoft.graph.teams.item.channels.item.messages.item.setreaction.SetReactionPostRequestBody::|protected|backingStore:BackingStore com.microsoft.graph.teams.item.channels.item.messages.item.setreaction.SetReactionPostRequestBody::|public|constructor():void com.microsoft.graph.teams.item.channels.item.messages.item.setreaction.SetReactionPostRequestBody::|public|getAdditionalData():Map @@ -208769,11 +210058,35 @@ com.microsoft.graph.teams.item.channels.item.messages.MessagesRequestBuilder::|p com.microsoft.graph.teams.item.channels.item.messages.MessagesRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):ChatMessageCollectionResponse com.microsoft.graph.teams.item.channels.item.messages.MessagesRequestBuilder::|public|post(body:ChatMessage):ChatMessage com.microsoft.graph.teams.item.channels.item.messages.MessagesRequestBuilder::|public|post(body:ChatMessage; requestConfiguration?:java.util.function.Consumer):ChatMessage +com.microsoft.graph.teams.item.channels.item.messages.MessagesRequestBuilder::|public|replyWithQuote:ReplyWithQuoteRequestBuilder com.microsoft.graph.teams.item.channels.item.messages.MessagesRequestBuilder::|public|toGetRequestInformation():RequestInformation com.microsoft.graph.teams.item.channels.item.messages.MessagesRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation com.microsoft.graph.teams.item.channels.item.messages.MessagesRequestBuilder::|public|toPostRequestInformation(body:ChatMessage):RequestInformation com.microsoft.graph.teams.item.channels.item.messages.MessagesRequestBuilder::|public|toPostRequestInformation(body:ChatMessage; requestConfiguration?:java.util.function.Consumer):RequestInformation com.microsoft.graph.teams.item.channels.item.messages.MessagesRequestBuilder::|public|withUrl(rawUrl:String):MessagesRequestBuilder +com.microsoft.graph.teams.item.channels.item.messages.replywithquote.ReplyWithQuotePostRequestBody::|protected|backingStore:BackingStore +com.microsoft.graph.teams.item.channels.item.messages.replywithquote.ReplyWithQuotePostRequestBody::|public|constructor():void +com.microsoft.graph.teams.item.channels.item.messages.replywithquote.ReplyWithQuotePostRequestBody::|public|getAdditionalData():Map +com.microsoft.graph.teams.item.channels.item.messages.replywithquote.ReplyWithQuotePostRequestBody::|public|getBackingStore():BackingStore +com.microsoft.graph.teams.item.channels.item.messages.replywithquote.ReplyWithQuotePostRequestBody::|public|getFieldDeserializers():Map> +com.microsoft.graph.teams.item.channels.item.messages.replywithquote.ReplyWithQuotePostRequestBody::|public|getMessageIds():java.util.List +com.microsoft.graph.teams.item.channels.item.messages.replywithquote.ReplyWithQuotePostRequestBody::|public|getReplyMessage():ChatMessage +com.microsoft.graph.teams.item.channels.item.messages.replywithquote.ReplyWithQuotePostRequestBody::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.teams.item.channels.item.messages.replywithquote.ReplyWithQuotePostRequestBody::|public|setAdditionalData(value?:Map):void +com.microsoft.graph.teams.item.channels.item.messages.replywithquote.ReplyWithQuotePostRequestBody::|public|setBackingStore(value:BackingStore):void +com.microsoft.graph.teams.item.channels.item.messages.replywithquote.ReplyWithQuotePostRequestBody::|public|setMessageIds(value?:java.util.List):void +com.microsoft.graph.teams.item.channels.item.messages.replywithquote.ReplyWithQuotePostRequestBody::|public|setReplyMessage(value?:ChatMessage):void +com.microsoft.graph.teams.item.channels.item.messages.replywithquote.ReplyWithQuotePostRequestBody::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):ReplyWithQuotePostRequestBody +com.microsoft.graph.teams.item.channels.item.messages.replywithquote.ReplyWithQuotePostRequestBody~~>AdditionalDataHolder; BackedModel; Parsable +com.microsoft.graph.teams.item.channels.item.messages.replywithquote.ReplyWithQuoteRequestBuilder-->BaseRequestBuilder +com.microsoft.graph.teams.item.channels.item.messages.replywithquote.ReplyWithQuoteRequestBuilder.PostRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.teams.item.channels.item.messages.replywithquote.ReplyWithQuoteRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void +com.microsoft.graph.teams.item.channels.item.messages.replywithquote.ReplyWithQuoteRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.teams.item.channels.item.messages.replywithquote.ReplyWithQuoteRequestBuilder::|public|post(body:ReplyWithQuotePostRequestBody):ChatMessage +com.microsoft.graph.teams.item.channels.item.messages.replywithquote.ReplyWithQuoteRequestBuilder::|public|post(body:ReplyWithQuotePostRequestBody; requestConfiguration?:java.util.function.Consumer):ChatMessage +com.microsoft.graph.teams.item.channels.item.messages.replywithquote.ReplyWithQuoteRequestBuilder::|public|toPostRequestInformation(body:ReplyWithQuotePostRequestBody):RequestInformation +com.microsoft.graph.teams.item.channels.item.messages.replywithquote.ReplyWithQuoteRequestBuilder::|public|toPostRequestInformation(body:ReplyWithQuotePostRequestBody; requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.teams.item.channels.item.messages.replywithquote.ReplyWithQuoteRequestBuilder::|public|withUrl(rawUrl:String):ReplyWithQuoteRequestBuilder com.microsoft.graph.teams.item.channels.item.provisionemail.ProvisionEmailRequestBuilder-->BaseRequestBuilder com.microsoft.graph.teams.item.channels.item.provisionemail.ProvisionEmailRequestBuilder.PostRequestConfiguration-->BaseRequestConfiguration com.microsoft.graph.teams.item.channels.item.provisionemail.ProvisionEmailRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void @@ -210296,11 +211609,35 @@ com.microsoft.graph.teams.item.primarychannel.messages.item.replies.RepliesReque com.microsoft.graph.teams.item.primarychannel.messages.item.replies.RepliesRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):ChatMessageCollectionResponse com.microsoft.graph.teams.item.primarychannel.messages.item.replies.RepliesRequestBuilder::|public|post(body:ChatMessage):ChatMessage com.microsoft.graph.teams.item.primarychannel.messages.item.replies.RepliesRequestBuilder::|public|post(body:ChatMessage; requestConfiguration?:java.util.function.Consumer):ChatMessage +com.microsoft.graph.teams.item.primarychannel.messages.item.replies.RepliesRequestBuilder::|public|replyWithQuote:ReplyWithQuoteRequestBuilder com.microsoft.graph.teams.item.primarychannel.messages.item.replies.RepliesRequestBuilder::|public|toGetRequestInformation():RequestInformation com.microsoft.graph.teams.item.primarychannel.messages.item.replies.RepliesRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation com.microsoft.graph.teams.item.primarychannel.messages.item.replies.RepliesRequestBuilder::|public|toPostRequestInformation(body:ChatMessage):RequestInformation com.microsoft.graph.teams.item.primarychannel.messages.item.replies.RepliesRequestBuilder::|public|toPostRequestInformation(body:ChatMessage; requestConfiguration?:java.util.function.Consumer):RequestInformation com.microsoft.graph.teams.item.primarychannel.messages.item.replies.RepliesRequestBuilder::|public|withUrl(rawUrl:String):RepliesRequestBuilder +com.microsoft.graph.teams.item.primarychannel.messages.item.replies.replywithquote.ReplyWithQuotePostRequestBody::|protected|backingStore:BackingStore +com.microsoft.graph.teams.item.primarychannel.messages.item.replies.replywithquote.ReplyWithQuotePostRequestBody::|public|constructor():void +com.microsoft.graph.teams.item.primarychannel.messages.item.replies.replywithquote.ReplyWithQuotePostRequestBody::|public|getAdditionalData():Map +com.microsoft.graph.teams.item.primarychannel.messages.item.replies.replywithquote.ReplyWithQuotePostRequestBody::|public|getBackingStore():BackingStore +com.microsoft.graph.teams.item.primarychannel.messages.item.replies.replywithquote.ReplyWithQuotePostRequestBody::|public|getFieldDeserializers():Map> +com.microsoft.graph.teams.item.primarychannel.messages.item.replies.replywithquote.ReplyWithQuotePostRequestBody::|public|getMessageIds():java.util.List +com.microsoft.graph.teams.item.primarychannel.messages.item.replies.replywithquote.ReplyWithQuotePostRequestBody::|public|getReplyMessage():ChatMessage +com.microsoft.graph.teams.item.primarychannel.messages.item.replies.replywithquote.ReplyWithQuotePostRequestBody::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.teams.item.primarychannel.messages.item.replies.replywithquote.ReplyWithQuotePostRequestBody::|public|setAdditionalData(value?:Map):void +com.microsoft.graph.teams.item.primarychannel.messages.item.replies.replywithquote.ReplyWithQuotePostRequestBody::|public|setBackingStore(value:BackingStore):void +com.microsoft.graph.teams.item.primarychannel.messages.item.replies.replywithquote.ReplyWithQuotePostRequestBody::|public|setMessageIds(value?:java.util.List):void +com.microsoft.graph.teams.item.primarychannel.messages.item.replies.replywithquote.ReplyWithQuotePostRequestBody::|public|setReplyMessage(value?:ChatMessage):void +com.microsoft.graph.teams.item.primarychannel.messages.item.replies.replywithquote.ReplyWithQuotePostRequestBody::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):ReplyWithQuotePostRequestBody +com.microsoft.graph.teams.item.primarychannel.messages.item.replies.replywithquote.ReplyWithQuotePostRequestBody~~>AdditionalDataHolder; BackedModel; Parsable +com.microsoft.graph.teams.item.primarychannel.messages.item.replies.replywithquote.ReplyWithQuoteRequestBuilder-->BaseRequestBuilder +com.microsoft.graph.teams.item.primarychannel.messages.item.replies.replywithquote.ReplyWithQuoteRequestBuilder.PostRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.teams.item.primarychannel.messages.item.replies.replywithquote.ReplyWithQuoteRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void +com.microsoft.graph.teams.item.primarychannel.messages.item.replies.replywithquote.ReplyWithQuoteRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.teams.item.primarychannel.messages.item.replies.replywithquote.ReplyWithQuoteRequestBuilder::|public|post(body:ReplyWithQuotePostRequestBody):ChatMessage +com.microsoft.graph.teams.item.primarychannel.messages.item.replies.replywithquote.ReplyWithQuoteRequestBuilder::|public|post(body:ReplyWithQuotePostRequestBody; requestConfiguration?:java.util.function.Consumer):ChatMessage +com.microsoft.graph.teams.item.primarychannel.messages.item.replies.replywithquote.ReplyWithQuoteRequestBuilder::|public|toPostRequestInformation(body:ReplyWithQuotePostRequestBody):RequestInformation +com.microsoft.graph.teams.item.primarychannel.messages.item.replies.replywithquote.ReplyWithQuoteRequestBuilder::|public|toPostRequestInformation(body:ReplyWithQuotePostRequestBody; requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.teams.item.primarychannel.messages.item.replies.replywithquote.ReplyWithQuoteRequestBuilder::|public|withUrl(rawUrl:String):ReplyWithQuoteRequestBuilder com.microsoft.graph.teams.item.primarychannel.messages.item.setreaction.SetReactionPostRequestBody::|protected|backingStore:BackingStore com.microsoft.graph.teams.item.primarychannel.messages.item.setreaction.SetReactionPostRequestBody::|public|constructor():void com.microsoft.graph.teams.item.primarychannel.messages.item.setreaction.SetReactionPostRequestBody::|public|getAdditionalData():Map @@ -210384,11 +211721,35 @@ com.microsoft.graph.teams.item.primarychannel.messages.MessagesRequestBuilder::| com.microsoft.graph.teams.item.primarychannel.messages.MessagesRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):ChatMessageCollectionResponse com.microsoft.graph.teams.item.primarychannel.messages.MessagesRequestBuilder::|public|post(body:ChatMessage):ChatMessage com.microsoft.graph.teams.item.primarychannel.messages.MessagesRequestBuilder::|public|post(body:ChatMessage; requestConfiguration?:java.util.function.Consumer):ChatMessage +com.microsoft.graph.teams.item.primarychannel.messages.MessagesRequestBuilder::|public|replyWithQuote:ReplyWithQuoteRequestBuilder com.microsoft.graph.teams.item.primarychannel.messages.MessagesRequestBuilder::|public|toGetRequestInformation():RequestInformation com.microsoft.graph.teams.item.primarychannel.messages.MessagesRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation com.microsoft.graph.teams.item.primarychannel.messages.MessagesRequestBuilder::|public|toPostRequestInformation(body:ChatMessage):RequestInformation com.microsoft.graph.teams.item.primarychannel.messages.MessagesRequestBuilder::|public|toPostRequestInformation(body:ChatMessage; requestConfiguration?:java.util.function.Consumer):RequestInformation com.microsoft.graph.teams.item.primarychannel.messages.MessagesRequestBuilder::|public|withUrl(rawUrl:String):MessagesRequestBuilder +com.microsoft.graph.teams.item.primarychannel.messages.replywithquote.ReplyWithQuotePostRequestBody::|protected|backingStore:BackingStore +com.microsoft.graph.teams.item.primarychannel.messages.replywithquote.ReplyWithQuotePostRequestBody::|public|constructor():void +com.microsoft.graph.teams.item.primarychannel.messages.replywithquote.ReplyWithQuotePostRequestBody::|public|getAdditionalData():Map +com.microsoft.graph.teams.item.primarychannel.messages.replywithquote.ReplyWithQuotePostRequestBody::|public|getBackingStore():BackingStore +com.microsoft.graph.teams.item.primarychannel.messages.replywithquote.ReplyWithQuotePostRequestBody::|public|getFieldDeserializers():Map> +com.microsoft.graph.teams.item.primarychannel.messages.replywithquote.ReplyWithQuotePostRequestBody::|public|getMessageIds():java.util.List +com.microsoft.graph.teams.item.primarychannel.messages.replywithquote.ReplyWithQuotePostRequestBody::|public|getReplyMessage():ChatMessage +com.microsoft.graph.teams.item.primarychannel.messages.replywithquote.ReplyWithQuotePostRequestBody::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.teams.item.primarychannel.messages.replywithquote.ReplyWithQuotePostRequestBody::|public|setAdditionalData(value?:Map):void +com.microsoft.graph.teams.item.primarychannel.messages.replywithquote.ReplyWithQuotePostRequestBody::|public|setBackingStore(value:BackingStore):void +com.microsoft.graph.teams.item.primarychannel.messages.replywithquote.ReplyWithQuotePostRequestBody::|public|setMessageIds(value?:java.util.List):void +com.microsoft.graph.teams.item.primarychannel.messages.replywithquote.ReplyWithQuotePostRequestBody::|public|setReplyMessage(value?:ChatMessage):void +com.microsoft.graph.teams.item.primarychannel.messages.replywithquote.ReplyWithQuotePostRequestBody::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):ReplyWithQuotePostRequestBody +com.microsoft.graph.teams.item.primarychannel.messages.replywithquote.ReplyWithQuotePostRequestBody~~>AdditionalDataHolder; BackedModel; Parsable +com.microsoft.graph.teams.item.primarychannel.messages.replywithquote.ReplyWithQuoteRequestBuilder-->BaseRequestBuilder +com.microsoft.graph.teams.item.primarychannel.messages.replywithquote.ReplyWithQuoteRequestBuilder.PostRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.teams.item.primarychannel.messages.replywithquote.ReplyWithQuoteRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void +com.microsoft.graph.teams.item.primarychannel.messages.replywithquote.ReplyWithQuoteRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.teams.item.primarychannel.messages.replywithquote.ReplyWithQuoteRequestBuilder::|public|post(body:ReplyWithQuotePostRequestBody):ChatMessage +com.microsoft.graph.teams.item.primarychannel.messages.replywithquote.ReplyWithQuoteRequestBuilder::|public|post(body:ReplyWithQuotePostRequestBody; requestConfiguration?:java.util.function.Consumer):ChatMessage +com.microsoft.graph.teams.item.primarychannel.messages.replywithquote.ReplyWithQuoteRequestBuilder::|public|toPostRequestInformation(body:ReplyWithQuotePostRequestBody):RequestInformation +com.microsoft.graph.teams.item.primarychannel.messages.replywithquote.ReplyWithQuoteRequestBuilder::|public|toPostRequestInformation(body:ReplyWithQuotePostRequestBody; requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.teams.item.primarychannel.messages.replywithquote.ReplyWithQuoteRequestBuilder::|public|withUrl(rawUrl:String):ReplyWithQuoteRequestBuilder com.microsoft.graph.teams.item.primarychannel.PrimaryChannelRequestBuilder-->BaseRequestBuilder com.microsoft.graph.teams.item.primarychannel.PrimaryChannelRequestBuilder.DeleteRequestConfiguration-->BaseRequestConfiguration com.microsoft.graph.teams.item.primarychannel.PrimaryChannelRequestBuilder.GetQueryParameters::|public|expand:String[] @@ -212885,11 +214246,35 @@ com.microsoft.graph.teamwork.deletedteams.item.channels.item.messages.item.repli com.microsoft.graph.teamwork.deletedteams.item.channels.item.messages.item.replies.RepliesRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):ChatMessageCollectionResponse com.microsoft.graph.teamwork.deletedteams.item.channels.item.messages.item.replies.RepliesRequestBuilder::|public|post(body:ChatMessage):ChatMessage com.microsoft.graph.teamwork.deletedteams.item.channels.item.messages.item.replies.RepliesRequestBuilder::|public|post(body:ChatMessage; requestConfiguration?:java.util.function.Consumer):ChatMessage +com.microsoft.graph.teamwork.deletedteams.item.channels.item.messages.item.replies.RepliesRequestBuilder::|public|replyWithQuote:ReplyWithQuoteRequestBuilder com.microsoft.graph.teamwork.deletedteams.item.channels.item.messages.item.replies.RepliesRequestBuilder::|public|toGetRequestInformation():RequestInformation com.microsoft.graph.teamwork.deletedteams.item.channels.item.messages.item.replies.RepliesRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation com.microsoft.graph.teamwork.deletedteams.item.channels.item.messages.item.replies.RepliesRequestBuilder::|public|toPostRequestInformation(body:ChatMessage):RequestInformation com.microsoft.graph.teamwork.deletedteams.item.channels.item.messages.item.replies.RepliesRequestBuilder::|public|toPostRequestInformation(body:ChatMessage; requestConfiguration?:java.util.function.Consumer):RequestInformation com.microsoft.graph.teamwork.deletedteams.item.channels.item.messages.item.replies.RepliesRequestBuilder::|public|withUrl(rawUrl:String):RepliesRequestBuilder +com.microsoft.graph.teamwork.deletedteams.item.channels.item.messages.item.replies.replywithquote.ReplyWithQuotePostRequestBody::|protected|backingStore:BackingStore +com.microsoft.graph.teamwork.deletedteams.item.channels.item.messages.item.replies.replywithquote.ReplyWithQuotePostRequestBody::|public|constructor():void +com.microsoft.graph.teamwork.deletedteams.item.channels.item.messages.item.replies.replywithquote.ReplyWithQuotePostRequestBody::|public|getAdditionalData():Map +com.microsoft.graph.teamwork.deletedteams.item.channels.item.messages.item.replies.replywithquote.ReplyWithQuotePostRequestBody::|public|getBackingStore():BackingStore +com.microsoft.graph.teamwork.deletedteams.item.channels.item.messages.item.replies.replywithquote.ReplyWithQuotePostRequestBody::|public|getFieldDeserializers():Map> +com.microsoft.graph.teamwork.deletedteams.item.channels.item.messages.item.replies.replywithquote.ReplyWithQuotePostRequestBody::|public|getMessageIds():java.util.List +com.microsoft.graph.teamwork.deletedteams.item.channels.item.messages.item.replies.replywithquote.ReplyWithQuotePostRequestBody::|public|getReplyMessage():ChatMessage +com.microsoft.graph.teamwork.deletedteams.item.channels.item.messages.item.replies.replywithquote.ReplyWithQuotePostRequestBody::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.teamwork.deletedteams.item.channels.item.messages.item.replies.replywithquote.ReplyWithQuotePostRequestBody::|public|setAdditionalData(value?:Map):void +com.microsoft.graph.teamwork.deletedteams.item.channels.item.messages.item.replies.replywithquote.ReplyWithQuotePostRequestBody::|public|setBackingStore(value:BackingStore):void +com.microsoft.graph.teamwork.deletedteams.item.channels.item.messages.item.replies.replywithquote.ReplyWithQuotePostRequestBody::|public|setMessageIds(value?:java.util.List):void +com.microsoft.graph.teamwork.deletedteams.item.channels.item.messages.item.replies.replywithquote.ReplyWithQuotePostRequestBody::|public|setReplyMessage(value?:ChatMessage):void +com.microsoft.graph.teamwork.deletedteams.item.channels.item.messages.item.replies.replywithquote.ReplyWithQuotePostRequestBody::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):ReplyWithQuotePostRequestBody +com.microsoft.graph.teamwork.deletedteams.item.channels.item.messages.item.replies.replywithquote.ReplyWithQuotePostRequestBody~~>AdditionalDataHolder; BackedModel; Parsable +com.microsoft.graph.teamwork.deletedteams.item.channels.item.messages.item.replies.replywithquote.ReplyWithQuoteRequestBuilder-->BaseRequestBuilder +com.microsoft.graph.teamwork.deletedteams.item.channels.item.messages.item.replies.replywithquote.ReplyWithQuoteRequestBuilder.PostRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.teamwork.deletedteams.item.channels.item.messages.item.replies.replywithquote.ReplyWithQuoteRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void +com.microsoft.graph.teamwork.deletedteams.item.channels.item.messages.item.replies.replywithquote.ReplyWithQuoteRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.teamwork.deletedteams.item.channels.item.messages.item.replies.replywithquote.ReplyWithQuoteRequestBuilder::|public|post(body:ReplyWithQuotePostRequestBody):ChatMessage +com.microsoft.graph.teamwork.deletedteams.item.channels.item.messages.item.replies.replywithquote.ReplyWithQuoteRequestBuilder::|public|post(body:ReplyWithQuotePostRequestBody; requestConfiguration?:java.util.function.Consumer):ChatMessage +com.microsoft.graph.teamwork.deletedteams.item.channels.item.messages.item.replies.replywithquote.ReplyWithQuoteRequestBuilder::|public|toPostRequestInformation(body:ReplyWithQuotePostRequestBody):RequestInformation +com.microsoft.graph.teamwork.deletedteams.item.channels.item.messages.item.replies.replywithquote.ReplyWithQuoteRequestBuilder::|public|toPostRequestInformation(body:ReplyWithQuotePostRequestBody; requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.teamwork.deletedteams.item.channels.item.messages.item.replies.replywithquote.ReplyWithQuoteRequestBuilder::|public|withUrl(rawUrl:String):ReplyWithQuoteRequestBuilder com.microsoft.graph.teamwork.deletedteams.item.channels.item.messages.item.setreaction.SetReactionPostRequestBody::|protected|backingStore:BackingStore com.microsoft.graph.teamwork.deletedteams.item.channels.item.messages.item.setreaction.SetReactionPostRequestBody::|public|constructor():void com.microsoft.graph.teamwork.deletedteams.item.channels.item.messages.item.setreaction.SetReactionPostRequestBody::|public|getAdditionalData():Map @@ -212973,11 +214358,35 @@ com.microsoft.graph.teamwork.deletedteams.item.channels.item.messages.MessagesRe com.microsoft.graph.teamwork.deletedteams.item.channels.item.messages.MessagesRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):ChatMessageCollectionResponse com.microsoft.graph.teamwork.deletedteams.item.channels.item.messages.MessagesRequestBuilder::|public|post(body:ChatMessage):ChatMessage com.microsoft.graph.teamwork.deletedteams.item.channels.item.messages.MessagesRequestBuilder::|public|post(body:ChatMessage; requestConfiguration?:java.util.function.Consumer):ChatMessage +com.microsoft.graph.teamwork.deletedteams.item.channels.item.messages.MessagesRequestBuilder::|public|replyWithQuote:ReplyWithQuoteRequestBuilder com.microsoft.graph.teamwork.deletedteams.item.channels.item.messages.MessagesRequestBuilder::|public|toGetRequestInformation():RequestInformation com.microsoft.graph.teamwork.deletedteams.item.channels.item.messages.MessagesRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation com.microsoft.graph.teamwork.deletedteams.item.channels.item.messages.MessagesRequestBuilder::|public|toPostRequestInformation(body:ChatMessage):RequestInformation com.microsoft.graph.teamwork.deletedteams.item.channels.item.messages.MessagesRequestBuilder::|public|toPostRequestInformation(body:ChatMessage; requestConfiguration?:java.util.function.Consumer):RequestInformation com.microsoft.graph.teamwork.deletedteams.item.channels.item.messages.MessagesRequestBuilder::|public|withUrl(rawUrl:String):MessagesRequestBuilder +com.microsoft.graph.teamwork.deletedteams.item.channels.item.messages.replywithquote.ReplyWithQuotePostRequestBody::|protected|backingStore:BackingStore +com.microsoft.graph.teamwork.deletedteams.item.channels.item.messages.replywithquote.ReplyWithQuotePostRequestBody::|public|constructor():void +com.microsoft.graph.teamwork.deletedteams.item.channels.item.messages.replywithquote.ReplyWithQuotePostRequestBody::|public|getAdditionalData():Map +com.microsoft.graph.teamwork.deletedteams.item.channels.item.messages.replywithquote.ReplyWithQuotePostRequestBody::|public|getBackingStore():BackingStore +com.microsoft.graph.teamwork.deletedteams.item.channels.item.messages.replywithquote.ReplyWithQuotePostRequestBody::|public|getFieldDeserializers():Map> +com.microsoft.graph.teamwork.deletedteams.item.channels.item.messages.replywithquote.ReplyWithQuotePostRequestBody::|public|getMessageIds():java.util.List +com.microsoft.graph.teamwork.deletedteams.item.channels.item.messages.replywithquote.ReplyWithQuotePostRequestBody::|public|getReplyMessage():ChatMessage +com.microsoft.graph.teamwork.deletedteams.item.channels.item.messages.replywithquote.ReplyWithQuotePostRequestBody::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.teamwork.deletedteams.item.channels.item.messages.replywithquote.ReplyWithQuotePostRequestBody::|public|setAdditionalData(value?:Map):void +com.microsoft.graph.teamwork.deletedteams.item.channels.item.messages.replywithquote.ReplyWithQuotePostRequestBody::|public|setBackingStore(value:BackingStore):void +com.microsoft.graph.teamwork.deletedteams.item.channels.item.messages.replywithquote.ReplyWithQuotePostRequestBody::|public|setMessageIds(value?:java.util.List):void +com.microsoft.graph.teamwork.deletedteams.item.channels.item.messages.replywithquote.ReplyWithQuotePostRequestBody::|public|setReplyMessage(value?:ChatMessage):void +com.microsoft.graph.teamwork.deletedteams.item.channels.item.messages.replywithquote.ReplyWithQuotePostRequestBody::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):ReplyWithQuotePostRequestBody +com.microsoft.graph.teamwork.deletedteams.item.channels.item.messages.replywithquote.ReplyWithQuotePostRequestBody~~>AdditionalDataHolder; BackedModel; Parsable +com.microsoft.graph.teamwork.deletedteams.item.channels.item.messages.replywithquote.ReplyWithQuoteRequestBuilder-->BaseRequestBuilder +com.microsoft.graph.teamwork.deletedteams.item.channels.item.messages.replywithquote.ReplyWithQuoteRequestBuilder.PostRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.teamwork.deletedteams.item.channels.item.messages.replywithquote.ReplyWithQuoteRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void +com.microsoft.graph.teamwork.deletedteams.item.channels.item.messages.replywithquote.ReplyWithQuoteRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.teamwork.deletedteams.item.channels.item.messages.replywithquote.ReplyWithQuoteRequestBuilder::|public|post(body:ReplyWithQuotePostRequestBody):ChatMessage +com.microsoft.graph.teamwork.deletedteams.item.channels.item.messages.replywithquote.ReplyWithQuoteRequestBuilder::|public|post(body:ReplyWithQuotePostRequestBody; requestConfiguration?:java.util.function.Consumer):ChatMessage +com.microsoft.graph.teamwork.deletedteams.item.channels.item.messages.replywithquote.ReplyWithQuoteRequestBuilder::|public|toPostRequestInformation(body:ReplyWithQuotePostRequestBody):RequestInformation +com.microsoft.graph.teamwork.deletedteams.item.channels.item.messages.replywithquote.ReplyWithQuoteRequestBuilder::|public|toPostRequestInformation(body:ReplyWithQuotePostRequestBody; requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.teamwork.deletedteams.item.channels.item.messages.replywithquote.ReplyWithQuoteRequestBuilder::|public|withUrl(rawUrl:String):ReplyWithQuoteRequestBuilder com.microsoft.graph.teamwork.deletedteams.item.channels.item.provisionemail.ProvisionEmailRequestBuilder-->BaseRequestBuilder com.microsoft.graph.teamwork.deletedteams.item.channels.item.provisionemail.ProvisionEmailRequestBuilder.PostRequestConfiguration-->BaseRequestConfiguration com.microsoft.graph.teamwork.deletedteams.item.channels.item.provisionemail.ProvisionEmailRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void @@ -218633,11 +220042,35 @@ com.microsoft.graph.users.item.chats.item.messages.item.replies.RepliesRequestBu com.microsoft.graph.users.item.chats.item.messages.item.replies.RepliesRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):ChatMessageCollectionResponse com.microsoft.graph.users.item.chats.item.messages.item.replies.RepliesRequestBuilder::|public|post(body:ChatMessage):ChatMessage com.microsoft.graph.users.item.chats.item.messages.item.replies.RepliesRequestBuilder::|public|post(body:ChatMessage; requestConfiguration?:java.util.function.Consumer):ChatMessage +com.microsoft.graph.users.item.chats.item.messages.item.replies.RepliesRequestBuilder::|public|replyWithQuote:ReplyWithQuoteRequestBuilder com.microsoft.graph.users.item.chats.item.messages.item.replies.RepliesRequestBuilder::|public|toGetRequestInformation():RequestInformation com.microsoft.graph.users.item.chats.item.messages.item.replies.RepliesRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation com.microsoft.graph.users.item.chats.item.messages.item.replies.RepliesRequestBuilder::|public|toPostRequestInformation(body:ChatMessage):RequestInformation com.microsoft.graph.users.item.chats.item.messages.item.replies.RepliesRequestBuilder::|public|toPostRequestInformation(body:ChatMessage; requestConfiguration?:java.util.function.Consumer):RequestInformation com.microsoft.graph.users.item.chats.item.messages.item.replies.RepliesRequestBuilder::|public|withUrl(rawUrl:String):RepliesRequestBuilder +com.microsoft.graph.users.item.chats.item.messages.item.replies.replywithquote.ReplyWithQuotePostRequestBody::|protected|backingStore:BackingStore +com.microsoft.graph.users.item.chats.item.messages.item.replies.replywithquote.ReplyWithQuotePostRequestBody::|public|constructor():void +com.microsoft.graph.users.item.chats.item.messages.item.replies.replywithquote.ReplyWithQuotePostRequestBody::|public|getAdditionalData():Map +com.microsoft.graph.users.item.chats.item.messages.item.replies.replywithquote.ReplyWithQuotePostRequestBody::|public|getBackingStore():BackingStore +com.microsoft.graph.users.item.chats.item.messages.item.replies.replywithquote.ReplyWithQuotePostRequestBody::|public|getFieldDeserializers():Map> +com.microsoft.graph.users.item.chats.item.messages.item.replies.replywithquote.ReplyWithQuotePostRequestBody::|public|getMessageIds():java.util.List +com.microsoft.graph.users.item.chats.item.messages.item.replies.replywithquote.ReplyWithQuotePostRequestBody::|public|getReplyMessage():ChatMessage +com.microsoft.graph.users.item.chats.item.messages.item.replies.replywithquote.ReplyWithQuotePostRequestBody::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.users.item.chats.item.messages.item.replies.replywithquote.ReplyWithQuotePostRequestBody::|public|setAdditionalData(value?:Map):void +com.microsoft.graph.users.item.chats.item.messages.item.replies.replywithquote.ReplyWithQuotePostRequestBody::|public|setBackingStore(value:BackingStore):void +com.microsoft.graph.users.item.chats.item.messages.item.replies.replywithquote.ReplyWithQuotePostRequestBody::|public|setMessageIds(value?:java.util.List):void +com.microsoft.graph.users.item.chats.item.messages.item.replies.replywithquote.ReplyWithQuotePostRequestBody::|public|setReplyMessage(value?:ChatMessage):void +com.microsoft.graph.users.item.chats.item.messages.item.replies.replywithquote.ReplyWithQuotePostRequestBody::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):ReplyWithQuotePostRequestBody +com.microsoft.graph.users.item.chats.item.messages.item.replies.replywithquote.ReplyWithQuotePostRequestBody~~>AdditionalDataHolder; BackedModel; Parsable +com.microsoft.graph.users.item.chats.item.messages.item.replies.replywithquote.ReplyWithQuoteRequestBuilder-->BaseRequestBuilder +com.microsoft.graph.users.item.chats.item.messages.item.replies.replywithquote.ReplyWithQuoteRequestBuilder.PostRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.users.item.chats.item.messages.item.replies.replywithquote.ReplyWithQuoteRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void +com.microsoft.graph.users.item.chats.item.messages.item.replies.replywithquote.ReplyWithQuoteRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.users.item.chats.item.messages.item.replies.replywithquote.ReplyWithQuoteRequestBuilder::|public|post(body:ReplyWithQuotePostRequestBody):ChatMessage +com.microsoft.graph.users.item.chats.item.messages.item.replies.replywithquote.ReplyWithQuoteRequestBuilder::|public|post(body:ReplyWithQuotePostRequestBody; requestConfiguration?:java.util.function.Consumer):ChatMessage +com.microsoft.graph.users.item.chats.item.messages.item.replies.replywithquote.ReplyWithQuoteRequestBuilder::|public|toPostRequestInformation(body:ReplyWithQuotePostRequestBody):RequestInformation +com.microsoft.graph.users.item.chats.item.messages.item.replies.replywithquote.ReplyWithQuoteRequestBuilder::|public|toPostRequestInformation(body:ReplyWithQuotePostRequestBody; requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.users.item.chats.item.messages.item.replies.replywithquote.ReplyWithQuoteRequestBuilder::|public|withUrl(rawUrl:String):ReplyWithQuoteRequestBuilder com.microsoft.graph.users.item.chats.item.messages.item.setreaction.SetReactionPostRequestBody::|protected|backingStore:BackingStore com.microsoft.graph.users.item.chats.item.messages.item.setreaction.SetReactionPostRequestBody::|public|constructor():void com.microsoft.graph.users.item.chats.item.messages.item.setreaction.SetReactionPostRequestBody::|public|getAdditionalData():Map @@ -218721,11 +220154,35 @@ com.microsoft.graph.users.item.chats.item.messages.MessagesRequestBuilder::|publ com.microsoft.graph.users.item.chats.item.messages.MessagesRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):ChatMessageCollectionResponse com.microsoft.graph.users.item.chats.item.messages.MessagesRequestBuilder::|public|post(body:ChatMessage):ChatMessage com.microsoft.graph.users.item.chats.item.messages.MessagesRequestBuilder::|public|post(body:ChatMessage; requestConfiguration?:java.util.function.Consumer):ChatMessage +com.microsoft.graph.users.item.chats.item.messages.MessagesRequestBuilder::|public|replyWithQuote:ReplyWithQuoteRequestBuilder com.microsoft.graph.users.item.chats.item.messages.MessagesRequestBuilder::|public|toGetRequestInformation():RequestInformation com.microsoft.graph.users.item.chats.item.messages.MessagesRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation com.microsoft.graph.users.item.chats.item.messages.MessagesRequestBuilder::|public|toPostRequestInformation(body:ChatMessage):RequestInformation com.microsoft.graph.users.item.chats.item.messages.MessagesRequestBuilder::|public|toPostRequestInformation(body:ChatMessage; requestConfiguration?:java.util.function.Consumer):RequestInformation com.microsoft.graph.users.item.chats.item.messages.MessagesRequestBuilder::|public|withUrl(rawUrl:String):MessagesRequestBuilder +com.microsoft.graph.users.item.chats.item.messages.replywithquote.ReplyWithQuotePostRequestBody::|protected|backingStore:BackingStore +com.microsoft.graph.users.item.chats.item.messages.replywithquote.ReplyWithQuotePostRequestBody::|public|constructor():void +com.microsoft.graph.users.item.chats.item.messages.replywithquote.ReplyWithQuotePostRequestBody::|public|getAdditionalData():Map +com.microsoft.graph.users.item.chats.item.messages.replywithquote.ReplyWithQuotePostRequestBody::|public|getBackingStore():BackingStore +com.microsoft.graph.users.item.chats.item.messages.replywithquote.ReplyWithQuotePostRequestBody::|public|getFieldDeserializers():Map> +com.microsoft.graph.users.item.chats.item.messages.replywithquote.ReplyWithQuotePostRequestBody::|public|getMessageIds():java.util.List +com.microsoft.graph.users.item.chats.item.messages.replywithquote.ReplyWithQuotePostRequestBody::|public|getReplyMessage():ChatMessage +com.microsoft.graph.users.item.chats.item.messages.replywithquote.ReplyWithQuotePostRequestBody::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.users.item.chats.item.messages.replywithquote.ReplyWithQuotePostRequestBody::|public|setAdditionalData(value?:Map):void +com.microsoft.graph.users.item.chats.item.messages.replywithquote.ReplyWithQuotePostRequestBody::|public|setBackingStore(value:BackingStore):void +com.microsoft.graph.users.item.chats.item.messages.replywithquote.ReplyWithQuotePostRequestBody::|public|setMessageIds(value?:java.util.List):void +com.microsoft.graph.users.item.chats.item.messages.replywithquote.ReplyWithQuotePostRequestBody::|public|setReplyMessage(value?:ChatMessage):void +com.microsoft.graph.users.item.chats.item.messages.replywithquote.ReplyWithQuotePostRequestBody::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):ReplyWithQuotePostRequestBody +com.microsoft.graph.users.item.chats.item.messages.replywithquote.ReplyWithQuotePostRequestBody~~>AdditionalDataHolder; BackedModel; Parsable +com.microsoft.graph.users.item.chats.item.messages.replywithquote.ReplyWithQuoteRequestBuilder-->BaseRequestBuilder +com.microsoft.graph.users.item.chats.item.messages.replywithquote.ReplyWithQuoteRequestBuilder.PostRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.users.item.chats.item.messages.replywithquote.ReplyWithQuoteRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void +com.microsoft.graph.users.item.chats.item.messages.replywithquote.ReplyWithQuoteRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.users.item.chats.item.messages.replywithquote.ReplyWithQuoteRequestBuilder::|public|post(body:ReplyWithQuotePostRequestBody):ChatMessage +com.microsoft.graph.users.item.chats.item.messages.replywithquote.ReplyWithQuoteRequestBuilder::|public|post(body:ReplyWithQuotePostRequestBody; requestConfiguration?:java.util.function.Consumer):ChatMessage +com.microsoft.graph.users.item.chats.item.messages.replywithquote.ReplyWithQuoteRequestBuilder::|public|toPostRequestInformation(body:ReplyWithQuotePostRequestBody):RequestInformation +com.microsoft.graph.users.item.chats.item.messages.replywithquote.ReplyWithQuoteRequestBuilder::|public|toPostRequestInformation(body:ReplyWithQuotePostRequestBody; requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.users.item.chats.item.messages.replywithquote.ReplyWithQuoteRequestBuilder::|public|withUrl(rawUrl:String):ReplyWithQuoteRequestBuilder com.microsoft.graph.users.item.chats.item.permissiongrants.count.CountRequestBuilder-->BaseRequestBuilder com.microsoft.graph.users.item.chats.item.permissiongrants.count.CountRequestBuilder.GetQueryParameters::|public|filter:String com.microsoft.graph.users.item.chats.item.permissiongrants.count.CountRequestBuilder.GetQueryParameters::|public|search:String @@ -223550,11 +225007,35 @@ com.microsoft.graph.users.item.joinedteams.item.channels.item.messages.item.repl com.microsoft.graph.users.item.joinedteams.item.channels.item.messages.item.replies.RepliesRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):ChatMessageCollectionResponse com.microsoft.graph.users.item.joinedteams.item.channels.item.messages.item.replies.RepliesRequestBuilder::|public|post(body:ChatMessage):ChatMessage com.microsoft.graph.users.item.joinedteams.item.channels.item.messages.item.replies.RepliesRequestBuilder::|public|post(body:ChatMessage; requestConfiguration?:java.util.function.Consumer):ChatMessage +com.microsoft.graph.users.item.joinedteams.item.channels.item.messages.item.replies.RepliesRequestBuilder::|public|replyWithQuote:ReplyWithQuoteRequestBuilder com.microsoft.graph.users.item.joinedteams.item.channels.item.messages.item.replies.RepliesRequestBuilder::|public|toGetRequestInformation():RequestInformation com.microsoft.graph.users.item.joinedteams.item.channels.item.messages.item.replies.RepliesRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation com.microsoft.graph.users.item.joinedteams.item.channels.item.messages.item.replies.RepliesRequestBuilder::|public|toPostRequestInformation(body:ChatMessage):RequestInformation com.microsoft.graph.users.item.joinedteams.item.channels.item.messages.item.replies.RepliesRequestBuilder::|public|toPostRequestInformation(body:ChatMessage; requestConfiguration?:java.util.function.Consumer):RequestInformation com.microsoft.graph.users.item.joinedteams.item.channels.item.messages.item.replies.RepliesRequestBuilder::|public|withUrl(rawUrl:String):RepliesRequestBuilder +com.microsoft.graph.users.item.joinedteams.item.channels.item.messages.item.replies.replywithquote.ReplyWithQuotePostRequestBody::|protected|backingStore:BackingStore +com.microsoft.graph.users.item.joinedteams.item.channels.item.messages.item.replies.replywithquote.ReplyWithQuotePostRequestBody::|public|constructor():void +com.microsoft.graph.users.item.joinedteams.item.channels.item.messages.item.replies.replywithquote.ReplyWithQuotePostRequestBody::|public|getAdditionalData():Map +com.microsoft.graph.users.item.joinedteams.item.channels.item.messages.item.replies.replywithquote.ReplyWithQuotePostRequestBody::|public|getBackingStore():BackingStore +com.microsoft.graph.users.item.joinedteams.item.channels.item.messages.item.replies.replywithquote.ReplyWithQuotePostRequestBody::|public|getFieldDeserializers():Map> +com.microsoft.graph.users.item.joinedteams.item.channels.item.messages.item.replies.replywithquote.ReplyWithQuotePostRequestBody::|public|getMessageIds():java.util.List +com.microsoft.graph.users.item.joinedteams.item.channels.item.messages.item.replies.replywithquote.ReplyWithQuotePostRequestBody::|public|getReplyMessage():ChatMessage +com.microsoft.graph.users.item.joinedteams.item.channels.item.messages.item.replies.replywithquote.ReplyWithQuotePostRequestBody::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.users.item.joinedteams.item.channels.item.messages.item.replies.replywithquote.ReplyWithQuotePostRequestBody::|public|setAdditionalData(value?:Map):void +com.microsoft.graph.users.item.joinedteams.item.channels.item.messages.item.replies.replywithquote.ReplyWithQuotePostRequestBody::|public|setBackingStore(value:BackingStore):void +com.microsoft.graph.users.item.joinedteams.item.channels.item.messages.item.replies.replywithquote.ReplyWithQuotePostRequestBody::|public|setMessageIds(value?:java.util.List):void +com.microsoft.graph.users.item.joinedteams.item.channels.item.messages.item.replies.replywithquote.ReplyWithQuotePostRequestBody::|public|setReplyMessage(value?:ChatMessage):void +com.microsoft.graph.users.item.joinedteams.item.channels.item.messages.item.replies.replywithquote.ReplyWithQuotePostRequestBody::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):ReplyWithQuotePostRequestBody +com.microsoft.graph.users.item.joinedteams.item.channels.item.messages.item.replies.replywithquote.ReplyWithQuotePostRequestBody~~>AdditionalDataHolder; BackedModel; Parsable +com.microsoft.graph.users.item.joinedteams.item.channels.item.messages.item.replies.replywithquote.ReplyWithQuoteRequestBuilder-->BaseRequestBuilder +com.microsoft.graph.users.item.joinedteams.item.channels.item.messages.item.replies.replywithquote.ReplyWithQuoteRequestBuilder.PostRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.users.item.joinedteams.item.channels.item.messages.item.replies.replywithquote.ReplyWithQuoteRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void +com.microsoft.graph.users.item.joinedteams.item.channels.item.messages.item.replies.replywithquote.ReplyWithQuoteRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.users.item.joinedteams.item.channels.item.messages.item.replies.replywithquote.ReplyWithQuoteRequestBuilder::|public|post(body:ReplyWithQuotePostRequestBody):ChatMessage +com.microsoft.graph.users.item.joinedteams.item.channels.item.messages.item.replies.replywithquote.ReplyWithQuoteRequestBuilder::|public|post(body:ReplyWithQuotePostRequestBody; requestConfiguration?:java.util.function.Consumer):ChatMessage +com.microsoft.graph.users.item.joinedteams.item.channels.item.messages.item.replies.replywithquote.ReplyWithQuoteRequestBuilder::|public|toPostRequestInformation(body:ReplyWithQuotePostRequestBody):RequestInformation +com.microsoft.graph.users.item.joinedteams.item.channels.item.messages.item.replies.replywithquote.ReplyWithQuoteRequestBuilder::|public|toPostRequestInformation(body:ReplyWithQuotePostRequestBody; requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.users.item.joinedteams.item.channels.item.messages.item.replies.replywithquote.ReplyWithQuoteRequestBuilder::|public|withUrl(rawUrl:String):ReplyWithQuoteRequestBuilder com.microsoft.graph.users.item.joinedteams.item.channels.item.messages.item.setreaction.SetReactionPostRequestBody::|protected|backingStore:BackingStore com.microsoft.graph.users.item.joinedteams.item.channels.item.messages.item.setreaction.SetReactionPostRequestBody::|public|constructor():void com.microsoft.graph.users.item.joinedteams.item.channels.item.messages.item.setreaction.SetReactionPostRequestBody::|public|getAdditionalData():Map @@ -223638,11 +225119,35 @@ com.microsoft.graph.users.item.joinedteams.item.channels.item.messages.MessagesR com.microsoft.graph.users.item.joinedteams.item.channels.item.messages.MessagesRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):ChatMessageCollectionResponse com.microsoft.graph.users.item.joinedteams.item.channels.item.messages.MessagesRequestBuilder::|public|post(body:ChatMessage):ChatMessage com.microsoft.graph.users.item.joinedteams.item.channels.item.messages.MessagesRequestBuilder::|public|post(body:ChatMessage; requestConfiguration?:java.util.function.Consumer):ChatMessage +com.microsoft.graph.users.item.joinedteams.item.channels.item.messages.MessagesRequestBuilder::|public|replyWithQuote:ReplyWithQuoteRequestBuilder com.microsoft.graph.users.item.joinedteams.item.channels.item.messages.MessagesRequestBuilder::|public|toGetRequestInformation():RequestInformation com.microsoft.graph.users.item.joinedteams.item.channels.item.messages.MessagesRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation com.microsoft.graph.users.item.joinedteams.item.channels.item.messages.MessagesRequestBuilder::|public|toPostRequestInformation(body:ChatMessage):RequestInformation com.microsoft.graph.users.item.joinedteams.item.channels.item.messages.MessagesRequestBuilder::|public|toPostRequestInformation(body:ChatMessage; requestConfiguration?:java.util.function.Consumer):RequestInformation com.microsoft.graph.users.item.joinedteams.item.channels.item.messages.MessagesRequestBuilder::|public|withUrl(rawUrl:String):MessagesRequestBuilder +com.microsoft.graph.users.item.joinedteams.item.channels.item.messages.replywithquote.ReplyWithQuotePostRequestBody::|protected|backingStore:BackingStore +com.microsoft.graph.users.item.joinedteams.item.channels.item.messages.replywithquote.ReplyWithQuotePostRequestBody::|public|constructor():void +com.microsoft.graph.users.item.joinedteams.item.channels.item.messages.replywithquote.ReplyWithQuotePostRequestBody::|public|getAdditionalData():Map +com.microsoft.graph.users.item.joinedteams.item.channels.item.messages.replywithquote.ReplyWithQuotePostRequestBody::|public|getBackingStore():BackingStore +com.microsoft.graph.users.item.joinedteams.item.channels.item.messages.replywithquote.ReplyWithQuotePostRequestBody::|public|getFieldDeserializers():Map> +com.microsoft.graph.users.item.joinedteams.item.channels.item.messages.replywithquote.ReplyWithQuotePostRequestBody::|public|getMessageIds():java.util.List +com.microsoft.graph.users.item.joinedteams.item.channels.item.messages.replywithquote.ReplyWithQuotePostRequestBody::|public|getReplyMessage():ChatMessage +com.microsoft.graph.users.item.joinedteams.item.channels.item.messages.replywithquote.ReplyWithQuotePostRequestBody::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.users.item.joinedteams.item.channels.item.messages.replywithquote.ReplyWithQuotePostRequestBody::|public|setAdditionalData(value?:Map):void +com.microsoft.graph.users.item.joinedteams.item.channels.item.messages.replywithquote.ReplyWithQuotePostRequestBody::|public|setBackingStore(value:BackingStore):void +com.microsoft.graph.users.item.joinedteams.item.channels.item.messages.replywithquote.ReplyWithQuotePostRequestBody::|public|setMessageIds(value?:java.util.List):void +com.microsoft.graph.users.item.joinedteams.item.channels.item.messages.replywithquote.ReplyWithQuotePostRequestBody::|public|setReplyMessage(value?:ChatMessage):void +com.microsoft.graph.users.item.joinedteams.item.channels.item.messages.replywithquote.ReplyWithQuotePostRequestBody::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):ReplyWithQuotePostRequestBody +com.microsoft.graph.users.item.joinedteams.item.channels.item.messages.replywithquote.ReplyWithQuotePostRequestBody~~>AdditionalDataHolder; BackedModel; Parsable +com.microsoft.graph.users.item.joinedteams.item.channels.item.messages.replywithquote.ReplyWithQuoteRequestBuilder-->BaseRequestBuilder +com.microsoft.graph.users.item.joinedteams.item.channels.item.messages.replywithquote.ReplyWithQuoteRequestBuilder.PostRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.users.item.joinedteams.item.channels.item.messages.replywithquote.ReplyWithQuoteRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void +com.microsoft.graph.users.item.joinedteams.item.channels.item.messages.replywithquote.ReplyWithQuoteRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.users.item.joinedteams.item.channels.item.messages.replywithquote.ReplyWithQuoteRequestBuilder::|public|post(body:ReplyWithQuotePostRequestBody):ChatMessage +com.microsoft.graph.users.item.joinedteams.item.channels.item.messages.replywithquote.ReplyWithQuoteRequestBuilder::|public|post(body:ReplyWithQuotePostRequestBody; requestConfiguration?:java.util.function.Consumer):ChatMessage +com.microsoft.graph.users.item.joinedteams.item.channels.item.messages.replywithquote.ReplyWithQuoteRequestBuilder::|public|toPostRequestInformation(body:ReplyWithQuotePostRequestBody):RequestInformation +com.microsoft.graph.users.item.joinedteams.item.channels.item.messages.replywithquote.ReplyWithQuoteRequestBuilder::|public|toPostRequestInformation(body:ReplyWithQuotePostRequestBody; requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.users.item.joinedteams.item.channels.item.messages.replywithquote.ReplyWithQuoteRequestBuilder::|public|withUrl(rawUrl:String):ReplyWithQuoteRequestBuilder com.microsoft.graph.users.item.joinedteams.item.channels.item.provisionemail.ProvisionEmailRequestBuilder-->BaseRequestBuilder com.microsoft.graph.users.item.joinedteams.item.channels.item.provisionemail.ProvisionEmailRequestBuilder.PostRequestConfiguration-->BaseRequestConfiguration com.microsoft.graph.users.item.joinedteams.item.channels.item.provisionemail.ProvisionEmailRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void @@ -225165,11 +226670,35 @@ com.microsoft.graph.users.item.joinedteams.item.primarychannel.messages.item.rep com.microsoft.graph.users.item.joinedteams.item.primarychannel.messages.item.replies.RepliesRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):ChatMessageCollectionResponse com.microsoft.graph.users.item.joinedteams.item.primarychannel.messages.item.replies.RepliesRequestBuilder::|public|post(body:ChatMessage):ChatMessage com.microsoft.graph.users.item.joinedteams.item.primarychannel.messages.item.replies.RepliesRequestBuilder::|public|post(body:ChatMessage; requestConfiguration?:java.util.function.Consumer):ChatMessage +com.microsoft.graph.users.item.joinedteams.item.primarychannel.messages.item.replies.RepliesRequestBuilder::|public|replyWithQuote:ReplyWithQuoteRequestBuilder com.microsoft.graph.users.item.joinedteams.item.primarychannel.messages.item.replies.RepliesRequestBuilder::|public|toGetRequestInformation():RequestInformation com.microsoft.graph.users.item.joinedteams.item.primarychannel.messages.item.replies.RepliesRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation com.microsoft.graph.users.item.joinedteams.item.primarychannel.messages.item.replies.RepliesRequestBuilder::|public|toPostRequestInformation(body:ChatMessage):RequestInformation com.microsoft.graph.users.item.joinedteams.item.primarychannel.messages.item.replies.RepliesRequestBuilder::|public|toPostRequestInformation(body:ChatMessage; requestConfiguration?:java.util.function.Consumer):RequestInformation com.microsoft.graph.users.item.joinedteams.item.primarychannel.messages.item.replies.RepliesRequestBuilder::|public|withUrl(rawUrl:String):RepliesRequestBuilder +com.microsoft.graph.users.item.joinedteams.item.primarychannel.messages.item.replies.replywithquote.ReplyWithQuotePostRequestBody::|protected|backingStore:BackingStore +com.microsoft.graph.users.item.joinedteams.item.primarychannel.messages.item.replies.replywithquote.ReplyWithQuotePostRequestBody::|public|constructor():void +com.microsoft.graph.users.item.joinedteams.item.primarychannel.messages.item.replies.replywithquote.ReplyWithQuotePostRequestBody::|public|getAdditionalData():Map +com.microsoft.graph.users.item.joinedteams.item.primarychannel.messages.item.replies.replywithquote.ReplyWithQuotePostRequestBody::|public|getBackingStore():BackingStore +com.microsoft.graph.users.item.joinedteams.item.primarychannel.messages.item.replies.replywithquote.ReplyWithQuotePostRequestBody::|public|getFieldDeserializers():Map> +com.microsoft.graph.users.item.joinedteams.item.primarychannel.messages.item.replies.replywithquote.ReplyWithQuotePostRequestBody::|public|getMessageIds():java.util.List +com.microsoft.graph.users.item.joinedteams.item.primarychannel.messages.item.replies.replywithquote.ReplyWithQuotePostRequestBody::|public|getReplyMessage():ChatMessage +com.microsoft.graph.users.item.joinedteams.item.primarychannel.messages.item.replies.replywithquote.ReplyWithQuotePostRequestBody::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.users.item.joinedteams.item.primarychannel.messages.item.replies.replywithquote.ReplyWithQuotePostRequestBody::|public|setAdditionalData(value?:Map):void +com.microsoft.graph.users.item.joinedteams.item.primarychannel.messages.item.replies.replywithquote.ReplyWithQuotePostRequestBody::|public|setBackingStore(value:BackingStore):void +com.microsoft.graph.users.item.joinedteams.item.primarychannel.messages.item.replies.replywithquote.ReplyWithQuotePostRequestBody::|public|setMessageIds(value?:java.util.List):void +com.microsoft.graph.users.item.joinedteams.item.primarychannel.messages.item.replies.replywithquote.ReplyWithQuotePostRequestBody::|public|setReplyMessage(value?:ChatMessage):void +com.microsoft.graph.users.item.joinedteams.item.primarychannel.messages.item.replies.replywithquote.ReplyWithQuotePostRequestBody::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):ReplyWithQuotePostRequestBody +com.microsoft.graph.users.item.joinedteams.item.primarychannel.messages.item.replies.replywithquote.ReplyWithQuotePostRequestBody~~>AdditionalDataHolder; BackedModel; Parsable +com.microsoft.graph.users.item.joinedteams.item.primarychannel.messages.item.replies.replywithquote.ReplyWithQuoteRequestBuilder-->BaseRequestBuilder +com.microsoft.graph.users.item.joinedteams.item.primarychannel.messages.item.replies.replywithquote.ReplyWithQuoteRequestBuilder.PostRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.users.item.joinedteams.item.primarychannel.messages.item.replies.replywithquote.ReplyWithQuoteRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void +com.microsoft.graph.users.item.joinedteams.item.primarychannel.messages.item.replies.replywithquote.ReplyWithQuoteRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.users.item.joinedteams.item.primarychannel.messages.item.replies.replywithquote.ReplyWithQuoteRequestBuilder::|public|post(body:ReplyWithQuotePostRequestBody):ChatMessage +com.microsoft.graph.users.item.joinedteams.item.primarychannel.messages.item.replies.replywithquote.ReplyWithQuoteRequestBuilder::|public|post(body:ReplyWithQuotePostRequestBody; requestConfiguration?:java.util.function.Consumer):ChatMessage +com.microsoft.graph.users.item.joinedteams.item.primarychannel.messages.item.replies.replywithquote.ReplyWithQuoteRequestBuilder::|public|toPostRequestInformation(body:ReplyWithQuotePostRequestBody):RequestInformation +com.microsoft.graph.users.item.joinedteams.item.primarychannel.messages.item.replies.replywithquote.ReplyWithQuoteRequestBuilder::|public|toPostRequestInformation(body:ReplyWithQuotePostRequestBody; requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.users.item.joinedteams.item.primarychannel.messages.item.replies.replywithquote.ReplyWithQuoteRequestBuilder::|public|withUrl(rawUrl:String):ReplyWithQuoteRequestBuilder com.microsoft.graph.users.item.joinedteams.item.primarychannel.messages.item.setreaction.SetReactionPostRequestBody::|protected|backingStore:BackingStore com.microsoft.graph.users.item.joinedteams.item.primarychannel.messages.item.setreaction.SetReactionPostRequestBody::|public|constructor():void com.microsoft.graph.users.item.joinedteams.item.primarychannel.messages.item.setreaction.SetReactionPostRequestBody::|public|getAdditionalData():Map @@ -225253,11 +226782,35 @@ com.microsoft.graph.users.item.joinedteams.item.primarychannel.messages.Messages com.microsoft.graph.users.item.joinedteams.item.primarychannel.messages.MessagesRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):ChatMessageCollectionResponse com.microsoft.graph.users.item.joinedteams.item.primarychannel.messages.MessagesRequestBuilder::|public|post(body:ChatMessage):ChatMessage com.microsoft.graph.users.item.joinedteams.item.primarychannel.messages.MessagesRequestBuilder::|public|post(body:ChatMessage; requestConfiguration?:java.util.function.Consumer):ChatMessage +com.microsoft.graph.users.item.joinedteams.item.primarychannel.messages.MessagesRequestBuilder::|public|replyWithQuote:ReplyWithQuoteRequestBuilder com.microsoft.graph.users.item.joinedteams.item.primarychannel.messages.MessagesRequestBuilder::|public|toGetRequestInformation():RequestInformation com.microsoft.graph.users.item.joinedteams.item.primarychannel.messages.MessagesRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation com.microsoft.graph.users.item.joinedteams.item.primarychannel.messages.MessagesRequestBuilder::|public|toPostRequestInformation(body:ChatMessage):RequestInformation com.microsoft.graph.users.item.joinedteams.item.primarychannel.messages.MessagesRequestBuilder::|public|toPostRequestInformation(body:ChatMessage; requestConfiguration?:java.util.function.Consumer):RequestInformation com.microsoft.graph.users.item.joinedteams.item.primarychannel.messages.MessagesRequestBuilder::|public|withUrl(rawUrl:String):MessagesRequestBuilder +com.microsoft.graph.users.item.joinedteams.item.primarychannel.messages.replywithquote.ReplyWithQuotePostRequestBody::|protected|backingStore:BackingStore +com.microsoft.graph.users.item.joinedteams.item.primarychannel.messages.replywithquote.ReplyWithQuotePostRequestBody::|public|constructor():void +com.microsoft.graph.users.item.joinedteams.item.primarychannel.messages.replywithquote.ReplyWithQuotePostRequestBody::|public|getAdditionalData():Map +com.microsoft.graph.users.item.joinedteams.item.primarychannel.messages.replywithquote.ReplyWithQuotePostRequestBody::|public|getBackingStore():BackingStore +com.microsoft.graph.users.item.joinedteams.item.primarychannel.messages.replywithquote.ReplyWithQuotePostRequestBody::|public|getFieldDeserializers():Map> +com.microsoft.graph.users.item.joinedteams.item.primarychannel.messages.replywithquote.ReplyWithQuotePostRequestBody::|public|getMessageIds():java.util.List +com.microsoft.graph.users.item.joinedteams.item.primarychannel.messages.replywithquote.ReplyWithQuotePostRequestBody::|public|getReplyMessage():ChatMessage +com.microsoft.graph.users.item.joinedteams.item.primarychannel.messages.replywithquote.ReplyWithQuotePostRequestBody::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.users.item.joinedteams.item.primarychannel.messages.replywithquote.ReplyWithQuotePostRequestBody::|public|setAdditionalData(value?:Map):void +com.microsoft.graph.users.item.joinedteams.item.primarychannel.messages.replywithquote.ReplyWithQuotePostRequestBody::|public|setBackingStore(value:BackingStore):void +com.microsoft.graph.users.item.joinedteams.item.primarychannel.messages.replywithquote.ReplyWithQuotePostRequestBody::|public|setMessageIds(value?:java.util.List):void +com.microsoft.graph.users.item.joinedteams.item.primarychannel.messages.replywithquote.ReplyWithQuotePostRequestBody::|public|setReplyMessage(value?:ChatMessage):void +com.microsoft.graph.users.item.joinedteams.item.primarychannel.messages.replywithquote.ReplyWithQuotePostRequestBody::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):ReplyWithQuotePostRequestBody +com.microsoft.graph.users.item.joinedteams.item.primarychannel.messages.replywithquote.ReplyWithQuotePostRequestBody~~>AdditionalDataHolder; BackedModel; Parsable +com.microsoft.graph.users.item.joinedteams.item.primarychannel.messages.replywithquote.ReplyWithQuoteRequestBuilder-->BaseRequestBuilder +com.microsoft.graph.users.item.joinedteams.item.primarychannel.messages.replywithquote.ReplyWithQuoteRequestBuilder.PostRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.users.item.joinedteams.item.primarychannel.messages.replywithquote.ReplyWithQuoteRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void +com.microsoft.graph.users.item.joinedteams.item.primarychannel.messages.replywithquote.ReplyWithQuoteRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.users.item.joinedteams.item.primarychannel.messages.replywithquote.ReplyWithQuoteRequestBuilder::|public|post(body:ReplyWithQuotePostRequestBody):ChatMessage +com.microsoft.graph.users.item.joinedteams.item.primarychannel.messages.replywithquote.ReplyWithQuoteRequestBuilder::|public|post(body:ReplyWithQuotePostRequestBody; requestConfiguration?:java.util.function.Consumer):ChatMessage +com.microsoft.graph.users.item.joinedteams.item.primarychannel.messages.replywithquote.ReplyWithQuoteRequestBuilder::|public|toPostRequestInformation(body:ReplyWithQuotePostRequestBody):RequestInformation +com.microsoft.graph.users.item.joinedteams.item.primarychannel.messages.replywithquote.ReplyWithQuoteRequestBuilder::|public|toPostRequestInformation(body:ReplyWithQuotePostRequestBody; requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.users.item.joinedteams.item.primarychannel.messages.replywithquote.ReplyWithQuoteRequestBuilder::|public|withUrl(rawUrl:String):ReplyWithQuoteRequestBuilder com.microsoft.graph.users.item.joinedteams.item.primarychannel.PrimaryChannelRequestBuilder-->BaseRequestBuilder com.microsoft.graph.users.item.joinedteams.item.primarychannel.PrimaryChannelRequestBuilder.DeleteRequestConfiguration-->BaseRequestConfiguration com.microsoft.graph.users.item.joinedteams.item.primarychannel.PrimaryChannelRequestBuilder.GetQueryParameters::|public|expand:String[] @@ -235097,19 +236650,50 @@ com.microsoft.graph.users.item.sponsors.count.CountRequestBuilder::|public|toGet com.microsoft.graph.users.item.sponsors.count.CountRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation com.microsoft.graph.users.item.sponsors.count.CountRequestBuilder::|public|withUrl(rawUrl:String):CountRequestBuilder com.microsoft.graph.users.item.sponsors.item.DirectoryObjectItemRequestBuilder-->BaseRequestBuilder -com.microsoft.graph.users.item.sponsors.item.DirectoryObjectItemRequestBuilder.GetQueryParameters::|public|expand:String[] -com.microsoft.graph.users.item.sponsors.item.DirectoryObjectItemRequestBuilder.GetQueryParameters::|public|select:String[] -com.microsoft.graph.users.item.sponsors.item.DirectoryObjectItemRequestBuilder.GetQueryParameters::|public|toQueryParameters():Map -com.microsoft.graph.users.item.sponsors.item.DirectoryObjectItemRequestBuilder.GetQueryParameters~~>QueryParameters -com.microsoft.graph.users.item.sponsors.item.DirectoryObjectItemRequestBuilder.GetRequestConfiguration-->BaseRequestConfiguration -com.microsoft.graph.users.item.sponsors.item.DirectoryObjectItemRequestBuilder.GetRequestConfiguration::|public|queryParameters:GetQueryParameters com.microsoft.graph.users.item.sponsors.item.DirectoryObjectItemRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void com.microsoft.graph.users.item.sponsors.item.DirectoryObjectItemRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void -com.microsoft.graph.users.item.sponsors.item.DirectoryObjectItemRequestBuilder::|public|get():DirectoryObject -com.microsoft.graph.users.item.sponsors.item.DirectoryObjectItemRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):DirectoryObject -com.microsoft.graph.users.item.sponsors.item.DirectoryObjectItemRequestBuilder::|public|toGetRequestInformation():RequestInformation -com.microsoft.graph.users.item.sponsors.item.DirectoryObjectItemRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation -com.microsoft.graph.users.item.sponsors.item.DirectoryObjectItemRequestBuilder::|public|withUrl(rawUrl:String):DirectoryObjectItemRequestBuilder +com.microsoft.graph.users.item.sponsors.item.DirectoryObjectItemRequestBuilder::|public|ref:RefRequestBuilder +com.microsoft.graph.users.item.sponsors.item.ref.RefRequestBuilder-->BaseRequestBuilder +com.microsoft.graph.users.item.sponsors.item.ref.RefRequestBuilder.DeleteRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.users.item.sponsors.item.ref.RefRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void +com.microsoft.graph.users.item.sponsors.item.ref.RefRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.users.item.sponsors.item.ref.RefRequestBuilder::|public|delete():Void +com.microsoft.graph.users.item.sponsors.item.ref.RefRequestBuilder::|public|delete(requestConfiguration?:java.util.function.Consumer):Void +com.microsoft.graph.users.item.sponsors.item.ref.RefRequestBuilder::|public|toDeleteRequestInformation():RequestInformation +com.microsoft.graph.users.item.sponsors.item.ref.RefRequestBuilder::|public|toDeleteRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.users.item.sponsors.item.ref.RefRequestBuilder::|public|withUrl(rawUrl:String):RefRequestBuilder +com.microsoft.graph.users.item.sponsors.ref.RefRequestBuilder-->BaseRequestBuilder +com.microsoft.graph.users.item.sponsors.ref.RefRequestBuilder.DeleteQueryParameters::|public|id:String +com.microsoft.graph.users.item.sponsors.ref.RefRequestBuilder.DeleteQueryParameters::|public|toQueryParameters():Map +com.microsoft.graph.users.item.sponsors.ref.RefRequestBuilder.DeleteQueryParameters~~>QueryParameters +com.microsoft.graph.users.item.sponsors.ref.RefRequestBuilder.DeleteRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.users.item.sponsors.ref.RefRequestBuilder.DeleteRequestConfiguration::|public|queryParameters:DeleteQueryParameters +com.microsoft.graph.users.item.sponsors.ref.RefRequestBuilder.GetQueryParameters::|public|count:Boolean +com.microsoft.graph.users.item.sponsors.ref.RefRequestBuilder.GetQueryParameters::|public|filter:String +com.microsoft.graph.users.item.sponsors.ref.RefRequestBuilder.GetQueryParameters::|public|orderby:String[] +com.microsoft.graph.users.item.sponsors.ref.RefRequestBuilder.GetQueryParameters::|public|search:String +com.microsoft.graph.users.item.sponsors.ref.RefRequestBuilder.GetQueryParameters::|public|skip:Integer +com.microsoft.graph.users.item.sponsors.ref.RefRequestBuilder.GetQueryParameters::|public|top:Integer +com.microsoft.graph.users.item.sponsors.ref.RefRequestBuilder.GetQueryParameters::|public|toQueryParameters():Map +com.microsoft.graph.users.item.sponsors.ref.RefRequestBuilder.GetQueryParameters~~>QueryParameters +com.microsoft.graph.users.item.sponsors.ref.RefRequestBuilder.GetRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.users.item.sponsors.ref.RefRequestBuilder.GetRequestConfiguration::|public|queryParameters:GetQueryParameters +com.microsoft.graph.users.item.sponsors.ref.RefRequestBuilder.PostRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.users.item.sponsors.ref.RefRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void +com.microsoft.graph.users.item.sponsors.ref.RefRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.users.item.sponsors.ref.RefRequestBuilder::|public|delete():Void +com.microsoft.graph.users.item.sponsors.ref.RefRequestBuilder::|public|delete(requestConfiguration?:java.util.function.Consumer):Void +com.microsoft.graph.users.item.sponsors.ref.RefRequestBuilder::|public|get():StringCollectionResponse +com.microsoft.graph.users.item.sponsors.ref.RefRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):StringCollectionResponse +com.microsoft.graph.users.item.sponsors.ref.RefRequestBuilder::|public|post(body:ReferenceCreate):Void +com.microsoft.graph.users.item.sponsors.ref.RefRequestBuilder::|public|post(body:ReferenceCreate; requestConfiguration?:java.util.function.Consumer):Void +com.microsoft.graph.users.item.sponsors.ref.RefRequestBuilder::|public|toDeleteRequestInformation():RequestInformation +com.microsoft.graph.users.item.sponsors.ref.RefRequestBuilder::|public|toDeleteRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.users.item.sponsors.ref.RefRequestBuilder::|public|toGetRequestInformation():RequestInformation +com.microsoft.graph.users.item.sponsors.ref.RefRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.users.item.sponsors.ref.RefRequestBuilder::|public|toPostRequestInformation(body:ReferenceCreate):RequestInformation +com.microsoft.graph.users.item.sponsors.ref.RefRequestBuilder::|public|toPostRequestInformation(body:ReferenceCreate; requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.users.item.sponsors.ref.RefRequestBuilder::|public|withUrl(rawUrl:String):RefRequestBuilder com.microsoft.graph.users.item.sponsors.SponsorsRequestBuilder-->BaseRequestBuilder com.microsoft.graph.users.item.sponsors.SponsorsRequestBuilder.GetQueryParameters::|public|count:Boolean com.microsoft.graph.users.item.sponsors.SponsorsRequestBuilder.GetQueryParameters::|public|expand:String[] @@ -235129,6 +236713,7 @@ com.microsoft.graph.users.item.sponsors.SponsorsRequestBuilder::|public|construc com.microsoft.graph.users.item.sponsors.SponsorsRequestBuilder::|public|count:CountRequestBuilder com.microsoft.graph.users.item.sponsors.SponsorsRequestBuilder::|public|get():DirectoryObjectCollectionResponse com.microsoft.graph.users.item.sponsors.SponsorsRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):DirectoryObjectCollectionResponse +com.microsoft.graph.users.item.sponsors.SponsorsRequestBuilder::|public|ref:RefRequestBuilder com.microsoft.graph.users.item.sponsors.SponsorsRequestBuilder::|public|toGetRequestInformation():RequestInformation com.microsoft.graph.users.item.sponsors.SponsorsRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation com.microsoft.graph.users.item.sponsors.SponsorsRequestBuilder::|public|withUrl(rawUrl:String):SponsorsRequestBuilder diff --git a/src/main/java/com/microsoft/graph/generated/kiota-lock.json b/src/main/java/com/microsoft/graph/generated/kiota-lock.json index 5669e344525..4332b406dc8 100644 --- a/src/main/java/com/microsoft/graph/generated/kiota-lock.json +++ b/src/main/java/com/microsoft/graph/generated/kiota-lock.json @@ -1,5 +1,5 @@ { - "descriptionHash": "4F06022D5B45031BAB5C100A8706A34FA46122344724E8FCA8C63860D90BF29AC24BE841A1ED2D972C817F599F3CB3D773FDC21B97C78F4BD30527C351DF0259", + "descriptionHash": "89E8F6D74A32BB61DE8F4EB953F340F058C3B87D73273DC2DF16A3356AB383E85983A902A22001D6AB119C3FB39EB5DF2C76C3D82A5FA86344385E3A8DDCD30D", "descriptionLocation": "../../msgraph-metadata/clean_v10_openapi/openapi.yaml", "lockFileVersion": "1.0.0", "kiotaVersion": "1.30.0", diff --git a/src/main/java/com/microsoft/graph/generated/models/AccessPackageAssignmentPolicy.java b/src/main/java/com/microsoft/graph/generated/models/AccessPackageAssignmentPolicy.java index e4b4022100a..e9af173d066 100644 --- a/src/main/java/com/microsoft/graph/generated/models/AccessPackageAssignmentPolicy.java +++ b/src/main/java/com/microsoft/graph/generated/models/AccessPackageAssignmentPolicy.java @@ -26,7 +26,7 @@ public static AccessPackageAssignmentPolicy createFromDiscriminatorValue(@jakart return new AccessPackageAssignmentPolicy(); } /** - * Gets the accessPackage property value. Access package containing this policy. Read-only. Supports $expand. + * Gets the accessPackage property value. Access package containing this policy. Read-only. Supports $expand. * @return a {@link AccessPackage} */ @jakarta.annotation.Nullable @@ -34,7 +34,7 @@ public AccessPackage getAccessPackage() { return this.backingStore.get("accessPackage"); } /** - * Gets the allowedTargetScope property value. Principals that can be assigned the access package through this policy. The possible values are: notSpecified, specificDirectoryUsers, specificConnectedOrganizationUsers, specificDirectoryServicePrincipals, allMemberUsers, allDirectoryUsers, allDirectoryServicePrincipals, allConfiguredConnectedOrganizationUsers, allExternalUsers, unknownFutureValue. + * Gets the allowedTargetScope property value. Principals that can be assigned the access package through this policy. The possible values are: notSpecified, specificDirectoryUsers, specificConnectedOrganizationUsers, specificDirectoryServicePrincipals, allMemberUsers, allDirectoryUsers, allDirectoryServicePrincipals, allConfiguredConnectedOrganizationUsers, allExternalUsers, allDirectoryAgentIdentities, unknownFutureValue. * @return a {@link AllowedTargetScope} */ @jakarta.annotation.Nullable @@ -203,14 +203,14 @@ public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writ writer.writeCollectionOfObjectValues("specificAllowedTargets", this.getSpecificAllowedTargets()); } /** - * Sets the accessPackage property value. Access package containing this policy. Read-only. Supports $expand. + * Sets the accessPackage property value. Access package containing this policy. Read-only. Supports $expand. * @param value Value to set for the accessPackage property. */ public void setAccessPackage(@jakarta.annotation.Nullable final AccessPackage value) { this.backingStore.set("accessPackage", value); } /** - * Sets the allowedTargetScope property value. Principals that can be assigned the access package through this policy. The possible values are: notSpecified, specificDirectoryUsers, specificConnectedOrganizationUsers, specificDirectoryServicePrincipals, allMemberUsers, allDirectoryUsers, allDirectoryServicePrincipals, allConfiguredConnectedOrganizationUsers, allExternalUsers, unknownFutureValue. + * Sets the allowedTargetScope property value. Principals that can be assigned the access package through this policy. The possible values are: notSpecified, specificDirectoryUsers, specificConnectedOrganizationUsers, specificDirectoryServicePrincipals, allMemberUsers, allDirectoryUsers, allDirectoryServicePrincipals, allConfiguredConnectedOrganizationUsers, allExternalUsers, allDirectoryAgentIdentities, unknownFutureValue. * @param value Value to set for the allowedTargetScope property. */ public void setAllowedTargetScope(@jakarta.annotation.Nullable final AllowedTargetScope value) { diff --git a/src/main/java/com/microsoft/graph/generated/models/Admin.java b/src/main/java/com/microsoft/graph/generated/models/Admin.java index 2f2a06fbcb3..73987e13fe3 100644 --- a/src/main/java/com/microsoft/graph/generated/models/Admin.java +++ b/src/main/java/com/microsoft/graph/generated/models/Admin.java @@ -139,7 +139,7 @@ public Sharepoint getSharepoint() { return this.backingStore.get("sharepoint"); } /** - * Gets the teams property value. A container for Teams administration functionalities, such as user configurations and policy assignments. + * Gets the teams property value. A container for Teams administration functionalities, such as Teams telephone number management functionalities, user Teams configurations, and policy assignments. * @return a {@link TeamsAdminRoot} */ @jakarta.annotation.Nullable @@ -235,7 +235,7 @@ public void setSharepoint(@jakarta.annotation.Nullable final Sharepoint value) { this.backingStore.set("sharepoint", value); } /** - * Sets the teams property value. A container for Teams administration functionalities, such as user configurations and policy assignments. + * Sets the teams property value. A container for Teams administration functionalities, such as Teams telephone number management functionalities, user Teams configurations, and policy assignments. * @param value Value to set for the teams property. */ public void setTeams(@jakarta.annotation.Nullable final TeamsAdminRoot value) { diff --git a/src/main/java/com/microsoft/graph/generated/models/AgentIdentity.java b/src/main/java/com/microsoft/graph/generated/models/AgentIdentity.java new file mode 100644 index 00000000000..237ce2bf440 --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/models/AgentIdentity.java @@ -0,0 +1,114 @@ +package com.microsoft.graph.models; + +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParseNode; +import com.microsoft.kiota.serialization.SerializationWriter; +import java.time.OffsetDateTime; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +@jakarta.annotation.Generated("com.microsoft.kiota") +public class AgentIdentity extends ServicePrincipal implements Parsable { + /** + * Instantiates a new {@link AgentIdentity} and sets the default values. + */ + public AgentIdentity() { + super(); + this.setOdataType("#microsoft.graph.agentIdentity"); + } + /** + * 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 AgentIdentity} + */ + @jakarta.annotation.Nonnull + public static AgentIdentity createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) { + Objects.requireNonNull(parseNode); + return new AgentIdentity(); + } + /** + * Gets the agentIdentityBlueprintId property value. The appId of the agent identity blueprint that defines the configuration for this agent identity. + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String getAgentIdentityBlueprintId() { + return this.backingStore.get("agentIdentityBlueprintId"); + } + /** + * Gets the createdByAppId property value. The appId of the application that created this agent identity. Set internally by Microsoft Entra ID. Read-only. Inherited from servicePrincipal. + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String getCreatedByAppId() { + return this.backingStore.get("createdByAppId"); + } + /** + * Gets the createdDateTime property value. The date and time the agent identity was created. Read-only. Inherited from servicePrincipal. + * @return a {@link OffsetDateTime} + */ + @jakarta.annotation.Nullable + public OffsetDateTime getCreatedDateTime() { + return this.backingStore.get("createdDateTime"); + } + /** + * 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("agentIdentityBlueprintId", (n) -> { this.setAgentIdentityBlueprintId(n.getStringValue()); }); + deserializerMap.put("createdByAppId", (n) -> { this.setCreatedByAppId(n.getStringValue()); }); + deserializerMap.put("createdDateTime", (n) -> { this.setCreatedDateTime(n.getOffsetDateTimeValue()); }); + deserializerMap.put("sponsors", (n) -> { this.setSponsors(n.getCollectionOfObjectValues(DirectoryObject::createFromDiscriminatorValue)); }); + return deserializerMap; + } + /** + * Gets the sponsors property value. The sponsors for this agent identity. + * @return a {@link java.util.List} + */ + @jakarta.annotation.Nullable + public java.util.List getSponsors() { + return this.backingStore.get("sponsors"); + } + /** + * 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("agentIdentityBlueprintId", this.getAgentIdentityBlueprintId()); + writer.writeStringValue("createdByAppId", this.getCreatedByAppId()); + writer.writeOffsetDateTimeValue("createdDateTime", this.getCreatedDateTime()); + writer.writeCollectionOfObjectValues("sponsors", this.getSponsors()); + } + /** + * Sets the agentIdentityBlueprintId property value. The appId of the agent identity blueprint that defines the configuration for this agent identity. + * @param value Value to set for the agentIdentityBlueprintId property. + */ + public void setAgentIdentityBlueprintId(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("agentIdentityBlueprintId", value); + } + /** + * Sets the createdByAppId property value. The appId of the application that created this agent identity. Set internally by Microsoft Entra ID. Read-only. Inherited from servicePrincipal. + * @param value Value to set for the createdByAppId property. + */ + public void setCreatedByAppId(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("createdByAppId", value); + } + /** + * Sets the createdDateTime property value. The date and time the agent identity was created. Read-only. Inherited from servicePrincipal. + * @param value Value to set for the createdDateTime property. + */ + public void setCreatedDateTime(@jakarta.annotation.Nullable final OffsetDateTime value) { + this.backingStore.set("createdDateTime", value); + } + /** + * Sets the sponsors property value. The sponsors for this agent identity. + * @param value Value to set for the sponsors property. + */ + public void setSponsors(@jakarta.annotation.Nullable final java.util.List value) { + this.backingStore.set("sponsors", value); + } +} diff --git a/src/main/java/com/microsoft/graph/generated/models/AgentIdentityBlueprint.java b/src/main/java/com/microsoft/graph/generated/models/AgentIdentityBlueprint.java new file mode 100644 index 00000000000..27762acc826 --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/models/AgentIdentityBlueprint.java @@ -0,0 +1,96 @@ +package com.microsoft.graph.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 AgentIdentityBlueprint extends Application implements Parsable { + /** + * Instantiates a new {@link AgentIdentityBlueprint} and sets the default values. + */ + public AgentIdentityBlueprint() { + super(); + this.setOdataType("#microsoft.graph.agentIdentityBlueprint"); + } + /** + * 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 AgentIdentityBlueprint} + */ + @jakarta.annotation.Nonnull + public static AgentIdentityBlueprint createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) { + Objects.requireNonNull(parseNode); + return new AgentIdentityBlueprint(); + } + /** + * Gets the createdByAppId property value. The appId of the application that created this agent identity blueprint. Set internally by Microsoft Entra ID. Read-only. Inherited from application. + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String getCreatedByAppId() { + return this.backingStore.get("createdByAppId"); + } + /** + * 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("createdByAppId", (n) -> { this.setCreatedByAppId(n.getStringValue()); }); + deserializerMap.put("inheritablePermissions", (n) -> { this.setInheritablePermissions(n.getCollectionOfObjectValues(InheritablePermission::createFromDiscriminatorValue)); }); + deserializerMap.put("sponsors", (n) -> { this.setSponsors(n.getCollectionOfObjectValues(DirectoryObject::createFromDiscriminatorValue)); }); + return deserializerMap; + } + /** + * Gets the inheritablePermissions property value. Defines scopes of a resource application that may be automatically granted to agent identities without additional consent. + * @return a {@link java.util.List} + */ + @jakarta.annotation.Nullable + public java.util.List getInheritablePermissions() { + return this.backingStore.get("inheritablePermissions"); + } + /** + * Gets the sponsors property value. The sponsors for this agent identity blueprint. Sponsors are users or groups who can authorize and manage the lifecycle of agent identity instances. Required during the create operation. + * @return a {@link java.util.List} + */ + @jakarta.annotation.Nullable + public java.util.List getSponsors() { + return this.backingStore.get("sponsors"); + } + /** + * 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("createdByAppId", this.getCreatedByAppId()); + writer.writeCollectionOfObjectValues("inheritablePermissions", this.getInheritablePermissions()); + writer.writeCollectionOfObjectValues("sponsors", this.getSponsors()); + } + /** + * Sets the createdByAppId property value. The appId of the application that created this agent identity blueprint. Set internally by Microsoft Entra ID. Read-only. Inherited from application. + * @param value Value to set for the createdByAppId property. + */ + public void setCreatedByAppId(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("createdByAppId", value); + } + /** + * Sets the inheritablePermissions property value. Defines scopes of a resource application that may be automatically granted to agent identities without additional consent. + * @param value Value to set for the inheritablePermissions property. + */ + public void setInheritablePermissions(@jakarta.annotation.Nullable final java.util.List value) { + this.backingStore.set("inheritablePermissions", value); + } + /** + * Sets the sponsors property value. The sponsors for this agent identity blueprint. Sponsors are users or groups who can authorize and manage the lifecycle of agent identity instances. Required during the create operation. + * @param value Value to set for the sponsors property. + */ + public void setSponsors(@jakarta.annotation.Nullable final java.util.List value) { + this.backingStore.set("sponsors", value); + } +} diff --git a/src/main/java/com/microsoft/graph/generated/models/AgentIdentityBlueprintPrincipal.java b/src/main/java/com/microsoft/graph/generated/models/AgentIdentityBlueprintPrincipal.java new file mode 100644 index 00000000000..6eec207e779 --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/models/AgentIdentityBlueprintPrincipal.java @@ -0,0 +1,79 @@ +package com.microsoft.graph.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 AgentIdentityBlueprintPrincipal extends ServicePrincipal implements Parsable { + /** + * Instantiates a new {@link AgentIdentityBlueprintPrincipal} and sets the default values. + */ + public AgentIdentityBlueprintPrincipal() { + super(); + this.setOdataType("#microsoft.graph.agentIdentityBlueprintPrincipal"); + } + /** + * 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 AgentIdentityBlueprintPrincipal} + */ + @jakarta.annotation.Nonnull + public static AgentIdentityBlueprintPrincipal createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) { + Objects.requireNonNull(parseNode); + return new AgentIdentityBlueprintPrincipal(); + } + /** + * Gets the createdByAppId property value. The appId of the application that created this agent identity blueprint principal. Set internally by Microsoft Entra ID. Read-only. Inherited from servicePrincipal. + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String getCreatedByAppId() { + return this.backingStore.get("createdByAppId"); + } + /** + * 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("createdByAppId", (n) -> { this.setCreatedByAppId(n.getStringValue()); }); + deserializerMap.put("sponsors", (n) -> { this.setSponsors(n.getCollectionOfObjectValues(DirectoryObject::createFromDiscriminatorValue)); }); + return deserializerMap; + } + /** + * Gets the sponsors property value. The sponsors for this agent identity blueprint principal. Sponsors are users or service principals who can authorize and manage the lifecycle of agent identity instances. + * @return a {@link java.util.List} + */ + @jakarta.annotation.Nullable + public java.util.List getSponsors() { + return this.backingStore.get("sponsors"); + } + /** + * 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("createdByAppId", this.getCreatedByAppId()); + writer.writeCollectionOfObjectValues("sponsors", this.getSponsors()); + } + /** + * Sets the createdByAppId property value. The appId of the application that created this agent identity blueprint principal. Set internally by Microsoft Entra ID. Read-only. Inherited from servicePrincipal. + * @param value Value to set for the createdByAppId property. + */ + public void setCreatedByAppId(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("createdByAppId", value); + } + /** + * Sets the sponsors property value. The sponsors for this agent identity blueprint principal. Sponsors are users or service principals who can authorize and manage the lifecycle of agent identity instances. + * @param value Value to set for the sponsors property. + */ + public void setSponsors(@jakarta.annotation.Nullable final java.util.List value) { + this.backingStore.set("sponsors", value); + } +} diff --git a/src/main/java/com/microsoft/graph/generated/models/AgentUser.java b/src/main/java/com/microsoft/graph/generated/models/AgentUser.java new file mode 100644 index 00000000000..f77350b4f7e --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/models/AgentUser.java @@ -0,0 +1,48 @@ +package com.microsoft.graph.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; +/** + * Represents a Microsoft Entra user account. + */ +@jakarta.annotation.Generated("com.microsoft.kiota") +public class AgentUser extends User implements Parsable { + /** + * Instantiates a new {@link AgentUser} and sets the default values. + */ + public AgentUser() { + super(); + this.setOdataType("#microsoft.graph.agentUser"); + } + /** + * 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 AgentUser} + */ + @jakarta.annotation.Nonnull + public static AgentUser createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) { + Objects.requireNonNull(parseNode); + return new AgentUser(); + } + /** + * The deserialization information for the current model + * @return a {@link Map>} + */ + @jakarta.annotation.Nonnull + public Map> getFieldDeserializers() { + final HashMap> deserializerMap = new HashMap>(super.getFieldDeserializers()); + return deserializerMap; + } + /** + * 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); + } +} diff --git a/src/main/java/com/microsoft/graph/generated/models/Alert.java b/src/main/java/com/microsoft/graph/generated/models/Alert.java index ed02a9b2add..daa840f375f 100644 --- a/src/main/java/com/microsoft/graph/generated/models/Alert.java +++ b/src/main/java/com/microsoft/graph/generated/models/Alert.java @@ -138,7 +138,7 @@ public OffsetDateTime getEventDateTime() { return this.backingStore.get("eventDateTime"); } /** - * Gets the feedback property value. Analyst feedback on the alert. The possible values are: unknown, truePositive, falsePositive, benignPositive. Supports update. + * Gets the feedback property value. Analyst feedback on the alert. The possible values are: unknown, truePositive, falsePositive, benignPositive. Updatable. * @return a {@link AlertFeedback} */ @jakarta.annotation.Nullable @@ -194,7 +194,7 @@ public Map> getFieldDeserializers return deserializerMap; } /** - * Gets the fileStates property value. Security-related stateful information generated by the provider about the file(s) related to this alert. + * Gets the fileStates property value. Security-related stateful information generated by the provider about the files related to this alert. * @return a {@link java.util.List} */ @jakarta.annotation.Nullable @@ -210,7 +210,7 @@ public java.util.List getHistoryStates() { return this.backingStore.get("historyStates"); } /** - * Gets the hostStates property value. Security-related stateful information generated by the provider about the host(s) related to this alert. + * Gets the hostStates property value. Security-related stateful information generated by the provider about the hosts related to this alert. * @return a {@link java.util.List} */ @jakarta.annotation.Nullable @@ -266,7 +266,7 @@ public java.util.List getMessageSecurityStates() { return this.backingStore.get("messageSecurityStates"); } /** - * Gets the networkConnections property value. Security-related stateful information generated by the provider about the network connection(s) related to this alert. + * Gets the networkConnections property value. Security-related stateful information generated by the provider about the network connections related to this alert. * @return a {@link java.util.List} */ @jakarta.annotation.Nullable @@ -282,7 +282,7 @@ public java.util.List getProcesses() { return this.backingStore.get("processes"); } /** - * Gets the recommendedActions property value. Vendor/provider recommended action(s) to take as a result of the alert (for example, isolate machine, enforce2FA, reimage host). + * Gets the recommendedActions property value. Vendor/provider recommended actions to take as a result of the alert (for example, isolate machine, enforce2FA, reimage host). * @return a {@link java.util.List} */ @jakarta.annotation.Nullable @@ -330,7 +330,7 @@ public AlertStatus getStatus() { return this.backingStore.get("status"); } /** - * Gets the tags property value. User-definable labels that can be applied to an alert and can serve as filter conditions (for example 'HVA', 'SAW') (supports update). + * Gets the tags property value. User-definable labels that can be applied to an alert and can serve as filter conditions (for example, 'HVA', 'SAW') (supports update). * @return a {@link java.util.List} */ @jakarta.annotation.Nullable @@ -531,14 +531,14 @@ public void setEventDateTime(@jakarta.annotation.Nullable final OffsetDateTime v this.backingStore.set("eventDateTime", value); } /** - * Sets the feedback property value. Analyst feedback on the alert. The possible values are: unknown, truePositive, falsePositive, benignPositive. Supports update. + * Sets the feedback property value. Analyst feedback on the alert. The possible values are: unknown, truePositive, falsePositive, benignPositive. Updatable. * @param value Value to set for the feedback property. */ public void setFeedback(@jakarta.annotation.Nullable final AlertFeedback value) { this.backingStore.set("feedback", value); } /** - * Sets the fileStates property value. Security-related stateful information generated by the provider about the file(s) related to this alert. + * Sets the fileStates property value. Security-related stateful information generated by the provider about the files related to this alert. * @param value Value to set for the fileStates property. */ public void setFileStates(@jakarta.annotation.Nullable final java.util.List value) { @@ -552,7 +552,7 @@ public void setHistoryStates(@jakarta.annotation.Nullable final java.util.List value) { @@ -601,7 +601,7 @@ public void setMessageSecurityStates(@jakarta.annotation.Nullable final java.uti this.backingStore.set("messageSecurityStates", value); } /** - * Sets the networkConnections property value. Security-related stateful information generated by the provider about the network connection(s) related to this alert. + * Sets the networkConnections property value. Security-related stateful information generated by the provider about the network connections related to this alert. * @param value Value to set for the networkConnections property. */ public void setNetworkConnections(@jakarta.annotation.Nullable final java.util.List value) { @@ -615,7 +615,7 @@ public void setProcesses(@jakarta.annotation.Nullable final java.util.List value) { @@ -657,7 +657,7 @@ public void setStatus(@jakarta.annotation.Nullable final AlertStatus value) { this.backingStore.set("status", value); } /** - * Sets the tags property value. User-definable labels that can be applied to an alert and can serve as filter conditions (for example 'HVA', 'SAW') (supports update). + * Sets the tags property value. User-definable labels that can be applied to an alert and can serve as filter conditions (for example, 'HVA', 'SAW') (supports update). * @param value Value to set for the tags property. */ public void setTags(@jakarta.annotation.Nullable final java.util.List value) { diff --git a/src/main/java/com/microsoft/graph/generated/models/AllAllowedScopes.java b/src/main/java/com/microsoft/graph/generated/models/AllAllowedScopes.java new file mode 100644 index 00000000000..ece9224fcf6 --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/models/AllAllowedScopes.java @@ -0,0 +1,45 @@ +package com.microsoft.graph.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 AllAllowedScopes extends InheritableScopes implements Parsable { + /** + * Instantiates a new {@link AllAllowedScopes} and sets the default values. + */ + public AllAllowedScopes() { + super(); + this.setOdataType("#microsoft.graph.allAllowedScopes"); + } + /** + * 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 AllAllowedScopes} + */ + @jakarta.annotation.Nonnull + public static AllAllowedScopes createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) { + Objects.requireNonNull(parseNode); + return new AllAllowedScopes(); + } + /** + * The deserialization information for the current model + * @return a {@link Map>} + */ + @jakarta.annotation.Nonnull + public Map> getFieldDeserializers() { + final HashMap> deserializerMap = new HashMap>(super.getFieldDeserializers()); + return deserializerMap; + } + /** + * 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); + } +} diff --git a/src/main/java/com/microsoft/graph/generated/models/Application.java b/src/main/java/com/microsoft/graph/generated/models/Application.java index 26d303ffe76..a5b86f16477 100644 --- a/src/main/java/com/microsoft/graph/generated/models/Application.java +++ b/src/main/java/com/microsoft/graph/generated/models/Application.java @@ -26,6 +26,13 @@ public Application() { @jakarta.annotation.Nonnull public static Application createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) { Objects.requireNonNull(parseNode); + final ParseNode mappingValueNode = parseNode.getChildNode("@odata.type"); + if (mappingValueNode != null) { + final String mappingValue = mappingValueNode.getStringValue(); + switch (mappingValue) { + case "#microsoft.graph.agentIdentityBlueprint": return new AgentIdentityBlueprint(); + } + } return new Application(); } /** diff --git a/src/main/java/com/microsoft/graph/generated/models/Authentication.java b/src/main/java/com/microsoft/graph/generated/models/Authentication.java index 5a026030445..af4264e2dbe 100644 --- a/src/main/java/com/microsoft/graph/generated/models/Authentication.java +++ b/src/main/java/com/microsoft/graph/generated/models/Authentication.java @@ -33,7 +33,7 @@ public java.util.List getEmailMethods() { return this.backingStore.get("emailMethods"); } /** - * Gets the externalAuthenticationMethods property value. Represents the external authentication methods registered to a user for authentication using an external identity provider. + * Gets the externalAuthenticationMethods property value. Represents the external MFA registered to a user for authentication using an external identity provider. * @return a {@link java.util.List} */ @jakarta.annotation.Nullable @@ -169,7 +169,7 @@ public void setEmailMethods(@jakarta.annotation.Nullable final java.util.List value) { diff --git a/src/main/java/com/microsoft/graph/generated/models/AuthenticationMethod.java b/src/main/java/com/microsoft/graph/generated/models/AuthenticationMethod.java index 792ad42c152..d60ee6a69e6 100644 --- a/src/main/java/com/microsoft/graph/generated/models/AuthenticationMethod.java +++ b/src/main/java/com/microsoft/graph/generated/models/AuthenticationMethod.java @@ -34,6 +34,7 @@ public static AuthenticationMethod createFromDiscriminatorValue(@jakarta.annotat case "#microsoft.graph.passwordAuthenticationMethod": return new PasswordAuthenticationMethod(); case "#microsoft.graph.phoneAuthenticationMethod": return new PhoneAuthenticationMethod(); case "#microsoft.graph.platformCredentialAuthenticationMethod": return new PlatformCredentialAuthenticationMethod(); + case "#microsoft.graph.qrCodePinAuthenticationMethod": return new QrCodePinAuthenticationMethod(); case "#microsoft.graph.softwareOathAuthenticationMethod": return new SoftwareOathAuthenticationMethod(); case "#microsoft.graph.temporaryAccessPassAuthenticationMethod": return new TemporaryAccessPassAuthenticationMethod(); case "#microsoft.graph.windowsHelloForBusinessAuthenticationMethod": return new WindowsHelloForBusinessAuthenticationMethod(); diff --git a/src/main/java/com/microsoft/graph/generated/models/AuthenticationMethodConfiguration.java b/src/main/java/com/microsoft/graph/generated/models/AuthenticationMethodConfiguration.java index a387937e62a..d3ac2609521 100644 --- a/src/main/java/com/microsoft/graph/generated/models/AuthenticationMethodConfiguration.java +++ b/src/main/java/com/microsoft/graph/generated/models/AuthenticationMethodConfiguration.java @@ -30,6 +30,7 @@ public static AuthenticationMethodConfiguration createFromDiscriminatorValue(@ja case "#microsoft.graph.externalAuthenticationMethodConfiguration": return new ExternalAuthenticationMethodConfiguration(); case "#microsoft.graph.fido2AuthenticationMethodConfiguration": return new Fido2AuthenticationMethodConfiguration(); case "#microsoft.graph.microsoftAuthenticatorAuthenticationMethodConfiguration": return new MicrosoftAuthenticatorAuthenticationMethodConfiguration(); + case "#microsoft.graph.qrCodePinAuthenticationMethodConfiguration": return new QrCodePinAuthenticationMethodConfiguration(); case "#microsoft.graph.smsAuthenticationMethodConfiguration": return new SmsAuthenticationMethodConfiguration(); case "#microsoft.graph.softwareOathAuthenticationMethodConfiguration": return new SoftwareOathAuthenticationMethodConfiguration(); case "#microsoft.graph.temporaryAccessPassAuthenticationMethodConfiguration": return new TemporaryAccessPassAuthenticationMethodConfiguration(); diff --git a/src/main/java/com/microsoft/graph/generated/models/AuthenticationMethodModes.java b/src/main/java/com/microsoft/graph/generated/models/AuthenticationMethodModes.java index 33292658841..dba17f061c4 100644 --- a/src/main/java/com/microsoft/graph/generated/models/AuthenticationMethodModes.java +++ b/src/main/java/com/microsoft/graph/generated/models/AuthenticationMethodModes.java @@ -21,7 +21,8 @@ public enum AuthenticationMethodModes implements ValuedEnum { X509CertificateMultiFactor("x509CertificateMultiFactor"), FederatedSingleFactor("federatedSingleFactor"), FederatedMultiFactor("federatedMultiFactor"), - UnknownFutureValue("unknownFutureValue"); + UnknownFutureValue("unknownFutureValue"), + QrCodePin("qrCodePin"); public final String value; AuthenticationMethodModes(final String value) { this.value = value; @@ -49,6 +50,7 @@ public static AuthenticationMethodModes forValue(@jakarta.annotation.Nonnull fin case "federatedSingleFactor": return FederatedSingleFactor; case "federatedMultiFactor": return FederatedMultiFactor; case "unknownFutureValue": return UnknownFutureValue; + case "qrCodePin": return QrCodePin; default: return null; } } diff --git a/src/main/java/com/microsoft/graph/generated/models/BaseAuthenticationMethod.java b/src/main/java/com/microsoft/graph/generated/models/BaseAuthenticationMethod.java index aa57a3f04ba..0ecfa49d41c 100644 --- a/src/main/java/com/microsoft/graph/generated/models/BaseAuthenticationMethod.java +++ b/src/main/java/com/microsoft/graph/generated/models/BaseAuthenticationMethod.java @@ -17,7 +17,8 @@ public enum BaseAuthenticationMethod implements ValuedEnum { Email("email"), X509Certificate("x509Certificate"), Federation("federation"), - UnknownFutureValue("unknownFutureValue"); + UnknownFutureValue("unknownFutureValue"), + QrCodePin("qrCodePin"); public final String value; BaseAuthenticationMethod(final String value) { this.value = value; @@ -41,6 +42,7 @@ public static BaseAuthenticationMethod forValue(@jakarta.annotation.Nonnull fina case "x509Certificate": return X509Certificate; case "federation": return Federation; case "unknownFutureValue": return UnknownFutureValue; + case "qrCodePin": return QrCodePin; default: return null; } } diff --git a/src/main/java/com/microsoft/graph/generated/models/Contact.java b/src/main/java/com/microsoft/graph/generated/models/Contact.java index 14ece201e77..7bd1dfbeef8 100644 --- a/src/main/java/com/microsoft/graph/generated/models/Contact.java +++ b/src/main/java/com/microsoft/graph/generated/models/Contact.java @@ -150,10 +150,13 @@ public Map> getFieldDeserializers deserializerMap.put("parentFolderId", (n) -> { this.setParentFolderId(n.getStringValue()); }); deserializerMap.put("personalNotes", (n) -> { this.setPersonalNotes(n.getStringValue()); }); deserializerMap.put("photo", (n) -> { this.setPhoto(n.getObjectValue(ProfilePhoto::createFromDiscriminatorValue)); }); + deserializerMap.put("primaryEmailAddress", (n) -> { this.setPrimaryEmailAddress(n.getObjectValue(EmailAddress::createFromDiscriminatorValue)); }); deserializerMap.put("profession", (n) -> { this.setProfession(n.getStringValue()); }); + deserializerMap.put("secondaryEmailAddress", (n) -> { this.setSecondaryEmailAddress(n.getObjectValue(EmailAddress::createFromDiscriminatorValue)); }); deserializerMap.put("singleValueExtendedProperties", (n) -> { this.setSingleValueExtendedProperties(n.getCollectionOfObjectValues(SingleValueLegacyExtendedProperty::createFromDiscriminatorValue)); }); deserializerMap.put("spouseName", (n) -> { this.setSpouseName(n.getStringValue()); }); deserializerMap.put("surname", (n) -> { this.setSurname(n.getStringValue()); }); + deserializerMap.put("tertiaryEmailAddress", (n) -> { this.setTertiaryEmailAddress(n.getObjectValue(EmailAddress::createFromDiscriminatorValue)); }); deserializerMap.put("title", (n) -> { this.setTitle(n.getStringValue()); }); deserializerMap.put("yomiCompanyName", (n) -> { this.setYomiCompanyName(n.getStringValue()); }); deserializerMap.put("yomiGivenName", (n) -> { this.setYomiGivenName(n.getStringValue()); }); @@ -304,6 +307,14 @@ public String getPersonalNotes() { public ProfilePhoto getPhoto() { return this.backingStore.get("photo"); } + /** + * Gets the primaryEmailAddress property value. The contact's primary email address. + * @return a {@link EmailAddress} + */ + @jakarta.annotation.Nullable + public EmailAddress getPrimaryEmailAddress() { + return this.backingStore.get("primaryEmailAddress"); + } /** * Gets the profession property value. The contact's profession. * @return a {@link String} @@ -312,6 +323,14 @@ public ProfilePhoto getPhoto() { public String getProfession() { return this.backingStore.get("profession"); } + /** + * Gets the secondaryEmailAddress property value. The contact's secondary email address. + * @return a {@link EmailAddress} + */ + @jakarta.annotation.Nullable + public EmailAddress getSecondaryEmailAddress() { + return this.backingStore.get("secondaryEmailAddress"); + } /** * Gets the singleValueExtendedProperties property value. The collection of single-value extended properties defined for the contact. Read-only. Nullable. * @return a {@link java.util.List} @@ -336,6 +355,14 @@ public String getSpouseName() { public String getSurname() { return this.backingStore.get("surname"); } + /** + * Gets the tertiaryEmailAddress property value. The contact's tertiary email address. + * @return a {@link EmailAddress} + */ + @jakarta.annotation.Nullable + public EmailAddress getTertiaryEmailAddress() { + return this.backingStore.get("tertiaryEmailAddress"); + } /** * Gets the title property value. The contact's title. * @return a {@link String} @@ -404,10 +431,13 @@ public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writ writer.writeStringValue("parentFolderId", this.getParentFolderId()); writer.writeStringValue("personalNotes", this.getPersonalNotes()); writer.writeObjectValue("photo", this.getPhoto()); + writer.writeObjectValue("primaryEmailAddress", this.getPrimaryEmailAddress()); writer.writeStringValue("profession", this.getProfession()); + writer.writeObjectValue("secondaryEmailAddress", this.getSecondaryEmailAddress()); writer.writeCollectionOfObjectValues("singleValueExtendedProperties", this.getSingleValueExtendedProperties()); writer.writeStringValue("spouseName", this.getSpouseName()); writer.writeStringValue("surname", this.getSurname()); + writer.writeObjectValue("tertiaryEmailAddress", this.getTertiaryEmailAddress()); writer.writeStringValue("title", this.getTitle()); writer.writeStringValue("yomiCompanyName", this.getYomiCompanyName()); writer.writeStringValue("yomiGivenName", this.getYomiGivenName()); @@ -616,6 +646,13 @@ public void setPersonalNotes(@jakarta.annotation.Nullable final String value) { public void setPhoto(@jakarta.annotation.Nullable final ProfilePhoto value) { this.backingStore.set("photo", value); } + /** + * Sets the primaryEmailAddress property value. The contact's primary email address. + * @param value Value to set for the primaryEmailAddress property. + */ + public void setPrimaryEmailAddress(@jakarta.annotation.Nullable final EmailAddress value) { + this.backingStore.set("primaryEmailAddress", value); + } /** * Sets the profession property value. The contact's profession. * @param value Value to set for the profession property. @@ -623,6 +660,13 @@ public void setPhoto(@jakarta.annotation.Nullable final ProfilePhoto value) { public void setProfession(@jakarta.annotation.Nullable final String value) { this.backingStore.set("profession", value); } + /** + * Sets the secondaryEmailAddress property value. The contact's secondary email address. + * @param value Value to set for the secondaryEmailAddress property. + */ + public void setSecondaryEmailAddress(@jakarta.annotation.Nullable final EmailAddress value) { + this.backingStore.set("secondaryEmailAddress", value); + } /** * Sets the singleValueExtendedProperties property value. The collection of single-value extended properties defined for the contact. Read-only. Nullable. * @param value Value to set for the singleValueExtendedProperties property. @@ -644,6 +688,13 @@ public void setSpouseName(@jakarta.annotation.Nullable final String value) { public void setSurname(@jakarta.annotation.Nullable final String value) { this.backingStore.set("surname", value); } + /** + * Sets the tertiaryEmailAddress property value. The contact's tertiary email address. + * @param value Value to set for the tertiaryEmailAddress property. + */ + public void setTertiaryEmailAddress(@jakarta.annotation.Nullable final EmailAddress value) { + this.backingStore.set("tertiaryEmailAddress", value); + } /** * Sets the title property value. The contact's title. * @param value Value to set for the title property. diff --git a/src/main/java/com/microsoft/graph/generated/models/DirectoryObject.java b/src/main/java/com/microsoft/graph/generated/models/DirectoryObject.java index 36ddd9eb3f4..9640d9f8384 100644 --- a/src/main/java/com/microsoft/graph/generated/models/DirectoryObject.java +++ b/src/main/java/com/microsoft/graph/generated/models/DirectoryObject.java @@ -29,6 +29,10 @@ public static DirectoryObject createFromDiscriminatorValue(@jakarta.annotation.N switch (mappingValue) { case "#microsoft.graph.activityBasedTimeoutPolicy": return new ActivityBasedTimeoutPolicy(); case "#microsoft.graph.administrativeUnit": return new AdministrativeUnit(); + case "#microsoft.graph.agentIdentity": return new AgentIdentity(); + case "#microsoft.graph.agentIdentityBlueprint": return new AgentIdentityBlueprint(); + case "#microsoft.graph.agentIdentityBlueprintPrincipal": return new AgentIdentityBlueprintPrincipal(); + case "#microsoft.graph.agentUser": return new AgentUser(); case "#microsoft.graph.application": return new Application(); case "#microsoft.graph.appManagementPolicy": return new AppManagementPolicy(); case "#microsoft.graph.appRoleAssignment": return new AppRoleAssignment(); diff --git a/src/main/java/com/microsoft/graph/generated/models/DlpAction.java b/src/main/java/com/microsoft/graph/generated/models/DlpAction.java index 382d9c86aaa..f9ddde62ef4 100644 --- a/src/main/java/com/microsoft/graph/generated/models/DlpAction.java +++ b/src/main/java/com/microsoft/graph/generated/models/DlpAction.java @@ -16,7 +16,8 @@ public enum DlpAction implements ValuedEnum { SPBlockAnonymousAccess("sPBlockAnonymousAccess"), SPRuntimeAccessControl("sPRuntimeAccessControl"), SPSharingNotifyUser("sPSharingNotifyUser"), - SPSharingGenerateIncidentReport("sPSharingGenerateIncidentReport"); + SPSharingGenerateIncidentReport("sPSharingGenerateIncidentReport"), + RestrictWebGrounding("restrictWebGrounding"); public final String value; DlpAction(final String value) { this.value = value; @@ -39,6 +40,7 @@ public static DlpAction forValue(@jakarta.annotation.Nonnull final String search case "sPRuntimeAccessControl": return SPRuntimeAccessControl; case "sPSharingNotifyUser": return SPSharingNotifyUser; case "sPSharingGenerateIncidentReport": return SPSharingGenerateIncidentReport; + case "restrictWebGrounding": return RestrictWebGrounding; default: return null; } } diff --git a/src/main/java/com/microsoft/graph/generated/models/Entity.java b/src/main/java/com/microsoft/graph/generated/models/Entity.java index 796b6156c3f..2e326c3cf6e 100644 --- a/src/main/java/com/microsoft/graph/generated/models/Entity.java +++ b/src/main/java/com/microsoft/graph/generated/models/Entity.java @@ -121,11 +121,14 @@ import com.microsoft.graph.models.security.WhoisBaseRecord; import com.microsoft.graph.models.security.WhoisHistoryRecord; import com.microsoft.graph.models.security.WhoisRecord; +import com.microsoft.graph.models.teamsadministration.NumberAssignment; import com.microsoft.graph.models.teamsadministration.PolicyIdentifierDetail; import com.microsoft.graph.models.teamsadministration.TeamsAdminRoot; import com.microsoft.graph.models.teamsadministration.TeamsPolicyAssignment; import com.microsoft.graph.models.teamsadministration.TeamsPolicyUserAssignment; import com.microsoft.graph.models.teamsadministration.TeamsUserConfiguration; +import com.microsoft.graph.models.teamsadministration.TelephoneNumberLongRunningOperation; +import com.microsoft.graph.models.teamsadministration.TelephoneNumberManagementRoot; import com.microsoft.graph.models.termstore.Group; import com.microsoft.graph.models.termstore.Relation; import com.microsoft.graph.models.termstore.Set; @@ -224,6 +227,10 @@ private static Entity createFromDiscriminatorValue_0(@jakarta.annotation.Nonnull case "#microsoft.graph.administrativeUnit": return new AdministrativeUnit(); case "#microsoft.graph.adminMicrosoft365Apps": return new AdminMicrosoft365Apps(); case "#microsoft.graph.adminReportSettings": return new AdminReportSettings(); + case "#microsoft.graph.agentIdentity": return new AgentIdentity(); + case "#microsoft.graph.agentIdentityBlueprint": return new AgentIdentityBlueprint(); + case "#microsoft.graph.agentIdentityBlueprintPrincipal": return new AgentIdentityBlueprintPrincipal(); + case "#microsoft.graph.agentUser": return new AgentUser(); case "#microsoft.graph.agreement": return new Agreement(); case "#microsoft.graph.agreementAcceptance": return new AgreementAcceptance(); case "#microsoft.graph.agreementFile": return new AgreementFile(); @@ -685,10 +692,6 @@ private static Entity createFromDiscriminatorValue_0(@jakarta.annotation.Nonnull case "#microsoft.graph.messageRule": return new MessageRule(); case "#microsoft.graph.messageTracingRoot": return new MessageTracingRoot(); case "#microsoft.graph.microsoftAccountUserConversationMember": return new MicrosoftAccountUserConversationMember(); - case "#microsoft.graph.microsoftAuthenticatorAuthenticationMethod": return new MicrosoftAuthenticatorAuthenticationMethod(); - case "#microsoft.graph.microsoftAuthenticatorAuthenticationMethodConfiguration": return new MicrosoftAuthenticatorAuthenticationMethodConfiguration(); - case "#microsoft.graph.microsoftAuthenticatorAuthenticationMethodTarget": return new MicrosoftAuthenticatorAuthenticationMethodTarget(); - case "#microsoft.graph.microsoftStoreForBusinessApp": return new MicrosoftStoreForBusinessApp(); } return null; } @@ -700,6 +703,10 @@ private static Entity createFromDiscriminatorValue_0(@jakarta.annotation.Nonnull @jakarta.annotation.Nonnull private static Entity createFromDiscriminatorValue_1(@jakarta.annotation.Nonnull final String discriminatorValue) { switch (discriminatorValue) { + case "#microsoft.graph.microsoftAuthenticatorAuthenticationMethod": return new MicrosoftAuthenticatorAuthenticationMethod(); + case "#microsoft.graph.microsoftAuthenticatorAuthenticationMethodConfiguration": return new MicrosoftAuthenticatorAuthenticationMethodConfiguration(); + case "#microsoft.graph.microsoftAuthenticatorAuthenticationMethodTarget": return new MicrosoftAuthenticatorAuthenticationMethodTarget(); + case "#microsoft.graph.microsoftStoreForBusinessApp": return new MicrosoftStoreForBusinessApp(); case "#microsoft.graph.mobileApp": return new MobileApp(); case "#microsoft.graph.mobileAppAssignment": return new MobileAppAssignment(); case "#microsoft.graph.mobileAppCategory": return new MobileAppCategory(); @@ -839,6 +846,7 @@ private static Entity createFromDiscriminatorValue_1(@jakarta.annotation.Nonnull case "#microsoft.graph.privilegedAccessScheduleRequest": return new PrivilegedAccessScheduleRequest(); case "#microsoft.graph.profileCardProperty": return new ProfileCardProperty(); case "#microsoft.graph.profilePhoto": return new ProfilePhoto(); + case "#microsoft.graph.profileSource": return new ProfileSource(); case "#microsoft.graph.pronounsSettings": return new PronounsSettings(); case "#microsoft.graph.protectionPolicyBase": return new ProtectionPolicyBase(); case "#microsoft.graph.protectionRuleBase": return new ProtectionRuleBase(); @@ -846,6 +854,10 @@ private static Entity createFromDiscriminatorValue_1(@jakarta.annotation.Nonnull case "#microsoft.graph.protectionUnitsBulkJobBase": return new ProtectionUnitsBulkJobBase(); case "#microsoft.graph.provisioningObjectSummary": return new ProvisioningObjectSummary(); case "#microsoft.graph.publicKeyInfrastructureRoot": return new PublicKeyInfrastructureRoot(); + case "#microsoft.graph.qrCode": return new QrCode(); + case "#microsoft.graph.qrCodePinAuthenticationMethod": return new QrCodePinAuthenticationMethod(); + case "#microsoft.graph.qrCodePinAuthenticationMethodConfiguration": return new QrCodePinAuthenticationMethodConfiguration(); + case "#microsoft.graph.qrPin": return new QrPin(); case "#microsoft.graph.rbacApplication": return new RbacApplication(); case "#microsoft.graph.readingAssignmentSubmission": return new ReadingAssignmentSubmission(); case "#microsoft.graph.readingCoachPassage": return new ReadingCoachPassage(); @@ -993,6 +1005,8 @@ private static Entity createFromDiscriminatorValue_1(@jakarta.annotation.Nonnull case "#microsoft.graph.sharedPCConfiguration": return new SharedPCConfiguration(); case "#microsoft.graph.sharedWithChannelTeamInfo": return new SharedWithChannelTeamInfo(); case "#microsoft.graph.sharepoint": return new Sharepoint(); + case "#microsoft.graph.sharePointGroup": return new SharePointGroup(); + case "#microsoft.graph.sharePointGroupMember": return new SharePointGroupMember(); case "#microsoft.graph.sharePointMigrationEvent": return new SharePointMigrationEvent(); case "#microsoft.graph.sharePointMigrationFinishManifestFileUploadEvent": return new SharePointMigrationFinishManifestFileUploadEvent(); case "#microsoft.graph.sharePointMigrationJob": return new SharePointMigrationJob(); @@ -1051,11 +1065,14 @@ private static Entity createFromDiscriminatorValue_1(@jakarta.annotation.Nonnull case "#microsoft.graph.taskFileAttachment": return new TaskFileAttachment(); case "#microsoft.graph.team": return new Team(); case "#microsoft.graph.teamInfo": return new TeamInfo(); + case "#microsoft.graph.teamsAdministration.numberAssignment": return new NumberAssignment(); case "#microsoft.graph.teamsAdministration.policyIdentifierDetail": return new PolicyIdentifierDetail(); case "#microsoft.graph.teamsAdministration.teamsAdminRoot": return new TeamsAdminRoot(); case "#microsoft.graph.teamsAdministration.teamsPolicyAssignment": return new TeamsPolicyAssignment(); case "#microsoft.graph.teamsAdministration.teamsPolicyUserAssignment": return new TeamsPolicyUserAssignment(); case "#microsoft.graph.teamsAdministration.teamsUserConfiguration": return new TeamsUserConfiguration(); + case "#microsoft.graph.teamsAdministration.telephoneNumberLongRunningOperation": return new TelephoneNumberLongRunningOperation(); + case "#microsoft.graph.teamsAdministration.telephoneNumberManagementRoot": return new TelephoneNumberManagementRoot(); case "#microsoft.graph.teamsApp": return new TeamsApp(); case "#microsoft.graph.teamsAppDefinition": return new TeamsAppDefinition(); case "#microsoft.graph.teamsAppInstallation": return new TeamsAppInstallation(); @@ -1186,6 +1203,17 @@ private static Entity createFromDiscriminatorValue_1(@jakarta.annotation.Nonnull case "#microsoft.graph.webApplicationFirewallVerificationModel": return new WebApplicationFirewallVerificationModel(); case "#microsoft.graph.webPart": return new WebPart(); case "#microsoft.graph.whatIfAnalysisResult": return new WhatIfAnalysisResult(); + } + return null; + } + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param discriminatorValue Discriminator value from the payload + * @return a {@link Entity} + */ + @jakarta.annotation.Nonnull + private static Entity createFromDiscriminatorValue_2(@jakarta.annotation.Nonnull final String discriminatorValue) { + switch (discriminatorValue) { case "#microsoft.graph.win32LobApp": return new Win32LobApp(); case "#microsoft.graph.windows10CompliancePolicy": return new Windows10CompliancePolicy(); case "#microsoft.graph.windows10CustomConfiguration": return new Windows10CustomConfiguration(); @@ -1200,17 +1228,6 @@ private static Entity createFromDiscriminatorValue_1(@jakarta.annotation.Nonnull case "#microsoft.graph.windows81GeneralConfiguration": return new Windows81GeneralConfiguration(); case "#microsoft.graph.windowsAppX": return new WindowsAppX(); case "#microsoft.graph.windowsAutopilotDeploymentProfile": return new WindowsAutopilotDeploymentProfile(); - } - return null; - } - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param discriminatorValue Discriminator value from the payload - * @return a {@link Entity} - */ - @jakarta.annotation.Nonnull - private static Entity createFromDiscriminatorValue_2(@jakarta.annotation.Nonnull final String discriminatorValue) { - switch (discriminatorValue) { case "#microsoft.graph.windowsAutopilotDeploymentProfileAssignment": return new WindowsAutopilotDeploymentProfileAssignment(); case "#microsoft.graph.windowsAutopilotDeviceIdentity": return new WindowsAutopilotDeviceIdentity(); case "#microsoft.graph.windowsDefenderAdvancedThreatProtectionConfiguration": return new WindowsDefenderAdvancedThreatProtectionConfiguration(); diff --git a/src/main/java/com/microsoft/graph/generated/models/EnumeratedScopes.java b/src/main/java/com/microsoft/graph/generated/models/EnumeratedScopes.java new file mode 100644 index 00000000000..0653fc54d86 --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/models/EnumeratedScopes.java @@ -0,0 +1,62 @@ +package com.microsoft.graph.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 EnumeratedScopes extends InheritableScopes implements Parsable { + /** + * Instantiates a new {@link EnumeratedScopes} and sets the default values. + */ + public EnumeratedScopes() { + super(); + this.setOdataType("#microsoft.graph.enumeratedScopes"); + } + /** + * 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 EnumeratedScopes} + */ + @jakarta.annotation.Nonnull + public static EnumeratedScopes createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) { + Objects.requireNonNull(parseNode); + return new EnumeratedScopes(); + } + /** + * 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("scopes", (n) -> { this.setScopes(n.getCollectionOfPrimitiveValues(String.class)); }); + return deserializerMap; + } + /** + * Gets the scopes property value. Required. Nonempty list of delegated permission scope identifiers published by the resource application to inherit. Entries must be unique and must not include any globally blocked scopes. + * @return a {@link java.util.List} + */ + @jakarta.annotation.Nullable + public java.util.List getScopes() { + return this.backingStore.get("scopes"); + } + /** + * 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.writeCollectionOfPrimitiveValues("scopes", this.getScopes()); + } + /** + * Sets the scopes property value. Required. Nonempty list of delegated permission scope identifiers published by the resource application to inherit. Entries must be unique and must not include any globally blocked scopes. + * @param value Value to set for the scopes property. + */ + public void setScopes(@jakarta.annotation.Nullable final java.util.List value) { + this.backingStore.set("scopes", value); + } +} diff --git a/src/main/java/com/microsoft/graph/generated/models/ErrorCorrectionLevel.java b/src/main/java/com/microsoft/graph/generated/models/ErrorCorrectionLevel.java new file mode 100644 index 00000000000..ae3cb8478a1 --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/models/ErrorCorrectionLevel.java @@ -0,0 +1,31 @@ +package com.microsoft.graph.models; + +import com.microsoft.kiota.serialization.ValuedEnum; +import java.util.Objects; + +@jakarta.annotation.Generated("com.microsoft.kiota") +public enum ErrorCorrectionLevel implements ValuedEnum { + L("l"), + M("m"), + Q("q"), + H("h"), + UnknownFutureValue("unknownFutureValue"); + public final String value; + ErrorCorrectionLevel(final String value) { + this.value = value; + } + @jakarta.annotation.Nonnull + public String getValue() { return this.value; } + @jakarta.annotation.Nullable + public static ErrorCorrectionLevel forValue(@jakarta.annotation.Nonnull final String searchValue) { + Objects.requireNonNull(searchValue); + switch(searchValue) { + case "l": return L; + case "m": return M; + case "q": return Q; + case "h": return H; + case "unknownFutureValue": return UnknownFutureValue; + default: return null; + } + } +} diff --git a/src/main/java/com/microsoft/graph/generated/models/ExternalAuthenticationMethod.java b/src/main/java/com/microsoft/graph/generated/models/ExternalAuthenticationMethod.java index 0b3d6eafbc0..f0f4f196d5b 100644 --- a/src/main/java/com/microsoft/graph/generated/models/ExternalAuthenticationMethod.java +++ b/src/main/java/com/microsoft/graph/generated/models/ExternalAuthenticationMethod.java @@ -34,7 +34,7 @@ public String getConfigurationId() { return this.backingStore.get("configurationId"); } /** - * Gets the displayName property value. Custom name given to the registered external authentication method. + * Gets the displayName property value. Custom name given to the registered external MFA. * @return a {@link String} */ @jakarta.annotation.Nullable @@ -70,7 +70,7 @@ public void setConfigurationId(@jakarta.annotation.Nullable final String value) this.backingStore.set("configurationId", value); } /** - * Sets the displayName property value. Custom name given to the registered external authentication method. + * Sets the displayName property value. Custom name given to the registered external MFA. * @param value Value to set for the displayName property. */ public void setDisplayName(@jakarta.annotation.Nullable final String value) { diff --git a/src/main/java/com/microsoft/graph/generated/models/ExternalAuthenticationMethodConfiguration.java b/src/main/java/com/microsoft/graph/generated/models/ExternalAuthenticationMethodConfiguration.java index ba5078de57f..b98558ed041 100644 --- a/src/main/java/com/microsoft/graph/generated/models/ExternalAuthenticationMethodConfiguration.java +++ b/src/main/java/com/microsoft/graph/generated/models/ExternalAuthenticationMethodConfiguration.java @@ -34,7 +34,7 @@ public String getAppId() { return this.backingStore.get("appId"); } /** - * Gets the displayName property value. Display name for the external authentication method. This name is shown to users during sign-in. + * Gets the displayName property value. Display name for the external MFA. This name is shown to users during sign-in. * @return a {@link String} */ @jakarta.annotation.Nullable @@ -90,7 +90,7 @@ public void setAppId(@jakarta.annotation.Nullable final String value) { this.backingStore.set("appId", value); } /** - * Sets the displayName property value. Display name for the external authentication method. This name is shown to users during sign-in. + * Sets the displayName property value. Display name for the external MFA. This name is shown to users during sign-in. * @param value Value to set for the displayName property. */ public void setDisplayName(@jakarta.annotation.Nullable final String value) { diff --git a/src/main/java/com/microsoft/graph/generated/models/FileStorageContainer.java b/src/main/java/com/microsoft/graph/generated/models/FileStorageContainer.java index c33f363c125..71b25ce875a 100644 --- a/src/main/java/com/microsoft/graph/generated/models/FileStorageContainer.java +++ b/src/main/java/com/microsoft/graph/generated/models/FileStorageContainer.java @@ -35,7 +35,7 @@ public AssignedLabel getAssignedSensitivityLabel() { return this.backingStore.get("assignedSensitivityLabel"); } /** - * Gets the columns property value. The columns property + * Gets the columns property value. The set of custom structured metadata supported by the fileStorageContainer. Read-write. * @return a {@link java.util.List} */ @jakarta.annotation.Nullable @@ -110,6 +110,7 @@ public Map> getFieldDeserializers deserializerMap.put("permissions", (n) -> { this.setPermissions(n.getCollectionOfObjectValues(Permission::createFromDiscriminatorValue)); }); deserializerMap.put("recycleBin", (n) -> { this.setRecycleBin(n.getObjectValue(RecycleBin::createFromDiscriminatorValue)); }); deserializerMap.put("settings", (n) -> { this.setSettings(n.getObjectValue(FileStorageContainerSettings::createFromDiscriminatorValue)); }); + deserializerMap.put("sharePointGroups", (n) -> { this.setSharePointGroups(n.getCollectionOfObjectValues(SharePointGroup::createFromDiscriminatorValue)); }); deserializerMap.put("status", (n) -> { this.setStatus(n.getEnumValue(FileStorageContainerStatus::forValue)); }); deserializerMap.put("viewpoint", (n) -> { this.setViewpoint(n.getObjectValue(FileStorageContainerViewpoint::createFromDiscriminatorValue)); }); return deserializerMap; @@ -154,6 +155,14 @@ public RecycleBin getRecycleBin() { public FileStorageContainerSettings getSettings() { return this.backingStore.get("settings"); } + /** + * Gets the sharePointGroups property value. The sharePointGroups property + * @return a {@link java.util.List} + */ + @jakarta.annotation.Nullable + public java.util.List getSharePointGroups() { + return this.backingStore.get("sharePointGroups"); + } /** * Gets the status property value. Status of the fileStorageContainer. Containers are created as inactive and require activation. Inactive containers are subjected to automatic deletion in 24 hours. The possible values are: inactive, active. Read-only. * @return a {@link FileStorageContainerStatus} @@ -190,6 +199,7 @@ public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writ writer.writeCollectionOfObjectValues("permissions", this.getPermissions()); writer.writeObjectValue("recycleBin", this.getRecycleBin()); writer.writeObjectValue("settings", this.getSettings()); + writer.writeCollectionOfObjectValues("sharePointGroups", this.getSharePointGroups()); writer.writeEnumValue("status", this.getStatus()); writer.writeObjectValue("viewpoint", this.getViewpoint()); } @@ -201,7 +211,7 @@ public void setAssignedSensitivityLabel(@jakarta.annotation.Nullable final Assig this.backingStore.set("assignedSensitivityLabel", value); } /** - * Sets the columns property value. The columns property + * Sets the columns property value. The set of custom structured metadata supported by the fileStorageContainer. Read-write. * @param value Value to set for the columns property. */ public void setColumns(@jakarta.annotation.Nullable final java.util.List value) { @@ -284,6 +294,13 @@ public void setRecycleBin(@jakarta.annotation.Nullable final RecycleBin value) { public void setSettings(@jakarta.annotation.Nullable final FileStorageContainerSettings value) { this.backingStore.set("settings", value); } + /** + * Sets the sharePointGroups property value. The sharePointGroups property + * @param value Value to set for the sharePointGroups property. + */ + public void setSharePointGroups(@jakarta.annotation.Nullable final java.util.List value) { + this.backingStore.set("sharePointGroups", value); + } /** * Sets the status property value. Status of the fileStorageContainer. Containers are created as inactive and require activation. Inactive containers are subjected to automatic deletion in 24 hours. The possible values are: inactive, active. Read-only. * @param value Value to set for the status property. diff --git a/src/main/java/com/microsoft/graph/generated/models/Group.java b/src/main/java/com/microsoft/graph/generated/models/Group.java index 4ed0ea6226a..efac4d1ad44 100644 --- a/src/main/java/com/microsoft/graph/generated/models/Group.java +++ b/src/main/java/com/microsoft/graph/generated/models/Group.java @@ -259,6 +259,7 @@ public Map> getFieldDeserializers deserializerMap.put("uniqueName", (n) -> { this.setUniqueName(n.getStringValue()); }); deserializerMap.put("unseenCount", (n) -> { this.setUnseenCount(n.getIntegerValue()); }); deserializerMap.put("visibility", (n) -> { this.setVisibility(n.getStringValue()); }); + deserializerMap.put("welcomeMessageEnabled", (n) -> { this.setWelcomeMessageEnabled(n.getBooleanValue()); }); return deserializerMap; } /** @@ -677,6 +678,14 @@ public Integer getUnseenCount() { public String getVisibility() { return this.backingStore.get("visibility"); } + /** + * Gets the welcomeMessageEnabled property value. The welcomeMessageEnabled property + * @return a {@link Boolean} + */ + @jakarta.annotation.Nullable + public Boolean getWelcomeMessageEnabled() { + return this.backingStore.get("welcomeMessageEnabled"); + } /** * Serializes information the current object * @param writer Serialization writer to use to serialize this model @@ -755,6 +764,7 @@ public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writ writer.writeStringValue("uniqueName", this.getUniqueName()); writer.writeIntegerValue("unseenCount", this.getUnseenCount()); writer.writeStringValue("visibility", this.getVisibility()); + writer.writeBooleanValue("welcomeMessageEnabled", this.getWelcomeMessageEnabled()); } /** * Sets the acceptedSenders property value. The list of users or groups allowed to create posts or calendar events in this group. If this list is nonempty, then only users or groups listed here are allowed to post. @@ -1253,4 +1263,11 @@ public void setUnseenCount(@jakarta.annotation.Nullable final Integer value) { public void setVisibility(@jakarta.annotation.Nullable final String value) { this.backingStore.set("visibility", value); } + /** + * Sets the welcomeMessageEnabled property value. The welcomeMessageEnabled property + * @param value Value to set for the welcomeMessageEnabled property. + */ + public void setWelcomeMessageEnabled(@jakarta.annotation.Nullable final Boolean value) { + this.backingStore.set("welcomeMessageEnabled", value); + } } diff --git a/src/main/java/com/microsoft/graph/generated/models/Identity.java b/src/main/java/com/microsoft/graph/generated/models/Identity.java index 4342bd59c0f..2fb68931736 100644 --- a/src/main/java/com/microsoft/graph/generated/models/Identity.java +++ b/src/main/java/com/microsoft/graph/generated/models/Identity.java @@ -51,6 +51,7 @@ public static Identity createFromDiscriminatorValue(@jakarta.annotation.Nonnull case "#microsoft.graph.provisioningServicePrincipal": return new ProvisioningServicePrincipal(); case "#microsoft.graph.provisioningSystem": return new ProvisioningSystem(); case "#microsoft.graph.servicePrincipalIdentity": return new ServicePrincipalIdentity(); + case "#microsoft.graph.sharePointGroupIdentity": return new SharePointGroupIdentity(); case "#microsoft.graph.sharePointIdentity": return new SharePointIdentity(); case "#microsoft.graph.teamworkApplicationIdentity": return new TeamworkApplicationIdentity(); case "#microsoft.graph.teamworkConversationIdentity": return new TeamworkConversationIdentity(); diff --git a/src/main/java/com/microsoft/graph/generated/models/IncludeTarget.java b/src/main/java/com/microsoft/graph/generated/models/IncludeTarget.java new file mode 100644 index 00000000000..d84ee2f8fe8 --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/models/IncludeTarget.java @@ -0,0 +1,141 @@ +package com.microsoft.graph.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 IncludeTarget implements AdditionalDataHolder, BackedModel, Parsable { + /** + * Stores model information. + */ + @jakarta.annotation.Nonnull + protected BackingStore backingStore; + /** + * Instantiates a new {@link IncludeTarget} and sets the default values. + */ + public IncludeTarget() { + 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 IncludeTarget} + */ + @jakarta.annotation.Nonnull + public static IncludeTarget createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) { + Objects.requireNonNull(parseNode); + return new IncludeTarget(); + } + /** + * 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>(3); + deserializerMap.put("id", (n) -> { this.setId(n.getStringValue()); }); + deserializerMap.put("@odata.type", (n) -> { this.setOdataType(n.getStringValue()); }); + deserializerMap.put("targetType", (n) -> { this.setTargetType(n.getEnumValue(AuthenticationMethodTargetType::forValue)); }); + return deserializerMap; + } + /** + * Gets the id property value. The id property + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String getId() { + return this.backingStore.get("id"); + } + /** + * 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 targetType property value. The targetType property + * @return a {@link AuthenticationMethodTargetType} + */ + @jakarta.annotation.Nullable + public AuthenticationMethodTargetType getTargetType() { + return this.backingStore.get("targetType"); + } + /** + * 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("id", this.getId()); + writer.writeStringValue("@odata.type", this.getOdataType()); + writer.writeEnumValue("targetType", this.getTargetType()); + 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 id property value. The id property + * @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 @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 targetType property value. The targetType property + * @param value Value to set for the targetType property. + */ + public void setTargetType(@jakarta.annotation.Nullable final AuthenticationMethodTargetType value) { + this.backingStore.set("targetType", value); + } +} diff --git a/src/main/java/com/microsoft/graph/generated/models/InheritablePermission.java b/src/main/java/com/microsoft/graph/generated/models/InheritablePermission.java new file mode 100644 index 00000000000..9ee120bc9ab --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/models/InheritablePermission.java @@ -0,0 +1,141 @@ +package com.microsoft.graph.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 InheritablePermission implements AdditionalDataHolder, BackedModel, Parsable { + /** + * Stores model information. + */ + @jakarta.annotation.Nonnull + protected BackingStore backingStore; + /** + * Instantiates a new {@link InheritablePermission} and sets the default values. + */ + public InheritablePermission() { + 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 InheritablePermission} + */ + @jakarta.annotation.Nonnull + public static InheritablePermission createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) { + Objects.requireNonNull(parseNode); + return new InheritablePermission(); + } + /** + * 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>(3); + deserializerMap.put("inheritableScopes", (n) -> { this.setInheritableScopes(n.getObjectValue(InheritableScopes::createFromDiscriminatorValue)); }); + deserializerMap.put("@odata.type", (n) -> { this.setOdataType(n.getStringValue()); }); + deserializerMap.put("resourceAppId", (n) -> { this.setResourceAppId(n.getStringValue()); }); + return deserializerMap; + } + /** + * Gets the inheritableScopes property value. Inheritance configuration for delegated permission scopes published by the resource application. Supports three patterns: allAllowedScopes (inherit all available scopes), enumeratedScopes (inherit only the listed scopes), and noScopes (inherit none). Each pattern exposes a kind discriminator for filtering. + * @return a {@link InheritableScopes} + */ + @jakarta.annotation.Nullable + public InheritableScopes getInheritableScopes() { + return this.backingStore.get("inheritableScopes"); + } + /** + * 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 resourceAppId property value. The appId of the resource application that publishes these scopes. Primary key. + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String getResourceAppId() { + return this.backingStore.get("resourceAppId"); + } + /** + * 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.writeObjectValue("inheritableScopes", this.getInheritableScopes()); + writer.writeStringValue("@odata.type", this.getOdataType()); + writer.writeStringValue("resourceAppId", this.getResourceAppId()); + 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 inheritableScopes property value. Inheritance configuration for delegated permission scopes published by the resource application. Supports three patterns: allAllowedScopes (inherit all available scopes), enumeratedScopes (inherit only the listed scopes), and noScopes (inherit none). Each pattern exposes a kind discriminator for filtering. + * @param value Value to set for the inheritableScopes property. + */ + public void setInheritableScopes(@jakarta.annotation.Nullable final InheritableScopes value) { + this.backingStore.set("inheritableScopes", 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 resourceAppId property value. The appId of the resource application that publishes these scopes. Primary key. + * @param value Value to set for the resourceAppId property. + */ + public void setResourceAppId(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("resourceAppId", value); + } +} diff --git a/src/main/java/com/microsoft/graph/generated/models/InheritableScopes.java b/src/main/java/com/microsoft/graph/generated/models/InheritableScopes.java new file mode 100644 index 00000000000..a1027a580db --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/models/InheritableScopes.java @@ -0,0 +1,133 @@ +package com.microsoft.graph.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 InheritableScopes implements AdditionalDataHolder, BackedModel, Parsable { + /** + * Stores model information. + */ + @jakarta.annotation.Nonnull + protected BackingStore backingStore; + /** + * Instantiates a new {@link InheritableScopes} and sets the default values. + */ + public InheritableScopes() { + 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 InheritableScopes} + */ + @jakarta.annotation.Nonnull + public static InheritableScopes createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) { + Objects.requireNonNull(parseNode); + final ParseNode mappingValueNode = parseNode.getChildNode("@odata.type"); + if (mappingValueNode != null) { + final String mappingValue = mappingValueNode.getStringValue(); + switch (mappingValue) { + case "#microsoft.graph.allAllowedScopes": return new AllAllowedScopes(); + case "#microsoft.graph.enumeratedScopes": return new EnumeratedScopes(); + case "#microsoft.graph.noScopes": return new NoScopes(); + } + } + return new InheritableScopes(); + } + /** + * 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>(2); + deserializerMap.put("kind", (n) -> { this.setKind(n.getEnumValue(ScopeCollectionKind::forValue)); }); + deserializerMap.put("@odata.type", (n) -> { this.setOdataType(n.getStringValue()); }); + return deserializerMap; + } + /** + * Gets the kind property value. The kind property + * @return a {@link ScopeCollectionKind} + */ + @jakarta.annotation.Nullable + public ScopeCollectionKind getKind() { + return this.backingStore.get("kind"); + } + /** + * 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.writeEnumValue("kind", this.getKind()); + 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 kind property value. The kind property + * @param value Value to set for the kind property. + */ + public void setKind(@jakarta.annotation.Nullable final ScopeCollectionKind value) { + this.backingStore.set("kind", 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/generated/models/NoScopes.java b/src/main/java/com/microsoft/graph/generated/models/NoScopes.java new file mode 100644 index 00000000000..47a49ec638e --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/models/NoScopes.java @@ -0,0 +1,45 @@ +package com.microsoft.graph.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 NoScopes extends InheritableScopes implements Parsable { + /** + * Instantiates a new {@link NoScopes} and sets the default values. + */ + public NoScopes() { + super(); + this.setOdataType("#microsoft.graph.noScopes"); + } + /** + * 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 NoScopes} + */ + @jakarta.annotation.Nonnull + public static NoScopes createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) { + Objects.requireNonNull(parseNode); + return new NoScopes(); + } + /** + * The deserialization information for the current model + * @return a {@link Map>} + */ + @jakarta.annotation.Nonnull + public Map> getFieldDeserializers() { + final HashMap> deserializerMap = new HashMap>(super.getFieldDeserializers()); + return deserializerMap; + } + /** + * 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); + } +} diff --git a/src/main/java/com/microsoft/graph/generated/models/PeopleAdminSettings.java b/src/main/java/com/microsoft/graph/generated/models/PeopleAdminSettings.java index e60263f279c..e9d499c3388 100644 --- a/src/main/java/com/microsoft/graph/generated/models/PeopleAdminSettings.java +++ b/src/main/java/com/microsoft/graph/generated/models/PeopleAdminSettings.java @@ -33,6 +33,7 @@ public Map> getFieldDeserializers final HashMap> deserializerMap = new HashMap>(super.getFieldDeserializers()); deserializerMap.put("itemInsights", (n) -> { this.setItemInsights(n.getObjectValue(InsightsSettings::createFromDiscriminatorValue)); }); deserializerMap.put("profileCardProperties", (n) -> { this.setProfileCardProperties(n.getCollectionOfObjectValues(ProfileCardProperty::createFromDiscriminatorValue)); }); + deserializerMap.put("profileSources", (n) -> { this.setProfileSources(n.getCollectionOfObjectValues(ProfileSource::createFromDiscriminatorValue)); }); deserializerMap.put("pronouns", (n) -> { this.setPronouns(n.getObjectValue(PronounsSettings::createFromDiscriminatorValue)); }); return deserializerMap; } @@ -52,6 +53,14 @@ public InsightsSettings getItemInsights() { public java.util.List getProfileCardProperties() { return this.backingStore.get("profileCardProperties"); } + /** + * Gets the profileSources property value. A collection of profile source settings configured by an administrator in an organization. + * @return a {@link java.util.List} + */ + @jakarta.annotation.Nullable + public java.util.List getProfileSources() { + return this.backingStore.get("profileSources"); + } /** * Gets the pronouns property value. Represents administrator settings that manage the support of pronouns in an organization. * @return a {@link PronounsSettings} @@ -69,6 +78,7 @@ public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writ super.serialize(writer); writer.writeObjectValue("itemInsights", this.getItemInsights()); writer.writeCollectionOfObjectValues("profileCardProperties", this.getProfileCardProperties()); + writer.writeCollectionOfObjectValues("profileSources", this.getProfileSources()); writer.writeObjectValue("pronouns", this.getPronouns()); } /** @@ -85,6 +95,13 @@ public void setItemInsights(@jakarta.annotation.Nullable final InsightsSettings public void setProfileCardProperties(@jakarta.annotation.Nullable final java.util.List value) { this.backingStore.set("profileCardProperties", value); } + /** + * Sets the profileSources property value. A collection of profile source settings configured by an administrator in an organization. + * @param value Value to set for the profileSources property. + */ + public void setProfileSources(@jakarta.annotation.Nullable final java.util.List value) { + this.backingStore.set("profileSources", value); + } /** * Sets the pronouns property value. Represents 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/generated/models/ProfileSource.java b/src/main/java/com/microsoft/graph/generated/models/ProfileSource.java new file mode 100644 index 00000000000..2dda9aa742c --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/models/ProfileSource.java @@ -0,0 +1,129 @@ +package com.microsoft.graph.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 ProfileSource extends Entity implements Parsable { + /** + * Instantiates a new {@link ProfileSource} and sets the default values. + */ + public ProfileSource() { + 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 ProfileSource} + */ + @jakarta.annotation.Nonnull + public static ProfileSource createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) { + Objects.requireNonNull(parseNode); + return new ProfileSource(); + } + /** + * Gets the displayName property value. Name of the profile source intended to inform users about the profile source name. + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String getDisplayName() { + return this.backingStore.get("displayName"); + } + /** + * 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("displayName", (n) -> { this.setDisplayName(n.getStringValue()); }); + deserializerMap.put("kind", (n) -> { this.setKind(n.getStringValue()); }); + deserializerMap.put("localizations", (n) -> { this.setLocalizations(n.getCollectionOfObjectValues(ProfileSourceLocalization::createFromDiscriminatorValue)); }); + deserializerMap.put("sourceId", (n) -> { this.setSourceId(n.getStringValue()); }); + deserializerMap.put("webUrl", (n) -> { this.setWebUrl(n.getStringValue()); }); + return deserializerMap; + } + /** + * Gets the kind property value. Type of the profile source. + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String getKind() { + return this.backingStore.get("kind"); + } + /** + * Gets the localizations property value. Alternative localized labels specified by an administrator. + * @return a {@link java.util.List} + */ + @jakarta.annotation.Nullable + public java.util.List getLocalizations() { + return this.backingStore.get("localizations"); + } + /** + * Gets the sourceId property value. Profile source identifier used as an alternate key. + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String getSourceId() { + return this.backingStore.get("sourceId"); + } + /** + * Gets the webUrl property value. Web URL of the profile source that directs users to the page view of the profile data. + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String getWebUrl() { + return this.backingStore.get("webUrl"); + } + /** + * 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("displayName", this.getDisplayName()); + writer.writeStringValue("kind", this.getKind()); + writer.writeCollectionOfObjectValues("localizations", this.getLocalizations()); + writer.writeStringValue("sourceId", this.getSourceId()); + writer.writeStringValue("webUrl", this.getWebUrl()); + } + /** + * Sets the displayName property value. Name of the profile source intended to inform users about the profile source name. + * @param value Value to set for the displayName property. + */ + public void setDisplayName(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("displayName", value); + } + /** + * Sets the kind property value. Type of the profile source. + * @param value Value to set for the kind property. + */ + public void setKind(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("kind", value); + } + /** + * Sets the localizations property value. Alternative localized labels specified by an administrator. + * @param value Value to set for the localizations property. + */ + public void setLocalizations(@jakarta.annotation.Nullable final java.util.List value) { + this.backingStore.set("localizations", value); + } + /** + * Sets the sourceId property value. Profile source identifier used as an alternate key. + * @param value Value to set for the sourceId property. + */ + public void setSourceId(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("sourceId", value); + } + /** + * Sets the webUrl property value. Web URL of the profile source that directs users to the page view of the profile data. + * @param value Value to set for the webUrl property. + */ + public void setWebUrl(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("webUrl", value); + } +} diff --git a/src/main/java/com/microsoft/graph/generated/models/ProfileSourceCollectionResponse.java b/src/main/java/com/microsoft/graph/generated/models/ProfileSourceCollectionResponse.java new file mode 100644 index 00000000000..8a498b2a1b8 --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/models/ProfileSourceCollectionResponse.java @@ -0,0 +1,61 @@ +package com.microsoft.graph.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 ProfileSourceCollectionResponse extends BaseCollectionPaginationCountResponse implements Parsable { + /** + * Instantiates a new {@link ProfileSourceCollectionResponse} and sets the default values. + */ + public ProfileSourceCollectionResponse() { + 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 ProfileSourceCollectionResponse} + */ + @jakarta.annotation.Nonnull + public static ProfileSourceCollectionResponse createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) { + Objects.requireNonNull(parseNode); + return new ProfileSourceCollectionResponse(); + } + /** + * 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(ProfileSource::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/generated/models/ProfileSourceLocalization.java b/src/main/java/com/microsoft/graph/generated/models/ProfileSourceLocalization.java new file mode 100644 index 00000000000..c2936d2c1ef --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/models/ProfileSourceLocalization.java @@ -0,0 +1,158 @@ +package com.microsoft.graph.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 ProfileSourceLocalization implements AdditionalDataHolder, BackedModel, Parsable { + /** + * Stores model information. + */ + @jakarta.annotation.Nonnull + protected BackingStore backingStore; + /** + * Instantiates a new {@link ProfileSourceLocalization} and sets the default values. + */ + public ProfileSourceLocalization() { + 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 ProfileSourceLocalization} + */ + @jakarta.annotation.Nonnull + public static ProfileSourceLocalization createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) { + Objects.requireNonNull(parseNode); + return new ProfileSourceLocalization(); + } + /** + * 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 displayName property value. Localized display name. + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String getDisplayName() { + return this.backingStore.get("displayName"); + } + /** + * 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("displayName", (n) -> { this.setDisplayName(n.getStringValue()); }); + deserializerMap.put("languageTag", (n) -> { this.setLanguageTag(n.getStringValue()); }); + deserializerMap.put("@odata.type", (n) -> { this.setOdataType(n.getStringValue()); }); + deserializerMap.put("webUrl", (n) -> { this.setWebUrl(n.getStringValue()); }); + return deserializerMap; + } + /** + * Gets the languageTag property value. Language locale. + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String getLanguageTag() { + return this.backingStore.get("languageTag"); + } + /** + * 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 webUrl property value. Localized profile source URL. + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String getWebUrl() { + return this.backingStore.get("webUrl"); + } + /** + * 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("displayName", this.getDisplayName()); + writer.writeStringValue("languageTag", this.getLanguageTag()); + writer.writeStringValue("@odata.type", this.getOdataType()); + writer.writeStringValue("webUrl", this.getWebUrl()); + 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 displayName property value. Localized display name. + * @param value Value to set for the displayName property. + */ + public void setDisplayName(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("displayName", value); + } + /** + * Sets the languageTag property value. Language locale. + * @param value Value to set for the languageTag property. + */ + public void setLanguageTag(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("languageTag", 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 webUrl property value. Localized profile source URL. + * @param value Value to set for the webUrl property. + */ + public void setWebUrl(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("webUrl", value); + } +} diff --git a/src/main/java/com/microsoft/graph/generated/models/QrCode.java b/src/main/java/com/microsoft/graph/generated/models/QrCode.java new file mode 100644 index 00000000000..2f8bb1f4468 --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/models/QrCode.java @@ -0,0 +1,130 @@ +package com.microsoft.graph.models; + +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParseNode; +import com.microsoft.kiota.serialization.SerializationWriter; +import java.time.OffsetDateTime; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +@jakarta.annotation.Generated("com.microsoft.kiota") +public class QrCode extends Entity implements Parsable { + /** + * Instantiates a new {@link QrCode} and sets the default values. + */ + public QrCode() { + 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 QrCode} + */ + @jakarta.annotation.Nonnull + public static QrCode createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) { + Objects.requireNonNull(parseNode); + return new QrCode(); + } + /** + * Gets the createdDateTime property value. The date and time when the QR code was created. Read-only. + * @return a {@link OffsetDateTime} + */ + @jakarta.annotation.Nullable + public OffsetDateTime getCreatedDateTime() { + return this.backingStore.get("createdDateTime"); + } + /** + * Gets the expireDateTime property value. The date and time when the QR code expires. For standard QR codes, the lifetime is in days with a maximum of 395 days (13 months) and a default of 365 days. For temporary QR codes, the lifetime must be between 1-12 hours. The expireDateTime can be edited for standard QR codes but not for temporary QR codes. + * @return a {@link OffsetDateTime} + */ + @jakarta.annotation.Nullable + public OffsetDateTime getExpireDateTime() { + return this.backingStore.get("expireDateTime"); + } + /** + * 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("createdDateTime", (n) -> { this.setCreatedDateTime(n.getOffsetDateTimeValue()); }); + deserializerMap.put("expireDateTime", (n) -> { this.setExpireDateTime(n.getOffsetDateTimeValue()); }); + deserializerMap.put("image", (n) -> { this.setImage(n.getObjectValue(QrCodeImageDetails::createFromDiscriminatorValue)); }); + deserializerMap.put("lastUsedDateTime", (n) -> { this.setLastUsedDateTime(n.getOffsetDateTimeValue()); }); + deserializerMap.put("startDateTime", (n) -> { this.setStartDateTime(n.getOffsetDateTimeValue()); }); + return deserializerMap; + } + /** + * Gets the image property value. The QR code image data. This property is only returned at the time of creating or resetting the QR code because the private key isn't stored on the server. + * @return a {@link QrCodeImageDetails} + */ + @jakarta.annotation.Nullable + public QrCodeImageDetails getImage() { + return this.backingStore.get("image"); + } + /** + * Gets the lastUsedDateTime property value. The date and time when the QR code was last successfully used for authentication. Read-only. + * @return a {@link OffsetDateTime} + */ + @jakarta.annotation.Nullable + public OffsetDateTime getLastUsedDateTime() { + return this.backingStore.get("lastUsedDateTime"); + } + /** + * Gets the startDateTime property value. The date and time when the QR code becomes available for use. + * @return a {@link OffsetDateTime} + */ + @jakarta.annotation.Nullable + public OffsetDateTime getStartDateTime() { + return this.backingStore.get("startDateTime"); + } + /** + * 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.writeOffsetDateTimeValue("createdDateTime", this.getCreatedDateTime()); + writer.writeOffsetDateTimeValue("expireDateTime", this.getExpireDateTime()); + writer.writeObjectValue("image", this.getImage()); + writer.writeOffsetDateTimeValue("lastUsedDateTime", this.getLastUsedDateTime()); + writer.writeOffsetDateTimeValue("startDateTime", this.getStartDateTime()); + } + /** + * Sets the createdDateTime property value. The date and time when the QR code was created. Read-only. + * @param value Value to set for the createdDateTime property. + */ + public void setCreatedDateTime(@jakarta.annotation.Nullable final OffsetDateTime value) { + this.backingStore.set("createdDateTime", value); + } + /** + * Sets the expireDateTime property value. The date and time when the QR code expires. For standard QR codes, the lifetime is in days with a maximum of 395 days (13 months) and a default of 365 days. For temporary QR codes, the lifetime must be between 1-12 hours. The expireDateTime can be edited for standard QR codes but not for temporary QR codes. + * @param value Value to set for the expireDateTime property. + */ + public void setExpireDateTime(@jakarta.annotation.Nullable final OffsetDateTime value) { + this.backingStore.set("expireDateTime", value); + } + /** + * Sets the image property value. The QR code image data. This property is only returned at the time of creating or resetting the QR code because the private key isn't stored on the server. + * @param value Value to set for the image property. + */ + public void setImage(@jakarta.annotation.Nullable final QrCodeImageDetails value) { + this.backingStore.set("image", value); + } + /** + * Sets the lastUsedDateTime property value. The date and time when the QR code was last successfully used for authentication. Read-only. + * @param value Value to set for the lastUsedDateTime property. + */ + public void setLastUsedDateTime(@jakarta.annotation.Nullable final OffsetDateTime value) { + this.backingStore.set("lastUsedDateTime", value); + } + /** + * Sets the startDateTime property value. The date and time when the QR code becomes available for use. + * @param value Value to set for the startDateTime property. + */ + public void setStartDateTime(@jakarta.annotation.Nullable final OffsetDateTime value) { + this.backingStore.set("startDateTime", value); + } +} diff --git a/src/main/java/com/microsoft/graph/generated/models/QrCodeImageDetails.java b/src/main/java/com/microsoft/graph/generated/models/QrCodeImageDetails.java new file mode 100644 index 00000000000..8a5a93ac459 --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/models/QrCodeImageDetails.java @@ -0,0 +1,175 @@ +package com.microsoft.graph.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 QrCodeImageDetails implements AdditionalDataHolder, BackedModel, Parsable { + /** + * Stores model information. + */ + @jakarta.annotation.Nonnull + protected BackingStore backingStore; + /** + * Instantiates a new {@link QrCodeImageDetails} and sets the default values. + */ + public QrCodeImageDetails() { + 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 QrCodeImageDetails} + */ + @jakarta.annotation.Nonnull + public static QrCodeImageDetails createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) { + Objects.requireNonNull(parseNode); + return new QrCodeImageDetails(); + } + /** + * 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 binaryValue property value. The binary representation of the QR code image. + * @return a {@link byte[]} + */ + @jakarta.annotation.Nullable + public byte[] getBinaryValue() { + return this.backingStore.get("binaryValue"); + } + /** + * Gets the errorCorrectionLevel property value. The error correction level of the QR code, which determines how much of the QR code can be damaged while still being readable. The possible values are: l, m, q, h, unknownFutureValue. + * @return a {@link ErrorCorrectionLevel} + */ + @jakarta.annotation.Nullable + public ErrorCorrectionLevel getErrorCorrectionLevel() { + return this.backingStore.get("errorCorrectionLevel"); + } + /** + * The deserialization information for the current model + * @return a {@link Map>} + */ + @jakarta.annotation.Nonnull + public Map> getFieldDeserializers() { + final HashMap> deserializerMap = new HashMap>(5); + deserializerMap.put("binaryValue", (n) -> { this.setBinaryValue(n.getByteArrayValue()); }); + deserializerMap.put("errorCorrectionLevel", (n) -> { this.setErrorCorrectionLevel(n.getEnumValue(ErrorCorrectionLevel::forValue)); }); + deserializerMap.put("@odata.type", (n) -> { this.setOdataType(n.getStringValue()); }); + deserializerMap.put("rawContent", (n) -> { this.setRawContent(n.getByteArrayValue()); }); + deserializerMap.put("version", (n) -> { this.setVersion(n.getIntegerValue()); }); + return deserializerMap; + } + /** + * 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 rawContent property value. The raw encoded content embedded in the QR code. + * @return a {@link byte[]} + */ + @jakarta.annotation.Nullable + public byte[] getRawContent() { + return this.backingStore.get("rawContent"); + } + /** + * Gets the version property value. The version number of the QR code, which determines its size and data capacity. + * @return a {@link Integer} + */ + @jakarta.annotation.Nullable + public Integer getVersion() { + return this.backingStore.get("version"); + } + /** + * 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.writeByteArrayValue("binaryValue", this.getBinaryValue()); + writer.writeEnumValue("errorCorrectionLevel", this.getErrorCorrectionLevel()); + writer.writeStringValue("@odata.type", this.getOdataType()); + writer.writeByteArrayValue("rawContent", this.getRawContent()); + writer.writeIntegerValue("version", this.getVersion()); + 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 binaryValue property value. The binary representation of the QR code image. + * @param value Value to set for the binaryValue property. + */ + public void setBinaryValue(@jakarta.annotation.Nullable final byte[] value) { + this.backingStore.set("binaryValue", value); + } + /** + * Sets the errorCorrectionLevel property value. The error correction level of the QR code, which determines how much of the QR code can be damaged while still being readable. The possible values are: l, m, q, h, unknownFutureValue. + * @param value Value to set for the errorCorrectionLevel property. + */ + public void setErrorCorrectionLevel(@jakarta.annotation.Nullable final ErrorCorrectionLevel value) { + this.backingStore.set("errorCorrectionLevel", 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 rawContent property value. The raw encoded content embedded in the QR code. + * @param value Value to set for the rawContent property. + */ + public void setRawContent(@jakarta.annotation.Nullable final byte[] value) { + this.backingStore.set("rawContent", value); + } + /** + * Sets the version property value. The version number of the QR code, which determines its size and data capacity. + * @param value Value to set for the version property. + */ + public void setVersion(@jakarta.annotation.Nullable final Integer value) { + this.backingStore.set("version", value); + } +} diff --git a/src/main/java/com/microsoft/graph/generated/models/QrCodePinAuthenticationMethod.java b/src/main/java/com/microsoft/graph/generated/models/QrCodePinAuthenticationMethod.java new file mode 100644 index 00000000000..08200b530a7 --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/models/QrCodePinAuthenticationMethod.java @@ -0,0 +1,96 @@ +package com.microsoft.graph.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 QrCodePinAuthenticationMethod extends AuthenticationMethod implements Parsable { + /** + * Instantiates a new {@link QrCodePinAuthenticationMethod} and sets the default values. + */ + public QrCodePinAuthenticationMethod() { + super(); + this.setOdataType("#microsoft.graph.qrCodePinAuthenticationMethod"); + } + /** + * 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 QrCodePinAuthenticationMethod} + */ + @jakarta.annotation.Nonnull + public static QrCodePinAuthenticationMethod createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) { + Objects.requireNonNull(parseNode); + return new QrCodePinAuthenticationMethod(); + } + /** + * 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("pin", (n) -> { this.setPin(n.getObjectValue(QrPin::createFromDiscriminatorValue)); }); + deserializerMap.put("standardQRCode", (n) -> { this.setStandardQRCode(n.getObjectValue(QrCode::createFromDiscriminatorValue)); }); + deserializerMap.put("temporaryQRCode", (n) -> { this.setTemporaryQRCode(n.getObjectValue(QrCode::createFromDiscriminatorValue)); }); + return deserializerMap; + } + /** + * Gets the pin property value. The PIN associated with this QR code authentication method. + * @return a {@link QrPin} + */ + @jakarta.annotation.Nullable + public QrPin getPin() { + return this.backingStore.get("pin"); + } + /** + * Gets the standardQRCode property value. The standard (long-lived) QR code credential, typically printed on a user's badge. + * @return a {@link QrCode} + */ + @jakarta.annotation.Nullable + public QrCode getStandardQRCode() { + return this.backingStore.get("standardQRCode"); + } + /** + * Gets the temporaryQRCode property value. A temporary (short-lived) QR code credential, created when a user forgets their badge. + * @return a {@link QrCode} + */ + @jakarta.annotation.Nullable + public QrCode getTemporaryQRCode() { + return this.backingStore.get("temporaryQRCode"); + } + /** + * 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.writeObjectValue("pin", this.getPin()); + writer.writeObjectValue("standardQRCode", this.getStandardQRCode()); + writer.writeObjectValue("temporaryQRCode", this.getTemporaryQRCode()); + } + /** + * Sets the pin property value. The PIN associated with this QR code authentication method. + * @param value Value to set for the pin property. + */ + public void setPin(@jakarta.annotation.Nullable final QrPin value) { + this.backingStore.set("pin", value); + } + /** + * Sets the standardQRCode property value. The standard (long-lived) QR code credential, typically printed on a user's badge. + * @param value Value to set for the standardQRCode property. + */ + public void setStandardQRCode(@jakarta.annotation.Nullable final QrCode value) { + this.backingStore.set("standardQRCode", value); + } + /** + * Sets the temporaryQRCode property value. A temporary (short-lived) QR code credential, created when a user forgets their badge. + * @param value Value to set for the temporaryQRCode property. + */ + public void setTemporaryQRCode(@jakarta.annotation.Nullable final QrCode value) { + this.backingStore.set("temporaryQRCode", value); + } +} diff --git a/src/main/java/com/microsoft/graph/generated/models/QrCodePinAuthenticationMethodConfiguration.java b/src/main/java/com/microsoft/graph/generated/models/QrCodePinAuthenticationMethodConfiguration.java new file mode 100644 index 00000000000..35a930a5988 --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/models/QrCodePinAuthenticationMethodConfiguration.java @@ -0,0 +1,96 @@ +package com.microsoft.graph.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 QrCodePinAuthenticationMethodConfiguration extends AuthenticationMethodConfiguration implements Parsable { + /** + * Instantiates a new {@link QrCodePinAuthenticationMethodConfiguration} and sets the default values. + */ + public QrCodePinAuthenticationMethodConfiguration() { + super(); + this.setOdataType("#microsoft.graph.qrCodePinAuthenticationMethodConfiguration"); + } + /** + * 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 QrCodePinAuthenticationMethodConfiguration} + */ + @jakarta.annotation.Nonnull + public static QrCodePinAuthenticationMethodConfiguration createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) { + Objects.requireNonNull(parseNode); + return new QrCodePinAuthenticationMethodConfiguration(); + } + /** + * 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("includeTargets", (n) -> { this.setIncludeTargets(n.getCollectionOfObjectValues(AuthenticationMethodTarget::createFromDiscriminatorValue)); }); + deserializerMap.put("pinLength", (n) -> { this.setPinLength(n.getIntegerValue()); }); + deserializerMap.put("standardQRCodeLifetimeInDays", (n) -> { this.setStandardQRCodeLifetimeInDays(n.getIntegerValue()); }); + return deserializerMap; + } + /** + * Gets the includeTargets property value. Groups of users that are included and enabled in the policy. + * @return a {@link java.util.List} + */ + @jakarta.annotation.Nullable + public java.util.List getIncludeTargets() { + return this.backingStore.get("includeTargets"); + } + /** + * Gets the pinLength property value. The required length of the PIN. The minimum length is 8 digits (as per NIST standards), and the maximum is 20 digits. + * @return a {@link Integer} + */ + @jakarta.annotation.Nullable + public Integer getPinLength() { + return this.backingStore.get("pinLength"); + } + /** + * Gets the standardQRCodeLifetimeInDays property value. The lifetime of standard QR codes in days. The default is 365 days and the maximum is 395 days (13 months). The minimum is 1 day. + * @return a {@link Integer} + */ + @jakarta.annotation.Nullable + public Integer getStandardQRCodeLifetimeInDays() { + return this.backingStore.get("standardQRCodeLifetimeInDays"); + } + /** + * 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("includeTargets", this.getIncludeTargets()); + writer.writeIntegerValue("pinLength", this.getPinLength()); + writer.writeIntegerValue("standardQRCodeLifetimeInDays", this.getStandardQRCodeLifetimeInDays()); + } + /** + * Sets the includeTargets property value. Groups of users that are included and enabled in the policy. + * @param value Value to set for the includeTargets property. + */ + public void setIncludeTargets(@jakarta.annotation.Nullable final java.util.List value) { + this.backingStore.set("includeTargets", value); + } + /** + * Sets the pinLength property value. The required length of the PIN. The minimum length is 8 digits (as per NIST standards), and the maximum is 20 digits. + * @param value Value to set for the pinLength property. + */ + public void setPinLength(@jakarta.annotation.Nullable final Integer value) { + this.backingStore.set("pinLength", value); + } + /** + * Sets the standardQRCodeLifetimeInDays property value. The lifetime of standard QR codes in days. The default is 365 days and the maximum is 395 days (13 months). The minimum is 1 day. + * @param value Value to set for the standardQRCodeLifetimeInDays property. + */ + public void setStandardQRCodeLifetimeInDays(@jakarta.annotation.Nullable final Integer value) { + this.backingStore.set("standardQRCodeLifetimeInDays", value); + } +} diff --git a/src/main/java/com/microsoft/graph/generated/models/QrPin.java b/src/main/java/com/microsoft/graph/generated/models/QrPin.java new file mode 100644 index 00000000000..41af719bcfa --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/models/QrPin.java @@ -0,0 +1,113 @@ +package com.microsoft.graph.models; + +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParseNode; +import com.microsoft.kiota.serialization.SerializationWriter; +import java.time.OffsetDateTime; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +@jakarta.annotation.Generated("com.microsoft.kiota") +public class QrPin extends Entity implements Parsable { + /** + * Instantiates a new {@link QrPin} and sets the default values. + */ + public QrPin() { + 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 QrPin} + */ + @jakarta.annotation.Nonnull + public static QrPin createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) { + Objects.requireNonNull(parseNode); + return new QrPin(); + } + /** + * Gets the code property value. The PIN code value. This property is only returned at the time of creating or resetting the PIN. For GET operations, this property returns null. The PIN must be between 8-20 digits. + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String getCode() { + return this.backingStore.get("code"); + } + /** + * Gets the createdDateTime property value. The date and time when the PIN was created. Read-only. + * @return a {@link OffsetDateTime} + */ + @jakarta.annotation.Nullable + public OffsetDateTime getCreatedDateTime() { + return this.backingStore.get("createdDateTime"); + } + /** + * 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("code", (n) -> { this.setCode(n.getStringValue()); }); + deserializerMap.put("createdDateTime", (n) -> { this.setCreatedDateTime(n.getOffsetDateTimeValue()); }); + deserializerMap.put("forceChangePinNextSignIn", (n) -> { this.setForceChangePinNextSignIn(n.getBooleanValue()); }); + deserializerMap.put("updatedDateTime", (n) -> { this.setUpdatedDateTime(n.getOffsetDateTimeValue()); }); + return deserializerMap; + } + /** + * Gets the forceChangePinNextSignIn property value. Indicates whether the user must change the PIN on their next sign-in. This is true when an admin creates or resets the PIN, and false after the user changes it. + * @return a {@link Boolean} + */ + @jakarta.annotation.Nullable + public Boolean getForceChangePinNextSignIn() { + return this.backingStore.get("forceChangePinNextSignIn"); + } + /** + * Gets the updatedDateTime property value. The date and time when the PIN was last updated. Read-only. + * @return a {@link OffsetDateTime} + */ + @jakarta.annotation.Nullable + public OffsetDateTime getUpdatedDateTime() { + return this.backingStore.get("updatedDateTime"); + } + /** + * 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("code", this.getCode()); + writer.writeOffsetDateTimeValue("createdDateTime", this.getCreatedDateTime()); + writer.writeBooleanValue("forceChangePinNextSignIn", this.getForceChangePinNextSignIn()); + writer.writeOffsetDateTimeValue("updatedDateTime", this.getUpdatedDateTime()); + } + /** + * Sets the code property value. The PIN code value. This property is only returned at the time of creating or resetting the PIN. For GET operations, this property returns null. The PIN must be between 8-20 digits. + * @param value Value to set for the code property. + */ + public void setCode(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("code", value); + } + /** + * Sets the createdDateTime property value. The date and time when the PIN was created. Read-only. + * @param value Value to set for the createdDateTime property. + */ + public void setCreatedDateTime(@jakarta.annotation.Nullable final OffsetDateTime value) { + this.backingStore.set("createdDateTime", value); + } + /** + * Sets the forceChangePinNextSignIn property value. Indicates whether the user must change the PIN on their next sign-in. This is true when an admin creates or resets the PIN, and false after the user changes it. + * @param value Value to set for the forceChangePinNextSignIn property. + */ + public void setForceChangePinNextSignIn(@jakarta.annotation.Nullable final Boolean value) { + this.backingStore.set("forceChangePinNextSignIn", value); + } + /** + * Sets the updatedDateTime property value. The date and time when the PIN was last updated. Read-only. + * @param value Value to set for the updatedDateTime property. + */ + public void setUpdatedDateTime(@jakarta.annotation.Nullable final OffsetDateTime value) { + this.backingStore.set("updatedDateTime", value); + } +} diff --git a/src/main/java/com/microsoft/graph/generated/models/ScopeCollectionKind.java b/src/main/java/com/microsoft/graph/generated/models/ScopeCollectionKind.java new file mode 100644 index 00000000000..236026e9ba3 --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/models/ScopeCollectionKind.java @@ -0,0 +1,31 @@ +package com.microsoft.graph.models; + +import com.microsoft.kiota.serialization.ValuedEnum; +import java.util.Objects; + +@jakarta.annotation.Generated("com.microsoft.kiota") +public enum ScopeCollectionKind implements ValuedEnum { + AllAllowed("allAllowed"), + Enumerated("enumerated"), + None("none"), + ScopeKindNotSet("scopeKindNotSet"), + UnknownFutureValue("unknownFutureValue"); + public final String value; + ScopeCollectionKind(final String value) { + this.value = value; + } + @jakarta.annotation.Nonnull + public String getValue() { return this.value; } + @jakarta.annotation.Nullable + public static ScopeCollectionKind forValue(@jakarta.annotation.Nonnull final String searchValue) { + Objects.requireNonNull(searchValue); + switch(searchValue) { + case "allAllowed": return AllAllowed; + case "enumerated": return Enumerated; + case "none": return None; + case "scopeKindNotSet": return ScopeKindNotSet; + case "unknownFutureValue": return UnknownFutureValue; + default: return null; + } + } +} diff --git a/src/main/java/com/microsoft/graph/generated/models/ServicePrincipal.java b/src/main/java/com/microsoft/graph/generated/models/ServicePrincipal.java index 9863011c76d..06edd9f1970 100644 --- a/src/main/java/com/microsoft/graph/generated/models/ServicePrincipal.java +++ b/src/main/java/com/microsoft/graph/generated/models/ServicePrincipal.java @@ -24,6 +24,14 @@ public ServicePrincipal() { @jakarta.annotation.Nonnull public static ServicePrincipal createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) { Objects.requireNonNull(parseNode); + final ParseNode mappingValueNode = parseNode.getChildNode("@odata.type"); + if (mappingValueNode != null) { + final String mappingValue = mappingValueNode.getStringValue(); + switch (mappingValue) { + case "#microsoft.graph.agentIdentity": return new AgentIdentity(); + case "#microsoft.graph.agentIdentityBlueprintPrincipal": return new AgentIdentityBlueprintPrincipal(); + } + } return new ServicePrincipal(); } /** diff --git a/src/main/java/com/microsoft/graph/generated/models/SharePointGroup.java b/src/main/java/com/microsoft/graph/generated/models/SharePointGroup.java new file mode 100644 index 00000000000..514114820f3 --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/models/SharePointGroup.java @@ -0,0 +1,112 @@ +package com.microsoft.graph.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 SharePointGroup extends Entity implements Parsable { + /** + * Instantiates a new {@link SharePointGroup} and sets the default values. + */ + public SharePointGroup() { + 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 SharePointGroup} + */ + @jakarta.annotation.Nonnull + public static SharePointGroup createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) { + Objects.requireNonNull(parseNode); + return new SharePointGroup(); + } + /** + * Gets the description property value. The description property + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String getDescription() { + return this.backingStore.get("description"); + } + /** + * 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("description", (n) -> { this.setDescription(n.getStringValue()); }); + deserializerMap.put("members", (n) -> { this.setMembers(n.getCollectionOfObjectValues(SharePointGroupMember::createFromDiscriminatorValue)); }); + deserializerMap.put("principalId", (n) -> { this.setPrincipalId(n.getStringValue()); }); + deserializerMap.put("title", (n) -> { this.setTitle(n.getStringValue()); }); + return deserializerMap; + } + /** + * Gets the members property value. The members property + * @return a {@link java.util.List} + */ + @jakarta.annotation.Nullable + public java.util.List getMembers() { + return this.backingStore.get("members"); + } + /** + * Gets the principalId property value. The principalId property + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String getPrincipalId() { + return this.backingStore.get("principalId"); + } + /** + * Gets the title property value. The title property + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String getTitle() { + return this.backingStore.get("title"); + } + /** + * 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("description", this.getDescription()); + writer.writeCollectionOfObjectValues("members", this.getMembers()); + writer.writeStringValue("principalId", this.getPrincipalId()); + writer.writeStringValue("title", this.getTitle()); + } + /** + * Sets the description property value. The description property + * @param value Value to set for the description property. + */ + public void setDescription(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("description", value); + } + /** + * Sets the members property value. The members property + * @param value Value to set for the members property. + */ + public void setMembers(@jakarta.annotation.Nullable final java.util.List value) { + this.backingStore.set("members", value); + } + /** + * Sets the principalId property value. The principalId property + * @param value Value to set for the principalId property. + */ + public void setPrincipalId(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("principalId", value); + } + /** + * Sets the title property value. The title property + * @param value Value to set for the title property. + */ + public void setTitle(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("title", value); + } +} diff --git a/src/main/java/com/microsoft/graph/generated/models/SharePointGroupCollectionResponse.java b/src/main/java/com/microsoft/graph/generated/models/SharePointGroupCollectionResponse.java new file mode 100644 index 00000000000..0d98e8ace70 --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/models/SharePointGroupCollectionResponse.java @@ -0,0 +1,61 @@ +package com.microsoft.graph.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 SharePointGroupCollectionResponse extends BaseCollectionPaginationCountResponse implements Parsable { + /** + * Instantiates a new {@link SharePointGroupCollectionResponse} and sets the default values. + */ + public SharePointGroupCollectionResponse() { + 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 SharePointGroupCollectionResponse} + */ + @jakarta.annotation.Nonnull + public static SharePointGroupCollectionResponse createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) { + Objects.requireNonNull(parseNode); + return new SharePointGroupCollectionResponse(); + } + /** + * 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(SharePointGroup::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/generated/models/SharePointGroupIdentity.java b/src/main/java/com/microsoft/graph/generated/models/SharePointGroupIdentity.java new file mode 100644 index 00000000000..7dcb20ecbf4 --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/models/SharePointGroupIdentity.java @@ -0,0 +1,79 @@ +package com.microsoft.graph.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 SharePointGroupIdentity extends Identity implements Parsable { + /** + * Instantiates a new {@link SharePointGroupIdentity} and sets the default values. + */ + public SharePointGroupIdentity() { + super(); + this.setOdataType("#microsoft.graph.sharePointGroupIdentity"); + } + /** + * 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 SharePointGroupIdentity} + */ + @jakarta.annotation.Nonnull + public static SharePointGroupIdentity createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) { + Objects.requireNonNull(parseNode); + return new SharePointGroupIdentity(); + } + /** + * 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("principalId", (n) -> { this.setPrincipalId(n.getStringValue()); }); + deserializerMap.put("title", (n) -> { this.setTitle(n.getStringValue()); }); + return deserializerMap; + } + /** + * Gets the principalId property value. The principalId property + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String getPrincipalId() { + return this.backingStore.get("principalId"); + } + /** + * Gets the title property value. The title property + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String getTitle() { + return this.backingStore.get("title"); + } + /** + * 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("principalId", this.getPrincipalId()); + writer.writeStringValue("title", this.getTitle()); + } + /** + * Sets the principalId property value. The principalId property + * @param value Value to set for the principalId property. + */ + public void setPrincipalId(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("principalId", value); + } + /** + * Sets the title property value. The title property + * @param value Value to set for the title property. + */ + public void setTitle(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("title", value); + } +} diff --git a/src/main/java/com/microsoft/graph/generated/models/SharePointGroupMember.java b/src/main/java/com/microsoft/graph/generated/models/SharePointGroupMember.java new file mode 100644 index 00000000000..55885330693 --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/models/SharePointGroupMember.java @@ -0,0 +1,61 @@ +package com.microsoft.graph.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 SharePointGroupMember extends Entity implements Parsable { + /** + * Instantiates a new {@link SharePointGroupMember} and sets the default values. + */ + public SharePointGroupMember() { + 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 SharePointGroupMember} + */ + @jakarta.annotation.Nonnull + public static SharePointGroupMember createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) { + Objects.requireNonNull(parseNode); + return new SharePointGroupMember(); + } + /** + * 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("identity", (n) -> { this.setIdentity(n.getObjectValue(SharePointIdentitySet::createFromDiscriminatorValue)); }); + return deserializerMap; + } + /** + * Gets the identity property value. The identity property + * @return a {@link SharePointIdentitySet} + */ + @jakarta.annotation.Nullable + public SharePointIdentitySet getIdentity() { + return this.backingStore.get("identity"); + } + /** + * 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.writeObjectValue("identity", this.getIdentity()); + } + /** + * Sets the identity property value. The identity property + * @param value Value to set for the identity property. + */ + public void setIdentity(@jakarta.annotation.Nullable final SharePointIdentitySet value) { + this.backingStore.set("identity", value); + } +} diff --git a/src/main/java/com/microsoft/graph/generated/models/SharePointGroupMemberCollectionResponse.java b/src/main/java/com/microsoft/graph/generated/models/SharePointGroupMemberCollectionResponse.java new file mode 100644 index 00000000000..a6a485825a2 --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/models/SharePointGroupMemberCollectionResponse.java @@ -0,0 +1,61 @@ +package com.microsoft.graph.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 SharePointGroupMemberCollectionResponse extends BaseCollectionPaginationCountResponse implements Parsable { + /** + * Instantiates a new {@link SharePointGroupMemberCollectionResponse} and sets the default values. + */ + public SharePointGroupMemberCollectionResponse() { + 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 SharePointGroupMemberCollectionResponse} + */ + @jakarta.annotation.Nonnull + public static SharePointGroupMemberCollectionResponse createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) { + Objects.requireNonNull(parseNode); + return new SharePointGroupMemberCollectionResponse(); + } + /** + * 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(SharePointGroupMember::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/generated/models/SharePointIdentitySet.java b/src/main/java/com/microsoft/graph/generated/models/SharePointIdentitySet.java index f80e1e79630..cc928bbdfab 100644 --- a/src/main/java/com/microsoft/graph/generated/models/SharePointIdentitySet.java +++ b/src/main/java/com/microsoft/graph/generated/models/SharePointIdentitySet.java @@ -33,6 +33,7 @@ public static SharePointIdentitySet createFromDiscriminatorValue(@jakarta.annota public Map> getFieldDeserializers() { final HashMap> deserializerMap = new HashMap>(super.getFieldDeserializers()); deserializerMap.put("group", (n) -> { this.setGroup(n.getObjectValue(Identity::createFromDiscriminatorValue)); }); + deserializerMap.put("sharePointGroup", (n) -> { this.setSharePointGroup(n.getObjectValue(SharePointGroupIdentity::createFromDiscriminatorValue)); }); deserializerMap.put("siteGroup", (n) -> { this.setSiteGroup(n.getObjectValue(SharePointIdentity::createFromDiscriminatorValue)); }); deserializerMap.put("siteUser", (n) -> { this.setSiteUser(n.getObjectValue(SharePointIdentity::createFromDiscriminatorValue)); }); return deserializerMap; @@ -45,6 +46,14 @@ public Map> getFieldDeserializers public Identity getGroup() { return this.backingStore.get("group"); } + /** + * Gets the sharePointGroup property value. The sharePointGroup property + * @return a {@link SharePointGroupIdentity} + */ + @jakarta.annotation.Nullable + public SharePointGroupIdentity getSharePointGroup() { + return this.backingStore.get("sharePointGroup"); + } /** * Gets the siteGroup property value. The SharePoint group associated with this action. Optional. * @return a {@link SharePointIdentity} @@ -69,6 +78,7 @@ public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writ Objects.requireNonNull(writer); super.serialize(writer); writer.writeObjectValue("group", this.getGroup()); + writer.writeObjectValue("sharePointGroup", this.getSharePointGroup()); writer.writeObjectValue("siteGroup", this.getSiteGroup()); writer.writeObjectValue("siteUser", this.getSiteUser()); } @@ -79,6 +89,13 @@ public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writ public void setGroup(@jakarta.annotation.Nullable final Identity value) { this.backingStore.set("group", value); } + /** + * Sets the sharePointGroup property value. The sharePointGroup property + * @param value Value to set for the sharePointGroup property. + */ + public void setSharePointGroup(@jakarta.annotation.Nullable final SharePointGroupIdentity value) { + this.backingStore.set("sharePointGroup", value); + } /** * Sets the siteGroup property value. The SharePoint group associated with this action. Optional. * @param value Value to set for the siteGroup property. diff --git a/src/main/java/com/microsoft/graph/generated/models/Simulation.java b/src/main/java/com/microsoft/graph/generated/models/Simulation.java index 46756560add..4d11a2534f2 100644 --- a/src/main/java/com/microsoft/graph/generated/models/Simulation.java +++ b/src/main/java/com/microsoft/graph/generated/models/Simulation.java @@ -235,7 +235,7 @@ public SimulationReport getReport() { return this.backingStore.get("report"); } /** - * Gets the status property value. Status of the attack simulation and training campaign. Supports $filter and $orderby. The possible values are: unknown, draft, running, scheduled, succeeded, failed, cancelled, excluded, unknownFutureValue. + * Gets the status property value. Status of the attack simulation and training campaign. Supports $filter and $orderby. The possible values are: unknown, draft, running, scheduled, succeeded, failed, canceled, excluded, unknownFutureValue. * @return a {@link SimulationStatus} */ @jakarta.annotation.Nullable @@ -437,7 +437,7 @@ public void setReport(@jakarta.annotation.Nullable final SimulationReport value) this.backingStore.set("report", value); } /** - * Sets the status property value. Status of the attack simulation and training campaign. Supports $filter and $orderby. The possible values are: unknown, draft, running, scheduled, succeeded, failed, cancelled, excluded, unknownFutureValue. + * Sets the status property value. Status of the attack simulation and training campaign. Supports $filter and $orderby. The possible values are: unknown, draft, running, scheduled, succeeded, failed, canceled, excluded, unknownFutureValue. * @param value Value to set for the status property. */ public void setStatus(@jakarta.annotation.Nullable final SimulationStatus value) { diff --git a/src/main/java/com/microsoft/graph/generated/models/User.java b/src/main/java/com/microsoft/graph/generated/models/User.java index b028961b04b..fcef19a5122 100644 --- a/src/main/java/com/microsoft/graph/generated/models/User.java +++ b/src/main/java/com/microsoft/graph/generated/models/User.java @@ -27,6 +27,13 @@ public User() { @jakarta.annotation.Nonnull public static User createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) { Objects.requireNonNull(parseNode); + final ParseNode mappingValueNode = parseNode.getChildNode("@odata.type"); + if (mappingValueNode != null) { + final String mappingValue = mappingValueNode.getStringValue(); + switch (mappingValue) { + case "#microsoft.graph.agentUser": return new AgentUser(); + } + } return new User(); } /** @@ -481,6 +488,7 @@ public Map> getFieldDeserializers deserializerMap.put("givenName", (n) -> { this.setGivenName(n.getStringValue()); }); deserializerMap.put("hireDate", (n) -> { this.setHireDate(n.getOffsetDateTimeValue()); }); deserializerMap.put("identities", (n) -> { this.setIdentities(n.getCollectionOfObjectValues(ObjectIdentity::createFromDiscriminatorValue)); }); + deserializerMap.put("identityParentId", (n) -> { this.setIdentityParentId(n.getStringValue()); }); deserializerMap.put("imAddresses", (n) -> { this.setImAddresses(n.getCollectionOfPrimitiveValues(String.class)); }); deserializerMap.put("inferenceClassification", (n) -> { this.setInferenceClassification(n.getObjectValue(InferenceClassification::createFromDiscriminatorValue)); }); deserializerMap.put("insights", (n) -> { this.setInsights(n.getObjectValue(ItemInsights::createFromDiscriminatorValue)); }); @@ -595,6 +603,14 @@ public OffsetDateTime getHireDate() { public java.util.List getIdentities() { return this.backingStore.get("identities"); } + /** + * Gets the identityParentId property value. The identityParentId property + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String getIdentityParentId() { + return this.backingStore.get("identityParentId"); + } /** * Gets the imAddresses property value. The instant message voice-over IP (VOIP) session initiation protocol (SIP) addresses for the user. Read-only. Returned only on $select. Supports $filter (eq, not, ge, le, startsWith). * @return a {@link java.util.List} @@ -1295,6 +1311,7 @@ public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writ writer.writeStringValue("givenName", this.getGivenName()); writer.writeOffsetDateTimeValue("hireDate", this.getHireDate()); writer.writeCollectionOfObjectValues("identities", this.getIdentities()); + writer.writeStringValue("identityParentId", this.getIdentityParentId()); writer.writeCollectionOfPrimitiveValues("imAddresses", this.getImAddresses()); writer.writeObjectValue("inferenceClassification", this.getInferenceClassification()); writer.writeObjectValue("insights", this.getInsights()); @@ -1747,6 +1764,13 @@ public void setHireDate(@jakarta.annotation.Nullable final OffsetDateTime value) public void setIdentities(@jakarta.annotation.Nullable final java.util.List value) { this.backingStore.set("identities", value); } + /** + * Sets the identityParentId property value. The identityParentId property + * @param value Value to set for the identityParentId property. + */ + public void setIdentityParentId(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("identityParentId", value); + } /** * Sets the imAddresses property value. The instant message voice-over IP (VOIP) session initiation protocol (SIP) addresses for the user. Read-only. Returned only on $select. Supports $filter (eq, not, ge, le, startsWith). * @param value Value to set for the imAddresses property. diff --git a/src/main/java/com/microsoft/graph/generated/models/X509CertificateAuthenticationMethodConfiguration.java b/src/main/java/com/microsoft/graph/generated/models/X509CertificateAuthenticationMethodConfiguration.java index dcb1ac395d8..7c210d181a8 100644 --- a/src/main/java/com/microsoft/graph/generated/models/X509CertificateAuthenticationMethodConfiguration.java +++ b/src/main/java/com/microsoft/graph/generated/models/X509CertificateAuthenticationMethodConfiguration.java @@ -33,6 +33,14 @@ public static X509CertificateAuthenticationMethodConfiguration createFromDiscrim public X509CertificateAuthenticationModeConfiguration getAuthenticationModeConfiguration() { return this.backingStore.get("authenticationModeConfiguration"); } + /** + * Gets the certificateAuthorityScopes property value. The certificateAuthorityScopes property + * @return a {@link java.util.List} + */ + @jakarta.annotation.Nullable + public java.util.List getCertificateAuthorityScopes() { + return this.backingStore.get("certificateAuthorityScopes"); + } /** * Gets the certificateUserBindings property value. Defines fields in the X.509 certificate that map to attributes of the Microsoft Entra user object in order to bind the certificate to the user. The priority of the object determines the order in which the binding is carried out. The first binding that matches will be used and the rest ignored. * @return a {@link java.util.List} @@ -57,9 +65,11 @@ public X509CertificateCRLValidationConfiguration getCrlValidationConfiguration() public Map> getFieldDeserializers() { final HashMap> deserializerMap = new HashMap>(super.getFieldDeserializers()); deserializerMap.put("authenticationModeConfiguration", (n) -> { this.setAuthenticationModeConfiguration(n.getObjectValue(X509CertificateAuthenticationModeConfiguration::createFromDiscriminatorValue)); }); + deserializerMap.put("certificateAuthorityScopes", (n) -> { this.setCertificateAuthorityScopes(n.getCollectionOfObjectValues(X509CertificateAuthorityScope::createFromDiscriminatorValue)); }); deserializerMap.put("certificateUserBindings", (n) -> { this.setCertificateUserBindings(n.getCollectionOfObjectValues(X509CertificateUserBinding::createFromDiscriminatorValue)); }); deserializerMap.put("crlValidationConfiguration", (n) -> { this.setCrlValidationConfiguration(n.getObjectValue(X509CertificateCRLValidationConfiguration::createFromDiscriminatorValue)); }); deserializerMap.put("includeTargets", (n) -> { this.setIncludeTargets(n.getCollectionOfObjectValues(AuthenticationMethodTarget::createFromDiscriminatorValue)); }); + deserializerMap.put("issuerHintsConfiguration", (n) -> { this.setIssuerHintsConfiguration(n.getObjectValue(X509CertificateIssuerHintsConfiguration::createFromDiscriminatorValue)); }); return deserializerMap; } /** @@ -70,6 +80,14 @@ public Map> getFieldDeserializers public java.util.List getIncludeTargets() { return this.backingStore.get("includeTargets"); } + /** + * Gets the issuerHintsConfiguration property value. The issuerHintsConfiguration property + * @return a {@link X509CertificateIssuerHintsConfiguration} + */ + @jakarta.annotation.Nullable + public X509CertificateIssuerHintsConfiguration getIssuerHintsConfiguration() { + return this.backingStore.get("issuerHintsConfiguration"); + } /** * Serializes information the current object * @param writer Serialization writer to use to serialize this model @@ -78,9 +96,11 @@ public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writ Objects.requireNonNull(writer); super.serialize(writer); writer.writeObjectValue("authenticationModeConfiguration", this.getAuthenticationModeConfiguration()); + writer.writeCollectionOfObjectValues("certificateAuthorityScopes", this.getCertificateAuthorityScopes()); writer.writeCollectionOfObjectValues("certificateUserBindings", this.getCertificateUserBindings()); writer.writeObjectValue("crlValidationConfiguration", this.getCrlValidationConfiguration()); writer.writeCollectionOfObjectValues("includeTargets", this.getIncludeTargets()); + writer.writeObjectValue("issuerHintsConfiguration", this.getIssuerHintsConfiguration()); } /** * Sets the authenticationModeConfiguration property value. Defines strong authentication configurations. This configuration includes the default authentication mode and the different rules for strong authentication bindings. @@ -89,6 +109,13 @@ public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writ public void setAuthenticationModeConfiguration(@jakarta.annotation.Nullable final X509CertificateAuthenticationModeConfiguration value) { this.backingStore.set("authenticationModeConfiguration", value); } + /** + * Sets the certificateAuthorityScopes property value. The certificateAuthorityScopes property + * @param value Value to set for the certificateAuthorityScopes property. + */ + public void setCertificateAuthorityScopes(@jakarta.annotation.Nullable final java.util.List value) { + this.backingStore.set("certificateAuthorityScopes", value); + } /** * Sets the certificateUserBindings property value. Defines fields in the X.509 certificate that map to attributes of the Microsoft Entra user object in order to bind the certificate to the user. The priority of the object determines the order in which the binding is carried out. The first binding that matches will be used and the rest ignored. * @param value Value to set for the certificateUserBindings property. @@ -110,4 +137,11 @@ public void setCrlValidationConfiguration(@jakarta.annotation.Nullable final X50 public void setIncludeTargets(@jakarta.annotation.Nullable final java.util.List value) { this.backingStore.set("includeTargets", value); } + /** + * Sets the issuerHintsConfiguration property value. The issuerHintsConfiguration property + * @param value Value to set for the issuerHintsConfiguration property. + */ + public void setIssuerHintsConfiguration(@jakarta.annotation.Nullable final X509CertificateIssuerHintsConfiguration value) { + this.backingStore.set("issuerHintsConfiguration", value); + } } diff --git a/src/main/java/com/microsoft/graph/generated/models/X509CertificateAuthorityScope.java b/src/main/java/com/microsoft/graph/generated/models/X509CertificateAuthorityScope.java new file mode 100644 index 00000000000..47a68f39256 --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/models/X509CertificateAuthorityScope.java @@ -0,0 +1,158 @@ +package com.microsoft.graph.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 X509CertificateAuthorityScope implements AdditionalDataHolder, BackedModel, Parsable { + /** + * Stores model information. + */ + @jakarta.annotation.Nonnull + protected BackingStore backingStore; + /** + * Instantiates a new {@link X509CertificateAuthorityScope} and sets the default values. + */ + public X509CertificateAuthorityScope() { + 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 X509CertificateAuthorityScope} + */ + @jakarta.annotation.Nonnull + public static X509CertificateAuthorityScope createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) { + Objects.requireNonNull(parseNode); + return new X509CertificateAuthorityScope(); + } + /** + * 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>(4); + deserializerMap.put("includeTargets", (n) -> { this.setIncludeTargets(n.getCollectionOfObjectValues(IncludeTarget::createFromDiscriminatorValue)); }); + deserializerMap.put("@odata.type", (n) -> { this.setOdataType(n.getStringValue()); }); + deserializerMap.put("publicKeyInfrastructureIdentifier", (n) -> { this.setPublicKeyInfrastructureIdentifier(n.getStringValue()); }); + deserializerMap.put("subjectKeyIdentifier", (n) -> { this.setSubjectKeyIdentifier(n.getStringValue()); }); + return deserializerMap; + } + /** + * Gets the includeTargets property value. The includeTargets property + * @return a {@link java.util.List} + */ + @jakarta.annotation.Nullable + public java.util.List getIncludeTargets() { + return this.backingStore.get("includeTargets"); + } + /** + * 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 publicKeyInfrastructureIdentifier property value. The publicKeyInfrastructureIdentifier property + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String getPublicKeyInfrastructureIdentifier() { + return this.backingStore.get("publicKeyInfrastructureIdentifier"); + } + /** + * Gets the subjectKeyIdentifier property value. The subjectKeyIdentifier property + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String getSubjectKeyIdentifier() { + return this.backingStore.get("subjectKeyIdentifier"); + } + /** + * 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("includeTargets", this.getIncludeTargets()); + writer.writeStringValue("@odata.type", this.getOdataType()); + writer.writeStringValue("publicKeyInfrastructureIdentifier", this.getPublicKeyInfrastructureIdentifier()); + writer.writeStringValue("subjectKeyIdentifier", this.getSubjectKeyIdentifier()); + 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 includeTargets property value. The includeTargets property + * @param value Value to set for the includeTargets property. + */ + public void setIncludeTargets(@jakarta.annotation.Nullable final java.util.List value) { + this.backingStore.set("includeTargets", 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 publicKeyInfrastructureIdentifier property value. The publicKeyInfrastructureIdentifier property + * @param value Value to set for the publicKeyInfrastructureIdentifier property. + */ + public void setPublicKeyInfrastructureIdentifier(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("publicKeyInfrastructureIdentifier", value); + } + /** + * Sets the subjectKeyIdentifier property value. The subjectKeyIdentifier property + * @param value Value to set for the subjectKeyIdentifier property. + */ + public void setSubjectKeyIdentifier(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("subjectKeyIdentifier", value); + } +} diff --git a/src/main/java/com/microsoft/graph/generated/models/X509CertificateIssuerHintsConfiguration.java b/src/main/java/com/microsoft/graph/generated/models/X509CertificateIssuerHintsConfiguration.java new file mode 100644 index 00000000000..b7816eb1ade --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/models/X509CertificateIssuerHintsConfiguration.java @@ -0,0 +1,124 @@ +package com.microsoft.graph.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 X509CertificateIssuerHintsConfiguration implements AdditionalDataHolder, BackedModel, Parsable { + /** + * Stores model information. + */ + @jakarta.annotation.Nonnull + protected BackingStore backingStore; + /** + * Instantiates a new {@link X509CertificateIssuerHintsConfiguration} and sets the default values. + */ + public X509CertificateIssuerHintsConfiguration() { + 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 X509CertificateIssuerHintsConfiguration} + */ + @jakarta.annotation.Nonnull + public static X509CertificateIssuerHintsConfiguration createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) { + Objects.requireNonNull(parseNode); + return new X509CertificateIssuerHintsConfiguration(); + } + /** + * 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>(2); + deserializerMap.put("@odata.type", (n) -> { this.setOdataType(n.getStringValue()); }); + deserializerMap.put("state", (n) -> { this.setState(n.getEnumValue(X509CertificateIssuerHintsState::forValue)); }); + return deserializerMap; + } + /** + * 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 state property value. The state property + * @return a {@link X509CertificateIssuerHintsState} + */ + @jakarta.annotation.Nullable + public X509CertificateIssuerHintsState getState() { + return this.backingStore.get("state"); + } + /** + * 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("@odata.type", this.getOdataType()); + writer.writeEnumValue("state", this.getState()); + 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 @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 state property value. The state property + * @param value Value to set for the state property. + */ + public void setState(@jakarta.annotation.Nullable final X509CertificateIssuerHintsState value) { + this.backingStore.set("state", value); + } +} diff --git a/src/main/java/com/microsoft/graph/generated/models/X509CertificateIssuerHintsState.java b/src/main/java/com/microsoft/graph/generated/models/X509CertificateIssuerHintsState.java new file mode 100644 index 00000000000..c345e75b043 --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/models/X509CertificateIssuerHintsState.java @@ -0,0 +1,27 @@ +package com.microsoft.graph.models; + +import com.microsoft.kiota.serialization.ValuedEnum; +import java.util.Objects; + +@jakarta.annotation.Generated("com.microsoft.kiota") +public enum X509CertificateIssuerHintsState implements ValuedEnum { + Disabled("disabled"), + Enabled("enabled"), + UnknownFutureValue("unknownFutureValue"); + public final String value; + X509CertificateIssuerHintsState(final String value) { + this.value = value; + } + @jakarta.annotation.Nonnull + public String getValue() { return this.value; } + @jakarta.annotation.Nullable + public static X509CertificateIssuerHintsState forValue(@jakarta.annotation.Nonnull final String searchValue) { + Objects.requireNonNull(searchValue); + switch(searchValue) { + case "disabled": return Disabled; + case "enabled": return Enabled; + case "unknownFutureValue": return UnknownFutureValue; + default: return null; + } + } +} diff --git a/src/main/java/com/microsoft/graph/generated/models/externalconnectors/ContentCategory.java b/src/main/java/com/microsoft/graph/generated/models/externalconnectors/ContentCategory.java new file mode 100644 index 00000000000..a22f9734e32 --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/models/externalconnectors/ContentCategory.java @@ -0,0 +1,51 @@ +package com.microsoft.graph.models.externalconnectors; + +import com.microsoft.kiota.serialization.ValuedEnum; +import java.util.Objects; + +@jakarta.annotation.Generated("com.microsoft.kiota") +public enum ContentCategory implements ValuedEnum { + Uncategorized("uncategorized"), + KnowledgeBase("knowledgeBase"), + Wikis("wikis"), + FileRepository("fileRepository"), + Qna("qna"), + Crm("crm"), + Dashboard("dashboard"), + People("people"), + Media("media"), + Email("email"), + Messaging("messaging"), + MeetingTranscripts("meetingTranscripts"), + TaskManagement("taskManagement"), + LearningManagement("learningManagement"), + UnknownFutureValue("unknownFutureValue"); + public final String value; + ContentCategory(final String value) { + this.value = value; + } + @jakarta.annotation.Nonnull + public String getValue() { return this.value; } + @jakarta.annotation.Nullable + public static ContentCategory forValue(@jakarta.annotation.Nonnull final String searchValue) { + Objects.requireNonNull(searchValue); + switch(searchValue) { + case "uncategorized": return Uncategorized; + case "knowledgeBase": return KnowledgeBase; + case "wikis": return Wikis; + case "fileRepository": return FileRepository; + case "qna": return Qna; + case "crm": return Crm; + case "dashboard": return Dashboard; + case "people": return People; + case "media": return Media; + case "email": return Email; + case "messaging": return Messaging; + case "meetingTranscripts": return MeetingTranscripts; + case "taskManagement": return TaskManagement; + case "learningManagement": return LearningManagement; + case "unknownFutureValue": return UnknownFutureValue; + default: return null; + } + } +} diff --git a/src/main/java/com/microsoft/graph/generated/models/externalconnectors/ExternalConnection.java b/src/main/java/com/microsoft/graph/generated/models/externalconnectors/ExternalConnection.java index 79fa975e5f2..e7504b038df 100644 --- a/src/main/java/com/microsoft/graph/generated/models/externalconnectors/ExternalConnection.java +++ b/src/main/java/com/microsoft/graph/generated/models/externalconnectors/ExternalConnection.java @@ -49,6 +49,14 @@ public Configuration getConfiguration() { public String getConnectorId() { return this.backingStore.get("connectorId"); } + /** + * Gets the contentCategory property value. The contentCategory property + * @return a {@link ContentCategory} + */ + @jakarta.annotation.Nullable + public ContentCategory getContentCategory() { + return this.backingStore.get("contentCategory"); + } /** * Gets the description property value. Description of the connection displayed in the Microsoft 365 admin center. Optional. * @return a {@link String} @@ -67,6 +75,7 @@ public Map> getFieldDeserializers deserializerMap.put("activitySettings", (n) -> { this.setActivitySettings(n.getObjectValue(ActivitySettings::createFromDiscriminatorValue)); }); deserializerMap.put("configuration", (n) -> { this.setConfiguration(n.getObjectValue(Configuration::createFromDiscriminatorValue)); }); deserializerMap.put("connectorId", (n) -> { this.setConnectorId(n.getStringValue()); }); + deserializerMap.put("contentCategory", (n) -> { this.setContentCategory(n.getEnumValue(ContentCategory::forValue)); }); deserializerMap.put("description", (n) -> { this.setDescription(n.getStringValue()); }); deserializerMap.put("groups", (n) -> { this.setGroups(n.getCollectionOfObjectValues(ExternalGroup::createFromDiscriminatorValue)); }); deserializerMap.put("items", (n) -> { this.setItems(n.getCollectionOfObjectValues(ExternalItem::createFromDiscriminatorValue)); }); @@ -143,6 +152,7 @@ public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writ writer.writeObjectValue("activitySettings", this.getActivitySettings()); writer.writeObjectValue("configuration", this.getConfiguration()); writer.writeStringValue("connectorId", this.getConnectorId()); + writer.writeEnumValue("contentCategory", this.getContentCategory()); writer.writeStringValue("description", this.getDescription()); writer.writeCollectionOfObjectValues("groups", this.getGroups()); writer.writeCollectionOfObjectValues("items", this.getItems()); @@ -172,6 +182,13 @@ public void setConfiguration(@jakarta.annotation.Nullable final Configuration va public void setConnectorId(@jakarta.annotation.Nullable final String value) { this.backingStore.set("connectorId", value); } + /** + * Sets the contentCategory property value. The contentCategory property + * @param value Value to set for the contentCategory property. + */ + public void setContentCategory(@jakarta.annotation.Nullable final ContentCategory value) { + this.backingStore.set("contentCategory", value); + } /** * Sets the description property value. Description of the connection displayed in the Microsoft 365 admin center. Optional. * @param value Value to set for the description property. diff --git a/src/main/java/com/microsoft/graph/generated/models/externalconnectors/Label.java b/src/main/java/com/microsoft/graph/generated/models/externalconnectors/Label.java index 1b7ff85ed95..c3d736454a9 100644 --- a/src/main/java/com/microsoft/graph/generated/models/externalconnectors/Label.java +++ b/src/main/java/com/microsoft/graph/generated/models/externalconnectors/Label.java @@ -15,7 +15,45 @@ public enum Label implements ValuedEnum { FileName("fileName"), FileExtension("fileExtension"), UnknownFutureValue("unknownFutureValue"), - IconUrl("iconUrl"); + ContainerName("containerName"), + ContainerUrl("containerUrl"), + IconUrl("iconUrl"), + AssignedToPeople("assignedToPeople"), + ClosedBy("closedBy"), + ClosedDate("closedDate"), + Priority("priority"), + SprintName("sprintName"), + Tags("tags"), + Severity("severity"), + State("state"), + DueDate("dueDate"), + ItemParentId("itemParentId"), + ItemPath("itemPath"), + ItemType("itemType"), + NumberOfReactions("numberOfReactions"), + ParentUrl("parentUrl"), + PriorityNormalized("priorityNormalized"), + ReportedBy("reportedBy"), + SecondaryId("secondaryId"), + PersonEmails("personEmails"), + PersonAddresses("personAddresses"), + PersonAnniversaries("personAnniversaries"), + PersonName("personName"), + PersonNote("personNote"), + PersonPhones("personPhones"), + PersonCurrentPosition("personCurrentPosition"), + PersonWebAccounts("personWebAccounts"), + PersonWebSite("personWebSite"), + PersonSkills("personSkills"), + PersonProjects("personProjects"), + PersonAccount("personAccount"), + PersonAwards("personAwards"), + PersonCertifications("personCertifications"), + PersonAssistants("personAssistants"), + PersonColleagues("personColleagues"), + PersonManager("personManager"), + PersonAlternateContacts("personAlternateContacts"), + PersonEmergencyContacts("personEmergencyContacts"); public final String value; Label(final String value) { this.value = value; @@ -36,7 +74,45 @@ public static Label forValue(@jakarta.annotation.Nonnull final String searchValu case "fileName": return FileName; case "fileExtension": return FileExtension; case "unknownFutureValue": return UnknownFutureValue; + case "containerName": return ContainerName; + case "containerUrl": return ContainerUrl; case "iconUrl": return IconUrl; + case "assignedToPeople": return AssignedToPeople; + case "closedBy": return ClosedBy; + case "closedDate": return ClosedDate; + case "priority": return Priority; + case "sprintName": return SprintName; + case "tags": return Tags; + case "severity": return Severity; + case "state": return State; + case "dueDate": return DueDate; + case "itemParentId": return ItemParentId; + case "itemPath": return ItemPath; + case "itemType": return ItemType; + case "numberOfReactions": return NumberOfReactions; + case "parentUrl": return ParentUrl; + case "priorityNormalized": return PriorityNormalized; + case "reportedBy": return ReportedBy; + case "secondaryId": return SecondaryId; + case "personEmails": return PersonEmails; + case "personAddresses": return PersonAddresses; + case "personAnniversaries": return PersonAnniversaries; + case "personName": return PersonName; + case "personNote": return PersonNote; + case "personPhones": return PersonPhones; + case "personCurrentPosition": return PersonCurrentPosition; + case "personWebAccounts": return PersonWebAccounts; + case "personWebSite": return PersonWebSite; + case "personSkills": return PersonSkills; + case "personProjects": return PersonProjects; + case "personAccount": return PersonAccount; + case "personAwards": return PersonAwards; + case "personCertifications": return PersonCertifications; + case "personAssistants": return PersonAssistants; + case "personColleagues": return PersonColleagues; + case "personManager": return PersonManager; + case "personAlternateContacts": return PersonAlternateContacts; + case "personEmergencyContacts": return PersonEmergencyContacts; default: return null; } } diff --git a/src/main/java/com/microsoft/graph/generated/models/externalconnectors/Property.java b/src/main/java/com/microsoft/graph/generated/models/externalconnectors/Property.java index 9f556674608..e69ae8e38e1 100644 --- a/src/main/java/com/microsoft/graph/generated/models/externalconnectors/Property.java +++ b/src/main/java/com/microsoft/graph/generated/models/externalconnectors/Property.java @@ -63,14 +63,23 @@ public java.util.List getAliases() { public BackingStore getBackingStore() { return this.backingStore; } + /** + * Gets the description property value. Specifies a human-readable description that explains the purpose, usage, or guidance related to the property. This property enhances semantic understanding by helping Copilot interpret queries and accurately map them to properties that results in more relevant and precise responses. Optional but we recommend that you use this property for queryable properties. The maximum supported length is 200 characters. + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String getDescription() { + return this.backingStore.get("description"); + } /** * The deserialization information for the current model * @return a {@link Map>} */ @jakarta.annotation.Nonnull public Map> getFieldDeserializers() { - final HashMap> deserializerMap = new HashMap>(9); + final HashMap> deserializerMap = new HashMap>(10); deserializerMap.put("aliases", (n) -> { this.setAliases(n.getCollectionOfPrimitiveValues(String.class)); }); + deserializerMap.put("description", (n) -> { this.setDescription(n.getStringValue()); }); deserializerMap.put("isQueryable", (n) -> { this.setIsQueryable(n.getBooleanValue()); }); deserializerMap.put("isRefinable", (n) -> { this.setIsRefinable(n.getBooleanValue()); }); deserializerMap.put("isRetrievable", (n) -> { this.setIsRetrievable(n.getBooleanValue()); }); @@ -114,7 +123,7 @@ public Boolean getIsSearchable() { return this.backingStore.get("isSearchable"); } /** - * Gets the labels property value. Specifies one or more well-known tags added against a property. Labels help Microsoft Search understand the semantics of the data in the connection. Adding appropriate labels would result in an enhanced search experience (for example, better relevance). Optional.The possible values are: title, url, createdBy, lastModifiedBy, authors, createdDateTime, lastModifiedDateTime, fileName, fileExtension, unknownFutureValue, iconUrl. Use the Prefer: include-unknown-enum-members request header to get the following members in this evolvable enum: iconUrl. + * Gets the labels property value. Specifies one or more well-known tags added against a property. Labels help Microsoft Search understand the semantics of the data in the connection. Adding appropriate labels would result in an enhanced search experience (for example, better relevance). Optional..The possible values are: title, url, createdBy, lastModifiedBy, authors, createdDateTime, lastModifiedDateTime, fileName, fileExtension, unknownFutureValue, containerName, containerUrl, iconUrl, assignedTo, dueDate, closedDate, closedBy, reportedBy, sprintName, severity, state, priority, secondaryId, itemParentId, parentUrl, tags, itemType, itemPath, numReactions. Use the Prefer: include-unknown-enum-members request header to retrieve additional values defined in this evolvable enum,For People Connectors you can include : personEmails, personAddresses, personAnniversaries, personName, personNote, personPhones, personCurrentPosition, personWebAccounts, personWebSite, personSkills, personProjects, personAccount, personAwards, personCertifications, personAssistants, personColleagues, personManager, personAlternateContacts, personEmergencyContacts. * @return a {@link java.util.ListFind more info here @@ -46,7 +46,7 @@ public DirectoryObject post() { return post(null); } /** - * Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. + * Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- agentIdentityBlueprint- agentIdentity- agentIdentityBlueprintPrincipal- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link DirectoryObject} * @throws ODataError When receiving a 4XX or 5XX status code @@ -60,7 +60,7 @@ public DirectoryObject post(@jakarta.annotation.Nullable final java.util.functio return this.requestAdapter.send(requestInfo, errorMapping, DirectoryObject::createFromDiscriminatorValue); } /** - * Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. + * Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- agentIdentityBlueprint- agentIdentity- agentIdentityBlueprintPrincipal- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull @@ -68,7 +68,7 @@ public RequestInformation toPostRequestInformation() { return toPostRequestInformation(null); } /** - * Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. + * Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- agentIdentityBlueprint- agentIdentity- agentIdentityBlueprintPrincipal- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. * @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/generated/permissiongrants/item/restore/RestoreRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/permissiongrants/item/restore/RestoreRequestBuilder.java index 4a5ed86035b..218d5a49e15 100644 --- a/src/main/java/com/microsoft/graph/generated/permissiongrants/item/restore/RestoreRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/generated/permissiongrants/item/restore/RestoreRequestBuilder.java @@ -36,7 +36,7 @@ public RestoreRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @j super(requestAdapter, "{+baseurl}/permissionGrants/{resourceSpecificPermissionGrant%2Did}/restore", rawUrl); } /** - * Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. + * Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- agentIdentityBlueprint- agentIdentity- agentIdentityBlueprintPrincipal- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. * @return a {@link DirectoryObject} * @throws ODataError When receiving a 4XX or 5XX status code * @see Find more info here @@ -46,7 +46,7 @@ public DirectoryObject post() { return post(null); } /** - * Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. + * Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- agentIdentityBlueprint- agentIdentity- agentIdentityBlueprintPrincipal- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link DirectoryObject} * @throws ODataError When receiving a 4XX or 5XX status code @@ -60,7 +60,7 @@ public DirectoryObject post(@jakarta.annotation.Nullable final java.util.functio return this.requestAdapter.send(requestInfo, errorMapping, DirectoryObject::createFromDiscriminatorValue); } /** - * Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. + * Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- agentIdentityBlueprint- agentIdentity- agentIdentityBlueprintPrincipal- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull @@ -68,7 +68,7 @@ public RequestInformation toPostRequestInformation() { return toPostRequestInformation(null); } /** - * Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. + * Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- agentIdentityBlueprint- agentIdentity- agentIdentityBlueprintPrincipal- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. * @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/generated/serviceprincipals/ServicePrincipalsRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/serviceprincipals/ServicePrincipalsRequestBuilder.java index fd566d24c15..3a638f3bc39 100644 --- a/src/main/java/com/microsoft/graph/generated/serviceprincipals/ServicePrincipalsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/generated/serviceprincipals/ServicePrincipalsRequestBuilder.java @@ -96,7 +96,7 @@ public ServicePrincipalsRequestBuilder(@jakarta.annotation.Nonnull final String super(requestAdapter, "{+baseurl}/servicePrincipals{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl); } /** - * Retrieve a list of servicePrincipal objects. + * Retrieve a list of servicePrincipal objects. This API also returns agentIdentityBlueprintPrincipal objects, which are identified by the @odata.type property of #microsoft.graph.agentIdentityBlueprintPrincipal. * @return a {@link ServicePrincipalCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code * @see Find more info here @@ -106,7 +106,7 @@ public ServicePrincipalCollectionResponse get() { return get(null); } /** - * Retrieve a list of servicePrincipal objects. + * Retrieve a list of servicePrincipal objects. This API also returns agentIdentityBlueprintPrincipal objects, which are identified by the @odata.type property of #microsoft.graph.agentIdentityBlueprintPrincipal. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link ServicePrincipalCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code @@ -120,7 +120,7 @@ public ServicePrincipalCollectionResponse get(@jakarta.annotation.Nullable final return this.requestAdapter.send(requestInfo, errorMapping, ServicePrincipalCollectionResponse::createFromDiscriminatorValue); } /** - * Create a new servicePrincipal object. + * Create a new servicePrincipal object. This API can also create an agentIdentityBlueprintPrincipal object from an agentIdentityBlueprint when the @odata.type property is set to #microsoft.graph.agentIdentityBlueprintPrincipal. * @param body The request body * @return a {@link ServicePrincipal} * @throws ODataError When receiving a 4XX or 5XX status code @@ -131,7 +131,7 @@ public ServicePrincipal post(@jakarta.annotation.Nonnull final ServicePrincipal return post(body, null); } /** - * Create a new servicePrincipal object. + * Create a new servicePrincipal object. This API can also create an agentIdentityBlueprintPrincipal object from an agentIdentityBlueprint when the @odata.type property is set to #microsoft.graph.agentIdentityBlueprintPrincipal. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link ServicePrincipal} @@ -147,7 +147,7 @@ public ServicePrincipal post(@jakarta.annotation.Nonnull final ServicePrincipal return this.requestAdapter.send(requestInfo, errorMapping, ServicePrincipal::createFromDiscriminatorValue); } /** - * Retrieve a list of servicePrincipal objects. + * Retrieve a list of servicePrincipal objects. This API also returns agentIdentityBlueprintPrincipal objects, which are identified by the @odata.type property of #microsoft.graph.agentIdentityBlueprintPrincipal. * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull @@ -155,7 +155,7 @@ public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } /** - * Retrieve a list of servicePrincipal objects. + * Retrieve a list of servicePrincipal objects. This API also returns agentIdentityBlueprintPrincipal objects, which are identified by the @odata.type property of #microsoft.graph.agentIdentityBlueprintPrincipal. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} */ @@ -167,7 +167,7 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f return requestInfo; } /** - * Create a new servicePrincipal object. + * Create a new servicePrincipal object. This API can also create an agentIdentityBlueprintPrincipal object from an agentIdentityBlueprint when the @odata.type property is set to #microsoft.graph.agentIdentityBlueprintPrincipal. * @param body The request body * @return a {@link RequestInformation} */ @@ -176,7 +176,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f return toPostRequestInformation(body, null); } /** - * Create a new servicePrincipal object. + * Create a new servicePrincipal object. This API can also create an agentIdentityBlueprintPrincipal object from an agentIdentityBlueprint when the @odata.type property is set to #microsoft.graph.agentIdentityBlueprintPrincipal. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} @@ -201,7 +201,7 @@ public ServicePrincipalsRequestBuilder withUrl(@jakarta.annotation.Nonnull final return new ServicePrincipalsRequestBuilder(rawUrl, requestAdapter); } /** - * Retrieve a list of servicePrincipal objects. + * Retrieve a list of servicePrincipal objects. This API also returns agentIdentityBlueprintPrincipal objects, which are identified by the @odata.type property of #microsoft.graph.agentIdentityBlueprintPrincipal. */ @jakarta.annotation.Generated("com.microsoft.kiota") public class GetQueryParameters implements QueryParameters { diff --git a/src/main/java/com/microsoft/graph/generated/serviceprincipals/item/ServicePrincipalItemRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/serviceprincipals/item/ServicePrincipalItemRequestBuilder.java index bdbda3cc37f..f10b8b7d003 100644 --- a/src/main/java/com/microsoft/graph/generated/serviceprincipals/item/ServicePrincipalItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/generated/serviceprincipals/item/ServicePrincipalItemRequestBuilder.java @@ -290,7 +290,7 @@ public ServicePrincipalItemRequestBuilder(@jakarta.annotation.Nonnull final Stri super(requestAdapter, "{+baseurl}/servicePrincipals/{servicePrincipal%2Did}{?%24expand,%24select}", rawUrl); } /** - * Delete a servicePrincipal object. + * Delete a servicePrincipal object. This API can also delete an agentIdentityBlueprintPrincipal object by its ID. * @throws ODataError When receiving a 4XX or 5XX status code * @see Find more info here */ @@ -298,7 +298,7 @@ public void delete() { delete(null); } /** - * Delete a servicePrincipal object. + * Delete a servicePrincipal object. This API can also delete an agentIdentityBlueprintPrincipal object by its ID. * @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 @@ -320,7 +320,7 @@ public FederatedIdentityCredentialsWithNameRequestBuilder federatedIdentityCrede return new FederatedIdentityCredentialsWithNameRequestBuilder(pathParameters, requestAdapter, name); } /** - * Retrieve the properties and relationships of a servicePrincipal object. + * Retrieve the properties and relationships of a servicePrincipal object. This API can be used to get agentIdentityBlueprintPrincipal objects as well by their ID. * @return a {@link ServicePrincipal} * @throws ODataError When receiving a 4XX or 5XX status code * @see Find more info here @@ -330,7 +330,7 @@ public ServicePrincipal get() { return get(null); } /** - * Retrieve the properties and relationships of a servicePrincipal object. + * Retrieve the properties and relationships of a servicePrincipal object. This API can be used to get agentIdentityBlueprintPrincipal objects as well by their ID. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link ServicePrincipal} * @throws ODataError When receiving a 4XX or 5XX status code @@ -344,7 +344,7 @@ public ServicePrincipal get(@jakarta.annotation.Nullable final java.util.functio return this.requestAdapter.send(requestInfo, errorMapping, ServicePrincipal::createFromDiscriminatorValue); } /** - * Create a new servicePrincipal object if it doesn't exist, or update the properties of an existing servicePrincipal object. + * Create a new servicePrincipal object if it doesn't exist, or update the properties of an existing servicePrincipal object. This API can also create an agentIdentityBlueprintPrincipal object from an agentIdentityBlueprint if it doesn't exist, or update properties of an existing agentIdentityBlueprintPrincipal, when the @odata.type property is set to #microsoft.graph.agentIdentityBlueprintPrincipal. * @param body The request body * @return a {@link ServicePrincipal} * @throws ODataError When receiving a 4XX or 5XX status code @@ -355,7 +355,7 @@ public ServicePrincipal patch(@jakarta.annotation.Nonnull final ServicePrincipal return patch(body, null); } /** - * Create a new servicePrincipal object if it doesn't exist, or update the properties of an existing servicePrincipal object. + * Create a new servicePrincipal object if it doesn't exist, or update the properties of an existing servicePrincipal object. This API can also create an agentIdentityBlueprintPrincipal object from an agentIdentityBlueprint if it doesn't exist, or update properties of an existing agentIdentityBlueprintPrincipal, when the @odata.type property is set to #microsoft.graph.agentIdentityBlueprintPrincipal. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link ServicePrincipal} @@ -371,7 +371,7 @@ public ServicePrincipal patch(@jakarta.annotation.Nonnull final ServicePrincipal return this.requestAdapter.send(requestInfo, errorMapping, ServicePrincipal::createFromDiscriminatorValue); } /** - * Delete a servicePrincipal object. + * Delete a servicePrincipal object. This API can also delete an agentIdentityBlueprintPrincipal object by its ID. * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull @@ -379,7 +379,7 @@ public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } /** - * Delete a servicePrincipal object. + * Delete a servicePrincipal object. This API can also delete an agentIdentityBlueprintPrincipal object by its ID. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} */ @@ -391,7 +391,7 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl return requestInfo; } /** - * Retrieve the properties and relationships of a servicePrincipal object. + * Retrieve the properties and relationships of a servicePrincipal object. This API can be used to get agentIdentityBlueprintPrincipal objects as well by their ID. * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull @@ -399,7 +399,7 @@ public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } /** - * Retrieve the properties and relationships of a servicePrincipal object. + * Retrieve the properties and relationships of a servicePrincipal object. This API can be used to get agentIdentityBlueprintPrincipal objects as well by their ID. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} */ @@ -411,7 +411,7 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f return requestInfo; } /** - * Create a new servicePrincipal object if it doesn't exist, or update the properties of an existing servicePrincipal object. + * Create a new servicePrincipal object if it doesn't exist, or update the properties of an existing servicePrincipal object. This API can also create an agentIdentityBlueprintPrincipal object from an agentIdentityBlueprint if it doesn't exist, or update properties of an existing agentIdentityBlueprintPrincipal, when the @odata.type property is set to #microsoft.graph.agentIdentityBlueprintPrincipal. * @param body The request body * @return a {@link RequestInformation} */ @@ -420,7 +420,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull return toPatchRequestInformation(body, null); } /** - * Create a new servicePrincipal object if it doesn't exist, or update the properties of an existing servicePrincipal object. + * Create a new servicePrincipal object if it doesn't exist, or update the properties of an existing servicePrincipal object. This API can also create an agentIdentityBlueprintPrincipal object from an agentIdentityBlueprint if it doesn't exist, or update properties of an existing agentIdentityBlueprintPrincipal, when the @odata.type property is set to #microsoft.graph.agentIdentityBlueprintPrincipal. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} @@ -451,7 +451,7 @@ public ServicePrincipalItemRequestBuilder withUrl(@jakarta.annotation.Nonnull fi public class DeleteRequestConfiguration extends BaseRequestConfiguration { } /** - * Retrieve the properties and relationships of a servicePrincipal object. + * Retrieve the properties and relationships of a servicePrincipal object. This API can be used to get agentIdentityBlueprintPrincipal objects as well by their ID. */ @jakarta.annotation.Generated("com.microsoft.kiota") public class GetQueryParameters implements QueryParameters { diff --git a/src/main/java/com/microsoft/graph/generated/serviceprincipals/item/restore/RestoreRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/serviceprincipals/item/restore/RestoreRequestBuilder.java index 5ca3c21cfab..da96d9fd431 100644 --- a/src/main/java/com/microsoft/graph/generated/serviceprincipals/item/restore/RestoreRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/generated/serviceprincipals/item/restore/RestoreRequestBuilder.java @@ -36,7 +36,7 @@ public RestoreRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @j super(requestAdapter, "{+baseurl}/servicePrincipals/{servicePrincipal%2Did}/restore", rawUrl); } /** - * Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. + * Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- agentIdentityBlueprint- agentIdentity- agentIdentityBlueprintPrincipal- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. * @return a {@link DirectoryObject} * @throws ODataError When receiving a 4XX or 5XX status code * @see Find more info here @@ -46,7 +46,7 @@ public DirectoryObject post() { return post(null); } /** - * Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. + * Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- agentIdentityBlueprint- agentIdentity- agentIdentityBlueprintPrincipal- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link DirectoryObject} * @throws ODataError When receiving a 4XX or 5XX status code @@ -60,7 +60,7 @@ public DirectoryObject post(@jakarta.annotation.Nullable final java.util.functio return this.requestAdapter.send(requestInfo, errorMapping, DirectoryObject::createFromDiscriminatorValue); } /** - * Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. + * Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- agentIdentityBlueprint- agentIdentity- agentIdentityBlueprintPrincipal- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull @@ -68,7 +68,7 @@ public RequestInformation toPostRequestInformation() { return toPostRequestInformation(null); } /** - * Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. + * Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- agentIdentityBlueprint- agentIdentity- agentIdentityBlueprintPrincipal- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. * @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/generated/serviceprincipalswithappid/ServicePrincipalsWithAppIdRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/serviceprincipalswithappid/ServicePrincipalsWithAppIdRequestBuilder.java index 8c6268d6890..e7f34d75647 100644 --- a/src/main/java/com/microsoft/graph/generated/serviceprincipalswithappid/ServicePrincipalsWithAppIdRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/generated/serviceprincipalswithappid/ServicePrincipalsWithAppIdRequestBuilder.java @@ -39,7 +39,7 @@ public ServicePrincipalsWithAppIdRequestBuilder(@jakarta.annotation.Nonnull fina super(requestAdapter, "{+baseurl}/servicePrincipals(appId='{appId}'){?%24expand,%24select}", rawUrl); } /** - * Delete a servicePrincipal object. + * Delete a servicePrincipal object. This API can also delete an agentIdentityBlueprintPrincipal object by its ID. * @throws ODataError When receiving a 4XX or 5XX status code * @see Find more info here */ @@ -47,7 +47,7 @@ public void delete() { delete(null); } /** - * Delete a servicePrincipal object. + * Delete a servicePrincipal object. This API can also delete an agentIdentityBlueprintPrincipal object by its ID. * @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 @@ -59,7 +59,7 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume this.requestAdapter.sendPrimitive(requestInfo, errorMapping, Void.class); } /** - * Retrieve the properties and relationships of a servicePrincipal object. + * Retrieve the properties and relationships of a servicePrincipal object. This API can be used to get agentIdentityBlueprintPrincipal objects as well by their ID. * @return a {@link ServicePrincipal} * @throws ODataError When receiving a 4XX or 5XX status code * @see Find more info here @@ -69,7 +69,7 @@ public ServicePrincipal get() { return get(null); } /** - * Retrieve the properties and relationships of a servicePrincipal object. + * Retrieve the properties and relationships of a servicePrincipal object. This API can be used to get agentIdentityBlueprintPrincipal objects as well by their ID. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link ServicePrincipal} * @throws ODataError When receiving a 4XX or 5XX status code @@ -83,7 +83,7 @@ public ServicePrincipal get(@jakarta.annotation.Nullable final java.util.functio return this.requestAdapter.send(requestInfo, errorMapping, ServicePrincipal::createFromDiscriminatorValue); } /** - * Create a new servicePrincipal object if it doesn't exist, or update the properties of an existing servicePrincipal object. + * Create a new servicePrincipal object if it doesn't exist, or update the properties of an existing servicePrincipal object. This API can also create an agentIdentityBlueprintPrincipal object from an agentIdentityBlueprint if it doesn't exist, or update properties of an existing agentIdentityBlueprintPrincipal, when the @odata.type property is set to #microsoft.graph.agentIdentityBlueprintPrincipal. * @param body The request body * @return a {@link ServicePrincipal} * @throws ODataError When receiving a 4XX or 5XX status code @@ -94,7 +94,7 @@ public ServicePrincipal patch(@jakarta.annotation.Nonnull final ServicePrincipal return patch(body, null); } /** - * Create a new servicePrincipal object if it doesn't exist, or update the properties of an existing servicePrincipal object. + * Create a new servicePrincipal object if it doesn't exist, or update the properties of an existing servicePrincipal object. This API can also create an agentIdentityBlueprintPrincipal object from an agentIdentityBlueprint if it doesn't exist, or update properties of an existing agentIdentityBlueprintPrincipal, when the @odata.type property is set to #microsoft.graph.agentIdentityBlueprintPrincipal. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link ServicePrincipal} @@ -110,7 +110,7 @@ public ServicePrincipal patch(@jakarta.annotation.Nonnull final ServicePrincipal return this.requestAdapter.send(requestInfo, errorMapping, ServicePrincipal::createFromDiscriminatorValue); } /** - * Delete a servicePrincipal object. + * Delete a servicePrincipal object. This API can also delete an agentIdentityBlueprintPrincipal object by its ID. * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull @@ -118,7 +118,7 @@ public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } /** - * Delete a servicePrincipal object. + * Delete a servicePrincipal object. This API can also delete an agentIdentityBlueprintPrincipal object by its ID. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} */ @@ -130,7 +130,7 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl return requestInfo; } /** - * Retrieve the properties and relationships of a servicePrincipal object. + * Retrieve the properties and relationships of a servicePrincipal object. This API can be used to get agentIdentityBlueprintPrincipal objects as well by their ID. * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull @@ -138,7 +138,7 @@ public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } /** - * Retrieve the properties and relationships of a servicePrincipal object. + * Retrieve the properties and relationships of a servicePrincipal object. This API can be used to get agentIdentityBlueprintPrincipal objects as well by their ID. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} */ @@ -150,7 +150,7 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f return requestInfo; } /** - * Create a new servicePrincipal object if it doesn't exist, or update the properties of an existing servicePrincipal object. + * Create a new servicePrincipal object if it doesn't exist, or update the properties of an existing servicePrincipal object. This API can also create an agentIdentityBlueprintPrincipal object from an agentIdentityBlueprint if it doesn't exist, or update properties of an existing agentIdentityBlueprintPrincipal, when the @odata.type property is set to #microsoft.graph.agentIdentityBlueprintPrincipal. * @param body The request body * @return a {@link RequestInformation} */ @@ -159,7 +159,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull return toPatchRequestInformation(body, null); } /** - * Create a new servicePrincipal object if it doesn't exist, or update the properties of an existing servicePrincipal object. + * Create a new servicePrincipal object if it doesn't exist, or update the properties of an existing servicePrincipal object. This API can also create an agentIdentityBlueprintPrincipal object from an agentIdentityBlueprint if it doesn't exist, or update properties of an existing agentIdentityBlueprintPrincipal, when the @odata.type property is set to #microsoft.graph.agentIdentityBlueprintPrincipal. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} @@ -190,7 +190,7 @@ public ServicePrincipalsWithAppIdRequestBuilder withUrl(@jakarta.annotation.Nonn public class DeleteRequestConfiguration extends BaseRequestConfiguration { } /** - * Retrieve the properties and relationships of a servicePrincipal object. + * Retrieve the properties and relationships of a servicePrincipal object. This API can be used to get agentIdentityBlueprintPrincipal objects as well by their ID. */ @jakarta.annotation.Generated("com.microsoft.kiota") public class GetQueryParameters implements QueryParameters { diff --git a/src/main/java/com/microsoft/graph/generated/storage/filestorage/containers/item/FileStorageContainerItemRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/storage/filestorage/containers/item/FileStorageContainerItemRequestBuilder.java index 353f34d067e..c63592a68f5 100644 --- a/src/main/java/com/microsoft/graph/generated/storage/filestorage/containers/item/FileStorageContainerItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/generated/storage/filestorage/containers/item/FileStorageContainerItemRequestBuilder.java @@ -12,6 +12,7 @@ import com.microsoft.graph.storage.filestorage.containers.item.provisionmigrationcontainers.ProvisionMigrationContainersRequestBuilder; import com.microsoft.graph.storage.filestorage.containers.item.recyclebin.RecycleBinRequestBuilder; import com.microsoft.graph.storage.filestorage.containers.item.restore.RestoreRequestBuilder; +import com.microsoft.graph.storage.filestorage.containers.item.sharepointgroups.SharePointGroupsRequestBuilder; import com.microsoft.graph.storage.filestorage.containers.item.unlock.UnlockRequestBuilder; import com.microsoft.kiota.BaseRequestBuilder; import com.microsoft.kiota.BaseRequestConfiguration; @@ -111,6 +112,14 @@ public RecycleBinRequestBuilder recycleBin() { public RestoreRequestBuilder restore() { return new RestoreRequestBuilder(pathParameters, requestAdapter); } + /** + * Provides operations to manage the sharePointGroups property of the microsoft.graph.fileStorageContainer entity. + * @return a {@link SharePointGroupsRequestBuilder} + */ + @jakarta.annotation.Nonnull + public SharePointGroupsRequestBuilder sharePointGroups() { + return new SharePointGroupsRequestBuilder(pathParameters, requestAdapter); + } /** * Provides operations to call the unlock method. * @return a {@link UnlockRequestBuilder} diff --git a/src/main/java/com/microsoft/graph/generated/storage/filestorage/containers/item/columns/ColumnsRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/storage/filestorage/containers/item/columns/ColumnsRequestBuilder.java index 1fa6f3cac14..f996aefbcf0 100644 --- a/src/main/java/com/microsoft/graph/generated/storage/filestorage/containers/item/columns/ColumnsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/generated/storage/filestorage/containers/item/columns/ColumnsRequestBuilder.java @@ -60,7 +60,7 @@ public ColumnsRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @j super(requestAdapter, "{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/columns{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl); } /** - * Get columns from storage + * The set of custom structured metadata supported by the fileStorageContainer. Read-write. * @return a {@link ColumnDefinitionCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code */ @@ -69,7 +69,7 @@ public ColumnDefinitionCollectionResponse get() { return get(null); } /** - * Get columns from storage + * The set of custom structured metadata supported by the fileStorageContainer. Read-write. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link ColumnDefinitionCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code @@ -107,7 +107,7 @@ public ColumnDefinition post(@jakarta.annotation.Nonnull final ColumnDefinition return this.requestAdapter.send(requestInfo, errorMapping, ColumnDefinition::createFromDiscriminatorValue); } /** - * Get columns from storage + * The set of custom structured metadata supported by the fileStorageContainer. Read-write. * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull @@ -115,7 +115,7 @@ public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } /** - * Get columns from storage + * The set of custom structured metadata supported by the fileStorageContainer. Read-write. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} */ @@ -161,7 +161,7 @@ public ColumnsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String ra return new ColumnsRequestBuilder(rawUrl, requestAdapter); } /** - * Get columns from storage + * The set of custom structured metadata supported by the fileStorageContainer. Read-write. */ @jakarta.annotation.Generated("com.microsoft.kiota") public class GetQueryParameters implements QueryParameters { diff --git a/src/main/java/com/microsoft/graph/generated/storage/filestorage/containers/item/columns/item/ColumnDefinitionItemRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/storage/filestorage/containers/item/columns/item/ColumnDefinitionItemRequestBuilder.java index 3ae80bf1135..55d202defdf 100644 --- a/src/main/java/com/microsoft/graph/generated/storage/filestorage/containers/item/columns/item/ColumnDefinitionItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/generated/storage/filestorage/containers/item/columns/item/ColumnDefinitionItemRequestBuilder.java @@ -64,7 +64,7 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume this.requestAdapter.sendPrimitive(requestInfo, errorMapping, Void.class); } /** - * Get columns from storage + * The set of custom structured metadata supported by the fileStorageContainer. Read-write. * @return a {@link ColumnDefinition} * @throws ODataError When receiving a 4XX or 5XX status code */ @@ -73,7 +73,7 @@ public ColumnDefinition get() { return get(null); } /** - * Get columns from storage + * The set of custom structured metadata supported by the fileStorageContainer. Read-write. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link ColumnDefinition} * @throws ODataError When receiving a 4XX or 5XX status code @@ -131,7 +131,7 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl return requestInfo; } /** - * Get columns from storage + * The set of custom structured metadata supported by the fileStorageContainer. Read-write. * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull @@ -139,7 +139,7 @@ public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } /** - * Get columns from storage + * The set of custom structured metadata supported by the fileStorageContainer. Read-write. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} */ @@ -191,7 +191,7 @@ public ColumnDefinitionItemRequestBuilder withUrl(@jakarta.annotation.Nonnull fi public class DeleteRequestConfiguration extends BaseRequestConfiguration { } /** - * Get columns from storage + * The set of custom structured metadata supported by the fileStorageContainer. Read-write. */ @jakarta.annotation.Generated("com.microsoft.kiota") public class GetQueryParameters implements QueryParameters { diff --git a/src/main/java/com/microsoft/graph/generated/storage/filestorage/containers/item/sharepointgroups/SharePointGroupsRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/storage/filestorage/containers/item/sharepointgroups/SharePointGroupsRequestBuilder.java new file mode 100644 index 00000000000..172a076331e --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/storage/filestorage/containers/item/sharepointgroups/SharePointGroupsRequestBuilder.java @@ -0,0 +1,243 @@ +package com.microsoft.graph.storage.filestorage.containers.item.sharepointgroups; + +import com.microsoft.graph.models.odataerrors.ODataError; +import com.microsoft.graph.models.SharePointGroup; +import com.microsoft.graph.models.SharePointGroupCollectionResponse; +import com.microsoft.graph.storage.filestorage.containers.item.sharepointgroups.count.CountRequestBuilder; +import com.microsoft.graph.storage.filestorage.containers.item.sharepointgroups.item.SharePointGroupItemRequestBuilder; +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 sharePointGroups property of the microsoft.graph.fileStorageContainer entity. + */ +@jakarta.annotation.Generated("com.microsoft.kiota") +public class SharePointGroupsRequestBuilder 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 sharePointGroups property of the microsoft.graph.fileStorageContainer entity. + * @param sharePointGroupId The unique identifier of sharePointGroup + * @return a {@link SharePointGroupItemRequestBuilder} + */ + @jakarta.annotation.Nonnull + public SharePointGroupItemRequestBuilder bySharePointGroupId(@jakarta.annotation.Nonnull final String sharePointGroupId) { + Objects.requireNonNull(sharePointGroupId); + final HashMap urlTplParams = new HashMap(this.pathParameters); + urlTplParams.put("sharePointGroup%2Did", sharePointGroupId); + return new SharePointGroupItemRequestBuilder(urlTplParams, requestAdapter); + } + /** + * Instantiates a new {@link SharePointGroupsRequestBuilder} and sets the default values. + * @param pathParameters Path parameters for the request + * @param requestAdapter The request adapter to use to execute the requests. + */ + public SharePointGroupsRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/sharePointGroups{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters); + } + /** + * Instantiates a new {@link SharePointGroupsRequestBuilder} 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 SharePointGroupsRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/sharePointGroups{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl); + } + /** + * Get sharePointGroups from storage + * @return a {@link SharePointGroupCollectionResponse} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public SharePointGroupCollectionResponse get() { + return get(null); + } + /** + * Get sharePointGroups from storage + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link SharePointGroupCollectionResponse} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public SharePointGroupCollectionResponse 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, SharePointGroupCollectionResponse::createFromDiscriminatorValue); + } + /** + * Create new navigation property to sharePointGroups for storage + * @param body The request body + * @return a {@link SharePointGroup} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public SharePointGroup post(@jakarta.annotation.Nonnull final SharePointGroup body) { + return post(body, null); + } + /** + * Create new navigation property to sharePointGroups for storage + * @param body The request body + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link SharePointGroup} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public SharePointGroup post(@jakarta.annotation.Nonnull final SharePointGroup 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, SharePointGroup::createFromDiscriminatorValue); + } + /** + * Get sharePointGroups from storage + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toGetRequestInformation() { + return toGetRequestInformation(null); + } + /** + * Get sharePointGroups from storage + * @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 new navigation property to sharePointGroups for storage + * @param body The request body + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final SharePointGroup body) { + return toPostRequestInformation(body, null); + } + /** + * Create new navigation property to sharePointGroups for storage + * @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 SharePointGroup 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 SharePointGroupsRequestBuilder} + */ + @jakarta.annotation.Nonnull + public SharePointGroupsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { + Objects.requireNonNull(rawUrl); + return new SharePointGroupsRequestBuilder(rawUrl, requestAdapter); + } + /** + * Get sharePointGroups from storage + */ + @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/generated/storage/filestorage/containers/item/sharepointgroups/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/storage/filestorage/containers/item/sharepointgroups/count/CountRequestBuilder.java new file mode 100644 index 00000000000..f6a98ca43ca --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/storage/filestorage/containers/item/sharepointgroups/count/CountRequestBuilder.java @@ -0,0 +1,128 @@ +package com.microsoft.graph.storage.filestorage.containers.item.sharepointgroups.count; + +import com.microsoft.graph.models.odataerrors.ODataError; +import com.microsoft.kiota.BaseRequestBuilder; +import com.microsoft.kiota.BaseRequestConfiguration; +import com.microsoft.kiota.HttpMethod; +import com.microsoft.kiota.QueryParameters; +import com.microsoft.kiota.RequestAdapter; +import com.microsoft.kiota.RequestInformation; +import com.microsoft.kiota.RequestOption; +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParsableFactory; +import java.util.Collection; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +/** + * Provides operations to 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}/storage/fileStorage/containers/{fileStorageContainer%2Did}/sharePointGroups/$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}/storage/fileStorage/containers/{fileStorageContainer%2Did}/sharePointGroups/$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/generated/storage/filestorage/containers/item/sharepointgroups/item/SharePointGroupItemRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/storage/filestorage/containers/item/sharepointgroups/item/SharePointGroupItemRequestBuilder.java new file mode 100644 index 00000000000..a6f42ddda95 --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/storage/filestorage/containers/item/sharepointgroups/item/SharePointGroupItemRequestBuilder.java @@ -0,0 +1,237 @@ +package com.microsoft.graph.storage.filestorage.containers.item.sharepointgroups.item; + +import com.microsoft.graph.models.odataerrors.ODataError; +import com.microsoft.graph.models.SharePointGroup; +import com.microsoft.graph.storage.filestorage.containers.item.sharepointgroups.item.members.MembersRequestBuilder; +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 sharePointGroups property of the microsoft.graph.fileStorageContainer entity. + */ +@jakarta.annotation.Generated("com.microsoft.kiota") +public class SharePointGroupItemRequestBuilder extends BaseRequestBuilder { + /** + * Provides operations to manage the members property of the microsoft.graph.sharePointGroup entity. + * @return a {@link MembersRequestBuilder} + */ + @jakarta.annotation.Nonnull + public MembersRequestBuilder members() { + return new MembersRequestBuilder(pathParameters, requestAdapter); + } + /** + * Instantiates a new {@link SharePointGroupItemRequestBuilder} and sets the default values. + * @param pathParameters Path parameters for the request + * @param requestAdapter The request adapter to use to execute the requests. + */ + public SharePointGroupItemRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/sharePointGroups/{sharePointGroup%2Did}{?%24expand,%24select}", pathParameters); + } + /** + * Instantiates a new {@link SharePointGroupItemRequestBuilder} 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 SharePointGroupItemRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/sharePointGroups/{sharePointGroup%2Did}{?%24expand,%24select}", rawUrl); + } + /** + * Delete navigation property sharePointGroups for storage + * @throws ODataError When receiving a 4XX or 5XX status code + */ + public void delete() { + delete(null); + } + /** + * Delete navigation property sharePointGroups for storage + * @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 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); + } + /** + * Get sharePointGroups from storage + * @return a {@link SharePointGroup} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public SharePointGroup get() { + return get(null); + } + /** + * Get sharePointGroups from storage + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link SharePointGroup} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public SharePointGroup 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, SharePointGroup::createFromDiscriminatorValue); + } + /** + * Update the navigation property sharePointGroups in storage + * @param body The request body + * @return a {@link SharePointGroup} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public SharePointGroup patch(@jakarta.annotation.Nonnull final SharePointGroup body) { + return patch(body, null); + } + /** + * Update the navigation property sharePointGroups in storage + * @param body The request body + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link SharePointGroup} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public SharePointGroup patch(@jakarta.annotation.Nonnull final SharePointGroup 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, SharePointGroup::createFromDiscriminatorValue); + } + /** + * Delete navigation property sharePointGroups for storage + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toDeleteRequestInformation() { + return toDeleteRequestInformation(null); + } + /** + * Delete navigation property sharePointGroups for storage + * @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); + requestInfo.headers.tryAdd("Accept", "application/json"); + return requestInfo; + } + /** + * Get sharePointGroups from storage + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toGetRequestInformation() { + return toGetRequestInformation(null); + } + /** + * Get sharePointGroups from storage + * @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 navigation property sharePointGroups in storage + * @param body The request body + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final SharePointGroup body) { + return toPatchRequestInformation(body, null); + } + /** + * Update the navigation property sharePointGroups in storage + * @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 SharePointGroup 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 SharePointGroupItemRequestBuilder} + */ + @jakarta.annotation.Nonnull + public SharePointGroupItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { + Objects.requireNonNull(rawUrl); + return new SharePointGroupItemRequestBuilder(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 { + } + /** + * Get sharePointGroups from storage + */ + @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/generated/storage/filestorage/containers/item/sharepointgroups/item/members/MembersRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/storage/filestorage/containers/item/sharepointgroups/item/members/MembersRequestBuilder.java new file mode 100644 index 00000000000..16621be216d --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/storage/filestorage/containers/item/sharepointgroups/item/members/MembersRequestBuilder.java @@ -0,0 +1,243 @@ +package com.microsoft.graph.storage.filestorage.containers.item.sharepointgroups.item.members; + +import com.microsoft.graph.models.odataerrors.ODataError; +import com.microsoft.graph.models.SharePointGroupMember; +import com.microsoft.graph.models.SharePointGroupMemberCollectionResponse; +import com.microsoft.graph.storage.filestorage.containers.item.sharepointgroups.item.members.count.CountRequestBuilder; +import com.microsoft.graph.storage.filestorage.containers.item.sharepointgroups.item.members.item.SharePointGroupMemberItemRequestBuilder; +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 members property of the microsoft.graph.sharePointGroup entity. + */ +@jakarta.annotation.Generated("com.microsoft.kiota") +public class MembersRequestBuilder 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 members property of the microsoft.graph.sharePointGroup entity. + * @param sharePointGroupMemberId The unique identifier of sharePointGroupMember + * @return a {@link SharePointGroupMemberItemRequestBuilder} + */ + @jakarta.annotation.Nonnull + public SharePointGroupMemberItemRequestBuilder bySharePointGroupMemberId(@jakarta.annotation.Nonnull final String sharePointGroupMemberId) { + Objects.requireNonNull(sharePointGroupMemberId); + final HashMap urlTplParams = new HashMap(this.pathParameters); + urlTplParams.put("sharePointGroupMember%2Did", sharePointGroupMemberId); + return new SharePointGroupMemberItemRequestBuilder(urlTplParams, requestAdapter); + } + /** + * Instantiates a new {@link MembersRequestBuilder} and sets the default values. + * @param pathParameters Path parameters for the request + * @param requestAdapter The request adapter to use to execute the requests. + */ + public MembersRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/sharePointGroups/{sharePointGroup%2Did}/members{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters); + } + /** + * Instantiates a new {@link MembersRequestBuilder} 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 MembersRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/sharePointGroups/{sharePointGroup%2Did}/members{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl); + } + /** + * Get members from storage + * @return a {@link SharePointGroupMemberCollectionResponse} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public SharePointGroupMemberCollectionResponse get() { + return get(null); + } + /** + * Get members from storage + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link SharePointGroupMemberCollectionResponse} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public SharePointGroupMemberCollectionResponse 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, SharePointGroupMemberCollectionResponse::createFromDiscriminatorValue); + } + /** + * Create new navigation property to members for storage + * @param body The request body + * @return a {@link SharePointGroupMember} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public SharePointGroupMember post(@jakarta.annotation.Nonnull final SharePointGroupMember body) { + return post(body, null); + } + /** + * Create new navigation property to members for storage + * @param body The request body + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link SharePointGroupMember} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public SharePointGroupMember post(@jakarta.annotation.Nonnull final SharePointGroupMember 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, SharePointGroupMember::createFromDiscriminatorValue); + } + /** + * Get members from storage + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toGetRequestInformation() { + return toGetRequestInformation(null); + } + /** + * Get members from storage + * @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 new navigation property to members for storage + * @param body The request body + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final SharePointGroupMember body) { + return toPostRequestInformation(body, null); + } + /** + * Create new navigation property to members for storage + * @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 SharePointGroupMember 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 MembersRequestBuilder} + */ + @jakarta.annotation.Nonnull + public MembersRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { + Objects.requireNonNull(rawUrl); + return new MembersRequestBuilder(rawUrl, requestAdapter); + } + /** + * Get members from storage + */ + @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/generated/storage/filestorage/containers/item/sharepointgroups/item/members/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/storage/filestorage/containers/item/sharepointgroups/item/members/count/CountRequestBuilder.java new file mode 100644 index 00000000000..fe829be0152 --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/storage/filestorage/containers/item/sharepointgroups/item/members/count/CountRequestBuilder.java @@ -0,0 +1,128 @@ +package com.microsoft.graph.storage.filestorage.containers.item.sharepointgroups.item.members.count; + +import com.microsoft.graph.models.odataerrors.ODataError; +import com.microsoft.kiota.BaseRequestBuilder; +import com.microsoft.kiota.BaseRequestConfiguration; +import com.microsoft.kiota.HttpMethod; +import com.microsoft.kiota.QueryParameters; +import com.microsoft.kiota.RequestAdapter; +import com.microsoft.kiota.RequestInformation; +import com.microsoft.kiota.RequestOption; +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParsableFactory; +import java.util.Collection; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +/** + * Provides operations to 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}/storage/fileStorage/containers/{fileStorageContainer%2Did}/sharePointGroups/{sharePointGroup%2Did}/members/$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}/storage/fileStorage/containers/{fileStorageContainer%2Did}/sharePointGroups/{sharePointGroup%2Did}/members/$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/generated/storage/filestorage/containers/item/sharepointgroups/item/members/item/SharePointGroupMemberItemRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/storage/filestorage/containers/item/sharepointgroups/item/members/item/SharePointGroupMemberItemRequestBuilder.java new file mode 100644 index 00000000000..c68f26c0723 --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/storage/filestorage/containers/item/sharepointgroups/item/members/item/SharePointGroupMemberItemRequestBuilder.java @@ -0,0 +1,228 @@ +package com.microsoft.graph.storage.filestorage.containers.item.sharepointgroups.item.members.item; + +import com.microsoft.graph.models.odataerrors.ODataError; +import com.microsoft.graph.models.SharePointGroupMember; +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 members property of the microsoft.graph.sharePointGroup entity. + */ +@jakarta.annotation.Generated("com.microsoft.kiota") +public class SharePointGroupMemberItemRequestBuilder extends BaseRequestBuilder { + /** + * Instantiates a new {@link SharePointGroupMemberItemRequestBuilder} and sets the default values. + * @param pathParameters Path parameters for the request + * @param requestAdapter The request adapter to use to execute the requests. + */ + public SharePointGroupMemberItemRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/sharePointGroups/{sharePointGroup%2Did}/members/{sharePointGroupMember%2Did}{?%24expand,%24select}", pathParameters); + } + /** + * Instantiates a new {@link SharePointGroupMemberItemRequestBuilder} 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 SharePointGroupMemberItemRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/sharePointGroups/{sharePointGroup%2Did}/members/{sharePointGroupMember%2Did}{?%24expand,%24select}", rawUrl); + } + /** + * Delete navigation property members for storage + * @throws ODataError When receiving a 4XX or 5XX status code + */ + public void delete() { + delete(null); + } + /** + * Delete navigation property members for storage + * @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 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); + } + /** + * Get members from storage + * @return a {@link SharePointGroupMember} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public SharePointGroupMember get() { + return get(null); + } + /** + * Get members from storage + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link SharePointGroupMember} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public SharePointGroupMember 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, SharePointGroupMember::createFromDiscriminatorValue); + } + /** + * Update the navigation property members in storage + * @param body The request body + * @return a {@link SharePointGroupMember} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public SharePointGroupMember patch(@jakarta.annotation.Nonnull final SharePointGroupMember body) { + return patch(body, null); + } + /** + * Update the navigation property members in storage + * @param body The request body + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link SharePointGroupMember} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public SharePointGroupMember patch(@jakarta.annotation.Nonnull final SharePointGroupMember 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, SharePointGroupMember::createFromDiscriminatorValue); + } + /** + * Delete navigation property members for storage + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toDeleteRequestInformation() { + return toDeleteRequestInformation(null); + } + /** + * Delete navigation property members for storage + * @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); + requestInfo.headers.tryAdd("Accept", "application/json"); + return requestInfo; + } + /** + * Get members from storage + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toGetRequestInformation() { + return toGetRequestInformation(null); + } + /** + * Get members from storage + * @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 navigation property members in storage + * @param body The request body + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final SharePointGroupMember body) { + return toPatchRequestInformation(body, null); + } + /** + * Update the navigation property members in storage + * @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 SharePointGroupMember 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 SharePointGroupMemberItemRequestBuilder} + */ + @jakarta.annotation.Nonnull + public SharePointGroupMemberItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { + Objects.requireNonNull(rawUrl); + return new SharePointGroupMemberItemRequestBuilder(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 { + } + /** + * Get members from storage + */ + @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/generated/storage/filestorage/deletedcontainers/item/FileStorageContainerItemRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/storage/filestorage/deletedcontainers/item/FileStorageContainerItemRequestBuilder.java index 19df309744b..2ffe9bbcfdd 100644 --- a/src/main/java/com/microsoft/graph/generated/storage/filestorage/deletedcontainers/item/FileStorageContainerItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/generated/storage/filestorage/deletedcontainers/item/FileStorageContainerItemRequestBuilder.java @@ -12,6 +12,7 @@ import com.microsoft.graph.storage.filestorage.deletedcontainers.item.provisionmigrationcontainers.ProvisionMigrationContainersRequestBuilder; import com.microsoft.graph.storage.filestorage.deletedcontainers.item.recyclebin.RecycleBinRequestBuilder; import com.microsoft.graph.storage.filestorage.deletedcontainers.item.restore.RestoreRequestBuilder; +import com.microsoft.graph.storage.filestorage.deletedcontainers.item.sharepointgroups.SharePointGroupsRequestBuilder; import com.microsoft.graph.storage.filestorage.deletedcontainers.item.unlock.UnlockRequestBuilder; import com.microsoft.kiota.BaseRequestBuilder; import com.microsoft.kiota.BaseRequestConfiguration; @@ -111,6 +112,14 @@ public RecycleBinRequestBuilder recycleBin() { public RestoreRequestBuilder restore() { return new RestoreRequestBuilder(pathParameters, requestAdapter); } + /** + * Provides operations to manage the sharePointGroups property of the microsoft.graph.fileStorageContainer entity. + * @return a {@link SharePointGroupsRequestBuilder} + */ + @jakarta.annotation.Nonnull + public SharePointGroupsRequestBuilder sharePointGroups() { + return new SharePointGroupsRequestBuilder(pathParameters, requestAdapter); + } /** * Provides operations to call the unlock method. * @return a {@link UnlockRequestBuilder} diff --git a/src/main/java/com/microsoft/graph/generated/storage/filestorage/deletedcontainers/item/columns/ColumnsRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/storage/filestorage/deletedcontainers/item/columns/ColumnsRequestBuilder.java index 115c8041c16..7786555b37f 100644 --- a/src/main/java/com/microsoft/graph/generated/storage/filestorage/deletedcontainers/item/columns/ColumnsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/generated/storage/filestorage/deletedcontainers/item/columns/ColumnsRequestBuilder.java @@ -60,7 +60,7 @@ public ColumnsRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @j super(requestAdapter, "{+baseurl}/storage/fileStorage/deletedContainers/{fileStorageContainer%2Did}/columns{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl); } /** - * Get columns from storage + * The set of custom structured metadata supported by the fileStorageContainer. Read-write. * @return a {@link ColumnDefinitionCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code */ @@ -69,7 +69,7 @@ public ColumnDefinitionCollectionResponse get() { return get(null); } /** - * Get columns from storage + * The set of custom structured metadata supported by the fileStorageContainer. Read-write. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link ColumnDefinitionCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code @@ -107,7 +107,7 @@ public ColumnDefinition post(@jakarta.annotation.Nonnull final ColumnDefinition return this.requestAdapter.send(requestInfo, errorMapping, ColumnDefinition::createFromDiscriminatorValue); } /** - * Get columns from storage + * The set of custom structured metadata supported by the fileStorageContainer. Read-write. * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull @@ -115,7 +115,7 @@ public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } /** - * Get columns from storage + * The set of custom structured metadata supported by the fileStorageContainer. Read-write. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} */ @@ -161,7 +161,7 @@ public ColumnsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String ra return new ColumnsRequestBuilder(rawUrl, requestAdapter); } /** - * Get columns from storage + * The set of custom structured metadata supported by the fileStorageContainer. Read-write. */ @jakarta.annotation.Generated("com.microsoft.kiota") public class GetQueryParameters implements QueryParameters { diff --git a/src/main/java/com/microsoft/graph/generated/storage/filestorage/deletedcontainers/item/columns/item/ColumnDefinitionItemRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/storage/filestorage/deletedcontainers/item/columns/item/ColumnDefinitionItemRequestBuilder.java index a067159fd16..42a019cf81b 100644 --- a/src/main/java/com/microsoft/graph/generated/storage/filestorage/deletedcontainers/item/columns/item/ColumnDefinitionItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/generated/storage/filestorage/deletedcontainers/item/columns/item/ColumnDefinitionItemRequestBuilder.java @@ -64,7 +64,7 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume this.requestAdapter.sendPrimitive(requestInfo, errorMapping, Void.class); } /** - * Get columns from storage + * The set of custom structured metadata supported by the fileStorageContainer. Read-write. * @return a {@link ColumnDefinition} * @throws ODataError When receiving a 4XX or 5XX status code */ @@ -73,7 +73,7 @@ public ColumnDefinition get() { return get(null); } /** - * Get columns from storage + * The set of custom structured metadata supported by the fileStorageContainer. Read-write. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link ColumnDefinition} * @throws ODataError When receiving a 4XX or 5XX status code @@ -131,7 +131,7 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl return requestInfo; } /** - * Get columns from storage + * The set of custom structured metadata supported by the fileStorageContainer. Read-write. * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull @@ -139,7 +139,7 @@ public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } /** - * Get columns from storage + * The set of custom structured metadata supported by the fileStorageContainer. Read-write. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} */ @@ -191,7 +191,7 @@ public ColumnDefinitionItemRequestBuilder withUrl(@jakarta.annotation.Nonnull fi public class DeleteRequestConfiguration extends BaseRequestConfiguration { } /** - * Get columns from storage + * The set of custom structured metadata supported by the fileStorageContainer. Read-write. */ @jakarta.annotation.Generated("com.microsoft.kiota") public class GetQueryParameters implements QueryParameters { diff --git a/src/main/java/com/microsoft/graph/generated/storage/filestorage/deletedcontainers/item/sharepointgroups/SharePointGroupsRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/storage/filestorage/deletedcontainers/item/sharepointgroups/SharePointGroupsRequestBuilder.java new file mode 100644 index 00000000000..1ee92f17f37 --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/storage/filestorage/deletedcontainers/item/sharepointgroups/SharePointGroupsRequestBuilder.java @@ -0,0 +1,243 @@ +package com.microsoft.graph.storage.filestorage.deletedcontainers.item.sharepointgroups; + +import com.microsoft.graph.models.odataerrors.ODataError; +import com.microsoft.graph.models.SharePointGroup; +import com.microsoft.graph.models.SharePointGroupCollectionResponse; +import com.microsoft.graph.storage.filestorage.deletedcontainers.item.sharepointgroups.count.CountRequestBuilder; +import com.microsoft.graph.storage.filestorage.deletedcontainers.item.sharepointgroups.item.SharePointGroupItemRequestBuilder; +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 sharePointGroups property of the microsoft.graph.fileStorageContainer entity. + */ +@jakarta.annotation.Generated("com.microsoft.kiota") +public class SharePointGroupsRequestBuilder 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 sharePointGroups property of the microsoft.graph.fileStorageContainer entity. + * @param sharePointGroupId The unique identifier of sharePointGroup + * @return a {@link SharePointGroupItemRequestBuilder} + */ + @jakarta.annotation.Nonnull + public SharePointGroupItemRequestBuilder bySharePointGroupId(@jakarta.annotation.Nonnull final String sharePointGroupId) { + Objects.requireNonNull(sharePointGroupId); + final HashMap urlTplParams = new HashMap(this.pathParameters); + urlTplParams.put("sharePointGroup%2Did", sharePointGroupId); + return new SharePointGroupItemRequestBuilder(urlTplParams, requestAdapter); + } + /** + * Instantiates a new {@link SharePointGroupsRequestBuilder} and sets the default values. + * @param pathParameters Path parameters for the request + * @param requestAdapter The request adapter to use to execute the requests. + */ + public SharePointGroupsRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/storage/fileStorage/deletedContainers/{fileStorageContainer%2Did}/sharePointGroups{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters); + } + /** + * Instantiates a new {@link SharePointGroupsRequestBuilder} 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 SharePointGroupsRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/storage/fileStorage/deletedContainers/{fileStorageContainer%2Did}/sharePointGroups{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl); + } + /** + * Get sharePointGroups from storage + * @return a {@link SharePointGroupCollectionResponse} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public SharePointGroupCollectionResponse get() { + return get(null); + } + /** + * Get sharePointGroups from storage + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link SharePointGroupCollectionResponse} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public SharePointGroupCollectionResponse 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, SharePointGroupCollectionResponse::createFromDiscriminatorValue); + } + /** + * Create new navigation property to sharePointGroups for storage + * @param body The request body + * @return a {@link SharePointGroup} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public SharePointGroup post(@jakarta.annotation.Nonnull final SharePointGroup body) { + return post(body, null); + } + /** + * Create new navigation property to sharePointGroups for storage + * @param body The request body + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link SharePointGroup} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public SharePointGroup post(@jakarta.annotation.Nonnull final SharePointGroup 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, SharePointGroup::createFromDiscriminatorValue); + } + /** + * Get sharePointGroups from storage + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toGetRequestInformation() { + return toGetRequestInformation(null); + } + /** + * Get sharePointGroups from storage + * @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 new navigation property to sharePointGroups for storage + * @param body The request body + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final SharePointGroup body) { + return toPostRequestInformation(body, null); + } + /** + * Create new navigation property to sharePointGroups for storage + * @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 SharePointGroup 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 SharePointGroupsRequestBuilder} + */ + @jakarta.annotation.Nonnull + public SharePointGroupsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { + Objects.requireNonNull(rawUrl); + return new SharePointGroupsRequestBuilder(rawUrl, requestAdapter); + } + /** + * Get sharePointGroups from storage + */ + @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/generated/storage/filestorage/deletedcontainers/item/sharepointgroups/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/storage/filestorage/deletedcontainers/item/sharepointgroups/count/CountRequestBuilder.java new file mode 100644 index 00000000000..9294e0606f0 --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/storage/filestorage/deletedcontainers/item/sharepointgroups/count/CountRequestBuilder.java @@ -0,0 +1,128 @@ +package com.microsoft.graph.storage.filestorage.deletedcontainers.item.sharepointgroups.count; + +import com.microsoft.graph.models.odataerrors.ODataError; +import com.microsoft.kiota.BaseRequestBuilder; +import com.microsoft.kiota.BaseRequestConfiguration; +import com.microsoft.kiota.HttpMethod; +import com.microsoft.kiota.QueryParameters; +import com.microsoft.kiota.RequestAdapter; +import com.microsoft.kiota.RequestInformation; +import com.microsoft.kiota.RequestOption; +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParsableFactory; +import java.util.Collection; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +/** + * Provides operations to 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}/storage/fileStorage/deletedContainers/{fileStorageContainer%2Did}/sharePointGroups/$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}/storage/fileStorage/deletedContainers/{fileStorageContainer%2Did}/sharePointGroups/$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/generated/storage/filestorage/deletedcontainers/item/sharepointgroups/item/SharePointGroupItemRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/storage/filestorage/deletedcontainers/item/sharepointgroups/item/SharePointGroupItemRequestBuilder.java new file mode 100644 index 00000000000..b42fab09529 --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/storage/filestorage/deletedcontainers/item/sharepointgroups/item/SharePointGroupItemRequestBuilder.java @@ -0,0 +1,237 @@ +package com.microsoft.graph.storage.filestorage.deletedcontainers.item.sharepointgroups.item; + +import com.microsoft.graph.models.odataerrors.ODataError; +import com.microsoft.graph.models.SharePointGroup; +import com.microsoft.graph.storage.filestorage.deletedcontainers.item.sharepointgroups.item.members.MembersRequestBuilder; +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 sharePointGroups property of the microsoft.graph.fileStorageContainer entity. + */ +@jakarta.annotation.Generated("com.microsoft.kiota") +public class SharePointGroupItemRequestBuilder extends BaseRequestBuilder { + /** + * Provides operations to manage the members property of the microsoft.graph.sharePointGroup entity. + * @return a {@link MembersRequestBuilder} + */ + @jakarta.annotation.Nonnull + public MembersRequestBuilder members() { + return new MembersRequestBuilder(pathParameters, requestAdapter); + } + /** + * Instantiates a new {@link SharePointGroupItemRequestBuilder} and sets the default values. + * @param pathParameters Path parameters for the request + * @param requestAdapter The request adapter to use to execute the requests. + */ + public SharePointGroupItemRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/storage/fileStorage/deletedContainers/{fileStorageContainer%2Did}/sharePointGroups/{sharePointGroup%2Did}{?%24expand,%24select}", pathParameters); + } + /** + * Instantiates a new {@link SharePointGroupItemRequestBuilder} 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 SharePointGroupItemRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/storage/fileStorage/deletedContainers/{fileStorageContainer%2Did}/sharePointGroups/{sharePointGroup%2Did}{?%24expand,%24select}", rawUrl); + } + /** + * Delete navigation property sharePointGroups for storage + * @throws ODataError When receiving a 4XX or 5XX status code + */ + public void delete() { + delete(null); + } + /** + * Delete navigation property sharePointGroups for storage + * @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 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); + } + /** + * Get sharePointGroups from storage + * @return a {@link SharePointGroup} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public SharePointGroup get() { + return get(null); + } + /** + * Get sharePointGroups from storage + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link SharePointGroup} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public SharePointGroup 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, SharePointGroup::createFromDiscriminatorValue); + } + /** + * Update the navigation property sharePointGroups in storage + * @param body The request body + * @return a {@link SharePointGroup} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public SharePointGroup patch(@jakarta.annotation.Nonnull final SharePointGroup body) { + return patch(body, null); + } + /** + * Update the navigation property sharePointGroups in storage + * @param body The request body + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link SharePointGroup} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public SharePointGroup patch(@jakarta.annotation.Nonnull final SharePointGroup 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, SharePointGroup::createFromDiscriminatorValue); + } + /** + * Delete navigation property sharePointGroups for storage + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toDeleteRequestInformation() { + return toDeleteRequestInformation(null); + } + /** + * Delete navigation property sharePointGroups for storage + * @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); + requestInfo.headers.tryAdd("Accept", "application/json"); + return requestInfo; + } + /** + * Get sharePointGroups from storage + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toGetRequestInformation() { + return toGetRequestInformation(null); + } + /** + * Get sharePointGroups from storage + * @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 navigation property sharePointGroups in storage + * @param body The request body + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final SharePointGroup body) { + return toPatchRequestInformation(body, null); + } + /** + * Update the navigation property sharePointGroups in storage + * @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 SharePointGroup 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 SharePointGroupItemRequestBuilder} + */ + @jakarta.annotation.Nonnull + public SharePointGroupItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { + Objects.requireNonNull(rawUrl); + return new SharePointGroupItemRequestBuilder(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 { + } + /** + * Get sharePointGroups from storage + */ + @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/generated/storage/filestorage/deletedcontainers/item/sharepointgroups/item/members/MembersRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/storage/filestorage/deletedcontainers/item/sharepointgroups/item/members/MembersRequestBuilder.java new file mode 100644 index 00000000000..ded4f8606cb --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/storage/filestorage/deletedcontainers/item/sharepointgroups/item/members/MembersRequestBuilder.java @@ -0,0 +1,243 @@ +package com.microsoft.graph.storage.filestorage.deletedcontainers.item.sharepointgroups.item.members; + +import com.microsoft.graph.models.odataerrors.ODataError; +import com.microsoft.graph.models.SharePointGroupMember; +import com.microsoft.graph.models.SharePointGroupMemberCollectionResponse; +import com.microsoft.graph.storage.filestorage.deletedcontainers.item.sharepointgroups.item.members.count.CountRequestBuilder; +import com.microsoft.graph.storage.filestorage.deletedcontainers.item.sharepointgroups.item.members.item.SharePointGroupMemberItemRequestBuilder; +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 members property of the microsoft.graph.sharePointGroup entity. + */ +@jakarta.annotation.Generated("com.microsoft.kiota") +public class MembersRequestBuilder 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 members property of the microsoft.graph.sharePointGroup entity. + * @param sharePointGroupMemberId The unique identifier of sharePointGroupMember + * @return a {@link SharePointGroupMemberItemRequestBuilder} + */ + @jakarta.annotation.Nonnull + public SharePointGroupMemberItemRequestBuilder bySharePointGroupMemberId(@jakarta.annotation.Nonnull final String sharePointGroupMemberId) { + Objects.requireNonNull(sharePointGroupMemberId); + final HashMap urlTplParams = new HashMap(this.pathParameters); + urlTplParams.put("sharePointGroupMember%2Did", sharePointGroupMemberId); + return new SharePointGroupMemberItemRequestBuilder(urlTplParams, requestAdapter); + } + /** + * Instantiates a new {@link MembersRequestBuilder} and sets the default values. + * @param pathParameters Path parameters for the request + * @param requestAdapter The request adapter to use to execute the requests. + */ + public MembersRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/storage/fileStorage/deletedContainers/{fileStorageContainer%2Did}/sharePointGroups/{sharePointGroup%2Did}/members{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters); + } + /** + * Instantiates a new {@link MembersRequestBuilder} 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 MembersRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/storage/fileStorage/deletedContainers/{fileStorageContainer%2Did}/sharePointGroups/{sharePointGroup%2Did}/members{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl); + } + /** + * Get members from storage + * @return a {@link SharePointGroupMemberCollectionResponse} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public SharePointGroupMemberCollectionResponse get() { + return get(null); + } + /** + * Get members from storage + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link SharePointGroupMemberCollectionResponse} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public SharePointGroupMemberCollectionResponse 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, SharePointGroupMemberCollectionResponse::createFromDiscriminatorValue); + } + /** + * Create new navigation property to members for storage + * @param body The request body + * @return a {@link SharePointGroupMember} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public SharePointGroupMember post(@jakarta.annotation.Nonnull final SharePointGroupMember body) { + return post(body, null); + } + /** + * Create new navigation property to members for storage + * @param body The request body + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link SharePointGroupMember} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public SharePointGroupMember post(@jakarta.annotation.Nonnull final SharePointGroupMember 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, SharePointGroupMember::createFromDiscriminatorValue); + } + /** + * Get members from storage + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toGetRequestInformation() { + return toGetRequestInformation(null); + } + /** + * Get members from storage + * @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 new navigation property to members for storage + * @param body The request body + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final SharePointGroupMember body) { + return toPostRequestInformation(body, null); + } + /** + * Create new navigation property to members for storage + * @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 SharePointGroupMember 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 MembersRequestBuilder} + */ + @jakarta.annotation.Nonnull + public MembersRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { + Objects.requireNonNull(rawUrl); + return new MembersRequestBuilder(rawUrl, requestAdapter); + } + /** + * Get members from storage + */ + @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/generated/storage/filestorage/deletedcontainers/item/sharepointgroups/item/members/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/storage/filestorage/deletedcontainers/item/sharepointgroups/item/members/count/CountRequestBuilder.java new file mode 100644 index 00000000000..eb2056d743f --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/storage/filestorage/deletedcontainers/item/sharepointgroups/item/members/count/CountRequestBuilder.java @@ -0,0 +1,128 @@ +package com.microsoft.graph.storage.filestorage.deletedcontainers.item.sharepointgroups.item.members.count; + +import com.microsoft.graph.models.odataerrors.ODataError; +import com.microsoft.kiota.BaseRequestBuilder; +import com.microsoft.kiota.BaseRequestConfiguration; +import com.microsoft.kiota.HttpMethod; +import com.microsoft.kiota.QueryParameters; +import com.microsoft.kiota.RequestAdapter; +import com.microsoft.kiota.RequestInformation; +import com.microsoft.kiota.RequestOption; +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParsableFactory; +import java.util.Collection; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +/** + * Provides operations to 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}/storage/fileStorage/deletedContainers/{fileStorageContainer%2Did}/sharePointGroups/{sharePointGroup%2Did}/members/$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}/storage/fileStorage/deletedContainers/{fileStorageContainer%2Did}/sharePointGroups/{sharePointGroup%2Did}/members/$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/generated/storage/filestorage/deletedcontainers/item/sharepointgroups/item/members/item/SharePointGroupMemberItemRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/storage/filestorage/deletedcontainers/item/sharepointgroups/item/members/item/SharePointGroupMemberItemRequestBuilder.java new file mode 100644 index 00000000000..2873d898ed7 --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/storage/filestorage/deletedcontainers/item/sharepointgroups/item/members/item/SharePointGroupMemberItemRequestBuilder.java @@ -0,0 +1,228 @@ +package com.microsoft.graph.storage.filestorage.deletedcontainers.item.sharepointgroups.item.members.item; + +import com.microsoft.graph.models.odataerrors.ODataError; +import com.microsoft.graph.models.SharePointGroupMember; +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 members property of the microsoft.graph.sharePointGroup entity. + */ +@jakarta.annotation.Generated("com.microsoft.kiota") +public class SharePointGroupMemberItemRequestBuilder extends BaseRequestBuilder { + /** + * Instantiates a new {@link SharePointGroupMemberItemRequestBuilder} and sets the default values. + * @param pathParameters Path parameters for the request + * @param requestAdapter The request adapter to use to execute the requests. + */ + public SharePointGroupMemberItemRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/storage/fileStorage/deletedContainers/{fileStorageContainer%2Did}/sharePointGroups/{sharePointGroup%2Did}/members/{sharePointGroupMember%2Did}{?%24expand,%24select}", pathParameters); + } + /** + * Instantiates a new {@link SharePointGroupMemberItemRequestBuilder} 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 SharePointGroupMemberItemRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/storage/fileStorage/deletedContainers/{fileStorageContainer%2Did}/sharePointGroups/{sharePointGroup%2Did}/members/{sharePointGroupMember%2Did}{?%24expand,%24select}", rawUrl); + } + /** + * Delete navigation property members for storage + * @throws ODataError When receiving a 4XX or 5XX status code + */ + public void delete() { + delete(null); + } + /** + * Delete navigation property members for storage + * @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 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); + } + /** + * Get members from storage + * @return a {@link SharePointGroupMember} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public SharePointGroupMember get() { + return get(null); + } + /** + * Get members from storage + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link SharePointGroupMember} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public SharePointGroupMember 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, SharePointGroupMember::createFromDiscriminatorValue); + } + /** + * Update the navigation property members in storage + * @param body The request body + * @return a {@link SharePointGroupMember} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public SharePointGroupMember patch(@jakarta.annotation.Nonnull final SharePointGroupMember body) { + return patch(body, null); + } + /** + * Update the navigation property members in storage + * @param body The request body + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link SharePointGroupMember} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public SharePointGroupMember patch(@jakarta.annotation.Nonnull final SharePointGroupMember 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, SharePointGroupMember::createFromDiscriminatorValue); + } + /** + * Delete navigation property members for storage + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toDeleteRequestInformation() { + return toDeleteRequestInformation(null); + } + /** + * Delete navigation property members for storage + * @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); + requestInfo.headers.tryAdd("Accept", "application/json"); + return requestInfo; + } + /** + * Get members from storage + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toGetRequestInformation() { + return toGetRequestInformation(null); + } + /** + * Get members from storage + * @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 navigation property members in storage + * @param body The request body + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final SharePointGroupMember body) { + return toPatchRequestInformation(body, null); + } + /** + * Update the navigation property members in storage + * @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 SharePointGroupMember 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 SharePointGroupMemberItemRequestBuilder} + */ + @jakarta.annotation.Nonnull + public SharePointGroupMemberItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { + Objects.requireNonNull(rawUrl); + return new SharePointGroupMemberItemRequestBuilder(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 { + } + /** + * Get members from storage + */ + @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/generated/teams/item/channels/item/messages/MessagesRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/teams/item/channels/item/messages/MessagesRequestBuilder.java index 55b49961cfd..3778af7d5ff 100644 --- a/src/main/java/com/microsoft/graph/generated/teams/item/channels/item/messages/MessagesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/generated/teams/item/channels/item/messages/MessagesRequestBuilder.java @@ -6,6 +6,7 @@ import com.microsoft.graph.teams.item.channels.item.messages.count.CountRequestBuilder; import com.microsoft.graph.teams.item.channels.item.messages.delta.DeltaRequestBuilder; import com.microsoft.graph.teams.item.channels.item.messages.item.ChatMessageItemRequestBuilder; +import com.microsoft.graph.teams.item.channels.item.messages.replywithquote.ReplyWithQuoteRequestBuilder; import com.microsoft.kiota.BaseRequestBuilder; import com.microsoft.kiota.BaseRequestConfiguration; import com.microsoft.kiota.HttpMethod; @@ -40,6 +41,14 @@ public CountRequestBuilder count() { public DeltaRequestBuilder delta() { return new DeltaRequestBuilder(pathParameters, requestAdapter); } + /** + * Provides operations to call the replyWithQuote method. + * @return a {@link ReplyWithQuoteRequestBuilder} + */ + @jakarta.annotation.Nonnull + public ReplyWithQuoteRequestBuilder replyWithQuote() { + return new ReplyWithQuoteRequestBuilder(pathParameters, requestAdapter); + } /** * Provides operations to manage the messages property of the microsoft.graph.channel entity. * @param chatMessageId The unique identifier of chatMessage diff --git a/src/main/java/com/microsoft/graph/generated/teams/item/channels/item/messages/item/replies/RepliesRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/teams/item/channels/item/messages/item/replies/RepliesRequestBuilder.java index 829f1e96834..b75edeb4f6d 100644 --- a/src/main/java/com/microsoft/graph/generated/teams/item/channels/item/messages/item/replies/RepliesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/generated/teams/item/channels/item/messages/item/replies/RepliesRequestBuilder.java @@ -6,6 +6,7 @@ import com.microsoft.graph.teams.item.channels.item.messages.item.replies.count.CountRequestBuilder; import com.microsoft.graph.teams.item.channels.item.messages.item.replies.delta.DeltaRequestBuilder; import com.microsoft.graph.teams.item.channels.item.messages.item.replies.item.ChatMessageItemRequestBuilder; +import com.microsoft.graph.teams.item.channels.item.messages.item.replies.replywithquote.ReplyWithQuoteRequestBuilder; import com.microsoft.kiota.BaseRequestBuilder; import com.microsoft.kiota.BaseRequestConfiguration; import com.microsoft.kiota.HttpMethod; @@ -40,6 +41,14 @@ public CountRequestBuilder count() { public DeltaRequestBuilder delta() { return new DeltaRequestBuilder(pathParameters, requestAdapter); } + /** + * Provides operations to call the replyWithQuote method. + * @return a {@link ReplyWithQuoteRequestBuilder} + */ + @jakarta.annotation.Nonnull + public ReplyWithQuoteRequestBuilder replyWithQuote() { + return new ReplyWithQuoteRequestBuilder(pathParameters, requestAdapter); + } /** * Provides operations to manage the replies property of the microsoft.graph.chatMessage entity. * @param chatMessageId1 The unique identifier of chatMessage diff --git a/src/main/java/com/microsoft/graph/generated/teams/item/channels/item/messages/item/replies/replywithquote/ReplyWithQuotePostRequestBody.java b/src/main/java/com/microsoft/graph/generated/teams/item/channels/item/messages/item/replies/replywithquote/ReplyWithQuotePostRequestBody.java new file mode 100644 index 00000000000..2884865a99f --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/teams/item/channels/item/messages/item/replies/replywithquote/ReplyWithQuotePostRequestBody.java @@ -0,0 +1,125 @@ +package com.microsoft.graph.teams.item.channels.item.messages.item.replies.replywithquote; + +import com.microsoft.graph.models.ChatMessage; +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 ReplyWithQuotePostRequestBody implements AdditionalDataHolder, BackedModel, Parsable { + /** + * Stores model information. + */ + @jakarta.annotation.Nonnull + protected BackingStore backingStore; + /** + * Instantiates a new {@link ReplyWithQuotePostRequestBody} and sets the default values. + */ + public ReplyWithQuotePostRequestBody() { + 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 ReplyWithQuotePostRequestBody} + */ + @jakarta.annotation.Nonnull + public static ReplyWithQuotePostRequestBody createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) { + Objects.requireNonNull(parseNode); + return new ReplyWithQuotePostRequestBody(); + } + /** + * 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>(2); + deserializerMap.put("messageIds", (n) -> { this.setMessageIds(n.getCollectionOfPrimitiveValues(String.class)); }); + deserializerMap.put("replyMessage", (n) -> { this.setReplyMessage(n.getObjectValue(ChatMessage::createFromDiscriminatorValue)); }); + return deserializerMap; + } + /** + * Gets the messageIds property value. The messageIds property + * @return a {@link java.util.List} + */ + @jakarta.annotation.Nullable + public java.util.List getMessageIds() { + return this.backingStore.get("messageIds"); + } + /** + * Gets the replyMessage property value. The replyMessage property + * @return a {@link ChatMessage} + */ + @jakarta.annotation.Nullable + public ChatMessage getReplyMessage() { + return this.backingStore.get("replyMessage"); + } + /** + * 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("messageIds", this.getMessageIds()); + writer.writeObjectValue("replyMessage", this.getReplyMessage()); + 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 messageIds property value. The messageIds property + * @param value Value to set for the messageIds property. + */ + public void setMessageIds(@jakarta.annotation.Nullable final java.util.List value) { + this.backingStore.set("messageIds", value); + } + /** + * Sets the replyMessage property value. The replyMessage property + * @param value Value to set for the replyMessage property. + */ + public void setReplyMessage(@jakarta.annotation.Nullable final ChatMessage value) { + this.backingStore.set("replyMessage", value); + } +} diff --git a/src/main/java/com/microsoft/graph/generated/teams/item/channels/item/messages/item/replies/replywithquote/ReplyWithQuoteRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/teams/item/channels/item/messages/item/replies/replywithquote/ReplyWithQuoteRequestBuilder.java new file mode 100644 index 00000000000..745f07de9ea --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/teams/item/channels/item/messages/item/replies/replywithquote/ReplyWithQuoteRequestBuilder.java @@ -0,0 +1,105 @@ +package com.microsoft.graph.teams.item.channels.item.messages.item.replies.replywithquote; + +import com.microsoft.graph.models.ChatMessage; +import com.microsoft.graph.models.odataerrors.ODataError; +import com.microsoft.kiota.BaseRequestBuilder; +import com.microsoft.kiota.BaseRequestConfiguration; +import com.microsoft.kiota.HttpMethod; +import com.microsoft.kiota.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 replyWithQuote method. + */ +@jakarta.annotation.Generated("com.microsoft.kiota") +public class ReplyWithQuoteRequestBuilder extends BaseRequestBuilder { + /** + * Instantiates a new {@link ReplyWithQuoteRequestBuilder} and sets the default values. + * @param pathParameters Path parameters for the request + * @param requestAdapter The request adapter to use to execute the requests. + */ + public ReplyWithQuoteRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/teams/{team%2Did}/channels/{channel%2Did}/messages/{chatMessage%2Did}/replies/replyWithQuote", pathParameters); + } + /** + * Instantiates a new {@link ReplyWithQuoteRequestBuilder} 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 ReplyWithQuoteRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/teams/{team%2Did}/channels/{channel%2Did}/messages/{chatMessage%2Did}/replies/replyWithQuote", rawUrl); + } + /** + * Reply with quote to a single chat message or multiple chat messages in a chat. + * @param body The request body + * @return a {@link ChatMessage} + * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here + */ + @jakarta.annotation.Nullable + public ChatMessage post(@jakarta.annotation.Nonnull final ReplyWithQuotePostRequestBody body) { + return post(body, null); + } + /** + * Reply with quote to a single chat message or multiple chat messages in a chat. + * @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 + */ + @jakarta.annotation.Nullable + public ChatMessage post(@jakarta.annotation.Nonnull final ReplyWithQuotePostRequestBody 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, ChatMessage::createFromDiscriminatorValue); + } + /** + * Reply with quote to a single chat message or multiple chat messages in a chat. + * @param body The request body + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final ReplyWithQuotePostRequestBody body) { + return toPostRequestInformation(body, null); + } + /** + * Reply with quote to a single chat message or multiple chat messages in a chat. + * @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 ReplyWithQuotePostRequestBody 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 ReplyWithQuoteRequestBuilder} + */ + @jakarta.annotation.Nonnull + public ReplyWithQuoteRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { + Objects.requireNonNull(rawUrl); + return new ReplyWithQuoteRequestBuilder(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/generated/teams/item/channels/item/messages/replywithquote/ReplyWithQuotePostRequestBody.java b/src/main/java/com/microsoft/graph/generated/teams/item/channels/item/messages/replywithquote/ReplyWithQuotePostRequestBody.java new file mode 100644 index 00000000000..5008d384d05 --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/teams/item/channels/item/messages/replywithquote/ReplyWithQuotePostRequestBody.java @@ -0,0 +1,125 @@ +package com.microsoft.graph.teams.item.channels.item.messages.replywithquote; + +import com.microsoft.graph.models.ChatMessage; +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 ReplyWithQuotePostRequestBody implements AdditionalDataHolder, BackedModel, Parsable { + /** + * Stores model information. + */ + @jakarta.annotation.Nonnull + protected BackingStore backingStore; + /** + * Instantiates a new {@link ReplyWithQuotePostRequestBody} and sets the default values. + */ + public ReplyWithQuotePostRequestBody() { + 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 ReplyWithQuotePostRequestBody} + */ + @jakarta.annotation.Nonnull + public static ReplyWithQuotePostRequestBody createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) { + Objects.requireNonNull(parseNode); + return new ReplyWithQuotePostRequestBody(); + } + /** + * 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>(2); + deserializerMap.put("messageIds", (n) -> { this.setMessageIds(n.getCollectionOfPrimitiveValues(String.class)); }); + deserializerMap.put("replyMessage", (n) -> { this.setReplyMessage(n.getObjectValue(ChatMessage::createFromDiscriminatorValue)); }); + return deserializerMap; + } + /** + * Gets the messageIds property value. The messageIds property + * @return a {@link java.util.List} + */ + @jakarta.annotation.Nullable + public java.util.List getMessageIds() { + return this.backingStore.get("messageIds"); + } + /** + * Gets the replyMessage property value. The replyMessage property + * @return a {@link ChatMessage} + */ + @jakarta.annotation.Nullable + public ChatMessage getReplyMessage() { + return this.backingStore.get("replyMessage"); + } + /** + * 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("messageIds", this.getMessageIds()); + writer.writeObjectValue("replyMessage", this.getReplyMessage()); + 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 messageIds property value. The messageIds property + * @param value Value to set for the messageIds property. + */ + public void setMessageIds(@jakarta.annotation.Nullable final java.util.List value) { + this.backingStore.set("messageIds", value); + } + /** + * Sets the replyMessage property value. The replyMessage property + * @param value Value to set for the replyMessage property. + */ + public void setReplyMessage(@jakarta.annotation.Nullable final ChatMessage value) { + this.backingStore.set("replyMessage", value); + } +} diff --git a/src/main/java/com/microsoft/graph/generated/teams/item/channels/item/messages/replywithquote/ReplyWithQuoteRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/teams/item/channels/item/messages/replywithquote/ReplyWithQuoteRequestBuilder.java new file mode 100644 index 00000000000..19efd161cf1 --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/teams/item/channels/item/messages/replywithquote/ReplyWithQuoteRequestBuilder.java @@ -0,0 +1,105 @@ +package com.microsoft.graph.teams.item.channels.item.messages.replywithquote; + +import com.microsoft.graph.models.ChatMessage; +import com.microsoft.graph.models.odataerrors.ODataError; +import com.microsoft.kiota.BaseRequestBuilder; +import com.microsoft.kiota.BaseRequestConfiguration; +import com.microsoft.kiota.HttpMethod; +import com.microsoft.kiota.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 replyWithQuote method. + */ +@jakarta.annotation.Generated("com.microsoft.kiota") +public class ReplyWithQuoteRequestBuilder extends BaseRequestBuilder { + /** + * Instantiates a new {@link ReplyWithQuoteRequestBuilder} and sets the default values. + * @param pathParameters Path parameters for the request + * @param requestAdapter The request adapter to use to execute the requests. + */ + public ReplyWithQuoteRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/teams/{team%2Did}/channels/{channel%2Did}/messages/replyWithQuote", pathParameters); + } + /** + * Instantiates a new {@link ReplyWithQuoteRequestBuilder} 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 ReplyWithQuoteRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/teams/{team%2Did}/channels/{channel%2Did}/messages/replyWithQuote", rawUrl); + } + /** + * Reply with quote to a single chat message or multiple chat messages in a chat. + * @param body The request body + * @return a {@link ChatMessage} + * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here + */ + @jakarta.annotation.Nullable + public ChatMessage post(@jakarta.annotation.Nonnull final ReplyWithQuotePostRequestBody body) { + return post(body, null); + } + /** + * Reply with quote to a single chat message or multiple chat messages in a chat. + * @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 + */ + @jakarta.annotation.Nullable + public ChatMessage post(@jakarta.annotation.Nonnull final ReplyWithQuotePostRequestBody 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, ChatMessage::createFromDiscriminatorValue); + } + /** + * Reply with quote to a single chat message or multiple chat messages in a chat. + * @param body The request body + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final ReplyWithQuotePostRequestBody body) { + return toPostRequestInformation(body, null); + } + /** + * Reply with quote to a single chat message or multiple chat messages in a chat. + * @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 ReplyWithQuotePostRequestBody 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 ReplyWithQuoteRequestBuilder} + */ + @jakarta.annotation.Nonnull + public ReplyWithQuoteRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { + Objects.requireNonNull(rawUrl); + return new ReplyWithQuoteRequestBuilder(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/generated/teams/item/primarychannel/messages/MessagesRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/teams/item/primarychannel/messages/MessagesRequestBuilder.java index 1a3133f7aba..c26f71bc387 100644 --- a/src/main/java/com/microsoft/graph/generated/teams/item/primarychannel/messages/MessagesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/generated/teams/item/primarychannel/messages/MessagesRequestBuilder.java @@ -6,6 +6,7 @@ import com.microsoft.graph.teams.item.primarychannel.messages.count.CountRequestBuilder; import com.microsoft.graph.teams.item.primarychannel.messages.delta.DeltaRequestBuilder; import com.microsoft.graph.teams.item.primarychannel.messages.item.ChatMessageItemRequestBuilder; +import com.microsoft.graph.teams.item.primarychannel.messages.replywithquote.ReplyWithQuoteRequestBuilder; import com.microsoft.kiota.BaseRequestBuilder; import com.microsoft.kiota.BaseRequestConfiguration; import com.microsoft.kiota.HttpMethod; @@ -40,6 +41,14 @@ public CountRequestBuilder count() { public DeltaRequestBuilder delta() { return new DeltaRequestBuilder(pathParameters, requestAdapter); } + /** + * Provides operations to call the replyWithQuote method. + * @return a {@link ReplyWithQuoteRequestBuilder} + */ + @jakarta.annotation.Nonnull + public ReplyWithQuoteRequestBuilder replyWithQuote() { + return new ReplyWithQuoteRequestBuilder(pathParameters, requestAdapter); + } /** * Provides operations to manage the messages property of the microsoft.graph.channel entity. * @param chatMessageId The unique identifier of chatMessage diff --git a/src/main/java/com/microsoft/graph/generated/teams/item/primarychannel/messages/item/replies/RepliesRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/teams/item/primarychannel/messages/item/replies/RepliesRequestBuilder.java index b15cf0c2895..62e878eded6 100644 --- a/src/main/java/com/microsoft/graph/generated/teams/item/primarychannel/messages/item/replies/RepliesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/generated/teams/item/primarychannel/messages/item/replies/RepliesRequestBuilder.java @@ -6,6 +6,7 @@ import com.microsoft.graph.teams.item.primarychannel.messages.item.replies.count.CountRequestBuilder; import com.microsoft.graph.teams.item.primarychannel.messages.item.replies.delta.DeltaRequestBuilder; import com.microsoft.graph.teams.item.primarychannel.messages.item.replies.item.ChatMessageItemRequestBuilder; +import com.microsoft.graph.teams.item.primarychannel.messages.item.replies.replywithquote.ReplyWithQuoteRequestBuilder; import com.microsoft.kiota.BaseRequestBuilder; import com.microsoft.kiota.BaseRequestConfiguration; import com.microsoft.kiota.HttpMethod; @@ -40,6 +41,14 @@ public CountRequestBuilder count() { public DeltaRequestBuilder delta() { return new DeltaRequestBuilder(pathParameters, requestAdapter); } + /** + * Provides operations to call the replyWithQuote method. + * @return a {@link ReplyWithQuoteRequestBuilder} + */ + @jakarta.annotation.Nonnull + public ReplyWithQuoteRequestBuilder replyWithQuote() { + return new ReplyWithQuoteRequestBuilder(pathParameters, requestAdapter); + } /** * Provides operations to manage the replies property of the microsoft.graph.chatMessage entity. * @param chatMessageId1 The unique identifier of chatMessage diff --git a/src/main/java/com/microsoft/graph/generated/teams/item/primarychannel/messages/item/replies/replywithquote/ReplyWithQuotePostRequestBody.java b/src/main/java/com/microsoft/graph/generated/teams/item/primarychannel/messages/item/replies/replywithquote/ReplyWithQuotePostRequestBody.java new file mode 100644 index 00000000000..64e44162171 --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/teams/item/primarychannel/messages/item/replies/replywithquote/ReplyWithQuotePostRequestBody.java @@ -0,0 +1,125 @@ +package com.microsoft.graph.teams.item.primarychannel.messages.item.replies.replywithquote; + +import com.microsoft.graph.models.ChatMessage; +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 ReplyWithQuotePostRequestBody implements AdditionalDataHolder, BackedModel, Parsable { + /** + * Stores model information. + */ + @jakarta.annotation.Nonnull + protected BackingStore backingStore; + /** + * Instantiates a new {@link ReplyWithQuotePostRequestBody} and sets the default values. + */ + public ReplyWithQuotePostRequestBody() { + 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 ReplyWithQuotePostRequestBody} + */ + @jakarta.annotation.Nonnull + public static ReplyWithQuotePostRequestBody createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) { + Objects.requireNonNull(parseNode); + return new ReplyWithQuotePostRequestBody(); + } + /** + * 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>(2); + deserializerMap.put("messageIds", (n) -> { this.setMessageIds(n.getCollectionOfPrimitiveValues(String.class)); }); + deserializerMap.put("replyMessage", (n) -> { this.setReplyMessage(n.getObjectValue(ChatMessage::createFromDiscriminatorValue)); }); + return deserializerMap; + } + /** + * Gets the messageIds property value. The messageIds property + * @return a {@link java.util.List} + */ + @jakarta.annotation.Nullable + public java.util.List getMessageIds() { + return this.backingStore.get("messageIds"); + } + /** + * Gets the replyMessage property value. The replyMessage property + * @return a {@link ChatMessage} + */ + @jakarta.annotation.Nullable + public ChatMessage getReplyMessage() { + return this.backingStore.get("replyMessage"); + } + /** + * 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("messageIds", this.getMessageIds()); + writer.writeObjectValue("replyMessage", this.getReplyMessage()); + 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 messageIds property value. The messageIds property + * @param value Value to set for the messageIds property. + */ + public void setMessageIds(@jakarta.annotation.Nullable final java.util.List value) { + this.backingStore.set("messageIds", value); + } + /** + * Sets the replyMessage property value. The replyMessage property + * @param value Value to set for the replyMessage property. + */ + public void setReplyMessage(@jakarta.annotation.Nullable final ChatMessage value) { + this.backingStore.set("replyMessage", value); + } +} diff --git a/src/main/java/com/microsoft/graph/generated/teams/item/primarychannel/messages/item/replies/replywithquote/ReplyWithQuoteRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/teams/item/primarychannel/messages/item/replies/replywithquote/ReplyWithQuoteRequestBuilder.java new file mode 100644 index 00000000000..01d502e8669 --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/teams/item/primarychannel/messages/item/replies/replywithquote/ReplyWithQuoteRequestBuilder.java @@ -0,0 +1,105 @@ +package com.microsoft.graph.teams.item.primarychannel.messages.item.replies.replywithquote; + +import com.microsoft.graph.models.ChatMessage; +import com.microsoft.graph.models.odataerrors.ODataError; +import com.microsoft.kiota.BaseRequestBuilder; +import com.microsoft.kiota.BaseRequestConfiguration; +import com.microsoft.kiota.HttpMethod; +import com.microsoft.kiota.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 replyWithQuote method. + */ +@jakarta.annotation.Generated("com.microsoft.kiota") +public class ReplyWithQuoteRequestBuilder extends BaseRequestBuilder { + /** + * Instantiates a new {@link ReplyWithQuoteRequestBuilder} and sets the default values. + * @param pathParameters Path parameters for the request + * @param requestAdapter The request adapter to use to execute the requests. + */ + public ReplyWithQuoteRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/teams/{team%2Did}/primaryChannel/messages/{chatMessage%2Did}/replies/replyWithQuote", pathParameters); + } + /** + * Instantiates a new {@link ReplyWithQuoteRequestBuilder} 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 ReplyWithQuoteRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/teams/{team%2Did}/primaryChannel/messages/{chatMessage%2Did}/replies/replyWithQuote", rawUrl); + } + /** + * Reply with quote to a single chat message or multiple chat messages in a chat. + * @param body The request body + * @return a {@link ChatMessage} + * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here + */ + @jakarta.annotation.Nullable + public ChatMessage post(@jakarta.annotation.Nonnull final ReplyWithQuotePostRequestBody body) { + return post(body, null); + } + /** + * Reply with quote to a single chat message or multiple chat messages in a chat. + * @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 + */ + @jakarta.annotation.Nullable + public ChatMessage post(@jakarta.annotation.Nonnull final ReplyWithQuotePostRequestBody 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, ChatMessage::createFromDiscriminatorValue); + } + /** + * Reply with quote to a single chat message or multiple chat messages in a chat. + * @param body The request body + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final ReplyWithQuotePostRequestBody body) { + return toPostRequestInformation(body, null); + } + /** + * Reply with quote to a single chat message or multiple chat messages in a chat. + * @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 ReplyWithQuotePostRequestBody 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 ReplyWithQuoteRequestBuilder} + */ + @jakarta.annotation.Nonnull + public ReplyWithQuoteRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { + Objects.requireNonNull(rawUrl); + return new ReplyWithQuoteRequestBuilder(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/generated/teams/item/primarychannel/messages/replywithquote/ReplyWithQuotePostRequestBody.java b/src/main/java/com/microsoft/graph/generated/teams/item/primarychannel/messages/replywithquote/ReplyWithQuotePostRequestBody.java new file mode 100644 index 00000000000..8a2b6d82ec8 --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/teams/item/primarychannel/messages/replywithquote/ReplyWithQuotePostRequestBody.java @@ -0,0 +1,125 @@ +package com.microsoft.graph.teams.item.primarychannel.messages.replywithquote; + +import com.microsoft.graph.models.ChatMessage; +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 ReplyWithQuotePostRequestBody implements AdditionalDataHolder, BackedModel, Parsable { + /** + * Stores model information. + */ + @jakarta.annotation.Nonnull + protected BackingStore backingStore; + /** + * Instantiates a new {@link ReplyWithQuotePostRequestBody} and sets the default values. + */ + public ReplyWithQuotePostRequestBody() { + 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 ReplyWithQuotePostRequestBody} + */ + @jakarta.annotation.Nonnull + public static ReplyWithQuotePostRequestBody createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) { + Objects.requireNonNull(parseNode); + return new ReplyWithQuotePostRequestBody(); + } + /** + * 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>(2); + deserializerMap.put("messageIds", (n) -> { this.setMessageIds(n.getCollectionOfPrimitiveValues(String.class)); }); + deserializerMap.put("replyMessage", (n) -> { this.setReplyMessage(n.getObjectValue(ChatMessage::createFromDiscriminatorValue)); }); + return deserializerMap; + } + /** + * Gets the messageIds property value. The messageIds property + * @return a {@link java.util.List} + */ + @jakarta.annotation.Nullable + public java.util.List getMessageIds() { + return this.backingStore.get("messageIds"); + } + /** + * Gets the replyMessage property value. The replyMessage property + * @return a {@link ChatMessage} + */ + @jakarta.annotation.Nullable + public ChatMessage getReplyMessage() { + return this.backingStore.get("replyMessage"); + } + /** + * 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("messageIds", this.getMessageIds()); + writer.writeObjectValue("replyMessage", this.getReplyMessage()); + 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 messageIds property value. The messageIds property + * @param value Value to set for the messageIds property. + */ + public void setMessageIds(@jakarta.annotation.Nullable final java.util.List value) { + this.backingStore.set("messageIds", value); + } + /** + * Sets the replyMessage property value. The replyMessage property + * @param value Value to set for the replyMessage property. + */ + public void setReplyMessage(@jakarta.annotation.Nullable final ChatMessage value) { + this.backingStore.set("replyMessage", value); + } +} diff --git a/src/main/java/com/microsoft/graph/generated/teams/item/primarychannel/messages/replywithquote/ReplyWithQuoteRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/teams/item/primarychannel/messages/replywithquote/ReplyWithQuoteRequestBuilder.java new file mode 100644 index 00000000000..6319d448882 --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/teams/item/primarychannel/messages/replywithquote/ReplyWithQuoteRequestBuilder.java @@ -0,0 +1,105 @@ +package com.microsoft.graph.teams.item.primarychannel.messages.replywithquote; + +import com.microsoft.graph.models.ChatMessage; +import com.microsoft.graph.models.odataerrors.ODataError; +import com.microsoft.kiota.BaseRequestBuilder; +import com.microsoft.kiota.BaseRequestConfiguration; +import com.microsoft.kiota.HttpMethod; +import com.microsoft.kiota.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 replyWithQuote method. + */ +@jakarta.annotation.Generated("com.microsoft.kiota") +public class ReplyWithQuoteRequestBuilder extends BaseRequestBuilder { + /** + * Instantiates a new {@link ReplyWithQuoteRequestBuilder} and sets the default values. + * @param pathParameters Path parameters for the request + * @param requestAdapter The request adapter to use to execute the requests. + */ + public ReplyWithQuoteRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/teams/{team%2Did}/primaryChannel/messages/replyWithQuote", pathParameters); + } + /** + * Instantiates a new {@link ReplyWithQuoteRequestBuilder} 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 ReplyWithQuoteRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/teams/{team%2Did}/primaryChannel/messages/replyWithQuote", rawUrl); + } + /** + * Reply with quote to a single chat message or multiple chat messages in a chat. + * @param body The request body + * @return a {@link ChatMessage} + * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here + */ + @jakarta.annotation.Nullable + public ChatMessage post(@jakarta.annotation.Nonnull final ReplyWithQuotePostRequestBody body) { + return post(body, null); + } + /** + * Reply with quote to a single chat message or multiple chat messages in a chat. + * @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 + */ + @jakarta.annotation.Nullable + public ChatMessage post(@jakarta.annotation.Nonnull final ReplyWithQuotePostRequestBody 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, ChatMessage::createFromDiscriminatorValue); + } + /** + * Reply with quote to a single chat message or multiple chat messages in a chat. + * @param body The request body + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final ReplyWithQuotePostRequestBody body) { + return toPostRequestInformation(body, null); + } + /** + * Reply with quote to a single chat message or multiple chat messages in a chat. + * @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 ReplyWithQuotePostRequestBody 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 ReplyWithQuoteRequestBuilder} + */ + @jakarta.annotation.Nonnull + public ReplyWithQuoteRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { + Objects.requireNonNull(rawUrl); + return new ReplyWithQuoteRequestBuilder(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/generated/teamwork/deletedteams/item/channels/item/messages/MessagesRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/teamwork/deletedteams/item/channels/item/messages/MessagesRequestBuilder.java index 0485296f832..418b4a3117e 100644 --- a/src/main/java/com/microsoft/graph/generated/teamwork/deletedteams/item/channels/item/messages/MessagesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/generated/teamwork/deletedteams/item/channels/item/messages/MessagesRequestBuilder.java @@ -6,6 +6,7 @@ import com.microsoft.graph.teamwork.deletedteams.item.channels.item.messages.count.CountRequestBuilder; import com.microsoft.graph.teamwork.deletedteams.item.channels.item.messages.delta.DeltaRequestBuilder; import com.microsoft.graph.teamwork.deletedteams.item.channels.item.messages.item.ChatMessageItemRequestBuilder; +import com.microsoft.graph.teamwork.deletedteams.item.channels.item.messages.replywithquote.ReplyWithQuoteRequestBuilder; import com.microsoft.kiota.BaseRequestBuilder; import com.microsoft.kiota.BaseRequestConfiguration; import com.microsoft.kiota.HttpMethod; @@ -40,6 +41,14 @@ public CountRequestBuilder count() { public DeltaRequestBuilder delta() { return new DeltaRequestBuilder(pathParameters, requestAdapter); } + /** + * Provides operations to call the replyWithQuote method. + * @return a {@link ReplyWithQuoteRequestBuilder} + */ + @jakarta.annotation.Nonnull + public ReplyWithQuoteRequestBuilder replyWithQuote() { + return new ReplyWithQuoteRequestBuilder(pathParameters, requestAdapter); + } /** * Provides operations to manage the messages property of the microsoft.graph.channel entity. * @param chatMessageId The unique identifier of chatMessage diff --git a/src/main/java/com/microsoft/graph/generated/teamwork/deletedteams/item/channels/item/messages/item/replies/RepliesRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/teamwork/deletedteams/item/channels/item/messages/item/replies/RepliesRequestBuilder.java index a340d90a2c1..1ee97fbc3fc 100644 --- a/src/main/java/com/microsoft/graph/generated/teamwork/deletedteams/item/channels/item/messages/item/replies/RepliesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/generated/teamwork/deletedteams/item/channels/item/messages/item/replies/RepliesRequestBuilder.java @@ -6,6 +6,7 @@ import com.microsoft.graph.teamwork.deletedteams.item.channels.item.messages.item.replies.count.CountRequestBuilder; import com.microsoft.graph.teamwork.deletedteams.item.channels.item.messages.item.replies.delta.DeltaRequestBuilder; import com.microsoft.graph.teamwork.deletedteams.item.channels.item.messages.item.replies.item.ChatMessageItemRequestBuilder; +import com.microsoft.graph.teamwork.deletedteams.item.channels.item.messages.item.replies.replywithquote.ReplyWithQuoteRequestBuilder; import com.microsoft.kiota.BaseRequestBuilder; import com.microsoft.kiota.BaseRequestConfiguration; import com.microsoft.kiota.HttpMethod; @@ -40,6 +41,14 @@ public CountRequestBuilder count() { public DeltaRequestBuilder delta() { return new DeltaRequestBuilder(pathParameters, requestAdapter); } + /** + * Provides operations to call the replyWithQuote method. + * @return a {@link ReplyWithQuoteRequestBuilder} + */ + @jakarta.annotation.Nonnull + public ReplyWithQuoteRequestBuilder replyWithQuote() { + return new ReplyWithQuoteRequestBuilder(pathParameters, requestAdapter); + } /** * Provides operations to manage the replies property of the microsoft.graph.chatMessage entity. * @param chatMessageId1 The unique identifier of chatMessage diff --git a/src/main/java/com/microsoft/graph/generated/teamwork/deletedteams/item/channels/item/messages/item/replies/replywithquote/ReplyWithQuotePostRequestBody.java b/src/main/java/com/microsoft/graph/generated/teamwork/deletedteams/item/channels/item/messages/item/replies/replywithquote/ReplyWithQuotePostRequestBody.java new file mode 100644 index 00000000000..e03d43c32dd --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/teamwork/deletedteams/item/channels/item/messages/item/replies/replywithquote/ReplyWithQuotePostRequestBody.java @@ -0,0 +1,125 @@ +package com.microsoft.graph.teamwork.deletedteams.item.channels.item.messages.item.replies.replywithquote; + +import com.microsoft.graph.models.ChatMessage; +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 ReplyWithQuotePostRequestBody implements AdditionalDataHolder, BackedModel, Parsable { + /** + * Stores model information. + */ + @jakarta.annotation.Nonnull + protected BackingStore backingStore; + /** + * Instantiates a new {@link ReplyWithQuotePostRequestBody} and sets the default values. + */ + public ReplyWithQuotePostRequestBody() { + 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 ReplyWithQuotePostRequestBody} + */ + @jakarta.annotation.Nonnull + public static ReplyWithQuotePostRequestBody createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) { + Objects.requireNonNull(parseNode); + return new ReplyWithQuotePostRequestBody(); + } + /** + * 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>(2); + deserializerMap.put("messageIds", (n) -> { this.setMessageIds(n.getCollectionOfPrimitiveValues(String.class)); }); + deserializerMap.put("replyMessage", (n) -> { this.setReplyMessage(n.getObjectValue(ChatMessage::createFromDiscriminatorValue)); }); + return deserializerMap; + } + /** + * Gets the messageIds property value. The messageIds property + * @return a {@link java.util.List} + */ + @jakarta.annotation.Nullable + public java.util.List getMessageIds() { + return this.backingStore.get("messageIds"); + } + /** + * Gets the replyMessage property value. The replyMessage property + * @return a {@link ChatMessage} + */ + @jakarta.annotation.Nullable + public ChatMessage getReplyMessage() { + return this.backingStore.get("replyMessage"); + } + /** + * 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("messageIds", this.getMessageIds()); + writer.writeObjectValue("replyMessage", this.getReplyMessage()); + 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 messageIds property value. The messageIds property + * @param value Value to set for the messageIds property. + */ + public void setMessageIds(@jakarta.annotation.Nullable final java.util.List value) { + this.backingStore.set("messageIds", value); + } + /** + * Sets the replyMessage property value. The replyMessage property + * @param value Value to set for the replyMessage property. + */ + public void setReplyMessage(@jakarta.annotation.Nullable final ChatMessage value) { + this.backingStore.set("replyMessage", value); + } +} diff --git a/src/main/java/com/microsoft/graph/generated/teamwork/deletedteams/item/channels/item/messages/item/replies/replywithquote/ReplyWithQuoteRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/teamwork/deletedteams/item/channels/item/messages/item/replies/replywithquote/ReplyWithQuoteRequestBuilder.java new file mode 100644 index 00000000000..6651d4e5c1b --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/teamwork/deletedteams/item/channels/item/messages/item/replies/replywithquote/ReplyWithQuoteRequestBuilder.java @@ -0,0 +1,105 @@ +package com.microsoft.graph.teamwork.deletedteams.item.channels.item.messages.item.replies.replywithquote; + +import com.microsoft.graph.models.ChatMessage; +import com.microsoft.graph.models.odataerrors.ODataError; +import com.microsoft.kiota.BaseRequestBuilder; +import com.microsoft.kiota.BaseRequestConfiguration; +import com.microsoft.kiota.HttpMethod; +import com.microsoft.kiota.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 replyWithQuote method. + */ +@jakarta.annotation.Generated("com.microsoft.kiota") +public class ReplyWithQuoteRequestBuilder extends BaseRequestBuilder { + /** + * Instantiates a new {@link ReplyWithQuoteRequestBuilder} and sets the default values. + * @param pathParameters Path parameters for the request + * @param requestAdapter The request adapter to use to execute the requests. + */ + public ReplyWithQuoteRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/teamwork/deletedTeams/{deletedTeam%2Did}/channels/{channel%2Did}/messages/{chatMessage%2Did}/replies/replyWithQuote", pathParameters); + } + /** + * Instantiates a new {@link ReplyWithQuoteRequestBuilder} 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 ReplyWithQuoteRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/teamwork/deletedTeams/{deletedTeam%2Did}/channels/{channel%2Did}/messages/{chatMessage%2Did}/replies/replyWithQuote", rawUrl); + } + /** + * Reply with quote to a single chat message or multiple chat messages in a chat. + * @param body The request body + * @return a {@link ChatMessage} + * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here + */ + @jakarta.annotation.Nullable + public ChatMessage post(@jakarta.annotation.Nonnull final ReplyWithQuotePostRequestBody body) { + return post(body, null); + } + /** + * Reply with quote to a single chat message or multiple chat messages in a chat. + * @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 + */ + @jakarta.annotation.Nullable + public ChatMessage post(@jakarta.annotation.Nonnull final ReplyWithQuotePostRequestBody 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, ChatMessage::createFromDiscriminatorValue); + } + /** + * Reply with quote to a single chat message or multiple chat messages in a chat. + * @param body The request body + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final ReplyWithQuotePostRequestBody body) { + return toPostRequestInformation(body, null); + } + /** + * Reply with quote to a single chat message or multiple chat messages in a chat. + * @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 ReplyWithQuotePostRequestBody 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 ReplyWithQuoteRequestBuilder} + */ + @jakarta.annotation.Nonnull + public ReplyWithQuoteRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { + Objects.requireNonNull(rawUrl); + return new ReplyWithQuoteRequestBuilder(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/generated/teamwork/deletedteams/item/channels/item/messages/replywithquote/ReplyWithQuotePostRequestBody.java b/src/main/java/com/microsoft/graph/generated/teamwork/deletedteams/item/channels/item/messages/replywithquote/ReplyWithQuotePostRequestBody.java new file mode 100644 index 00000000000..98c7346273d --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/teamwork/deletedteams/item/channels/item/messages/replywithquote/ReplyWithQuotePostRequestBody.java @@ -0,0 +1,125 @@ +package com.microsoft.graph.teamwork.deletedteams.item.channels.item.messages.replywithquote; + +import com.microsoft.graph.models.ChatMessage; +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 ReplyWithQuotePostRequestBody implements AdditionalDataHolder, BackedModel, Parsable { + /** + * Stores model information. + */ + @jakarta.annotation.Nonnull + protected BackingStore backingStore; + /** + * Instantiates a new {@link ReplyWithQuotePostRequestBody} and sets the default values. + */ + public ReplyWithQuotePostRequestBody() { + 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 ReplyWithQuotePostRequestBody} + */ + @jakarta.annotation.Nonnull + public static ReplyWithQuotePostRequestBody createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) { + Objects.requireNonNull(parseNode); + return new ReplyWithQuotePostRequestBody(); + } + /** + * 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>(2); + deserializerMap.put("messageIds", (n) -> { this.setMessageIds(n.getCollectionOfPrimitiveValues(String.class)); }); + deserializerMap.put("replyMessage", (n) -> { this.setReplyMessage(n.getObjectValue(ChatMessage::createFromDiscriminatorValue)); }); + return deserializerMap; + } + /** + * Gets the messageIds property value. The messageIds property + * @return a {@link java.util.List} + */ + @jakarta.annotation.Nullable + public java.util.List getMessageIds() { + return this.backingStore.get("messageIds"); + } + /** + * Gets the replyMessage property value. The replyMessage property + * @return a {@link ChatMessage} + */ + @jakarta.annotation.Nullable + public ChatMessage getReplyMessage() { + return this.backingStore.get("replyMessage"); + } + /** + * 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("messageIds", this.getMessageIds()); + writer.writeObjectValue("replyMessage", this.getReplyMessage()); + 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 messageIds property value. The messageIds property + * @param value Value to set for the messageIds property. + */ + public void setMessageIds(@jakarta.annotation.Nullable final java.util.List value) { + this.backingStore.set("messageIds", value); + } + /** + * Sets the replyMessage property value. The replyMessage property + * @param value Value to set for the replyMessage property. + */ + public void setReplyMessage(@jakarta.annotation.Nullable final ChatMessage value) { + this.backingStore.set("replyMessage", value); + } +} diff --git a/src/main/java/com/microsoft/graph/generated/teamwork/deletedteams/item/channels/item/messages/replywithquote/ReplyWithQuoteRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/teamwork/deletedteams/item/channels/item/messages/replywithquote/ReplyWithQuoteRequestBuilder.java new file mode 100644 index 00000000000..987be81264a --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/teamwork/deletedteams/item/channels/item/messages/replywithquote/ReplyWithQuoteRequestBuilder.java @@ -0,0 +1,105 @@ +package com.microsoft.graph.teamwork.deletedteams.item.channels.item.messages.replywithquote; + +import com.microsoft.graph.models.ChatMessage; +import com.microsoft.graph.models.odataerrors.ODataError; +import com.microsoft.kiota.BaseRequestBuilder; +import com.microsoft.kiota.BaseRequestConfiguration; +import com.microsoft.kiota.HttpMethod; +import com.microsoft.kiota.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 replyWithQuote method. + */ +@jakarta.annotation.Generated("com.microsoft.kiota") +public class ReplyWithQuoteRequestBuilder extends BaseRequestBuilder { + /** + * Instantiates a new {@link ReplyWithQuoteRequestBuilder} and sets the default values. + * @param pathParameters Path parameters for the request + * @param requestAdapter The request adapter to use to execute the requests. + */ + public ReplyWithQuoteRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/teamwork/deletedTeams/{deletedTeam%2Did}/channels/{channel%2Did}/messages/replyWithQuote", pathParameters); + } + /** + * Instantiates a new {@link ReplyWithQuoteRequestBuilder} 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 ReplyWithQuoteRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/teamwork/deletedTeams/{deletedTeam%2Did}/channels/{channel%2Did}/messages/replyWithQuote", rawUrl); + } + /** + * Reply with quote to a single chat message or multiple chat messages in a chat. + * @param body The request body + * @return a {@link ChatMessage} + * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here + */ + @jakarta.annotation.Nullable + public ChatMessage post(@jakarta.annotation.Nonnull final ReplyWithQuotePostRequestBody body) { + return post(body, null); + } + /** + * Reply with quote to a single chat message or multiple chat messages in a chat. + * @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 + */ + @jakarta.annotation.Nullable + public ChatMessage post(@jakarta.annotation.Nonnull final ReplyWithQuotePostRequestBody 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, ChatMessage::createFromDiscriminatorValue); + } + /** + * Reply with quote to a single chat message or multiple chat messages in a chat. + * @param body The request body + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final ReplyWithQuotePostRequestBody body) { + return toPostRequestInformation(body, null); + } + /** + * Reply with quote to a single chat message or multiple chat messages in a chat. + * @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 ReplyWithQuotePostRequestBody 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 ReplyWithQuoteRequestBuilder} + */ + @jakarta.annotation.Nonnull + public ReplyWithQuoteRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { + Objects.requireNonNull(rawUrl); + return new ReplyWithQuoteRequestBuilder(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/generated/tenantrelationships/multitenantorganization/tenants/item/MultiTenantOrganizationMemberItemRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/tenantrelationships/multitenantorganization/tenants/item/MultiTenantOrganizationMemberItemRequestBuilder.java index bef25ba186c..2bd2e075bc1 100644 --- a/src/main/java/com/microsoft/graph/generated/tenantrelationships/multitenantorganization/tenants/item/MultiTenantOrganizationMemberItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/generated/tenantrelationships/multitenantorganization/tenants/item/MultiTenantOrganizationMemberItemRequestBuilder.java @@ -81,21 +81,23 @@ public MultiTenantOrganizationMember get(@jakarta.annotation.Nullable final java return this.requestAdapter.send(requestInfo, errorMapping, MultiTenantOrganizationMember::createFromDiscriminatorValue); } /** - * Update the navigation property tenants in tenantRelationships + * Update the properties of a tenant in a multitenant organization. Only owner tenants can call this API. * @param body The request body * @return a {@link MultiTenantOrganizationMember} * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here */ @jakarta.annotation.Nullable public MultiTenantOrganizationMember patch(@jakarta.annotation.Nonnull final MultiTenantOrganizationMember body) { return patch(body, null); } /** - * Update the navigation property tenants in tenantRelationships + * Update the properties of a tenant in a multitenant organization. Only owner tenants can call this API. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link MultiTenantOrganizationMember} * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here */ @jakarta.annotation.Nullable public MultiTenantOrganizationMember patch(@jakarta.annotation.Nonnull final MultiTenantOrganizationMember body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { @@ -146,7 +148,7 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f return requestInfo; } /** - * Update the navigation property tenants in tenantRelationships + * Update the properties of a tenant in a multitenant organization. Only owner tenants can call this API. * @param body The request body * @return a {@link RequestInformation} */ @@ -155,7 +157,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull return toPatchRequestInformation(body, null); } /** - * Update the navigation property tenants in tenantRelationships + * Update the properties of a tenant in a multitenant organization. Only owner tenants can call this 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/generated/users/item/authentication/externalauthenticationmethods/ExternalAuthenticationMethodsRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/users/item/authentication/externalauthenticationmethods/ExternalAuthenticationMethodsRequestBuilder.java index 9efad35a82a..5838c24ea9a 100644 --- a/src/main/java/com/microsoft/graph/generated/users/item/authentication/externalauthenticationmethods/ExternalAuthenticationMethodsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/generated/users/item/authentication/externalauthenticationmethods/ExternalAuthenticationMethodsRequestBuilder.java @@ -60,7 +60,7 @@ public ExternalAuthenticationMethodsRequestBuilder(@jakarta.annotation.Nonnull f super(requestAdapter, "{+baseurl}/users/{user%2Did}/authentication/externalAuthenticationMethods{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl); } /** - * Represents the external authentication methods registered to a user for authentication using an external identity provider. + * Represents the external MFA registered to a user for authentication using an external identity provider. * @return a {@link ExternalAuthenticationMethodCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code */ @@ -69,7 +69,7 @@ public ExternalAuthenticationMethodCollectionResponse get() { return get(null); } /** - * Represents the external authentication methods registered to a user for authentication using an external identity provider. + * Represents the external MFA registered to a user for authentication using an external identity provider. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link ExternalAuthenticationMethodCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code @@ -109,7 +109,7 @@ public ExternalAuthenticationMethod post(@jakarta.annotation.Nonnull final Exter return this.requestAdapter.send(requestInfo, errorMapping, ExternalAuthenticationMethod::createFromDiscriminatorValue); } /** - * Represents the external authentication methods registered to a user for authentication using an external identity provider. + * Represents the external MFA registered to a user for authentication using an external identity provider. * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull @@ -117,7 +117,7 @@ public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } /** - * Represents the external authentication methods registered to a user for authentication using an external identity provider. + * Represents the external MFA registered to a user for authentication using an external identity provider. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} */ @@ -163,7 +163,7 @@ public ExternalAuthenticationMethodsRequestBuilder withUrl(@jakarta.annotation.N return new ExternalAuthenticationMethodsRequestBuilder(rawUrl, requestAdapter); } /** - * Represents the external authentication methods registered to a user for authentication using an external identity provider. + * Represents the external MFA registered to a user for authentication using an external identity provider. */ @jakarta.annotation.Generated("com.microsoft.kiota") public class GetQueryParameters implements QueryParameters { diff --git a/src/main/java/com/microsoft/graph/generated/users/item/authentication/externalauthenticationmethods/item/ExternalAuthenticationMethodItemRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/users/item/authentication/externalauthenticationmethods/item/ExternalAuthenticationMethodItemRequestBuilder.java index 96ae3cd27d8..ad85518c156 100644 --- a/src/main/java/com/microsoft/graph/generated/users/item/authentication/externalauthenticationmethods/item/ExternalAuthenticationMethodItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/generated/users/item/authentication/externalauthenticationmethods/item/ExternalAuthenticationMethodItemRequestBuilder.java @@ -57,7 +57,7 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume this.requestAdapter.sendPrimitive(requestInfo, errorMapping, Void.class); } /** - * Represents the external authentication methods registered to a user for authentication using an external identity provider. + * Represents the external MFA registered to a user for authentication using an external identity provider. * @return a {@link ExternalAuthenticationMethod} * @throws ODataError When receiving a 4XX or 5XX status code */ @@ -66,7 +66,7 @@ public ExternalAuthenticationMethod get() { return get(null); } /** - * Represents the external authentication methods registered to a user for authentication using an external identity provider. + * Represents the external MFA registered to a user for authentication using an external identity provider. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link ExternalAuthenticationMethod} * @throws ODataError When receiving a 4XX or 5XX status code @@ -124,7 +124,7 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl return requestInfo; } /** - * Represents the external authentication methods registered to a user for authentication using an external identity provider. + * Represents the external MFA registered to a user for authentication using an external identity provider. * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull @@ -132,7 +132,7 @@ public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } /** - * Represents the external authentication methods registered to a user for authentication using an external identity provider. + * Represents the external MFA registered to a user for authentication using an external identity provider. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} */ @@ -184,7 +184,7 @@ public ExternalAuthenticationMethodItemRequestBuilder withUrl(@jakarta.annotatio public class DeleteRequestConfiguration extends BaseRequestConfiguration { } /** - * Represents the external authentication methods registered to a user for authentication using an external identity provider. + * Represents the external MFA registered to a user for authentication using an external identity provider. */ @jakarta.annotation.Generated("com.microsoft.kiota") public class GetQueryParameters implements QueryParameters { diff --git a/src/main/java/com/microsoft/graph/generated/users/item/chats/item/messages/MessagesRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/users/item/chats/item/messages/MessagesRequestBuilder.java index 16dccb395db..2454517c34c 100644 --- a/src/main/java/com/microsoft/graph/generated/users/item/chats/item/messages/MessagesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/generated/users/item/chats/item/messages/MessagesRequestBuilder.java @@ -6,6 +6,7 @@ import com.microsoft.graph.users.item.chats.item.messages.count.CountRequestBuilder; import com.microsoft.graph.users.item.chats.item.messages.delta.DeltaRequestBuilder; import com.microsoft.graph.users.item.chats.item.messages.item.ChatMessageItemRequestBuilder; +import com.microsoft.graph.users.item.chats.item.messages.replywithquote.ReplyWithQuoteRequestBuilder; import com.microsoft.kiota.BaseRequestBuilder; import com.microsoft.kiota.BaseRequestConfiguration; import com.microsoft.kiota.HttpMethod; @@ -40,6 +41,14 @@ public CountRequestBuilder count() { public DeltaRequestBuilder delta() { return new DeltaRequestBuilder(pathParameters, requestAdapter); } + /** + * Provides operations to call the replyWithQuote method. + * @return a {@link ReplyWithQuoteRequestBuilder} + */ + @jakarta.annotation.Nonnull + public ReplyWithQuoteRequestBuilder replyWithQuote() { + return new ReplyWithQuoteRequestBuilder(pathParameters, requestAdapter); + } /** * Provides operations to manage the messages property of the microsoft.graph.chat entity. * @param chatMessageId The unique identifier of chatMessage diff --git a/src/main/java/com/microsoft/graph/generated/users/item/chats/item/messages/item/replies/RepliesRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/users/item/chats/item/messages/item/replies/RepliesRequestBuilder.java index 37d1ffb0cc5..3e550bf79c6 100644 --- a/src/main/java/com/microsoft/graph/generated/users/item/chats/item/messages/item/replies/RepliesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/generated/users/item/chats/item/messages/item/replies/RepliesRequestBuilder.java @@ -6,6 +6,7 @@ import com.microsoft.graph.users.item.chats.item.messages.item.replies.count.CountRequestBuilder; import com.microsoft.graph.users.item.chats.item.messages.item.replies.delta.DeltaRequestBuilder; import com.microsoft.graph.users.item.chats.item.messages.item.replies.item.ChatMessageItemRequestBuilder; +import com.microsoft.graph.users.item.chats.item.messages.item.replies.replywithquote.ReplyWithQuoteRequestBuilder; import com.microsoft.kiota.BaseRequestBuilder; import com.microsoft.kiota.BaseRequestConfiguration; import com.microsoft.kiota.HttpMethod; @@ -40,6 +41,14 @@ public CountRequestBuilder count() { public DeltaRequestBuilder delta() { return new DeltaRequestBuilder(pathParameters, requestAdapter); } + /** + * Provides operations to call the replyWithQuote method. + * @return a {@link ReplyWithQuoteRequestBuilder} + */ + @jakarta.annotation.Nonnull + public ReplyWithQuoteRequestBuilder replyWithQuote() { + return new ReplyWithQuoteRequestBuilder(pathParameters, requestAdapter); + } /** * Provides operations to manage the replies property of the microsoft.graph.chatMessage entity. * @param chatMessageId1 The unique identifier of chatMessage diff --git a/src/main/java/com/microsoft/graph/generated/users/item/chats/item/messages/item/replies/replywithquote/ReplyWithQuotePostRequestBody.java b/src/main/java/com/microsoft/graph/generated/users/item/chats/item/messages/item/replies/replywithquote/ReplyWithQuotePostRequestBody.java new file mode 100644 index 00000000000..5de25672b24 --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/users/item/chats/item/messages/item/replies/replywithquote/ReplyWithQuotePostRequestBody.java @@ -0,0 +1,125 @@ +package com.microsoft.graph.users.item.chats.item.messages.item.replies.replywithquote; + +import com.microsoft.graph.models.ChatMessage; +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 ReplyWithQuotePostRequestBody implements AdditionalDataHolder, BackedModel, Parsable { + /** + * Stores model information. + */ + @jakarta.annotation.Nonnull + protected BackingStore backingStore; + /** + * Instantiates a new {@link ReplyWithQuotePostRequestBody} and sets the default values. + */ + public ReplyWithQuotePostRequestBody() { + 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 ReplyWithQuotePostRequestBody} + */ + @jakarta.annotation.Nonnull + public static ReplyWithQuotePostRequestBody createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) { + Objects.requireNonNull(parseNode); + return new ReplyWithQuotePostRequestBody(); + } + /** + * 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>(2); + deserializerMap.put("messageIds", (n) -> { this.setMessageIds(n.getCollectionOfPrimitiveValues(String.class)); }); + deserializerMap.put("replyMessage", (n) -> { this.setReplyMessage(n.getObjectValue(ChatMessage::createFromDiscriminatorValue)); }); + return deserializerMap; + } + /** + * Gets the messageIds property value. The messageIds property + * @return a {@link java.util.List} + */ + @jakarta.annotation.Nullable + public java.util.List getMessageIds() { + return this.backingStore.get("messageIds"); + } + /** + * Gets the replyMessage property value. The replyMessage property + * @return a {@link ChatMessage} + */ + @jakarta.annotation.Nullable + public ChatMessage getReplyMessage() { + return this.backingStore.get("replyMessage"); + } + /** + * 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("messageIds", this.getMessageIds()); + writer.writeObjectValue("replyMessage", this.getReplyMessage()); + 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 messageIds property value. The messageIds property + * @param value Value to set for the messageIds property. + */ + public void setMessageIds(@jakarta.annotation.Nullable final java.util.List value) { + this.backingStore.set("messageIds", value); + } + /** + * Sets the replyMessage property value. The replyMessage property + * @param value Value to set for the replyMessage property. + */ + public void setReplyMessage(@jakarta.annotation.Nullable final ChatMessage value) { + this.backingStore.set("replyMessage", value); + } +} diff --git a/src/main/java/com/microsoft/graph/generated/users/item/chats/item/messages/item/replies/replywithquote/ReplyWithQuoteRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/users/item/chats/item/messages/item/replies/replywithquote/ReplyWithQuoteRequestBuilder.java new file mode 100644 index 00000000000..db52f1fd3ec --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/users/item/chats/item/messages/item/replies/replywithquote/ReplyWithQuoteRequestBuilder.java @@ -0,0 +1,105 @@ +package com.microsoft.graph.users.item.chats.item.messages.item.replies.replywithquote; + +import com.microsoft.graph.models.ChatMessage; +import com.microsoft.graph.models.odataerrors.ODataError; +import com.microsoft.kiota.BaseRequestBuilder; +import com.microsoft.kiota.BaseRequestConfiguration; +import com.microsoft.kiota.HttpMethod; +import com.microsoft.kiota.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 replyWithQuote method. + */ +@jakarta.annotation.Generated("com.microsoft.kiota") +public class ReplyWithQuoteRequestBuilder extends BaseRequestBuilder { + /** + * Instantiates a new {@link ReplyWithQuoteRequestBuilder} and sets the default values. + * @param pathParameters Path parameters for the request + * @param requestAdapter The request adapter to use to execute the requests. + */ + public ReplyWithQuoteRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/users/{user%2Did}/chats/{chat%2Did}/messages/{chatMessage%2Did}/replies/replyWithQuote", pathParameters); + } + /** + * Instantiates a new {@link ReplyWithQuoteRequestBuilder} 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 ReplyWithQuoteRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/users/{user%2Did}/chats/{chat%2Did}/messages/{chatMessage%2Did}/replies/replyWithQuote", rawUrl); + } + /** + * Reply with quote to a single chat message or multiple chat messages in a chat. + * @param body The request body + * @return a {@link ChatMessage} + * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here + */ + @jakarta.annotation.Nullable + public ChatMessage post(@jakarta.annotation.Nonnull final ReplyWithQuotePostRequestBody body) { + return post(body, null); + } + /** + * Reply with quote to a single chat message or multiple chat messages in a chat. + * @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 + */ + @jakarta.annotation.Nullable + public ChatMessage post(@jakarta.annotation.Nonnull final ReplyWithQuotePostRequestBody 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, ChatMessage::createFromDiscriminatorValue); + } + /** + * Reply with quote to a single chat message or multiple chat messages in a chat. + * @param body The request body + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final ReplyWithQuotePostRequestBody body) { + return toPostRequestInformation(body, null); + } + /** + * Reply with quote to a single chat message or multiple chat messages in a chat. + * @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 ReplyWithQuotePostRequestBody 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 ReplyWithQuoteRequestBuilder} + */ + @jakarta.annotation.Nonnull + public ReplyWithQuoteRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { + Objects.requireNonNull(rawUrl); + return new ReplyWithQuoteRequestBuilder(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/generated/users/item/chats/item/messages/replywithquote/ReplyWithQuotePostRequestBody.java b/src/main/java/com/microsoft/graph/generated/users/item/chats/item/messages/replywithquote/ReplyWithQuotePostRequestBody.java new file mode 100644 index 00000000000..bb19ec1cf17 --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/users/item/chats/item/messages/replywithquote/ReplyWithQuotePostRequestBody.java @@ -0,0 +1,125 @@ +package com.microsoft.graph.users.item.chats.item.messages.replywithquote; + +import com.microsoft.graph.models.ChatMessage; +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 ReplyWithQuotePostRequestBody implements AdditionalDataHolder, BackedModel, Parsable { + /** + * Stores model information. + */ + @jakarta.annotation.Nonnull + protected BackingStore backingStore; + /** + * Instantiates a new {@link ReplyWithQuotePostRequestBody} and sets the default values. + */ + public ReplyWithQuotePostRequestBody() { + 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 ReplyWithQuotePostRequestBody} + */ + @jakarta.annotation.Nonnull + public static ReplyWithQuotePostRequestBody createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) { + Objects.requireNonNull(parseNode); + return new ReplyWithQuotePostRequestBody(); + } + /** + * 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>(2); + deserializerMap.put("messageIds", (n) -> { this.setMessageIds(n.getCollectionOfPrimitiveValues(String.class)); }); + deserializerMap.put("replyMessage", (n) -> { this.setReplyMessage(n.getObjectValue(ChatMessage::createFromDiscriminatorValue)); }); + return deserializerMap; + } + /** + * Gets the messageIds property value. The messageIds property + * @return a {@link java.util.List} + */ + @jakarta.annotation.Nullable + public java.util.List getMessageIds() { + return this.backingStore.get("messageIds"); + } + /** + * Gets the replyMessage property value. The replyMessage property + * @return a {@link ChatMessage} + */ + @jakarta.annotation.Nullable + public ChatMessage getReplyMessage() { + return this.backingStore.get("replyMessage"); + } + /** + * 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("messageIds", this.getMessageIds()); + writer.writeObjectValue("replyMessage", this.getReplyMessage()); + 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 messageIds property value. The messageIds property + * @param value Value to set for the messageIds property. + */ + public void setMessageIds(@jakarta.annotation.Nullable final java.util.List value) { + this.backingStore.set("messageIds", value); + } + /** + * Sets the replyMessage property value. The replyMessage property + * @param value Value to set for the replyMessage property. + */ + public void setReplyMessage(@jakarta.annotation.Nullable final ChatMessage value) { + this.backingStore.set("replyMessage", value); + } +} diff --git a/src/main/java/com/microsoft/graph/generated/users/item/chats/item/messages/replywithquote/ReplyWithQuoteRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/users/item/chats/item/messages/replywithquote/ReplyWithQuoteRequestBuilder.java new file mode 100644 index 00000000000..2789589b3c1 --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/users/item/chats/item/messages/replywithquote/ReplyWithQuoteRequestBuilder.java @@ -0,0 +1,105 @@ +package com.microsoft.graph.users.item.chats.item.messages.replywithquote; + +import com.microsoft.graph.models.ChatMessage; +import com.microsoft.graph.models.odataerrors.ODataError; +import com.microsoft.kiota.BaseRequestBuilder; +import com.microsoft.kiota.BaseRequestConfiguration; +import com.microsoft.kiota.HttpMethod; +import com.microsoft.kiota.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 replyWithQuote method. + */ +@jakarta.annotation.Generated("com.microsoft.kiota") +public class ReplyWithQuoteRequestBuilder extends BaseRequestBuilder { + /** + * Instantiates a new {@link ReplyWithQuoteRequestBuilder} and sets the default values. + * @param pathParameters Path parameters for the request + * @param requestAdapter The request adapter to use to execute the requests. + */ + public ReplyWithQuoteRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/users/{user%2Did}/chats/{chat%2Did}/messages/replyWithQuote", pathParameters); + } + /** + * Instantiates a new {@link ReplyWithQuoteRequestBuilder} 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 ReplyWithQuoteRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/users/{user%2Did}/chats/{chat%2Did}/messages/replyWithQuote", rawUrl); + } + /** + * Reply with quote to a single chat message or multiple chat messages in a chat. + * @param body The request body + * @return a {@link ChatMessage} + * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here + */ + @jakarta.annotation.Nullable + public ChatMessage post(@jakarta.annotation.Nonnull final ReplyWithQuotePostRequestBody body) { + return post(body, null); + } + /** + * Reply with quote to a single chat message or multiple chat messages in a chat. + * @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 + */ + @jakarta.annotation.Nullable + public ChatMessage post(@jakarta.annotation.Nonnull final ReplyWithQuotePostRequestBody 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, ChatMessage::createFromDiscriminatorValue); + } + /** + * Reply with quote to a single chat message or multiple chat messages in a chat. + * @param body The request body + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final ReplyWithQuotePostRequestBody body) { + return toPostRequestInformation(body, null); + } + /** + * Reply with quote to a single chat message or multiple chat messages in a chat. + * @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 ReplyWithQuotePostRequestBody 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 ReplyWithQuoteRequestBuilder} + */ + @jakarta.annotation.Nonnull + public ReplyWithQuoteRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { + Objects.requireNonNull(rawUrl); + return new ReplyWithQuoteRequestBuilder(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/generated/users/item/insights/shared/SharedRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/users/item/insights/shared/SharedRequestBuilder.java index a7c916bcb30..d814d49e02b 100644 --- a/src/main/java/com/microsoft/graph/generated/users/item/insights/shared/SharedRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/generated/users/item/insights/shared/SharedRequestBuilder.java @@ -26,7 +26,10 @@ public class SharedRequestBuilder extends BaseRequestBuilder { /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * This API is deprecated and will stop returning data after January, 2028. as of 2026-01/Removal on 2026-01-28 and will be removed 2028-01-01 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -35,8 +38,11 @@ public CountRequestBuilder count() { * Provides operations to manage the shared property of the microsoft.graph.officeGraphInsights entity. * @param sharedInsightId The unique identifier of sharedInsight * @return a {@link SharedInsightItemRequestBuilder} + * @deprecated + * This API is deprecated and will stop returning data after January, 2028. as of 2026-01/Removal on 2026-01-28 and will be removed 2028-01-01 */ @jakarta.annotation.Nonnull + @Deprecated public SharedInsightItemRequestBuilder bySharedInsightId(@jakarta.annotation.Nonnull final String sharedInsightId) { Objects.requireNonNull(sharedInsightId); final HashMap urlTplParams = new HashMap(this.pathParameters); @@ -63,8 +69,11 @@ public SharedRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @ja * Calculated relationship that identifies documents shared with or by the user. This includes URLs, file attachments, and reference attachments to OneDrive for work or school and SharePoint files found in Outlook messages and meetings. This also includes URLs and reference attachments to Teams conversations. Ordered by recency of share. * @return a {@link SharedInsightCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * This API is deprecated and will stop returning data after January, 2028. as of 2026-01/Removal on 2026-01-28 and will be removed 2028-01-01 */ @jakarta.annotation.Nullable + @Deprecated public SharedInsightCollectionResponse get() { return get(null); } @@ -73,8 +82,11 @@ public SharedInsightCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link SharedInsightCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * This API is deprecated and will stop returning data after January, 2028. as of 2026-01/Removal on 2026-01-28 and will be removed 2028-01-01 */ @jakarta.annotation.Nullable + @Deprecated public SharedInsightCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -86,8 +98,11 @@ public SharedInsightCollectionResponse get(@jakarta.annotation.Nullable final ja * @param body The request body * @return a {@link SharedInsight} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * This API is deprecated and will stop returning data after January, 2028. as of 2026-01/Removal on 2026-01-28 and will be removed 2028-01-01 */ @jakarta.annotation.Nullable + @Deprecated public SharedInsight post(@jakarta.annotation.Nonnull final SharedInsight body) { return post(body, null); } @@ -97,8 +112,11 @@ public SharedInsight post(@jakarta.annotation.Nonnull final SharedInsight body) * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link SharedInsight} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * This API is deprecated and will stop returning data after January, 2028. as of 2026-01/Removal on 2026-01-28 and will be removed 2028-01-01 */ @jakarta.annotation.Nullable + @Deprecated public SharedInsight post(@jakarta.annotation.Nonnull final SharedInsight body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -109,8 +127,11 @@ public SharedInsight post(@jakarta.annotation.Nonnull final SharedInsight body, /** * Calculated relationship that identifies documents shared with or by the user. This includes URLs, file attachments, and reference attachments to OneDrive for work or school and SharePoint files found in Outlook messages and meetings. This also includes URLs and reference attachments to Teams conversations. Ordered by recency of share. * @return a {@link RequestInformation} + * @deprecated + * This API is deprecated and will stop returning data after January, 2028. as of 2026-01/Removal on 2026-01-28 and will be removed 2028-01-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -118,8 +139,11 @@ public RequestInformation toGetRequestInformation() { * Calculated relationship that identifies documents shared with or by the user. This includes URLs, file attachments, and reference attachments to OneDrive for work or school and SharePoint files found in Outlook messages and meetings. This also includes URLs and reference attachments to Teams conversations. Ordered by recency of share. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * This API is deprecated and will stop returning data after January, 2028. as of 2026-01/Removal on 2026-01-28 and will be removed 2028-01-01 */ @jakarta.annotation.Nonnull + @Deprecated 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); @@ -130,8 +154,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Create new navigation property to shared for users * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * This API is deprecated and will stop returning data after January, 2028. as of 2026-01/Removal on 2026-01-28 and will be removed 2028-01-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final SharedInsight body) { return toPostRequestInformation(body, null); } @@ -140,8 +167,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 + * This API is deprecated and will stop returning data after January, 2028. as of 2026-01/Removal on 2026-01-28 and will be removed 2028-01-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final SharedInsight body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -154,8 +184,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 SharedRequestBuilder} + * @deprecated + * This API is deprecated and will stop returning data after January, 2028. as of 2026-01/Removal on 2026-01-28 and will be removed 2028-01-01 */ @jakarta.annotation.Nonnull + @Deprecated public SharedRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new SharedRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/generated/users/item/insights/shared/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/users/item/insights/shared/count/CountRequestBuilder.java index 7e98f191389..7ca23756914 100644 --- a/src/main/java/com/microsoft/graph/generated/users/item/insights/shared/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/generated/users/item/insights/shared/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * This API is deprecated and will stop returning data after January, 2028. as of 2026-01/Removal on 2026-01-28 and will be removed 2028-01-01 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @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 + * @deprecated + * This API is deprecated and will stop returning data after January, 2028. as of 2026-01/Removal on 2026-01-28 and will be removed 2028-01-01 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * This API is deprecated and will stop returning data after January, 2028. as of 2026-01/Removal on 2026-01-28 and will be removed 2028-01-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * This API is deprecated and will stop returning data after January, 2028. as of 2026-01/Removal on 2026-01-28 and will be removed 2028-01-01 */ @jakarta.annotation.Nonnull + @Deprecated 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); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable 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 CountRequestBuilder} + * @deprecated + * This API is deprecated and will stop returning data after January, 2028. as of 2026-01/Removal on 2026-01-28 and will be removed 2028-01-01 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/generated/users/item/insights/shared/item/SharedInsightItemRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/users/item/insights/shared/item/SharedInsightItemRequestBuilder.java index bb4227a5fdf..0be9c8bca94 100644 --- a/src/main/java/com/microsoft/graph/generated/users/item/insights/shared/item/SharedInsightItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/generated/users/item/insights/shared/item/SharedInsightItemRequestBuilder.java @@ -25,7 +25,10 @@ public class SharedInsightItemRequestBuilder extends BaseRequestBuilder { /** * Provides operations to manage the lastSharedMethod property of the microsoft.graph.sharedInsight entity. * @return a {@link LastSharedMethodRequestBuilder} + * @deprecated + * This API is deprecated and will stop returning data after January, 2028. as of 2026-01/Removal on 2026-01-28 and will be removed 2028-01-01 */ + @Deprecated @jakarta.annotation.Nonnull public LastSharedMethodRequestBuilder lastSharedMethod() { return new LastSharedMethodRequestBuilder(pathParameters, requestAdapter); @@ -33,7 +36,10 @@ public LastSharedMethodRequestBuilder lastSharedMethod() { /** * Provides operations to manage the resource property of the microsoft.graph.sharedInsight entity. * @return a {@link ResourceRequestBuilder} + * @deprecated + * This API is deprecated and will stop returning data after January, 2028. as of 2026-01/Removal on 2026-01-28 and will be removed 2028-01-01 */ + @Deprecated @jakarta.annotation.Nonnull public ResourceRequestBuilder resource() { return new ResourceRequestBuilder(pathParameters, requestAdapter); @@ -57,7 +63,10 @@ public SharedInsightItemRequestBuilder(@jakarta.annotation.Nonnull final String /** * Delete navigation property shared for users * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * This API is deprecated and will stop returning data after January, 2028. as of 2026-01/Removal on 2026-01-28 and will be removed 2028-01-01 */ + @Deprecated public void delete() { delete(null); } @@ -65,7 +74,10 @@ public void delete() { * Delete navigation property shared for users * @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 + * This API is deprecated and will stop returning data after January, 2028. as of 2026-01/Removal on 2026-01-28 and will be removed 2028-01-01 */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -76,8 +88,11 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * Calculated relationship that identifies documents shared with or by the user. This includes URLs, file attachments, and reference attachments to OneDrive for work or school and SharePoint files found in Outlook messages and meetings. This also includes URLs and reference attachments to Teams conversations. Ordered by recency of share. * @return a {@link SharedInsight} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * This API is deprecated and will stop returning data after January, 2028. as of 2026-01/Removal on 2026-01-28 and will be removed 2028-01-01 */ @jakarta.annotation.Nullable + @Deprecated public SharedInsight get() { return get(null); } @@ -86,8 +101,11 @@ public SharedInsight get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link SharedInsight} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * This API is deprecated and will stop returning data after January, 2028. as of 2026-01/Removal on 2026-01-28 and will be removed 2028-01-01 */ @jakarta.annotation.Nullable + @Deprecated public SharedInsight get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -99,8 +117,11 @@ public SharedInsight get(@jakarta.annotation.Nullable final java.util.function.C * @param body The request body * @return a {@link SharedInsight} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * This API is deprecated and will stop returning data after January, 2028. as of 2026-01/Removal on 2026-01-28 and will be removed 2028-01-01 */ @jakarta.annotation.Nullable + @Deprecated public SharedInsight patch(@jakarta.annotation.Nonnull final SharedInsight body) { return patch(body, null); } @@ -110,8 +131,11 @@ public SharedInsight patch(@jakarta.annotation.Nonnull final SharedInsight body) * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link SharedInsight} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * This API is deprecated and will stop returning data after January, 2028. as of 2026-01/Removal on 2026-01-28 and will be removed 2028-01-01 */ @jakarta.annotation.Nullable + @Deprecated public SharedInsight patch(@jakarta.annotation.Nonnull final SharedInsight body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); @@ -122,8 +146,11 @@ public SharedInsight patch(@jakarta.annotation.Nonnull final SharedInsight body, /** * Delete navigation property shared for users * @return a {@link RequestInformation} + * @deprecated + * This API is deprecated and will stop returning data after January, 2028. as of 2026-01/Removal on 2026-01-28 and will be removed 2028-01-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -131,8 +158,11 @@ public RequestInformation toDeleteRequestInformation() { * Delete navigation property shared for users * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * This API is deprecated and will stop returning data after January, 2028. as of 2026-01/Removal on 2026-01-28 and will be removed 2028-01-01 */ @jakarta.annotation.Nonnull + @Deprecated 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); @@ -142,8 +172,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl /** * Calculated relationship that identifies documents shared with or by the user. This includes URLs, file attachments, and reference attachments to OneDrive for work or school and SharePoint files found in Outlook messages and meetings. This also includes URLs and reference attachments to Teams conversations. Ordered by recency of share. * @return a {@link RequestInformation} + * @deprecated + * This API is deprecated and will stop returning data after January, 2028. as of 2026-01/Removal on 2026-01-28 and will be removed 2028-01-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -151,8 +184,11 @@ public RequestInformation toGetRequestInformation() { * Calculated relationship that identifies documents shared with or by the user. This includes URLs, file attachments, and reference attachments to OneDrive for work or school and SharePoint files found in Outlook messages and meetings. This also includes URLs and reference attachments to Teams conversations. Ordered by recency of share. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * This API is deprecated and will stop returning data after January, 2028. as of 2026-01/Removal on 2026-01-28 and will be removed 2028-01-01 */ @jakarta.annotation.Nonnull + @Deprecated 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); @@ -163,8 +199,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Update the navigation property shared in users * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * This API is deprecated and will stop returning data after January, 2028. as of 2026-01/Removal on 2026-01-28 and will be removed 2028-01-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final SharedInsight body) { return toPatchRequestInformation(body, null); } @@ -173,8 +212,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * This API is deprecated and will stop returning data after January, 2028. as of 2026-01/Removal on 2026-01-28 and will be removed 2028-01-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final SharedInsight body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); @@ -187,8 +229,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * 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 SharedInsightItemRequestBuilder} + * @deprecated + * This API is deprecated and will stop returning data after January, 2028. as of 2026-01/Removal on 2026-01-28 and will be removed 2028-01-01 */ @jakarta.annotation.Nonnull + @Deprecated public SharedInsightItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new SharedInsightItemRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/generated/users/item/insights/shared/item/lastsharedmethod/LastSharedMethodRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/users/item/insights/shared/item/lastsharedmethod/LastSharedMethodRequestBuilder.java index 3866e324e1d..facbf4af871 100644 --- a/src/main/java/com/microsoft/graph/generated/users/item/insights/shared/item/lastsharedmethod/LastSharedMethodRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/generated/users/item/insights/shared/item/lastsharedmethod/LastSharedMethodRequestBuilder.java @@ -40,8 +40,11 @@ public LastSharedMethodRequestBuilder(@jakarta.annotation.Nonnull final String r * Get lastSharedMethod from users * @return a {@link Entity} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * This API is deprecated and will stop returning data after January, 2028. as of 2026-01/Removal on 2026-01-28 and will be removed 2028-01-01 */ @jakarta.annotation.Nullable + @Deprecated public Entity get() { return get(null); } @@ -50,8 +53,11 @@ public Entity get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Entity} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * This API is deprecated and will stop returning data after January, 2028. as of 2026-01/Removal on 2026-01-28 and will be removed 2028-01-01 */ @jakarta.annotation.Nullable + @Deprecated public Entity get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -61,8 +67,11 @@ public Entity get(@jakarta.annotation.Nullable final java.util.function.Consumer /** * Get lastSharedMethod from users * @return a {@link RequestInformation} + * @deprecated + * This API is deprecated and will stop returning data after January, 2028. as of 2026-01/Removal on 2026-01-28 and will be removed 2028-01-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -70,8 +79,11 @@ public RequestInformation toGetRequestInformation() { * Get lastSharedMethod from users * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * This API is deprecated and will stop returning data after January, 2028. as of 2026-01/Removal on 2026-01-28 and will be removed 2028-01-01 */ @jakarta.annotation.Nonnull + @Deprecated 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); @@ -82,8 +94,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable 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 LastSharedMethodRequestBuilder} + * @deprecated + * This API is deprecated and will stop returning data after January, 2028. as of 2026-01/Removal on 2026-01-28 and will be removed 2028-01-01 */ @jakarta.annotation.Nonnull + @Deprecated public LastSharedMethodRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new LastSharedMethodRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/generated/users/item/insights/shared/item/resource/ResourceRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/users/item/insights/shared/item/resource/ResourceRequestBuilder.java index ed8e3faa671..20214deaf02 100644 --- a/src/main/java/com/microsoft/graph/generated/users/item/insights/shared/item/resource/ResourceRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/generated/users/item/insights/shared/item/resource/ResourceRequestBuilder.java @@ -40,8 +40,11 @@ public ResourceRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @ * Used for navigating to the item that was shared. For file attachments, the type is fileAttachment. For linked attachments, the type is driveItem. * @return a {@link Entity} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * This API is deprecated and will stop returning data after January, 2028. as of 2026-01/Removal on 2026-01-28 and will be removed 2028-01-01 */ @jakarta.annotation.Nullable + @Deprecated public Entity get() { return get(null); } @@ -50,8 +53,11 @@ public Entity get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Entity} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * This API is deprecated and will stop returning data after January, 2028. as of 2026-01/Removal on 2026-01-28 and will be removed 2028-01-01 */ @jakarta.annotation.Nullable + @Deprecated public Entity get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -61,8 +67,11 @@ public Entity get(@jakarta.annotation.Nullable final java.util.function.Consumer /** * Used for navigating to the item that was shared. For file attachments, the type is fileAttachment. For linked attachments, the type is driveItem. * @return a {@link RequestInformation} + * @deprecated + * This API is deprecated and will stop returning data after January, 2028. as of 2026-01/Removal on 2026-01-28 and will be removed 2028-01-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -70,8 +79,11 @@ public RequestInformation toGetRequestInformation() { * Used for navigating to the item that was shared. For file attachments, the type is fileAttachment. For linked attachments, the type is driveItem. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * This API is deprecated and will stop returning data after January, 2028. as of 2026-01/Removal on 2026-01-28 and will be removed 2028-01-01 */ @jakarta.annotation.Nonnull + @Deprecated 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); @@ -82,8 +94,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable 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 ResourceRequestBuilder} + * @deprecated + * This API is deprecated and will stop returning data after January, 2028. as of 2026-01/Removal on 2026-01-28 and will be removed 2028-01-01 */ @jakarta.annotation.Nonnull + @Deprecated public ResourceRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new ResourceRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/generated/users/item/insights/used/UsedRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/users/item/insights/used/UsedRequestBuilder.java index 937659babdc..369ab0cd491 100644 --- a/src/main/java/com/microsoft/graph/generated/users/item/insights/used/UsedRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/generated/users/item/insights/used/UsedRequestBuilder.java @@ -26,7 +26,10 @@ public class UsedRequestBuilder extends BaseRequestBuilder { /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * This API is deprecated and will stop returning data after January, 2028. as of 2026-01/Removal on 2026-01-28 and will be removed 2028-01-01 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -35,8 +38,11 @@ public CountRequestBuilder count() { * Provides operations to manage the used property of the microsoft.graph.officeGraphInsights entity. * @param usedInsightId The unique identifier of usedInsight * @return a {@link UsedInsightItemRequestBuilder} + * @deprecated + * This API is deprecated and will stop returning data after January, 2028. as of 2026-01/Removal on 2026-01-28 and will be removed 2028-01-01 */ @jakarta.annotation.Nonnull + @Deprecated public UsedInsightItemRequestBuilder byUsedInsightId(@jakarta.annotation.Nonnull final String usedInsightId) { Objects.requireNonNull(usedInsightId); final HashMap urlTplParams = new HashMap(this.pathParameters); @@ -63,8 +69,11 @@ public UsedRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jaka * Calculated relationship that identifies the latest documents viewed or modified by a user, including OneDrive for work or school and SharePoint documents, ranked by recency of use. * @return a {@link UsedInsightCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * This API is deprecated and will stop returning data after January, 2028. as of 2026-01/Removal on 2026-01-28 and will be removed 2028-01-01 */ @jakarta.annotation.Nullable + @Deprecated public UsedInsightCollectionResponse get() { return get(null); } @@ -73,8 +82,11 @@ public UsedInsightCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link UsedInsightCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * This API is deprecated and will stop returning data after January, 2028. as of 2026-01/Removal on 2026-01-28 and will be removed 2028-01-01 */ @jakarta.annotation.Nullable + @Deprecated public UsedInsightCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -86,8 +98,11 @@ public UsedInsightCollectionResponse get(@jakarta.annotation.Nullable final java * @param body The request body * @return a {@link UsedInsight} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * This API is deprecated and will stop returning data after January, 2028. as of 2026-01/Removal on 2026-01-28 and will be removed 2028-01-01 */ @jakarta.annotation.Nullable + @Deprecated public UsedInsight post(@jakarta.annotation.Nonnull final UsedInsight body) { return post(body, null); } @@ -97,8 +112,11 @@ public UsedInsight post(@jakarta.annotation.Nonnull final UsedInsight body) { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link UsedInsight} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * This API is deprecated and will stop returning data after January, 2028. as of 2026-01/Removal on 2026-01-28 and will be removed 2028-01-01 */ @jakarta.annotation.Nullable + @Deprecated public UsedInsight post(@jakarta.annotation.Nonnull final UsedInsight body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -109,8 +127,11 @@ public UsedInsight post(@jakarta.annotation.Nonnull final UsedInsight body, @jak /** * Calculated relationship that identifies the latest documents viewed or modified by a user, including OneDrive for work or school and SharePoint documents, ranked by recency of use. * @return a {@link RequestInformation} + * @deprecated + * This API is deprecated and will stop returning data after January, 2028. as of 2026-01/Removal on 2026-01-28 and will be removed 2028-01-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -118,8 +139,11 @@ public RequestInformation toGetRequestInformation() { * Calculated relationship that identifies the latest documents viewed or modified by a user, including OneDrive for work or school and SharePoint documents, ranked by recency of use. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * This API is deprecated and will stop returning data after January, 2028. as of 2026-01/Removal on 2026-01-28 and will be removed 2028-01-01 */ @jakarta.annotation.Nonnull + @Deprecated 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); @@ -130,8 +154,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Create new navigation property to used for users * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * This API is deprecated and will stop returning data after January, 2028. as of 2026-01/Removal on 2026-01-28 and will be removed 2028-01-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final UsedInsight body) { return toPostRequestInformation(body, null); } @@ -140,8 +167,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 + * This API is deprecated and will stop returning data after January, 2028. as of 2026-01/Removal on 2026-01-28 and will be removed 2028-01-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final UsedInsight body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -154,8 +184,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 UsedRequestBuilder} + * @deprecated + * This API is deprecated and will stop returning data after January, 2028. as of 2026-01/Removal on 2026-01-28 and will be removed 2028-01-01 */ @jakarta.annotation.Nonnull + @Deprecated public UsedRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new UsedRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/generated/users/item/insights/used/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/users/item/insights/used/count/CountRequestBuilder.java index 2ddfda0fef8..753fafe6c3e 100644 --- a/src/main/java/com/microsoft/graph/generated/users/item/insights/used/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/generated/users/item/insights/used/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * This API is deprecated and will stop returning data after January, 2028. as of 2026-01/Removal on 2026-01-28 and will be removed 2028-01-01 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @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 + * @deprecated + * This API is deprecated and will stop returning data after January, 2028. as of 2026-01/Removal on 2026-01-28 and will be removed 2028-01-01 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * This API is deprecated and will stop returning data after January, 2028. as of 2026-01/Removal on 2026-01-28 and will be removed 2028-01-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * This API is deprecated and will stop returning data after January, 2028. as of 2026-01/Removal on 2026-01-28 and will be removed 2028-01-01 */ @jakarta.annotation.Nonnull + @Deprecated 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); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable 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 CountRequestBuilder} + * @deprecated + * This API is deprecated and will stop returning data after January, 2028. as of 2026-01/Removal on 2026-01-28 and will be removed 2028-01-01 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/generated/users/item/insights/used/item/UsedInsightItemRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/users/item/insights/used/item/UsedInsightItemRequestBuilder.java index 6255a495496..2c6936de53e 100644 --- a/src/main/java/com/microsoft/graph/generated/users/item/insights/used/item/UsedInsightItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/generated/users/item/insights/used/item/UsedInsightItemRequestBuilder.java @@ -24,7 +24,10 @@ public class UsedInsightItemRequestBuilder extends BaseRequestBuilder { /** * Provides operations to manage the resource property of the microsoft.graph.usedInsight entity. * @return a {@link ResourceRequestBuilder} + * @deprecated + * This API is deprecated and will stop returning data after January, 2028. as of 2026-01/Removal on 2026-01-28 and will be removed 2028-01-01 */ + @Deprecated @jakarta.annotation.Nonnull public ResourceRequestBuilder resource() { return new ResourceRequestBuilder(pathParameters, requestAdapter); @@ -48,7 +51,10 @@ public UsedInsightItemRequestBuilder(@jakarta.annotation.Nonnull final String ra /** * Delete navigation property used for users * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * This API is deprecated and will stop returning data after January, 2028. as of 2026-01/Removal on 2026-01-28 and will be removed 2028-01-01 */ + @Deprecated public void delete() { delete(null); } @@ -56,7 +62,10 @@ public void delete() { * Delete navigation property used for users * @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 + * This API is deprecated and will stop returning data after January, 2028. as of 2026-01/Removal on 2026-01-28 and will be removed 2028-01-01 */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -67,8 +76,11 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * Calculated relationship that identifies the latest documents viewed or modified by a user, including OneDrive for work or school and SharePoint documents, ranked by recency of use. * @return a {@link UsedInsight} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * This API is deprecated and will stop returning data after January, 2028. as of 2026-01/Removal on 2026-01-28 and will be removed 2028-01-01 */ @jakarta.annotation.Nullable + @Deprecated public UsedInsight get() { return get(null); } @@ -77,8 +89,11 @@ public UsedInsight get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link UsedInsight} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * This API is deprecated and will stop returning data after January, 2028. as of 2026-01/Removal on 2026-01-28 and will be removed 2028-01-01 */ @jakarta.annotation.Nullable + @Deprecated public UsedInsight get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -90,8 +105,11 @@ public UsedInsight get(@jakarta.annotation.Nullable final java.util.function.Con * @param body The request body * @return a {@link UsedInsight} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * This API is deprecated and will stop returning data after January, 2028. as of 2026-01/Removal on 2026-01-28 and will be removed 2028-01-01 */ @jakarta.annotation.Nullable + @Deprecated public UsedInsight patch(@jakarta.annotation.Nonnull final UsedInsight body) { return patch(body, null); } @@ -101,8 +119,11 @@ public UsedInsight patch(@jakarta.annotation.Nonnull final UsedInsight body) { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link UsedInsight} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * This API is deprecated and will stop returning data after January, 2028. as of 2026-01/Removal on 2026-01-28 and will be removed 2028-01-01 */ @jakarta.annotation.Nullable + @Deprecated public UsedInsight patch(@jakarta.annotation.Nonnull final UsedInsight body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); @@ -113,8 +134,11 @@ public UsedInsight patch(@jakarta.annotation.Nonnull final UsedInsight body, @ja /** * Delete navigation property used for users * @return a {@link RequestInformation} + * @deprecated + * This API is deprecated and will stop returning data after January, 2028. as of 2026-01/Removal on 2026-01-28 and will be removed 2028-01-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -122,8 +146,11 @@ public RequestInformation toDeleteRequestInformation() { * Delete navigation property used for users * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * This API is deprecated and will stop returning data after January, 2028. as of 2026-01/Removal on 2026-01-28 and will be removed 2028-01-01 */ @jakarta.annotation.Nonnull + @Deprecated 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); @@ -133,8 +160,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl /** * Calculated relationship that identifies the latest documents viewed or modified by a user, including OneDrive for work or school and SharePoint documents, ranked by recency of use. * @return a {@link RequestInformation} + * @deprecated + * This API is deprecated and will stop returning data after January, 2028. as of 2026-01/Removal on 2026-01-28 and will be removed 2028-01-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -142,8 +172,11 @@ public RequestInformation toGetRequestInformation() { * Calculated relationship that identifies the latest documents viewed or modified by a user, including OneDrive for work or school and SharePoint documents, ranked by recency of use. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * This API is deprecated and will stop returning data after January, 2028. as of 2026-01/Removal on 2026-01-28 and will be removed 2028-01-01 */ @jakarta.annotation.Nonnull + @Deprecated 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); @@ -154,8 +187,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Update the navigation property used in users * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * This API is deprecated and will stop returning data after January, 2028. as of 2026-01/Removal on 2026-01-28 and will be removed 2028-01-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final UsedInsight body) { return toPatchRequestInformation(body, null); } @@ -164,8 +200,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * This API is deprecated and will stop returning data after January, 2028. as of 2026-01/Removal on 2026-01-28 and will be removed 2028-01-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final UsedInsight body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); @@ -178,8 +217,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * 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 UsedInsightItemRequestBuilder} + * @deprecated + * This API is deprecated and will stop returning data after January, 2028. as of 2026-01/Removal on 2026-01-28 and will be removed 2028-01-01 */ @jakarta.annotation.Nonnull + @Deprecated public UsedInsightItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new UsedInsightItemRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/generated/users/item/insights/used/item/resource/ResourceRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/users/item/insights/used/item/resource/ResourceRequestBuilder.java index 4df08cbd857..be76e7622cf 100644 --- a/src/main/java/com/microsoft/graph/generated/users/item/insights/used/item/resource/ResourceRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/generated/users/item/insights/used/item/resource/ResourceRequestBuilder.java @@ -40,8 +40,11 @@ public ResourceRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @ * Used for navigating to the item that was used. For file attachments, the type is fileAttachment. For linked attachments, the type is driveItem. * @return a {@link Entity} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * This API is deprecated and will stop returning data after January, 2028. as of 2026-01/Removal on 2026-01-28 and will be removed 2028-01-01 */ @jakarta.annotation.Nullable + @Deprecated public Entity get() { return get(null); } @@ -50,8 +53,11 @@ public Entity get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Entity} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * This API is deprecated and will stop returning data after January, 2028. as of 2026-01/Removal on 2026-01-28 and will be removed 2028-01-01 */ @jakarta.annotation.Nullable + @Deprecated public Entity get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -61,8 +67,11 @@ public Entity get(@jakarta.annotation.Nullable final java.util.function.Consumer /** * Used for navigating to the item that was used. For file attachments, the type is fileAttachment. For linked attachments, the type is driveItem. * @return a {@link RequestInformation} + * @deprecated + * This API is deprecated and will stop returning data after January, 2028. as of 2026-01/Removal on 2026-01-28 and will be removed 2028-01-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -70,8 +79,11 @@ public RequestInformation toGetRequestInformation() { * Used for navigating to the item that was used. For file attachments, the type is fileAttachment. For linked attachments, the type is driveItem. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * This API is deprecated and will stop returning data after January, 2028. as of 2026-01/Removal on 2026-01-28 and will be removed 2028-01-01 */ @jakarta.annotation.Nonnull + @Deprecated 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); @@ -82,8 +94,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable 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 ResourceRequestBuilder} + * @deprecated + * This API is deprecated and will stop returning data after January, 2028. as of 2026-01/Removal on 2026-01-28 and will be removed 2028-01-01 */ @jakarta.annotation.Nonnull + @Deprecated public ResourceRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new ResourceRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/generated/users/item/joinedteams/item/channels/item/messages/MessagesRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/users/item/joinedteams/item/channels/item/messages/MessagesRequestBuilder.java index d0fa8ee419d..97e448a5022 100644 --- a/src/main/java/com/microsoft/graph/generated/users/item/joinedteams/item/channels/item/messages/MessagesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/generated/users/item/joinedteams/item/channels/item/messages/MessagesRequestBuilder.java @@ -6,6 +6,7 @@ import com.microsoft.graph.users.item.joinedteams.item.channels.item.messages.count.CountRequestBuilder; import com.microsoft.graph.users.item.joinedteams.item.channels.item.messages.delta.DeltaRequestBuilder; import com.microsoft.graph.users.item.joinedteams.item.channels.item.messages.item.ChatMessageItemRequestBuilder; +import com.microsoft.graph.users.item.joinedteams.item.channels.item.messages.replywithquote.ReplyWithQuoteRequestBuilder; import com.microsoft.kiota.BaseRequestBuilder; import com.microsoft.kiota.BaseRequestConfiguration; import com.microsoft.kiota.HttpMethod; @@ -40,6 +41,14 @@ public CountRequestBuilder count() { public DeltaRequestBuilder delta() { return new DeltaRequestBuilder(pathParameters, requestAdapter); } + /** + * Provides operations to call the replyWithQuote method. + * @return a {@link ReplyWithQuoteRequestBuilder} + */ + @jakarta.annotation.Nonnull + public ReplyWithQuoteRequestBuilder replyWithQuote() { + return new ReplyWithQuoteRequestBuilder(pathParameters, requestAdapter); + } /** * Provides operations to manage the messages property of the microsoft.graph.channel entity. * @param chatMessageId The unique identifier of chatMessage diff --git a/src/main/java/com/microsoft/graph/generated/users/item/joinedteams/item/channels/item/messages/item/replies/RepliesRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/users/item/joinedteams/item/channels/item/messages/item/replies/RepliesRequestBuilder.java index e8a7c12c9e9..fe786a2b10e 100644 --- a/src/main/java/com/microsoft/graph/generated/users/item/joinedteams/item/channels/item/messages/item/replies/RepliesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/generated/users/item/joinedteams/item/channels/item/messages/item/replies/RepliesRequestBuilder.java @@ -6,6 +6,7 @@ import com.microsoft.graph.users.item.joinedteams.item.channels.item.messages.item.replies.count.CountRequestBuilder; import com.microsoft.graph.users.item.joinedteams.item.channels.item.messages.item.replies.delta.DeltaRequestBuilder; import com.microsoft.graph.users.item.joinedteams.item.channels.item.messages.item.replies.item.ChatMessageItemRequestBuilder; +import com.microsoft.graph.users.item.joinedteams.item.channels.item.messages.item.replies.replywithquote.ReplyWithQuoteRequestBuilder; import com.microsoft.kiota.BaseRequestBuilder; import com.microsoft.kiota.BaseRequestConfiguration; import com.microsoft.kiota.HttpMethod; @@ -40,6 +41,14 @@ public CountRequestBuilder count() { public DeltaRequestBuilder delta() { return new DeltaRequestBuilder(pathParameters, requestAdapter); } + /** + * Provides operations to call the replyWithQuote method. + * @return a {@link ReplyWithQuoteRequestBuilder} + */ + @jakarta.annotation.Nonnull + public ReplyWithQuoteRequestBuilder replyWithQuote() { + return new ReplyWithQuoteRequestBuilder(pathParameters, requestAdapter); + } /** * Provides operations to manage the replies property of the microsoft.graph.chatMessage entity. * @param chatMessageId1 The unique identifier of chatMessage diff --git a/src/main/java/com/microsoft/graph/generated/users/item/joinedteams/item/channels/item/messages/item/replies/replywithquote/ReplyWithQuotePostRequestBody.java b/src/main/java/com/microsoft/graph/generated/users/item/joinedteams/item/channels/item/messages/item/replies/replywithquote/ReplyWithQuotePostRequestBody.java new file mode 100644 index 00000000000..0290225b98e --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/users/item/joinedteams/item/channels/item/messages/item/replies/replywithquote/ReplyWithQuotePostRequestBody.java @@ -0,0 +1,125 @@ +package com.microsoft.graph.users.item.joinedteams.item.channels.item.messages.item.replies.replywithquote; + +import com.microsoft.graph.models.ChatMessage; +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 ReplyWithQuotePostRequestBody implements AdditionalDataHolder, BackedModel, Parsable { + /** + * Stores model information. + */ + @jakarta.annotation.Nonnull + protected BackingStore backingStore; + /** + * Instantiates a new {@link ReplyWithQuotePostRequestBody} and sets the default values. + */ + public ReplyWithQuotePostRequestBody() { + 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 ReplyWithQuotePostRequestBody} + */ + @jakarta.annotation.Nonnull + public static ReplyWithQuotePostRequestBody createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) { + Objects.requireNonNull(parseNode); + return new ReplyWithQuotePostRequestBody(); + } + /** + * 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>(2); + deserializerMap.put("messageIds", (n) -> { this.setMessageIds(n.getCollectionOfPrimitiveValues(String.class)); }); + deserializerMap.put("replyMessage", (n) -> { this.setReplyMessage(n.getObjectValue(ChatMessage::createFromDiscriminatorValue)); }); + return deserializerMap; + } + /** + * Gets the messageIds property value. The messageIds property + * @return a {@link java.util.List} + */ + @jakarta.annotation.Nullable + public java.util.List getMessageIds() { + return this.backingStore.get("messageIds"); + } + /** + * Gets the replyMessage property value. The replyMessage property + * @return a {@link ChatMessage} + */ + @jakarta.annotation.Nullable + public ChatMessage getReplyMessage() { + return this.backingStore.get("replyMessage"); + } + /** + * 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("messageIds", this.getMessageIds()); + writer.writeObjectValue("replyMessage", this.getReplyMessage()); + 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 messageIds property value. The messageIds property + * @param value Value to set for the messageIds property. + */ + public void setMessageIds(@jakarta.annotation.Nullable final java.util.List value) { + this.backingStore.set("messageIds", value); + } + /** + * Sets the replyMessage property value. The replyMessage property + * @param value Value to set for the replyMessage property. + */ + public void setReplyMessage(@jakarta.annotation.Nullable final ChatMessage value) { + this.backingStore.set("replyMessage", value); + } +} diff --git a/src/main/java/com/microsoft/graph/generated/users/item/joinedteams/item/channels/item/messages/item/replies/replywithquote/ReplyWithQuoteRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/users/item/joinedteams/item/channels/item/messages/item/replies/replywithquote/ReplyWithQuoteRequestBuilder.java new file mode 100644 index 00000000000..89f5f31d9ff --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/users/item/joinedteams/item/channels/item/messages/item/replies/replywithquote/ReplyWithQuoteRequestBuilder.java @@ -0,0 +1,105 @@ +package com.microsoft.graph.users.item.joinedteams.item.channels.item.messages.item.replies.replywithquote; + +import com.microsoft.graph.models.ChatMessage; +import com.microsoft.graph.models.odataerrors.ODataError; +import com.microsoft.kiota.BaseRequestBuilder; +import com.microsoft.kiota.BaseRequestConfiguration; +import com.microsoft.kiota.HttpMethod; +import com.microsoft.kiota.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 replyWithQuote method. + */ +@jakarta.annotation.Generated("com.microsoft.kiota") +public class ReplyWithQuoteRequestBuilder extends BaseRequestBuilder { + /** + * Instantiates a new {@link ReplyWithQuoteRequestBuilder} and sets the default values. + * @param pathParameters Path parameters for the request + * @param requestAdapter The request adapter to use to execute the requests. + */ + public ReplyWithQuoteRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/users/{user%2Did}/joinedTeams/{team%2Did}/channels/{channel%2Did}/messages/{chatMessage%2Did}/replies/replyWithQuote", pathParameters); + } + /** + * Instantiates a new {@link ReplyWithQuoteRequestBuilder} 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 ReplyWithQuoteRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/users/{user%2Did}/joinedTeams/{team%2Did}/channels/{channel%2Did}/messages/{chatMessage%2Did}/replies/replyWithQuote", rawUrl); + } + /** + * Reply with quote to a single chat message or multiple chat messages in a chat. + * @param body The request body + * @return a {@link ChatMessage} + * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here + */ + @jakarta.annotation.Nullable + public ChatMessage post(@jakarta.annotation.Nonnull final ReplyWithQuotePostRequestBody body) { + return post(body, null); + } + /** + * Reply with quote to a single chat message or multiple chat messages in a chat. + * @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 + */ + @jakarta.annotation.Nullable + public ChatMessage post(@jakarta.annotation.Nonnull final ReplyWithQuotePostRequestBody 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, ChatMessage::createFromDiscriminatorValue); + } + /** + * Reply with quote to a single chat message or multiple chat messages in a chat. + * @param body The request body + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final ReplyWithQuotePostRequestBody body) { + return toPostRequestInformation(body, null); + } + /** + * Reply with quote to a single chat message or multiple chat messages in a chat. + * @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 ReplyWithQuotePostRequestBody 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 ReplyWithQuoteRequestBuilder} + */ + @jakarta.annotation.Nonnull + public ReplyWithQuoteRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { + Objects.requireNonNull(rawUrl); + return new ReplyWithQuoteRequestBuilder(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/generated/users/item/joinedteams/item/channels/item/messages/replywithquote/ReplyWithQuotePostRequestBody.java b/src/main/java/com/microsoft/graph/generated/users/item/joinedteams/item/channels/item/messages/replywithquote/ReplyWithQuotePostRequestBody.java new file mode 100644 index 00000000000..b4e047078fe --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/users/item/joinedteams/item/channels/item/messages/replywithquote/ReplyWithQuotePostRequestBody.java @@ -0,0 +1,125 @@ +package com.microsoft.graph.users.item.joinedteams.item.channels.item.messages.replywithquote; + +import com.microsoft.graph.models.ChatMessage; +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 ReplyWithQuotePostRequestBody implements AdditionalDataHolder, BackedModel, Parsable { + /** + * Stores model information. + */ + @jakarta.annotation.Nonnull + protected BackingStore backingStore; + /** + * Instantiates a new {@link ReplyWithQuotePostRequestBody} and sets the default values. + */ + public ReplyWithQuotePostRequestBody() { + 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 ReplyWithQuotePostRequestBody} + */ + @jakarta.annotation.Nonnull + public static ReplyWithQuotePostRequestBody createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) { + Objects.requireNonNull(parseNode); + return new ReplyWithQuotePostRequestBody(); + } + /** + * 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>(2); + deserializerMap.put("messageIds", (n) -> { this.setMessageIds(n.getCollectionOfPrimitiveValues(String.class)); }); + deserializerMap.put("replyMessage", (n) -> { this.setReplyMessage(n.getObjectValue(ChatMessage::createFromDiscriminatorValue)); }); + return deserializerMap; + } + /** + * Gets the messageIds property value. The messageIds property + * @return a {@link java.util.List} + */ + @jakarta.annotation.Nullable + public java.util.List getMessageIds() { + return this.backingStore.get("messageIds"); + } + /** + * Gets the replyMessage property value. The replyMessage property + * @return a {@link ChatMessage} + */ + @jakarta.annotation.Nullable + public ChatMessage getReplyMessage() { + return this.backingStore.get("replyMessage"); + } + /** + * 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("messageIds", this.getMessageIds()); + writer.writeObjectValue("replyMessage", this.getReplyMessage()); + 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 messageIds property value. The messageIds property + * @param value Value to set for the messageIds property. + */ + public void setMessageIds(@jakarta.annotation.Nullable final java.util.List value) { + this.backingStore.set("messageIds", value); + } + /** + * Sets the replyMessage property value. The replyMessage property + * @param value Value to set for the replyMessage property. + */ + public void setReplyMessage(@jakarta.annotation.Nullable final ChatMessage value) { + this.backingStore.set("replyMessage", value); + } +} diff --git a/src/main/java/com/microsoft/graph/generated/users/item/joinedteams/item/channels/item/messages/replywithquote/ReplyWithQuoteRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/users/item/joinedteams/item/channels/item/messages/replywithquote/ReplyWithQuoteRequestBuilder.java new file mode 100644 index 00000000000..acb8202beb3 --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/users/item/joinedteams/item/channels/item/messages/replywithquote/ReplyWithQuoteRequestBuilder.java @@ -0,0 +1,105 @@ +package com.microsoft.graph.users.item.joinedteams.item.channels.item.messages.replywithquote; + +import com.microsoft.graph.models.ChatMessage; +import com.microsoft.graph.models.odataerrors.ODataError; +import com.microsoft.kiota.BaseRequestBuilder; +import com.microsoft.kiota.BaseRequestConfiguration; +import com.microsoft.kiota.HttpMethod; +import com.microsoft.kiota.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 replyWithQuote method. + */ +@jakarta.annotation.Generated("com.microsoft.kiota") +public class ReplyWithQuoteRequestBuilder extends BaseRequestBuilder { + /** + * Instantiates a new {@link ReplyWithQuoteRequestBuilder} and sets the default values. + * @param pathParameters Path parameters for the request + * @param requestAdapter The request adapter to use to execute the requests. + */ + public ReplyWithQuoteRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/users/{user%2Did}/joinedTeams/{team%2Did}/channels/{channel%2Did}/messages/replyWithQuote", pathParameters); + } + /** + * Instantiates a new {@link ReplyWithQuoteRequestBuilder} 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 ReplyWithQuoteRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/users/{user%2Did}/joinedTeams/{team%2Did}/channels/{channel%2Did}/messages/replyWithQuote", rawUrl); + } + /** + * Reply with quote to a single chat message or multiple chat messages in a chat. + * @param body The request body + * @return a {@link ChatMessage} + * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here + */ + @jakarta.annotation.Nullable + public ChatMessage post(@jakarta.annotation.Nonnull final ReplyWithQuotePostRequestBody body) { + return post(body, null); + } + /** + * Reply with quote to a single chat message or multiple chat messages in a chat. + * @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 + */ + @jakarta.annotation.Nullable + public ChatMessage post(@jakarta.annotation.Nonnull final ReplyWithQuotePostRequestBody 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, ChatMessage::createFromDiscriminatorValue); + } + /** + * Reply with quote to a single chat message or multiple chat messages in a chat. + * @param body The request body + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final ReplyWithQuotePostRequestBody body) { + return toPostRequestInformation(body, null); + } + /** + * Reply with quote to a single chat message or multiple chat messages in a chat. + * @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 ReplyWithQuotePostRequestBody 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 ReplyWithQuoteRequestBuilder} + */ + @jakarta.annotation.Nonnull + public ReplyWithQuoteRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { + Objects.requireNonNull(rawUrl); + return new ReplyWithQuoteRequestBuilder(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/generated/users/item/joinedteams/item/primarychannel/messages/MessagesRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/users/item/joinedteams/item/primarychannel/messages/MessagesRequestBuilder.java index 8f5c6810445..fb57a2ae1ea 100644 --- a/src/main/java/com/microsoft/graph/generated/users/item/joinedteams/item/primarychannel/messages/MessagesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/generated/users/item/joinedteams/item/primarychannel/messages/MessagesRequestBuilder.java @@ -6,6 +6,7 @@ import com.microsoft.graph.users.item.joinedteams.item.primarychannel.messages.count.CountRequestBuilder; import com.microsoft.graph.users.item.joinedteams.item.primarychannel.messages.delta.DeltaRequestBuilder; import com.microsoft.graph.users.item.joinedteams.item.primarychannel.messages.item.ChatMessageItemRequestBuilder; +import com.microsoft.graph.users.item.joinedteams.item.primarychannel.messages.replywithquote.ReplyWithQuoteRequestBuilder; import com.microsoft.kiota.BaseRequestBuilder; import com.microsoft.kiota.BaseRequestConfiguration; import com.microsoft.kiota.HttpMethod; @@ -40,6 +41,14 @@ public CountRequestBuilder count() { public DeltaRequestBuilder delta() { return new DeltaRequestBuilder(pathParameters, requestAdapter); } + /** + * Provides operations to call the replyWithQuote method. + * @return a {@link ReplyWithQuoteRequestBuilder} + */ + @jakarta.annotation.Nonnull + public ReplyWithQuoteRequestBuilder replyWithQuote() { + return new ReplyWithQuoteRequestBuilder(pathParameters, requestAdapter); + } /** * Provides operations to manage the messages property of the microsoft.graph.channel entity. * @param chatMessageId The unique identifier of chatMessage diff --git a/src/main/java/com/microsoft/graph/generated/users/item/joinedteams/item/primarychannel/messages/item/replies/RepliesRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/users/item/joinedteams/item/primarychannel/messages/item/replies/RepliesRequestBuilder.java index 7f151b597ae..345f79c3ffc 100644 --- a/src/main/java/com/microsoft/graph/generated/users/item/joinedteams/item/primarychannel/messages/item/replies/RepliesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/generated/users/item/joinedteams/item/primarychannel/messages/item/replies/RepliesRequestBuilder.java @@ -6,6 +6,7 @@ import com.microsoft.graph.users.item.joinedteams.item.primarychannel.messages.item.replies.count.CountRequestBuilder; import com.microsoft.graph.users.item.joinedteams.item.primarychannel.messages.item.replies.delta.DeltaRequestBuilder; import com.microsoft.graph.users.item.joinedteams.item.primarychannel.messages.item.replies.item.ChatMessageItemRequestBuilder; +import com.microsoft.graph.users.item.joinedteams.item.primarychannel.messages.item.replies.replywithquote.ReplyWithQuoteRequestBuilder; import com.microsoft.kiota.BaseRequestBuilder; import com.microsoft.kiota.BaseRequestConfiguration; import com.microsoft.kiota.HttpMethod; @@ -40,6 +41,14 @@ public CountRequestBuilder count() { public DeltaRequestBuilder delta() { return new DeltaRequestBuilder(pathParameters, requestAdapter); } + /** + * Provides operations to call the replyWithQuote method. + * @return a {@link ReplyWithQuoteRequestBuilder} + */ + @jakarta.annotation.Nonnull + public ReplyWithQuoteRequestBuilder replyWithQuote() { + return new ReplyWithQuoteRequestBuilder(pathParameters, requestAdapter); + } /** * Provides operations to manage the replies property of the microsoft.graph.chatMessage entity. * @param chatMessageId1 The unique identifier of chatMessage diff --git a/src/main/java/com/microsoft/graph/generated/users/item/joinedteams/item/primarychannel/messages/item/replies/replywithquote/ReplyWithQuotePostRequestBody.java b/src/main/java/com/microsoft/graph/generated/users/item/joinedteams/item/primarychannel/messages/item/replies/replywithquote/ReplyWithQuotePostRequestBody.java new file mode 100644 index 00000000000..254dcd7fbec --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/users/item/joinedteams/item/primarychannel/messages/item/replies/replywithquote/ReplyWithQuotePostRequestBody.java @@ -0,0 +1,125 @@ +package com.microsoft.graph.users.item.joinedteams.item.primarychannel.messages.item.replies.replywithquote; + +import com.microsoft.graph.models.ChatMessage; +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 ReplyWithQuotePostRequestBody implements AdditionalDataHolder, BackedModel, Parsable { + /** + * Stores model information. + */ + @jakarta.annotation.Nonnull + protected BackingStore backingStore; + /** + * Instantiates a new {@link ReplyWithQuotePostRequestBody} and sets the default values. + */ + public ReplyWithQuotePostRequestBody() { + 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 ReplyWithQuotePostRequestBody} + */ + @jakarta.annotation.Nonnull + public static ReplyWithQuotePostRequestBody createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) { + Objects.requireNonNull(parseNode); + return new ReplyWithQuotePostRequestBody(); + } + /** + * 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>(2); + deserializerMap.put("messageIds", (n) -> { this.setMessageIds(n.getCollectionOfPrimitiveValues(String.class)); }); + deserializerMap.put("replyMessage", (n) -> { this.setReplyMessage(n.getObjectValue(ChatMessage::createFromDiscriminatorValue)); }); + return deserializerMap; + } + /** + * Gets the messageIds property value. The messageIds property + * @return a {@link java.util.List} + */ + @jakarta.annotation.Nullable + public java.util.List getMessageIds() { + return this.backingStore.get("messageIds"); + } + /** + * Gets the replyMessage property value. The replyMessage property + * @return a {@link ChatMessage} + */ + @jakarta.annotation.Nullable + public ChatMessage getReplyMessage() { + return this.backingStore.get("replyMessage"); + } + /** + * 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("messageIds", this.getMessageIds()); + writer.writeObjectValue("replyMessage", this.getReplyMessage()); + 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 messageIds property value. The messageIds property + * @param value Value to set for the messageIds property. + */ + public void setMessageIds(@jakarta.annotation.Nullable final java.util.List value) { + this.backingStore.set("messageIds", value); + } + /** + * Sets the replyMessage property value. The replyMessage property + * @param value Value to set for the replyMessage property. + */ + public void setReplyMessage(@jakarta.annotation.Nullable final ChatMessage value) { + this.backingStore.set("replyMessage", value); + } +} diff --git a/src/main/java/com/microsoft/graph/generated/users/item/joinedteams/item/primarychannel/messages/item/replies/replywithquote/ReplyWithQuoteRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/users/item/joinedteams/item/primarychannel/messages/item/replies/replywithquote/ReplyWithQuoteRequestBuilder.java new file mode 100644 index 00000000000..b6f84decedd --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/users/item/joinedteams/item/primarychannel/messages/item/replies/replywithquote/ReplyWithQuoteRequestBuilder.java @@ -0,0 +1,105 @@ +package com.microsoft.graph.users.item.joinedteams.item.primarychannel.messages.item.replies.replywithquote; + +import com.microsoft.graph.models.ChatMessage; +import com.microsoft.graph.models.odataerrors.ODataError; +import com.microsoft.kiota.BaseRequestBuilder; +import com.microsoft.kiota.BaseRequestConfiguration; +import com.microsoft.kiota.HttpMethod; +import com.microsoft.kiota.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 replyWithQuote method. + */ +@jakarta.annotation.Generated("com.microsoft.kiota") +public class ReplyWithQuoteRequestBuilder extends BaseRequestBuilder { + /** + * Instantiates a new {@link ReplyWithQuoteRequestBuilder} and sets the default values. + * @param pathParameters Path parameters for the request + * @param requestAdapter The request adapter to use to execute the requests. + */ + public ReplyWithQuoteRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/users/{user%2Did}/joinedTeams/{team%2Did}/primaryChannel/messages/{chatMessage%2Did}/replies/replyWithQuote", pathParameters); + } + /** + * Instantiates a new {@link ReplyWithQuoteRequestBuilder} 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 ReplyWithQuoteRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/users/{user%2Did}/joinedTeams/{team%2Did}/primaryChannel/messages/{chatMessage%2Did}/replies/replyWithQuote", rawUrl); + } + /** + * Reply with quote to a single chat message or multiple chat messages in a chat. + * @param body The request body + * @return a {@link ChatMessage} + * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here + */ + @jakarta.annotation.Nullable + public ChatMessage post(@jakarta.annotation.Nonnull final ReplyWithQuotePostRequestBody body) { + return post(body, null); + } + /** + * Reply with quote to a single chat message or multiple chat messages in a chat. + * @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 + */ + @jakarta.annotation.Nullable + public ChatMessage post(@jakarta.annotation.Nonnull final ReplyWithQuotePostRequestBody 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, ChatMessage::createFromDiscriminatorValue); + } + /** + * Reply with quote to a single chat message or multiple chat messages in a chat. + * @param body The request body + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final ReplyWithQuotePostRequestBody body) { + return toPostRequestInformation(body, null); + } + /** + * Reply with quote to a single chat message or multiple chat messages in a chat. + * @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 ReplyWithQuotePostRequestBody 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 ReplyWithQuoteRequestBuilder} + */ + @jakarta.annotation.Nonnull + public ReplyWithQuoteRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { + Objects.requireNonNull(rawUrl); + return new ReplyWithQuoteRequestBuilder(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/generated/users/item/joinedteams/item/primarychannel/messages/replywithquote/ReplyWithQuotePostRequestBody.java b/src/main/java/com/microsoft/graph/generated/users/item/joinedteams/item/primarychannel/messages/replywithquote/ReplyWithQuotePostRequestBody.java new file mode 100644 index 00000000000..8af6c196c8e --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/users/item/joinedteams/item/primarychannel/messages/replywithquote/ReplyWithQuotePostRequestBody.java @@ -0,0 +1,125 @@ +package com.microsoft.graph.users.item.joinedteams.item.primarychannel.messages.replywithquote; + +import com.microsoft.graph.models.ChatMessage; +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 ReplyWithQuotePostRequestBody implements AdditionalDataHolder, BackedModel, Parsable { + /** + * Stores model information. + */ + @jakarta.annotation.Nonnull + protected BackingStore backingStore; + /** + * Instantiates a new {@link ReplyWithQuotePostRequestBody} and sets the default values. + */ + public ReplyWithQuotePostRequestBody() { + 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 ReplyWithQuotePostRequestBody} + */ + @jakarta.annotation.Nonnull + public static ReplyWithQuotePostRequestBody createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) { + Objects.requireNonNull(parseNode); + return new ReplyWithQuotePostRequestBody(); + } + /** + * 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>(2); + deserializerMap.put("messageIds", (n) -> { this.setMessageIds(n.getCollectionOfPrimitiveValues(String.class)); }); + deserializerMap.put("replyMessage", (n) -> { this.setReplyMessage(n.getObjectValue(ChatMessage::createFromDiscriminatorValue)); }); + return deserializerMap; + } + /** + * Gets the messageIds property value. The messageIds property + * @return a {@link java.util.List} + */ + @jakarta.annotation.Nullable + public java.util.List getMessageIds() { + return this.backingStore.get("messageIds"); + } + /** + * Gets the replyMessage property value. The replyMessage property + * @return a {@link ChatMessage} + */ + @jakarta.annotation.Nullable + public ChatMessage getReplyMessage() { + return this.backingStore.get("replyMessage"); + } + /** + * 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("messageIds", this.getMessageIds()); + writer.writeObjectValue("replyMessage", this.getReplyMessage()); + 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 messageIds property value. The messageIds property + * @param value Value to set for the messageIds property. + */ + public void setMessageIds(@jakarta.annotation.Nullable final java.util.List value) { + this.backingStore.set("messageIds", value); + } + /** + * Sets the replyMessage property value. The replyMessage property + * @param value Value to set for the replyMessage property. + */ + public void setReplyMessage(@jakarta.annotation.Nullable final ChatMessage value) { + this.backingStore.set("replyMessage", value); + } +} diff --git a/src/main/java/com/microsoft/graph/generated/users/item/joinedteams/item/primarychannel/messages/replywithquote/ReplyWithQuoteRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/users/item/joinedteams/item/primarychannel/messages/replywithquote/ReplyWithQuoteRequestBuilder.java new file mode 100644 index 00000000000..9b0978233ca --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/users/item/joinedteams/item/primarychannel/messages/replywithquote/ReplyWithQuoteRequestBuilder.java @@ -0,0 +1,105 @@ +package com.microsoft.graph.users.item.joinedteams.item.primarychannel.messages.replywithquote; + +import com.microsoft.graph.models.ChatMessage; +import com.microsoft.graph.models.odataerrors.ODataError; +import com.microsoft.kiota.BaseRequestBuilder; +import com.microsoft.kiota.BaseRequestConfiguration; +import com.microsoft.kiota.HttpMethod; +import com.microsoft.kiota.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 replyWithQuote method. + */ +@jakarta.annotation.Generated("com.microsoft.kiota") +public class ReplyWithQuoteRequestBuilder extends BaseRequestBuilder { + /** + * Instantiates a new {@link ReplyWithQuoteRequestBuilder} and sets the default values. + * @param pathParameters Path parameters for the request + * @param requestAdapter The request adapter to use to execute the requests. + */ + public ReplyWithQuoteRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/users/{user%2Did}/joinedTeams/{team%2Did}/primaryChannel/messages/replyWithQuote", pathParameters); + } + /** + * Instantiates a new {@link ReplyWithQuoteRequestBuilder} 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 ReplyWithQuoteRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/users/{user%2Did}/joinedTeams/{team%2Did}/primaryChannel/messages/replyWithQuote", rawUrl); + } + /** + * Reply with quote to a single chat message or multiple chat messages in a chat. + * @param body The request body + * @return a {@link ChatMessage} + * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here + */ + @jakarta.annotation.Nullable + public ChatMessage post(@jakarta.annotation.Nonnull final ReplyWithQuotePostRequestBody body) { + return post(body, null); + } + /** + * Reply with quote to a single chat message or multiple chat messages in a chat. + * @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 + */ + @jakarta.annotation.Nullable + public ChatMessage post(@jakarta.annotation.Nonnull final ReplyWithQuotePostRequestBody 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, ChatMessage::createFromDiscriminatorValue); + } + /** + * Reply with quote to a single chat message or multiple chat messages in a chat. + * @param body The request body + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final ReplyWithQuotePostRequestBody body) { + return toPostRequestInformation(body, null); + } + /** + * Reply with quote to a single chat message or multiple chat messages in a chat. + * @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 ReplyWithQuotePostRequestBody 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 ReplyWithQuoteRequestBuilder} + */ + @jakarta.annotation.Nonnull + public ReplyWithQuoteRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { + Objects.requireNonNull(rawUrl); + return new ReplyWithQuoteRequestBuilder(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/generated/users/item/mailfolders/item/childfolders/item/messages/item/createforward/CreateForwardRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/users/item/mailfolders/item/childfolders/item/messages/item/createforward/CreateForwardRequestBuilder.java index 0fcd6bb8461..777178d2347 100644 --- a/src/main/java/com/microsoft/graph/generated/users/item/mailfolders/item/childfolders/item/messages/item/createforward/CreateForwardRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/generated/users/item/mailfolders/item/childfolders/item/messages/item/createforward/CreateForwardRequestBuilder.java @@ -36,23 +36,21 @@ public CreateForwardRequestBuilder(@jakarta.annotation.Nonnull final String rawU super(requestAdapter, "{+baseurl}/users/{user%2Did}/mailFolders/{mailFolder%2Did}/childFolders/{mailFolder%2Did1}/messages/{message%2Did}/createForward", rawUrl); } /** - * Create a draft to forward an existing message, in either JSON or MIME format. When using JSON format, you can:- Specify either a comment or the body property of the message parameter. Specifying both will return an HTTP 400 Bad Request error.- Specify either the toRecipients parameter or the toRecipients property of the message parameter. Specifying both or specifying neither will return an HTTP 400 Bad Request error.- Update the draft later to add content to the body or change other message properties. When using MIME format:- Provide the applicable Internet message headers and the MIME content, all encoded in base64 format in the request body.- Add any attachments and S/MIME properties to the MIME content. Send the draft message in a subsequent operation. Alternatively, forward a message in a single operation. + * Invoke action createForward * @param body The request body * @return a {@link Message} * @throws ODataError When receiving a 4XX or 5XX status code - * @see Find more info here */ @jakarta.annotation.Nullable public Message post(@jakarta.annotation.Nonnull final CreateForwardPostRequestBody body) { return post(body, null); } /** - * Create a draft to forward an existing message, in either JSON or MIME format. When using JSON format, you can:- Specify either a comment or the body property of the message parameter. Specifying both will return an HTTP 400 Bad Request error.- Specify either the toRecipients parameter or the toRecipients property of the message parameter. Specifying both or specifying neither will return an HTTP 400 Bad Request error.- Update the draft later to add content to the body or change other message properties. When using MIME format:- Provide the applicable Internet message headers and the MIME content, all encoded in base64 format in the request body.- Add any attachments and S/MIME properties to the MIME content. Send the draft message in a subsequent operation. Alternatively, forward a message in a single operation. + * Invoke action createForward * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Message} * @throws ODataError When receiving a 4XX or 5XX status code - * @see Find more info here */ @jakarta.annotation.Nullable public Message post(@jakarta.annotation.Nonnull final CreateForwardPostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { @@ -63,7 +61,7 @@ public Message post(@jakarta.annotation.Nonnull final CreateForwardPostRequestBo return this.requestAdapter.send(requestInfo, errorMapping, Message::createFromDiscriminatorValue); } /** - * Create a draft to forward an existing message, in either JSON or MIME format. When using JSON format, you can:- Specify either a comment or the body property of the message parameter. Specifying both will return an HTTP 400 Bad Request error.- Specify either the toRecipients parameter or the toRecipients property of the message parameter. Specifying both or specifying neither will return an HTTP 400 Bad Request error.- Update the draft later to add content to the body or change other message properties. When using MIME format:- Provide the applicable Internet message headers and the MIME content, all encoded in base64 format in the request body.- Add any attachments and S/MIME properties to the MIME content. Send the draft message in a subsequent operation. Alternatively, forward a message in a single operation. + * Invoke action createForward * @param body The request body * @return a {@link RequestInformation} */ @@ -72,7 +70,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f return toPostRequestInformation(body, null); } /** - * Create a draft to forward an existing message, in either JSON or MIME format. When using JSON format, you can:- Specify either a comment or the body property of the message parameter. Specifying both will return an HTTP 400 Bad Request error.- Specify either the toRecipients parameter or the toRecipients property of the message parameter. Specifying both or specifying neither will return an HTTP 400 Bad Request error.- Update the draft later to add content to the body or change other message properties. When using MIME format:- Provide the applicable Internet message headers and the MIME content, all encoded in base64 format in the request body.- Add any attachments and S/MIME properties to the MIME content. Send the draft message in a subsequent operation. Alternatively, forward a message in a single operation. + * Invoke action createForward * @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/generated/users/item/mailfolders/item/messages/item/createforward/CreateForwardRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/users/item/mailfolders/item/messages/item/createforward/CreateForwardRequestBuilder.java index 8afd0b022c2..b7170e76e30 100644 --- a/src/main/java/com/microsoft/graph/generated/users/item/mailfolders/item/messages/item/createforward/CreateForwardRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/generated/users/item/mailfolders/item/messages/item/createforward/CreateForwardRequestBuilder.java @@ -36,23 +36,21 @@ public CreateForwardRequestBuilder(@jakarta.annotation.Nonnull final String rawU super(requestAdapter, "{+baseurl}/users/{user%2Did}/mailFolders/{mailFolder%2Did}/messages/{message%2Did}/createForward", rawUrl); } /** - * Create a draft to forward an existing message, in either JSON or MIME format. When using JSON format, you can:- Specify either a comment or the body property of the message parameter. Specifying both will return an HTTP 400 Bad Request error.- Specify either the toRecipients parameter or the toRecipients property of the message parameter. Specifying both or specifying neither will return an HTTP 400 Bad Request error.- Update the draft later to add content to the body or change other message properties. When using MIME format:- Provide the applicable Internet message headers and the MIME content, all encoded in base64 format in the request body.- Add any attachments and S/MIME properties to the MIME content. Send the draft message in a subsequent operation. Alternatively, forward a message in a single operation. + * Invoke action createForward * @param body The request body * @return a {@link Message} * @throws ODataError When receiving a 4XX or 5XX status code - * @see Find more info here */ @jakarta.annotation.Nullable public Message post(@jakarta.annotation.Nonnull final CreateForwardPostRequestBody body) { return post(body, null); } /** - * Create a draft to forward an existing message, in either JSON or MIME format. When using JSON format, you can:- Specify either a comment or the body property of the message parameter. Specifying both will return an HTTP 400 Bad Request error.- Specify either the toRecipients parameter or the toRecipients property of the message parameter. Specifying both or specifying neither will return an HTTP 400 Bad Request error.- Update the draft later to add content to the body or change other message properties. When using MIME format:- Provide the applicable Internet message headers and the MIME content, all encoded in base64 format in the request body.- Add any attachments and S/MIME properties to the MIME content. Send the draft message in a subsequent operation. Alternatively, forward a message in a single operation. + * Invoke action createForward * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Message} * @throws ODataError When receiving a 4XX or 5XX status code - * @see Find more info here */ @jakarta.annotation.Nullable public Message post(@jakarta.annotation.Nonnull final CreateForwardPostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { @@ -63,7 +61,7 @@ public Message post(@jakarta.annotation.Nonnull final CreateForwardPostRequestBo return this.requestAdapter.send(requestInfo, errorMapping, Message::createFromDiscriminatorValue); } /** - * Create a draft to forward an existing message, in either JSON or MIME format. When using JSON format, you can:- Specify either a comment or the body property of the message parameter. Specifying both will return an HTTP 400 Bad Request error.- Specify either the toRecipients parameter or the toRecipients property of the message parameter. Specifying both or specifying neither will return an HTTP 400 Bad Request error.- Update the draft later to add content to the body or change other message properties. When using MIME format:- Provide the applicable Internet message headers and the MIME content, all encoded in base64 format in the request body.- Add any attachments and S/MIME properties to the MIME content. Send the draft message in a subsequent operation. Alternatively, forward a message in a single operation. + * Invoke action createForward * @param body The request body * @return a {@link RequestInformation} */ @@ -72,7 +70,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f return toPostRequestInformation(body, null); } /** - * Create a draft to forward an existing message, in either JSON or MIME format. When using JSON format, you can:- Specify either a comment or the body property of the message parameter. Specifying both will return an HTTP 400 Bad Request error.- Specify either the toRecipients parameter or the toRecipients property of the message parameter. Specifying both or specifying neither will return an HTTP 400 Bad Request error.- Update the draft later to add content to the body or change other message properties. When using MIME format:- Provide the applicable Internet message headers and the MIME content, all encoded in base64 format in the request body.- Add any attachments and S/MIME properties to the MIME content. Send the draft message in a subsequent operation. Alternatively, forward a message in a single operation. + * Invoke action createForward * @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/generated/users/item/messages/item/createforward/CreateForwardRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/users/item/messages/item/createforward/CreateForwardRequestBuilder.java index 0dce283a104..622480ca365 100644 --- a/src/main/java/com/microsoft/graph/generated/users/item/messages/item/createforward/CreateForwardRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/generated/users/item/messages/item/createforward/CreateForwardRequestBuilder.java @@ -36,23 +36,21 @@ public CreateForwardRequestBuilder(@jakarta.annotation.Nonnull final String rawU super(requestAdapter, "{+baseurl}/users/{user%2Did}/messages/{message%2Did}/createForward", rawUrl); } /** - * Create a draft to forward an existing message, in either JSON or MIME format. When using JSON format, you can:- Specify either a comment or the body property of the message parameter. Specifying both will return an HTTP 400 Bad Request error.- Specify either the toRecipients parameter or the toRecipients property of the message parameter. Specifying both or specifying neither will return an HTTP 400 Bad Request error.- Update the draft later to add content to the body or change other message properties. When using MIME format:- Provide the applicable Internet message headers and the MIME content, all encoded in base64 format in the request body.- Add any attachments and S/MIME properties to the MIME content. Send the draft message in a subsequent operation. Alternatively, forward a message in a single operation. + * Invoke action createForward * @param body The request body * @return a {@link Message} * @throws ODataError When receiving a 4XX or 5XX status code - * @see Find more info here */ @jakarta.annotation.Nullable public Message post(@jakarta.annotation.Nonnull final CreateForwardPostRequestBody body) { return post(body, null); } /** - * Create a draft to forward an existing message, in either JSON or MIME format. When using JSON format, you can:- Specify either a comment or the body property of the message parameter. Specifying both will return an HTTP 400 Bad Request error.- Specify either the toRecipients parameter or the toRecipients property of the message parameter. Specifying both or specifying neither will return an HTTP 400 Bad Request error.- Update the draft later to add content to the body or change other message properties. When using MIME format:- Provide the applicable Internet message headers and the MIME content, all encoded in base64 format in the request body.- Add any attachments and S/MIME properties to the MIME content. Send the draft message in a subsequent operation. Alternatively, forward a message in a single operation. + * Invoke action createForward * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Message} * @throws ODataError When receiving a 4XX or 5XX status code - * @see Find more info here */ @jakarta.annotation.Nullable public Message post(@jakarta.annotation.Nonnull final CreateForwardPostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { @@ -63,7 +61,7 @@ public Message post(@jakarta.annotation.Nonnull final CreateForwardPostRequestBo return this.requestAdapter.send(requestInfo, errorMapping, Message::createFromDiscriminatorValue); } /** - * Create a draft to forward an existing message, in either JSON or MIME format. When using JSON format, you can:- Specify either a comment or the body property of the message parameter. Specifying both will return an HTTP 400 Bad Request error.- Specify either the toRecipients parameter or the toRecipients property of the message parameter. Specifying both or specifying neither will return an HTTP 400 Bad Request error.- Update the draft later to add content to the body or change other message properties. When using MIME format:- Provide the applicable Internet message headers and the MIME content, all encoded in base64 format in the request body.- Add any attachments and S/MIME properties to the MIME content. Send the draft message in a subsequent operation. Alternatively, forward a message in a single operation. + * Invoke action createForward * @param body The request body * @return a {@link RequestInformation} */ @@ -72,7 +70,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f return toPostRequestInformation(body, null); } /** - * Create a draft to forward an existing message, in either JSON or MIME format. When using JSON format, you can:- Specify either a comment or the body property of the message parameter. Specifying both will return an HTTP 400 Bad Request error.- Specify either the toRecipients parameter or the toRecipients property of the message parameter. Specifying both or specifying neither will return an HTTP 400 Bad Request error.- Update the draft later to add content to the body or change other message properties. When using MIME format:- Provide the applicable Internet message headers and the MIME content, all encoded in base64 format in the request body.- Add any attachments and S/MIME properties to the MIME content. Send the draft message in a subsequent operation. Alternatively, forward a message in a single operation. + * Invoke action createForward * @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/generated/users/item/restore/RestoreRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/users/item/restore/RestoreRequestBuilder.java index 65f5920b7ca..6786c5fbbc4 100644 --- a/src/main/java/com/microsoft/graph/generated/users/item/restore/RestoreRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/generated/users/item/restore/RestoreRequestBuilder.java @@ -36,7 +36,7 @@ public RestoreRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @j super(requestAdapter, "{+baseurl}/users/{user%2Did}/restore", rawUrl); } /** - * Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. + * Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- agentIdentityBlueprint- agentIdentity- agentIdentityBlueprintPrincipal- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. * @return a {@link DirectoryObject} * @throws ODataError When receiving a 4XX or 5XX status code * @see Find more info here @@ -46,7 +46,7 @@ public DirectoryObject post() { return post(null); } /** - * Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. + * Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- agentIdentityBlueprint- agentIdentity- agentIdentityBlueprintPrincipal- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link DirectoryObject} * @throws ODataError When receiving a 4XX or 5XX status code @@ -60,7 +60,7 @@ public DirectoryObject post(@jakarta.annotation.Nullable final java.util.functio return this.requestAdapter.send(requestInfo, errorMapping, DirectoryObject::createFromDiscriminatorValue); } /** - * Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. + * Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- agentIdentityBlueprint- agentIdentity- agentIdentityBlueprintPrincipal- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull @@ -68,7 +68,7 @@ public RequestInformation toPostRequestInformation() { return toPostRequestInformation(null); } /** - * Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. + * Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- agentIdentityBlueprint- agentIdentity- agentIdentityBlueprintPrincipal- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. * @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/generated/users/item/sponsors/SponsorsRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/users/item/sponsors/SponsorsRequestBuilder.java index b92ee29249d..7c5e39e13e6 100644 --- a/src/main/java/com/microsoft/graph/generated/users/item/sponsors/SponsorsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/generated/users/item/sponsors/SponsorsRequestBuilder.java @@ -4,6 +4,7 @@ import com.microsoft.graph.models.odataerrors.ODataError; import com.microsoft.graph.users.item.sponsors.count.CountRequestBuilder; import com.microsoft.graph.users.item.sponsors.item.DirectoryObjectItemRequestBuilder; +import com.microsoft.graph.users.item.sponsors.ref.RefRequestBuilder; import com.microsoft.kiota.BaseRequestBuilder; import com.microsoft.kiota.BaseRequestConfiguration; import com.microsoft.kiota.HttpMethod; @@ -31,7 +32,15 @@ public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); } /** - * Provides operations to manage the sponsors property of the microsoft.graph.user entity. + * Provides operations to manage the collection of user entities. + * @return a {@link RefRequestBuilder} + */ + @jakarta.annotation.Nonnull + public RefRequestBuilder ref() { + return new RefRequestBuilder(pathParameters, requestAdapter); + } + /** + * Gets an item from the com.Microsoft.Graph.users.item.sponsors.item collection * @param directoryObjectId The unique identifier of directoryObject * @return a {@link DirectoryObjectItemRequestBuilder} */ diff --git a/src/main/java/com/microsoft/graph/generated/users/item/sponsors/item/DirectoryObjectItemRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/users/item/sponsors/item/DirectoryObjectItemRequestBuilder.java index 41a4ef2f0b8..7bc839d8ece 100644 --- a/src/main/java/com/microsoft/graph/generated/users/item/sponsors/item/DirectoryObjectItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/generated/users/item/sponsors/item/DirectoryObjectItemRequestBuilder.java @@ -1,32 +1,30 @@ package com.microsoft.graph.users.item.sponsors.item; -import com.microsoft.graph.models.DirectoryObject; -import com.microsoft.graph.models.odataerrors.ODataError; +import com.microsoft.graph.users.item.sponsors.item.ref.RefRequestBuilder; 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 sponsors property of the microsoft.graph.user entity. + * Builds and executes requests for operations under /users/{user-id}/sponsors/{directoryObject-id} */ @jakarta.annotation.Generated("com.microsoft.kiota") public class DirectoryObjectItemRequestBuilder extends BaseRequestBuilder { + /** + * Provides operations to manage the collection of user entities. + * @return a {@link RefRequestBuilder} + */ + @jakarta.annotation.Nonnull + public RefRequestBuilder ref() { + return new RefRequestBuilder(pathParameters, requestAdapter); + } /** * Instantiates a new {@link DirectoryObjectItemRequestBuilder} and sets the default values. * @param pathParameters Path parameters for the request * @param requestAdapter The request adapter to use to execute the requests. */ public DirectoryObjectItemRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { - super(requestAdapter, "{+baseurl}/users/{user%2Did}/sponsors/{directoryObject%2Did}{?%24expand,%24select}", pathParameters); + super(requestAdapter, "{+baseurl}/users/{user%2Did}/sponsors/{directoryObject%2Did}", pathParameters); } /** * Instantiates a new {@link DirectoryObjectItemRequestBuilder} and sets the default values. @@ -34,96 +32,6 @@ public DirectoryObjectItemRequestBuilder(@jakarta.annotation.Nonnull final HashM * @param requestAdapter The request adapter to use to execute the requests. */ public DirectoryObjectItemRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { - super(requestAdapter, "{+baseurl}/users/{user%2Did}/sponsors/{directoryObject%2Did}{?%24expand,%24select}", rawUrl); - } - /** - * The users and groups responsible for this guest's privileges in the tenant and keeping the guest's information and access updated. (HTTP Methods: GET, POST, DELETE.). Supports $expand. - * @return a {@link DirectoryObject} - * @throws ODataError When receiving a 4XX or 5XX status code - */ - @jakarta.annotation.Nullable - public DirectoryObject get() { - return get(null); - } - /** - * The users and groups responsible for this guest's privileges in the tenant and keeping the guest's information and access updated. (HTTP Methods: GET, POST, DELETE.). Supports $expand. - * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return a {@link DirectoryObject} - * @throws ODataError When receiving a 4XX or 5XX status code - */ - @jakarta.annotation.Nullable - public DirectoryObject 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, DirectoryObject::createFromDiscriminatorValue); - } - /** - * The users and groups responsible for this guest's privileges in the tenant and keeping the guest's information and access updated. (HTTP Methods: GET, POST, DELETE.). Supports $expand. - * @return a {@link RequestInformation} - */ - @jakarta.annotation.Nonnull - public RequestInformation toGetRequestInformation() { - return toGetRequestInformation(null); - } - /** - * The users and groups responsible for this guest's privileges in the tenant and keeping the guest's information and access updated. (HTTP Methods: GET, POST, DELETE.). Supports $expand. - * @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 DirectoryObjectItemRequestBuilder} - */ - @jakarta.annotation.Nonnull - public DirectoryObjectItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { - Objects.requireNonNull(rawUrl); - return new DirectoryObjectItemRequestBuilder(rawUrl, requestAdapter); - } - /** - * The users and groups responsible for this guest's privileges in the tenant and keeping the guest's information and access updated. (HTTP Methods: GET, POST, DELETE.). Supports $expand. - */ - @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(); + super(requestAdapter, "{+baseurl}/users/{user%2Did}/sponsors/{directoryObject%2Did}", rawUrl); } } diff --git a/src/main/java/com/microsoft/graph/generated/users/item/sponsors/item/ref/RefRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/users/item/sponsors/item/ref/RefRequestBuilder.java new file mode 100644 index 00000000000..5cadd886c82 --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/users/item/sponsors/item/ref/RefRequestBuilder.java @@ -0,0 +1,93 @@ +package com.microsoft.graph.users.item.sponsors.item.ref; + +import com.microsoft.graph.models.odataerrors.ODataError; +import com.microsoft.kiota.BaseRequestBuilder; +import com.microsoft.kiota.BaseRequestConfiguration; +import com.microsoft.kiota.HttpMethod; +import com.microsoft.kiota.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 collection of user entities. + */ +@jakarta.annotation.Generated("com.microsoft.kiota") +public class RefRequestBuilder extends BaseRequestBuilder { + /** + * Instantiates a new {@link RefRequestBuilder} and sets the default values. + * @param pathParameters Path parameters for the request + * @param requestAdapter The request adapter to use to execute the requests. + */ + public RefRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/users/{user%2Did}/sponsors/{directoryObject%2Did}/$ref", pathParameters); + } + /** + * Instantiates a new {@link RefRequestBuilder} 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 RefRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/users/{user%2Did}/sponsors/{directoryObject%2Did}/$ref", rawUrl); + } + /** + * Remove a user's sponsor. + * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here + */ + public void delete() { + delete(null); + } + /** + * Remove a user's sponsor. + * @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); + } + /** + * Remove a user's sponsor. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toDeleteRequestInformation() { + return toDeleteRequestInformation(null); + } + /** + * Remove a user's sponsor. + * @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); + 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 RefRequestBuilder} + */ + @jakarta.annotation.Nonnull + public RefRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { + Objects.requireNonNull(rawUrl); + return new RefRequestBuilder(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 { + } +} diff --git a/src/main/java/com/microsoft/graph/generated/users/item/sponsors/ref/RefRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/users/item/sponsors/ref/RefRequestBuilder.java new file mode 100644 index 00000000000..73326cdd569 --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/users/item/sponsors/ref/RefRequestBuilder.java @@ -0,0 +1,281 @@ +package com.microsoft.graph.users.item.sponsors.ref; + +import com.microsoft.graph.models.odataerrors.ODataError; +import com.microsoft.graph.models.ReferenceCreate; +import com.microsoft.graph.models.StringCollectionResponse; +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 collection of user entities. + */ +@jakarta.annotation.Generated("com.microsoft.kiota") +public class RefRequestBuilder extends BaseRequestBuilder { + /** + * Instantiates a new {@link RefRequestBuilder} and sets the default values. + * @param pathParameters Path parameters for the request + * @param requestAdapter The request adapter to use to execute the requests. + */ + public RefRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/users/{user%2Did}/sponsors/$ref?@id={%40id}{&%24count,%24filter,%24orderby,%24search,%24skip,%24top}", pathParameters); + } + /** + * Instantiates a new {@link RefRequestBuilder} 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 RefRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/users/{user%2Did}/sponsors/$ref?@id={%40id}{&%24count,%24filter,%24orderby,%24search,%24skip,%24top}", rawUrl); + } + /** + * Remove a user's sponsor. + * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here + */ + public void delete() { + delete(null); + } + /** + * Remove a user's sponsor. + * @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); + } + /** + * Get a user's sponsors. Sponsors are users and groups that are responsible for this guest's privileges in the tenant and for keeping the guest's information and access up to date. + * @return a {@link StringCollectionResponse} + * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here + */ + @jakarta.annotation.Nullable + public StringCollectionResponse get() { + return get(null); + } + /** + * Get a user's sponsors. Sponsors are users and groups that are responsible for this guest's privileges in the tenant and for keeping the guest's information and access up to date. + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link StringCollectionResponse} + * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here + */ + @jakarta.annotation.Nullable + public StringCollectionResponse 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, StringCollectionResponse::createFromDiscriminatorValue); + } + /** + * Assign a user a sponsor. Sponsors are users and groups that are responsible for this guest user's privileges in the tenant and for keeping the guest user's information and access up to date. + * @param body The request body + * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here + */ + public void post(@jakarta.annotation.Nonnull final ReferenceCreate body) { + post(body, null); + } + /** + * Assign a user a sponsor. Sponsors are users and groups that are responsible for this guest user's privileges in the tenant and for keeping the guest user's information and access up to date. + * @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 + */ + public void post(@jakarta.annotation.Nonnull final ReferenceCreate 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); + } + /** + * Remove a user's sponsor. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toDeleteRequestInformation() { + return toDeleteRequestInformation(null); + } + /** + * Remove a user's sponsor. + * @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, "{+baseurl}/users/{user%2Did}/sponsors/$ref?@id={%40id}", pathParameters); + requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new, x -> x.queryParameters); + requestInfo.headers.tryAdd("Accept", "application/json"); + return requestInfo; + } + /** + * Get a user's sponsors. Sponsors are users and groups that are responsible for this guest's privileges in the tenant and for keeping the guest's information and access up to date. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toGetRequestInformation() { + return toGetRequestInformation(null); + } + /** + * Get a user's sponsors. Sponsors are users and groups that are responsible for this guest's privileges in the tenant and for keeping the guest's information and access up to date. + * @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, "{+baseurl}/users/{user%2Did}/sponsors/$ref{?%24count,%24filter,%24orderby,%24search,%24skip,%24top}", pathParameters); + requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); + requestInfo.headers.tryAdd("Accept", "application/json"); + return requestInfo; + } + /** + * Assign a user a sponsor. Sponsors are users and groups that are responsible for this guest user's privileges in the tenant and for keeping the guest user's information and access up to date. + * @param body The request body + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final ReferenceCreate body) { + return toPostRequestInformation(body, null); + } + /** + * Assign a user a sponsor. Sponsors are users and groups that are responsible for this guest user's privileges in the tenant and for keeping the guest user's information and access up to date. + * @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 ReferenceCreate body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + Objects.requireNonNull(body); + final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/users/{user%2Did}/sponsors/$ref", 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 RefRequestBuilder} + */ + @jakarta.annotation.Nonnull + public RefRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { + Objects.requireNonNull(rawUrl); + return new RefRequestBuilder(rawUrl, requestAdapter); + } + /** + * Remove a user's sponsor. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class DeleteQueryParameters implements QueryParameters { + /** + * The delete Uri + */ + @jakarta.annotation.Nullable + public String id; + /** + * 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("%40id", id); + return allQueryParams; + } + } + /** + * Configuration for the request such as headers, query parameters, and middleware options. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class DeleteRequestConfiguration extends BaseRequestConfiguration { + /** + * Request query parameters + */ + @jakarta.annotation.Nullable + public DeleteQueryParameters queryParameters = new DeleteQueryParameters(); + } + /** + * Get a user's sponsors. Sponsors are users and groups that are responsible for this guest's privileges in the tenant and for keeping the guest's information and access up to date. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class GetQueryParameters implements QueryParameters { + /** + * Include count of items + */ + @jakarta.annotation.Nullable + public Boolean count; + /** + * 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; + /** + * 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("%24orderby", orderby); + 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 { + } +}