Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Generated beta models and request builders using Typewriter #524

Merged
merged 3 commits into from
Aug 31, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
14 changes: 14 additions & 0 deletions src/Microsoft.Graph/Generated/callrecords/model/ClientUserAgent.cs
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,20 @@ public ClientUserAgent()
this.ODataType = "microsoft.graph.callRecords.clientUserAgent";
}

/// <summary>
/// Gets or sets azureADAppId.
/// The unique identifier of the Azure AD application used by this endpoint.
/// </summary>
[JsonPropertyName("azureADAppId")]
public string AzureADAppId { get; set; }

/// <summary>
/// Gets or sets communicationServiceId.
/// Immutable resource identifier of the Azure Communication Service associated with this endpoint based on Communication Services APIs.
/// </summary>
[JsonPropertyName("communicationServiceId")]
public string CommunicationServiceId { get; set; }

/// <summary>
/// Gets or sets platform.
/// Identifies the platform used by this endpoint. Possible values are: unknown, windows, macOS, iOS, android, web, ipPhone, roomSystem, surfaceHub, holoLens, unknownFutureValue.
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
// ------------------------------------------------------------------------------
// 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.IdentityGovernanceNamespace
{
using System;
using System.Collections.Generic;
using System.IO;
using System.Text.Json.Serialization;

/// <summary>
/// The type Custom Task Extension.
/// </summary>
public partial class CustomTaskExtension : Microsoft.Graph.CustomCalloutExtension
{

///<summary>
/// The CustomTaskExtension constructor
///</summary>
public CustomTaskExtension()
{
this.ODataType = "microsoft.graph.identityGovernance.customTaskExtension";
}

/// <summary>
/// Gets or sets callback configuration.
/// </summary>
[JsonPropertyName("callbackConfiguration")]
public Microsoft.Graph.CustomExtensionCallbackConfiguration CallbackConfiguration { get; set; }

/// <summary>
/// Gets or sets created date time.
/// </summary>
[JsonPropertyName("createdDateTime")]
public DateTimeOffset? CreatedDateTime { get; set; }

/// <summary>
/// Gets or sets last modified date time.
/// </summary>
[JsonPropertyName("lastModifiedDateTime")]
public DateTimeOffset? LastModifiedDateTime { get; set; }

/// <summary>
/// Gets or sets created by.
/// </summary>
[JsonPropertyName("createdBy")]
public Microsoft.Graph.User CreatedBy { get; set; }

/// <summary>
/// Gets or sets last modified by.
/// </summary>
[JsonPropertyName("lastModifiedBy")]
public Microsoft.Graph.User LastModifiedBy { get; set; }

}
}

Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
// ------------------------------------------------------------------------------
// 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.IdentityGovernanceNamespace
{
using System;
using System.Collections.Generic;
using System.IO;
using System.Text.Json.Serialization;

/// <summary>
/// The type CustomTaskExtensionCallbackConfiguration.
/// </summary>
public partial class CustomTaskExtensionCallbackConfiguration : Microsoft.Graph.CustomExtensionCallbackConfiguration
{
/// <summary>
/// Initializes a new instance of the <see cref="CustomTaskExtensionCallbackConfiguration"/> class.
/// </summary>
public CustomTaskExtensionCallbackConfiguration()
{
this.ODataType = "microsoft.graph.identityGovernance.customTaskExtensionCallbackConfiguration";
}

}
}
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: ComplexType.cs.tt

