/
model_summary_segment_effort.go
29 lines (26 loc) · 1.46 KB
/
model_summary_segment_effort.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
/*
* Strava API v3
*
* The [Swagger Playground](https://developers.strava.com/playground) is the easiest way to familiarize yourself with the Strava API by submitting HTTP requests and observing the responses before you write any client code. It will show what a response will look like with different endpoints depending on the authorization scope you receive from your athletes. To use the Playground, go to https://www.strava.com/settings/api and change your “Authorization Callback Domain” to developers.strava.com. Please note, we only support Swagger 2.0. There is a known issue where you can only select one scope at a time. For more information, please check the section “client code” at https://developers.strava.com/docs.
*
* API version: 3.0.0
* Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
*/
package strava
import (
"time"
)
type SummarySegmentEffort struct {
// The unique identifier of this effort
Id int64 `json:"id,omitempty"`
// The effort's elapsed time
ElapsedTime int32 `json:"elapsed_time,omitempty"`
// The time at which the effort was started.
StartDate time.Time `json:"start_date,omitempty"`
// The time at which the effort was started in the local timezone.
StartDateLocal time.Time `json:"start_date_local,omitempty"`
// The effort's distance in meters
Distance float32 `json:"distance,omitempty"`
// Whether this effort is the current best on the leaderboard
IsKom bool `json:"is_kom,omitempty"`
}