generated/api/Models/Rpo.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>Frequency of replication</summary>
    public partial class Rpo :
        Commvault.Powershell.Models.IRpo,
        Commvault.Powershell.Models.IRpoInternal
    {

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

        /// <summary>
        /// Max amount of time for which data can be lost during a service disruption. Determines frequency of backup jobs in minutes
        /// </summary>
        [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)]
        public long? ReplicationFrequency { get => this._replicationFrequency; set => this._replicationFrequency = value; }

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

        }
    }
    /// Frequency of replication
    public partial interface IRpo :
        Commvault.Powershell.Runtime.IJsonSerializable
    {
        /// <summary>
        /// Max amount of time for which data can be lost during a service disruption. Determines frequency of backup jobs in minutes
        /// </summary>
        [Commvault.Powershell.Runtime.Info(
        Required = false,
        ReadOnly = false,
        Description = @"Max amount of time for which data can be lost during a service disruption. Determines frequency of backup jobs in minutes",
        SerializedName = @"replicationFrequency",
        PossibleTypes = new [] { typeof(long) })]
        long? ReplicationFrequency { get; set; }

    }
    /// Frequency of replication
    internal partial interface IRpoInternal

    {
        /// <summary>
        /// Max amount of time for which data can be lost during a service disruption. Determines frequency of backup jobs in minutes
        /// </summary>
        long? ReplicationFrequency { get; set; }

    }
}