generated/api/Models/ObjectStorePlanSchedules.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>PlanSchedules</summary>
    public partial class ObjectStorePlanSchedules :
        Commvault.Powershell.Models.IObjectStorePlanSchedules,
        Commvault.Powershell.Models.IObjectStorePlanSchedulesInternal
    {

        /// <summary>Backing field for <see cref="OperationType" /> property.</summary>
        private string _operationType;

        /// <summary>Operation type for the list</summary>
        [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)]
        public string OperationType { get => this._operationType; set => this._operationType = value; }

        /// <summary>Backing field for <see cref="Schedules" /> property.</summary>
        private Commvault.Powershell.Models.IObjectStorePlanSchedule[] _schedules;

        [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)]
        public Commvault.Powershell.Models.IObjectStorePlanSchedule[] Schedules { get => this._schedules; set => this._schedules = value; }

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

        }
    }
    /// PlanSchedules
    public partial interface IObjectStorePlanSchedules :
        Commvault.Powershell.Runtime.IJsonSerializable
    {
        /// <summary>Operation type for the list</summary>
        [Commvault.Powershell.Runtime.Info(
        Required = false,
        ReadOnly = false,
        Description = @"Operation type for the list",
        SerializedName = @"operationType",
        PossibleTypes = new [] { typeof(string) })]
        string OperationType { get; set; }

        [Commvault.Powershell.Runtime.Info(
        Required = false,
        ReadOnly = false,
        Description = @"",
        SerializedName = @"schedules",
        PossibleTypes = new [] { typeof(Commvault.Powershell.Models.IObjectStorePlanSchedule) })]
        Commvault.Powershell.Models.IObjectStorePlanSchedule[] Schedules { get; set; }

    }
    /// PlanSchedules
    internal partial interface IObjectStorePlanSchedulesInternal

    {
        /// <summary>Operation type for the list</summary>
        string OperationType { get; set; }

        Commvault.Powershell.Models.IObjectStorePlanSchedule[] Schedules { get; set; }

    }
}