Skip to content

Commit

Permalink
Update generated files with build 2780822 (#99)
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] authored Apr 21, 2020
1 parent 33c1fcf commit 3ad8d44
Show file tree
Hide file tree
Showing 139 changed files with 5,754 additions and 843 deletions.
4 changes: 2 additions & 2 deletions src/Microsoft.Graph/Microsoft.Graph.Beta.csproj
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<Project Sdk="Microsoft.NET.Sdk">
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<Description>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.</Description>
<Copyright>© Microsoft Corporation. All rights reserved.</Copyright>
Expand All @@ -22,7 +22,7 @@
<PackageReleaseNotes>
</PackageReleaseNotes>
<!-- edit this value to change the current major.minor.patch version -->
<VersionPrefix>0.16.0</VersionPrefix>
<VersionPrefix>0.17.0</VersionPrefix>
<!-- adds a version suffix if the Prerelease environment variable is set. BUILD_BUILDID is an
environment variable set by Azure pipelines from the build. We can use the buildid to correlate
which commit was used to generate the preview build. -->
Expand Down
Original file line number Diff line number Diff line change
@@ -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.
// <auto-generated/>

// 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;

/// <summary>
/// The type Android Device Owner Derived Credential Authentication Configuration.
/// </summary>
[JsonObject(MemberSerialization = MemberSerialization.OptIn)]
public partial class AndroidDeviceOwnerDerivedCredentialAuthenticationConfiguration : DeviceConfiguration
{

///<summary>
/// The AndroidDeviceOwnerDerivedCredentialAuthenticationConfiguration constructor
///</summary>
public AndroidDeviceOwnerDerivedCredentialAuthenticationConfiguration()
{
this.ODataType = "microsoft.graph.androidDeviceOwnerDerivedCredentialAuthenticationConfiguration";
}

/// <summary>
/// Gets or sets derived credential settings.
/// Tenant level settings for the Derived Credentials to be used for authentication.
/// </summary>
[JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "derivedCredentialSettings", Required = Newtonsoft.Json.Required.Default)]
public DeviceManagementDerivedCredentialSettings DerivedCredentialSettings { get; set; }

}
}

Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,13 @@ public AndroidDeviceOwnerEnterpriseWiFiConfiguration()
[JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "identityCertificateForClientAuthentication", Required = Newtonsoft.Json.Required.Default)]
public AndroidDeviceOwnerCertificateProfileBase IdentityCertificateForClientAuthentication { get; set; }

/// <summary>
/// Gets or sets derived credential settings.
/// Tenant level settings for the Derived Credentials to be used for authentication.
/// </summary>
[JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "derivedCredentialSettings", Required = Newtonsoft.Json.Required.Default)]
public DeviceManagementDerivedCredentialSettings DerivedCredentialSettings { get; set; }

}
}

Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,13 @@ public AndroidDeviceOwnerVpnConfiguration()
[JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "identityCertificate", Required = Newtonsoft.Json.Required.Default)]
public AndroidDeviceOwnerCertificateProfileBase IdentityCertificate { get; set; }

/// <summary>
/// Gets or sets derived credential settings.
/// Tenant level settings for the Derived Credentials to be used for authentication.
/// </summary>
[JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "derivedCredentialSettings", Required = Newtonsoft.Json.Required.Default)]
public DeviceManagementDerivedCredentialSettings DerivedCredentialSettings { get; set; }

}
}

Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,13 @@ public AndroidForWorkMobileAppConfiguration()
[JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "permissionActions", Required = Newtonsoft.Json.Required.Default)]
public IEnumerable<AndroidPermissionAction> PermissionActions { get; set; }

/// <summary>
/// Gets or sets profile applicability.
/// Android Enterprise profile applicability (AndroidWorkProfile, DeviceOwner, or default (applies to both)).
/// </summary>
[JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "profileApplicability", Required = Newtonsoft.Json.Required.Default)]
public AndroidProfileApplicability? ProfileApplicability { get; set; }

}
}

Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,13 @@ public AndroidManagedStoreApp()
[JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "isSystemApp", Required = Newtonsoft.Json.Required.Default)]
public bool? IsSystemApp { get; set; }

