PublicGroupChannelListQueryParams

public final class PublicGroupChannelListQueryParams: NSObject
extension PublicGroupChannelListQueryParams: NSCopying

Undocumented

  • Determines channel list includes empty channel. Deafult is true

    Declaration

    Swift

    public var includeEmptyChannel: Bool = true
  • Determines channel list includes frozen channel. Default is true

    Since

    3.0.182

    Declaration

    Swift

    public var includeFrozenChannel: Bool = true
  • Determines channel list includes their members. Default is true

    Declaration

    Swift

    public var includeMemberList: Bool = true
  • Determines channel object of the list includes meta data property. Default is true

    Since

    3.0.216

    Declaration

    Swift

    public var includeMetaData: Bool = true
  • Sets the order of the list. The order is defined in PublicGroupChannelListOrder. Default is .chronological

    Declaration

    Swift

    public var order: PublicGroupChannelListOrder = .chronological
  • Sets to filter super channel. Default is .all

    Declaration

    Swift

    public var superChannelFilter: GroupChannelSuperChannelFilter = .all
  • Sets GroupChannel URLs filter.

    GroupChannel list containing only and exactly the passed GroupChannel URLs will be returned.

    Note

    This does not cooperate with other filters.

    Declaration

    Swift

    public var publicMembershipFilter: PublicGroupChannelMembershipFilter = .all
  • Sets the custom types filter.

    Declaration

    Swift

    public var customTypesFilter: [String]?
  • Sets to filter channels by custom type that starts with.

    Declaration

    Swift

    public var customTypeStartsWithFilter: String?
  • Sets GroupChannel URLs filter.

    GroupChannel list containing only and exactly the passed GroupChannel URLs will be returned.

    Note

    This does not cooperate with other filters.

    Declaration

    Swift

    public var channelURLsFilter: [String]?
  • Sets GroupChannel names filter.

    GroupChannel list containing only and exactly the passed GroupChannel name will be returned.

    Note

    This does not cooperate with other filters.

    Declaration

    Swift

    public var channelNameContainsFilter: String?
  • Sets a key for ordering by value in the metadata.

    This is valid when the order is .channelMetaDataValueAlphabetical only.

    Since

    3.0.118

    Declaration

    Swift

    public var metaDataOrderKeyFilter: String?
  • Searches for group channels with metadata containing an item with the specified value as its key

    Since

    3.0.232

    Declaration

    Swift

    public internal(set) var metaDataKeyFilter: String?
  • Searches for group channels with metadata containing an item with the key specified by the metaDataKey

    Since

    3.0.232

    Declaration

    Swift

    public internal(set) var metaDataValuesFilter: [String]?
  • Searches for group channels with metadata containing an item with the key specified by the metaDataKey and the values of that item start with the specified value

    Since

    3.0.232

    Declaration

    Swift

    public internal(set) var metaDataValueStartsWithFilter: String?
  • Specifies the number of results to return per call. (Default: 20)

    Declaration

    Swift

    public var limit: UInt = 20
  • Searches for public group channels created before the specified value. (milliseconds)

    Since

    4.11.0

    Declaration

    Swift

    public var createdBefore: Int64 = 0
  • Searches for public group channels created after the specified value. (milliseconds)

    Since

    4.11.0

    Declaration

    Swift

    public var createdAfter: Int64 = 0
  • Default constructor.

    Declaration

    Swift

    public override init()
  • Initializes and returns a newly allocated params object that mutated through builder closure.

    Declaration

    Swift

    public init(builder: (PublicGroupChannelListQueryParams) -> Void)

    Parameters

    builder

    The builder closure.

    Return Value

    An initialized params object.

  • Sets meta data filter

    Note

    Using this method will reset metaDataValueStartsWithFilter property

    Declaration

    Swift

    public func setMetaDataFilter(withKey key: String, values: [String])

    Parameters

    key

    meta data key

    values

    meta data values

  • Sets meta data filter

    Note

    Using this method will reset metaDataValuesFilter property

    Declaration

    Swift

    public func setMetaDataFilter(withKey key: String, valueStartsWith value: String)

    Parameters

    key

    meta data key

    value

    meta data values that starts with

Equatable

  • Undocumented

    Declaration

    Swift

    public override func isEqual(_ object: Any?) -> Bool

NSCopying

  • Undocumented

    Declaration

    Swift

    public func copy(with zone: NSZone? = nil) -> Any