Skip to content

Commit

Permalink
Update generated files with build 99727
Browse files Browse the repository at this point in the history
  • Loading branch information
Microsoft Graph DevX Tooling authored and Microsoft Graph DevX Tooling committed Jan 3, 2023
1 parent f06c3d1 commit 10a426b
Show file tree
Hide file tree
Showing 50 changed files with 633 additions and 16 deletions.
3 changes: 2 additions & 1 deletion src/Microsoft.Graph/Generated/model/BookingAppointment.cs
Original file line number Diff line number Diff line change
Expand Up @@ -30,13 +30,14 @@ public partial class BookingAppointment : Entity

/// <summary>
/// Gets or sets anonymous join web url.
/// The URL of the meeting to join anonymously.
/// </summary>
[JsonPropertyName("anonymousJoinWebUrl")]
public string AnonymousJoinWebUrl { get; set; }

/// <summary>
/// Gets or sets customers.
/// It lists down the customer properties for an appointment. An appointment will contain a list of customer information and each unit will indicate the properties of a customer who is part of that appointment. Optional.
/// A collection of customer properties for an appointment. An appointment will contain a list of customer information and each unit will indicate the properties of a customer who is part of that appointment. Optional.
/// </summary>
[JsonPropertyName("customers")]
public IEnumerable<BookingCustomerInformationBase> Customers { get; set; }
Expand Down
1 change: 1 addition & 0 deletions src/Microsoft.Graph/Generated/model/BookingBusiness.cs
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ public partial class BookingBusiness : Entity

/// <summary>
/// Gets or sets language tag.
/// The language of the self-service booking page.
/// </summary>
[JsonPropertyName("languageTag")]
public string LanguageTag { get; set; }
Expand Down
2 changes: 2 additions & 0 deletions src/Microsoft.Graph/Generated/model/BookingService.cs
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,7 @@ public partial class BookingService : Entity

/// <summary>
/// Gets or sets is anonymous join enabled.
/// True if the URL to join the appointment anonymously (anonymousJoinWebUrl) will be generated for the appointment booked for this service.
/// </summary>
[JsonPropertyName("isAnonymousJoinEnabled")]
public bool? IsAnonymousJoinEnabled { get; set; }
Expand All @@ -106,6 +107,7 @@ public partial class BookingService : Entity

/// <summary>
/// Gets or sets language tag.
/// The language of the self-service booking page.
/// </summary>
[JsonPropertyName("languageTag")]
public string LanguageTag { get; set; }
Expand Down
3 changes: 2 additions & 1 deletion src/Microsoft.Graph/Generated/model/BookingStaffMember.cs
Original file line number Diff line number Diff line change
Expand Up @@ -52,13 +52,14 @@ public BookingStaffMember()

/// <summary>
/// Gets or sets is email notification enabled.
/// True indicates that a staff member will be notified via email when a booking assigned to them is created or changed.
/// </summary>
[JsonPropertyName("isEmailNotificationEnabled")]
public bool? IsEmailNotificationEnabled { get; set; }

/// <summary>
/// Gets or sets role.
/// The role of the staff member in the business. Possible values are: guest, administrator, viewer, externalGuest and unknownFutureValue. Required.
/// The role of the staff member in the business. Possible values are: guest, administrator, viewer, externalGuest, unknownFutureValue, scheduler, teamMember. Note that you must use the Prefer: include-unknown-enum-members request header to get the following values from this evolvable enum: scheduler, teamMember. Required.
/// </summary>
[JsonPropertyName("role")]
public BookingStaffRole? Role { get; set; }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,24 +29,28 @@ public EducationTeamsAppResource()

/// <summary>
/// Gets or sets appIconWebUrl.
/// URL that points to the icon of the app.
/// </summary>
[JsonPropertyName("appIconWebUrl")]
public string AppIconWebUrl { get; set; }

/// <summary>
/// Gets or sets appId.
/// Teams app ID of the application.
/// </summary>
[JsonPropertyName("appId")]
public string AppId { get; set; }

/// <summary>
/// Gets or sets teamsEmbeddedContentUrl.
/// URL for the app resource that will be opened by Teams.
/// </summary>
[JsonPropertyName("teamsEmbeddedContentUrl")]
public string TeamsEmbeddedContentUrl { get; set; }

