toJson method
Implementation
Map<String, dynamic> toJson() {
final json = <String, dynamic>{};
if (this.computeRef != null) {
json[r'computeRef'] = this.computeRef;
} else {
json[r'computeRef'] = null;
}
if (this.createdAt != null) {
json[r'createdAt'] = this.createdAt;
} else {
json[r'createdAt'] = null;
}
if (this.description != null) {
json[r'description'] = this.description;
} else {
json[r'description'] = null;
}
if (this.executionMode != null) {
json[r'executionMode'] = this.executionMode;
} else {
json[r'executionMode'] = null;
}
if (this.id != null) {
json[r'id'] = this.id;
} else {
json[r'id'] = null;
}
if (this.model != null) {
json[r'model'] = this.model;
} else {
json[r'model'] = null;
}
if (this.name != null) {
json[r'name'] = this.name;
} else {
json[r'name'] = null;
}
if (this.runs != null) {
json[r'runs'] = this.runs;
} else {
json[r'runs'] = null;
}
if (this.schedule != null) {
json[r'schedule'] = this.schedule;
} else {
json[r'schedule'] = null;
}
if (this.serviceAccountId != null) {
json[r'serviceAccountId'] = this.serviceAccountId;
} else {
json[r'serviceAccountId'] = null;
}
if (this.status != null) {
json[r'status'] = this.status;
} else {
json[r'status'] = null;
}
json[r'tools'] = this.tools;
if (this.updatedAt != null) {
json[r'updatedAt'] = this.updatedAt;
} else {
json[r'updatedAt'] = null;
}
return json;
}