IndexOperationMetadata constructor
IndexOperationMetadata({})
Implementation
factory IndexOperationMetadata({
$4.Timestamp? startTime,
$4.Timestamp? endTime,
$core.String? index,
OperationState? state,
Progress? progressDocuments,
Progress? progressBytes,
}) {
final _result = create();
if (startTime != null) {
_result.startTime = startTime;
}
if (endTime != null) {
_result.endTime = endTime;
}
if (index != null) {
_result.index = index;
}
if (state != null) {
_result.state = state;
}
if (progressDocuments != null) {
_result.progressDocuments = progressDocuments;
}
if (progressBytes != null) {
_result.progressBytes = progressBytes;
}
return _result;
}