generated/api/Models/RecoveryGroupRpDetails.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>
    /// Contains the information regarding the recovery group level recoveryPoint selection
    /// </summary>
    public partial class RecoveryGroupRpDetails :
        Commvault.Powershell.Models.IRecoveryGroupRpDetails,
        Commvault.Powershell.Models.IRecoveryGroupRpDetailsInternal
    {

        /// <summary>Backing field for <see cref="RecoveryPoint" /> property.</summary>
        private long? _recoveryPoint;

        /// <summary>
        /// Timestamp for group restore in case of disaster, default value is 0 as latest recovery point
        /// </summary>
        [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)]
        public long? RecoveryPoint { get => this._recoveryPoint; set => this._recoveryPoint = value; }

        /// <summary>Backing field for <see cref="RecoveryPointCategory" /> property.</summary>
        private string _recoveryPointCategory;

        /// <summary>Type of recovery point category that can be selected. Default is Latest</summary>
        [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)]
        public string RecoveryPointCategory { get => this._recoveryPointCategory; set => this._recoveryPointCategory = value; }

        /// <summary>Creates an new <see cref="RecoveryGroupRpDetails" /> instance.</summary>
        public RecoveryGroupRpDetails()
        {

        }
    }
    /// Contains the information regarding the recovery group level recoveryPoint selection
    public partial interface IRecoveryGroupRpDetails :
        Commvault.Powershell.Runtime.IJsonSerializable
    {
        /// <summary>
        /// Timestamp for group restore in case of disaster, default value is 0 as latest recovery point
        /// </summary>
        [Commvault.Powershell.Runtime.Info(
        Required = false,
        ReadOnly = false,
        Description = @"Timestamp for group restore in case of disaster, default value is 0 as latest recovery point",
        SerializedName = @"recoveryPoint",
        PossibleTypes = new [] { typeof(long) })]
        long? RecoveryPoint { get; set; }
        /// <summary>Type of recovery point category that can be selected. Default is Latest</summary>
        [Commvault.Powershell.Runtime.Info(
        Required = false,
        ReadOnly = false,
        Description = @"Type of recovery point category that can be selected. Default is Latest",
        SerializedName = @"recoveryPointCategory",
        PossibleTypes = new [] { typeof(string) })]
        string RecoveryPointCategory { get; set; }

    }
    /// Contains the information regarding the recovery group level recoveryPoint selection
    internal partial interface IRecoveryGroupRpDetailsInternal

    {
        /// <summary>
        /// Timestamp for group restore in case of disaster, default value is 0 as latest recovery point
        /// </summary>
        long? RecoveryPoint { get; set; }
        /// <summary>Type of recovery point category that can be selected. Default is Latest</summary>
        string RecoveryPointCategory { get; set; }

    }
}