switch
Switch
class Switch()
A Content Management Policy switch which has a name and a value, and can have attributes.
__init__
def __init__(name: str,
value: str,
attributes: Optional[dict] = None,
restrict_values: Optional[list] = None)
__str__
def __str__()
__repr__
def __repr__()
Change string representation of object.
__lt__
def __lt__(other)
Used for sorting. Sort by "name" then "value".
value
@property
def value()
value
@value.setter
def value(value)
text
@property
def text()
String representation of XML.