toJson method

Map<String, dynamic> toJson()

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 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 (stackSetRegions != null) 'StackSetRegions': stackSetRegions,
  };
}