namespace Microsoft.Graph.IdentityGovernanceNamespace
{
using System;
using System.Collections.Generic;
using System.IO;
using System.Text.Json.Serialization;

/// <summary>
/// The type CustomTaskExtensionCallbackData.
/// </summary>
[JsonConverter(typeof(Microsoft.Graph.DerivedTypeConverter<CustomTaskExtensionCallbackData>))]
public partial class CustomTaskExtensionCallbackData : Microsoft.Graph.CustomExtensionData
{
/// <summary>
/// Initializes a new instance of the <see cref="CustomTaskExtensionCallbackData"/> class.
/// </summary>
public CustomTaskExtensionCallbackData()
{
this.ODataType = "microsoft.graph.identityGovernance.customTaskExtensionCallbackData";
}

/// <summary>
/// Gets or sets operationStatus.
/// </summary>
[JsonPropertyName("operationStatus")]
public CustomTaskExtensionOperationStatus? OperationStatus { get; set; }

}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
// ------------------------------------------------------------------------------
// 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.IdentityGovernanceNamespace
{
using System;
using System.Collections.Generic;
using System.IO;
using System.Text.Json.Serialization;

/// <summary>
/// The type CustomTaskExtensionCalloutData.
/// </summary>
public partial class CustomTaskExtensionCalloutData : Microsoft.Graph.CustomExtensionData
{
/// <summary>
/// Initializes a new instance of the <see cref="CustomTaskExtensionCalloutData"/> class.
/// </summary>
public CustomTaskExtensionCalloutData()
{
this.ODataType = "microsoft.graph.identityGovernance.customTaskExtensionCalloutData";
}

/// <summary>
/// Gets or sets subject.
/// </summary>
[JsonPropertyName("subject")]
public Microsoft.Graph.User Subject { get; set; }

/// <summary>
/// Gets or sets task.
/// </summary>
[JsonPropertyName("task")]
public TaskObject @Task { get; set; }

/// <summary>
/// Gets or sets taskProcessingresult.
/// </summary>
[JsonPropertyName("taskProcessingresult")]
public TaskProcessingResult TaskProcessingresult { get; set; }

/// <summary>
/// Gets or sets workflow.
/// </summary>
[JsonPropertyName("workflow")]
public Workflow Workflow { get; set; }

}
}
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: EnumType.cs.tt


namespace Microsoft.Graph.IdentityGovernanceNamespace
{
using System.Text.Json.Serialization;

/// <summary>
/// The enum CustomTaskExtensionOperationStatus.
/// </summary>
[JsonConverter(typeof(JsonStringEnumConverter))]
public enum CustomTaskExtensionOperationStatus
{

/// <summary>
/// Completed
/// </summary>
Completed = 0,

/// <summary>
/// Failed
/// </summary>
Failed = 1,

/// <summary>
/// Unknown Future Value
/// </summary>
UnknownFutureValue = 2,

}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
// ------------------------------------------------------------------------------
// 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.IdentityGovernanceNamespace
{
using System;
using System.Collections.Generic;
using System.IO;
using System.Text.Json.Serialization;

/// <summary>
/// The type Lifecycle Management Settings.
/// </summary>
public partial class LifecycleManagementSettings : Microsoft.Graph.Entity
{

/// <summary>
/// Gets or sets workflow schedule interval in hours.
/// </summary>
[JsonPropertyName("workflowScheduleIntervalInHours")]
public Int32? WorkflowScheduleIntervalInHours { get; set; }

}
}

Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
// ------------------------------------------------------------------------------
// 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: EnumType.cs.tt


namespace Microsoft.Graph.IdentityGovernanceNamespace
{
using System.Text.Json.Serialization;

/// <summary>
/// The enum LifecycleTaskCategory.
/// </summary>
[JsonConverter(typeof(JsonStringEnumConverter))]
[System.Flags]
public enum LifecycleTaskCategory
{

/// <summary>
/// Joiner
/// </summary>
Joiner = 1,

/// <summary>
/// Leaver
/// </summary>
Leaver = 2,

/// <summary>
/// Unknown Future Value
/// </summary>
UnknownFutureValue = 4,

}
}
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: EnumType.cs.tt


namespace Microsoft.Graph.IdentityGovernanceNamespace
{
using System.Text.Json.Serialization;

/// <summary>
/// The enum LifecycleWorkflowCategory.
/// </summary>
[JsonConverter(typeof(JsonStringEnumConverter))]
public enum LifecycleWorkflowCategory
{

/// <summary>
/// Joiner
/// </summary>
Joiner = 0,

/// <summary>
/// Leaver
/// </summary>
Leaver = 1,

/// <summary>
/// Unknown Future Value
/// </summary>
UnknownFutureValue = 2,

}
}
Loading