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