diff --git a/src/Microsoft.Graph/Microsoft.Graph.Beta.csproj b/src/Microsoft.Graph/Microsoft.Graph.Beta.csproj index 63567d959de..35c2064c40b 100644 --- a/src/Microsoft.Graph/Microsoft.Graph.Beta.csproj +++ b/src/Microsoft.Graph/Microsoft.Graph.Beta.csproj @@ -1,4 +1,4 @@ - + Microsoft Graph beta client library allows you to target the Microsoft Graph /beta endpoint. You can call Office 365, Azure AD and other Microsoft services through a single unified developer experience. © Microsoft Corporation. All rights reserved. @@ -22,7 +22,7 @@ - 0.16.0 + 0.17.0 diff --git a/src/Microsoft.Graph/Models/Generated/AndroidDeviceOwnerDerivedCredentialAuthenticationConfiguration.cs b/src/Microsoft.Graph/Models/Generated/AndroidDeviceOwnerDerivedCredentialAuthenticationConfiguration.cs new file mode 100644 index 00000000000..58d46ba9e1d --- /dev/null +++ b/src/Microsoft.Graph/Models/Generated/AndroidDeviceOwnerDerivedCredentialAuthenticationConfiguration.cs @@ -0,0 +1,42 @@ +// ------------------------------------------------------------------------------ +// 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: Templates\CSharp\Model\EntityType.cs.tt + +namespace Microsoft.Graph +{ + using System; + using System.Collections.Generic; + using System.IO; + using System.Runtime.Serialization; + using Newtonsoft.Json; + + /// + /// The type Android Device Owner Derived Credential Authentication Configuration. + /// + [JsonObject(MemberSerialization = MemberSerialization.OptIn)] + public partial class AndroidDeviceOwnerDerivedCredentialAuthenticationConfiguration : DeviceConfiguration + { + + /// + /// The AndroidDeviceOwnerDerivedCredentialAuthenticationConfiguration constructor + /// + public AndroidDeviceOwnerDerivedCredentialAuthenticationConfiguration() + { + this.ODataType = "microsoft.graph.androidDeviceOwnerDerivedCredentialAuthenticationConfiguration"; + } + + /// + /// Gets or sets derived credential settings. + /// Tenant level settings for the Derived Credentials to be used for authentication. + /// + [JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "derivedCredentialSettings", Required = Newtonsoft.Json.Required.Default)] + public DeviceManagementDerivedCredentialSettings DerivedCredentialSettings { get; set; } + + } +} + diff --git a/src/Microsoft.Graph/Models/Generated/AndroidDeviceOwnerEnterpriseWiFiConfiguration.cs b/src/Microsoft.Graph/Models/Generated/AndroidDeviceOwnerEnterpriseWiFiConfiguration.cs index c9596240005..5d12fb44dac 100644 --- a/src/Microsoft.Graph/Models/Generated/AndroidDeviceOwnerEnterpriseWiFiConfiguration.cs +++ b/src/Microsoft.Graph/Models/Generated/AndroidDeviceOwnerEnterpriseWiFiConfiguration.cs @@ -79,6 +79,13 @@ public AndroidDeviceOwnerEnterpriseWiFiConfiguration() [JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "identityCertificateForClientAuthentication", Required = Newtonsoft.Json.Required.Default)] public AndroidDeviceOwnerCertificateProfileBase IdentityCertificateForClientAuthentication { get; set; } + /// + /// Gets or sets derived credential settings. + /// Tenant level settings for the Derived Credentials to be used for authentication. + /// + [JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "derivedCredentialSettings", Required = Newtonsoft.Json.Required.Default)] + public DeviceManagementDerivedCredentialSettings DerivedCredentialSettings { get; set; } + } } diff --git a/src/Microsoft.Graph/Models/Generated/AndroidDeviceOwnerVpnConfiguration.cs b/src/Microsoft.Graph/Models/Generated/AndroidDeviceOwnerVpnConfiguration.cs index efa59a580fd..4a50bfab9ea 100644 --- a/src/Microsoft.Graph/Models/Generated/AndroidDeviceOwnerVpnConfiguration.cs +++ b/src/Microsoft.Graph/Models/Generated/AndroidDeviceOwnerVpnConfiguration.cs @@ -44,6 +44,13 @@ public AndroidDeviceOwnerVpnConfiguration() [JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "identityCertificate", Required = Newtonsoft.Json.Required.Default)] public AndroidDeviceOwnerCertificateProfileBase IdentityCertificate { get; set; } + /// + /// Gets or sets derived credential settings. + /// Tenant level settings for the Derived Credentials to be used for authentication. + /// + [JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "derivedCredentialSettings", Required = Newtonsoft.Json.Required.Default)] + public DeviceManagementDerivedCredentialSettings DerivedCredentialSettings { get; set; } + } } diff --git a/src/Microsoft.Graph/Models/Generated/AndroidForWorkMobileAppConfiguration.cs b/src/Microsoft.Graph/Models/Generated/AndroidForWorkMobileAppConfiguration.cs index 027f12696f1..dd797adfdee 100644 --- a/src/Microsoft.Graph/Models/Generated/AndroidForWorkMobileAppConfiguration.cs +++ b/src/Microsoft.Graph/Models/Generated/AndroidForWorkMobileAppConfiguration.cs @@ -51,6 +51,13 @@ public AndroidForWorkMobileAppConfiguration() [JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "permissionActions", Required = Newtonsoft.Json.Required.Default)] public IEnumerable PermissionActions { get; set; } + /// + /// Gets or sets profile applicability. + /// Android Enterprise profile applicability (AndroidWorkProfile, DeviceOwner, or default (applies to both)). + /// + [JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "profileApplicability", Required = Newtonsoft.Json.Required.Default)] + public AndroidProfileApplicability? ProfileApplicability { get; set; } + } } diff --git a/src/Microsoft.Graph/Models/Generated/AndroidManagedStoreApp.cs b/src/Microsoft.Graph/Models/Generated/AndroidManagedStoreApp.cs index c3dfd443a1a..0b70c4a2f3a 100644 --- a/src/Microsoft.Graph/Models/Generated/AndroidManagedStoreApp.cs +++ b/src/Microsoft.Graph/Models/Generated/AndroidManagedStoreApp.cs @@ -79,6 +79,13 @@ public AndroidManagedStoreApp() [JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "isSystemApp", Required = Newtonsoft.Json.Required.Default)] public bool? IsSystemApp { get; set; } + /// + /// Gets or sets app tracks. + /// The tracks that are visible to this enterprise. + /// + [JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "appTracks", Required = Newtonsoft.Json.Required.Default)] + public IEnumerable AppTracks { get; set; } + /// /// Gets or sets supports oem config. /// Whether this app supports OEMConfig policy. diff --git a/src/Microsoft.Graph/Models/Generated/AndroidManagedStoreAppAssignmentSettings.cs b/src/Microsoft.Graph/Models/Generated/AndroidManagedStoreAppAssignmentSettings.cs new file mode 100644 index 00000000000..0bfd8b4bc40 --- /dev/null +++ b/src/Microsoft.Graph/Models/Generated/AndroidManagedStoreAppAssignmentSettings.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: Templates\CSharp\Model\ComplexType.cs.tt + +namespace Microsoft.Graph +{ + using System; + using System.Collections.Generic; + using System.IO; + using System.Runtime.Serialization; + using Newtonsoft.Json; + + /// + /// The type AndroidManagedStoreAppAssignmentSettings. + /// + [JsonObject(MemberSerialization = MemberSerialization.OptIn)] + public partial class AndroidManagedStoreAppAssignmentSettings : MobileAppAssignmentSettings + { + /// + /// Initializes a new instance of the class. + /// + public AndroidManagedStoreAppAssignmentSettings() + { + this.ODataType = "microsoft.graph.androidManagedStoreAppAssignmentSettings"; + } + + /// + /// Gets or sets androidManagedStoreAppTrackIds. + /// The track IDs to enable for this app assignment. + /// + [JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "androidManagedStoreAppTrackIds", Required = Newtonsoft.Json.Required.Default)] + public IEnumerable AndroidManagedStoreAppTrackIds { get; set; } + + } +} diff --git a/src/Microsoft.Graph/Models/Generated/AndroidManagedStoreAppConfiguration.cs b/src/Microsoft.Graph/Models/Generated/AndroidManagedStoreAppConfiguration.cs index f77bfdc14a4..b21064d0859 100644 --- a/src/Microsoft.Graph/Models/Generated/AndroidManagedStoreAppConfiguration.cs +++ b/src/Microsoft.Graph/Models/Generated/AndroidManagedStoreAppConfiguration.cs @@ -58,6 +58,13 @@ public AndroidManagedStoreAppConfiguration() [JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "appSupportsOemConfig", Required = Newtonsoft.Json.Required.Default)] public bool? AppSupportsOemConfig { get; set; } + /// + /// Gets or sets profile applicability. + /// Android Enterprise profile applicability (AndroidWorkProfile, DeviceOwner, or default (applies to both)). + /// + [JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "profileApplicability", Required = Newtonsoft.Json.Required.Default)] + public AndroidProfileApplicability? ProfileApplicability { get; set; } + } } diff --git a/src/Microsoft.Graph/Models/Generated/AndroidManagedStoreAppTrack.cs b/src/Microsoft.Graph/Models/Generated/AndroidManagedStoreAppTrack.cs new file mode 100644 index 00000000000..d12ae67303c --- /dev/null +++ b/src/Microsoft.Graph/Models/Generated/AndroidManagedStoreAppTrack.cs @@ -0,0 +1,60 @@ +// ------------------------------------------------------------------------------ +// 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: Templates\CSharp\Model\ComplexType.cs.tt + +namespace Microsoft.Graph +{ + using System; + using System.Collections.Generic; + using System.IO; + using System.Runtime.Serialization; + using Newtonsoft.Json; + + /// + /// The type AndroidManagedStoreAppTrack. + /// + [JsonObject(MemberSerialization = MemberSerialization.OptIn)] + [JsonConverter(typeof(DerivedTypeConverter))] + public partial class AndroidManagedStoreAppTrack + { + /// + /// Initializes a new instance of the class. + /// + public AndroidManagedStoreAppTrack() + { + this.ODataType = "microsoft.graph.androidManagedStoreAppTrack"; + } + + /// + /// Gets or sets trackId. + /// Unique track identifier. + /// + [JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "trackId", Required = Newtonsoft.Json.Required.Default)] + public string TrackId { get; set; } + + /// + /// Gets or sets trackAlias. + /// Friendly name for track. + /// + [JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "trackAlias", Required = Newtonsoft.Json.Required.Default)] + public string TrackAlias { get; set; } + + /// + /// Gets or sets additional data. + /// + [JsonExtensionData(ReadData = true)] + public IDictionary AdditionalData { get; set; } + + /// + /// Gets or sets @odata.type. + /// + [JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "@odata.type", Required = Newtonsoft.Json.Required.Default)] + public string ODataType { get; set; } + + } +} diff --git a/src/Microsoft.Graph/Models/Generated/AndroidProfileApplicability.cs b/src/Microsoft.Graph/Models/Generated/AndroidProfileApplicability.cs new file mode 100644 index 00000000000..f192a8ff1f8 --- /dev/null +++ b/src/Microsoft.Graph/Models/Generated/AndroidProfileApplicability.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: Templates\CSharp\Model\EnumType.cs.tt + + +namespace Microsoft.Graph +{ + using Newtonsoft.Json; + + /// + /// The enum AndroidProfileApplicability. + /// + [JsonConverter(typeof(EnumConverter))] + public enum AndroidProfileApplicability + { + + /// + /// Default + /// + Default = 0, + + /// + /// Android Work Profile + /// + AndroidWorkProfile = 1, + + /// + /// Android Device Owner + /// + AndroidDeviceOwner = 2, + + } +} diff --git a/src/Microsoft.Graph/Models/Generated/AppleAppListItem.cs b/src/Microsoft.Graph/Models/Generated/AppleAppListItem.cs new file mode 100644 index 00000000000..b0d35bb5d0e --- /dev/null +++ b/src/Microsoft.Graph/Models/Generated/AppleAppListItem.cs @@ -0,0 +1,33 @@ +// ------------------------------------------------------------------------------ +// 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: Templates\CSharp\Model\ComplexType.cs.tt + +namespace Microsoft.Graph +{ + using System; + using System.Collections.Generic; + using System.IO; + using System.Runtime.Serialization; + using Newtonsoft.Json; + + /// + /// The type AppleAppListItem. + /// + [JsonObject(MemberSerialization = MemberSerialization.OptIn)] + public partial class AppleAppListItem : AppListItem + { + /// + /// Initializes a new instance of the class. + /// + public AppleAppListItem() + { + this.ODataType = "microsoft.graph.appleAppListItem"; + } + + } +} diff --git a/src/Microsoft.Graph/Models/Generated/VoiceAuthenticationMethod.cs b/src/Microsoft.Graph/Models/Generated/AppleExpeditedCheckinConfigurationBase.cs similarity index 56% rename from src/Microsoft.Graph/Models/Generated/VoiceAuthenticationMethod.cs rename to src/Microsoft.Graph/Models/Generated/AppleExpeditedCheckinConfigurationBase.cs index edcc6dc5392..2d3f2852eb7 100644 --- a/src/Microsoft.Graph/Models/Generated/VoiceAuthenticationMethod.cs +++ b/src/Microsoft.Graph/Models/Generated/AppleExpeditedCheckinConfigurationBase.cs @@ -16,31 +16,26 @@ namespace Microsoft.Graph using Newtonsoft.Json; /// - /// The type Voice Authentication Method. + /// The type Apple Expedited Checkin Configuration Base. /// [JsonObject(MemberSerialization = MemberSerialization.OptIn)] - public partial class VoiceAuthenticationMethod : AuthenticationMethod + public partial class AppleExpeditedCheckinConfigurationBase : DeviceConfiguration { /// - /// The VoiceAuthenticationMethod constructor + /// The internal AppleExpeditedCheckinConfigurationBase constructor /// - public VoiceAuthenticationMethod() + protected internal AppleExpeditedCheckinConfigurationBase() { - this.ODataType = "microsoft.graph.voiceAuthenticationMethod"; + // Don't allow initialization of abstract entity types } - - /// - /// Gets or sets phone number. - /// - [JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "phoneNumber", Required = Newtonsoft.Json.Required.Default)] - public string PhoneNumber { get; set; } /// - /// Gets or sets phone type. + /// Gets or sets enable expedited checkin. + /// Gets or sets whether to enable expedited device check-ins. /// - [JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "phoneType", Required = Newtonsoft.Json.Required.Default)] - public AuthenticationPhoneType? PhoneType { get; set; } + [JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "enableExpeditedCheckin", Required = Newtonsoft.Json.Required.Default)] + public bool? EnableExpeditedCheckin { get; set; } } } diff --git a/src/Microsoft.Graph/Models/Generated/Authentication.cs b/src/Microsoft.Graph/Models/Generated/Authentication.cs index e543382239f..5632c96d795 100644 --- a/src/Microsoft.Graph/Models/Generated/Authentication.cs +++ b/src/Microsoft.Graph/Models/Generated/Authentication.cs @@ -36,18 +36,6 @@ public Authentication() [JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "methods", Required = Newtonsoft.Json.Required.Default)] public IAuthenticationMethodsCollectionPage Methods { get; set; } - /// - /// Gets or sets sms methods. - /// - [JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "smsMethods", Required = Newtonsoft.Json.Required.Default)] - public IAuthenticationSmsMethodsCollectionPage SmsMethods { get; set; } - - /// - /// Gets or sets voice methods. - /// - [JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "voiceMethods", Required = Newtonsoft.Json.Required.Default)] - public IAuthenticationVoiceMethodsCollectionPage VoiceMethods { get; set; } - /// /// Gets or sets phone methods. /// diff --git a/src/Microsoft.Graph/Models/Generated/ChangeNotificationEncryptedContent.cs b/src/Microsoft.Graph/Models/Generated/ChangeNotificationEncryptedContent.cs index c4ad0204daa..83c6177c40c 100644 --- a/src/Microsoft.Graph/Models/Generated/ChangeNotificationEncryptedContent.cs +++ b/src/Microsoft.Graph/Models/Generated/ChangeNotificationEncryptedContent.cs @@ -34,19 +34,19 @@ public ChangeNotificationEncryptedContent() /// Gets or sets data. /// [JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "data", Required = Newtonsoft.Json.Required.Default)] - public byte[] Data { get; set; } + public string Data { get; set; } /// /// Gets or sets dataSignature. /// [JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "dataSignature", Required = Newtonsoft.Json.Required.Default)] - public byte[] DataSignature { get; set; } + public string DataSignature { get; set; } /// /// Gets or sets dataKey. /// [JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "dataKey", Required = Newtonsoft.Json.Required.Default)] - public byte[] DataKey { get; set; } + public string DataKey { get; set; } /// /// Gets or sets encryptionCertificateId. diff --git a/src/Microsoft.Graph/Models/Generated/DeviceCompliancePolicySettingState.cs b/src/Microsoft.Graph/Models/Generated/DeviceCompliancePolicySettingState.cs index 1f80a836e70..e40cdc928b5 100644 --- a/src/Microsoft.Graph/Models/Generated/DeviceCompliancePolicySettingState.cs +++ b/src/Microsoft.Graph/Models/Generated/DeviceCompliancePolicySettingState.cs @@ -114,6 +114,13 @@ public DeviceCompliancePolicySettingState() [JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "currentValue", Required = Newtonsoft.Json.Required.Default)] public string CurrentValue { get; set; } + /// + /// Gets or sets settingInstanceId. + /// SettingInstanceId + /// + [JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "settingInstanceId", Required = Newtonsoft.Json.Required.Default)] + public string SettingInstanceId { get; set; } + /// /// Gets or sets additional data. /// diff --git a/src/Microsoft.Graph/Models/Generated/DeviceConfigurationSettingState.cs b/src/Microsoft.Graph/Models/Generated/DeviceConfigurationSettingState.cs index 7ab3f993d3e..928462f4f64 100644 --- a/src/Microsoft.Graph/Models/Generated/DeviceConfigurationSettingState.cs +++ b/src/Microsoft.Graph/Models/Generated/DeviceConfigurationSettingState.cs @@ -114,6 +114,13 @@ public DeviceConfigurationSettingState() [JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "currentValue", Required = Newtonsoft.Json.Required.Default)] public string CurrentValue { get; set; } + /// + /// Gets or sets settingInstanceId. + /// SettingInstanceId + /// + [JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "settingInstanceId", Required = Newtonsoft.Json.Required.Default)] + public string SettingInstanceId { get; set; } + /// /// Gets or sets additional data. /// diff --git a/src/Microsoft.Graph/Models/Generated/DeviceEnrollmentType.cs b/src/Microsoft.Graph/Models/Generated/DeviceEnrollmentType.cs index 250861ba4a2..a65094d5202 100644 --- a/src/Microsoft.Graph/Models/Generated/DeviceEnrollmentType.cs +++ b/src/Microsoft.Graph/Models/Generated/DeviceEnrollmentType.cs @@ -79,5 +79,10 @@ public enum DeviceEnrollmentType /// AppleUserEnrollmentWithServiceAccount = 12, + /// + /// Azure Ad Join Using Azure Vm Extension + /// + AzureAdJoinUsingAzureVmExtension = 14, + } } diff --git a/src/Microsoft.Graph/Models/Generated/DeviceHealthScriptRemediationHistory.cs b/src/Microsoft.Graph/Models/Generated/DeviceHealthScriptRemediationHistory.cs new file mode 100644 index 00000000000..a855b7bdb07 --- /dev/null +++ b/src/Microsoft.Graph/Models/Generated/DeviceHealthScriptRemediationHistory.cs @@ -0,0 +1,60 @@ +// ------------------------------------------------------------------------------ +// 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: Templates\CSharp\Model\ComplexType.cs.tt + +namespace Microsoft.Graph +{ + using System; + using System.Collections.Generic; + using System.IO; + using System.Runtime.Serialization; + using Newtonsoft.Json; + + /// + /// The type DeviceHealthScriptRemediationHistory. + /// + [JsonObject(MemberSerialization = MemberSerialization.OptIn)] + [JsonConverter(typeof(DerivedTypeConverter))] + public partial class DeviceHealthScriptRemediationHistory + { + /// + /// Initializes a new instance of the class. + /// + public DeviceHealthScriptRemediationHistory() + { + this.ODataType = "microsoft.graph.deviceHealthScriptRemediationHistory"; + } + + /// + /// Gets or sets lastModifiedDateTime. + /// The date on which the results history is calculated for the healthscript. + /// + [JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "lastModifiedDateTime", Required = Newtonsoft.Json.Required.Default)] + public DateTimeOffset? LastModifiedDateTime { get; set; } + + /// + /// Gets or sets historyData. + /// The number of devices remediated by the device health script on the given date. + /// + [JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "historyData", Required = Newtonsoft.Json.Required.Default)] + public IEnumerable HistoryData { get; set; } + + /// + /// Gets or sets additional data. + /// + [JsonExtensionData(ReadData = true)] + public IDictionary AdditionalData { get; set; } + + /// + /// Gets or sets @odata.type. + /// + [JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "@odata.type", Required = Newtonsoft.Json.Required.Default)] + public string ODataType { get; set; } + + } +} diff --git a/src/Microsoft.Graph/Models/Generated/DeviceHealthScriptRemediationHistoryData.cs b/src/Microsoft.Graph/Models/Generated/DeviceHealthScriptRemediationHistoryData.cs new file mode 100644 index 00000000000..4cc574ebd08 --- /dev/null +++ b/src/Microsoft.Graph/Models/Generated/DeviceHealthScriptRemediationHistoryData.cs @@ -0,0 +1,67 @@ +// ------------------------------------------------------------------------------ +// 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: Templates\CSharp\Model\ComplexType.cs.tt + +namespace Microsoft.Graph +{ + using System; + using System.Collections.Generic; + using System.IO; + using System.Runtime.Serialization; + using Newtonsoft.Json; + + /// + /// The type DeviceHealthScriptRemediationHistoryData. + /// + [JsonObject(MemberSerialization = MemberSerialization.OptIn)] + [JsonConverter(typeof(DerivedTypeConverter))] + public partial class DeviceHealthScriptRemediationHistoryData + { + /// + /// Initializes a new instance of the class. + /// + public DeviceHealthScriptRemediationHistoryData() + { + this.ODataType = "microsoft.graph.deviceHealthScriptRemediationHistoryData"; + } + + /// + /// Gets or sets date. + /// The date on which devices were remediated by the device health script. + /// + [JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "date", Required = Newtonsoft.Json.Required.Default)] + public Date Date { get; set; } + + /// + /// Gets or sets remediatedDeviceCount. + /// The number of devices remediated by the device health script. + /// + [JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "remediatedDeviceCount", Required = Newtonsoft.Json.Required.Default)] + public Int32? RemediatedDeviceCount { get; set; } + + /// + /// Gets or sets noIssueDeviceCount. + /// The number of devices that were found to have no issue by the device health script. + /// + [JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "noIssueDeviceCount", Required = Newtonsoft.Json.Required.Default)] + public Int32? NoIssueDeviceCount { get; set; } + + /// + /// Gets or sets additional data. + /// + [JsonExtensionData(ReadData = true)] + public IDictionary AdditionalData { get; set; } + + /// + /// Gets or sets @odata.type. + /// + [JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "@odata.type", Required = Newtonsoft.Json.Required.Default)] + public string ODataType { get; set; } + + } +} diff --git a/src/Microsoft.Graph/Models/Generated/DeviceManagement.cs b/src/Microsoft.Graph/Models/Generated/DeviceManagement.cs index 7265c6a9b58..cd4959e2718 100644 --- a/src/Microsoft.Graph/Models/Generated/DeviceManagement.cs +++ b/src/Microsoft.Graph/Models/Generated/DeviceManagement.cs @@ -514,11 +514,11 @@ public DeviceManagement() public IDeviceManagementUserExperienceAnalyticsDeviceStartupProcessPerformanceCollectionPage UserExperienceAnalyticsDeviceStartupProcessPerformance { get; set; } /// - /// Gets or sets user experience analytics startup score history. + /// Gets or sets user experience analytics score history. /// User experience analytics device Startup Score History /// - [JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "userExperienceAnalyticsStartupScoreHistory", Required = Newtonsoft.Json.Required.Default)] - public IDeviceManagementUserExperienceAnalyticsStartupScoreHistoryCollectionPage UserExperienceAnalyticsStartupScoreHistory { get; set; } + [JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "userExperienceAnalyticsScoreHistory", Required = Newtonsoft.Json.Required.Default)] + public IDeviceManagementUserExperienceAnalyticsScoreHistoryCollectionPage UserExperienceAnalyticsScoreHistory { get; set; } /// /// Gets or sets derived credentials. @@ -632,6 +632,13 @@ public DeviceManagement() [JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "groupPolicyDefinitionFiles", Required = Newtonsoft.Json.Required.Default)] public IDeviceManagementGroupPolicyDefinitionFilesCollectionPage GroupPolicyDefinitionFiles { get; set; } + /// + /// Gets or sets group policy uploaded definition files. + /// The available group policy uploaded definition files for this account. + /// + [JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "groupPolicyUploadedDefinitionFiles", Required = Newtonsoft.Json.Required.Default)] + public IDeviceManagementGroupPolicyUploadedDefinitionFilesCollectionPage GroupPolicyUploadedDefinitionFiles { get; set; } + /// /// Gets or sets notification message templates. /// The Notification Message Templates. diff --git a/src/Microsoft.Graph/Models/Generated/DeviceManagementReportsGetPolicyNonComplianceSummaryReportRequestBody.cs b/src/Microsoft.Graph/Models/Generated/DeviceManagementReportsGetPolicyNonComplianceSummaryReportRequestBody.cs new file mode 100644 index 00000000000..9b2082e8283 --- /dev/null +++ b/src/Microsoft.Graph/Models/Generated/DeviceManagementReportsGetPolicyNonComplianceSummaryReportRequestBody.cs @@ -0,0 +1,80 @@ +// ------------------------------------------------------------------------------ +// 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: Templates\CSharp\Model\MethodRequestBody.cs.tt + +namespace Microsoft.Graph +{ + using Newtonsoft.Json; + using System; + using System.Collections.Generic; + using System.IO; + using System.Runtime.Serialization; + + /// + /// The type DeviceManagementReportsGetPolicyNonComplianceSummaryReportRequestBody. + /// + [JsonObject(MemberSerialization = MemberSerialization.OptIn)] + public partial class DeviceManagementReportsGetPolicyNonComplianceSummaryReportRequestBody + { + + /// + /// Gets or sets Name. + /// + [JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "name", Required = Newtonsoft.Json.Required.Default)] + public string Name { get; set; } + + /// + /// Gets or sets Select. + /// + [JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "select", Required = Newtonsoft.Json.Required.Default)] + public IEnumerable Select { get; set; } + + /// + /// Gets or sets Search. + /// + [JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "search", Required = Newtonsoft.Json.Required.Default)] + public string Search { get; set; } + + /// + /// Gets or sets GroupBy. + /// + [JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "groupBy", Required = Newtonsoft.Json.Required.Default)] + public IEnumerable GroupBy { get; set; } + + /// + /// Gets or sets OrderBy. + /// + [JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "orderBy", Required = Newtonsoft.Json.Required.Default)] + public IEnumerable OrderBy { get; set; } + + /// + /// Gets or sets Skip. + /// + [JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "skip", Required = Newtonsoft.Json.Required.Default)] + public Int32? Skip { get; set; } + + /// + /// Gets or sets Top. + /// + [JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "top", Required = Newtonsoft.Json.Required.Default)] + public Int32? Top { get; set; } + + /// + /// Gets or sets SessionId. + /// + [JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "sessionId", Required = Newtonsoft.Json.Required.Default)] + public string SessionId { get; set; } + + /// + /// Gets or sets Filter. + /// + [JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "filter", Required = Newtonsoft.Json.Required.Default)] + public string Filter { get; set; } + + } +} diff --git a/src/Microsoft.Graph/Models/Generated/DeviceManagementReportsGetWindowsUpdateAlertSummaryReportRequestBody.cs b/src/Microsoft.Graph/Models/Generated/DeviceManagementReportsGetWindowsUpdateAlertSummaryReportRequestBody.cs new file mode 100644 index 00000000000..7dc53fbcaca --- /dev/null +++ b/src/Microsoft.Graph/Models/Generated/DeviceManagementReportsGetWindowsUpdateAlertSummaryReportRequestBody.cs @@ -0,0 +1,80 @@ +// ------------------------------------------------------------------------------ +// 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: Templates\CSharp\Model\MethodRequestBody.cs.tt + +namespace Microsoft.Graph +{ + using Newtonsoft.Json; + using System; + using System.Collections.Generic; + using System.IO; + using System.Runtime.Serialization; + + /// + /// The type DeviceManagementReportsGetWindowsUpdateAlertSummaryReportRequestBody. + /// + [JsonObject(MemberSerialization = MemberSerialization.OptIn)] + public partial class DeviceManagementReportsGetWindowsUpdateAlertSummaryReportRequestBody + { + + /// + /// Gets or sets Name. + /// + [JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "name", Required = Newtonsoft.Json.Required.Default)] + public string Name { get; set; } + + /// + /// Gets or sets Select. + /// + [JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "select", Required = Newtonsoft.Json.Required.Default)] + public IEnumerable Select { get; set; } + + /// + /// Gets or sets Search. + /// + [JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "search", Required = Newtonsoft.Json.Required.Default)] + public string Search { get; set; } + + /// + /// Gets or sets GroupBy. + /// + [JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "groupBy", Required = Newtonsoft.Json.Required.Default)] + public IEnumerable GroupBy { get; set; } + + /// + /// Gets or sets OrderBy. + /// + [JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "orderBy", Required = Newtonsoft.Json.Required.Default)] + public IEnumerable OrderBy { get; set; } + + /// + /// Gets or sets Skip. + /// + [JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "skip", Required = Newtonsoft.Json.Required.Default)] + public Int32? Skip { get; set; } + + /// + /// Gets or sets Top. + /// + [JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "top", Required = Newtonsoft.Json.Required.Default)] + public Int32? Top { get; set; } + + /// + /// Gets or sets SessionId. + /// + [JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "sessionId", Required = Newtonsoft.Json.Required.Default)] + public string SessionId { get; set; } + + /// + /// Gets or sets Filter. + /// + [JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "filter", Required = Newtonsoft.Json.Required.Default)] + public string Filter { get; set; } + + } +} diff --git a/src/Microsoft.Graph/Models/Generated/DeviceManagementReportsGetWindowsUpdateAlertsPerPolicyPerDeviceReportRequestBody.cs b/src/Microsoft.Graph/Models/Generated/DeviceManagementReportsGetWindowsUpdateAlertsPerPolicyPerDeviceReportRequestBody.cs new file mode 100644 index 00000000000..663a6ba2fb6 --- /dev/null +++ b/src/Microsoft.Graph/Models/Generated/DeviceManagementReportsGetWindowsUpdateAlertsPerPolicyPerDeviceReportRequestBody.cs @@ -0,0 +1,80 @@ +// ------------------------------------------------------------------------------ +// 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: Templates\CSharp\Model\MethodRequestBody.cs.tt + +namespace Microsoft.Graph +{ + using Newtonsoft.Json; + using System; + using System.Collections.Generic; + using System.IO; + using System.Runtime.Serialization; + + /// + /// The type DeviceManagementReportsGetWindowsUpdateAlertsPerPolicyPerDeviceReportRequestBody. + /// + [JsonObject(MemberSerialization = MemberSerialization.OptIn)] + public partial class DeviceManagementReportsGetWindowsUpdateAlertsPerPolicyPerDeviceReportRequestBody + { + + /// + /// Gets or sets Name. + /// + [JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "name", Required = Newtonsoft.Json.Required.Default)] + public string Name { get; set; } + + /// + /// Gets or sets Select. + /// + [JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "select", Required = Newtonsoft.Json.Required.Default)] + public IEnumerable Select { get; set; } + + /// + /// Gets or sets Search. + /// + [JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "search", Required = Newtonsoft.Json.Required.Default)] + public string Search { get; set; } + + /// + /// Gets or sets GroupBy. + /// + [JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "groupBy", Required = Newtonsoft.Json.Required.Default)] + public IEnumerable GroupBy { get; set; } + + /// + /// Gets or sets OrderBy. + /// + [JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "orderBy", Required = Newtonsoft.Json.Required.Default)] + public IEnumerable OrderBy { get; set; } + + /// + /// Gets or sets Skip. + /// + [JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "skip", Required = Newtonsoft.Json.Required.Default)] + public Int32? Skip { get; set; } + + /// + /// Gets or sets Top. + /// + [JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "top", Required = Newtonsoft.Json.Required.Default)] + public Int32? Top { get; set; } + + /// + /// Gets or sets SessionId. + /// + [JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "sessionId", Required = Newtonsoft.Json.Required.Default)] + public string SessionId { get; set; } + + /// + /// Gets or sets Filter. + /// + [JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "filter", Required = Newtonsoft.Json.Required.Default)] + public string Filter { get; set; } + + } +} diff --git a/src/Microsoft.Graph/Models/Generated/DeviceManagementSettingAbstractImplementationConstraint.cs b/src/Microsoft.Graph/Models/Generated/DeviceManagementSettingAbstractImplementationConstraint.cs new file mode 100644 index 00000000000..444d2875d84 --- /dev/null +++ b/src/Microsoft.Graph/Models/Generated/DeviceManagementSettingAbstractImplementationConstraint.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: Templates\CSharp\Model\ComplexType.cs.tt + +namespace Microsoft.Graph +{ + using System; + using System.Collections.Generic; + using System.IO; + using System.Runtime.Serialization; + using Newtonsoft.Json; + + /// + /// The type DeviceManagementSettingAbstractImplementationConstraint. + /// + [JsonObject(MemberSerialization = MemberSerialization.OptIn)] + public partial class DeviceManagementSettingAbstractImplementationConstraint : DeviceManagementConstraint + { + /// + /// Initializes a new instance of the class. + /// + public DeviceManagementSettingAbstractImplementationConstraint() + { + this.ODataType = "microsoft.graph.deviceManagementSettingAbstractImplementationConstraint"; + } + + /// + /// Gets or sets allowedAbstractImplementationDefinitionIds. + /// List of value which means not configured for the setting + /// + [JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "allowedAbstractImplementationDefinitionIds", Required = Newtonsoft.Json.Required.Default)] + public IEnumerable AllowedAbstractImplementationDefinitionIds { get; set; } + + } +} diff --git a/src/Microsoft.Graph/Models/Generated/GroupPolicyObjectFile.cs b/src/Microsoft.Graph/Models/Generated/GroupPolicyObjectFile.cs index 891a5bf15fd..101bdc05647 100644 --- a/src/Microsoft.Graph/Models/Generated/GroupPolicyObjectFile.cs +++ b/src/Microsoft.Graph/Models/Generated/GroupPolicyObjectFile.cs @@ -30,6 +30,34 @@ public GroupPolicyObjectFile() this.ODataType = "microsoft.graph.groupPolicyObjectFile"; } + /// + /// Gets or sets group policy object id. + /// The Group Policy Object GUID from GPO Xml content + /// + [JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "groupPolicyObjectId", Required = Newtonsoft.Json.Required.Default)] + public Guid? GroupPolicyObjectId { get; set; } + + /// + /// Gets or sets ou distinguished name. + /// The distinguished name of the OU. + /// + [JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "ouDistinguishedName", Required = Newtonsoft.Json.Required.Default)] + public string OuDistinguishedName { get; set; } + + /// + /// Gets or sets created date time. + /// The date and time at which the GroupPolicy was first uploaded. + /// + [JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "createdDateTime", Required = Newtonsoft.Json.Required.Default)] + public DateTimeOffset? CreatedDateTime { get; set; } + + /// + /// Gets or sets last modified date time. + /// The date and time at which the GroupPolicyObjectFile was last modified. + /// + [JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "lastModifiedDateTime", Required = Newtonsoft.Json.Required.Default)] + public DateTimeOffset? LastModifiedDateTime { get; set; } + /// /// Gets or sets content. /// The Group Policy Object file content. diff --git a/src/Microsoft.Graph/Models/Generated/GroupPolicyOperation.cs b/src/Microsoft.Graph/Models/Generated/GroupPolicyOperation.cs new file mode 100644 index 00000000000..412210b8871 --- /dev/null +++ b/src/Microsoft.Graph/Models/Generated/GroupPolicyOperation.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: Templates\CSharp\Model\EntityType.cs.tt + +namespace Microsoft.Graph +{ + using System; + using System.Collections.Generic; + using System.IO; + using System.Runtime.Serialization; + using Newtonsoft.Json; + + /// + /// The type Group Policy Operation. + /// + [JsonObject(MemberSerialization = MemberSerialization.OptIn)] + public partial class GroupPolicyOperation : Entity + { + + /// + /// The GroupPolicyOperation constructor + /// + public GroupPolicyOperation() + { + this.ODataType = "microsoft.graph.groupPolicyOperation"; + } + + /// + /// Gets or sets operation type. + /// The type of group policy operation. + /// + [JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "operationType", Required = Newtonsoft.Json.Required.Default)] + public GroupPolicyOperationType? OperationType { get; set; } + + /// + /// Gets or sets operation status. + /// The group policy operation status. + /// + [JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "operationStatus", Required = Newtonsoft.Json.Required.Default)] + public GroupPolicyOperationStatus? OperationStatus { get; set; } + + /// + /// Gets or sets status details. + /// The group policy operation status detail. + /// + [JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "statusDetails", Required = Newtonsoft.Json.Required.Default)] + public string StatusDetails { get; set; } + + /// + /// Gets or sets last modified date time. + /// The date and time the entity was last modified. + /// + [JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "lastModifiedDateTime", Required = Newtonsoft.Json.Required.Default)] + public DateTimeOffset? LastModifiedDateTime { get; set; } + + } +} + diff --git a/src/Microsoft.Graph/Models/Generated/GroupPolicyOperationStatus.cs b/src/Microsoft.Graph/Models/Generated/GroupPolicyOperationStatus.cs new file mode 100644 index 00000000000..1d085e1dff6 --- /dev/null +++ b/src/Microsoft.Graph/Models/Generated/GroupPolicyOperationStatus.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: Templates\CSharp\Model\EnumType.cs.tt + + +namespace Microsoft.Graph +{ + using Newtonsoft.Json; + + /// + /// The enum GroupPolicyOperationStatus. + /// + [JsonConverter(typeof(EnumConverter))] + public enum GroupPolicyOperationStatus + { + + /// + /// Unknown + /// + Unknown = 0, + + /// + /// In Progress + /// + InProgress = 1, + + /// + /// Success + /// + Success = 2, + + /// + /// Failed + /// + Failed = 3, + + } +} diff --git a/src/Microsoft.Graph/Models/Generated/SignInState.cs b/src/Microsoft.Graph/Models/Generated/GroupPolicyOperationType.cs similarity index 64% rename from src/Microsoft.Graph/Models/Generated/SignInState.cs rename to src/Microsoft.Graph/Models/Generated/GroupPolicyOperationType.cs index b39cbbdb21b..adcbdfc9f09 100644 --- a/src/Microsoft.Graph/Models/Generated/SignInState.cs +++ b/src/Microsoft.Graph/Models/Generated/GroupPolicyOperationType.cs @@ -13,41 +13,46 @@ namespace Microsoft.Graph using Newtonsoft.Json; /// - /// The enum SignInState. + /// The enum GroupPolicyOperationType. /// [JsonConverter(typeof(EnumConverter))] - public enum SignInState + public enum GroupPolicyOperationType { /// - /// Not Supported + /// None /// - NotSupported = 0, + None = 0, /// - /// Not Allowed By Policy + /// Upload /// - NotAllowedByPolicy = 1, + Upload = 1, /// - /// Not Provisioned + /// Upload New Version /// - NotProvisioned = 2, + UploadNewVersion = 2, /// - /// Phone Number Collision + /// Add Language Files /// - PhoneNumberCollision = 3, + AddLanguageFiles = 3, /// - /// Provisioned + /// Remove Language Files /// - Provisioned = 4, + RemoveLanguageFiles = 4, /// - /// Unknown Future Value + /// Update Language Files /// - UnknownFutureValue = 5, + UpdateLanguageFiles = 5, + + /// + /// Remove + /// + Remove = 6, } } diff --git a/src/Microsoft.Graph/Models/Generated/GroupPolicyUploadedDefinitionFile.cs b/src/Microsoft.Graph/Models/Generated/GroupPolicyUploadedDefinitionFile.cs new file mode 100644 index 00000000000..5c728b85e66 --- /dev/null +++ b/src/Microsoft.Graph/Models/Generated/GroupPolicyUploadedDefinitionFile.cs @@ -0,0 +1,84 @@ +// ------------------------------------------------------------------------------ +// 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: Templates\CSharp\Model\EntityType.cs.tt + +namespace Microsoft.Graph +{ + using System; + using System.Collections.Generic; + using System.IO; + using System.Runtime.Serialization; + using Newtonsoft.Json; + + /// + /// The type Group Policy Uploaded Definition File. + /// + [JsonObject(MemberSerialization = MemberSerialization.OptIn)] + public partial class GroupPolicyUploadedDefinitionFile : GroupPolicyDefinitionFile + { + + /// + /// The GroupPolicyUploadedDefinitionFile constructor + /// + public GroupPolicyUploadedDefinitionFile() + { + this.ODataType = "microsoft.graph.groupPolicyUploadedDefinitionFile"; + } + + /// + /// Gets or sets file name. + /// The file name of the uploaded ADML file. + /// + [JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "fileName", Required = Newtonsoft.Json.Required.Default)] + public string FileName { get; set; } + + /// + /// Gets or sets status. + /// The upload status of the uploaded ADMX file. + /// + [JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "status", Required = Newtonsoft.Json.Required.Default)] + public GroupPolicyUploadedDefinitionFileStatus? Status { get; set; } + + /// + /// Gets or sets content. + /// The contents of the uploaded ADMX file. + /// + [JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "content", Required = Newtonsoft.Json.Required.Default)] + public byte[] Content { get; set; } + + /// + /// Gets or sets upload date time. + /// The uploaded time of the uploaded ADMX file. + /// + [JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "uploadDateTime", Required = Newtonsoft.Json.Required.Default)] + public DateTimeOffset? UploadDateTime { get; set; } + + /// + /// Gets or sets default language code. + /// The default language of the uploaded ADMX file. + /// + [JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "defaultLanguageCode", Required = Newtonsoft.Json.Required.Default)] + public string DefaultLanguageCode { get; set; } + + /// + /// Gets or sets group policy uploaded language files. + /// The list of ADML files associated with the uploaded ADMX file. + /// + [JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "groupPolicyUploadedLanguageFiles", Required = Newtonsoft.Json.Required.Default)] + public IEnumerable GroupPolicyUploadedLanguageFiles { get; set; } + + /// + /// Gets or sets group policy operations. + /// The list of operations on the uploaded ADMX file. + /// + [JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "groupPolicyOperations", Required = Newtonsoft.Json.Required.Default)] + public IGroupPolicyUploadedDefinitionFileGroupPolicyOperationsCollectionPage GroupPolicyOperations { get; set; } + + } +} + diff --git a/src/Microsoft.Graph/Models/Generated/GroupPolicyUploadedDefinitionFileAddLanguageFilesRequestBody.cs b/src/Microsoft.Graph/Models/Generated/GroupPolicyUploadedDefinitionFileAddLanguageFilesRequestBody.cs new file mode 100644 index 00000000000..09ebeebbb23 --- /dev/null +++ b/src/Microsoft.Graph/Models/Generated/GroupPolicyUploadedDefinitionFileAddLanguageFilesRequestBody.cs @@ -0,0 +1,32 @@ +// ------------------------------------------------------------------------------ +// 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: Templates\CSharp\Model\MethodRequestBody.cs.tt + +namespace Microsoft.Graph +{ + using Newtonsoft.Json; + using System; + using System.Collections.Generic; + using System.IO; + using System.Runtime.Serialization; + + /// + /// The type GroupPolicyUploadedDefinitionFileAddLanguageFilesRequestBody. + /// + [JsonObject(MemberSerialization = MemberSerialization.OptIn)] + public partial class GroupPolicyUploadedDefinitionFileAddLanguageFilesRequestBody + { + + /// + /// Gets or sets GroupPolicyUploadedLanguageFiles. + /// + [JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "groupPolicyUploadedLanguageFiles", Required = Newtonsoft.Json.Required.Default)] + public IEnumerable GroupPolicyUploadedLanguageFiles { get; set; } + + } +} diff --git a/src/Microsoft.Graph/Models/Generated/GroupPolicyUploadedDefinitionFileRemoveLanguageFilesRequestBody.cs b/src/Microsoft.Graph/Models/Generated/GroupPolicyUploadedDefinitionFileRemoveLanguageFilesRequestBody.cs new file mode 100644 index 00000000000..2d8e6030f57 --- /dev/null +++ b/src/Microsoft.Graph/Models/Generated/GroupPolicyUploadedDefinitionFileRemoveLanguageFilesRequestBody.cs @@ -0,0 +1,32 @@ +// ------------------------------------------------------------------------------ +// 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: Templates\CSharp\Model\MethodRequestBody.cs.tt + +namespace Microsoft.Graph +{ + using Newtonsoft.Json; + using System; + using System.Collections.Generic; + using System.IO; + using System.Runtime.Serialization; + + /// + /// The type GroupPolicyUploadedDefinitionFileRemoveLanguageFilesRequestBody. + /// + [JsonObject(MemberSerialization = MemberSerialization.OptIn)] + public partial class GroupPolicyUploadedDefinitionFileRemoveLanguageFilesRequestBody + { + + /// + /// Gets or sets GroupPolicyUploadedLanguageFiles. + /// + [JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "groupPolicyUploadedLanguageFiles", Required = Newtonsoft.Json.Required.Default)] + public IEnumerable GroupPolicyUploadedLanguageFiles { get; set; } + + } +} diff --git a/src/Microsoft.Graph/Models/Generated/GroupPolicyUploadedDefinitionFileStatus.cs b/src/Microsoft.Graph/Models/Generated/GroupPolicyUploadedDefinitionFileStatus.cs new file mode 100644 index 00000000000..f7966064ac0 --- /dev/null +++ b/src/Microsoft.Graph/Models/Generated/GroupPolicyUploadedDefinitionFileStatus.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: Templates\CSharp\Model\EnumType.cs.tt + + +namespace Microsoft.Graph +{ + using Newtonsoft.Json; + + /// + /// The enum GroupPolicyUploadedDefinitionFileStatus. + /// + [JsonConverter(typeof(EnumConverter))] + public enum GroupPolicyUploadedDefinitionFileStatus + { + + /// + /// None + /// + None = 0, + + /// + /// Upload In Progress + /// + UploadInProgress = 1, + + /// + /// Available + /// + Available = 2, + + /// + /// Assigned + /// + Assigned = 3, + + /// + /// Removal In Progress + /// + RemovalInProgress = 4, + + /// + /// Upload Failed + /// + UploadFailed = 5, + + /// + /// Removal Failed + /// + RemovalFailed = 6, + + } +} diff --git a/src/Microsoft.Graph/Models/Generated/GroupPolicyUploadedDefinitionFileUpdateLanguageFilesRequestBody.cs b/src/Microsoft.Graph/Models/Generated/GroupPolicyUploadedDefinitionFileUpdateLanguageFilesRequestBody.cs new file mode 100644 index 00000000000..24b1992adef --- /dev/null +++ b/src/Microsoft.Graph/Models/Generated/GroupPolicyUploadedDefinitionFileUpdateLanguageFilesRequestBody.cs @@ -0,0 +1,32 @@ +// ------------------------------------------------------------------------------ +// 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: Templates\CSharp\Model\MethodRequestBody.cs.tt + +namespace Microsoft.Graph +{ + using Newtonsoft.Json; + using System; + using System.Collections.Generic; + using System.IO; + using System.Runtime.Serialization; + + /// + /// The type GroupPolicyUploadedDefinitionFileUpdateLanguageFilesRequestBody. + /// + [JsonObject(MemberSerialization = MemberSerialization.OptIn)] + public partial class GroupPolicyUploadedDefinitionFileUpdateLanguageFilesRequestBody + { + + /// + /// Gets or sets GroupPolicyUploadedLanguageFiles. + /// + [JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "groupPolicyUploadedLanguageFiles", Required = Newtonsoft.Json.Required.Default)] + public IEnumerable GroupPolicyUploadedLanguageFiles { get; set; } + + } +} diff --git a/src/Microsoft.Graph/Models/Generated/GroupPolicyUploadedDefinitionFileUploadNewVersionRequestBody.cs b/src/Microsoft.Graph/Models/Generated/GroupPolicyUploadedDefinitionFileUploadNewVersionRequestBody.cs new file mode 100644 index 00000000000..ed282a2d7e7 --- /dev/null +++ b/src/Microsoft.Graph/Models/Generated/GroupPolicyUploadedDefinitionFileUploadNewVersionRequestBody.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: Templates\CSharp\Model\MethodRequestBody.cs.tt + +namespace Microsoft.Graph +{ + using Newtonsoft.Json; + using System; + using System.Collections.Generic; + using System.IO; + using System.Runtime.Serialization; + + /// + /// The type GroupPolicyUploadedDefinitionFileUploadNewVersionRequestBody. + /// + [JsonObject(MemberSerialization = MemberSerialization.OptIn)] + public partial class GroupPolicyUploadedDefinitionFileUploadNewVersionRequestBody + { + + /// + /// Gets or sets Content. + /// + [JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "content", Required = Newtonsoft.Json.Required.Default)] + public byte[] Content { get; set; } + + /// + /// Gets or sets GroupPolicyUploadedLanguageFiles. + /// + [JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "groupPolicyUploadedLanguageFiles", Required = Newtonsoft.Json.Required.Default)] + public IEnumerable GroupPolicyUploadedLanguageFiles { get; set; } + + } +} diff --git a/src/Microsoft.Graph/Models/Generated/GroupPolicyUploadedLanguageFile.cs b/src/Microsoft.Graph/Models/Generated/GroupPolicyUploadedLanguageFile.cs new file mode 100644 index 00000000000..e36c4b97d5a --- /dev/null +++ b/src/Microsoft.Graph/Models/Generated/GroupPolicyUploadedLanguageFile.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: Templates\CSharp\Model\ComplexType.cs.tt + +namespace Microsoft.Graph +{ + using System; + using System.Collections.Generic; + using System.IO; + using System.Runtime.Serialization; + using Newtonsoft.Json; + + /// + /// The type GroupPolicyUploadedLanguageFile. + /// + [JsonObject(MemberSerialization = MemberSerialization.OptIn)] + [JsonConverter(typeof(DerivedTypeConverter))] + public partial class GroupPolicyUploadedLanguageFile + { + /// + /// Initializes a new instance of the class. + /// + public GroupPolicyUploadedLanguageFile() + { + this.ODataType = "microsoft.graph.groupPolicyUploadedLanguageFile"; + } + + /// + /// Gets or sets fileName. + /// The file name of the uploaded ADML file. + /// + [JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "fileName", Required = Newtonsoft.Json.Required.Default)] + public string FileName { get; set; } + + /// + /// Gets or sets languageCode. + /// The language code of the uploaded ADML file. + /// + [JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "languageCode", Required = Newtonsoft.Json.Required.Default)] + public string LanguageCode { get; set; } + + /// + /// Gets or sets content. + /// The contents of the uploaded ADML file. + /// + [JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "content", Required = Newtonsoft.Json.Required.Default)] + public byte[] Content { get; set; } + + /// + /// Gets or sets id. + /// Key of the entity. + /// + [JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "id", Required = Newtonsoft.Json.Required.Default)] + public string Id { get; set; } + + /// + /// Gets or sets lastModifiedDateTime. + /// The date and time the entity was last modified. + /// + [JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "lastModifiedDateTime", Required = Newtonsoft.Json.Required.Default)] + public DateTimeOffset? LastModifiedDateTime { get; set; } + + /// + /// Gets or sets additional data. + /// + [JsonExtensionData(ReadData = true)] + public IDictionary AdditionalData { get; set; } + + /// + /// Gets or sets @odata.type. + /// + [JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "@odata.type", Required = Newtonsoft.Json.Required.Default)] + public string ODataType { get; set; } + + } +} diff --git a/src/Microsoft.Graph/Models/Generated/IosAzureAdSingleSignOnExtension.cs b/src/Microsoft.Graph/Models/Generated/IosAzureAdSingleSignOnExtension.cs index cb160f15133..06d32173fa3 100644 --- a/src/Microsoft.Graph/Models/Generated/IosAzureAdSingleSignOnExtension.cs +++ b/src/Microsoft.Graph/Models/Generated/IosAzureAdSingleSignOnExtension.cs @@ -29,5 +29,19 @@ public IosAzureAdSingleSignOnExtension() this.ODataType = "microsoft.graph.iosAzureAdSingleSignOnExtension"; } + /// + /// Gets or sets enableSharedDeviceMode. + /// Enables or disables shared device mode. + /// + [JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "enableSharedDeviceMode", Required = Newtonsoft.Json.Required.Default)] + public bool? EnableSharedDeviceMode { get; set; } + + /// + /// Gets or sets configurations. + /// Gets or sets a list of typed key-value pairs used to configure Credential-type profiles. This collection can contain a maximum of 500 elements. + /// + [JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "configurations", Required = Newtonsoft.Json.Required.Default)] + public IEnumerable Configurations { get; set; } + } } diff --git a/src/Microsoft.Graph/Models/Generated/IosExpeditedCheckinConfiguration.cs b/src/Microsoft.Graph/Models/Generated/IosExpeditedCheckinConfiguration.cs new file mode 100644 index 00000000000..05a303af54f --- /dev/null +++ b/src/Microsoft.Graph/Models/Generated/IosExpeditedCheckinConfiguration.cs @@ -0,0 +1,35 @@ +// ------------------------------------------------------------------------------ +// 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: Templates\CSharp\Model\EntityType.cs.tt + +namespace Microsoft.Graph +{ + using System; + using System.Collections.Generic; + using System.IO; + using System.Runtime.Serialization; + using Newtonsoft.Json; + + /// + /// The type Ios Expedited Checkin Configuration. + /// + [JsonObject(MemberSerialization = MemberSerialization.OptIn)] + public partial class IosExpeditedCheckinConfiguration : AppleExpeditedCheckinConfigurationBase + { + + /// + /// The IosExpeditedCheckinConfiguration constructor + /// + public IosExpeditedCheckinConfiguration() + { + this.ODataType = "microsoft.graph.iosExpeditedCheckinConfiguration"; + } + + } +} + diff --git a/src/Microsoft.Graph/Models/Generated/ManagedDevice.cs b/src/Microsoft.Graph/Models/Generated/ManagedDevice.cs index d8fb0aca2cd..0ae479dc6a4 100644 --- a/src/Microsoft.Graph/Models/Generated/ManagedDevice.cs +++ b/src/Microsoft.Graph/Models/Generated/ManagedDevice.cs @@ -527,6 +527,13 @@ public ManagedDevice() [JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "processorArchitecture", Required = Newtonsoft.Json.Required.Default)] public ManagedDeviceArchitecture? ProcessorArchitecture { get; set; } + /// + /// Gets or sets specification version. + /// Specification version. This property is read-only. + /// + [JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "specificationVersion", Required = Newtonsoft.Json.Required.Default)] + public string SpecificationVersion { get; set; } + /// /// Gets or sets security baseline states. /// Security baseline states for this device. diff --git a/src/Microsoft.Graph/Models/Generated/ManagedDeviceMobileAppConfigurationSettingState.cs b/src/Microsoft.Graph/Models/Generated/ManagedDeviceMobileAppConfigurationSettingState.cs index bf3b3798b57..7b972670f30 100644 --- a/src/Microsoft.Graph/Models/Generated/ManagedDeviceMobileAppConfigurationSettingState.cs +++ b/src/Microsoft.Graph/Models/Generated/ManagedDeviceMobileAppConfigurationSettingState.cs @@ -114,6 +114,13 @@ public ManagedDeviceMobileAppConfigurationSettingState() [JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "currentValue", Required = Newtonsoft.Json.Required.Default)] public string CurrentValue { get; set; } + /// + /// Gets or sets settingInstanceId. + /// SettingInstanceId + /// + [JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "settingInstanceId", Required = Newtonsoft.Json.Required.Default)] + public string SettingInstanceId { get; set; } + /// /// Gets or sets additional data. /// diff --git a/src/Microsoft.Graph/Models/Generated/PolicyPlatformType.cs b/src/Microsoft.Graph/Models/Generated/PolicyPlatformType.cs index bd0e2f81e13..4b92936f6ae 100644 --- a/src/Microsoft.Graph/Models/Generated/PolicyPlatformType.cs +++ b/src/Microsoft.Graph/Models/Generated/PolicyPlatformType.cs @@ -59,6 +59,11 @@ public enum PolicyPlatformType /// AndroidWorkProfile = 7, + /// + /// Windows10XProfile + /// + Windows10XProfile = 8, + /// /// All /// diff --git a/src/Microsoft.Graph/Models/Generated/SmsAuthenticationMethod.cs b/src/Microsoft.Graph/Models/Generated/SmsAuthenticationMethod.cs deleted file mode 100644 index 0c36d4620a4..00000000000 --- a/src/Microsoft.Graph/Models/Generated/SmsAuthenticationMethod.cs +++ /dev/null @@ -1,53 +0,0 @@ -// ------------------------------------------------------------------------------ -// 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: Templates\CSharp\Model\EntityType.cs.tt - -namespace Microsoft.Graph -{ - using System; - using System.Collections.Generic; - using System.IO; - using System.Runtime.Serialization; - using Newtonsoft.Json; - - /// - /// The type Sms Authentication Method. - /// - [JsonObject(MemberSerialization = MemberSerialization.OptIn)] - public partial class SmsAuthenticationMethod : AuthenticationMethod - { - - /// - /// The SmsAuthenticationMethod constructor - /// - public SmsAuthenticationMethod() - { - this.ODataType = "microsoft.graph.smsAuthenticationMethod"; - } - - /// - /// Gets or sets phone number. - /// - [JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "phoneNumber", Required = Newtonsoft.Json.Required.Default)] - public string PhoneNumber { get; set; } - - /// - /// Gets or sets phone type. - /// - [JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "phoneType", Required = Newtonsoft.Json.Required.Default)] - public AuthenticationPhoneType? PhoneType { get; set; } - - /// - /// Gets or sets sign in state. - /// - [JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "signInState", Required = Newtonsoft.Json.Required.Default)] - public SignInState? SignInState { get; set; } - - } -} - diff --git a/src/Microsoft.Graph/Models/Generated/UserExperienceAnalyticsStartupScoreHistory.cs b/src/Microsoft.Graph/Models/Generated/UserExperienceAnalyticsScoreHistory.cs similarity index 81% rename from src/Microsoft.Graph/Models/Generated/UserExperienceAnalyticsStartupScoreHistory.cs rename to src/Microsoft.Graph/Models/Generated/UserExperienceAnalyticsScoreHistory.cs index cf3633d7f94..ea52873b76d 100644 --- a/src/Microsoft.Graph/Models/Generated/UserExperienceAnalyticsStartupScoreHistory.cs +++ b/src/Microsoft.Graph/Models/Generated/UserExperienceAnalyticsScoreHistory.cs @@ -16,18 +16,18 @@ namespace Microsoft.Graph using Newtonsoft.Json; /// - /// The type User Experience Analytics Startup Score History. + /// The type User Experience Analytics Score History. /// [JsonObject(MemberSerialization = MemberSerialization.OptIn)] - public partial class UserExperienceAnalyticsStartupScoreHistory : Entity + public partial class UserExperienceAnalyticsScoreHistory : Entity { /// - /// The UserExperienceAnalyticsStartupScoreHistory constructor + /// The UserExperienceAnalyticsScoreHistory constructor /// - public UserExperienceAnalyticsStartupScoreHistory() + public UserExperienceAnalyticsScoreHistory() { - this.ODataType = "microsoft.graph.userExperienceAnalyticsStartupScoreHistory"; + this.ODataType = "microsoft.graph.userExperienceAnalyticsScoreHistory"; } /// diff --git a/src/Microsoft.Graph/Requests/Generated/AndroidDeviceOwnerDerivedCredentialAuthenticationConfigurationRequest.cs b/src/Microsoft.Graph/Requests/Generated/AndroidDeviceOwnerDerivedCredentialAuthenticationConfigurationRequest.cs new file mode 100644 index 00000000000..71f1a65e2d2 --- /dev/null +++ b/src/Microsoft.Graph/Requests/Generated/AndroidDeviceOwnerDerivedCredentialAuthenticationConfigurationRequest.cs @@ -0,0 +1,236 @@ +// ------------------------------------------------------------------------------ +// 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: Templates\CSharp\Requests\EntityRequest.cs.tt + +namespace Microsoft.Graph +{ + using System; + using System.Collections.Generic; + using System.IO; + using System.Net.Http; + using System.Threading; + using System.Linq.Expressions; + + /// + /// The type AndroidDeviceOwnerDerivedCredentialAuthenticationConfigurationRequest. + /// + public partial class AndroidDeviceOwnerDerivedCredentialAuthenticationConfigurationRequest : BaseRequest, IAndroidDeviceOwnerDerivedCredentialAuthenticationConfigurationRequest + { + /// + /// Constructs a new AndroidDeviceOwnerDerivedCredentialAuthenticationConfigurationRequest. + /// + /// The URL for the built request. + /// The for handling requests. + /// Query and header option name value pairs for the request. + public AndroidDeviceOwnerDerivedCredentialAuthenticationConfigurationRequest( + string requestUrl, + IBaseClient client, + IEnumerable /// The built request. - public new IUserExperienceAnalyticsStartupScoreHistoryRequest Request() + public new IAppleExpeditedCheckinConfigurationBaseRequest Request() { return this.Request(null); } @@ -45,9 +45,9 @@ public UserExperienceAnalyticsStartupScoreHistoryRequestBuilder( /// /// The query and header options for the request. /// The built request. - public new IUserExperienceAnalyticsStartupScoreHistoryRequest Request(IEnumerable /// The expression from which to calculate the expand value. /// The request object to send. - public IAuthenticationSmsMethodsCollectionRequest Expand(Expression> expandExpression) + public IDeviceManagementGroupPolicyUploadedDefinitionFilesCollectionRequest Expand(Expression> expandExpression) { if (expandExpression == null) { @@ -141,7 +141,7 @@ public IAuthenticationSmsMethodsCollectionRequest Expand(Expression /// The select value. /// The request object to send. - public IAuthenticationSmsMethodsCollectionRequest Select(string value) + public IDeviceManagementGroupPolicyUploadedDefinitionFilesCollectionRequest Select(string value) { this.QueryOptions.Add(new QueryOption("$select", value)); return this; @@ -152,7 +152,7 @@ public IAuthenticationSmsMethodsCollectionRequest Select(string value) /// /// The expression from which to calculate the select value. /// The request object to send. - public IAuthenticationSmsMethodsCollectionRequest Select(Expression> selectExpression) + public IDeviceManagementGroupPolicyUploadedDefinitionFilesCollectionRequest Select(Expression> selectExpression) { if (selectExpression == null) { @@ -176,7 +176,7 @@ public IAuthenticationSmsMethodsCollectionRequest Select(Expression /// The top value. /// The request object to send. - public IAuthenticationSmsMethodsCollectionRequest Top(int value) + public IDeviceManagementGroupPolicyUploadedDefinitionFilesCollectionRequest Top(int value) { this.QueryOptions.Add(new QueryOption("$top", value.ToString())); return this; @@ -187,7 +187,7 @@ public IAuthenticationSmsMethodsCollectionRequest Top(int value) /// /// The filter value. /// The request object to send. - public IAuthenticationSmsMethodsCollectionRequest Filter(string value) + public IDeviceManagementGroupPolicyUploadedDefinitionFilesCollectionRequest Filter(string value) { this.QueryOptions.Add(new QueryOption("$filter", value)); return this; @@ -198,7 +198,7 @@ public IAuthenticationSmsMethodsCollectionRequest Filter(string value) /// /// The skip value. /// The request object to send. - public IAuthenticationSmsMethodsCollectionRequest Skip(int value) + public IDeviceManagementGroupPolicyUploadedDefinitionFilesCollectionRequest Skip(int value) { this.QueryOptions.Add(new QueryOption("$skip", value.ToString())); return this; @@ -209,7 +209,7 @@ public IAuthenticationSmsMethodsCollectionRequest Skip(int value) /// /// The orderby value. /// The request object to send. - public IAuthenticationSmsMethodsCollectionRequest OrderBy(string value) + public IDeviceManagementGroupPolicyUploadedDefinitionFilesCollectionRequest OrderBy(string value) { this.QueryOptions.Add(new QueryOption("$orderby", value)); return this; diff --git a/src/Microsoft.Graph/Requests/Generated/AuthenticationSmsMethodsCollectionRequestBuilder.cs b/src/Microsoft.Graph/Requests/Generated/DeviceManagementGroupPolicyUploadedDefinitionFilesCollectionRequestBuilder.cs similarity index 52% rename from src/Microsoft.Graph/Requests/Generated/AuthenticationSmsMethodsCollectionRequestBuilder.cs rename to src/Microsoft.Graph/Requests/Generated/DeviceManagementGroupPolicyUploadedDefinitionFilesCollectionRequestBuilder.cs index bafab397345..03167ced821 100644 --- a/src/Microsoft.Graph/Requests/Generated/AuthenticationSmsMethodsCollectionRequestBuilder.cs +++ b/src/Microsoft.Graph/Requests/Generated/DeviceManagementGroupPolicyUploadedDefinitionFilesCollectionRequestBuilder.cs @@ -12,16 +12,16 @@ namespace Microsoft.Graph using System.Collections.Generic; /// - /// The type AuthenticationSmsMethodsCollectionRequestBuilder. + /// The type DeviceManagementGroupPolicyUploadedDefinitionFilesCollectionRequestBuilder. /// - public partial class AuthenticationSmsMethodsCollectionRequestBuilder : BaseRequestBuilder, IAuthenticationSmsMethodsCollectionRequestBuilder + public partial class DeviceManagementGroupPolicyUploadedDefinitionFilesCollectionRequestBuilder : BaseRequestBuilder, IDeviceManagementGroupPolicyUploadedDefinitionFilesCollectionRequestBuilder { /// - /// Constructs a new AuthenticationSmsMethodsCollectionRequestBuilder. + /// Constructs a new DeviceManagementGroupPolicyUploadedDefinitionFilesCollectionRequestBuilder. /// /// The URL for the built request. /// The for handling requests. - public AuthenticationSmsMethodsCollectionRequestBuilder( + public DeviceManagementGroupPolicyUploadedDefinitionFilesCollectionRequestBuilder( string requestUrl, IBaseClient client) : base(requestUrl, client) @@ -32,7 +32,7 @@ public AuthenticationSmsMethodsCollectionRequestBuilder( /// Builds the request. /// /// The built request. - public IAuthenticationSmsMethodsCollectionRequest Request() + public IDeviceManagementGroupPolicyUploadedDefinitionFilesCollectionRequest Request() { return this.Request(null); } @@ -42,21 +42,21 @@ public IAuthenticationSmsMethodsCollectionRequest Request() /// /// The query and header options for the request. /// The built request. - public IAuthenticationSmsMethodsCollectionRequest Request(IEnumerable