toJson method
Implementation
Map<String, dynamic> toJson() {
final failureToleranceCount = this.failureToleranceCount;
final failureTolerancePercentage = this.failureTolerancePercentage;
final maxConcurrentCount = this.maxConcurrentCount;
final maxConcurrentPercentage = this.maxConcurrentPercentage;
final regionOrder = this.regionOrder;
return {
if (failureToleranceCount != null)
'FailureToleranceCount': failureToleranceCount,
if (failureTolerancePercentage != null)
'FailureTolerancePercentage': failureTolerancePercentage,
if (maxConcurrentCount != null) 'MaxConcurrentCount': maxConcurrentCount,
if (maxConcurrentPercentage != null)
'MaxConcurrentPercentage': maxConcurrentPercentage,
if (regionOrder != null) 'RegionOrder': regionOrder,
};
}