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 #2037

Merged
merged 2 commits into from
Jul 27, 2023
Merged
Show file tree
Hide file tree
Changes from 1 commit
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
  •  
  •  
  •  
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 =>
andrueastman marked this conversation as resolved.
Show resolved Hide resolved
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