PyLabel
class PyLabel(label)
Bases: PyRestIdentifiable
Interface for a content item’s label.
- Parameters: label (ILabel)
__init__(label)
Creates a new PyLabel object.
Args: : label: A ILabel object.
Returns: None.
- Parameters: label (ILabel)
- Return type: None
Methods
__init__ (label) |
Creates a new PyLabel object. |
---|
Attributes
active |
Gets the active flag. |
---|---|
category |
Gets the category. |
content_id |
Gets the ID for the label's content item. |
content_type |
Gets the type for the label's content item. |
created_at |
Gets the create timestamp. |
elevated |
Gets the active flag. |
id |
Gets the unique identifier. |
message |
Gets the message. |
owner_id |
Gets the owner ID. |
site_id |
Gets the site ID. |
updated_at |
Gets the update timestamp. |
user_display_name |
Gets the user display name. |
value |
Gets the value. |
property active : bool
Gets the active flag.
property category : str
Gets the category.
property content_id : UUID
Gets the ID for the label’s content item.
property content_type : str
Gets the type for the label’s content item.
property created_at : str
Gets the create timestamp.
property elevated : bool
Gets the active flag.
property id : UUID
Gets the unique identifier.
property message : str
Gets the message.
property owner_id : UUID
Gets the owner ID.
property site_id : UUID
Gets the site ID.
property updated_at : str
Gets the update timestamp.
property user_display_name : str
Gets the user display name.
property value : str
Gets the value.