benchling_api_client.models.field module

class Field

Bases: object

__init__(value: Union[None, str, bool, float, FieldValue, List[str], UnknownType], display_value: Union[benchling_api_client.types.Unset, None, str] = attr_dict['_display_value'].default, is_multi: Union[benchling_api_client.types.Unset, bool] = attr_dict['_is_multi'].default, text_value: Union[benchling_api_client.types.Unset, None, str] = attr_dict['_text_value'].default, type: Union[benchling_api_client.types.Unset, FieldType] = attr_dict['_type'].default) None

Method generated by attrs for class Field.

property additional_keys: List[str]
additional_properties: Dict[str, Any]
property display_value: Optional[str]
classmethod from_dict(src_dict: Dict[str, Any]) benchling_api_client.models.field.T
get(key, default=None) Optional[Any]
property is_multi: bool
property text_value: Optional[str]
to_dict() Dict[str, Any]
property type: FieldType
property value: Optional[Union[str, bool, float, FieldValue, List[str], UnknownType]]

For single link fields, use the id of the item you want to link (eg. “seq_jdf8BV24”). For multi-link fields, use an array of ids of the items you want to link (eg. [“seq_jdf8BV24”])