Skip to content

Commit 22b2017

Browse files
Microsoft Graph DevX ToolingMicrosoft Graph DevX Tooling
authored andcommitted
feat(generation): update request builders and models
Update generated files with build 221558
1 parent 3c15f16 commit 22b2017

3,624 files changed

Lines changed: 31023 additions & 15499 deletions

File tree

Some content is hidden

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

src/main/java/com/microsoft/graph/generated/admin/AdminRequestBuilder.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -107,15 +107,15 @@ public TeamsRequestBuilder teams() {
107107
* @param requestAdapter The request adapter to use to execute the requests.
108108
*/
109109
public AdminRequestBuilder(@jakarta.annotation.Nonnull final HashMap<String, Object> pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) {
110-
super(requestAdapter, "{+baseurl}/admin{?%24expand,%24select}", pathParameters);
110+
super(requestAdapter, "", pathParameters);
111111
}
112112
/**
113113
* Instantiates a new {@link AdminRequestBuilder} and sets the default values.
114114
* @param rawUrl The raw URL to use for the request builder.
115115
* @param requestAdapter The request adapter to use to execute the requests.
116116
*/
117117
public AdminRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) {
118-
super(requestAdapter, "{+baseurl}/admin{?%24expand,%24select}", rawUrl);
118+
super(requestAdapter, "", rawUrl);
119119
}
120120
/**
121121
* Get admin
@@ -179,7 +179,7 @@ public RequestInformation toGetRequestInformation() {
179179
*/
180180
@jakarta.annotation.Nonnull
181181
public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer<GetRequestConfiguration> requestConfiguration) {
182-
final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters);
182+
final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, "{+baseurl}/admin{?%24expand,%24select}", pathParameters);
183183
requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters);
184184
requestInfo.headers.tryAdd("Accept", "application/json");
185185
return requestInfo;
@@ -202,7 +202,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull
202202
@jakarta.annotation.Nonnull
203203
public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final Admin body, @jakarta.annotation.Nullable final java.util.function.Consumer<PatchRequestConfiguration> requestConfiguration) {
204204
Objects.requireNonNull(body);
205-
final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters);
205+
final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/admin", pathParameters);
206206
requestInfo.configure(requestConfiguration, PatchRequestConfiguration::new);
207207
requestInfo.headers.tryAdd("Accept", "application/json");
208208
requestInfo.setContentFromParsable(requestAdapter, "application/json", body);

src/main/java/com/microsoft/graph/generated/admin/configurationmanagement/ConfigurationManagementRequestBuilder.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -71,15 +71,15 @@ public ConfigurationSnapshotsRequestBuilder configurationSnapshots() {
7171
* @param requestAdapter The request adapter to use to execute the requests.
7272
*/
7373
public ConfigurationManagementRequestBuilder(@jakarta.annotation.Nonnull final HashMap<String, Object> pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) {
74-
super(requestAdapter, "{+baseurl}/admin/configurationManagement{?%24expand,%24select}", pathParameters);
74+
super(requestAdapter, "{+baseurl}/admin/configurationManagement", pathParameters);
7575
}
7676
/**
7777
* Instantiates a new {@link ConfigurationManagementRequestBuilder} and sets the default values.
7878
* @param rawUrl The raw URL to use for the request builder.
7979
* @param requestAdapter The request adapter to use to execute the requests.
8080
*/
8181
public ConfigurationManagementRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) {
82-
super(requestAdapter, "{+baseurl}/admin/configurationManagement{?%24expand,%24select}", rawUrl);
82+
super(requestAdapter, "{+baseurl}/admin/configurationManagement", rawUrl);
8383
}
8484
/**
8585
* Delete navigation property configurationManagement for admin
@@ -181,7 +181,7 @@ public RequestInformation toGetRequestInformation() {
181181
*/
182182
@jakarta.annotation.Nonnull
183183
public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer<GetRequestConfiguration> requestConfiguration) {
184-
final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters);
184+
final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, "{+baseurl}/admin/configurationManagement{?%24expand,%24select}", pathParameters);
185185
requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters);
186186
requestInfo.headers.tryAdd("Accept", "application/json");
187187
return requestInfo;

