benchling_api_client.models.custom_entity_bulk_create module

class CustomEntityBulkCreate

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, aliases: Union[benchling_api_client.types.Unset, List[str]] = attr_dict['_aliases'].default, author_ids: Union[benchling_api_client.types.Unset, List[str]] = attr_dict['_author_ids'].default, custom_fields: Union[benchling_api_client.types.Unset, CustomFields] = attr_dict['_custom_fields'].default, fields: Union[benchling_api_client.types.Unset, Fields] = attr_dict['_fields'].default, name: Union[benchling_api_client.types.Unset, str] = attr_dict['_name'].default, schema_id: Union[benchling_api_client.types.Unset, str] = attr_dict['_schema_id'].default) None

Method generated by attrs for class CustomEntityBulkCreate.

property aliases: List[str]

Aliases to add to the custom entity

property author_ids: List[str]

IDs of users to set as the custom entity’s authors.

property custom_fields: CustomFields
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 fields: Fields
property folder_id: str

ID of the folder that the entity is moved into

classmethod from_dict(src_dict: Dict[str, Any]) benchling_api_client.models.custom_entity_bulk_create.T
property name: str
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.

property schema_id: str
to_dict() Dict[str, Any]