33// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
44// ------------------------------------------------------------------------------
55
6- package com .microsoft .graph .requests ;
6+ package com .microsoft .graph .devicemanagement . requests ;
77
88import com .microsoft .graph .http .IRequestBuilder ;
99import com .microsoft .graph .core .ClientException ;
10- import com .microsoft .graph .models .AuditLogRoot ;
11- import com .microsoft .graph .models .RestrictedSignIn ;
10+ import com .microsoft .graph .devicemanagement .models .Monitoring ;
11+ import com .microsoft .graph .devicemanagement .models .AlertRecord ;
12+ import com .microsoft .graph .devicemanagement .models .PortalNotification ;
1213import java .util .Arrays ;
1314import java .util .EnumSet ;
1415import javax .annotation .Nullable ;
1718import com .microsoft .graph .options .QueryOption ;
1819import com .microsoft .graph .core .IBaseClient ;
1920import com .microsoft .graph .http .BaseEntityCollectionRequest ;
20- import com .microsoft .graph .requests .RestrictedSignInCollectionResponse ;
21- import com .microsoft .graph .requests .RestrictedSignInCollectionRequestBuilder ;
22- import com .microsoft .graph .requests .RestrictedSignInCollectionRequest ;
21+ import com .microsoft .graph .devicemanagement . requests .AlertRecordCollectionResponse ;
22+ import com .microsoft .graph .devicemanagement . requests .AlertRecordCollectionRequestBuilder ;
23+ import com .microsoft .graph .devicemanagement . requests .AlertRecordCollectionRequest ;
2324
2425// **NOTE** This file was generated by a tool and any changes will be overwritten.
2526
2627/**
27- * The class for the Restricted Sign In Collection Request.
28+ * The class for the Alert Record Collection Request.
2829 */
29- public class RestrictedSignInCollectionRequest extends BaseEntityCollectionRequest <RestrictedSignIn , RestrictedSignInCollectionResponse , RestrictedSignInCollectionPage > {
30+ public class AlertRecordCollectionRequest extends BaseEntityCollectionRequest <AlertRecord , AlertRecordCollectionResponse , AlertRecordCollectionPage > {
3031
3132 /**
32- * The request builder for this collection of RestrictedSignIn
33+ * The request builder for this collection of AlertRecord
3334 *
3435 * @param requestUrl the request URL
3536 * @param client the service client
3637 * @param requestOptions the options for this request
3738 */
38- public RestrictedSignInCollectionRequest (@ Nonnull final String requestUrl , @ Nonnull final IBaseClient <?> client , @ Nullable final java .util .List <? extends com .microsoft .graph .options .Option > requestOptions ) {
39- super (requestUrl , client , requestOptions , RestrictedSignInCollectionResponse .class , RestrictedSignInCollectionPage .class , RestrictedSignInCollectionRequestBuilder .class );
39+ public AlertRecordCollectionRequest (@ Nonnull final String requestUrl , @ Nonnull final IBaseClient <?> client , @ Nullable final java .util .List <? extends com .microsoft .graph .options .Option > requestOptions ) {
40+ super (requestUrl , client , requestOptions , AlertRecordCollectionResponse .class , AlertRecordCollectionPage .class , AlertRecordCollectionRequestBuilder .class );
4041 }
4142
4243 /**
43- * Creates a new RestrictedSignIn
44- * @param newRestrictedSignIn the RestrictedSignIn to create
44+ * Creates a new AlertRecord
45+ * @param newAlertRecord the AlertRecord to create
4546 * @return a future with the created object
4647 */
4748 @ Nonnull
48- public java .util .concurrent .CompletableFuture <RestrictedSignIn > postAsync (@ Nonnull final RestrictedSignIn newRestrictedSignIn ) {
49+ public java .util .concurrent .CompletableFuture <AlertRecord > postAsync (@ Nonnull final AlertRecord newAlertRecord ) {
4950 final String requestUrl = getBaseRequest ().getRequestUrl ().toString ();
50- return new RestrictedSignInRequestBuilder (requestUrl , getBaseRequest ().getClient (), /* Options */ null )
51+ return new AlertRecordRequestBuilder (requestUrl , getBaseRequest ().getClient (), /* Options */ null )
5152 .buildRequest (getBaseRequest ().getHeaders ())
52- .postAsync (newRestrictedSignIn );
53+ .postAsync (newAlertRecord );
5354 }
5455
5556 /**
56- * Creates a new RestrictedSignIn
57- * @param newRestrictedSignIn the RestrictedSignIn to create
57+ * Creates a new AlertRecord
58+ * @param newAlertRecord the AlertRecord to create
5859 * @return the newly created object
5960 */
6061 @ Nonnull
61- public RestrictedSignIn post (@ Nonnull final RestrictedSignIn newRestrictedSignIn ) throws ClientException {
62+ public AlertRecord post (@ Nonnull final AlertRecord newAlertRecord ) throws ClientException {
6263 final String requestUrl = getBaseRequest ().getRequestUrl ().toString ();
63- return new RestrictedSignInRequestBuilder (requestUrl , getBaseRequest ().getClient (), /* Options */ null )
64+ return new AlertRecordRequestBuilder (requestUrl , getBaseRequest ().getClient (), /* Options */ null )
6465 .buildRequest (getBaseRequest ().getHeaders ())
65- .post (newRestrictedSignIn );
66+ .post (newAlertRecord );
6667 }
6768
6869 /**
@@ -72,7 +73,7 @@ public RestrictedSignIn post(@Nonnull final RestrictedSignIn newRestrictedSignIn
7273 * @return the updated request
7374 */
7475 @ Nonnull
75- public RestrictedSignInCollectionRequest expand (@ Nonnull final String value ) {
76+ public AlertRecordCollectionRequest expand (@ Nonnull final String value ) {
7677 addExpandOption (value );
7778 return this ;
7879 }
@@ -84,7 +85,7 @@ public RestrictedSignInCollectionRequest expand(@Nonnull final String value) {
8485 * @return the updated request
8586 */
8687 @ Nonnull
87- public RestrictedSignInCollectionRequest filter (@ Nonnull final String value ) {
88+ public AlertRecordCollectionRequest filter (@ Nonnull final String value ) {
8889 addFilterOption (value );
8990 return this ;
9091 }
@@ -96,7 +97,7 @@ public RestrictedSignInCollectionRequest filter(@Nonnull final String value) {
9697 * @return the updated request
9798 */
9899 @ Nonnull
99- public RestrictedSignInCollectionRequest orderBy (@ Nonnull final String value ) {
100+ public AlertRecordCollectionRequest orderBy (@ Nonnull final String value ) {
100101 addOrderByOption (value );
101102 return this ;
102103 }
@@ -108,7 +109,7 @@ public RestrictedSignInCollectionRequest orderBy(@Nonnull final String value) {
108109 * @return the updated request
109110 */
110111 @ Nonnull
111- public RestrictedSignInCollectionRequest select (@ Nonnull final String value ) {
112+ public AlertRecordCollectionRequest select (@ Nonnull final String value ) {
112113 addSelectOption (value );
113114 return this ;
114115 }
@@ -120,7 +121,7 @@ public RestrictedSignInCollectionRequest select(@Nonnull final String value) {
120121 * @return the updated request
121122 */
122123 @ Nonnull
123- public RestrictedSignInCollectionRequest top (final int value ) {
124+ public AlertRecordCollectionRequest top (final int value ) {
124125 addTopOption (value );
125126 return this ;
126127 }
@@ -132,7 +133,7 @@ public RestrictedSignInCollectionRequest top(final int value) {
132133 * @return the updated request
133134 */
134135 @ Nonnull
135- public RestrictedSignInCollectionRequest count (final boolean value ) {
136+ public AlertRecordCollectionRequest count (final boolean value ) {
136137 addCountOption (value );
137138 return this ;
138139 }
@@ -142,7 +143,7 @@ public RestrictedSignInCollectionRequest count(final boolean value) {
142143 * @return the updated request
143144 */
144145 @ Nonnull
145- public RestrictedSignInCollectionRequest count () {
146+ public AlertRecordCollectionRequest count () {
146147 addCountOption (true );
147148 return this ;
148149 }
@@ -153,7 +154,7 @@ public RestrictedSignInCollectionRequest count() {
153154 * @return the updated request
154155 */
155156 @ Nonnull
156- public RestrictedSignInCollectionRequest skip (final int value ) {
157+ public AlertRecordCollectionRequest skip (final int value ) {
157158 addSkipOption (value );
158159 return this ;
159160 }
@@ -165,7 +166,7 @@ public RestrictedSignInCollectionRequest skip(final int value) {
165166 * @return the updated request
166167 */
167168 @ Nonnull
168- public RestrictedSignInCollectionRequest skipToken (@ Nonnull final String skipToken ) {
169+ public AlertRecordCollectionRequest skipToken (@ Nonnull final String skipToken ) {
169170 addSkipTokenOption (skipToken );
170171 return this ;
171172 }
0 commit comments