benchling_api_client.models.checkbox_note_part module

class CheckboxNotePart

Bases: object

One “line” of a checklist

__init__(checked: Union[benchling_api_client.types.Unset, bool] = attr_dict['_checked'].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, CheckboxNotePartType] = attr_dict['_type'].default, indentation: Union[benchling_api_client.types.Unset, int] = attr_dict['_indentation'].default) None

Method generated by attrs for class CheckboxNotePart.

property additional_keys: List[str]
additional_properties: Dict[str, Any]
property checked: bool

Indicates whether the checkbox is checked or not.

classmethod from_dict(src_dict: Dict[str, Any]) benchling_api_client.models.checkbox_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 text via an @-mention, hyperlink, or the drag-n-dropped preview attached to the note.

property text: str

The textual contents of the note.

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