generated/api/Models/JobStepWaitTimeOptions.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>Request definition changing job step wait time options for cluster</summary>
    public partial class JobStepWaitTimeOptions :
        Commvault.Powershell.Models.IJobStepWaitTimeOptions,
        Commvault.Powershell.Models.IJobStepWaitTimeOptionsInternal
    {

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

        /// <summary>Specify wait time for Worker Pod to be deleted</summary>
        [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)]
        public long? ResourceCleanup { get => this._resourceCleanup; set => this._resourceCleanup = value; }

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

        /// <summary>Specify wait time for snapshot to be deleted</summary>
        [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)]
        public long? SnapshotCleanup { get => this._snapshotCleanup; set => this._snapshotCleanup = value; }

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

        /// <summary>Specify wait time for snapshot to be Ready</summary>
        [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)]
        public long? SnapshotReady { get => this._snapshotReady; set => this._snapshotReady = value; }

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

        /// <summary>Specify wait time for Worker Pod to start</summary>
        [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)]
        public long? WorkerPodStartup { get => this._workerPodStartup; set => this._workerPodStartup = value; }

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

        }
    }
    /// Request definition changing job step wait time options for cluster
    public partial interface IJobStepWaitTimeOptions :
        Commvault.Powershell.Runtime.IJsonSerializable
    {
        /// <summary>Specify wait time for Worker Pod to be deleted</summary>
        [Commvault.Powershell.Runtime.Info(
        Required = false,
        ReadOnly = false,
        Description = @"Specify wait time for Worker Pod to be deleted",
        SerializedName = @"resourceCleanup",
        PossibleTypes = new [] { typeof(long) })]
        long? ResourceCleanup { get; set; }
        /// <summary>Specify wait time for snapshot to be deleted</summary>
        [Commvault.Powershell.Runtime.Info(
        Required = false,
        ReadOnly = false,
        Description = @"Specify wait time for snapshot to be deleted",
        SerializedName = @"snapshotCleanup",
        PossibleTypes = new [] { typeof(long) })]
        long? SnapshotCleanup { get; set; }
        /// <summary>Specify wait time for snapshot to be Ready</summary>
        [Commvault.Powershell.Runtime.Info(
        Required = false,
        ReadOnly = false,
        Description = @"Specify wait time for snapshot to be Ready",
        SerializedName = @"snapshotReady",
        PossibleTypes = new [] { typeof(long) })]
        long? SnapshotReady { get; set; }
        /// <summary>Specify wait time for Worker Pod to start</summary>
        [Commvault.Powershell.Runtime.Info(
        Required = false,
        ReadOnly = false,
        Description = @"Specify wait time for Worker Pod to start",
        SerializedName = @"workerPodStartup",
        PossibleTypes = new [] { typeof(long) })]
        long? WorkerPodStartup { get; set; }

    }
    /// Request definition changing job step wait time options for cluster
    internal partial interface IJobStepWaitTimeOptionsInternal

    {
        /// <summary>Specify wait time for Worker Pod to be deleted</summary>
        long? ResourceCleanup { get; set; }
        /// <summary>Specify wait time for snapshot to be deleted</summary>
        long? SnapshotCleanup { get; set; }
        /// <summary>Specify wait time for snapshot to be Ready</summary>
        long? SnapshotReady { get; set; }
        /// <summary>Specify wait time for Worker Pod to start</summary>
        long? WorkerPodStartup { get; set; }

    }
}