Skip to content

Commit 14f1a1a

Browse files
Microsoft Graph DevX ToolingMicrosoft Graph DevX Tooling
authored andcommitted
feat(generation): update request builders and models
Update generated files with build 165500
1 parent 6b12488 commit 14f1a1a

File tree

117 files changed

+2042
-585
lines changed

Some content is hidden

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

117 files changed

+2042
-585
lines changed

src/main/java/com/microsoft/graph/generated/applications/item/restore/RestoreRequestBuilder.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ public RestoreRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @j
3636
super(requestAdapter, "{+baseurl}/applications/{application%2Did}/restore", rawUrl);
3737
}
3838
/**
39-
* Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. However, security groups cannot be restored. Also, restoring an application doesn't restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted.
39+
* Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. However, security groups can't be restored. Also, restoring an application doesn't restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted.
4040
* @return a {@link DirectoryObject}
4141
* @throws ODataError When receiving a 4XX or 5XX status code
4242
* @see <a href="https://learn.microsoft.com/graph/api/directory-deleteditems-restore?view=graph-rest-1.0">Find more info here</a>
@@ -46,7 +46,7 @@ public DirectoryObject post() {
4646
return post(null);
4747
}
4848
/**
49-
* Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. However, security groups cannot be restored. Also, restoring an application doesn't restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted.
49+
* Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. However, security groups can't be restored. Also, restoring an application doesn't restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted.
5050
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
5151
* @return a {@link DirectoryObject}
5252
* @throws ODataError When receiving a 4XX or 5XX status code
@@ -60,15 +60,15 @@ public DirectoryObject post(@jakarta.annotation.Nullable final java.util.functio
6060
return this.requestAdapter.send(requestInfo, errorMapping, DirectoryObject::createFromDiscriminatorValue);
6161
}
6262
/**
63-
* Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. However, security groups cannot be restored. Also, restoring an application doesn't restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted.
63+
* Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. However, security groups can't be restored. Also, restoring an application doesn't restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted.
6464
* @return a {@link RequestInformation}
6565
*/
6666
@jakarta.annotation.Nonnull
6767
public RequestInformation toPostRequestInformation() {
6868
return toPostRequestInformation(null);
6969
}
7070
/**
71-
* Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. However, security groups cannot be restored. Also, restoring an application doesn't restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted.
71+
* Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. However, security groups can't be restored. Also, restoring an application doesn't restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted.
7272
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
7373
* @return a {@link RequestInformation}
7474
*/

