/// <summary> /// Initializes a new instance of the <see cref="DetailedActivity" /> class. /// </summary> /// <param name="id">The unique identifier of the activity.</param> /// <param name="externalId">The identifier provided at upload time.</param> /// <param name="uploadId">The identifier of the upload that resulted in this activity.</param> /// <param name="athlete">athlete.</param> /// <param name="name">The name of the activity.</param> /// <param name="distance">The activity's distance, in meters.</param> /// <param name="movingTime">The activity's moving time, in seconds.</param> /// <param name="elapsedTime">The activity's elapsed time, in seconds.</param> /// <param name="totalElevationGain">The activity's total elevation gain..</param> /// <param name="elevHigh">The activity's highest elevation, in meters.</param> /// <param name="elevLow">The activity's lowest elevation, in meters.</param> /// <param name="type">type.</param> /// <param name="startDate">The time at which the activity was started..</param> /// <param name="startDateLocal">The time at which the activity was started in the local timezone..</param> /// <param name="timezone">The timezone of the activity.</param> /// <param name="startLatlng">startLatlng.</param> /// <param name="endLatlng">endLatlng.</param> /// <param name="achievementCount">The number of achievements gained during this activity.</param> /// <param name="kudosCount">The number of kudos given for this activity.</param> /// <param name="commentCount">The number of comments for this activity.</param> /// <param name="athleteCount">The number of athletes for taking part in a group activity.</param> /// <param name="photoCount">The number of Instagram photos for this activity.</param> /// <param name="totalPhotoCount">The number of Instagram and Strava photos for this activity.</param> /// <param name="map">map.</param> /// <param name="trainer">Whether this activity was recorded on a training machine.</param> /// <param name="commute">Whether this activity is a commute.</param> /// <param name="manual">Whether this activity was created manually.</param> /// <param name="_private">Whether this activity is private.</param> /// <param name="flagged">Whether this activity is flagged.</param> /// <param name="workoutType">The activity's workout type.</param> /// <param name="uploadIdStr">The unique identifier of the upload in string format.</param> /// <param name="averageSpeed">The activity's average speed, in meters per second.</param> /// <param name="maxSpeed">The activity's max speed, in meters per second.</param> /// <param name="hasKudoed">Whether the logged-in athlete has kudoed this activity.</param> /// <param name="gearId">The id of the gear for the activity.</param> /// <param name="kilojoules">The total work done in kilojoules during this activity. Rides only.</param> /// <param name="averageWatts">Average power output in watts during this activity. Rides only.</param> /// <param name="deviceWatts">Whether the watts are from a power meter, false if estimated.</param> /// <param name="maxWatts">Rides with power meter data only.</param> /// <param name="weightedAverageWatts">Similar to Normalized Power. Rides with power meter data only.</param> /// <param name="description">The description of the activity.</param> /// <param name="photos">photos.</param> /// <param name="gear">gear.</param> /// <param name="calories">The number of kilocalories consumed during this activity.</param> /// <param name="segmentEfforts">segmentEfforts.</param> /// <param name="deviceName">The name of the device used to record the activity.</param> /// <param name="embedToken">The token used to embed a Strava activity.</param> /// <param name="splitsMetric">The splits of this activity in metric units (for runs).</param> /// <param name="splitsStandard">The splits of this activity in imperial units (for runs).</param> /// <param name="laps">laps.</param> /// <param name="bestEfforts">bestEfforts.</param> public DetailedActivity(long?id = default(long?), string externalId = default(string), long?uploadId = default(long?), MetaAthlete athlete = default(MetaAthlete), string name = default(string), float?distance = default(float?), int?movingTime = default(int?), int?elapsedTime = default(int?), float?totalElevationGain = default(float?), float?elevHigh = default(float?), float?elevLow = default(float?), ActivityType type = default(ActivityType), DateTime?startDate = default(DateTime?), DateTime?startDateLocal = default(DateTime?), string timezone = default(string), LatLng startLatlng = default(LatLng), LatLng endLatlng = default(LatLng), int?achievementCount = default(int?), int?kudosCount = default(int?), int?commentCount = default(int?), int?athleteCount = default(int?), int?photoCount = default(int?), int?totalPhotoCount = default(int?), PolylineMap map = default(PolylineMap), bool?trainer = default(bool?), bool?commute = default(bool?), bool?manual = default(bool?), bool?_private = default(bool?), bool?flagged = default(bool?), int?workoutType = default(int?), string uploadIdStr = default(string), float?averageSpeed = default(float?), float?maxSpeed = default(float?), bool?hasKudoed = default(bool?), string gearId = default(string), float?kilojoules = default(float?), float?averageWatts = default(float?), bool?deviceWatts = default(bool?), int?maxWatts = default(int?), int?weightedAverageWatts = default(int?), string description = default(string), PhotosSummary photos = default(PhotosSummary), SummaryGear gear = default(SummaryGear), float?calories = default(float?), List <DetailedSegmentEffort> segmentEfforts = default(List <DetailedSegmentEffort>), string deviceName = default(string), string embedToken = default(string), List <Split> splitsMetric = default(List <Split>), List <Split> splitsStandard = default(List <Split>), List <Lap> laps = default(List <Lap>), List <DetailedSegmentEffort> bestEfforts = default(List <DetailedSegmentEffort>)) { this.Id = id; this.ExternalId = externalId; this.UploadId = uploadId; this.Athlete = athlete; this.Name = name; this.Distance = distance; this.MovingTime = movingTime; this.ElapsedTime = elapsedTime; this.TotalElevationGain = totalElevationGain; this.ElevHigh = elevHigh; this.ElevLow = elevLow; this.Type = type; this.StartDate = startDate; this.StartDateLocal = startDateLocal; this.Timezone = timezone; this.StartLatlng = startLatlng; this.EndLatlng = endLatlng; this.AchievementCount = achievementCount; this.KudosCount = kudosCount; this.CommentCount = commentCount; this.AthleteCount = athleteCount; this.PhotoCount = photoCount; this.TotalPhotoCount = totalPhotoCount; this.Map = map; this.Trainer = trainer; this.Commute = commute; this.Manual = manual; this.Private = _private; this.Flagged = flagged; this.WorkoutType = workoutType; this.UploadIdStr = uploadIdStr; this.AverageSpeed = averageSpeed; this.MaxSpeed = maxSpeed; this.HasKudoed = hasKudoed; this.GearId = gearId; this.Kilojoules = kilojoules; this.AverageWatts = averageWatts; this.DeviceWatts = deviceWatts; this.MaxWatts = maxWatts; this.WeightedAverageWatts = weightedAverageWatts; this.Description = description; this.Photos = photos; this.Gear = gear; this.Calories = calories; this.SegmentEfforts = segmentEfforts; this.DeviceName = deviceName; this.EmbedToken = embedToken; this.SplitsMetric = splitsMetric; this.SplitsStandard = splitsStandard; this.Laps = laps; this.BestEfforts = bestEfforts; }
/// <summary> /// Initializes a new instance of the <see cref="DetailedActivity" /> class. /// </summary> /// <param name="description">The description of the activity.</param> /// <param name="photos">photos.</param> /// <param name="gear">gear.</param> /// <param name="calories">The number of kilocalories consumed during this activity.</param> /// <param name="segmentEfforts">segmentEfforts.</param> /// <param name="deviceName">The name of the device used to record the activity.</param> /// <param name="embedToken">The token used to embed a Strava activity.</param> /// <param name="splitsMetric">The splits of this activity in metric units (for runs).</param> /// <param name="splitsStandard">The splits of this activity in imperial units (for runs).</param> /// <param name="laps">laps.</param> /// <param name="bestEfforts">bestEfforts.</param> public DetailedActivity(string description = default(string), PhotosSummary photos = default(PhotosSummary), SummaryGear gear = default(SummaryGear), float?calories = default(float?), List <DetailedSegmentEffort> segmentEfforts = default(List <DetailedSegmentEffort>), string deviceName = default(string), string embedToken = default(string), List <Split> splitsMetric = default(List <Split>), List <Split> splitsStandard = default(List <Split>), List <Lap> laps = default(List <Lap>), List <DetailedSegmentEffort> bestEfforts = default(List <DetailedSegmentEffort>), string externalId = default(string), long?uploadId = default(long?), MetaAthlete athlete = default(MetaAthlete), string name = default(string), float?distance = default(float?), int?movingTime = default(int?), int?elapsedTime = default(int?), float?totalElevationGain = default(float?), float?elevHigh = default(float?), float?elevLow = default(float?), ActivityType type = default(ActivityType), DateTime?startDate = default(DateTime?), DateTime?startDateLocal = default(DateTime?), string timezone = default(string), LatLng startLatlng = default(LatLng), LatLng endLatlng = default(LatLng), int?achievementCount = default(int?), int?kudosCount = default(int?), int?commentCount = default(int?), int?athleteCount = default(int?), int?photoCount = default(int?), int?totalPhotoCount = default(int?), PolylineMap map = default(PolylineMap), bool?trainer = default(bool?), bool?commute = default(bool?), bool?manual = default(bool?), bool?_private = default(bool?), bool?flagged = default(bool?), int?workoutType = default(int?), string uploadIdStr = default(string), float?averageSpeed = default(float?), float?maxSpeed = default(float?), bool?hasKudoed = default(bool?), bool?hideFromHome = default(bool?), string gearId = default(string), float?kilojoules = default(float?), float?averageWatts = default(float?), bool?deviceWatts = default(bool?), int?maxWatts = default(int?), int?weightedAverageWatts = default(int?)) : base(externalId, uploadId, athlete, name, distance, movingTime, elapsedTime, totalElevationGain, elevHigh, elevLow, type, startDate, startDateLocal, timezone, startLatlng, endLatlng, achievementCount, kudosCount, commentCount, athleteCount, photoCount, totalPhotoCount, map, trainer, commute, manual, _private, flagged, workoutType, uploadIdStr, averageSpeed, maxSpeed, hasKudoed, hideFromHome, gearId, kilojoules, averageWatts, deviceWatts, maxWatts, weightedAverageWatts) { this.Description = description; this.Photos = photos; this.Gear = gear; this.Calories = calories; this.SegmentEfforts = segmentEfforts; this.DeviceName = deviceName; this.EmbedToken = embedToken; this.SplitsMetric = splitsMetric; this.SplitsStandard = splitsStandard; this.Laps = laps; this.BestEfforts = bestEfforts; }