forked from dwj300/strava
-
Notifications
You must be signed in to change notification settings - Fork 1
/
model_explorer_segment.go
31 lines (29 loc) · 1007 Bytes
/
model_explorer_segment.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
30
31
/*
* Strava API v3
*
* Strava API
*
* API version: 3.0.0
* Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
*/
package strava
type ExplorerSegment struct {
// The unique identifier of this segment
Id int64 `json:"id,omitempty"`
// The name of this segment
Name string `json:"name,omitempty"`
// The category of the climb
ClimbCategory int32 `json:"climb_category,omitempty"`
// The description for the category of the climb
ClimbCategoryDesc string `json:"climb_category_desc,omitempty"`
// The segment's average grade, in percents
AvgGrade float32 `json:"avg_grade,omitempty"`
StartLatlng *LatLng `json:"start_latlng,omitempty"`
EndLatlng *LatLng `json:"end_latlng,omitempty"`
// The segments's evelation difference, in meters
ElevDifference float32 `json:"elev_difference,omitempty"`
// The segment's distance, in meters
Distance float32 `json:"distance,omitempty"`
// The polyline of the segment
Points string `json:"points,omitempty"`
}