src/main/java/com/microsoft/graph/generated/admin/configurationmanagement/configurationdrifts/ConfigurationDriftsRequestBuilder.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -49,15 +49,15 @@ public ConfigurationDriftItemRequestBuilder byConfigurationDriftId(@jakarta.anno
4949
* @param requestAdapter The request adapter to use to execute the requests.
5050
*/
5151
public ConfigurationDriftsRequestBuilder(@jakarta.annotation.Nonnull final HashMap<String, Object> pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) {
52-
super(requestAdapter, "{+baseurl}/admin/configurationManagement/configurationDrifts{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters);
52+
super(requestAdapter, "", pathParameters);
5353
}
5454
/**
5555
* Instantiates a new {@link ConfigurationDriftsRequestBuilder} and sets the default values.
5656
* @param rawUrl The raw URL to use for the request builder.
5757
* @param requestAdapter The request adapter to use to execute the requests.
5858
*/
5959
public ConfigurationDriftsRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) {
60-
super(requestAdapter, "{+baseurl}/admin/configurationManagement/configurationDrifts{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl);
60+
super(requestAdapter, "", rawUrl);
6161
}
6262
/**
6363
* Get a list of the configurationDrift objects and their properties.
@@ -123,7 +123,7 @@ public RequestInformation toGetRequestInformation() {
123123
*/
124124
@jakarta.annotation.Nonnull
125125
public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer<GetRequestConfiguration> requestConfiguration) {
126-
final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters);
126+
final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, "{+baseurl}/admin/configurationManagement/configurationDrifts{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters);
127127
requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters);
128128
requestInfo.headers.tryAdd("Accept", "application/json");
129129
return requestInfo;
@@ -146,7 +146,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f
146146
@jakarta.annotation.Nonnull
147147
public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final ConfigurationDrift body, @jakarta.annotation.Nullable final java.util.function.Consumer<PostRequestConfiguration> requestConfiguration) {
148148
Objects.requireNonNull(body);
149-
final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters);
149+
final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/admin/configurationManagement/configurationDrifts", pathParameters);
150150
requestInfo.configure(requestConfiguration, PostRequestConfiguration::new);
151151
requestInfo.headers.tryAdd("Accept", "application/json");
152152
requestInfo.setContentFromParsable(requestAdapter, "application/json", body);

src/main/java/com/microsoft/graph/generated/admin/configurationmanagement/configurationdrifts/item/ConfigurationDriftItemRequestBuilder.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,15 +26,15 @@ public class ConfigurationDriftItemRequestBuilder extends BaseRequestBuilder {
2626
* @param requestAdapter The request adapter to use to execute the requests.
2727
*/
2828
public ConfigurationDriftItemRequestBuilder(@jakarta.annotation.Nonnull final HashMap<String, Object> pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) {
29-
super(requestAdapter, "{+baseurl}/admin/configurationManagement/configurationDrifts/{configurationDrift%2Did}{?%24expand,%24select}", pathParameters);
29+
super(requestAdapter, "{+baseurl}/admin/configurationManagement/configurationDrifts/{configurationDrift%2Did}", pathParameters);
3030
}
3131
/**
3232
* Instantiates a new {@link ConfigurationDriftItemRequestBuilder} and sets the default values.
3333
* @param rawUrl The raw URL to use for the request builder.
3434
* @param requestAdapter The request adapter to use to execute the requests.
3535
*/
3636
public ConfigurationDriftItemRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) {
37-
super(requestAdapter, "{+baseurl}/admin/configurationManagement/configurationDrifts/{configurationDrift%2Did}{?%24expand,%24select}", rawUrl);
37+
super(requestAdapter, "{+baseurl}/admin/configurationManagement/configurationDrifts/{configurationDrift%2Did}", rawUrl);
3838
}
3939
/**
4040
* Delete navigation property configurationDrifts for admin
@@ -138,7 +138,7 @@ public RequestInformation toGetRequestInformation() {
138138
*/
139139
@jakarta.annotation.Nonnull
140140
public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer<GetRequestConfiguration> requestConfiguration) {
141-
final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters);
141+
final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, "{+baseurl}/admin/configurationManagement/configurationDrifts/{configurationDrift%2Did}{?%24expand,%24select}", pathParameters);
142142
requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters);
143143
requestInfo.headers.tryAdd("Accept", "application/json");
144144
return requestInfo;

