Skip to content

Commit 1f104b1

Browse files
authored
Merge pull request #2419 from microsoftgraph/v1.0/pipelinebuild/191849
Generated models and request builders
2 parents 3ff91c0 + 8ff70fd commit 1f104b1

File tree

91 files changed

+1664
-558
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

91 files changed

+1664
-558
lines changed

src/main/java/com/microsoft/graph/generated/applications/item/restore/RestoreRequestBuilder.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ public RestoreRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @j
3636
super(requestAdapter, "{+baseurl}/applications/{application%2Did}/restore", rawUrl);
3737
}
3838
/**
39-
* Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. However, security groups can't be restored. Also, restoring an application doesn't 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.
39+
* 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
4040
* @return a {@link DirectoryObject}
4141
* @throws ODataError When receiving a 4XX or 5XX status code
4242
* @see <a href="https://learn.microsoft.com/graph/api/directory-deleteditems-restore?view=graph-rest-1.0">Find more info here</a>
@@ -46,7 +46,7 @@ public DirectoryObject post() {
4646
return post(null);
4747
}
4848
/**
49-
* Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. However, security groups can&apos;t be restored. Also, restoring an application doesn&apos;t 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.
49+
* 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
5050
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
5151
* @return a {@link DirectoryObject}
5252
* @throws ODataError When receiving a 4XX or 5XX status code
@@ -60,15 +60,15 @@ public DirectoryObject post(@jakarta.annotation.Nullable final java.util.functio
6060
return this.requestAdapter.send(requestInfo, errorMapping, DirectoryObject::createFromDiscriminatorValue);
6161
}
6262
/**
63-
* Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. However, security groups can&apos;t be restored. Also, restoring an application doesn&apos;t 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.
63+
* 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
6464
* @return a {@link RequestInformation}
6565
*/
6666
@jakarta.annotation.Nonnull
6767
public RequestInformation toPostRequestInformation() {
6868
return toPostRequestInformation(null);
6969
}
7070
/**
71-
* Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. However, security groups can&apos;t be restored. Also, restoring an application doesn&apos;t 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.
71+
* 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
7272
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
7373
* @return a {@link RequestInformation}
7474
*/

src/main/java/com/microsoft/graph/generated/contacts/item/restore/RestoreRequestBuilder.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ public RestoreRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @j
3636
super(requestAdapter, "{+baseurl}/contacts/{orgContact%2Did}/restore", rawUrl);
3737
}
3838
/**
39-
* Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. However, security groups can&apos;t be restored. Also, restoring an application doesn&apos;t 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.
39+
* 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
4040
* @return a {@link DirectoryObject}
4141
* @throws ODataError When receiving a 4XX or 5XX status code
4242
* @see <a href="https://learn.microsoft.com/graph/api/directory-deleteditems-restore?view=graph-rest-1.0">Find more info here</a>
@@ -46,7 +46,7 @@ public DirectoryObject post() {
4646
return post(null);
4747
}
4848
/**
49-
* Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. However, security groups can&apos;t be restored. Also, restoring an application doesn&apos;t 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.
49+
* 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
5050
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
5151
* @return a {@link DirectoryObject}
5252
* @throws ODataError When receiving a 4XX or 5XX status code
@@ -60,15 +60,15 @@ public DirectoryObject post(@jakarta.annotation.Nullable final java.util.functio
6060
return this.requestAdapter.send(requestInfo, errorMapping, DirectoryObject::createFromDiscriminatorValue);
6161
}
6262
/**
63-
* Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. However, security groups can&apos;t be restored. Also, restoring an application doesn&apos;t 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.
63+
* 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
6464
* @return a {@link RequestInformation}
6565
*/
6666
@jakarta.annotation.Nonnull
6767
public RequestInformation toPostRequestInformation() {
6868
return toPostRequestInformation(null);
6969
}
7070
/**
71-
* Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. However, security groups can&apos;t be restored. Also, restoring an application doesn&apos;t 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.
71+
* 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
7272
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
7373
* @return a {@link RequestInformation}
7474
*/

