Skip to main content

STRUCT

SiteInfo

public struct SiteInfo: CustomStringConvertible

Represents site information from the Sites Manager service.

Properties​

id​

public let id: String

Site identifier.

name​

public let name: String

Site name.

status​

public let status: String

Site status.

organizationId​

public let organizationId: String

Organization identifier that owns this site.

latitude​

public let latitude: Double

Latitude coordinate (valid if hasLocation is true).

longitude​

public let longitude: Double

Longitude coordinate (valid if hasLocation is true).

hasLocation​

public let hasLocation: Bool

Indicates whether latitude and longitude are valid.

parentSiteId​

public let parentSiteId: String?

Parent site identifier (nil if no parent site).

description​

public var description: String

Methods​

init(fromC:)​

public init?(fromC cValue: ARDK_SitesManager_SiteInfo)