UserRoute
public struct UserRoute : Searchable, JSONEncodedBody
Undocumented
-
Undocumented
Declaration
Swift
public typealias Identifier = Int -
Undocumented
Declaration
Swift
extension UserRoute.Identifier: UserRouteServerIdentifier -
Undocumented
Declaration
Swift
public typealias UUID = String -
Undocumented
Declaration
Swift
extension UserRoute.UUID: UserRouteServerIdentifier -
Undocumented
Declaration
Swift
public var id: Identifier? -
Undocumented
Declaration
Swift
public var uuid: UUID? -
When this object was first created
Declaration
Swift
public var createdTime: Milliseconds? -
When this object was last modified
Declaration
Swift
public var modifiedTime: Milliseconds? -
Who created this object
Declaration
Swift
public var createdBy: String? -
Who last modified this object
Declaration
Swift
public var modifiedBy: String? -
Who owns this object
Declaration
Swift
public var user: User? -
The number of times this route should be completed
Declaration
Swift
public var repeatCount: Int? -
A nice name for this route
Declaration
Swift
public var name: String? -
The origin of how this route came into the system. ie created manually, cloned from an activity, synced from Strava etc
Declaration
Swift
public var source: String? -
The original UUID/id of this route in it’s origin system
Declaration
Swift
public var sourceID: String? -
The locality of where this route begins
Declaration
Swift
public var locality: String? -
The mid locality of this route
Declaration
Swift
public var locality1: String? -
The locality of where this route ends
Declaration
Swift
public var locality2: String? -
The language that the waypoint messages are in
Declaration
Swift
public var locale: String? -
The metric/imperial that the way point messages are in
Declaration
Swift
public var units: UnitMeasurement? -
A description of this route
Declaration
Swift
public var description: String? -
The total distance (meters) of this route
Declaration
Swift
public var distance: Double? -
The total elevation gain (meters) of this route
Declaration
Swift
public var ascent: Int? -
The total elevation loss (meters) of this route
Declaration
Swift
public var descent: Int? -
The estimated time for this route (seconds)
Declaration
Swift
public var duration: Int? -
The lowest altitude point in this route (meters)
Declaration
Swift
public var minimumAltitude: Int? -
The highest altitude point in this route (meters)
Declaration
Swift
public var maximumAltitude: Int? -
The average altitude point in this route (meters)
Declaration
Swift
public var averageAltitude: Int? -
Min latitude in this route - for geo boxing
Declaration
Swift
public var minimumLatitude: Int? -
Min longitude in this route - for geo boxing
Declaration
Swift
public var minimumLongitude: Int? -
Max latitude in this route - for geo boxing
Declaration
Swift
public var maximumLatitude: Int? -
Max longitude in this route - for geo boxing
Declaration
Swift
public var maximumLongitude: Int? -
The sport type for this route - ie cycling, running etc
Declaration
Swift
public var type: ActivityType? -
The recommended cycling equipment for this route - ie TT, road, mtb etc
Declaration
Swift
public var equipment: Set<Equipment>? -
User type of terrain in this route
Declaration
Swift
public var terrain: Set<Terrain>? -
User defined tags for this route
Declaration
Swift
public var tags: Set<String>? -
A bitmask used for tracking visibility / sharing of this route - see UserRouteVisibilityMask
Declaration
Swift
public var visibilityMask: Int? -
Permissions which the current user has scope to on this object
Declaration
Swift
public var permissions: Set<DataAccessRequest>? -
The processing state - used when a route is imported or cloned from another source
Declaration
Swift
public var state: FileUploadState? -
Any processing / import error message (if any)
Declaration
Swift
public var message: String? -
Start location
Declaration
Swift
public var latitude1: Double? -
Undocumented
Declaration
Swift
public var longitude1: Double? -
End location
Declaration
Swift
public var latitude2: Double? -
Undocumented
Declaration
Swift
public var longitude2: Double? -
My rating of this route (if any)
Declaration
Swift
public var rating: Int? -
The overall rating of this route (if any)
Declaration
Swift
public var publicRatingOverall: Int? -
The number of public ratings (if any)
Declaration
Swift
public var publicRatingCount: Int? -
Undocumented
Declaration
Swift
public init()
-
Undocumented
See moreDeclaration
Swift
public enum CodingKeys : String, CodingKey, CaseIterable -
Undocumented
Declaration
Swift
public static func fields(_ fields: [CodingKeys] = CodingKeys.allCases, prefix: String? = nil) -> [String]
View on GitHub
UserRoute Structure Reference