Skip to content

Commit

Permalink
Merge pull request #2037 from microsoftgraph/kiota/v1.0/pipelinebuild…
Browse files Browse the repository at this point in the history
…/121145

Generated  models and request builders
  • Loading branch information
andrueastman authored Jul 27, 2023
2 parents ccb09f5 + 8646765 commit e8d4524
Show file tree
Hide file tree
Showing 446 changed files with 3,766 additions and 3,121 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,11 @@ and this project does adheres to [Semantic Versioning](https://semver.org/spec/v

## [Unreleased]

## [5.20.0] - 2023-07-26

- Fixes/removes incorrect `Localizations` entitySet/path/request builder in the GraphServiceClient
- Latest metadata updates from 25th July 2023.

## [5.19.0] - 2023-07-19

- Latest metadata updates from 18th July 2023.
Expand Down
5 changes: 0 additions & 5 deletions src/Microsoft.Graph/Generated/BaseGraphServiceClient.cs
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@
using Microsoft.Graph.IdentityProviders;
using Microsoft.Graph.InformationProtection;
using Microsoft.Graph.Invitations;
using Microsoft.Graph.Localizations;
using Microsoft.Graph.Me;
using Microsoft.Graph.Oauth2PermissionGrants;
using Microsoft.Graph.Organization;
Expand Down Expand Up @@ -255,10 +254,6 @@ public class BaseGraphServiceClient : BaseRequestBuilder {
public InvitationsRequestBuilder Invitations { get =>
new InvitationsRequestBuilder(PathParameters, RequestAdapter);
}
/// <summary>Provides operations to manage the collection of organizationalBrandingLocalization entities.</summary>
public LocalizationsRequestBuilder Localizations { get =>
new LocalizationsRequestBuilder(PathParameters, RequestAdapter);
}
/// <summary>Provides operations to manage the user singleton.</summary>
public MeRequestBuilder Me { get =>
new MeRequestBuilder(PathParameters, RequestAdapter);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,8 @@ public async Task<ChatMessageCollectionResponse> GetAsync(Action<RepliesRequestB
return await RequestAdapter.SendAsync<ChatMessageCollectionResponse>(requestInfo, ChatMessageCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken);
}
/// <summary>
/// Send a new reply to a chatMessage in a specified channel.
/// Find more info here <see href="https://docs.microsoft.com/graph/api/chatmessage-post-replies?view=graph-rest-1.0" />
/// Create a new reply to a chatMessage in a specified channel.
/// Find more info here <see href="https://docs.microsoft.com/graph/api/channel-post-messagereply?view=graph-rest-1.0" />
/// </summary>
/// <param name="body">The request body</param>
/// <param name="cancellationToken">Cancellation token to use when cancelling requests</param>
Expand Down Expand Up @@ -113,7 +113,7 @@ public RequestInformation ToGetRequestInformation(Action<RepliesRequestBuilderGe
return requestInfo;
}
/// <summary>
/// Send a new reply to a chatMessage in a specified channel.
/// Create a new reply to a chatMessage in a specified channel.
/// </summary>
/// <param name="body">The request body</param>
/// <param name="requestConfiguration">Configuration for the request such as headers, query parameters, and middleware options.</param>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,8 @@ public async Task<ChatMessageCollectionResponse> GetAsync(Action<MessagesRequest
return await RequestAdapter.SendAsync<ChatMessageCollectionResponse>(requestInfo, ChatMessageCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken);
}
/// <summary>
/// Send a new chatMessage in the specified channel or a chat.
/// Find more info here <see href="https://docs.microsoft.com/graph/api/chatmessage-post?view=graph-rest-1.0" />
/// 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.
/// Find more info here <see href="https://docs.microsoft.com/graph/api/chat-post-messages?view=graph-rest-1.0" />
/// </summary>
/// <param name="body">The request body</param>
/// <param name="cancellationToken">Cancellation token to use when cancelling requests</param>
Expand Down Expand Up @@ -113,7 +113,7 @@ public RequestInformation ToGetRequestInformation(Action<MessagesRequestBuilderG
return requestInfo;
}
/// <summary>
/// Send a new chatMessage in the specified channel or a chat.
/// 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.
/// </summary>
/// <param name="body">The request body</param>
/// <param name="requestConfiguration">Configuration for the request such as headers, query parameters, and middleware options.</param>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,8 @@ public AndroidManagedAppProtectionsRequestBuilder(Dictionary<string, object> pat
public AndroidManagedAppProtectionsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/deviceAppManagement/androidManagedAppProtections{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}", rawUrl) {
}
/// <summary>
/// Android managed app policies.
/// List properties and relationships of the androidManagedAppProtection objects.
/// Find more info here <see href="https://docs.microsoft.com/graph/api/intune-mam-androidmanagedappprotection-list?view=graph-rest-1.0" />
/// </summary>
/// <param name="cancellationToken">Cancellation token to use when cancelling requests</param>
/// <param name="requestConfiguration">Configuration for the request such as headers, query parameters, and middleware options.</param>
Expand All @@ -59,7 +60,8 @@ public async Task<AndroidManagedAppProtectionCollectionResponse> GetAsync(Action
return await RequestAdapter.SendAsync<AndroidManagedAppProtectionCollectionResponse>(requestInfo, AndroidManagedAppProtectionCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken);
}
/// <summary>
/// Create new navigation property to androidManagedAppProtections for deviceAppManagement
/// Create a new androidManagedAppProtection object.
/// Find more info here <see href="https://docs.microsoft.com/graph/api/intune-mam-androidmanagedappprotection-create?view=graph-rest-1.0" />
/// </summary>
/// <param name="body">The request body</param>
/// <param name="cancellationToken">Cancellation token to use when cancelling requests</param>
Expand All @@ -80,7 +82,7 @@ public async Task<AndroidManagedAppProtection> PostAsync(AndroidManagedAppProtec
return await RequestAdapter.SendAsync<AndroidManagedAppProtection>(requestInfo, AndroidManagedAppProtection.CreateFromDiscriminatorValue, errorMapping, cancellationToken);
}
/// <summary>
/// Android managed app policies.
/// List properties and relationships of the androidManagedAppProtection objects.
/// </summary>
/// <param name="requestConfiguration">Configuration for the request such as headers, query parameters, and middleware options.</param>
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
Expand All @@ -106,7 +108,7 @@ public RequestInformation ToGetRequestInformation(Action<AndroidManagedAppProtec
return requestInfo;
}
/// <summary>
/// Create new navigation property to androidManagedAppProtections for deviceAppManagement
/// Create a new androidManagedAppProtection object.
/// </summary>
/// <param name="body">The request body</param>
/// <param name="requestConfiguration">Configuration for the request such as headers, query parameters, and middleware options.</param>
Expand Down Expand Up @@ -134,7 +136,7 @@ public RequestInformation ToPostRequestInformation(AndroidManagedAppProtection b
return requestInfo;
}
/// <summary>
/// Android managed app policies.
/// List properties and relationships of the androidManagedAppProtection objects.
/// </summary>
public class AndroidManagedAppProtectionsRequestBuilderGetQueryParameters {
/// <summary>Include count of items</summary>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,8 @@ public AndroidManagedAppProtectionItemRequestBuilder(Dictionary<string, object>
public AndroidManagedAppProtectionItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/deviceAppManagement/androidManagedAppProtections/{androidManagedAppProtection%2Did}{?%24select,%24expand}", rawUrl) {
}
/// <summary>
/// Delete navigation property androidManagedAppProtections for deviceAppManagement
/// Deletes a androidManagedAppProtection.
/// Find more info here <see href="https://docs.microsoft.com/graph/api/intune-mam-androidmanagedappprotection-delete?view=graph-rest-1.0" />
/// </summary>
/// <param name="cancellationToken">Cancellation token to use when cancelling requests</param>
/// <param name="requestConfiguration">Configuration for the request such as headers, query parameters, and middleware options.</param>
Expand All @@ -62,7 +63,8 @@ public async Task DeleteAsync(Action<AndroidManagedAppProtectionItemRequestBuild
await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken);
}
/// <summary>
/// Android managed app policies.
/// Read properties and relationships of the androidManagedAppProtection object.
/// Find more info here <see href="https://docs.microsoft.com/graph/api/intune-mam-androidmanagedappprotection-get?view=graph-rest-1.0" />
/// </summary>
/// <param name="cancellationToken">Cancellation token to use when cancelling requests</param>
/// <param name="requestConfiguration">Configuration for the request such as headers, query parameters, and middleware options.</param>
Expand All @@ -81,7 +83,8 @@ public async Task<AndroidManagedAppProtection> GetAsync(Action<AndroidManagedApp
return await RequestAdapter.SendAsync<AndroidManagedAppProtection>(requestInfo, AndroidManagedAppProtection.CreateFromDiscriminatorValue, errorMapping, cancellationToken);
}
/// <summary>
/// Update the navigation property androidManagedAppProtections in deviceAppManagement
/// Update the properties of a androidManagedAppProtection object.
/// Find more info here <see href="https://docs.microsoft.com/graph/api/intune-mam-androidmanagedappprotection-update?view=graph-rest-1.0" />
/// </summary>
/// <param name="body">The request body</param>
/// <param name="cancellationToken">Cancellation token to use when cancelling requests</param>
Expand All @@ -102,7 +105,7 @@ public async Task<AndroidManagedAppProtection> PatchAsync(AndroidManagedAppProte
return await RequestAdapter.SendAsync<AndroidManagedAppProtection>(requestInfo, AndroidManagedAppProtection.CreateFromDiscriminatorValue, errorMapping, cancellationToken);
}
/// <summary>
/// Delete navigation property androidManagedAppProtections for deviceAppManagement
/// Deletes a androidManagedAppProtection.
/// </summary>
/// <param name="requestConfiguration">Configuration for the request such as headers, query parameters, and middleware options.</param>
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
Expand All @@ -126,7 +129,7 @@ public RequestInformation ToDeleteRequestInformation(Action<AndroidManagedAppPro
return requestInfo;
}
/// <summary>
/// Android managed app policies.
/// Read properties and relationships of the androidManagedAppProtection object.
/// </summary>
/// <param name="requestConfiguration">Configuration for the request such as headers, query parameters, and middleware options.</param>
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
Expand All @@ -152,7 +155,7 @@ public RequestInformation ToGetRequestInformation(Action<AndroidManagedAppProtec
return requestInfo;
}
/// <summary>
/// Update the navigation property androidManagedAppProtections in deviceAppManagement
/// Update the properties of a androidManagedAppProtection object.
/// </summary>
/// <param name="body">The request body</param>
/// <param name="requestConfiguration">Configuration for the request such as headers, query parameters, and middleware options.</param>
Expand Down Expand Up @@ -196,7 +199,7 @@ public AndroidManagedAppProtectionItemRequestBuilderDeleteRequestConfiguration()
}
}
/// <summary>
/// Android managed app policies.
/// Read properties and relationships of the androidManagedAppProtection object.
/// </summary>
public class AndroidManagedAppProtectionItemRequestBuilderGetQueryParameters {
/// <summary>Expand related entities</summary>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,8 @@ public DefaultManagedAppProtectionsRequestBuilder(Dictionary<string, object> pat
public DefaultManagedAppProtectionsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/deviceAppManagement/defaultManagedAppProtections{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}", rawUrl) {
}
/// <summary>
/// Default managed app policies.
/// List properties and relationships of the defaultManagedAppProtection objects.
/// Find more info here <see href="https://docs.microsoft.com/graph/api/intune-mam-defaultmanagedappprotection-list?view=graph-rest-1.0" />
/// </summary>
/// <param name="cancellationToken">Cancellation token to use when cancelling requests</param>
/// <param name="requestConfiguration">Configuration for the request such as headers, query parameters, and middleware options.</param>
Expand All @@ -59,7 +60,8 @@ public async Task<DefaultManagedAppProtectionCollectionResponse> GetAsync(Action
return await RequestAdapter.SendAsync<DefaultManagedAppProtectionCollectionResponse>(requestInfo, DefaultManagedAppProtectionCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken);
}
/// <summary>
/// Create new navigation property to defaultManagedAppProtections for deviceAppManagement
/// Create a new defaultManagedAppProtection object.
/// Find more info here <see href="https://docs.microsoft.com/graph/api/intune-mam-defaultmanagedappprotection-create?view=graph-rest-1.0" />
/// </summary>
/// <param name="body">The request body</param>
/// <param name="cancellationToken">Cancellation token to use when cancelling requests</param>
Expand All @@ -80,7 +82,7 @@ public async Task<DefaultManagedAppProtection> PostAsync(DefaultManagedAppProtec
return await RequestAdapter.SendAsync<DefaultManagedAppProtection>(requestInfo, DefaultManagedAppProtection.CreateFromDiscriminatorValue, errorMapping, cancellationToken);
}
/// <summary>
/// Default managed app policies.
/// List properties and relationships of the defaultManagedAppProtection objects.
/// </summary>
/// <param name="requestConfiguration">Configuration for the request such as headers, query parameters, and middleware options.</param>
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
Expand All @@ -106,7 +108,7 @@ public RequestInformation ToGetRequestInformation(Action<DefaultManagedAppProtec
return requestInfo;
}
/// <summary>
/// Create new navigation property to defaultManagedAppProtections for deviceAppManagement
/// Create a new defaultManagedAppProtection object.
/// </summary>
/// <param name="body">The request body</param>
/// <param name="requestConfiguration">Configuration for the request such as headers, query parameters, and middleware options.</param>
Expand Down Expand Up @@ -134,7 +136,7 @@ public RequestInformation ToPostRequestInformation(DefaultManagedAppProtection b
return requestInfo;
}
/// <summary>
/// Default managed app policies.
/// List properties and relationships of the defaultManagedAppProtection objects.
/// </summary>
public class DefaultManagedAppProtectionsRequestBuilderGetQueryParameters {
/// <summary>Include count of items</summary>
Expand Down
Loading

0 comments on commit e8d4524

Please sign in to comment.