Filter

data class Filter(val search: String? = null, val section: SectionFilterType? = null, val resourceTypes: List<ResourceType>? = null, val favourite: Boolean? = null, val filters: List<FilterElement>? = null, val filterType: FilterType? = null, val currentPosition: BGPGpsPosition? = null) : Parcelable

Constructors

Link copied to clipboard
constructor(search: String? = null, section: SectionFilterType? = null, resourceTypes: List<ResourceType>? = null, favourite: Boolean? = null, filters: List<FilterElement>? = null, filterType: FilterType? = null, currentPosition: BGPGpsPosition? = null)

Properties

Link copied to clipboard

used for filter by near to me

Link copied to clipboard
val favourite: Boolean? = null

a boolean indicate if is a favourite

Link copied to clipboard
val filters: List<FilterElement>? = null

a list of FilterElement

Link copied to clipboard
val filterType: FilterType? = null
Link copied to clipboard

Possible resource, all resource in case of empty

Link copied to clipboard
val search: String? = null

generic search string

Link copied to clipboard

Inherited functions

Link copied to clipboard
abstract fun describeContents(): Int
Link copied to clipboard
abstract fun writeToParcel(p0: Parcel, p1: Int)