LocationTypeDefinition

data class LocationTypeDefinition(val id: Int, val code: String?, val name: String?, val description: String?, val iconName: String?, val sortOrder: Int, val isActive: Boolean, val categoryId: Int?, val categoryCode: String?, val categoryName: String?)

A place type a nomination can be filed under, each linked to its category. Returned by Locations.getLocationTypes; like the categories, the types are runtime data.

Constructors

Link copied to clipboard
constructor(id: Int, code: String?, name: String?, description: String?, iconName: String?, sortOrder: Int, isActive: Boolean, categoryId: Int?, categoryCode: String?, categoryName: String?)

Properties

Link copied to clipboard

Linked category code, or null.

Link copied to clipboard

Linked category id; the server may omit it, so it is not guaranteed on every element.

Link copied to clipboard

Linked category display name, or null.

Link copied to clipboard
val code: String?

Stable type code.

Link copied to clipboard

Optional description.

Link copied to clipboard

Optional icon reference.

Link copied to clipboard
val id: Int

Server id of the type - the value for LocationNomination.locationTypeId.

Link copied to clipboard

Whether the type is currently active.

Link copied to clipboard
val name: String?

Display name.

Link copied to clipboard

Display sort order.