generated/api/Models/PlanBackupDestinationBackupTypeInfo.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; public partial class PlanBackupDestinationBackupTypeInfo : Commvault.Powershell.Models.IPlanBackupDestinationBackupTypeInfo, Commvault.Powershell.Models.IPlanBackupDestinationBackupTypeInfoInternal { /// <summary>Backing field for <see cref="BackupTypesCopiedFrom" /> property.</summary> private long? _backupTypesCopiedFrom; /// <summary> /// Tells what start date, backup types should be copied from. The date is provided in unix time format in number of seconds. /// -1 means initial backup date. /// </summary> [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)] public long? BackupTypesCopiedFrom { get => this._backupTypesCopiedFrom; set => this._backupTypesCopiedFrom = value; } /// <summary>Backing field for <see cref="BackupTypesToCopy" /> property.</summary> private string _backupTypesToCopy; /// <summary> /// All_JOBS means SYNCHRONOUS copy type, others are applicable for SELECTIVE copy Type only. /// </summary> [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)] public string BackupTypesToCopy { get => this._backupTypesToCopy; set => this._backupTypesToCopy = value; } /// <summary>Backing field for <see cref="FullBackupTypesToCopy" /> property.</summary> private string _fullBackupTypesToCopy; /// <summary> /// Which type of backup type should be copied for the given backup destination when backup type is not all jobs. Default /// is LAST while adding new backup destination. /// </summary> [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)] public string FullBackupTypesToCopy { get => this._fullBackupTypesToCopy; set => this._fullBackupTypesToCopy = value; } /// <summary>Creates an new <see cref="PlanBackupDestinationBackupTypeInfo" /> instance.</summary> public PlanBackupDestinationBackupTypeInfo() { } } public partial interface IPlanBackupDestinationBackupTypeInfo : Commvault.Powershell.Runtime.IJsonSerializable { /// <summary> /// Tells what start date, backup types should be copied from. The date is provided in unix time format in number of seconds. /// -1 means initial backup date. /// </summary> [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Read = true, Create = true, Update = true, Description = @"Tells what start date, backup types should be copied from. The date is provided in unix time format in number of seconds. -1 means initial backup date.", SerializedName = @"backupTypesCopiedFrom", PossibleTypes = new [] { typeof(long) })] long? BackupTypesCopiedFrom { get; set; } /// <summary> /// All_JOBS means SYNCHRONOUS copy type, others are applicable for SELECTIVE copy Type only. /// </summary> [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Read = true, Create = true, Update = true, Description = @"All_JOBS means SYNCHRONOUS copy type, others are applicable for SELECTIVE copy Type only.", SerializedName = @"backupTypesToCopy", PossibleTypes = new [] { typeof(string) })] string BackupTypesToCopy { get; set; } /// <summary> /// Which type of backup type should be copied for the given backup destination when backup type is not all jobs. Default /// is LAST while adding new backup destination. /// </summary> [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Read = true, Create = true, Update = true, Description = @"Which type of backup type should be copied for the given backup destination when backup type is not all jobs. Default is LAST while adding new backup destination.", SerializedName = @"fullBackupTypesToCopy", PossibleTypes = new [] { typeof(string) })] string FullBackupTypesToCopy { get; set; } } internal partial interface IPlanBackupDestinationBackupTypeInfoInternal { /// <summary> /// Tells what start date, backup types should be copied from. The date is provided in unix time format in number of seconds. /// -1 means initial backup date. /// </summary> long? BackupTypesCopiedFrom { get; set; } /// <summary> /// All_JOBS means SYNCHRONOUS copy type, others are applicable for SELECTIVE copy Type only. /// </summary> string BackupTypesToCopy { get; set; } /// <summary> /// Which type of backup type should be copied for the given backup destination when backup type is not all jobs. Default /// is LAST while adding new backup destination. /// </summary> string FullBackupTypesToCopy { get; set; } } } |