toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final aggregateKeyType = this.aggregateKeyType;
  final limit = this.limit;
  final forwardedIPConfig = this.forwardedIPConfig;
  final scopeDownStatement = this.scopeDownStatement;
  return {
    'AggregateKeyType': aggregateKeyType.toValue(),
    'Limit': limit,
    if (forwardedIPConfig != null) 'ForwardedIPConfig': forwardedIPConfig,
    if (scopeDownStatement != null) 'ScopeDownStatement': scopeDownStatement,
  };
}