forked from dwj300/strava
-
Notifications
You must be signed in to change notification settings - Fork 1
/
model_detailed_gear.go
31 lines (29 loc) · 970 Bytes
/
model_detailed_gear.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 DetailedGear struct {
// The gear's unique identifier.
Id string `json:"id,omitempty"`
// Resource state, indicates level of detail. Possible values: 2 -> \"summary\", 3 -> \"detail\"
ResourceState int32 `json:"resource_state,omitempty"`
// Whether this gear's is the owner's default one.
Primary bool `json:"primary,omitempty"`
// The gear's name.
Name string `json:"name,omitempty"`
// The distance logged with this gear.
Distance float32 `json:"distance,omitempty"`
// The gear's brand name.
BrandName string `json:"brand_name,omitempty"`
// The gear's model name.
ModelName string `json:"model_name,omitempty"`
// The gear's frame type (bike only).
FrameType int32 `json:"frame_type,omitempty"`
// The gear's description.
Description string `json:"description,omitempty"`
}