Skip to main content

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_strReturns the string representation of the model using alias
to_jsonReturns the JSON representation of the model using alias
from_jsonCreate an instance of NewControlTag from a JSON string
to_dictReturn the dictionary representation of the model using alias.
from_dictCreate an instance of NewControlTag from a dict