src/main/java/com/microsoft/graph/generated/chats/getallretainedmessages/GetAllRetainedMessagesRequestBuilder.java

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -36,19 +36,21 @@ public GetAllRetainedMessagesRequestBuilder(@jakarta.annotation.Nonnull final St
3636
super(requestAdapter, "{+baseurl}/chats/getAllRetainedMessages(){?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl);
3737
}
3838
/**
39-
* Invoke function getAllRetainedMessages
39+
* Get all retained messages from all chats that a user is a participant in, including one-on-one chats, group chats, and meeting chats. To learn more about how to use the Microsoft Teams export APIs to export content, see Export content with the Microsoft Teams export APIs.
4040
* @return a {@link GetAllRetainedMessagesGetResponse}
4141
* @throws ODataError When receiving a 4XX or 5XX status code
42+
* @see <a href="https://learn.microsoft.com/graph/api/chat-getallretainedmessages?view=graph-rest-1.0">Find more info here</a>
4243
*/
4344
@jakarta.annotation.Nullable
4445
public GetAllRetainedMessagesGetResponse get() {
4546
return get(null);
4647
}
4748
/**
48-
* Invoke function getAllRetainedMessages
49+
* Get all retained messages from all chats that a user is a participant in, including one-on-one chats, group chats, and meeting chats. To learn more about how to use the Microsoft Teams export APIs to export content, see Export content with the Microsoft Teams export APIs.
4950
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
5051
* @return a {@link GetAllRetainedMessagesGetResponse}
5152
* @throws ODataError When receiving a 4XX or 5XX status code
53+
* @see <a href="https://learn.microsoft.com/graph/api/chat-getallretainedmessages?view=graph-rest-1.0">Find more info here</a>
5254
*/
5355
@jakarta.annotation.Nullable
5456
public GetAllRetainedMessagesGetResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer<GetRequestConfiguration> requestConfiguration) {
@@ -58,15 +60,15 @@ public GetAllRetainedMessagesGetResponse get(@jakarta.annotation.Nullable final
5860
return this.requestAdapter.send(requestInfo, errorMapping, GetAllRetainedMessagesGetResponse::createFromDiscriminatorValue);
5961
}
6062
/**
61-
* Invoke function getAllRetainedMessages
63+
* Get all retained messages from all chats that a user is a participant in, including one-on-one chats, group chats, and meeting chats. To learn more about how to use the Microsoft Teams export APIs to export content, see Export content with the Microsoft Teams export APIs.
6264
* @return a {@link RequestInformation}
6365
*/
6466
@jakarta.annotation.Nonnull
6567
public RequestInformation toGetRequestInformation() {
6668
return toGetRequestInformation(null);
6769
}
6870
/**
69-
* Invoke function getAllRetainedMessages
71+
* Get all retained messages from all chats that a user is a participant in, including one-on-one chats, group chats, and meeting chats. To learn more about how to use the Microsoft Teams export APIs to export content, see Export content with the Microsoft Teams export APIs.
7072
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
7173
* @return a {@link RequestInformation}
7274
*/
@@ -88,7 +90,7 @@ public GetAllRetainedMessagesRequestBuilder withUrl(@jakarta.annotation.Nonnull
8890
return new GetAllRetainedMessagesRequestBuilder(rawUrl, requestAdapter);
8991
}
9092
/**
91-
* Invoke function getAllRetainedMessages
93+
* Get all retained messages from all chats that a user is a participant in, including one-on-one chats, group chats, and meeting chats. To learn more about how to use the Microsoft Teams export APIs to export content, see Export content with the Microsoft Teams export APIs.
9294
*/
9395
@jakarta.annotation.Generated("com.microsoft.kiota")
9496
public class GetQueryParameters implements QueryParameters {

src/main/java/com/microsoft/graph/generated/chats/item/members/item/ConversationMemberItemRequestBuilder.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-
* Retrieve a conversationMember from a chat or channel.
60+
* Retrieve a conversationMember from a chat.
6161
* @return a {@link ConversationMember}
6262
* @throws ODataError When receiving a 4XX or 5XX status code
63-
* @see <a href="https://learn.microsoft.com/graph/api/conversationmember-get?view=graph-rest-1.0">Find more info here</a>
63+
* @see <a href="https://learn.microsoft.com/graph/api/chat-get-members?view=graph-rest-1.0">Find more info here</a>
6464
*/
6565
@jakarta.annotation.Nullable
6666
public ConversationMember get() {
6767
return get(null);
6868
}
6969
/**
70-
* Retrieve a conversationMember from a chat or channel.
70+
* Retrieve a conversationMember from a chat.
7171
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
7272
* @return a {@link ConversationMember}
7373
* @throws ODataError When receiving a 4XX or 5XX status code
74-
* @see <a href="https://learn.microsoft.com/graph/api/conversationmember-get?view=graph-rest-1.0">Find more info here</a>
74+
* @see <a href="https://learn.microsoft.com/graph/api/chat-get-members?view=graph-rest-1.0">Find more info here</a>
7575
*/
7676
@jakarta.annotation.Nullable
7777
public ConversationMember 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-
* Retrieve a conversationMember from a chat or channel.
129+
* Retrieve a conversationMember from a chat.
130130
* @return a {@link RequestInformation}
131131
*/
132132
@jakarta.annotation.Nonnull
133133
public RequestInformation toGetRequestInformation() {
134134
return toGetRequestInformation(null);
135135
}
136136
/**
137-
* Retrieve a conversationMember from a chat or channel.
137+
* Retrieve a conversationMember from a chat.
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 ConversationMemberItemRequestBuilder withUrl(@jakarta.annotation.Nonnull
186186
public class DeleteRequestConfiguration extends BaseRequestConfiguration {
187187
}
188188
/**
189-
* Retrieve a conversationMember from a chat or channel.
189+
* Retrieve a conversationMember from a chat.
190190
*/
191191
@jakarta.annotation.Generated("com.microsoft.kiota")
192192
public class GetQueryParameters implements QueryParameters {

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

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -93,23 +93,23 @@ public ChatMessageCollectionResponse get(@jakarta.annotation.Nullable final java
9393
return this.requestAdapter.send(requestInfo, errorMapping, ChatMessageCollectionResponse::createFromDiscriminatorValue);
9494
}
9595
/**
96-
* Send a new chatMessage in the specified channel or a chat.
96+
* Send a new chatMessage in the specified chat. This API can't create a new chat; you must use the list chats method to retrieve the ID of an existing chat before you can create a chat message.
9797
* @param body The request body
9898
* @return a {@link ChatMessage}
9999
* @throws ODataError When receiving a 4XX or 5XX status code
100-
* @see <a href="https://learn.microsoft.com/graph/api/chatmessage-post?view=graph-rest-1.0">Find more info here</a>
100+
* @see <a href="https://learn.microsoft.com/graph/api/chat-post-messages?view=graph-rest-1.0">Find more info here</a>
101101
*/
102102
@jakarta.annotation.Nullable
103103
public ChatMessage post(@jakarta.annotation.Nonnull final ChatMessage body) {
104104
return post(body, null);
105105
}
106106
/**
107-
* Send a new chatMessage in the specified channel or a chat.
107+
* Send a new chatMessage in the specified chat. This API can't create a new chat; you must use the list chats method to retrieve the ID of an existing chat before you can create a chat message.
108108
* @param body The request body
109109
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
110110
* @return a {@link ChatMessage}
111111
* @throws ODataError When receiving a 4XX or 5XX status code
112-
* @see <a href="https://learn.microsoft.com/graph/api/chatmessage-post?view=graph-rest-1.0">Find more info here</a>
112+
* @see <a href="https://learn.microsoft.com/graph/api/chat-post-messages?view=graph-rest-1.0">Find more info here</a>
113113
*/
114114
@jakarta.annotation.Nullable
115115
public ChatMessage post(@jakarta.annotation.Nonnull final ChatMessage body, @jakarta.annotation.Nullable final java.util.function.Consumer<PostRequestConfiguration> requestConfiguration) {
@@ -140,7 +140,7 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f
140140
return requestInfo;
141141
}
142142
/**
143-
* Send a new chatMessage in the specified channel or a chat.
143+
* Send a new chatMessage in the specified chat. This API can't create a new chat; you must use the list chats method to retrieve the ID of an existing chat before you can create a chat message.
144144
* @param body The request body
145145
* @return a {@link RequestInformation}
146146
*/
@@ -149,7 +149,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f
149149
return toPostRequestInformation(body, null);
150150
}
151151
/**
152-
* Send a new chatMessage in the specified channel or a chat.
152+
* Send a new chatMessage in the specified chat. This API can't create a new chat; you must use the list chats method to retrieve the ID of an existing chat before you can create a chat message.
153153
* @param body The request body
154154
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
155155
* @return a {@link RequestInformation}

src/main/java/com/microsoft/graph/generated/communications/calls/item/participants/invite/InviteRequestBuilder.java

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -36,23 +36,23 @@ public InviteRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @ja
3636
super(requestAdapter, "{+baseurl}/communications/calls/{call%2Did}/participants/invite", rawUrl);
3737
}
3838
/**
39-
* Delete a specific participant in a call. In some situations, it is appropriate for an application to remove a participant from an active call. This action can be done before or after the participant answers the call. When an active caller is removed, they are immediately dropped from the call with no pre- or post-removal notification. When an invited participant is removed, any outstanding add participant request is canceled.
39+
* Invite participants to the active call. For more information about how to handle operations, see commsOperation.
4040
* @param body The request body
4141
* @return a {@link InviteParticipantsOperation}
4242
* @throws ODataError When receiving a 4XX or 5XX status code
43-
* @see <a href="https://learn.microsoft.com/graph/api/participant-delete?view=graph-rest-1.0">Find more info here</a>
43+
* @see <a href="https://learn.microsoft.com/graph/api/participant-invite?view=graph-rest-1.0">Find more info here</a>
4444
*/
4545
@jakarta.annotation.Nullable
4646
public InviteParticipantsOperation post(@jakarta.annotation.Nonnull final InvitePostRequestBody body) {
4747
return post(body, null);
4848
}
4949
/**
50-
* Delete a specific participant in a call. In some situations, it is appropriate for an application to remove a participant from an active call. This action can be done before or after the participant answers the call. When an active caller is removed, they are immediately dropped from the call with no pre- or post-removal notification. When an invited participant is removed, any outstanding add participant request is canceled.
50+
* Invite participants to the active call. For more information about how to handle operations, see commsOperation.
5151
* @param body The request body
5252
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
5353
* @return a {@link InviteParticipantsOperation}
5454
* @throws ODataError When receiving a 4XX or 5XX status code
55-
* @see <a href="https://learn.microsoft.com/graph/api/participant-delete?view=graph-rest-1.0">Find more info here</a>
55+
* @see <a href="https://learn.microsoft.com/graph/api/participant-invite?view=graph-rest-1.0">Find more info here</a>
5656
*/
5757
@jakarta.annotation.Nullable
5858
public InviteParticipantsOperation post(@jakarta.annotation.Nonnull final InvitePostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer<PostRequestConfiguration> requestConfiguration) {
@@ -63,7 +63,7 @@ public InviteParticipantsOperation post(@jakarta.annotation.Nonnull final Invite
6363
return this.requestAdapter.send(requestInfo, errorMapping, InviteParticipantsOperation::createFromDiscriminatorValue);
6464
}
6565
/**
66-
* Delete a specific participant in a call. In some situations, it is appropriate for an application to remove a participant from an active call. This action can be done before or after the participant answers the call. When an active caller is removed, they are immediately dropped from the call with no pre- or post-removal notification. When an invited participant is removed, any outstanding add participant request is canceled.
66+
* Invite participants to the active call. For more information about how to handle operations, see commsOperation.
6767
* @param body The request body
6868
* @return a {@link RequestInformation}
6969
*/
@@ -72,7 +72,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f
7272
return toPostRequestInformation(body, null);
7373
}
7474
/**
75-
* Delete a specific participant in a call. In some situations, it is appropriate for an application to remove a participant from an active call. This action can be done before or after the participant answers the call. When an active caller is removed, they are immediately dropped from the call with no pre- or post-removal notification. When an invited participant is removed, any outstanding add participant request is canceled.
75+
* Invite participants to the active call. For more information about how to handle operations, see commsOperation.
7676
* @param body The request body
7777
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
7878
* @return a {@link RequestInformation}

0 commit comments

Comments
 (0)