Table of Contents

Class SegmentEffort

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

Represents an athlete's attempt at a segment during an activity.

public class SegmentEffort
Inheritance
SegmentEffort
Inherited Members

Remarks

A segment effort captures the performance details of an athlete completing a specific segment, including timing, distance, and references to the activity and segment involved.

Properties

Activity

Gets or sets the summary of the activity during which this segment effort occurred.

public SummaryActivity? Activity { get; set; }

Property Value

SummaryActivity

Athlete

Gets or sets the identifier of the athlete who completed this segment effort.

public AthleteId Athlete { get; set; }

Property Value

AthleteId

Distance

Gets or sets the distance of the segment effort in meters.

public double Distance { get; set; }

Property Value

double

ElapsedTime

Gets or sets the total elapsed time for the segment effort, including any stopped time.

public TimeSpan ElapsedTime { get; set; }

Property Value

TimeSpan

EndIndex

Gets or sets the index of the end point in the activity's data stream.

public int EndIndex { get; set; }

Property Value

int

Id

Gets or sets the unique identifier of the segment effort.

public long Id { get; set; }

Property Value

long

MovingTime

Gets or sets the moving time for the segment effort, excluding any stopped time.

public TimeSpan MovingTime { get; set; }

Property Value

TimeSpan

Name

Gets or sets the name of the segment effort.

public string Name { get; set; }

Property Value

string

ResourceState

Gets or sets the resource state indicating the level of detail available for this segment effort.

public ResourceStates ResourceState { get; set; }

Property Value

ResourceStates

Segment

Gets or sets the segment that this effort belongs to.

public Segment? Segment { get; set; }

Property Value

Segment

StartDate

Gets or sets the date and time when the segment effort started in UTC.

public DateTime StartDate { get; set; }

Property Value

DateTime

StartDateLocal

Gets or sets the date and time when the segment effort started in local time.

public DateTime StartDateLocal { get; set; }

Property Value

DateTime

StartIndex

Gets or sets the index of the start point in the activity's data stream.

public int StartIndex { get; set; }

Property Value

int