ChannelFeatures

@Serializable
data class ChannelFeatures(val name: String, val id: UUID, val canSearch: Boolean, val mediaTypes: List<ChannelMediaType>, val contentTypes: List<ChannelMediaContentType>, val maxPageSize: Int? = null, val autoRefreshLevels: Int? = null, val defaultSortFields: List<ChannelItemSortField>, val supportsSortOrderToggle: Boolean, val supportsLatestMedia: Boolean, val canFilter: Boolean, val supportsContentDownloading: Boolean)

Constructors

Link copied to clipboard
constructor(name: String, id: UUID, canSearch: Boolean, mediaTypes: List<ChannelMediaType>, contentTypes: List<ChannelMediaContentType>, maxPageSize: Int? = null, autoRefreshLevels: Int? = null, defaultSortFields: List<ChannelItemSortField>, supportsSortOrderToggle: Boolean, supportsLatestMedia: Boolean, canFilter: Boolean, supportsContentDownloading: Boolean)

Properties

Link copied to clipboard
@SerialName(value = "AutoRefreshLevels")
val autoRefreshLevels: Int?

The automatic refresh levels.

Link copied to clipboard
@SerialName(value = "CanFilter")
val canFilter: Boolean

A value indicating whether this instance can filter.

Link copied to clipboard
@SerialName(value = "CanSearch")
val canSearch: Boolean

A value indicating whether this instance can search.

Link copied to clipboard
@SerialName(value = "ContentTypes")
val contentTypes: List<ChannelMediaContentType>

The content types.

Link copied to clipboard
@SerialName(value = "DefaultSortFields")
val defaultSortFields: List<ChannelItemSortField>

The default sort orders.

Link copied to clipboard
@SerialName(value = "Id")
val id: UUID

The identifier.

Link copied to clipboard
@SerialName(value = "MaxPageSize")
val maxPageSize: Int?

The maximum number of records the channel allows retrieving at a time.

Link copied to clipboard
@SerialName(value = "MediaTypes")
val mediaTypes: List<ChannelMediaType>

The media types.

Link copied to clipboard
@SerialName(value = "Name")
val name: String

The name.

Link copied to clipboard
@SerialName(value = "SupportsContentDownloading")
val supportsContentDownloading: Boolean

A value indicating whether supports content downloading.

Link copied to clipboard
@SerialName(value = "SupportsLatestMedia")
val supportsLatestMedia: Boolean

A value indicating whether supports latest media.

Link copied to clipboard
@SerialName(value = "SupportsSortOrderToggle")
val supportsSortOrderToggle: Boolean

A value indicating whether a sort ascending/descending toggle is supported.