Class UpdatableActivity
- Namespace
- Tudormobile.Strava.Model
- Assembly
- Tudormobile.Strava.dll
An updatable activity record.
public class UpdatableActivity
- Inheritance
-
UpdatableActivity
- Inherited Members
Constructors
UpdatableActivity(string?, string?, SportTypes?)
Initializes a new instance of the UpdatableActivity class with the specified name and description.
public UpdatableActivity(string? name = null, string? description = null, SportTypes? sportType = null)
Parameters
namestringThe name of the activity. If null, an empty string is used.
descriptionstringThe description of the activity. If null, an empty string is used.
sportTypeSportTypes?The type of sport associated with the activity. If null, the default sport type is used.
Properties
Commute
Gets or sets a value indicating whether this activity is a commute.
public bool Commute { get; set; }
Property Value
Description
Gets or sets a description of the activity.
public string? Description { get; set; }
Property Value
Name
Gets or sets the name associated with the activity.
public string? Name { get; set; }
Property Value
SportType
Gets or sets the type of sport associated with the activity.
public SportTypes SportType { get; set; }
Property Value
Trainer
Gets or sets a value indicating whether this activity was recorded on a training machine.
public bool Trainer { get; set; }