BucketSoftDeletePolicy.fromMap constructor

BucketSoftDeletePolicy.fromMap(
  1. Map<String, dynamic> map
)

Implementation

factory BucketSoftDeletePolicy.fromMap(Map<String, dynamic> map) {
  return BucketSoftDeletePolicy(
    effectiveTime: (() { final guardedValue = map['effectiveTime']; if (guardedValue == null) return null; return pulumi.Input.fromValue(guardedValue as String); })(),
    retentionDurationSeconds: (() { final guardedValue = map['retentionDurationSeconds']; if (guardedValue == null) return null; return pulumi.Input.fromValue(guardedValue as String); })(),
  );
}