Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Generated models and request builders #2521

Merged
merged 2 commits into from
May 31, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project does adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [5.55.0] - 2024-05-31

- Latest metadata updates from 28th May 2024.

## [5.54.0] - 2024-05-23

- Latest metadata updates from 21st May 2024.
Expand Down
6 changes: 6 additions & 0 deletions src/Microsoft.Graph/Generated/BaseGraphServiceClient.cs
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@
using Microsoft.Graph.Shares;
using Microsoft.Graph.Sites;
using Microsoft.Graph.Solutions;
using Microsoft.Graph.Storage;
using Microsoft.Graph.SubscribedSkus;
using Microsoft.Graph.Subscriptions;
using Microsoft.Graph.Teams;
Expand Down Expand Up @@ -397,6 +398,11 @@ public SolutionsRequestBuilder Solutions
{
get => new SolutionsRequestBuilder(PathParameters, RequestAdapter);
}
/// <summary>Provides operations to manage the storage singleton.</summary>
public StorageRequestBuilder Storage
{
get => new StorageRequestBuilder(PathParameters, RequestAdapter);
}
/// <summary>Provides operations to manage the collection of subscribedSku entities.</summary>
public SubscribedSkusRequestBuilder SubscribedSkus
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -82,8 +82,8 @@ public async Task<ChatMessageCollectionResponse> GetAsync(Action<RequestConfigur
return await RequestAdapter.SendAsync<ChatMessageCollectionResponse>(requestInfo, ChatMessageCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false);
}
/// <summary>
/// Send a new chatMessage in the specified channel or a chat.
/// Find more info here <see href="https://learn.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://learn.microsoft.com/graph/api/chat-post-messages?view=graph-rest-1.0" />
/// </summary>
/// <returns>A <see cref="ChatMessage"/></returns>
/// <param name="body">The request body</param>
Expand Down Expand Up @@ -127,7 +127,7 @@ public RequestInformation ToGetRequestInformation(Action<RequestConfiguration<Me
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>
/// <returns>A <see cref="RequestInformation"/></returns>
/// <param name="body">The request body</param>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ public DeviceAppManagementRequestBuilder(string rawUrl, IRequestAdapter requestA
}
/// <summary>
/// Read properties and relationships of the deviceAppManagement object.
/// Find more info here <see href="https://learn.microsoft.com/graph/api/intune-policyset-deviceappmanagement-get?view=graph-rest-1.0" />
/// Find more info here <see href="https://learn.microsoft.com/graph/api/intune-books-deviceappmanagement-get?view=graph-rest-1.0" />
/// </summary>
/// <returns>A <see cref="Microsoft.Graph.Models.DeviceAppManagement"/></returns>
/// <param name="cancellationToken">Cancellation token to use when cancelling requests</param>
Expand All @@ -148,7 +148,7 @@ public DeviceAppManagementRequestBuilder(string rawUrl, IRequestAdapter requestA
}
/// <summary>
/// Update the properties of a deviceAppManagement object.
/// Find more info here <see href="https://learn.microsoft.com/graph/api/intune-apps-deviceappmanagement-update?view=graph-rest-1.0" />
/// Find more info here <see href="https://learn.microsoft.com/graph/api/intune-onboarding-deviceappmanagement-update?view=graph-rest-1.0" />
/// </summary>
/// <returns>A <see cref="Microsoft.Graph.Models.DeviceAppManagement"/></returns>
/// <param name="body">The request body</param>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,8 @@ public ManagedAppPoliciesRequestBuilder(string rawUrl, IRequestAdapter requestAd
{
}
/// <summary>
/// List properties and relationships of the managedAppProtection objects.
/// Find more info here <see href="https://learn.microsoft.com/graph/api/intune-mam-managedappprotection-list?view=graph-rest-1.0" />
/// List properties and relationships of the managedAppPolicy objects.
/// Find more info here <see href="https://learn.microsoft.com/graph/api/intune-mam-managedapppolicy-list?view=graph-rest-1.0" />
/// </summary>
/// <returns>A <see cref="ManagedAppPolicyCollectionResponse"/></returns>
/// <param name="cancellationToken">Cancellation token to use when cancelling requests</param>
Expand Down Expand Up @@ -101,7 +101,7 @@ public async Task<ManagedAppPolicy> PostAsync(ManagedAppPolicy body, Action<Requ
return await RequestAdapter.SendAsync<ManagedAppPolicy>(requestInfo, ManagedAppPolicy.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false);
}
/// <summary>
/// List properties and relationships of the managedAppProtection objects.
/// List properties and relationships of the managedAppPolicy objects.
/// </summary>
/// <returns>A <see cref="RequestInformation"/></returns>
/// <param name="requestConfiguration">Configuration for the request such as headers, query parameters, and middleware options.</param>
Expand Down Expand Up @@ -151,7 +151,7 @@ public ManagedAppPoliciesRequestBuilder WithUrl(string rawUrl)
return new ManagedAppPoliciesRequestBuilder(rawUrl, RequestAdapter);
}
/// <summary>
/// List properties and relationships of the managedAppProtection objects.
/// List properties and relationships of the managedAppPolicy objects.
/// </summary>
public class ManagedAppPoliciesRequestBuilderGetQueryParameters
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -73,8 +73,8 @@ public async Task DeleteAsync(Action<RequestConfiguration<DefaultQueryParameters
await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false);
}
/// <summary>
/// Read properties and relationships of the androidManagedAppRegistration object.
/// Find more info here <see href="https://learn.microsoft.com/graph/api/intune-mam-androidmanagedappregistration-get?view=graph-rest-1.0" />
/// Read properties and relationships of the iosManagedAppRegistration object.
/// Find more info here <see href="https://learn.microsoft.com/graph/api/intune-mam-iosmanagedappregistration-get?view=graph-rest-1.0" />
/// </summary>
/// <returns>A <see cref="ManagedAppRegistration"/></returns>
/// <param name="cancellationToken">Cancellation token to use when cancelling requests</param>
Expand Down Expand Up @@ -141,7 +141,7 @@ public RequestInformation ToDeleteRequestInformation(Action<RequestConfiguration
return requestInfo;
}
/// <summary>
/// Read properties and relationships of the androidManagedAppRegistration object.
/// Read properties and relationships of the iosManagedAppRegistration object.
/// </summary>
/// <returns>A <see cref="RequestInformation"/></returns>
/// <param name="requestConfiguration">Configuration for the request such as headers, query parameters, and middleware options.</param>
Expand Down Expand Up @@ -198,7 +198,7 @@ public class ManagedAppRegistrationItemRequestBuilderDeleteRequestConfiguration
{
}
/// <summary>
/// Read properties and relationships of the androidManagedAppRegistration object.
/// Read properties and relationships of the iosManagedAppRegistration object.
/// </summary>
public class ManagedAppRegistrationItemRequestBuilderGetQueryParameters
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,8 @@ public AssignmentsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter)
{
}
/// <summary>
/// List properties and relationships of the iosVppEBookAssignment objects.
/// Find more info here <see href="https://learn.microsoft.com/graph/api/intune-books-iosvppebookassignment-list?view=graph-rest-1.0" />
/// List properties and relationships of the managedEBookAssignment objects.
/// Find more info here <see href="https://learn.microsoft.com/graph/api/intune-books-managedebookassignment-list?view=graph-rest-1.0" />
/// </summary>
/// <returns>A <see cref="ManagedEBookAssignmentCollectionResponse"/></returns>
/// <param name="cancellationToken">Cancellation token to use when cancelling requests</param>
Expand All @@ -76,8 +76,8 @@ public async Task<ManagedEBookAssignmentCollectionResponse> GetAsync(Action<Requ
return await RequestAdapter.SendAsync<ManagedEBookAssignmentCollectionResponse>(requestInfo, ManagedEBookAssignmentCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false);
}
/// <summary>
/// Create a new managedEBookAssignment object.
/// Find more info here <see href="https://learn.microsoft.com/graph/api/intune-books-managedebookassignment-create?view=graph-rest-1.0" />
/// Create a new iosVppEBookAssignment object.
/// Find more info here <see href="https://learn.microsoft.com/graph/api/intune-books-iosvppebookassignment-create?view=graph-rest-1.0" />
/// </summary>
/// <returns>A <see cref="ManagedEBookAssignment"/></returns>
/// <param name="body">The request body</param>
Expand All @@ -102,7 +102,7 @@ public async Task<ManagedEBookAssignment> PostAsync(ManagedEBookAssignment body,
return await RequestAdapter.SendAsync<ManagedEBookAssignment>(requestInfo, ManagedEBookAssignment.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false);
}
/// <summary>
/// List properties and relationships of the iosVppEBookAssignment objects.
/// List properties and relationships of the managedEBookAssignment objects.
/// </summary>
/// <returns>A <see cref="RequestInformation"/></returns>
/// <param name="requestConfiguration">Configuration for the request such as headers, query parameters, and middleware options.</param>
Expand All @@ -121,7 +121,7 @@ public RequestInformation ToGetRequestInformation(Action<RequestConfiguration<As
return requestInfo;
}
/// <summary>
/// Create a new managedEBookAssignment object.
/// Create a new iosVppEBookAssignment object.
/// </summary>
/// <returns>A <see cref="RequestInformation"/></returns>
/// <param name="body">The request body</param>
Expand Down Expand Up @@ -152,7 +152,7 @@ public AssignmentsRequestBuilder WithUrl(string rawUrl)
return new AssignmentsRequestBuilder(rawUrl, RequestAdapter);
}
/// <summary>
/// List properties and relationships of the iosVppEBookAssignment objects.
/// List properties and relationships of the managedEBookAssignment objects.
/// </summary>
public class AssignmentsRequestBuilderGetQueryParameters
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@ public ManagedEBookAssignmentItemRequestBuilder(string rawUrl, IRequestAdapter r
{
}
/// <summary>
/// Deletes a iosVppEBookAssignment.
/// Find more info here <see href="https://learn.microsoft.com/graph/api/intune-books-iosvppebookassignment-delete?view=graph-rest-1.0" />
/// Deletes a managedEBookAssignment.
/// Find more info here <see href="https://learn.microsoft.com/graph/api/intune-books-managedebookassignment-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 @@ -56,8 +56,8 @@ public async Task DeleteAsync(Action<RequestConfiguration<DefaultQueryParameters
await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false);
}
/// <summary>
/// Read properties and relationships of the managedEBookAssignment object.
/// Find more info here <see href="https://learn.microsoft.com/graph/api/intune-books-managedebookassignment-get?view=graph-rest-1.0" />
/// Read properties and relationships of the iosVppEBookAssignment object.
/// Find more info here <see href="https://learn.microsoft.com/graph/api/intune-books-iosvppebookassignment-get?view=graph-rest-1.0" />
/// </summary>
/// <returns>A <see cref="ManagedEBookAssignment"/></returns>
/// <param name="cancellationToken">Cancellation token to use when cancelling requests</param>
Expand Down Expand Up @@ -106,7 +106,7 @@ public async Task<ManagedEBookAssignment> PatchAsync(ManagedEBookAssignment body
return await RequestAdapter.SendAsync<ManagedEBookAssignment>(requestInfo, ManagedEBookAssignment.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false);
}
/// <summary>
/// Deletes a iosVppEBookAssignment.
/// Deletes a managedEBookAssignment.
/// </summary>
/// <returns>A <see cref="RequestInformation"/></returns>
/// <param name="requestConfiguration">Configuration for the request such as headers, query parameters, and middleware options.</param>
Expand All @@ -125,7 +125,7 @@ public RequestInformation ToDeleteRequestInformation(Action<RequestConfiguration
return requestInfo;
}
/// <summary>
/// Read properties and relationships of the managedEBookAssignment object.
/// Read properties and relationships of the iosVppEBookAssignment object.
/// </summary>
/// <returns>A <see cref="RequestInformation"/></returns>
/// <param name="requestConfiguration">Configuration for the request such as headers, query parameters, and middleware options.</param>
Expand Down Expand Up @@ -182,7 +182,7 @@ public class ManagedEBookAssignmentItemRequestBuilderDeleteRequestConfiguration
{
}
/// <summary>
/// Read properties and relationships of the managedEBookAssignment object.
/// Read properties and relationships of the iosVppEBookAssignment object.
/// </summary>
public class ManagedEBookAssignmentItemRequestBuilderGetQueryParameters
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -86,8 +86,8 @@ public async Task DeleteAsync(Action<RequestConfiguration<DefaultQueryParameters
await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false);
}
/// <summary>
/// Read properties and relationships of the managedEBook object.
/// Find more info here <see href="https://learn.microsoft.com/graph/api/intune-books-managedebook-get?view=graph-rest-1.0" />
/// Read properties and relationships of the iosVppEBook object.
/// Find more info here <see href="https://learn.microsoft.com/graph/api/intune-books-iosvppebook-get?view=graph-rest-1.0" />
/// </summary>
/// <returns>A <see cref="ManagedEBook"/></returns>
/// <param name="cancellationToken">Cancellation token to use when cancelling requests</param>
Expand Down Expand Up @@ -155,7 +155,7 @@ public RequestInformation ToDeleteRequestInformation(Action<RequestConfiguration
return requestInfo;
}
/// <summary>
/// Read properties and relationships of the managedEBook object.
/// Read properties and relationships of the iosVppEBook object.
/// </summary>
/// <returns>A <see cref="RequestInformation"/></returns>
/// <param name="requestConfiguration">Configuration for the request such as headers, query parameters, and middleware options.</param>
Expand Down Expand Up @@ -212,7 +212,7 @@ public class ManagedEBookItemRequestBuilderDeleteRequestConfiguration : RequestC
{
}
/// <summary>
/// Read properties and relationships of the managedEBook object.
/// Read properties and relationships of the iosVppEBook object.
/// </summary>
public class ManagedEBookItemRequestBuilderGetQueryParameters
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -92,8 +92,8 @@ public async Task DeleteAsync(Action<RequestConfiguration<DefaultQueryParameters
await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false);
}
/// <summary>
/// Read properties and relationships of the iosMobileAppConfiguration object.
/// Find more info here <see href="https://learn.microsoft.com/graph/api/intune-apps-iosmobileappconfiguration-get?view=graph-rest-1.0" />
/// Read properties and relationships of the managedDeviceMobileAppConfiguration object.
/// Find more info here <see href="https://learn.microsoft.com/graph/api/intune-apps-manageddevicemobileappconfiguration-get?view=graph-rest-1.0" />
/// </summary>
/// <returns>A <see cref="ManagedDeviceMobileAppConfiguration"/></returns>
/// <param name="cancellationToken">Cancellation token to use when cancelling requests</param>
Expand Down Expand Up @@ -161,7 +161,7 @@ public RequestInformation ToDeleteRequestInformation(Action<RequestConfiguration
return requestInfo;
}
/// <summary>
/// Read properties and relationships of the iosMobileAppConfiguration object.
/// Read properties and relationships of the managedDeviceMobileAppConfiguration object.
/// </summary>
/// <returns>A <see cref="RequestInformation"/></returns>
/// <param name="requestConfiguration">Configuration for the request such as headers, query parameters, and middleware options.</param>
Expand Down Expand Up @@ -218,7 +218,7 @@ public class ManagedDeviceMobileAppConfigurationItemRequestBuilderDeleteRequestC
{
}
/// <summary>
/// Read properties and relationships of the iosMobileAppConfiguration object.
/// Read properties and relationships of the managedDeviceMobileAppConfiguration object.
/// </summary>
public class ManagedDeviceMobileAppConfigurationItemRequestBuilderGetQueryParameters
{
Expand Down
Loading
Loading