toJson method
Implementation
core.Map<core.String, core.dynamic> toJson() => {
if (annotations != null) 'annotations': annotations!,
if (approvalState != null) 'approvalState': approvalState!,
if (approveTime != null) 'approveTime': approveTime!,
if (controllerRollout != null) 'controllerRollout': controllerRollout!,
if (createTime != null) 'createTime': createTime!,
if (deployEndTime != null) 'deployEndTime': deployEndTime!,
if (deployFailureCause != null)
'deployFailureCause': deployFailureCause!,
if (deployStartTime != null) 'deployStartTime': deployStartTime!,
if (deployingBuild != null) 'deployingBuild': deployingBuild!,
if (description != null) 'description': description!,
if (enqueueTime != null) 'enqueueTime': enqueueTime!,
if (etag != null) 'etag': etag!,
if (failureReason != null) 'failureReason': failureReason!,
if (labels != null) 'labels': labels!,
if (metadata != null) 'metadata': metadata!,
if (name != null) 'name': name!,
if (phases != null) 'phases': phases!,
if (rollbackOfRollout != null) 'rollbackOfRollout': rollbackOfRollout!,
if (rolledBackByRollouts != null)
'rolledBackByRollouts': rolledBackByRollouts!,
if (state != null) 'state': state!,
if (targetId != null) 'targetId': targetId!,
if (uid != null) 'uid': uid!,
};