-
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 (#96)
* Update generated files with build 2747536 * Updated PR GH action
- Loading branch information
1 parent
f9ade00
commit 33c1fcf
Showing
125 changed files
with
8,043 additions
and
187 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,71 @@ | ||
// ------------------------------------------------------------------------------ | ||
// 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 Authentication. | ||
/// </summary> | ||
[JsonObject(MemberSerialization = MemberSerialization.OptIn)] | ||
public partial class Authentication : Entity | ||
{ | ||
|
||
///<summary> | ||
/// The Authentication constructor | ||
///</summary> | ||
public Authentication() | ||
{ | ||
this.ODataType = "microsoft.graph.authentication"; | ||
} | ||
|
||
/// <summary> | ||
/// Gets or sets methods. | ||
/// </summary> | ||
[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> | ||
[JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "phoneMethods", Required = Newtonsoft.Json.Required.Default)] | ||
public IAuthenticationPhoneMethodsCollectionPage PhoneMethods { get; set; } | ||
|
||
/// <summary> | ||
/// Gets or sets password methods. | ||
/// </summary> | ||
[JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "passwordMethods", Required = Newtonsoft.Json.Required.Default)] | ||
public IAuthenticationPasswordMethodsCollectionPage PasswordMethods { get; set; } | ||
|
||
/// <summary> | ||
/// Gets or sets operations. | ||
/// </summary> | ||
[JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "operations", Required = Newtonsoft.Json.Required.Default)] | ||
public IAuthenticationOperationsCollectionPage Operations { get; set; } | ||
|
||
} | ||
} | ||
|
35 changes: 35 additions & 0 deletions
35
src/Microsoft.Graph/Models/Generated/AuthenticationMethod.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,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. | ||
// <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 Authentication Method. | ||
/// </summary> | ||
[JsonObject(MemberSerialization = MemberSerialization.OptIn)] | ||
public partial class AuthenticationMethod : Entity | ||
{ | ||
|
||
///<summary> | ||
/// The internal AuthenticationMethod constructor | ||
///</summary> | ||
protected internal AuthenticationMethod() | ||
{ | ||
// Don't allow initialization of abstract entity types | ||
} | ||
|
||
} | ||
} | ||
|
38 changes: 38 additions & 0 deletions
38
src/Microsoft.Graph/Models/Generated/AuthenticationMethodResetPasswordRequestBody.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\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 AuthenticationMethodResetPasswordRequestBody. | ||
/// </summary> | ||
[JsonObject(MemberSerialization = MemberSerialization.OptIn)] | ||
public partial class AuthenticationMethodResetPasswordRequestBody | ||
{ | ||
|
||
/// <summary> | ||
/// Gets or sets NewPassword. | ||
/// </summary> | ||
[JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "newPassword", Required = Newtonsoft.Json.Required.Default)] | ||
public string NewPassword { get; set; } | ||
|
||
/// <summary> | ||
/// Gets or sets RequireChangeOnNextSignIn. | ||
/// </summary> | ||
[JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "requireChangeOnNextSignIn", Required = Newtonsoft.Json.Required.Default)] | ||
public bool? RequireChangeOnNextSignIn { get; set; } | ||
|
||
} | ||
} |
58 changes: 58 additions & 0 deletions
58
src/Microsoft.Graph/Models/Generated/AuthenticationMethodSignInState.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\EnumType.cs.tt | ||
|
||
|
||
namespace Microsoft.Graph | ||
{ | ||
using Newtonsoft.Json; | ||
|
||
/// <summary> | ||
/// The enum AuthenticationMethodSignInState. | ||
/// </summary> | ||
[JsonConverter(typeof(EnumConverter))] | ||
public enum AuthenticationMethodSignInState | ||
{ | ||
|
||
/// <summary> | ||
/// Not Supported | ||
/// </summary> | ||
NotSupported = 0, | ||
|
||
/// <summary> | ||
/// Not Allowed By Policy | ||
/// </summary> | ||
NotAllowedByPolicy = 1, | ||
|
||
/// <summary> | ||
/// Not Enabled | ||
/// </summary> | ||
NotEnabled = 2, | ||
|
||
/// <summary> | ||
/// Phone Number Not Unique | ||
/// </summary> | ||
PhoneNumberNotUnique = 3, | ||
|
||
/// <summary> | ||
/// Ready | ||
/// </summary> | ||
Ready = 4, | ||
|
||
/// <summary> | ||
/// Not Configured | ||
/// </summary> | ||
NotConfigured = 5, | ||
|
||
/// <summary> | ||
/// Unknown Future Value | ||
/// </summary> | ||
UnknownFutureValue = 6, | ||
|
||
} | ||
} |
43 changes: 43 additions & 0 deletions
43
src/Microsoft.Graph/Models/Generated/AuthenticationPhoneType.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,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. | ||
// <auto-generated/> | ||
|
||
// Template Source: Templates\CSharp\Model\EnumType.cs.tt | ||
|
||
|
||
namespace Microsoft.Graph | ||
{ | ||
using Newtonsoft.Json; | ||
|
||
/// <summary> | ||
/// The enum AuthenticationPhoneType. | ||
/// </summary> | ||
[JsonConverter(typeof(EnumConverter))] | ||
public enum AuthenticationPhoneType | ||
{ | ||
|
||
/// <summary> | ||
/// Mobile | ||
/// </summary> | ||
Mobile = 0, | ||
|
||
/// <summary> | ||
/// Alternate Mobile | ||
/// </summary> | ||
AlternateMobile = 1, | ||
|
||
/// <summary> | ||
/// Office | ||
/// </summary> | ||
Office = 2, | ||
|
||
/// <summary> | ||
/// Unknown Future Value | ||
/// </summary> | ||
UnknownFutureValue = 3, | ||
|
||
} | ||
} |
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.