generated/api/Models/Office365ContentIndividualBackupStats.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;

    public partial class Office365ContentIndividualBackupStats :
        Commvault.Powershell.Models.IOffice365ContentIndividualBackupStats,
        Commvault.Powershell.Models.IOffice365ContentIndividualBackupStatsInternal
    {

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

        /// <summary>Size of active backups in bytes.</summary>
        [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)]
        public long? ActiveBackupSize { get => this._activeBackupSize; set => this._activeBackupSize = value; }

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

        /// <summary>Active backup items count.</summary>
        [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)]
        public long? ActiveItemsBackedUp { get => this._activeItemsBackedUp; set => this._activeItemsBackedUp = value; }

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

        /// <summary>Count of the failed items in the backup.</summary>
        [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)]
        public long? FailedItemsCount { get => this._failedItemsCount; set => this._failedItemsCount = value; }

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

        /// <summary>Size of inactive backups in bytes.</summary>
        [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)]
        public long? InactiveBackupSize { get => this._inactiveBackupSize; set => this._inactiveBackupSize = value; }

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

        /// <summary>Inactive backup items count.</summary>
        [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)]
        public long? InactiveItemsBackedUp { get => this._inactiveItemsBackedUp; set => this._inactiveItemsBackedUp = value; }

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

        /// <summary>Job Id of the last backup job.</summary>
        [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)]
        public long? LastAttemptJobId { get => this._lastAttemptJobId; set => this._lastAttemptJobId = value; }

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

        /// <summary>Time of last backup in UNIX time.</summary>
        [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)]
        public long? LastBackup { get => this._lastBackup; set => this._lastBackup = value; }

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

        /// <summary>Time of last backup attempt in UNIX time.</summary>
        [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)]
        public long? LastBackupAttempt { get => this._lastBackupAttempt; set => this._lastBackupAttempt = value; }

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

        /// <summary>status of last backup for this entity</summary>
        [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)]
        public string LastBackupStatus { get => this._lastBackupStatus; set => this._lastBackupStatus = value; }

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

        /// <summary>Total size of all backups in bytes.</summary>
        [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)]
        public long? TotalBackupSize { get => this._totalBackupSize; set => this._totalBackupSize = value; }

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

        /// <summary>Total backup items count.</summary>
        [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)]
        public long? TotalItemsBackedUp { get => this._totalItemsBackedUp; set => this._totalItemsBackedUp = value; }

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

        }
    }
    public partial interface IOffice365ContentIndividualBackupStats :
        Commvault.Powershell.Runtime.IJsonSerializable
    {
        /// <summary>Size of active backups in bytes.</summary>
        [Commvault.Powershell.Runtime.Info(
        Required = false,
        ReadOnly = false,
        Read = true,
        Create = true,
        Update = true,
        Description = @"Size of active backups in bytes.",
        SerializedName = @"activeBackupSize",
        PossibleTypes = new [] { typeof(long) })]
        long? ActiveBackupSize { get; set; }
        /// <summary>Active backup items count.</summary>
        [Commvault.Powershell.Runtime.Info(
        Required = false,
        ReadOnly = false,
        Read = true,
        Create = true,
        Update = true,
        Description = @"Active backup items count.",
        SerializedName = @"activeItemsBackedUp",
        PossibleTypes = new [] { typeof(long) })]
        long? ActiveItemsBackedUp { get; set; }
        /// <summary>Count of the failed items in the backup.</summary>
        [Commvault.Powershell.Runtime.Info(
        Required = false,
        ReadOnly = false,
        Read = true,
        Create = true,
        Update = true,
        Description = @"Count of the failed items in the backup.",
        SerializedName = @"failedItemsCount",
        PossibleTypes = new [] { typeof(long) })]
        long? FailedItemsCount { get; set; }
        /// <summary>Size of inactive backups in bytes.</summary>
        [Commvault.Powershell.Runtime.Info(
        Required = false,
        ReadOnly = false,
        Read = true,
        Create = true,
        Update = true,
        Description = @"Size of inactive backups in bytes.",
        SerializedName = @"inactiveBackupSize",
        PossibleTypes = new [] { typeof(long) })]
        long? InactiveBackupSize { get; set; }
        /// <summary>Inactive backup items count.</summary>
        [Commvault.Powershell.Runtime.Info(
        Required = false,
        ReadOnly = false,
        Read = true,
        Create = true,
        Update = true,
        Description = @"Inactive backup items count.",
        SerializedName = @"InactiveItemsBackedUp",
        PossibleTypes = new [] { typeof(long) })]
        long? InactiveItemsBackedUp { get; set; }
        /// <summary>Job Id of the last backup job.</summary>
        [Commvault.Powershell.Runtime.Info(
        Required = false,
        ReadOnly = false,
        Read = true,
        Create = true,
        Update = true,
        Description = @"Job Id of the last backup job.",
        SerializedName = @"lastAttemptJobId",
        PossibleTypes = new [] { typeof(long) })]
        long? LastAttemptJobId { get; set; }
        /// <summary>Time of last backup in UNIX time.</summary>
        [Commvault.Powershell.Runtime.Info(
        Required = false,
        ReadOnly = false,
        Read = true,
        Create = true,
        Update = true,
        Description = @"Time of last backup in UNIX time.",
        SerializedName = @"lastBackup",
        PossibleTypes = new [] { typeof(long) })]
        long? LastBackup { get; set; }
        /// <summary>Time of last backup attempt in UNIX time.</summary>
        [Commvault.Powershell.Runtime.Info(
        Required = false,
        ReadOnly = false,
        Read = true,
        Create = true,
        Update = true,
        Description = @"Time of last backup attempt in UNIX time.",
        SerializedName = @"lastBackupAttempt",
        PossibleTypes = new [] { typeof(long) })]
        long? LastBackupAttempt { get; set; }
        /// <summary>status of last backup for this entity</summary>
        [Commvault.Powershell.Runtime.Info(
        Required = false,
        ReadOnly = false,
        Read = true,
        Create = true,
        Update = true,
        Description = @"status of last backup for this entity",
        SerializedName = @"lastBackupStatus",
        PossibleTypes = new [] { typeof(string) })]
        string LastBackupStatus { get; set; }
        /// <summary>Total size of all backups in bytes.</summary>
        [Commvault.Powershell.Runtime.Info(
        Required = false,
        ReadOnly = false,
        Read = true,
        Create = true,
        Update = true,
        Description = @"Total size of all backups in bytes.",
        SerializedName = @"totalBackupSize",
        PossibleTypes = new [] { typeof(long) })]
        long? TotalBackupSize { get; set; }
        /// <summary>Total backup items count.</summary>
        [Commvault.Powershell.Runtime.Info(
        Required = false,
        ReadOnly = false,
        Read = true,
        Create = true,
        Update = true,
        Description = @"Total backup items count.",
        SerializedName = @"TotalItemsBackedUp",
        PossibleTypes = new [] { typeof(long) })]
        long? TotalItemsBackedUp { get; set; }

    }
    internal partial interface IOffice365ContentIndividualBackupStatsInternal

    {
        /// <summary>Size of active backups in bytes.</summary>
        long? ActiveBackupSize { get; set; }
        /// <summary>Active backup items count.</summary>
        long? ActiveItemsBackedUp { get; set; }
        /// <summary>Count of the failed items in the backup.</summary>
        long? FailedItemsCount { get; set; }
        /// <summary>Size of inactive backups in bytes.</summary>
        long? InactiveBackupSize { get; set; }
        /// <summary>Inactive backup items count.</summary>
        long? InactiveItemsBackedUp { get; set; }
        /// <summary>Job Id of the last backup job.</summary>
        long? LastAttemptJobId { get; set; }
        /// <summary>Time of last backup in UNIX time.</summary>
        long? LastBackup { get; set; }
        /// <summary>Time of last backup attempt in UNIX time.</summary>
        long? LastBackupAttempt { get; set; }
        /// <summary>status of last backup for this entity</summary>
        string LastBackupStatus { get; set; }
        /// <summary>Total size of all backups in bytes.</summary>
        long? TotalBackupSize { get; set; }
        /// <summary>Total backup items count.</summary>
        long? TotalItemsBackedUp { get; set; }

    }
}