Skip to content

Commit 3fb6d62

Browse files
Microsoft Graph DevX ToolingMicrosoft Graph DevX Tooling
authored andcommitted
feat(generation): update request builders and models
Update generated files with build 197481
1 parent fc718a8 commit 3fb6d62

File tree

384 files changed

+36475
-1292
lines changed

Some content is hidden

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

384 files changed

+36475
-1292
lines changed

src/main/java/com/microsoft/graph/beta/generated/admin/teams/TeamsRequestBuilder.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-
* Represents a collection of user configurations.
76+
* A container for all Teams telephone number management functionalities and user configurations.
7777
* @return a {@link TeamsAdminRoot}
7878
* @throws ODataError When receiving a 4XX or 5XX status code
7979
*/
@@ -82,7 +82,7 @@ public TeamsAdminRoot get() {
8282
return get(null);
8383
}
8484
/**
85-
* Represents a collection of user configurations.
85+
* A container for all Teams telephone number management functionalities and user configurations.
8686
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
8787
* @return a {@link TeamsAdminRoot}
8888
* @throws ODataError When receiving a 4XX or 5XX status code
@@ -140,15 +140,15 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl
140140
return requestInfo;
141141
}
142142
/**
143-
* Represents a collection of user configurations.
143+
* A container for all Teams telephone number management functionalities and user configurations.
144144
* @return a {@link RequestInformation}
145145
*/
146146
@jakarta.annotation.Nonnull
147147
public RequestInformation toGetRequestInformation() {
148148
return toGetRequestInformation(null);
149149
}
150150
/**
151-
* Represents a collection of user configurations.
151+
* A container for all Teams telephone number management functionalities and user configurations.
152152
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
153153
* @return a {@link RequestInformation}
154154
*/
@@ -200,7 +200,7 @@ public TeamsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawU
200200
public class DeleteRequestConfiguration extends BaseRequestConfiguration {
201201
}
202202
/**
203-
* Represents a collection of user configurations.
203+
* A container for all Teams telephone number management functionalities and user configurations.
204204
*/
205205
@jakarta.annotation.Generated("com.microsoft.kiota")
206206
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 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);
@@ -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 of an azureADDevice 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-azureaddevice-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 of an azureADDevice 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-azureaddevice-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 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
*/
@@ -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 of an azureADDevice 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 of an azureADDevice 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 of an azureADDevice object.
226226
*/
227227
@jakarta.annotation.Generated("com.microsoft.kiota")
228228
public class GetQueryParameters implements QueryParameters {

src/main/java/com/microsoft/graph/beta/generated/chats/item/messages/MessagesRequestBuilder.java

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -111,23 +111,23 @@ public ChatMessageCollectionResponse get(@jakarta.annotation.Nullable final java
111111
return this.requestAdapter.send(requestInfo, errorMapping, ChatMessageCollectionResponse::createFromDiscriminatorValue);
112112
}
113113
/**
114-
* Send a new chatMessage in the specified channel or a chat.
114+
* Send a new chatMessage in the specified chat. This API cannot create a new chat; you must use the list chats method to retrieve the ID of an existing chat before creating a chat message.
115115
* @param body The request body
116116
* @return a {@link ChatMessage}
117117
* @throws ODataError When receiving a 4XX or 5XX status code
118-
* @see <a href="https://learn.microsoft.com/graph/api/chatmessage-post?view=graph-rest-beta">Find more info here</a>
118+
* @see <a href="https://learn.microsoft.com/graph/api/chat-post-messages?view=graph-rest-beta">Find more info here</a>
119119
*/
120120
@jakarta.annotation.Nullable
121121
public ChatMessage post(@jakarta.annotation.Nonnull final ChatMessage body) {
122122
return post(body, null);
123123
}
124124
/**
125-
* Send a new chatMessage in the specified channel or a chat.
125+
* Send a new chatMessage in the specified chat. This API cannot create a new chat; you must use the list chats method to retrieve the ID of an existing chat before creating a chat message.
126126
* @param body The request body
127127
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
128128
* @return a {@link ChatMessage}
129129
* @throws ODataError When receiving a 4XX or 5XX status code
130-
* @see <a href="https://learn.microsoft.com/graph/api/chatmessage-post?view=graph-rest-beta">Find more info here</a>
130+
* @see <a href="https://learn.microsoft.com/graph/api/chat-post-messages?view=graph-rest-beta">Find more info here</a>
131131
*/
132132
@jakarta.annotation.Nullable
133133
public ChatMessage post(@jakarta.annotation.Nonnull final ChatMessage body, @jakarta.annotation.Nullable final java.util.function.Consumer<PostRequestConfiguration> requestConfiguration) {
@@ -158,7 +158,7 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f
158158
return requestInfo;
159159
}
160160
/**
161-
* Send a new chatMessage in the specified channel or a chat.
161+
* Send a new chatMessage in the specified chat. This API cannot create a new chat; you must use the list chats method to retrieve the ID of an existing chat before creating a chat message.
162162
* @param body The request body
163163
* @return a {@link RequestInformation}
164164
*/
@@ -167,7 +167,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f
167167
return toPostRequestInformation(body, null);
168168
}
169169
/**
170-
* Send a new chatMessage in the specified channel or a chat.
170+
* Send a new chatMessage in the specified chat. This API cannot create a new chat; you must use the list chats method to retrieve the ID of an existing chat before creating a chat message.
171171
* @param body The request body
172172
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
173173
* @return a {@link RequestInformation}

src/main/java/com/microsoft/graph/beta/generated/communications/CommunicationsRequestBuilder.java

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
package com.microsoft.graph.beta.communications;
22

3+
import com.microsoft.graph.beta.communications.adhoccalls.AdhocCallsRequestBuilder;
34
import com.microsoft.graph.beta.communications.callrecords.CallRecordsRequestBuilder;
45
import com.microsoft.graph.beta.communications.calls.CallsRequestBuilder;
56
import com.microsoft.graph.beta.communications.getallonlinemeetingmessages.GetAllOnlineMeetingMessagesRequestBuilder;
@@ -28,6 +29,14 @@
2829
*/
2930
@jakarta.annotation.Generated("com.microsoft.kiota")
3031
public class CommunicationsRequestBuilder extends BaseRequestBuilder {
32+
/**
33+
* Provides operations to manage the adhocCalls property of the microsoft.graph.cloudCommunications entity.
34+
* @return a {@link AdhocCallsRequestBuilder}
35+
*/
36+
@jakarta.annotation.Nonnull
37+
public AdhocCallsRequestBuilder adhocCalls() {
38+
return new AdhocCallsRequestBuilder(pathParameters, requestAdapter);
39+
}
3140
/**
3241
* Provides operations to manage the callRecords property of the microsoft.graph.cloudCommunications entity.
3342
* @return a {@link CallRecordsRequestBuilder}

0 commit comments

Comments
 (0)