generated/api/Models/ScheduleOption.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>Specific options to be set on schedules</summary> public partial class ScheduleOption : Commvault.Powershell.Models.IScheduleOption, Commvault.Powershell.Models.IScheduleOptionInternal { /// <summary>Backing field for <see cref="CommitFrequencyInHours" /> property.</summary> private long? _commitFrequencyInHours; /// <summary>Commit frequency in hours for disk cache backups from automatic schedules</summary> [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)] public long? CommitFrequencyInHours { get => this._commitFrequencyInHours; set => this._commitFrequencyInHours = value; } /// <summary>Backing field for <see cref="DaysBetweenAutoConvert" /> property.</summary> private long? _daysBetweenAutoConvert; /// <summary> /// Number of days between auto conversion of backup level applicable for databases on incremental and differential schedules /// of server plan /// </summary> [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)] public long? DaysBetweenAutoConvert { get => this._daysBetweenAutoConvert; set => this._daysBetweenAutoConvert = value; } /// <summary>Backing field for <see cref="JobRunningTimeInMins" /> property.</summary> private long? _jobRunningTimeInMins; /// <summary>total job running time in minutes</summary> [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)] public long? JobRunningTimeInMins { get => this._jobRunningTimeInMins; set => this._jobRunningTimeInMins = value; } /// <summary>Backing field for <see cref="O365ItemSelectionOption" /> property.</summary> private string _o365ItemSelectionOption; /// <summary>item backup option for O365 V2 backup jobs</summary> [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)] public string O365ItemSelectionOption { get => this._o365ItemSelectionOption; set => this._o365ItemSelectionOption = value; } /// <summary>Backing field for <see cref="UseDiskCacheForLogBackups" /> property.</summary> private bool? _useDiskCacheForLogBackups; /// <summary> /// Used to enable disk caching feature on databases for automatic schedules on server plan /// </summary> [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)] public bool? UseDiskCacheForLogBackups { get => this._useDiskCacheForLogBackups; set => this._useDiskCacheForLogBackups = value; } /// <summary>Creates an new <see cref="ScheduleOption" /> instance.</summary> public ScheduleOption() { } } /// Specific options to be set on schedules public partial interface IScheduleOption : Commvault.Powershell.Runtime.IJsonSerializable { /// <summary>Commit frequency in hours for disk cache backups from automatic schedules</summary> [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Description = @"Commit frequency in hours for disk cache backups from automatic schedules", SerializedName = @"commitFrequencyInHours", PossibleTypes = new [] { typeof(long) })] long? CommitFrequencyInHours { get; set; } /// <summary> /// Number of days between auto conversion of backup level applicable for databases on incremental and differential schedules /// of server plan /// </summary> [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Description = @"Number of days between auto conversion of backup level applicable for databases on incremental and differential schedules of server plan", SerializedName = @"daysBetweenAutoConvert", PossibleTypes = new [] { typeof(long) })] long? DaysBetweenAutoConvert { get; set; } /// <summary>total job running time in minutes</summary> [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Description = @"total job running time in minutes", SerializedName = @"jobRunningTimeInMins", PossibleTypes = new [] { typeof(long) })] long? JobRunningTimeInMins { get; set; } /// <summary>item backup option for O365 V2 backup jobs</summary> [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Description = @"item backup option for O365 V2 backup jobs", SerializedName = @"o365ItemSelectionOption", PossibleTypes = new [] { typeof(string) })] string O365ItemSelectionOption { get; set; } /// <summary> /// Used to enable disk caching feature on databases for automatic schedules on server plan /// </summary> [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Description = @"Used to enable disk caching feature on databases for automatic schedules on server plan", SerializedName = @"useDiskCacheForLogBackups", PossibleTypes = new [] { typeof(bool) })] bool? UseDiskCacheForLogBackups { get; set; } } /// Specific options to be set on schedules internal partial interface IScheduleOptionInternal { /// <summary>Commit frequency in hours for disk cache backups from automatic schedules</summary> long? CommitFrequencyInHours { get; set; } /// <summary> /// Number of days between auto conversion of backup level applicable for databases on incremental and differential schedules /// of server plan /// </summary> long? DaysBetweenAutoConvert { get; set; } /// <summary>total job running time in minutes</summary> long? JobRunningTimeInMins { get; set; } /// <summary>item backup option for O365 V2 backup jobs</summary> string O365ItemSelectionOption { get; set; } /// <summary> /// Used to enable disk caching feature on databases for automatic schedules on server plan /// </summary> bool? UseDiskCacheForLogBackups { get; set; } } } |