generated/api/Models/GetjobsJobsItemJobSummary.PowerShell.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 Commvault.Powershell.Runtime.PowerShell;

    [System.ComponentModel.TypeConverter(typeof(GetjobsJobsItemJobSummaryTypeConverter))]
    public partial class GetjobsJobsItemJobSummary
    {

        /// <summary>
        /// <c>AfterDeserializeDictionary</c> will be called after the deserialization has finished, allowing customization of the
        /// object before it is returned. Implement this method in a partial class to enable this behavior
        /// </summary>
        /// <param name="content">The global::System.Collections.IDictionary content that should be used.</param>

        partial void AfterDeserializeDictionary(global::System.Collections.IDictionary content);

        /// <summary>
        /// <c>AfterDeserializePSObject</c> will be called after the deserialization has finished, allowing customization of the object
        /// before it is returned. Implement this method in a partial class to enable this behavior
        /// </summary>
        /// <param name="content">The global::System.Management.Automation.PSObject content that should be used.</param>

        partial void AfterDeserializePSObject(global::System.Management.Automation.PSObject content);

        /// <summary>
        /// <c>BeforeDeserializeDictionary</c> will be called before the deserialization has commenced, allowing complete customization
        /// of the object before it is deserialized.
        /// If you wish to disable the default deserialization entirely, return <c>true</c> in the <see "returnNow" /> output parameter.
        /// Implement this method in a partial class to enable this behavior.
        /// </summary>
        /// <param name="content">The global::System.Collections.IDictionary content that should be used.</param>
        /// <param name="returnNow">Determines if the rest of the serialization should be processed, or if the method should return
        /// instantly.</param>

        partial void BeforeDeserializeDictionary(global::System.Collections.IDictionary content, ref bool returnNow);

        /// <summary>
        /// <c>BeforeDeserializePSObject</c> will be called before the deserialization has commenced, allowing complete customization
        /// of the object before it is deserialized.
        /// If you wish to disable the default deserialization entirely, return <c>true</c> in the <see "returnNow" /> output parameter.
        /// Implement this method in a partial class to enable this behavior.
        /// </summary>
        /// <param name="content">The global::System.Management.Automation.PSObject content that should be used.</param>
        /// <param name="returnNow">Determines if the rest of the serialization should be processed, or if the method should return
        /// instantly.</param>

        partial void BeforeDeserializePSObject(global::System.Management.Automation.PSObject content, ref bool returnNow);

        /// <summary>
        /// Deserializes a <see cref="global::System.Collections.IDictionary" /> into an instance of <see cref="Commvault.Powershell.Models.GetjobsJobsItemJobSummary"
        /// />.
        /// </summary>
        /// <param name="content">The global::System.Collections.IDictionary content that should be used.</param>
        /// <returns>
        /// an instance of <see cref="Commvault.Powershell.Models.IGetjobsJobsItemJobSummary" />.
        /// </returns>
        public static Commvault.Powershell.Models.IGetjobsJobsItemJobSummary DeserializeFromDictionary(global::System.Collections.IDictionary content)
        {
            return new GetjobsJobsItemJobSummary(content);
        }

        /// <summary>
        /// Deserializes a <see cref="global::System.Management.Automation.PSObject" /> into an instance of <see cref="Commvault.Powershell.Models.GetjobsJobsItemJobSummary"
        /// />.
        /// </summary>
        /// <param name="content">The global::System.Management.Automation.PSObject content that should be used.</param>
        /// <returns>
        /// an instance of <see cref="Commvault.Powershell.Models.IGetjobsJobsItemJobSummary" />.
        /// </returns>
        public static Commvault.Powershell.Models.IGetjobsJobsItemJobSummary DeserializeFromPSObject(global::System.Management.Automation.PSObject content)
        {
            return new GetjobsJobsItemJobSummary(content);
        }

        /// <summary>
        /// Creates a new instance of <see cref="GetjobsJobsItemJobSummary" />, deserializing the content from a json string.
        /// </summary>
        /// <param name="jsonText">a string containing a JSON serialized instance of this model.</param>
        /// <returns>an instance of the <see cref="className" /> model class.</returns>
        public static Commvault.Powershell.Models.IGetjobsJobsItemJobSummary FromJsonString(string jsonText) => FromJson(Commvault.Powershell.Runtime.Json.JsonNode.Parse(jsonText));

        /// <summary>
        /// Deserializes a <see cref="global::System.Collections.IDictionary" /> into a new instance of <see cref="Commvault.Powershell.Models.GetjobsJobsItemJobSummary"
        /// />.
        /// </summary>
        /// <param name="content">The global::System.Collections.IDictionary content that should be used.</param>
        internal GetjobsJobsItemJobSummary(global::System.Collections.IDictionary content)
        {
            bool returnNow = false;
            BeforeDeserializeDictionary(content, ref returnNow);
            if (returnNow)
            {
                return;
            }
            // actually deserialize
            ((Commvault.Powershell.Models.IGetjobsJobsItemJobSummaryInternal)this).DestinationDisplayClient = (Commvault.Powershell.Models.IComponentsUyvunhSchemasGetjobsPropertiesJobsItemsPropertiesJobsummaryPropertiesDestinationdisplayclient) content.GetValueForProperty("DestinationDisplayClient",((Commvault.Powershell.Models.IGetjobsJobsItemJobSummaryInternal)this).DestinationDisplayClient, Commvault.Powershell.Models.ComponentsUyvunhSchemasGetjobsPropertiesJobsItemsPropertiesJobsummaryPropertiesDestinationdisplayclientTypeConverter.ConvertFrom);
            ((Commvault.Powershell.Models.IGetjobsJobsItemJobSummaryInternal)this).DataSource = (Commvault.Powershell.Models.IComponentsFmi374SchemasGetjobsPropertiesJobsItemsPropertiesJobsummaryPropertiesDatasource) content.GetValueForProperty("DataSource",((Commvault.Powershell.Models.IGetjobsJobsItemJobSummaryInternal)this).DataSource, Commvault.Powershell.Models.ComponentsFmi374SchemasGetjobsPropertiesJobsItemsPropertiesJobsummaryPropertiesDatasourceTypeConverter.ConvertFrom);
            ((Commvault.Powershell.Models.IGetjobsJobsItemJobSummaryInternal)this).Subclient = (Commvault.Powershell.Models.IComponentsVmztmySchemasGetjobsPropertiesJobsItemsPropertiesJobsummaryPropertiesSubclient) content.GetValueForProperty("Subclient",((Commvault.Powershell.Models.IGetjobsJobsItemJobSummaryInternal)this).Subclient, Commvault.Powershell.Models.ComponentsVmztmySchemasGetjobsPropertiesJobsItemsPropertiesJobsummaryPropertiesSubclientTypeConverter.ConvertFrom);
            ((Commvault.Powershell.Models.IGetjobsJobsItemJobSummaryInternal)this).StoragePolicy = (Commvault.Powershell.Models.IComponents1FxfpbtSchemasGetjobsPropertiesJobsItemsPropertiesJobsummaryPropertiesStoragepolicy) content.GetValueForProperty("StoragePolicy",((Commvault.Powershell.Models.IGetjobsJobsItemJobSummaryInternal)this).StoragePolicy, Commvault.Powershell.Models.Components1FxfpbtSchemasGetjobsPropertiesJobsItemsPropertiesJobsummaryPropertiesStoragepolicyTypeConverter.ConvertFrom);
            ((Commvault.Powershell.Models.IGetjobsJobsItemJobSummaryInternal)this).DestinationClient = (Commvault.Powershell.Models.IComponents1S10F9TSchemasGetjobsPropertiesJobsItemsPropertiesJobsummaryPropertiesDestinationclient) content.GetValueForProperty("DestinationClient",((Commvault.Powershell.Models.IGetjobsJobsItemJobSummaryInternal)this).DestinationClient, Commvault.Powershell.Models.Components1S10F9TSchemasGetjobsPropertiesJobsItemsPropertiesJobsummaryPropertiesDestinationclientTypeConverter.ConvertFrom);
            ((Commvault.Powershell.Models.IGetjobsJobsItemJobSummaryInternal)this).UserName = (Commvault.Powershell.Models.IComponents1Prb9OySchemasGetjobsPropertiesJobsItemsPropertiesJobsummaryPropertiesUsername) content.GetValueForProperty("UserName",((Commvault.Powershell.Models.IGetjobsJobsItemJobSummaryInternal)this).UserName, Commvault.Powershell.Models.Components1Prb9OySchemasGetjobsPropertiesJobsItemsPropertiesJobsummaryPropertiesUsernameTypeConverter.ConvertFrom);
            ((Commvault.Powershell.Models.IGetjobsJobsItemJobSummaryInternal)this).SizeOfApplication = (long?) content.GetValueForProperty("SizeOfApplication",((Commvault.Powershell.Models.IGetjobsJobsItemJobSummaryInternal)this).SizeOfApplication, (__y)=> (long) global::System.Convert.ChangeType(__y, typeof(long)));
            ((Commvault.Powershell.Models.IGetjobsJobsItemJobSummaryInternal)this).VsaParentJobId = (long?) content.GetValueForProperty("VsaParentJobId",((Commvault.Powershell.Models.IGetjobsJobsItemJobSummaryInternal)this).VsaParentJobId, (__y)=> (long) global::System.Convert.ChangeType(__y, typeof(long)));
            ((Commvault.Powershell.Models.IGetjobsJobsItemJobSummaryInternal)this).CommcellId = (long?) content.GetValueForProperty("CommcellId",((Commvault.Powershell.Models.IGetjobsJobsItemJobSummaryInternal)this).CommcellId, (__y)=> (long) global::System.Convert.ChangeType(__y, typeof(long)));
            ((Commvault.Powershell.Models.IGetjobsJobsItemJobSummaryInternal)this).BackupSetName = (string) content.GetValueForProperty("BackupSetName",((Commvault.Powershell.Models.IGetjobsJobsItemJobSummaryInternal)this).BackupSetName, global::System.Convert.ToString);
            ((Commvault.Powershell.Models.IGetjobsJobsItemJobSummaryInternal)this).OpType = (long?) content.GetValueForProperty("OpType",((Commvault.Powershell.Models.IGetjobsJobsItemJobSummaryInternal)this).OpType, (__y)=> (long) global::System.Convert.ChangeType(__y, typeof(long)));
            ((Commvault.Powershell.Models.IGetjobsJobsItemJobSummaryInternal)this).TotalFailedFolders = (long?) content.GetValueForProperty("TotalFailedFolders",((Commvault.Powershell.Models.IGetjobsJobsItemJobSummaryInternal)this).TotalFailedFolders, (__y)=> (long) global::System.Convert.ChangeType(__y, typeof(long)));
            ((Commvault.Powershell.Models.IGetjobsJobsItemJobSummaryInternal)this).DistributedAppsClusterType = (long?) content.GetValueForProperty("DistributedAppsClusterType",((Commvault.Powershell.Models.IGetjobsJobsItemJobSummaryInternal)this).DistributedAppsClusterType, (__y)=> (long) global::System.Convert.ChangeType(__y, typeof(long)));
            ((Commvault.Powershell.Models.IGetjobsJobsItemJobSummaryInternal)this).TotalFailedFiles = (long?) content.GetValueForProperty("TotalFailedFiles",((Commvault.Powershell.Models.IGetjobsJobsItemJobSummaryInternal)this).TotalFailedFiles, (__y)=> (long) global::System.Convert.ChangeType(__y, typeof(long)));
            ((Commvault.Powershell.Models.IGetjobsJobsItemJobSummaryInternal)this).AlertColorLevel = (long?) content.GetValueForProperty("AlertColorLevel",((Commvault.Powershell.Models.IGetjobsJobsItemJobSummaryInternal)this).AlertColorLevel, (__y)=> (long) global::System.Convert.ChangeType(__y, typeof(long)));
            ((Commvault.Powershell.Models.IGetjobsJobsItemJobSummaryInternal)this).CurrentPhaseType = (long?) content.GetValueForProperty("CurrentPhaseType",((Commvault.Powershell.Models.IGetjobsJobsItemJobSummaryInternal)this).CurrentPhaseType, (__y)=> (long) global::System.Convert.ChangeType(__y, typeof(long)));
            ((Commvault.Powershell.Models.IGetjobsJobsItemJobSummaryInternal)this).JobAttributes = (long?) content.GetValueForProperty("JobAttributes",((Commvault.Powershell.Models.IGetjobsJobsItemJobSummaryInternal)this).JobAttributes, (__y)=> (long) global::System.Convert.ChangeType(__y, typeof(long)));
            ((Commvault.Powershell.Models.IGetjobsJobsItemJobSummaryInternal)this).JobAttributesEx = (long?) content.GetValueForProperty("JobAttributesEx",((Commvault.Powershell.Models.IGetjobsJobsItemJobSummaryInternal)this).JobAttributesEx, (__y)=> (long) global::System.Convert.ChangeType(__y, typeof(long)));
            ((Commvault.Powershell.Models.IGetjobsJobsItemJobSummaryInternal)this).IsVisible = (bool?) content.GetValueForProperty("IsVisible",((Commvault.Powershell.Models.IGetjobsJobsItemJobSummaryInternal)this).IsVisible, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool)));
            ((Commvault.Powershell.Models.IGetjobsJobsItemJobSummaryInternal)this).LocalizedStatus = (string) content.GetValueForProperty("LocalizedStatus",((Commvault.Powershell.Models.IGetjobsJobsItemJobSummaryInternal)this).LocalizedStatus, global::System.Convert.ToString);
            ((Commvault.Powershell.Models.IGetjobsJobsItemJobSummaryInternal)this).IsAged = (bool?) content.GetValueForProperty("IsAged",((Commvault.Powershell.Models.IGetjobsJobsItemJobSummaryInternal)this).IsAged, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool)));
            ((Commvault.Powershell.Models.IGetjobsJobsItemJobSummaryInternal)this).TotalNumOfFiles = (long?) content.GetValueForProperty("TotalNumOfFiles",((Commvault.Powershell.Models.IGetjobsJobsItemJobSummaryInternal)this).TotalNumOfFiles, (__y)=> (long) global::System.Convert.ChangeType(__y, typeof(long)));
            ((Commvault.Powershell.Models.IGetjobsJobsItemJobSummaryInternal)this).JobId = (long?) content.GetValueForProperty("JobId",((Commvault.Powershell.Models.IGetjobsJobsItemJobSummaryInternal)this).JobId, (__y)=> (long) global::System.Convert.ChangeType(__y, typeof(long)));
            ((Commvault.Powershell.Models.IGetjobsJobsItemJobSummaryInternal)this).SizeOfMediaOnDisk = (long?) content.GetValueForProperty("SizeOfMediaOnDisk",((Commvault.Powershell.Models.IGetjobsJobsItemJobSummaryInternal)this).SizeOfMediaOnDisk, (__y)=> (long) global::System.Convert.ChangeType(__y, typeof(long)));
            ((Commvault.Powershell.Models.IGetjobsJobsItemJobSummaryInternal)this).CurrentPhase = (long?) content.GetValueForProperty("CurrentPhase",((Commvault.Powershell.Models.IGetjobsJobsItemJobSummaryInternal)this).CurrentPhase, (__y)=> (long) global::System.Convert.ChangeType(__y, typeof(long)));
            ((Commvault.Powershell.Models.IGetjobsJobsItemJobSummaryInternal)this).Status = (string) content.GetValueForProperty("Status",((Commvault.Powershell.Models.IGetjobsJobsItemJobSummaryInternal)this).Status, global::System.Convert.ToString);
            ((Commvault.Powershell.Models.IGetjobsJobsItemJobSummaryInternal)this).LastUpdateTime = (long?) content.GetValueForProperty("LastUpdateTime",((Commvault.Powershell.Models.IGetjobsJobsItemJobSummaryInternal)this).LastUpdateTime, (__y)=> (long) global::System.Convert.ChangeType(__y, typeof(long)));
            ((Commvault.Powershell.Models.IGetjobsJobsItemJobSummaryInternal)this).PercentSavings = (double?) content.GetValueForProperty("PercentSavings",((Commvault.Powershell.Models.IGetjobsJobsItemJobSummaryInternal)this).PercentSavings, (__y)=> (double) global::System.Convert.ChangeType(__y, typeof(double)));
            ((Commvault.Powershell.Models.IGetjobsJobsItemJobSummaryInternal)this).LocalizedOperationName = (string) content.GetValueForProperty("LocalizedOperationName",((Commvault.Powershell.Models.IGetjobsJobsItemJobSummaryInternal)this).LocalizedOperationName, global::System.Convert.ToString);
            ((Commvault.Powershell.Models.IGetjobsJobsItemJobSummaryInternal)this).StatusColor = (string) content.GetValueForProperty("StatusColor",((Commvault.Powershell.Models.IGetjobsJobsItemJobSummaryInternal)this).StatusColor, global::System.Convert.ToString);
            ((Commvault.Powershell.Models.IGetjobsJobsItemJobSummaryInternal)this).PendingReason = (string) content.GetValueForProperty("PendingReason",((Commvault.Powershell.Models.IGetjobsJobsItemJobSummaryInternal)this).PendingReason, global::System.Convert.ToString);
            ((Commvault.Powershell.Models.IGetjobsJobsItemJobSummaryInternal)this).ErrorType = (long?) content.GetValueForProperty("ErrorType",((Commvault.Powershell.Models.IGetjobsJobsItemJobSummaryInternal)this).ErrorType, (__y)=> (long) global::System.Convert.ChangeType(__y, typeof(long)));
            ((Commvault.Powershell.Models.IGetjobsJobsItemJobSummaryInternal)this).BackupLevel = (long?) content.GetValueForProperty("BackupLevel",((Commvault.Powershell.Models.IGetjobsJobsItemJobSummaryInternal)this).BackupLevel, (__y)=> (long) global::System.Convert.ChangeType(__y, typeof(long)));
            ((Commvault.Powershell.Models.IGetjobsJobsItemJobSummaryInternal)this).JobElapsedTime = (long?) content.GetValueForProperty("JobElapsedTime",((Commvault.Powershell.Models.IGetjobsJobsItemJobSummaryInternal)this).JobElapsedTime, (__y)=> (long) global::System.Convert.ChangeType(__y, typeof(long)));
            ((Commvault.Powershell.Models.IGetjobsJobsItemJobSummaryInternal)this).JobStartTime = (long?) content.GetValueForProperty("JobStartTime",((Commvault.Powershell.Models.IGetjobsJobsItemJobSummaryInternal)this).JobStartTime, (__y)=> (long) global::System.Convert.ChangeType(__y, typeof(long)));
            ((Commvault.Powershell.Models.IGetjobsJobsItemJobSummaryInternal)this).CurrentPhaseName = (string) content.GetValueForProperty("CurrentPhaseName",((Commvault.Powershell.Models.IGetjobsJobsItemJobSummaryInternal)this).CurrentPhaseName, global::System.Convert.ToString);
            ((Commvault.Powershell.Models.IGetjobsJobsItemJobSummaryInternal)this).JobType = (string) content.GetValueForProperty("JobType",((Commvault.Powershell.Models.IGetjobsJobsItemJobSummaryInternal)this).JobType, global::System.Convert.ToString);
            ((Commvault.Powershell.Models.IGetjobsJobsItemJobSummaryInternal)this).IsPreemptable = (long?) content.GetValueForProperty("IsPreemptable",((Commvault.Powershell.Models.IGetjobsJobsItemJobSummaryInternal)this).IsPreemptable, (__y)=> (long) global::System.Convert.ChangeType(__y, typeof(long)));
            ((Commvault.Powershell.Models.IGetjobsJobsItemJobSummaryInternal)this).BackupLevelName = (string) content.GetValueForProperty("BackupLevelName",((Commvault.Powershell.Models.IGetjobsJobsItemJobSummaryInternal)this).BackupLevelName, global::System.Convert.ToString);
            ((Commvault.Powershell.Models.IGetjobsJobsItemJobSummaryInternal)this).AttemptStartTime = (long?) content.GetValueForProperty("AttemptStartTime",((Commvault.Powershell.Models.IGetjobsJobsItemJobSummaryInternal)this).AttemptStartTime, (__y)=> (long) global::System.Convert.ChangeType(__y, typeof(long)));
            ((Commvault.Powershell.Models.IGetjobsJobsItemJobSummaryInternal)this).PendingReasonErrorCode = (string) content.GetValueForProperty("PendingReasonErrorCode",((Commvault.Powershell.Models.IGetjobsJobsItemJobSummaryInternal)this).PendingReasonErrorCode, global::System.Convert.ToString);
            ((Commvault.Powershell.Models.IGetjobsJobsItemJobSummaryInternal)this).AppTypeName = (string) content.GetValueForProperty("AppTypeName",((Commvault.Powershell.Models.IGetjobsJobsItemJobSummaryInternal)this).AppTypeName, global::System.Convert.ToString);
            ((Commvault.Powershell.Models.IGetjobsJobsItemJobSummaryInternal)this).PercentComplete = (double?) content.GetValueForProperty("PercentComplete",((Commvault.Powershell.Models.IGetjobsJobsItemJobSummaryInternal)this).PercentComplete, (__y)=> (double) global::System.Convert.ChangeType(__y, typeof(double)));
            ((Commvault.Powershell.Models.IGetjobsJobsItemJobSummaryInternal)this).AverageThroughput = (double?) content.GetValueForProperty("AverageThroughput",((Commvault.Powershell.Models.IGetjobsJobsItemJobSummaryInternal)this).AverageThroughput, (__y)=> (double) global::System.Convert.ChangeType(__y, typeof(double)));
            ((Commvault.Powershell.Models.IGetjobsJobsItemJobSummaryInternal)this).LocalizedBackupLevelName = (string) content.GetValueForProperty("LocalizedBackupLevelName",((Commvault.Powershell.Models.IGetjobsJobsItemJobSummaryInternal)this).LocalizedBackupLevelName, global::System.Convert.ToString);
            ((Commvault.Powershell.Models.IGetjobsJobsItemJobSummaryInternal)this).CurrentThroughput = (double?) content.GetValueForProperty("CurrentThroughput",((Commvault.Powershell.Models.IGetjobsJobsItemJobSummaryInternal)this).CurrentThroughput, (__y)=> (double) global::System.Convert.ChangeType(__y, typeof(double)));
            ((Commvault.Powershell.Models.IGetjobsJobsItemJobSummaryInternal)this).SubclientName = (string) content.GetValueForProperty("SubclientName",((Commvault.Powershell.Models.IGetjobsJobsItemJobSummaryInternal)this).SubclientName, global::System.Convert.ToString);
            ((Commvault.Powershell.Models.IGetjobsJobsItemJobSummaryInternal)this).DestClientName = (string) content.GetValueForProperty("DestClientName",((Commvault.Powershell.Models.IGetjobsJobsItemJobSummaryInternal)this).DestClientName, global::System.Convert.ToString);
            ((Commvault.Powershell.Models.IGetjobsJobsItemJobSummaryInternal)this).JobEndTime = (long?) content.GetValueForProperty("JobEndTime",((Commvault.Powershell.Models.IGetjobsJobsItemJobSummaryInternal)this).JobEndTime, (__y)=> (long) global::System.Convert.ChangeType(__y, typeof(long)));
            ((Commvault.Powershell.Models.IGetjobsJobsItemJobSummaryInternal)this).ClientGroups = (Commvault.Powershell.Models.IGetjobsJobsPropertiesItemsItem[]) content.GetValueForProperty("ClientGroups",((Commvault.Powershell.Models.IGetjobsJobsItemJobSummaryInternal)this).ClientGroups, __y => TypeConverterExtensions.SelectToArray<Commvault.Powershell.Models.IGetjobsJobsPropertiesItemsItem>(__y, Commvault.Powershell.Models.GetjobsJobsPropertiesItemsItemTypeConverter.ConvertFrom));
            ((Commvault.Powershell.Models.IGetjobsJobsItemJobSummaryInternal)this).StringUserName = (string) content.GetValueForProperty("StringUserName",((Commvault.Powershell.Models.IGetjobsJobsItemJobSummaryInternal)this).StringUserName, global::System.Convert.ToString);
            ((Commvault.Powershell.Models.IGetjobsJobsItemJobSummaryInternal)this).DestinationDisplayClientId = (long?) content.GetValueForProperty("DestinationDisplayClientId",((Commvault.Powershell.Models.IGetjobsJobsItemJobSummaryInternal)this).DestinationDisplayClientId, (__y)=> (long) global::System.Convert.ChangeType(__y, typeof(long)));
            ((Commvault.Powershell.Models.IGetjobsJobsItemJobSummaryInternal)this).DataSourceId = (long?) content.GetValueForProperty("DataSourceId",((Commvault.Powershell.Models.IGetjobsJobsItemJobSummaryInternal)this).DataSourceId, (__y)=> (long) global::System.Convert.ChangeType(__y, typeof(long)));
            ((Commvault.Powershell.Models.IGetjobsJobsItemJobSummaryInternal)this).SubclientClientName = (string) content.GetValueForProperty("SubclientClientName",((Commvault.Powershell.Models.IGetjobsJobsItemJobSummaryInternal)this).SubclientClientName, global::System.Convert.ToString);
            ((Commvault.Powershell.Models.IGetjobsJobsItemJobSummaryInternal)this).SubclientInstanceName = (string) content.GetValueForProperty("SubclientInstanceName",((Commvault.Powershell.Models.IGetjobsJobsItemJobSummaryInternal)this).SubclientInstanceName, global::System.Convert.ToString);
            ((Commvault.Powershell.Models.IGetjobsJobsItemJobSummaryInternal)this).SubclientBackupsetId = (long?) content.GetValueForProperty("SubclientBackupsetId",((Commvault.Powershell.Models.IGetjobsJobsItemJobSummaryInternal)this).SubclientBackupsetId, (__y)=> (long) global::System.Convert.ChangeType(__y, typeof(long)));
            ((Commvault.Powershell.Models.IGetjobsJobsItemJobSummaryInternal)this).SubclientCommCellName = (string) content.GetValueForProperty("SubclientCommCellName",((Commvault.Powershell.Models.IGetjobsJobsItemJobSummaryInternal)this).SubclientCommCellName, global::System.Convert.ToString);
            ((Commvault.Powershell.Models.IGetjobsJobsItemJobSummaryInternal)this).SubclientInstanceId = (long?) content.GetValueForProperty("SubclientInstanceId",((Commvault.Powershell.Models.IGetjobsJobsItemJobSummaryInternal)this).SubclientInstanceId, (__y)=> (long) global::System.Convert.ChangeType(__y, typeof(long)));
            ((Commvault.Powershell.Models.IGetjobsJobsItemJobSummaryInternal)this).SubclientWorkloadId = (long?) content.GetValueForProperty("SubclientWorkloadId",((Commvault.Powershell.Models.IGetjobsJobsItemJobSummaryInternal)this).SubclientWorkloadId, (__y)=> (long) global::System.Convert.ChangeType(__y, typeof(long)));
            ((Commvault.Powershell.Models.IGetjobsJobsItemJobSummaryInternal)this).SubclientId = (long?) content.GetValueForProperty("SubclientId",((Commvault.Powershell.Models.IGetjobsJobsItemJobSummaryInternal)this).SubclientId, (__y)=> (long) global::System.Convert.ChangeType(__y, typeof(long)));
            ((Commvault.Powershell.Models.IGetjobsJobsItemJobSummaryInternal)this).SubclientClientId = (long?) content.GetValueForProperty("SubclientClientId",((Commvault.Powershell.Models.IGetjobsJobsItemJobSummaryInternal)this).SubclientClientId, (__y)=> (long) global::System.Convert.ChangeType(__y, typeof(long)));
            ((Commvault.Powershell.Models.IGetjobsJobsItemJobSummaryInternal)this).SubclientAppName = (string) content.GetValueForProperty("SubclientAppName",((Commvault.Powershell.Models.IGetjobsJobsItemJobSummaryInternal)this).SubclientAppName, global::System.Convert.ToString);
            ((Commvault.Powershell.Models.IGetjobsJobsItemJobSummaryInternal)this).SubclientBackupsetName = (string) content.GetValueForProperty("SubclientBackupsetName",((Commvault.Powershell.Models.IGetjobsJobsItemJobSummaryInternal)this).SubclientBackupsetName, global::System.Convert.ToString);
            ((Commvault.Powershell.Models.IGetjobsJobsItemJobSummaryInternal)this).SubclientApplicationId = (long?) content.GetValueForProperty("SubclientApplicationId",((Commvault.Powershell.Models.IGetjobsJobsItemJobSummaryInternal)this).SubclientApplicationId, (__y)=> (long) global::System.Convert.ChangeType(__y, typeof(long)));
            ((Commvault.Powershell.Models.IGetjobsJobsItemJobSummaryInternal)this).SubclientSubclientName = (string) content.GetValueForProperty("SubclientSubclientName",((Commvault.Powershell.Models.IGetjobsJobsItemJobSummaryInternal)this).SubclientSubclientName, global::System.Convert.ToString);
            ((Commvault.Powershell.Models.IGetjobsJobsItemJobSummaryInternal)this).StoragePolicyName = (string) content.GetValueForProperty("StoragePolicyName",((Commvault.Powershell.Models.IGetjobsJobsItemJobSummaryInternal)this).StoragePolicyName, global::System.Convert.ToString);
            ((Commvault.Powershell.Models.IGetjobsJobsItemJobSummaryInternal)this).StoragePolicyId = (long?) content.GetValueForProperty("StoragePolicyId",((Commvault.Powershell.Models.IGetjobsJobsItemJobSummaryInternal)this).StoragePolicyId, (__y)=> (long) global::System.Convert.ChangeType(__y, typeof(long)));
            ((Commvault.Powershell.Models.IGetjobsJobsItemJobSummaryInternal)this).DestinationClientId = (long?) content.GetValueForProperty("DestinationClientId",((Commvault.Powershell.Models.IGetjobsJobsItemJobSummaryInternal)this).DestinationClientId, (__y)=> (long) global::System.Convert.ChangeType(__y, typeof(long)));
            ((Commvault.Powershell.Models.IGetjobsJobsItemJobSummaryInternal)this).DestinationClientName = (string) content.GetValueForProperty("DestinationClientName",((Commvault.Powershell.Models.IGetjobsJobsItemJobSummaryInternal)this).DestinationClientName, global::System.Convert.ToString);
            ((Commvault.Powershell.Models.IGetjobsJobsItemJobSummaryInternal)this).DestinationClientDisplayName = (string) content.GetValueForProperty("DestinationClientDisplayName",((Commvault.Powershell.Models.IGetjobsJobsItemJobSummaryInternal)this).DestinationClientDisplayName, global::System.Convert.ToString);
            ((Commvault.Powershell.Models.IGetjobsJobsItemJobSummaryInternal)this).UserNameUserId = (long?) content.GetValueForProperty("UserNameUserId",((Commvault.Powershell.Models.IGetjobsJobsItemJobSummaryInternal)this).UserNameUserId, (__y)=> (long) global::System.Convert.ChangeType(__y, typeof(long)));
            AfterDeserializeDictionary(content);
        }

        /// <summary>
        /// Deserializes a <see cref="global::System.Management.Automation.PSObject" /> into a new instance of <see cref="Commvault.Powershell.Models.GetjobsJobsItemJobSummary"
        /// />.
        /// </summary>
        /// <param name="content">The global::System.Management.Automation.PSObject content that should be used.</param>
        internal GetjobsJobsItemJobSummary(global::System.Management.Automation.PSObject content)
        {
            bool returnNow = false;
            BeforeDeserializePSObject(content, ref returnNow);
            if (returnNow)
            {
                return;
            }
            // actually deserialize
            ((Commvault.Powershell.Models.IGetjobsJobsItemJobSummaryInternal)this).DestinationDisplayClient = (Commvault.Powershell.Models.IComponentsUyvunhSchemasGetjobsPropertiesJobsItemsPropertiesJobsummaryPropertiesDestinationdisplayclient) content.GetValueForProperty("DestinationDisplayClient",((Commvault.Powershell.Models.IGetjobsJobsItemJobSummaryInternal)this).DestinationDisplayClient, Commvault.Powershell.Models.ComponentsUyvunhSchemasGetjobsPropertiesJobsItemsPropertiesJobsummaryPropertiesDestinationdisplayclientTypeConverter.ConvertFrom);
            ((Commvault.Powershell.Models.IGetjobsJobsItemJobSummaryInternal)this).DataSource = (Commvault.Powershell.Models.IComponentsFmi374SchemasGetjobsPropertiesJobsItemsPropertiesJobsummaryPropertiesDatasource) content.GetValueForProperty("DataSource",((Commvault.Powershell.Models.IGetjobsJobsItemJobSummaryInternal)this).DataSource, Commvault.Powershell.Models.ComponentsFmi374SchemasGetjobsPropertiesJobsItemsPropertiesJobsummaryPropertiesDatasourceTypeConverter.ConvertFrom);
            ((Commvault.Powershell.Models.IGetjobsJobsItemJobSummaryInternal)this).Subclient = (Commvault.Powershell.Models.IComponentsVmztmySchemasGetjobsPropertiesJobsItemsPropertiesJobsummaryPropertiesSubclient) content.GetValueForProperty("Subclient",((Commvault.Powershell.Models.IGetjobsJobsItemJobSummaryInternal)this).Subclient, Commvault.Powershell.Models.ComponentsVmztmySchemasGetjobsPropertiesJobsItemsPropertiesJobsummaryPropertiesSubclientTypeConverter.ConvertFrom);
            ((Commvault.Powershell.Models.IGetjobsJobsItemJobSummaryInternal)this).StoragePolicy = (Commvault.Powershell.Models.IComponents1FxfpbtSchemasGetjobsPropertiesJobsItemsPropertiesJobsummaryPropertiesStoragepolicy) content.GetValueForProperty("StoragePolicy",((Commvault.Powershell.Models.IGetjobsJobsItemJobSummaryInternal)this).StoragePolicy, Commvault.Powershell.Models.Components1FxfpbtSchemasGetjobsPropertiesJobsItemsPropertiesJobsummaryPropertiesStoragepolicyTypeConverter.ConvertFrom);
            ((Commvault.Powershell.Models.IGetjobsJobsItemJobSummaryInternal)this).DestinationClient = (Commvault.Powershell.Models.IComponents1S10F9TSchemasGetjobsPropertiesJobsItemsPropertiesJobsummaryPropertiesDestinationclient) content.GetValueForProperty("DestinationClient",((Commvault.Powershell.Models.IGetjobsJobsItemJobSummaryInternal)this).DestinationClient, Commvault.Powershell.Models.Components1S10F9TSchemasGetjobsPropertiesJobsItemsPropertiesJobsummaryPropertiesDestinationclientTypeConverter.ConvertFrom);
            ((Commvault.Powershell.Models.IGetjobsJobsItemJobSummaryInternal)this).UserName = (Commvault.Powershell.Models.IComponents1Prb9OySchemasGetjobsPropertiesJobsItemsPropertiesJobsummaryPropertiesUsername) content.GetValueForProperty("UserName",((Commvault.Powershell.Models.IGetjobsJobsItemJobSummaryInternal)this).UserName, Commvault.Powershell.Models.Components1Prb9OySchemasGetjobsPropertiesJobsItemsPropertiesJobsummaryPropertiesUsernameTypeConverter.ConvertFrom);
            ((Commvault.Powershell.Models.IGetjobsJobsItemJobSummaryInternal)this).SizeOfApplication = (long?) content.GetValueForProperty("SizeOfApplication",((Commvault.Powershell.Models.IGetjobsJobsItemJobSummaryInternal)this).SizeOfApplication, (__y)=> (long) global::System.Convert.ChangeType(__y, typeof(long)));
            ((Commvault.Powershell.Models.IGetjobsJobsItemJobSummaryInternal)this).VsaParentJobId = (long?) content.GetValueForProperty("VsaParentJobId",((Commvault.Powershell.Models.IGetjobsJobsItemJobSummaryInternal)this).VsaParentJobId, (__y)=> (long) global::System.Convert.ChangeType(__y, typeof(long)));
            ((Commvault.Powershell.Models.IGetjobsJobsItemJobSummaryInternal)this).CommcellId = (long?) content.GetValueForProperty("CommcellId",((Commvault.Powershell.Models.IGetjobsJobsItemJobSummaryInternal)this).CommcellId, (__y)=> (long) global::System.Convert.ChangeType(__y, typeof(long)));
            ((Commvault.Powershell.Models.IGetjobsJobsItemJobSummaryInternal)this).BackupSetName = (string) content.GetValueForProperty("BackupSetName",((Commvault.Powershell.Models.IGetjobsJobsItemJobSummaryInternal)this).BackupSetName, global::System.Convert.ToString);
            ((Commvault.Powershell.Models.IGetjobsJobsItemJobSummaryInternal)this).OpType = (long?) content.GetValueForProperty("OpType",((Commvault.Powershell.Models.IGetjobsJobsItemJobSummaryInternal)this).OpType, (__y)=> (long) global::System.Convert.ChangeType(__y, typeof(long)));
            ((Commvault.Powershell.Models.IGetjobsJobsItemJobSummaryInternal)this).TotalFailedFolders = (long?) content.GetValueForProperty("TotalFailedFolders",((Commvault.Powershell.Models.IGetjobsJobsItemJobSummaryInternal)this).TotalFailedFolders, (__y)=> (long) global::System.Convert.ChangeType(__y, typeof(long)));
            ((Commvault.Powershell.Models.IGetjobsJobsItemJobSummaryInternal)this).DistributedAppsClusterType = (long?) content.GetValueForProperty("DistributedAppsClusterType",((Commvault.Powershell.Models.IGetjobsJobsItemJobSummaryInternal)this).DistributedAppsClusterType, (__y)=> (long) global::System.Convert.ChangeType(__y, typeof(long)));
            ((Commvault.Powershell.Models.IGetjobsJobsItemJobSummaryInternal)this).TotalFailedFiles = (long?) content.GetValueForProperty("TotalFailedFiles",((Commvault.Powershell.Models.IGetjobsJobsItemJobSummaryInternal)this).TotalFailedFiles, (__y)=> (long) global::System.Convert.ChangeType(__y, typeof(long)));
            ((Commvault.Powershell.Models.IGetjobsJobsItemJobSummaryInternal)this).AlertColorLevel = (long?) content.GetValueForProperty("AlertColorLevel",((Commvault.Powershell.Models.IGetjobsJobsItemJobSummaryInternal)this).AlertColorLevel, (__y)=> (long) global::System.Convert.ChangeType(__y, typeof(long)));
            ((Commvault.Powershell.Models.IGetjobsJobsItemJobSummaryInternal)this).CurrentPhaseType = (long?) content.GetValueForProperty("CurrentPhaseType",((Commvault.Powershell.Models.IGetjobsJobsItemJobSummaryInternal)this).CurrentPhaseType, (__y)=> (long) global::System.Convert.ChangeType(__y, typeof(long)));
            ((Commvault.Powershell.Models.IGetjobsJobsItemJobSummaryInternal)this).JobAttributes = (long?) content.GetValueForProperty("JobAttributes",((Commvault.Powershell.Models.IGetjobsJobsItemJobSummaryInternal)this).JobAttributes, (__y)=> (long) global::System.Convert.ChangeType(__y, typeof(long)));
            ((Commvault.Powershell.Models.IGetjobsJobsItemJobSummaryInternal)this).JobAttributesEx = (long?) content.GetValueForProperty("JobAttributesEx",((Commvault.Powershell.Models.IGetjobsJobsItemJobSummaryInternal)this).JobAttributesEx, (__y)=> (long) global::System.Convert.ChangeType(__y, typeof(long)));
            ((Commvault.Powershell.Models.IGetjobsJobsItemJobSummaryInternal)this).IsVisible = (bool?) content.GetValueForProperty("IsVisible",((Commvault.Powershell.Models.IGetjobsJobsItemJobSummaryInternal)this).IsVisible, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool)));
            ((Commvault.Powershell.Models.IGetjobsJobsItemJobSummaryInternal)this).LocalizedStatus = (string) content.GetValueForProperty("LocalizedStatus",((Commvault.Powershell.Models.IGetjobsJobsItemJobSummaryInternal)this).LocalizedStatus, global::System.Convert.ToString);
            ((Commvault.Powershell.Models.IGetjobsJobsItemJobSummaryInternal)this).IsAged = (bool?) content.GetValueForProperty("IsAged",((Commvault.Powershell.Models.IGetjobsJobsItemJobSummaryInternal)this).IsAged, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool)));
            ((Commvault.Powershell.Models.IGetjobsJobsItemJobSummaryInternal)this).TotalNumOfFiles = (long?) content.GetValueForProperty("TotalNumOfFiles",((Commvault.Powershell.Models.IGetjobsJobsItemJobSummaryInternal)this).TotalNumOfFiles, (__y)=> (long) global::System.Convert.ChangeType(__y, typeof(long)));
            ((Commvault.Powershell.Models.IGetjobsJobsItemJobSummaryInternal)this).JobId = (long?) content.GetValueForProperty("JobId",((Commvault.Powershell.Models.IGetjobsJobsItemJobSummaryInternal)this).JobId, (__y)=> (long) global::System.Convert.ChangeType(__y, typeof(long)));
            ((Commvault.Powershell.Models.IGetjobsJobsItemJobSummaryInternal)this).SizeOfMediaOnDisk = (long?) content.GetValueForProperty("SizeOfMediaOnDisk",((Commvault.Powershell.Models.IGetjobsJobsItemJobSummaryInternal)this).SizeOfMediaOnDisk, (__y)=> (long) global::System.Convert.ChangeType(__y, typeof(long)));
            ((Commvault.Powershell.Models.IGetjobsJobsItemJobSummaryInternal)this).CurrentPhase = (long?) content.GetValueForProperty("CurrentPhase",((Commvault.Powershell.Models.IGetjobsJobsItemJobSummaryInternal)this).CurrentPhase, (__y)=> (long) global::System.Convert.ChangeType(__y, typeof(long)));
            ((Commvault.Powershell.Models.IGetjobsJobsItemJobSummaryInternal)this).Status = (string) content.GetValueForProperty("Status",((Commvault.Powershell.Models.IGetjobsJobsItemJobSummaryInternal)this).Status, global::System.Convert.ToString);
            ((Commvault.Powershell.Models.IGetjobsJobsItemJobSummaryInternal)this).LastUpdateTime = (long?) content.GetValueForProperty("LastUpdateTime",((Commvault.Powershell.Models.IGetjobsJobsItemJobSummaryInternal)this).LastUpdateTime, (__y)=> (long) global::System.Convert.ChangeType(__y, typeof(long)));
            ((Commvault.Powershell.Models.IGetjobsJobsItemJobSummaryInternal)this).PercentSavings = (double?) content.GetValueForProperty("PercentSavings",((Commvault.Powershell.Models.IGetjobsJobsItemJobSummaryInternal)this).PercentSavings, (__y)=> (double) global::System.Convert.ChangeType(__y, typeof(double)));
            ((Commvault.Powershell.Models.IGetjobsJobsItemJobSummaryInternal)this).LocalizedOperationName = (string) content.GetValueForProperty("LocalizedOperationName",((Commvault.Powershell.Models.IGetjobsJobsItemJobSummaryInternal)this).LocalizedOperationName, global::System.Convert.ToString);
            ((Commvault.Powershell.Models.IGetjobsJobsItemJobSummaryInternal)this).StatusColor = (string) content.GetValueForProperty("StatusColor",((Commvault.Powershell.Models.IGetjobsJobsItemJobSummaryInternal)this).StatusColor, global::System.Convert.ToString);
            ((Commvault.Powershell.Models.IGetjobsJobsItemJobSummaryInternal)this).PendingReason = (string) content.GetValueForProperty("PendingReason",((Commvault.Powershell.Models.IGetjobsJobsItemJobSummaryInternal)this).PendingReason, global::System.Convert.ToString);
            ((Commvault.Powershell.Models.IGetjobsJobsItemJobSummaryInternal)this).ErrorType = (long?) content.GetValueForProperty("ErrorType",((Commvault.Powershell.Models.IGetjobsJobsItemJobSummaryInternal)this).ErrorType, (__y)=> (long) global::System.Convert.ChangeType(__y, typeof(long)));
            ((Commvault.Powershell.Models.IGetjobsJobsItemJobSummaryInternal)this).BackupLevel = (long?) content.GetValueForProperty("BackupLevel",((Commvault.Powershell.Models.IGetjobsJobsItemJobSummaryInternal)this).BackupLevel, (__y)=> (long) global::System.Convert.ChangeType(__y, typeof(long)));
            ((Commvault.Powershell.Models.IGetjobsJobsItemJobSummaryInternal)this).JobElapsedTime = (long?) content.GetValueForProperty("JobElapsedTime",((Commvault.Powershell.Models.IGetjobsJobsItemJobSummaryInternal)this).JobElapsedTime, (__y)=> (long) global::System.Convert.ChangeType(__y, typeof(long)));
            ((Commvault.Powershell.Models.IGetjobsJobsItemJobSummaryInternal)this).JobStartTime = (long?) content.GetValueForProperty("JobStartTime",((Commvault.Powershell.Models.IGetjobsJobsItemJobSummaryInternal)this).JobStartTime, (__y)=> (long) global::System.Convert.ChangeType(__y, typeof(long)));
            ((Commvault.Powershell.Models.IGetjobsJobsItemJobSummaryInternal)this).CurrentPhaseName = (string) content.GetValueForProperty("CurrentPhaseName",((Commvault.Powershell.Models.IGetjobsJobsItemJobSummaryInternal)this).CurrentPhaseName, global::System.Convert.ToString);
            ((Commvault.Powershell.Models.IGetjobsJobsItemJobSummaryInternal)this).JobType = (string) content.GetValueForProperty("JobType",((Commvault.Powershell.Models.IGetjobsJobsItemJobSummaryInternal)this).JobType, global::System.Convert.ToString);
            ((Commvault.Powershell.Models.IGetjobsJobsItemJobSummaryInternal)this).IsPreemptable = (long?) content.GetValueForProperty("IsPreemptable",((Commvault.Powershell.Models.IGetjobsJobsItemJobSummaryInternal)this).IsPreemptable, (__y)=> (long) global::System.Convert.ChangeType(__y, typeof(long)));
            ((Commvault.Powershell.Models.IGetjobsJobsItemJobSummaryInternal)this).BackupLevelName = (string) content.GetValueForProperty("BackupLevelName",((Commvault.Powershell.Models.IGetjobsJobsItemJobSummaryInternal)this).BackupLevelName, global::System.Convert.ToString);
            ((Commvault.Powershell.Models.IGetjobsJobsItemJobSummaryInternal)this).AttemptStartTime = (long?) content.GetValueForProperty("AttemptStartTime",((Commvault.Powershell.Models.IGetjobsJobsItemJobSummaryInternal)this).AttemptStartTime, (__y)=> (long) global::System.Convert.ChangeType(__y, typeof(long)));
            ((Commvault.Powershell.Models.IGetjobsJobsItemJobSummaryInternal)this).PendingReasonErrorCode = (string) content.GetValueForProperty("PendingReasonErrorCode",((Commvault.Powershell.Models.IGetjobsJobsItemJobSummaryInternal)this).PendingReasonErrorCode, global::System.Convert.ToString);
            ((Commvault.Powershell.Models.IGetjobsJobsItemJobSummaryInternal)this).AppTypeName = (string) content.GetValueForProperty("AppTypeName",((Commvault.Powershell.Models.IGetjobsJobsItemJobSummaryInternal)this).AppTypeName, global::System.Convert.ToString);
            ((Commvault.Powershell.Models.IGetjobsJobsItemJobSummaryInternal)this).PercentComplete = (double?) content.GetValueForProperty("PercentComplete",((Commvault.Powershell.Models.IGetjobsJobsItemJobSummaryInternal)this).PercentComplete, (__y)=> (double) global::System.Convert.ChangeType(__y, typeof(double)));
            ((Commvault.Powershell.Models.IGetjobsJobsItemJobSummaryInternal)this).AverageThroughput = (double?) content.GetValueForProperty("AverageThroughput",((Commvault.Powershell.Models.IGetjobsJobsItemJobSummaryInternal)this).AverageThroughput, (__y)=> (double) global::System.Convert.ChangeType(__y, typeof(double)));
            ((Commvault.Powershell.Models.IGetjobsJobsItemJobSummaryInternal)this).LocalizedBackupLevelName = (string) content.GetValueForProperty("LocalizedBackupLevelName",((Commvault.Powershell.Models.IGetjobsJobsItemJobSummaryInternal)this).LocalizedBackupLevelName, global::System.Convert.ToString);
            ((Commvault.Powershell.Models.IGetjobsJobsItemJobSummaryInternal)this).CurrentThroughput = (double?) content.GetValueForProperty("CurrentThroughput",((Commvault.Powershell.Models.IGetjobsJobsItemJobSummaryInternal)this).CurrentThroughput, (__y)=> (double) global::System.Convert.ChangeType(__y, typeof(double)));
            ((Commvault.Powershell.Models.IGetjobsJobsItemJobSummaryInternal)this).SubclientName = (string) content.GetValueForProperty("SubclientName",((Commvault.Powershell.Models.IGetjobsJobsItemJobSummaryInternal)this).SubclientName, global::System.Convert.ToString);
            ((Commvault.Powershell.Models.IGetjobsJobsItemJobSummaryInternal)this).DestClientName = (string) content.GetValueForProperty("DestClientName",((Commvault.Powershell.Models.IGetjobsJobsItemJobSummaryInternal)this).DestClientName, global::System.Convert.ToString);
            ((Commvault.Powershell.Models.IGetjobsJobsItemJobSummaryInternal)this).JobEndTime = (long?) content.GetValueForProperty("JobEndTime",((Commvault.Powershell.Models.IGetjobsJobsItemJobSummaryInternal)this).JobEndTime, (__y)=> (long) global::System.Convert.ChangeType(__y, typeof(long)));
            ((Commvault.Powershell.Models.IGetjobsJobsItemJobSummaryInternal)this).ClientGroups = (Commvault.Powershell.Models.IGetjobsJobsPropertiesItemsItem[]) content.GetValueForProperty("ClientGroups",((Commvault.Powershell.Models.IGetjobsJobsItemJobSummaryInternal)this).ClientGroups, __y => TypeConverterExtensions.SelectToArray<Commvault.Powershell.Models.IGetjobsJobsPropertiesItemsItem>(__y, Commvault.Powershell.Models.GetjobsJobsPropertiesItemsItemTypeConverter.ConvertFrom));
            ((Commvault.Powershell.Models.IGetjobsJobsItemJobSummaryInternal)this).StringUserName = (string) content.GetValueForProperty("StringUserName",((Commvault.Powershell.Models.IGetjobsJobsItemJobSummaryInternal)this).StringUserName, global::System.Convert.ToString);
            ((Commvault.Powershell.Models.IGetjobsJobsItemJobSummaryInternal)this).DestinationDisplayClientId = (long?) content.GetValueForProperty("DestinationDisplayClientId",((Commvault.Powershell.Models.IGetjobsJobsItemJobSummaryInternal)this).DestinationDisplayClientId, (__y)=> (long) global::System.Convert.ChangeType(__y, typeof(long)));
            ((Commvault.Powershell.Models.IGetjobsJobsItemJobSummaryInternal)this).DataSourceId = (long?) content.GetValueForProperty("DataSourceId",((Commvault.Powershell.Models.IGetjobsJobsItemJobSummaryInternal)this).DataSourceId, (__y)=> (long) global::System.Convert.ChangeType(__y, typeof(long)));
            ((Commvault.Powershell.Models.IGetjobsJobsItemJobSummaryInternal)this).SubclientClientName = (string) content.GetValueForProperty("SubclientClientName",((Commvault.Powershell.Models.IGetjobsJobsItemJobSummaryInternal)this).SubclientClientName, global::System.Convert.ToString);
            ((Commvault.Powershell.Models.IGetjobsJobsItemJobSummaryInternal)this).SubclientInstanceName = (string) content.GetValueForProperty("SubclientInstanceName",((Commvault.Powershell.Models.IGetjobsJobsItemJobSummaryInternal)this).SubclientInstanceName, global::System.Convert.ToString);
            ((Commvault.Powershell.Models.IGetjobsJobsItemJobSummaryInternal)this).SubclientBackupsetId = (long?) content.GetValueForProperty("SubclientBackupsetId",((Commvault.Powershell.Models.IGetjobsJobsItemJobSummaryInternal)this).SubclientBackupsetId, (__y)=> (long) global::System.Convert.ChangeType(__y, typeof(long)));
            ((Commvault.Powershell.Models.IGetjobsJobsItemJobSummaryInternal)this).SubclientCommCellName = (string) content.GetValueForProperty("SubclientCommCellName",((Commvault.Powershell.Models.IGetjobsJobsItemJobSummaryInternal)this).SubclientCommCellName, global::System.Convert.ToString);
            ((Commvault.Powershell.Models.IGetjobsJobsItemJobSummaryInternal)this).SubclientInstanceId = (long?) content.GetValueForProperty("SubclientInstanceId",((Commvault.Powershell.Models.IGetjobsJobsItemJobSummaryInternal)this).SubclientInstanceId, (__y)=> (long) global::System.Convert.ChangeType(__y, typeof(long)));
            ((Commvault.Powershell.Models.IGetjobsJobsItemJobSummaryInternal)this).SubclientWorkloadId = (long?) content.GetValueForProperty("SubclientWorkloadId",((Commvault.Powershell.Models.IGetjobsJobsItemJobSummaryInternal)this).SubclientWorkloadId, (__y)=> (long) global::System.Convert.ChangeType(__y, typeof(long)));
            ((Commvault.Powershell.Models.IGetjobsJobsItemJobSummaryInternal)this).SubclientId = (long?) content.GetValueForProperty("SubclientId",((Commvault.Powershell.Models.IGetjobsJobsItemJobSummaryInternal)this).SubclientId, (__y)=> (long) global::System.Convert.ChangeType(__y, typeof(long)));
            ((Commvault.Powershell.Models.IGetjobsJobsItemJobSummaryInternal)this).SubclientClientId = (long?) content.GetValueForProperty("SubclientClientId",((Commvault.Powershell.Models.IGetjobsJobsItemJobSummaryInternal)this).SubclientClientId, (__y)=> (long) global::System.Convert.ChangeType(__y, typeof(long)));
            ((Commvault.Powershell.Models.IGetjobsJobsItemJobSummaryInternal)this).SubclientAppName = (string) content.GetValueForProperty("SubclientAppName",((Commvault.Powershell.Models.IGetjobsJobsItemJobSummaryInternal)this).SubclientAppName, global::System.Convert.ToString);
            ((Commvault.Powershell.Models.IGetjobsJobsItemJobSummaryInternal)this).SubclientBackupsetName = (string) content.GetValueForProperty("SubclientBackupsetName",((Commvault.Powershell.Models.IGetjobsJobsItemJobSummaryInternal)this).SubclientBackupsetName, global::System.Convert.ToString);
            ((Commvault.Powershell.Models.IGetjobsJobsItemJobSummaryInternal)this).SubclientApplicationId = (long?) content.GetValueForProperty("SubclientApplicationId",((Commvault.Powershell.Models.IGetjobsJobsItemJobSummaryInternal)this).SubclientApplicationId, (__y)=> (long) global::System.Convert.ChangeType(__y, typeof(long)));
            ((Commvault.Powershell.Models.IGetjobsJobsItemJobSummaryInternal)this).SubclientSubclientName = (string) content.GetValueForProperty("SubclientSubclientName",((Commvault.Powershell.Models.IGetjobsJobsItemJobSummaryInternal)this).SubclientSubclientName, global::System.Convert.ToString);
            ((Commvault.Powershell.Models.IGetjobsJobsItemJobSummaryInternal)this).StoragePolicyName = (string) content.GetValueForProperty("StoragePolicyName",((Commvault.Powershell.Models.IGetjobsJobsItemJobSummaryInternal)this).StoragePolicyName, global::System.Convert.ToString);
            ((Commvault.Powershell.Models.IGetjobsJobsItemJobSummaryInternal)this).StoragePolicyId = (long?) content.GetValueForProperty("StoragePolicyId",((Commvault.Powershell.Models.IGetjobsJobsItemJobSummaryInternal)this).StoragePolicyId, (__y)=> (long) global::System.Convert.ChangeType(__y, typeof(long)));
            ((Commvault.Powershell.Models.IGetjobsJobsItemJobSummaryInternal)this).DestinationClientId = (long?) content.GetValueForProperty("DestinationClientId",((Commvault.Powershell.Models.IGetjobsJobsItemJobSummaryInternal)this).DestinationClientId, (__y)=> (long) global::System.Convert.ChangeType(__y, typeof(long)));
            ((Commvault.Powershell.Models.IGetjobsJobsItemJobSummaryInternal)this).DestinationClientName = (string) content.GetValueForProperty("DestinationClientName",((Commvault.Powershell.Models.IGetjobsJobsItemJobSummaryInternal)this).DestinationClientName, global::System.Convert.ToString);
            ((Commvault.Powershell.Models.IGetjobsJobsItemJobSummaryInternal)this).DestinationClientDisplayName = (string) content.GetValueForProperty("DestinationClientDisplayName",((Commvault.Powershell.Models.IGetjobsJobsItemJobSummaryInternal)this).DestinationClientDisplayName, global::System.Convert.ToString);
            ((Commvault.Powershell.Models.IGetjobsJobsItemJobSummaryInternal)this).UserNameUserId = (long?) content.GetValueForProperty("UserNameUserId",((Commvault.Powershell.Models.IGetjobsJobsItemJobSummaryInternal)this).UserNameUserId, (__y)=> (long) global::System.Convert.ChangeType(__y, typeof(long)));
            AfterDeserializePSObject(content);
        }

        /// <summary>Serializes this instance to a json string.</summary>

        /// <returns>a <see cref="System.String" /> containing this model serialized to JSON text.</returns>
        public string ToJsonString() => ToJson(null, Commvault.Powershell.Runtime.SerializationMode.IncludeAll)?.ToString();
    }
    [System.ComponentModel.TypeConverter(typeof(GetjobsJobsItemJobSummaryTypeConverter))]
    public partial interface IGetjobsJobsItemJobSummary

    {

    }
}