DataSourceSyncJob class

Provides information about a synchronization job.

Constructors

DataSourceSyncJob({String? dataSourceErrorCode, DateTime? endTime, ErrorCode? errorCode, String? errorMessage, String? executionId, DataSourceSyncJobMetrics? metrics, DateTime? startTime, DataSourceSyncJobStatus? status})
DataSourceSyncJob.fromJson(Map<String, dynamic> json)
factory

Properties

dataSourceErrorCode String?
If the reason that the synchronization failed is due to an error with the underlying data source, this field contains a code that identifies the error.
final
endTime DateTime?
The UNIX datetime that the synchronization job was completed.
final
errorCode ErrorCode?
If the Status field is set to FAILED, the ErrorCode field contains a the reason that the synchronization failed.
final
errorMessage String?
If the Status field is set to ERROR, the ErrorMessage field contains a description of the error that caused the synchronization to fail.
final
executionId String?
A unique identifier for the synchronization job.
final
hashCode int
The hash code for this object.
no setterinherited
metrics DataSourceSyncJobMetrics?
Maps a batch delete document request to a specific data source sync job. This is optional and should only be supplied when documents are deleted by a data source connector.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
startTime DateTime?
The UNIX datetime that the synchronization job was started.
final
status DataSourceSyncJobStatus?
The execution status of the synchronization job. When the Status field is set to SUCCEEDED, the synchronization job is done. If the status code is set to FAILED, the ErrorCode and ErrorMessage fields give you the reason for the failure.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited