Skip to main content

UsersPublic

This class represents a paginated or bulk collection of public user profiles. It provides a structured format containing a list of individual user data objects and a total count of the records included.

Attributes

AttributeTypeDescription
datalist[[UserPublic](userpublic.md?sid=app_models_userpublic)]A list of public user profiles containing the core information for each user in the collection.
countintThe total number of users available in the dataset, typically used for pagination or summary statistics.

Constructor

Signature

def UsersPublic(
data: list[[UserPublic](userpublic.md?sid=app_models_userpublic)],
count: int
) - > null

Parameters

NameTypeDescription
datalist[[UserPublic](userpublic.md?sid=app_models_userpublic)]A list of UserPublic objects representing the user data.
countintThe total number of users included in the data list.

Signature

def UsersPublic(
data: list[[UserPublic](userpublic.md?sid=app_models_userpublic)],
count: int
) - > null

Parameters

NameTypeDescription
datalist[[UserPublic](userpublic.md?sid=app_models_userpublic)]A list of public user profile objects containing non-sensitive user information.
countintThe total number of users available in the dataset, typically used for pagination.