generated/api/Models/AssignLaptopOwnerMappingReq.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>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 long[] _laptopOwnerMapping;

        /// <summary>Accepts list of laptop owner mapping ids to be applied</summary>
        [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)]
        public 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,
        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,
        Description = @"Accepts list of laptop owner mapping ids to be applied",
        SerializedName = @"laptopOwnerMapping",
        PossibleTypes = new [] { typeof(long) })]
        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>
        long[] LaptopOwnerMapping { get; set; }

    }
}