/// <summary>
/// Gets or sets app tracks.
/// The tracks that are visible to this enterprise.
/// </summary>
[JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "appTracks", Required = Newtonsoft.Json.Required.Default)]
public IEnumerable<AndroidManagedStoreAppTrack> AppTracks { get; set; }

/// <summary>
/// Gets or sets supports oem config.
/// Whether this app supports OEMConfig policy.
Expand Down
Original file line number Diff line number Diff line change
@@ -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.
// <auto-generated/>

// 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;

/// <summary>
/// The type AndroidManagedStoreAppAssignmentSettings.
/// </summary>
[JsonObject(MemberSerialization = MemberSerialization.OptIn)]
public partial class AndroidManagedStoreAppAssignmentSettings : MobileAppAssignmentSettings
{
/// <summary>
/// Initializes a new instance of the <see cref="AndroidManagedStoreAppAssignmentSettings"/> class.
/// </summary>
public AndroidManagedStoreAppAssignmentSettings()
{
this.ODataType = "microsoft.graph.androidManagedStoreAppAssignmentSettings";
}

/// <summary>
/// Gets or sets androidManagedStoreAppTrackIds.
/// The track IDs to enable for this app assignment.
/// </summary>
[JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "androidManagedStoreAppTrackIds", Required = Newtonsoft.Json.Required.Default)]
public IEnumerable<string> AndroidManagedStoreAppTrackIds { get; set; }

}
}
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,13 @@ public AndroidManagedStoreAppConfiguration()
[JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "appSupportsOemConfig", Required = Newtonsoft.Json.Required.Default)]
public bool? AppSupportsOemConfig { get; set; }

/// <summary>
/// Gets or sets profile applicability.
/// Android Enterprise profile applicability (AndroidWorkProfile, DeviceOwner, or default (applies to both)).
/// </summary>
[JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "profileApplicability", Required = Newtonsoft.Json.Required.Default)]
public AndroidProfileApplicability? ProfileApplicability { get; set; }

}
}

Original file line number Diff line number Diff line change
@@ -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.
// <auto-generated/>

// 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;

/// <summary>
/// The type AndroidManagedStoreAppTrack.
/// </summary>
[JsonObject(MemberSerialization = MemberSerialization.OptIn)]
[JsonConverter(typeof(DerivedTypeConverter))]
public partial class AndroidManagedStoreAppTrack
{
/// <summary>
/// Initializes a new instance of the <see cref="AndroidManagedStoreAppTrack"/> class.
/// </summary>
public AndroidManagedStoreAppTrack()
{
this.ODataType = "microsoft.graph.androidManagedStoreAppTrack";
}

/// <summary>
/// Gets or sets trackId.
/// Unique track identifier.
/// </summary>
[JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "trackId", Required = Newtonsoft.Json.Required.Default)]
public string TrackId { get; set; }

/// <summary>
/// Gets or sets trackAlias.
/// Friendly name for track.
/// </summary>
[JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "trackAlias", Required = Newtonsoft.Json.Required.Default)]
public string TrackAlias { get; set; }

/// <summary>
/// Gets or sets additional data.
/// </summary>
[JsonExtensionData(ReadData = true)]
public IDictionary<string, object> AdditionalData { get; set; }

/// <summary>
/// Gets or sets @odata.type.
/// </summary>
[JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "@odata.type", Required = Newtonsoft.Json.Required.Default)]
public string ODataType { get; set; }

}
}
Original file line number Diff line number Diff line change
@@ -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.
// <auto-generated/>

// Template Source: Templates\CSharp\Model\EnumType.cs.tt


namespace Microsoft.Graph
{
using Newtonsoft.Json;

/// <summary>
/// The enum AndroidProfileApplicability.
/// </summary>
[JsonConverter(typeof(EnumConverter))]
public enum AndroidProfileApplicability
{

/// <summary>
/// Default
/// </summary>
Default = 0,

/// <summary>
/// Android Work Profile
/// </summary>
AndroidWorkProfile = 1,

/// <summary>
/// Android Device Owner
/// </summary>
AndroidDeviceOwner = 2,

}
}
33 changes: 33 additions & 0 deletions src/Microsoft.Graph/Models/Generated/AppleAppListItem.cs
Original file line number Diff line number Diff line change
@@ -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.
// <auto-generated/>

