AwsCloudTrailTrailDetails.fromJson constructor
AwsCloudTrailTrailDetails.fromJson(
- Map<String, dynamic> json
)
Implementation
factory AwsCloudTrailTrailDetails.fromJson(Map<String, dynamic> json) {
return AwsCloudTrailTrailDetails(
cloudWatchLogsLogGroupArn: json['CloudWatchLogsLogGroupArn'] as String?,
cloudWatchLogsRoleArn: json['CloudWatchLogsRoleArn'] as String?,
hasCustomEventSelectors: json['HasCustomEventSelectors'] as bool?,
homeRegion: json['HomeRegion'] as String?,
includeGlobalServiceEvents: json['IncludeGlobalServiceEvents'] as bool?,
isMultiRegionTrail: json['IsMultiRegionTrail'] as bool?,
isOrganizationTrail: json['IsOrganizationTrail'] as bool?,
kmsKeyId: json['KmsKeyId'] as String?,
logFileValidationEnabled: json['LogFileValidationEnabled'] as bool?,
name: json['Name'] as String?,
s3BucketName: json['S3BucketName'] as String?,
s3KeyPrefix: json['S3KeyPrefix'] as String?,
snsTopicArn: json['SnsTopicArn'] as String?,
snsTopicName: json['SnsTopicName'] as String?,
trailArn: json['TrailArn'] as String?,
);
}