generated/api/Models/RecoveryEntityExecutionInfo.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>RecoveryEntityExecutionInfo</summary>
    public partial class RecoveryEntityExecutionInfo :
        Commvault.Powershell.Models.IRecoveryEntityExecutionInfo,
        Commvault.Powershell.Models.IRecoveryEntityExecutionInfoInternal
    {

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

        /// <summary>Group ID to group similar entities together</summary>
        [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)]
        public long? Group { get => this._group; set => this._group = value; }

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

        /// <summary>Decides the priority of entites within a group</summary>
        [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)]
        public long? Order { get => this._order; set => this._order = value; }

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

        /// <summary>Decides the priority of group execution</summary>
        [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)]
        public long? Priority { get => this._priority; set => this._priority = value; }

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

        }
    }
    /// RecoveryEntityExecutionInfo
    public partial interface IRecoveryEntityExecutionInfo :
        Commvault.Powershell.Runtime.IJsonSerializable
    {
        /// <summary>Group ID to group similar entities together</summary>
        [Commvault.Powershell.Runtime.Info(
        Required = false,
        ReadOnly = false,
        Description = @"Group ID to group similar entities together",
        SerializedName = @"group",
        PossibleTypes = new [] { typeof(long) })]
        long? Group { get; set; }
        /// <summary>Decides the priority of entites within a group</summary>
        [Commvault.Powershell.Runtime.Info(
        Required = false,
        ReadOnly = false,
        Description = @"Decides the priority of entites within a group",
        SerializedName = @"order",
        PossibleTypes = new [] { typeof(long) })]
        long? Order { get; set; }
        /// <summary>Decides the priority of group execution</summary>
        [Commvault.Powershell.Runtime.Info(
        Required = false,
        ReadOnly = false,
        Description = @"Decides the priority of group execution",
        SerializedName = @"priority",
        PossibleTypes = new [] { typeof(long) })]
        long? Priority { get; set; }

    }
    /// RecoveryEntityExecutionInfo
    internal partial interface IRecoveryEntityExecutionInfoInternal

    {
        /// <summary>Group ID to group similar entities together</summary>
        long? Group { get; set; }
        /// <summary>Decides the priority of entites within a group</summary>
        long? Order { get; set; }
        /// <summary>Decides the priority of group execution</summary>
        long? Priority { get; set; }

    }
}