/// <summary>
/// Gets or sets webUrl.
/// URL for the app resource that can be opened in the browser.
/// </summary>
[JsonPropertyName("webUrl")]
public string WebUrl { get; set; }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ public EmailAuthenticationMethodConfiguration()

/// <summary>
/// Gets or sets include targets.
/// A collection of users or groups who are enabled to use the authentication method.
/// A collection of groups that are enabled to use the authentication method.
/// </summary>
[JsonPropertyName("includeTargets")]
public IEmailAuthenticationMethodConfigurationIncludeTargetsCollectionPage IncludeTargets { get; set; }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ public Fido2AuthenticationMethodConfiguration()

/// <summary>
/// Gets or sets include targets.
/// A collection of users or groups who are enabled to use the authentication method.
/// A collection of groups that are enabled to use the authentication method.
/// </summary>
[JsonPropertyName("includeTargets")]
public IFido2AuthenticationMethodConfigurationIncludeTargetsCollectionPage IncludeTargets { get; set; }
Expand Down
2 changes: 1 addition & 1 deletion src/Microsoft.Graph/Generated/model/Group.cs
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ public Group()

/// <summary>
/// Gets or sets is assignable to role.
/// Indicates whether this group can be assigned to an Azure Active Directory role or not. Optional. This property can only be set while creating the group and is immutable. If set to true, the securityEnabled property must also be set to true and the group cannot be a dynamic group (that is, groupTypes cannot contain DynamicMembership). Only callers in Global Administrator and Privileged Role Administrator roles can set this property. The caller must also be assigned the RoleManagement.ReadWrite.Directory permission to set this property or update the membership of such groups. For more, see Using a group to manage Azure AD role assignmentsReturned by default. Supports $filter (eq, ne, not).
/// Indicates whether this group can be assigned to an Azure Active Directory role or not. Optional. This property can only be set while creating the group and is immutable. If set to true, the securityEnabled property must also be set to true, visibility must be Hidden, and the group cannot be a dynamic group (that is, groupTypes cannot contain DynamicMembership). Only callers in Global Administrator and Privileged Role Administrator roles can set this property. The caller must also be assigned the RoleManagement.ReadWrite.Directory permission to set this property or update the membership of such groups. For more, see Using a group to manage Azure AD role assignmentsReturned by default. Supports $filter (eq, ne, not).
/// </summary>
[JsonPropertyName("isAssignableToRole")]
public bool? IsAssignableToRole { get; set; }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ public MicrosoftAuthenticatorAuthenticationMethodConfiguration()

/// <summary>
/// Gets or sets include targets.
/// A collection of users or groups who are enabled to use the authentication method. Expanded by default.
/// A collection of groups that are enabled to use the authentication method. Expanded by default.
/// </summary>
[JsonPropertyName("includeTargets")]
public IMicrosoftAuthenticatorAuthenticationMethodConfigurationIncludeTargetsCollectionPage IncludeTargets { get; set; }
Expand Down
2 changes: 1 addition & 1 deletion src/Microsoft.Graph/Generated/model/PlannerPlan.cs
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ public partial class PlannerPlan : Entity

/// <summary>
/// Gets or sets container.
/// Identifies the container of the plan. After it is set, this property can’t be updated. Required.
/// Identifies the container of the plan. Specify only the url, the containerId and type, or all properties. After it is set, this property can’t be updated. Required.
/// </summary>
[JsonPropertyName("container")]
public PlannerPlanContainer Container { get; set; }
Expand Down
6 changes: 3 additions & 3 deletions src/Microsoft.Graph/Generated/model/PlannerPlanContainer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -23,21 +23,21 @@ public partial class PlannerPlanContainer

/// <summary>
/// Gets or sets containerId.
/// The identifier of the resource that contains the plan.
/// The identifier of the resource that contains the plan. Optional.
/// </summary>
[JsonPropertyName("containerId")]
public string ContainerId { get; set; }

/// <summary>
/// Gets or sets type.
/// The type of the resource that contains the plan. For supported types, see the previous table. Possible values are: group, unknownFutureValue, roster. Note that you must use the Prefer: include-unknown-enum-members request header to get the following value in this evolvable enum: roster.
/// The type of the resource that contains the plan. For supported types, see the previous table. Possible values are: group, unknownFutureValue, roster. Note that you must use the Prefer: include-unknown-enum-members request header to get the following value in this evolvable enum: roster. Optional.
/// </summary>
[JsonPropertyName("type")]
public PlannerContainerType? Type { get; set; }

