MailboxExportJob.fromJson constructor

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

Implementation

factory MailboxExportJob.fromJson(Map<String, dynamic> json) {
  return MailboxExportJob(
    description: json['Description'] as String?,
    endTime: timeStampFromJson(json['EndTime']),
    entityId: json['EntityId'] as String?,
    estimatedProgress: json['EstimatedProgress'] as int?,
    jobId: json['JobId'] as String?,
    s3BucketName: json['S3BucketName'] as String?,
    s3Path: json['S3Path'] as String?,
    startTime: timeStampFromJson(json['StartTime']),
    state: (json['State'] as String?)?.toMailboxExportJobState(),
  );
}