DeliveryStreamEncryptionConfiguration.fromJson constructor

DeliveryStreamEncryptionConfiguration.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory DeliveryStreamEncryptionConfiguration.fromJson(
    Map<String, dynamic> json) {
  return DeliveryStreamEncryptionConfiguration(
    failureDescription: json['FailureDescription'] != null
        ? FailureDescription.fromJson(
            json['FailureDescription'] as Map<String, dynamic>)
        : null,
    keyARN: json['KeyARN'] as String?,
    keyType: (json['KeyType'] as String?)?.toKeyType(),
    status: (json['Status'] as String?)?.toDeliveryStreamEncryptionStatus(),
  );
}