Skip to content

Commit

Permalink
Merge pull request #1508 from microsoftgraph/v1.0/pipelinebuild/87606
Browse files Browse the repository at this point in the history
Generated v1.0 models and request builders using Typewriter
  • Loading branch information
andrueastman authored Oct 4, 2022
2 parents b2ad507 + 5dc836a commit c26ebc0
Show file tree
Hide file tree
Showing 160 changed files with 10,706 additions and 3 deletions.
39 changes: 39 additions & 0 deletions src/Microsoft.Graph/Generated/model/AccessPackage.cs
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,19 @@ public partial class AccessPackage : Entity
[JsonPropertyName("modifiedDateTime")]
public DateTimeOffset? ModifiedDateTime { get; set; }

/// <summary>
/// Gets or sets access packages incompatible with.
/// </summary>
[JsonPropertyName("accessPackagesIncompatibleWith")]
public IAccessPackageAccessPackagesIncompatibleWithCollectionWithReferencesPage AccessPackagesIncompatibleWith { get; set; }

/// <summary>
/// Gets or sets accessPackagesIncompatibleWithNextLink.
/// </summary>
[JsonPropertyName("accessPackagesIncompatibleWith@odata.nextLink")]
[JsonConverter(typeof(NextLinkConverter))]
public string AccessPackagesIncompatibleWithNextLink { get; set; }

/// <summary>
/// Gets or sets assignment policies.
/// </summary>
Expand All @@ -74,6 +87,32 @@ public partial class AccessPackage : Entity
[JsonPropertyName("catalog")]
public AccessPackageCatalog Catalog { get; set; }

/// <summary>
/// Gets or sets incompatible access packages.
/// </summary>
[JsonPropertyName("incompatibleAccessPackages")]
public IAccessPackageIncompatibleAccessPackagesCollectionWithReferencesPage IncompatibleAccessPackages { get; set; }

/// <summary>
/// Gets or sets incompatibleAccessPackagesNextLink.
/// </summary>
[JsonPropertyName("incompatibleAccessPackages@odata.nextLink")]
[JsonConverter(typeof(NextLinkConverter))]
public string IncompatibleAccessPackagesNextLink { get; set; }

/// <summary>
/// Gets or sets incompatible groups.
/// </summary>
[JsonPropertyName("incompatibleGroups")]
public IAccessPackageIncompatibleGroupsCollectionPage IncompatibleGroups { get; set; }

/// <summary>
/// Gets or sets incompatibleGroupsNextLink.
/// </summary>
[JsonPropertyName("incompatibleGroups@odata.nextLink")]
[JsonConverter(typeof(NextLinkConverter))]
public string IncompatibleGroupsNextLink { get; set; }

}
}

58 changes: 58 additions & 0 deletions src/Microsoft.Graph/Generated/model/AssignedTrainingInfo.cs
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; }

}
}
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 src/Microsoft.Graph/Generated/model/AttackSimulationRoot.cs
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; }

}
}

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

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

}
}
Loading

0 comments on commit c26ebc0

Please sign in to comment.