MappingMetadata constructor

MappingMetadata({
  1. String? orgId,
  2. String? locationId,
  3. String? robotId,
  4. Timestamp? timeStartSubmitted,
  5. Timestamp? timeCloudRunJobStarted,
  6. Timestamp? timeEndSubmitted,
  7. Timestamp? timeCloudRunJobEnded,
  8. EndStatus? endStatus,
  9. String? cloudRunJobId,
  10. String? viamServerVersion,
  11. String? mapName,
  12. String? slamVersion,
  13. String? config,
  14. String? errorMsg,
})

Implementation

factory MappingMetadata({
  $core.String? orgId,
  $core.String? locationId,
  $core.String? robotId,
  $44.Timestamp? timeStartSubmitted,
  $44.Timestamp? timeCloudRunJobStarted,
  $44.Timestamp? timeEndSubmitted,
  $44.Timestamp? timeCloudRunJobEnded,
  EndStatus? endStatus,
  $core.String? cloudRunJobId,
  $core.String? viamServerVersion,
  $core.String? mapName,
  $core.String? slamVersion,
  $core.String? config,
  $core.String? errorMsg,
}) {
  final $result = create();
  if (orgId != null) {
    $result.orgId = orgId;
  }
  if (locationId != null) {
    $result.locationId = locationId;
  }
  if (robotId != null) {
    $result.robotId = robotId;
  }
  if (timeStartSubmitted != null) {
    $result.timeStartSubmitted = timeStartSubmitted;
  }
  if (timeCloudRunJobStarted != null) {
    $result.timeCloudRunJobStarted = timeCloudRunJobStarted;
  }
  if (timeEndSubmitted != null) {
    $result.timeEndSubmitted = timeEndSubmitted;
  }
  if (timeCloudRunJobEnded != null) {
    $result.timeCloudRunJobEnded = timeCloudRunJobEnded;
  }
  if (endStatus != null) {
    $result.endStatus = endStatus;
  }
  if (cloudRunJobId != null) {
    $result.cloudRunJobId = cloudRunJobId;
  }
  if (viamServerVersion != null) {
    $result.viamServerVersion = viamServerVersion;
  }
  if (mapName != null) {
    $result.mapName = mapName;
  }
  if (slamVersion != null) {
    $result.slamVersion = slamVersion;
  }
  if (config != null) {
    $result.config = config;
  }
  if (errorMsg != null) {
    $result.errorMsg = errorMsg;
  }
  return $result;
}