pub struct BenchlingClient { /* private fields */ }
Implementations§
Source§impl BenchlingClient
impl BenchlingClient
pub fn new(url: &str, authentication: BenchlingAuthentication) -> Self
pub fn with_authentication( self, authentication: BenchlingAuthentication, ) -> Self
pub fn authenticate<'a>(&self, r: RequestBuilder<'a>) -> RequestBuilder<'a>
pub fn with_middleware<M: Middleware + 'static>(self, middleware: M) -> Self
Sourcepub fn list_aa_sequences(&self) -> ListAaSequencesRequest<'_>
pub fn list_aa_sequences(&self) -> ListAaSequencesRequest<'_>
List AA sequences
Sourcepub fn create_aa_sequence(
&self,
args: CreateAaSequenceRequired<'_>,
) -> CreateAaSequenceRequest<'_>
pub fn create_aa_sequence( &self, args: CreateAaSequenceRequired<'_>, ) -> CreateAaSequenceRequest<'_>
Create an AA sequence
Sourcepub fn get_aa_sequence(&self, aa_sequence_id: &str) -> GetAaSequenceRequest<'_>
pub fn get_aa_sequence(&self, aa_sequence_id: &str) -> GetAaSequenceRequest<'_>
Get an AA sequence
Sourcepub fn update_aa_sequence(
&self,
args: UpdateAaSequenceRequired<'_>,
) -> UpdateAaSequenceRequest<'_>
pub fn update_aa_sequence( &self, args: UpdateAaSequenceRequired<'_>, ) -> UpdateAaSequenceRequest<'_>
Update an AA sequence
Sourcepub fn archive_aa_sequences(
&self,
aa_sequence_ids: &[&str],
reason: &str,
) -> ArchiveAaSequencesRequest<'_>
pub fn archive_aa_sequences( &self, aa_sequence_ids: &[&str], reason: &str, ) -> ArchiveAaSequencesRequest<'_>
Archive AA sequences
Sourcepub fn auto_annotate_aa_sequences(
&self,
aa_sequence_ids: &[&str],
feature_library_ids: &[&str],
) -> AutoAnnotateAaSequencesRequest<'_>
pub fn auto_annotate_aa_sequences( &self, aa_sequence_ids: &[&str], feature_library_ids: &[&str], ) -> AutoAnnotateAaSequencesRequest<'_>
Auto-annotate AA sequences with matching features from specified Feature Libraries
Sourcepub fn bulk_create_aa_sequences(&self) -> BulkCreateAaSequencesRequest<'_>
pub fn bulk_create_aa_sequences(&self) -> BulkCreateAaSequencesRequest<'_>
Bulk Create AA sequences
Bulk Create AA sequences. Limit of 1000 AA Sequences per request.
Sourcepub fn bulk_get_aa_sequences(
&self,
aa_sequence_ids: &str,
) -> BulkGetAaSequencesRequest<'_>
pub fn bulk_get_aa_sequences( &self, aa_sequence_ids: &str, ) -> BulkGetAaSequencesRequest<'_>
Bulk get AA sequences by ID
Sourcepub fn bulk_update_aa_sequences(&self) -> BulkUpdateAaSequencesRequest<'_>
pub fn bulk_update_aa_sequences(&self) -> BulkUpdateAaSequencesRequest<'_>
Bulk Update AA sequences
Sourcepub fn unarchive_aa_sequences(
&self,
aa_sequence_ids: &[&str],
) -> UnarchiveAaSequencesRequest<'_>
pub fn unarchive_aa_sequences( &self, aa_sequence_ids: &[&str], ) -> UnarchiveAaSequencesRequest<'_>
Unarchive AA sequences
Sourcepub fn list_app_configuration_items(
&self,
) -> ListAppConfigurationItemsRequest<'_>
pub fn list_app_configuration_items( &self, ) -> ListAppConfigurationItemsRequest<'_>
Get app configuration items
Sourcepub fn create_app_configuration_item(
&self,
) -> CreateAppConfigurationItemRequest<'_>
pub fn create_app_configuration_item( &self, ) -> CreateAppConfigurationItemRequest<'_>
Create app configuration item
Sourcepub fn get_app_configuration_item_by_id(
&self,
item_id: &str,
) -> GetAppConfigurationItemByIdRequest<'_>
pub fn get_app_configuration_item_by_id( &self, item_id: &str, ) -> GetAppConfigurationItemByIdRequest<'_>
Get app configuration item
Sourcepub fn update_app_configuration_item(
&self,
item_id: &str,
) -> UpdateAppConfigurationItemRequest<'_>
pub fn update_app_configuration_item( &self, item_id: &str, ) -> UpdateAppConfigurationItemRequest<'_>
Update app configuration item
Sourcepub fn bulk_create_app_configuration_items(
&self,
app_configuration_items: Vec<AppConfigItemCreate>,
) -> BulkCreateAppConfigurationItemsRequest<'_>
pub fn bulk_create_app_configuration_items( &self, app_configuration_items: Vec<AppConfigItemCreate>, ) -> BulkCreateAppConfigurationItemsRequest<'_>
Bulk Create app configuration items. Limit of 1000 App Config Items per request.
Bulk Create app configuration items
Sourcepub fn bulk_update_app_configuration_items(
&self,
app_configuration_items: Vec<AppConfigItemBulkUpdate>,
) -> BulkUpdateAppConfigurationItemsRequest<'_>
pub fn bulk_update_app_configuration_items( &self, app_configuration_items: Vec<AppConfigItemBulkUpdate>, ) -> BulkUpdateAppConfigurationItemsRequest<'_>
Bulk Update app configuration items. Limit of 1000 App Config Items per request.
Bulk Update app configuration items
Sourcepub fn list_benchling_apps(&self) -> ListBenchlingAppsRequest<'_>
pub fn list_benchling_apps(&self) -> ListBenchlingAppsRequest<'_>
List apps
Sourcepub fn create_benchling_app(&self, name: &str) -> CreateBenchlingAppRequest<'_>
pub fn create_benchling_app(&self, name: &str) -> CreateBenchlingAppRequest<'_>
Create an app
Sourcepub fn get_benchling_app_by_id(
&self,
app_id: &str,
) -> GetBenchlingAppByIdRequest<'_>
pub fn get_benchling_app_by_id( &self, app_id: &str, ) -> GetBenchlingAppByIdRequest<'_>
Get an app by ID
Sourcepub fn patch_benchling_app(&self, app_id: &str) -> PatchBenchlingAppRequest<'_>
pub fn patch_benchling_app(&self, app_id: &str) -> PatchBenchlingAppRequest<'_>
Update an app
Sourcepub fn archive_benchling_apps(
&self,
app_ids: &[&str],
reason: &str,
) -> ArchiveBenchlingAppsRequest<'_>
pub fn archive_benchling_apps( &self, app_ids: &[&str], reason: &str, ) -> ArchiveBenchlingAppsRequest<'_>
Archive apps
Sourcepub fn unarchive_benchling_apps(
&self,
app_ids: &[&str],
) -> UnarchiveBenchlingAppsRequest<'_>
pub fn unarchive_benchling_apps( &self, app_ids: &[&str], ) -> UnarchiveBenchlingAppsRequest<'_>
Unarchive apps
Sourcepub fn list_assay_result_schemas(&self) -> ListAssayResultSchemasRequest<'_>
pub fn list_assay_result_schemas(&self) -> ListAssayResultSchemasRequest<'_>
List assay result schemas
Sourcepub fn get_result_schema(&self, schema_id: &str) -> GetResultSchemaRequest<'_>
pub fn get_result_schema(&self, schema_id: &str) -> GetResultSchemaRequest<'_>
Get a Result schema by ID
Sourcepub fn list_assay_results(&self, schema_id: &str) -> ListAssayResultsRequest<'_>
pub fn list_assay_results(&self, schema_id: &str) -> ListAssayResultsRequest<'_>
List results
Sourcepub fn create_assay_results(
&self,
assay_results: Vec<AssayResultCreate>,
) -> CreateAssayResultsRequest<'_>
pub fn create_assay_results( &self, assay_results: Vec<AssayResultCreate>, ) -> CreateAssayResultsRequest<'_>
Create 1 or more results.
Sourcepub fn get_assay_result(
&self,
assay_result_id: &str,
) -> GetAssayResultRequest<'_>
pub fn get_assay_result( &self, assay_result_id: &str, ) -> GetAssayResultRequest<'_>
Get a result
Sourcepub fn archive_assay_results(
&self,
assay_result_ids: &[&str],
reason: &str,
) -> ArchiveAssayResultsRequest<'_>
pub fn archive_assay_results( &self, assay_result_ids: &[&str], reason: &str, ) -> ArchiveAssayResultsRequest<'_>
Archive 1 or more results.
Only results that have not been added to a Notebook Entry can be Archived. Once results are attached to a notebook entry, they are tracked in the history of that notebook entry, and cannot be archived.
Sourcepub fn bulk_get_assay_results(
&self,
assay_result_ids: &str,
) -> BulkGetAssayResultsRequest<'_>
pub fn bulk_get_assay_results( &self, assay_result_ids: &str, ) -> BulkGetAssayResultsRequest<'_>
Gets multiple results specified by a list of IDs.
Up to 200 IDs can be specified at once.
Sourcepub fn unarchive_assay_results(
&self,
assay_result_ids: &[&str],
) -> UnarchiveAssayResultsRequest<'_>
pub fn unarchive_assay_results( &self, assay_result_ids: &[&str], ) -> UnarchiveAssayResultsRequest<'_>
Unarchive 1 or more results.
Sourcepub fn list_assay_run_schemas(&self) -> ListAssayRunSchemasRequest<'_>
pub fn list_assay_run_schemas(&self) -> ListAssayRunSchemasRequest<'_>
List assay run schemas
Sourcepub fn get_run_schema(&self, schema_id: &str) -> GetRunSchemaRequest<'_>
pub fn get_run_schema(&self, schema_id: &str) -> GetRunSchemaRequest<'_>
Get a Run schema by ID
Sourcepub fn list_assay_runs(&self, schema_id: &str) -> ListAssayRunsRequest<'_>
pub fn list_assay_runs(&self, schema_id: &str) -> ListAssayRunsRequest<'_>
List runs
Sourcepub fn create_assay_runs(
&self,
assay_runs: Vec<AssayRunCreate>,
) -> CreateAssayRunsRequest<'_>
pub fn create_assay_runs( &self, assay_runs: Vec<AssayRunCreate>, ) -> CreateAssayRunsRequest<'_>
Create 1 or more runs.
Sourcepub fn get_assay_run(&self, assay_run_id: &str) -> GetAssayRunRequest<'_>
pub fn get_assay_run(&self, assay_run_id: &str) -> GetAssayRunRequest<'_>
Get a run
Sourcepub fn update_assay_run(&self, assay_run_id: &str) -> UpdateAssayRunRequest<'_>
pub fn update_assay_run(&self, assay_run_id: &str) -> UpdateAssayRunRequest<'_>
Update a run
Sourcepub fn list_automation_input_generators(
&self,
assay_run_id: &str,
) -> ListAutomationInputGeneratorsRequest<'_>
pub fn list_automation_input_generators( &self, assay_run_id: &str, ) -> ListAutomationInputGeneratorsRequest<'_>
list AutomationInputGenerators by Run
Sourcepub fn list_automation_output_processors_deprecated(
&self,
assay_run_id: &str,
) -> ListAutomationOutputProcessorsDeprecatedRequest<'_>
pub fn list_automation_output_processors_deprecated( &self, assay_run_id: &str, ) -> ListAutomationOutputProcessorsDeprecatedRequest<'_>
list AutomationOutputProcessors by Run
Deprecated in favor of ‘/automation-output-processors’. For each output config in the run config, will create an empty automationOutputProcessor for the run if one doesn’t exist.
Sourcepub fn archive_assay_runs(
&self,
assay_run_ids: &[&str],
reason: &str,
) -> ArchiveAssayRunsRequest<'_>
pub fn archive_assay_runs( &self, assay_run_ids: &[&str], reason: &str, ) -> ArchiveAssayRunsRequest<'_>
Archive Assay Runs
Archive assay runs that are not embedded in a notebook entry
Sourcepub fn bulk_get_assay_runs(
&self,
assay_run_ids: &str,
) -> BulkGetAssayRunsRequest<'_>
pub fn bulk_get_assay_runs( &self, assay_run_ids: &str, ) -> BulkGetAssayRunsRequest<'_>
Bulk get runs by ID
Sourcepub fn unarchive_assay_runs(
&self,
assay_run_ids: &[&str],
) -> UnarchiveAssayRunsRequest<'_>
pub fn unarchive_assay_runs( &self, assay_run_ids: &[&str], ) -> UnarchiveAssayRunsRequest<'_>
Unarchive Assay Runs
Unarchive assay runs
Sourcepub fn get_lab_automation_transform(
&self,
transform_id: &str,
) -> GetLabAutomationTransformRequest<'_>
pub fn get_lab_automation_transform( &self, transform_id: &str, ) -> GetLabAutomationTransformRequest<'_>
Get a Lab Automation Transform step
Sourcepub fn update_lab_automation_transform(
&self,
transform_id: &str,
) -> UpdateLabAutomationTransformRequest<'_>
pub fn update_lab_automation_transform( &self, transform_id: &str, ) -> UpdateLabAutomationTransformRequest<'_>
Update a Lab Automation Transform step
Sourcepub fn get_automation_input_generator(
&self,
input_generator_id: &str,
) -> GetAutomationInputGeneratorRequest<'_>
pub fn get_automation_input_generator( &self, input_generator_id: &str, ) -> GetAutomationInputGeneratorRequest<'_>
Get an Automation Input Generator
Sourcepub fn update_automation_input_generator(
&self,
input_generator_id: &str,
) -> UpdateAutomationInputGeneratorRequest<'_>
pub fn update_automation_input_generator( &self, input_generator_id: &str, ) -> UpdateAutomationInputGeneratorRequest<'_>
Update an Automation Input Generator
Sourcepub fn generate_input_with_automation_input_generator(
&self,
input_generator_id: &str,
) -> GenerateInputWithAutomationInputGeneratorRequest<'_>
pub fn generate_input_with_automation_input_generator( &self, input_generator_id: &str, ) -> GenerateInputWithAutomationInputGeneratorRequest<'_>
Generate Input with an Automation Input Generator
Sourcepub fn list_automation_output_processors(
&self,
) -> ListAutomationOutputProcessorsRequest<'_>
pub fn list_automation_output_processors( &self, ) -> ListAutomationOutputProcessorsRequest<'_>
List non-empty Automation Output Processors
List Automation Output Processors which have an attached file
Sourcepub fn create_automation_output_processor(
&self,
assay_run_id: &str,
automation_file_config_name: &str,
file_id: &str,
) -> CreateAutomationOutputProcessorRequest<'_>
pub fn create_automation_output_processor( &self, assay_run_id: &str, automation_file_config_name: &str, file_id: &str, ) -> CreateAutomationOutputProcessorRequest<'_>
Create Automation Output Processor
Sourcepub fn get_automation_output_processor(
&self,
output_processor_id: &str,
) -> GetAutomationOutputProcessorRequest<'_>
pub fn get_automation_output_processor( &self, output_processor_id: &str, ) -> GetAutomationOutputProcessorRequest<'_>
Get an Automation Output Processor
Sourcepub fn update_automation_output_processor(
&self,
output_processor_id: &str,
file_id: &str,
) -> UpdateAutomationOutputProcessorRequest<'_>
pub fn update_automation_output_processor( &self, output_processor_id: &str, file_id: &str, ) -> UpdateAutomationOutputProcessorRequest<'_>
Update an Automation Output Processor
Sourcepub fn process_output_with_automation_output_processor(
&self,
output_processor_id: &str,
) -> ProcessOutputWithAutomationOutputProcessorRequest<'_>
pub fn process_output_with_automation_output_processor( &self, output_processor_id: &str, ) -> ProcessOutputWithAutomationOutputProcessorRequest<'_>
Process Output with an Automation Output Processor
Sourcepub fn archive_automation_output_processors(
&self,
automation_output_processor_ids: &[&str],
) -> ArchiveAutomationOutputProcessorsRequest<'_>
pub fn archive_automation_output_processors( &self, automation_output_processor_ids: &[&str], ) -> ArchiveAutomationOutputProcessorsRequest<'_>
Archive Automation Output Processors and linked Results
Sourcepub fn unarchive_automation_output_processors(
&self,
automation_output_processor_ids: &[&str],
) -> UnarchiveAutomationOutputProcessorsRequest<'_>
pub fn unarchive_automation_output_processors( &self, automation_output_processor_ids: &[&str], ) -> UnarchiveAutomationOutputProcessorsRequest<'_>
Unarchive Automation Output Processors and linked Results
Sourcepub fn list_batch_schemas(&self) -> ListBatchSchemasRequest<'_>
pub fn list_batch_schemas(&self) -> ListBatchSchemasRequest<'_>
List batch schemas
Sourcepub fn get_batch_schema(&self, schema_id: &str) -> GetBatchSchemaRequest<'_>
pub fn get_batch_schema(&self, schema_id: &str) -> GetBatchSchemaRequest<'_>
Get a batch schema by ID
Sourcepub fn list_batches(&self) -> ListBatchesRequest<'_>
pub fn list_batches(&self) -> ListBatchesRequest<'_>
List batches
Sourcepub fn create_batch(&self) -> CreateBatchRequest<'_>
pub fn create_batch(&self) -> CreateBatchRequest<'_>
Create a batch
Sourcepub fn get_batch(&self, batch_id: &str) -> GetBatchRequest<'_>
pub fn get_batch(&self, batch_id: &str) -> GetBatchRequest<'_>
Get a batch
Sourcepub fn update_batch(&self, batch_id: &str) -> UpdateBatchRequest<'_>
pub fn update_batch(&self, batch_id: &str) -> UpdateBatchRequest<'_>
Update a batch
Sourcepub fn archive_batches(
&self,
batch_ids: &[&str],
reason: &str,
) -> ArchiveBatchesRequest<'_>
pub fn archive_batches( &self, batch_ids: &[&str], reason: &str, ) -> ArchiveBatchesRequest<'_>
Archive Batches
Sourcepub fn bulk_get_batches(&self) -> BulkGetBatchesRequest<'_>
pub fn bulk_get_batches(&self) -> BulkGetBatchesRequest<'_>
Bulk get batches
Batches can be queried by their IDs or their names. Querying by name requires specifying a registryId since batch names are not necessarily unique across registries. Batches must be registered to query by name.
Sourcepub fn unarchive_batches(
&self,
batch_ids: &[&str],
) -> UnarchiveBatchesRequest<'_>
pub fn unarchive_batches( &self, batch_ids: &[&str], ) -> UnarchiveBatchesRequest<'_>
Unarchive Batches
Sourcepub fn create_blob(&self, args: CreateBlobRequired<'_>) -> CreateBlobRequest<'_>
pub fn create_blob(&self, args: CreateBlobRequired<'_>) -> CreateBlobRequest<'_>
Upload single-part blob
This endpoint uploads a blob in a single API call.
Blobs larger than 10MB should be uploaded in multiple parts. The data64 parameter is the base64-encoded part contents, and the md5 parameter is the hex-encoded MD5 hash of the part contents. For example, given the string hello, data64 is aGVsbG8= and md5 is 5d41402abc4b2a76b9719d911017c592.
Sourcepub fn get_blob(&self, blob_id: &str) -> GetBlobRequest<'_>
pub fn get_blob(&self, blob_id: &str) -> GetBlobRequest<'_>
Get a Blob
Sourcepub fn get_blob_url(&self, blob_id: &str) -> GetBlobUrlRequest<'_>
pub fn get_blob_url(&self, blob_id: &str) -> GetBlobUrlRequest<'_>
Get a Blob’s download url
Sourcepub fn create_blob_part(
&self,
args: CreateBlobPartRequired<'_>,
) -> CreateBlobPartRequest<'_>
pub fn create_blob_part( &self, args: CreateBlobPartRequired<'_>, ) -> CreateBlobPartRequest<'_>
Upload a part of a multi-part blob
Upload a part of the blob. This part must be at least 5MB, unless it’s the last or only part. It’s recommended to keep the part size around 10MB.
The data64 parameter is the base64-encoded part contents, and the md5 parameter is the hex-encoded MD5 hash of the part contents. For example, given the string hello, data64 is aGVsbG8= and md5 is 5d41402abc4b2a76b9719d911017c592.
§Multipart Upload
If a blob is larger than 10MB, it should be uploaded in multiple parts using the following endpoints:
Each part has a partNumber and an eTag. The part number can be any number between 1 to 10,000, inclusive - this number should be unique and identifies the order of the part in the final blob. The eTag of a part is returned in the API response - this eTag must be specified when completing the upload in order to ensure the server has received all the expected parts.
Sourcepub fn abort_multipart_blob(
&self,
blob_id: &str,
) -> AbortMultipartBlobRequest<'_>
pub fn abort_multipart_blob( &self, blob_id: &str, ) -> AbortMultipartBlobRequest<'_>
Abort multi-part blob upload
Sourcepub fn complete_multipart_blob(
&self,
blob_id: &str,
) -> CompleteMultipartBlobRequest<'_>
pub fn complete_multipart_blob( &self, blob_id: &str, ) -> CompleteMultipartBlobRequest<'_>
Complete multi-part blob upload
Combine blob parts into a single blob.
§Multipart Upload
If a blob is larger than 10MB, it should be uploaded in multiple parts using the following endpoints:
Each part must be at least 5MB in size, except for the last part. We recommend keeping each part to under 10MB when uploading.
Each part has a partNumber and an eTag. The part number can be any number between 1 to 10,000, inclusive - this number should be unique and identifies the order of the part in the final blob. The eTag of a part is returned in the API response - this eTag must be specified when completing the upload in order to ensure the server has received all the expected parts.
Sourcepub fn bulk_get_blobs(&self) -> BulkGetBlobsRequest<'_>
pub fn bulk_get_blobs(&self) -> BulkGetBlobsRequest<'_>
Bulk get Blobs by UUID
Sourcepub fn create_multipart_blob(
&self,
name: &str,
type_: &str,
) -> CreateMultipartBlobRequest<'_>
pub fn create_multipart_blob( &self, name: &str, type_: &str, ) -> CreateMultipartBlobRequest<'_>
Initiate multi-part blob upload
Blobs may be uploaded using multi-part upload. This endpoint initiates the upload process - blob parts can then be uploaded in multiple blob parts.
§Multipart Upload
If a blob is larger than 10MB, it should be uploaded in multiple parts using the following endpoints:
Each part must be at least 5MB in size, except for the last part. We recommend keeping each part to under 10MB when uploading.
Each part has a partNumber and an eTag. The part number can be any number between 1 to 10,000, inclusive - this number should be unique and identifies the order of the part in the final blob. The eTag of a part is returned in the API response - this eTag must be specified when completing the upload in order to ensure the server has received all the expected parts.
Sourcepub fn list_box_schemas(&self) -> ListBoxSchemasRequest<'_>
pub fn list_box_schemas(&self) -> ListBoxSchemasRequest<'_>
List box schemas
Sourcepub fn get_box_schema(&self, schema_id: &str) -> GetBoxSchemaRequest<'_>
pub fn get_box_schema(&self, schema_id: &str) -> GetBoxSchemaRequest<'_>
Get a box schema by ID
Sourcepub fn list_boxes(&self) -> ListBoxesRequest<'_>
pub fn list_boxes(&self) -> ListBoxesRequest<'_>
List boxes
Sourcepub fn create_box(&self, schema_id: &str) -> CreateBoxRequest<'_>
pub fn create_box(&self, schema_id: &str) -> CreateBoxRequest<'_>
Create a box
Sourcepub fn get_box(&self, box_id: &str) -> GetBoxRequest<'_>
pub fn get_box(&self, box_id: &str) -> GetBoxRequest<'_>
Get a box
Sourcepub fn update_box(&self, box_id: &str) -> UpdateBoxRequest<'_>
pub fn update_box(&self, box_id: &str) -> UpdateBoxRequest<'_>
Update a box
Sourcepub fn list_box_contents(&self, box_id: &str) -> ListBoxContentsRequest<'_>
pub fn list_box_contents(&self, box_id: &str) -> ListBoxContentsRequest<'_>
List a box’s contents
Sourcepub fn archive_boxes(
&self,
box_ids: &[&str],
reason: &str,
) -> ArchiveBoxesRequest<'_>
pub fn archive_boxes( &self, box_ids: &[&str], reason: &str, ) -> ArchiveBoxesRequest<'_>
Archive boxes
Archive boxes and any containers of the boxes
Sourcepub fn bulk_get_boxes(&self) -> BulkGetBoxesRequest<'_>
pub fn bulk_get_boxes(&self) -> BulkGetBoxesRequest<'_>
BulkGet boxes
Sourcepub fn unarchive_boxes(&self, box_ids: &[&str]) -> UnarchiveBoxesRequest<'_>
pub fn unarchive_boxes(&self, box_ids: &[&str]) -> UnarchiveBoxesRequest<'_>
Unarchive boxes
Unarchive boxes and the containers that were archived along with them
Sourcepub fn list_container_schemas(&self) -> ListContainerSchemasRequest<'_>
pub fn list_container_schemas(&self) -> ListContainerSchemasRequest<'_>
List container schemas
Sourcepub fn get_container_schema(
&self,
schema_id: &str,
) -> GetContainerSchemaRequest<'_>
pub fn get_container_schema( &self, schema_id: &str, ) -> GetContainerSchemaRequest<'_>
Get a container schema by ID
Sourcepub fn list_containers(&self) -> ListContainersRequest<'_>
pub fn list_containers(&self) -> ListContainersRequest<'_>
List containers
Sourcepub fn create_container(
&self,
args: CreateContainerRequired<'_>,
) -> CreateContainerRequest<'_>
pub fn create_container( &self, args: CreateContainerRequired<'_>, ) -> CreateContainerRequest<'_>
Create a new container
Sourcepub fn get_container(&self, container_id: &str) -> GetContainerRequest<'_>
pub fn get_container(&self, container_id: &str) -> GetContainerRequest<'_>
get a container by id
Sourcepub fn update_container(
&self,
args: UpdateContainerRequired<'_>,
) -> UpdateContainerRequest<'_>
pub fn update_container( &self, args: UpdateContainerRequired<'_>, ) -> UpdateContainerRequest<'_>
update a container
Sourcepub fn list_container_contents(
&self,
container_id: &str,
) -> ListContainerContentsRequest<'_>
pub fn list_container_contents( &self, container_id: &str, ) -> ListContainerContentsRequest<'_>
List a container’s contents
Sourcepub fn get_container_content(
&self,
container_id: &str,
containable_id: &str,
) -> GetContainerContentRequest<'_>
pub fn get_container_content( &self, container_id: &str, containable_id: &str, ) -> GetContainerContentRequest<'_>
Get a container content
Sourcepub fn delete_container_content(
&self,
container_id: &str,
containable_id: &str,
) -> DeleteContainerContentRequest<'_>
pub fn delete_container_content( &self, container_id: &str, containable_id: &str, ) -> DeleteContainerContentRequest<'_>
Delete a container content
Sourcepub fn update_container_content(
&self,
container_id: &str,
containable_id: &str,
concentration: Measurement,
) -> UpdateContainerContentRequest<'_>
pub fn update_container_content( &self, container_id: &str, containable_id: &str, concentration: Measurement, ) -> UpdateContainerContentRequest<'_>
Update a container content
Sourcepub fn transfer_into_container(
&self,
destination_container_id: &str,
) -> TransferIntoContainerRequest<'_>
pub fn transfer_into_container( &self, destination_container_id: &str, ) -> TransferIntoContainerRequest<'_>
Transfer into container
Transfers a volume of an entity, batch, or container into a destination container. Transfering a volume is cumulative with the existing destination container’s contents. To transfer an entire container’s contents, the sourceContainerId should be specified. To otherwise transfer multiple entities within a container, you can make multiple calls to this endpoint, specifying a single entity with each call.
Sourcepub fn archive_containers(
&self,
container_ids: &[&str],
reason: &str,
) -> ArchiveContainersRequest<'_>
pub fn archive_containers( &self, container_ids: &[&str], reason: &str, ) -> ArchiveContainersRequest<'_>
Archive containers
Sourcepub fn bulk_create_containers(
&self,
containers: Vec<ContainerCreate>,
) -> BulkCreateContainersRequest<'_>
pub fn bulk_create_containers( &self, containers: Vec<ContainerCreate>, ) -> BulkCreateContainersRequest<'_>
Bulk create containers. Limit of 1000 containers per request.
Bulk create containers
Sourcepub fn bulk_get_containers(&self) -> BulkGetContainersRequest<'_>
pub fn bulk_get_containers(&self) -> BulkGetContainersRequest<'_>
Bulk get a set of containers
Bulk get a set of containers. Provide either containerIds or barcodes, not both.
Sourcepub fn bulk_update_containers(
&self,
containers: Vec<ContainerBulkUpdateItem>,
) -> BulkUpdateContainersRequest<'_>
pub fn bulk_update_containers( &self, containers: Vec<ContainerBulkUpdateItem>, ) -> BulkUpdateContainersRequest<'_>
Bulk update containers
Sourcepub fn checkin_containers(
&self,
container_ids: &[&str],
) -> CheckinContainersRequest<'_>
pub fn checkin_containers( &self, container_ids: &[&str], ) -> CheckinContainersRequest<'_>
Check in containers
Check in containers to signify that they are available for use.
Sourcepub fn checkout_containers(
&self,
assignee_id: &str,
container_ids: &[&str],
) -> CheckoutContainersRequest<'_>
pub fn checkout_containers( &self, assignee_id: &str, container_ids: &[&str], ) -> CheckoutContainersRequest<'_>
Check out containers
Check out containers to signify that they are in use.
Sourcepub fn print_labels(
&self,
container_ids: &[&str],
label_template_id: &str,
printer_id: &str,
) -> PrintLabelsRequest<'_>
pub fn print_labels( &self, container_ids: &[&str], label_template_id: &str, printer_id: &str, ) -> PrintLabelsRequest<'_>
Print labels
Sourcepub fn reserve_containers(
&self,
assignee_id: &str,
container_ids: &[&str],
) -> ReserveContainersRequest<'_>
pub fn reserve_containers( &self, assignee_id: &str, container_ids: &[&str], ) -> ReserveContainersRequest<'_>
Reserve containers
Reserve containers to signify that someone plans to use the containers.
Sourcepub fn unarchive_containers(
&self,
container_ids: &[&str],
) -> UnarchiveContainersRequest<'_>
pub fn unarchive_containers( &self, container_ids: &[&str], ) -> UnarchiveContainersRequest<'_>
Unarchive containers
Sourcepub fn list_custom_entities(&self) -> ListCustomEntitiesRequest<'_>
pub fn list_custom_entities(&self) -> ListCustomEntitiesRequest<'_>
List custom entities
Sourcepub fn create_custom_entity(
&self,
args: CreateCustomEntityRequired<'_>,
) -> CreateCustomEntityRequest<'_>
pub fn create_custom_entity( &self, args: CreateCustomEntityRequired<'_>, ) -> CreateCustomEntityRequest<'_>
Create a custom entity
Sourcepub fn get_custom_entity(
&self,
custom_entity_id: &str,
) -> GetCustomEntityRequest<'_>
pub fn get_custom_entity( &self, custom_entity_id: &str, ) -> GetCustomEntityRequest<'_>
Get a custom entity
Sourcepub fn update_custom_entity(
&self,
args: UpdateCustomEntityRequired<'_>,
) -> UpdateCustomEntityRequest<'_>
pub fn update_custom_entity( &self, args: UpdateCustomEntityRequired<'_>, ) -> UpdateCustomEntityRequest<'_>
Update a custom entity
Sourcepub fn archive_custom_entities(
&self,
custom_entity_ids: &[&str],
reason: &str,
) -> ArchiveCustomEntitiesRequest<'_>
pub fn archive_custom_entities( &self, custom_entity_ids: &[&str], reason: &str, ) -> ArchiveCustomEntitiesRequest<'_>
Archive custom entities
Sourcepub fn bulk_create_custom_entities(
&self,
custom_entities: Vec<CustomEntityBulkCreate>,
) -> BulkCreateCustomEntitiesRequest<'_>
pub fn bulk_create_custom_entities( &self, custom_entities: Vec<CustomEntityBulkCreate>, ) -> BulkCreateCustomEntitiesRequest<'_>
Bulk Create custom entities
Bulk Create custom entities. Limit of 2500 custom entities per request.
Sourcepub fn bulk_get_custom_entities(
&self,
custom_entity_ids: &str,
) -> BulkGetCustomEntitiesRequest<'_>
pub fn bulk_get_custom_entities( &self, custom_entity_ids: &str, ) -> BulkGetCustomEntitiesRequest<'_>
Bulk get custom entities by ID
Sourcepub fn bulk_update_custom_entities(
&self,
custom_entities: Vec<CustomEntityBulkUpdate>,
) -> BulkUpdateCustomEntitiesRequest<'_>
pub fn bulk_update_custom_entities( &self, custom_entities: Vec<CustomEntityBulkUpdate>, ) -> BulkUpdateCustomEntitiesRequest<'_>
Bulk Update custom entities
Sourcepub fn unarchive_custom_entities(
&self,
custom_entity_ids: &[&str],
) -> UnarchiveCustomEntitiesRequest<'_>
pub fn unarchive_custom_entities( &self, custom_entity_ids: &[&str], ) -> UnarchiveCustomEntitiesRequest<'_>
Unarchive custom entities
Sourcepub fn list_dna_alignments(&self) -> ListDnaAlignmentsRequest<'_>
pub fn list_dna_alignments(&self) -> ListDnaAlignmentsRequest<'_>
List DNA Alignments
Sourcepub fn get_dna_alignment(
&self,
dna_alignment_id: &str,
) -> GetDnaAlignmentRequest<'_>
pub fn get_dna_alignment( &self, dna_alignment_id: &str, ) -> GetDnaAlignmentRequest<'_>
Get a DNA Alignment
Sourcepub fn delete_dna_alignment(
&self,
dna_alignment_id: &str,
) -> DeleteDnaAlignmentRequest<'_>
pub fn delete_dna_alignment( &self, dna_alignment_id: &str, ) -> DeleteDnaAlignmentRequest<'_>
Delete a DNA Alignment
Sourcepub fn create_dna_consensus_alignment(
&self,
args: CreateDnaConsensusAlignmentRequired<'_>,
) -> CreateDnaConsensusAlignmentRequest<'_>
pub fn create_dna_consensus_alignment( &self, args: CreateDnaConsensusAlignmentRequired<'_>, ) -> CreateDnaConsensusAlignmentRequest<'_>
Create a consensus DNA alignment
Sourcepub fn create_dna_template_alignment(
&self,
args: CreateDnaTemplateAlignmentRequired<'_>,
) -> CreateDnaTemplateAlignmentRequest<'_>
pub fn create_dna_template_alignment( &self, args: CreateDnaTemplateAlignmentRequired<'_>, ) -> CreateDnaTemplateAlignmentRequest<'_>
Create a template DNA alignment
Sourcepub fn list_dna_oligos(&self) -> ListDnaOligosRequest<'_>
pub fn list_dna_oligos(&self) -> ListDnaOligosRequest<'_>
List DNA Oligos
Sourcepub fn create_dna_oligo(
&self,
args: CreateDnaOligoRequired<'_>,
) -> CreateDnaOligoRequest<'_>
pub fn create_dna_oligo( &self, args: CreateDnaOligoRequired<'_>, ) -> CreateDnaOligoRequest<'_>
Create a DNA Oligo
Sourcepub fn get_dna_oligo(&self, oligo_id: &str) -> GetDnaOligoRequest<'_>
pub fn get_dna_oligo(&self, oligo_id: &str) -> GetDnaOligoRequest<'_>
Get a DNA Oligo
Sourcepub fn update_dna_oligo(
&self,
args: UpdateDnaOligoRequired<'_>,
) -> UpdateDnaOligoRequest<'_>
pub fn update_dna_oligo( &self, args: UpdateDnaOligoRequired<'_>, ) -> UpdateDnaOligoRequest<'_>
Update a DNA Oligo
Sourcepub fn archive_dna_oligos(
&self,
dna_oligo_ids: &[&str],
reason: &str,
) -> ArchiveDnaOligosRequest<'_>
pub fn archive_dna_oligos( &self, dna_oligo_ids: &[&str], reason: &str, ) -> ArchiveDnaOligosRequest<'_>
Archive DNA Oligos
Sourcepub fn bulk_create_dna_oligos(&self) -> BulkCreateDnaOligosRequest<'_>
pub fn bulk_create_dna_oligos(&self) -> BulkCreateDnaOligosRequest<'_>
Bulk Create DNA Oligos
Bulk Create DNA Oligos. Limit of 1000 DNA Oligos per request.
Sourcepub fn bulk_update_dna_oligos(&self) -> BulkUpdateDnaOligosRequest<'_>
pub fn bulk_update_dna_oligos(&self) -> BulkUpdateDnaOligosRequest<'_>
Bulk Update DNA Oligos
Sourcepub fn unarchive_dna_oligos(
&self,
dna_oligo_ids: &[&str],
) -> UnarchiveDnaOligosRequest<'_>
pub fn unarchive_dna_oligos( &self, dna_oligo_ids: &[&str], ) -> UnarchiveDnaOligosRequest<'_>
Unarchive DNA Oligos
Sourcepub fn list_dna_sequences(&self) -> ListDnaSequencesRequest<'_>
pub fn list_dna_sequences(&self) -> ListDnaSequencesRequest<'_>
List DNA sequences
Sourcepub fn create_dna_sequence(
&self,
args: CreateDnaSequenceRequired<'_>,
) -> CreateDnaSequenceRequest<'_>
pub fn create_dna_sequence( &self, args: CreateDnaSequenceRequired<'_>, ) -> CreateDnaSequenceRequest<'_>
Create a DNA sequence
Sourcepub fn get_dna_sequence(
&self,
dna_sequence_id: &str,
) -> GetDnaSequenceRequest<'_>
pub fn get_dna_sequence( &self, dna_sequence_id: &str, ) -> GetDnaSequenceRequest<'_>
Get a DNA sequence
Sourcepub fn update_dna_sequence(
&self,
args: UpdateDnaSequenceRequired<'_>,
) -> UpdateDnaSequenceRequest<'_>
pub fn update_dna_sequence( &self, args: UpdateDnaSequenceRequired<'_>, ) -> UpdateDnaSequenceRequest<'_>
Update a DNA sequence
Sourcepub fn archive_dna_sequences(
&self,
dna_sequence_ids: &[&str],
reason: &str,
) -> ArchiveDnaSequencesRequest<'_>
pub fn archive_dna_sequences( &self, dna_sequence_ids: &[&str], reason: &str, ) -> ArchiveDnaSequencesRequest<'_>
Archive DNA sequences
Sourcepub fn auto_annotate_dna_sequences(
&self,
dna_sequence_ids: &[&str],
feature_library_ids: &[&str],
) -> AutoAnnotateDnaSequencesRequest<'_>
pub fn auto_annotate_dna_sequences( &self, dna_sequence_ids: &[&str], feature_library_ids: &[&str], ) -> AutoAnnotateDnaSequencesRequest<'_>
Auto-annotate DNA sequences with matching features from specified Feature Libraries
Sourcepub fn autofill_dna_sequence_parts(
&self,
dna_sequence_ids: &[&str],
) -> AutofillDnaSequencePartsRequest<'_>
pub fn autofill_dna_sequence_parts( &self, dna_sequence_ids: &[&str], ) -> AutofillDnaSequencePartsRequest<'_>
Autofill DNA sequence parts
Sourcepub fn autofill_dna_sequence_translations(
&self,
dna_sequence_ids: &[&str],
) -> AutofillDnaSequenceTranslationsRequest<'_>
pub fn autofill_dna_sequence_translations( &self, dna_sequence_ids: &[&str], ) -> AutofillDnaSequenceTranslationsRequest<'_>
Autofill DNA sequence translations
Sourcepub fn bulk_create_dna_sequences(&self) -> BulkCreateDnaSequencesRequest<'_>
pub fn bulk_create_dna_sequences(&self) -> BulkCreateDnaSequencesRequest<'_>
Bulk Create DNA sequences
Bulk Create DNA sequences. Limit of 1000 DNA Sequences per request.
Sourcepub fn bulk_get_dna_sequences(
&self,
dna_sequence_ids: &str,
) -> BulkGetDnaSequencesRequest<'_>
pub fn bulk_get_dna_sequences( &self, dna_sequence_ids: &str, ) -> BulkGetDnaSequencesRequest<'_>
Bulk get DNA sequences by ID
Sourcepub fn bulk_update_dna_sequences(&self) -> BulkUpdateDnaSequencesRequest<'_>
pub fn bulk_update_dna_sequences(&self) -> BulkUpdateDnaSequencesRequest<'_>
Bulk Update DNA sequences
Sourcepub fn unarchive_dna_sequences(
&self,
dna_sequence_ids: &[&str],
) -> UnarchiveDnaSequencesRequest<'_>
pub fn unarchive_dna_sequences( &self, dna_sequence_ids: &[&str], ) -> UnarchiveDnaSequencesRequest<'_>
Unarchive DNA sequences
Sourcepub fn list_dropdowns(&self) -> ListDropdownsRequest<'_>
pub fn list_dropdowns(&self) -> ListDropdownsRequest<'_>
List dropdowns
Sourcepub fn create_dropdown(
&self,
name: &str,
options: Vec<DropdownOptionCreate>,
) -> CreateDropdownRequest<'_>
pub fn create_dropdown( &self, name: &str, options: Vec<DropdownOptionCreate>, ) -> CreateDropdownRequest<'_>
Create a dropdown
Sourcepub fn get_dropdown(&self, dropdown_id: &str) -> GetDropdownRequest<'_>
pub fn get_dropdown(&self, dropdown_id: &str) -> GetDropdownRequest<'_>
Get a dropdown
Sourcepub fn update_dropdown(
&self,
dropdown_id: &str,
options: Vec<DropdownOptionUpdate>,
) -> UpdateDropdownRequest<'_>
pub fn update_dropdown( &self, dropdown_id: &str, options: Vec<DropdownOptionUpdate>, ) -> UpdateDropdownRequest<'_>
Update a dropdown
Sourcepub fn archive_dropdown_options(
&self,
dropdown_id: &str,
) -> ArchiveDropdownOptionsRequest<'_>
pub fn archive_dropdown_options( &self, dropdown_id: &str, ) -> ArchiveDropdownOptionsRequest<'_>
Archive dropdown options
Archive options belonging to a dropdown
Sourcepub fn unarchive_dropdown_options(
&self,
dropdown_id: &str,
) -> UnarchiveDropdownOptionsRequest<'_>
pub fn unarchive_dropdown_options( &self, dropdown_id: &str, ) -> UnarchiveDropdownOptionsRequest<'_>
Unarchive dropdown options
Unarchive options belonging to a dropdown
Sourcepub fn get_enitity_batches(
&self,
entity_id: &str,
) -> GetEnitityBatchesRequest<'_>
pub fn get_enitity_batches( &self, entity_id: &str, ) -> GetEnitityBatchesRequest<'_>
Get an entity’s batches
Sourcepub fn list_entity_schemas(&self) -> ListEntitySchemasRequest<'_>
pub fn list_entity_schemas(&self) -> ListEntitySchemasRequest<'_>
List entity schemas
Sourcepub fn get_entity_schema(&self, schema_id: &str) -> GetEntitySchemaRequest<'_>
pub fn get_entity_schema(&self, schema_id: &str) -> GetEntitySchemaRequest<'_>
Get an entity schema by ID
Sourcepub fn list_entries(&self) -> ListEntriesRequest<'_>
pub fn list_entries(&self) -> ListEntriesRequest<'_>
List entries
List notebook entries
Sourcepub fn create_entry(
&self,
folder_id: &str,
name: &str,
) -> CreateEntryRequest<'_>
pub fn create_entry( &self, folder_id: &str, name: &str, ) -> CreateEntryRequest<'_>
Create a notebook entry
Sourcepub fn get_entry(&self, entry_id: &str) -> GetEntryRequest<'_>
pub fn get_entry(&self, entry_id: &str) -> GetEntryRequest<'_>
Get a notebook entry by ID
Sourcepub fn update_entry(&self, entry_id: &str) -> UpdateEntryRequest<'_>
pub fn update_entry(&self, entry_id: &str) -> UpdateEntryRequest<'_>
Update a notebook entry’s metadata
Sourcepub fn get_external_file_metadata(
&self,
entry_id: &str,
external_file_id: &str,
) -> GetExternalFileMetadataRequest<'_>
pub fn get_external_file_metadata( &self, entry_id: &str, external_file_id: &str, ) -> GetExternalFileMetadataRequest<'_>
Retrieves the metadata for an external file. Use the ‘downloadURL’ to download the actual file.
Retrieves the metadata for an external file. Use the ‘downloadURL’ to download the actual file. (Expand the schema view for details)
Sourcepub fn archive_entries(
&self,
entry_ids: &[&str],
reason: &str,
) -> ArchiveEntriesRequest<'_>
pub fn archive_entries( &self, entry_ids: &[&str], reason: &str, ) -> ArchiveEntriesRequest<'_>
Archive notebook entries
Sourcepub fn bulk_get_entries(&self) -> BulkGetEntriesRequest<'_>
pub fn bulk_get_entries(&self) -> BulkGetEntriesRequest<'_>
Get notebook entries using entry IDs or display IDs
Sourcepub fn unarchive_entries(
&self,
entry_ids: &[&str],
) -> UnarchiveEntriesRequest<'_>
pub fn unarchive_entries( &self, entry_ids: &[&str], ) -> UnarchiveEntriesRequest<'_>
Unarchive notebook entries
Sourcepub fn list_entry_schemas(&self) -> ListEntrySchemasRequest<'_>
pub fn list_entry_schemas(&self) -> ListEntrySchemasRequest<'_>
List entry schemas
Sourcepub fn get_entry_schema(&self, schema_id: &str) -> GetEntrySchemaRequest<'_>
pub fn get_entry_schema(&self, schema_id: &str) -> GetEntrySchemaRequest<'_>
Get an Entry schema by ID
Sourcepub fn list_entry_templates(&self) -> ListEntryTemplatesRequest<'_>
pub fn list_entry_templates(&self) -> ListEntryTemplatesRequest<'_>
List entry templates
Sourcepub fn get_entry_template(
&self,
entry_template_id: &str,
) -> GetEntryTemplateRequest<'_>
pub fn get_entry_template( &self, entry_template_id: &str, ) -> GetEntryTemplateRequest<'_>
Get a notebook template entry by ID
Sourcepub fn list_events(&self) -> ListEventsRequest<'_>
pub fn list_events(&self) -> ListEventsRequest<'_>
List Events
List Events
§Event Sort Order
Events in Benchling are assigned a stable sort order that reflects when the event was processed (not created). The createdAt time is not the stable sorted order of events. For this reason event createdAt time may appear out of order.
Sourcepub fn export_item(&self, id: &str) -> ExportItemRequest<'_>
pub fn export_item(&self, id: &str) -> ExportItemRequest<'_>
Export Item
This endpoint launches a long-running task and returns the Task ID of the launched task. The task response contains a link to download the exported item from Amazon S3. The download is a ZIP file that contains the exported PDFs.
Sourcepub fn list_feature_libraries(&self) -> ListFeatureLibrariesRequest<'_>
pub fn list_feature_libraries(&self) -> ListFeatureLibrariesRequest<'_>
List Feature Libraries
Sourcepub fn create_feature_library(&self) -> CreateFeatureLibraryRequest<'_>
pub fn create_feature_library(&self) -> CreateFeatureLibraryRequest<'_>
Create a Feature Library
Sourcepub fn get_feature_library(
&self,
feature_library_id: &str,
) -> GetFeatureLibraryRequest<'_>
pub fn get_feature_library( &self, feature_library_id: &str, ) -> GetFeatureLibraryRequest<'_>
Get a feature library by ID
Sourcepub fn update_feature_library(
&self,
feature_library_id: &str,
) -> UpdateFeatureLibraryRequest<'_>
pub fn update_feature_library( &self, feature_library_id: &str, ) -> UpdateFeatureLibraryRequest<'_>
Update a feature library
Update a feature library. Note: Features cannot be updated from this endpoint. Use the /features* endpoints to add or modify features.
Sourcepub fn list_features(&self) -> ListFeaturesRequest<'_>
pub fn list_features(&self) -> ListFeaturesRequest<'_>
List Features
Sourcepub fn create_feature(&self) -> CreateFeatureRequest<'_>
pub fn create_feature(&self) -> CreateFeatureRequest<'_>
Create a Feature
Sourcepub fn get_feature(&self, feature_id: &str) -> GetFeatureRequest<'_>
pub fn get_feature(&self, feature_id: &str) -> GetFeatureRequest<'_>
Get a feature by ID
Sourcepub fn update_feature(&self, feature_id: &str) -> UpdateFeatureRequest<'_>
pub fn update_feature(&self, feature_id: &str) -> UpdateFeatureRequest<'_>
Update a feature
Sourcepub fn bulk_create_features(&self) -> BulkCreateFeaturesRequest<'_>
pub fn bulk_create_features(&self) -> BulkCreateFeaturesRequest<'_>
Bulk create Features
Sourcepub fn list_folders(&self) -> ListFoldersRequest<'_>
pub fn list_folders(&self) -> ListFoldersRequest<'_>
List folders
Sourcepub fn create_folder(
&self,
name: &str,
parent_folder_id: &str,
) -> CreateFolderRequest<'_>
pub fn create_folder( &self, name: &str, parent_folder_id: &str, ) -> CreateFolderRequest<'_>
Create folder
Sourcepub fn get_folder(&self, folder_id: &str) -> GetFolderRequest<'_>
pub fn get_folder(&self, folder_id: &str) -> GetFolderRequest<'_>
Get a folder by ID
Sourcepub fn archive_folders(
&self,
folder_ids: &[&str],
reason: &str,
) -> ArchiveFoldersRequest<'_>
pub fn archive_folders( &self, folder_ids: &[&str], reason: &str, ) -> ArchiveFoldersRequest<'_>
Archive folders
Archives folders and their contents
Sourcepub fn unarchive_folders(
&self,
folder_ids: &[&str],
) -> UnarchiveFoldersRequest<'_>
pub fn unarchive_folders( &self, folder_ids: &[&str], ) -> UnarchiveFoldersRequest<'_>
Unarchive folders
Unarchives folders and the contents that were archived along with them
Sourcepub fn list_legacy_workflow_stage_run_input_samples(
&self,
stage_run_id: &str,
) -> ListLegacyWorkflowStageRunInputSamplesRequest<'_>
pub fn list_legacy_workflow_stage_run_input_samples( &self, stage_run_id: &str, ) -> ListLegacyWorkflowStageRunInputSamplesRequest<'_>
List legacy workflow stage run input samples
Sourcepub fn list_legacy_workflow_stage_run_output_samples(
&self,
stage_run_id: &str,
) -> ListLegacyWorkflowStageRunOutputSamplesRequest<'_>
pub fn list_legacy_workflow_stage_run_output_samples( &self, stage_run_id: &str, ) -> ListLegacyWorkflowStageRunOutputSamplesRequest<'_>
List legacy workflow stage run output samples
Sourcepub fn list_legacy_workflow_stage_run_registered_samples(
&self,
stage_run_id: &str,
) -> ListLegacyWorkflowStageRunRegisteredSamplesRequest<'_>
pub fn list_legacy_workflow_stage_run_registered_samples( &self, stage_run_id: &str, ) -> ListLegacyWorkflowStageRunRegisteredSamplesRequest<'_>
List legacy workflow stage run registered samples
Sourcepub fn list_legacy_workflow_stage_runs(
&self,
stage_id: &str,
) -> ListLegacyWorkflowStageRunsRequest<'_>
pub fn list_legacy_workflow_stage_runs( &self, stage_id: &str, ) -> ListLegacyWorkflowStageRunsRequest<'_>
List legacy workflow stage runs
Sourcepub fn list_legacy_workflows(&self) -> ListLegacyWorkflowsRequest<'_>
pub fn list_legacy_workflows(&self) -> ListLegacyWorkflowsRequest<'_>
List legacy workflows
Sourcepub fn update_legacy_workflow_metadata(
&self,
legacy_workflow_id: &str,
) -> UpdateLegacyWorkflowMetadataRequest<'_>
pub fn update_legacy_workflow_metadata( &self, legacy_workflow_id: &str, ) -> UpdateLegacyWorkflowMetadataRequest<'_>
Update legacy workflow
Update workflow metadata
Sourcepub fn list_legacy_workflow_stages(
&self,
legacy_workflow_id: &str,
) -> ListLegacyWorkflowStagesRequest<'_>
pub fn list_legacy_workflow_stages( &self, legacy_workflow_id: &str, ) -> ListLegacyWorkflowStagesRequest<'_>
List legacy workflow stages
Sourcepub fn list_location_schemas(&self) -> ListLocationSchemasRequest<'_>
pub fn list_location_schemas(&self) -> ListLocationSchemasRequest<'_>
List location schemas
Sourcepub fn get_location_schema(
&self,
schema_id: &str,
) -> GetLocationSchemaRequest<'_>
pub fn get_location_schema( &self, schema_id: &str, ) -> GetLocationSchemaRequest<'_>
Get a location schema by ID
Sourcepub fn list_locations(&self) -> ListLocationsRequest<'_>
pub fn list_locations(&self) -> ListLocationsRequest<'_>
List locations
Sourcepub fn create_location(
&self,
name: &str,
schema_id: &str,
) -> CreateLocationRequest<'_>
pub fn create_location( &self, name: &str, schema_id: &str, ) -> CreateLocationRequest<'_>
Create a location
Sourcepub fn get_location(&self, location_id: &str) -> GetLocationRequest<'_>
pub fn get_location(&self, location_id: &str) -> GetLocationRequest<'_>
Get a location by ID
Sourcepub fn update_location(&self, location_id: &str) -> UpdateLocationRequest<'_>
pub fn update_location(&self, location_id: &str) -> UpdateLocationRequest<'_>
Update a location
Sourcepub fn archive_locations(
&self,
location_ids: &[&str],
reason: &str,
) -> ArchiveLocationsRequest<'_>
pub fn archive_locations( &self, location_ids: &[&str], reason: &str, ) -> ArchiveLocationsRequest<'_>
Archive locations
Sourcepub fn bulk_get_locations(&self) -> BulkGetLocationsRequest<'_>
pub fn bulk_get_locations(&self) -> BulkGetLocationsRequest<'_>
BulkGet locations
Sourcepub fn unarchive_locations(
&self,
location_ids: &[&str],
) -> UnarchiveLocationsRequest<'_>
pub fn unarchive_locations( &self, location_ids: &[&str], ) -> UnarchiveLocationsRequest<'_>
Unarchive locations
Sourcepub fn list_mixtures(&self) -> ListMixturesRequest<'_>
pub fn list_mixtures(&self) -> ListMixturesRequest<'_>
List mixtures
Sourcepub fn create_mixture(
&self,
args: CreateMixtureRequired<'_>,
) -> CreateMixtureRequest<'_>
pub fn create_mixture( &self, args: CreateMixtureRequired<'_>, ) -> CreateMixtureRequest<'_>
Create a mixture
Create a mixture.
To create a new child mixture (eg. a prep) from a parent mixture (eg. a recipe), set the parent mixture field and specify the desired final state for your ingredients.
Benchling will recognize that any ingredients you specify that match ingredients on the parent mixture (based on component entity) are inherited. This can be seen on the returned ingredients[i].hasParent
attribute.
Sourcepub fn get_mixture(&self, mixture_id: &str) -> GetMixtureRequest<'_>
pub fn get_mixture(&self, mixture_id: &str) -> GetMixtureRequest<'_>
Get a mixture
Sourcepub fn update_mixture(&self, mixture_id: &str) -> UpdateMixtureRequest<'_>
pub fn update_mixture(&self, mixture_id: &str) -> UpdateMixtureRequest<'_>
Update a mixture
Update a mixture.
To change the parent mixture, set the parent mixture field and specify the desired final state for your ingredients.
Benchling will recognize that any ingredients you specify that match ingredients on the parent mixture (based on component entity) are inherited. This can be seen on the returned ingredients[i].hasParent
attribute.
Sourcepub fn archive_mixtures(
&self,
mixture_ids: &[&str],
reason: &str,
) -> ArchiveMixturesRequest<'_>
pub fn archive_mixtures( &self, mixture_ids: &[&str], reason: &str, ) -> ArchiveMixturesRequest<'_>
Archive mixtures
Sourcepub fn bulk_create_mixtures(
&self,
mixtures: Vec<MixtureCreate>,
) -> BulkCreateMixturesRequest<'_>
pub fn bulk_create_mixtures( &self, mixtures: Vec<MixtureCreate>, ) -> BulkCreateMixturesRequest<'_>
Bulk Create mixtures
Create multiple mixtures. Limit of 1000 mixtures per request.
To create new child mixtures (eg. a prep) from parent mixtures (eg. a recipe), set the parent mixture field and specify the desired final state for your ingredients.
Benchling will recognize that any ingredients you specify that match ingredients on the parent mixtures (based on component entity) are inherited. This can be seen on the returned ingredients[i].hasParent
attribute.
Sourcepub fn bulk_update_mixtures(&self) -> BulkUpdateMixturesRequest<'_>
pub fn bulk_update_mixtures(&self) -> BulkUpdateMixturesRequest<'_>
Bulk Update mixtures
Update multiple mixtures.
To change the parent mixture on your specified mixtures, set the parent mixture field and specify the desired final state for your ingredients.
Benchling will recognize that any ingredients you specify that match ingredients on the parent mixtures (based on component entity) are inherited. This can be seen on the returned ingredients[i].hasParent
attribute.
Sourcepub fn unarchive_mixtures(
&self,
mixture_ids: &[&str],
) -> UnarchiveMixturesRequest<'_>
pub fn unarchive_mixtures( &self, mixture_ids: &[&str], ) -> UnarchiveMixturesRequest<'_>
Unarchive mixtures
Sourcepub fn list_molecules(&self) -> ListMoleculesRequest<'_>
pub fn list_molecules(&self) -> ListMoleculesRequest<'_>
List Molecules
List molecules
Sourcepub fn create_molecule(
&self,
args: CreateMoleculeRequired<'_>,
) -> CreateMoleculeRequest<'_>
pub fn create_molecule( &self, args: CreateMoleculeRequired<'_>, ) -> CreateMoleculeRequest<'_>
Create a Molecule
Sourcepub fn get_molecule(&self, molecule_id: &str) -> GetMoleculeRequest<'_>
pub fn get_molecule(&self, molecule_id: &str) -> GetMoleculeRequest<'_>
Get a Molecule
Sourcepub fn update_molecule(
&self,
args: UpdateMoleculeRequired<'_>,
) -> UpdateMoleculeRequest<'_>
pub fn update_molecule( &self, args: UpdateMoleculeRequired<'_>, ) -> UpdateMoleculeRequest<'_>
Update a Molecule
Sourcepub fn archive_molecules(
&self,
molecule_ids: &[&str],
reason: &str,
) -> ArchiveMoleculesRequest<'_>
pub fn archive_molecules( &self, molecule_ids: &[&str], reason: &str, ) -> ArchiveMoleculesRequest<'_>
Archive Molecules
Sourcepub fn bulk_create_molecules(&self) -> BulkCreateMoleculesRequest<'_>
pub fn bulk_create_molecules(&self) -> BulkCreateMoleculesRequest<'_>
Bulk Create Molecules
Sourcepub fn bulk_update_molecules(&self) -> BulkUpdateMoleculesRequest<'_>
pub fn bulk_update_molecules(&self) -> BulkUpdateMoleculesRequest<'_>
Bulk Update Molecules
Sourcepub fn unarchive_molecules(
&self,
molecule_ids: &[&str],
) -> UnarchiveMoleculesRequest<'_>
pub fn unarchive_molecules( &self, molecule_ids: &[&str], ) -> UnarchiveMoleculesRequest<'_>
Unarchive Molecules
Sourcepub fn list_nucleotide_alignments(&self) -> ListNucleotideAlignmentsRequest<'_>
pub fn list_nucleotide_alignments(&self) -> ListNucleotideAlignmentsRequest<'_>
List Nucleotide Alignments
Sourcepub fn get_nucleotide_alignment(
&self,
alignment_id: &str,
) -> GetNucleotideAlignmentRequest<'_>
pub fn get_nucleotide_alignment( &self, alignment_id: &str, ) -> GetNucleotideAlignmentRequest<'_>
Get a Nucleotide Alignment
Sourcepub fn delete_nucleotide_alignment(
&self,
alignment_id: &str,
) -> DeleteNucleotideAlignmentRequest<'_>
pub fn delete_nucleotide_alignment( &self, alignment_id: &str, ) -> DeleteNucleotideAlignmentRequest<'_>
Delete a Nucleotide Alignment
Sourcepub fn create_consensus_nucleotide_alignment(
&self,
args: CreateConsensusNucleotideAlignmentRequired<'_>,
) -> CreateConsensusNucleotideAlignmentRequest<'_>
pub fn create_consensus_nucleotide_alignment( &self, args: CreateConsensusNucleotideAlignmentRequired<'_>, ) -> CreateConsensusNucleotideAlignmentRequest<'_>
Create a consensus Nucleotide Alignment
Sourcepub fn create_template_nucleotide_alignment(
&self,
args: CreateTemplateNucleotideAlignmentRequired<'_>,
) -> CreateTemplateNucleotideAlignmentRequest<'_>
pub fn create_template_nucleotide_alignment( &self, args: CreateTemplateNucleotideAlignmentRequired<'_>, ) -> CreateTemplateNucleotideAlignmentRequest<'_>
Create a template Nucleotide Alignment
Sourcepub fn list_oligos(&self) -> ListOligosRequest<'_>
pub fn list_oligos(&self) -> ListOligosRequest<'_>
List Oligos
Sourcepub fn create_oligo(
&self,
args: CreateOligoRequired<'_>,
) -> CreateOligoRequest<'_>
pub fn create_oligo( &self, args: CreateOligoRequired<'_>, ) -> CreateOligoRequest<'_>
Create an Oligo
Sourcepub fn get_oligo(&self, oligo_id: &str) -> GetOligoRequest<'_>
pub fn get_oligo(&self, oligo_id: &str) -> GetOligoRequest<'_>
Get an Oligo
Sourcepub fn update_oligo(
&self,
args: UpdateOligoRequired<'_>,
) -> UpdateOligoRequest<'_>
pub fn update_oligo( &self, args: UpdateOligoRequired<'_>, ) -> UpdateOligoRequest<'_>
Update an Oligo
Sourcepub fn archive_oligos(
&self,
oligo_ids: &[&str],
reason: &str,
) -> ArchiveOligosRequest<'_>
pub fn archive_oligos( &self, oligo_ids: &[&str], reason: &str, ) -> ArchiveOligosRequest<'_>
Archive Oligos
Sourcepub fn bulk_create_oligos(&self) -> BulkCreateOligosRequest<'_>
pub fn bulk_create_oligos(&self) -> BulkCreateOligosRequest<'_>
Bulk Create DNA Oligos
Bulk Create DNA Oligos Please migrate to Bulk Create DNA Oligos so that we can support RNA Oligos.
Sourcepub fn bulk_get_oligos(&self, oligo_ids: &str) -> BulkGetOligosRequest<'_>
pub fn bulk_get_oligos(&self, oligo_ids: &str) -> BulkGetOligosRequest<'_>
Bulk get Oligos by ID
Sourcepub fn unarchive_oligos(&self, oligo_ids: &[&str]) -> UnarchiveOligosRequest<'_>
pub fn unarchive_oligos(&self, oligo_ids: &[&str]) -> UnarchiveOligosRequest<'_>
Unarchive Oligos
Sourcepub fn list_organizations(&self) -> ListOrganizationsRequest<'_>
pub fn list_organizations(&self) -> ListOrganizationsRequest<'_>
List organizations
Returns all organizations that the caller has permission to view. The following roles have view permission:
- tenant admins
- members of the organization
Sourcepub fn get_organization(
&self,
organization_id: &str,
) -> GetOrganizationRequest<'_>
pub fn get_organization( &self, organization_id: &str, ) -> GetOrganizationRequest<'_>
Get an organization by ID
Returns an organization by ID if the caller has permission to view. The following roles have view permission:
- tenant admins
- members of the organization
Sourcepub fn list_plate_schemas(&self) -> ListPlateSchemasRequest<'_>
pub fn list_plate_schemas(&self) -> ListPlateSchemasRequest<'_>
List plate schemas
Sourcepub fn get_plate_schema(&self, schema_id: &str) -> GetPlateSchemaRequest<'_>
pub fn get_plate_schema(&self, schema_id: &str) -> GetPlateSchemaRequest<'_>
Get a plate schema by ID
Sourcepub fn list_plates(&self) -> ListPlatesRequest<'_>
pub fn list_plates(&self) -> ListPlatesRequest<'_>
List plates
Sourcepub fn create_plate(&self, schema_id: &str) -> CreatePlateRequest<'_>
pub fn create_plate(&self, schema_id: &str) -> CreatePlateRequest<'_>
Create a plate
Sourcepub fn get_plate(&self, plate_id: &str) -> GetPlateRequest<'_>
pub fn get_plate(&self, plate_id: &str) -> GetPlateRequest<'_>
Get a plate
Sourcepub fn update_plate(&self, plate_id: &str) -> UpdatePlateRequest<'_>
pub fn update_plate(&self, plate_id: &str) -> UpdatePlateRequest<'_>
Update a plate
Sourcepub fn archive_plates(
&self,
plate_ids: &[&str],
reason: &str,
should_remove_barcodes: bool,
) -> ArchivePlatesRequest<'_>
pub fn archive_plates( &self, plate_ids: &[&str], reason: &str, should_remove_barcodes: bool, ) -> ArchivePlatesRequest<'_>
Archive plates
Archive plates and any containers of the plates
Sourcepub fn bulk_get_plates(&self) -> BulkGetPlatesRequest<'_>
pub fn bulk_get_plates(&self) -> BulkGetPlatesRequest<'_>
BulkGet plates
Sourcepub fn unarchive_plates(&self, plate_ids: &[&str]) -> UnarchivePlatesRequest<'_>
pub fn unarchive_plates(&self, plate_ids: &[&str]) -> UnarchivePlatesRequest<'_>
Unarchive plates
Unarchive plates and the containers that were archived along with them
Sourcepub fn list_projects(&self) -> ListProjectsRequest<'_>
pub fn list_projects(&self) -> ListProjectsRequest<'_>
List projects
Sourcepub fn get_project(&self, project_id: &str) -> GetProjectRequest<'_>
pub fn get_project(&self, project_id: &str) -> GetProjectRequest<'_>
Get a project by ID
Sourcepub fn archive_projects(
&self,
project_ids: &[&str],
reason: &str,
) -> ArchiveProjectsRequest<'_>
pub fn archive_projects( &self, project_ids: &[&str], reason: &str, ) -> ArchiveProjectsRequest<'_>
Archive projects
Archives projects and their contents
Sourcepub fn unarchive_projects(
&self,
project_ids: &[&str],
) -> UnarchiveProjectsRequest<'_>
pub fn unarchive_projects( &self, project_ids: &[&str], ) -> UnarchiveProjectsRequest<'_>
Unarchive projects
Unarchives projects and the contents that were archived along with them
Sourcepub fn list_registries(&self) -> ListRegistriesRequest<'_>
pub fn list_registries(&self) -> ListRegistriesRequest<'_>
List registries
Sourcepub fn get_registry(&self, registry_id: &str) -> GetRegistryRequest<'_>
pub fn get_registry(&self, registry_id: &str) -> GetRegistryRequest<'_>
Get registry
Sourcepub fn list_batch_schemas_by_registry(
&self,
registry_id: &str,
) -> ListBatchSchemasByRegistryRequest<'_>
pub fn list_batch_schemas_by_registry( &self, registry_id: &str, ) -> ListBatchSchemasByRegistryRequest<'_>
List batch schemas by registry
List batch schemas by registry. Deprecated - use Schemas endpoints instead.
Sourcepub fn list_box_schemas_by_registry(
&self,
registry_id: &str,
) -> ListBoxSchemasByRegistryRequest<'_>
pub fn list_box_schemas_by_registry( &self, registry_id: &str, ) -> ListBoxSchemasByRegistryRequest<'_>
List box schemas by registry
List box schemas by registry. Deprecated - use Schemas endpoints instead.
Sourcepub fn list_container_schemas_by_registry(
&self,
registry_id: &str,
) -> ListContainerSchemasByRegistryRequest<'_>
pub fn list_container_schemas_by_registry( &self, registry_id: &str, ) -> ListContainerSchemasByRegistryRequest<'_>
List container schemas by registry
List container schemas by registry. Deprecated - use Schemas endpoints instead.
Sourcepub fn list_dropdowns_by_registry(
&self,
registry_id: &str,
) -> ListDropdownsByRegistryRequest<'_>
pub fn list_dropdowns_by_registry( &self, registry_id: &str, ) -> ListDropdownsByRegistryRequest<'_>
List dropdowns for a given registry
List dropdowns by registry
Sourcepub fn list_entity_schemas_by_registry(
&self,
registry_id: &str,
) -> ListEntitySchemasByRegistryRequest<'_>
pub fn list_entity_schemas_by_registry( &self, registry_id: &str, ) -> ListEntitySchemasByRegistryRequest<'_>
List entity schemas by registry
List entity schemas by registry. Deprecated - use Schemas endpoints instead.
Sourcepub fn list_printers(&self, registry_id: &str) -> ListPrintersRequest<'_>
pub fn list_printers(&self, registry_id: &str) -> ListPrintersRequest<'_>
List printers
Sourcepub fn list_label_templates(
&self,
registry_id: &str,
) -> ListLabelTemplatesRequest<'_>
pub fn list_label_templates( &self, registry_id: &str, ) -> ListLabelTemplatesRequest<'_>
List label templates
Sourcepub fn list_location_schemas_by_registry(
&self,
registry_id: &str,
) -> ListLocationSchemasByRegistryRequest<'_>
pub fn list_location_schemas_by_registry( &self, registry_id: &str, ) -> ListLocationSchemasByRegistryRequest<'_>
List location schemas by registry
List location schemas by registry. Deprecated - use Schemas endpoints instead.
Sourcepub fn list_plate_schemas_by_registry(
&self,
registry_id: &str,
) -> ListPlateSchemasByRegistryRequest<'_>
pub fn list_plate_schemas_by_registry( &self, registry_id: &str, ) -> ListPlateSchemasByRegistryRequest<'_>
List plate schemas by registry
List plate schemas by registry. Deprecated - use Schemas endpoints instead.
Sourcepub fn bulk_get_registered_entities(
&self,
registry_id: &str,
entity_registry_ids: &str,
) -> BulkGetRegisteredEntitiesRequest<'_>
pub fn bulk_get_registered_entities( &self, registry_id: &str, entity_registry_ids: &str, ) -> BulkGetRegisteredEntitiesRequest<'_>
Bulk get registered entities
Sourcepub fn register_entities(
&self,
registry_id: &str,
entity_ids: &[&str],
naming_strategy: &str,
) -> RegisterEntitiesRequest<'_>
pub fn register_entities( &self, registry_id: &str, entity_ids: &[&str], naming_strategy: &str, ) -> RegisterEntitiesRequest<'_>
Register entities
Attempts to move entities into the registry. Limit of 2500 entities per request. This endpoint will first check that the entities are all valid to be moved into the registry, given the namingStrategy. If any entities fail validation, no files will be moved and errors describing invalid entities is returned. If all entities pass validation, the entities are moved into the registry.
Sourcepub fn unregister_entities(
&self,
registry_id: &str,
entity_ids: &[&str],
folder_id: &str,
) -> UnregisterEntitiesRequest<'_>
pub fn unregister_entities( &self, registry_id: &str, entity_ids: &[&str], folder_id: &str, ) -> UnregisterEntitiesRequest<'_>
Unregister entities
Unregisters entities and moves them to a folder
Sourcepub fn validate_barcodes(
&self,
registry_id: &str,
barcodes: &[&str],
) -> ValidateBarcodesRequest<'_>
pub fn validate_barcodes( &self, registry_id: &str, barcodes: &[&str], ) -> ValidateBarcodesRequest<'_>
Validate barcodes
Validate barcodes on storage objects.
Sourcepub fn list_request_fulfillments(
&self,
entry_id: &str,
) -> ListRequestFulfillmentsRequest<'_>
pub fn list_request_fulfillments( &self, entry_id: &str, ) -> ListRequestFulfillmentsRequest<'_>
List Request Fulfillments
Sourcepub fn get_request_fulfillment(
&self,
request_fulfillment_id: &str,
) -> GetRequestFulfillmentRequest<'_>
pub fn get_request_fulfillment( &self, request_fulfillment_id: &str, ) -> GetRequestFulfillmentRequest<'_>
Get a request’s fulfillment
Sourcepub fn list_request_schemas(&self) -> ListRequestSchemasRequest<'_>
pub fn list_request_schemas(&self) -> ListRequestSchemasRequest<'_>
List request schemas
Sourcepub fn get_request_schema(&self, schema_id: &str) -> GetRequestSchemaRequest<'_>
pub fn get_request_schema(&self, schema_id: &str) -> GetRequestSchemaRequest<'_>
Get a Request schema by ID
Sourcepub fn list_request_task_schemas(&self) -> ListRequestTaskSchemasRequest<'_>
pub fn list_request_task_schemas(&self) -> ListRequestTaskSchemasRequest<'_>
List request task schemas
Sourcepub fn get_request_task_schema(
&self,
schema_id: &str,
) -> GetRequestTaskSchemaRequest<'_>
pub fn get_request_task_schema( &self, schema_id: &str, ) -> GetRequestTaskSchemaRequest<'_>
Get a Request Task schema by ID
Sourcepub fn list_requests(&self, schema_id: &str) -> ListRequestsRequest<'_>
pub fn list_requests(&self, schema_id: &str) -> ListRequestsRequest<'_>
List requests
Sourcepub fn create_request(
&self,
args: CreateRequestRequired<'_>,
) -> CreateRequestRequest<'_>
pub fn create_request( &self, args: CreateRequestRequired<'_>, ) -> CreateRequestRequest<'_>
Create a request
Sourcepub fn get_request(&self, request_id: &str) -> GetRequestRequest<'_>
pub fn get_request(&self, request_id: &str) -> GetRequestRequest<'_>
Get a request by ID
Sourcepub fn patch_request(
&self,
args: PatchRequestRequired<'_>,
) -> PatchRequestRequest<'_>
pub fn patch_request( &self, args: PatchRequestRequired<'_>, ) -> PatchRequestRequest<'_>
Update a request
Sourcepub fn get_request_response(
&self,
request_id: &str,
) -> GetRequestResponseRequest<'_>
pub fn get_request_response( &self, request_id: &str, ) -> GetRequestResponseRequest<'_>
Get a request’s response
Sourcepub fn bulk_create_request_tasks(
&self,
request_id: &str,
tasks: Vec<RequestTasksBulkCreate>,
) -> BulkCreateRequestTasksRequest<'_>
pub fn bulk_create_request_tasks( &self, request_id: &str, tasks: Vec<RequestTasksBulkCreate>, ) -> BulkCreateRequestTasksRequest<'_>
Create tasks for a request
Sourcepub fn bulk_update_request_tasks(
&self,
request_id: &str,
tasks: Vec<RequestTaskBase>,
) -> BulkUpdateRequestTasksRequest<'_>
pub fn bulk_update_request_tasks( &self, request_id: &str, tasks: Vec<RequestTaskBase>, ) -> BulkUpdateRequestTasksRequest<'_>
Bulk update tasks for a request
Sourcepub fn execute_requests_sample_groups(
&self,
request_id: &str,
sample_groups: Vec<SampleGroupStatusUpdate>,
) -> ExecuteRequestsSampleGroupsRequest<'_>
pub fn execute_requests_sample_groups( &self, request_id: &str, sample_groups: Vec<SampleGroupStatusUpdate>, ) -> ExecuteRequestsSampleGroupsRequest<'_>
Update the status of sample groups in a request
Sourcepub fn bulk_get_requests(&self) -> BulkGetRequestsRequest<'_>
pub fn bulk_get_requests(&self) -> BulkGetRequestsRequest<'_>
Bulk get requests
Bulk get requests by API ID or display ID
Sourcepub fn create_assay_results_transaction(
&self,
) -> CreateAssayResultsTransactionRequest<'_>
pub fn create_assay_results_transaction( &self, ) -> CreateAssayResultsTransactionRequest<'_>
Create a transaction
Transactions allow results to be upload in multiple requests. This endpoint lets you create a transaction. You can then upload results to the transaction, abort the transaction, or commit the transaction.
Sourcepub fn create_assay_results_in_transaction(
&self,
transaction_id: &str,
assay_results: Vec<AssayResultCreate>,
) -> CreateAssayResultsInTransactionRequest<'_>
pub fn create_assay_results_in_transaction( &self, transaction_id: &str, assay_results: Vec<AssayResultCreate>, ) -> CreateAssayResultsInTransactionRequest<'_>
Create results in a transaction
Sourcepub fn abort_assay_results_transaction(
&self,
transaction_id: &str,
) -> AbortAssayResultsTransactionRequest<'_>
pub fn abort_assay_results_transaction( &self, transaction_id: &str, ) -> AbortAssayResultsTransactionRequest<'_>
Abort a transaction
Aborting a transaction will discard all uploaded results.
Sourcepub fn commit_assay_results_transaction(
&self,
transaction_id: &str,
) -> CommitAssayResultsTransactionRequest<'_>
pub fn commit_assay_results_transaction( &self, transaction_id: &str, ) -> CommitAssayResultsTransactionRequest<'_>
Commit a transaction
Committing a transaction will cause all results that have been uploaded to be saved and visible to others.
Sourcepub fn list_rna_oligos(&self) -> ListRnaOligosRequest<'_>
pub fn list_rna_oligos(&self) -> ListRnaOligosRequest<'_>
List RNA Oligos
Sourcepub fn create_rna_oligo(
&self,
args: CreateRnaOligoRequired<'_>,
) -> CreateRnaOligoRequest<'_>
pub fn create_rna_oligo( &self, args: CreateRnaOligoRequired<'_>, ) -> CreateRnaOligoRequest<'_>
Create an RNA Oligo
Sourcepub fn get_rna_oligo(&self, oligo_id: &str) -> GetRnaOligoRequest<'_>
pub fn get_rna_oligo(&self, oligo_id: &str) -> GetRnaOligoRequest<'_>
Get an RNA Oligo
Sourcepub fn update_rna_oligo(
&self,
args: UpdateRnaOligoRequired<'_>,
) -> UpdateRnaOligoRequest<'_>
pub fn update_rna_oligo( &self, args: UpdateRnaOligoRequired<'_>, ) -> UpdateRnaOligoRequest<'_>
Update an RNA Oligo
Sourcepub fn archive_rna_oligos(
&self,
reason: &str,
rna_oligo_ids: &[&str],
) -> ArchiveRnaOligosRequest<'_>
pub fn archive_rna_oligos( &self, reason: &str, rna_oligo_ids: &[&str], ) -> ArchiveRnaOligosRequest<'_>
Archive RNA Oligos
Sourcepub fn bulk_create_rna_oligos(&self) -> BulkCreateRnaOligosRequest<'_>
pub fn bulk_create_rna_oligos(&self) -> BulkCreateRnaOligosRequest<'_>
Bulk Create RNA Oligos
Bulk Create RNA Oligos. Limit of 1000 RNA Oligos per request.
Sourcepub fn bulk_update_rna_oligos(&self) -> BulkUpdateRnaOligosRequest<'_>
pub fn bulk_update_rna_oligos(&self) -> BulkUpdateRnaOligosRequest<'_>
Bulk Update RNA Oligos
Sourcepub fn unarchive_rna_oligos(
&self,
rna_oligo_ids: &[&str],
) -> UnarchiveRnaOligosRequest<'_>
pub fn unarchive_rna_oligos( &self, rna_oligo_ids: &[&str], ) -> UnarchiveRnaOligosRequest<'_>
Unarchive RNA Oligos
Sourcepub fn list_rna_sequences(&self) -> ListRnaSequencesRequest<'_>
pub fn list_rna_sequences(&self) -> ListRnaSequencesRequest<'_>
List RNA sequences
Sourcepub fn create_rna_sequence(
&self,
args: CreateRnaSequenceRequired<'_>,
) -> CreateRnaSequenceRequest<'_>
pub fn create_rna_sequence( &self, args: CreateRnaSequenceRequired<'_>, ) -> CreateRnaSequenceRequest<'_>
Create an RNA sequence
Sourcepub fn get_rna_sequence(
&self,
rna_sequence_id: &str,
) -> GetRnaSequenceRequest<'_>
pub fn get_rna_sequence( &self, rna_sequence_id: &str, ) -> GetRnaSequenceRequest<'_>
Get an RNA sequence
Sourcepub fn update_rna_sequence(
&self,
args: UpdateRnaSequenceRequired<'_>,
) -> UpdateRnaSequenceRequest<'_>
pub fn update_rna_sequence( &self, args: UpdateRnaSequenceRequired<'_>, ) -> UpdateRnaSequenceRequest<'_>
Update an RNA sequence
Sourcepub fn archive_rna_sequences(
&self,
reason: &str,
rna_sequence_ids: &[&str],
) -> ArchiveRnaSequencesRequest<'_>
pub fn archive_rna_sequences( &self, reason: &str, rna_sequence_ids: &[&str], ) -> ArchiveRnaSequencesRequest<'_>
Archive RNA Sequences
Archive RNA Sequences. RNA sequences that are already registered will not be removed from the registry.
Sourcepub fn auto_annotate_rna_sequences(
&self,
feature_library_ids: &[&str],
rna_sequence_ids: &[&str],
) -> AutoAnnotateRnaSequencesRequest<'_>
pub fn auto_annotate_rna_sequences( &self, feature_library_ids: &[&str], rna_sequence_ids: &[&str], ) -> AutoAnnotateRnaSequencesRequest<'_>
Auto-annotate RNA sequences with matching features from specified Feature Libraries
Auto-annotate RNA sequences with matching features from specified Feature Libraries. U/T bases are treated as interchangeable in both features and sequences.
Sourcepub fn autofill_rna_sequence_parts(
&self,
rna_sequence_ids: &[&str],
) -> AutofillRnaSequencePartsRequest<'_>
pub fn autofill_rna_sequence_parts( &self, rna_sequence_ids: &[&str], ) -> AutofillRnaSequencePartsRequest<'_>
Autofill RNA sequence parts
Autofill parts from matching RNA Sequences with linked schemas.
Sourcepub fn autofill_rna_sequence_translations(
&self,
rna_sequence_ids: &[&str],
) -> AutofillRnaSequenceTranslationsRequest<'_>
pub fn autofill_rna_sequence_translations( &self, rna_sequence_ids: &[&str], ) -> AutofillRnaSequenceTranslationsRequest<'_>
Autofill RNA sequence translations from Amino Acid sequences with matching schemas
Autofill RNA sequence translations
Sourcepub fn bulk_create_rna_sequences(&self) -> BulkCreateRnaSequencesRequest<'_>
pub fn bulk_create_rna_sequences(&self) -> BulkCreateRnaSequencesRequest<'_>
Bulk Create RNA sequences
Bulk Create RNA sequences. Limit of 1000 RNA Sequences per request.
Sourcepub fn bulk_get_rna_sequences(
&self,
rna_sequence_ids: &str,
) -> BulkGetRnaSequencesRequest<'_>
pub fn bulk_get_rna_sequences( &self, rna_sequence_ids: &str, ) -> BulkGetRnaSequencesRequest<'_>
Bulk get RNA sequences by ID
Sourcepub fn bulk_update_rna_sequences(&self) -> BulkUpdateRnaSequencesRequest<'_>
pub fn bulk_update_rna_sequences(&self) -> BulkUpdateRnaSequencesRequest<'_>
Bulk Update RNA sequences
Sourcepub fn unarchive_rna_sequences(
&self,
rna_sequence_ids: &[&str],
) -> UnarchiveRnaSequencesRequest<'_>
pub fn unarchive_rna_sequences( &self, rna_sequence_ids: &[&str], ) -> UnarchiveRnaSequencesRequest<'_>
Unarchive RNA sequences
Sourcepub fn get_task(&self, task_id: &str) -> GetTaskRequest<'_>
pub fn get_task(&self, task_id: &str) -> GetTaskRequest<'_>
Get a task by id
Sourcepub fn list_teams(&self) -> ListTeamsRequest<'_>
pub fn list_teams(&self) -> ListTeamsRequest<'_>
List teams
Returns all teams that the caller has permission to view. The following roles have view permission:
- tenant admins
- members of the team’s organization
Sourcepub fn get_team(&self, team_id: &str) -> GetTeamRequest<'_>
pub fn get_team(&self, team_id: &str) -> GetTeamRequest<'_>
Get a team by ID
Returns a team by ID if the caller has permission to view. The following roles have view permission:
- tenant admins
- members of the team’s organization
Sourcepub fn generate_token(&self) -> GenerateTokenRequest<'_>
pub fn generate_token(&self) -> GenerateTokenRequest<'_>
Generate a token for usage with authenticating via OAuth2 in subsequent API calls.
Generate a token
Sourcepub fn transfer_into_containers(
&self,
transfers: Vec<MultipleContainersTransfer>,
) -> TransferIntoContainersRequest<'_>
pub fn transfer_into_containers( &self, transfers: Vec<MultipleContainersTransfer>, ) -> TransferIntoContainersRequest<'_>
Transfers into containers
Transfers a volume of an entity, batch, or container into a destination container. Limit of 5000 transfers per request. Concentration of all contents in the destination container will be automatically updated based on the previous volume & concentrations of the contents in that container, the concentration of the contents being transferred in, the volume of the contents being transferred in, and the final volume of the container. If no concentration is specified, the concentration will not be tracked.
Sourcepub fn list_users(&self) -> ListUsersRequest<'_>
pub fn list_users(&self) -> ListUsersRequest<'_>
List users
Returns all users that the caller has permission to view. The following roles have view permission:
- tenant admins
- members of the user’s organizations
Sourcepub fn get_user(&self, user_id: &str) -> GetUserRequest<'_>
pub fn get_user(&self, user_id: &str) -> GetUserRequest<'_>
Get a user by ID
Returns a user by ID if the caller has permission to view. The following roles have view permission:
- tenant admins
- members of any of the user’s organizations
Sourcepub fn create_warehouse_credentials(
&self,
expires_in: i64,
) -> CreateWarehouseCredentialsRequest<'_>
pub fn create_warehouse_credentials( &self, expires_in: i64, ) -> CreateWarehouseCredentialsRequest<'_>
Create Benchling Warehouse credentials
Allows for programmatically generating credentials to connect to the Benchling warehouse. You must have a warehouse configured to access this endpoint. The credentials will authenticate as the same user calling the API. Note that expiresIn is required - only temporary credentials are currently allowed.
Sourcepub fn list_workflow_outputs(&self) -> ListWorkflowOutputsRequest<'_>
pub fn list_workflow_outputs(&self) -> ListWorkflowOutputsRequest<'_>
List workflow outputs
Sourcepub fn create_workflow_output(
&self,
fields: Fields,
workflow_task_id: &str,
) -> CreateWorkflowOutputRequest<'_>
pub fn create_workflow_output( &self, fields: Fields, workflow_task_id: &str, ) -> CreateWorkflowOutputRequest<'_>
Create a new workflow output
Sourcepub fn get_workflow_output(
&self,
workflow_output_id: &str,
) -> GetWorkflowOutputRequest<'_>
pub fn get_workflow_output( &self, workflow_output_id: &str, ) -> GetWorkflowOutputRequest<'_>
Get a workflow output
Sourcepub fn update_workflow_output(
&self,
workflow_output_id: &str,
fields: Fields,
) -> UpdateWorkflowOutputRequest<'_>
pub fn update_workflow_output( &self, workflow_output_id: &str, fields: Fields, ) -> UpdateWorkflowOutputRequest<'_>
Update a workflow output
Sourcepub fn archive_workflow_outputs(
&self,
reason: &str,
workflow_output_ids: &[&str],
) -> ArchiveWorkflowOutputsRequest<'_>
pub fn archive_workflow_outputs( &self, reason: &str, workflow_output_ids: &[&str], ) -> ArchiveWorkflowOutputsRequest<'_>
Archive one or more workflow outputs
Sourcepub fn bulk_create_workflow_outputs(
&self,
) -> BulkCreateWorkflowOutputsRequest<'_>
pub fn bulk_create_workflow_outputs( &self, ) -> BulkCreateWorkflowOutputsRequest<'_>
Bulk create new workflow outputs
Sourcepub fn bulk_update_workflow_outputs(
&self,
) -> BulkUpdateWorkflowOutputsRequest<'_>
pub fn bulk_update_workflow_outputs( &self, ) -> BulkUpdateWorkflowOutputsRequest<'_>
Bulk update workflow outputs
Sourcepub fn unarchive_workflow_outputs(
&self,
workflow_output_ids: &[&str],
) -> UnarchiveWorkflowOutputsRequest<'_>
pub fn unarchive_workflow_outputs( &self, workflow_output_ids: &[&str], ) -> UnarchiveWorkflowOutputsRequest<'_>
Unarchive one or more workflow outputs
Sourcepub fn list_stage_run_input_samples(
&self,
stage_run_id: &str,
) -> ListStageRunInputSamplesRequest<'_>
pub fn list_stage_run_input_samples( &self, stage_run_id: &str, ) -> ListStageRunInputSamplesRequest<'_>
List stage run input samples
Sourcepub fn list_stage_run_output_samples(
&self,
stage_run_id: &str,
) -> ListStageRunOutputSamplesRequest<'_>
pub fn list_stage_run_output_samples( &self, stage_run_id: &str, ) -> ListStageRunOutputSamplesRequest<'_>
List stage run output samples
Sourcepub fn list_stage_run_registered_samples(
&self,
stage_run_id: &str,
) -> ListStageRunRegisteredSamplesRequest<'_>
pub fn list_stage_run_registered_samples( &self, stage_run_id: &str, ) -> ListStageRunRegisteredSamplesRequest<'_>
List stage run registered samples
Sourcepub fn list_workflow_stage_runs(
&self,
stage_id: &str,
) -> ListWorkflowStageRunsRequest<'_>
pub fn list_workflow_stage_runs( &self, stage_id: &str, ) -> ListWorkflowStageRunsRequest<'_>
List workflow stage runs
Sourcepub fn list_workflow_task_groups(&self) -> ListWorkflowTaskGroupsRequest<'_>
pub fn list_workflow_task_groups(&self) -> ListWorkflowTaskGroupsRequest<'_>
List workflow task groups
Sourcepub fn create_workflow_task_group(
&self,
args: CreateWorkflowTaskGroupRequired<'_>,
) -> CreateWorkflowTaskGroupRequest<'_>
pub fn create_workflow_task_group( &self, args: CreateWorkflowTaskGroupRequired<'_>, ) -> CreateWorkflowTaskGroupRequest<'_>
Create a new workflow task group
Create a new workflow task group. If no name is specified, uses the workflow schema name and a unique incrementor separated by a single whitespace.
Sourcepub fn get_workflow_task_group(
&self,
workflow_task_group_id: &str,
) -> GetWorkflowTaskGroupRequest<'_>
pub fn get_workflow_task_group( &self, workflow_task_group_id: &str, ) -> GetWorkflowTaskGroupRequest<'_>
Get a workflow task group
Sourcepub fn update_workflow_task_group(
&self,
args: UpdateWorkflowTaskGroupRequired<'_>,
) -> UpdateWorkflowTaskGroupRequest<'_>
pub fn update_workflow_task_group( &self, args: UpdateWorkflowTaskGroupRequired<'_>, ) -> UpdateWorkflowTaskGroupRequest<'_>
Update a workflow task group
Sourcepub fn archive_workflow_task_groups(
&self,
reason: &str,
workflow_task_group_ids: &[&str],
) -> ArchiveWorkflowTaskGroupsRequest<'_>
pub fn archive_workflow_task_groups( &self, reason: &str, workflow_task_group_ids: &[&str], ) -> ArchiveWorkflowTaskGroupsRequest<'_>
Archive one or more workflows
Sourcepub fn unarchive_workflow_task_groups(
&self,
workflow_task_group_ids: &[&str],
) -> UnarchiveWorkflowTaskGroupsRequest<'_>
pub fn unarchive_workflow_task_groups( &self, workflow_task_group_ids: &[&str], ) -> UnarchiveWorkflowTaskGroupsRequest<'_>
Unarchive one or more workflows
Sourcepub fn list_workflow_task_schemas(&self) -> ListWorkflowTaskSchemasRequest<'_>
pub fn list_workflow_task_schemas(&self) -> ListWorkflowTaskSchemasRequest<'_>
List workflow task schemas
Sourcepub fn get_workflow_task_schema(
&self,
schema_id: &str,
) -> GetWorkflowTaskSchemaRequest<'_>
pub fn get_workflow_task_schema( &self, schema_id: &str, ) -> GetWorkflowTaskSchemaRequest<'_>
Get a workflow task schema
Sourcepub fn list_workflow_tasks(&self) -> ListWorkflowTasksRequest<'_>
pub fn list_workflow_tasks(&self) -> ListWorkflowTasksRequest<'_>
List workflow tasks
Sourcepub fn create_workflow_task(
&self,
args: CreateWorkflowTaskRequired<'_>,
) -> CreateWorkflowTaskRequest<'_>
pub fn create_workflow_task( &self, args: CreateWorkflowTaskRequired<'_>, ) -> CreateWorkflowTaskRequest<'_>
Create a new workflow task
Sourcepub fn get_workflow_task(
&self,
workflow_task_id: &str,
) -> GetWorkflowTaskRequest<'_>
pub fn get_workflow_task( &self, workflow_task_id: &str, ) -> GetWorkflowTaskRequest<'_>
Get a workflow task
Sourcepub fn update_workflow_task(
&self,
workflow_task_id: &str,
) -> UpdateWorkflowTaskRequest<'_>
pub fn update_workflow_task( &self, workflow_task_id: &str, ) -> UpdateWorkflowTaskRequest<'_>
Update a workflow task
Sourcepub fn copy_workflow_task(
&self,
workflow_task_id: &str,
) -> CopyWorkflowTaskRequest<'_>
pub fn copy_workflow_task( &self, workflow_task_id: &str, ) -> CopyWorkflowTaskRequest<'_>
Creates a new workflow task with the same fields and assignee as the provided task and creates a relationship between the two tasks
Creates a new workflow task based on the provided task
Sourcepub fn archive_workflow_tasks(
&self,
reason: &str,
workflow_task_ids: &[&str],
) -> ArchiveWorkflowTasksRequest<'_>
pub fn archive_workflow_tasks( &self, reason: &str, workflow_task_ids: &[&str], ) -> ArchiveWorkflowTasksRequest<'_>
Archive one or more workflow tasks
Sourcepub fn bulk_copy_workflow_tasks(&self) -> BulkCopyWorkflowTasksRequest<'_>
pub fn bulk_copy_workflow_tasks(&self) -> BulkCopyWorkflowTasksRequest<'_>
Bulk creates new workflow tasks where each new task has the same fields and assignee as one of the provided tasks and creates a relationship between the provided task and its copy
Bulk creates new workflow tasks based on the provided tasks
Sourcepub fn bulk_create_workflow_tasks(&self) -> BulkCreateWorkflowTasksRequest<'_>
pub fn bulk_create_workflow_tasks(&self) -> BulkCreateWorkflowTasksRequest<'_>
Create one or more workflow tasks
Sourcepub fn bulk_update_workflow_tasks(&self) -> BulkUpdateWorkflowTasksRequest<'_>
pub fn bulk_update_workflow_tasks(&self) -> BulkUpdateWorkflowTasksRequest<'_>
Update one or more workflow task
Update one or more workflow tasks
Sourcepub fn unarchive_workflow_tasks(
&self,
workflow_task_ids: &[&str],
) -> UnarchiveWorkflowTasksRequest<'_>
pub fn unarchive_workflow_tasks( &self, workflow_task_ids: &[&str], ) -> UnarchiveWorkflowTasksRequest<'_>
Unarchive one or more workflow tasks
Sourcepub fn list_workflows(&self) -> ListWorkflowsRequest<'_>
pub fn list_workflows(&self) -> ListWorkflowsRequest<'_>
List workflows
Sourcepub fn update_workflow_metadata(
&self,
workflow_id: &str,
) -> UpdateWorkflowMetadataRequest<'_>
pub fn update_workflow_metadata( &self, workflow_id: &str, ) -> UpdateWorkflowMetadataRequest<'_>
Update workflow
Update workflow metadata
Sourcepub fn list_workflow_stages(
&self,
workflow_id: &str,
) -> ListWorkflowStagesRequest<'_>
pub fn list_workflow_stages( &self, workflow_id: &str, ) -> ListWorkflowStagesRequest<'_>
List workflow stages