generated/api/Models/ValidationScheduleObject.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>Schedule for application validation for VM Group</summary>
    public partial class ValidationScheduleObject :
        Commvault.Powershell.Models.IValidationScheduleObject,
        Commvault.Powershell.Models.IValidationScheduleObjectInternal
    {

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

        /// <summary>Description for validation schedule</summary>
        [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)]
        public string Description { get => this._description; set => this._description = value; }

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

        [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)]
        public long? Id { get => this._id; set => this._id = value; }

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

        /// <summary>True if application validation schedule is enabled</summary>
        [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)]
        public bool? IsScheduleEnabled { get => this._isScheduleEnabled; set => this._isScheduleEnabled = value; }

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

        /// <summary>Job Id for the application validation task. 0 if schedule is disabled</summary>
        [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)]
        public long? TaskId { get => this._taskId; set => this._taskId = value; }

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

        }
    }
    /// Schedule for application validation for VM Group
    public partial interface IValidationScheduleObject :
        Commvault.Powershell.Runtime.IJsonSerializable
    {
        /// <summary>Description for validation schedule</summary>
        [Commvault.Powershell.Runtime.Info(
        Required = false,
        ReadOnly = false,
        Description = @"Description for validation schedule",
        SerializedName = @"description",
        PossibleTypes = new [] { typeof(string) })]
        string Description { get; set; }

        [Commvault.Powershell.Runtime.Info(
        Required = false,
        ReadOnly = false,
        Description = @"",
        SerializedName = @"id",
        PossibleTypes = new [] { typeof(long) })]
        long? Id { get; set; }
        /// <summary>True if application validation schedule is enabled</summary>
        [Commvault.Powershell.Runtime.Info(
        Required = false,
        ReadOnly = false,
        Description = @"True if application validation schedule is enabled",
        SerializedName = @"isScheduleEnabled",
        PossibleTypes = new [] { typeof(bool) })]
        bool? IsScheduleEnabled { get; set; }
        /// <summary>Job Id for the application validation task. 0 if schedule is disabled</summary>
        [Commvault.Powershell.Runtime.Info(
        Required = false,
        ReadOnly = false,
        Description = @"Job Id for the application validation task. 0 if schedule is disabled",
        SerializedName = @"taskId",
        PossibleTypes = new [] { typeof(long) })]
        long? TaskId { get; set; }

    }
    /// Schedule for application validation for VM Group
    internal partial interface IValidationScheduleObjectInternal

    {
        /// <summary>Description for validation schedule</summary>
        string Description { get; set; }

        long? Id { get; set; }
        /// <summary>True if application validation schedule is enabled</summary>
        bool? IsScheduleEnabled { get; set; }
        /// <summary>Job Id for the application validation task. 0 if schedule is disabled</summary>
        long? TaskId { get; set; }

    }
}