src/main/java/com/microsoft/graph/generated/admin/configurationmanagement/configurationmonitoringresults/ConfigurationMonitoringResultsRequestBuilder.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -49,15 +49,15 @@ public ConfigurationMonitoringResultItemRequestBuilder byConfigurationMonitoring
4949
* @param requestAdapter The request adapter to use to execute the requests.
5050
*/
5151
public ConfigurationMonitoringResultsRequestBuilder(@jakarta.annotation.Nonnull final HashMap<String, Object> pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) {
52-
super(requestAdapter, "{+baseurl}/admin/configurationManagement/configurationMonitoringResults{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters);
52+
super(requestAdapter, "", pathParameters);
5353
}
5454
/**
5555
* Instantiates a new {@link ConfigurationMonitoringResultsRequestBuilder} and sets the default values.
5656
* @param rawUrl The raw URL to use for the request builder.
5757
* @param requestAdapter The request adapter to use to execute the requests.
5858
*/
5959
public ConfigurationMonitoringResultsRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) {
60-
super(requestAdapter, "{+baseurl}/admin/configurationManagement/configurationMonitoringResults{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl);
60+
super(requestAdapter, "", rawUrl);
6161
}
6262
/**
6363
* Get a list of the configurationMonitoringResult objects and their properties.
@@ -123,7 +123,7 @@ public RequestInformation toGetRequestInformation() {
123123
*/
124124
@jakarta.annotation.Nonnull
125125
public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer<GetRequestConfiguration> requestConfiguration) {
126-
final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters);
126+
final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, "{+baseurl}/admin/configurationManagement/configurationMonitoringResults{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters);
127127
requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters);
128128
requestInfo.headers.tryAdd("Accept", "application/json");
129129
return requestInfo;
@@ -146,7 +146,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f
146146
@jakarta.annotation.Nonnull
147147
public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final ConfigurationMonitoringResult body, @jakarta.annotation.Nullable final java.util.function.Consumer<PostRequestConfiguration> requestConfiguration) {
148148
Objects.requireNonNull(body);
149-
final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters);
149+
final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/admin/configurationManagement/configurationMonitoringResults", pathParameters);
150150
requestInfo.configure(requestConfiguration, PostRequestConfiguration::new);
151151
requestInfo.headers.tryAdd("Accept", "application/json");
152152
requestInfo.setContentFromParsable(requestAdapter, "application/json", body);

