CaptureMetadata constructor
CaptureMetadata({})
Implementation
factory CaptureMetadata({
$core.String? organizationId,
$core.String? locationId,
$core.String? robotName,
$core.String? robotId,
$core.String? partName,
$core.String? partId,
$core.String? componentType,
$core.String? componentName,
$core.String? methodName,
$core.Map<$core.String, $45.Any>? methodParameters,
$core.Iterable<$core.String>? tags,
$core.String? mimeType,
}) {
final $result = create();
if (organizationId != null) {
$result.organizationId = organizationId;
}
if (locationId != null) {
$result.locationId = locationId;
}
if (robotName != null) {
$result.robotName = robotName;
}
if (robotId != null) {
$result.robotId = robotId;
}
if (partName != null) {
$result.partName = partName;
}
if (partId != null) {
$result.partId = partId;
}
if (componentType != null) {
$result.componentType = componentType;
}
if (componentName != null) {
$result.componentName = componentName;
}
if (methodName != null) {
$result.methodName = methodName;
}
if (methodParameters != null) {
$result.methodParameters.addAll(methodParameters);
}
if (tags != null) {
$result.tags.addAll(tags);
}
if (mimeType != null) {
$result.mimeType = mimeType;
}
return $result;
}