Skip to main content
Version: 2025.11

NewControlTag

Description: Add a new control with optional description and display color.

Attributes

NameTypeDescription
nameStrictStr
descriptionOptional[Annotated[str, Field(min_length=0, strict=True, max_length=255)]]
display_colorOptional[StrictStr]

Methods

NameDescription
to_strReturn the string representation of the model using field aliases.
to_jsonReturn the JSON string representation of the model using field aliases.
from_jsonCreate an instance of the model from a JSON string.
to_dictReturn the dictionary representation of the model using field aliases.
from_dictCreate an instance of NewControlTag from a dict