Skip to content

Commit e8d4524

Browse files
authored
Merge pull request #2037 from microsoftgraph/kiota/v1.0/pipelinebuild/121145
Generated models and request builders
2 parents ccb09f5 + 8646765 commit e8d4524

446 files changed

Lines changed: 3766 additions & 3121 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: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,11 @@ and this project does adheres to [Semantic Versioning](https://semver.org/spec/v
77

88
## [Unreleased]
99

10+
## [5.20.0] - 2023-07-26
11+
12+
- Fixes/removes incorrect `Localizations` entitySet/path/request builder in the GraphServiceClient
13+
- Latest metadata updates from 25th July 2023.
14+
1015
## [5.19.0] - 2023-07-19
1116

1217
- Latest metadata updates from 18th July 2023.

src/Microsoft.Graph/Generated/BaseGraphServiceClient.cs

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,6 @@
4343
using Microsoft.Graph.IdentityProviders;
4444
using Microsoft.Graph.InformationProtection;
4545
using Microsoft.Graph.Invitations;
46-
using Microsoft.Graph.Localizations;
4746
using Microsoft.Graph.Me;
4847
using Microsoft.Graph.Oauth2PermissionGrants;
4948
using Microsoft.Graph.Organization;
@@ -255,10 +254,6 @@ public class BaseGraphServiceClient : BaseRequestBuilder {
255254
public InvitationsRequestBuilder Invitations { get =>
256255
new InvitationsRequestBuilder(PathParameters, RequestAdapter);
257256
}
258-
/// <summary>Provides operations to manage the collection of organizationalBrandingLocalization entities.</summary>
259-
public LocalizationsRequestBuilder Localizations { get =>
260-
new LocalizationsRequestBuilder(PathParameters, RequestAdapter);
261-
}
262257
/// <summary>Provides operations to manage the user singleton.</summary>
263258
public MeRequestBuilder Me { get =>
264259
new MeRequestBuilder(PathParameters, RequestAdapter);

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 channel or a chat.
69-
/// Find more info here <see href="https://docs.microsoft.com/graph/api/chatmessage-post?view=graph-rest-1.0" />
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" />
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 channel or a chat.
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.
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/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>

src/Microsoft.Graph/Generated/DeviceAppManagement/DefaultManagedAppProtections/DefaultManagedAppProtectionsRequestBuilder.cs

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,8 @@ public DefaultManagedAppProtectionsRequestBuilder(Dictionary<string, object> pat
4040
public DefaultManagedAppProtectionsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/deviceAppManagement/defaultManagedAppProtections{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}", rawUrl) {
4141
}
4242
/// <summary>
43-
/// Default managed app policies.
43+
/// List properties and relationships of the defaultManagedAppProtection objects.
44+
/// Find more info here <see href="https://docs.microsoft.com/graph/api/intune-mam-defaultmanagedappprotection-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<DefaultManagedAppProtectionCollectionResponse> GetAsync(Action
5960
return await RequestAdapter.SendAsync<DefaultManagedAppProtectionCollectionResponse>(requestInfo, DefaultManagedAppProtectionCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken);
6061
}
6162
/// <summary>
62-
/// Create new navigation property to defaultManagedAppProtections for deviceAppManagement
63+
/// Create a new defaultManagedAppProtection object.
64+
/// Find more info here <see href="https://docs.microsoft.com/graph/api/intune-mam-defaultmanagedappprotection-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<DefaultManagedAppProtection> PostAsync(DefaultManagedAppProtec
8082
return await RequestAdapter.SendAsync<DefaultManagedAppProtection>(requestInfo, DefaultManagedAppProtection.CreateFromDiscriminatorValue, errorMapping, cancellationToken);
8183
}
8284
/// <summary>
83-
/// Default managed app policies.
85+
/// List properties and relationships of the defaultManagedAppProtection 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<DefaultManagedAppProtec
106108
return requestInfo;
107109
}
108110
/// <summary>
109-
/// Create new navigation property to defaultManagedAppProtections for deviceAppManagement
111+
/// Create a new defaultManagedAppProtection 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(DefaultManagedAppProtection b
134136
return requestInfo;
135137
}
136138
/// <summary>
137-
/// Default managed app policies.
139+
/// List properties and relationships of the defaultManagedAppProtection objects.
138140
/// </summary>
139141
public class DefaultManagedAppProtectionsRequestBuilderGetQueryParameters {
140142
/// <summary>Include count of items</summary>

0 commit comments

Comments
 (0)