generated/api/Models/UpdateLaptopAdminsReq.cs

// Code generated by Microsoft (R) AutoRest Code Generator (autorest: 3.9.4, generator: @autorest/powershell@3.0.415)
// Changes may cause incorrect behavior and will be lost if the code is regenerated.

namespace Commvault.Powershell.Models
{
    using static Commvault.Powershell.Runtime.Extensions;

    /// <summary>Request of updating laptop admins</summary>
    public partial class UpdateLaptopAdminsReq :
        Commvault.Powershell.Models.IUpdateLaptopAdminsReq,
        Commvault.Powershell.Models.IUpdateLaptopAdminsReqInternal
    {

        /// <summary>Backing field for <see cref="LaptopAdmins" /> property.</summary>
        private Commvault.Powershell.Models.IIdNameType[] _laptopAdmins;

        /// <summary>List of laptop admins (users or user groups)</summary>
        [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)]
        public Commvault.Powershell.Models.IIdNameType[] LaptopAdmins { get => this._laptopAdmins; set => this._laptopAdmins = value; }

        /// <summary>Backing field for <see cref="OperationType" /> property.</summary>
        private string _operationType;

        /// <summary>UpdateOperationType</summary>
        [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)]
        public string OperationType { get => this._operationType; set => this._operationType = value; }

        /// <summary>Creates an new <see cref="UpdateLaptopAdminsReq" /> instance.</summary>
        public UpdateLaptopAdminsReq()
        {

        }
    }
    /// Request of updating laptop admins
    public partial interface IUpdateLaptopAdminsReq :
        Commvault.Powershell.Runtime.IJsonSerializable
    {
        /// <summary>List of laptop admins (users or user groups)</summary>
        [Commvault.Powershell.Runtime.Info(
        Required = false,
        ReadOnly = false,
        Description = @"List of laptop admins (users or user groups)",
        SerializedName = @"laptopAdmins",
        PossibleTypes = new [] { typeof(Commvault.Powershell.Models.IIdNameType) })]
        Commvault.Powershell.Models.IIdNameType[] LaptopAdmins { get; set; }
        /// <summary>UpdateOperationType</summary>
        [Commvault.Powershell.Runtime.Info(
        Required = false,
        ReadOnly = false,
        Description = @"UpdateOperationType",
        SerializedName = @"operationType",
        PossibleTypes = new [] { typeof(string) })]
        string OperationType { get; set; }

    }
    /// Request of updating laptop admins
    internal partial interface IUpdateLaptopAdminsReqInternal

    {
        /// <summary>List of laptop admins (users or user groups)</summary>
        Commvault.Powershell.Models.IIdNameType[] LaptopAdmins { get; set; }
        /// <summary>UpdateOperationType</summary>
        string OperationType { get; set; }

    }
}