src/main/java/com/microsoft/graph/generated/admin/configurationmanagement/configurationmonitoringresults/item/ConfigurationMonitoringResultItemRequestBuilder.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,15 +26,15 @@ public class ConfigurationMonitoringResultItemRequestBuilder extends BaseRequest
2626
* @param requestAdapter The request adapter to use to execute the requests.
2727
*/
2828
public ConfigurationMonitoringResultItemRequestBuilder(@jakarta.annotation.Nonnull final HashMap<String, Object> pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) {
29-
super(requestAdapter, "{+baseurl}/admin/configurationManagement/configurationMonitoringResults/{configurationMonitoringResult%2Did}{?%24expand,%24select}", pathParameters);
29+
super(requestAdapter, "{+baseurl}/admin/configurationManagement/configurationMonitoringResults/{configurationMonitoringResult%2Did}", pathParameters);
3030
}
3131
/**
3232
* Instantiates a new {@link ConfigurationMonitoringResultItemRequestBuilder} and sets the default values.
3333
* @param rawUrl The raw URL to use for the request builder.
3434
* @param requestAdapter The request adapter to use to execute the requests.
3535
*/
3636
public ConfigurationMonitoringResultItemRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) {
37-
super(requestAdapter, "{+baseurl}/admin/configurationManagement/configurationMonitoringResults/{configurationMonitoringResult%2Did}{?%24expand,%24select}", rawUrl);
37+
super(requestAdapter, "{+baseurl}/admin/configurationManagement/configurationMonitoringResults/{configurationMonitoringResult%2Did}", rawUrl);
3838
}
3939
/**
4040
* Delete navigation property configurationMonitoringResults for admin
@@ -138,7 +138,7 @@ public RequestInformation toGetRequestInformation() {
138138
*/
139139
@jakarta.annotation.Nonnull
140140
public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer<GetRequestConfiguration> requestConfiguration) {
141-
final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters);
141+
final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, "{+baseurl}/admin/configurationManagement/configurationMonitoringResults/{configurationMonitoringResult%2Did}{?%24expand,%24select}", pathParameters);
142142
requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters);
143143
requestInfo.headers.tryAdd("Accept", "application/json");
144144
return requestInfo;

src/main/java/com/microsoft/graph/generated/admin/configurationmanagement/configurationmonitors/ConfigurationMonitorsRequestBuilder.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -49,15 +49,15 @@ public ConfigurationMonitorItemRequestBuilder byConfigurationMonitorId(@jakarta.
4949
* @param requestAdapter The request adapter to use to execute the requests.
5050
*/
5151
public ConfigurationMonitorsRequestBuilder(@jakarta.annotation.Nonnull final HashMap<String, Object> pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) {
52-
super(requestAdapter, "{+baseurl}/admin/configurationManagement/configurationMonitors{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters);
52+
super(requestAdapter, "", pathParameters);
5353
}
5454
/**
5555
* Instantiates a new {@link ConfigurationMonitorsRequestBuilder} and sets the default values.
5656
* @param rawUrl The raw URL to use for the request builder.
5757
* @param requestAdapter The request adapter to use to execute the requests.
5858
*/
5959
public ConfigurationMonitorsRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) {
60-
super(requestAdapter, "{+baseurl}/admin/configurationManagement/configurationMonitors{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl);
60+
super(requestAdapter, "", rawUrl);
6161
}
6262
/**
6363
* Get a list of the configurationMonitor objects and their properties.
@@ -125,7 +125,7 @@ public RequestInformation toGetRequestInformation() {
125125
*/
126126
@jakarta.annotation.Nonnull
127127
public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer<GetRequestConfiguration> requestConfiguration) {
128-
final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters);
128+
final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, "{+baseurl}/admin/configurationManagement/configurationMonitors{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters);
129129
requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters);
130130
requestInfo.headers.tryAdd("Accept", "application/json");
131131
return requestInfo;
@@ -148,7 +148,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f
148148
@jakarta.annotation.Nonnull
149149
public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final ConfigurationMonitor body, @jakarta.annotation.Nullable final java.util.function.Consumer<PostRequestConfiguration> requestConfiguration) {
150150
Objects.requireNonNull(body);
151-
final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters);
151+
final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/admin/configurationManagement/configurationMonitors", pathParameters);
152152
requestInfo.configure(requestConfiguration, PostRequestConfiguration::new);
153153
requestInfo.headers.tryAdd("Accept", "application/json");
154154
requestInfo.setContentFromParsable(requestAdapter, "application/json", body);

0 commit comments

Comments
 (0)