generated/api/Models/CreateTaskRespforBackup.cs

// Code generated by Microsoft (R) AutoRest Code Generator (autorest: 3.10.2, generator: @autorest/powershell@4.0.708)
// 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>Create task response for backup</summary>
    public partial class CreateTaskRespforBackup :
        Commvault.Powershell.Models.ICreateTaskRespforBackup,
        Commvault.Powershell.Models.ICreateTaskRespforBackupInternal
    {

        /// <summary>Backing field for <see cref="JobIds" /> property.</summary>
        private System.Collections.Generic.List<string> _jobIds;

        /// <summary>JobIds for the immediate run request</summary>
        [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)]
        public System.Collections.Generic.List<string> JobIds { get => this._jobIds; set => this._jobIds = value; }

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

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

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

        }
    }
    /// Create task response for backup
    public partial interface ICreateTaskRespforBackup :
        Commvault.Powershell.Runtime.IJsonSerializable
    {
        /// <summary>JobIds for the immediate run request</summary>
        [Commvault.Powershell.Runtime.Info(
        Required = false,
        ReadOnly = false,
        Read = true,
        Create = true,
        Update = true,
        Description = @"JobIds for the immediate run request",
        SerializedName = @"jobIds",
        PossibleTypes = new [] { typeof(string) })]
        System.Collections.Generic.List<string> JobIds { get; set; }

        [Commvault.Powershell.Runtime.Info(
        Required = false,
        ReadOnly = false,
        Read = true,
        Create = true,
        Update = true,
        Description = @"",
        SerializedName = @"taskId",
        PossibleTypes = new [] { typeof(long) })]
        long? TaskId { get; set; }

    }
    /// Create task response for backup
    internal partial interface ICreateTaskRespforBackupInternal

    {
        /// <summary>JobIds for the immediate run request</summary>
        System.Collections.Generic.List<string> JobIds { get; set; }

        long? TaskId { get; set; }

    }
}