ServerReplicationParameters.fromJson constructor

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

Implementation

factory ServerReplicationParameters.fromJson(Map<String, dynamic> json) {
  return ServerReplicationParameters(
    encrypted: json['encrypted'] as bool?,
    frequency: json['frequency'] as int?,
    kmsKeyId: json['kmsKeyId'] as String?,
    licenseType: (json['licenseType'] as String?)?.toLicenseType(),
    numberOfRecentAmisToKeep: json['numberOfRecentAmisToKeep'] as int?,
    runOnce: json['runOnce'] as bool?,
    seedTime: timeStampFromJson(json['seedTime']),
  );
}