Skip to content

Commit edf5e7a

Browse files
authored
Merge pull request #1986 from microsoftgraph/kiota/v1.0/pipelinebuild/118603
Generated models and request builders
2 parents 4a28300 + 233fd22 commit edf5e7a

729 files changed

Lines changed: 38533 additions & 1429 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.

CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,14 @@ and this project does adheres to [Semantic Versioning](https://semver.org/spec/v
77

88
## [Unreleased]
99

10+
## [5.16.0] - 2023-06-27
11+
12+
- Fixes missing `Model` query parameter for Channels.GetAllMessages (https://github.com/microsoftgraph/msgraph-sdk-dotnet/issues/1979)
13+
- Fixes missing `StartDateTime` and `EndDateTime` query parameters for Event delta functions (https://github.com/microsoftgraph/msgraph-sdk-dotnet/issues/1860)
14+
- Fixes missing `PostAsync()` method for AdministrativeUnits[""].Members (https://github.com/microsoftgraph/msgraph-sdk-dotnet/issues/1828)
15+
- Fixes stream buffering for Stream response (https://github.com/microsoftgraph/msgraph-sdk-dotnet/issues/1954)
16+
- Latest metadata updates from 27th June 2023
17+
1018
## [5.15.0] - 2023-06-21
1119

1220
- Fixes incorrect naming for the InnerError property in MainError (https://github.com/microsoftgraph/msgraph-sdk-dotnet/issues/1916)

src/Microsoft.Graph/Generated/Chats/GetAllMessages/GetAllMessagesRequestBuilder.cs

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,14 +17,14 @@ public class GetAllMessagesRequestBuilder : BaseRequestBuilder {
1717
/// </summary>
1818
/// <param name="pathParameters">Path parameters for the request</param>
1919
/// <param name="requestAdapter">The request adapter to use to execute the requests.</param>
20-
public GetAllMessagesRequestBuilder(Dictionary<string, object> pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/chats/getAllMessages(){?%24top,%24skip,%24search,%24filter,%24count,%24select,%24orderby}", pathParameters) {
20+
public GetAllMessagesRequestBuilder(Dictionary<string, object> pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/chats/getAllMessages(){?model*,%24top,%24skip,%24search,%24filter,%24count,%24select,%24orderby}", pathParameters) {
2121
}
2222
/// <summary>
2323
/// Instantiates a new GetAllMessagesRequestBuilder and sets the default values.
2424
/// </summary>
2525
/// <param name="rawUrl">The raw URL to use for the request builder.</param>
2626
/// <param name="requestAdapter">The request adapter to use to execute the requests.</param>
27-
public GetAllMessagesRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/chats/getAllMessages(){?%24top,%24skip,%24search,%24filter,%24count,%24select,%24orderby}", rawUrl) {
27+
public GetAllMessagesRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/chats/getAllMessages(){?model*,%24top,%24skip,%24search,%24filter,%24count,%24select,%24orderby}", rawUrl) {
2828
}
2929
/// <summary>
3030
/// Invoke function getAllMessages
@@ -87,6 +87,14 @@ public class GetAllMessagesRequestBuilderGetQueryParameters {
8787
#else
8888
[QueryParameter("%24filter")]
8989
public string Filter { get; set; }
90+
#endif
91+
/// <summary>The payment model for the API</summary>
92+
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
93+
#nullable enable
94+
public string? Model { get; set; }
95+
#nullable restore
96+
#else
97+
public string Model { get; set; }
9098
#endif
9199
/// <summary>Order items by property values</summary>
92100
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER

src/Microsoft.Graph/Generated/Chats/Item/Members/Item/ConversationMemberItemRequestBuilder.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -48,8 +48,8 @@ public async Task DeleteAsync(Action<ConversationMemberItemRequestBuilderDeleteR
4848
await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken);
4949
}
5050
/// <summary>
51-
/// Retrieve a conversationMember from a chat or channel.
52-
/// Find more info here <see href="https://docs.microsoft.com/graph/api/conversationmember-get?view=graph-rest-1.0" />
51+
/// Retrieve a conversationMember from a chat.
52+
/// Find more info here <see href="https://docs.microsoft.com/graph/api/chat-get-members?view=graph-rest-1.0" />
5353
/// </summary>
5454
/// <param name="cancellationToken">Cancellation token to use when cancelling requests</param>
5555
/// <param name="requestConfiguration">Configuration for the request such as headers, query parameters, and middleware options.</param>
@@ -113,7 +113,7 @@ public RequestInformation ToDeleteRequestInformation(Action<ConversationMemberIt
113113
return requestInfo;
114114
}
115115
/// <summary>
116-
/// Retrieve a conversationMember from a chat or channel.
116+
/// Retrieve a conversationMember from a chat.
117117
/// </summary>
118118
/// <param name="requestConfiguration">Configuration for the request such as headers, query parameters, and middleware options.</param>
119119
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
@@ -183,7 +183,7 @@ public ConversationMemberItemRequestBuilderDeleteRequestConfiguration() {
183183
}
184184
}
185185
/// <summary>
186-
/// Retrieve a conversationMember from a chat or channel.
186+
/// Retrieve a conversationMember from a chat.
187187
/// </summary>
188188
public class ConversationMemberItemRequestBuilderGetQueryParameters {
189189
/// <summary>Expand related entities</summary>

src/Microsoft.Graph/Generated/Chats/Item/Messages/Item/Replies/RepliesRequestBuilder.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -65,8 +65,8 @@ public async Task<ChatMessageCollectionResponse> GetAsync(Action<RepliesRequestB
6565
return await RequestAdapter.SendAsync<ChatMessageCollectionResponse>(requestInfo, ChatMessageCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken);
6666
}
6767
/// <summary>
68-
/// Send a new reply to a chatMessage in a specified channel.
69-
/// Find more info here <see href="https://docs.microsoft.com/graph/api/chatmessage-post-replies?view=graph-rest-1.0" />
68+
/// Create a new reply to a chatMessage in a specified channel.
69+
/// Find more info here <see href="https://docs.microsoft.com/graph/api/channel-post-messagereply?view=graph-rest-1.0" />
7070
/// </summary>
7171
/// <param name="body">The request body</param>
7272
/// <param name="cancellationToken">Cancellation token to use when cancelling requests</param>
@@ -113,7 +113,7 @@ public RequestInformation ToGetRequestInformation(Action<RepliesRequestBuilderGe
113113
return requestInfo;
114114
}
115115
/// <summary>
116-
/// Send a new reply to a chatMessage in a specified channel.
116+
/// Create a new reply to a chatMessage in a specified channel.
117117
/// </summary>
118118
/// <param name="body">The request body</param>
119119
/// <param name="requestConfiguration">Configuration for the request such as headers, query parameters, and middleware options.</param>

src/Microsoft.Graph/Generated/Chats/Item/Messages/MessagesRequestBuilder.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -65,8 +65,8 @@ public async Task<ChatMessageCollectionResponse> GetAsync(Action<MessagesRequest
6565
return await RequestAdapter.SendAsync<ChatMessageCollectionResponse>(requestInfo, ChatMessageCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken);
6666
}
6767
/// <summary>
68-
/// Send a new chatMessage in the specified chat. This API can&apos;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.
69-
/// Find more info here <see href="https://docs.microsoft.com/graph/api/chat-post-messages?view=graph-rest-1.0" />
68+
/// Send a new chatMessage in the specified channel or a chat.
69+
/// Find more info here <see href="https://docs.microsoft.com/graph/api/chatmessage-post?view=graph-rest-1.0" />
7070
/// </summary>
7171
/// <param name="body">The request body</param>
7272
/// <param name="cancellationToken">Cancellation token to use when cancelling requests</param>
@@ -113,7 +113,7 @@ public RequestInformation ToGetRequestInformation(Action<MessagesRequestBuilderG
113113
return requestInfo;
114114
}
115115
/// <summary>
116-
/// Send a new chatMessage in the specified chat. This API can&apos;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.
116+
/// Send a new chatMessage in the specified channel or a chat.
117117
/// </summary>
118118
/// <param name="body">The request body</param>
119119
/// <param name="requestConfiguration">Configuration for the request such as headers, query parameters, and middleware options.</param>

src/Microsoft.Graph/Generated/Communications/Calls/Item/Participants/Invite/InviteRequestBuilder.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,8 @@ public InviteRequestBuilder(Dictionary<string, object> pathParameters, IRequestA
2828
public InviteRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/communications/calls/{call%2Did}/participants/invite", rawUrl) {
2929
}
3030
/// <summary>
31-
/// 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.
32-
/// Find more info here <see href="https://docs.microsoft.com/graph/api/participant-delete?view=graph-rest-1.0" />
31+
/// Invite participants to the active call. For more information about how to handle operations, see commsOperation.
32+
/// Find more info here <see href="https://docs.microsoft.com/graph/api/participant-invite?view=graph-rest-1.0" />
3333
/// </summary>
3434
/// <param name="body">The request body</param>
3535
/// <param name="cancellationToken">Cancellation token to use when cancelling requests</param>
@@ -50,7 +50,7 @@ public async Task<InviteParticipantsOperation> PostAsync(InvitePostRequestBody b
5050
return await RequestAdapter.SendAsync<InviteParticipantsOperation>(requestInfo, InviteParticipantsOperation.CreateFromDiscriminatorValue, errorMapping, cancellationToken);
5151
}
5252
/// <summary>
53-
/// 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.
53+
/// Invite participants to the active call. For more information about how to handle operations, see commsOperation.
5454
/// </summary>
5555
/// <param name="body">The request body</param>
5656
/// <param name="requestConfiguration">Configuration for the request such as headers, query parameters, and middleware options.</param>

src/Microsoft.Graph/Generated/DeviceAppManagement/AndroidManagedAppProtections/AndroidManagedAppProtectionsRequestBuilder.cs

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,8 @@ public AndroidManagedAppProtectionsRequestBuilder(Dictionary<string, object> pat
4040
public AndroidManagedAppProtectionsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/deviceAppManagement/androidManagedAppProtections{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}", rawUrl) {
4141
}
4242
/// <summary>
43-
/// Android managed app policies.
43+
/// List properties and relationships of the androidManagedAppProtection objects.
44+
/// Find more info here <see href="https://docs.microsoft.com/graph/api/intune-mam-androidmanagedappprotection-list?view=graph-rest-1.0" />
4445
/// </summary>
4546
/// <param name="cancellationToken">Cancellation token to use when cancelling requests</param>
4647
/// <param name="requestConfiguration">Configuration for the request such as headers, query parameters, and middleware options.</param>
@@ -59,7 +60,8 @@ public async Task<AndroidManagedAppProtectionCollectionResponse> GetAsync(Action
5960
return await RequestAdapter.SendAsync<AndroidManagedAppProtectionCollectionResponse>(requestInfo, AndroidManagedAppProtectionCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken);
6061
}
6162
/// <summary>
62-
/// Create new navigation property to androidManagedAppProtections for deviceAppManagement
63+
/// Create a new androidManagedAppProtection object.
64+
/// Find more info here <see href="https://docs.microsoft.com/graph/api/intune-mam-androidmanagedappprotection-create?view=graph-rest-1.0" />
6365
/// </summary>
6466
/// <param name="body">The request body</param>
6567
/// <param name="cancellationToken">Cancellation token to use when cancelling requests</param>
@@ -80,7 +82,7 @@ public async Task<AndroidManagedAppProtection> PostAsync(AndroidManagedAppProtec
8082
return await RequestAdapter.SendAsync<AndroidManagedAppProtection>(requestInfo, AndroidManagedAppProtection.CreateFromDiscriminatorValue, errorMapping, cancellationToken);
8183
}
8284
/// <summary>
83-
/// Android managed app policies.
85+
/// List properties and relationships of the androidManagedAppProtection objects.
8486
/// </summary>
8587
/// <param name="requestConfiguration">Configuration for the request such as headers, query parameters, and middleware options.</param>
8688
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
@@ -106,7 +108,7 @@ public RequestInformation ToGetRequestInformation(Action<AndroidManagedAppProtec
106108
return requestInfo;
107109
}
108110
/// <summary>
109-
/// Create new navigation property to androidManagedAppProtections for deviceAppManagement
111+
/// Create a new androidManagedAppProtection object.
110112
/// </summary>
111113
/// <param name="body">The request body</param>
112114
/// <param name="requestConfiguration">Configuration for the request such as headers, query parameters, and middleware options.</param>
@@ -134,7 +136,7 @@ public RequestInformation ToPostRequestInformation(AndroidManagedAppProtection b
134136
return requestInfo;
135137
}
136138
/// <summary>
137-
/// Android managed app policies.
139+
/// List properties and relationships of the androidManagedAppProtection objects.
138140
/// </summary>
139141
public class AndroidManagedAppProtectionsRequestBuilderGetQueryParameters {
140142
/// <summary>Include count of items</summary>

src/Microsoft.Graph/Generated/DeviceAppManagement/AndroidManagedAppProtections/Item/AndroidManagedAppProtectionItemRequestBuilder.cs

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,8 @@ public AndroidManagedAppProtectionItemRequestBuilder(Dictionary<string, object>
4343
public AndroidManagedAppProtectionItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/deviceAppManagement/androidManagedAppProtections/{androidManagedAppProtection%2Did}{?%24select,%24expand}", rawUrl) {
4444
}
4545
/// <summary>
46-
/// Delete navigation property androidManagedAppProtections for deviceAppManagement
46+
/// Deletes a androidManagedAppProtection.
47+
/// Find more info here <see href="https://docs.microsoft.com/graph/api/intune-mam-androidmanagedappprotection-delete?view=graph-rest-1.0" />
4748
/// </summary>
4849
/// <param name="cancellationToken">Cancellation token to use when cancelling requests</param>
4950
/// <param name="requestConfiguration">Configuration for the request such as headers, query parameters, and middleware options.</param>
@@ -62,7 +63,8 @@ public async Task DeleteAsync(Action<AndroidManagedAppProtectionItemRequestBuild
6263
await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken);
6364
}
6465
/// <summary>
65-
/// Android managed app policies.
66+
/// Read properties and relationships of the androidManagedAppProtection object.
67+
/// Find more info here <see href="https://docs.microsoft.com/graph/api/intune-mam-androidmanagedappprotection-get?view=graph-rest-1.0" />
6668
/// </summary>
6769
/// <param name="cancellationToken">Cancellation token to use when cancelling requests</param>
6870
/// <param name="requestConfiguration">Configuration for the request such as headers, query parameters, and middleware options.</param>
@@ -81,7 +83,8 @@ public async Task<AndroidManagedAppProtection> GetAsync(Action<AndroidManagedApp
8183
return await RequestAdapter.SendAsync<AndroidManagedAppProtection>(requestInfo, AndroidManagedAppProtection.CreateFromDiscriminatorValue, errorMapping, cancellationToken);
8284
}
8385
/// <summary>
84-
/// Update the navigation property androidManagedAppProtections in deviceAppManagement
86+
/// Update the properties of a androidManagedAppProtection object.
87+
/// Find more info here <see href="https://docs.microsoft.com/graph/api/intune-mam-androidmanagedappprotection-update?view=graph-rest-1.0" />
8588
/// </summary>
8689
/// <param name="body">The request body</param>
8790
/// <param name="cancellationToken">Cancellation token to use when cancelling requests</param>
@@ -102,7 +105,7 @@ public async Task<AndroidManagedAppProtection> PatchAsync(AndroidManagedAppProte
102105
return await RequestAdapter.SendAsync<AndroidManagedAppProtection>(requestInfo, AndroidManagedAppProtection.CreateFromDiscriminatorValue, errorMapping, cancellationToken);
103106
}
104107
/// <summary>
105-
/// Delete navigation property androidManagedAppProtections for deviceAppManagement
108+
/// Deletes a androidManagedAppProtection.
106109
/// </summary>
107110
/// <param name="requestConfiguration">Configuration for the request such as headers, query parameters, and middleware options.</param>
108111
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
@@ -126,7 +129,7 @@ public RequestInformation ToDeleteRequestInformation(Action<AndroidManagedAppPro
126129
return requestInfo;
127130
}
128131
/// <summary>
129-
/// Android managed app policies.
132+
/// Read properties and relationships of the androidManagedAppProtection object.
130133
/// </summary>
131134
/// <param name="requestConfiguration">Configuration for the request such as headers, query parameters, and middleware options.</param>
132135
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
@@ -152,7 +155,7 @@ public RequestInformation ToGetRequestInformation(Action<AndroidManagedAppProtec
152155
return requestInfo;
153156
}
154157
/// <summary>
155-
/// Update the navigation property androidManagedAppProtections in deviceAppManagement
158+
/// Update the properties of a androidManagedAppProtection object.
156159
/// </summary>
157160
/// <param name="body">The request body</param>
158161
/// <param name="requestConfiguration">Configuration for the request such as headers, query parameters, and middleware options.</param>
@@ -196,7 +199,7 @@ public AndroidManagedAppProtectionItemRequestBuilderDeleteRequestConfiguration()
196199
}
197200
}
198201
/// <summary>
199-
/// Android managed app policies.
202+
/// Read properties and relationships of the androidManagedAppProtection object.
200203
/// </summary>
201204
public class AndroidManagedAppProtectionItemRequestBuilderGetQueryParameters {
202205
/// <summary>Expand related entities</summary>

0 commit comments

Comments
 (0)