benchling_api_client.models.external_file_note_part module

class ExternalFileNotePart

Bases: object

An attached user-uploaded file

__init__(external_file_id: Union[benchling_api_client.types.Unset, str] = attr_dict['_external_file_id'].default, links: Union[benchling_api_client.types.Unset, List[EntryLink]] = attr_dict['_links'].default, text: Union[benchling_api_client.types.Unset, str] = attr_dict['_text'].default, type: Union[benchling_api_client.types.Unset, ExternalFileNotePartType] = attr_dict['_type'].default, indentation: Union[benchling_api_client.types.Unset, int] = attr_dict['_indentation'].default) None

Method generated by attrs for class ExternalFileNotePart.

property additional_keys: List[str]
additional_properties: Dict[str, Any]
property external_file_id: str

The ID of the external file. Use the ‘Get an external file’ endpoint to retrieve metadata about it.

classmethod from_dict(src_dict: Dict[str, Any]) benchling_api_client.models.external_file_note_part.T
get(key, default=None) Optional[Any]
property indentation: int

All notes have an indentation level - the default is 0 for no indent. For lists, indentation gives notes hierarchy - a bulleted list with children is modeled as one note part with indentation 1 followed by note parts with indentation 2, for example.

Array of links referenced in the caption via an @-mention, hyperlink, or the drag-n-dropped preview attached to the note.

property text: str

The caption of the file attachment.

to_dict() Dict[str, Any]
property type: ExternalFileNotePartType