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

Merged
merged 2 commits into from
Nov 8, 2023
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
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ and this project does adheres to [Semantic Versioning](https://semver.org/spec/v

## [Unreleased]

## [5.34.0] - 2023-11-12

- Latest metadata updates from 11th November 2023.

## [5.33.0] - 2023-11-02

- Latest metadata updates from 31st October 2023.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,8 @@ public PeopleRequestBuilder(Dictionary<string, object> pathParameters, IRequestA
public PeopleRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/people{?%24select,%24expand}", rawUrl) {
}
/// <summary>
/// Get people from admin
/// Retrieve the properties and relationships of a peopleAdminSettings object.
/// Find more info here <see href="https://learn.microsoft.com/graph/api/peopleadminsettings-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 Down Expand Up @@ -74,7 +75,7 @@ public async Task<PeopleAdminSettings> PatchAsync(PeopleAdminSettings body, Acti
return await RequestAdapter.SendAsync<PeopleAdminSettings>(requestInfo, PeopleAdminSettings.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false);
}
/// <summary>
/// Get people from admin
/// Retrieve the properties and relationships of a peopleAdminSettings 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 Down Expand Up @@ -135,7 +136,7 @@ public PeopleRequestBuilder WithUrl(string rawUrl) {
return new PeopleRequestBuilder(rawUrl, RequestAdapter);
}
/// <summary>
/// Get people from admin
/// Retrieve the properties and relationships of a peopleAdminSettings object.
/// </summary>
public class PeopleRequestBuilderGetQueryParameters {
/// <summary>Expand related entities</summary>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,8 @@ public ProfileCardPropertyItemRequestBuilder(Dictionary<string, object> pathPara
public ProfileCardPropertyItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/people/profileCardProperties/{profileCardProperty%2Did}{?%24select,%24expand}", rawUrl) {
}
/// <summary>
/// Delete navigation property profileCardProperties for admin
/// Delete the profileCardProperty object specified by its directoryPropertyName from the organization&apos;s profile card, and remove any localized customizations for that property.
/// Find more info here <see href="https://learn.microsoft.com/graph/api/profilecardproperty-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 @@ -48,7 +49,8 @@ public async Task DeleteAsync(Action<ProfileCardPropertyItemRequestBuilderDelete
await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false);
}
/// <summary>
/// Get profileCardProperties from admin
/// Retrieve the properties of a profileCardProperty entity. The profileCardProperty is identified by its directoryPropertyName property.
/// Find more info here <see href="https://learn.microsoft.com/graph/api/profilecardproperty-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 @@ -67,7 +69,8 @@ public async Task<ProfileCardProperty> GetAsync(Action<ProfileCardPropertyItemRe
return await RequestAdapter.SendAsync<ProfileCardProperty>(requestInfo, ProfileCardProperty.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false);
}
/// <summary>
/// Update the navigation property profileCardProperties in admin
/// Update the properties of a profileCardProperty object, identified by its directoryPropertyName property.
/// Find more info here <see href="https://learn.microsoft.com/graph/api/profilecardproperty-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 @@ -88,7 +91,7 @@ public async Task<ProfileCardProperty> PatchAsync(ProfileCardProperty body, Acti
return await RequestAdapter.SendAsync<ProfileCardProperty>(requestInfo, ProfileCardProperty.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false);
}
/// <summary>
/// Delete navigation property profileCardProperties for admin
/// Delete the profileCardProperty object specified by its directoryPropertyName from the organization&apos;s profile card, and remove any localized customizations for that property.
/// </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 @@ -113,7 +116,7 @@ public RequestInformation ToDeleteRequestInformation(Action<ProfileCardPropertyI
return requestInfo;
}
/// <summary>
/// Get profileCardProperties from admin
/// Retrieve the properties of a profileCardProperty entity. The profileCardProperty is identified by its directoryPropertyName property.
/// </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 @@ -139,7 +142,7 @@ public RequestInformation ToGetRequestInformation(Action<ProfileCardPropertyItem
return requestInfo;
}
/// <summary>
/// Update the navigation property profileCardProperties in admin
/// Update the properties of a profileCardProperty object, identified by its directoryPropertyName property.
/// </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 @@ -190,7 +193,7 @@ public ProfileCardPropertyItemRequestBuilderDeleteRequestConfiguration() {
}
}
/// <summary>
/// Get profileCardProperties from admin
/// Retrieve the properties of a profileCardProperty entity. The profileCardProperty is identified by its directoryPropertyName property.
/// </summary>
public class ProfileCardPropertyItemRequestBuilderGetQueryParameters {
/// <summary>Expand related entities</summary>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,8 @@ public ProfileCardPropertiesRequestBuilder(Dictionary<string, object> pathParame
public ProfileCardPropertiesRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/people/profileCardProperties{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}", rawUrl) {
}
/// <summary>
/// Get profileCardProperties from admin
/// Get a collection of profileCardProperty resources for an organization. Each resource is identified by its directoryPropertyName property.
/// Find more info here <see href="https://learn.microsoft.com/graph/api/peopleadminsettings-list-profilecardproperties?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 @@ -61,7 +62,8 @@ public async Task<ProfileCardPropertyCollectionResponse> GetAsync(Action<Profile
return await RequestAdapter.SendAsync<ProfileCardPropertyCollectionResponse>(requestInfo, ProfileCardPropertyCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false);
}
/// <summary>
/// Create new navigation property to profileCardProperties for admin
/// Create a new profileCardProperty for an organization. The new property is identified by its directoryPropertyName property. For more information about how to add properties to the profile card for an organization, see Add or remove custom attributes on a profile card using the profile card API.
/// Find more info here <see href="https://learn.microsoft.com/graph/api/peopleadminsettings-post-profilecardproperties?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 @@ -82,7 +84,7 @@ public async Task<ProfileCardProperty> PostAsync(ProfileCardProperty body, Actio
return await RequestAdapter.SendAsync<ProfileCardProperty>(requestInfo, ProfileCardProperty.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false);
}
/// <summary>
/// Get profileCardProperties from admin
/// Get a collection of profileCardProperty resources for an organization. Each resource is identified by its directoryPropertyName property.
/// </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 @@ -108,7 +110,7 @@ public RequestInformation ToGetRequestInformation(Action<ProfileCardPropertiesRe
return requestInfo;
}
/// <summary>
/// Create new navigation property to profileCardProperties for admin
/// Create a new profileCardProperty for an organization. The new property is identified by its directoryPropertyName property. For more information about how to add properties to the profile card for an organization, see Add or remove custom attributes on a profile card using the profile card API.
/// </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 @@ -143,7 +145,7 @@ public ProfileCardPropertiesRequestBuilder WithUrl(string rawUrl) {
return new ProfileCardPropertiesRequestBuilder(rawUrl, RequestAdapter);
}
/// <summary>
/// Get profileCardProperties from admin
/// Get a collection of profileCardProperty resources for an organization. Each resource is identified by its directoryPropertyName property.
/// </summary>
public class ProfileCardPropertiesRequestBuilderGetQueryParameters {
/// <summary>Include count of items</summary>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,8 @@ public async Task DeleteAsync(Action<ConversationMemberItemRequestBuilderDeleteR
await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false);
}
/// <summary>
/// Retrieve a conversationMember from a chat. This API is available in the following national cloud deployments.
/// Find more info here <see href="https://learn.microsoft.com/graph/api/chat-get-members?view=graph-rest-1.0" />
/// Retrieve a conversationMember from a chat or channel. This API is available in the following national cloud deployments.
/// Find more info here <see href="https://learn.microsoft.com/graph/api/conversationmember-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 Down Expand Up @@ -115,7 +115,7 @@ public RequestInformation ToDeleteRequestInformation(Action<ConversationMemberIt
return requestInfo;
}
/// <summary>
/// Retrieve a conversationMember from a chat. This API is available in the following national cloud deployments.
/// Retrieve a conversationMember from a chat or channel. This API is available in the following national cloud deployments.
/// </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 Down Expand Up @@ -192,7 +192,7 @@ public ConversationMemberItemRequestBuilderDeleteRequestConfiguration() {
}
}
/// <summary>
/// Retrieve a conversationMember from a chat. This API is available in the following national cloud deployments.
/// Retrieve a conversationMember from a chat or channel. This API is available in the following national cloud deployments.
/// </summary>
public class ConversationMemberItemRequestBuilderGetQueryParameters {
/// <summary>Expand related entities</summary>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,8 @@ public async Task<ChatMessageCollectionResponse> GetAsync(Action<MessagesRequest
return await RequestAdapter.SendAsync<ChatMessageCollectionResponse>(requestInfo, ChatMessageCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false);
}
/// <summary>
/// Send a new chatMessage in the specified channel or a chat. This API is available in the following national cloud deployments.
/// 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. This API is available in the following national cloud deployments.
/// Find more info here <see href="https://learn.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 @@ -115,7 +115,7 @@ public RequestInformation ToGetRequestInformation(Action<MessagesRequestBuilderG
return requestInfo;
}
/// <summary>
/// Send a new chatMessage in the specified channel or a chat. This API is available in the following national cloud deployments.
/// 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. This API is available in the following national cloud deployments.
/// </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 @@ -2,6 +2,7 @@
using Microsoft.Graph.Communications.OnlineMeetings.Item.AttendanceReports;
using Microsoft.Graph.Communications.OnlineMeetings.Item.AttendeeReport;
using Microsoft.Graph.Communications.OnlineMeetings.Item.GetVirtualAppointmentJoinWebUrl;
using Microsoft.Graph.Communications.OnlineMeetings.Item.Recordings;
using Microsoft.Graph.Communications.OnlineMeetings.Item.Transcripts;
using Microsoft.Graph.Models.ODataErrors;
using Microsoft.Graph.Models;
Expand Down Expand Up @@ -30,6 +31,10 @@ public class OnlineMeetingItemRequestBuilder : BaseRequestBuilder {
public GetVirtualAppointmentJoinWebUrlRequestBuilder GetVirtualAppointmentJoinWebUrl { get =>
new GetVirtualAppointmentJoinWebUrlRequestBuilder(PathParameters, RequestAdapter);
}
/// <summary>Provides operations to manage the recordings property of the microsoft.graph.onlineMeeting entity.</summary>
public RecordingsRequestBuilder Recordings { get =>
new RecordingsRequestBuilder(PathParameters, RequestAdapter);
}
/// <summary>Provides operations to manage the transcripts property of the microsoft.graph.onlineMeeting entity.</summary>
public TranscriptsRequestBuilder Transcripts { get =>
new TranscriptsRequestBuilder(PathParameters, RequestAdapter);
Expand Down
Loading
Loading