diff --git a/src/Microsoft.Graph/Generated/model/BookingAppointment.cs b/src/Microsoft.Graph/Generated/model/BookingAppointment.cs index c4d76fae835..61faffca417 100644 --- a/src/Microsoft.Graph/Generated/model/BookingAppointment.cs +++ b/src/Microsoft.Graph/Generated/model/BookingAppointment.cs @@ -30,13 +30,14 @@ public partial class BookingAppointment : Entity /// /// Gets or sets anonymous join web url. + /// The URL of the meeting to join anonymously. /// [JsonPropertyName("anonymousJoinWebUrl")] public string AnonymousJoinWebUrl { get; set; } /// /// 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. /// [JsonPropertyName("customers")] public IEnumerable Customers { get; set; } diff --git a/src/Microsoft.Graph/Generated/model/BookingBusiness.cs b/src/Microsoft.Graph/Generated/model/BookingBusiness.cs index 140b4cf0750..254913cefad 100644 --- a/src/Microsoft.Graph/Generated/model/BookingBusiness.cs +++ b/src/Microsoft.Graph/Generated/model/BookingBusiness.cs @@ -71,6 +71,7 @@ public partial class BookingBusiness : Entity /// /// Gets or sets language tag. + /// The language of the self-service booking page. /// [JsonPropertyName("languageTag")] public string LanguageTag { get; set; } diff --git a/src/Microsoft.Graph/Generated/model/BookingService.cs b/src/Microsoft.Graph/Generated/model/BookingService.cs index a97978eb211..d0beb8cf661 100644 --- a/src/Microsoft.Graph/Generated/model/BookingService.cs +++ b/src/Microsoft.Graph/Generated/model/BookingService.cs @@ -86,6 +86,7 @@ public partial class BookingService : Entity /// /// 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. /// [JsonPropertyName("isAnonymousJoinEnabled")] public bool? IsAnonymousJoinEnabled { get; set; } @@ -106,6 +107,7 @@ public partial class BookingService : Entity /// /// Gets or sets language tag. + /// The language of the self-service booking page. /// [JsonPropertyName("languageTag")] public string LanguageTag { get; set; } diff --git a/src/Microsoft.Graph/Generated/model/BookingStaffMember.cs b/src/Microsoft.Graph/Generated/model/BookingStaffMember.cs index c2521379dd5..37ee67621fc 100644 --- a/src/Microsoft.Graph/Generated/model/BookingStaffMember.cs +++ b/src/Microsoft.Graph/Generated/model/BookingStaffMember.cs @@ -52,13 +52,14 @@ public BookingStaffMember() /// /// 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. /// [JsonPropertyName("isEmailNotificationEnabled")] public bool? IsEmailNotificationEnabled { get; set; } /// /// 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. /// [JsonPropertyName("role")] public BookingStaffRole? Role { get; set; } diff --git a/src/Microsoft.Graph/Generated/model/EducationTeamsAppResource.cs b/src/Microsoft.Graph/Generated/model/EducationTeamsAppResource.cs index c13347177a6..c612395209b 100644 --- a/src/Microsoft.Graph/Generated/model/EducationTeamsAppResource.cs +++ b/src/Microsoft.Graph/Generated/model/EducationTeamsAppResource.cs @@ -29,24 +29,28 @@ public EducationTeamsAppResource() /// /// Gets or sets appIconWebUrl. + /// URL that points to the icon of the app. /// [JsonPropertyName("appIconWebUrl")] public string AppIconWebUrl { get; set; } /// /// Gets or sets appId. + /// Teams app ID of the application. /// [JsonPropertyName("appId")] public string AppId { get; set; } /// /// Gets or sets teamsEmbeddedContentUrl. + /// URL for the app resource that will be opened by Teams. /// [JsonPropertyName("teamsEmbeddedContentUrl")] public string TeamsEmbeddedContentUrl { get; set; } /// /// Gets or sets webUrl. + /// URL for the app resource that can be opened in the browser. /// [JsonPropertyName("webUrl")] public string WebUrl { get; set; } diff --git a/src/Microsoft.Graph/Generated/model/EmailAuthenticationMethodConfiguration.cs b/src/Microsoft.Graph/Generated/model/EmailAuthenticationMethodConfiguration.cs index 5c991f7f488..65cb2af0da9 100644 --- a/src/Microsoft.Graph/Generated/model/EmailAuthenticationMethodConfiguration.cs +++ b/src/Microsoft.Graph/Generated/model/EmailAuthenticationMethodConfiguration.cs @@ -38,7 +38,7 @@ public EmailAuthenticationMethodConfiguration() /// /// 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. /// [JsonPropertyName("includeTargets")] public IEmailAuthenticationMethodConfigurationIncludeTargetsCollectionPage IncludeTargets { get; set; } diff --git a/src/Microsoft.Graph/Generated/model/Fido2AuthenticationMethodConfiguration.cs b/src/Microsoft.Graph/Generated/model/Fido2AuthenticationMethodConfiguration.cs index c60dec85158..61f6b413e63 100644 --- a/src/Microsoft.Graph/Generated/model/Fido2AuthenticationMethodConfiguration.cs +++ b/src/Microsoft.Graph/Generated/model/Fido2AuthenticationMethodConfiguration.cs @@ -51,7 +51,7 @@ public Fido2AuthenticationMethodConfiguration() /// /// 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. /// [JsonPropertyName("includeTargets")] public IFido2AuthenticationMethodConfigurationIncludeTargetsCollectionPage IncludeTargets { get; set; } diff --git a/src/Microsoft.Graph/Generated/model/Group.cs b/src/Microsoft.Graph/Generated/model/Group.cs index 41eab05c8fa..3ad979a6e69 100644 --- a/src/Microsoft.Graph/Generated/model/Group.cs +++ b/src/Microsoft.Graph/Generated/model/Group.cs @@ -93,7 +93,7 @@ public Group() /// /// 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). /// [JsonPropertyName("isAssignableToRole")] public bool? IsAssignableToRole { get; set; } diff --git a/src/Microsoft.Graph/Generated/model/MicrosoftAuthenticatorAuthenticationMethodConfiguration.cs b/src/Microsoft.Graph/Generated/model/MicrosoftAuthenticatorAuthenticationMethodConfiguration.cs index 54ba74f6436..e662ac21496 100644 --- a/src/Microsoft.Graph/Generated/model/MicrosoftAuthenticatorAuthenticationMethodConfiguration.cs +++ b/src/Microsoft.Graph/Generated/model/MicrosoftAuthenticatorAuthenticationMethodConfiguration.cs @@ -37,7 +37,7 @@ public MicrosoftAuthenticatorAuthenticationMethodConfiguration() /// /// 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. /// [JsonPropertyName("includeTargets")] public IMicrosoftAuthenticatorAuthenticationMethodConfigurationIncludeTargetsCollectionPage IncludeTargets { get; set; } diff --git a/src/Microsoft.Graph/Generated/model/PlannerPlan.cs b/src/Microsoft.Graph/Generated/model/PlannerPlan.cs index ae8407db752..31dc07f23ae 100644 --- a/src/Microsoft.Graph/Generated/model/PlannerPlan.cs +++ b/src/Microsoft.Graph/Generated/model/PlannerPlan.cs @@ -22,7 +22,7 @@ public partial class PlannerPlan : Entity /// /// 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. /// [JsonPropertyName("container")] public PlannerPlanContainer Container { get; set; } diff --git a/src/Microsoft.Graph/Generated/model/PlannerPlanContainer.cs b/src/Microsoft.Graph/Generated/model/PlannerPlanContainer.cs index 1561a9ccff7..e4c9fdb6b5d 100644 --- a/src/Microsoft.Graph/Generated/model/PlannerPlanContainer.cs +++ b/src/Microsoft.Graph/Generated/model/PlannerPlanContainer.cs @@ -23,21 +23,21 @@ public partial class PlannerPlanContainer /// /// Gets or sets containerId. - /// The identifier of the resource that contains the plan. + /// The identifier of the resource that contains the plan. Optional. /// [JsonPropertyName("containerId")] public string ContainerId { get; set; } /// /// 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. /// [JsonPropertyName("type")] public PlannerContainerType? Type { get; set; } /// /// Gets or sets url. - /// The full canonical URL of the container. + /// The full canonical URL of the container. Optional. /// [JsonPropertyName("url")] public string Url { get; set; } diff --git a/src/Microsoft.Graph/Generated/model/Security.cs b/src/Microsoft.Graph/Generated/model/Security.cs index 0c85ea8429d..8dd376df733 100644 --- a/src/Microsoft.Graph/Generated/model/Security.cs +++ b/src/Microsoft.Graph/Generated/model/Security.cs @@ -28,6 +28,7 @@ public partial class Security : Entity /// /// Gets or sets alerts_v2. + /// A collection of alerts in Microsoft 365 Defender. /// [JsonPropertyName("alerts_v2")] public ISecurityAlerts_v2CollectionPage Alerts_v2 { get; set; } @@ -41,6 +42,7 @@ public partial class Security : Entity /// /// 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. /// [JsonPropertyName("incidents")] public ISecurityIncidentsCollectionPage Incidents { get; set; } diff --git a/src/Microsoft.Graph/Generated/model/Subscription.cs b/src/Microsoft.Graph/Generated/model/Subscription.cs index 1065c8492c8..4b9c945e042 100644 --- a/src/Microsoft.Graph/Generated/model/Subscription.cs +++ b/src/Microsoft.Graph/Generated/model/Subscription.cs @@ -85,14 +85,14 @@ public partial class Subscription : Entity /// /// 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. /// [JsonPropertyName("lifecycleNotificationUrl")] public string LifecycleNotificationUrl { get; set; } /// /// 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. /// [JsonPropertyName("notificationQueryOptions")] public string NotificationQueryOptions { get; set; } diff --git a/src/Microsoft.Graph/Generated/model/TemporaryAccessPassAuthenticationMethodConfiguration.cs b/src/Microsoft.Graph/Generated/model/TemporaryAccessPassAuthenticationMethodConfiguration.cs index b2b6de37ccb..97107649d7a 100644 --- a/src/Microsoft.Graph/Generated/model/TemporaryAccessPassAuthenticationMethodConfiguration.cs +++ b/src/Microsoft.Graph/Generated/model/TemporaryAccessPassAuthenticationMethodConfiguration.cs @@ -65,7 +65,7 @@ public TemporaryAccessPassAuthenticationMethodConfiguration() /// /// 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. /// [JsonPropertyName("includeTargets")] public ITemporaryAccessPassAuthenticationMethodConfigurationIncludeTargetsCollectionPage IncludeTargets { get; set; } diff --git a/src/Microsoft.Graph/Generated/model/X509CertificateAuthenticationMethodConfiguration.cs b/src/Microsoft.Graph/Generated/model/X509CertificateAuthenticationMethodConfiguration.cs index ad39d325c2f..9e780051a7e 100644 --- a/src/Microsoft.Graph/Generated/model/X509CertificateAuthenticationMethodConfiguration.cs +++ b/src/Microsoft.Graph/Generated/model/X509CertificateAuthenticationMethodConfiguration.cs @@ -44,7 +44,7 @@ public X509CertificateAuthenticationMethodConfiguration() /// /// 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. /// [JsonPropertyName("includeTargets")] public IX509CertificateAuthenticationMethodConfigurationIncludeTargetsCollectionPage IncludeTargets { get; set; } diff --git a/src/Microsoft.Graph/Generated/requests/ChatMessageRequestBuilder.cs b/src/Microsoft.Graph/Generated/requests/ChatMessageRequestBuilder.cs index db21c2f3d1c..b6103aef2a1 100644 --- a/src/Microsoft.Graph/Generated/requests/ChatMessageRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/requests/ChatMessageRequestBuilder.cs @@ -74,7 +74,27 @@ public IChatMessageRepliesCollectionRequestBuilder Replies } } - + /// + /// Gets the request builder for ChatMessageSoftDelete. + /// + /// The . + public IChatMessageSoftDeleteRequestBuilder SoftDelete() + { + return new ChatMessageSoftDeleteRequestBuilder( + this.AppendSegmentToRequestUrl("microsoft.graph.softDelete"), + this.Client); + } + + /// + /// Gets the request builder for ChatMessageUndoSoftDelete. + /// + /// The . + public IChatMessageUndoSoftDeleteRequestBuilder UndoSoftDelete() + { + return new ChatMessageUndoSoftDeleteRequestBuilder( + this.AppendSegmentToRequestUrl("microsoft.graph.undoSoftDelete"), + this.Client); + } } } diff --git a/src/Microsoft.Graph/Generated/requests/ChatMessageSoftDeleteRequest.cs b/src/Microsoft.Graph/Generated/requests/ChatMessageSoftDeleteRequest.cs new file mode 100644 index 00000000000..5136b2757d5 --- /dev/null +++ b/src/Microsoft.Graph/Generated/requests/ChatMessageSoftDeleteRequest.cs @@ -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. +// + +// Template Source: MethodRequest.cs.tt + +namespace Microsoft.Graph +{ + using System; + using System.Collections.Generic; + using System.IO; + using System.Net.Http; + using System.Threading; + + /// + /// The type ChatMessageSoftDeleteRequest. + /// + public partial class ChatMessageSoftDeleteRequest : BaseRequest, IChatMessageSoftDeleteRequest + { + /// + /// Constructs a new ChatMessageSoftDeleteRequest. + /// + public ChatMessageSoftDeleteRequest( + string requestUrl, + IBaseClient client, + IEnumerable