generated/api/Models/UpdateLaptopAdminsReq.cs
// Code generated by Microsoft (R) AutoRest Code Generator (autorest: 3.10.2, generator: @autorest/powershell@4.0.708) // 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 System.Collections.Generic.List<Commvault.Powershell.Models.IIdNameType> _laptopAdmins; /// <summary>List of laptop admins (users or user groups)</summary> [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)] public System.Collections.Generic.List<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, Read = true, Create = true, Update = true, Description = @"List of laptop admins (users or user groups)", SerializedName = @"laptopAdmins", PossibleTypes = new [] { typeof(Commvault.Powershell.Models.IIdNameType) })] System.Collections.Generic.List<Commvault.Powershell.Models.IIdNameType> LaptopAdmins { get; set; } /// <summary>UpdateOperationType</summary> [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Read = true, Create = true, Update = true, 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> System.Collections.Generic.List<Commvault.Powershell.Models.IIdNameType> LaptopAdmins { get; set; } /// <summary>UpdateOperationType</summary> string OperationType { get; set; } } } |