data
GeneralDataModel
¶
Bases: BaseModel
Represents a general data model with a collection of items and the total count of items.
This class is used to encapsulate a collection of items along with their total count in a data structure. It serves as a general-purpose representation of data collections and is flexible in handling any type of items within the list.
Attributes:
Name | Type | Description |
---|---|---|
items |
list[Any]
|
A list of items representing the data collection. |
totalCount |
int
|
The total number of items in the collection. |