diff --git a/src/Microsoft.Graph/Generated/ediscovery/model/Ediscoveryroot.cs b/src/Microsoft.Graph/Generated/ediscovery/model/Ediscoveryroot.cs index 99adda7c726..7f259067ab2 100644 --- a/src/Microsoft.Graph/Generated/ediscovery/model/Ediscoveryroot.cs +++ b/src/Microsoft.Graph/Generated/ediscovery/model/Ediscoveryroot.cs @@ -17,6 +17,7 @@ namespace Microsoft.Graph.Ediscovery /// /// The type Ediscoveryroot. /// + [Obsolete("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security.")] public partial class Ediscoveryroot : Microsoft.Graph.Entity { diff --git a/src/Microsoft.Graph/Generated/model/AuthenticationAppDeviceDetails.cs b/src/Microsoft.Graph/Generated/model/AuthenticationAppDeviceDetails.cs index 35dd63f605d..72116ec3042 100644 --- a/src/Microsoft.Graph/Generated/model/AuthenticationAppDeviceDetails.cs +++ b/src/Microsoft.Graph/Generated/model/AuthenticationAppDeviceDetails.cs @@ -23,24 +23,28 @@ public partial class AuthenticationAppDeviceDetails /// /// Gets or sets appVersion. + /// The version of the client authentication app used during the authentication step. /// [JsonPropertyName("appVersion")] public string AppVersion { get; set; } /// /// Gets or sets clientApp. + /// The name of the client authentication app used during the authentication step. /// [JsonPropertyName("clientApp")] public string ClientApp { get; set; } /// /// Gets or sets deviceId. + /// ID of the device used during the authentication step. /// [JsonPropertyName("deviceId")] public string DeviceId { get; set; } /// /// Gets or sets operatingSystem. + /// The operating system running on the device used for the authentication step. /// [JsonPropertyName("operatingSystem")] public string OperatingSystem { get; set; } diff --git a/src/Microsoft.Graph/Generated/model/AuthenticationAppPolicyDetails.cs b/src/Microsoft.Graph/Generated/model/AuthenticationAppPolicyDetails.cs index b7329708f55..a79d56640f6 100644 --- a/src/Microsoft.Graph/Generated/model/AuthenticationAppPolicyDetails.cs +++ b/src/Microsoft.Graph/Generated/model/AuthenticationAppPolicyDetails.cs @@ -23,24 +23,28 @@ public partial class AuthenticationAppPolicyDetails /// /// Gets or sets adminConfiguration. + /// The admin configuration of the policy on the user's authentication app. For a policy that does not impact the success/failure of the authentication, the evaluation defaults to notApplicable. The possible values are: notApplicable, enabled, disabled, unknownFutureValue. /// [JsonPropertyName("adminConfiguration")] public AuthenticationAppAdminConfiguration? AdminConfiguration { get; set; } /// /// Gets or sets authenticationEvaluation. + /// Evaluates the success/failure of the authentication based on the admin configuration of the policy on the user's client authentication app. The possible values are: success, failure, unknownFutureValue. /// [JsonPropertyName("authenticationEvaluation")] public AuthenticationAppEvaluation? AuthenticationEvaluation { get; set; } /// /// Gets or sets policyName. + /// The name of the policy enforced on the user's authentication app. /// [JsonPropertyName("policyName")] public string PolicyName { get; set; } /// /// Gets or sets status. + /// Refers to whether the policy executed as expected on the user's client authentication app. The possible values are: unknown, appLockOutOfDate, appLockEnabled, appLockDisabled, appContextOutOfDate, appContextShown, appContextNotShown, locationContextOutOfDate, locationContextShown, locationContextNotShown, numberMatchOutOfDate, numberMatchCorrectNumberEntered, numberMatchIncorrectNumberEntered, numberMatchDeny, tamperResistantHardwareOutOfDate, tamperResistantHardwareUsed, tamperResistantHardwareNotUsed, unknownFutureValue. /// [JsonPropertyName("status")] public AuthenticationAppPolicyStatus? Status { get; set; } diff --git a/src/Microsoft.Graph/Generated/model/CanvasLayout.cs b/src/Microsoft.Graph/Generated/model/CanvasLayout.cs new file mode 100644 index 00000000000..087ab9d8b97 --- /dev/null +++ b/src/Microsoft.Graph/Generated/model/CanvasLayout.cs @@ -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. +// + +// Template Source: EntityType.cs.tt + +namespace Microsoft.Graph +{ + using System; + using System.Collections.Generic; + using System.IO; + using System.Text.Json.Serialization; + + /// + /// The type Canvas Layout. + /// + public partial class CanvasLayout : Entity + { + + /// + /// Gets or sets horizontal sections. + /// Collection of horizontal sections on the SharePoint page. + /// + [JsonPropertyName("horizontalSections")] + public ICanvasLayoutHorizontalSectionsCollectionPage HorizontalSections { get; set; } + + /// + /// Gets or sets horizontalSectionsNextLink. + /// + [JsonPropertyName("horizontalSections@odata.nextLink")] + [JsonConverter(typeof(NextLinkConverter))] + public string HorizontalSectionsNextLink { get; set; } + + /// + /// Gets or sets vertical section. + /// Vertical section on the SharePoint page. + /// + [JsonPropertyName("verticalSection")] + public VerticalSection VerticalSection { get; set; } + + } +} + diff --git a/src/Microsoft.Graph/Generated/model/CloudPC.cs b/src/Microsoft.Graph/Generated/model/CloudPC.cs index 8e7c86212cf..a8e815a068b 100644 --- a/src/Microsoft.Graph/Generated/model/CloudPC.cs +++ b/src/Microsoft.Graph/Generated/model/CloudPC.cs @@ -113,6 +113,7 @@ public partial class CloudPC : Entity /// /// Gets or sets partner agent install results. + /// The results of every partner agent's installation status on Cloud PC. /// [JsonPropertyName("partnerAgentInstallResults")] public IEnumerable PartnerAgentInstallResults { get; set; } diff --git a/src/Microsoft.Graph/Generated/model/CloudPcOnPremisesConnection.cs b/src/Microsoft.Graph/Generated/model/CloudPcOnPremisesConnection.cs index 027e3904260..d78a8b2d57c 100644 --- a/src/Microsoft.Graph/Generated/model/CloudPcOnPremisesConnection.cs +++ b/src/Microsoft.Graph/Generated/model/CloudPcOnPremisesConnection.cs @@ -133,6 +133,12 @@ public partial class CloudPcOnPremisesConnection : Entity [JsonPropertyName("virtualNetworkId")] public string VirtualNetworkId { get; set; } + /// + /// Gets or sets virtual network location. + /// + [JsonPropertyName("virtualNetworkLocation")] + public string VirtualNetworkLocation { get; set; } + } } diff --git a/src/Microsoft.Graph/Generated/model/CloudPcOrganizationSettings.cs b/src/Microsoft.Graph/Generated/model/CloudPcOrganizationSettings.cs index 4159b6224fb..9164e797538 100644 --- a/src/Microsoft.Graph/Generated/model/CloudPcOrganizationSettings.cs +++ b/src/Microsoft.Graph/Generated/model/CloudPcOrganizationSettings.cs @@ -28,6 +28,12 @@ public partial class CloudPcOrganizationSettings : Entity [JsonPropertyName("enableMEMAutoEnroll")] public bool? EnableMEMAutoEnroll { get; set; } + /// + /// Gets or sets enable single sign on. + /// + [JsonPropertyName("enableSingleSignOn")] + public bool? EnableSingleSignOn { get; set; } + /// /// Gets or sets os version. /// The version of the operating system (OS) to provision on Cloud PCs. The possible values are: windows10, windows11, unknownFutureValue. diff --git a/src/Microsoft.Graph/Generated/model/CloudPcPartnerAgentInstallResult.cs b/src/Microsoft.Graph/Generated/model/CloudPcPartnerAgentInstallResult.cs index 8e25a11c452..1c3bd224120 100644 --- a/src/Microsoft.Graph/Generated/model/CloudPcPartnerAgentInstallResult.cs +++ b/src/Microsoft.Graph/Generated/model/CloudPcPartnerAgentInstallResult.cs @@ -23,24 +23,28 @@ public partial class CloudPcPartnerAgentInstallResult /// /// Gets or sets installStatus. + /// The status of a partner agent installation. Possible values are: installed, installFailed, installing, uninstalling, uninstallFailed and licensed. Read-Only. /// [JsonPropertyName("installStatus")] public CloudPcPartnerAgentInstallStatus? InstallStatus { get; set; } /// /// Gets or sets isThirdPartyPartner. + /// Indicates if the partner agent is a third party. When 'TRUE', the agent is a third-party (non-Microsoft) agent. When 'FALSE', the agent is a Microsoft agent or is not known. The default value is 'FALSE'. /// [JsonPropertyName("isThirdPartyPartner")] public bool? IsThirdPartyPartner { get; set; } /// /// Gets or sets partnerAgentName. + /// Indicates the name of a partner agent and includes first-party and third-party. Currently, Citrix is the only third-party value. Read-Only. /// [JsonPropertyName("partnerAgentName")] public CloudPcPartnerAgentName? PartnerAgentName { get; set; } /// /// Gets or sets retriable. + /// Indicates if the partner agent is a third party. When 'TRUE', the agent is a third-party (non-Microsoft) agent. When 'FALSE', the agent is a Microsoft agent or is not known. The default value is 'FALSE'. /// [JsonPropertyName("retriable")] public bool? Retriable { get; set; } diff --git a/src/Microsoft.Graph/Generated/model/CloudPcProvisioningPolicy.cs b/src/Microsoft.Graph/Generated/model/CloudPcProvisioningPolicy.cs index e891cbbc8c5..6f6a5c41731 100644 --- a/src/Microsoft.Graph/Generated/model/CloudPcProvisioningPolicy.cs +++ b/src/Microsoft.Graph/Generated/model/CloudPcProvisioningPolicy.cs @@ -56,6 +56,12 @@ public partial class CloudPcProvisioningPolicy : Entity [JsonPropertyName("domainJoinConfiguration")] public CloudPcDomainJoinConfiguration DomainJoinConfiguration { get; set; } + /// + /// Gets or sets enable single sign on. + /// + [JsonPropertyName("enableSingleSignOn")] + public bool? EnableSingleSignOn { get; set; } + /// /// Gets or sets grace period in hours. /// The number of hours to wait before reprovisioning/deprovisioning happens. Read-only. diff --git a/src/Microsoft.Graph/Generated/model/CloudPcReportName.cs b/src/Microsoft.Graph/Generated/model/CloudPcReportName.cs index 8e182fca3e5..5ec02738eb4 100644 --- a/src/Microsoft.Graph/Generated/model/CloudPcReportName.cs +++ b/src/Microsoft.Graph/Generated/model/CloudPcReportName.cs @@ -34,6 +34,16 @@ public enum CloudPcReportName /// TotalAggregatedRemoteConnectionReports = 2, + /// + /// Shared Use License Usage Report + /// + SharedUseLicenseUsageReport = 3, + + /// + /// Shared Use License Usage Real Time Report + /// + SharedUseLicenseUsageRealTimeReport = 4, + /// /// Unknown Future Value /// diff --git a/src/Microsoft.Graph/Generated/model/CloudPcReportsGetSharedUseLicenseUsageReportRequestBody.cs b/src/Microsoft.Graph/Generated/model/CloudPcReportsGetSharedUseLicenseUsageReportRequestBody.cs new file mode 100644 index 00000000000..0b587d8f0f2 --- /dev/null +++ b/src/Microsoft.Graph/Generated/model/CloudPcReportsGetSharedUseLicenseUsageReportRequestBody.cs @@ -0,0 +1,72 @@ +// ------------------------------------------------------------------------------ +// 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: MethodRequestBody.cs.tt + +namespace Microsoft.Graph +{ + using System; + using System.Collections.Generic; + using System.IO; + using System.Text.Json.Serialization; + + /// + /// The type CloudPcReportsGetSharedUseLicenseUsageReportRequestBody. + /// + public partial class CloudPcReportsGetSharedUseLicenseUsageReportRequestBody + { + + /// + /// Gets or sets ReportName. + /// + [JsonPropertyName("reportName")] + public CloudPcReportName? ReportName { get; set; } + + /// + /// Gets or sets Filter. + /// + [JsonPropertyName("filter")] + public string Filter { get; set; } + + /// + /// Gets or sets Select. + /// + [JsonPropertyName("select")] + public IEnumerable Select { get; set; } + + /// + /// Gets or sets Search. + /// + [JsonPropertyName("search")] + public string Search { get; set; } + + /// + /// Gets or sets GroupBy. + /// + [JsonPropertyName("groupBy")] + public IEnumerable GroupBy { get; set; } + + /// + /// Gets or sets OrderBy. + /// + [JsonPropertyName("orderBy")] + public IEnumerable OrderBy { get; set; } + + /// + /// Gets or sets Skip. + /// + [JsonPropertyName("skip")] + public Int32? Skip { get; set; } + + /// + /// Gets or sets Top. + /// + [JsonPropertyName("top")] + public Int32? Top { get; set; } + + } +} diff --git a/src/Microsoft.Graph/Generated/model/Compliance.cs b/src/Microsoft.Graph/Generated/model/Compliance.cs index 267de30c510..a3801801c0b 100644 --- a/src/Microsoft.Graph/Generated/model/Compliance.cs +++ b/src/Microsoft.Graph/Generated/model/Compliance.cs @@ -24,6 +24,7 @@ public partial class Compliance /// /// Gets or sets ediscovery. /// + [Obsolete("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security.")] [JsonPropertyName("ediscovery")] public Microsoft.Graph.Ediscovery.Ediscoveryroot Ediscovery { get; set; } diff --git a/src/Microsoft.Graph/Generated/model/Directory.cs b/src/Microsoft.Graph/Generated/model/Directory.cs index 728776521ca..0cbc406d474 100644 --- a/src/Microsoft.Graph/Generated/model/Directory.cs +++ b/src/Microsoft.Graph/Generated/model/Directory.cs @@ -130,6 +130,7 @@ public partial class Directory : Entity /// /// Gets or sets on premises synchronization. + /// A container for on-premises directory synchronization functionalities that are available for the organization. /// [JsonPropertyName("onPremisesSynchronization")] public IDirectoryOnPremisesSynchronizationCollectionPage OnPremisesSynchronization { get; set; } diff --git a/src/Microsoft.Graph/Generated/model/ExternalLink.cs b/src/Microsoft.Graph/Generated/model/ExternalLink.cs index 4a6693814f3..1c37433c9d4 100644 --- a/src/Microsoft.Graph/Generated/model/ExternalLink.cs +++ b/src/Microsoft.Graph/Generated/model/ExternalLink.cs @@ -23,7 +23,7 @@ public partial class ExternalLink /// /// Gets or sets href. - /// The url of the link. + /// The URL of the link. /// [JsonPropertyName("href")] public string Href { get; set; } diff --git a/src/Microsoft.Graph/Generated/model/HorizontalSection.cs b/src/Microsoft.Graph/Generated/model/HorizontalSection.cs new file mode 100644 index 00000000000..46c664da2d2 --- /dev/null +++ b/src/Microsoft.Graph/Generated/model/HorizontalSection.cs @@ -0,0 +1,54 @@ +// ------------------------------------------------------------------------------ +// 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: EntityType.cs.tt + +namespace Microsoft.Graph +{ + using System; + using System.Collections.Generic; + using System.IO; + using System.Text.Json.Serialization; + + /// + /// The type Horizontal Section. + /// + [JsonConverter(typeof(DerivedTypeConverter))] + public partial class HorizontalSection : Entity + { + + /// + /// Gets or sets emphasis. + /// Enumeration value that indicates the emphasis of the section background. The possible values are: none, netural, soft, strong, unknownFutureValue. + /// + [JsonPropertyName("emphasis")] + public SectionEmphasisType? Emphasis { get; set; } + + /// + /// Gets or sets layout. + /// Layout type of the section. The possible values are: none, oneColumn, twoColumns, threeColumns, oneThirdLeftColumn, oneThirdRightColumn, fullWidth, unknownFutureValue. + /// + [JsonPropertyName("layout")] + public HorizontalSectionLayoutType? Layout { get; set; } + + /// + /// Gets or sets columns. + /// The set of vertical columns in this section. + /// + [JsonPropertyName("columns")] + public IHorizontalSectionColumnsCollectionPage Columns { get; set; } + + /// + /// Gets or sets columnsNextLink. + /// + [JsonPropertyName("columns@odata.nextLink")] + [JsonConverter(typeof(NextLinkConverter))] + public string ColumnsNextLink { get; set; } + + } +} + diff --git a/src/Microsoft.Graph/Generated/model/HorizontalSectionColumn.cs b/src/Microsoft.Graph/Generated/model/HorizontalSectionColumn.cs new file mode 100644 index 00000000000..b74fd0385b3 --- /dev/null +++ b/src/Microsoft.Graph/Generated/model/HorizontalSectionColumn.cs @@ -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. +// + +// Template Source: EntityType.cs.tt + +namespace Microsoft.Graph +{ + using System; + using System.Collections.Generic; + using System.IO; + using System.Text.Json.Serialization; + + /// + /// The type Horizontal Section Column. + /// + public partial class HorizontalSectionColumn : Entity + { + + /// + /// Gets or sets width. + /// Width of the column. A horizontal section is divided into 12 grids. A column should have a value of 1-12 to represent its range spans. For example, there can be two columns both have a width of 6 in a section. + /// + [JsonPropertyName("width")] + public Int32? Width { get; set; } + + /// + /// Gets or sets webparts. + /// The collection of WebParts in this column. + /// + [JsonPropertyName("webparts")] + public IHorizontalSectionColumnWebpartsCollectionPage Webparts { get; set; } + + /// + /// Gets or sets webpartsNextLink. + /// + [JsonPropertyName("webparts@odata.nextLink")] + [JsonConverter(typeof(NextLinkConverter))] + public string WebpartsNextLink { get; set; } + + } +} + diff --git a/src/Microsoft.Graph/Generated/model/HorizontalSectionLayoutType.cs b/src/Microsoft.Graph/Generated/model/HorizontalSectionLayoutType.cs new file mode 100644 index 00000000000..d4d5eb1b131 --- /dev/null +++ b/src/Microsoft.Graph/Generated/model/HorizontalSectionLayoutType.cs @@ -0,0 +1,63 @@ +// ------------------------------------------------------------------------------ +// 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: EnumType.cs.tt + + +namespace Microsoft.Graph +{ + using System.Text.Json.Serialization; + + /// + /// The enum HorizontalSectionLayoutType. + /// + [JsonConverter(typeof(JsonStringEnumConverter))] + public enum HorizontalSectionLayoutType + { + + /// + /// None + /// + None = 0, + + /// + /// One Column + /// + OneColumn = 1, + + /// + /// Two Columns + /// + TwoColumns = 2, + + /// + /// Three Columns + /// + ThreeColumns = 3, + + /// + /// One Third Left Column + /// + OneThirdLeftColumn = 4, + + /// + /// One Third Right Column + /// + OneThirdRightColumn = 5, + + /// + /// Full Width + /// + FullWidth = 6, + + /// + /// Unknown Future Value + /// + UnknownFutureValue = 7, + + } +} diff --git a/src/Microsoft.Graph/Generated/model/LoginPageLayoutConfiguration.cs b/src/Microsoft.Graph/Generated/model/LoginPageLayoutConfiguration.cs index 30b7d5ac04c..58999099494 100644 --- a/src/Microsoft.Graph/Generated/model/LoginPageLayoutConfiguration.cs +++ b/src/Microsoft.Graph/Generated/model/LoginPageLayoutConfiguration.cs @@ -23,18 +23,21 @@ public partial class LoginPageLayoutConfiguration /// /// Gets or sets isFooterShown. + /// Option to show the footer on the sign-in page. /// [JsonPropertyName("isFooterShown")] public bool? IsFooterShown { get; set; } /// /// Gets or sets isHeaderShown. + /// Option to show the header on the sign-in page. /// [JsonPropertyName("isHeaderShown")] public bool? IsHeaderShown { get; set; } /// /// Gets or sets layoutTemplateType. + /// Represents the layout template to be displayed on the login page for a tenant. The possible values are default - Represents the default Microsoft layout with a centered lightbox. verticalSplit - Represents a layout with a backgound on the left side and a full-height lightbox to the right. unknownFutureValue - Evolvable enumeration sentinel value. Do not use. /// [JsonPropertyName("layoutTemplateType")] public LayoutTemplateType? LayoutTemplateType { get; set; } diff --git a/src/Microsoft.Graph/Generated/model/SitePageData.cs b/src/Microsoft.Graph/Generated/model/MetaDataKeyStringPair.cs similarity index 65% rename from src/Microsoft.Graph/Generated/model/SitePageData.cs rename to src/Microsoft.Graph/Generated/model/MetaDataKeyStringPair.cs index 145950d984a..d5565b0e191 100644 --- a/src/Microsoft.Graph/Generated/model/SitePageData.cs +++ b/src/Microsoft.Graph/Generated/model/MetaDataKeyStringPair.cs @@ -15,12 +15,26 @@ namespace Microsoft.Graph using System.Text.Json.Serialization; /// - /// The type SitePageData. + /// The type MetaDataKeyStringPair. /// - [JsonConverter(typeof(DerivedTypeConverter))] - public partial class SitePageData + [JsonConverter(typeof(DerivedTypeConverter))] + public partial class MetaDataKeyStringPair { + /// + /// Gets or sets key. + /// Key of the meta data. + /// + [JsonPropertyName("key")] + public string Key { get; set; } + + /// + /// Gets or sets value. + /// Value of the meta data. + /// + [JsonPropertyName("value")] + public string Value { get; set; } + /// /// Gets or sets additional data. /// diff --git a/src/Microsoft.Graph/Generated/model/MetaDataKeyValuePair.cs b/src/Microsoft.Graph/Generated/model/MetaDataKeyValuePair.cs new file mode 100644 index 00000000000..eb29232bbd4 --- /dev/null +++ b/src/Microsoft.Graph/Generated/model/MetaDataKeyValuePair.cs @@ -0,0 +1,51 @@ +// ------------------------------------------------------------------------------ +// 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: ComplexType.cs.tt + +namespace Microsoft.Graph +{ + using System; + using System.Collections.Generic; + using System.IO; + using System.Text.Json.Serialization; + + /// + /// The type MetaDataKeyValuePair. + /// + [JsonConverter(typeof(DerivedTypeConverter))] + public partial class MetaDataKeyValuePair + { + + /// + /// Gets or sets key. + /// Key of the metadata. + /// + [JsonPropertyName("key")] + public string Key { get; set; } + + /// + /// Gets or sets value. + /// Value of the metadata. Should be an object. + /// + [JsonPropertyName("value")] + public System.Text.Json.JsonDocument Value { get; set; } + + /// + /// Gets or sets additional data. + /// + [JsonExtensionData] + public IDictionary AdditionalData { get; set; } + + /// + /// Gets or sets @odata.type. + /// + [JsonPropertyName("@odata.type")] + public string ODataType { get; set; } + + } +} diff --git a/src/Microsoft.Graph/Generated/model/Office365GroupsActivityCounts.cs b/src/Microsoft.Graph/Generated/model/Office365GroupsActivityCounts.cs index d0f47695b24..d380155fc93 100644 --- a/src/Microsoft.Graph/Generated/model/Office365GroupsActivityCounts.cs +++ b/src/Microsoft.Graph/Generated/model/Office365GroupsActivityCounts.cs @@ -48,6 +48,18 @@ public partial class Office365GroupsActivityCounts : Entity [JsonPropertyName("reportRefreshDate")] public Date ReportRefreshDate { get; set; } + /// + /// Gets or sets teams channel messages. + /// + [JsonPropertyName("teamsChannelMessages")] + public Int64? TeamsChannelMessages { get; set; } + + /// + /// Gets or sets teams meetings organized. + /// + [JsonPropertyName("teamsMeetingsOrganized")] + public Int64? TeamsMeetingsOrganized { get; set; } + /// /// Gets or sets yammer messages liked. /// The number of messages liked in Yammer groups. diff --git a/src/Microsoft.Graph/Generated/model/Office365GroupsActivityDetail.cs b/src/Microsoft.Graph/Generated/model/Office365GroupsActivityDetail.cs index 8f950ada273..570381044f1 100644 --- a/src/Microsoft.Graph/Generated/model/Office365GroupsActivityDetail.cs +++ b/src/Microsoft.Graph/Generated/model/Office365GroupsActivityDetail.cs @@ -132,6 +132,18 @@ public partial class Office365GroupsActivityDetail : Entity [JsonPropertyName("sharePointTotalFileCount")] public Int64? SharePointTotalFileCount { get; set; } + /// + /// Gets or sets teams channel messages count. + /// + [JsonPropertyName("teamsChannelMessagesCount")] + public Int64? TeamsChannelMessagesCount { get; set; } + + /// + /// Gets or sets teams meetings organized count. + /// + [JsonPropertyName("teamsMeetingsOrganizedCount")] + public Int64? TeamsMeetingsOrganizedCount { get; set; } + /// /// Gets or sets yammer liked message count. /// The number of messages liked in Yammer groups. diff --git a/src/Microsoft.Graph/Generated/model/OnPremisesAccidentalDeletionPrevention.cs b/src/Microsoft.Graph/Generated/model/OnPremisesAccidentalDeletionPrevention.cs index 981b3bbf42f..4ed31fb7fda 100644 --- a/src/Microsoft.Graph/Generated/model/OnPremisesAccidentalDeletionPrevention.cs +++ b/src/Microsoft.Graph/Generated/model/OnPremisesAccidentalDeletionPrevention.cs @@ -23,12 +23,14 @@ public partial class OnPremisesAccidentalDeletionPrevention /// /// Gets or sets alertThreshold. + /// Threshold value which triggers accidental deletion prevention. The threshold is either an absolute number of objects or a percentage number of objects. /// [JsonPropertyName("alertThreshold")] public Int32? AlertThreshold { get; set; } /// /// Gets or sets synchronizationPreventionType. + /// The status of the accidental deletion prevention feature. The possible values are: disabled, enabledForCount, enabledForPercentage. /// [JsonPropertyName("synchronizationPreventionType")] public OnPremisesDirectorySynchronizationDeletionPreventionType? SynchronizationPreventionType { get; set; } diff --git a/src/Microsoft.Graph/Generated/model/OnPremisesDirectorySynchronization.cs b/src/Microsoft.Graph/Generated/model/OnPremisesDirectorySynchronization.cs index 6120bf6637e..9616811ce00 100644 --- a/src/Microsoft.Graph/Generated/model/OnPremisesDirectorySynchronization.cs +++ b/src/Microsoft.Graph/Generated/model/OnPremisesDirectorySynchronization.cs @@ -22,12 +22,14 @@ public partial class OnPremisesDirectorySynchronization : Entity /// /// Gets or sets configuration. + /// Consists of configurations that can be fine-tuned and impact the on-premises directory synchronization process for a tenant. /// [JsonPropertyName("configuration")] public OnPremisesDirectorySynchronizationConfiguration Configuration { get; set; } /// /// Gets or sets features. + /// Consists of directory synchronization features that can be enabled or disabled. /// [JsonPropertyName("features")] public OnPremisesDirectorySynchronizationFeature Features { get; set; } diff --git a/src/Microsoft.Graph/Generated/model/OnPremisesDirectorySynchronizationConfiguration.cs b/src/Microsoft.Graph/Generated/model/OnPremisesDirectorySynchronizationConfiguration.cs index acdc0c63ac7..18fbf9bdc28 100644 --- a/src/Microsoft.Graph/Generated/model/OnPremisesDirectorySynchronizationConfiguration.cs +++ b/src/Microsoft.Graph/Generated/model/OnPremisesDirectorySynchronizationConfiguration.cs @@ -23,18 +23,21 @@ public partial class OnPremisesDirectorySynchronizationConfiguration /// /// Gets or sets accidentalDeletionPrevention. + /// Contains the accidental deletion prevention configuration for a tenant. /// [JsonPropertyName("accidentalDeletionPrevention")] public OnPremisesAccidentalDeletionPrevention AccidentalDeletionPrevention { get; set; } /// /// Gets or sets customerRequestedSynchronizationInterval. + /// Interval of time that the customer requested the sync client waits between sync cycles. /// [JsonPropertyName("customerRequestedSynchronizationInterval")] public Duration CustomerRequestedSynchronizationInterval { get; set; } /// /// Gets or sets synchronizationInterval. + /// Interval of time the sync client should honor between sync cycles /// [JsonPropertyName("synchronizationInterval")] public Duration SynchronizationInterval { get; set; } diff --git a/src/Microsoft.Graph/Generated/model/OnPremisesDirectorySynchronizationFeature.cs b/src/Microsoft.Graph/Generated/model/OnPremisesDirectorySynchronizationFeature.cs index 9f7f5225713..740f43d4b67 100644 --- a/src/Microsoft.Graph/Generated/model/OnPremisesDirectorySynchronizationFeature.cs +++ b/src/Microsoft.Graph/Generated/model/OnPremisesDirectorySynchronizationFeature.cs @@ -23,114 +23,133 @@ public partial class OnPremisesDirectorySynchronizationFeature /// /// Gets or sets blockCloudObjectTakeoverThroughHardMatchEnabled. + /// Used to block cloud object takeover via source anchor hard match if enabled. /// [JsonPropertyName("blockCloudObjectTakeoverThroughHardMatchEnabled")] public bool? BlockCloudObjectTakeoverThroughHardMatchEnabled { get; set; } /// /// Gets or sets blockSoftMatchEnabled. + /// Use to block soft match for all objects if enabled for the tenant. Customers are encouraged to enable this feature and keep it enabled until soft matching is required again for their tenancy. This flag should be enabled again after any soft matching has been completed and is no longer needed. /// [JsonPropertyName("blockSoftMatchEnabled")] public bool? BlockSoftMatchEnabled { get; set; } /// /// Gets or sets bypassDirSyncOverridesEnabled. + /// When true, persists the values of Mobile and OtherMobile in on-premises AD during sync cycles instead of values of MobilePhone or AlternateMobilePhones in Azure AD. /// [JsonPropertyName("bypassDirSyncOverridesEnabled")] public bool? BypassDirSyncOverridesEnabled { get; set; } /// /// Gets or sets cloudPasswordPolicyForPasswordSyncedUsersEnabled. + /// Used to indicate that cloud password policy applies to users whose passwords are synchronized from on-premises. /// [JsonPropertyName("cloudPasswordPolicyForPasswordSyncedUsersEnabled")] public bool? CloudPasswordPolicyForPasswordSyncedUsersEnabled { get; set; } /// /// Gets or sets concurrentCredentialUpdateEnabled. + /// Used to enable concurrent user credentials update in OrgId. /// [JsonPropertyName("concurrentCredentialUpdateEnabled")] public bool? ConcurrentCredentialUpdateEnabled { get; set; } /// /// Gets or sets concurrentOrgIdProvisioningEnabled. + /// Used to enable concurrent user creation in OrgId. /// [JsonPropertyName("concurrentOrgIdProvisioningEnabled")] public bool? ConcurrentOrgIdProvisioningEnabled { get; set; } /// /// Gets or sets deviceWritebackEnabled. + /// Used to indicate that device write-back is enabled. /// [JsonPropertyName("deviceWritebackEnabled")] public bool? DeviceWritebackEnabled { get; set; } /// /// Gets or sets directoryExtensionsEnabled. + /// Used to indicate that directory extensions are being synced from on-premises AD to Azure AD. /// [JsonPropertyName("directoryExtensionsEnabled")] public bool? DirectoryExtensionsEnabled { get; set; } /// /// Gets or sets fopeConflictResolutionEnabled. + /// Used to indicate that for a Microsoft Forefront Online Protection for Exchange (FOPE) migrated tenant, the conflicting proxy address should be migrated over. /// [JsonPropertyName("fopeConflictResolutionEnabled")] public bool? FopeConflictResolutionEnabled { get; set; } /// /// Gets or sets groupWriteBackEnabled. + /// Used to enable object-level group writeback feature for additional group types. /// [JsonPropertyName("groupWriteBackEnabled")] public bool? GroupWriteBackEnabled { get; set; } /// /// Gets or sets passwordSyncEnabled. + /// Used to indicate on-premise password synchronization is enabled. /// [JsonPropertyName("passwordSyncEnabled")] public bool? PasswordSyncEnabled { get; set; } /// /// Gets or sets passwordWritebackEnabled. + /// Used to indicate that writeback of password resets from Azure AD to on-premises AD is enabled. /// [JsonPropertyName("passwordWritebackEnabled")] public bool? PasswordWritebackEnabled { get; set; } /// /// Gets or sets quarantineUponProxyAddressesConflictEnabled. + /// Used to indicate that we should quarantine objects with conflicting proxy address. /// [JsonPropertyName("quarantineUponProxyAddressesConflictEnabled")] public bool? QuarantineUponProxyAddressesConflictEnabled { get; set; } /// /// Gets or sets quarantineUponUpnConflictEnabled. + /// Used to indicate that we should quarantine objects conflicting with duplicate userPrincipalName. /// [JsonPropertyName("quarantineUponUpnConflictEnabled")] public bool? QuarantineUponUpnConflictEnabled { get; set; } /// /// Gets or sets softMatchOnUpnEnabled. + /// Used to indicate that we should soft match objects based on userPrincipalName. /// [JsonPropertyName("softMatchOnUpnEnabled")] public bool? SoftMatchOnUpnEnabled { get; set; } /// /// Gets or sets synchronizeUpnForManagedUsersEnabled. + /// Used to indicate that we should synchronize userPrincipalName objects for managed users with licenses. /// [JsonPropertyName("synchronizeUpnForManagedUsersEnabled")] public bool? SynchronizeUpnForManagedUsersEnabled { get; set; } /// /// Gets or sets unifiedGroupWritebackEnabled. + /// Used to indicate that Microsoft 365 Group write-back is enabled. /// [JsonPropertyName("unifiedGroupWritebackEnabled")] public bool? UnifiedGroupWritebackEnabled { get; set; } /// /// Gets or sets userForcePasswordChangeOnLogonEnabled. + /// Used to indicate that feature to force password change for a user on logon is enabled while synchronizing on-premise credentials. /// [JsonPropertyName("userForcePasswordChangeOnLogonEnabled")] public bool? UserForcePasswordChangeOnLogonEnabled { get; set; } /// /// Gets or sets userWritebackEnabled. + /// Used to indicate that user writeback is enabled. /// [JsonPropertyName("userWritebackEnabled")] public bool? UserWritebackEnabled { get; set; } diff --git a/src/Microsoft.Graph/Generated/model/OrganizationalBrandingProperties.cs b/src/Microsoft.Graph/Generated/model/OrganizationalBrandingProperties.cs index a5b8f338efe..4201dfc1c68 100644 --- a/src/Microsoft.Graph/Generated/model/OrganizationalBrandingProperties.cs +++ b/src/Microsoft.Graph/Generated/model/OrganizationalBrandingProperties.cs @@ -94,12 +94,14 @@ protected internal OrganizationalBrandingProperties() /// /// Gets or sets custom css. + /// CSS styling that appears on the sign-in page. The allowed format is .css format only and not larger than 25 KB. /// [JsonPropertyName("customCSS")] public Stream CustomCSS { get; set; } /// /// Gets or sets custom cssrelative url. + /// A relative URL for the customCSS property that is combined with a CDN base URL from the cdnList to provide the version served by a CDN. Read-only. /// [JsonPropertyName("customCSSRelativeUrl")] public string CustomCSSRelativeUrl { get; set; } @@ -169,18 +171,21 @@ protected internal OrganizationalBrandingProperties() /// /// Gets or sets header logo. + /// A company logo that appears in the header of the sign-in page. The allowed types are PNG or JPEG not larger than 36 × 245 pixels. We recommend using a transparent image with no padding around the logo. /// [JsonPropertyName("headerLogo")] public Stream HeaderLogo { get; set; } /// /// Gets or sets header logo relative url. + /// A relative URL for the headerLogo property that is combined with a CDN base URL from the cdnList to provide the read-only version served by a CDN. Read-only. /// [JsonPropertyName("headerLogoRelativeUrl")] public string HeaderLogoRelativeUrl { get; set; } /// /// Gets or sets login page layout configuration. + /// Represents the layout configuration to be displayed on the login page for a tenant. /// [JsonPropertyName("loginPageLayoutConfiguration")] public LoginPageLayoutConfiguration LoginPageLayoutConfiguration { get; set; } diff --git a/src/Microsoft.Graph/Generated/model/PageLayoutType.cs b/src/Microsoft.Graph/Generated/model/PageLayoutType.cs new file mode 100644 index 00000000000..d8822c00cd7 --- /dev/null +++ b/src/Microsoft.Graph/Generated/model/PageLayoutType.cs @@ -0,0 +1,43 @@ +// ------------------------------------------------------------------------------ +// 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: EnumType.cs.tt + + +namespace Microsoft.Graph +{ + using System.Text.Json.Serialization; + + /// + /// The enum PageLayoutType. + /// + [JsonConverter(typeof(JsonStringEnumConverter))] + public enum PageLayoutType + { + + /// + /// Microsoft Reserved + /// + MicrosoftReserved = 0, + + /// + /// Article + /// + Article = 1, + + /// + /// Home + /// + Home = 2, + + /// + /// Unknown Future Value + /// + UnknownFutureValue = 3, + + } +} diff --git a/src/Microsoft.Graph/Generated/model/PagePromotionType.cs b/src/Microsoft.Graph/Generated/model/PagePromotionType.cs new file mode 100644 index 00000000000..b46ef46f675 --- /dev/null +++ b/src/Microsoft.Graph/Generated/model/PagePromotionType.cs @@ -0,0 +1,43 @@ +// ------------------------------------------------------------------------------ +// 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: EnumType.cs.tt + + +namespace Microsoft.Graph +{ + using System.Text.Json.Serialization; + + /// + /// The enum PagePromotionType. + /// + [JsonConverter(typeof(JsonStringEnumConverter))] + public enum PagePromotionType + { + + /// + /// Microsoft Reserved + /// + MicrosoftReserved = 0, + + /// + /// Page + /// + Page = 1, + + /// + /// News Post + /// + NewsPost = 2, + + /// + /// Unknown Future Value + /// + UnknownFutureValue = 3, + + } +} diff --git a/src/Microsoft.Graph/Generated/model/PlannerBucket.cs b/src/Microsoft.Graph/Generated/model/PlannerBucket.cs index 76ccbbe84b6..3f3b615788f 100644 --- a/src/Microsoft.Graph/Generated/model/PlannerBucket.cs +++ b/src/Microsoft.Graph/Generated/model/PlannerBucket.cs @@ -30,6 +30,7 @@ public PlannerBucket() /// /// Gets or sets creation source. + /// Contains information about the origin of the bucket. /// [JsonPropertyName("creationSource")] public PlannerBucketCreation CreationSource { get; set; } diff --git a/src/Microsoft.Graph/Generated/model/PlannerBucketCreation.cs b/src/Microsoft.Graph/Generated/model/PlannerBucketCreation.cs index f2170eecefc..df27822c0a6 100644 --- a/src/Microsoft.Graph/Generated/model/PlannerBucketCreation.cs +++ b/src/Microsoft.Graph/Generated/model/PlannerBucketCreation.cs @@ -31,6 +31,7 @@ protected internal PlannerBucketCreation() /// /// Gets or sets creationSourceKind. + /// Specifies what kind of creation source the bucket is created with. The possible values are: external, publication and unknownFutureValue. /// [JsonPropertyName("creationSourceKind")] public PlannerCreationSourceKind? CreationSourceKind { get; set; } diff --git a/src/Microsoft.Graph/Generated/model/PlannerExternalBucketSource.cs b/src/Microsoft.Graph/Generated/model/PlannerExternalBucketSource.cs index 98101de435c..7b0b9a5281c 100644 --- a/src/Microsoft.Graph/Generated/model/PlannerExternalBucketSource.cs +++ b/src/Microsoft.Graph/Generated/model/PlannerExternalBucketSource.cs @@ -29,18 +29,21 @@ public PlannerExternalBucketSource() /// /// Gets or sets contextScenarioId. + /// Nullable. An identifier for the scenario associated with this external source. This should be in reverse DNS format. For example, Contoso company owned application for customer support would have a value like 'com.constoso.customerSupport'. /// [JsonPropertyName("contextScenarioId")] public string ContextScenarioId { get; set; } /// /// Gets or sets externalContextId. + /// Nullable. The id of the external entity's containing entity or context. /// [JsonPropertyName("externalContextId")] public string ExternalContextId { get; set; } /// /// Gets or sets externalObjectId. + /// Nullable. The id of the entity that an external service associates with a bucket. /// [JsonPropertyName("externalObjectId")] public string ExternalObjectId { get; set; } diff --git a/src/Microsoft.Graph/Generated/model/PlannerExternalPlanSource.cs b/src/Microsoft.Graph/Generated/model/PlannerExternalPlanSource.cs index 06bf9b252ca..17e9b6a7d54 100644 --- a/src/Microsoft.Graph/Generated/model/PlannerExternalPlanSource.cs +++ b/src/Microsoft.Graph/Generated/model/PlannerExternalPlanSource.cs @@ -29,18 +29,21 @@ public PlannerExternalPlanSource() /// /// Gets or sets contextScenarioId. + /// Nullable. An identifier for the scenario associated with this external source. This should be in reverse DNS format. For example, Contoso company owned application for customer support would have a value like 'com.constoso.customerSupport'. /// [JsonPropertyName("contextScenarioId")] public string ContextScenarioId { get; set; } /// /// Gets or sets externalContextId. + /// Nullable. The id of the external entity's containing entity or context. /// [JsonPropertyName("externalContextId")] public string ExternalContextId { get; set; } /// /// Gets or sets externalObjectId. + /// Nullable. The id of the entity that an external service associates with a plan. /// [JsonPropertyName("externalObjectId")] public string ExternalObjectId { get; set; } diff --git a/src/Microsoft.Graph/Generated/model/PlannerExternalTaskSource.cs b/src/Microsoft.Graph/Generated/model/PlannerExternalTaskSource.cs index ce0ee443391..aa5f4f8daaf 100644 --- a/src/Microsoft.Graph/Generated/model/PlannerExternalTaskSource.cs +++ b/src/Microsoft.Graph/Generated/model/PlannerExternalTaskSource.cs @@ -30,42 +30,49 @@ public PlannerExternalTaskSource() /// /// Gets or sets contextScenarioId. + /// Nullable. An identifier for the scenario associated with this external source. This should be in reverse DNS format. For example, Contoso company owned application for customer support would have a value like 'com.constoso.customerSupport'. /// [JsonPropertyName("contextScenarioId")] public string ContextScenarioId { get; set; } /// /// Gets or sets displayLinkType. + /// Specifies how an application should display the link to the associated plannerExternalTaskSource. The possible values are: none, default. /// [JsonPropertyName("displayLinkType")] public PlannerExternalTaskSourceDisplayType? DisplayLinkType { get; set; } /// /// Gets or sets displayNameSegments. + /// The segments of the name of the external experience. Segments represent a hierarchical structure that allows other apps to display the relationship. /// [JsonPropertyName("displayNameSegments")] public IEnumerable DisplayNameSegments { get; set; } /// /// Gets or sets externalContextId. + /// Nullable. The id of the external entity's containing entity or context. /// [JsonPropertyName("externalContextId")] public string ExternalContextId { get; set; } /// /// Gets or sets externalObjectId. + /// Nullable. The id of the entity that an external service associates with a task. /// [JsonPropertyName("externalObjectId")] public string ExternalObjectId { get; set; } /// /// Gets or sets externalObjectVersion. + /// Nullable. The external Item Version for the object specified by the externalObjectId. /// [JsonPropertyName("externalObjectVersion")] public string ExternalObjectVersion { get; set; } /// /// Gets or sets webUrl. + /// Nullable. URL of the user experience represented by the associated plannerExternalTaskSource. /// [JsonPropertyName("webUrl")] public string WebUrl { get; set; } diff --git a/src/Microsoft.Graph/Generated/model/PlannerPlan.cs b/src/Microsoft.Graph/Generated/model/PlannerPlan.cs index 121ea205a9c..e524479dabe 100644 --- a/src/Microsoft.Graph/Generated/model/PlannerPlan.cs +++ b/src/Microsoft.Graph/Generated/model/PlannerPlan.cs @@ -58,6 +58,7 @@ public PlannerPlan() /// /// Gets or sets creation source. + /// Contains information about the origin of the plan. /// [JsonPropertyName("creationSource")] public PlannerPlanCreation CreationSource { get; set; } diff --git a/src/Microsoft.Graph/Generated/model/PlannerPlanCreation.cs b/src/Microsoft.Graph/Generated/model/PlannerPlanCreation.cs index 747fea6651c..4d864bfd882 100644 --- a/src/Microsoft.Graph/Generated/model/PlannerPlanCreation.cs +++ b/src/Microsoft.Graph/Generated/model/PlannerPlanCreation.cs @@ -31,6 +31,7 @@ protected internal PlannerPlanCreation() /// /// Gets or sets creationSourceKind. + /// Specifies what kind of creation source the plan is created with. The possible values are: external, publication and unknownFutureValue. /// [JsonPropertyName("creationSourceKind")] public PlannerCreationSourceKind? CreationSourceKind { get; set; } diff --git a/src/Microsoft.Graph/Generated/model/PlannerTaskCreation.cs b/src/Microsoft.Graph/Generated/model/PlannerTaskCreation.cs index b6b16bedcc7..52eed43e48b 100644 --- a/src/Microsoft.Graph/Generated/model/PlannerTaskCreation.cs +++ b/src/Microsoft.Graph/Generated/model/PlannerTaskCreation.cs @@ -23,13 +23,14 @@ public partial class PlannerTaskCreation /// /// Gets or sets creationSourceKind. + /// Specifies what kind of creation source the task is created with. The possible values are: external, publication and unknownFutureValue. /// [JsonPropertyName("creationSourceKind")] public PlannerCreationSourceKind? CreationSourceKind { get; set; } /// /// Gets or sets teamsPublicationInfo. - /// Information about the publication process that created this task. null value indicates that the task was not created by a publication process. + /// Information about the publication process that created this task. This field is deprecated and clients should move to using the new inheritance model. /// [JsonPropertyName("teamsPublicationInfo")] public PlannerTeamsPublicationInfo TeamsPublicationInfo { get; set; } diff --git a/src/Microsoft.Graph/Generated/model/Presence.cs b/src/Microsoft.Graph/Generated/model/Presence.cs index bd4bd726d12..d7c0c67d020 100644 --- a/src/Microsoft.Graph/Generated/model/Presence.cs +++ b/src/Microsoft.Graph/Generated/model/Presence.cs @@ -41,6 +41,12 @@ public partial class Presence : Entity [JsonPropertyName("outOfOfficeSettings")] public OutOfOfficeSettings OutOfOfficeSettings { get; set; } + /// + /// Gets or sets status message. + /// + [JsonPropertyName("statusMessage")] + public PresenceStatusMessage StatusMessage { get; set; } + } } diff --git a/src/Microsoft.Graph/Generated/model/PresenceSetStatusMessageRequestBody.cs b/src/Microsoft.Graph/Generated/model/PresenceSetStatusMessageRequestBody.cs new file mode 100644 index 00000000000..ac389b48b73 --- /dev/null +++ b/src/Microsoft.Graph/Generated/model/PresenceSetStatusMessageRequestBody.cs @@ -0,0 +1,30 @@ +// ------------------------------------------------------------------------------ +// 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: MethodRequestBody.cs.tt + +namespace Microsoft.Graph +{ + using System; + using System.Collections.Generic; + using System.IO; + using System.Text.Json.Serialization; + + /// + /// The type PresenceSetStatusMessageRequestBody. + /// + public partial class PresenceSetStatusMessageRequestBody + { + + /// + /// Gets or sets StatusMessage. + /// + [JsonPropertyName("statusMessage")] + public PresenceStatusMessage StatusMessage { get; set; } + + } +} diff --git a/src/Microsoft.Graph/Generated/model/PresenceStatusMessage.cs b/src/Microsoft.Graph/Generated/model/PresenceStatusMessage.cs new file mode 100644 index 00000000000..5aaae3cf9d2 --- /dev/null +++ b/src/Microsoft.Graph/Generated/model/PresenceStatusMessage.cs @@ -0,0 +1,55 @@ +// ------------------------------------------------------------------------------ +// 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: ComplexType.cs.tt + +namespace Microsoft.Graph +{ + using System; + using System.Collections.Generic; + using System.IO; + using System.Text.Json.Serialization; + + /// + /// The type PresenceStatusMessage. + /// + [JsonConverter(typeof(DerivedTypeConverter))] + public partial class PresenceStatusMessage + { + + /// + /// Gets or sets expiryDateTime. + /// + [JsonPropertyName("expiryDateTime")] + public DateTimeTimeZone ExpiryDateTime { get; set; } + + /// + /// Gets or sets message. + /// + [JsonPropertyName("message")] + public ItemBody Message { get; set; } + + /// + /// Gets or sets publishedDateTime. + /// + [JsonPropertyName("publishedDateTime")] + public DateTimeOffset? PublishedDateTime { get; set; } + + /// + /// Gets or sets additional data. + /// + [JsonExtensionData] + public IDictionary AdditionalData { get; set; } + + /// + /// Gets or sets @odata.type. + /// + [JsonPropertyName("@odata.type")] + public string ODataType { get; set; } + + } +} diff --git a/src/Microsoft.Graph/Generated/model/ReactionsFacet.cs b/src/Microsoft.Graph/Generated/model/ReactionsFacet.cs new file mode 100644 index 00000000000..039b0d4ca78 --- /dev/null +++ b/src/Microsoft.Graph/Generated/model/ReactionsFacet.cs @@ -0,0 +1,58 @@ +// ------------------------------------------------------------------------------ +// 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: ComplexType.cs.tt + +namespace Microsoft.Graph +{ + using System; + using System.Collections.Generic; + using System.IO; + using System.Text.Json.Serialization; + + /// + /// The type ReactionsFacet. + /// + [JsonConverter(typeof(DerivedTypeConverter))] + public partial class ReactionsFacet + { + + /// + /// Gets or sets commentCount. + /// Count of comments. + /// + [JsonPropertyName("commentCount")] + public Int32? CommentCount { get; set; } + + /// + /// Gets or sets likeCount. + /// Count of likes. + /// + [JsonPropertyName("likeCount")] + public Int32? LikeCount { get; set; } + + /// + /// Gets or sets shareCount. + /// Count of shares. + /// + [JsonPropertyName("shareCount")] + public Int32? ShareCount { get; set; } + + /// + /// Gets or sets additional data. + /// + [JsonExtensionData] + public IDictionary AdditionalData { get; set; } + + /// + /// Gets or sets @odata.type. + /// + [JsonPropertyName("@odata.type")] + public string ODataType { get; set; } + + } +} diff --git a/src/Microsoft.Graph/Generated/model/SectionEmphasisType.cs b/src/Microsoft.Graph/Generated/model/SectionEmphasisType.cs new file mode 100644 index 00000000000..ea9439dda68 --- /dev/null +++ b/src/Microsoft.Graph/Generated/model/SectionEmphasisType.cs @@ -0,0 +1,48 @@ +// ------------------------------------------------------------------------------ +// 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: EnumType.cs.tt + + +namespace Microsoft.Graph +{ + using System.Text.Json.Serialization; + + /// + /// The enum SectionEmphasisType. + /// + [JsonConverter(typeof(JsonStringEnumConverter))] + public enum SectionEmphasisType + { + + /// + /// None + /// + None = 0, + + /// + /// Netural + /// + Netural = 1, + + /// + /// Soft + /// + Soft = 2, + + /// + /// Strong + /// + Strong = 3, + + /// + /// Unknown Future Value + /// + UnknownFutureValue = 4, + + } +} diff --git a/src/Microsoft.Graph/Generated/model/ServerProcessedContent.cs b/src/Microsoft.Graph/Generated/model/ServerProcessedContent.cs new file mode 100644 index 00000000000..f25f29b9e10 --- /dev/null +++ b/src/Microsoft.Graph/Generated/model/ServerProcessedContent.cs @@ -0,0 +1,79 @@ +// ------------------------------------------------------------------------------ +// 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: ComplexType.cs.tt + +namespace Microsoft.Graph +{ + using System; + using System.Collections.Generic; + using System.IO; + using System.Text.Json.Serialization; + + /// + /// The type ServerProcessedContent. + /// + [JsonConverter(typeof(DerivedTypeConverter))] + public partial class ServerProcessedContent + { + + /// + /// Gets or sets componentDependencies. + /// A key-value map where keys are string identifiers and values are component ids. SharePoint servers might decide to use this hint to preload the script for corresponding components for performance boost. + /// + [JsonPropertyName("componentDependencies")] + public IEnumerable ComponentDependencies { get; set; } + + /// + /// Gets or sets customMetadata. + /// A key-value map where keys are string identifier and values are object of custom key-value pair. + /// + [JsonPropertyName("customMetadata")] + public IEnumerable CustomMetadata { get; set; } + + /// + /// Gets or sets htmlStrings. + /// A key-value map where keys are string identifiers and values are rich text with HTML format. SharePoint servers treat the values as HTML content and run services like safety checks, search index and link fixup on them. + /// + [JsonPropertyName("htmlStrings")] + public IEnumerable HtmlStrings { get; set; } + + /// + /// Gets or sets imageSources. + /// A key-value map where keys are string identifiers and values are image sources. SharePoint servers treat the values as image sources and run services like search index and link fixup on them. + /// + [JsonPropertyName("imageSources")] + public IEnumerable ImageSources { get; set; } + + /// + /// Gets or sets links. + /// A key-value map where keys are string identifiers and values are links. SharePoint servers treat the values as links and run services like link fixup on them. + /// + [JsonPropertyName("links")] + public IEnumerable Links { get; set; } + + /// + /// Gets or sets searchablePlainTexts. + /// A key-value map where keys are string identifiers and values are strings that should be search indexed. + /// + [JsonPropertyName("searchablePlainTexts")] + public IEnumerable SearchablePlainTexts { get; set; } + + /// + /// Gets or sets additional data. + /// + [JsonExtensionData] + public IDictionary AdditionalData { get; set; } + + /// + /// Gets or sets @odata.type. + /// + [JsonPropertyName("@odata.type")] + public string ODataType { get; set; } + + } +} diff --git a/src/Microsoft.Graph/Generated/model/SignIn.cs b/src/Microsoft.Graph/Generated/model/SignIn.cs index e43002bbbdf..ba05f5967d4 100644 --- a/src/Microsoft.Graph/Generated/model/SignIn.cs +++ b/src/Microsoft.Graph/Generated/model/SignIn.cs @@ -50,12 +50,14 @@ public partial class SignIn : Entity /// /// Gets or sets authentication app device details. + /// Provides details about the app and device used during an Azure AD authentication step. /// [JsonPropertyName("authenticationAppDeviceDetails")] public AuthenticationAppDeviceDetails AuthenticationAppDeviceDetails { get; set; } /// /// Gets or sets authentication app policy evaluation details. + /// Provides details of the Azure AD policies applied to a user and client authentication app during an authentication step. /// [JsonPropertyName("authenticationAppPolicyEvaluationDetails")] public IEnumerable AuthenticationAppPolicyEvaluationDetails { get; set; } diff --git a/src/Microsoft.Graph/Generated/model/SitePage.cs b/src/Microsoft.Graph/Generated/model/SitePage.cs index 8775922e21a..56257f4ccbf 100644 --- a/src/Microsoft.Graph/Generated/model/SitePage.cs +++ b/src/Microsoft.Graph/Generated/model/SitePage.cs @@ -17,6 +17,7 @@ namespace Microsoft.Graph /// /// The type Site Page. /// + [JsonConverter(typeof(DerivedTypeConverter))] public partial class SitePage : BaseItem { @@ -36,10 +37,18 @@ public SitePage() public ContentTypeInfo ContentType { get; set; } /// - /// Gets or sets page layout type. + /// Gets or sets page layout. + /// The name of the page layout of the page. The possible values are: microsoftReserved, article, home, unknownFutureValue. /// - [JsonPropertyName("pageLayoutType")] - public string PageLayoutType { get; set; } + [JsonPropertyName("pageLayout")] + public PageLayoutType? PageLayout { get; set; } + + /// + /// Gets or sets promotion kind. + /// Indicates the promotion kind of the sitePage. The possible values are: microsoftReserved, page, newsPost, unknownFutureValue. + /// + [JsonPropertyName("promotionKind")] + public PagePromotionType? PromotionKind { get; set; } /// /// Gets or sets publishing state. @@ -48,6 +57,34 @@ public SitePage() [JsonPropertyName("publishingState")] public PublicationFacet PublishingState { get; set; } + /// + /// Gets or sets reactions. + /// Reactions information for the page. + /// + [JsonPropertyName("reactions")] + public ReactionsFacet Reactions { get; set; } + + /// + /// Gets or sets show comments. + /// Determines whether or not to show comments at the bottom of the page. + /// + [JsonPropertyName("showComments")] + public bool? ShowComments { get; set; } + + /// + /// Gets or sets show recommended pages. + /// Determines whether or not to show recommended pages at the bottom of the page. + /// + [JsonPropertyName("showRecommendedPages")] + public bool? ShowRecommendedPages { get; set; } + + /// + /// Gets or sets thumbnail web url. + /// Url of the sitePage's thumbnail image + /// + [JsonPropertyName("thumbnailWebUrl")] + public string ThumbnailWebUrl { get; set; } + /// /// Gets or sets title. /// Title of the sitePage. @@ -55,11 +92,33 @@ public SitePage() [JsonPropertyName("title")] public string Title { get; set; } + /// + /// Gets or sets title area. + /// Title area on the SharePoint page. + /// + [JsonPropertyName("titleArea")] + public TitleArea TitleArea { get; set; } + + /// + /// Gets or sets canvas layout. + /// Indicates the layout of the content in a given SharePoint page, including horizontal sections and vertical section + /// + [JsonPropertyName("canvasLayout")] + public CanvasLayout CanvasLayout { get; set; } + /// /// Gets or sets web parts. + /// Collection of webparts on the SharePoint page /// [JsonPropertyName("webParts")] - public IEnumerable WebParts { get; set; } + public ISitePageWebPartsCollectionPage WebParts { get; set; } + + /// + /// Gets or sets webPartsNextLink. + /// + [JsonPropertyName("webParts@odata.nextLink")] + [JsonConverter(typeof(NextLinkConverter))] + public string WebPartsNextLink { get; set; } } } diff --git a/src/Microsoft.Graph/Generated/model/SitePageGetWebPartsByPositionRequestBody.cs b/src/Microsoft.Graph/Generated/model/SitePageGetWebPartsByPositionRequestBody.cs new file mode 100644 index 00000000000..30fd1ea2c18 --- /dev/null +++ b/src/Microsoft.Graph/Generated/model/SitePageGetWebPartsByPositionRequestBody.cs @@ -0,0 +1,48 @@ +// ------------------------------------------------------------------------------ +// 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: MethodRequestBody.cs.tt + +namespace Microsoft.Graph +{ + using System; + using System.Collections.Generic; + using System.IO; + using System.Text.Json.Serialization; + + /// + /// The type SitePageGetWebPartsByPositionRequestBody. + /// + public partial class SitePageGetWebPartsByPositionRequestBody + { + + /// + /// Gets or sets WebPartIndex. + /// + [JsonPropertyName("webPartIndex")] + public double? WebPartIndex { get; set; } + + /// + /// Gets or sets HorizontalSectionId. + /// + [JsonPropertyName("horizontalSectionId")] + public double? HorizontalSectionId { get; set; } + + /// + /// Gets or sets IsInVerticalSection. + /// + [JsonPropertyName("isInVerticalSection")] + public bool? IsInVerticalSection { get; set; } + + /// + /// Gets or sets ColumnId. + /// + [JsonPropertyName("columnId")] + public double? ColumnId { get; set; } + + } +} diff --git a/src/Microsoft.Graph/Generated/model/StandardWebPart.cs b/src/Microsoft.Graph/Generated/model/StandardWebPart.cs new file mode 100644 index 00000000000..2f02577806b --- /dev/null +++ b/src/Microsoft.Graph/Generated/model/StandardWebPart.cs @@ -0,0 +1,47 @@ +// ------------------------------------------------------------------------------ +// 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: EntityType.cs.tt + +namespace Microsoft.Graph +{ + using System; + using System.Collections.Generic; + using System.IO; + using System.Text.Json.Serialization; + + /// + /// The type Standard Web Part. + /// + public partial class StandardWebPart : WebPart + { + + /// + /// The StandardWebPart constructor + /// + public StandardWebPart() + { + this.ODataType = "microsoft.graph.standardWebPart"; + } + + /// + /// Gets or sets data. + /// Data of the webPart. + /// + [JsonPropertyName("data")] + public WebPartData Data { get; set; } + + /// + /// Gets or sets web part type. + /// A Guid which indicates the type of the webParts + /// + [JsonPropertyName("webPartType")] + public string WebPartType { get; set; } + + } +} + diff --git a/src/Microsoft.Graph/Generated/model/Subscription.cs b/src/Microsoft.Graph/Generated/model/Subscription.cs index b553e9dfd8a..9af6422760b 100644 --- a/src/Microsoft.Graph/Generated/model/Subscription.cs +++ b/src/Microsoft.Graph/Generated/model/Subscription.cs @@ -29,7 +29,7 @@ public partial class Subscription : Entity /// /// Gets or sets change type. - /// Required. Indicates the type of change in the subscribed resource that will raise a change notification. The supported values are: created, updated, deleted. Multiple values can be combined using a comma-separated list. Note: Drive root item and list change notifications support only the updated changeType. User and group change notifications support updated and deleted changeType. + /// Required. Indicates the type of change in the subscribed resource that will raise a change notification. The supported values are: created, updated, deleted. Multiple values can be combined using a comma-separated list. Note: Drive root item and list change notifications support only the updated changeType. User and group change notifications support updated and deleted changeType. Use updated to receive notifications when user or group is created, updated or soft deleted. Use deleted to receive notifications when user or group is permanently deleted. /// [JsonPropertyName("changeType")] public string ChangeType { get; set; } diff --git a/src/Microsoft.Graph/Generated/model/TextWebPart.cs b/src/Microsoft.Graph/Generated/model/TextWebPart.cs new file mode 100644 index 00000000000..5818ca4eba4 --- /dev/null +++ b/src/Microsoft.Graph/Generated/model/TextWebPart.cs @@ -0,0 +1,40 @@ +// ------------------------------------------------------------------------------ +// 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: EntityType.cs.tt + +namespace Microsoft.Graph +{ + using System; + using System.Collections.Generic; + using System.IO; + using System.Text.Json.Serialization; + + /// + /// The type Text Web Part. + /// + public partial class TextWebPart : WebPart + { + + /// + /// The TextWebPart constructor + /// + public TextWebPart() + { + this.ODataType = "microsoft.graph.textWebPart"; + } + + /// + /// Gets or sets inner html. + /// The HTML string in text web part. + /// + [JsonPropertyName("innerHtml")] + public string InnerHtml { get; set; } + + } +} + diff --git a/src/Microsoft.Graph/Generated/model/TitleArea.cs b/src/Microsoft.Graph/Generated/model/TitleArea.cs new file mode 100644 index 00000000000..0cc1aa71aeb --- /dev/null +++ b/src/Microsoft.Graph/Generated/model/TitleArea.cs @@ -0,0 +1,107 @@ +// ------------------------------------------------------------------------------ +// 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: ComplexType.cs.tt + +namespace Microsoft.Graph +{ + using System; + using System.Collections.Generic; + using System.IO; + using System.Text.Json.Serialization; + + /// + /// The type TitleArea. + /// + [JsonConverter(typeof(DerivedTypeConverter))] + public partial class TitleArea + { + + /// + /// Gets or sets alternativeText. + /// Alternative text on the title area. + /// + [JsonPropertyName("alternativeText")] + public string AlternativeText { get; set; } + + /// + /// Gets or sets enableGradientEffect. + /// Indicates whether the title area has a gradient effect enabled. + /// + [JsonPropertyName("enableGradientEffect")] + public bool? EnableGradientEffect { get; set; } + + /// + /// Gets or sets imageWebUrl. + /// URL of the image in the title area. + /// + [JsonPropertyName("imageWebUrl")] + public string ImageWebUrl { get; set; } + + /// + /// Gets or sets layout. + /// Enumeration value that indicates the layout of the title area. The possible values are: imageAndTitle, plain, colorBlock, overlap, unknownFutureValue. + /// + [JsonPropertyName("layout")] + public TitleAreaLayoutType? Layout { get; set; } + + /// + /// Gets or sets serverProcessedContent. + /// Contains collections of data that can be processed by server side services like search index and link fixup. + /// + [JsonPropertyName("serverProcessedContent")] + public ServerProcessedContent ServerProcessedContent { get; set; } + + /// + /// Gets or sets showAuthor. + /// Indicates whether the author should be shown in title area. + /// + [JsonPropertyName("showAuthor")] + public bool? ShowAuthor { get; set; } + + /// + /// Gets or sets showPublishedDate. + /// Indicates whether the published date should be shown in title area. + /// + [JsonPropertyName("showPublishedDate")] + public bool? ShowPublishedDate { get; set; } + + /// + /// Gets or sets showTextBlockAboveTitle. + /// Indicates whether the text block above title should be shown in title area. + /// + [JsonPropertyName("showTextBlockAboveTitle")] + public bool? ShowTextBlockAboveTitle { get; set; } + + /// + /// Gets or sets textAboveTitle. + /// The text above title line. + /// + [JsonPropertyName("textAboveTitle")] + public string TextAboveTitle { get; set; } + + /// + /// Gets or sets textAlignment. + /// Enumeration value that indicates the text alignment of the title area. The possible values are: left, center, unknownFutureValue. + /// + [JsonPropertyName("textAlignment")] + public TitleAreaTextAlignmentType? TextAlignment { get; set; } + + /// + /// Gets or sets additional data. + /// + [JsonExtensionData] + public IDictionary AdditionalData { get; set; } + + /// + /// Gets or sets @odata.type. + /// + [JsonPropertyName("@odata.type")] + public string ODataType { get; set; } + + } +} diff --git a/src/Microsoft.Graph/Generated/model/TitleAreaLayoutType.cs b/src/Microsoft.Graph/Generated/model/TitleAreaLayoutType.cs new file mode 100644 index 00000000000..e13bcc444a0 --- /dev/null +++ b/src/Microsoft.Graph/Generated/model/TitleAreaLayoutType.cs @@ -0,0 +1,48 @@ +// ------------------------------------------------------------------------------ +// 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: EnumType.cs.tt + + +namespace Microsoft.Graph +{ + using System.Text.Json.Serialization; + + /// + /// The enum TitleAreaLayoutType. + /// + [JsonConverter(typeof(JsonStringEnumConverter))] + public enum TitleAreaLayoutType + { + + /// + /// Image And Title + /// + ImageAndTitle = 0, + + /// + /// Plain + /// + Plain = 1, + + /// + /// Color Block + /// + ColorBlock = 2, + + /// + /// Overlap + /// + Overlap = 3, + + /// + /// Unknown Future Value + /// + UnknownFutureValue = 4, + + } +} diff --git a/src/Microsoft.Graph/Generated/model/TitleAreaTextAlignmentType.cs b/src/Microsoft.Graph/Generated/model/TitleAreaTextAlignmentType.cs new file mode 100644 index 00000000000..38b733058ed --- /dev/null +++ b/src/Microsoft.Graph/Generated/model/TitleAreaTextAlignmentType.cs @@ -0,0 +1,38 @@ +// ------------------------------------------------------------------------------ +// 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: EnumType.cs.tt + + +namespace Microsoft.Graph +{ + using System.Text.Json.Serialization; + + /// + /// The enum TitleAreaTextAlignmentType. + /// + [JsonConverter(typeof(JsonStringEnumConverter))] + public enum TitleAreaTextAlignmentType + { + + /// + /// Left + /// + Left = 0, + + /// + /// Center + /// + Center = 1, + + /// + /// Unknown Future Value + /// + UnknownFutureValue = 2, + + } +} diff --git a/src/Microsoft.Graph/Generated/model/VerticalSection.cs b/src/Microsoft.Graph/Generated/model/VerticalSection.cs new file mode 100644 index 00000000000..458f6f32abe --- /dev/null +++ b/src/Microsoft.Graph/Generated/model/VerticalSection.cs @@ -0,0 +1,47 @@ +// ------------------------------------------------------------------------------ +// 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: EntityType.cs.tt + +namespace Microsoft.Graph +{ + using System; + using System.Collections.Generic; + using System.IO; + using System.Text.Json.Serialization; + + /// + /// The type Vertical Section. + /// + [JsonConverter(typeof(DerivedTypeConverter))] + public partial class VerticalSection : Entity + { + + /// + /// Gets or sets emphasis. + /// Enumeration value that indicates the emphasis of the section background. The possible values are: none, netural, soft, strong, unknownFutureValue. + /// + [JsonPropertyName("emphasis")] + public SectionEmphasisType? Emphasis { get; set; } + + /// + /// Gets or sets webparts. + /// The set of web parts in this section. + /// + [JsonPropertyName("webparts")] + public IVerticalSectionWebpartsCollectionPage Webparts { get; set; } + + /// + /// Gets or sets webpartsNextLink. + /// + [JsonPropertyName("webparts@odata.nextLink")] + [JsonConverter(typeof(NextLinkConverter))] + public string WebpartsNextLink { get; set; } + + } +} + diff --git a/src/Microsoft.Graph/Generated/model/WebPart.cs b/src/Microsoft.Graph/Generated/model/WebPart.cs index 8a2d67064ba..8e6fb95ae43 100644 --- a/src/Microsoft.Graph/Generated/model/WebPart.cs +++ b/src/Microsoft.Graph/Generated/model/WebPart.cs @@ -5,7 +5,7 @@ // **NOTE** This file was generated by a tool and any changes will be overwritten. // -// Template Source: ComplexType.cs.tt +// Template Source: EntityType.cs.tt namespace Microsoft.Graph { @@ -15,29 +15,20 @@ namespace Microsoft.Graph using System.Text.Json.Serialization; /// - /// The type WebPart. + /// The type Web Part. /// + [JsonConverter(typeof(DerivedTypeConverter))] public partial class WebPart : Entity { - /// - /// Initializes a new instance of the class. - /// - public WebPart() + + /// + /// The internal WebPart constructor + /// + protected internal WebPart() { - this.ODataType = "microsoft.graph.webPart"; + // Don't allow initialization of abstract entity types } - - /// - /// Gets or sets data. - /// - [JsonPropertyName("data")] - public SitePageData Data { get; set; } - - /// - /// Gets or sets type. - /// - [JsonPropertyName("type")] - public string Type { get; set; } } } + diff --git a/src/Microsoft.Graph/Generated/model/WebPartData.cs b/src/Microsoft.Graph/Generated/model/WebPartData.cs new file mode 100644 index 00000000000..1056620913f --- /dev/null +++ b/src/Microsoft.Graph/Generated/model/WebPartData.cs @@ -0,0 +1,79 @@ +// ------------------------------------------------------------------------------ +// 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: ComplexType.cs.tt + +namespace Microsoft.Graph +{ + using System; + using System.Collections.Generic; + using System.IO; + using System.Text.Json.Serialization; + + /// + /// The type WebPartData. + /// + [JsonConverter(typeof(DerivedTypeConverter))] + public partial class WebPartData + { + + /// + /// Gets or sets audiences. + /// Audience information of the web part. By using this property, specific content will be prioritized to specific audiences. + /// + [JsonPropertyName("audiences")] + public IEnumerable Audiences { get; set; } + + /// + /// Gets or sets dataVersion. + /// Data version of the web part. The value is defined by the web part developer. Different dataVersions usually refers to a different property structure. + /// + [JsonPropertyName("dataVersion")] + public string DataVersion { get; set; } + + /// + /// Gets or sets description. + /// Description of the web part. + /// + [JsonPropertyName("description")] + public string Description { get; set; } + + /// + /// Gets or sets properties. + /// Properties bag of the web part. + /// + [JsonPropertyName("properties")] + public System.Text.Json.JsonDocument Properties { get; set; } + + /// + /// Gets or sets serverProcessedContent. + /// Contains collections of data that can be processed by server side services like search index and link fixup. + /// + [JsonPropertyName("serverProcessedContent")] + public ServerProcessedContent ServerProcessedContent { get; set; } + + /// + /// Gets or sets title. + /// Title of the web part. + /// + [JsonPropertyName("title")] + public string Title { get; set; } + + /// + /// Gets or sets additional data. + /// + [JsonExtensionData] + public IDictionary AdditionalData { get; set; } + + /// + /// Gets or sets @odata.type. + /// + [JsonPropertyName("@odata.type")] + public string ODataType { get; set; } + + } +} diff --git a/src/Microsoft.Graph/Generated/model/WebPartPosition.cs b/src/Microsoft.Graph/Generated/model/WebPartPosition.cs new file mode 100644 index 00000000000..f35ddcdd038 --- /dev/null +++ b/src/Microsoft.Graph/Generated/model/WebPartPosition.cs @@ -0,0 +1,65 @@ +// ------------------------------------------------------------------------------ +// 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: ComplexType.cs.tt + +namespace Microsoft.Graph +{ + using System; + using System.Collections.Generic; + using System.IO; + using System.Text.Json.Serialization; + + /// + /// The type WebPartPosition. + /// + [JsonConverter(typeof(DerivedTypeConverter))] + public partial class WebPartPosition + { + + /// + /// Gets or sets columnId. + /// Indicates the identifier of the column where the web part is located. + /// + [JsonPropertyName("columnId")] + public double? ColumnId { get; set; } + + /// + /// Gets or sets horizontalSectionId. + /// Indicates the horizontal section where the web part is located. + /// + [JsonPropertyName("horizontalSectionId")] + public double? HorizontalSectionId { get; set; } + + /// + /// Gets or sets isInVerticalSection. + /// Indicates whether the web part is located in the vertical section. + /// + [JsonPropertyName("isInVerticalSection")] + public bool? IsInVerticalSection { get; set; } + + /// + /// Gets or sets webPartIndex. + /// Index of the current web part. Represents the order of the web part in this column or section. + /// + [JsonPropertyName("webPartIndex")] + public double? WebPartIndex { get; set; } + + /// + /// Gets or sets additional data. + /// + [JsonExtensionData] + public IDictionary AdditionalData { get; set; } + + /// + /// Gets or sets @odata.type. + /// + [JsonPropertyName("@odata.type")] + public string ODataType { get; set; } + + } +} diff --git a/src/Microsoft.Graph/Generated/requests/CanvasLayoutHorizontalSectionsCollectionPage.cs b/src/Microsoft.Graph/Generated/requests/CanvasLayoutHorizontalSectionsCollectionPage.cs new file mode 100644 index 00000000000..98f31762a19 --- /dev/null +++ b/src/Microsoft.Graph/Generated/requests/CanvasLayoutHorizontalSectionsCollectionPage.cs @@ -0,0 +1,38 @@ +// ------------------------------------------------------------------------------ +// 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: EntityCollectionPage.cs.tt + +namespace Microsoft.Graph +{ + using System; + + /// + /// The type CanvasLayoutHorizontalSectionsCollectionPage. + /// + public partial class CanvasLayoutHorizontalSectionsCollectionPage : CollectionPage, ICanvasLayoutHorizontalSectionsCollectionPage + { + /// + /// Gets the next page instance. + /// + public ICanvasLayoutHorizontalSectionsCollectionRequest NextPageRequest { get; private set; } + + /// + /// Initializes the NextPageRequest property. + /// + public void InitializeNextPageRequest(IBaseClient client, string nextPageLinkString) + { + if (!string.IsNullOrEmpty(nextPageLinkString)) + { + this.NextPageRequest = new CanvasLayoutHorizontalSectionsCollectionRequest( + nextPageLinkString, + client, + null); + } + } + } +} diff --git a/src/Microsoft.Graph/Generated/requests/CanvasLayoutHorizontalSectionsCollectionRequest.cs b/src/Microsoft.Graph/Generated/requests/CanvasLayoutHorizontalSectionsCollectionRequest.cs new file mode 100644 index 00000000000..c12ec73c018 --- /dev/null +++ b/src/Microsoft.Graph/Generated/requests/CanvasLayoutHorizontalSectionsCollectionRequest.cs @@ -0,0 +1,208 @@ +// ------------------------------------------------------------------------------ +// 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: EntityCollectionRequest.cs.tt + +namespace Microsoft.Graph +{ + using System; + using System.Collections.Generic; + using System.Net.Http; + using System.Threading; + using System.Linq.Expressions; + + /// + /// The type CanvasLayoutHorizontalSectionsCollectionRequest. + /// + public partial class CanvasLayoutHorizontalSectionsCollectionRequest : BaseRequest, ICanvasLayoutHorizontalSectionsCollectionRequest + { + /// + /// Constructs a new CanvasLayoutHorizontalSectionsCollectionRequest. + /// + /// The URL for the built request. + /// The for handling requests. + /// Query and header option name value pairs for the request. + public CanvasLayoutHorizontalSectionsCollectionRequest( + string requestUrl, + IBaseClient client, + IEnumerable NotFound = 4, - /// - /// Active - /// - Active = 5, - - /// - /// Pending Approval - /// - PendingApproval = 6, - - /// - /// Declined - /// - Declined = 7, - - /// - /// Not Remediated - /// - NotRemediated = 8, - - /// - /// Running - /// - Running = 9, - /// /// Unknown Future Value /// - UnknownFutureValue = 10, + UnknownFutureValue = 5, } } diff --git a/src/Microsoft.Graph/Generated/securitynamespace/model/Incident.cs b/src/Microsoft.Graph/Generated/securitynamespace/model/Incident.cs index 5fe29eebb16..78b360045cf 100644 --- a/src/Microsoft.Graph/Generated/securitynamespace/model/Incident.cs +++ b/src/Microsoft.Graph/Generated/securitynamespace/model/Incident.cs @@ -49,6 +49,12 @@ public partial class Incident : Microsoft.Graph.Entity [JsonPropertyName("createdDateTime")] public DateTimeOffset? CreatedDateTime { get; set; } + /// + /// Gets or sets custom tags. + /// + [JsonPropertyName("customTags")] + public IEnumerable CustomTags { get; set; } + /// /// Gets or sets determination. /// Specifies the determination of the incident. Possible values are: unknown, apt, malware, securityPersonnel, securityTesting, unwantedSoftware, other, multiStagedAttack, compromisedUser, phishing, maliciousUserActivity, clean, insufficientData, confirmedUserActivity, lineOfBusinessApplication, unknownFutureValue. @@ -98,13 +104,6 @@ public partial class Incident : Microsoft.Graph.Entity [JsonPropertyName("status")] public IncidentStatus? Status { get; set; } - /// - /// Gets or sets tags. - /// Array of custom tags associated with an incident. - /// - [JsonPropertyName("tags")] - public IEnumerable Tags { get; set; } - /// /// Gets or sets tenant id. /// The Azure Active Directory tenant in which the alert was created. diff --git a/src/Microsoft.Graph/Generated/securitynamespace/model/IpEvidence.cs b/src/Microsoft.Graph/Generated/securitynamespace/model/IpEvidence.cs index ae86675a80b..0a38dc56cb1 100644 --- a/src/Microsoft.Graph/Generated/securitynamespace/model/IpEvidence.cs +++ b/src/Microsoft.Graph/Generated/securitynamespace/model/IpEvidence.cs @@ -27,6 +27,12 @@ public IpEvidence() this.ODataType = "microsoft.graph.security.ipEvidence"; } + /// + /// Gets or sets countryLetterCode. + /// + [JsonPropertyName("countryLetterCode")] + public string CountryLetterCode { get; set; } + /// /// Gets or sets ipAddress. /// The value of the IP Address, can be either in V4 address or V6 address format. diff --git a/src/Microsoft.Graph/Microsoft.Graph.Beta.csproj b/src/Microsoft.Graph/Microsoft.Graph.Beta.csproj index cf1ff691c23..5e89a2374c2 100644 --- a/src/Microsoft.Graph/Microsoft.Graph.Beta.csproj +++ b/src/Microsoft.Graph/Microsoft.Graph.Beta.csproj @@ -22,10 +22,10 @@ 35MSSharedLib1024.snk true -- Latest metadata updates from 6th December 2022 snapshot +- Latest metadata updates from 13th December 2022 snapshot - 4.67.0 + 4.68.0