Skip to main content

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​

AttributeTypeDescription
datalist[[ItemPublic](itempublic.md?sid=app_models_itempublic)]A list of ItemPublic objects containing the detailed information for each item in the collection.
countintThe 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​

NameTypeDescription
datalist[[ItemPublic](itempublic.md?sid=app_models_itempublic)]A list of public item objects.
countintThe total number of items in the collection.

Signature​

def ItemsPublic(
data: list[[ItemPublic](itempublic.md?sid=app_models_itempublic)],
count: int
) - > null

Parameters​

NameTypeDescription
datalist[[ItemPublic](itempublic.md?sid=app_models_itempublic)]A list of public item records to be returned in the response body.
countintThe total number of items available in the database matching the query criteria, used for pagination metadata.