WorkGroupConfiguration.fromJson constructor
WorkGroupConfiguration.fromJson(
- Map<String, dynamic> json
)
Implementation
factory WorkGroupConfiguration.fromJson(Map<String, dynamic> json) {
return WorkGroupConfiguration(
bytesScannedCutoffPerQuery: json['BytesScannedCutoffPerQuery'] as int?,
enforceWorkGroupConfiguration:
json['EnforceWorkGroupConfiguration'] as bool?,
publishCloudWatchMetricsEnabled:
json['PublishCloudWatchMetricsEnabled'] as bool?,
requesterPaysEnabled: json['RequesterPaysEnabled'] as bool?,
resultConfiguration: json['ResultConfiguration'] != null
? ResultConfiguration.fromJson(
json['ResultConfiguration'] as Map<String, dynamic>)
: null,
);
}