MSGraph/custom/model/MicrosoftGraphApplication.cs
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information. // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. namespace Microsoft.Azure.PowerShell.Cmdlets.Resources.MSGraph.Models.ApiV10 { using static Microsoft.Azure.PowerShell.Cmdlets.Resources.MSGraph.Runtime.Extensions; /// <summary> /// Represents an Azure Active Directory object. The directoryObject type is the base type for many other directory entity /// types. /// </summary> public partial class MicrosoftGraphApplication : Microsoft.Azure.PowerShell.Cmdlets.Resources.MSGraph.Models.ApiV10.IMicrosoftGraphApplication, Microsoft.Azure.PowerShell.Cmdlets.Resources.MSGraph.Models.ApiV10.IMicrosoftGraphApplicationInternal, Microsoft.Azure.PowerShell.Cmdlets.Resources.MSGraph.Runtime.IValidates { private string _dataType = "#microsoft.graph.application"; partial void BeforeFromJson (Microsoft.Azure.PowerShell.Cmdlets.Resources.MSGraph.Runtime.Json.JsonObject json, ref bool returnNow) { json.SafeAdd("@odata.type", new Microsoft.Azure.PowerShell.Cmdlets.Resources.MSGraph.Runtime.Json.JsonSerializer().Serialize(_dataType)); } } } |