Skip to content

Commit 7574b6d

Browse files
authored
Merge pull request #1076 from microsoftgraph/beta/pipelinebuild/169540
Generated beta models and request builders
2 parents 4d42841 + 1279b1f commit 7574b6d

File tree

258 files changed

+12239
-1671
lines changed

Some content is hidden

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

258 files changed

+12239
-1671
lines changed

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

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -121,6 +121,7 @@
121121
import com.microsoft.graph.beta.threatsubmission.ThreatSubmissionRequestBuilder;
122122
import com.microsoft.graph.beta.trustframework.TrustFrameworkRequestBuilder;
123123
import com.microsoft.graph.beta.users.UsersRequestBuilder;
124+
import com.microsoft.graph.beta.userswithuserprincipalname.UsersWithUserPrincipalNameRequestBuilder;
124125
import com.microsoft.graph.beta.workplace.WorkplaceRequestBuilder;
125126
import com.microsoft.kiota.ApiClientBuilder;
126127
import com.microsoft.kiota.BaseRequestBuilder;
@@ -1154,4 +1155,14 @@ public ServicePrincipalsWithAppIdRequestBuilder servicePrincipalsWithAppId(@jaka
11541155
Objects.requireNonNull(appId);
11551156
return new ServicePrincipalsWithAppIdRequestBuilder(pathParameters, requestAdapter, appId);
11561157
}
1158+
/**
1159+
* Provides operations to manage the collection of user entities.
1160+
* @param userPrincipalName Alternate key of user
1161+
* @return a {@link UsersWithUserPrincipalNameRequestBuilder}
1162+
*/
1163+
@jakarta.annotation.Nonnull
1164+
public UsersWithUserPrincipalNameRequestBuilder usersWithUserPrincipalName(@jakarta.annotation.Nonnull final String userPrincipalName) {
1165+
Objects.requireNonNull(userPrincipalName);
1166+
return new UsersWithUserPrincipalNameRequestBuilder(pathParameters, requestAdapter, userPrincipalName);
1167+
}
11571168
}

