forked from microsoftgraph/msgraph-sdk-dotnet
-
Notifications
You must be signed in to change notification settings - Fork 0
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 microsoftgraph#1553 from microsoftgraph/v1.0/pipel…
…inebuild/91765 Generated v1.0 models and request builders using Typewriter
- Loading branch information
Showing
83 changed files
with
4,702 additions
and
42 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,93 @@ | ||
// ------------------------------------------------------------------------------ | ||
// 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 AuditActor. | ||
/// </summary> | ||
[JsonConverter(typeof(DerivedTypeConverter<AuditActor>))] | ||
public partial class AuditActor | ||
{ | ||
|
||
/// <summary> | ||
/// Gets or sets applicationDisplayName. | ||
/// Name of the Application. | ||
/// </summary> | ||
[JsonPropertyName("applicationDisplayName")] | ||
public string ApplicationDisplayName { get; set; } | ||
|
||
/// <summary> | ||
/// Gets or sets applicationId. | ||
/// AAD Application Id. | ||
/// </summary> | ||
[JsonPropertyName("applicationId")] | ||
public string ApplicationId { get; set; } | ||
|
||
/// <summary> | ||
/// Gets or sets auditActorType. | ||
/// Actor Type. | ||
/// </summary> | ||
[JsonPropertyName("auditActorType")] | ||
public string AuditActorType { get; set; } | ||
|
||
/// <summary> | ||
/// Gets or sets ipAddress. | ||
/// IPAddress. | ||
/// </summary> | ||
[JsonPropertyName("ipAddress")] | ||
public string IpAddress { get; set; } | ||
|
||
/// <summary> | ||
/// Gets or sets servicePrincipalName. | ||
/// Service Principal Name (SPN). | ||
/// </summary> | ||
[JsonPropertyName("servicePrincipalName")] | ||
public string ServicePrincipalName { get; set; } | ||
|
||
/// <summary> | ||
/// Gets or sets userId. | ||
/// User Id. | ||
/// </summary> | ||
[JsonPropertyName("userId")] | ||
public string UserId { get; set; } | ||
|
||
/// <summary> | ||
/// Gets or sets userPermissions. | ||
/// List of user permissions when the audit was performed. | ||
/// </summary> | ||
[JsonPropertyName("userPermissions")] | ||
public IEnumerable<string> UserPermissions { get; set; } | ||
|
||
/// <summary> | ||
/// Gets or sets userPrincipalName. | ||
/// User Principal Name (UPN). | ||
/// </summary> | ||
[JsonPropertyName("userPrincipalName")] | ||
public string UserPrincipalName { 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; } | ||
|
||
} | ||
} |
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,102 @@ | ||
// ------------------------------------------------------------------------------ | ||
// 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 Audit Event. | ||
/// </summary> | ||
public partial class AuditEvent : Entity | ||
{ | ||
|
||
/// <summary> | ||
/// Gets or sets activity. | ||
/// Friendly name of the activity. | ||
/// </summary> | ||
[JsonPropertyName("activity")] | ||
public string Activity { get; set; } | ||
|
||
/// <summary> | ||
/// Gets or sets activity date time. | ||
/// The date time in UTC when the activity was performed. | ||
/// </summary> | ||
[JsonPropertyName("activityDateTime")] | ||
public DateTimeOffset? ActivityDateTime { get; set; } | ||
|
||
/// <summary> | ||
/// Gets or sets activity operation type. | ||
/// The HTTP operation type of the activity. | ||
/// </summary> | ||
[JsonPropertyName("activityOperationType")] | ||
public string ActivityOperationType { get; set; } | ||
|
||
/// <summary> | ||
/// Gets or sets activity result. | ||
/// The result of the activity. | ||
/// </summary> | ||
[JsonPropertyName("activityResult")] | ||
public string ActivityResult { get; set; } | ||
|
||
/// <summary> | ||
/// Gets or sets activity type. | ||
/// The type of activity that was being performed. | ||
/// </summary> | ||
[JsonPropertyName("activityType")] | ||
public string ActivityType { get; set; } | ||
|
||
/// <summary> | ||
/// Gets or sets actor. | ||
/// AAD user and application that are associated with the audit event. | ||
/// </summary> | ||
[JsonPropertyName("actor")] | ||
public AuditActor Actor { get; set; } | ||
|
||
/// <summary> | ||
/// Gets or sets category. | ||
/// Audit category. | ||
/// </summary> | ||
[JsonPropertyName("category")] | ||
public string Category { get; set; } | ||
|
||
/// <summary> | ||
/// Gets or sets component name. | ||
/// Component name. | ||
/// </summary> | ||
[JsonPropertyName("componentName")] | ||
public string ComponentName { get; set; } | ||
|
||
/// <summary> | ||
/// Gets or sets correlation id. | ||
/// The client request Id that is used to correlate activity within the system. | ||
/// </summary> | ||
[JsonPropertyName("correlationId")] | ||
public Guid? CorrelationId { get; set; } | ||
|
||
/// <summary> | ||
/// Gets or sets display name. | ||
/// Event display name. | ||
/// </summary> | ||
[JsonPropertyName("displayName")] | ||
public string DisplayName { get; set; } | ||
|
||
/// <summary> | ||
/// Gets or sets resources. | ||
/// Resources being modified. | ||
/// </summary> | ||
[JsonPropertyName("resources")] | ||
public IEnumerable<AuditResource> Resources { 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
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 AuditProperty. | ||
/// </summary> | ||
[JsonConverter(typeof(DerivedTypeConverter<AuditProperty>))] | ||
public partial class AuditProperty | ||
{ | ||
|
||
/// <summary> | ||
/// Gets or sets displayName. | ||
/// Display name. | ||
/// </summary> | ||
[JsonPropertyName("displayName")] | ||
public string DisplayName { get; set; } | ||
|
||
/// <summary> | ||
/// Gets or sets newValue. | ||
/// New value. | ||
/// </summary> | ||
[JsonPropertyName("newValue")] | ||
public string NewValue { get; set; } | ||
|
||
/// <summary> | ||
/// Gets or sets oldValue. | ||
/// Old value. | ||
/// </summary> | ||
[JsonPropertyName("oldValue")] | ||
public string OldValue { 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; } | ||
|
||
} | ||
} |
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,65 @@ | ||
// ------------------------------------------------------------------------------ | ||
// 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 AuditResource. | ||
/// </summary> | ||
[JsonConverter(typeof(DerivedTypeConverter<AuditResource>))] | ||
public partial class AuditResource | ||
{ | ||
|
||
/// <summary> | ||
/// Gets or sets auditResourceType. | ||
/// Audit resource's type. | ||
/// </summary> | ||
[JsonPropertyName("auditResourceType")] | ||
public string AuditResourceType { get; set; } | ||
|
||
/// <summary> | ||
/// Gets or sets displayName. | ||
/// Display name. | ||
/// </summary> | ||
[JsonPropertyName("displayName")] | ||
public string DisplayName { get; set; } | ||
|
||
/// <summary> | ||
/// Gets or sets modifiedProperties. | ||
/// List of modified properties. | ||
/// </summary> | ||
[JsonPropertyName("modifiedProperties")] | ||
public IEnumerable<AuditProperty> ModifiedProperties { get; set; } | ||
|
||
/// <summary> | ||
/// Gets or sets resourceId. | ||
/// Audit resource's Id. | ||
/// </summary> | ||
[JsonPropertyName("resourceId")] | ||
public string ResourceId { 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; } | ||
|
||
} | ||
} |
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.