StatefulSetPersistentVolumeClaimRetentionPolicy.fromJson constructor
Creates a StatefulSetPersistentVolumeClaimRetentionPolicy from JSON data.
Implementation
factory StatefulSetPersistentVolumeClaimRetentionPolicy.fromJson(
Map<String, dynamic> json) {
final tempWhenDeletedJson = json['whenDeleted'];
final tempWhenScaledJson = json['whenScaled'];
final String? tempWhenDeleted = tempWhenDeletedJson;
final String? tempWhenScaled = tempWhenScaledJson;
return StatefulSetPersistentVolumeClaimRetentionPolicy(
whenDeleted: tempWhenDeleted,
whenScaled: tempWhenScaled,
);
}