// 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;

/// <summary>
/// The type AppleAppListItem.
/// </summary>
[JsonObject(MemberSerialization = MemberSerialization.OptIn)]
public partial class AppleAppListItem : AppListItem
{
/// <summary>
/// Initializes a new instance of the <see cref="AppleAppListItem"/> class.
/// </summary>
public AppleAppListItem()
{
this.ODataType = "microsoft.graph.appleAppListItem";
}

}
}
Original file line number Diff line number Diff line change
Expand Up @@ -16,31 +16,26 @@ namespace Microsoft.Graph
using Newtonsoft.Json;

/// <summary>
/// The type Voice Authentication Method.
/// The type Apple Expedited Checkin Configuration Base.
/// </summary>
[JsonObject(MemberSerialization = MemberSerialization.OptIn)]
public partial class VoiceAuthenticationMethod : AuthenticationMethod
public partial class AppleExpeditedCheckinConfigurationBase : DeviceConfiguration
{

///<summary>
/// The VoiceAuthenticationMethod constructor
/// The internal AppleExpeditedCheckinConfigurationBase constructor
///</summary>
public VoiceAuthenticationMethod()
protected internal AppleExpeditedCheckinConfigurationBase()
{
this.ODataType = "microsoft.graph.voiceAuthenticationMethod";
// Don't allow initialization of abstract entity types
}

/// <summary>
/// Gets or sets phone number.
/// </summary>
[JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "phoneNumber", Required = Newtonsoft.Json.Required.Default)]
public string PhoneNumber { get; set; }

/// <summary>
/// Gets or sets phone type.
/// Gets or sets enable expedited checkin.
/// Gets or sets whether to enable expedited device check-ins.
/// </summary>
[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; }

}
}
Expand Down
12 changes: 0 additions & 12 deletions src/Microsoft.Graph/Models/Generated/Authentication.cs
Original file line number Diff line number Diff line change
Expand Up @@ -36,18 +36,6 @@ public Authentication()
[JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "methods", Required = Newtonsoft.Json.Required.Default)]
public IAuthenticationMethodsCollectionPage Methods { get; set; }

/// <summary>
/// Gets or sets sms methods.
/// </summary>
[JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "smsMethods", Required = Newtonsoft.Json.Required.Default)]
public IAuthenticationSmsMethodsCollectionPage SmsMethods { get; set; }

/// <summary>
/// Gets or sets voice methods.
/// </summary>
[JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "voiceMethods", Required = Newtonsoft.Json.Required.Default)]
public IAuthenticationVoiceMethodsCollectionPage VoiceMethods { get; set; }

/// <summary>
/// Gets or sets phone methods.
/// </summary>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,19 +34,19 @@ public ChangeNotificationEncryptedContent()
/// Gets or sets data.
/// </summary>
[JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "data", Required = Newtonsoft.Json.Required.Default)]
public byte[] Data { get; set; }
public string Data { get; set; }

/// <summary>
/// Gets or sets dataSignature.
/// </summary>
[JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "dataSignature", Required = Newtonsoft.Json.Required.Default)]
public byte[] DataSignature { get; set; }
public string DataSignature { get; set; }

/// <summary>
/// Gets or sets dataKey.
/// </summary>
[JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "dataKey", Required = Newtonsoft.Json.Required.Default)]
public byte[] DataKey { get; set; }
public string DataKey { get; set; }

/// <summary>
/// Gets or sets encryptionCertificateId.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,13 @@ public DeviceCompliancePolicySettingState()
[JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "currentValue", Required = Newtonsoft.Json.Required.Default)]
public string CurrentValue { get; set; }

/// <summary>
/// Gets or sets settingInstanceId.
/// SettingInstanceId
/// </summary>
[JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "settingInstanceId", Required = Newtonsoft.Json.Required.Default)]
public string SettingInstanceId { get; set; }

/// <summary>
/// Gets or sets additional data.
/// </summary>
Expand Down
Loading

0 comments on commit 3ad8d44

Please sign in to comment.