toJson method
Implementation
Map<String, dynamic> toJson() {
final stackSetAccounts = this.stackSetAccounts;
final stackSetFailureToleranceCount = this.stackSetFailureToleranceCount;
final stackSetFailureTolerancePercentage =
this.stackSetFailureTolerancePercentage;
final stackSetMaxConcurrencyCount = this.stackSetMaxConcurrencyCount;
final stackSetMaxConcurrencyPercentage =
this.stackSetMaxConcurrencyPercentage;
final stackSetOperationType = this.stackSetOperationType;
final stackSetRegions = this.stackSetRegions;
return {
if (stackSetAccounts != null) 'StackSetAccounts': stackSetAccounts,
if (stackSetFailureToleranceCount != null)
'StackSetFailureToleranceCount': stackSetFailureToleranceCount,
if (stackSetFailureTolerancePercentage != null)
'StackSetFailureTolerancePercentage':
stackSetFailureTolerancePercentage,
if (stackSetMaxConcurrencyCount != null)
'StackSetMaxConcurrencyCount': stackSetMaxConcurrencyCount,
if (stackSetMaxConcurrencyPercentage != null)
'StackSetMaxConcurrencyPercentage': stackSetMaxConcurrencyPercentage,
if (stackSetOperationType != null)
'StackSetOperationType': stackSetOperationType.toValue(),
if (stackSetRegions != null) 'StackSetRegions': stackSetRegions,
};
}