AwsSecretsManagerSecretDetails.fromJson constructor
AwsSecretsManagerSecretDetails.fromJson(
- Map<String, dynamic> json
)
Implementation
factory AwsSecretsManagerSecretDetails.fromJson(Map<String, dynamic> json) {
return AwsSecretsManagerSecretDetails(
deleted: json['Deleted'] as bool?,
description: json['Description'] as String?,
kmsKeyId: json['KmsKeyId'] as String?,
name: json['Name'] as String?,
rotationEnabled: json['RotationEnabled'] as bool?,
rotationLambdaArn: json['RotationLambdaArn'] as String?,
rotationOccurredWithinFrequency:
json['RotationOccurredWithinFrequency'] as bool?,
rotationRules: json['RotationRules'] != null
? AwsSecretsManagerSecretRotationRules.fromJson(
json['RotationRules'] as Map<String, dynamic>)
: null,
);
}