generated/api/Models/AssignLaptopOwnerMappingReq.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>Model used for assign laptop owner mapping</summary> public partial class AssignLaptopOwnerMappingReq : Commvault.Powershell.Models.IAssignLaptopOwnerMappingReq, Commvault.Powershell.Models.IAssignLaptopOwnerMappingReqInternal { /// <summary>Backing field for <see cref="ApplyAll" /> property.</summary> private bool? _applyAll; /// <summary> /// This indicates if applying assign laptop owners to all device user mappings within a company /// </summary> [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)] public bool? ApplyAll { get => this._applyAll; set => this._applyAll = value; } /// <summary>Backing field for <see cref="LaptopOwnerMapping" /> property.</summary> private System.Collections.Generic.List<long> _laptopOwnerMapping; /// <summary>Accepts list of laptop owner mapping ids to be applied</summary> [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)] public System.Collections.Generic.List<long> LaptopOwnerMapping { get => this._laptopOwnerMapping; set => this._laptopOwnerMapping = value; } /// <summary>Creates an new <see cref="AssignLaptopOwnerMappingReq" /> instance.</summary> public AssignLaptopOwnerMappingReq() { } } /// Model used for assign laptop owner mapping public partial interface IAssignLaptopOwnerMappingReq : Commvault.Powershell.Runtime.IJsonSerializable { /// <summary> /// This indicates if applying assign laptop owners to all device user mappings within a company /// </summary> [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Read = true, Create = true, Update = true, Description = @"This indicates if applying assign laptop owners to all device user mappings within a company", SerializedName = @"applyAll", PossibleTypes = new [] { typeof(bool) })] bool? ApplyAll { get; set; } /// <summary>Accepts list of laptop owner mapping ids to be applied</summary> [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Read = true, Create = true, Update = true, Description = @"Accepts list of laptop owner mapping ids to be applied", SerializedName = @"laptopOwnerMapping", PossibleTypes = new [] { typeof(long) })] System.Collections.Generic.List<long> LaptopOwnerMapping { get; set; } } /// Model used for assign laptop owner mapping internal partial interface IAssignLaptopOwnerMappingReqInternal { /// <summary> /// This indicates if applying assign laptop owners to all device user mappings within a company /// </summary> bool? ApplyAll { get; set; } /// <summary>Accepts list of laptop owner mapping ids to be applied</summary> System.Collections.Generic.List<long> LaptopOwnerMapping { get; set; } } } |