MSGraph.Autorest/custom/model/MicrosoftGraphGroup.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 MicrosoftGraphGroup : Microsoft.Azure.PowerShell.Cmdlets.Resources.MSGraph.Models.ApiV10.IMicrosoftGraphGroup, Microsoft.Azure.PowerShell.Cmdlets.Resources.MSGraph.Models.ApiV10.IMicrosoftGraphGroupInternal, Microsoft.Azure.PowerShell.Cmdlets.Resources.MSGraph.Runtime.IValidates { private string _dataType = "#microsoft.graph.group"; 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)); } } } |