toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final indexName = this.indexName;
  final provisionedWriteCapacityAutoScalingUpdate =
      this.provisionedWriteCapacityAutoScalingUpdate;
  return {
    if (indexName != null) 'IndexName': indexName,
    if (provisionedWriteCapacityAutoScalingUpdate != null)
      'ProvisionedWriteCapacityAutoScalingUpdate':
          provisionedWriteCapacityAutoScalingUpdate,
  };
}