toJson method
Implementation
core.Map<core.String, core.dynamic> toJson() => {
if (createTime != null) 'createTime': createTime!,
if (endTime != null) 'endTime': endTime!,
if (events != null)
'events': events!.map((value) => value.toJson()).toList(),
if (labels != null) 'labels': labels!,
if (pipeline != null) 'pipeline': pipeline!.toJson(),
if (pubSubTopic != null) 'pubSubTopic': pubSubTopic!,
if (startTime != null) 'startTime': startTime!,
};