toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (annotations != null) 'annotations': annotations!,
      if (anthosCluster != null) 'anthosCluster': anthosCluster!,
      if (createTime != null) 'createTime': createTime!,
      if (customTarget != null) 'customTarget': customTarget!,
      if (deployParameters != null) 'deployParameters': deployParameters!,
      if (description != null) 'description': description!,
      if (etag != null) 'etag': etag!,
      if (executionConfigs != null) 'executionConfigs': executionConfigs!,
      if (gke != null) 'gke': gke!,
      if (labels != null) 'labels': labels!,
      if (multiTarget != null) 'multiTarget': multiTarget!,
      if (name != null) 'name': name!,
      if (requireApproval != null) 'requireApproval': requireApproval!,
      if (run != null) 'run': run!,
      if (targetId != null) 'targetId': targetId!,
      if (uid != null) 'uid': uid!,
      if (updateTime != null) 'updateTime': updateTime!,
    };