generated/api/Models/PeriodicMonitorDeleteRequest.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>The payload of the periodic monitor delete operation</summary>
    public partial class PeriodicMonitorDeleteRequest :
        Commvault.Powershell.Models.IPeriodicMonitorDeleteRequest,
        Commvault.Powershell.Models.IPeriodicMonitorDeleteRequestInternal
    {

        /// <summary>Backing field for <see cref="DeleteDrvMS" /> property.</summary>
        private bool? _deleteDrvMS;

        /// <summary>Provide this option to delete the DR VM's too.</summary>
        [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)]
        public bool? DeleteDrvMS { get => this._deleteDrvMS; set => this._deleteDrvMS = value; }

        /// <summary>Backing field for <see cref="PairIds" /> property.</summary>
        private long[] _pairIds;

        /// <summary>The id's of the pair that have to be deleted.</summary>
        [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)]
        public long[] PairIds { get => this._pairIds; set => this._pairIds = value; }

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

        }
    }
    /// The payload of the periodic monitor delete operation
    public partial interface IPeriodicMonitorDeleteRequest :
        Commvault.Powershell.Runtime.IJsonSerializable
    {
        /// <summary>Provide this option to delete the DR VM's too.</summary>
        [Commvault.Powershell.Runtime.Info(
        Required = false,
        ReadOnly = false,
        Description = @"Provide this option to delete the DR VM's too.",
        SerializedName = @"deleteDRVMs",
        PossibleTypes = new [] { typeof(bool) })]
        bool? DeleteDrvMS { get; set; }
        /// <summary>The id's of the pair that have to be deleted.</summary>
        [Commvault.Powershell.Runtime.Info(
        Required = true,
        ReadOnly = false,
        Description = @"The id's of the pair that have to be deleted.",
        SerializedName = @"pairIds",
        PossibleTypes = new [] { typeof(long) })]
        long[] PairIds { get; set; }

    }
    /// The payload of the periodic monitor delete operation
    internal partial interface IPeriodicMonitorDeleteRequestInternal

    {
        /// <summary>Provide this option to delete the DR VM's too.</summary>
        bool? DeleteDrvMS { get; set; }
        /// <summary>The id's of the pair that have to be deleted.</summary>
        long[] PairIds { get; set; }

    }
}