DescribeMailboxExportJobResponse.fromJson constructor

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

Implementation

factory DescribeMailboxExportJobResponse.fromJson(Map<String, dynamic> json) {
  return DescribeMailboxExportJobResponse(
    description: json['Description'] as String?,
    endTime: timeStampFromJson(json['EndTime']),
    entityId: json['EntityId'] as String?,
    errorInfo: json['ErrorInfo'] as String?,
    estimatedProgress: json['EstimatedProgress'] as int?,
    kmsKeyArn: json['KmsKeyArn'] as String?,
    roleArn: json['RoleArn'] as String?,
    s3BucketName: json['S3BucketName'] as String?,
    s3Path: json['S3Path'] as String?,
    s3Prefix: json['S3Prefix'] as String?,
    startTime: timeStampFromJson(json['StartTime']),
    state: (json['State'] as String?)?.toMailboxExportJobState(),
  );
}