Skip to content

Commit 809a51a

Browse files
Microsoft Graph DevX ToolingMicrosoft Graph DevX Tooling
authored andcommitted
Update generated files with build 131341
1 parent 7ee4e15 commit 809a51a

File tree

10,187 files changed

+168170
-58310
lines changed

Some content is hidden

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

10,187 files changed

+168170
-58310
lines changed

src/main/java/com/microsoft/graph/beta/generated/accessreviewdecisions/AccessReviewDecisionsRequestBuilder.java

Lines changed: 19 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
import com.microsoft.kiota.BaseRequestBuilder;
99
import com.microsoft.kiota.BaseRequestConfiguration;
1010
import com.microsoft.kiota.HttpMethod;
11-
import com.microsoft.kiota.QueryParameter;
11+
import com.microsoft.kiota.QueryParameters;
1212
import com.microsoft.kiota.RequestAdapter;
1313
import com.microsoft.kiota.RequestInformation;
1414
import com.microsoft.kiota.RequestOption;
@@ -161,55 +161,64 @@ public AccessReviewDecisionsRequestBuilder withUrl(@jakarta.annotation.Nonnull f
161161
* Get entities from accessReviewDecisions
162162
*/
163163
@jakarta.annotation.Generated("com.microsoft.kiota")
164-
public class GetQueryParameters {
164+
public class GetQueryParameters implements QueryParameters {
165165
/**
166166
* Include count of items
167167
*/
168-
@QueryParameter(name = "%24count")
169168
@jakarta.annotation.Nullable
170169
public Boolean count;
171170
/**
172171
* Expand related entities
173172
*/
174-
@QueryParameter(name = "%24expand")
175173
@jakarta.annotation.Nullable
176174
public String[] expand;
177175
/**
178176
* Filter items by property values
179177
*/
180-
@QueryParameter(name = "%24filter")
181178
@jakarta.annotation.Nullable
182179
public String filter;
183180
/**
184181
* Order items by property values
185182
*/
186-
@QueryParameter(name = "%24orderby")
187183
@jakarta.annotation.Nullable
188184
public String[] orderby;
189185
/**
190186
* Search items by search phrases
191187
*/
192-
@QueryParameter(name = "%24search")
193188
@jakarta.annotation.Nullable
194189
public String search;
195190
/**
196191
* Select properties to be returned
197192
*/
198-
@QueryParameter(name = "%24select")
199193
@jakarta.annotation.Nullable
200194
public String[] select;
201195
/**
202196
* Skip the first n items
203197
*/
204-
@QueryParameter(name = "%24skip")
205198
@jakarta.annotation.Nullable
206199
public Integer skip;
207200
/**
208201
* Show only the first n items
209202
*/
210-
@QueryParameter(name = "%24top")
211203
@jakarta.annotation.Nullable
212204
public Integer top;
205+
/**
206+
* Extracts the query parameters into a map for the URI template parsing.
207+
* @return a Map<String, Object>
208+
*/
209+
@jakarta.annotation.Nonnull
210+
public Map<String, Object> toQueryParameters() {
211+
final Map<String, Object> allQueryParams = new HashMap();
212+
allQueryParams.put("%24count", count);
213+
allQueryParams.put("%24filter", filter);
214+
allQueryParams.put("%24search", search);
215+
allQueryParams.put("%24skip", skip);
216+
allQueryParams.put("%24top", top);
217+
allQueryParams.put("%24expand", expand);
218+
allQueryParams.put("%24orderby", orderby);
219+
allQueryParams.put("%24select", select);
220+
return allQueryParams;
221+
}
213222
}
214223
/**
215224
* Configuration for the request such as headers, query parameters, and middleware options.

src/main/java/com/microsoft/graph/beta/generated/accessreviewdecisions/count/CountRequestBuilder.java

Lines changed: 13 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
import com.microsoft.kiota.BaseRequestBuilder;
55
import com.microsoft.kiota.BaseRequestConfiguration;
66
import com.microsoft.kiota.HttpMethod;
7-
import com.microsoft.kiota.QueryParameter;
7+
import com.microsoft.kiota.QueryParameters;
88
import com.microsoft.kiota.RequestAdapter;
99
import com.microsoft.kiota.RequestInformation;
1010
import com.microsoft.kiota.RequestOption;
@@ -90,19 +90,28 @@ public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawU
9090
* Get the number of the resource
9191
*/
9292
@jakarta.annotation.Generated("com.microsoft.kiota")
93-
public class GetQueryParameters {
93+
public class GetQueryParameters implements QueryParameters {
9494
/**
9595
* Filter items by property values
9696
*/
97-
@QueryParameter(name = "%24filter")
9897
@jakarta.annotation.Nullable
9998
public String filter;
10099
/**
101100
* Search items by search phrases
102101
*/
103-
@QueryParameter(name = "%24search")
104102
@jakarta.annotation.Nullable
105103
public String search;
104+
/**
105+
* Extracts the query parameters into a map for the URI template parsing.
106+
* @return a Map<String, Object>
107+
*/
108+
@jakarta.annotation.Nonnull
109+
public Map<String, Object> toQueryParameters() {
110+
final Map<String, Object> allQueryParams = new HashMap();
111+
allQueryParams.put("%24filter", filter);
112+
allQueryParams.put("%24search", search);
113+
return allQueryParams;
114+
}
106115
}
107116
/**
108117
* Configuration for the request such as headers, query parameters, and middleware options.

src/main/java/com/microsoft/graph/beta/generated/accessreviewdecisions/item/AccessReviewDecisionItemRequestBuilder.java

Lines changed: 13 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
import com.microsoft.kiota.BaseRequestBuilder;
66
import com.microsoft.kiota.BaseRequestConfiguration;
77
import com.microsoft.kiota.HttpMethod;
8-
import com.microsoft.kiota.QueryParameter;
8+
import com.microsoft.kiota.QueryParameters;
99
import com.microsoft.kiota.RequestAdapter;
1010
import com.microsoft.kiota.RequestInformation;
1111
import com.microsoft.kiota.RequestOption;
@@ -182,19 +182,28 @@ public class DeleteRequestConfiguration extends BaseRequestConfiguration {
182182
* Get entity from accessReviewDecisions by key
183183
*/
184184
@jakarta.annotation.Generated("com.microsoft.kiota")
185-
public class GetQueryParameters {
185+
public class GetQueryParameters implements QueryParameters {
186186
/**
187187
* Expand related entities
188188
*/
189-
@QueryParameter(name = "%24expand")
190189
@jakarta.annotation.Nullable
191190
public String[] expand;
192191
/**
193192
* Select properties to be returned
194193
*/
195-
@QueryParameter(name = "%24select")
196194
@jakarta.annotation.Nullable
197195
public String[] select;
196+
/**
197+
* Extracts the query parameters into a map for the URI template parsing.
198+
* @return a Map<String, Object>
199+
*/
200+
@jakarta.annotation.Nonnull
201+
public Map<String, Object> toQueryParameters() {
202+
final Map<String, Object> allQueryParams = new HashMap();
203+
allQueryParams.put("%24expand", expand);
204+
allQueryParams.put("%24select", select);
205+
return allQueryParams;
206+
}
198207
}
199208
/**
200209
* Configuration for the request such as headers, query parameters, and middleware options.

src/main/java/com/microsoft/graph/beta/generated/accessreviews/AccessReviewsRequestBuilder.java

Lines changed: 19 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
import com.microsoft.kiota.BaseRequestBuilder;
99
import com.microsoft.kiota.BaseRequestConfiguration;
1010
import com.microsoft.kiota.HttpMethod;
11-
import com.microsoft.kiota.QueryParameter;
11+
import com.microsoft.kiota.QueryParameters;
1212
import com.microsoft.kiota.RequestAdapter;
1313
import com.microsoft.kiota.RequestInformation;
1414
import com.microsoft.kiota.RequestOption;
@@ -165,55 +165,64 @@ public AccessReviewsRequestBuilder withUrl(@jakarta.annotation.Nonnull final Str
165165
* Retrieve the accessReview objects for a particular businessFlowTemplate. A list of zero or more accessReview objects are returned, for each one-time and recurring access review that was created with that business flow template. Note that business flow template IDs are case sensitive. If many access reviews match the filter, to improve efficiency and avoid timeouts, retrieve the result set in pages, by including both the $top query parameter with a page size, for example 100, and the $skip=0 query parameter in the request. These parameters can be included even when you do not anticipate that the request will span multiple pages. When a result set spans multiple pages, Microsoft Graph returns that page with an @odata.nextLink property in the response that contains a URL to the next page of results. If that property is present, continue making additional requests with the @odata.nextLink URL in each response, until all the results are returned, as described in paging Microsoft Graph data in your app. The accessReview objects returned by this API will not include nested structure properties such as settings, or relationships. To retrieve an access review settings or relationships, use the get accessReview API.
166166
*/
167167
@jakarta.annotation.Generated("com.microsoft.kiota")
168-
public class GetQueryParameters {
168+
public class GetQueryParameters implements QueryParameters {
169169
/**
170170
* Include count of items
171171
*/
172-
@QueryParameter(name = "%24count")
173172
@jakarta.annotation.Nullable
174173
public Boolean count;
175174
/**
176175
* Expand related entities
177176
*/
178-
@QueryParameter(name = "%24expand")
179177
@jakarta.annotation.Nullable
180178
public String[] expand;
181179
/**
182180
* Filter items by property values
183181
*/
184-
@QueryParameter(name = "%24filter")
185182
@jakarta.annotation.Nullable
186183
public String filter;
187184
/**
188185
* Order items by property values
189186
*/
190-
@QueryParameter(name = "%24orderby")
191187
@jakarta.annotation.Nullable
192188
public String[] orderby;
193189
/**
194190
* Search items by search phrases
195191
*/
196-
@QueryParameter(name = "%24search")
197192
@jakarta.annotation.Nullable
198193
public String search;
199194
/**
200195
* Select properties to be returned
201196
*/
202-
@QueryParameter(name = "%24select")
203197
@jakarta.annotation.Nullable
204198
public String[] select;
205199
/**
206200
* Skip the first n items
207201
*/
208-
@QueryParameter(name = "%24skip")
209202
@jakarta.annotation.Nullable
210203
public Integer skip;
211204
/**
212205
* Show only the first n items
213206
*/
214-
@QueryParameter(name = "%24top")
215207
@jakarta.annotation.Nullable
216208
public Integer top;
209+
/**
210+
* Extracts the query parameters into a map for the URI template parsing.
211+
* @return a Map<String, Object>
212+
*/
213+
@jakarta.annotation.Nonnull
214+
public Map<String, Object> toQueryParameters() {
215+
final Map<String, Object> allQueryParams = new HashMap();
216+
allQueryParams.put("%24count", count);
217+
allQueryParams.put("%24filter", filter);
218+
allQueryParams.put("%24search", search);
219+
allQueryParams.put("%24skip", skip);
220+
allQueryParams.put("%24top", top);
221+
allQueryParams.put("%24expand", expand);
222+
allQueryParams.put("%24orderby", orderby);
223+
allQueryParams.put("%24select", select);
224+
return allQueryParams;
225+
}
217226
}
218227
/**
219228
* Configuration for the request such as headers, query parameters, and middleware options.

src/main/java/com/microsoft/graph/beta/generated/accessreviews/count/CountRequestBuilder.java

Lines changed: 13 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
import com.microsoft.kiota.BaseRequestBuilder;
55
import com.microsoft.kiota.BaseRequestConfiguration;
66
import com.microsoft.kiota.HttpMethod;
7-
import com.microsoft.kiota.QueryParameter;
7+
import com.microsoft.kiota.QueryParameters;
88
import com.microsoft.kiota.RequestAdapter;
99
import com.microsoft.kiota.RequestInformation;
1010
import com.microsoft.kiota.RequestOption;
@@ -90,19 +90,28 @@ public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawU
9090
* Get the number of the resource
9191
*/
9292
@jakarta.annotation.Generated("com.microsoft.kiota")
93-
public class GetQueryParameters {
93+
public class GetQueryParameters implements QueryParameters {
9494
/**
9595
* Filter items by property values
9696
*/
97-
@QueryParameter(name = "%24filter")
9897
@jakarta.annotation.Nullable
9998
public String filter;
10099
/**
101100
* Search items by search phrases
102101
*/
103-
@QueryParameter(name = "%24search")
104102
@jakarta.annotation.Nullable
105103
public String search;
104+
/**
105+
* Extracts the query parameters into a map for the URI template parsing.
106+
* @return a Map<String, Object>
107+
*/
108+
@jakarta.annotation.Nonnull
109+
public Map<String, Object> toQueryParameters() {
110+
final Map<String, Object> allQueryParams = new HashMap();
111+
allQueryParams.put("%24filter", filter);
112+
allQueryParams.put("%24search", search);
113+
return allQueryParams;
114+
}
106115
}
107116
/**
108117
* Configuration for the request such as headers, query parameters, and middleware options.

src/main/java/com/microsoft/graph/beta/generated/accessreviews/item/AccessReviewItemRequestBuilder.java

Lines changed: 13 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
import com.microsoft.kiota.BaseRequestBuilder;
1414
import com.microsoft.kiota.BaseRequestConfiguration;
1515
import com.microsoft.kiota.HttpMethod;
16-
import com.microsoft.kiota.QueryParameter;
16+
import com.microsoft.kiota.QueryParameters;
1717
import com.microsoft.kiota.RequestAdapter;
1818
import com.microsoft.kiota.RequestInformation;
1919
import com.microsoft.kiota.RequestOption;
@@ -252,19 +252,28 @@ public class DeleteRequestConfiguration extends BaseRequestConfiguration {
252252
* In the Microsoft Entra access reviews feature, retrieve an accessReview object. To retrieve the reviewers of the access review, use the list accessReview reviewers API. To retrieve the decisions of the access review, use the list accessReview decisions API, or the list my accessReview decisions API. If this is a recurring access review, no decisions will be associated with the recurring access review series. Instead, use the instances relationship of that series to retrieve an accessReview collection of the past, current, and future instances of the access review. Each past and current instance will have decisions.
253253
*/
254254
@jakarta.annotation.Generated("com.microsoft.kiota")
255-
public class GetQueryParameters {
255+
public class GetQueryParameters implements QueryParameters {
256256
/**
257257
* Expand related entities
258258
*/
259-
@QueryParameter(name = "%24expand")
260259
@jakarta.annotation.Nullable
261260
public String[] expand;
262261
/**
263262
* Select properties to be returned
264263
*/
265-
@QueryParameter(name = "%24select")
266264
@jakarta.annotation.Nullable
267265
public String[] select;
266+
/**
267+
* Extracts the query parameters into a map for the URI template parsing.
268+
* @return a Map<String, Object>
269+
*/
270+
@jakarta.annotation.Nonnull
271+
public Map<String, Object> toQueryParameters() {
272+
final Map<String, Object> allQueryParams = new HashMap();
273+
allQueryParams.put("%24expand", expand);
274+
allQueryParams.put("%24select", select);
275+
return allQueryParams;
276+
}
268277
}
269278
/**
270279
* Configuration for the request such as headers, query parameters, and middleware options.

0 commit comments

Comments
 (0)