toJson method
Implementation
Map<String, dynamic> toJson() {
final json = <String, dynamic>{};
json[r'url'] = this.url;
if (this.basicAuth != null) {
json[r'basicAuth'] = this.basicAuth;
} else {
json[r'basicAuth'] = null;
}
if (this.name != null) {
json[r'name'] = this.name;
} else {
json[r'name'] = null;
}
if (this.eventName != null) {
json[r'eventName'] = this.eventName;
} else {
json[r'eventName'] = null;
}
if (this.includeHeaders != null) {
json[r'includeHeaders'] = this.includeHeaders;
} else {
json[r'includeHeaders'] = null;
}
if (this.requestBodyTemplate != null) {
json[r'requestBodyTemplate'] = this.requestBodyTemplate;
} else {
json[r'requestBodyTemplate'] = null;
}
if (this.useStaticIpRange != null) {
json[r'useStaticIpRange'] = this.useStaticIpRange;
} else {
json[r'useStaticIpRange'] = null;
}
if (this.ignoreInsecureSslCertificates != null) {
json[r'ignoreInsecureSslCertificates'] = this.ignoreInsecureSslCertificates;
} else {
json[r'ignoreInsecureSslCertificates'] = null;
}
return json;
}