toJson method
Implementation
@override
Object toJson() => {
'cron': ?cron,
'createPipelineJobRequest': ?createPipelineJobRequest?.toJson(),
'createModelMonitoringJobRequest': ?createModelMonitoringJobRequest
?.toJson(),
'createNotebookExecutionJobRequest': ?createNotebookExecutionJobRequest
?.toJson(),
if (name.isNotDefault) 'name': name,
'displayName': displayName,
'startTime': ?startTime?.toJson(),
'endTime': ?endTime?.toJson(),
if (maxRunCount.isNotDefault) 'maxRunCount': maxRunCount.toString(),
if (startedRunCount.isNotDefault)
'startedRunCount': startedRunCount.toString(),
if (state.isNotDefault) 'state': state.toJson(),
'createTime': ?createTime?.toJson(),
'updateTime': ?updateTime?.toJson(),
'nextRunTime': ?nextRunTime?.toJson(),
'lastPauseTime': ?lastPauseTime?.toJson(),
'lastResumeTime': ?lastResumeTime?.toJson(),
'maxConcurrentRunCount': maxConcurrentRunCount.toString(),
if (maxConcurrentActiveRunCount.isNotDefault)
'maxConcurrentActiveRunCount': maxConcurrentActiveRunCount.toString(),
if (allowQueueing.isNotDefault) 'allowQueueing': allowQueueing,
if (catchUp.isNotDefault) 'catchUp': catchUp,
'lastScheduledRunResponse': ?lastScheduledRunResponse?.toJson(),
};