generated/api/Models/ObjectStorePlanSchedules.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>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 System.Collections.Generic.List<Commvault.Powershell.Models.IObjectStorePlanSchedule> _schedules;

        [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)]
        public System.Collections.Generic.List<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,
        Read = true,
        Create = true,
        Update = true,
        Description = @"Operation type for the list",
        SerializedName = @"operationType",
        PossibleTypes = new [] { typeof(string) })]
        string OperationType { get; set; }

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

    }
    /// PlanSchedules
    internal partial interface IObjectStorePlanSchedulesInternal

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

        System.Collections.Generic.List<Commvault.Powershell.Models.IObjectStorePlanSchedule> Schedules { get; set; }

    }
}