/// <summary>
/// Gets or sets url.
/// The full canonical URL of the container.
/// The full canonical URL of the container. Optional.
/// </summary>
[JsonPropertyName("url")]
public string Url { get; set; }
Expand Down
2 changes: 2 additions & 0 deletions src/Microsoft.Graph/Generated/model/Security.cs
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ public partial class Security : Entity

/// <summary>
/// Gets or sets alerts_v2.
/// A collection of alerts in Microsoft 365 Defender.
/// </summary>
[JsonPropertyName("alerts_v2")]
public ISecurityAlerts_v2CollectionPage Alerts_v2 { get; set; }
Expand All @@ -41,6 +42,7 @@ public partial class Security : Entity

/// <summary>
/// Gets or sets incidents.
/// A collection of incidents in Microsoft 365 Defender, each of which is a set of correlated alerts and associated metadata that reflects the story of an attack.
/// </summary>
[JsonPropertyName("incidents")]
public ISecurityIncidentsCollectionPage Incidents { get; set; }
Expand Down
4 changes: 2 additions & 2 deletions src/Microsoft.Graph/Generated/model/Subscription.cs
Original file line number Diff line number Diff line change
Expand Up @@ -85,14 +85,14 @@ public partial class Subscription : Entity

/// <summary>
/// Gets or sets lifecycle notification url.
/// Optional. The URL of the endpoint that receives lifecycle notifications, including subscriptionRemoved and missed notifications. This URL must make use of the HTTPS protocol.
/// Optional. The URL of the endpoint that receives lifecycle notifications, including subscriptionRemoved, reauthorizationRequired, and missed notifications. This URL must make use of the HTTPS protocol.
/// </summary>
[JsonPropertyName("lifecycleNotificationUrl")]
public string LifecycleNotificationUrl { get; set; }

/// <summary>
/// Gets or sets notification query options.
/// Optional. OData query options for specifying value for the targeting resource. Clients receive notifications when resource reaches the state matching the query options provided here. With this new property in the subscription creation payload along with all existing properties, Webhooks will deliver notifications whenever a resource reaches the desired state mentioned in the notificationQueryOptions property. For example, when the print job is completed or when a print job resource isFetchable property value becomes true etc.
/// Optional. OData query options for specifying value for the targeting resource. Clients receive notifications when resource reaches the state matching the query options provided here. With this new property in the subscription creation payload along with all existing properties, Webhooks will deliver notifications whenever a resource reaches the desired state mentioned in the notificationQueryOptions property. For example, when the print job is completed or when a print job resource isFetchable property value becomes true etc. Supported only for Universal Print Service. For more information, see Subscribe to change notifications from cloud printing APIs using Microsoft Graph.
/// </summary>
[JsonPropertyName("notificationQueryOptions")]
public string NotificationQueryOptions { get; set; }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ public TemporaryAccessPassAuthenticationMethodConfiguration()

/// <summary>
/// Gets or sets include targets.
/// A collection of users or groups who are enabled to use the authentication method.
/// A collection of groups that are enabled to use the authentication method.
/// </summary>
[JsonPropertyName("includeTargets")]
public ITemporaryAccessPassAuthenticationMethodConfigurationIncludeTargetsCollectionPage IncludeTargets { get; set; }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ public X509CertificateAuthenticationMethodConfiguration()

/// <summary>
/// Gets or sets include targets.
/// A collection of users or groups who are enabled to use the authentication method.
/// A collection of groups that are enabled to use the authentication method.
/// </summary>
[JsonPropertyName("includeTargets")]
public IX509CertificateAuthenticationMethodConfigurationIncludeTargetsCollectionPage IncludeTargets { get; set; }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,27 @@ public IChatMessageRepliesCollectionRequestBuilder Replies
}
}


/// <summary>
/// Gets the request builder for ChatMessageSoftDelete.
/// </summary>
/// <returns>The <see cref="IChatMessageSoftDeleteRequestBuilder"/>.</returns>
public IChatMessageSoftDeleteRequestBuilder SoftDelete()
{
return new ChatMessageSoftDeleteRequestBuilder(
this.AppendSegmentToRequestUrl("microsoft.graph.softDelete"),
this.Client);
}

