public PSLivyBatchStateInformation(SparkBatchJobState stateInfo)
     : base(stateInfo?.NotStartedAt,
            stateInfo?.StartingAt,
            stateInfo?.DeadAt,
            stateInfo?.TerminatedAt,
            stateInfo?.RecoveringAt,
            stateInfo?.CurrentState,
            stateInfo?.JobCreationRequest)
 {
     this.RunningAt = stateInfo?.RunningAt;
     this.SuccessAt = stateInfo?.SuccessAt;
 }