toJson method
Implementation
Map<String, dynamic> toJson() {
final _json = <String, dynamic>{};
if (enable != null) {
_json[r'Enable'] = enable;
}
if (perSec != null) {
_json[r'PerSec'] = perSec;
}
if (maxBurst != null) {
_json[r'MaxBurst'] = maxBurst;
}
if (memoryStoreSize != null) {
_json[r'MemoryStoreSize'] = memoryStoreSize;
}
if (varyByRemoteAddr != null) {
_json[r'VaryByRemoteAddr'] = varyByRemoteAddr;
}
if (varyByHeader != null) {
_json[r'VaryByHeader'] = varyByHeader;
}
return _json;
}