generated/api/Models/PlanWorkloads.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>PlanWorkloads</summary>
    public partial class PlanWorkloads :
        Commvault.Powershell.Models.IPlanWorkloads,
        Commvault.Powershell.Models.IPlanWorkloadsInternal
    {

        /// <summary>Backing field for <see cref="Solutions" /> property.</summary>
        private System.Collections.Generic.List<Commvault.Powershell.Models.IIdName> _solutions;

        [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)]
        public System.Collections.Generic.List<Commvault.Powershell.Models.IIdName> Solutions { get => this._solutions; set => this._solutions = value; }

        /// <summary>Backing field for <see cref="WorkloadGroupTypes" /> property.</summary>
        private System.Collections.Generic.List<string> _workloadGroupTypes;

        [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)]
        public System.Collections.Generic.List<string> WorkloadGroupTypes { get => this._workloadGroupTypes; set => this._workloadGroupTypes = value; }

        /// <summary>Backing field for <see cref="WorkloadTypes" /> property.</summary>
        private System.Collections.Generic.List<Commvault.Powershell.Models.IIdName> _workloadTypes;

        [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)]
        public System.Collections.Generic.List<Commvault.Powershell.Models.IIdName> WorkloadTypes { get => this._workloadTypes; set => this._workloadTypes = value; }

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

        }
    }
    /// PlanWorkloads
    public partial interface IPlanWorkloads :
        Commvault.Powershell.Runtime.IJsonSerializable
    {
        [Commvault.Powershell.Runtime.Info(
        Required = false,
        ReadOnly = false,
        Read = true,
        Create = true,
        Update = true,
        Description = @"",
        SerializedName = @"solutions",
        PossibleTypes = new [] { typeof(Commvault.Powershell.Models.IIdName) })]
        System.Collections.Generic.List<Commvault.Powershell.Models.IIdName> Solutions { get; set; }

        [Commvault.Powershell.Runtime.Info(
        Required = false,
        ReadOnly = false,
        Read = true,
        Create = true,
        Update = true,
        Description = @"",
        SerializedName = @"workloadGroupTypes",
        PossibleTypes = new [] { typeof(string) })]
        System.Collections.Generic.List<string> WorkloadGroupTypes { get; set; }

        [Commvault.Powershell.Runtime.Info(
        Required = false,
        ReadOnly = false,
        Read = true,
        Create = true,
        Update = true,
        Description = @"",
        SerializedName = @"workloadTypes",
        PossibleTypes = new [] { typeof(Commvault.Powershell.Models.IIdName) })]
        System.Collections.Generic.List<Commvault.Powershell.Models.IIdName> WorkloadTypes { get; set; }

    }
    /// PlanWorkloads
    internal partial interface IPlanWorkloadsInternal

    {
        System.Collections.Generic.List<Commvault.Powershell.Models.IIdName> Solutions { get; set; }

        System.Collections.Generic.List<string> WorkloadGroupTypes { get; set; }

        System.Collections.Generic.List<Commvault.Powershell.Models.IIdName> WorkloadTypes { get; set; }

    }
}