Skip to content

Commit

Permalink
Merge pull request #1954 from microsoftgraph/v1.0/pipelinebuild/144821
Browse files Browse the repository at this point in the history
Generated  models and request builders
  • Loading branch information
Ndiritu authored Apr 24, 2024
2 parents a885a62 + 854b396 commit 2d57400
Show file tree
Hide file tree
Showing 2,247 changed files with 15,911 additions and 21,800 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,12 @@

All notable changes to this project will be documented in this file.

## [6.7.0] - 2024-04-24

### Added

- Weekly generated v1.0 models and request builders using Kiota

## [6.6.0] - 2024-04-16

### Added
Expand Down
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ repositories {
dependencies {
// Include the sdk as a dependency
// x-release-please-start-version
implementation 'com.microsoft.graph:microsoft-graph:6.6.0'
implementation 'com.microsoft.graph:microsoft-graph:6.7.0'
// x-release-please-end
// This dependency is only needed if you are using a TokenCredential object for authentication
implementation 'com.azure:azure-identity:1.11.0'
Expand Down Expand Up @@ -125,3 +125,4 @@ Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the [MI




3 changes: 2 additions & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ mavenArtifactId = microsoft-graph
mavenMajorVersion = 6
# x-release-please-end
# x-release-please-start-minor
mavenMinorVersion = 6
mavenMinorVersion = 7
# x-release-please-end
# x-release-please-start-patch
mavenPatchVersion = 0
Expand Down Expand Up @@ -132,5 +132,6 @@ mavenCentralPublishingEnabled=true






Original file line number Diff line number Diff line change
Expand Up @@ -60,21 +60,19 @@ public SiteListsRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl,
super(requestAdapter, "{+baseurl}/admin/edge/internetExplorerMode/siteLists{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl);
}
/**
* Get a list of the browserSiteList objects and their properties.
* A collection of site lists to support Internet Explorer mode.
* @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);
}
/**
* Get a list of the browserSiteList objects and their properties.
* A collection of site lists to support Internet Explorer mode.
* @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 @@ -84,23 +82,21 @@ public BrowserSiteListCollectionResponse get(@jakarta.annotation.Nullable final
return this.requestAdapter.send(requestInfo, errorMapping, BrowserSiteListCollectionResponse::createFromDiscriminatorValue);
}
/**
* Create a new browserSiteList object to support Internet Explorer mode.
* Create new navigation property to siteLists for admin
* @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 a new browserSiteList object to support Internet Explorer mode.
* Create new navigation property to siteLists for admin
* @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 @@ -111,15 +107,15 @@ public BrowserSiteList post(@jakarta.annotation.Nonnull final BrowserSiteList bo
return this.requestAdapter.send(requestInfo, errorMapping, BrowserSiteList::createFromDiscriminatorValue);
}
/**
* Get a list of the browserSiteList objects and their properties.
* A collection of site lists to support Internet Explorer mode.
* @return a {@link RequestInformation}
*/
@jakarta.annotation.Nonnull
public RequestInformation toGetRequestInformation() {
return toGetRequestInformation(null);
}
/**
* Get a list of the browserSiteList objects and their properties.
* A collection of site lists to support Internet Explorer mode.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link RequestInformation}
*/
Expand All @@ -131,7 +127,7 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f
return requestInfo;
}
/**
* Create a new browserSiteList object to support Internet Explorer mode.
* Create new navigation property to siteLists for admin
* @param body The request body
* @return a {@link RequestInformation}
*/
Expand All @@ -140,7 +136,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f
return toPostRequestInformation(body, null);
}
/**
* Create a new browserSiteList object to support Internet Explorer mode.
* Create new navigation property to siteLists 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}
Expand All @@ -165,7 +161,7 @@ public SiteListsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String
return new SiteListsRequestBuilder(rawUrl, requestAdapter);
}
/**
* Get a list of the browserSiteList objects and their properties.
* A collection of site lists to support Internet Explorer mode.
*/
@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,18 +64,16 @@ public BrowserSiteListItemRequestBuilder(@jakarta.annotation.Nonnull final Strin
super(requestAdapter, "{+baseurl}/admin/edge/internetExplorerMode/siteLists/{browserSiteList%2Did}{?%24expand,%24select}", rawUrl);
}
/**
* Delete a browserSiteList object.
* Delete navigation property siteLists for admin
* @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 a browserSiteList object.
* Delete navigation property siteLists 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
* @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 @@ -84,21 +82,19 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume
this.requestAdapter.sendPrimitive(requestInfo, errorMapping, Void.class);
}
/**
* Get a browserSiteList that contains browserSite and browserSharedCookie resources.
* A collection of site lists to support Internet Explorer mode.
* @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);
}
/**
* Get a browserSiteList that contains browserSite and browserSharedCookie resources.
* A collection of site lists to support Internet Explorer mode.
* @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 @@ -108,23 +104,21 @@ public BrowserSiteList get(@jakarta.annotation.Nullable final java.util.function
return this.requestAdapter.send(requestInfo, errorMapping, BrowserSiteList::createFromDiscriminatorValue);
}
/**
* Update the properties of a browserSiteList object.
* Update the navigation property siteLists in admin
* @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 properties of a browserSiteList object.
* Update the navigation property siteLists in admin
* @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 @@ -135,15 +129,15 @@ public BrowserSiteList patch(@jakarta.annotation.Nonnull final BrowserSiteList b
return this.requestAdapter.send(requestInfo, errorMapping, BrowserSiteList::createFromDiscriminatorValue);
}
/**
* Delete a browserSiteList object.
* Delete navigation property siteLists for admin
* @return a {@link RequestInformation}
*/
@jakarta.annotation.Nonnull
public RequestInformation toDeleteRequestInformation() {
return toDeleteRequestInformation(null);
}
/**
* Delete a browserSiteList object.
* Delete navigation property siteLists for admin
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link RequestInformation}
*/
Expand All @@ -155,15 +149,15 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl
return requestInfo;
}
/**
* Get a browserSiteList that contains browserSite and browserSharedCookie resources.
* A collection of site lists to support Internet Explorer mode.
* @return a {@link RequestInformation}
*/
@jakarta.annotation.Nonnull
public RequestInformation toGetRequestInformation() {
return toGetRequestInformation(null);
}
/**
* Get a browserSiteList that contains browserSite and browserSharedCookie resources.
* A collection of site lists to support Internet Explorer mode.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link RequestInformation}
*/
Expand All @@ -175,7 +169,7 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f
return requestInfo;
}
/**
* Update the properties of a browserSiteList object.
* Update the navigation property siteLists in admin
* @param body The request body
* @return a {@link RequestInformation}
*/
Expand All @@ -184,7 +178,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull
return toPatchRequestInformation(body, null);
}
/**
* Update the properties of a browserSiteList object.
* Update the navigation property siteLists 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}
Expand Down Expand Up @@ -215,7 +209,7 @@ public BrowserSiteListItemRequestBuilder withUrl(@jakarta.annotation.Nonnull fin
public class DeleteRequestConfiguration extends BaseRequestConfiguration {
}
/**
* Get a browserSiteList that contains browserSite and browserSharedCookie resources.
* A collection of site lists to support Internet Explorer mode.
*/
@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 @@ -60,21 +60,19 @@ 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);
}
/**
* Get a list of the browserSharedCookie objects and their properties.
* A collection of shared cookies defined for the site list.
* @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);
}
/**
* Get a list of the browserSharedCookie objects and their properties.
* A collection of shared cookies defined for the site list.
* @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 @@ -84,23 +82,21 @@ public BrowserSharedCookieCollectionResponse get(@jakarta.annotation.Nullable fi
return this.requestAdapter.send(requestInfo, errorMapping, BrowserSharedCookieCollectionResponse::createFromDiscriminatorValue);
}
/**
* Create a new browserSharedCookie object in a browserSiteList.
* Create new navigation property to sharedCookies for admin
* @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 a new browserSharedCookie object in a browserSiteList.
* Create new navigation property to sharedCookies for admin
* @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 @@ -111,15 +107,15 @@ public BrowserSharedCookie post(@jakarta.annotation.Nonnull final BrowserSharedC
return this.requestAdapter.send(requestInfo, errorMapping, BrowserSharedCookie::createFromDiscriminatorValue);
}
/**
* Get a list of the browserSharedCookie objects and their properties.
* A collection of shared cookies defined for the site list.
* @return a {@link RequestInformation}
*/
@jakarta.annotation.Nonnull
public RequestInformation toGetRequestInformation() {
return toGetRequestInformation(null);
}
/**
* Get a list of the browserSharedCookie objects and their properties.
* A collection of shared cookies defined for the site list.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link RequestInformation}
*/
Expand All @@ -131,7 +127,7 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f
return requestInfo;
}
/**
* Create a new browserSharedCookie object in a browserSiteList.
* Create new navigation property to sharedCookies for admin
* @param body The request body
* @return a {@link RequestInformation}
*/
Expand All @@ -140,7 +136,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f
return toPostRequestInformation(body, null);
}
/**
* Create a new browserSharedCookie object in a browserSiteList.
* Create new navigation property to sharedCookies 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}
Expand All @@ -165,7 +161,7 @@ public SharedCookiesRequestBuilder withUrl(@jakarta.annotation.Nonnull final Str
return new SharedCookiesRequestBuilder(rawUrl, requestAdapter);
}
/**
* Get a list of the browserSharedCookie objects and their properties.
* A collection of shared cookies defined for the site list.
*/
@jakarta.annotation.Generated("com.microsoft.kiota")
public class GetQueryParameters implements QueryParameters {
Expand Down
Loading

0 comments on commit 2d57400

Please sign in to comment.