toJson method
Implementation
Map<String, dynamic> toJson() {
final json = <String, dynamic>{};
if (this.application != null) {
json[r'application'] = this.application;
} else {
json[r'application'] = null;
}
if (this.automated != null) {
json[r'automated'] = this.automated;
} else {
json[r'automated'] = null;
}
if (this.digest != null) {
json[r'digest'] = this.digest;
} else {
json[r'digest'] = null;
}
json[r'env'] = this.env;
json[r'hosts'] = this.hosts;
if (this.name != null) {
json[r'name'] = this.name;
} else {
json[r'name'] = null;
}
if (this.org != null) {
json[r'org'] = this.org;
} else {
json[r'org'] = null;
}
if (this.path != null) {
json[r'path'] = this.path;
} else {
json[r'path'] = null;
}
if (this.project != null) {
json[r'project'] = this.project;
} else {
json[r'project'] = null;
}
if (this.replicas != null) {
json[r'replicas'] = this.replicas;
} else {
json[r'replicas'] = null;
}
if (this.repository != null) {
json[r'repository'] = this.repository;
} else {
json[r'repository'] = null;
}
if (this.tag != null) {
json[r'tag'] = this.tag;
} else {
json[r'tag'] = null;
}
return json;
}