toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (createTime != null) 'createTime': createTime!,
      if (dagTimeout != null) 'dagTimeout': dagTimeout!,
      if (encryptionConfig != null) 'encryptionConfig': encryptionConfig!,
      if (id != null) 'id': id!,
      if (jobs != null) 'jobs': jobs!,
      if (labels != null) 'labels': labels!,
      if (name != null) 'name': name!,
      if (parameters != null) 'parameters': parameters!,
      if (placement != null) 'placement': placement!,
      if (updateTime != null) 'updateTime': updateTime!,
      if (version != null) 'version': version!,
    };