benchling_api_client.models.feature_update module

class FeatureUpdate

Bases: object

Inputs for updating a feature

__init__(color: Union[benchling_api_client.types.Unset, str] = attr_dict['_color'].default, feature_library_id: Union[benchling_api_client.types.Unset, str] = attr_dict['_feature_library_id'].default, feature_type: Union[benchling_api_client.types.Unset, None, str] = attr_dict['_feature_type'].default, name: Union[benchling_api_client.types.Unset, str] = attr_dict['_name'].default, pattern: Union[benchling_api_client.types.Unset, str] = attr_dict['_pattern'].default) None

Method generated by attrs for class FeatureUpdate.

property color: str

The color of the annotations generated by the feature. Must be a valid hex string

property feature_library_id: str

The id of the feature library the feature belongs to

property feature_type: Optional[str]

The type of feature, like gene, promoter, etc. Note: This is an arbitrary string, not an enum

classmethod from_dict(src_dict: Dict[str, Any]) benchling_api_client.models.feature_update.T
property name: str

The name of the feature

property pattern: str

The pattern used for matching during auto-annotation.

to_dict() Dict[str, Any]