-
Notifications
You must be signed in to change notification settings - Fork 32
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Generated models and request builders using Typewriter (#90)
* Update generated files with build 2591550 * Update Microsoft.Graph.Beta.csproj
- Loading branch information
1 parent
1be1b49
commit c4e2ca4
Showing
60 changed files
with
2,619 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
33 changes: 33 additions & 0 deletions
33
src/Microsoft.Graph/Models/Generated/AuthenticationMethodState.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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\EnumType.cs.tt | ||
|
||
|
||
namespace Microsoft.Graph | ||
{ | ||
using Newtonsoft.Json; | ||
|
||
/// <summary> | ||
/// The enum AuthenticationMethodState. | ||
/// </summary> | ||
[JsonConverter(typeof(EnumConverter))] | ||
public enum AuthenticationMethodState | ||
{ | ||
|
||
/// <summary> | ||
/// Enabled | ||
/// </summary> | ||
Enabled = 0, | ||
|
||
/// <summary> | ||
/// Disabled | ||
/// </summary> | ||
Disabled = 1, | ||
|
||
} | ||
} |
38 changes: 38 additions & 0 deletions
38
src/Microsoft.Graph/Models/Generated/AuthenticationMethodTargetType.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 AuthenticationMethodTargetType. | ||
/// </summary> | ||
[JsonConverter(typeof(EnumConverter))] | ||
public enum AuthenticationMethodTargetType | ||
{ | ||
|
||
/// <summary> | ||
/// User | ||
/// </summary> | ||
User = 0, | ||
|
||
/// <summary> | ||
/// Group | ||
/// </summary> | ||
Group = 1, | ||
|
||
/// <summary> | ||
/// Unknown Future Value | ||
/// </summary> | ||
UnknownFutureValue = 2, | ||
|
||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
32 changes: 32 additions & 0 deletions
32
src/Microsoft.Graph/Models/Generated/CallLogTeleconferenceDeviceQualityRequestBody.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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. | ||
// <auto-generated/> | ||
|
||
// 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; | ||
|
||
/// <summary> | ||
/// The type CallLogTeleconferenceDeviceQualityRequestBody. | ||
/// </summary> | ||
[JsonObject(MemberSerialization = MemberSerialization.OptIn)] | ||
public partial class CallLogTeleconferenceDeviceQualityRequestBody | ||
{ | ||
|
||
/// <summary> | ||
/// Gets or sets Quality. | ||
/// </summary> | ||
[JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "quality", Required = Newtonsoft.Json.Required.Default)] | ||
public TeleconferenceDeviceQuality Quality { get; set; } | ||
|
||
} | ||
} |
58 changes: 58 additions & 0 deletions
58
src/Microsoft.Graph/Models/Generated/DirectorySizeQuota.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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. | ||
// <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 DirectorySizeQuota. | ||
/// </summary> | ||
[JsonObject(MemberSerialization = MemberSerialization.OptIn)] | ||
[JsonConverter(typeof(DerivedTypeConverter))] | ||
public partial class DirectorySizeQuota | ||
{ | ||
/// <summary> | ||
/// Initializes a new instance of the <see cref="DirectorySizeQuota"/> class. | ||
/// </summary> | ||
public DirectorySizeQuota() | ||
{ | ||
this.ODataType = "microsoft.graph.directorySizeQuota"; | ||
} | ||
|
||
/// <summary> | ||
/// Gets or sets used. | ||
/// </summary> | ||
[JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "used", Required = Newtonsoft.Json.Required.Default)] | ||
public Int32? Used { get; set; } | ||
|
||
/// <summary> | ||
/// Gets or sets total. | ||
/// </summary> | ||
[JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "total", Required = Newtonsoft.Json.Required.Default)] | ||
public Int32? Total { 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; } | ||
|
||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
64 changes: 64 additions & 0 deletions
64
src/Microsoft.Graph/Models/Generated/Fido2KeyRestrictions.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,64 @@ | ||
// ------------------------------------------------------------------------------ | ||
// 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 Fido2KeyRestrictions. | ||
/// </summary> | ||
[JsonObject(MemberSerialization = MemberSerialization.OptIn)] | ||
[JsonConverter(typeof(DerivedTypeConverter))] | ||
public partial class Fido2KeyRestrictions | ||
{ | ||
/// <summary> | ||
/// Initializes a new instance of the <see cref="Fido2KeyRestrictions"/> class. | ||
/// </summary> | ||
public Fido2KeyRestrictions() | ||
{ | ||
this.ODataType = "microsoft.graph.fido2KeyRestrictions"; | ||
} | ||
|
||
/// <summary> | ||
/// Gets or sets isEnforced. | ||
/// </summary> | ||
[JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "isEnforced", Required = Newtonsoft.Json.Required.Default)] | ||
public bool? IsEnforced { get; set; } | ||
|
||
/// <summary> | ||
/// Gets or sets enforcementType. | ||
/// </summary> | ||
[JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "enforcementType", Required = Newtonsoft.Json.Required.Default)] | ||
public Fido2RestrictionEnforcementType? EnforcementType { get; set; } | ||
|
||
/// <summary> | ||
/// Gets or sets aaGuids. | ||
/// </summary> | ||
[JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "aaGuids", Required = Newtonsoft.Json.Required.Default)] | ||
public IEnumerable<string> AaGuids { 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; } | ||
|
||
} | ||
} |
38 changes: 38 additions & 0 deletions
38
src/Microsoft.Graph/Models/Generated/Fido2RestrictionEnforcementType.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 Fido2RestrictionEnforcementType. | ||
/// </summary> | ||
[JsonConverter(typeof(EnumConverter))] | ||
public enum Fido2RestrictionEnforcementType | ||
{ | ||
|
||
/// <summary> | ||
/// Allow | ||
/// </summary> | ||
Allow = 0, | ||
|
||
/// <summary> | ||
/// Block | ||
/// </summary> | ||
Block = 1, | ||
|
||
/// <summary> | ||
/// Unknown Future Value | ||
/// </summary> | ||
UnknownFutureValue = 2, | ||
|
||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.