Table of Contents

Class Route

Namespace
Tudormobile.Strava.Model
Assembly
Tudormobile.Strava.dll

Represents a Strava route with its associated properties, waypoints, and segments.

public class Route
Inheritance
Route
Inherited Members

Properties

Athlete

Gets or sets the athlete who created the route.

public object Athlete { get; set; }

Property Value

object

CreatedAt

Gets or sets the date and time when the route was created.

public DateTime CreatedAt { get; set; }

Property Value

DateTime

Description

Gets or sets the description of the route.

public string Description { get; set; }

Property Value

string

Distance

Gets or sets the total distance of the route in meters.

public float Distance { get; set; }

Property Value

float

ElevationGain

Gets or sets the total elevation gain of the route in meters.

public float ElevationGain { get; set; }

Property Value

float

EstimatedMovingTime

Gets or sets the estimated moving time to complete the route.

public TimeSpan EstimatedMovingTime { get; set; }

Property Value

TimeSpan

Id

Gets or sets the unique identifier for the route.

public long Id { get; set; }

Property Value

long

IdStr

Gets or sets the string representation of the route identifier.

public string IdStr { get; set; }

Property Value

string

Map

Gets or sets the map data containing the route's polyline representation.

public SummaryPolylineMap Map { get; set; }

Property Value

SummaryPolylineMap

Name

Gets or sets the name of the route.

public string Name { get; set; }

Property Value

string

Private

Gets or sets a value indicating whether the route is private.

public bool Private { get; set; }

Property Value

bool

Segments

Gets or sets the collection of Strava segments included in the route.

public List<Segment> Segments { get; set; }

Property Value

List<Segment>

Starred

Gets or sets a value indicating whether the route is starred by the authenticated athlete.

public bool Starred { get; set; }

Property Value

bool

SubType

Gets or sets the sub-type identifier for the route.

public int SubType { get; set; }

Property Value

int

Timestamp

Gets or sets the timestamp associated with the route.

public TimeSpan Timestamp { get; set; }

Property Value

TimeSpan

Type

Gets or sets the activity type for the route (e.g., 1 for ride, 2 for run).

public int Type { get; set; }

Property Value

int

UpdatedAt

Gets or sets the date and time when the route was last updated.

public DateTime UpdatedAt { get; set; }

Property Value

DateTime

Waypoints

Gets or sets the collection of waypoints along the route.

public List<Waypoint> Waypoints { get; set; }

Property Value

List<Waypoint>