/// <summary>
/// Gets the request builder for ChatMessageUndoSoftDelete.
/// </summary>
/// <returns>The <see cref="IChatMessageUndoSoftDeleteRequestBuilder"/>.</returns>
public IChatMessageUndoSoftDeleteRequestBuilder UndoSoftDelete()
{
return new ChatMessageUndoSoftDeleteRequestBuilder(
this.AppendSegmentToRequestUrl("microsoft.graph.undoSoftDelete"),
this.Client);
}

}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,81 @@
// ------------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
// ------------------------------------------------------------------------------

// **NOTE** This file was generated by a tool and any changes will be overwritten.
// <auto-generated/>

// Template Source: MethodRequest.cs.tt

namespace Microsoft.Graph
{
using System;
using System.Collections.Generic;
using System.IO;
using System.Net.Http;
using System.Threading;

/// <summary>
/// The type ChatMessageSoftDeleteRequest.
/// </summary>
public partial class ChatMessageSoftDeleteRequest : BaseRequest, IChatMessageSoftDeleteRequest
{
/// <summary>
/// Constructs a new ChatMessageSoftDeleteRequest.
/// </summary>
public ChatMessageSoftDeleteRequest(
string requestUrl,
IBaseClient client,
IEnumerable<Option> options)
: base(requestUrl, client, options)
{
}

/// <summary>
/// Issues the POST request.
/// </summary>
/// <param name="cancellationToken">The <see cref="CancellationToken"/> for the request.</param>
/// <returns>The task to await for async call.</returns>
public System.Threading.Tasks.Task PostAsync(
CancellationToken cancellationToken = default)
{
this.Method = HttpMethods.POST;
return this.SendAsync(null, cancellationToken);
}

/// <summary>
/// Issues the POST request and returns a <see cref="GraphResponse"/> object.
/// </summary>
/// <param name="cancellationToken">The <see cref="CancellationToken"/> for the request.</param>
/// <returns>The <see cref="GraphResponse"/> object of the request</returns>
public System.Threading.Tasks.Task<GraphResponse> PostResponseAsync(CancellationToken cancellationToken = default)
{
this.Method = HttpMethods.POST;
return this.SendAsyncWithGraphResponse(null, cancellationToken);
}



/// <summary>
/// Adds the specified expand value to the request.
/// </summary>
/// <param name="value">The expand value.</param>
/// <returns>The request object to send.</returns>
public IChatMessageSoftDeleteRequest Expand(string value)
{
this.QueryOptions.Add(new QueryOption("$expand", value));
return this;
}

/// <summary>
/// Adds the specified select value to the request.
/// </summary>
/// <param name="value">The select value.</param>
/// <returns>The request object to send.</returns>
public IChatMessageSoftDeleteRequest Select(string value)
{
this.QueryOptions.Add(new QueryOption("$select", value));
return this;
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
// ------------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
// ------------------------------------------------------------------------------

// **NOTE** This file was generated by a tool and any changes will be overwritten.
// <auto-generated/>

// Template Source: MethodRequestBuilder.cs.tt

namespace Microsoft.Graph
{
using System;
using System.Collections.Generic;
using System.IO;

/// <summary>
/// The type ChatMessageSoftDeleteRequestBuilder.
/// </summary>
public partial class ChatMessageSoftDeleteRequestBuilder : BaseActionMethodRequestBuilder<IChatMessageSoftDeleteRequest>, IChatMessageSoftDeleteRequestBuilder
{
/// <summary>
/// Constructs a new <see cref="ChatMessageSoftDeleteRequestBuilder"/>.
/// </summary>
/// <param name="requestUrl">The URL for the request.</param>
/// <param name="client">The <see cref="IBaseClient"/> for handling requests.</param>
public ChatMessageSoftDeleteRequestBuilder(
string requestUrl,
IBaseClient client)
: base(requestUrl, client)
{
}

/// <summary>
/// A method used by the base class to construct a request class instance.
/// </summary>
/// <param name="functionUrl">The request URL to </param>
/// <param name="options">The query and header options for the request.</param>
/// <returns>An instance of a specific request class.</returns>
protected override IChatMessageSoftDeleteRequest CreateRequest(string functionUrl, IEnumerable<Option> options)
{
var request = new ChatMessageSoftDeleteRequest(functionUrl, this.Client, options);

return request;
}
}
}
Loading

0 comments on commit 10a426b

Please sign in to comment.