MembershipInclude

fun MembershipInclude(includeCustom: Boolean = false, includeStatus: Boolean = false, includeType: Boolean = false, includeTotalCount: Boolean = false, includeChannel: Boolean = false, includeChannelCustom: Boolean = false, includeChannelType: Boolean = false, includeChannelStatus: Boolean = false): MembershipInclude

Factory function to create an instance of MembershipInclude.

This function provides default values for all inclusion flags and returns an implementation of the MembershipInclude interface with the specified options.

Return

An instance of MembershipInclude with the specified inclusion options.

Parameters

includeCustom

Whether to include custom properties in the result. Default is false.

includeStatus

Whether to include the status of the Memberships in the result. Default is false.

includeType

Whether to include the type of the Memberships in the result. Default is false.

includeTotalCount

Whether to include the total count of Memberships in the result. Default is false.

includeChannel

Whether to include channel information in the result. Default is false.

includeChannelCustom

Whether to include custom properties of the channel in the result. Default is false.

includeChannelType

Whether to include the type of the channel in the result. Default is false.

includeChannelStatus

Whether to include the status of the channel in the result. Default is false.