factory ElasticsearchRetryOptions.fromJson(Map<String, dynamic> json) { return ElasticsearchRetryOptions( durationInSeconds: json['DurationInSeconds'] as int?, ); }