Class BrowserSiteListItemRequestBuilder
java.lang.Object
com.microsoft.kiota.BaseRequestBuilder
com.microsoft.graph.admin.edge.internetexplorermode.sitelists.item.BrowserSiteListItemRequestBuilder
@Generated("com.microsoft.kiota")
public class BrowserSiteListItemRequestBuilder
extends com.microsoft.kiota.BaseRequestBuilder
Provides operations to manage the siteLists property of the microsoft.graph.internetExplorerMode entity.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionclassConfiguration for the request such as headers, query parameters, and middleware options.classGet a browserSiteList that contains browserSite and browserSharedCookie resources.classConfiguration for the request such as headers, query parameters, and middleware options.classConfiguration for the request such as headers, query parameters, and middleware options. -
Field Summary
Fields inherited from class com.microsoft.kiota.BaseRequestBuilder
pathParameters, requestAdapter, urlTemplate -
Constructor Summary
ConstructorsConstructorDescriptionBrowserSiteListItemRequestBuilder(String rawUrl, com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newBrowserSiteListItemRequestBuilderand sets the default values.BrowserSiteListItemRequestBuilder(HashMap<String, Object> pathParameters, com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newBrowserSiteListItemRequestBuilderand sets the default values. -
Method Summary
Modifier and TypeMethodDescriptionvoiddelete()Delete a browserSiteList object.voiddelete(Consumer<BrowserSiteListItemRequestBuilder.DeleteRequestConfiguration> requestConfiguration) Delete a browserSiteList object.get()Get a browserSiteList that contains browserSite and browserSharedCookie resources.get(Consumer<BrowserSiteListItemRequestBuilder.GetRequestConfiguration> requestConfiguration) Get a browserSiteList that contains browserSite and browserSharedCookie resources.patch(BrowserSiteList body) Update the properties of a browserSiteList object.patch(BrowserSiteList body, Consumer<BrowserSiteListItemRequestBuilder.PatchRequestConfiguration> requestConfiguration) Update the properties of a browserSiteList object.publish()Provides operations to call the publish method.Provides operations to manage the sharedCookies property of the microsoft.graph.browserSiteList entity.sites()Provides operations to manage the sites property of the microsoft.graph.browserSiteList entity.com.microsoft.kiota.RequestInformationDelete a browserSiteList object.com.microsoft.kiota.RequestInformationtoDeleteRequestInformation(Consumer<BrowserSiteListItemRequestBuilder.DeleteRequestConfiguration> requestConfiguration) Delete a browserSiteList object.com.microsoft.kiota.RequestInformationGet a browserSiteList that contains browserSite and browserSharedCookie resources.com.microsoft.kiota.RequestInformationtoGetRequestInformation(Consumer<BrowserSiteListItemRequestBuilder.GetRequestConfiguration> requestConfiguration) Get a browserSiteList that contains browserSite and browserSharedCookie resources.com.microsoft.kiota.RequestInformationUpdate the properties of a browserSiteList object.com.microsoft.kiota.RequestInformationtoPatchRequestInformation(BrowserSiteList body, Consumer<BrowserSiteListItemRequestBuilder.PatchRequestConfiguration> requestConfiguration) Update the properties of a browserSiteList object.Returns a request builder with the provided arbitrary URL.
-
Constructor Details
-
BrowserSiteListItemRequestBuilder
public BrowserSiteListItemRequestBuilder(@Nonnull HashMap<String, Object> pathParameters, @Nonnull com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newBrowserSiteListItemRequestBuilderand sets the default values.- Parameters:
pathParameters- Path parameters for the requestrequestAdapter- The request adapter to use to execute the requests.
-
BrowserSiteListItemRequestBuilder
public BrowserSiteListItemRequestBuilder(@Nonnull String rawUrl, @Nonnull com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newBrowserSiteListItemRequestBuilderand sets the default values.- Parameters:
rawUrl- The raw URL to use for the request builder.requestAdapter- The request adapter to use to execute the requests.
-
-
Method Details
-
publish
Provides operations to call the publish method.- Returns:
- a
PublishRequestBuilder
-
sites
Provides operations to manage the sites property of the microsoft.graph.browserSiteList entity.- Returns:
- a
SitesRequestBuilder
-
delete
public void delete()Delete a browserSiteList object.- Throws:
ODataError- When receiving a 4XX or 5XX status code- See Also:
-
delete
public void delete(@Nullable Consumer<BrowserSiteListItemRequestBuilder.DeleteRequestConfiguration> requestConfiguration) Delete a browserSiteList object.- Parameters:
requestConfiguration- Configuration for the request such as headers, query parameters, and middleware options.- Throws:
ODataError- When receiving a 4XX or 5XX status code- See Also:
-
get
Get a browserSiteList that contains browserSite and browserSharedCookie resources.- Returns:
- a
BrowserSiteList - Throws:
ODataError- When receiving a 4XX or 5XX status code- See Also:
-
get
@Nullable public BrowserSiteList get(@Nullable Consumer<BrowserSiteListItemRequestBuilder.GetRequestConfiguration> requestConfiguration) Get a browserSiteList that contains browserSite and browserSharedCookie resources.- Parameters:
requestConfiguration- Configuration for the request such as headers, query parameters, and middleware options.- Returns:
- a
BrowserSiteList - Throws:
ODataError- When receiving a 4XX or 5XX status code- See Also:
-
patch
Update the properties of a browserSiteList object.- Parameters:
body- The request body- Returns:
- a
BrowserSiteList - Throws:
ODataError- When receiving a 4XX or 5XX status code- See Also:
-
patch
@Nullable public BrowserSiteList patch(@Nonnull BrowserSiteList body, @Nullable Consumer<BrowserSiteListItemRequestBuilder.PatchRequestConfiguration> requestConfiguration) Update the properties of a browserSiteList object.- Parameters:
body- The request bodyrequestConfiguration- Configuration for the request such as headers, query parameters, and middleware options.- Returns:
- a
BrowserSiteList - Throws:
ODataError- When receiving a 4XX or 5XX status code- See Also:
-
toDeleteRequestInformation
@Nonnull public com.microsoft.kiota.RequestInformation toDeleteRequestInformation()Delete a browserSiteList object.- Returns:
- a
RequestInformation
-
toDeleteRequestInformation
@Nonnull public com.microsoft.kiota.RequestInformation toDeleteRequestInformation(@Nullable Consumer<BrowserSiteListItemRequestBuilder.DeleteRequestConfiguration> requestConfiguration) Delete a browserSiteList object.- Parameters:
requestConfiguration- Configuration for the request such as headers, query parameters, and middleware options.- Returns:
- a
RequestInformation
-
toGetRequestInformation
@Nonnull public com.microsoft.kiota.RequestInformation toGetRequestInformation()Get a browserSiteList that contains browserSite and browserSharedCookie resources.- Returns:
- a
RequestInformation
-
toGetRequestInformation
@Nonnull public com.microsoft.kiota.RequestInformation toGetRequestInformation(@Nullable Consumer<BrowserSiteListItemRequestBuilder.GetRequestConfiguration> requestConfiguration) Get a browserSiteList that contains browserSite and browserSharedCookie resources.- Parameters:
requestConfiguration- Configuration for the request such as headers, query parameters, and middleware options.- Returns:
- a
RequestInformation
-
toPatchRequestInformation
@Nonnull public com.microsoft.kiota.RequestInformation toPatchRequestInformation(@Nonnull BrowserSiteList body) Update the properties of a browserSiteList object.- Parameters:
body- The request body- Returns:
- a
RequestInformation
-
toPatchRequestInformation
@Nonnull public com.microsoft.kiota.RequestInformation toPatchRequestInformation(@Nonnull BrowserSiteList body, @Nullable Consumer<BrowserSiteListItemRequestBuilder.PatchRequestConfiguration> requestConfiguration) Update the properties of a browserSiteList object.- Parameters:
body- The request bodyrequestConfiguration- Configuration for the request such as headers, query parameters, and middleware options.- Returns:
- a
RequestInformation
-
withUrl
Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored.- Parameters:
rawUrl- The raw URL to use for the request builder.- Returns:
- a
BrowserSiteListItemRequestBuilder
-