Skip to content

Commit daf4c4e

Browse files
authored
Merge pull request #1069 from microsoftgraph/beta/pipelinebuild/167435
Generated beta models and request builders
2 parents 2ab774a + 8db8004 commit daf4c4e

File tree

2,726 files changed

+15183
-57248
lines changed

Some content is hidden

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

2,726 files changed

+15183
-57248
lines changed

src/main/java/com/microsoft/graph/beta/generated/BaseGraphServiceClient.java

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,6 @@
3333
import com.microsoft.graph.beta.dataclassification.DataClassificationRequestBuilder;
3434
import com.microsoft.graph.beta.datapolicyoperations.DataPolicyOperationsRequestBuilder;
3535
import com.microsoft.graph.beta.deviceappmanagement.DeviceAppManagementRequestBuilder;
36-
import com.microsoft.graph.beta.devicelocalcredentials.DeviceLocalCredentialsRequestBuilder;
3736
import com.microsoft.graph.beta.devicemanagement.DeviceManagementRequestBuilder;
3837
import com.microsoft.graph.beta.devices.DevicesRequestBuilder;
3938
import com.microsoft.graph.beta.deviceswithdeviceid.DevicesWithDeviceIdRequestBuilder;
@@ -392,14 +391,6 @@ public DataPolicyOperationsRequestBuilder dataPolicyOperations() {
392391
public DeviceAppManagementRequestBuilder deviceAppManagement() {
393392
return new DeviceAppManagementRequestBuilder(pathParameters, requestAdapter);
394393
}
395-
/**
396-
* Provides operations to manage the collection of deviceLocalCredentialInfo entities.
397-
* @return a {@link DeviceLocalCredentialsRequestBuilder}
398-
*/
399-
@jakarta.annotation.Nonnull
400-
public DeviceLocalCredentialsRequestBuilder deviceLocalCredentials() {
401-
return new DeviceLocalCredentialsRequestBuilder(pathParameters, requestAdapter);
402-
}
403394
/**
404395
* Provides operations to manage the deviceManagement singleton.
405396
* @return a {@link DeviceManagementRequestBuilder}

src/main/java/com/microsoft/graph/beta/generated/admin/windows/updates/resourceconnections/item/ResourceConnectionItemRequestBuilder.java

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -37,18 +37,18 @@ public ResourceConnectionItemRequestBuilder(@jakarta.annotation.Nonnull final St
3737
super(requestAdapter, "{+baseurl}/admin/windows/updates/resourceConnections/{resourceConnection%2Did}{?%24expand,%24select}", rawUrl);
3838
}
3939
/**
40-
* Delete an operationalInsightsConnection object.
40+
* Delete a resourceConnection object.
4141
* @throws ODataError When receiving a 4XX or 5XX status code
42-
* @see <a href="https://learn.microsoft.com/graph/api/windowsupdates-operationalinsightsconnection-delete?view=graph-rest-beta">Find more info here</a>
42+
* @see <a href="https://learn.microsoft.com/graph/api/windowsupdates-resourceconnection-delete?view=graph-rest-beta">Find more info here</a>
4343
*/
4444
public void delete() {
4545
delete(null);
4646
}
4747
/**
48-
* Delete an operationalInsightsConnection object.
48+
* Delete a resourceConnection object.
4949
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
5050
* @throws ODataError When receiving a 4XX or 5XX status code
51-
* @see <a href="https://learn.microsoft.com/graph/api/windowsupdates-operationalinsightsconnection-delete?view=graph-rest-beta">Find more info here</a>
51+
* @see <a href="https://learn.microsoft.com/graph/api/windowsupdates-resourceconnection-delete?view=graph-rest-beta">Find more info here</a>
5252
*/
5353
public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer<DeleteRequestConfiguration> requestConfiguration) {
5454
final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration);
@@ -57,21 +57,21 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume
5757
this.requestAdapter.sendPrimitive(requestInfo, errorMapping, Void.class);
5858
}
5959
/**
60-
* Read the properties and relationships of a resourceConnection object.
60+
* Read the properties and relationships of an operationalInsightsConnection object.
6161
* @return a {@link ResourceConnection}
6262
* @throws ODataError When receiving a 4XX or 5XX status code
63-
* @see <a href="https://learn.microsoft.com/graph/api/windowsupdates-resourceconnection-get?view=graph-rest-beta">Find more info here</a>
63+
* @see <a href="https://learn.microsoft.com/graph/api/windowsupdates-operationalinsightsconnection-get?view=graph-rest-beta">Find more info here</a>
6464
*/
6565
@jakarta.annotation.Nullable
6666
public ResourceConnection get() {
6767
return get(null);
6868
}
6969
/**
70-
* Read the properties and relationships of a resourceConnection object.
70+
* Read the properties and relationships of an operationalInsightsConnection object.
7171
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
7272
* @return a {@link ResourceConnection}
7373
* @throws ODataError When receiving a 4XX or 5XX status code
74-
* @see <a href="https://learn.microsoft.com/graph/api/windowsupdates-resourceconnection-get?view=graph-rest-beta">Find more info here</a>
74+
* @see <a href="https://learn.microsoft.com/graph/api/windowsupdates-operationalinsightsconnection-get?view=graph-rest-beta">Find more info here</a>
7575
*/
7676
@jakarta.annotation.Nullable
7777
public ResourceConnection get(@jakarta.annotation.Nullable final java.util.function.Consumer<GetRequestConfiguration> requestConfiguration) {
@@ -106,15 +106,15 @@ public ResourceConnection patch(@jakarta.annotation.Nonnull final ResourceConnec
106106
return this.requestAdapter.send(requestInfo, errorMapping, ResourceConnection::createFromDiscriminatorValue);
107107
}
108108
/**
109-
* Delete an operationalInsightsConnection object.
109+
* Delete a resourceConnection object.
110110
* @return a {@link RequestInformation}
111111
*/
112112
@jakarta.annotation.Nonnull
113113
public RequestInformation toDeleteRequestInformation() {
114114
return toDeleteRequestInformation(null);
115115
}
116116
/**
117-
* Delete an operationalInsightsConnection object.
117+
* Delete a resourceConnection object.
118118
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
119119
* @return a {@link RequestInformation}
120120
*/
@@ -126,15 +126,15 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl
126126
return requestInfo;
127127
}
128128
/**
129-
* Read the properties and relationships of a resourceConnection object.
129+
* Read the properties and relationships of an operationalInsightsConnection object.
130130
* @return a {@link RequestInformation}
131131
*/
132132
@jakarta.annotation.Nonnull
133133
public RequestInformation toGetRequestInformation() {
134134
return toGetRequestInformation(null);
135135
}
136136
/**
137-
* Read the properties and relationships of a resourceConnection object.
137+
* Read the properties and relationships of an operationalInsightsConnection object.
138138
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
139139
* @return a {@link RequestInformation}
140140
*/
@@ -186,7 +186,7 @@ public ResourceConnectionItemRequestBuilder withUrl(@jakarta.annotation.Nonnull
186186
public class DeleteRequestConfiguration extends BaseRequestConfiguration {
187187
}
188188
/**
189-
* Read the properties and relationships of a resourceConnection object.
189+
* Read the properties and relationships of an operationalInsightsConnection object.
190190
*/
191191
@jakarta.annotation.Generated("com.microsoft.kiota")
192192
public class GetQueryParameters implements QueryParameters {

src/main/java/com/microsoft/graph/beta/generated/admin/windows/updates/updatableassets/item/UpdatableAssetItemRequestBuilder.java

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -73,18 +73,18 @@ public UpdatableAssetItemRequestBuilder(@jakarta.annotation.Nonnull final String
7373
super(requestAdapter, "{+baseurl}/admin/windows/updates/updatableAssets/{updatableAsset%2Did}{?%24expand,%24select}", rawUrl);
7474
}
7575
/**
76-
* Delete an updatableAsset object.
76+
* Delete an azureADDevice object. When a Microsoft Entra device is deleted, it is unregistered and automatically unenrolled from management for all update categories, as well as removed from every deploymentAudience and updatableAssetGroup.
7777
* @throws ODataError When receiving a 4XX or 5XX status code
78-
* @see <a href="https://learn.microsoft.com/graph/api/windowsupdates-updatableasset-delete?view=graph-rest-beta">Find more info here</a>
78+
* @see <a href="https://learn.microsoft.com/graph/api/windowsupdates-azureaddevice-delete?view=graph-rest-beta">Find more info here</a>
7979
*/
8080
public void delete() {
8181
delete(null);
8282
}
8383
/**
84-
* Delete an updatableAsset object.
84+
* Delete an azureADDevice object. When a Microsoft Entra device is deleted, it is unregistered and automatically unenrolled from management for all update categories, as well as removed from every deploymentAudience and updatableAssetGroup.
8585
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
8686
* @throws ODataError When receiving a 4XX or 5XX status code
87-
* @see <a href="https://learn.microsoft.com/graph/api/windowsupdates-updatableasset-delete?view=graph-rest-beta">Find more info here</a>
87+
* @see <a href="https://learn.microsoft.com/graph/api/windowsupdates-azureaddevice-delete?view=graph-rest-beta">Find more info here</a>
8888
*/
8989
public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer<DeleteRequestConfiguration> requestConfiguration) {
9090
final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration);
@@ -142,15 +142,15 @@ public UpdatableAsset patch(@jakarta.annotation.Nonnull final UpdatableAsset bod
142142
return this.requestAdapter.send(requestInfo, errorMapping, UpdatableAsset::createFromDiscriminatorValue);
143143
}
144144
/**
145-
* Delete an updatableAsset object.
145+
* Delete an azureADDevice object. When a Microsoft Entra device is deleted, it is unregistered and automatically unenrolled from management for all update categories, as well as removed from every deploymentAudience and updatableAssetGroup.
146146
* @return a {@link RequestInformation}
147147
*/
148148
@jakarta.annotation.Nonnull
149149
public RequestInformation toDeleteRequestInformation() {
150150
return toDeleteRequestInformation(null);
151151
}
152152
/**
153-
* Delete an updatableAsset object.
153+
* Delete an azureADDevice object. When a Microsoft Entra device is deleted, it is unregistered and automatically unenrolled from management for all update categories, as well as removed from every deploymentAudience and updatableAssetGroup.
154154
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
155155
* @return a {@link RequestInformation}
156156
*/

src/main/java/com/microsoft/graph/beta/generated/admin/windows/updates/updatepolicies/item/compliancechanges/item/ComplianceChangeItemRequestBuilder.java

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -66,21 +66,21 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume
6666
this.requestAdapter.sendPrimitive(requestInfo, errorMapping, Void.class);
6767
}
6868
/**
69-
* Read the properties and relationships of a contentApproval object.
69+
* Read the properties and relationships of a complianceChange object.
7070
* @return a {@link ComplianceChange}
7171
* @throws ODataError When receiving a 4XX or 5XX status code
72-
* @see <a href="https://learn.microsoft.com/graph/api/windowsupdates-contentapproval-get?view=graph-rest-beta">Find more info here</a>
72+
* @see <a href="https://learn.microsoft.com/graph/api/windowsupdates-compliancechange-get?view=graph-rest-beta">Find more info here</a>
7373
*/
7474
@jakarta.annotation.Nullable
7575
public ComplianceChange get() {
7676
return get(null);
7777
}
7878
/**
79-
* Read the properties and relationships of a contentApproval object.
79+
* Read the properties and relationships of a complianceChange object.
8080
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
8181
* @return a {@link ComplianceChange}
8282
* @throws ODataError When receiving a 4XX or 5XX status code
83-
* @see <a href="https://learn.microsoft.com/graph/api/windowsupdates-contentapproval-get?view=graph-rest-beta">Find more info here</a>
83+
* @see <a href="https://learn.microsoft.com/graph/api/windowsupdates-compliancechange-get?view=graph-rest-beta">Find more info here</a>
8484
*/
8585
@jakarta.annotation.Nullable
8686
public ComplianceChange get(@jakarta.annotation.Nullable final java.util.function.Consumer<GetRequestConfiguration> requestConfiguration) {
@@ -90,23 +90,23 @@ public ComplianceChange get(@jakarta.annotation.Nullable final java.util.functio
9090
return this.requestAdapter.send(requestInfo, errorMapping, ComplianceChange::createFromDiscriminatorValue);
9191
}
9292
/**
93-
* Update the properties of a contentApproval object.
93+
* Update the properties of a complianceChange object.
9494
* @param body The request body
9595
* @return a {@link ComplianceChange}
9696
* @throws ODataError When receiving a 4XX or 5XX status code
97-
* @see <a href="https://learn.microsoft.com/graph/api/windowsupdates-contentapproval-update?view=graph-rest-beta">Find more info here</a>
97+
* @see <a href="https://learn.microsoft.com/graph/api/windowsupdates-compliancechange-update?view=graph-rest-beta">Find more info here</a>
9898
*/
9999
@jakarta.annotation.Nullable
100100
public ComplianceChange patch(@jakarta.annotation.Nonnull final ComplianceChange body) {
101101
return patch(body, null);
102102
}
103103
/**
104-
* Update the properties of a contentApproval object.
104+
* Update the properties of a complianceChange object.
105105
* @param body The request body
106106
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
107107
* @return a {@link ComplianceChange}
108108
* @throws ODataError When receiving a 4XX or 5XX status code
109-
* @see <a href="https://learn.microsoft.com/graph/api/windowsupdates-contentapproval-update?view=graph-rest-beta">Find more info here</a>
109+
* @see <a href="https://learn.microsoft.com/graph/api/windowsupdates-compliancechange-update?view=graph-rest-beta">Find more info here</a>
110110
*/
111111
@jakarta.annotation.Nullable
112112
public ComplianceChange patch(@jakarta.annotation.Nonnull final ComplianceChange body, @jakarta.annotation.Nullable final java.util.function.Consumer<PatchRequestConfiguration> requestConfiguration) {
@@ -137,15 +137,15 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl
137137
return requestInfo;
138138
}
139139
/**
140-
* Read the properties and relationships of a contentApproval object.
140+
* Read the properties and relationships of a complianceChange object.
141141
* @return a {@link RequestInformation}
142142
*/
143143
@jakarta.annotation.Nonnull
144144
public RequestInformation toGetRequestInformation() {
145145
return toGetRequestInformation(null);
146146
}
147147
/**
148-
* Read the properties and relationships of a contentApproval object.
148+
* Read the properties and relationships of a complianceChange object.
149149
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
150150
* @return a {@link RequestInformation}
151151
*/
@@ -157,7 +157,7 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f
157157
return requestInfo;
158158
}
159159
/**
160-
* Update the properties of a contentApproval object.
160+
* Update the properties of a complianceChange object.
161161
* @param body The request body
162162
* @return a {@link RequestInformation}
163163
*/
@@ -166,7 +166,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull
166166
return toPatchRequestInformation(body, null);
167167
}
168168
/**
169-
* Update the properties of a contentApproval object.
169+
* Update the properties of a complianceChange object.
170170
* @param body The request body
171171
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
172172
* @return a {@link RequestInformation}
@@ -197,7 +197,7 @@ public ComplianceChangeItemRequestBuilder withUrl(@jakarta.annotation.Nonnull fi
197197
public class DeleteRequestConfiguration extends BaseRequestConfiguration {
198198
}
199199
/**
200-
* Read the properties and relationships of a contentApproval object.
200+
* Read the properties and relationships of a complianceChange object.
201201
*/
202202
@jakarta.annotation.Generated("com.microsoft.kiota")
203203
public class GetQueryParameters implements QueryParameters {

src/main/java/com/microsoft/graph/beta/generated/administrativeunits/item/members/graphuser/GraphUserRequestBuilder.java

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,7 @@ public class GraphUserRequestBuilder extends BaseRequestBuilder {
2424
/**
2525
* Provides operations to count the resources in the collection.
2626
* @return a {@link CountRequestBuilder}
27-
* @deprecated
28-
* as of 2024-07/PrivatePreview:copilotExportAPI
2927
*/
30-
@Deprecated
3128
@jakarta.annotation.Nonnull
3229
public CountRequestBuilder count() {
3330
return new CountRequestBuilder(pathParameters, requestAdapter);
@@ -52,11 +49,8 @@ public GraphUserRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl,
5249
* Get the items of type microsoft.graph.user in the microsoft.graph.directoryObject collection
5350
* @return a {@link UserCollectionResponse}
5451
* @throws ODataError When receiving a 4XX or 5XX status code
55-
* @deprecated
56-
* as of 2024-07/PrivatePreview:copilotExportAPI
5752
*/
5853
@jakarta.annotation.Nullable
59-
@Deprecated
6054
public UserCollectionResponse get() {
6155
return get(null);
6256
}
@@ -65,11 +59,8 @@ public UserCollectionResponse get() {
6559
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
6660
* @return a {@link UserCollectionResponse}
6761
* @throws ODataError When receiving a 4XX or 5XX status code
68-
* @deprecated
69-
* as of 2024-07/PrivatePreview:copilotExportAPI
7062
*/
7163
@jakarta.annotation.Nullable
72-
@Deprecated
7364
public UserCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer<GetRequestConfiguration> requestConfiguration) {
7465
final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration);
7566
final HashMap<String, ParsableFactory<? extends Parsable>> errorMapping = new HashMap<String, ParsableFactory<? extends Parsable>>();
@@ -79,23 +70,17 @@ public UserCollectionResponse get(@jakarta.annotation.Nullable final java.util.f
7970
/**
8071
* Get the items of type microsoft.graph.user in the microsoft.graph.directoryObject collection
8172
* @return a {@link RequestInformation}
82-
* @deprecated
83-
* as of 2024-07/PrivatePreview:copilotExportAPI
8473
*/
8574
@jakarta.annotation.Nonnull
86-
@Deprecated
8775
public RequestInformation toGetRequestInformation() {
8876
return toGetRequestInformation(null);
8977
}
9078
/**
9179
* Get the items of type microsoft.graph.user in the microsoft.graph.directoryObject collection
9280
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
9381
* @return a {@link RequestInformation}
94-
* @deprecated
95-
* as of 2024-07/PrivatePreview:copilotExportAPI
9682
*/
9783
@jakarta.annotation.Nonnull
98-
@Deprecated
9984
public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer<GetRequestConfiguration> requestConfiguration) {
10085
final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters);
10186
requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters);
@@ -106,11 +91,8 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f
10691
* Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored.
10792
* @param rawUrl The raw URL to use for the request builder.
10893
* @return a {@link GraphUserRequestBuilder}
109-
* @deprecated
110-
* as of 2024-07/PrivatePreview:copilotExportAPI
11194
*/
11295
@jakarta.annotation.Nonnull
113-
@Deprecated
11496
public GraphUserRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) {
11597
Objects.requireNonNull(rawUrl);
11698
return new GraphUserRequestBuilder(rawUrl, requestAdapter);

0 commit comments

Comments
 (0)