src/main/java/com/microsoft/graph/beta/generated/admin/entra/EntraRequestBuilder.java

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume
7373
this.requestAdapter.sendPrimitive(requestInfo, errorMapping, Void.class);
7474
}
7575
/**
76-
* Get entra from admin
76+
* A container for Microsoft Entra resources. Read-only.
7777
* @return a {@link Entra}
7878
* @throws ODataError When receiving a 4XX or 5XX status code
7979
* @deprecated
@@ -85,7 +85,7 @@ public Entra get() {
8585
return get(null);
8686
}
8787
/**
88-
* Get entra from admin
88+
* A container for Microsoft Entra resources. Read-only.
8989
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
9090
* @return a {@link Entra}
9191
* @throws ODataError When receiving a 4XX or 5XX status code
@@ -158,7 +158,7 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl
158158
return requestInfo;
159159
}
160160
/**
161-
* Get entra from admin
161+
* A container for Microsoft Entra resources. Read-only.
162162
* @return a {@link RequestInformation}
163163
* @deprecated
164164
* as of 2023-11/PrivatePreview:BulkJobs
@@ -169,7 +169,7 @@ public RequestInformation toGetRequestInformation() {
169169
return toGetRequestInformation(null);
170170
}
171171
/**
172-
* Get entra from admin
172+
* A container for Microsoft Entra resources. Read-only.
173173
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
174174
* @return a {@link RequestInformation}
175175
* @deprecated
@@ -233,7 +233,7 @@ public EntraRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawU
233233
public class DeleteRequestConfiguration extends BaseRequestConfiguration {
234234
}
235235
/**
236-
* Get entra from admin
236+
* A container for Microsoft Entra resources. Read-only.
237237
*/
238238
@jakarta.annotation.Generated("com.microsoft.kiota")
239239
public class GetQueryParameters implements QueryParameters {

src/main/java/com/microsoft/graph/beta/generated/admin/entra/uxsetting/UxSettingRequestBuilder.java

Lines changed: 13 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -61,24 +61,26 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume
6161
this.requestAdapter.sendPrimitive(requestInfo, errorMapping, Void.class);
6262
}
6363
/**
64-
* Get uxSetting from admin
64+
* Get the properties and relationships of a uxSetting object.
6565
* @return a {@link UxSetting}
6666
* @throws ODataError When receiving a 4XX or 5XX status code
6767
* @deprecated
6868
* as of 2023-11/PrivatePreview:BulkJobs
69+
* @see <a href="https://learn.microsoft.com/graph/api/uxsetting-get?view=graph-rest-beta">Find more info here</a>
6970
*/
7071
@jakarta.annotation.Nullable
7172
@Deprecated
7273
public UxSetting get() {
7374
return get(null);
7475
}
7576
/**
76-
* Get uxSetting from admin
77+
* Get the properties and relationships of a uxSetting object.
7778
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
7879
* @return a {@link UxSetting}
7980
* @throws ODataError When receiving a 4XX or 5XX status code
8081
* @deprecated
8182
* as of 2023-11/PrivatePreview:BulkJobs
83+
* @see <a href="https://learn.microsoft.com/graph/api/uxsetting-get?view=graph-rest-beta">Find more info here</a>
8284
*/
8385
@jakarta.annotation.Nullable
8486
@Deprecated
@@ -89,26 +91,28 @@ public UxSetting get(@jakarta.annotation.Nullable final java.util.function.Consu
8991
return this.requestAdapter.send(requestInfo, errorMapping, UxSetting::createFromDiscriminatorValue);
9092
}
9193
/**
92-
* Update the navigation property uxSetting in admin
94+
* Update the properties of a uxSetting object.
9395
* @param body The request body
9496
* @return a {@link UxSetting}
9597
* @throws ODataError When receiving a 4XX or 5XX status code
9698
* @deprecated
9799
* as of 2023-11/PrivatePreview:BulkJobs
100+
* @see <a href="https://learn.microsoft.com/graph/api/uxsetting-update?view=graph-rest-beta">Find more info here</a>
98101
*/
99102
@jakarta.annotation.Nullable
100103
@Deprecated
101104
public UxSetting patch(@jakarta.annotation.Nonnull final UxSetting body) {
102105
return patch(body, null);
103106
}
104107
/**
105-
* Update the navigation property uxSetting in admin
108+
* Update the properties of a uxSetting object.
106109
* @param body The request body
107110
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
108111
* @return a {@link UxSetting}
109112
* @throws ODataError When receiving a 4XX or 5XX status code
110113
* @deprecated
111114
* as of 2023-11/PrivatePreview:BulkJobs
115+
* @see <a href="https://learn.microsoft.com/graph/api/uxsetting-update?view=graph-rest-beta">Find more info here</a>
112116
*/
113117
@jakarta.annotation.Nullable
114118
@Deprecated
@@ -146,7 +150,7 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl
146150
return requestInfo;
147151
}
148152
/**
149-
* Get uxSetting from admin
153+
* Get the properties and relationships of a uxSetting object.
150154
* @return a {@link RequestInformation}
151155
* @deprecated
152156
* as of 2023-11/PrivatePreview:BulkJobs
@@ -157,7 +161,7 @@ public RequestInformation toGetRequestInformation() {
157161
return toGetRequestInformation(null);
158162
}
159163
/**
160-
* Get uxSetting from admin
164+
* Get the properties and relationships of a uxSetting object.
161165
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
162166
* @return a {@link RequestInformation}
163167
* @deprecated
@@ -172,7 +176,7 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f
172176
return requestInfo;
173177
}
174178
/**
175-
* Update the navigation property uxSetting in admin
179+
* Update the properties of a uxSetting object.
176180
* @param body The request body
177181
* @return a {@link RequestInformation}
178182
* @deprecated
@@ -184,7 +188,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull
184188
return toPatchRequestInformation(body, null);
185189
}
186190
/**
187-
* Update the navigation property uxSetting in admin
191+
* Update the properties of a uxSetting object.
188192
* @param body The request body
189193
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
190194
* @return a {@link RequestInformation}
@@ -221,7 +225,7 @@ public UxSettingRequestBuilder withUrl(@jakarta.annotation.Nonnull final String
221225
public class DeleteRequestConfiguration extends BaseRequestConfiguration {
222226
}
223227
/**
224-
* Get uxSetting from admin
228+
* Get the properties and relationships of a uxSetting object.
225229
*/
226230
@jakarta.annotation.Generated("com.microsoft.kiota")
227231
public class GetQueryParameters implements QueryParameters {

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

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -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 an operationalInsightsConnection object.
60+
* Read the properties and relationships of a resourceConnection 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-operationalinsightsconnection-get?view=graph-rest-beta">Find more info here</a>
63+
* @see <a href="https://learn.microsoft.com/graph/api/windowsupdates-resourceconnection-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 an operationalInsightsConnection object.
70+
* Read the properties and relationships of a resourceConnection 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-operationalinsightsconnection-get?view=graph-rest-beta">Find more info here</a>
74+
* @see <a href="https://learn.microsoft.com/graph/api/windowsupdates-resourceconnection-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) {
@@ -126,15 +126,15 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl
126126
return requestInfo;
127127
}
128128
/**
129-
* Read the properties and relationships of an operationalInsightsConnection object.
129+
* Read the properties and relationships of a resourceConnection 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 an operationalInsightsConnection object.
137+
* Read the properties and relationships of a resourceConnection 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 an operationalInsightsConnection object.
189+
* Read the properties and relationships of a resourceConnection 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: 13 additions & 13 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 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.
76+
* Delete an updatableAssetGroup object. When an updatableAssetGroup object, its member updatableAsset objects are not deleted.
7777
* @throws ODataError When receiving a 4XX or 5XX status code
78-
* @see <a href="https://learn.microsoft.com/graph/api/windowsupdates-azureaddevice-delete?view=graph-rest-beta">Find more info here</a>
78+
* @see <a href="https://learn.microsoft.com/graph/api/windowsupdates-updatableassetgroup-delete?view=graph-rest-beta">Find more info here</a>
7979
*/
8080
public void delete() {
8181
delete(null);
8282
}
8383
/**
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.
84+
* Delete an updatableAssetGroup object. When an updatableAssetGroup object, its member updatableAsset objects are not deleted.
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-azureaddevice-delete?view=graph-rest-beta">Find more info here</a>
87+
* @see <a href="https://learn.microsoft.com/graph/api/windowsupdates-updatableassetgroup-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);
@@ -93,21 +93,21 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume
9393
this.requestAdapter.sendPrimitive(requestInfo, errorMapping, Void.class);
9494
}
9595
/**
96-
* Read the properties and relationships of an updatableAsset object.
96+
* Read the properties and relationships of an updatableAssetGroup object.
9797
* @return a {@link UpdatableAsset}
9898
* @throws ODataError When receiving a 4XX or 5XX status code
99-
* @see <a href="https://learn.microsoft.com/graph/api/windowsupdates-updatableasset-get?view=graph-rest-beta">Find more info here</a>
99+
* @see <a href="https://learn.microsoft.com/graph/api/windowsupdates-updatableassetgroup-get?view=graph-rest-beta">Find more info here</a>
100100
*/
101101
@jakarta.annotation.Nullable
102102
public UpdatableAsset get() {
103103
return get(null);
104104
}
105105
/**
106-
* Read the properties and relationships of an updatableAsset object.
106+
* Read the properties and relationships of an updatableAssetGroup object.
107107
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
108108
* @return a {@link UpdatableAsset}
109109
* @throws ODataError When receiving a 4XX or 5XX status code
110-
* @see <a href="https://learn.microsoft.com/graph/api/windowsupdates-updatableasset-get?view=graph-rest-beta">Find more info here</a>
110+
* @see <a href="https://learn.microsoft.com/graph/api/windowsupdates-updatableassetgroup-get?view=graph-rest-beta">Find more info here</a>
111111
*/
112112
@jakarta.annotation.Nullable
113113
public UpdatableAsset get(@jakarta.annotation.Nullable final java.util.function.Consumer<GetRequestConfiguration> 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 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.
145+
* Delete an updatableAssetGroup object. When an updatableAssetGroup object, its member updatableAsset objects are not deleted.
146146
* @return a {@link RequestInformation}
147147
*/
148148
@jakarta.annotation.Nonnull
149149
public RequestInformation toDeleteRequestInformation() {
150150
return toDeleteRequestInformation(null);
151151
}
152152
/**
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.
153+
* Delete an updatableAssetGroup object. When an updatableAssetGroup object, its member updatableAsset objects are not deleted.
154154
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
155155
* @return a {@link RequestInformation}
156156
*/
@@ -162,15 +162,15 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl
162162
return requestInfo;
163163
}
164164
/**
165-
* Read the properties and relationships of an updatableAsset object.
165+
* Read the properties and relationships of an updatableAssetGroup object.
166166
* @return a {@link RequestInformation}
167167
*/
168168
@jakarta.annotation.Nonnull
169169
public RequestInformation toGetRequestInformation() {
170170
return toGetRequestInformation(null);
171171
}
172172
/**
173-
* Read the properties and relationships of an updatableAsset object.
173+
* Read the properties and relationships of an updatableAssetGroup object.
174174
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
175175
* @return a {@link RequestInformation}
176176
*/
@@ -222,7 +222,7 @@ public UpdatableAssetItemRequestBuilder withUrl(@jakarta.annotation.Nonnull fina
222222
public class DeleteRequestConfiguration extends BaseRequestConfiguration {
223223
}
224224
/**
225-
* Read the properties and relationships of an updatableAsset object.
225+
* Read the properties and relationships of an updatableAssetGroup object.
226226
*/
227227
@jakarta.annotation.Generated("com.microsoft.kiota")
228228
public class GetQueryParameters implements QueryParameters {

0 commit comments

Comments
 (0)