benchling_api_client.models.create_entity_into_registry module¶
- class CreateEntityIntoRegistry¶
Bases:
object
- __init__(entity_registry_id: Union[benchling_api_client.types.Unset, str] = attr_dict['_entity_registry_id'].default, folder_id: Union[benchling_api_client.types.Unset, str] = attr_dict['_folder_id'].default, naming_strategy: Union[benchling_api_client.types.Unset, NamingStrategy] = attr_dict['_naming_strategy'].default, registry_id: Union[benchling_api_client.types.Unset, str] = attr_dict['_registry_id'].default) None ¶
Method generated by attrs for class CreateEntityIntoRegistry.
- property entity_registry_id: str¶
Entity registry ID to set for the registered entity. Cannot specify both entityRegistryId and namingStrategy at the same time.
- property folder_id: str¶
ID of the folder containing the entity. Can be left empty when registryId is present.
- classmethod from_dict(src_dict: Dict[str, Any]) benchling_api_client.models.create_entity_into_registry.T ¶
- property naming_strategy: NamingStrategy¶
Specifies the behavior for automatically generated names when registering an entity. - NEW_IDS: Generate new registry IDs - IDS_FROM_NAMES: Generate registry IDs based on entity names - DELETE_NAMES: Generate new registry IDs and replace name with registry ID - SET_FROM_NAME_PARTS: Generate new registry IDs, rename according to name template, and keep old name as alias - REPLACE_NAMES_FROM_PARTS: Generate new registry IDs, and replace name according to name template - KEEP_NAMES: Keep existing entity names as registry IDs - REPLACE_ID_AND_NAME_FROM_PARTS: Generate registry IDs and names according to name template
- property registry_id: str¶
Registry ID into which entity should be registered. this is the ID of the registry which was configured for a particular organization To get available registryIds, use the [/registries endpoint](#/Registry/listRegistries)
Required in order for entities to be created directly in the registry.