GetCloudMetadataResponse constructor

GetCloudMetadataResponse({
  1. @Deprecated('This field is deprecated.') String? robotPartId,
  2. String? primaryOrgId,
  3. String? locationId,
  4. String? machineId,
  5. String? machinePartId,
})

Implementation

factory GetCloudMetadataResponse({
@$core.Deprecated('This field is deprecated.')
  $core.String? robotPartId,
  $core.String? primaryOrgId,
  $core.String? locationId,
  $core.String? machineId,
  $core.String? machinePartId,
}) {
  final $result = create();
  if (robotPartId != null) {
    // ignore: deprecated_member_use_from_same_package
    $result.robotPartId = robotPartId;
  }
  if (primaryOrgId != null) {
    $result.primaryOrgId = primaryOrgId;
  }
  if (locationId != null) {
    $result.locationId = locationId;
  }
  if (machineId != null) {
    $result.machineId = machineId;
  }
  if (machinePartId != null) {
    $result.machinePartId = machinePartId;
  }
  return $result;
}