generated/api/Models/DatasourceJobSummary.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>DatasourceJobSummary</summary>
    public partial class DatasourceJobSummary :
        Commvault.Powershell.Models.IDatasourceJobSummary,
        Commvault.Powershell.Models.IDatasourceJobSummaryInternal
    {

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

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

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

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

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

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

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

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

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

        /// <summary>DcubeJobState</summary>
        [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)]
        public string Status { get => this._status; set => this._status = value; }

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

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

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

        }
    }
    /// DatasourceJobSummary
    public partial interface IDatasourceJobSummary :
        Commvault.Powershell.Runtime.IJsonSerializable
    {
        [Commvault.Powershell.Runtime.Info(
        Required = false,
        ReadOnly = false,
        Description = @"",
        SerializedName = @"endTime",
        PossibleTypes = new [] { typeof(long) })]
        long? EndTime { get; set; }

        [Commvault.Powershell.Runtime.Info(
        Required = false,
        ReadOnly = false,
        Description = @"",
        SerializedName = @"numAdded",
        PossibleTypes = new [] { typeof(long) })]
        long? NumAdded { get; set; }

        [Commvault.Powershell.Runtime.Info(
        Required = false,
        ReadOnly = false,
        Description = @"",
        SerializedName = @"numFailed",
        PossibleTypes = new [] { typeof(long) })]
        long? NumFailed { get; set; }

        [Commvault.Powershell.Runtime.Info(
        Required = false,
        ReadOnly = false,
        Description = @"",
        SerializedName = @"startTime",
        PossibleTypes = new [] { typeof(long) })]
        long? StartTime { get; set; }
        /// <summary>DcubeJobState</summary>
        [Commvault.Powershell.Runtime.Info(
        Required = false,
        ReadOnly = false,
        Description = @"DcubeJobState",
        SerializedName = @"status",
        PossibleTypes = new [] { typeof(string) })]
        string Status { get; set; }

        [Commvault.Powershell.Runtime.Info(
        Required = false,
        ReadOnly = false,
        Description = @"",
        SerializedName = @"totalCount",
        PossibleTypes = new [] { typeof(long) })]
        long? TotalCount { get; set; }

    }
    /// DatasourceJobSummary
    internal partial interface IDatasourceJobSummaryInternal

    {
        long? EndTime { get; set; }

        long? NumAdded { get; set; }

        long? NumFailed { get; set; }

        long? StartTime { get; set; }
        /// <summary>DcubeJobState</summary>
        string Status { get; set; }

        long? TotalCount { get; set; }

    }
}