ReplicationTaskAssessmentRun.fromJson constructor

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

Implementation

factory ReplicationTaskAssessmentRun.fromJson(Map<String, dynamic> json) {
  return ReplicationTaskAssessmentRun(
    assessmentProgress: json['AssessmentProgress'] != null
        ? ReplicationTaskAssessmentRunProgress.fromJson(
            json['AssessmentProgress'] as Map<String, dynamic>)
        : null,
    assessmentRunName: json['AssessmentRunName'] as String?,
    lastFailureMessage: json['LastFailureMessage'] as String?,
    replicationTaskArn: json['ReplicationTaskArn'] as String?,
    replicationTaskAssessmentRunArn:
        json['ReplicationTaskAssessmentRunArn'] as String?,
    replicationTaskAssessmentRunCreationDate:
        timeStampFromJson(json['ReplicationTaskAssessmentRunCreationDate']),
    resultEncryptionMode: json['ResultEncryptionMode'] as String?,
    resultKmsKeyArn: json['ResultKmsKeyArn'] as String?,
    resultLocationBucket: json['ResultLocationBucket'] as String?,
    resultLocationFolder: json['ResultLocationFolder'] as String?,
    serviceAccessRoleArn: json['ServiceAccessRoleArn'] as String?,
    status: json['Status'] as String?,
  );
}