generated/api/Models/ServerBackupPlanRpo.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> /// Recovery Point Objective (RPO) is the maximum amount of time that data can be lost during a service disruption. Your RPO /// determines the frequency of your backup jobs. /// </summary> public partial class ServerBackupPlanRpo : Commvault.Powershell.Models.IServerBackupPlanRpo, Commvault.Powershell.Models.IServerBackupPlanRpoInternal { /// <summary>Backing field for <see cref="BackupFrequency" /> property.</summary> private Commvault.Powershell.Models.IPlanSchedules _backupFrequency; /// <summary>PlanSchedules</summary> [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)] internal Commvault.Powershell.Models.IPlanSchedules BackupFrequency { get => (this._backupFrequency = this._backupFrequency ?? new Commvault.Powershell.Models.PlanSchedules()); set => this._backupFrequency = value; } /// <summary>Operation type for the list</summary> [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Inlined)] public string BackupFrequencyOperationType { get => ((Commvault.Powershell.Models.IPlanSchedulesInternal)BackupFrequency).OperationType; set => ((Commvault.Powershell.Models.IPlanSchedulesInternal)BackupFrequency).OperationType = value ?? null; } [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Inlined)] public System.Collections.Generic.List<Commvault.Powershell.Models.IPlanSchedule> BackupFrequencySchedules { get => ((Commvault.Powershell.Models.IPlanSchedulesInternal)BackupFrequency).Schedules; set => ((Commvault.Powershell.Models.IPlanSchedulesInternal)BackupFrequency).Schedules = value ?? null /* arrayOf */; } /// <summary>Backing field for <see cref="BackupWindow" /> property.</summary> private System.Collections.Generic.List<Commvault.Powershell.Models.IDayAndTime> _backupWindow; /// <summary>Backup window for incremental backup</summary> [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)] public System.Collections.Generic.List<Commvault.Powershell.Models.IDayAndTime> BackupWindow { get => this._backupWindow; set => this._backupWindow = value; } /// <summary>Internal Acessors for BackupFrequency</summary> Commvault.Powershell.Models.IPlanSchedules Commvault.Powershell.Models.IServerBackupPlanRpoInternal.BackupFrequency { get => (this._backupFrequency = this._backupFrequency ?? new Commvault.Powershell.Models.PlanSchedules()); set { {_backupFrequency = value;} } } /// <summary>Backing field for <see cref="FullBackupWindow" /> property.</summary> private System.Collections.Generic.List<Commvault.Powershell.Models.IDayAndTime> _fullBackupWindow; /// <summary>Backup window for full backup</summary> [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)] public System.Collections.Generic.List<Commvault.Powershell.Models.IDayAndTime> FullBackupWindow { get => this._fullBackupWindow; set => this._fullBackupWindow = value; } /// <summary>Creates an new <see cref="ServerBackupPlanRpo" /> instance.</summary> public ServerBackupPlanRpo() { } } /// Recovery Point Objective (RPO) is the maximum amount of time that data can be lost during a service disruption. Your RPO /// determines the frequency of your backup jobs. public partial interface IServerBackupPlanRpo : 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 BackupFrequencyOperationType { 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.IPlanSchedule) })] System.Collections.Generic.List<Commvault.Powershell.Models.IPlanSchedule> BackupFrequencySchedules { get; set; } /// <summary>Backup window for incremental backup</summary> [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Read = true, Create = true, Update = true, Description = @"Backup window for incremental backup", SerializedName = @"backupWindow", PossibleTypes = new [] { typeof(Commvault.Powershell.Models.IDayAndTime) })] System.Collections.Generic.List<Commvault.Powershell.Models.IDayAndTime> BackupWindow { get; set; } /// <summary>Backup window for full backup</summary> [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Read = true, Create = true, Update = true, Description = @"Backup window for full backup", SerializedName = @"fullBackupWindow", PossibleTypes = new [] { typeof(Commvault.Powershell.Models.IDayAndTime) })] System.Collections.Generic.List<Commvault.Powershell.Models.IDayAndTime> FullBackupWindow { get; set; } } /// Recovery Point Objective (RPO) is the maximum amount of time that data can be lost during a service disruption. Your RPO /// determines the frequency of your backup jobs. internal partial interface IServerBackupPlanRpoInternal { /// <summary>PlanSchedules</summary> Commvault.Powershell.Models.IPlanSchedules BackupFrequency { get; set; } /// <summary>Operation type for the list</summary> string BackupFrequencyOperationType { get; set; } System.Collections.Generic.List<Commvault.Powershell.Models.IPlanSchedule> BackupFrequencySchedules { get; set; } /// <summary>Backup window for incremental backup</summary> System.Collections.Generic.List<Commvault.Powershell.Models.IDayAndTime> BackupWindow { get; set; } /// <summary>Backup window for full backup</summary> System.Collections.Generic.List<Commvault.Powershell.Models.IDayAndTime> FullBackupWindow { get; set; } } } |