generated/api/Models/MountPathJobInfo.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>Mountpath job information</summary>
    public partial class MountPathJobInfo :
        Commvault.Powershell.Models.IMountPathJobInfo,
        Commvault.Powershell.Models.IMountPathJobInfoInternal
    {

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

        /// <summary>The name of application</summary>
        [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)]
        public string AppName { get => this._appName; set => this._appName = value; }

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

        /// <summary>Archive File Name</summary>
        [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)]
        public string ArchFileName { get => this._archFileName; set => this._archFileName = value; }

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

        /// <summary>Job Archive File type</summary>
        [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)]
        public string ArchFileType { get => this._archFileType; set => this._archFileType = value; }

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

        /// <summary>The level of the backup job</summary>
        [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)]
        public string BackupLevel { get => this._backupLevel; set => this._backupLevel = value; }

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

        /// <summary>The name of the backup set associated with the job.</summary>
        [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)]
        public string BackupSetName { get => this._backupSetName; set => this._backupSetName = value; }

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

        /// <summary>The time when backup is done</summary>
        [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)]
        public long? BackupTime { get => this._backupTime; set => this._backupTime = value; }

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

        /// <summary>The name of the client associated with the job.</summary>
        [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)]
        public string ClientName { get => this._clientName; set => this._clientName = value; }

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

        /// <summary>Cycles and Sequences</summary>
        [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)]
        public string CyclesNSeq { get => this._cyclesNSeq; set => this._cyclesNSeq = value; }

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

        /// <summary>Status of the data of job</summary>
        [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)]
        public string DataStatus { get => this._dataStatus; set => this._dataStatus = value; }

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

        /// <summary>Amount of data written on mountpath during job</summary>
        [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)]
        public long? DataWritten { get => this._dataWritten; set => this._dataWritten = value; }

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

        /// <summary>The name of the instance associated with the job.</summary>
        [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)]
        public string InstanceName { get => this._instanceName; set => this._instanceName = value; }

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

        /// <summary>Indicates if job is aged or not.</summary>
        [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)]
        public bool? IsAged { get => this._isAged; set => this._isAged = value; }

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

        /// <summary>Indicates if job has valid Data</summary>
        [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)]
        public bool? IsValidData { get => this._isValidData; set => this._isValidData = value; }

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

        /// <summary>The system-generated ID assigned to the job.</summary>
        [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)]
        public long? JobId { get => this._jobId; set => this._jobId = value; }

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

        /// <summary>Status of the last backup job performed.</summary>
        [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)]
        public string JobStatus { get => this._jobStatus; set => this._jobStatus = value; }

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

        /// <summary>Media Side Name</summary>
        [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)]
        public string MediaSideName { get => this._mediaSideName; set => this._mediaSideName = value; }

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

        /// <summary>Retention DateTime for job</summary>
        [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)]
        public long? RetainTill { get => this._retainTill; set => this._retainTill = value; }

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

        /// <summary>The amount of application data that was protected during the job.</summary>
        [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)]
        public long? SizeOfApplication { get => this._sizeOfApplication; set => this._sizeOfApplication = value; }

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

        /// <summary>The amount of application data that was protected during the job</summary>
        [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)]
        public long? SizeOfBackup { get => this._sizeOfBackup; set => this._sizeOfBackup = value; }

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

        /// <summary>Storage Policy and Copy Name</summary>
        [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)]
        public string StoragePolicyNCopy { get => this._storagePolicyNCopy; set => this._storagePolicyNCopy = value; }

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

        /// <summary>The name of the subclient associated with the job.</summary>
        [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)]
        public string SubclientName { get => this._subclientName; set => this._subclientName = value; }

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

        }
    }
    /// Mountpath job information
    public partial interface IMountPathJobInfo :
        Commvault.Powershell.Runtime.IJsonSerializable
    {
        /// <summary>The name of application</summary>
        [Commvault.Powershell.Runtime.Info(
        Required = false,
        ReadOnly = false,
        Description = @"The name of application",
        SerializedName = @"appName",
        PossibleTypes = new [] { typeof(string) })]
        string AppName { get; set; }
        /// <summary>Archive File Name</summary>
        [Commvault.Powershell.Runtime.Info(
        Required = false,
        ReadOnly = false,
        Description = @"Archive File Name",
        SerializedName = @"archFileName",
        PossibleTypes = new [] { typeof(string) })]
        string ArchFileName { get; set; }
        /// <summary>Job Archive File type</summary>
        [Commvault.Powershell.Runtime.Info(
        Required = false,
        ReadOnly = false,
        Description = @"Job Archive File type",
        SerializedName = @"archFileType",
        PossibleTypes = new [] { typeof(string) })]
        string ArchFileType { get; set; }
        /// <summary>The level of the backup job</summary>
        [Commvault.Powershell.Runtime.Info(
        Required = false,
        ReadOnly = false,
        Description = @"The level of the backup job",
        SerializedName = @"backupLevel",
        PossibleTypes = new [] { typeof(string) })]
        string BackupLevel { get; set; }
        /// <summary>The name of the backup set associated with the job.</summary>
        [Commvault.Powershell.Runtime.Info(
        Required = false,
        ReadOnly = false,
        Description = @"The name of the backup set associated with the job.",
        SerializedName = @"backupSetName",
        PossibleTypes = new [] { typeof(string) })]
        string BackupSetName { get; set; }
        /// <summary>The time when backup is done</summary>
        [Commvault.Powershell.Runtime.Info(
        Required = false,
        ReadOnly = false,
        Description = @"The time when backup is done",
        SerializedName = @"backupTime",
        PossibleTypes = new [] { typeof(long) })]
        long? BackupTime { get; set; }
        /// <summary>The name of the client associated with the job.</summary>
        [Commvault.Powershell.Runtime.Info(
        Required = false,
        ReadOnly = false,
        Description = @"The name of the client associated with the job.",
        SerializedName = @"clientName",
        PossibleTypes = new [] { typeof(string) })]
        string ClientName { get; set; }
        /// <summary>Cycles and Sequences</summary>
        [Commvault.Powershell.Runtime.Info(
        Required = false,
        ReadOnly = false,
        Description = @"Cycles and Sequences",
        SerializedName = @"cyclesNSeq",
        PossibleTypes = new [] { typeof(string) })]
        string CyclesNSeq { get; set; }
        /// <summary>Status of the data of job</summary>
        [Commvault.Powershell.Runtime.Info(
        Required = false,
        ReadOnly = false,
        Description = @"Status of the data of job",
        SerializedName = @"dataStatus",
        PossibleTypes = new [] { typeof(string) })]
        string DataStatus { get; set; }
        /// <summary>Amount of data written on mountpath during job</summary>
        [Commvault.Powershell.Runtime.Info(
        Required = false,
        ReadOnly = false,
        Description = @"Amount of data written on mountpath during job",
        SerializedName = @"dataWritten",
        PossibleTypes = new [] { typeof(long) })]
        long? DataWritten { get; set; }
        /// <summary>The name of the instance associated with the job.</summary>
        [Commvault.Powershell.Runtime.Info(
        Required = false,
        ReadOnly = false,
        Description = @"The name of the instance associated with the job.",
        SerializedName = @"instanceName",
        PossibleTypes = new [] { typeof(string) })]
        string InstanceName { get; set; }
        /// <summary>Indicates if job is aged or not.</summary>
        [Commvault.Powershell.Runtime.Info(
        Required = false,
        ReadOnly = false,
        Description = @"Indicates if job is aged or not.",
        SerializedName = @"isAged",
        PossibleTypes = new [] { typeof(bool) })]
        bool? IsAged { get; set; }
        /// <summary>Indicates if job has valid Data</summary>
        [Commvault.Powershell.Runtime.Info(
        Required = false,
        ReadOnly = false,
        Description = @"Indicates if job has valid Data",
        SerializedName = @"isValidData",
        PossibleTypes = new [] { typeof(bool) })]
        bool? IsValidData { get; set; }
        /// <summary>The system-generated ID assigned to the job.</summary>
        [Commvault.Powershell.Runtime.Info(
        Required = false,
        ReadOnly = false,
        Description = @"The system-generated ID assigned to the job.",
        SerializedName = @"jobId",
        PossibleTypes = new [] { typeof(long) })]
        long? JobId { get; set; }
        /// <summary>Status of the last backup job performed.</summary>
        [Commvault.Powershell.Runtime.Info(
        Required = false,
        ReadOnly = false,
        Description = @"Status of the last backup job performed.",
        SerializedName = @"jobStatus",
        PossibleTypes = new [] { typeof(string) })]
        string JobStatus { get; set; }
        /// <summary>Media Side Name</summary>
        [Commvault.Powershell.Runtime.Info(
        Required = false,
        ReadOnly = false,
        Description = @"Media Side Name",
        SerializedName = @"mediaSideName",
        PossibleTypes = new [] { typeof(string) })]
        string MediaSideName { get; set; }
        /// <summary>Retention DateTime for job</summary>
        [Commvault.Powershell.Runtime.Info(
        Required = false,
        ReadOnly = false,
        Description = @"Retention DateTime for job",
        SerializedName = @"retainTill",
        PossibleTypes = new [] { typeof(long) })]
        long? RetainTill { get; set; }
        /// <summary>The amount of application data that was protected during the job.</summary>
        [Commvault.Powershell.Runtime.Info(
        Required = false,
        ReadOnly = false,
        Description = @"The amount of application data that was protected during the job.",
        SerializedName = @"sizeOfApplication",
        PossibleTypes = new [] { typeof(long) })]
        long? SizeOfApplication { get; set; }
        /// <summary>The amount of application data that was protected during the job</summary>
        [Commvault.Powershell.Runtime.Info(
        Required = false,
        ReadOnly = false,
        Description = @"The amount of application data that was protected during the job",
        SerializedName = @"sizeOfBackup",
        PossibleTypes = new [] { typeof(long) })]
        long? SizeOfBackup { get; set; }
        /// <summary>Storage Policy and Copy Name</summary>
        [Commvault.Powershell.Runtime.Info(
        Required = false,
        ReadOnly = false,
        Description = @"Storage Policy and Copy Name",
        SerializedName = @"storagePolicyNCopy",
        PossibleTypes = new [] { typeof(string) })]
        string StoragePolicyNCopy { get; set; }
        /// <summary>The name of the subclient associated with the job.</summary>
        [Commvault.Powershell.Runtime.Info(
        Required = false,
        ReadOnly = false,
        Description = @"The name of the subclient associated with the job.",
        SerializedName = @"subclientName",
        PossibleTypes = new [] { typeof(string) })]
        string SubclientName { get; set; }

    }
    /// Mountpath job information
    internal partial interface IMountPathJobInfoInternal

    {
        /// <summary>The name of application</summary>
        string AppName { get; set; }
        /// <summary>Archive File Name</summary>
        string ArchFileName { get; set; }
        /// <summary>Job Archive File type</summary>
        string ArchFileType { get; set; }
        /// <summary>The level of the backup job</summary>
        string BackupLevel { get; set; }
        /// <summary>The name of the backup set associated with the job.</summary>
        string BackupSetName { get; set; }
        /// <summary>The time when backup is done</summary>
        long? BackupTime { get; set; }
        /// <summary>The name of the client associated with the job.</summary>
        string ClientName { get; set; }
        /// <summary>Cycles and Sequences</summary>
        string CyclesNSeq { get; set; }
        /// <summary>Status of the data of job</summary>
        string DataStatus { get; set; }
        /// <summary>Amount of data written on mountpath during job</summary>
        long? DataWritten { get; set; }
        /// <summary>The name of the instance associated with the job.</summary>
        string InstanceName { get; set; }
        /// <summary>Indicates if job is aged or not.</summary>
        bool? IsAged { get; set; }
        /// <summary>Indicates if job has valid Data</summary>
        bool? IsValidData { get; set; }
        /// <summary>The system-generated ID assigned to the job.</summary>
        long? JobId { get; set; }
        /// <summary>Status of the last backup job performed.</summary>
        string JobStatus { get; set; }
        /// <summary>Media Side Name</summary>
        string MediaSideName { get; set; }
        /// <summary>Retention DateTime for job</summary>
        long? RetainTill { get; set; }
        /// <summary>The amount of application data that was protected during the job.</summary>
        long? SizeOfApplication { get; set; }
        /// <summary>The amount of application data that was protected during the job</summary>
        long? SizeOfBackup { get; set; }
        /// <summary>Storage Policy and Copy Name</summary>
        string StoragePolicyNCopy { get; set; }
        /// <summary>The name of the subclient associated with the job.</summary>
        string SubclientName { get; set; }

    }
}