Topic Model
The Topic
class represents a topic within the community, capturing essential attributes such as the name, unique identifier, and its current enabled status. This model is crucial for managing and displaying community-specific topics. Below are the details of the Topic
model:
Properties
Variable | Type | Description | Optional |
---|---|---|---|
name | String | The name of the community topic. | |
id | String | The unique identifier of the community topic. | |
isEnabled | bool | Indicates whether the topic is enabled. | |
priority | double? | The priority of the topic. | Yes |
parentId | String? | The unique identifier of the parent topic. | Yes |
parentName | String? | The name of the parent topic. | Yes |
level | int? | The level of the topic in the hierarchy. | Yes |
isSearchable | bool? | Indicates if the topic is searchable. | Yes |
widgetId | String? | The unique identifier of the widget. | Yes |
numberOfPosts | int? | The number of posts under this topic. | Yes |
totalChildCount | int? | The total number of child topics. | Yes |