toJson method
Implementation
Map<String, dynamic> toJson() {
final jobName = this.jobName;
final jobStatus = this.jobStatus;
final submittedAfterTime = this.submittedAfterTime;
final submittedBeforeTime = this.submittedBeforeTime;
return {
if (jobName != null) 'JobName': jobName,
if (jobStatus != null) 'JobStatus': jobStatus.toValue(),
if (submittedAfterTime != null)
'SubmittedAfterTime': unixTimestampToJson(submittedAfterTime),
if (submittedBeforeTime != null)
'SubmittedBeforeTime': unixTimestampToJson(submittedBeforeTime),
};
}