Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
5 changes: 3 additions & 2 deletions gradle/dependencies.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,11 @@ dependencies {
testImplementation 'org.mockito:mockito-inline:5.2.0'

implementation 'com.squareup.okhttp3:okhttp:4.12.0'
implementation 'jakarta.annotation:jakarta.annotation-api:3.0.0'
implementation 'jakarta.annotation:jakarta.annotation-api:2.1.1'

// Core Http library
api 'com.microsoft.graph:microsoft-graph-core:3.1.9'
api 'com.microsoft.graph:microsoft-graph-core:3.1.10'

implementation 'com.microsoft.kiota:microsoft-kiota-authentication-azure:1.1.11'
implementation 'com.microsoft.kiota:microsoft-kiota-http-okHttp:1.1.11'
implementation 'com.microsoft.kiota:microsoft-kiota-serialization-json:1.1.11'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,19 +60,21 @@ public SiteListsRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl,
super(requestAdapter, "{+baseurl}/admin/edge/internetExplorerMode/siteLists{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl);
}
/**
* A collection of site lists to support Internet Explorer mode.
* Get a list of the browserSiteList objects and their properties.
* @return a {@link BrowserSiteListCollectionResponse}
* @throws ODataError When receiving a 4XX or 5XX status code
* @see <a href="https://learn.microsoft.com/graph/api/internetexplorermode-list-sitelists?view=graph-rest-1.0">Find more info here</a>
*/
@jakarta.annotation.Nullable
public BrowserSiteListCollectionResponse get() {
return get(null);
}
/**
* A collection of site lists to support Internet Explorer mode.
* Get a list of the browserSiteList objects and their properties.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link BrowserSiteListCollectionResponse}
* @throws ODataError When receiving a 4XX or 5XX status code
* @see <a href="https://learn.microsoft.com/graph/api/internetexplorermode-list-sitelists?view=graph-rest-1.0">Find more info here</a>
*/
@jakarta.annotation.Nullable
public BrowserSiteListCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer<GetRequestConfiguration> requestConfiguration) {
Expand All @@ -82,21 +84,23 @@ public BrowserSiteListCollectionResponse get(@jakarta.annotation.Nullable final
return this.requestAdapter.send(requestInfo, errorMapping, BrowserSiteListCollectionResponse::createFromDiscriminatorValue);
}
/**
* Create new navigation property to siteLists for admin
* Create a new browserSiteList object to support Internet Explorer mode.
* @param body The request body
* @return a {@link BrowserSiteList}
* @throws ODataError When receiving a 4XX or 5XX status code
* @see <a href="https://learn.microsoft.com/graph/api/internetexplorermode-post-sitelists?view=graph-rest-1.0">Find more info here</a>
*/
@jakarta.annotation.Nullable
public BrowserSiteList post(@jakarta.annotation.Nonnull final BrowserSiteList body) {
return post(body, null);
}
/**
* Create new navigation property to siteLists for admin
* Create a new browserSiteList object to support Internet Explorer mode.
* @param body The request body
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link BrowserSiteList}
* @throws ODataError When receiving a 4XX or 5XX status code
* @see <a href="https://learn.microsoft.com/graph/api/internetexplorermode-post-sitelists?view=graph-rest-1.0">Find more info here</a>
*/
@jakarta.annotation.Nullable
public BrowserSiteList post(@jakarta.annotation.Nonnull final BrowserSiteList body, @jakarta.annotation.Nullable final java.util.function.Consumer<PostRequestConfiguration> requestConfiguration) {
Expand All @@ -107,15 +111,15 @@ public BrowserSiteList post(@jakarta.annotation.Nonnull final BrowserSiteList bo
return this.requestAdapter.send(requestInfo, errorMapping, BrowserSiteList::createFromDiscriminatorValue);
}
/**
* A collection of site lists to support Internet Explorer mode.
* Get a list of the browserSiteList objects and their properties.
* @return a {@link RequestInformation}
*/
@jakarta.annotation.Nonnull
public RequestInformation toGetRequestInformation() {
return toGetRequestInformation(null);
}
/**
* A collection of site lists to support Internet Explorer mode.
* Get a list of the browserSiteList objects and their properties.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link RequestInformation}
*/
Expand All @@ -127,7 +131,7 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f
return requestInfo;
}
/**
* Create new navigation property to siteLists for admin
* Create a new browserSiteList object to support Internet Explorer mode.
* @param body The request body
* @return a {@link RequestInformation}
*/
Expand All @@ -136,7 +140,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f
return toPostRequestInformation(body, null);
}
/**
* Create new navigation property to siteLists for admin
* Create a new browserSiteList object to support Internet Explorer mode.
* @param body The request body
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link RequestInformation}
Expand All @@ -161,7 +165,7 @@ public SiteListsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String
return new SiteListsRequestBuilder(rawUrl, requestAdapter);
}
/**
* A collection of site lists to support Internet Explorer mode.
* Get a list of the browserSiteList objects and their properties.
*/
@jakarta.annotation.Generated("com.microsoft.kiota")
public class GetQueryParameters implements QueryParameters {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,16 +64,18 @@ public BrowserSiteListItemRequestBuilder(@jakarta.annotation.Nonnull final Strin
super(requestAdapter, "{+baseurl}/admin/edge/internetExplorerMode/siteLists/{browserSiteList%2Did}{?%24expand,%24select}", rawUrl);
}
/**
* Delete navigation property siteLists for admin
* Delete a browserSiteList object.
* @throws ODataError When receiving a 4XX or 5XX status code
* @see <a href="https://learn.microsoft.com/graph/api/internetexplorermode-delete-sitelists?view=graph-rest-1.0">Find more info here</a>
*/
public void delete() {
delete(null);
}
/**
* Delete navigation property siteLists for admin
* Delete a browserSiteList 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 <a href="https://learn.microsoft.com/graph/api/internetexplorermode-delete-sitelists?view=graph-rest-1.0">Find more info here</a>
*/
public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer<DeleteRequestConfiguration> requestConfiguration) {
final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration);
Expand All @@ -82,19 +84,21 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume
this.requestAdapter.sendPrimitive(requestInfo, errorMapping, Void.class);
}
/**
* A collection of site lists to support Internet Explorer mode.
* Get a browserSiteList that contains browserSite and browserSharedCookie resources.
* @return a {@link BrowserSiteList}
* @throws ODataError When receiving a 4XX or 5XX status code
* @see <a href="https://learn.microsoft.com/graph/api/browsersitelist-get?view=graph-rest-1.0">Find more info here</a>
*/
@jakarta.annotation.Nullable
public BrowserSiteList get() {
return get(null);
}
/**
* A collection of site lists to support Internet Explorer mode.
* Get a browserSiteList that contains browserSite and browserSharedCookie resources.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link BrowserSiteList}
* @throws ODataError When receiving a 4XX or 5XX status code
* @see <a href="https://learn.microsoft.com/graph/api/browsersitelist-get?view=graph-rest-1.0">Find more info here</a>
*/
@jakarta.annotation.Nullable
public BrowserSiteList get(@jakarta.annotation.Nullable final java.util.function.Consumer<GetRequestConfiguration> requestConfiguration) {
Expand All @@ -104,21 +108,23 @@ public BrowserSiteList get(@jakarta.annotation.Nullable final java.util.function
return this.requestAdapter.send(requestInfo, errorMapping, BrowserSiteList::createFromDiscriminatorValue);
}
/**
* Update the navigation property siteLists in admin
* Update the properties of a browserSiteList object.
* @param body The request body
* @return a {@link BrowserSiteList}
* @throws ODataError When receiving a 4XX or 5XX status code
* @see <a href="https://learn.microsoft.com/graph/api/browsersitelist-update?view=graph-rest-1.0">Find more info here</a>
*/
@jakarta.annotation.Nullable
public BrowserSiteList patch(@jakarta.annotation.Nonnull final BrowserSiteList body) {
return patch(body, null);
}
/**
* Update the navigation property siteLists in admin
* Update the properties of a browserSiteList object.
* @param body The request body
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link BrowserSiteList}
* @throws ODataError When receiving a 4XX or 5XX status code
* @see <a href="https://learn.microsoft.com/graph/api/browsersitelist-update?view=graph-rest-1.0">Find more info here</a>
*/
@jakarta.annotation.Nullable
public BrowserSiteList patch(@jakarta.annotation.Nonnull final BrowserSiteList body, @jakarta.annotation.Nullable final java.util.function.Consumer<PatchRequestConfiguration> requestConfiguration) {
Expand All @@ -129,15 +135,15 @@ public BrowserSiteList patch(@jakarta.annotation.Nonnull final BrowserSiteList b
return this.requestAdapter.send(requestInfo, errorMapping, BrowserSiteList::createFromDiscriminatorValue);
}
/**
* Delete navigation property siteLists for admin
* Delete a browserSiteList object.
* @return a {@link RequestInformation}
*/
@jakarta.annotation.Nonnull
public RequestInformation toDeleteRequestInformation() {
return toDeleteRequestInformation(null);
}
/**
* Delete navigation property siteLists for admin
* Delete a browserSiteList object.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link RequestInformation}
*/
Expand All @@ -149,15 +155,15 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl
return requestInfo;
}
/**
* A collection of site lists to support Internet Explorer mode.
* Get a browserSiteList that contains browserSite and browserSharedCookie resources.
* @return a {@link RequestInformation}
*/
@jakarta.annotation.Nonnull
public RequestInformation toGetRequestInformation() {
return toGetRequestInformation(null);
}
/**
* A collection of site lists to support Internet Explorer mode.
* Get a browserSiteList that contains browserSite and browserSharedCookie resources.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link RequestInformation}
*/
Expand All @@ -169,7 +175,7 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f
return requestInfo;
}
/**
* Update the navigation property siteLists in admin
* Update the properties of a browserSiteList object.
* @param body The request body
* @return a {@link RequestInformation}
*/
Expand All @@ -178,7 +184,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull
return toPatchRequestInformation(body, null);
}
/**
* Update the navigation property siteLists in admin
* Update the properties of a browserSiteList object.
* @param body The request body
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link RequestInformation}
Expand Down Expand Up @@ -209,7 +215,7 @@ public BrowserSiteListItemRequestBuilder withUrl(@jakarta.annotation.Nonnull fin
public class DeleteRequestConfiguration extends BaseRequestConfiguration {
}
/**
* A collection of site lists to support Internet Explorer mode.
* Get a browserSiteList that contains browserSite and browserSharedCookie resources.
*/
@jakarta.annotation.Generated("com.microsoft.kiota")
public class GetQueryParameters implements QueryParameters {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@ public PublishRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @j
* @param body The request body
* @return a {@link BrowserSiteList}
* @throws ODataError When receiving a 4XX or 5XX status code
* @see <a href="https://learn.microsoft.com/graph/api/browsersitelist-publish?view=graph-rest-1.0">Find more info here</a>
*/
@jakarta.annotation.Nullable
public BrowserSiteList post(@jakarta.annotation.Nonnull final PublishPostRequestBody body) {
Expand All @@ -52,7 +51,6 @@ public BrowserSiteList post(@jakarta.annotation.Nonnull final PublishPostRequest
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link BrowserSiteList}
* @throws ODataError When receiving a 4XX or 5XX status code
* @see <a href="https://learn.microsoft.com/graph/api/browsersitelist-publish?view=graph-rest-1.0">Find more info here</a>
*/
@jakarta.annotation.Nullable
public BrowserSiteList post(@jakarta.annotation.Nonnull final PublishPostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer<PostRequestConfiguration> requestConfiguration) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,19 +60,21 @@ public SharedCookiesRequestBuilder(@jakarta.annotation.Nonnull final String rawU
super(requestAdapter, "{+baseurl}/admin/edge/internetExplorerMode/siteLists/{browserSiteList%2Did}/sharedCookies{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl);
}
/**
* A collection of shared cookies defined for the site list.
* Get a list of the browserSharedCookie objects and their properties.
* @return a {@link BrowserSharedCookieCollectionResponse}
* @throws ODataError When receiving a 4XX or 5XX status code
* @see <a href="https://learn.microsoft.com/graph/api/browsersitelist-list-sharedcookies?view=graph-rest-1.0">Find more info here</a>
*/
@jakarta.annotation.Nullable
public BrowserSharedCookieCollectionResponse get() {
return get(null);
}
/**
* A collection of shared cookies defined for the site list.
* Get a list of the browserSharedCookie objects and their properties.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link BrowserSharedCookieCollectionResponse}
* @throws ODataError When receiving a 4XX or 5XX status code
* @see <a href="https://learn.microsoft.com/graph/api/browsersitelist-list-sharedcookies?view=graph-rest-1.0">Find more info here</a>
*/
@jakarta.annotation.Nullable
public BrowserSharedCookieCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer<GetRequestConfiguration> requestConfiguration) {
Expand All @@ -82,21 +84,23 @@ public BrowserSharedCookieCollectionResponse get(@jakarta.annotation.Nullable fi
return this.requestAdapter.send(requestInfo, errorMapping, BrowserSharedCookieCollectionResponse::createFromDiscriminatorValue);
}
/**
* Create new navigation property to sharedCookies for admin
* Create a new browserSharedCookie object in a browserSiteList.
* @param body The request body
* @return a {@link BrowserSharedCookie}
* @throws ODataError When receiving a 4XX or 5XX status code
* @see <a href="https://learn.microsoft.com/graph/api/browsersitelist-post-sharedcookies?view=graph-rest-1.0">Find more info here</a>
*/
@jakarta.annotation.Nullable
public BrowserSharedCookie post(@jakarta.annotation.Nonnull final BrowserSharedCookie body) {
return post(body, null);
}
/**
* Create new navigation property to sharedCookies for admin
* Create a new browserSharedCookie object in a browserSiteList.
* @param body The request body
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link BrowserSharedCookie}
* @throws ODataError When receiving a 4XX or 5XX status code
* @see <a href="https://learn.microsoft.com/graph/api/browsersitelist-post-sharedcookies?view=graph-rest-1.0">Find more info here</a>
*/
@jakarta.annotation.Nullable
public BrowserSharedCookie post(@jakarta.annotation.Nonnull final BrowserSharedCookie body, @jakarta.annotation.Nullable final java.util.function.Consumer<PostRequestConfiguration> requestConfiguration) {
Expand All @@ -107,15 +111,15 @@ public BrowserSharedCookie post(@jakarta.annotation.Nonnull final BrowserSharedC
return this.requestAdapter.send(requestInfo, errorMapping, BrowserSharedCookie::createFromDiscriminatorValue);
}
/**
* A collection of shared cookies defined for the site list.
* Get a list of the browserSharedCookie objects and their properties.
* @return a {@link RequestInformation}
*/
@jakarta.annotation.Nonnull
public RequestInformation toGetRequestInformation() {
return toGetRequestInformation(null);
}
/**
* A collection of shared cookies defined for the site list.
* Get a list of the browserSharedCookie objects and their properties.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link RequestInformation}
*/
Expand All @@ -127,7 +131,7 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f
return requestInfo;
}
/**
* Create new navigation property to sharedCookies for admin
* Create a new browserSharedCookie object in a browserSiteList.
* @param body The request body
* @return a {@link RequestInformation}
*/
Expand All @@ -136,7 +140,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f
return toPostRequestInformation(body, null);
}
/**
* Create new navigation property to sharedCookies for admin
* Create a new browserSharedCookie object in a browserSiteList.
* @param body The request body
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link RequestInformation}
Expand All @@ -161,7 +165,7 @@ public SharedCookiesRequestBuilder withUrl(@jakarta.annotation.Nonnull final Str
return new SharedCookiesRequestBuilder(rawUrl, requestAdapter);
}
/**
* A collection of shared cookies defined for the site list.
* Get a list of the browserSharedCookie objects and their properties.
*/
@jakarta.annotation.Generated("com.microsoft.kiota")
public class GetQueryParameters implements QueryParameters {
Expand Down
Loading