Skip to content

Commit

Permalink
Merge pull request #1553 from microsoftgraph/v1.0/pipelinebuild/91765
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 Nov 8, 2022
2 parents aca4e41 + 7e69d72 commit 62c2715
Show file tree
Hide file tree
Showing 83 changed files with 4,702 additions and 42 deletions.
6 changes: 3 additions & 3 deletions src/Microsoft.Graph/Generated/model/AgreementAcceptance.cs
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ public partial class AgreementAcceptance : Entity

/// <summary>
/// Gets or sets device id.
/// The unique identifier of the device used for accepting the agreement.
/// The unique identifier of the device used for accepting the agreement. Supports $filter (eq) and eq for null values.
/// </summary>
[JsonPropertyName("deviceId")]
public string DeviceId { get; set; }
Expand All @@ -65,7 +65,7 @@ public partial class AgreementAcceptance : Entity

/// <summary>
/// Gets or sets expiration date time.
/// The expiration date time of the acceptance. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z.
/// The expiration date time of the acceptance. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. Supports $filter (eq, ge, le) and eq for null values.
/// </summary>
[JsonPropertyName("expirationDateTime")]
public DateTimeOffset? ExpirationDateTime { get; set; }
Expand Down Expand Up @@ -100,7 +100,7 @@ public partial class AgreementAcceptance : Entity

/// <summary>
/// Gets or sets user id.
/// The identifier of the user who accepted the agreement.
/// The identifier of the user who accepted the agreement. Supports $filter (eq).
/// </summary>
[JsonPropertyName("userId")]
public string UserId { get; set; }
Expand Down
93 changes: 93 additions & 0 deletions src/Microsoft.Graph/Generated/model/AuditActor.cs
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; }

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

}
}

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

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

}
}
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,5 @@ public partial class AuthenticationMethodResetPasswordRequestBody
[JsonPropertyName("newPassword")]
public string NewPassword { get; set; }

/// <summary>
/// Gets or sets RequireChangeOnNextSignIn.
/// </summary>
[JsonPropertyName("requireChangeOnNextSignIn")]
public bool? RequireChangeOnNextSignIn { get; set; }

}
}
Loading

0 comments on commit 62c2715

Please sign in to comment.