generated/api/Models/RecoveryEntityRpDetails.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> /// Contains the information regarding the recovery entity level recoveryPoint selection /// </summary> public partial class RecoveryEntityRpDetails : Commvault.Powershell.Models.IRecoveryEntityRpDetails, Commvault.Powershell.Models.IRecoveryEntityRpDetailsInternal { /// <summary>Backing field for <see cref="EntityRecoveryPoint" /> property.</summary> private long? _entityRecoveryPoint; /// <summary> /// Timestamp for entity restore in case of disaster, default value is 0 as latest recovery point /// </summary> [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)] public long? EntityRecoveryPoint { get => this._entityRecoveryPoint; set => this._entityRecoveryPoint = value; } /// <summary>Backing field for <see cref="EntityRecoveryPointCategory" /> property.</summary> private string _entityRecoveryPointCategory; /// <summary>Type of recovery point category that can be selected. Default is Latest</summary> [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)] public string EntityRecoveryPointCategory { get => this._entityRecoveryPointCategory; set => this._entityRecoveryPointCategory = value; } /// <summary>Backing field for <see cref="InheritedFrom" /> property.</summary> private string _inheritedFrom; /// <summary> /// Describes from where the recovery point is inherited from. If not provided, recovery point will be used as if it is set /// at recovery group level /// </summary> [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)] public string InheritedFrom { get => this._inheritedFrom; set => this._inheritedFrom = value; } /// <summary>Backing field for <see cref="TimeZoneId" /> property.</summary> private long? _timeZoneId; /// <summary>TimeZone Id of the CS</summary> [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)] public long? TimeZoneId { get => this._timeZoneId; set => this._timeZoneId = value; } /// <summary>Creates an new <see cref="RecoveryEntityRpDetails" /> instance.</summary> public RecoveryEntityRpDetails() { } } /// Contains the information regarding the recovery entity level recoveryPoint selection public partial interface IRecoveryEntityRpDetails : Commvault.Powershell.Runtime.IJsonSerializable { /// <summary> /// Timestamp for entity restore in case of disaster, default value is 0 as latest recovery point /// </summary> [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Read = true, Create = true, Update = true, Description = @"Timestamp for entity restore in case of disaster, default value is 0 as latest recovery point", SerializedName = @"entityRecoveryPoint", PossibleTypes = new [] { typeof(long) })] long? EntityRecoveryPoint { get; set; } /// <summary>Type of recovery point category that can be selected. Default is Latest</summary> [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Read = true, Create = true, Update = true, Description = @"Type of recovery point category that can be selected. Default is Latest", SerializedName = @"entityRecoveryPointCategory", PossibleTypes = new [] { typeof(string) })] string EntityRecoveryPointCategory { get; set; } /// <summary> /// Describes from where the recovery point is inherited from. If not provided, recovery point will be used as if it is set /// at recovery group level /// </summary> [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Read = true, Create = true, Update = true, Description = @"Describes from where the recovery point is inherited from. If not provided, recovery point will be used as if it is set at recovery group level", SerializedName = @"inheritedFrom", PossibleTypes = new [] { typeof(string) })] string InheritedFrom { get; set; } /// <summary>TimeZone Id of the CS</summary> [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Read = true, Create = true, Update = true, Description = @"TimeZone Id of the CS", SerializedName = @"timeZoneId", PossibleTypes = new [] { typeof(long) })] long? TimeZoneId { get; set; } } /// Contains the information regarding the recovery entity level recoveryPoint selection internal partial interface IRecoveryEntityRpDetailsInternal { /// <summary> /// Timestamp for entity restore in case of disaster, default value is 0 as latest recovery point /// </summary> long? EntityRecoveryPoint { get; set; } /// <summary>Type of recovery point category that can be selected. Default is Latest</summary> string EntityRecoveryPointCategory { get; set; } /// <summary> /// Describes from where the recovery point is inherited from. If not provided, recovery point will be used as if it is set /// at recovery group level /// </summary> string InheritedFrom { get; set; } /// <summary>TimeZone Id of the CS</summary> long? TimeZoneId { get; set; } } } |