Skip to content

Commit

Permalink
Generated based on microsoftgraph/msgraph-metadata 7ad5793
Browse files Browse the repository at this point in the history
* New models and requests added.
* OData.Type is set in the cstor for ll complex types.
* GraphServiceClient cstor supports HttpClient.
  • Loading branch information
MIchaelMainer committed Oct 15, 2019
1 parent b021f3a commit e21e3c5
Show file tree
Hide file tree
Showing 802 changed files with 19,862 additions and 1,449 deletions.
11 changes: 8 additions & 3 deletions src/Microsoft.Graph/Microsoft.Graph.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -19,14 +19,19 @@
<DelaySign>false</DelaySign>
<AssemblyOriginatorKeyFile>35MSSharedLib1024.snk</AssemblyOriginatorKeyFile>
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
<VersionPrefix>1.17.0</VersionPrefix>
<VersionPrefix>1.18.0</VersionPrefix>
<!-- VersionPrefix minor version should not be set when the change comes from the generator. It will be updated automatically. -->
<!-- VersionPrefix minor version must be manually set when making manual changes to code. -->
<!-- VersionPrefix major and patch versions must be manually set. -->
<VersionSuffix></VersionSuffix>
<PackageReleaseNotes>
- New generated requests and models.
- Add PageIterator from Microsoft.Graph.Core library.
- Support for setting a custom HttpClient on GraphServiceClient.
- New requests and models.
- Generated from cleaned and documented v1.0 metadata from commit 7ad5793 in microsoftgraph/msgraph-metadata.xml.
- Odata.Type is set in the constructor at generation time complex types
- ConvertId support added for Exchange based identifiers.
- Fix reordered parameters.
- Many non-functional changes based on metadata reordering.
</PackageReleaseNotes>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='Debug|netstandard1.3|AnyCPU'">
Expand Down
7 changes: 7 additions & 0 deletions src/Microsoft.Graph/Models/Generated/AccessAction.cs
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,13 @@ namespace Microsoft.Graph
[JsonConverter(typeof(DerivedTypeConverter))]
public partial class AccessAction
{
/// <summary>
/// Initializes a new instance of the <see cref="AccessAction"/> class.
/// </summary>
public AccessAction()
{
this.ODataType = "microsoft.graph.accessAction";
}

/// <summary>
/// Gets or sets additional data.
Expand Down
8 changes: 8 additions & 0 deletions src/Microsoft.Graph/Models/Generated/ActivityHistoryItem.cs
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,14 @@ namespace Microsoft.Graph
public partial class ActivityHistoryItem : Entity
{

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

/// <summary>
/// Gets or sets status.
/// Set by the server. A status code used to identify valid objects. Values: active, updated, deleted, ignored.
Expand Down
8 changes: 8 additions & 0 deletions src/Microsoft.Graph/Models/Generated/AdministrativeUnit.cs
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,14 @@ namespace Microsoft.Graph
public partial class AdministrativeUnit : DirectoryObject
{

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

}
}

8 changes: 8 additions & 0 deletions src/Microsoft.Graph/Models/Generated/Alert.cs
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,14 @@ namespace Microsoft.Graph
public partial class Alert : Entity
{

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

/// <summary>
/// Gets or sets activity group name.
/// Name or alias of the activity group (attacker) this alert is attributed to.
Expand Down
7 changes: 7 additions & 0 deletions src/Microsoft.Graph/Models/Generated/AlertHistoryState.cs
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,13 @@ namespace Microsoft.Graph
[JsonConverter(typeof(DerivedTypeConverter))]
public partial class AlertHistoryState
{
/// <summary>
/// Initializes a new instance of the <see cref="AlertHistoryState"/> class.
/// </summary>
public AlertHistoryState()
{
this.ODataType = "microsoft.graph.alertHistoryState";
}

/// <summary>
/// Gets or sets appId.
Expand Down
7 changes: 7 additions & 0 deletions src/Microsoft.Graph/Models/Generated/AlertTrigger.cs
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,13 @@ namespace Microsoft.Graph
[JsonConverter(typeof(DerivedTypeConverter))]
public partial class AlertTrigger
{
/// <summary>
/// Initializes a new instance of the <see cref="AlertTrigger"/> class.
/// </summary>
public AlertTrigger()
{
this.ODataType = "microsoft.graph.alertTrigger";
}

/// <summary>
/// Gets or sets name.
Expand Down
7 changes: 7 additions & 0 deletions src/Microsoft.Graph/Models/Generated/AlternativeSecurityId.cs
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,13 @@ namespace Microsoft.Graph
[JsonConverter(typeof(DerivedTypeConverter))]
public partial class AlternativeSecurityId
{
/// <summary>
/// Initializes a new instance of the <see cref="AlternativeSecurityId"/> class.
/// </summary>
public AlternativeSecurityId()
{
this.ODataType = "microsoft.graph.alternativeSecurityId";
}

/// <summary>
/// Gets or sets type.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,14 @@ namespace Microsoft.Graph
public partial class AndroidCompliancePolicy : DeviceCompliancePolicy
{

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

/// <summary>
/// Gets or sets password required.
/// Require a password to unlock device.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,14 @@ namespace Microsoft.Graph
public partial class AndroidCustomConfiguration : DeviceConfiguration
{

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

/// <summary>
/// Gets or sets oma settings.
/// OMA settings. This collection can contain a maximum of 1000 elements.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,14 @@ namespace Microsoft.Graph
public partial class AndroidGeneralDeviceConfiguration : DeviceConfiguration
{

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

/// <summary>
/// Gets or sets apps block clipboard sharing.
/// Indicates whether or not to block clipboard sharing to copy and paste between applications.
Expand Down
8 changes: 8 additions & 0 deletions src/Microsoft.Graph/Models/Generated/AndroidLobApp.cs
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,14 @@ namespace Microsoft.Graph
public partial class AndroidLobApp : MobileLobApp
{

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

/// <summary>
/// Gets or sets package id.
/// The package identifier.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,14 @@ namespace Microsoft.Graph
public partial class AndroidManagedAppProtection : TargetedManagedAppProtection
{

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

/// <summary>
/// Gets or sets screen capture blocked.
/// Indicates whether a managed user can take screen captures of managed apps
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,14 @@ namespace Microsoft.Graph
public partial class AndroidManagedAppRegistration : ManagedAppRegistration
{

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

}
}

Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,13 @@ namespace Microsoft.Graph
[JsonConverter(typeof(DerivedTypeConverter))]
public partial class AndroidMinimumOperatingSystem
{
/// <summary>
/// Initializes a new instance of the <see cref="AndroidMinimumOperatingSystem"/> class.
/// </summary>
public AndroidMinimumOperatingSystem()
{
this.ODataType = "microsoft.graph.androidMinimumOperatingSystem";
}

/// <summary>
/// Gets or sets v4_0.
Expand Down
8 changes: 8 additions & 0 deletions src/Microsoft.Graph/Models/Generated/AndroidStoreApp.cs
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,14 @@ namespace Microsoft.Graph
public partial class AndroidStoreApp : MobileApp
{

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

/// <summary>
/// Gets or sets package id.
/// The package identifier.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,14 @@ namespace Microsoft.Graph
public partial class AndroidWorkProfileCompliancePolicy : DeviceCompliancePolicy
{

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

/// <summary>
/// Gets or sets password required.
/// Require a password to unlock device.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,14 @@ namespace Microsoft.Graph
public partial class AndroidWorkProfileCustomConfiguration : DeviceConfiguration
{

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

/// <summary>
/// Gets or sets oma settings.
/// OMA settings. This collection can contain a maximum of 500 elements.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,14 @@ namespace Microsoft.Graph
public partial class AndroidWorkProfileGeneralDeviceConfiguration : DeviceConfiguration
{

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

/// <summary>
/// Gets or sets password block fingerprint unlock.
/// Indicates whether or not to block fingerprint unlock.
Expand Down
8 changes: 8 additions & 0 deletions src/Microsoft.Graph/Models/Generated/AppCatalogs.cs
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,14 @@ namespace Microsoft.Graph
public partial class AppCatalogs : Entity
{

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

/// <summary>
/// Gets or sets teams apps.
/// </summary>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,13 @@ namespace Microsoft.Graph
[JsonConverter(typeof(DerivedTypeConverter))]
public partial class AppConfigurationSettingItem
{
/// <summary>
/// Initializes a new instance of the <see cref="AppConfigurationSettingItem"/> class.
/// </summary>
public AppConfigurationSettingItem()
{
this.ODataType = "microsoft.graph.appConfigurationSettingItem";
}

/// <summary>
/// Gets or sets appConfigKey.
Expand Down
39 changes: 39 additions & 0 deletions src/Microsoft.Graph/Models/Generated/AppHostedMediaConfig.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
// ------------------------------------------------------------------------------
// 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 AppHostedMediaConfig.
/// </summary>
[JsonObject(MemberSerialization = MemberSerialization.OptIn)]
public partial class AppHostedMediaConfig : MediaConfig
{
/// <summary>
/// Initializes a new instance of the <see cref="AppHostedMediaConfig"/> class.
/// </summary>
public AppHostedMediaConfig()
{
this.ODataType = "microsoft.graph.appHostedMediaConfig";
}

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

}
}
7 changes: 7 additions & 0 deletions src/Microsoft.Graph/Models/Generated/AppIdentity.cs
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,13 @@ namespace Microsoft.Graph
[JsonConverter(typeof(DerivedTypeConverter))]
public partial class AppIdentity
{
/// <summary>
/// Initializes a new instance of the <see cref="AppIdentity"/> class.
/// </summary>
public AppIdentity()
{
this.ODataType = "microsoft.graph.appIdentity";
}

/// <summary>
/// Gets or sets appId.
Expand Down
7 changes: 7 additions & 0 deletions src/Microsoft.Graph/Models/Generated/AppListItem.cs
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,13 @@ namespace Microsoft.Graph
[JsonConverter(typeof(DerivedTypeConverter))]
public partial class AppListItem
{
/// <summary>
/// Initializes a new instance of the <see cref="AppListItem"/> class.
/// </summary>
public AppListItem()
{
this.ODataType = "microsoft.graph.appListItem";
}

/// <summary>
/// Gets or sets name.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,14 @@ namespace Microsoft.Graph
public partial class ApplePushNotificationCertificate : Entity
{

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

/// <summary>
/// Gets or sets apple identifier.
/// Apple Id of the account used to create the MDM push certificate.
Expand Down
Loading

0 comments on commit e21e3c5

Please sign in to comment.