custom/UserAssignedIdentitiesCustom.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.LoadTesting.Models.Api50
{
    using static Microsoft.Azure.PowerShell.Cmdlets.LoadTesting.Runtime.Extensions;
    public partial class UserAssignedIdentities
    {
        partial void AfterToJson(ref Microsoft.Azure.PowerShell.Cmdlets.LoadTesting.Runtime.Json.JsonObject container) {
            if (this.__additionalProperties != null)
            {
                foreach (var key in this.__additionalProperties)
                {
                    if (key.Value == null)
                    {
                        container.Add(key.Key, Runtime.Json.XNull.Instance);
                    }
                }
            }
        }
    }
}