benchling_api_client.models.molecule_create module¶
- class MoleculeCreate¶
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, chemical_structure: Union[benchling_api_client.types.Unset, MoleculeStructure] = attr_dict['_chemical_structure'].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 MoleculeCreate.
- property chemical_structure: MoleculeStructure¶
- 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 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.