StartMappingSessionRequest constructor
StartMappingSessionRequest({ - String? slamVersion,
- String? viamServerVersion,
- String? mapName,
- String? organizationId,
- String? locationId,
- String? robotId,
- CaptureInterval? captureInterval,
- Iterable<SensorInfo>? sensors,
- Struct? slamConfig,
- String? existingMapVersion,
- Module? module,
})
Implementation
factory StartMappingSessionRequest({
$core.String? slamVersion,
$core.String? viamServerVersion,
$core.String? mapName,
$core.String? organizationId,
$core.String? locationId,
$core.String? robotId,
CaptureInterval? captureInterval,
$core.Iterable<SensorInfo>? sensors,
$43.Struct? slamConfig,
$core.String? existingMapVersion,
Module? module,
}) {
final $result = create();
if (slamVersion != null) {
$result.slamVersion = slamVersion;
}
if (viamServerVersion != null) {
$result.viamServerVersion = viamServerVersion;
}
if (mapName != null) {
$result.mapName = mapName;
}
if (organizationId != null) {
$result.organizationId = organizationId;
}
if (locationId != null) {
$result.locationId = locationId;
}
if (robotId != null) {
$result.robotId = robotId;
}
if (captureInterval != null) {
$result.captureInterval = captureInterval;
}
if (sensors != null) {
$result.sensors.addAll(sensors);
}
if (slamConfig != null) {
$result.slamConfig = slamConfig;
}
if (existingMapVersion != null) {
$result.existingMapVersion = existingMapVersion;
}
if (module != null) {
$result.module = module;
}
return $result;
}