internal PSJobSchedulingError(Microsoft.Azure.Batch.JobSchedulingError omObject)
 {
     if ((omObject == null))
     {
         throw new System.ArgumentNullException("omObject");
     }
     this.omObject = omObject;
 }
 internal PSJobSchedulingError(Microsoft.Azure.Batch.JobSchedulingError omObject)
 {
     if ((omObject == null))
     {
         throw new System.ArgumentNullException("omObject");
     }
     this.omObject = omObject;
 }
 internal JobExecutionInformation(Models.JobExecutionInformation protocolObject)
 {
     this.endTime         = protocolObject.EndTime;
     this.poolId          = protocolObject.PoolId;
     this.schedulingError = UtilitiesInternal.CreateObjectWithNullCheck(protocolObject.SchedulingError, o => new JobSchedulingError(o).Freeze());
     this.startTime       = protocolObject.StartTime;
     this.terminateReason = protocolObject.TerminateReason;
 }