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 beta models and request builders #948

Merged
merged 1 commit into from
Dec 18, 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
  •  
  •  
  •  
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,8 @@ public ResourceConnectionItemRequestBuilder(string rawUrl, IRequestAdapter reque
{
}
/// <summary>
/// Delete a resourceConnection object.
/// Find more info here <see href="https://learn.microsoft.com/graph/api/windowsupdates-resourceconnection-delete?view=graph-rest-beta" />
/// Delete an operationalInsightsConnection object.
/// Find more info here <see href="https://learn.microsoft.com/graph/api/windowsupdates-operationalinsightsconnection-delete?view=graph-rest-beta" />
/// </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 @@ -58,8 +58,8 @@ public async Task DeleteAsync(Action<RequestConfiguration<DefaultQueryParameters
await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false);
}
/// <summary>
/// Read the properties and relationships of a resourceConnection object.
/// Find more info here <see href="https://learn.microsoft.com/graph/api/windowsupdates-resourceconnection-get?view=graph-rest-beta" />
/// Read the properties and relationships of an operationalInsightsConnection object.
/// Find more info here <see href="https://learn.microsoft.com/graph/api/windowsupdates-operationalinsightsconnection-get?view=graph-rest-beta" />
/// </summary>
/// <returns>A <see cref="global::Microsoft.Graph.Beta.Models.WindowsUpdates.ResourceConnection"/></returns>
/// <param name="cancellationToken">Cancellation token to use when cancelling requests</param>
Expand Down Expand Up @@ -107,7 +107,7 @@ public async Task DeleteAsync(Action<RequestConfiguration<DefaultQueryParameters
return await RequestAdapter.SendAsync<global::Microsoft.Graph.Beta.Models.WindowsUpdates.ResourceConnection>(requestInfo, global::Microsoft.Graph.Beta.Models.WindowsUpdates.ResourceConnection.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false);
}
/// <summary>
/// Delete a resourceConnection object.
/// Delete an operationalInsightsConnection 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 All @@ -126,7 +126,7 @@ public RequestInformation ToDeleteRequestInformation(Action<RequestConfiguration
return requestInfo;
}
/// <summary>
/// Read the properties and relationships of a resourceConnection object.
/// Read the properties and relationships of an operationalInsightsConnection 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 @@ -184,7 +184,7 @@ public partial class ResourceConnectionItemRequestBuilderDeleteRequestConfigurat
{
}
/// <summary>
/// Read the properties and relationships of a resourceConnection object.
/// Read the properties and relationships of an operationalInsightsConnection object.
/// </summary>
[global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")]
public partial class ResourceConnectionItemRequestBuilderGetQueryParameters
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,8 @@ public UpdatableAssetItemRequestBuilder(string rawUrl, IRequestAdapter requestAd
{
}
/// <summary>
/// Delete an updatableAssetGroup object. When an updatableAssetGroup object, its member updatableAsset objects are not deleted.
/// Find more info here <see href="https://learn.microsoft.com/graph/api/windowsupdates-updatableassetgroup-delete?view=graph-rest-beta" />
/// Delete an updatableAsset object.
/// Find more info here <see href="https://learn.microsoft.com/graph/api/windowsupdates-updatableasset-delete?view=graph-rest-beta" />
/// </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 @@ -131,7 +131,7 @@ public async Task DeleteAsync(Action<RequestConfiguration<DefaultQueryParameters
return await RequestAdapter.SendAsync<global::Microsoft.Graph.Beta.Models.WindowsUpdates.UpdatableAsset>(requestInfo, global::Microsoft.Graph.Beta.Models.WindowsUpdates.UpdatableAsset.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false);
}
/// <summary>
/// Delete an updatableAssetGroup object. When an updatableAssetGroup object, its member updatableAsset objects are not deleted.
/// Delete an updatableAsset 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
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,8 @@ public InviteRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : bas
{
}
/// <summary>
/// Delete a specific participant in a call. In some situations, it is appropriate for an application to remove a participant from an active call. This action can be done before or after the participant answers the call. When an active caller is removed, they are immediately dropped from the call with no pre- or post-removal notification. When an invited participant is removed, any outstanding add participant request is canceled.
/// Find more info here <see href="https://learn.microsoft.com/graph/api/participant-delete?view=graph-rest-beta" />
/// Invite participants to the active call. For more information about how to handle operations, see commsOperation.
/// Find more info here <see href="https://learn.microsoft.com/graph/api/participant-invite?view=graph-rest-beta" />
/// </summary>
/// <returns>A <see cref="global::Microsoft.Graph.Beta.Models.InviteParticipantsOperation"/></returns>
/// <param name="body">The request body</param>
Expand All @@ -61,7 +61,7 @@ public InviteRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : bas
return await RequestAdapter.SendAsync<global::Microsoft.Graph.Beta.Models.InviteParticipantsOperation>(requestInfo, global::Microsoft.Graph.Beta.Models.InviteParticipantsOperation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false);
}
/// <summary>
/// Delete a specific participant in a call. In some situations, it is appropriate for an application to remove a participant from an active call. This action can be done before or after the participant answers the call. When an active caller is removed, they are immediately dropped from the call with no pre- or post-removal notification. When an invited participant is removed, any outstanding add participant request is canceled.
/// Invite participants to the active call. For more information about how to handle operations, see commsOperation.
/// </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 @@ -54,7 +54,7 @@ public TeamsAppsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) :
{
}
/// <summary>
/// List apps from the Microsoft Teams app catalog. This includes apps from the Microsoft Teams store and apps from your organization&apos;s app catalog (the tenant app catalog). To get apps from your organization&apos;s app catalog only, specify organization as the distributionMethod in the request.
/// List apps from the Microsoft Teams app catalog, including apps from the Microsoft Teams store and apps from your organization&apos;s app catalog (the tenant app catalog). To get apps from your organization&apos;s app catalog only, specify organization as the distributionMethod in the request.
/// Find more info here <see href="https://learn.microsoft.com/graph/api/appcatalogs-list-teamsapps?view=graph-rest-beta" />
/// </summary>
/// <returns>A <see cref="global::Microsoft.Graph.Beta.Models.TeamsAppCollectionResponse"/></returns>
Expand Down Expand Up @@ -104,7 +104,7 @@ public TeamsAppsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) :
return await RequestAdapter.SendAsync<global::Microsoft.Graph.Beta.Models.TeamsApp>(requestInfo, global::Microsoft.Graph.Beta.Models.TeamsApp.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false);
}
/// <summary>
/// List apps from the Microsoft Teams app catalog. This includes apps from the Microsoft Teams store and apps from your organization&apos;s app catalog (the tenant app catalog). To get apps from your organization&apos;s app catalog only, specify organization as the distributionMethod in the request.
/// List apps from the Microsoft Teams app catalog, including apps from the Microsoft Teams store and apps from your organization&apos;s app catalog (the tenant app catalog). To get apps from your organization&apos;s app catalog only, specify organization as the distributionMethod in the request.
/// </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 @@ -154,7 +154,7 @@ public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.
return new global::Microsoft.Graph.Beta.AppCatalogs.TeamsApps.TeamsAppsRequestBuilder(rawUrl, RequestAdapter);
}
/// <summary>
/// List apps from the Microsoft Teams app catalog. This includes apps from the Microsoft Teams store and apps from your organization&apos;s app catalog (the tenant app catalog). To get apps from your organization&apos;s app catalog only, specify organization as the distributionMethod in the request.
/// List apps from the Microsoft Teams app catalog, including apps from the Microsoft Teams store and apps from your organization&apos;s app catalog (the tenant app catalog). To get apps from your organization&apos;s app catalog only, specify organization as the distributionMethod in the request.
/// </summary>
[global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")]
public partial class TeamsAppsRequestBuilderGetQueryParameters
Expand Down
12 changes: 12 additions & 0 deletions src/Microsoft.Graph/Generated/BaseGraphServiceClient.cs
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
using Microsoft.Graph.Beta.BookingBusinesses;
using Microsoft.Graph.Beta.BookingCurrencies;
using Microsoft.Graph.Beta.BusinessFlowTemplates;
using Microsoft.Graph.Beta.CertificateAuthorities;
using Microsoft.Graph.Beta.CertificateBasedAuthConfiguration;
using Microsoft.Graph.Beta.Chats;
using Microsoft.Graph.Beta.Commands;
Expand Down Expand Up @@ -118,6 +119,7 @@
using Microsoft.Graph.Beta.Teams;
using Microsoft.Graph.Beta.TeamsTemplates;
using Microsoft.Graph.Beta.Teamwork;
using Microsoft.Graph.Beta.Templates;
using Microsoft.Graph.Beta.TenantRelationships;
using Microsoft.Graph.Beta.TermStore;
using Microsoft.Graph.Beta.ThreatSubmission;
Expand Down Expand Up @@ -249,6 +251,11 @@ public partial class BaseGraphServiceClient : BaseRequestBuilder
{
get => new global::Microsoft.Graph.Beta.BusinessFlowTemplates.BusinessFlowTemplatesRequestBuilder(PathParameters, RequestAdapter);
}
/// <summary>Provides operations to manage the certificateAuthorityPath singleton.</summary>
public global::Microsoft.Graph.Beta.CertificateAuthorities.CertificateAuthoritiesRequestBuilder CertificateAuthorities
{
get => new global::Microsoft.Graph.Beta.CertificateAuthorities.CertificateAuthoritiesRequestBuilder(PathParameters, RequestAdapter);
}
/// <summary>Provides operations to manage the collection of certificateBasedAuthConfiguration entities.</summary>
public global::Microsoft.Graph.Beta.CertificateBasedAuthConfiguration.CertificateBasedAuthConfigurationRequestBuilder CertificateBasedAuthConfiguration
{
Expand Down Expand Up @@ -699,6 +706,11 @@ public partial class BaseGraphServiceClient : BaseRequestBuilder
{
get => new global::Microsoft.Graph.Beta.Teamwork.TeamworkRequestBuilder(PathParameters, RequestAdapter);
}
/// <summary>Provides operations to manage the template singleton.</summary>
public global::Microsoft.Graph.Beta.Templates.TemplatesRequestBuilder Templates
{
get => new global::Microsoft.Graph.Beta.Templates.TemplatesRequestBuilder(PathParameters, RequestAdapter);
}
/// <summary>Provides operations to manage the tenantRelationship singleton.</summary>
public global::Microsoft.Graph.Beta.TenantRelationships.TenantRelationshipsRequestBuilder TenantRelationships
{
Expand Down
Loading
Loading