generated/api/Models/LaptopPlanRespSaaS.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>LaptopPlanResponse SaaS</summary>
    public partial class LaptopPlanRespSaaS :
        Commvault.Powershell.Models.ILaptopPlanRespSaaS,
        Commvault.Powershell.Models.ILaptopPlanRespSaaSInternal
    {

        /// <summary>Internal Acessors for Data</summary>
        Commvault.Powershell.Models.IPlanNameAndId Commvault.Powershell.Models.ILaptopPlanRespSaaSInternal.Data { get => (this._data = this._data ?? new Commvault.Powershell.Models.PlanNameAndId()); set { {_data = value;} } }

        /// <summary>Backing field for <see cref="Data" /> property.</summary>
        private Commvault.Powershell.Models.IPlanNameAndId _data;

        [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)]
        internal Commvault.Powershell.Models.IPlanNameAndId Data { get => (this._data = this._data ?? new Commvault.Powershell.Models.PlanNameAndId()); set => this._data = value; }

        /// <summary>Plan ID</summary>
        [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Inlined)]
        public long? DataPlanId { get => ((Commvault.Powershell.Models.IPlanNameAndIdInternal)Data).PlanId; set => ((Commvault.Powershell.Models.IPlanNameAndIdInternal)Data).PlanId = value ?? default(long); }

        /// <summary>Plan Name</summary>
        [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Inlined)]
        public string DataPlanName { get => ((Commvault.Powershell.Models.IPlanNameAndIdInternal)Data).PlanName; set => ((Commvault.Powershell.Models.IPlanNameAndIdInternal)Data).PlanName = value ?? null; }

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

        }
    }
    /// LaptopPlanResponse SaaS
    public partial interface ILaptopPlanRespSaaS :
        Commvault.Powershell.Runtime.IJsonSerializable
    {
        /// <summary>Plan ID</summary>
        [Commvault.Powershell.Runtime.Info(
        Required = false,
        ReadOnly = false,
        Read = true,
        Create = true,
        Update = true,
        Description = @"Plan ID",
        SerializedName = @"planId",
        PossibleTypes = new [] { typeof(long) })]
        long? DataPlanId { get; set; }
        /// <summary>Plan Name</summary>
        [Commvault.Powershell.Runtime.Info(
        Required = false,
        ReadOnly = false,
        Read = true,
        Create = true,
        Update = true,
        Description = @"Plan Name",
        SerializedName = @"planName",
        PossibleTypes = new [] { typeof(string) })]
        string DataPlanName { get; set; }

    }
    /// LaptopPlanResponse SaaS
    internal partial interface ILaptopPlanRespSaaSInternal

    {
        Commvault.Powershell.Models.IPlanNameAndId Data { get; set; }
        /// <summary>Plan ID</summary>
        long? DataPlanId { get; set; }
        /// <summary>Plan Name</summary>
        string DataPlanName { get; set; }

    }
}