DirectoryObject | iOS SDK | 2GIS Documentation


Directory object.

Extends: Hashable
public static func == (lhs: DirectoryObject, rhs: DirectoryObject) -> Bool

Returns a Boolean value indicating whether two values are equal.


Object type. There can be several, for example, Sun City Mall is a branch of an organization and a building at the same time. The first type in this list is the primary type.

Object title.

Additional title information Example: "(apt. 1-12)"

Object subheading.

Stable numeric object ID.

The point of the object where the marker should be placed.

The address of the object as a set of components.

Additional object attributes.

Contextual object's additional attributes.

The shift of the object's local time relative to UTC in seconds at the current moment.

The object's running time.

The object's contacts.


Additional parking information.

Operating status.

Identifier of the floor on which the facility is located.

Information about the floor plans of the building.

Information about building entrances.