ItemsPublic
This class represents a paginated or grouped collection of public item data, providing a structured container for a list of individual items and a total count. It serves as a data transfer object for returning multiple item records in a single response.
Attributes
| Attribute | Type | Description |
|---|---|---|
| data | list[[ItemPublic](itempublic.md?sid=app_models_itempublic)] | A list of ItemPublic objects containing the detailed information for each item in the collection. |
| count | int | The total number of items available in the dataset, typically used for pagination metadata. |
Constructor
Signature
def ItemsPublic(
data: list[[ItemPublic](itempublic.md?sid=app_models_itempublic)],
count: int
) - > null
Parameters
| Name | Type | Description |
|---|---|---|
| data | list[[ItemPublic](itempublic.md?sid=app_models_itempublic)] | A list of public item objects. |
| count | int | The total number of items in the collection. |
Signature
def ItemsPublic(
data: list[[ItemPublic](itempublic.md?sid=app_models_itempublic)],
count: int
) - > null
Parameters
| Name | Type | Description |
|---|---|---|
| data | list[[ItemPublic](itempublic.md?sid=app_models_itempublic)] | A list of public item records to be returned in the response body. |
| count | int | The total number of items available in the database matching the query criteria, used for pagination metadata. |