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
Athlete
Gets or sets the identifier of the athlete who completed this segment effort.
public AthleteId Athlete { get; set; }
Property Value
Distance
Gets or sets the distance of the segment effort in meters.
public double Distance { get; set; }
Property Value
ElapsedTime
Gets or sets the total elapsed time for the segment effort, including any stopped time.
public TimeSpan ElapsedTime { get; set; }
Property Value
EndIndex
Gets or sets the index of the end point in the activity's data stream.
public int EndIndex { get; set; }
Property Value
Id
Gets or sets the unique identifier of the segment effort.
public long Id { get; set; }
Property Value
MovingTime
Gets or sets the moving time for the segment effort, excluding any stopped time.
public TimeSpan MovingTime { get; set; }
Property Value
Name
Gets or sets the name of the segment effort.
public string Name { get; set; }
Property Value
ResourceState
Gets or sets the resource state indicating the level of detail available for this segment effort.
public ResourceStates ResourceState { get; set; }
Property Value
Segment
Gets or sets the segment that this effort belongs to.
public Segment? Segment { get; set; }
Property Value
StartDate
Gets or sets the date and time when the segment effort started in UTC.
public DateTime StartDate { get; set; }
Property Value
StartDateLocal
Gets or sets the date and time when the segment effort started in local time.
public DateTime StartDateLocal { get; set; }
Property Value
StartIndex
Gets or sets the index of the start point in the activity's data stream.
public int StartIndex { get; set; }