// <auto-generated>
// 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.
// </auto-generated>

namespace Microsoft.Azure.Management.VideoAnalyzer.Models
{
    using Newtonsoft.Json;
    using System.Linq;

    /// <summary>
    /// The details of the user assigned managed identity used by the Video
    /// Analyzer resource.
    /// </summary>
    public partial class UserAssignedManagedIdentity
    {
        /// <summary>
        /// Initializes a new instance of the UserAssignedManagedIdentity
        /// class.
        /// </summary>
        public UserAssignedManagedIdentity()
        {
            CustomInit();
        }

        /// <summary>
        /// Initializes a new instance of the UserAssignedManagedIdentity
        /// class.
        /// </summary>
        /// <param name="clientId">The client ID.</param>
        /// <param name="principalId">The principal ID.</param>
        public UserAssignedManagedIdentity(string clientId = default(string), string principalId = default(string))
        {
            ClientId = clientId;
            PrincipalId = principalId;
            CustomInit();
        }

        /// <summary>
        /// An initialization method that performs custom operations like setting defaults
        /// </summary>
        partial void CustomInit();

        /// <summary>
        /// Gets the client ID.
        /// </summary>
        [JsonProperty(PropertyName = "clientId")]
        public string ClientId { get; private set; }

        /// <summary>
        /// Gets the principal ID.
        /// </summary>
        [JsonProperty(PropertyName = "principalId")]
        public string PrincipalId { get; private set; }

    }
}
