-
Notifications
You must be signed in to change notification settings - Fork 253
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1508 from microsoftgraph/v1.0/pipelinebuild/87606
Generated v1.0 models and request builders using Typewriter
- Loading branch information
Showing
160 changed files
with
10,706 additions
and
3 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
58 changes: 58 additions & 0 deletions
58
src/Microsoft.Graph/Generated/model/AssignedTrainingInfo.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: ComplexType.cs.tt | ||
|
||
namespace Microsoft.Graph | ||
{ | ||
using System; | ||
using System.Collections.Generic; | ||
using System.IO; | ||
using System.Text.Json.Serialization; | ||
|
||
/// <summary> | ||
/// The type AssignedTrainingInfo. | ||
/// </summary> | ||
[JsonConverter(typeof(DerivedTypeConverter<AssignedTrainingInfo>))] | ||
public partial class AssignedTrainingInfo | ||
{ | ||
|
||
/// <summary> | ||
/// Gets or sets assignedUserCount. | ||
/// Number of users who were assigned the training in an attack simulation and training campaign. | ||
/// </summary> | ||
[JsonPropertyName("assignedUserCount")] | ||
public Int32? AssignedUserCount { get; set; } | ||
|
||
/// <summary> | ||
/// Gets or sets completedUserCount. | ||
/// Number of users who completed the training in an attack simulation and training campaign. | ||
/// </summary> | ||
[JsonPropertyName("completedUserCount")] | ||
public Int32? CompletedUserCount { get; set; } | ||
|
||
/// <summary> | ||
/// Gets or sets displayName. | ||
/// Display name of the training in an attack simulation and training campaign. | ||
/// </summary> | ||
[JsonPropertyName("displayName")] | ||
public string DisplayName { get; set; } | ||
|
||
/// <summary> | ||
/// Gets or sets additional data. | ||
/// </summary> | ||
[JsonExtensionData] | ||
public IDictionary<string, object> AdditionalData { get; set; } | ||
|
||
/// <summary> | ||
/// Gets or sets @odata.type. | ||
/// </summary> | ||
[JsonPropertyName("@odata.type")] | ||
public string ODataType { get; set; } | ||
|
||
} | ||
} |
51 changes: 51 additions & 0 deletions
51
src/Microsoft.Graph/Generated/model/AttackSimulationRepeatOffender.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,51 @@ | ||
// ------------------------------------------------------------------------------ | ||
// 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: ComplexType.cs.tt | ||
|
||
namespace Microsoft.Graph | ||
{ | ||
using System; | ||
using System.Collections.Generic; | ||
using System.IO; | ||
using System.Text.Json.Serialization; | ||
|
||
/// <summary> | ||
/// The type AttackSimulationRepeatOffender. | ||
/// </summary> | ||
[JsonConverter(typeof(DerivedTypeConverter<AttackSimulationRepeatOffender>))] | ||
public partial class AttackSimulationRepeatOffender | ||
{ | ||
|
||
/// <summary> | ||
/// Gets or sets attackSimulationUser. | ||
/// The user in an attack simulation and training campaign. | ||
/// </summary> | ||
[JsonPropertyName("attackSimulationUser")] | ||
public AttackSimulationUser AttackSimulationUser { get; set; } | ||
|
||
/// <summary> | ||
/// Gets or sets repeatOffenceCount. | ||
/// Number of repeat offences of the user in attack simulation and training campaigns. | ||
/// </summary> | ||
[JsonPropertyName("repeatOffenceCount")] | ||
public Int32? RepeatOffenceCount { get; set; } | ||
|
||
/// <summary> | ||
/// Gets or sets additional data. | ||
/// </summary> | ||
[JsonExtensionData] | ||
public IDictionary<string, object> AdditionalData { get; set; } | ||
|
||
/// <summary> | ||
/// Gets or sets @odata.type. | ||
/// </summary> | ||
[JsonPropertyName("@odata.type")] | ||
public string ODataType { get; set; } | ||
|
||
} | ||
} |
62 changes: 62 additions & 0 deletions
62
src/Microsoft.Graph/Generated/model/AttackSimulationRoot.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,62 @@ | ||
// ------------------------------------------------------------------------------ | ||
// 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: EntityType.cs.tt | ||
|
||
namespace Microsoft.Graph | ||
{ | ||
using System; | ||
using System.Collections.Generic; | ||
using System.IO; | ||
using System.Text.Json.Serialization; | ||
|
||
/// <summary> | ||
/// The type Attack Simulation Root. | ||
/// </summary> | ||
[JsonConverter(typeof(DerivedTypeConverter<AttackSimulationRoot>))] | ||
public partial class AttackSimulationRoot : Entity | ||
{ | ||
|
||
///<summary> | ||
/// The internal AttackSimulationRoot constructor | ||
///</summary> | ||
protected internal AttackSimulationRoot() | ||
{ | ||
// Don't allow initialization of abstract entity types | ||
} | ||
|
||
/// <summary> | ||
/// Gets or sets simulation automations. | ||
/// Represents simulation automation created to run on a tenant. | ||
/// </summary> | ||
[JsonPropertyName("simulationAutomations")] | ||
public IAttackSimulationRootSimulationAutomationsCollectionPage SimulationAutomations { get; set; } | ||
|
||
/// <summary> | ||
/// Gets or sets simulationAutomationsNextLink. | ||
/// </summary> | ||
[JsonPropertyName("simulationAutomations@odata.nextLink")] | ||
[JsonConverter(typeof(NextLinkConverter))] | ||
public string SimulationAutomationsNextLink { get; set; } | ||
|
||
/// <summary> | ||
/// Gets or sets simulations. | ||
/// Represents an attack simulation training campaign in a tenant. | ||
/// </summary> | ||
[JsonPropertyName("simulations")] | ||
public IAttackSimulationRootSimulationsCollectionPage Simulations { get; set; } | ||
|
||
/// <summary> | ||
/// Gets or sets simulationsNextLink. | ||
/// </summary> | ||
[JsonPropertyName("simulations@odata.nextLink")] | ||
[JsonConverter(typeof(NextLinkConverter))] | ||
public string SimulationsNextLink { get; set; } | ||
|
||
} | ||
} | ||
|
72 changes: 72 additions & 0 deletions
72
src/Microsoft.Graph/Generated/model/AttackSimulationSimulationUserCoverage.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,72 @@ | ||
// ------------------------------------------------------------------------------ | ||
// 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: ComplexType.cs.tt | ||
|
||
namespace Microsoft.Graph | ||
{ | ||
using System; | ||
using System.Collections.Generic; | ||
using System.IO; | ||
using System.Text.Json.Serialization; | ||
|
||
/// <summary> | ||
/// The type AttackSimulationSimulationUserCoverage. | ||
/// </summary> | ||
[JsonConverter(typeof(DerivedTypeConverter<AttackSimulationSimulationUserCoverage>))] | ||
public partial class AttackSimulationSimulationUserCoverage | ||
{ | ||
|
||
/// <summary> | ||
/// Gets or sets attackSimulationUser. | ||
/// User in an attack simulation and training campaign. | ||
/// </summary> | ||
[JsonPropertyName("attackSimulationUser")] | ||
public AttackSimulationUser AttackSimulationUser { get; set; } | ||
|
||
/// <summary> | ||
/// Gets or sets clickCount. | ||
/// Number of link clicks in the received payloads by the user in attack simulation and training campaigns. | ||
/// </summary> | ||
[JsonPropertyName("clickCount")] | ||
public Int32? ClickCount { get; set; } | ||
|
||
/// <summary> | ||
/// Gets or sets compromisedCount. | ||
/// Number of compromising actions by the user in attack simulation and training campaigns. | ||
/// </summary> | ||
[JsonPropertyName("compromisedCount")] | ||
public Int32? CompromisedCount { get; set; } | ||
|
||
/// <summary> | ||
/// Gets or sets latestSimulationDateTime. | ||
/// Date and time of the latest attack simulation and training campaign that the user was included in. | ||
/// </summary> | ||
[JsonPropertyName("latestSimulationDateTime")] | ||
public DateTimeOffset? LatestSimulationDateTime { get; set; } | ||
|
||
/// <summary> | ||
/// Gets or sets simulationCount. | ||
/// Number of attack simulation and training campaigns that the user was included in. | ||
/// </summary> | ||
[JsonPropertyName("simulationCount")] | ||
public Int32? SimulationCount { get; set; } | ||
|
||
/// <summary> | ||
/// Gets or sets additional data. | ||
/// </summary> | ||
[JsonExtensionData] | ||
public IDictionary<string, object> AdditionalData { get; set; } | ||
|
||
/// <summary> | ||
/// Gets or sets @odata.type. | ||
/// </summary> | ||
[JsonPropertyName("@odata.type")] | ||
public string ODataType { get; set; } | ||
|
||
} | ||
} |
51 changes: 51 additions & 0 deletions
51
src/Microsoft.Graph/Generated/model/AttackSimulationTrainingUserCoverage.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,51 @@ | ||
// ------------------------------------------------------------------------------ | ||
// 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: ComplexType.cs.tt | ||
|
||
namespace Microsoft.Graph | ||
{ | ||
using System; | ||
using System.Collections.Generic; | ||
using System.IO; | ||
using System.Text.Json.Serialization; | ||
|
||
/// <summary> | ||
/// The type AttackSimulationTrainingUserCoverage. | ||
/// </summary> | ||
[JsonConverter(typeof(DerivedTypeConverter<AttackSimulationTrainingUserCoverage>))] | ||
public partial class AttackSimulationTrainingUserCoverage | ||
{ | ||
|
||
/// <summary> | ||
/// Gets or sets attackSimulationUser. | ||
/// User in an attack simulation and training campaign. | ||
/// </summary> | ||
[JsonPropertyName("attackSimulationUser")] | ||
public AttackSimulationUser AttackSimulationUser { get; set; } | ||
|
||
/// <summary> | ||
/// Gets or sets userTrainings. | ||
/// List of assigned trainings and their statuses for the user. | ||
/// </summary> | ||
[JsonPropertyName("userTrainings")] | ||
public IEnumerable<UserTrainingStatusInfo> UserTrainings { get; set; } | ||
|
||
/// <summary> | ||
/// Gets or sets additional data. | ||
/// </summary> | ||
[JsonExtensionData] | ||
public IDictionary<string, object> AdditionalData { get; set; } | ||
|
||
/// <summary> | ||
/// Gets or sets @odata.type. | ||
/// </summary> | ||
[JsonPropertyName("@odata.type")] | ||
public string ODataType { get; set; } | ||
|
||
} | ||
} |
Oops, something went wrong.