benchling_api_client.models.base_note_part module

class BaseNotePart

Bases: object

__init__(indentation: Union[benchling_api_client.types.Unset, int] = attr_dict['_indentation'].default, type: Union[benchling_api_client.types.Unset, str] = attr_dict['_type'].default) None

Method generated by attrs for class BaseNotePart.

property additional_keys: List[str]
additional_properties: Dict[str, Any]
classmethod from_dict(src_dict: Dict[str, Any]) benchling_api_client.models.base_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.

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

The type of the note. Type determines what other fields are present.