toJson method

Map<String, dynamic> toJson()

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.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.instructions != null) {
    json[r'instructions'] = this.instructions;
  } else {
    json[r'instructions'] = 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.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;
  }
    json[r'tools'] = this.tools;
  return json;
}