src/main/java/com/microsoft/graph/generated/contracts/item/restore/RestoreRequestBuilder.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ public RestoreRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @j
3636
super(requestAdapter, "{+baseurl}/contracts/{contract%2Did}/restore", rawUrl);
3737
}
3838
/**
39-
* Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. However, security groups can&apos;t be restored. Also, restoring an application doesn&apos;t 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.
39+
* 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
4040
* @return a {@link DirectoryObject}
4141
* @throws ODataError When receiving a 4XX or 5XX status code
4242
* @see <a href="https://learn.microsoft.com/graph/api/directory-deleteditems-restore?view=graph-rest-1.0">Find more info here</a>
@@ -46,7 +46,7 @@ public DirectoryObject post() {
4646
return post(null);
4747
}
4848
/**
49-
* Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. However, security groups can&apos;t be restored. Also, restoring an application doesn&apos;t 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.
49+
* 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
5050
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
5151
* @return a {@link DirectoryObject}
5252
* @throws ODataError When receiving a 4XX or 5XX status code
@@ -60,15 +60,15 @@ public DirectoryObject post(@jakarta.annotation.Nullable final java.util.functio
6060
return this.requestAdapter.send(requestInfo, errorMapping, DirectoryObject::createFromDiscriminatorValue);
6161
}
6262
/**
63-
* Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. However, security groups can&apos;t be restored. Also, restoring an application doesn&apos;t 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.
63+
* 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
6464
* @return a {@link RequestInformation}
6565
*/
6666
@jakarta.annotation.Nonnull
6767
public RequestInformation toPostRequestInformation() {
6868
return toPostRequestInformation(null);
6969
}
7070
/**
71-
* Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. However, security groups can&apos;t be restored. Also, restoring an application doesn&apos;t 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.
71+
* 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
7272
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
7373
* @return a {@link RequestInformation}
7474
*/

src/main/java/com/microsoft/graph/generated/deviceappmanagement/DeviceAppManagementRequestBuilder.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@ public DeviceAppManagementRequestBuilder(@jakarta.annotation.Nonnull final Strin
175175
* Read properties and relationships of the deviceAppManagement object.
176176
* @return a {@link DeviceAppManagement}
177177
* @throws ODataError When receiving a 4XX or 5XX status code
178-
* @see <a href="https://learn.microsoft.com/graph/api/intune-apps-deviceappmanagement-get?view=graph-rest-1.0">Find more info here</a>
178+
* @see <a href="https://learn.microsoft.com/graph/api/intune-books-deviceappmanagement-get?view=graph-rest-1.0">Find more info here</a>
179179
*/
180180
@jakarta.annotation.Nullable
181181
public DeviceAppManagement get() {
@@ -186,7 +186,7 @@ public DeviceAppManagement get() {
186186
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
187187
* @return a {@link DeviceAppManagement}
188188
* @throws ODataError When receiving a 4XX or 5XX status code
189-
* @see <a href="https://learn.microsoft.com/graph/api/intune-apps-deviceappmanagement-get?view=graph-rest-1.0">Find more info here</a>
189+
* @see <a href="https://learn.microsoft.com/graph/api/intune-books-deviceappmanagement-get?view=graph-rest-1.0">Find more info here</a>
190190
*/
191191
@jakarta.annotation.Nullable
192192
public DeviceAppManagement get(@jakarta.annotation.Nullable final java.util.function.Consumer<GetRequestConfiguration> requestConfiguration) {
@@ -200,7 +200,7 @@ public DeviceAppManagement get(@jakarta.annotation.Nullable final java.util.func
200200
* @param body The request body
201201
* @return a {@link DeviceAppManagement}
202202
* @throws ODataError When receiving a 4XX or 5XX status code
203-
* @see <a href="https://learn.microsoft.com/graph/api/intune-books-deviceappmanagement-update?view=graph-rest-1.0">Find more info here</a>
203+
* @see <a href="https://learn.microsoft.com/graph/api/intune-onboarding-deviceappmanagement-update?view=graph-rest-1.0">Find more info here</a>
204204
*/
205205
@jakarta.annotation.Nullable
206206
public DeviceAppManagement patch(@jakarta.annotation.Nonnull final DeviceAppManagement body) {
@@ -212,7 +212,7 @@ public DeviceAppManagement patch(@jakarta.annotation.Nonnull final DeviceAppMana
212212
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
213213
* @return a {@link DeviceAppManagement}
214214
* @throws ODataError When receiving a 4XX or 5XX status code
215-
* @see <a href="https://learn.microsoft.com/graph/api/intune-books-deviceappmanagement-update?view=graph-rest-1.0">Find more info here</a>
215+
* @see <a href="https://learn.microsoft.com/graph/api/intune-onboarding-deviceappmanagement-update?view=graph-rest-1.0">Find more info here</a>
216216
*/
217217
@jakarta.annotation.Nullable
218218
public DeviceAppManagement patch(@jakarta.annotation.Nonnull final DeviceAppManagement body, @jakarta.annotation.Nullable final java.util.function.Consumer<PatchRequestConfiguration> requestConfiguration) {

0 commit comments

Comments
 (0)