SplunkDestinationDescription.fromJson constructor
SplunkDestinationDescription.fromJson(
- Map<String, dynamic> json
)
Implementation
factory SplunkDestinationDescription.fromJson(Map<String, dynamic> json) {
return SplunkDestinationDescription(
cloudWatchLoggingOptions: json['CloudWatchLoggingOptions'] != null
? CloudWatchLoggingOptions.fromJson(
json['CloudWatchLoggingOptions'] as Map<String, dynamic>)
: null,
hECAcknowledgmentTimeoutInSeconds:
json['HECAcknowledgmentTimeoutInSeconds'] as int?,
hECEndpoint: json['HECEndpoint'] as String?,
hECEndpointType:
(json['HECEndpointType'] as String?)?.toHECEndpointType(),
hECToken: json['HECToken'] as String?,
processingConfiguration: json['ProcessingConfiguration'] != null
? ProcessingConfiguration.fromJson(
json['ProcessingConfiguration'] as Map<String, dynamic>)
: null,
retryOptions: json['RetryOptions'] != null
? SplunkRetryOptions.fromJson(
json['RetryOptions'] as Map<String, dynamic>)
: null,
s3BackupMode: (json['S3BackupMode'] as String?)?.toSplunkS3BackupMode(),
s3DestinationDescription: json['S3DestinationDescription'] != null
? S3DestinationDescription.fromJson(
json['S3DestinationDescription'] as Map<String, dynamic>)
: null,
);
}