ZyncAttachmentFilters

data class ZyncAttachmentFilters(val startDate: String? = null, val endDate: String? = null, val mediaType: ZyncAttachmentMediaType = ZyncAttachmentMediaType.ALL, val tags: List<String>? = null)

Data class containing optional filter parameters for attachment queries. All parameters are optional - null values mean no filtering is applied for that parameter.

Constructors

Link copied to clipboard
constructor(startDate: String? = null, endDate: String? = null, mediaType: ZyncAttachmentMediaType = ZyncAttachmentMediaType.ALL, tags: List<String>? = null)

Properties

Link copied to clipboard
val endDate: String? = null

Filter attachments created on or before this date/time in ISO-8601 format. Example: "2023-12-25" If null, no end date filtering is applied.

Link copied to clipboard

Filter attachments by media type (IMAGE, VIDEO, or ALL). Defaults to ALL which includes all attachment types.

Link copied to clipboard
val startDate: String? = null

Filter attachments created on or after this date/time in ISO-8601 format. Example: "2023-12-25" If null, no start date filtering is applied.

Link copied to clipboard
val tags: List<String>? = null

Filter attachments by tag UIDs. If null or empty, no tag filtering is applied. If provided, only attachments that have ALL of these tags will be returned (AND logic).