strava3golang

package module
v0.0.0-...-9f57f30 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 30, 2023 License: Apache-2.0 Imports: 21 Imported by: 0

README

Golang bindings for Strava V3 API

This is the standard golang bindings for Strava's V3 API (current API as of 2023). This is made available by Strava via Swagger with no modifications here, but it was sufficiently difficult to get working that I thoughts I'd post it on github for others, along with an explanation for why I did it this way (see the Makefile for a simple description of "what" I did).

For general use feel free to require this repos in golang. I don't intend to update it in the future, but I also make no promises. If it breaks then your recourse will be to clone and revert this repository and update your requires to your own repository.

Strava uses the same string values in multiple enums. Golang, which has no built in support for enums, uses the value of these strings to generate static variable names. The variables from these different enums then collide and produce compiler errors. You can, of course, simply rename these variables to address the conflict. I instead used openapi-generator (compatible with Swagger 2 which is what Strava requires) with its -p enumClassPrefix=true option to do this for me. Openapi-generator complains that the provided swagger input is invalid, so I silence this with --skip-validate-spec.

To use this client you will first need to perform oauth2 authorization, create an http client with the oauth2 token, and assign this client into the strava HTTPClient struct. I use github.com/stevenpelley/oauth2-accesstoken-golang to create a token for development use.

See example/athlete for an example. This assumes you have the input oauth_client_config.json used in github.com/stevenpelley/oauth2-accesstoken-golang as well as the token.json that results. These files are both listed in .gitignore to prevent commiting secrets.

What follows is the README generated from the strava swagger itself.

Go API client for strava3golang

The Swagger 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.

Overview

This API client was generated by the OpenAPI Generator project. By using the OpenAPI-spec from a remote server, you can easily generate an API client.

  • API version: 3.0.0
  • Package version: 1.0.0
  • Build package: org.openapitools.codegen.languages.GoClientCodegen

Installation

Install the following dependencies:

go get github.com/stretchr/testify/assert
go get golang.org/x/oauth2
go get golang.org/x/net/context

Put the package under your project folder and add the following in import:

import strava3golang "github.com/stevenpelley/strava3golang"

To use a proxy, set the environment variable HTTP_PROXY:

os.Setenv("HTTP_PROXY", "http://proxy_name:proxy_port")

Configuration of Server URL

Default configuration comes with Servers field that contains server objects as defined in the OpenAPI specification.

Select Server Configuration

For using other server than the one defined on index 0 set context value sw.ContextServerIndex of type int.

ctx := context.WithValue(context.Background(), strava3golang.ContextServerIndex, 1)
Templated Server URL

Templated server URL is formatted using default variables from configuration or from context value sw.ContextServerVariables of type map[string]string.

ctx := context.WithValue(context.Background(), strava3golang.ContextServerVariables, map[string]string{
	"basePath": "v2",
})

Note, enum values are always validated and all unused variables are silently ignored.

URLs Configuration per Operation

Each operation can use different server URL defined using OperationServers map in the Configuration. An operation is uniquely identified by "{classname}Service.{nickname}" string. Similar rules for overriding default operation server index and variables applies by using sw.ContextOperationServerIndices and sw.ContextOperationServerVariables context maps.

ctx := context.WithValue(context.Background(), strava3golang.ContextOperationServerIndices, map[string]int{
	"{classname}Service.{nickname}": 2,
})
ctx = context.WithValue(context.Background(), strava3golang.ContextOperationServerVariables, map[string]map[string]string{
	"{classname}Service.{nickname}": {
		"port": "8443",
	},
})

Documentation for API Endpoints

All URIs are relative to https://www.strava.com/api/v3

Class Method HTTP request Description
ActivitiesAPI CreateActivity Post /activities Create an Activity
ActivitiesAPI GetActivityById Get /activities/{id} Get Activity
ActivitiesAPI GetCommentsByActivityId Get /activities/{id}/comments List Activity Comments
ActivitiesAPI GetKudoersByActivityId Get /activities/{id}/kudos List Activity Kudoers
ActivitiesAPI GetLapsByActivityId Get /activities/{id}/laps List Activity Laps
ActivitiesAPI GetLoggedInAthleteActivities Get /athlete/activities List Athlete Activities
ActivitiesAPI GetZonesByActivityId Get /activities/{id}/zones Get Activity Zones
ActivitiesAPI UpdateActivityById Put /activities/{id} Update Activity
AthletesAPI GetLoggedInAthlete Get /athlete Get Authenticated Athlete
AthletesAPI GetLoggedInAthleteZones Get /athlete/zones Get Zones
AthletesAPI GetStats Get /athletes/{id}/stats Get Athlete Stats
AthletesAPI UpdateLoggedInAthlete Put /athlete Update Athlete
ClubsAPI GetClubActivitiesById Get /clubs/{id}/activities List Club Activities
ClubsAPI GetClubAdminsById Get /clubs/{id}/admins List Club Administrators
ClubsAPI GetClubById Get /clubs/{id} Get Club
ClubsAPI GetClubMembersById Get /clubs/{id}/members List Club Members
ClubsAPI GetLoggedInAthleteClubs Get /athlete/clubs List Athlete Clubs
GearsAPI GetGearById Get /gear/{id} Get Equipment
RoutesAPI GetRouteAsGPX Get /routes/{id}/export_gpx Export Route GPX
RoutesAPI GetRouteAsTCX Get /routes/{id}/export_tcx Export Route TCX
RoutesAPI GetRouteById Get /routes/{id} Get Route
RoutesAPI GetRoutesByAthleteId Get /athletes/{id}/routes List Athlete Routes
SegmentEffortsAPI GetEffortsBySegmentId Get /segment_efforts List Segment Efforts
SegmentEffortsAPI GetSegmentEffortById Get /segment_efforts/{id} Get Segment Effort
SegmentsAPI ExploreSegments Get /segments/explore Explore segments
SegmentsAPI GetLoggedInAthleteStarredSegments Get /segments/starred List Starred Segments
SegmentsAPI GetSegmentById Get /segments/{id} Get Segment
SegmentsAPI StarSegment Put /segments/{id}/starred Star Segment
StreamsAPI GetActivityStreams Get /activities/{id}/streams Get Activity Streams
StreamsAPI GetRouteStreams Get /routes/{id}/streams Get Route Streams
StreamsAPI GetSegmentEffortStreams Get /segment_efforts/{id}/streams Get Segment Effort Streams
StreamsAPI GetSegmentStreams Get /segments/{id}/streams Get Segment Streams
UploadsAPI CreateUpload Post /uploads Upload Activity
UploadsAPI GetUploadById Get /uploads/{uploadId} Get Upload

Documentation For Models

Documentation For Authorization

Authentication schemes defined for the API:

strava_oauth
  • Type: OAuth
  • Flow: accessCode
  • Authorization URL: https://www.strava.com/api/v3/oauth/authorize
  • Scopes:
  • read: Read public segments, public routes, public profile data, public posts, public events, club feeds, and leaderboards
  • read_all: Read private routes, private segments, and private events for the user
  • profile:read_all: Read all profile information even if the user has set their profile visibility to Followers or Only You
  • profile:write: Update the user's weight and Functional Threshold Power (FTP), and access to star or unstar segments on their behalf
  • activity:read: Read the user's activity data for activities that are visible to Everyone and Followers, excluding privacy zone data
  • activity:read_all: The same access as activity:read, plus privacy zone data and access to read the user's activities with visibility set to Only You
  • activity:write: Access to create manual activities and uploads, and access to edit any activities that are visible to the app, based on activity read access level

Example

auth := context.WithValue(context.Background(), sw.ContextAccessToken, "ACCESSTOKENSTRING")
r, err := client.Service.Operation(auth, args)

Or via OAuth2 module to automatically refresh tokens and perform user authentication.

import "golang.org/x/oauth2"

/* Perform OAuth2 round trip request and obtain a token */

tokenSource := oauth2cfg.TokenSource(createContext(httpClient), &token)
auth := context.WithValue(oauth2.NoContext, sw.ContextOAuth2, tokenSource)
r, err := client.Service.Operation(auth, args)

Documentation for Utility Methods

Due to the fact that model structure members are all pointers, this package contains a number of utility functions to easily obtain pointers to values of basic types. Each of these functions takes a value of the given basic type and returns a pointer to it:

  • PtrBool
  • PtrInt
  • PtrInt32
  • PtrInt64
  • PtrFloat
  • PtrFloat32
  • PtrFloat64
  • PtrString
  • PtrTime

Author

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// ContextOAuth2 takes an oauth2.TokenSource as authentication for the request.
	ContextOAuth2 = contextKey("token")

	// ContextServerIndex uses a server configuration from the index.
	ContextServerIndex = contextKey("serverIndex")

	// ContextOperationServerIndices uses a server configuration from the index mapping.
	ContextOperationServerIndices = contextKey("serverOperationIndices")

	// ContextServerVariables overrides a server configuration variables.
	ContextServerVariables = contextKey("serverVariables")

	// ContextOperationServerVariables overrides a server configuration variables using operation specific values.
	ContextOperationServerVariables = contextKey("serverOperationVariables")
)
View Source
var AllowedActivityTypeEnumValues = []ActivityType{
	"AlpineSki",
	"BackcountrySki",
	"Canoeing",
	"Crossfit",
	"EBikeRide",
	"Elliptical",
	"Golf",
	"Handcycle",
	"Hike",
	"IceSkate",
	"InlineSkate",
	"Kayaking",
	"Kitesurf",
	"NordicSki",
	"Ride",
	"RockClimbing",
	"RollerSki",
	"Rowing",
	"Run",
	"Sail",
	"Skateboard",
	"Snowboard",
	"Snowshoe",
	"Soccer",
	"StairStepper",
	"StandUpPaddling",
	"Surfing",
	"Swim",
	"Velomobile",
	"VirtualRide",
	"VirtualRun",
	"Walk",
	"WeightTraining",
	"Wheelchair",
	"Windsurf",
	"Workout",
	"Yoga",
}

All allowed values of ActivityType enum

View Source
var AllowedSportTypeEnumValues = []SportType{
	"AlpineSki",
	"BackcountrySki",
	"Badminton",
	"Canoeing",
	"Crossfit",
	"EBikeRide",
	"Elliptical",
	"EMountainBikeRide",
	"Golf",
	"GravelRide",
	"Handcycle",
	"HighIntensityIntervalTraining",
	"Hike",
	"IceSkate",
	"InlineSkate",
	"Kayaking",
	"Kitesurf",
	"MountainBikeRide",
	"NordicSki",
	"Pickleball",
	"Pilates",
	"Racquetball",
	"Ride",
	"RockClimbing",
	"RollerSki",
	"Rowing",
	"Run",
	"Sail",
	"Skateboard",
	"Snowboard",
	"Snowshoe",
	"Soccer",
	"Squash",
	"StairStepper",
	"StandUpPaddling",
	"Surfing",
	"Swim",
	"TableTennis",
	"Tennis",
	"TrailRun",
	"Velomobile",
	"VirtualRide",
	"VirtualRow",
	"VirtualRun",
	"Walk",
	"WeightTraining",
	"Wheelchair",
	"Windsurf",
	"Workout",
	"Yoga",
}

All allowed values of SportType enum

Functions

func CacheExpires

func CacheExpires(r *http.Response) time.Time

CacheExpires helper function to determine remaining time before repeating a request.

func IsNil

func IsNil(i interface{}) bool

IsNil checks if an input is nil

func PtrBool

func PtrBool(v bool) *bool

PtrBool is a helper routine that returns a pointer to given boolean value.

func PtrFloat32

func PtrFloat32(v float32) *float32

PtrFloat32 is a helper routine that returns a pointer to given float value.

func PtrFloat64

func PtrFloat64(v float64) *float64

PtrFloat64 is a helper routine that returns a pointer to given float value.

func PtrInt

func PtrInt(v int) *int

PtrInt is a helper routine that returns a pointer to given integer value.

func PtrInt32

func PtrInt32(v int32) *int32

PtrInt32 is a helper routine that returns a pointer to given integer value.

func PtrInt64

func PtrInt64(v int64) *int64

PtrInt64 is a helper routine that returns a pointer to given integer value.

func PtrString

func PtrString(v string) *string

PtrString is a helper routine that returns a pointer to given string value.

func PtrTime

func PtrTime(v time.Time) *time.Time

PtrTime is helper routine that returns a pointer to given Time value.

Types

type APIClient

type APIClient struct {
	ActivitiesAPI *ActivitiesAPIService

	AthletesAPI *AthletesAPIService

	ClubsAPI *ClubsAPIService

	GearsAPI *GearsAPIService

	RoutesAPI *RoutesAPIService

	SegmentEffortsAPI *SegmentEffortsAPIService

	SegmentsAPI *SegmentsAPIService

	StreamsAPI *StreamsAPIService

	UploadsAPI *UploadsAPIService
	// contains filtered or unexported fields
}

APIClient manages communication with the Strava API v3 API v3.0.0 In most cases there should be only one, shared, APIClient.

func NewAPIClient

func NewAPIClient(cfg *Configuration) *APIClient

NewAPIClient creates a new API client. Requires a userAgent string describing your application. optionally a custom http.Client to allow for advanced features such as caching.

func (*APIClient) GetConfig

func (c *APIClient) GetConfig() *Configuration

Allow modification of underlying config for alternate implementations and testing Caution: modifying the configuration while live can cause data races and potentially unwanted behavior

type APIKey

type APIKey struct {
	Key    string
	Prefix string
}

APIKey provides API key based authentication to a request passed via context using ContextAPIKey

type APIResponse

type APIResponse struct {
	*http.Response `json:"-"`
	Message        string `json:"message,omitempty"`
	// Operation is the name of the OpenAPI operation.
	Operation string `json:"operation,omitempty"`
	// RequestURL is the request URL. This value is always available, even if the
	// embedded *http.Response is nil.
	RequestURL string `json:"url,omitempty"`
	// Method is the HTTP method used for the request.  This value is always
	// available, even if the embedded *http.Response is nil.
	Method string `json:"method,omitempty"`
	// Payload holds the contents of the response body (which may be nil or empty).
	// This is provided here as the raw response.Body() reader will have already
	// been drained.
	Payload []byte `json:"-"`
}

APIResponse stores the API response returned by the server.

func NewAPIResponse

func NewAPIResponse(r *http.Response) *APIResponse

NewAPIResponse returns a new APIResponse object.

func NewAPIResponseWithError

func NewAPIResponseWithError(errorMessage string) *APIResponse

NewAPIResponseWithError returns a new APIResponse object with the provided error message.

type ActivitiesAPIService

type ActivitiesAPIService service

ActivitiesAPIService ActivitiesAPI service

func (*ActivitiesAPIService) CreateActivity

CreateActivity Create an Activity

Creates a manual activity for an athlete, requires activity:write scope.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiCreateActivityRequest

func (*ActivitiesAPIService) CreateActivityExecute

Execute executes the request

@return DetailedActivity

func (*ActivitiesAPIService) GetActivityById

GetActivityById Get Activity

Returns the given activity that is owned by the authenticated athlete. Requires activity:read for Everyone and Followers activities. Requires activity:read_all for Only Me activities.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id The identifier of the activity.
@return ApiGetActivityByIdRequest

func (*ActivitiesAPIService) GetActivityByIdExecute

Execute executes the request

@return DetailedActivity

func (*ActivitiesAPIService) GetCommentsByActivityId

func (a *ActivitiesAPIService) GetCommentsByActivityId(ctx context.Context, id int64) ApiGetCommentsByActivityIdRequest

GetCommentsByActivityId List Activity Comments

Returns the comments on the given activity. Requires activity:read for Everyone and Followers activities. Requires activity:read_all for Only Me activities.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id The identifier of the activity.
@return ApiGetCommentsByActivityIdRequest

func (*ActivitiesAPIService) GetCommentsByActivityIdExecute

func (a *ActivitiesAPIService) GetCommentsByActivityIdExecute(r ApiGetCommentsByActivityIdRequest) ([]Comment, *http.Response, error)

Execute executes the request

@return []Comment

func (*ActivitiesAPIService) GetKudoersByActivityId

func (a *ActivitiesAPIService) GetKudoersByActivityId(ctx context.Context, id int64) ApiGetKudoersByActivityIdRequest

GetKudoersByActivityId List Activity Kudoers

Returns the athletes who kudoed an activity identified by an identifier. Requires activity:read for Everyone and Followers activities. Requires activity:read_all for Only Me activities.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id The identifier of the activity.
@return ApiGetKudoersByActivityIdRequest

func (*ActivitiesAPIService) GetKudoersByActivityIdExecute

func (a *ActivitiesAPIService) GetKudoersByActivityIdExecute(r ApiGetKudoersByActivityIdRequest) ([]SummaryAthlete, *http.Response, error)

Execute executes the request

@return []SummaryAthlete

func (*ActivitiesAPIService) GetLapsByActivityId

GetLapsByActivityId List Activity Laps

Returns the laps of an activity identified by an identifier. Requires activity:read for Everyone and Followers activities. Requires activity:read_all for Only Me activities.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id The identifier of the activity.
@return ApiGetLapsByActivityIdRequest

func (*ActivitiesAPIService) GetLapsByActivityIdExecute

func (a *ActivitiesAPIService) GetLapsByActivityIdExecute(r ApiGetLapsByActivityIdRequest) ([]Lap, *http.Response, error)

Execute executes the request

@return []Lap

func (*ActivitiesAPIService) GetLoggedInAthleteActivities

func (a *ActivitiesAPIService) GetLoggedInAthleteActivities(ctx context.Context) ApiGetLoggedInAthleteActivitiesRequest

GetLoggedInAthleteActivities List Athlete Activities

Returns the activities of an athlete for a specific identifier. Requires activity:read. Only Me activities will be filtered out unless requested by a token with activity:read_all.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiGetLoggedInAthleteActivitiesRequest

func (*ActivitiesAPIService) GetLoggedInAthleteActivitiesExecute

func (a *ActivitiesAPIService) GetLoggedInAthleteActivitiesExecute(r ApiGetLoggedInAthleteActivitiesRequest) ([]SummaryActivity, *http.Response, error)

Execute executes the request

@return []SummaryActivity

func (*ActivitiesAPIService) GetZonesByActivityId

func (a *ActivitiesAPIService) GetZonesByActivityId(ctx context.Context, id int64) ApiGetZonesByActivityIdRequest

GetZonesByActivityId Get Activity Zones

Summit Feature. Returns the zones of a given activity. Requires activity:read for Everyone and Followers activities. Requires activity:read_all for Only Me activities.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id The identifier of the activity.
@return ApiGetZonesByActivityIdRequest

func (*ActivitiesAPIService) GetZonesByActivityIdExecute

func (a *ActivitiesAPIService) GetZonesByActivityIdExecute(r ApiGetZonesByActivityIdRequest) ([]ActivityZone, *http.Response, error)

Execute executes the request

@return []ActivityZone

func (*ActivitiesAPIService) UpdateActivityById

UpdateActivityById Update Activity

Updates the given activity that is owned by the authenticated athlete. Requires activity:write. Also requires activity:read_all in order to update Only Me activities

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id The identifier of the activity.
@return ApiUpdateActivityByIdRequest

func (*ActivitiesAPIService) UpdateActivityByIdExecute

Execute executes the request

@return DetailedActivity

type ActivityStats

type ActivityStats struct {
	// The longest distance ridden by the athlete.
	BiggestRideDistance *float64 `json:"biggest_ride_distance,omitempty"`
	// The highest climb ridden by the athlete.
	BiggestClimbElevationGain *float64       `json:"biggest_climb_elevation_gain,omitempty"`
	RecentRideTotals          *ActivityTotal `json:"recent_ride_totals,omitempty"`
	RecentRunTotals           *ActivityTotal `json:"recent_run_totals,omitempty"`
	RecentSwimTotals          *ActivityTotal `json:"recent_swim_totals,omitempty"`
	YtdRideTotals             *ActivityTotal `json:"ytd_ride_totals,omitempty"`
	YtdRunTotals              *ActivityTotal `json:"ytd_run_totals,omitempty"`
	YtdSwimTotals             *ActivityTotal `json:"ytd_swim_totals,omitempty"`
	AllRideTotals             *ActivityTotal `json:"all_ride_totals,omitempty"`
	AllRunTotals              *ActivityTotal `json:"all_run_totals,omitempty"`
	AllSwimTotals             *ActivityTotal `json:"all_swim_totals,omitempty"`
}

ActivityStats A set of rolled-up statistics and totals for an athlete

func NewActivityStats

func NewActivityStats() *ActivityStats

NewActivityStats instantiates a new ActivityStats object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewActivityStatsWithDefaults

func NewActivityStatsWithDefaults() *ActivityStats

NewActivityStatsWithDefaults instantiates a new ActivityStats object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*ActivityStats) GetAllRideTotals

func (o *ActivityStats) GetAllRideTotals() ActivityTotal

GetAllRideTotals returns the AllRideTotals field value if set, zero value otherwise.

func (*ActivityStats) GetAllRideTotalsOk

func (o *ActivityStats) GetAllRideTotalsOk() (*ActivityTotal, bool)

GetAllRideTotalsOk returns a tuple with the AllRideTotals field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ActivityStats) GetAllRunTotals

func (o *ActivityStats) GetAllRunTotals() ActivityTotal

GetAllRunTotals returns the AllRunTotals field value if set, zero value otherwise.

func (*ActivityStats) GetAllRunTotalsOk

func (o *ActivityStats) GetAllRunTotalsOk() (*ActivityTotal, bool)

GetAllRunTotalsOk returns a tuple with the AllRunTotals field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ActivityStats) GetAllSwimTotals

func (o *ActivityStats) GetAllSwimTotals() ActivityTotal

GetAllSwimTotals returns the AllSwimTotals field value if set, zero value otherwise.

func (*ActivityStats) GetAllSwimTotalsOk

func (o *ActivityStats) GetAllSwimTotalsOk() (*ActivityTotal, bool)

GetAllSwimTotalsOk returns a tuple with the AllSwimTotals field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ActivityStats) GetBiggestClimbElevationGain

func (o *ActivityStats) GetBiggestClimbElevationGain() float64

GetBiggestClimbElevationGain returns the BiggestClimbElevationGain field value if set, zero value otherwise.

func (*ActivityStats) GetBiggestClimbElevationGainOk

func (o *ActivityStats) GetBiggestClimbElevationGainOk() (*float64, bool)

GetBiggestClimbElevationGainOk returns a tuple with the BiggestClimbElevationGain field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ActivityStats) GetBiggestRideDistance

func (o *ActivityStats) GetBiggestRideDistance() float64

GetBiggestRideDistance returns the BiggestRideDistance field value if set, zero value otherwise.

func (*ActivityStats) GetBiggestRideDistanceOk

func (o *ActivityStats) GetBiggestRideDistanceOk() (*float64, bool)

GetBiggestRideDistanceOk returns a tuple with the BiggestRideDistance field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ActivityStats) GetRecentRideTotals

func (o *ActivityStats) GetRecentRideTotals() ActivityTotal

GetRecentRideTotals returns the RecentRideTotals field value if set, zero value otherwise.

func (*ActivityStats) GetRecentRideTotalsOk

func (o *ActivityStats) GetRecentRideTotalsOk() (*ActivityTotal, bool)

GetRecentRideTotalsOk returns a tuple with the RecentRideTotals field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ActivityStats) GetRecentRunTotals

func (o *ActivityStats) GetRecentRunTotals() ActivityTotal

GetRecentRunTotals returns the RecentRunTotals field value if set, zero value otherwise.

func (*ActivityStats) GetRecentRunTotalsOk

func (o *ActivityStats) GetRecentRunTotalsOk() (*ActivityTotal, bool)

GetRecentRunTotalsOk returns a tuple with the RecentRunTotals field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ActivityStats) GetRecentSwimTotals

func (o *ActivityStats) GetRecentSwimTotals() ActivityTotal

GetRecentSwimTotals returns the RecentSwimTotals field value if set, zero value otherwise.

func (*ActivityStats) GetRecentSwimTotalsOk

func (o *ActivityStats) GetRecentSwimTotalsOk() (*ActivityTotal, bool)

GetRecentSwimTotalsOk returns a tuple with the RecentSwimTotals field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ActivityStats) GetYtdRideTotals

func (o *ActivityStats) GetYtdRideTotals() ActivityTotal

GetYtdRideTotals returns the YtdRideTotals field value if set, zero value otherwise.

func (*ActivityStats) GetYtdRideTotalsOk

func (o *ActivityStats) GetYtdRideTotalsOk() (*ActivityTotal, bool)

GetYtdRideTotalsOk returns a tuple with the YtdRideTotals field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ActivityStats) GetYtdRunTotals

func (o *ActivityStats) GetYtdRunTotals() ActivityTotal

GetYtdRunTotals returns the YtdRunTotals field value if set, zero value otherwise.

func (*ActivityStats) GetYtdRunTotalsOk

func (o *ActivityStats) GetYtdRunTotalsOk() (*ActivityTotal, bool)

GetYtdRunTotalsOk returns a tuple with the YtdRunTotals field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ActivityStats) GetYtdSwimTotals

func (o *ActivityStats) GetYtdSwimTotals() ActivityTotal

GetYtdSwimTotals returns the YtdSwimTotals field value if set, zero value otherwise.

func (*ActivityStats) GetYtdSwimTotalsOk

func (o *ActivityStats) GetYtdSwimTotalsOk() (*ActivityTotal, bool)

GetYtdSwimTotalsOk returns a tuple with the YtdSwimTotals field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ActivityStats) HasAllRideTotals

func (o *ActivityStats) HasAllRideTotals() bool

HasAllRideTotals returns a boolean if a field has been set.

func (*ActivityStats) HasAllRunTotals

func (o *ActivityStats) HasAllRunTotals() bool

HasAllRunTotals returns a boolean if a field has been set.

func (*ActivityStats) HasAllSwimTotals

func (o *ActivityStats) HasAllSwimTotals() bool

HasAllSwimTotals returns a boolean if a field has been set.

func (*ActivityStats) HasBiggestClimbElevationGain

func (o *ActivityStats) HasBiggestClimbElevationGain() bool

HasBiggestClimbElevationGain returns a boolean if a field has been set.

func (*ActivityStats) HasBiggestRideDistance

func (o *ActivityStats) HasBiggestRideDistance() bool

HasBiggestRideDistance returns a boolean if a field has been set.

func (*ActivityStats) HasRecentRideTotals

func (o *ActivityStats) HasRecentRideTotals() bool

HasRecentRideTotals returns a boolean if a field has been set.

func (*ActivityStats) HasRecentRunTotals

func (o *ActivityStats) HasRecentRunTotals() bool

HasRecentRunTotals returns a boolean if a field has been set.

func (*ActivityStats) HasRecentSwimTotals

func (o *ActivityStats) HasRecentSwimTotals() bool

HasRecentSwimTotals returns a boolean if a field has been set.

func (*ActivityStats) HasYtdRideTotals

func (o *ActivityStats) HasYtdRideTotals() bool

HasYtdRideTotals returns a boolean if a field has been set.

func (*ActivityStats) HasYtdRunTotals

func (o *ActivityStats) HasYtdRunTotals() bool

HasYtdRunTotals returns a boolean if a field has been set.

func (*ActivityStats) HasYtdSwimTotals

func (o *ActivityStats) HasYtdSwimTotals() bool

HasYtdSwimTotals returns a boolean if a field has been set.

func (ActivityStats) MarshalJSON

func (o ActivityStats) MarshalJSON() ([]byte, error)

func (*ActivityStats) SetAllRideTotals

func (o *ActivityStats) SetAllRideTotals(v ActivityTotal)

SetAllRideTotals gets a reference to the given ActivityTotal and assigns it to the AllRideTotals field.

func (*ActivityStats) SetAllRunTotals

func (o *ActivityStats) SetAllRunTotals(v ActivityTotal)

SetAllRunTotals gets a reference to the given ActivityTotal and assigns it to the AllRunTotals field.

func (*ActivityStats) SetAllSwimTotals

func (o *ActivityStats) SetAllSwimTotals(v ActivityTotal)

SetAllSwimTotals gets a reference to the given ActivityTotal and assigns it to the AllSwimTotals field.

func (*ActivityStats) SetBiggestClimbElevationGain

func (o *ActivityStats) SetBiggestClimbElevationGain(v float64)

SetBiggestClimbElevationGain gets a reference to the given float64 and assigns it to the BiggestClimbElevationGain field.

func (*ActivityStats) SetBiggestRideDistance

func (o *ActivityStats) SetBiggestRideDistance(v float64)

SetBiggestRideDistance gets a reference to the given float64 and assigns it to the BiggestRideDistance field.

func (*ActivityStats) SetRecentRideTotals

func (o *ActivityStats) SetRecentRideTotals(v ActivityTotal)

SetRecentRideTotals gets a reference to the given ActivityTotal and assigns it to the RecentRideTotals field.

func (*ActivityStats) SetRecentRunTotals

func (o *ActivityStats) SetRecentRunTotals(v ActivityTotal)

SetRecentRunTotals gets a reference to the given ActivityTotal and assigns it to the RecentRunTotals field.

func (*ActivityStats) SetRecentSwimTotals

func (o *ActivityStats) SetRecentSwimTotals(v ActivityTotal)

SetRecentSwimTotals gets a reference to the given ActivityTotal and assigns it to the RecentSwimTotals field.

func (*ActivityStats) SetYtdRideTotals

func (o *ActivityStats) SetYtdRideTotals(v ActivityTotal)

SetYtdRideTotals gets a reference to the given ActivityTotal and assigns it to the YtdRideTotals field.

func (*ActivityStats) SetYtdRunTotals

func (o *ActivityStats) SetYtdRunTotals(v ActivityTotal)

SetYtdRunTotals gets a reference to the given ActivityTotal and assigns it to the YtdRunTotals field.

func (*ActivityStats) SetYtdSwimTotals

func (o *ActivityStats) SetYtdSwimTotals(v ActivityTotal)

SetYtdSwimTotals gets a reference to the given ActivityTotal and assigns it to the YtdSwimTotals field.

func (ActivityStats) ToMap

func (o ActivityStats) ToMap() (map[string]interface{}, error)

type ActivityTotal

type ActivityTotal struct {
	// The number of activities considered in this total.
	Count *int32 `json:"count,omitempty"`
	// The total distance covered by the considered activities.
	Distance *float32 `json:"distance,omitempty"`
	// The total moving time of the considered activities.
	MovingTime *int32 `json:"moving_time,omitempty"`
	// The total elapsed time of the considered activities.
	ElapsedTime *int32 `json:"elapsed_time,omitempty"`
	// The total elevation gain of the considered activities.
	ElevationGain *float32 `json:"elevation_gain,omitempty"`
	// The total number of achievements of the considered activities.
	AchievementCount *int32 `json:"achievement_count,omitempty"`
}

ActivityTotal A roll-up of metrics pertaining to a set of activities. Values are in seconds and meters.

func NewActivityTotal

func NewActivityTotal() *ActivityTotal

NewActivityTotal instantiates a new ActivityTotal object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewActivityTotalWithDefaults

func NewActivityTotalWithDefaults() *ActivityTotal

NewActivityTotalWithDefaults instantiates a new ActivityTotal object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*ActivityTotal) GetAchievementCount

func (o *ActivityTotal) GetAchievementCount() int32

GetAchievementCount returns the AchievementCount field value if set, zero value otherwise.

func (*ActivityTotal) GetAchievementCountOk

func (o *ActivityTotal) GetAchievementCountOk() (*int32, bool)

GetAchievementCountOk returns a tuple with the AchievementCount field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ActivityTotal) GetCount

func (o *ActivityTotal) GetCount() int32

GetCount returns the Count field value if set, zero value otherwise.

func (*ActivityTotal) GetCountOk

func (o *ActivityTotal) GetCountOk() (*int32, bool)

GetCountOk returns a tuple with the Count field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ActivityTotal) GetDistance

func (o *ActivityTotal) GetDistance() float32

GetDistance returns the Distance field value if set, zero value otherwise.

func (*ActivityTotal) GetDistanceOk

func (o *ActivityTotal) GetDistanceOk() (*float32, bool)

GetDistanceOk returns a tuple with the Distance field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ActivityTotal) GetElapsedTime

func (o *ActivityTotal) GetElapsedTime() int32

GetElapsedTime returns the ElapsedTime field value if set, zero value otherwise.

func (*ActivityTotal) GetElapsedTimeOk

func (o *ActivityTotal) GetElapsedTimeOk() (*int32, bool)

GetElapsedTimeOk returns a tuple with the ElapsedTime field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ActivityTotal) GetElevationGain

func (o *ActivityTotal) GetElevationGain() float32

GetElevationGain returns the ElevationGain field value if set, zero value otherwise.

func (*ActivityTotal) GetElevationGainOk

func (o *ActivityTotal) GetElevationGainOk() (*float32, bool)

GetElevationGainOk returns a tuple with the ElevationGain field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ActivityTotal) GetMovingTime

func (o *ActivityTotal) GetMovingTime() int32

GetMovingTime returns the MovingTime field value if set, zero value otherwise.

func (*ActivityTotal) GetMovingTimeOk

func (o *ActivityTotal) GetMovingTimeOk() (*int32, bool)

GetMovingTimeOk returns a tuple with the MovingTime field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ActivityTotal) HasAchievementCount

func (o *ActivityTotal) HasAchievementCount() bool

HasAchievementCount returns a boolean if a field has been set.

func (*ActivityTotal) HasCount

func (o *ActivityTotal) HasCount() bool

HasCount returns a boolean if a field has been set.

func (*ActivityTotal) HasDistance

func (o *ActivityTotal) HasDistance() bool

HasDistance returns a boolean if a field has been set.

func (*ActivityTotal) HasElapsedTime

func (o *ActivityTotal) HasElapsedTime() bool

HasElapsedTime returns a boolean if a field has been set.

func (*ActivityTotal) HasElevationGain

func (o *ActivityTotal) HasElevationGain() bool

HasElevationGain returns a boolean if a field has been set.

func (*ActivityTotal) HasMovingTime

func (o *ActivityTotal) HasMovingTime() bool

HasMovingTime returns a boolean if a field has been set.

func (ActivityTotal) MarshalJSON

func (o ActivityTotal) MarshalJSON() ([]byte, error)

func (*ActivityTotal) SetAchievementCount

func (o *ActivityTotal) SetAchievementCount(v int32)

SetAchievementCount gets a reference to the given int32 and assigns it to the AchievementCount field.

func (*ActivityTotal) SetCount

func (o *ActivityTotal) SetCount(v int32)

SetCount gets a reference to the given int32 and assigns it to the Count field.

func (*ActivityTotal) SetDistance

func (o *ActivityTotal) SetDistance(v float32)

SetDistance gets a reference to the given float32 and assigns it to the Distance field.

func (*ActivityTotal) SetElapsedTime

func (o *ActivityTotal) SetElapsedTime(v int32)

SetElapsedTime gets a reference to the given int32 and assigns it to the ElapsedTime field.

func (*ActivityTotal) SetElevationGain

func (o *ActivityTotal) SetElevationGain(v float32)

SetElevationGain gets a reference to the given float32 and assigns it to the ElevationGain field.

func (*ActivityTotal) SetMovingTime

func (o *ActivityTotal) SetMovingTime(v int32)

SetMovingTime gets a reference to the given int32 and assigns it to the MovingTime field.

func (ActivityTotal) ToMap

func (o ActivityTotal) ToMap() (map[string]interface{}, error)

type ActivityType

type ActivityType string

ActivityType An enumeration of the types an activity may have. Note that this enumeration does not include new sport types (e.g. MountainBikeRide, EMountainBikeRide), activities with these sport types will have the corresponding activity type (e.g. Ride for MountainBikeRide, EBikeRide for EMountainBikeRide)

const (
	ACTIVITYTYPE_ALPINE_SKI        ActivityType = "AlpineSki"
	ACTIVITYTYPE_BACKCOUNTRY_SKI   ActivityType = "BackcountrySki"
	ACTIVITYTYPE_CANOEING          ActivityType = "Canoeing"
	ACTIVITYTYPE_CROSSFIT          ActivityType = "Crossfit"
	ACTIVITYTYPE_E_BIKE_RIDE       ActivityType = "EBikeRide"
	ACTIVITYTYPE_ELLIPTICAL        ActivityType = "Elliptical"
	ACTIVITYTYPE_GOLF              ActivityType = "Golf"
	ACTIVITYTYPE_HANDCYCLE         ActivityType = "Handcycle"
	ACTIVITYTYPE_HIKE              ActivityType = "Hike"
	ACTIVITYTYPE_ICE_SKATE         ActivityType = "IceSkate"
	ACTIVITYTYPE_INLINE_SKATE      ActivityType = "InlineSkate"
	ACTIVITYTYPE_KAYAKING          ActivityType = "Kayaking"
	ACTIVITYTYPE_KITESURF          ActivityType = "Kitesurf"
	ACTIVITYTYPE_NORDIC_SKI        ActivityType = "NordicSki"
	ACTIVITYTYPE_RIDE              ActivityType = "Ride"
	ACTIVITYTYPE_ROCK_CLIMBING     ActivityType = "RockClimbing"
	ACTIVITYTYPE_ROLLER_SKI        ActivityType = "RollerSki"
	ACTIVITYTYPE_ROWING            ActivityType = "Rowing"
	ACTIVITYTYPE_RUN               ActivityType = "Run"
	ACTIVITYTYPE_SAIL              ActivityType = "Sail"
	ACTIVITYTYPE_SKATEBOARD        ActivityType = "Skateboard"
	ACTIVITYTYPE_SNOWBOARD         ActivityType = "Snowboard"
	ACTIVITYTYPE_SNOWSHOE          ActivityType = "Snowshoe"
	ACTIVITYTYPE_SOCCER            ActivityType = "Soccer"
	ACTIVITYTYPE_STAIR_STEPPER     ActivityType = "StairStepper"
	ACTIVITYTYPE_STAND_UP_PADDLING ActivityType = "StandUpPaddling"
	ACTIVITYTYPE_SURFING           ActivityType = "Surfing"
	ACTIVITYTYPE_SWIM              ActivityType = "Swim"
	ACTIVITYTYPE_VELOMOBILE        ActivityType = "Velomobile"
	ACTIVITYTYPE_VIRTUAL_RIDE      ActivityType = "VirtualRide"
	ACTIVITYTYPE_VIRTUAL_RUN       ActivityType = "VirtualRun"
	ACTIVITYTYPE_WALK              ActivityType = "Walk"
	ACTIVITYTYPE_WEIGHT_TRAINING   ActivityType = "WeightTraining"
	ACTIVITYTYPE_WHEELCHAIR        ActivityType = "Wheelchair"
	ACTIVITYTYPE_WINDSURF          ActivityType = "Windsurf"
	ACTIVITYTYPE_WORKOUT           ActivityType = "Workout"
	ACTIVITYTYPE_YOGA              ActivityType = "Yoga"
)

List of ActivityType

func NewActivityTypeFromValue

func NewActivityTypeFromValue(v string) (*ActivityType, error)

NewActivityTypeFromValue returns a pointer to a valid ActivityType for the value passed as argument, or an error if the value passed is not allowed by the enum

func (ActivityType) IsValid

func (v ActivityType) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise

func (ActivityType) Ptr

func (v ActivityType) Ptr() *ActivityType

Ptr returns reference to ActivityType value

func (*ActivityType) UnmarshalJSON

func (v *ActivityType) UnmarshalJSON(src []byte) error

type ActivityZone

type ActivityZone struct {
	Score *int32 `json:"score,omitempty"`
	// Stores the exclusive ranges representing zones and the time spent in each.
	DistributionBuckets []TimedZoneRange `json:"distribution_buckets,omitempty"`
	Type                *string          `json:"type,omitempty"`
	SensorBased         *bool            `json:"sensor_based,omitempty"`
	Points              *int32           `json:"points,omitempty"`
	CustomZones         *bool            `json:"custom_zones,omitempty"`
	Max                 *int32           `json:"max,omitempty"`
}

ActivityZone struct for ActivityZone

func NewActivityZone

func NewActivityZone() *ActivityZone

NewActivityZone instantiates a new ActivityZone object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewActivityZoneWithDefaults

func NewActivityZoneWithDefaults() *ActivityZone

NewActivityZoneWithDefaults instantiates a new ActivityZone object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*ActivityZone) GetCustomZones

func (o *ActivityZone) GetCustomZones() bool

GetCustomZones returns the CustomZones field value if set, zero value otherwise.

func (*ActivityZone) GetCustomZonesOk

func (o *ActivityZone) GetCustomZonesOk() (*bool, bool)

GetCustomZonesOk returns a tuple with the CustomZones field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ActivityZone) GetDistributionBuckets

func (o *ActivityZone) GetDistributionBuckets() []TimedZoneRange

GetDistributionBuckets returns the DistributionBuckets field value if set, zero value otherwise.

func (*ActivityZone) GetDistributionBucketsOk

func (o *ActivityZone) GetDistributionBucketsOk() ([]TimedZoneRange, bool)

GetDistributionBucketsOk returns a tuple with the DistributionBuckets field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ActivityZone) GetMax

func (o *ActivityZone) GetMax() int32

GetMax returns the Max field value if set, zero value otherwise.

func (*ActivityZone) GetMaxOk

func (o *ActivityZone) GetMaxOk() (*int32, bool)

GetMaxOk returns a tuple with the Max field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ActivityZone) GetPoints

func (o *ActivityZone) GetPoints() int32

GetPoints returns the Points field value if set, zero value otherwise.

func (*ActivityZone) GetPointsOk

func (o *ActivityZone) GetPointsOk() (*int32, bool)

GetPointsOk returns a tuple with the Points field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ActivityZone) GetScore

func (o *ActivityZone) GetScore() int32

GetScore returns the Score field value if set, zero value otherwise.

func (*ActivityZone) GetScoreOk

func (o *ActivityZone) GetScoreOk() (*int32, bool)

GetScoreOk returns a tuple with the Score field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ActivityZone) GetSensorBased

func (o *ActivityZone) GetSensorBased() bool

GetSensorBased returns the SensorBased field value if set, zero value otherwise.

func (*ActivityZone) GetSensorBasedOk

func (o *ActivityZone) GetSensorBasedOk() (*bool, bool)

GetSensorBasedOk returns a tuple with the SensorBased field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ActivityZone) GetType

func (o *ActivityZone) GetType() string

GetType returns the Type field value if set, zero value otherwise.

func (*ActivityZone) GetTypeOk

func (o *ActivityZone) GetTypeOk() (*string, bool)

GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ActivityZone) HasCustomZones

func (o *ActivityZone) HasCustomZones() bool

HasCustomZones returns a boolean if a field has been set.

func (*ActivityZone) HasDistributionBuckets

func (o *ActivityZone) HasDistributionBuckets() bool

HasDistributionBuckets returns a boolean if a field has been set.

func (*ActivityZone) HasMax

func (o *ActivityZone) HasMax() bool

HasMax returns a boolean if a field has been set.

func (*ActivityZone) HasPoints

func (o *ActivityZone) HasPoints() bool

HasPoints returns a boolean if a field has been set.

func (*ActivityZone) HasScore

func (o *ActivityZone) HasScore() bool

HasScore returns a boolean if a field has been set.

func (*ActivityZone) HasSensorBased

func (o *ActivityZone) HasSensorBased() bool

HasSensorBased returns a boolean if a field has been set.

func (*ActivityZone) HasType

func (o *ActivityZone) HasType() bool

HasType returns a boolean if a field has been set.

func (ActivityZone) MarshalJSON

func (o ActivityZone) MarshalJSON() ([]byte, error)

func (*ActivityZone) SetCustomZones

func (o *ActivityZone) SetCustomZones(v bool)

SetCustomZones gets a reference to the given bool and assigns it to the CustomZones field.

func (*ActivityZone) SetDistributionBuckets

func (o *ActivityZone) SetDistributionBuckets(v []TimedZoneRange)

SetDistributionBuckets gets a reference to the given []TimedZoneRange and assigns it to the DistributionBuckets field.

func (*ActivityZone) SetMax

func (o *ActivityZone) SetMax(v int32)

SetMax gets a reference to the given int32 and assigns it to the Max field.

func (*ActivityZone) SetPoints

func (o *ActivityZone) SetPoints(v int32)

SetPoints gets a reference to the given int32 and assigns it to the Points field.

func (*ActivityZone) SetScore

func (o *ActivityZone) SetScore(v int32)

SetScore gets a reference to the given int32 and assigns it to the Score field.

func (*ActivityZone) SetSensorBased

func (o *ActivityZone) SetSensorBased(v bool)

SetSensorBased gets a reference to the given bool and assigns it to the SensorBased field.

func (*ActivityZone) SetType

func (o *ActivityZone) SetType(v string)

SetType gets a reference to the given string and assigns it to the Type field.

func (ActivityZone) ToMap

func (o ActivityZone) ToMap() (map[string]interface{}, error)

type AltitudeStream

type AltitudeStream struct {
	// The number of data points in this stream
	OriginalSize *int32 `json:"original_size,omitempty"`
	// The level of detail (sampling) in which this stream was returned
	Resolution *string `json:"resolution,omitempty"`
	// The base series used in the case the stream was downsampled
	SeriesType *string `json:"series_type,omitempty"`
	// The sequence of altitude values for this stream, in meters
	Data []float32 `json:"data,omitempty"`
}

AltitudeStream struct for AltitudeStream

func NewAltitudeStream

func NewAltitudeStream() *AltitudeStream

NewAltitudeStream instantiates a new AltitudeStream object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewAltitudeStreamWithDefaults

func NewAltitudeStreamWithDefaults() *AltitudeStream

NewAltitudeStreamWithDefaults instantiates a new AltitudeStream object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*AltitudeStream) GetData

func (o *AltitudeStream) GetData() []float32

GetData returns the Data field value if set, zero value otherwise.

func (*AltitudeStream) GetDataOk

func (o *AltitudeStream) GetDataOk() ([]float32, bool)

GetDataOk returns a tuple with the Data field value if set, nil otherwise and a boolean to check if the value has been set.

func (*AltitudeStream) GetOriginalSize

func (o *AltitudeStream) GetOriginalSize() int32

GetOriginalSize returns the OriginalSize field value if set, zero value otherwise.

func (*AltitudeStream) GetOriginalSizeOk

func (o *AltitudeStream) GetOriginalSizeOk() (*int32, bool)

GetOriginalSizeOk returns a tuple with the OriginalSize field value if set, nil otherwise and a boolean to check if the value has been set.

func (*AltitudeStream) GetResolution

func (o *AltitudeStream) GetResolution() string

GetResolution returns the Resolution field value if set, zero value otherwise.

func (*AltitudeStream) GetResolutionOk

func (o *AltitudeStream) GetResolutionOk() (*string, bool)

GetResolutionOk returns a tuple with the Resolution field value if set, nil otherwise and a boolean to check if the value has been set.

func (*AltitudeStream) GetSeriesType

func (o *AltitudeStream) GetSeriesType() string

GetSeriesType returns the SeriesType field value if set, zero value otherwise.

func (*AltitudeStream) GetSeriesTypeOk

func (o *AltitudeStream) GetSeriesTypeOk() (*string, bool)

GetSeriesTypeOk returns a tuple with the SeriesType field value if set, nil otherwise and a boolean to check if the value has been set.

func (*AltitudeStream) HasData

func (o *AltitudeStream) HasData() bool

HasData returns a boolean if a field has been set.

func (*AltitudeStream) HasOriginalSize

func (o *AltitudeStream) HasOriginalSize() bool

HasOriginalSize returns a boolean if a field has been set.

func (*AltitudeStream) HasResolution

func (o *AltitudeStream) HasResolution() bool

HasResolution returns a boolean if a field has been set.

func (*AltitudeStream) HasSeriesType

func (o *AltitudeStream) HasSeriesType() bool

HasSeriesType returns a boolean if a field has been set.

func (AltitudeStream) MarshalJSON

func (o AltitudeStream) MarshalJSON() ([]byte, error)

func (*AltitudeStream) SetData

func (o *AltitudeStream) SetData(v []float32)

SetData gets a reference to the given []float32 and assigns it to the Data field.

func (*AltitudeStream) SetOriginalSize

func (o *AltitudeStream) SetOriginalSize(v int32)

SetOriginalSize gets a reference to the given int32 and assigns it to the OriginalSize field.

func (*AltitudeStream) SetResolution

func (o *AltitudeStream) SetResolution(v string)

SetResolution gets a reference to the given string and assigns it to the Resolution field.

func (*AltitudeStream) SetSeriesType

func (o *AltitudeStream) SetSeriesType(v string)

SetSeriesType gets a reference to the given string and assigns it to the SeriesType field.

func (AltitudeStream) ToMap

func (o AltitudeStream) ToMap() (map[string]interface{}, error)

type ApiCreateActivityRequest

type ApiCreateActivityRequest struct {
	ApiService *ActivitiesAPIService
	// contains filtered or unexported fields
}

func (ApiCreateActivityRequest) Commute

Set to 1 to mark as commute.

func (ApiCreateActivityRequest) Description

func (r ApiCreateActivityRequest) Description(description string) ApiCreateActivityRequest

Description of the activity.

func (ApiCreateActivityRequest) Distance

In meters.

func (ApiCreateActivityRequest) ElapsedTime

func (r ApiCreateActivityRequest) ElapsedTime(elapsedTime int32) ApiCreateActivityRequest

In seconds.

func (ApiCreateActivityRequest) Execute

func (ApiCreateActivityRequest) Name

The name of the activity.

func (ApiCreateActivityRequest) SportType

Sport type of activity. For example - Run, MountainBikeRide, Ride, etc.

func (ApiCreateActivityRequest) StartDateLocal

func (r ApiCreateActivityRequest) StartDateLocal(startDateLocal time.Time) ApiCreateActivityRequest

ISO 8601 formatted date time.

func (ApiCreateActivityRequest) Trainer

Set to 1 to mark as a trainer activity.

func (ApiCreateActivityRequest) Type_

Type of activity. For example - Run, Ride etc.

type ApiCreateUploadRequest

type ApiCreateUploadRequest struct {
	ApiService *UploadsAPIService
	// contains filtered or unexported fields
}

func (ApiCreateUploadRequest) Commute

Whether the resulting activity should be tagged as a commute.

func (ApiCreateUploadRequest) DataType

The format of the uploaded file.

func (ApiCreateUploadRequest) Description

func (r ApiCreateUploadRequest) Description(description string) ApiCreateUploadRequest

The desired description of the resulting activity.

func (ApiCreateUploadRequest) Execute

func (r ApiCreateUploadRequest) Execute() (*Upload, *http.Response, error)

func (ApiCreateUploadRequest) ExternalId

func (r ApiCreateUploadRequest) ExternalId(externalId string) ApiCreateUploadRequest

The desired external identifier of the resulting activity.

func (ApiCreateUploadRequest) File

The uploaded file.

func (ApiCreateUploadRequest) Name

The desired name of the resulting activity.

func (ApiCreateUploadRequest) Trainer

Whether the resulting activity should be marked as having been performed on a trainer.

type ApiExploreSegmentsRequest

type ApiExploreSegmentsRequest struct {
	ApiService *SegmentsAPIService
	// contains filtered or unexported fields
}

func (ApiExploreSegmentsRequest) ActivityType

func (r ApiExploreSegmentsRequest) ActivityType(activityType string) ApiExploreSegmentsRequest

Desired activity type.

func (ApiExploreSegmentsRequest) Bounds

The latitude and longitude for two points describing a rectangular boundary for the search: [southwest corner latitutde, southwest corner longitude, northeast corner latitude, northeast corner longitude]

func (ApiExploreSegmentsRequest) Execute

func (ApiExploreSegmentsRequest) MaxCat

The maximum climbing category.

func (ApiExploreSegmentsRequest) MinCat

The minimum climbing category.

type ApiGetActivityByIdRequest

type ApiGetActivityByIdRequest struct {
	ApiService *ActivitiesAPIService
	// contains filtered or unexported fields
}

func (ApiGetActivityByIdRequest) Execute

func (ApiGetActivityByIdRequest) IncludeAllEfforts

func (r ApiGetActivityByIdRequest) IncludeAllEfforts(includeAllEfforts bool) ApiGetActivityByIdRequest

To include all segments efforts.

type ApiGetActivityStreamsRequest

type ApiGetActivityStreamsRequest struct {
	ApiService *StreamsAPIService
	// contains filtered or unexported fields
}

func (ApiGetActivityStreamsRequest) Execute

func (ApiGetActivityStreamsRequest) KeyByType

Must be true.

func (ApiGetActivityStreamsRequest) Keys

Desired stream types.

type ApiGetClubActivitiesByIdRequest

type ApiGetClubActivitiesByIdRequest struct {
	ApiService *ClubsAPIService
	// contains filtered or unexported fields
}

func (ApiGetClubActivitiesByIdRequest) Execute

func (ApiGetClubActivitiesByIdRequest) Page

Page number. Defaults to 1.

func (ApiGetClubActivitiesByIdRequest) PerPage

Number of items per page. Defaults to 30.

type ApiGetClubAdminsByIdRequest

type ApiGetClubAdminsByIdRequest struct {
	ApiService *ClubsAPIService
	// contains filtered or unexported fields
}

func (ApiGetClubAdminsByIdRequest) Execute

func (ApiGetClubAdminsByIdRequest) Page

Page number. Defaults to 1.

func (ApiGetClubAdminsByIdRequest) PerPage

Number of items per page. Defaults to 30.

type ApiGetClubByIdRequest

type ApiGetClubByIdRequest struct {
	ApiService *ClubsAPIService
	// contains filtered or unexported fields
}

func (ApiGetClubByIdRequest) Execute

type ApiGetClubMembersByIdRequest

type ApiGetClubMembersByIdRequest struct {
	ApiService *ClubsAPIService
	// contains filtered or unexported fields
}

func (ApiGetClubMembersByIdRequest) Execute

func (ApiGetClubMembersByIdRequest) Page

Page number. Defaults to 1.

func (ApiGetClubMembersByIdRequest) PerPage

Number of items per page. Defaults to 30.

type ApiGetCommentsByActivityIdRequest

type ApiGetCommentsByActivityIdRequest struct {
	ApiService *ActivitiesAPIService
	// contains filtered or unexported fields
}

func (ApiGetCommentsByActivityIdRequest) AfterCursor

Cursor of the last item in the previous page of results, used to request the subsequent page of results. When omitted, the first page of results is fetched.

func (ApiGetCommentsByActivityIdRequest) Execute

func (ApiGetCommentsByActivityIdRequest) Page

Deprecated. Prefer to use after_cursor.

func (ApiGetCommentsByActivityIdRequest) PageSize

Number of items per page. Defaults to 30.

func (ApiGetCommentsByActivityIdRequest) PerPage

Deprecated. Prefer to use page_size.

type ApiGetEffortsBySegmentIdRequest

type ApiGetEffortsBySegmentIdRequest struct {
	ApiService *SegmentEffortsAPIService
	// contains filtered or unexported fields
}

func (ApiGetEffortsBySegmentIdRequest) EndDateLocal

ISO 8601 formatted date time.

func (ApiGetEffortsBySegmentIdRequest) Execute

func (ApiGetEffortsBySegmentIdRequest) PerPage

Number of items per page. Defaults to 30.

func (ApiGetEffortsBySegmentIdRequest) SegmentId

The identifier of the segment.

func (ApiGetEffortsBySegmentIdRequest) StartDateLocal

ISO 8601 formatted date time.

type ApiGetGearByIdRequest

type ApiGetGearByIdRequest struct {
	ApiService *GearsAPIService
	// contains filtered or unexported fields
}

func (ApiGetGearByIdRequest) Execute

type ApiGetKudoersByActivityIdRequest

type ApiGetKudoersByActivityIdRequest struct {
	ApiService *ActivitiesAPIService
	// contains filtered or unexported fields
}

func (ApiGetKudoersByActivityIdRequest) Execute

func (ApiGetKudoersByActivityIdRequest) Page

Page number. Defaults to 1.

func (ApiGetKudoersByActivityIdRequest) PerPage

Number of items per page. Defaults to 30.

type ApiGetLapsByActivityIdRequest

type ApiGetLapsByActivityIdRequest struct {
	ApiService *ActivitiesAPIService
	// contains filtered or unexported fields
}

func (ApiGetLapsByActivityIdRequest) Execute

type ApiGetLoggedInAthleteActivitiesRequest

type ApiGetLoggedInAthleteActivitiesRequest struct {
	ApiService *ActivitiesAPIService
	// contains filtered or unexported fields
}

func (ApiGetLoggedInAthleteActivitiesRequest) After

An epoch timestamp to use for filtering activities that have taken place after a certain time.

func (ApiGetLoggedInAthleteActivitiesRequest) Before

An epoch timestamp to use for filtering activities that have taken place before a certain time.

func (ApiGetLoggedInAthleteActivitiesRequest) Execute

func (ApiGetLoggedInAthleteActivitiesRequest) Page

Page number. Defaults to 1.

func (ApiGetLoggedInAthleteActivitiesRequest) PerPage

Number of items per page. Defaults to 30.

type ApiGetLoggedInAthleteClubsRequest

type ApiGetLoggedInAthleteClubsRequest struct {
	ApiService *ClubsAPIService
	// contains filtered or unexported fields
}

func (ApiGetLoggedInAthleteClubsRequest) Execute

func (ApiGetLoggedInAthleteClubsRequest) Page

Page number. Defaults to 1.

func (ApiGetLoggedInAthleteClubsRequest) PerPage

Number of items per page. Defaults to 30.

type ApiGetLoggedInAthleteRequest

type ApiGetLoggedInAthleteRequest struct {
	ApiService *AthletesAPIService
	// contains filtered or unexported fields
}

func (ApiGetLoggedInAthleteRequest) Execute

type ApiGetLoggedInAthleteStarredSegmentsRequest

type ApiGetLoggedInAthleteStarredSegmentsRequest struct {
	ApiService *SegmentsAPIService
	// contains filtered or unexported fields
}

func (ApiGetLoggedInAthleteStarredSegmentsRequest) Execute

func (ApiGetLoggedInAthleteStarredSegmentsRequest) Page

Page number. Defaults to 1.

func (ApiGetLoggedInAthleteStarredSegmentsRequest) PerPage

Number of items per page. Defaults to 30.

type ApiGetLoggedInAthleteZonesRequest

type ApiGetLoggedInAthleteZonesRequest struct {
	ApiService *AthletesAPIService
	// contains filtered or unexported fields
}

func (ApiGetLoggedInAthleteZonesRequest) Execute

type ApiGetRouteAsGPXRequest

type ApiGetRouteAsGPXRequest struct {
	ApiService *RoutesAPIService
	// contains filtered or unexported fields
}

func (ApiGetRouteAsGPXRequest) Execute

func (r ApiGetRouteAsGPXRequest) Execute() (*http.Response, error)

type ApiGetRouteAsTCXRequest

type ApiGetRouteAsTCXRequest struct {
	ApiService *RoutesAPIService
	// contains filtered or unexported fields
}

func (ApiGetRouteAsTCXRequest) Execute

func (r ApiGetRouteAsTCXRequest) Execute() (*http.Response, error)

type ApiGetRouteByIdRequest

type ApiGetRouteByIdRequest struct {
	ApiService *RoutesAPIService
	// contains filtered or unexported fields
}

func (ApiGetRouteByIdRequest) Execute

func (r ApiGetRouteByIdRequest) Execute() (*Route, *http.Response, error)

type ApiGetRouteStreamsRequest

type ApiGetRouteStreamsRequest struct {
	ApiService *StreamsAPIService
	// contains filtered or unexported fields
}

func (ApiGetRouteStreamsRequest) Execute

type ApiGetRoutesByAthleteIdRequest

type ApiGetRoutesByAthleteIdRequest struct {
	ApiService *RoutesAPIService
	// contains filtered or unexported fields
}

func (ApiGetRoutesByAthleteIdRequest) Execute

func (ApiGetRoutesByAthleteIdRequest) Page

Page number. Defaults to 1.

func (ApiGetRoutesByAthleteIdRequest) PerPage

Number of items per page. Defaults to 30.

type ApiGetSegmentByIdRequest

type ApiGetSegmentByIdRequest struct {
	ApiService *SegmentsAPIService
	// contains filtered or unexported fields
}

func (ApiGetSegmentByIdRequest) Execute

type ApiGetSegmentEffortByIdRequest

type ApiGetSegmentEffortByIdRequest struct {
	ApiService *SegmentEffortsAPIService
	// contains filtered or unexported fields
}

func (ApiGetSegmentEffortByIdRequest) Execute

type ApiGetSegmentEffortStreamsRequest

type ApiGetSegmentEffortStreamsRequest struct {
	ApiService *StreamsAPIService
	// contains filtered or unexported fields
}

func (ApiGetSegmentEffortStreamsRequest) Execute

func (ApiGetSegmentEffortStreamsRequest) KeyByType

Must be true.

func (ApiGetSegmentEffortStreamsRequest) Keys

The types of streams to return.

type ApiGetSegmentStreamsRequest

type ApiGetSegmentStreamsRequest struct {
	ApiService *StreamsAPIService
	// contains filtered or unexported fields
}

func (ApiGetSegmentStreamsRequest) Execute

func (ApiGetSegmentStreamsRequest) KeyByType

Must be true.

func (ApiGetSegmentStreamsRequest) Keys

The types of streams to return.

type ApiGetStatsRequest

type ApiGetStatsRequest struct {
	ApiService *AthletesAPIService
	// contains filtered or unexported fields
}

func (ApiGetStatsRequest) Execute

type ApiGetUploadByIdRequest

type ApiGetUploadByIdRequest struct {
	ApiService *UploadsAPIService
	// contains filtered or unexported fields
}

func (ApiGetUploadByIdRequest) Execute

func (r ApiGetUploadByIdRequest) Execute() (*Upload, *http.Response, error)

type ApiGetZonesByActivityIdRequest

type ApiGetZonesByActivityIdRequest struct {
	ApiService *ActivitiesAPIService
	// contains filtered or unexported fields
}

func (ApiGetZonesByActivityIdRequest) Execute

type ApiStarSegmentRequest

type ApiStarSegmentRequest struct {
	ApiService *SegmentsAPIService
	// contains filtered or unexported fields
}

func (ApiStarSegmentRequest) Execute

func (ApiStarSegmentRequest) Starred

If true, star the segment; if false, unstar the segment.

type ApiUpdateActivityByIdRequest

type ApiUpdateActivityByIdRequest struct {
	ApiService *ActivitiesAPIService
	// contains filtered or unexported fields
}

func (ApiUpdateActivityByIdRequest) Body

func (ApiUpdateActivityByIdRequest) Execute

type ApiUpdateLoggedInAthleteRequest

type ApiUpdateLoggedInAthleteRequest struct {
	ApiService *AthletesAPIService
	// contains filtered or unexported fields
}

func (ApiUpdateLoggedInAthleteRequest) Execute

type AthletesAPIService

type AthletesAPIService service

AthletesAPIService AthletesAPI service

func (*AthletesAPIService) GetLoggedInAthlete

GetLoggedInAthlete Get Authenticated Athlete

Returns the currently authenticated athlete. Tokens with profile:read_all scope will receive a detailed athlete representation; all others will receive a summary representation.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiGetLoggedInAthleteRequest

func (*AthletesAPIService) GetLoggedInAthleteExecute

func (a *AthletesAPIService) GetLoggedInAthleteExecute(r ApiGetLoggedInAthleteRequest) (*DetailedAthlete, *http.Response, error)

Execute executes the request

@return DetailedAthlete

func (*AthletesAPIService) GetLoggedInAthleteZones

func (a *AthletesAPIService) GetLoggedInAthleteZones(ctx context.Context) ApiGetLoggedInAthleteZonesRequest

GetLoggedInAthleteZones Get Zones

Returns the the authenticated athlete's heart rate and power zones. Requires profile:read_all.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiGetLoggedInAthleteZonesRequest

func (*AthletesAPIService) GetLoggedInAthleteZonesExecute

func (a *AthletesAPIService) GetLoggedInAthleteZonesExecute(r ApiGetLoggedInAthleteZonesRequest) (*Zones, *http.Response, error)

Execute executes the request

@return Zones

func (*AthletesAPIService) GetStats

GetStats Get Athlete Stats

Returns the activity stats of an athlete. Only includes data from activities set to Everyone visibilty.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id The identifier of the athlete. Must match the authenticated athlete.
@return ApiGetStatsRequest

func (*AthletesAPIService) GetStatsExecute

Execute executes the request

@return ActivityStats

func (*AthletesAPIService) UpdateLoggedInAthlete

func (a *AthletesAPIService) UpdateLoggedInAthlete(ctx context.Context, weight float32) ApiUpdateLoggedInAthleteRequest

UpdateLoggedInAthlete Update Athlete

Update the currently authenticated athlete. Requires profile:write scope.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param weight The weight of the athlete in kilograms.
@return ApiUpdateLoggedInAthleteRequest

func (*AthletesAPIService) UpdateLoggedInAthleteExecute

func (a *AthletesAPIService) UpdateLoggedInAthleteExecute(r ApiUpdateLoggedInAthleteRequest) (*DetailedAthlete, *http.Response, error)

Execute executes the request

@return DetailedAthlete

type BaseStream

type BaseStream struct {
	// The number of data points in this stream
	OriginalSize *int32 `json:"original_size,omitempty"`
	// The level of detail (sampling) in which this stream was returned
	Resolution *string `json:"resolution,omitempty"`
	// The base series used in the case the stream was downsampled
	SeriesType *string `json:"series_type,omitempty"`
}

BaseStream struct for BaseStream

func NewBaseStream

func NewBaseStream() *BaseStream

NewBaseStream instantiates a new BaseStream object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewBaseStreamWithDefaults

func NewBaseStreamWithDefaults() *BaseStream

NewBaseStreamWithDefaults instantiates a new BaseStream object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*BaseStream) GetOriginalSize

func (o *BaseStream) GetOriginalSize() int32

GetOriginalSize returns the OriginalSize field value if set, zero value otherwise.

func (*BaseStream) GetOriginalSizeOk

func (o *BaseStream) GetOriginalSizeOk() (*int32, bool)

GetOriginalSizeOk returns a tuple with the OriginalSize field value if set, nil otherwise and a boolean to check if the value has been set.

func (*BaseStream) GetResolution

func (o *BaseStream) GetResolution() string

GetResolution returns the Resolution field value if set, zero value otherwise.

func (*BaseStream) GetResolutionOk

func (o *BaseStream) GetResolutionOk() (*string, bool)

GetResolutionOk returns a tuple with the Resolution field value if set, nil otherwise and a boolean to check if the value has been set.

func (*BaseStream) GetSeriesType

func (o *BaseStream) GetSeriesType() string

GetSeriesType returns the SeriesType field value if set, zero value otherwise.

func (*BaseStream) GetSeriesTypeOk

func (o *BaseStream) GetSeriesTypeOk() (*string, bool)

GetSeriesTypeOk returns a tuple with the SeriesType field value if set, nil otherwise and a boolean to check if the value has been set.

func (*BaseStream) HasOriginalSize

func (o *BaseStream) HasOriginalSize() bool

HasOriginalSize returns a boolean if a field has been set.

func (*BaseStream) HasResolution

func (o *BaseStream) HasResolution() bool

HasResolution returns a boolean if a field has been set.

func (*BaseStream) HasSeriesType

func (o *BaseStream) HasSeriesType() bool

HasSeriesType returns a boolean if a field has been set.

func (BaseStream) MarshalJSON

func (o BaseStream) MarshalJSON() ([]byte, error)

func (*BaseStream) SetOriginalSize

func (o *BaseStream) SetOriginalSize(v int32)

SetOriginalSize gets a reference to the given int32 and assigns it to the OriginalSize field.

func (*BaseStream) SetResolution

func (o *BaseStream) SetResolution(v string)

SetResolution gets a reference to the given string and assigns it to the Resolution field.

func (*BaseStream) SetSeriesType

func (o *BaseStream) SetSeriesType(v string)

SetSeriesType gets a reference to the given string and assigns it to the SeriesType field.

func (BaseStream) ToMap

func (o BaseStream) ToMap() (map[string]interface{}, error)

type BasicAuth

type BasicAuth struct {
	UserName string `json:"userName,omitempty"`
	Password string `json:"password,omitempty"`
}

BasicAuth provides basic http authentication to a request passed via context using ContextBasicAuth

type CadenceStream

type CadenceStream struct {
	// The number of data points in this stream
	OriginalSize *int32 `json:"original_size,omitempty"`
	// The level of detail (sampling) in which this stream was returned
	Resolution *string `json:"resolution,omitempty"`
	// The base series used in the case the stream was downsampled
	SeriesType *string `json:"series_type,omitempty"`
	// The sequence of cadence values for this stream, in rotations per minute
	Data []int32 `json:"data,omitempty"`
}

CadenceStream struct for CadenceStream

func NewCadenceStream

func NewCadenceStream() *CadenceStream

NewCadenceStream instantiates a new CadenceStream object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewCadenceStreamWithDefaults

func NewCadenceStreamWithDefaults() *CadenceStream

NewCadenceStreamWithDefaults instantiates a new CadenceStream object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*CadenceStream) GetData

func (o *CadenceStream) GetData() []int32

GetData returns the Data field value if set, zero value otherwise.

func (*CadenceStream) GetDataOk

func (o *CadenceStream) GetDataOk() ([]int32, bool)

GetDataOk returns a tuple with the Data field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CadenceStream) GetOriginalSize

func (o *CadenceStream) GetOriginalSize() int32

GetOriginalSize returns the OriginalSize field value if set, zero value otherwise.

func (*CadenceStream) GetOriginalSizeOk

func (o *CadenceStream) GetOriginalSizeOk() (*int32, bool)

GetOriginalSizeOk returns a tuple with the OriginalSize field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CadenceStream) GetResolution

func (o *CadenceStream) GetResolution() string

GetResolution returns the Resolution field value if set, zero value otherwise.

func (*CadenceStream) GetResolutionOk

func (o *CadenceStream) GetResolutionOk() (*string, bool)

GetResolutionOk returns a tuple with the Resolution field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CadenceStream) GetSeriesType

func (o *CadenceStream) GetSeriesType() string

GetSeriesType returns the SeriesType field value if set, zero value otherwise.

func (*CadenceStream) GetSeriesTypeOk

func (o *CadenceStream) GetSeriesTypeOk() (*string, bool)

GetSeriesTypeOk returns a tuple with the SeriesType field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CadenceStream) HasData

func (o *CadenceStream) HasData() bool

HasData returns a boolean if a field has been set.

func (*CadenceStream) HasOriginalSize

func (o *CadenceStream) HasOriginalSize() bool

HasOriginalSize returns a boolean if a field has been set.

func (*CadenceStream) HasResolution

func (o *CadenceStream) HasResolution() bool

HasResolution returns a boolean if a field has been set.

func (*CadenceStream) HasSeriesType

func (o *CadenceStream) HasSeriesType() bool

HasSeriesType returns a boolean if a field has been set.

func (CadenceStream) MarshalJSON

func (o CadenceStream) MarshalJSON() ([]byte, error)

func (*CadenceStream) SetData

func (o *CadenceStream) SetData(v []int32)

SetData gets a reference to the given []int32 and assigns it to the Data field.

func (*CadenceStream) SetOriginalSize

func (o *CadenceStream) SetOriginalSize(v int32)

SetOriginalSize gets a reference to the given int32 and assigns it to the OriginalSize field.

func (*CadenceStream) SetResolution

func (o *CadenceStream) SetResolution(v string)

SetResolution gets a reference to the given string and assigns it to the Resolution field.

func (*CadenceStream) SetSeriesType

func (o *CadenceStream) SetSeriesType(v string)

SetSeriesType gets a reference to the given string and assigns it to the SeriesType field.

func (CadenceStream) ToMap

func (o CadenceStream) ToMap() (map[string]interface{}, error)

type ClubActivity

type ClubActivity struct {
	Athlete *MetaAthlete `json:"athlete,omitempty"`
	// The name of the activity
	Name *string `json:"name,omitempty"`
	// The activity's distance, in meters
	Distance *float32 `json:"distance,omitempty"`
	// The activity's moving time, in seconds
	MovingTime *int32 `json:"moving_time,omitempty"`
	// The activity's elapsed time, in seconds
	ElapsedTime *int32 `json:"elapsed_time,omitempty"`
	// The activity's total elevation gain.
	TotalElevationGain *float32      `json:"total_elevation_gain,omitempty"`
	Type               *ActivityType `json:"type,omitempty"`
	SportType          *SportType    `json:"sport_type,omitempty"`
	// The activity's workout type
	WorkoutType *int32 `json:"workout_type,omitempty"`
}

ClubActivity struct for ClubActivity

func NewClubActivity

func NewClubActivity() *ClubActivity

NewClubActivity instantiates a new ClubActivity object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewClubActivityWithDefaults

func NewClubActivityWithDefaults() *ClubActivity

NewClubActivityWithDefaults instantiates a new ClubActivity object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*ClubActivity) GetAthlete

func (o *ClubActivity) GetAthlete() MetaAthlete

GetAthlete returns the Athlete field value if set, zero value otherwise.

func (*ClubActivity) GetAthleteOk

func (o *ClubActivity) GetAthleteOk() (*MetaAthlete, bool)

GetAthleteOk returns a tuple with the Athlete field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ClubActivity) GetDistance

func (o *ClubActivity) GetDistance() float32

GetDistance returns the Distance field value if set, zero value otherwise.

func (*ClubActivity) GetDistanceOk

func (o *ClubActivity) GetDistanceOk() (*float32, bool)

GetDistanceOk returns a tuple with the Distance field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ClubActivity) GetElapsedTime

func (o *ClubActivity) GetElapsedTime() int32

GetElapsedTime returns the ElapsedTime field value if set, zero value otherwise.

func (*ClubActivity) GetElapsedTimeOk

func (o *ClubActivity) GetElapsedTimeOk() (*int32, bool)

GetElapsedTimeOk returns a tuple with the ElapsedTime field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ClubActivity) GetMovingTime

func (o *ClubActivity) GetMovingTime() int32

GetMovingTime returns the MovingTime field value if set, zero value otherwise.

func (*ClubActivity) GetMovingTimeOk

func (o *ClubActivity) GetMovingTimeOk() (*int32, bool)

GetMovingTimeOk returns a tuple with the MovingTime field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ClubActivity) GetName

func (o *ClubActivity) GetName() string

GetName returns the Name field value if set, zero value otherwise.

func (*ClubActivity) GetNameOk

func (o *ClubActivity) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ClubActivity) GetSportType

func (o *ClubActivity) GetSportType() SportType

GetSportType returns the SportType field value if set, zero value otherwise.

func (*ClubActivity) GetSportTypeOk

func (o *ClubActivity) GetSportTypeOk() (*SportType, bool)

GetSportTypeOk returns a tuple with the SportType field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ClubActivity) GetTotalElevationGain

func (o *ClubActivity) GetTotalElevationGain() float32

GetTotalElevationGain returns the TotalElevationGain field value if set, zero value otherwise.

func (*ClubActivity) GetTotalElevationGainOk

func (o *ClubActivity) GetTotalElevationGainOk() (*float32, bool)

GetTotalElevationGainOk returns a tuple with the TotalElevationGain field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ClubActivity) GetType

func (o *ClubActivity) GetType() ActivityType

GetType returns the Type field value if set, zero value otherwise.

func (*ClubActivity) GetTypeOk

func (o *ClubActivity) GetTypeOk() (*ActivityType, bool)

GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ClubActivity) GetWorkoutType

func (o *ClubActivity) GetWorkoutType() int32

GetWorkoutType returns the WorkoutType field value if set, zero value otherwise.

func (*ClubActivity) GetWorkoutTypeOk

func (o *ClubActivity) GetWorkoutTypeOk() (*int32, bool)

GetWorkoutTypeOk returns a tuple with the WorkoutType field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ClubActivity) HasAthlete

func (o *ClubActivity) HasAthlete() bool

HasAthlete returns a boolean if a field has been set.

func (*ClubActivity) HasDistance

func (o *ClubActivity) HasDistance() bool

HasDistance returns a boolean if a field has been set.

func (*ClubActivity) HasElapsedTime

func (o *ClubActivity) HasElapsedTime() bool

HasElapsedTime returns a boolean if a field has been set.

func (*ClubActivity) HasMovingTime

func (o *ClubActivity) HasMovingTime() bool

HasMovingTime returns a boolean if a field has been set.

func (*ClubActivity) HasName

func (o *ClubActivity) HasName() bool

HasName returns a boolean if a field has been set.

func (*ClubActivity) HasSportType

func (o *ClubActivity) HasSportType() bool

HasSportType returns a boolean if a field has been set.

func (*ClubActivity) HasTotalElevationGain

func (o *ClubActivity) HasTotalElevationGain() bool

HasTotalElevationGain returns a boolean if a field has been set.

func (*ClubActivity) HasType

func (o *ClubActivity) HasType() bool

HasType returns a boolean if a field has been set.

func (*ClubActivity) HasWorkoutType

func (o *ClubActivity) HasWorkoutType() bool

HasWorkoutType returns a boolean if a field has been set.

func (ClubActivity) MarshalJSON

func (o ClubActivity) MarshalJSON() ([]byte, error)

func (*ClubActivity) SetAthlete

func (o *ClubActivity) SetAthlete(v MetaAthlete)

SetAthlete gets a reference to the given MetaAthlete and assigns it to the Athlete field.

func (*ClubActivity) SetDistance

func (o *ClubActivity) SetDistance(v float32)

SetDistance gets a reference to the given float32 and assigns it to the Distance field.

func (*ClubActivity) SetElapsedTime

func (o *ClubActivity) SetElapsedTime(v int32)

SetElapsedTime gets a reference to the given int32 and assigns it to the ElapsedTime field.

func (*ClubActivity) SetMovingTime

func (o *ClubActivity) SetMovingTime(v int32)

SetMovingTime gets a reference to the given int32 and assigns it to the MovingTime field.

func (*ClubActivity) SetName

func (o *ClubActivity) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

func (*ClubActivity) SetSportType

func (o *ClubActivity) SetSportType(v SportType)

SetSportType gets a reference to the given SportType and assigns it to the SportType field.

func (*ClubActivity) SetTotalElevationGain

func (o *ClubActivity) SetTotalElevationGain(v float32)

SetTotalElevationGain gets a reference to the given float32 and assigns it to the TotalElevationGain field.

func (*ClubActivity) SetType

func (o *ClubActivity) SetType(v ActivityType)

SetType gets a reference to the given ActivityType and assigns it to the Type field.

func (*ClubActivity) SetWorkoutType

func (o *ClubActivity) SetWorkoutType(v int32)

SetWorkoutType gets a reference to the given int32 and assigns it to the WorkoutType field.

func (ClubActivity) ToMap

func (o ClubActivity) ToMap() (map[string]interface{}, error)

type ClubAthlete

type ClubAthlete struct {
	// Resource state, indicates level of detail. Possible values: 1 -> \"meta\", 2 -> \"summary\", 3 -> \"detail\"
	ResourceState *int32 `json:"resource_state,omitempty"`
	// The athlete's first name.
	Firstname *string `json:"firstname,omitempty"`
	// The athlete's last initial.
	Lastname *string `json:"lastname,omitempty"`
	// The athlete's member status.
	Member *string `json:"member,omitempty"`
	// Whether the athlete is a club admin.
	Admin *bool `json:"admin,omitempty"`
	// Whether the athlete is club owner.
	Owner *bool `json:"owner,omitempty"`
}

ClubAthlete struct for ClubAthlete

func NewClubAthlete

func NewClubAthlete() *ClubAthlete

NewClubAthlete instantiates a new ClubAthlete object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewClubAthleteWithDefaults

func NewClubAthleteWithDefaults() *ClubAthlete

NewClubAthleteWithDefaults instantiates a new ClubAthlete object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*ClubAthlete) GetAdmin

func (o *ClubAthlete) GetAdmin() bool

GetAdmin returns the Admin field value if set, zero value otherwise.

func (*ClubAthlete) GetAdminOk

func (o *ClubAthlete) GetAdminOk() (*bool, bool)

GetAdminOk returns a tuple with the Admin field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ClubAthlete) GetFirstname

func (o *ClubAthlete) GetFirstname() string

GetFirstname returns the Firstname field value if set, zero value otherwise.

func (*ClubAthlete) GetFirstnameOk

func (o *ClubAthlete) GetFirstnameOk() (*string, bool)

GetFirstnameOk returns a tuple with the Firstname field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ClubAthlete) GetLastname

func (o *ClubAthlete) GetLastname() string

GetLastname returns the Lastname field value if set, zero value otherwise.

func (*ClubAthlete) GetLastnameOk

func (o *ClubAthlete) GetLastnameOk() (*string, bool)

GetLastnameOk returns a tuple with the Lastname field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ClubAthlete) GetMember

func (o *ClubAthlete) GetMember() string

GetMember returns the Member field value if set, zero value otherwise.

func (*ClubAthlete) GetMemberOk

func (o *ClubAthlete) GetMemberOk() (*string, bool)

GetMemberOk returns a tuple with the Member field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ClubAthlete) GetOwner

func (o *ClubAthlete) GetOwner() bool

GetOwner returns the Owner field value if set, zero value otherwise.

func (*ClubAthlete) GetOwnerOk

func (o *ClubAthlete) GetOwnerOk() (*bool, bool)

GetOwnerOk returns a tuple with the Owner field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ClubAthlete) GetResourceState

func (o *ClubAthlete) GetResourceState() int32

GetResourceState returns the ResourceState field value if set, zero value otherwise.

func (*ClubAthlete) GetResourceStateOk

func (o *ClubAthlete) GetResourceStateOk() (*int32, bool)

GetResourceStateOk returns a tuple with the ResourceState field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ClubAthlete) HasAdmin

func (o *ClubAthlete) HasAdmin() bool

HasAdmin returns a boolean if a field has been set.

func (*ClubAthlete) HasFirstname

func (o *ClubAthlete) HasFirstname() bool

HasFirstname returns a boolean if a field has been set.

func (*ClubAthlete) HasLastname

func (o *ClubAthlete) HasLastname() bool

HasLastname returns a boolean if a field has been set.

func (*ClubAthlete) HasMember

func (o *ClubAthlete) HasMember() bool

HasMember returns a boolean if a field has been set.

func (*ClubAthlete) HasOwner

func (o *ClubAthlete) HasOwner() bool

HasOwner returns a boolean if a field has been set.

func (*ClubAthlete) HasResourceState

func (o *ClubAthlete) HasResourceState() bool

HasResourceState returns a boolean if a field has been set.

func (ClubAthlete) MarshalJSON

func (o ClubAthlete) MarshalJSON() ([]byte, error)

func (*ClubAthlete) SetAdmin

func (o *ClubAthlete) SetAdmin(v bool)

SetAdmin gets a reference to the given bool and assigns it to the Admin field.

func (*ClubAthlete) SetFirstname

func (o *ClubAthlete) SetFirstname(v string)

SetFirstname gets a reference to the given string and assigns it to the Firstname field.

func (*ClubAthlete) SetLastname

func (o *ClubAthlete) SetLastname(v string)

SetLastname gets a reference to the given string and assigns it to the Lastname field.

func (*ClubAthlete) SetMember

func (o *ClubAthlete) SetMember(v string)

SetMember gets a reference to the given string and assigns it to the Member field.

func (*ClubAthlete) SetOwner

func (o *ClubAthlete) SetOwner(v bool)

SetOwner gets a reference to the given bool and assigns it to the Owner field.

func (*ClubAthlete) SetResourceState

func (o *ClubAthlete) SetResourceState(v int32)

SetResourceState gets a reference to the given int32 and assigns it to the ResourceState field.

func (ClubAthlete) ToMap

func (o ClubAthlete) ToMap() (map[string]interface{}, error)

type ClubsAPIService

type ClubsAPIService service

ClubsAPIService ClubsAPI service

func (*ClubsAPIService) GetClubActivitiesById

func (a *ClubsAPIService) GetClubActivitiesById(ctx context.Context, id int64) ApiGetClubActivitiesByIdRequest

GetClubActivitiesById List Club Activities

Retrieve recent activities from members of a specific club. The authenticated athlete must belong to the requested club in order to hit this endpoint. Pagination is supported. Athlete profile visibility is respected for all activities.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id The identifier of the club.
@return ApiGetClubActivitiesByIdRequest

func (*ClubsAPIService) GetClubActivitiesByIdExecute

func (a *ClubsAPIService) GetClubActivitiesByIdExecute(r ApiGetClubActivitiesByIdRequest) ([]ClubActivity, *http.Response, error)

Execute executes the request

@return []ClubActivity

func (*ClubsAPIService) GetClubAdminsById

func (a *ClubsAPIService) GetClubAdminsById(ctx context.Context, id int64) ApiGetClubAdminsByIdRequest

GetClubAdminsById List Club Administrators

Returns a list of the administrators of a given club.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id The identifier of the club.
@return ApiGetClubAdminsByIdRequest

func (*ClubsAPIService) GetClubAdminsByIdExecute

func (a *ClubsAPIService) GetClubAdminsByIdExecute(r ApiGetClubAdminsByIdRequest) ([]SummaryAthlete, *http.Response, error)

Execute executes the request

@return []SummaryAthlete

func (*ClubsAPIService) GetClubById

func (a *ClubsAPIService) GetClubById(ctx context.Context, id int64) ApiGetClubByIdRequest

GetClubById Get Club

Returns a given club using its identifier.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id The identifier of the club.
@return ApiGetClubByIdRequest

func (*ClubsAPIService) GetClubByIdExecute

func (a *ClubsAPIService) GetClubByIdExecute(r ApiGetClubByIdRequest) (*DetailedClub, *http.Response, error)

Execute executes the request

@return DetailedClub

func (*ClubsAPIService) GetClubMembersById

func (a *ClubsAPIService) GetClubMembersById(ctx context.Context, id int64) ApiGetClubMembersByIdRequest

GetClubMembersById List Club Members

Returns a list of the athletes who are members of a given club.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id The identifier of the club.
@return ApiGetClubMembersByIdRequest

func (*ClubsAPIService) GetClubMembersByIdExecute

func (a *ClubsAPIService) GetClubMembersByIdExecute(r ApiGetClubMembersByIdRequest) ([]ClubAthlete, *http.Response, error)

Execute executes the request

@return []ClubAthlete

func (*ClubsAPIService) GetLoggedInAthleteClubs

func (a *ClubsAPIService) GetLoggedInAthleteClubs(ctx context.Context) ApiGetLoggedInAthleteClubsRequest

GetLoggedInAthleteClubs List Athlete Clubs

Returns a list of the clubs whose membership includes the authenticated athlete.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiGetLoggedInAthleteClubsRequest

func (*ClubsAPIService) GetLoggedInAthleteClubsExecute

func (a *ClubsAPIService) GetLoggedInAthleteClubsExecute(r ApiGetLoggedInAthleteClubsRequest) ([]SummaryClub, *http.Response, error)

Execute executes the request

@return []SummaryClub

type Comment

type Comment struct {
	// The unique identifier of this comment
	Id *int64 `json:"id,omitempty"`
	// The identifier of the activity this comment is related to
	ActivityId *int64 `json:"activity_id,omitempty"`
	// The content of the comment
	Text    *string         `json:"text,omitempty"`
	Athlete *SummaryAthlete `json:"athlete,omitempty"`
	// The time at which this comment was created.
	CreatedAt *time.Time `json:"created_at,omitempty"`
}

Comment struct for Comment

func NewComment

func NewComment() *Comment

NewComment instantiates a new Comment object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewCommentWithDefaults

func NewCommentWithDefaults() *Comment

NewCommentWithDefaults instantiates a new Comment object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*Comment) GetActivityId

func (o *Comment) GetActivityId() int64

GetActivityId returns the ActivityId field value if set, zero value otherwise.

func (*Comment) GetActivityIdOk

func (o *Comment) GetActivityIdOk() (*int64, bool)

GetActivityIdOk returns a tuple with the ActivityId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Comment) GetAthlete

func (o *Comment) GetAthlete() SummaryAthlete

GetAthlete returns the Athlete field value if set, zero value otherwise.

func (*Comment) GetAthleteOk

func (o *Comment) GetAthleteOk() (*SummaryAthlete, bool)

GetAthleteOk returns a tuple with the Athlete field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Comment) GetCreatedAt

func (o *Comment) GetCreatedAt() time.Time

GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.

func (*Comment) GetCreatedAtOk

func (o *Comment) GetCreatedAtOk() (*time.Time, bool)

GetCreatedAtOk returns a tuple with the CreatedAt field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Comment) GetId

func (o *Comment) GetId() int64

GetId returns the Id field value if set, zero value otherwise.

func (*Comment) GetIdOk

func (o *Comment) GetIdOk() (*int64, bool)

GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Comment) GetText

func (o *Comment) GetText() string

GetText returns the Text field value if set, zero value otherwise.

func (*Comment) GetTextOk

func (o *Comment) GetTextOk() (*string, bool)

GetTextOk returns a tuple with the Text field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Comment) HasActivityId

func (o *Comment) HasActivityId() bool

HasActivityId returns a boolean if a field has been set.

func (*Comment) HasAthlete

func (o *Comment) HasAthlete() bool

HasAthlete returns a boolean if a field has been set.

func (*Comment) HasCreatedAt

func (o *Comment) HasCreatedAt() bool

HasCreatedAt returns a boolean if a field has been set.

func (*Comment) HasId

func (o *Comment) HasId() bool

HasId returns a boolean if a field has been set.

func (*Comment) HasText

func (o *Comment) HasText() bool

HasText returns a boolean if a field has been set.

func (Comment) MarshalJSON

func (o Comment) MarshalJSON() ([]byte, error)

func (*Comment) SetActivityId

func (o *Comment) SetActivityId(v int64)

SetActivityId gets a reference to the given int64 and assigns it to the ActivityId field.

func (*Comment) SetAthlete

func (o *Comment) SetAthlete(v SummaryAthlete)

SetAthlete gets a reference to the given SummaryAthlete and assigns it to the Athlete field.

func (*Comment) SetCreatedAt

func (o *Comment) SetCreatedAt(v time.Time)

SetCreatedAt gets a reference to the given time.Time and assigns it to the CreatedAt field.

func (*Comment) SetId

func (o *Comment) SetId(v int64)

SetId gets a reference to the given int64 and assigns it to the Id field.

func (*Comment) SetText

func (o *Comment) SetText(v string)

SetText gets a reference to the given string and assigns it to the Text field.

func (Comment) ToMap

func (o Comment) ToMap() (map[string]interface{}, error)

type Configuration

type Configuration struct {
	Host             string            `json:"host,omitempty"`
	Scheme           string            `json:"scheme,omitempty"`
	DefaultHeader    map[string]string `json:"defaultHeader,omitempty"`
	UserAgent        string            `json:"userAgent,omitempty"`
	Debug            bool              `json:"debug,omitempty"`
	Servers          ServerConfigurations
	OperationServers map[string]ServerConfigurations
	HTTPClient       *http.Client
}

Configuration stores the configuration of the API client

func NewConfiguration

func NewConfiguration() *Configuration

NewConfiguration returns a new Configuration object

func (*Configuration) AddDefaultHeader

func (c *Configuration) AddDefaultHeader(key string, value string)

AddDefaultHeader adds a new HTTP header to the default header in the request

func (*Configuration) ServerURL

func (c *Configuration) ServerURL(index int, variables map[string]string) (string, error)

ServerURL returns URL based on server settings

func (*Configuration) ServerURLWithContext

func (c *Configuration) ServerURLWithContext(ctx context.Context, endpoint string) (string, error)

ServerURLWithContext returns a new server URL given an endpoint

type DetailedActivity

type DetailedActivity struct {
	// The unique identifier of the activity
	Id *int64 `json:"id,omitempty"`
	// The identifier provided at upload time
	ExternalId *string `json:"external_id,omitempty"`
	// The identifier of the upload that resulted in this activity
	UploadId *int64       `json:"upload_id,omitempty"`
	Athlete  *MetaAthlete `json:"athlete,omitempty"`
	// The name of the activity
	Name *string `json:"name,omitempty"`
	// The activity's distance, in meters
	Distance *float32 `json:"distance,omitempty"`
	// The activity's moving time, in seconds
	MovingTime *int32 `json:"moving_time,omitempty"`
	// The activity's elapsed time, in seconds
	ElapsedTime *int32 `json:"elapsed_time,omitempty"`
	// The activity's total elevation gain.
	TotalElevationGain *float32 `json:"total_elevation_gain,omitempty"`
	// The activity's highest elevation, in meters
	ElevHigh *float32 `json:"elev_high,omitempty"`
	// The activity's lowest elevation, in meters
	ElevLow   *float32      `json:"elev_low,omitempty"`
	Type      *ActivityType `json:"type,omitempty"`
	SportType *SportType    `json:"sport_type,omitempty"`
	// The time at which the activity was started.
	StartDate *time.Time `json:"start_date,omitempty"`
	// The time at which the activity was started in the local timezone.
	StartDateLocal *time.Time `json:"start_date_local,omitempty"`
	// The timezone of the activity
	Timezone *string `json:"timezone,omitempty"`
	// A pair of latitude/longitude coordinates, represented as an array of 2 floating point numbers.
	StartLatlng []float32 `json:"start_latlng,omitempty"`
	// A pair of latitude/longitude coordinates, represented as an array of 2 floating point numbers.
	EndLatlng []float32 `json:"end_latlng,omitempty"`
	// The number of achievements gained during this activity
	AchievementCount *int32 `json:"achievement_count,omitempty"`
	// The number of kudos given for this activity
	KudosCount *int32 `json:"kudos_count,omitempty"`
	// The number of comments for this activity
	CommentCount *int32 `json:"comment_count,omitempty"`
	// The number of athletes for taking part in a group activity
	AthleteCount *int32 `json:"athlete_count,omitempty"`
	// The number of Instagram photos for this activity
	PhotoCount *int32 `json:"photo_count,omitempty"`
	// The number of Instagram and Strava photos for this activity
	TotalPhotoCount *int32       `json:"total_photo_count,omitempty"`
	Map             *PolylineMap `json:"map,omitempty"`
	// Whether this activity was recorded on a training machine
	Trainer *bool `json:"trainer,omitempty"`
	// Whether this activity is a commute
	Commute *bool `json:"commute,omitempty"`
	// Whether this activity was created manually
	Manual *bool `json:"manual,omitempty"`
	// Whether this activity is private
	Private *bool `json:"private,omitempty"`
	// Whether this activity is flagged
	Flagged *bool `json:"flagged,omitempty"`
	// The activity's workout type
	WorkoutType *int32 `json:"workout_type,omitempty"`
	// The unique identifier of the upload in string format
	UploadIdStr *string `json:"upload_id_str,omitempty"`
	// The activity's average speed, in meters per second
	AverageSpeed *float32 `json:"average_speed,omitempty"`
	// The activity's max speed, in meters per second
	MaxSpeed *float32 `json:"max_speed,omitempty"`
	// Whether the logged-in athlete has kudoed this activity
	HasKudoed *bool `json:"has_kudoed,omitempty"`
	// Whether the activity is muted
	HideFromHome *bool `json:"hide_from_home,omitempty"`
	// The id of the gear for the activity
	GearId *string `json:"gear_id,omitempty"`
	// The total work done in kilojoules during this activity. Rides only
	Kilojoules *float32 `json:"kilojoules,omitempty"`
	// Average power output in watts during this activity. Rides only
	AverageWatts *float32 `json:"average_watts,omitempty"`
	// Whether the watts are from a power meter, false if estimated
	DeviceWatts *bool `json:"device_watts,omitempty"`
	// Rides with power meter data only
	MaxWatts *int32 `json:"max_watts,omitempty"`
	// Similar to Normalized Power. Rides with power meter data only
	WeightedAverageWatts *int32 `json:"weighted_average_watts,omitempty"`
	// The description of the activity
	Description *string        `json:"description,omitempty"`
	Photos      *PhotosSummary `json:"photos,omitempty"`
	Gear        *SummaryGear   `json:"gear,omitempty"`
	// The number of kilocalories consumed during this activity
	Calories       *float32                `json:"calories,omitempty"`
	SegmentEfforts []DetailedSegmentEffort `json:"segment_efforts,omitempty"`
	// The name of the device used to record the activity
	DeviceName *string `json:"device_name,omitempty"`
	// The token used to embed a Strava activity
	EmbedToken *string `json:"embed_token,omitempty"`
	// The splits of this activity in metric units (for runs)
	SplitsMetric []Split `json:"splits_metric,omitempty"`
	// The splits of this activity in imperial units (for runs)
	SplitsStandard []Split                 `json:"splits_standard,omitempty"`
	Laps           []Lap                   `json:"laps,omitempty"`
	BestEfforts    []DetailedSegmentEffort `json:"best_efforts,omitempty"`
}

DetailedActivity struct for DetailedActivity

func NewDetailedActivity

func NewDetailedActivity() *DetailedActivity

NewDetailedActivity instantiates a new DetailedActivity object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewDetailedActivityWithDefaults

func NewDetailedActivityWithDefaults() *DetailedActivity

NewDetailedActivityWithDefaults instantiates a new DetailedActivity object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*DetailedActivity) GetAchievementCount

func (o *DetailedActivity) GetAchievementCount() int32

GetAchievementCount returns the AchievementCount field value if set, zero value otherwise.

func (*DetailedActivity) GetAchievementCountOk

func (o *DetailedActivity) GetAchievementCountOk() (*int32, bool)

GetAchievementCountOk returns a tuple with the AchievementCount field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DetailedActivity) GetAthlete

func (o *DetailedActivity) GetAthlete() MetaAthlete

GetAthlete returns the Athlete field value if set, zero value otherwise.

func (*DetailedActivity) GetAthleteCount

func (o *DetailedActivity) GetAthleteCount() int32

GetAthleteCount returns the AthleteCount field value if set, zero value otherwise.

func (*DetailedActivity) GetAthleteCountOk

func (o *DetailedActivity) GetAthleteCountOk() (*int32, bool)

GetAthleteCountOk returns a tuple with the AthleteCount field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DetailedActivity) GetAthleteOk

func (o *DetailedActivity) GetAthleteOk() (*MetaAthlete, bool)

GetAthleteOk returns a tuple with the Athlete field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DetailedActivity) GetAverageSpeed

func (o *DetailedActivity) GetAverageSpeed() float32

GetAverageSpeed returns the AverageSpeed field value if set, zero value otherwise.

func (*DetailedActivity) GetAverageSpeedOk

func (o *DetailedActivity) GetAverageSpeedOk() (*float32, bool)

GetAverageSpeedOk returns a tuple with the AverageSpeed field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DetailedActivity) GetAverageWatts

func (o *DetailedActivity) GetAverageWatts() float32

GetAverageWatts returns the AverageWatts field value if set, zero value otherwise.

func (*DetailedActivity) GetAverageWattsOk

func (o *DetailedActivity) GetAverageWattsOk() (*float32, bool)

GetAverageWattsOk returns a tuple with the AverageWatts field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DetailedActivity) GetBestEfforts

func (o *DetailedActivity) GetBestEfforts() []DetailedSegmentEffort

GetBestEfforts returns the BestEfforts field value if set, zero value otherwise.

func (*DetailedActivity) GetBestEffortsOk

func (o *DetailedActivity) GetBestEffortsOk() ([]DetailedSegmentEffort, bool)

GetBestEffortsOk returns a tuple with the BestEfforts field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DetailedActivity) GetCalories

func (o *DetailedActivity) GetCalories() float32

GetCalories returns the Calories field value if set, zero value otherwise.

func (*DetailedActivity) GetCaloriesOk

func (o *DetailedActivity) GetCaloriesOk() (*float32, bool)

GetCaloriesOk returns a tuple with the Calories field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DetailedActivity) GetCommentCount

func (o *DetailedActivity) GetCommentCount() int32

GetCommentCount returns the CommentCount field value if set, zero value otherwise.

func (*DetailedActivity) GetCommentCountOk

func (o *DetailedActivity) GetCommentCountOk() (*int32, bool)

GetCommentCountOk returns a tuple with the CommentCount field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DetailedActivity) GetCommute

func (o *DetailedActivity) GetCommute() bool

GetCommute returns the Commute field value if set, zero value otherwise.

func (*DetailedActivity) GetCommuteOk

func (o *DetailedActivity) GetCommuteOk() (*bool, bool)

GetCommuteOk returns a tuple with the Commute field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DetailedActivity) GetDescription

func (o *DetailedActivity) GetDescription() string

GetDescription returns the Description field value if set, zero value otherwise.

func (*DetailedActivity) GetDescriptionOk

func (o *DetailedActivity) GetDescriptionOk() (*string, bool)

GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DetailedActivity) GetDeviceName

func (o *DetailedActivity) GetDeviceName() string

GetDeviceName returns the DeviceName field value if set, zero value otherwise.

func (*DetailedActivity) GetDeviceNameOk

func (o *DetailedActivity) GetDeviceNameOk() (*string, bool)

GetDeviceNameOk returns a tuple with the DeviceName field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DetailedActivity) GetDeviceWatts

func (o *DetailedActivity) GetDeviceWatts() bool

GetDeviceWatts returns the DeviceWatts field value if set, zero value otherwise.

func (*DetailedActivity) GetDeviceWattsOk

func (o *DetailedActivity) GetDeviceWattsOk() (*bool, bool)

GetDeviceWattsOk returns a tuple with the DeviceWatts field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DetailedActivity) GetDistance

func (o *DetailedActivity) GetDistance() float32

GetDistance returns the Distance field value if set, zero value otherwise.

func (*DetailedActivity) GetDistanceOk

func (o *DetailedActivity) GetDistanceOk() (*float32, bool)

GetDistanceOk returns a tuple with the Distance field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DetailedActivity) GetElapsedTime

func (o *DetailedActivity) GetElapsedTime() int32

GetElapsedTime returns the ElapsedTime field value if set, zero value otherwise.

func (*DetailedActivity) GetElapsedTimeOk

func (o *DetailedActivity) GetElapsedTimeOk() (*int32, bool)

GetElapsedTimeOk returns a tuple with the ElapsedTime field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DetailedActivity) GetElevHigh

func (o *DetailedActivity) GetElevHigh() float32

GetElevHigh returns the ElevHigh field value if set, zero value otherwise.

func (*DetailedActivity) GetElevHighOk

func (o *DetailedActivity) GetElevHighOk() (*float32, bool)

GetElevHighOk returns a tuple with the ElevHigh field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DetailedActivity) GetElevLow

func (o *DetailedActivity) GetElevLow() float32

GetElevLow returns the ElevLow field value if set, zero value otherwise.

func (*DetailedActivity) GetElevLowOk

func (o *DetailedActivity) GetElevLowOk() (*float32, bool)

GetElevLowOk returns a tuple with the ElevLow field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DetailedActivity) GetEmbedToken

func (o *DetailedActivity) GetEmbedToken() string

GetEmbedToken returns the EmbedToken field value if set, zero value otherwise.

func (*DetailedActivity) GetEmbedTokenOk

func (o *DetailedActivity) GetEmbedTokenOk() (*string, bool)

GetEmbedTokenOk returns a tuple with the EmbedToken field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DetailedActivity) GetEndLatlng

func (o *DetailedActivity) GetEndLatlng() []float32

GetEndLatlng returns the EndLatlng field value if set, zero value otherwise.

func (*DetailedActivity) GetEndLatlngOk

func (o *DetailedActivity) GetEndLatlngOk() ([]float32, bool)

GetEndLatlngOk returns a tuple with the EndLatlng field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DetailedActivity) GetExternalId

func (o *DetailedActivity) GetExternalId() string

GetExternalId returns the ExternalId field value if set, zero value otherwise.

func (*DetailedActivity) GetExternalIdOk

func (o *DetailedActivity) GetExternalIdOk() (*string, bool)

GetExternalIdOk returns a tuple with the ExternalId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DetailedActivity) GetFlagged

func (o *DetailedActivity) GetFlagged() bool

GetFlagged returns the Flagged field value if set, zero value otherwise.

func (*DetailedActivity) GetFlaggedOk

func (o *DetailedActivity) GetFlaggedOk() (*bool, bool)

GetFlaggedOk returns a tuple with the Flagged field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DetailedActivity) GetGear

func (o *DetailedActivity) GetGear() SummaryGear

GetGear returns the Gear field value if set, zero value otherwise.

func (*DetailedActivity) GetGearId

func (o *DetailedActivity) GetGearId() string

GetGearId returns the GearId field value if set, zero value otherwise.

func (*DetailedActivity) GetGearIdOk

func (o *DetailedActivity) GetGearIdOk() (*string, bool)

GetGearIdOk returns a tuple with the GearId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DetailedActivity) GetGearOk

func (o *DetailedActivity) GetGearOk() (*SummaryGear, bool)

GetGearOk returns a tuple with the Gear field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DetailedActivity) GetHasKudoed

func (o *DetailedActivity) GetHasKudoed() bool

GetHasKudoed returns the HasKudoed field value if set, zero value otherwise.

func (*DetailedActivity) GetHasKudoedOk

func (o *DetailedActivity) GetHasKudoedOk() (*bool, bool)

GetHasKudoedOk returns a tuple with the HasKudoed field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DetailedActivity) GetHideFromHome

func (o *DetailedActivity) GetHideFromHome() bool

GetHideFromHome returns the HideFromHome field value if set, zero value otherwise.

func (*DetailedActivity) GetHideFromHomeOk

func (o *DetailedActivity) GetHideFromHomeOk() (*bool, bool)

GetHideFromHomeOk returns a tuple with the HideFromHome field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DetailedActivity) GetId

func (o *DetailedActivity) GetId() int64

GetId returns the Id field value if set, zero value otherwise.

func (*DetailedActivity) GetIdOk

func (o *DetailedActivity) GetIdOk() (*int64, bool)

GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DetailedActivity) GetKilojoules

func (o *DetailedActivity) GetKilojoules() float32

GetKilojoules returns the Kilojoules field value if set, zero value otherwise.

func (*DetailedActivity) GetKilojoulesOk

func (o *DetailedActivity) GetKilojoulesOk() (*float32, bool)

GetKilojoulesOk returns a tuple with the Kilojoules field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DetailedActivity) GetKudosCount

func (o *DetailedActivity) GetKudosCount() int32

GetKudosCount returns the KudosCount field value if set, zero value otherwise.

func (*DetailedActivity) GetKudosCountOk

func (o *DetailedActivity) GetKudosCountOk() (*int32, bool)

GetKudosCountOk returns a tuple with the KudosCount field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DetailedActivity) GetLaps

func (o *DetailedActivity) GetLaps() []Lap

GetLaps returns the Laps field value if set, zero value otherwise.

func (*DetailedActivity) GetLapsOk

func (o *DetailedActivity) GetLapsOk() ([]Lap, bool)

GetLapsOk returns a tuple with the Laps field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DetailedActivity) GetManual

func (o *DetailedActivity) GetManual() bool

GetManual returns the Manual field value if set, zero value otherwise.

func (*DetailedActivity) GetManualOk

func (o *DetailedActivity) GetManualOk() (*bool, bool)

GetManualOk returns a tuple with the Manual field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DetailedActivity) GetMap

func (o *DetailedActivity) GetMap() PolylineMap

GetMap returns the Map field value if set, zero value otherwise.

func (*DetailedActivity) GetMapOk

func (o *DetailedActivity) GetMapOk() (*PolylineMap, bool)

GetMapOk returns a tuple with the Map field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DetailedActivity) GetMaxSpeed

func (o *DetailedActivity) GetMaxSpeed() float32

GetMaxSpeed returns the MaxSpeed field value if set, zero value otherwise.

func (*DetailedActivity) GetMaxSpeedOk

func (o *DetailedActivity) GetMaxSpeedOk() (*float32, bool)

GetMaxSpeedOk returns a tuple with the MaxSpeed field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DetailedActivity) GetMaxWatts

func (o *DetailedActivity) GetMaxWatts() int32

GetMaxWatts returns the MaxWatts field value if set, zero value otherwise.

func (*DetailedActivity) GetMaxWattsOk

func (o *DetailedActivity) GetMaxWattsOk() (*int32, bool)

GetMaxWattsOk returns a tuple with the MaxWatts field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DetailedActivity) GetMovingTime

func (o *DetailedActivity) GetMovingTime() int32

GetMovingTime returns the MovingTime field value if set, zero value otherwise.

func (*DetailedActivity) GetMovingTimeOk

func (o *DetailedActivity) GetMovingTimeOk() (*int32, bool)

GetMovingTimeOk returns a tuple with the MovingTime field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DetailedActivity) GetName

func (o *DetailedActivity) GetName() string

GetName returns the Name field value if set, zero value otherwise.

func (*DetailedActivity) GetNameOk

func (o *DetailedActivity) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DetailedActivity) GetPhotoCount

func (o *DetailedActivity) GetPhotoCount() int32

GetPhotoCount returns the PhotoCount field value if set, zero value otherwise.

func (*DetailedActivity) GetPhotoCountOk

func (o *DetailedActivity) GetPhotoCountOk() (*int32, bool)

GetPhotoCountOk returns a tuple with the PhotoCount field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DetailedActivity) GetPhotos

func (o *DetailedActivity) GetPhotos() PhotosSummary

GetPhotos returns the Photos field value if set, zero value otherwise.

func (*DetailedActivity) GetPhotosOk

func (o *DetailedActivity) GetPhotosOk() (*PhotosSummary, bool)

GetPhotosOk returns a tuple with the Photos field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DetailedActivity) GetPrivate

func (o *DetailedActivity) GetPrivate() bool

GetPrivate returns the Private field value if set, zero value otherwise.

func (*DetailedActivity) GetPrivateOk

func (o *DetailedActivity) GetPrivateOk() (*bool, bool)

GetPrivateOk returns a tuple with the Private field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DetailedActivity) GetSegmentEfforts

func (o *DetailedActivity) GetSegmentEfforts() []DetailedSegmentEffort

GetSegmentEfforts returns the SegmentEfforts field value if set, zero value otherwise.

func (*DetailedActivity) GetSegmentEffortsOk

func (o *DetailedActivity) GetSegmentEffortsOk() ([]DetailedSegmentEffort, bool)

GetSegmentEffortsOk returns a tuple with the SegmentEfforts field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DetailedActivity) GetSplitsMetric

func (o *DetailedActivity) GetSplitsMetric() []Split

GetSplitsMetric returns the SplitsMetric field value if set, zero value otherwise.

func (*DetailedActivity) GetSplitsMetricOk

func (o *DetailedActivity) GetSplitsMetricOk() ([]Split, bool)

GetSplitsMetricOk returns a tuple with the SplitsMetric field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DetailedActivity) GetSplitsStandard

func (o *DetailedActivity) GetSplitsStandard() []Split

GetSplitsStandard returns the SplitsStandard field value if set, zero value otherwise.

func (*DetailedActivity) GetSplitsStandardOk

func (o *DetailedActivity) GetSplitsStandardOk() ([]Split, bool)

GetSplitsStandardOk returns a tuple with the SplitsStandard field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DetailedActivity) GetSportType

func (o *DetailedActivity) GetSportType() SportType

GetSportType returns the SportType field value if set, zero value otherwise.

func (*DetailedActivity) GetSportTypeOk

func (o *DetailedActivity) GetSportTypeOk() (*SportType, bool)

GetSportTypeOk returns a tuple with the SportType field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DetailedActivity) GetStartDate

func (o *DetailedActivity) GetStartDate() time.Time

GetStartDate returns the StartDate field value if set, zero value otherwise.

func (*DetailedActivity) GetStartDateLocal

func (o *DetailedActivity) GetStartDateLocal() time.Time

GetStartDateLocal returns the StartDateLocal field value if set, zero value otherwise.

func (*DetailedActivity) GetStartDateLocalOk

func (o *DetailedActivity) GetStartDateLocalOk() (*time.Time, bool)

GetStartDateLocalOk returns a tuple with the StartDateLocal field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DetailedActivity) GetStartDateOk

func (o *DetailedActivity) GetStartDateOk() (*time.Time, bool)

GetStartDateOk returns a tuple with the StartDate field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DetailedActivity) GetStartLatlng

func (o *DetailedActivity) GetStartLatlng() []float32

GetStartLatlng returns the StartLatlng field value if set, zero value otherwise.

func (*DetailedActivity) GetStartLatlngOk

func (o *DetailedActivity) GetStartLatlngOk() ([]float32, bool)

GetStartLatlngOk returns a tuple with the StartLatlng field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DetailedActivity) GetTimezone

func (o *DetailedActivity) GetTimezone() string

GetTimezone returns the Timezone field value if set, zero value otherwise.

func (*DetailedActivity) GetTimezoneOk

func (o *DetailedActivity) GetTimezoneOk() (*string, bool)

GetTimezoneOk returns a tuple with the Timezone field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DetailedActivity) GetTotalElevationGain

func (o *DetailedActivity) GetTotalElevationGain() float32

GetTotalElevationGain returns the TotalElevationGain field value if set, zero value otherwise.

func (*DetailedActivity) GetTotalElevationGainOk

func (o *DetailedActivity) GetTotalElevationGainOk() (*float32, bool)

GetTotalElevationGainOk returns a tuple with the TotalElevationGain field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DetailedActivity) GetTotalPhotoCount

func (o *DetailedActivity) GetTotalPhotoCount() int32

GetTotalPhotoCount returns the TotalPhotoCount field value if set, zero value otherwise.

func (*DetailedActivity) GetTotalPhotoCountOk

func (o *DetailedActivity) GetTotalPhotoCountOk() (*int32, bool)

GetTotalPhotoCountOk returns a tuple with the TotalPhotoCount field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DetailedActivity) GetTrainer

func (o *DetailedActivity) GetTrainer() bool

GetTrainer returns the Trainer field value if set, zero value otherwise.

func (*DetailedActivity) GetTrainerOk

func (o *DetailedActivity) GetTrainerOk() (*bool, bool)

GetTrainerOk returns a tuple with the Trainer field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DetailedActivity) GetType

func (o *DetailedActivity) GetType() ActivityType

GetType returns the Type field value if set, zero value otherwise.

func (*DetailedActivity) GetTypeOk

func (o *DetailedActivity) GetTypeOk() (*ActivityType, bool)

GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DetailedActivity) GetUploadId

func (o *DetailedActivity) GetUploadId() int64

GetUploadId returns the UploadId field value if set, zero value otherwise.

func (*DetailedActivity) GetUploadIdOk

func (o *DetailedActivity) GetUploadIdOk() (*int64, bool)

GetUploadIdOk returns a tuple with the UploadId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DetailedActivity) GetUploadIdStr

func (o *DetailedActivity) GetUploadIdStr() string

GetUploadIdStr returns the UploadIdStr field value if set, zero value otherwise.

func (*DetailedActivity) GetUploadIdStrOk

func (o *DetailedActivity) GetUploadIdStrOk() (*string, bool)

GetUploadIdStrOk returns a tuple with the UploadIdStr field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DetailedActivity) GetWeightedAverageWatts

func (o *DetailedActivity) GetWeightedAverageWatts() int32

GetWeightedAverageWatts returns the WeightedAverageWatts field value if set, zero value otherwise.

func (*DetailedActivity) GetWeightedAverageWattsOk

func (o *DetailedActivity) GetWeightedAverageWattsOk() (*int32, bool)

GetWeightedAverageWattsOk returns a tuple with the WeightedAverageWatts field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DetailedActivity) GetWorkoutType

func (o *DetailedActivity) GetWorkoutType() int32

GetWorkoutType returns the WorkoutType field value if set, zero value otherwise.

func (*DetailedActivity) GetWorkoutTypeOk

func (o *DetailedActivity) GetWorkoutTypeOk() (*int32, bool)

GetWorkoutTypeOk returns a tuple with the WorkoutType field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DetailedActivity) HasAchievementCount

func (o *DetailedActivity) HasAchievementCount() bool

HasAchievementCount returns a boolean if a field has been set.

func (*DetailedActivity) HasAthlete

func (o *DetailedActivity) HasAthlete() bool

HasAthlete returns a boolean if a field has been set.

func (*DetailedActivity) HasAthleteCount

func (o *DetailedActivity) HasAthleteCount() bool

HasAthleteCount returns a boolean if a field has been set.

func (*DetailedActivity) HasAverageSpeed

func (o *DetailedActivity) HasAverageSpeed() bool

HasAverageSpeed returns a boolean if a field has been set.

func (*DetailedActivity) HasAverageWatts

func (o *DetailedActivity) HasAverageWatts() bool

HasAverageWatts returns a boolean if a field has been set.

func (*DetailedActivity) HasBestEfforts

func (o *DetailedActivity) HasBestEfforts() bool

HasBestEfforts returns a boolean if a field has been set.

func (*DetailedActivity) HasCalories

func (o *DetailedActivity) HasCalories() bool

HasCalories returns a boolean if a field has been set.

func (*DetailedActivity) HasCommentCount

func (o *DetailedActivity) HasCommentCount() bool

HasCommentCount returns a boolean if a field has been set.

func (*DetailedActivity) HasCommute

func (o *DetailedActivity) HasCommute() bool

HasCommute returns a boolean if a field has been set.

func (*DetailedActivity) HasDescription

func (o *DetailedActivity) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*DetailedActivity) HasDeviceName

func (o *DetailedActivity) HasDeviceName() bool

HasDeviceName returns a boolean if a field has been set.

func (*DetailedActivity) HasDeviceWatts

func (o *DetailedActivity) HasDeviceWatts() bool

HasDeviceWatts returns a boolean if a field has been set.

func (*DetailedActivity) HasDistance

func (o *DetailedActivity) HasDistance() bool

HasDistance returns a boolean if a field has been set.

func (*DetailedActivity) HasElapsedTime

func (o *DetailedActivity) HasElapsedTime() bool

HasElapsedTime returns a boolean if a field has been set.

func (*DetailedActivity) HasElevHigh

func (o *DetailedActivity) HasElevHigh() bool

HasElevHigh returns a boolean if a field has been set.

func (*DetailedActivity) HasElevLow

func (o *DetailedActivity) HasElevLow() bool

HasElevLow returns a boolean if a field has been set.

func (*DetailedActivity) HasEmbedToken

func (o *DetailedActivity) HasEmbedToken() bool

HasEmbedToken returns a boolean if a field has been set.

func (*DetailedActivity) HasEndLatlng

func (o *DetailedActivity) HasEndLatlng() bool

HasEndLatlng returns a boolean if a field has been set.

func (*DetailedActivity) HasExternalId

func (o *DetailedActivity) HasExternalId() bool

HasExternalId returns a boolean if a field has been set.

func (*DetailedActivity) HasFlagged

func (o *DetailedActivity) HasFlagged() bool

HasFlagged returns a boolean if a field has been set.

func (*DetailedActivity) HasGear

func (o *DetailedActivity) HasGear() bool

HasGear returns a boolean if a field has been set.

func (*DetailedActivity) HasGearId

func (o *DetailedActivity) HasGearId() bool

HasGearId returns a boolean if a field has been set.

func (*DetailedActivity) HasHasKudoed

func (o *DetailedActivity) HasHasKudoed() bool

HasHasKudoed returns a boolean if a field has been set.

func (*DetailedActivity) HasHideFromHome

func (o *DetailedActivity) HasHideFromHome() bool

HasHideFromHome returns a boolean if a field has been set.

func (*DetailedActivity) HasId

func (o *DetailedActivity) HasId() bool

HasId returns a boolean if a field has been set.

func (*DetailedActivity) HasKilojoules

func (o *DetailedActivity) HasKilojoules() bool

HasKilojoules returns a boolean if a field has been set.

func (*DetailedActivity) HasKudosCount

func (o *DetailedActivity) HasKudosCount() bool

HasKudosCount returns a boolean if a field has been set.

func (*DetailedActivity) HasLaps

func (o *DetailedActivity) HasLaps() bool

HasLaps returns a boolean if a field has been set.

func (*DetailedActivity) HasManual

func (o *DetailedActivity) HasManual() bool

HasManual returns a boolean if a field has been set.

func (*DetailedActivity) HasMap

func (o *DetailedActivity) HasMap() bool

HasMap returns a boolean if a field has been set.

func (*DetailedActivity) HasMaxSpeed

func (o *DetailedActivity) HasMaxSpeed() bool

HasMaxSpeed returns a boolean if a field has been set.

func (*DetailedActivity) HasMaxWatts

func (o *DetailedActivity) HasMaxWatts() bool

HasMaxWatts returns a boolean if a field has been set.

func (*DetailedActivity) HasMovingTime

func (o *DetailedActivity) HasMovingTime() bool

HasMovingTime returns a boolean if a field has been set.

func (*DetailedActivity) HasName

func (o *DetailedActivity) HasName() bool

HasName returns a boolean if a field has been set.

func (*DetailedActivity) HasPhotoCount

func (o *DetailedActivity) HasPhotoCount() bool

HasPhotoCount returns a boolean if a field has been set.

func (*DetailedActivity) HasPhotos

func (o *DetailedActivity) HasPhotos() bool

HasPhotos returns a boolean if a field has been set.

func (*DetailedActivity) HasPrivate

func (o *DetailedActivity) HasPrivate() bool

HasPrivate returns a boolean if a field has been set.

func (*DetailedActivity) HasSegmentEfforts

func (o *DetailedActivity) HasSegmentEfforts() bool

HasSegmentEfforts returns a boolean if a field has been set.

func (*DetailedActivity) HasSplitsMetric

func (o *DetailedActivity) HasSplitsMetric() bool

HasSplitsMetric returns a boolean if a field has been set.

func (*DetailedActivity) HasSplitsStandard

func (o *DetailedActivity) HasSplitsStandard() bool

HasSplitsStandard returns a boolean if a field has been set.

func (*DetailedActivity) HasSportType

func (o *DetailedActivity) HasSportType() bool

HasSportType returns a boolean if a field has been set.

func (*DetailedActivity) HasStartDate

func (o *DetailedActivity) HasStartDate() bool

HasStartDate returns a boolean if a field has been set.

func (*DetailedActivity) HasStartDateLocal

func (o *DetailedActivity) HasStartDateLocal() bool

HasStartDateLocal returns a boolean if a field has been set.

func (*DetailedActivity) HasStartLatlng

func (o *DetailedActivity) HasStartLatlng() bool

HasStartLatlng returns a boolean if a field has been set.

func (*DetailedActivity) HasTimezone

func (o *DetailedActivity) HasTimezone() bool

HasTimezone returns a boolean if a field has been set.

func (*DetailedActivity) HasTotalElevationGain

func (o *DetailedActivity) HasTotalElevationGain() bool

HasTotalElevationGain returns a boolean if a field has been set.

func (*DetailedActivity) HasTotalPhotoCount

func (o *DetailedActivity) HasTotalPhotoCount() bool

HasTotalPhotoCount returns a boolean if a field has been set.

func (*DetailedActivity) HasTrainer

func (o *DetailedActivity) HasTrainer() bool

HasTrainer returns a boolean if a field has been set.

func (*DetailedActivity) HasType

func (o *DetailedActivity) HasType() bool

HasType returns a boolean if a field has been set.

func (*DetailedActivity) HasUploadId

func (o *DetailedActivity) HasUploadId() bool

HasUploadId returns a boolean if a field has been set.

func (*DetailedActivity) HasUploadIdStr

func (o *DetailedActivity) HasUploadIdStr() bool

HasUploadIdStr returns a boolean if a field has been set.

func (*DetailedActivity) HasWeightedAverageWatts

func (o *DetailedActivity) HasWeightedAverageWatts() bool

HasWeightedAverageWatts returns a boolean if a field has been set.

func (*DetailedActivity) HasWorkoutType

func (o *DetailedActivity) HasWorkoutType() bool

HasWorkoutType returns a boolean if a field has been set.

func (DetailedActivity) MarshalJSON

func (o DetailedActivity) MarshalJSON() ([]byte, error)

func (*DetailedActivity) SetAchievementCount

func (o *DetailedActivity) SetAchievementCount(v int32)

SetAchievementCount gets a reference to the given int32 and assigns it to the AchievementCount field.

func (*DetailedActivity) SetAthlete

func (o *DetailedActivity) SetAthlete(v MetaAthlete)

SetAthlete gets a reference to the given MetaAthlete and assigns it to the Athlete field.

func (*DetailedActivity) SetAthleteCount

func (o *DetailedActivity) SetAthleteCount(v int32)

SetAthleteCount gets a reference to the given int32 and assigns it to the AthleteCount field.

func (*DetailedActivity) SetAverageSpeed

func (o *DetailedActivity) SetAverageSpeed(v float32)

SetAverageSpeed gets a reference to the given float32 and assigns it to the AverageSpeed field.

func (*DetailedActivity) SetAverageWatts

func (o *DetailedActivity) SetAverageWatts(v float32)

SetAverageWatts gets a reference to the given float32 and assigns it to the AverageWatts field.

func (*DetailedActivity) SetBestEfforts

func (o *DetailedActivity) SetBestEfforts(v []DetailedSegmentEffort)

SetBestEfforts gets a reference to the given []DetailedSegmentEffort and assigns it to the BestEfforts field.

func (*DetailedActivity) SetCalories

func (o *DetailedActivity) SetCalories(v float32)

SetCalories gets a reference to the given float32 and assigns it to the Calories field.

func (*DetailedActivity) SetCommentCount

func (o *DetailedActivity) SetCommentCount(v int32)

SetCommentCount gets a reference to the given int32 and assigns it to the CommentCount field.

func (*DetailedActivity) SetCommute

func (o *DetailedActivity) SetCommute(v bool)

SetCommute gets a reference to the given bool and assigns it to the Commute field.

func (*DetailedActivity) SetDescription

func (o *DetailedActivity) SetDescription(v string)

SetDescription gets a reference to the given string and assigns it to the Description field.

func (*DetailedActivity) SetDeviceName

func (o *DetailedActivity) SetDeviceName(v string)

SetDeviceName gets a reference to the given string and assigns it to the DeviceName field.

func (*DetailedActivity) SetDeviceWatts

func (o *DetailedActivity) SetDeviceWatts(v bool)

SetDeviceWatts gets a reference to the given bool and assigns it to the DeviceWatts field.

func (*DetailedActivity) SetDistance

func (o *DetailedActivity) SetDistance(v float32)

SetDistance gets a reference to the given float32 and assigns it to the Distance field.

func (*DetailedActivity) SetElapsedTime

func (o *DetailedActivity) SetElapsedTime(v int32)

SetElapsedTime gets a reference to the given int32 and assigns it to the ElapsedTime field.

func (*DetailedActivity) SetElevHigh

func (o *DetailedActivity) SetElevHigh(v float32)

SetElevHigh gets a reference to the given float32 and assigns it to the ElevHigh field.

func (*DetailedActivity) SetElevLow

func (o *DetailedActivity) SetElevLow(v float32)

SetElevLow gets a reference to the given float32 and assigns it to the ElevLow field.

func (*DetailedActivity) SetEmbedToken

func (o *DetailedActivity) SetEmbedToken(v string)

SetEmbedToken gets a reference to the given string and assigns it to the EmbedToken field.

func (*DetailedActivity) SetEndLatlng

func (o *DetailedActivity) SetEndLatlng(v []float32)

SetEndLatlng gets a reference to the given []float32 and assigns it to the EndLatlng field.

func (*DetailedActivity) SetExternalId

func (o *DetailedActivity) SetExternalId(v string)

SetExternalId gets a reference to the given string and assigns it to the ExternalId field.

func (*DetailedActivity) SetFlagged

func (o *DetailedActivity) SetFlagged(v bool)

SetFlagged gets a reference to the given bool and assigns it to the Flagged field.

func (*DetailedActivity) SetGear

func (o *DetailedActivity) SetGear(v SummaryGear)

SetGear gets a reference to the given SummaryGear and assigns it to the Gear field.

func (*DetailedActivity) SetGearId

func (o *DetailedActivity) SetGearId(v string)

SetGearId gets a reference to the given string and assigns it to the GearId field.

func (*DetailedActivity) SetHasKudoed

func (o *DetailedActivity) SetHasKudoed(v bool)

SetHasKudoed gets a reference to the given bool and assigns it to the HasKudoed field.

func (*DetailedActivity) SetHideFromHome

func (o *DetailedActivity) SetHideFromHome(v bool)

SetHideFromHome gets a reference to the given bool and assigns it to the HideFromHome field.

func (*DetailedActivity) SetId

func (o *DetailedActivity) SetId(v int64)

SetId gets a reference to the given int64 and assigns it to the Id field.

func (*DetailedActivity) SetKilojoules

func (o *DetailedActivity) SetKilojoules(v float32)

SetKilojoules gets a reference to the given float32 and assigns it to the Kilojoules field.

func (*DetailedActivity) SetKudosCount

func (o *DetailedActivity) SetKudosCount(v int32)

SetKudosCount gets a reference to the given int32 and assigns it to the KudosCount field.

func (*DetailedActivity) SetLaps

func (o *DetailedActivity) SetLaps(v []Lap)

SetLaps gets a reference to the given []Lap and assigns it to the Laps field.

func (*DetailedActivity) SetManual

func (o *DetailedActivity) SetManual(v bool)

SetManual gets a reference to the given bool and assigns it to the Manual field.

func (*DetailedActivity) SetMap

func (o *DetailedActivity) SetMap(v PolylineMap)

SetMap gets a reference to the given PolylineMap and assigns it to the Map field.

func (*DetailedActivity) SetMaxSpeed

func (o *DetailedActivity) SetMaxSpeed(v float32)

SetMaxSpeed gets a reference to the given float32 and assigns it to the MaxSpeed field.

func (*DetailedActivity) SetMaxWatts

func (o *DetailedActivity) SetMaxWatts(v int32)

SetMaxWatts gets a reference to the given int32 and assigns it to the MaxWatts field.

func (*DetailedActivity) SetMovingTime

func (o *DetailedActivity) SetMovingTime(v int32)

SetMovingTime gets a reference to the given int32 and assigns it to the MovingTime field.

func (*DetailedActivity) SetName

func (o *DetailedActivity) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

func (*DetailedActivity) SetPhotoCount

func (o *DetailedActivity) SetPhotoCount(v int32)

SetPhotoCount gets a reference to the given int32 and assigns it to the PhotoCount field.

func (*DetailedActivity) SetPhotos

func (o *DetailedActivity) SetPhotos(v PhotosSummary)

SetPhotos gets a reference to the given PhotosSummary and assigns it to the Photos field.

func (*DetailedActivity) SetPrivate

func (o *DetailedActivity) SetPrivate(v bool)

SetPrivate gets a reference to the given bool and assigns it to the Private field.

func (*DetailedActivity) SetSegmentEfforts

func (o *DetailedActivity) SetSegmentEfforts(v []DetailedSegmentEffort)

SetSegmentEfforts gets a reference to the given []DetailedSegmentEffort and assigns it to the SegmentEfforts field.

func (*DetailedActivity) SetSplitsMetric

func (o *DetailedActivity) SetSplitsMetric(v []Split)

SetSplitsMetric gets a reference to the given []Split and assigns it to the SplitsMetric field.

func (*DetailedActivity) SetSplitsStandard

func (o *DetailedActivity) SetSplitsStandard(v []Split)

SetSplitsStandard gets a reference to the given []Split and assigns it to the SplitsStandard field.

func (*DetailedActivity) SetSportType

func (o *DetailedActivity) SetSportType(v SportType)

SetSportType gets a reference to the given SportType and assigns it to the SportType field.

func (*DetailedActivity) SetStartDate

func (o *DetailedActivity) SetStartDate(v time.Time)

SetStartDate gets a reference to the given time.Time and assigns it to the StartDate field.

func (*DetailedActivity) SetStartDateLocal

func (o *DetailedActivity) SetStartDateLocal(v time.Time)

SetStartDateLocal gets a reference to the given time.Time and assigns it to the StartDateLocal field.

func (*DetailedActivity) SetStartLatlng

func (o *DetailedActivity) SetStartLatlng(v []float32)

SetStartLatlng gets a reference to the given []float32 and assigns it to the StartLatlng field.

func (*DetailedActivity) SetTimezone

func (o *DetailedActivity) SetTimezone(v string)

SetTimezone gets a reference to the given string and assigns it to the Timezone field.

func (*DetailedActivity) SetTotalElevationGain

func (o *DetailedActivity) SetTotalElevationGain(v float32)

SetTotalElevationGain gets a reference to the given float32 and assigns it to the TotalElevationGain field.

func (*DetailedActivity) SetTotalPhotoCount

func (o *DetailedActivity) SetTotalPhotoCount(v int32)

SetTotalPhotoCount gets a reference to the given int32 and assigns it to the TotalPhotoCount field.

func (*DetailedActivity) SetTrainer

func (o *DetailedActivity) SetTrainer(v bool)

SetTrainer gets a reference to the given bool and assigns it to the Trainer field.

func (*DetailedActivity) SetType

func (o *DetailedActivity) SetType(v ActivityType)

SetType gets a reference to the given ActivityType and assigns it to the Type field.

func (*DetailedActivity) SetUploadId

func (o *DetailedActivity) SetUploadId(v int64)

SetUploadId gets a reference to the given int64 and assigns it to the UploadId field.

func (*DetailedActivity) SetUploadIdStr

func (o *DetailedActivity) SetUploadIdStr(v string)

SetUploadIdStr gets a reference to the given string and assigns it to the UploadIdStr field.

func (*DetailedActivity) SetWeightedAverageWatts

func (o *DetailedActivity) SetWeightedAverageWatts(v int32)

SetWeightedAverageWatts gets a reference to the given int32 and assigns it to the WeightedAverageWatts field.

func (*DetailedActivity) SetWorkoutType

func (o *DetailedActivity) SetWorkoutType(v int32)

SetWorkoutType gets a reference to the given int32 and assigns it to the WorkoutType field.

func (DetailedActivity) ToMap

func (o DetailedActivity) ToMap() (map[string]interface{}, error)

type DetailedAthlete

type DetailedAthlete struct {
	// The unique identifier of the athlete
	Id *int64 `json:"id,omitempty"`
	// Resource state, indicates level of detail. Possible values: 1 -> \"meta\", 2 -> \"summary\", 3 -> \"detail\"
	ResourceState *int32 `json:"resource_state,omitempty"`
	// The athlete's first name.
	Firstname *string `json:"firstname,omitempty"`
	// The athlete's last name.
	Lastname *string `json:"lastname,omitempty"`
	// URL to a 62x62 pixel profile picture.
	ProfileMedium *string `json:"profile_medium,omitempty"`
	// URL to a 124x124 pixel profile picture.
	Profile *string `json:"profile,omitempty"`
	// The athlete's city.
	City *string `json:"city,omitempty"`
	// The athlete's state or geographical region.
	State *string `json:"state,omitempty"`
	// The athlete's country.
	Country *string `json:"country,omitempty"`
	// The athlete's sex.
	Sex *string `json:"sex,omitempty"`
	// Deprecated.  Use summit field instead. Whether the athlete has any Summit subscription.
	Premium *bool `json:"premium,omitempty"`
	// Whether the athlete has any Summit subscription.
	Summit *bool `json:"summit,omitempty"`
	// The time at which the athlete was created.
	CreatedAt *time.Time `json:"created_at,omitempty"`
	// The time at which the athlete was last updated.
	UpdatedAt *time.Time `json:"updated_at,omitempty"`
	// The athlete's follower count.
	FollowerCount *int32 `json:"follower_count,omitempty"`
	// The athlete's friend count.
	FriendCount *int32 `json:"friend_count,omitempty"`
	// The athlete's preferred unit system.
	MeasurementPreference *string `json:"measurement_preference,omitempty"`
	// The athlete's FTP (Functional Threshold Power).
	Ftp *int32 `json:"ftp,omitempty"`
	// The athlete's weight.
	Weight *float32 `json:"weight,omitempty"`
	// The athlete's clubs.
	Clubs []SummaryClub `json:"clubs,omitempty"`
	// The athlete's bikes.
	Bikes []SummaryGear `json:"bikes,omitempty"`
	// The athlete's shoes.
	Shoes []SummaryGear `json:"shoes,omitempty"`
}

DetailedAthlete struct for DetailedAthlete

func NewDetailedAthlete

func NewDetailedAthlete() *DetailedAthlete

NewDetailedAthlete instantiates a new DetailedAthlete object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewDetailedAthleteWithDefaults

func NewDetailedAthleteWithDefaults() *DetailedAthlete

NewDetailedAthleteWithDefaults instantiates a new DetailedAthlete object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*DetailedAthlete) GetBikes

func (o *DetailedAthlete) GetBikes() []SummaryGear

GetBikes returns the Bikes field value if set, zero value otherwise.

func (*DetailedAthlete) GetBikesOk

func (o *DetailedAthlete) GetBikesOk() ([]SummaryGear, bool)

GetBikesOk returns a tuple with the Bikes field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DetailedAthlete) GetCity

func (o *DetailedAthlete) GetCity() string

GetCity returns the City field value if set, zero value otherwise.

func (*DetailedAthlete) GetCityOk

func (o *DetailedAthlete) GetCityOk() (*string, bool)

GetCityOk returns a tuple with the City field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DetailedAthlete) GetClubs

func (o *DetailedAthlete) GetClubs() []SummaryClub

GetClubs returns the Clubs field value if set, zero value otherwise.

func (*DetailedAthlete) GetClubsOk

func (o *DetailedAthlete) GetClubsOk() ([]SummaryClub, bool)

GetClubsOk returns a tuple with the Clubs field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DetailedAthlete) GetCountry

func (o *DetailedAthlete) GetCountry() string

GetCountry returns the Country field value if set, zero value otherwise.

func (*DetailedAthlete) GetCountryOk

func (o *DetailedAthlete) GetCountryOk() (*string, bool)

GetCountryOk returns a tuple with the Country field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DetailedAthlete) GetCreatedAt

func (o *DetailedAthlete) GetCreatedAt() time.Time

GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.

func (*DetailedAthlete) GetCreatedAtOk

func (o *DetailedAthlete) GetCreatedAtOk() (*time.Time, bool)

GetCreatedAtOk returns a tuple with the CreatedAt field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DetailedAthlete) GetFirstname

func (o *DetailedAthlete) GetFirstname() string

GetFirstname returns the Firstname field value if set, zero value otherwise.

func (*DetailedAthlete) GetFirstnameOk

func (o *DetailedAthlete) GetFirstnameOk() (*string, bool)

GetFirstnameOk returns a tuple with the Firstname field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DetailedAthlete) GetFollowerCount

func (o *DetailedAthlete) GetFollowerCount() int32

GetFollowerCount returns the FollowerCount field value if set, zero value otherwise.

func (*DetailedAthlete) GetFollowerCountOk

func (o *DetailedAthlete) GetFollowerCountOk() (*int32, bool)

GetFollowerCountOk returns a tuple with the FollowerCount field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DetailedAthlete) GetFriendCount

func (o *DetailedAthlete) GetFriendCount() int32

GetFriendCount returns the FriendCount field value if set, zero value otherwise.

func (*DetailedAthlete) GetFriendCountOk

func (o *DetailedAthlete) GetFriendCountOk() (*int32, bool)

GetFriendCountOk returns a tuple with the FriendCount field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DetailedAthlete) GetFtp

func (o *DetailedAthlete) GetFtp() int32

GetFtp returns the Ftp field value if set, zero value otherwise.

func (*DetailedAthlete) GetFtpOk

func (o *DetailedAthlete) GetFtpOk() (*int32, bool)

GetFtpOk returns a tuple with the Ftp field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DetailedAthlete) GetId

func (o *DetailedAthlete) GetId() int64

GetId returns the Id field value if set, zero value otherwise.

func (*DetailedAthlete) GetIdOk

func (o *DetailedAthlete) GetIdOk() (*int64, bool)

GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DetailedAthlete) GetLastname

func (o *DetailedAthlete) GetLastname() string

GetLastname returns the Lastname field value if set, zero value otherwise.

func (*DetailedAthlete) GetLastnameOk

func (o *DetailedAthlete) GetLastnameOk() (*string, bool)

GetLastnameOk returns a tuple with the Lastname field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DetailedAthlete) GetMeasurementPreference

func (o *DetailedAthlete) GetMeasurementPreference() string

GetMeasurementPreference returns the MeasurementPreference field value if set, zero value otherwise.

func (*DetailedAthlete) GetMeasurementPreferenceOk

func (o *DetailedAthlete) GetMeasurementPreferenceOk() (*string, bool)

GetMeasurementPreferenceOk returns a tuple with the MeasurementPreference field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DetailedAthlete) GetPremium

func (o *DetailedAthlete) GetPremium() bool

GetPremium returns the Premium field value if set, zero value otherwise.

func (*DetailedAthlete) GetPremiumOk

func (o *DetailedAthlete) GetPremiumOk() (*bool, bool)

GetPremiumOk returns a tuple with the Premium field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DetailedAthlete) GetProfile

func (o *DetailedAthlete) GetProfile() string

GetProfile returns the Profile field value if set, zero value otherwise.

func (*DetailedAthlete) GetProfileMedium

func (o *DetailedAthlete) GetProfileMedium() string

GetProfileMedium returns the ProfileMedium field value if set, zero value otherwise.

func (*DetailedAthlete) GetProfileMediumOk

func (o *DetailedAthlete) GetProfileMediumOk() (*string, bool)

GetProfileMediumOk returns a tuple with the ProfileMedium field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DetailedAthlete) GetProfileOk

func (o *DetailedAthlete) GetProfileOk() (*string, bool)

GetProfileOk returns a tuple with the Profile field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DetailedAthlete) GetResourceState

func (o *DetailedAthlete) GetResourceState() int32

GetResourceState returns the ResourceState field value if set, zero value otherwise.

func (*DetailedAthlete) GetResourceStateOk

func (o *DetailedAthlete) GetResourceStateOk() (*int32, bool)

GetResourceStateOk returns a tuple with the ResourceState field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DetailedAthlete) GetSex

func (o *DetailedAthlete) GetSex() string

GetSex returns the Sex field value if set, zero value otherwise.

func (*DetailedAthlete) GetSexOk

func (o *DetailedAthlete) GetSexOk() (*string, bool)

GetSexOk returns a tuple with the Sex field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DetailedAthlete) GetShoes

func (o *DetailedAthlete) GetShoes() []SummaryGear

GetShoes returns the Shoes field value if set, zero value otherwise.

func (*DetailedAthlete) GetShoesOk

func (o *DetailedAthlete) GetShoesOk() ([]SummaryGear, bool)

GetShoesOk returns a tuple with the Shoes field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DetailedAthlete) GetState

func (o *DetailedAthlete) GetState() string

GetState returns the State field value if set, zero value otherwise.

func (*DetailedAthlete) GetStateOk

func (o *DetailedAthlete) GetStateOk() (*string, bool)

GetStateOk returns a tuple with the State field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DetailedAthlete) GetSummit

func (o *DetailedAthlete) GetSummit() bool

GetSummit returns the Summit field value if set, zero value otherwise.

func (*DetailedAthlete) GetSummitOk

func (o *DetailedAthlete) GetSummitOk() (*bool, bool)

GetSummitOk returns a tuple with the Summit field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DetailedAthlete) GetUpdatedAt

func (o *DetailedAthlete) GetUpdatedAt() time.Time

GetUpdatedAt returns the UpdatedAt field value if set, zero value otherwise.

func (*DetailedAthlete) GetUpdatedAtOk

func (o *DetailedAthlete) GetUpdatedAtOk() (*time.Time, bool)

GetUpdatedAtOk returns a tuple with the UpdatedAt field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DetailedAthlete) GetWeight

func (o *DetailedAthlete) GetWeight() float32

GetWeight returns the Weight field value if set, zero value otherwise.

func (*DetailedAthlete) GetWeightOk

func (o *DetailedAthlete) GetWeightOk() (*float32, bool)

GetWeightOk returns a tuple with the Weight field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DetailedAthlete) HasBikes

func (o *DetailedAthlete) HasBikes() bool

HasBikes returns a boolean if a field has been set.

func (*DetailedAthlete) HasCity

func (o *DetailedAthlete) HasCity() bool

HasCity returns a boolean if a field has been set.

func (*DetailedAthlete) HasClubs

func (o *DetailedAthlete) HasClubs() bool

HasClubs returns a boolean if a field has been set.

func (*DetailedAthlete) HasCountry

func (o *DetailedAthlete) HasCountry() bool

HasCountry returns a boolean if a field has been set.

func (*DetailedAthlete) HasCreatedAt

func (o *DetailedAthlete) HasCreatedAt() bool

HasCreatedAt returns a boolean if a field has been set.

func (*DetailedAthlete) HasFirstname

func (o *DetailedAthlete) HasFirstname() bool

HasFirstname returns a boolean if a field has been set.

func (*DetailedAthlete) HasFollowerCount

func (o *DetailedAthlete) HasFollowerCount() bool

HasFollowerCount returns a boolean if a field has been set.

func (*DetailedAthlete) HasFriendCount

func (o *DetailedAthlete) HasFriendCount() bool

HasFriendCount returns a boolean if a field has been set.

func (*DetailedAthlete) HasFtp

func (o *DetailedAthlete) HasFtp() bool

HasFtp returns a boolean if a field has been set.

func (*DetailedAthlete) HasId

func (o *DetailedAthlete) HasId() bool

HasId returns a boolean if a field has been set.

func (*DetailedAthlete) HasLastname

func (o *DetailedAthlete) HasLastname() bool

HasLastname returns a boolean if a field has been set.

func (*DetailedAthlete) HasMeasurementPreference

func (o *DetailedAthlete) HasMeasurementPreference() bool

HasMeasurementPreference returns a boolean if a field has been set.

func (*DetailedAthlete) HasPremium

func (o *DetailedAthlete) HasPremium() bool

HasPremium returns a boolean if a field has been set.

func (*DetailedAthlete) HasProfile

func (o *DetailedAthlete) HasProfile() bool

HasProfile returns a boolean if a field has been set.

func (*DetailedAthlete) HasProfileMedium

func (o *DetailedAthlete) HasProfileMedium() bool

HasProfileMedium returns a boolean if a field has been set.

func (*DetailedAthlete) HasResourceState

func (o *DetailedAthlete) HasResourceState() bool

HasResourceState returns a boolean if a field has been set.

func (*DetailedAthlete) HasSex

func (o *DetailedAthlete) HasSex() bool

HasSex returns a boolean if a field has been set.

func (*DetailedAthlete) HasShoes

func (o *DetailedAthlete) HasShoes() bool

HasShoes returns a boolean if a field has been set.

func (*DetailedAthlete) HasState

func (o *DetailedAthlete) HasState() bool

HasState returns a boolean if a field has been set.

func (*DetailedAthlete) HasSummit

func (o *DetailedAthlete) HasSummit() bool

HasSummit returns a boolean if a field has been set.

func (*DetailedAthlete) HasUpdatedAt

func (o *DetailedAthlete) HasUpdatedAt() bool

HasUpdatedAt returns a boolean if a field has been set.

func (*DetailedAthlete) HasWeight

func (o *DetailedAthlete) HasWeight() bool

HasWeight returns a boolean if a field has been set.

func (DetailedAthlete) MarshalJSON

func (o DetailedAthlete) MarshalJSON() ([]byte, error)

func (*DetailedAthlete) SetBikes

func (o *DetailedAthlete) SetBikes(v []SummaryGear)

SetBikes gets a reference to the given []SummaryGear and assigns it to the Bikes field.

func (*DetailedAthlete) SetCity

func (o *DetailedAthlete) SetCity(v string)

SetCity gets a reference to the given string and assigns it to the City field.

func (*DetailedAthlete) SetClubs

func (o *DetailedAthlete) SetClubs(v []SummaryClub)

SetClubs gets a reference to the given []SummaryClub and assigns it to the Clubs field.

func (*DetailedAthlete) SetCountry

func (o *DetailedAthlete) SetCountry(v string)

SetCountry gets a reference to the given string and assigns it to the Country field.

func (*DetailedAthlete) SetCreatedAt

func (o *DetailedAthlete) SetCreatedAt(v time.Time)

SetCreatedAt gets a reference to the given time.Time and assigns it to the CreatedAt field.

func (*DetailedAthlete) SetFirstname

func (o *DetailedAthlete) SetFirstname(v string)

SetFirstname gets a reference to the given string and assigns it to the Firstname field.

func (*DetailedAthlete) SetFollowerCount

func (o *DetailedAthlete) SetFollowerCount(v int32)

SetFollowerCount gets a reference to the given int32 and assigns it to the FollowerCount field.

func (*DetailedAthlete) SetFriendCount

func (o *DetailedAthlete) SetFriendCount(v int32)

SetFriendCount gets a reference to the given int32 and assigns it to the FriendCount field.

func (*DetailedAthlete) SetFtp

func (o *DetailedAthlete) SetFtp(v int32)

SetFtp gets a reference to the given int32 and assigns it to the Ftp field.

func (*DetailedAthlete) SetId

func (o *DetailedAthlete) SetId(v int64)

SetId gets a reference to the given int64 and assigns it to the Id field.

func (*DetailedAthlete) SetLastname

func (o *DetailedAthlete) SetLastname(v string)

SetLastname gets a reference to the given string and assigns it to the Lastname field.

func (*DetailedAthlete) SetMeasurementPreference

func (o *DetailedAthlete) SetMeasurementPreference(v string)

SetMeasurementPreference gets a reference to the given string and assigns it to the MeasurementPreference field.

func (*DetailedAthlete) SetPremium

func (o *DetailedAthlete) SetPremium(v bool)

SetPremium gets a reference to the given bool and assigns it to the Premium field.

func (*DetailedAthlete) SetProfile

func (o *DetailedAthlete) SetProfile(v string)

SetProfile gets a reference to the given string and assigns it to the Profile field.

func (*DetailedAthlete) SetProfileMedium

func (o *DetailedAthlete) SetProfileMedium(v string)

SetProfileMedium gets a reference to the given string and assigns it to the ProfileMedium field.

func (*DetailedAthlete) SetResourceState

func (o *DetailedAthlete) SetResourceState(v int32)

SetResourceState gets a reference to the given int32 and assigns it to the ResourceState field.

func (*DetailedAthlete) SetSex

func (o *DetailedAthlete) SetSex(v string)

SetSex gets a reference to the given string and assigns it to the Sex field.

func (*DetailedAthlete) SetShoes

func (o *DetailedAthlete) SetShoes(v []SummaryGear)

SetShoes gets a reference to the given []SummaryGear and assigns it to the Shoes field.

func (*DetailedAthlete) SetState

func (o *DetailedAthlete) SetState(v string)

SetState gets a reference to the given string and assigns it to the State field.

func (*DetailedAthlete) SetSummit

func (o *DetailedAthlete) SetSummit(v bool)

SetSummit gets a reference to the given bool and assigns it to the Summit field.

func (*DetailedAthlete) SetUpdatedAt

func (o *DetailedAthlete) SetUpdatedAt(v time.Time)

SetUpdatedAt gets a reference to the given time.Time and assigns it to the UpdatedAt field.

func (*DetailedAthlete) SetWeight

func (o *DetailedAthlete) SetWeight(v float32)

SetWeight gets a reference to the given float32 and assigns it to the Weight field.

func (DetailedAthlete) ToMap

func (o DetailedAthlete) ToMap() (map[string]interface{}, error)

type DetailedClub

type DetailedClub struct {
	// The club's unique identifier.
	Id *int64 `json:"id,omitempty"`
	// Resource state, indicates level of detail. Possible values: 1 -> \"meta\", 2 -> \"summary\", 3 -> \"detail\"
	ResourceState *int32 `json:"resource_state,omitempty"`
	// The club's name.
	Name *string `json:"name,omitempty"`
	// URL to a 60x60 pixel profile picture.
	ProfileMedium *string `json:"profile_medium,omitempty"`
	// URL to a ~1185x580 pixel cover photo.
	CoverPhoto *string `json:"cover_photo,omitempty"`
	// URL to a ~360x176  pixel cover photo.
	CoverPhotoSmall *string `json:"cover_photo_small,omitempty"`
	// Deprecated. Prefer to use activity_types.
	SportType *string `json:"sport_type,omitempty"`
	// The activity types that count for a club. This takes precedence over sport_type.
	ActivityTypes []ActivityType `json:"activity_types,omitempty"`
	// The club's city.
	City *string `json:"city,omitempty"`
	// The club's state or geographical region.
	State *string `json:"state,omitempty"`
	// The club's country.
	Country *string `json:"country,omitempty"`
	// Whether the club is private.
	Private *bool `json:"private,omitempty"`
	// The club's member count.
	MemberCount *int32 `json:"member_count,omitempty"`
	// Whether the club is featured or not.
	Featured *bool `json:"featured,omitempty"`
	// Whether the club is verified or not.
	Verified *bool `json:"verified,omitempty"`
	// The club's vanity URL.
	Url *string `json:"url,omitempty"`
	// The membership status of the logged-in athlete.
	Membership *string `json:"membership,omitempty"`
	// Whether the currently logged-in athlete is an administrator of this club.
	Admin *bool `json:"admin,omitempty"`
	// Whether the currently logged-in athlete is the owner of this club.
	Owner *bool `json:"owner,omitempty"`
	// The number of athletes in the club that the logged-in athlete follows.
	FollowingCount *int32 `json:"following_count,omitempty"`
}

DetailedClub struct for DetailedClub

func NewDetailedClub

func NewDetailedClub() *DetailedClub

NewDetailedClub instantiates a new DetailedClub object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewDetailedClubWithDefaults

func NewDetailedClubWithDefaults() *DetailedClub

NewDetailedClubWithDefaults instantiates a new DetailedClub object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*DetailedClub) GetActivityTypes

func (o *DetailedClub) GetActivityTypes() []ActivityType

GetActivityTypes returns the ActivityTypes field value if set, zero value otherwise.

func (*DetailedClub) GetActivityTypesOk

func (o *DetailedClub) GetActivityTypesOk() ([]ActivityType, bool)

GetActivityTypesOk returns a tuple with the ActivityTypes field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DetailedClub) GetAdmin

func (o *DetailedClub) GetAdmin() bool

GetAdmin returns the Admin field value if set, zero value otherwise.

func (*DetailedClub) GetAdminOk

func (o *DetailedClub) GetAdminOk() (*bool, bool)

GetAdminOk returns a tuple with the Admin field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DetailedClub) GetCity

func (o *DetailedClub) GetCity() string

GetCity returns the City field value if set, zero value otherwise.

func (*DetailedClub) GetCityOk

func (o *DetailedClub) GetCityOk() (*string, bool)

GetCityOk returns a tuple with the City field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DetailedClub) GetCountry

func (o *DetailedClub) GetCountry() string

GetCountry returns the Country field value if set, zero value otherwise.

func (*DetailedClub) GetCountryOk

func (o *DetailedClub) GetCountryOk() (*string, bool)

GetCountryOk returns a tuple with the Country field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DetailedClub) GetCoverPhoto

func (o *DetailedClub) GetCoverPhoto() string

GetCoverPhoto returns the CoverPhoto field value if set, zero value otherwise.

func (*DetailedClub) GetCoverPhotoOk

func (o *DetailedClub) GetCoverPhotoOk() (*string, bool)

GetCoverPhotoOk returns a tuple with the CoverPhoto field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DetailedClub) GetCoverPhotoSmall

func (o *DetailedClub) GetCoverPhotoSmall() string

GetCoverPhotoSmall returns the CoverPhotoSmall field value if set, zero value otherwise.

func (*DetailedClub) GetCoverPhotoSmallOk

func (o *DetailedClub) GetCoverPhotoSmallOk() (*string, bool)

GetCoverPhotoSmallOk returns a tuple with the CoverPhotoSmall field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DetailedClub) GetFeatured

func (o *DetailedClub) GetFeatured() bool

GetFeatured returns the Featured field value if set, zero value otherwise.

func (*DetailedClub) GetFeaturedOk

func (o *DetailedClub) GetFeaturedOk() (*bool, bool)

GetFeaturedOk returns a tuple with the Featured field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DetailedClub) GetFollowingCount

func (o *DetailedClub) GetFollowingCount() int32

GetFollowingCount returns the FollowingCount field value if set, zero value otherwise.

func (*DetailedClub) GetFollowingCountOk

func (o *DetailedClub) GetFollowingCountOk() (*int32, bool)

GetFollowingCountOk returns a tuple with the FollowingCount field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DetailedClub) GetId

func (o *DetailedClub) GetId() int64

GetId returns the Id field value if set, zero value otherwise.

func (*DetailedClub) GetIdOk

func (o *DetailedClub) GetIdOk() (*int64, bool)

GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DetailedClub) GetMemberCount

func (o *DetailedClub) GetMemberCount() int32

GetMemberCount returns the MemberCount field value if set, zero value otherwise.

func (*DetailedClub) GetMemberCountOk

func (o *DetailedClub) GetMemberCountOk() (*int32, bool)

GetMemberCountOk returns a tuple with the MemberCount field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DetailedClub) GetMembership

func (o *DetailedClub) GetMembership() string

GetMembership returns the Membership field value if set, zero value otherwise.

func (*DetailedClub) GetMembershipOk

func (o *DetailedClub) GetMembershipOk() (*string, bool)

GetMembershipOk returns a tuple with the Membership field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DetailedClub) GetName

func (o *DetailedClub) GetName() string

GetName returns the Name field value if set, zero value otherwise.

func (*DetailedClub) GetNameOk

func (o *DetailedClub) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DetailedClub) GetOwner

func (o *DetailedClub) GetOwner() bool

GetOwner returns the Owner field value if set, zero value otherwise.

func (*DetailedClub) GetOwnerOk

func (o *DetailedClub) GetOwnerOk() (*bool, bool)

GetOwnerOk returns a tuple with the Owner field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DetailedClub) GetPrivate

func (o *DetailedClub) GetPrivate() bool

GetPrivate returns the Private field value if set, zero value otherwise.

func (*DetailedClub) GetPrivateOk

func (o *DetailedClub) GetPrivateOk() (*bool, bool)

GetPrivateOk returns a tuple with the Private field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DetailedClub) GetProfileMedium

func (o *DetailedClub) GetProfileMedium() string

GetProfileMedium returns the ProfileMedium field value if set, zero value otherwise.

func (*DetailedClub) GetProfileMediumOk

func (o *DetailedClub) GetProfileMediumOk() (*string, bool)

GetProfileMediumOk returns a tuple with the ProfileMedium field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DetailedClub) GetResourceState

func (o *DetailedClub) GetResourceState() int32

GetResourceState returns the ResourceState field value if set, zero value otherwise.

func (*DetailedClub) GetResourceStateOk

func (o *DetailedClub) GetResourceStateOk() (*int32, bool)

GetResourceStateOk returns a tuple with the ResourceState field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DetailedClub) GetSportType

func (o *DetailedClub) GetSportType() string

GetSportType returns the SportType field value if set, zero value otherwise.

func (*DetailedClub) GetSportTypeOk

func (o *DetailedClub) GetSportTypeOk() (*string, bool)

GetSportTypeOk returns a tuple with the SportType field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DetailedClub) GetState

func (o *DetailedClub) GetState() string

GetState returns the State field value if set, zero value otherwise.

func (*DetailedClub) GetStateOk

func (o *DetailedClub) GetStateOk() (*string, bool)

GetStateOk returns a tuple with the State field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DetailedClub) GetUrl

func (o *DetailedClub) GetUrl() string

GetUrl returns the Url field value if set, zero value otherwise.

func (*DetailedClub) GetUrlOk

func (o *DetailedClub) GetUrlOk() (*string, bool)

GetUrlOk returns a tuple with the Url field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DetailedClub) GetVerified

func (o *DetailedClub) GetVerified() bool

GetVerified returns the Verified field value if set, zero value otherwise.

func (*DetailedClub) GetVerifiedOk

func (o *DetailedClub) GetVerifiedOk() (*bool, bool)

GetVerifiedOk returns a tuple with the Verified field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DetailedClub) HasActivityTypes

func (o *DetailedClub) HasActivityTypes() bool

HasActivityTypes returns a boolean if a field has been set.

func (*DetailedClub) HasAdmin

func (o *DetailedClub) HasAdmin() bool

HasAdmin returns a boolean if a field has been set.

func (*DetailedClub) HasCity

func (o *DetailedClub) HasCity() bool

HasCity returns a boolean if a field has been set.

func (*DetailedClub) HasCountry

func (o *DetailedClub) HasCountry() bool

HasCountry returns a boolean if a field has been set.

func (*DetailedClub) HasCoverPhoto

func (o *DetailedClub) HasCoverPhoto() bool

HasCoverPhoto returns a boolean if a field has been set.

func (*DetailedClub) HasCoverPhotoSmall

func (o *DetailedClub) HasCoverPhotoSmall() bool

HasCoverPhotoSmall returns a boolean if a field has been set.

func (*DetailedClub) HasFeatured

func (o *DetailedClub) HasFeatured() bool

HasFeatured returns a boolean if a field has been set.

func (*DetailedClub) HasFollowingCount

func (o *DetailedClub) HasFollowingCount() bool

HasFollowingCount returns a boolean if a field has been set.

func (*DetailedClub) HasId

func (o *DetailedClub) HasId() bool

HasId returns a boolean if a field has been set.

func (*DetailedClub) HasMemberCount

func (o *DetailedClub) HasMemberCount() bool

HasMemberCount returns a boolean if a field has been set.

func (*DetailedClub) HasMembership

func (o *DetailedClub) HasMembership() bool

HasMembership returns a boolean if a field has been set.

func (*DetailedClub) HasName

func (o *DetailedClub) HasName() bool

HasName returns a boolean if a field has been set.

func (*DetailedClub) HasOwner

func (o *DetailedClub) HasOwner() bool

HasOwner returns a boolean if a field has been set.

func (*DetailedClub) HasPrivate

func (o *DetailedClub) HasPrivate() bool

HasPrivate returns a boolean if a field has been set.

func (*DetailedClub) HasProfileMedium

func (o *DetailedClub) HasProfileMedium() bool

HasProfileMedium returns a boolean if a field has been set.

func (*DetailedClub) HasResourceState

func (o *DetailedClub) HasResourceState() bool

HasResourceState returns a boolean if a field has been set.

func (*DetailedClub) HasSportType

func (o *DetailedClub) HasSportType() bool

HasSportType returns a boolean if a field has been set.

func (*DetailedClub) HasState

func (o *DetailedClub) HasState() bool

HasState returns a boolean if a field has been set.

func (*DetailedClub) HasUrl

func (o *DetailedClub) HasUrl() bool

HasUrl returns a boolean if a field has been set.

func (*DetailedClub) HasVerified

func (o *DetailedClub) HasVerified() bool

HasVerified returns a boolean if a field has been set.

func (DetailedClub) MarshalJSON

func (o DetailedClub) MarshalJSON() ([]byte, error)

func (*DetailedClub) SetActivityTypes

func (o *DetailedClub) SetActivityTypes(v []ActivityType)

SetActivityTypes gets a reference to the given []ActivityType and assigns it to the ActivityTypes field.

func (*DetailedClub) SetAdmin

func (o *DetailedClub) SetAdmin(v bool)

SetAdmin gets a reference to the given bool and assigns it to the Admin field.

func (*DetailedClub) SetCity

func (o *DetailedClub) SetCity(v string)

SetCity gets a reference to the given string and assigns it to the City field.

func (*DetailedClub) SetCountry

func (o *DetailedClub) SetCountry(v string)

SetCountry gets a reference to the given string and assigns it to the Country field.

func (*DetailedClub) SetCoverPhoto

func (o *DetailedClub) SetCoverPhoto(v string)

SetCoverPhoto gets a reference to the given string and assigns it to the CoverPhoto field.

func (*DetailedClub) SetCoverPhotoSmall

func (o *DetailedClub) SetCoverPhotoSmall(v string)

SetCoverPhotoSmall gets a reference to the given string and assigns it to the CoverPhotoSmall field.

func (*DetailedClub) SetFeatured

func (o *DetailedClub) SetFeatured(v bool)

SetFeatured gets a reference to the given bool and assigns it to the Featured field.

func (*DetailedClub) SetFollowingCount

func (o *DetailedClub) SetFollowingCount(v int32)

SetFollowingCount gets a reference to the given int32 and assigns it to the FollowingCount field.

func (*DetailedClub) SetId

func (o *DetailedClub) SetId(v int64)

SetId gets a reference to the given int64 and assigns it to the Id field.

func (*DetailedClub) SetMemberCount

func (o *DetailedClub) SetMemberCount(v int32)

SetMemberCount gets a reference to the given int32 and assigns it to the MemberCount field.

func (*DetailedClub) SetMembership

func (o *DetailedClub) SetMembership(v string)

SetMembership gets a reference to the given string and assigns it to the Membership field.

func (*DetailedClub) SetName

func (o *DetailedClub) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

func (*DetailedClub) SetOwner

func (o *DetailedClub) SetOwner(v bool)

SetOwner gets a reference to the given bool and assigns it to the Owner field.

func (*DetailedClub) SetPrivate

func (o *DetailedClub) SetPrivate(v bool)

SetPrivate gets a reference to the given bool and assigns it to the Private field.

func (*DetailedClub) SetProfileMedium

func (o *DetailedClub) SetProfileMedium(v string)

SetProfileMedium gets a reference to the given string and assigns it to the ProfileMedium field.

func (*DetailedClub) SetResourceState

func (o *DetailedClub) SetResourceState(v int32)

SetResourceState gets a reference to the given int32 and assigns it to the ResourceState field.

func (*DetailedClub) SetSportType

func (o *DetailedClub) SetSportType(v string)

SetSportType gets a reference to the given string and assigns it to the SportType field.

func (*DetailedClub) SetState

func (o *DetailedClub) SetState(v string)

SetState gets a reference to the given string and assigns it to the State field.

func (*DetailedClub) SetUrl

func (o *DetailedClub) SetUrl(v string)

SetUrl gets a reference to the given string and assigns it to the Url field.

func (*DetailedClub) SetVerified

func (o *DetailedClub) SetVerified(v bool)

SetVerified gets a reference to the given bool and assigns it to the Verified field.

func (DetailedClub) ToMap

func (o DetailedClub) ToMap() (map[string]interface{}, error)

type DetailedGear

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"`
}

DetailedGear struct for DetailedGear

func NewDetailedGear

func NewDetailedGear() *DetailedGear

NewDetailedGear instantiates a new DetailedGear object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewDetailedGearWithDefaults

func NewDetailedGearWithDefaults() *DetailedGear

NewDetailedGearWithDefaults instantiates a new DetailedGear object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*DetailedGear) GetBrandName

func (o *DetailedGear) GetBrandName() string

GetBrandName returns the BrandName field value if set, zero value otherwise.

func (*DetailedGear) GetBrandNameOk

func (o *DetailedGear) GetBrandNameOk() (*string, bool)

GetBrandNameOk returns a tuple with the BrandName field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DetailedGear) GetDescription

func (o *DetailedGear) GetDescription() string

GetDescription returns the Description field value if set, zero value otherwise.

func (*DetailedGear) GetDescriptionOk

func (o *DetailedGear) GetDescriptionOk() (*string, bool)

GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DetailedGear) GetDistance

func (o *DetailedGear) GetDistance() float32

GetDistance returns the Distance field value if set, zero value otherwise.

func (*DetailedGear) GetDistanceOk

func (o *DetailedGear) GetDistanceOk() (*float32, bool)

GetDistanceOk returns a tuple with the Distance field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DetailedGear) GetFrameType

func (o *DetailedGear) GetFrameType() int32

GetFrameType returns the FrameType field value if set, zero value otherwise.

func (*DetailedGear) GetFrameTypeOk

func (o *DetailedGear) GetFrameTypeOk() (*int32, bool)

GetFrameTypeOk returns a tuple with the FrameType field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DetailedGear) GetId

func (o *DetailedGear) GetId() string

GetId returns the Id field value if set, zero value otherwise.

func (*DetailedGear) GetIdOk

func (o *DetailedGear) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DetailedGear) GetModelName

func (o *DetailedGear) GetModelName() string

GetModelName returns the ModelName field value if set, zero value otherwise.

func (*DetailedGear) GetModelNameOk

func (o *DetailedGear) GetModelNameOk() (*string, bool)

GetModelNameOk returns a tuple with the ModelName field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DetailedGear) GetName

func (o *DetailedGear) GetName() string

GetName returns the Name field value if set, zero value otherwise.

func (*DetailedGear) GetNameOk

func (o *DetailedGear) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DetailedGear) GetPrimary

func (o *DetailedGear) GetPrimary() bool

GetPrimary returns the Primary field value if set, zero value otherwise.

func (*DetailedGear) GetPrimaryOk

func (o *DetailedGear) GetPrimaryOk() (*bool, bool)

GetPrimaryOk returns a tuple with the Primary field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DetailedGear) GetResourceState

func (o *DetailedGear) GetResourceState() int32

GetResourceState returns the ResourceState field value if set, zero value otherwise.

func (*DetailedGear) GetResourceStateOk

func (o *DetailedGear) GetResourceStateOk() (*int32, bool)

GetResourceStateOk returns a tuple with the ResourceState field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DetailedGear) HasBrandName

func (o *DetailedGear) HasBrandName() bool

HasBrandName returns a boolean if a field has been set.

func (*DetailedGear) HasDescription

func (o *DetailedGear) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*DetailedGear) HasDistance

func (o *DetailedGear) HasDistance() bool

HasDistance returns a boolean if a field has been set.

func (*DetailedGear) HasFrameType

func (o *DetailedGear) HasFrameType() bool

HasFrameType returns a boolean if a field has been set.

func (*DetailedGear) HasId

func (o *DetailedGear) HasId() bool

HasId returns a boolean if a field has been set.

func (*DetailedGear) HasModelName

func (o *DetailedGear) HasModelName() bool

HasModelName returns a boolean if a field has been set.

func (*DetailedGear) HasName

func (o *DetailedGear) HasName() bool

HasName returns a boolean if a field has been set.

func (*DetailedGear) HasPrimary

func (o *DetailedGear) HasPrimary() bool

HasPrimary returns a boolean if a field has been set.

func (*DetailedGear) HasResourceState

func (o *DetailedGear) HasResourceState() bool

HasResourceState returns a boolean if a field has been set.

func (DetailedGear) MarshalJSON

func (o DetailedGear) MarshalJSON() ([]byte, error)

func (*DetailedGear) SetBrandName

func (o *DetailedGear) SetBrandName(v string)

SetBrandName gets a reference to the given string and assigns it to the BrandName field.

func (*DetailedGear) SetDescription

func (o *DetailedGear) SetDescription(v string)

SetDescription gets a reference to the given string and assigns it to the Description field.

func (*DetailedGear) SetDistance

func (o *DetailedGear) SetDistance(v float32)

SetDistance gets a reference to the given float32 and assigns it to the Distance field.

func (*DetailedGear) SetFrameType

func (o *DetailedGear) SetFrameType(v int32)

SetFrameType gets a reference to the given int32 and assigns it to the FrameType field.

func (*DetailedGear) SetId

func (o *DetailedGear) SetId(v string)

SetId gets a reference to the given string and assigns it to the Id field.

func (*DetailedGear) SetModelName

func (o *DetailedGear) SetModelName(v string)

SetModelName gets a reference to the given string and assigns it to the ModelName field.

func (*DetailedGear) SetName

func (o *DetailedGear) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

func (*DetailedGear) SetPrimary

func (o *DetailedGear) SetPrimary(v bool)

SetPrimary gets a reference to the given bool and assigns it to the Primary field.

func (*DetailedGear) SetResourceState

func (o *DetailedGear) SetResourceState(v int32)

SetResourceState gets a reference to the given int32 and assigns it to the ResourceState field.

func (DetailedGear) ToMap

func (o DetailedGear) ToMap() (map[string]interface{}, error)

type DetailedSegment

type DetailedSegment struct {
	// The unique identifier of this segment
	Id *int64 `json:"id,omitempty"`
	// The name of this segment
	Name         *string `json:"name,omitempty"`
	ActivityType *string `json:"activity_type,omitempty"`
	// The segment's distance, in meters
	Distance *float32 `json:"distance,omitempty"`
	// The segment's average grade, in percents
	AverageGrade *float32 `json:"average_grade,omitempty"`
	// The segments's maximum grade, in percents
	MaximumGrade *float32 `json:"maximum_grade,omitempty"`
	// The segments's highest elevation, in meters
	ElevationHigh *float32 `json:"elevation_high,omitempty"`
	// The segments's lowest elevation, in meters
	ElevationLow *float32 `json:"elevation_low,omitempty"`
	// A pair of latitude/longitude coordinates, represented as an array of 2 floating point numbers.
	StartLatlng []float32 `json:"start_latlng,omitempty"`
	// A pair of latitude/longitude coordinates, represented as an array of 2 floating point numbers.
	EndLatlng []float32 `json:"end_latlng,omitempty"`
	// The category of the climb [0, 5]. Higher is harder ie. 5 is Hors catégorie, 0 is uncategorized in climb_category.
	ClimbCategory *int32 `json:"climb_category,omitempty"`
	// The segments's city.
	City *string `json:"city,omitempty"`
	// The segments's state or geographical region.
	State *string `json:"state,omitempty"`
	// The segment's country.
	Country *string `json:"country,omitempty"`
	// Whether this segment is private.
	Private             *bool                   `json:"private,omitempty"`
	AthletePrEffort     *SummaryPRSegmentEffort `json:"athlete_pr_effort,omitempty"`
	AthleteSegmentStats *SummarySegmentEffort   `json:"athlete_segment_stats,omitempty"`
	// The time at which the segment was created.
	CreatedAt *time.Time `json:"created_at,omitempty"`
	// The time at which the segment was last updated.
	UpdatedAt *time.Time `json:"updated_at,omitempty"`
	// The segment's total elevation gain.
	TotalElevationGain *float32     `json:"total_elevation_gain,omitempty"`
	Map                *PolylineMap `json:"map,omitempty"`
	// The total number of efforts for this segment
	EffortCount *int32 `json:"effort_count,omitempty"`
	// The number of unique athletes who have an effort for this segment
	AthleteCount *int32 `json:"athlete_count,omitempty"`
	// Whether this segment is considered hazardous
	Hazardous *bool `json:"hazardous,omitempty"`
	// The number of stars for this segment
	StarCount *int32 `json:"star_count,omitempty"`
}

DetailedSegment struct for DetailedSegment

func NewDetailedSegment

func NewDetailedSegment() *DetailedSegment

NewDetailedSegment instantiates a new DetailedSegment object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewDetailedSegmentWithDefaults

func NewDetailedSegmentWithDefaults() *DetailedSegment

NewDetailedSegmentWithDefaults instantiates a new DetailedSegment object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*DetailedSegment) GetActivityType

func (o *DetailedSegment) GetActivityType() string

GetActivityType returns the ActivityType field value if set, zero value otherwise.

func (*DetailedSegment) GetActivityTypeOk

func (o *DetailedSegment) GetActivityTypeOk() (*string, bool)

GetActivityTypeOk returns a tuple with the ActivityType field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DetailedSegment) GetAthleteCount

func (o *DetailedSegment) GetAthleteCount() int32

GetAthleteCount returns the AthleteCount field value if set, zero value otherwise.

func (*DetailedSegment) GetAthleteCountOk

func (o *DetailedSegment) GetAthleteCountOk() (*int32, bool)

GetAthleteCountOk returns a tuple with the AthleteCount field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DetailedSegment) GetAthletePrEffort

func (o *DetailedSegment) GetAthletePrEffort() SummaryPRSegmentEffort

GetAthletePrEffort returns the AthletePrEffort field value if set, zero value otherwise.

func (*DetailedSegment) GetAthletePrEffortOk

func (o *DetailedSegment) GetAthletePrEffortOk() (*SummaryPRSegmentEffort, bool)

GetAthletePrEffortOk returns a tuple with the AthletePrEffort field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DetailedSegment) GetAthleteSegmentStats

func (o *DetailedSegment) GetAthleteSegmentStats() SummarySegmentEffort

GetAthleteSegmentStats returns the AthleteSegmentStats field value if set, zero value otherwise.

func (*DetailedSegment) GetAthleteSegmentStatsOk

func (o *DetailedSegment) GetAthleteSegmentStatsOk() (*SummarySegmentEffort, bool)

GetAthleteSegmentStatsOk returns a tuple with the AthleteSegmentStats field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DetailedSegment) GetAverageGrade

func (o *DetailedSegment) GetAverageGrade() float32

GetAverageGrade returns the AverageGrade field value if set, zero value otherwise.

func (*DetailedSegment) GetAverageGradeOk

func (o *DetailedSegment) GetAverageGradeOk() (*float32, bool)

GetAverageGradeOk returns a tuple with the AverageGrade field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DetailedSegment) GetCity

func (o *DetailedSegment) GetCity() string

GetCity returns the City field value if set, zero value otherwise.

func (*DetailedSegment) GetCityOk

func (o *DetailedSegment) GetCityOk() (*string, bool)

GetCityOk returns a tuple with the City field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DetailedSegment) GetClimbCategory

func (o *DetailedSegment) GetClimbCategory() int32

GetClimbCategory returns the ClimbCategory field value if set, zero value otherwise.

func (*DetailedSegment) GetClimbCategoryOk

func (o *DetailedSegment) GetClimbCategoryOk() (*int32, bool)

GetClimbCategoryOk returns a tuple with the ClimbCategory field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DetailedSegment) GetCountry

func (o *DetailedSegment) GetCountry() string

GetCountry returns the Country field value if set, zero value otherwise.

func (*DetailedSegment) GetCountryOk

func (o *DetailedSegment) GetCountryOk() (*string, bool)

GetCountryOk returns a tuple with the Country field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DetailedSegment) GetCreatedAt

func (o *DetailedSegment) GetCreatedAt() time.Time

GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.

func (*DetailedSegment) GetCreatedAtOk

func (o *DetailedSegment) GetCreatedAtOk() (*time.Time, bool)

GetCreatedAtOk returns a tuple with the CreatedAt field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DetailedSegment) GetDistance

func (o *DetailedSegment) GetDistance() float32

GetDistance returns the Distance field value if set, zero value otherwise.

func (*DetailedSegment) GetDistanceOk

func (o *DetailedSegment) GetDistanceOk() (*float32, bool)

GetDistanceOk returns a tuple with the Distance field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DetailedSegment) GetEffortCount

func (o *DetailedSegment) GetEffortCount() int32

GetEffortCount returns the EffortCount field value if set, zero value otherwise.

func (*DetailedSegment) GetEffortCountOk

func (o *DetailedSegment) GetEffortCountOk() (*int32, bool)

GetEffortCountOk returns a tuple with the EffortCount field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DetailedSegment) GetElevationHigh

func (o *DetailedSegment) GetElevationHigh() float32

GetElevationHigh returns the ElevationHigh field value if set, zero value otherwise.

func (*DetailedSegment) GetElevationHighOk

func (o *DetailedSegment) GetElevationHighOk() (*float32, bool)

GetElevationHighOk returns a tuple with the ElevationHigh field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DetailedSegment) GetElevationLow

func (o *DetailedSegment) GetElevationLow() float32

GetElevationLow returns the ElevationLow field value if set, zero value otherwise.

func (*DetailedSegment) GetElevationLowOk

func (o *DetailedSegment) GetElevationLowOk() (*float32, bool)

GetElevationLowOk returns a tuple with the ElevationLow field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DetailedSegment) GetEndLatlng

func (o *DetailedSegment) GetEndLatlng() []float32

GetEndLatlng returns the EndLatlng field value if set, zero value otherwise.

func (*DetailedSegment) GetEndLatlngOk

func (o *DetailedSegment) GetEndLatlngOk() ([]float32, bool)

GetEndLatlngOk returns a tuple with the EndLatlng field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DetailedSegment) GetHazardous

func (o *DetailedSegment) GetHazardous() bool

GetHazardous returns the Hazardous field value if set, zero value otherwise.

func (*DetailedSegment) GetHazardousOk

func (o *DetailedSegment) GetHazardousOk() (*bool, bool)

GetHazardousOk returns a tuple with the Hazardous field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DetailedSegment) GetId

func (o *DetailedSegment) GetId() int64

GetId returns the Id field value if set, zero value otherwise.

func (*DetailedSegment) GetIdOk

func (o *DetailedSegment) GetIdOk() (*int64, bool)

GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DetailedSegment) GetMap

func (o *DetailedSegment) GetMap() PolylineMap

GetMap returns the Map field value if set, zero value otherwise.

func (*DetailedSegment) GetMapOk

func (o *DetailedSegment) GetMapOk() (*PolylineMap, bool)

GetMapOk returns a tuple with the Map field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DetailedSegment) GetMaximumGrade

func (o *DetailedSegment) GetMaximumGrade() float32

GetMaximumGrade returns the MaximumGrade field value if set, zero value otherwise.

func (*DetailedSegment) GetMaximumGradeOk

func (o *DetailedSegment) GetMaximumGradeOk() (*float32, bool)

GetMaximumGradeOk returns a tuple with the MaximumGrade field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DetailedSegment) GetName

func (o *DetailedSegment) GetName() string

GetName returns the Name field value if set, zero value otherwise.

func (*DetailedSegment) GetNameOk

func (o *DetailedSegment) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DetailedSegment) GetPrivate

func (o *DetailedSegment) GetPrivate() bool

GetPrivate returns the Private field value if set, zero value otherwise.

func (*DetailedSegment) GetPrivateOk

func (o *DetailedSegment) GetPrivateOk() (*bool, bool)

GetPrivateOk returns a tuple with the Private field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DetailedSegment) GetStarCount

func (o *DetailedSegment) GetStarCount() int32

GetStarCount returns the StarCount field value if set, zero value otherwise.

func (*DetailedSegment) GetStarCountOk

func (o *DetailedSegment) GetStarCountOk() (*int32, bool)

GetStarCountOk returns a tuple with the StarCount field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DetailedSegment) GetStartLatlng

func (o *DetailedSegment) GetStartLatlng() []float32

GetStartLatlng returns the StartLatlng field value if set, zero value otherwise.

func (*DetailedSegment) GetStartLatlngOk

func (o *DetailedSegment) GetStartLatlngOk() ([]float32, bool)

GetStartLatlngOk returns a tuple with the StartLatlng field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DetailedSegment) GetState

func (o *DetailedSegment) GetState() string

GetState returns the State field value if set, zero value otherwise.

func (*DetailedSegment) GetStateOk

func (o *DetailedSegment) GetStateOk() (*string, bool)

GetStateOk returns a tuple with the State field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DetailedSegment) GetTotalElevationGain

func (o *DetailedSegment) GetTotalElevationGain() float32

GetTotalElevationGain returns the TotalElevationGain field value if set, zero value otherwise.

func (*DetailedSegment) GetTotalElevationGainOk

func (o *DetailedSegment) GetTotalElevationGainOk() (*float32, bool)

GetTotalElevationGainOk returns a tuple with the TotalElevationGain field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DetailedSegment) GetUpdatedAt

func (o *DetailedSegment) GetUpdatedAt() time.Time

GetUpdatedAt returns the UpdatedAt field value if set, zero value otherwise.

func (*DetailedSegment) GetUpdatedAtOk

func (o *DetailedSegment) GetUpdatedAtOk() (*time.Time, bool)

GetUpdatedAtOk returns a tuple with the UpdatedAt field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DetailedSegment) HasActivityType

func (o *DetailedSegment) HasActivityType() bool

HasActivityType returns a boolean if a field has been set.

func (*DetailedSegment) HasAthleteCount

func (o *DetailedSegment) HasAthleteCount() bool

HasAthleteCount returns a boolean if a field has been set.

func (*DetailedSegment) HasAthletePrEffort

func (o *DetailedSegment) HasAthletePrEffort() bool

HasAthletePrEffort returns a boolean if a field has been set.

func (*DetailedSegment) HasAthleteSegmentStats

func (o *DetailedSegment) HasAthleteSegmentStats() bool

HasAthleteSegmentStats returns a boolean if a field has been set.

func (*DetailedSegment) HasAverageGrade

func (o *DetailedSegment) HasAverageGrade() bool

HasAverageGrade returns a boolean if a field has been set.

func (*DetailedSegment) HasCity

func (o *DetailedSegment) HasCity() bool

HasCity returns a boolean if a field has been set.

func (*DetailedSegment) HasClimbCategory

func (o *DetailedSegment) HasClimbCategory() bool

HasClimbCategory returns a boolean if a field has been set.

func (*DetailedSegment) HasCountry

func (o *DetailedSegment) HasCountry() bool

HasCountry returns a boolean if a field has been set.

func (*DetailedSegment) HasCreatedAt

func (o *DetailedSegment) HasCreatedAt() bool

HasCreatedAt returns a boolean if a field has been set.

func (*DetailedSegment) HasDistance

func (o *DetailedSegment) HasDistance() bool

HasDistance returns a boolean if a field has been set.

func (*DetailedSegment) HasEffortCount

func (o *DetailedSegment) HasEffortCount() bool

HasEffortCount returns a boolean if a field has been set.

func (*DetailedSegment) HasElevationHigh

func (o *DetailedSegment) HasElevationHigh() bool

HasElevationHigh returns a boolean if a field has been set.

func (*DetailedSegment) HasElevationLow

func (o *DetailedSegment) HasElevationLow() bool

HasElevationLow returns a boolean if a field has been set.

func (*DetailedSegment) HasEndLatlng

func (o *DetailedSegment) HasEndLatlng() bool

HasEndLatlng returns a boolean if a field has been set.

func (*DetailedSegment) HasHazardous

func (o *DetailedSegment) HasHazardous() bool

HasHazardous returns a boolean if a field has been set.

func (*DetailedSegment) HasId

func (o *DetailedSegment) HasId() bool

HasId returns a boolean if a field has been set.

func (*DetailedSegment) HasMap

func (o *DetailedSegment) HasMap() bool

HasMap returns a boolean if a field has been set.

func (*DetailedSegment) HasMaximumGrade

func (o *DetailedSegment) HasMaximumGrade() bool

HasMaximumGrade returns a boolean if a field has been set.

func (*DetailedSegment) HasName

func (o *DetailedSegment) HasName() bool

HasName returns a boolean if a field has been set.

func (*DetailedSegment) HasPrivate

func (o *DetailedSegment) HasPrivate() bool

HasPrivate returns a boolean if a field has been set.

func (*DetailedSegment) HasStarCount

func (o *DetailedSegment) HasStarCount() bool

HasStarCount returns a boolean if a field has been set.

func (*DetailedSegment) HasStartLatlng

func (o *DetailedSegment) HasStartLatlng() bool

HasStartLatlng returns a boolean if a field has been set.

func (*DetailedSegment) HasState

func (o *DetailedSegment) HasState() bool

HasState returns a boolean if a field has been set.

func (*DetailedSegment) HasTotalElevationGain

func (o *DetailedSegment) HasTotalElevationGain() bool

HasTotalElevationGain returns a boolean if a field has been set.

func (*DetailedSegment) HasUpdatedAt

func (o *DetailedSegment) HasUpdatedAt() bool

HasUpdatedAt returns a boolean if a field has been set.

func (DetailedSegment) MarshalJSON

func (o DetailedSegment) MarshalJSON() ([]byte, error)

func (*DetailedSegment) SetActivityType

func (o *DetailedSegment) SetActivityType(v string)

SetActivityType gets a reference to the given string and assigns it to the ActivityType field.

func (*DetailedSegment) SetAthleteCount

func (o *DetailedSegment) SetAthleteCount(v int32)

SetAthleteCount gets a reference to the given int32 and assigns it to the AthleteCount field.

func (*DetailedSegment) SetAthletePrEffort

func (o *DetailedSegment) SetAthletePrEffort(v SummaryPRSegmentEffort)

SetAthletePrEffort gets a reference to the given SummaryPRSegmentEffort and assigns it to the AthletePrEffort field.

func (*DetailedSegment) SetAthleteSegmentStats

func (o *DetailedSegment) SetAthleteSegmentStats(v SummarySegmentEffort)

SetAthleteSegmentStats gets a reference to the given SummarySegmentEffort and assigns it to the AthleteSegmentStats field.

func (*DetailedSegment) SetAverageGrade

func (o *DetailedSegment) SetAverageGrade(v float32)

SetAverageGrade gets a reference to the given float32 and assigns it to the AverageGrade field.

func (*DetailedSegment) SetCity

func (o *DetailedSegment) SetCity(v string)

SetCity gets a reference to the given string and assigns it to the City field.

func (*DetailedSegment) SetClimbCategory

func (o *DetailedSegment) SetClimbCategory(v int32)

SetClimbCategory gets a reference to the given int32 and assigns it to the ClimbCategory field.

func (*DetailedSegment) SetCountry

func (o *DetailedSegment) SetCountry(v string)

SetCountry gets a reference to the given string and assigns it to the Country field.

func (*DetailedSegment) SetCreatedAt

func (o *DetailedSegment) SetCreatedAt(v time.Time)

SetCreatedAt gets a reference to the given time.Time and assigns it to the CreatedAt field.

func (*DetailedSegment) SetDistance

func (o *DetailedSegment) SetDistance(v float32)

SetDistance gets a reference to the given float32 and assigns it to the Distance field.

func (*DetailedSegment) SetEffortCount

func (o *DetailedSegment) SetEffortCount(v int32)

SetEffortCount gets a reference to the given int32 and assigns it to the EffortCount field.

func (*DetailedSegment) SetElevationHigh

func (o *DetailedSegment) SetElevationHigh(v float32)

SetElevationHigh gets a reference to the given float32 and assigns it to the ElevationHigh field.

func (*DetailedSegment) SetElevationLow

func (o *DetailedSegment) SetElevationLow(v float32)

SetElevationLow gets a reference to the given float32 and assigns it to the ElevationLow field.

func (*DetailedSegment) SetEndLatlng

func (o *DetailedSegment) SetEndLatlng(v []float32)

SetEndLatlng gets a reference to the given []float32 and assigns it to the EndLatlng field.

func (*DetailedSegment) SetHazardous

func (o *DetailedSegment) SetHazardous(v bool)

SetHazardous gets a reference to the given bool and assigns it to the Hazardous field.

func (*DetailedSegment) SetId

func (o *DetailedSegment) SetId(v int64)

SetId gets a reference to the given int64 and assigns it to the Id field.

func (*DetailedSegment) SetMap

func (o *DetailedSegment) SetMap(v PolylineMap)

SetMap gets a reference to the given PolylineMap and assigns it to the Map field.

func (*DetailedSegment) SetMaximumGrade

func (o *DetailedSegment) SetMaximumGrade(v float32)

SetMaximumGrade gets a reference to the given float32 and assigns it to the MaximumGrade field.

func (*DetailedSegment) SetName

func (o *DetailedSegment) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

func (*DetailedSegment) SetPrivate

func (o *DetailedSegment) SetPrivate(v bool)

SetPrivate gets a reference to the given bool and assigns it to the Private field.

func (*DetailedSegment) SetStarCount

func (o *DetailedSegment) SetStarCount(v int32)

SetStarCount gets a reference to the given int32 and assigns it to the StarCount field.

func (*DetailedSegment) SetStartLatlng

func (o *DetailedSegment) SetStartLatlng(v []float32)

SetStartLatlng gets a reference to the given []float32 and assigns it to the StartLatlng field.

func (*DetailedSegment) SetState

func (o *DetailedSegment) SetState(v string)

SetState gets a reference to the given string and assigns it to the State field.

func (*DetailedSegment) SetTotalElevationGain

func (o *DetailedSegment) SetTotalElevationGain(v float32)

SetTotalElevationGain gets a reference to the given float32 and assigns it to the TotalElevationGain field.

func (*DetailedSegment) SetUpdatedAt

func (o *DetailedSegment) SetUpdatedAt(v time.Time)

SetUpdatedAt gets a reference to the given time.Time and assigns it to the UpdatedAt field.

func (DetailedSegment) ToMap

func (o DetailedSegment) ToMap() (map[string]interface{}, error)

type DetailedSegmentEffort

type DetailedSegmentEffort struct {
	// The unique identifier of this effort
	Id *int64 `json:"id,omitempty"`
	// The unique identifier of the activity related to this effort
	ActivityId *int64 `json:"activity_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"`
	// The name of the segment on which this effort was performed
	Name     *string       `json:"name,omitempty"`
	Activity *MetaActivity `json:"activity,omitempty"`
	Athlete  *MetaAthlete  `json:"athlete,omitempty"`
	// The effort's moving time
	MovingTime *int32 `json:"moving_time,omitempty"`
	// The start index of this effort in its activity's stream
	StartIndex *int32 `json:"start_index,omitempty"`
	// The end index of this effort in its activity's stream
	EndIndex *int32 `json:"end_index,omitempty"`
	// The effort's average cadence
	AverageCadence *float32 `json:"average_cadence,omitempty"`
	// The average wattage of this effort
	AverageWatts *float32 `json:"average_watts,omitempty"`
	// For riding efforts, whether the wattage was reported by a dedicated recording device
	DeviceWatts *bool `json:"device_watts,omitempty"`
	// The heart heart rate of the athlete during this effort
	AverageHeartrate *float32 `json:"average_heartrate,omitempty"`
	// The maximum heart rate of the athlete during this effort
	MaxHeartrate *float32        `json:"max_heartrate,omitempty"`
	Segment      *SummarySegment `json:"segment,omitempty"`
	// The rank of the effort on the global leaderboard if it belongs in the top 10 at the time of upload
	KomRank *int32 `json:"kom_rank,omitempty"`
	// The rank of the effort on the athlete's leaderboard if it belongs in the top 3 at the time of upload
	PrRank *int32 `json:"pr_rank,omitempty"`
	// Whether this effort should be hidden when viewed within an activity
	Hidden *bool `json:"hidden,omitempty"`
}

DetailedSegmentEffort struct for DetailedSegmentEffort

func NewDetailedSegmentEffort

func NewDetailedSegmentEffort() *DetailedSegmentEffort

NewDetailedSegmentEffort instantiates a new DetailedSegmentEffort object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewDetailedSegmentEffortWithDefaults

func NewDetailedSegmentEffortWithDefaults() *DetailedSegmentEffort

NewDetailedSegmentEffortWithDefaults instantiates a new DetailedSegmentEffort object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*DetailedSegmentEffort) GetActivity

func (o *DetailedSegmentEffort) GetActivity() MetaActivity

GetActivity returns the Activity field value if set, zero value otherwise.

func (*DetailedSegmentEffort) GetActivityId

func (o *DetailedSegmentEffort) GetActivityId() int64

GetActivityId returns the ActivityId field value if set, zero value otherwise.

func (*DetailedSegmentEffort) GetActivityIdOk

func (o *DetailedSegmentEffort) GetActivityIdOk() (*int64, bool)

GetActivityIdOk returns a tuple with the ActivityId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DetailedSegmentEffort) GetActivityOk

func (o *DetailedSegmentEffort) GetActivityOk() (*MetaActivity, bool)

GetActivityOk returns a tuple with the Activity field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DetailedSegmentEffort) GetAthlete

func (o *DetailedSegmentEffort) GetAthlete() MetaAthlete

GetAthlete returns the Athlete field value if set, zero value otherwise.

func (*DetailedSegmentEffort) GetAthleteOk

func (o *DetailedSegmentEffort) GetAthleteOk() (*MetaAthlete, bool)

GetAthleteOk returns a tuple with the Athlete field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DetailedSegmentEffort) GetAverageCadence

func (o *DetailedSegmentEffort) GetAverageCadence() float32

GetAverageCadence returns the AverageCadence field value if set, zero value otherwise.

func (*DetailedSegmentEffort) GetAverageCadenceOk

func (o *DetailedSegmentEffort) GetAverageCadenceOk() (*float32, bool)

GetAverageCadenceOk returns a tuple with the AverageCadence field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DetailedSegmentEffort) GetAverageHeartrate

func (o *DetailedSegmentEffort) GetAverageHeartrate() float32

GetAverageHeartrate returns the AverageHeartrate field value if set, zero value otherwise.

func (*DetailedSegmentEffort) GetAverageHeartrateOk

func (o *DetailedSegmentEffort) GetAverageHeartrateOk() (*float32, bool)

GetAverageHeartrateOk returns a tuple with the AverageHeartrate field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DetailedSegmentEffort) GetAverageWatts

func (o *DetailedSegmentEffort) GetAverageWatts() float32

GetAverageWatts returns the AverageWatts field value if set, zero value otherwise.

func (*DetailedSegmentEffort) GetAverageWattsOk

func (o *DetailedSegmentEffort) GetAverageWattsOk() (*float32, bool)

GetAverageWattsOk returns a tuple with the AverageWatts field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DetailedSegmentEffort) GetDeviceWatts

func (o *DetailedSegmentEffort) GetDeviceWatts() bool

GetDeviceWatts returns the DeviceWatts field value if set, zero value otherwise.

func (*DetailedSegmentEffort) GetDeviceWattsOk

func (o *DetailedSegmentEffort) GetDeviceWattsOk() (*bool, bool)

GetDeviceWattsOk returns a tuple with the DeviceWatts field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DetailedSegmentEffort) GetDistance

func (o *DetailedSegmentEffort) GetDistance() float32

GetDistance returns the Distance field value if set, zero value otherwise.

func (*DetailedSegmentEffort) GetDistanceOk

func (o *DetailedSegmentEffort) GetDistanceOk() (*float32, bool)

GetDistanceOk returns a tuple with the Distance field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DetailedSegmentEffort) GetElapsedTime

func (o *DetailedSegmentEffort) GetElapsedTime() int32

GetElapsedTime returns the ElapsedTime field value if set, zero value otherwise.

func (*DetailedSegmentEffort) GetElapsedTimeOk

func (o *DetailedSegmentEffort) GetElapsedTimeOk() (*int32, bool)

GetElapsedTimeOk returns a tuple with the ElapsedTime field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DetailedSegmentEffort) GetEndIndex

func (o *DetailedSegmentEffort) GetEndIndex() int32

GetEndIndex returns the EndIndex field value if set, zero value otherwise.

func (*DetailedSegmentEffort) GetEndIndexOk

func (o *DetailedSegmentEffort) GetEndIndexOk() (*int32, bool)

GetEndIndexOk returns a tuple with the EndIndex field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DetailedSegmentEffort) GetHidden

func (o *DetailedSegmentEffort) GetHidden() bool

GetHidden returns the Hidden field value if set, zero value otherwise.

func (*DetailedSegmentEffort) GetHiddenOk

func (o *DetailedSegmentEffort) GetHiddenOk() (*bool, bool)

GetHiddenOk returns a tuple with the Hidden field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DetailedSegmentEffort) GetId

func (o *DetailedSegmentEffort) GetId() int64

GetId returns the Id field value if set, zero value otherwise.

func (*DetailedSegmentEffort) GetIdOk

func (o *DetailedSegmentEffort) GetIdOk() (*int64, bool)

GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DetailedSegmentEffort) GetIsKom

func (o *DetailedSegmentEffort) GetIsKom() bool

GetIsKom returns the IsKom field value if set, zero value otherwise.

func (*DetailedSegmentEffort) GetIsKomOk

func (o *DetailedSegmentEffort) GetIsKomOk() (*bool, bool)

GetIsKomOk returns a tuple with the IsKom field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DetailedSegmentEffort) GetKomRank

func (o *DetailedSegmentEffort) GetKomRank() int32

GetKomRank returns the KomRank field value if set, zero value otherwise.

func (*DetailedSegmentEffort) GetKomRankOk

func (o *DetailedSegmentEffort) GetKomRankOk() (*int32, bool)

GetKomRankOk returns a tuple with the KomRank field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DetailedSegmentEffort) GetMaxHeartrate

func (o *DetailedSegmentEffort) GetMaxHeartrate() float32

GetMaxHeartrate returns the MaxHeartrate field value if set, zero value otherwise.

func (*DetailedSegmentEffort) GetMaxHeartrateOk

func (o *DetailedSegmentEffort) GetMaxHeartrateOk() (*float32, bool)

GetMaxHeartrateOk returns a tuple with the MaxHeartrate field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DetailedSegmentEffort) GetMovingTime

func (o *DetailedSegmentEffort) GetMovingTime() int32

GetMovingTime returns the MovingTime field value if set, zero value otherwise.

func (*DetailedSegmentEffort) GetMovingTimeOk

func (o *DetailedSegmentEffort) GetMovingTimeOk() (*int32, bool)

GetMovingTimeOk returns a tuple with the MovingTime field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DetailedSegmentEffort) GetName

func (o *DetailedSegmentEffort) GetName() string

GetName returns the Name field value if set, zero value otherwise.

func (*DetailedSegmentEffort) GetNameOk

func (o *DetailedSegmentEffort) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DetailedSegmentEffort) GetPrRank

func (o *DetailedSegmentEffort) GetPrRank() int32

GetPrRank returns the PrRank field value if set, zero value otherwise.

func (*DetailedSegmentEffort) GetPrRankOk

func (o *DetailedSegmentEffort) GetPrRankOk() (*int32, bool)

GetPrRankOk returns a tuple with the PrRank field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DetailedSegmentEffort) GetSegment

func (o *DetailedSegmentEffort) GetSegment() SummarySegment

GetSegment returns the Segment field value if set, zero value otherwise.

func (*DetailedSegmentEffort) GetSegmentOk

func (o *DetailedSegmentEffort) GetSegmentOk() (*SummarySegment, bool)

GetSegmentOk returns a tuple with the Segment field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DetailedSegmentEffort) GetStartDate

func (o *DetailedSegmentEffort) GetStartDate() time.Time

GetStartDate returns the StartDate field value if set, zero value otherwise.

func (*DetailedSegmentEffort) GetStartDateLocal

func (o *DetailedSegmentEffort) GetStartDateLocal() time.Time

GetStartDateLocal returns the StartDateLocal field value if set, zero value otherwise.

func (*DetailedSegmentEffort) GetStartDateLocalOk

func (o *DetailedSegmentEffort) GetStartDateLocalOk() (*time.Time, bool)

GetStartDateLocalOk returns a tuple with the StartDateLocal field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DetailedSegmentEffort) GetStartDateOk

func (o *DetailedSegmentEffort) GetStartDateOk() (*time.Time, bool)

GetStartDateOk returns a tuple with the StartDate field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DetailedSegmentEffort) GetStartIndex

func (o *DetailedSegmentEffort) GetStartIndex() int32

GetStartIndex returns the StartIndex field value if set, zero value otherwise.

func (*DetailedSegmentEffort) GetStartIndexOk

func (o *DetailedSegmentEffort) GetStartIndexOk() (*int32, bool)

GetStartIndexOk returns a tuple with the StartIndex field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DetailedSegmentEffort) HasActivity

func (o *DetailedSegmentEffort) HasActivity() bool

HasActivity returns a boolean if a field has been set.

func (*DetailedSegmentEffort) HasActivityId

func (o *DetailedSegmentEffort) HasActivityId() bool

HasActivityId returns a boolean if a field has been set.

func (*DetailedSegmentEffort) HasAthlete

func (o *DetailedSegmentEffort) HasAthlete() bool

HasAthlete returns a boolean if a field has been set.

func (*DetailedSegmentEffort) HasAverageCadence

func (o *DetailedSegmentEffort) HasAverageCadence() bool

HasAverageCadence returns a boolean if a field has been set.

func (*DetailedSegmentEffort) HasAverageHeartrate

func (o *DetailedSegmentEffort) HasAverageHeartrate() bool

HasAverageHeartrate returns a boolean if a field has been set.

func (*DetailedSegmentEffort) HasAverageWatts

func (o *DetailedSegmentEffort) HasAverageWatts() bool

HasAverageWatts returns a boolean if a field has been set.

func (*DetailedSegmentEffort) HasDeviceWatts

func (o *DetailedSegmentEffort) HasDeviceWatts() bool

HasDeviceWatts returns a boolean if a field has been set.

func (*DetailedSegmentEffort) HasDistance

func (o *DetailedSegmentEffort) HasDistance() bool

HasDistance returns a boolean if a field has been set.

func (*DetailedSegmentEffort) HasElapsedTime

func (o *DetailedSegmentEffort) HasElapsedTime() bool

HasElapsedTime returns a boolean if a field has been set.

func (*DetailedSegmentEffort) HasEndIndex

func (o *DetailedSegmentEffort) HasEndIndex() bool

HasEndIndex returns a boolean if a field has been set.

func (*DetailedSegmentEffort) HasHidden

func (o *DetailedSegmentEffort) HasHidden() bool

HasHidden returns a boolean if a field has been set.

func (*DetailedSegmentEffort) HasId

func (o *DetailedSegmentEffort) HasId() bool

HasId returns a boolean if a field has been set.

func (*DetailedSegmentEffort) HasIsKom

func (o *DetailedSegmentEffort) HasIsKom() bool

HasIsKom returns a boolean if a field has been set.

func (*DetailedSegmentEffort) HasKomRank

func (o *DetailedSegmentEffort) HasKomRank() bool

HasKomRank returns a boolean if a field has been set.

func (*DetailedSegmentEffort) HasMaxHeartrate

func (o *DetailedSegmentEffort) HasMaxHeartrate() bool

HasMaxHeartrate returns a boolean if a field has been set.

func (*DetailedSegmentEffort) HasMovingTime

func (o *DetailedSegmentEffort) HasMovingTime() bool

HasMovingTime returns a boolean if a field has been set.

func (*DetailedSegmentEffort) HasName

func (o *DetailedSegmentEffort) HasName() bool

HasName returns a boolean if a field has been set.

func (*DetailedSegmentEffort) HasPrRank

func (o *DetailedSegmentEffort) HasPrRank() bool

HasPrRank returns a boolean if a field has been set.

func (*DetailedSegmentEffort) HasSegment

func (o *DetailedSegmentEffort) HasSegment() bool

HasSegment returns a boolean if a field has been set.

func (*DetailedSegmentEffort) HasStartDate

func (o *DetailedSegmentEffort) HasStartDate() bool

HasStartDate returns a boolean if a field has been set.

func (*DetailedSegmentEffort) HasStartDateLocal

func (o *DetailedSegmentEffort) HasStartDateLocal() bool

HasStartDateLocal returns a boolean if a field has been set.

func (*DetailedSegmentEffort) HasStartIndex

func (o *DetailedSegmentEffort) HasStartIndex() bool

HasStartIndex returns a boolean if a field has been set.

func (DetailedSegmentEffort) MarshalJSON

func (o DetailedSegmentEffort) MarshalJSON() ([]byte, error)

func (*DetailedSegmentEffort) SetActivity

func (o *DetailedSegmentEffort) SetActivity(v MetaActivity)

SetActivity gets a reference to the given MetaActivity and assigns it to the Activity field.

func (*DetailedSegmentEffort) SetActivityId

func (o *DetailedSegmentEffort) SetActivityId(v int64)

SetActivityId gets a reference to the given int64 and assigns it to the ActivityId field.

func (*DetailedSegmentEffort) SetAthlete

func (o *DetailedSegmentEffort) SetAthlete(v MetaAthlete)

SetAthlete gets a reference to the given MetaAthlete and assigns it to the Athlete field.

func (*DetailedSegmentEffort) SetAverageCadence

func (o *DetailedSegmentEffort) SetAverageCadence(v float32)

SetAverageCadence gets a reference to the given float32 and assigns it to the AverageCadence field.

func (*DetailedSegmentEffort) SetAverageHeartrate

func (o *DetailedSegmentEffort) SetAverageHeartrate(v float32)

SetAverageHeartrate gets a reference to the given float32 and assigns it to the AverageHeartrate field.

func (*DetailedSegmentEffort) SetAverageWatts

func (o *DetailedSegmentEffort) SetAverageWatts(v float32)

SetAverageWatts gets a reference to the given float32 and assigns it to the AverageWatts field.

func (*DetailedSegmentEffort) SetDeviceWatts

func (o *DetailedSegmentEffort) SetDeviceWatts(v bool)

SetDeviceWatts gets a reference to the given bool and assigns it to the DeviceWatts field.

func (*DetailedSegmentEffort) SetDistance

func (o *DetailedSegmentEffort) SetDistance(v float32)

SetDistance gets a reference to the given float32 and assigns it to the Distance field.

func (*DetailedSegmentEffort) SetElapsedTime

func (o *DetailedSegmentEffort) SetElapsedTime(v int32)

SetElapsedTime gets a reference to the given int32 and assigns it to the ElapsedTime field.

func (*DetailedSegmentEffort) SetEndIndex

func (o *DetailedSegmentEffort) SetEndIndex(v int32)

SetEndIndex gets a reference to the given int32 and assigns it to the EndIndex field.

func (*DetailedSegmentEffort) SetHidden

func (o *DetailedSegmentEffort) SetHidden(v bool)

SetHidden gets a reference to the given bool and assigns it to the Hidden field.

func (*DetailedSegmentEffort) SetId

func (o *DetailedSegmentEffort) SetId(v int64)

SetId gets a reference to the given int64 and assigns it to the Id field.

func (*DetailedSegmentEffort) SetIsKom

func (o *DetailedSegmentEffort) SetIsKom(v bool)

SetIsKom gets a reference to the given bool and assigns it to the IsKom field.

func (*DetailedSegmentEffort) SetKomRank

func (o *DetailedSegmentEffort) SetKomRank(v int32)

SetKomRank gets a reference to the given int32 and assigns it to the KomRank field.

func (*DetailedSegmentEffort) SetMaxHeartrate

func (o *DetailedSegmentEffort) SetMaxHeartrate(v float32)

SetMaxHeartrate gets a reference to the given float32 and assigns it to the MaxHeartrate field.

func (*DetailedSegmentEffort) SetMovingTime

func (o *DetailedSegmentEffort) SetMovingTime(v int32)

SetMovingTime gets a reference to the given int32 and assigns it to the MovingTime field.

func (*DetailedSegmentEffort) SetName

func (o *DetailedSegmentEffort) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

func (*DetailedSegmentEffort) SetPrRank

func (o *DetailedSegmentEffort) SetPrRank(v int32)

SetPrRank gets a reference to the given int32 and assigns it to the PrRank field.

func (*DetailedSegmentEffort) SetSegment

func (o *DetailedSegmentEffort) SetSegment(v SummarySegment)

SetSegment gets a reference to the given SummarySegment and assigns it to the Segment field.

func (*DetailedSegmentEffort) SetStartDate

func (o *DetailedSegmentEffort) SetStartDate(v time.Time)

SetStartDate gets a reference to the given time.Time and assigns it to the StartDate field.

func (*DetailedSegmentEffort) SetStartDateLocal

func (o *DetailedSegmentEffort) SetStartDateLocal(v time.Time)

SetStartDateLocal gets a reference to the given time.Time and assigns it to the StartDateLocal field.

func (*DetailedSegmentEffort) SetStartIndex

func (o *DetailedSegmentEffort) SetStartIndex(v int32)

SetStartIndex gets a reference to the given int32 and assigns it to the StartIndex field.

func (DetailedSegmentEffort) ToMap

func (o DetailedSegmentEffort) ToMap() (map[string]interface{}, error)

type DistanceStream

type DistanceStream struct {
	// The number of data points in this stream
	OriginalSize *int32 `json:"original_size,omitempty"`
	// The level of detail (sampling) in which this stream was returned
	Resolution *string `json:"resolution,omitempty"`
	// The base series used in the case the stream was downsampled
	SeriesType *string `json:"series_type,omitempty"`
	// The sequence of distance values for this stream, in meters
	Data []float32 `json:"data,omitempty"`
}

DistanceStream struct for DistanceStream

func NewDistanceStream

func NewDistanceStream() *DistanceStream

NewDistanceStream instantiates a new DistanceStream object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewDistanceStreamWithDefaults

func NewDistanceStreamWithDefaults() *DistanceStream

NewDistanceStreamWithDefaults instantiates a new DistanceStream object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*DistanceStream) GetData

func (o *DistanceStream) GetData() []float32

GetData returns the Data field value if set, zero value otherwise.

func (*DistanceStream) GetDataOk

func (o *DistanceStream) GetDataOk() ([]float32, bool)

GetDataOk returns a tuple with the Data field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DistanceStream) GetOriginalSize

func (o *DistanceStream) GetOriginalSize() int32

GetOriginalSize returns the OriginalSize field value if set, zero value otherwise.

func (*DistanceStream) GetOriginalSizeOk

func (o *DistanceStream) GetOriginalSizeOk() (*int32, bool)

GetOriginalSizeOk returns a tuple with the OriginalSize field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DistanceStream) GetResolution

func (o *DistanceStream) GetResolution() string

GetResolution returns the Resolution field value if set, zero value otherwise.

func (*DistanceStream) GetResolutionOk

func (o *DistanceStream) GetResolutionOk() (*string, bool)

GetResolutionOk returns a tuple with the Resolution field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DistanceStream) GetSeriesType

func (o *DistanceStream) GetSeriesType() string

GetSeriesType returns the SeriesType field value if set, zero value otherwise.

func (*DistanceStream) GetSeriesTypeOk

func (o *DistanceStream) GetSeriesTypeOk() (*string, bool)

GetSeriesTypeOk returns a tuple with the SeriesType field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DistanceStream) HasData

func (o *DistanceStream) HasData() bool

HasData returns a boolean if a field has been set.

func (*DistanceStream) HasOriginalSize

func (o *DistanceStream) HasOriginalSize() bool

HasOriginalSize returns a boolean if a field has been set.

func (*DistanceStream) HasResolution

func (o *DistanceStream) HasResolution() bool

HasResolution returns a boolean if a field has been set.

func (*DistanceStream) HasSeriesType

func (o *DistanceStream) HasSeriesType() bool

HasSeriesType returns a boolean if a field has been set.

func (DistanceStream) MarshalJSON

func (o DistanceStream) MarshalJSON() ([]byte, error)

func (*DistanceStream) SetData

func (o *DistanceStream) SetData(v []float32)

SetData gets a reference to the given []float32 and assigns it to the Data field.

func (*DistanceStream) SetOriginalSize

func (o *DistanceStream) SetOriginalSize(v int32)

SetOriginalSize gets a reference to the given int32 and assigns it to the OriginalSize field.

func (*DistanceStream) SetResolution

func (o *DistanceStream) SetResolution(v string)

SetResolution gets a reference to the given string and assigns it to the Resolution field.

func (*DistanceStream) SetSeriesType

func (o *DistanceStream) SetSeriesType(v string)

SetSeriesType gets a reference to the given string and assigns it to the SeriesType field.

func (DistanceStream) ToMap

func (o DistanceStream) ToMap() (map[string]interface{}, error)

type Error

type Error struct {
	// The code associated with this error.
	Code *string `json:"code,omitempty"`
	// The specific field or aspect of the resource associated with this error.
	Field *string `json:"field,omitempty"`
	// The type of resource associated with this error.
	Resource *string `json:"resource,omitempty"`
}

Error struct for Error

func NewError

func NewError() *Error

NewError instantiates a new Error object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewErrorWithDefaults

func NewErrorWithDefaults() *Error

NewErrorWithDefaults instantiates a new Error object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*Error) GetCode

func (o *Error) GetCode() string

GetCode returns the Code field value if set, zero value otherwise.

func (*Error) GetCodeOk

func (o *Error) GetCodeOk() (*string, bool)

GetCodeOk returns a tuple with the Code field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Error) GetField

func (o *Error) GetField() string

GetField returns the Field field value if set, zero value otherwise.

func (*Error) GetFieldOk

func (o *Error) GetFieldOk() (*string, bool)

GetFieldOk returns a tuple with the Field field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Error) GetResource

func (o *Error) GetResource() string

GetResource returns the Resource field value if set, zero value otherwise.

func (*Error) GetResourceOk

func (o *Error) GetResourceOk() (*string, bool)

GetResourceOk returns a tuple with the Resource field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Error) HasCode

func (o *Error) HasCode() bool

HasCode returns a boolean if a field has been set.

func (*Error) HasField

func (o *Error) HasField() bool

HasField returns a boolean if a field has been set.

func (*Error) HasResource

func (o *Error) HasResource() bool

HasResource returns a boolean if a field has been set.

func (Error) MarshalJSON

func (o Error) MarshalJSON() ([]byte, error)

func (*Error) SetCode

func (o *Error) SetCode(v string)

SetCode gets a reference to the given string and assigns it to the Code field.

func (*Error) SetField

func (o *Error) SetField(v string)

SetField gets a reference to the given string and assigns it to the Field field.

func (*Error) SetResource

func (o *Error) SetResource(v string)

SetResource gets a reference to the given string and assigns it to the Resource field.

func (Error) ToMap

func (o Error) ToMap() (map[string]interface{}, error)

type ExplorerResponse

type ExplorerResponse struct {
	// The set of segments matching an explorer request
	Segments []ExplorerSegment `json:"segments,omitempty"`
}

ExplorerResponse struct for ExplorerResponse

func NewExplorerResponse

func NewExplorerResponse() *ExplorerResponse

NewExplorerResponse instantiates a new ExplorerResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewExplorerResponseWithDefaults

func NewExplorerResponseWithDefaults() *ExplorerResponse

NewExplorerResponseWithDefaults instantiates a new ExplorerResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*ExplorerResponse) GetSegments

func (o *ExplorerResponse) GetSegments() []ExplorerSegment

GetSegments returns the Segments field value if set, zero value otherwise.

func (*ExplorerResponse) GetSegmentsOk

func (o *ExplorerResponse) GetSegmentsOk() ([]ExplorerSegment, bool)

GetSegmentsOk returns a tuple with the Segments field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ExplorerResponse) HasSegments

func (o *ExplorerResponse) HasSegments() bool

HasSegments returns a boolean if a field has been set.

func (ExplorerResponse) MarshalJSON

func (o ExplorerResponse) MarshalJSON() ([]byte, error)

func (*ExplorerResponse) SetSegments

func (o *ExplorerResponse) SetSegments(v []ExplorerSegment)

SetSegments gets a reference to the given []ExplorerSegment and assigns it to the Segments field.

func (ExplorerResponse) ToMap

func (o ExplorerResponse) ToMap() (map[string]interface{}, error)

type ExplorerSegment

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 [0, 5]. Higher is harder ie. 5 is Hors catégorie, 0 is uncategorized in climb_category. If climb_category = 5, climb_category_desc = HC. If climb_category = 2, climb_category_desc = 3.
	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"`
	// A pair of latitude/longitude coordinates, represented as an array of 2 floating point numbers.
	StartLatlng []float32 `json:"start_latlng,omitempty"`
	// A pair of latitude/longitude coordinates, represented as an array of 2 floating point numbers.
	EndLatlng []float32 `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"`
}

ExplorerSegment struct for ExplorerSegment

func NewExplorerSegment

func NewExplorerSegment() *ExplorerSegment

NewExplorerSegment instantiates a new ExplorerSegment object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewExplorerSegmentWithDefaults

func NewExplorerSegmentWithDefaults() *ExplorerSegment

NewExplorerSegmentWithDefaults instantiates a new ExplorerSegment object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*ExplorerSegment) GetAvgGrade

func (o *ExplorerSegment) GetAvgGrade() float32

GetAvgGrade returns the AvgGrade field value if set, zero value otherwise.

func (*ExplorerSegment) GetAvgGradeOk

func (o *ExplorerSegment) GetAvgGradeOk() (*float32, bool)

GetAvgGradeOk returns a tuple with the AvgGrade field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ExplorerSegment) GetClimbCategory

func (o *ExplorerSegment) GetClimbCategory() int32

GetClimbCategory returns the ClimbCategory field value if set, zero value otherwise.

func (*ExplorerSegment) GetClimbCategoryDesc

func (o *ExplorerSegment) GetClimbCategoryDesc() string

GetClimbCategoryDesc returns the ClimbCategoryDesc field value if set, zero value otherwise.

func (*ExplorerSegment) GetClimbCategoryDescOk

func (o *ExplorerSegment) GetClimbCategoryDescOk() (*string, bool)

GetClimbCategoryDescOk returns a tuple with the ClimbCategoryDesc field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ExplorerSegment) GetClimbCategoryOk

func (o *ExplorerSegment) GetClimbCategoryOk() (*int32, bool)

GetClimbCategoryOk returns a tuple with the ClimbCategory field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ExplorerSegment) GetDistance

func (o *ExplorerSegment) GetDistance() float32

GetDistance returns the Distance field value if set, zero value otherwise.

func (*ExplorerSegment) GetDistanceOk

func (o *ExplorerSegment) GetDistanceOk() (*float32, bool)

GetDistanceOk returns a tuple with the Distance field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ExplorerSegment) GetElevDifference

func (o *ExplorerSegment) GetElevDifference() float32

GetElevDifference returns the ElevDifference field value if set, zero value otherwise.

func (*ExplorerSegment) GetElevDifferenceOk

func (o *ExplorerSegment) GetElevDifferenceOk() (*float32, bool)

GetElevDifferenceOk returns a tuple with the ElevDifference field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ExplorerSegment) GetEndLatlng

func (o *ExplorerSegment) GetEndLatlng() []float32

GetEndLatlng returns the EndLatlng field value if set, zero value otherwise.

func (*ExplorerSegment) GetEndLatlngOk

func (o *ExplorerSegment) GetEndLatlngOk() ([]float32, bool)

GetEndLatlngOk returns a tuple with the EndLatlng field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ExplorerSegment) GetId

func (o *ExplorerSegment) GetId() int64

GetId returns the Id field value if set, zero value otherwise.

func (*ExplorerSegment) GetIdOk

func (o *ExplorerSegment) GetIdOk() (*int64, bool)

GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ExplorerSegment) GetName

func (o *ExplorerSegment) GetName() string

GetName returns the Name field value if set, zero value otherwise.

func (*ExplorerSegment) GetNameOk

func (o *ExplorerSegment) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ExplorerSegment) GetPoints

func (o *ExplorerSegment) GetPoints() string

GetPoints returns the Points field value if set, zero value otherwise.

func (*ExplorerSegment) GetPointsOk

func (o *ExplorerSegment) GetPointsOk() (*string, bool)

GetPointsOk returns a tuple with the Points field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ExplorerSegment) GetStartLatlng

func (o *ExplorerSegment) GetStartLatlng() []float32

GetStartLatlng returns the StartLatlng field value if set, zero value otherwise.

func (*ExplorerSegment) GetStartLatlngOk

func (o *ExplorerSegment) GetStartLatlngOk() ([]float32, bool)

GetStartLatlngOk returns a tuple with the StartLatlng field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ExplorerSegment) HasAvgGrade

func (o *ExplorerSegment) HasAvgGrade() bool

HasAvgGrade returns a boolean if a field has been set.

func (*ExplorerSegment) HasClimbCategory

func (o *ExplorerSegment) HasClimbCategory() bool

HasClimbCategory returns a boolean if a field has been set.

func (*ExplorerSegment) HasClimbCategoryDesc

func (o *ExplorerSegment) HasClimbCategoryDesc() bool

HasClimbCategoryDesc returns a boolean if a field has been set.

func (*ExplorerSegment) HasDistance

func (o *ExplorerSegment) HasDistance() bool

HasDistance returns a boolean if a field has been set.

func (*ExplorerSegment) HasElevDifference

func (o *ExplorerSegment) HasElevDifference() bool

HasElevDifference returns a boolean if a field has been set.

func (*ExplorerSegment) HasEndLatlng

func (o *ExplorerSegment) HasEndLatlng() bool

HasEndLatlng returns a boolean if a field has been set.

func (*ExplorerSegment) HasId

func (o *ExplorerSegment) HasId() bool

HasId returns a boolean if a field has been set.

func (*ExplorerSegment) HasName

func (o *ExplorerSegment) HasName() bool

HasName returns a boolean if a field has been set.

func (*ExplorerSegment) HasPoints

func (o *ExplorerSegment) HasPoints() bool

HasPoints returns a boolean if a field has been set.

func (*ExplorerSegment) HasStartLatlng

func (o *ExplorerSegment) HasStartLatlng() bool

HasStartLatlng returns a boolean if a field has been set.

func (ExplorerSegment) MarshalJSON

func (o ExplorerSegment) MarshalJSON() ([]byte, error)

func (*ExplorerSegment) SetAvgGrade

func (o *ExplorerSegment) SetAvgGrade(v float32)

SetAvgGrade gets a reference to the given float32 and assigns it to the AvgGrade field.

func (*ExplorerSegment) SetClimbCategory

func (o *ExplorerSegment) SetClimbCategory(v int32)

SetClimbCategory gets a reference to the given int32 and assigns it to the ClimbCategory field.

func (*ExplorerSegment) SetClimbCategoryDesc

func (o *ExplorerSegment) SetClimbCategoryDesc(v string)

SetClimbCategoryDesc gets a reference to the given string and assigns it to the ClimbCategoryDesc field.

func (*ExplorerSegment) SetDistance

func (o *ExplorerSegment) SetDistance(v float32)

SetDistance gets a reference to the given float32 and assigns it to the Distance field.

func (*ExplorerSegment) SetElevDifference

func (o *ExplorerSegment) SetElevDifference(v float32)

SetElevDifference gets a reference to the given float32 and assigns it to the ElevDifference field.

func (*ExplorerSegment) SetEndLatlng

func (o *ExplorerSegment) SetEndLatlng(v []float32)

SetEndLatlng gets a reference to the given []float32 and assigns it to the EndLatlng field.

func (*ExplorerSegment) SetId

func (o *ExplorerSegment) SetId(v int64)

SetId gets a reference to the given int64 and assigns it to the Id field.

func (*ExplorerSegment) SetName

func (o *ExplorerSegment) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

func (*ExplorerSegment) SetPoints

func (o *ExplorerSegment) SetPoints(v string)

SetPoints gets a reference to the given string and assigns it to the Points field.

func (*ExplorerSegment) SetStartLatlng

func (o *ExplorerSegment) SetStartLatlng(v []float32)

SetStartLatlng gets a reference to the given []float32 and assigns it to the StartLatlng field.

func (ExplorerSegment) ToMap

func (o ExplorerSegment) ToMap() (map[string]interface{}, error)

type Fault

type Fault struct {
	// The set of specific errors associated with this fault, if any.
	Errors []Error `json:"errors,omitempty"`
	// The message of the fault.
	Message *string `json:"message,omitempty"`
}

Fault Encapsulates the errors that may be returned from the API.

func NewFault

func NewFault() *Fault

NewFault instantiates a new Fault object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewFaultWithDefaults

func NewFaultWithDefaults() *Fault

NewFaultWithDefaults instantiates a new Fault object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*Fault) GetErrors

func (o *Fault) GetErrors() []Error

GetErrors returns the Errors field value if set, zero value otherwise.

func (*Fault) GetErrorsOk

func (o *Fault) GetErrorsOk() ([]Error, bool)

GetErrorsOk returns a tuple with the Errors field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Fault) GetMessage

func (o *Fault) GetMessage() string

GetMessage returns the Message field value if set, zero value otherwise.

func (*Fault) GetMessageOk

func (o *Fault) GetMessageOk() (*string, bool)

GetMessageOk returns a tuple with the Message field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Fault) HasErrors

func (o *Fault) HasErrors() bool

HasErrors returns a boolean if a field has been set.

func (*Fault) HasMessage

func (o *Fault) HasMessage() bool

HasMessage returns a boolean if a field has been set.

func (Fault) MarshalJSON

func (o Fault) MarshalJSON() ([]byte, error)

func (*Fault) SetErrors

func (o *Fault) SetErrors(v []Error)

SetErrors gets a reference to the given []Error and assigns it to the Errors field.

func (*Fault) SetMessage

func (o *Fault) SetMessage(v string)

SetMessage gets a reference to the given string and assigns it to the Message field.

func (Fault) ToMap

func (o Fault) ToMap() (map[string]interface{}, error)

type GearsAPIService

type GearsAPIService service

GearsAPIService GearsAPI service

func (*GearsAPIService) GetGearById

GetGearById Get Equipment

Returns an equipment using its identifier.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id The identifier of the gear.
@return ApiGetGearByIdRequest

func (*GearsAPIService) GetGearByIdExecute

func (a *GearsAPIService) GetGearByIdExecute(r ApiGetGearByIdRequest) (*DetailedGear, *http.Response, error)

Execute executes the request

@return DetailedGear

type GenericOpenAPIError

type GenericOpenAPIError struct {
	// contains filtered or unexported fields
}

GenericOpenAPIError Provides access to the body, error and model on returned errors.

func (GenericOpenAPIError) Body

func (e GenericOpenAPIError) Body() []byte

Body returns the raw bytes of the response

func (GenericOpenAPIError) Error

func (e GenericOpenAPIError) Error() string

Error returns non-empty string if there was an error.

func (GenericOpenAPIError) Model

func (e GenericOpenAPIError) Model() interface{}

Model returns the unpacked model of the error

type HeartRateZoneRanges

type HeartRateZoneRanges struct {
	// Whether the athlete has set their own custom heart rate zones
	CustomZones *bool       `json:"custom_zones,omitempty"`
	Zones       []ZoneRange `json:"zones,omitempty"`
}

HeartRateZoneRanges struct for HeartRateZoneRanges

func NewHeartRateZoneRanges

func NewHeartRateZoneRanges() *HeartRateZoneRanges

NewHeartRateZoneRanges instantiates a new HeartRateZoneRanges object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewHeartRateZoneRangesWithDefaults

func NewHeartRateZoneRangesWithDefaults() *HeartRateZoneRanges

NewHeartRateZoneRangesWithDefaults instantiates a new HeartRateZoneRanges object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*HeartRateZoneRanges) GetCustomZones

func (o *HeartRateZoneRanges) GetCustomZones() bool

GetCustomZones returns the CustomZones field value if set, zero value otherwise.

func (*HeartRateZoneRanges) GetCustomZonesOk

func (o *HeartRateZoneRanges) GetCustomZonesOk() (*bool, bool)

GetCustomZonesOk returns a tuple with the CustomZones field value if set, nil otherwise and a boolean to check if the value has been set.

func (*HeartRateZoneRanges) GetZones

func (o *HeartRateZoneRanges) GetZones() []ZoneRange

GetZones returns the Zones field value if set, zero value otherwise.

func (*HeartRateZoneRanges) GetZonesOk

func (o *HeartRateZoneRanges) GetZonesOk() ([]ZoneRange, bool)

GetZonesOk returns a tuple with the Zones field value if set, nil otherwise and a boolean to check if the value has been set.

func (*HeartRateZoneRanges) HasCustomZones

func (o *HeartRateZoneRanges) HasCustomZones() bool

HasCustomZones returns a boolean if a field has been set.

func (*HeartRateZoneRanges) HasZones

func (o *HeartRateZoneRanges) HasZones() bool

HasZones returns a boolean if a field has been set.

func (HeartRateZoneRanges) MarshalJSON

func (o HeartRateZoneRanges) MarshalJSON() ([]byte, error)

func (*HeartRateZoneRanges) SetCustomZones

func (o *HeartRateZoneRanges) SetCustomZones(v bool)

SetCustomZones gets a reference to the given bool and assigns it to the CustomZones field.

func (*HeartRateZoneRanges) SetZones

func (o *HeartRateZoneRanges) SetZones(v []ZoneRange)

SetZones gets a reference to the given []ZoneRange and assigns it to the Zones field.

func (HeartRateZoneRanges) ToMap

func (o HeartRateZoneRanges) ToMap() (map[string]interface{}, error)

type HeartrateStream

type HeartrateStream struct {
	// The number of data points in this stream
	OriginalSize *int32 `json:"original_size,omitempty"`
	// The level of detail (sampling) in which this stream was returned
	Resolution *string `json:"resolution,omitempty"`
	// The base series used in the case the stream was downsampled
	SeriesType *string `json:"series_type,omitempty"`
	// The sequence of heart rate values for this stream, in beats per minute
	Data []int32 `json:"data,omitempty"`
}

HeartrateStream struct for HeartrateStream

func NewHeartrateStream

func NewHeartrateStream() *HeartrateStream

NewHeartrateStream instantiates a new HeartrateStream object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewHeartrateStreamWithDefaults

func NewHeartrateStreamWithDefaults() *HeartrateStream

NewHeartrateStreamWithDefaults instantiates a new HeartrateStream object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*HeartrateStream) GetData

func (o *HeartrateStream) GetData() []int32

GetData returns the Data field value if set, zero value otherwise.

func (*HeartrateStream) GetDataOk

func (o *HeartrateStream) GetDataOk() ([]int32, bool)

GetDataOk returns a tuple with the Data field value if set, nil otherwise and a boolean to check if the value has been set.

func (*HeartrateStream) GetOriginalSize

func (o *HeartrateStream) GetOriginalSize() int32

GetOriginalSize returns the OriginalSize field value if set, zero value otherwise.

func (*HeartrateStream) GetOriginalSizeOk

func (o *HeartrateStream) GetOriginalSizeOk() (*int32, bool)

GetOriginalSizeOk returns a tuple with the OriginalSize field value if set, nil otherwise and a boolean to check if the value has been set.

func (*HeartrateStream) GetResolution

func (o *HeartrateStream) GetResolution() string

GetResolution returns the Resolution field value if set, zero value otherwise.

func (*HeartrateStream) GetResolutionOk

func (o *HeartrateStream) GetResolutionOk() (*string, bool)

GetResolutionOk returns a tuple with the Resolution field value if set, nil otherwise and a boolean to check if the value has been set.

func (*HeartrateStream) GetSeriesType

func (o *HeartrateStream) GetSeriesType() string

GetSeriesType returns the SeriesType field value if set, zero value otherwise.

func (*HeartrateStream) GetSeriesTypeOk

func (o *HeartrateStream) GetSeriesTypeOk() (*string, bool)

GetSeriesTypeOk returns a tuple with the SeriesType field value if set, nil otherwise and a boolean to check if the value has been set.

func (*HeartrateStream) HasData

func (o *HeartrateStream) HasData() bool

HasData returns a boolean if a field has been set.

func (*HeartrateStream) HasOriginalSize

func (o *HeartrateStream) HasOriginalSize() bool

HasOriginalSize returns a boolean if a field has been set.

func (*HeartrateStream) HasResolution

func (o *HeartrateStream) HasResolution() bool

HasResolution returns a boolean if a field has been set.

func (*HeartrateStream) HasSeriesType

func (o *HeartrateStream) HasSeriesType() bool

HasSeriesType returns a boolean if a field has been set.

func (HeartrateStream) MarshalJSON

func (o HeartrateStream) MarshalJSON() ([]byte, error)

func (*HeartrateStream) SetData

func (o *HeartrateStream) SetData(v []int32)

SetData gets a reference to the given []int32 and assigns it to the Data field.

func (*HeartrateStream) SetOriginalSize

func (o *HeartrateStream) SetOriginalSize(v int32)

SetOriginalSize gets a reference to the given int32 and assigns it to the OriginalSize field.

func (*HeartrateStream) SetResolution

func (o *HeartrateStream) SetResolution(v string)

SetResolution gets a reference to the given string and assigns it to the Resolution field.

func (*HeartrateStream) SetSeriesType

func (o *HeartrateStream) SetSeriesType(v string)

SetSeriesType gets a reference to the given string and assigns it to the SeriesType field.

func (HeartrateStream) ToMap

func (o HeartrateStream) ToMap() (map[string]interface{}, error)

type Lap

type Lap struct {
	// The unique identifier of this lap
	Id       *int64        `json:"id,omitempty"`
	Activity *MetaActivity `json:"activity,omitempty"`
	Athlete  *MetaAthlete  `json:"athlete,omitempty"`
	// The lap's average cadence
	AverageCadence *float32 `json:"average_cadence,omitempty"`
	// The lap's average speed
	AverageSpeed *float32 `json:"average_speed,omitempty"`
	// The lap's distance, in meters
	Distance *float32 `json:"distance,omitempty"`
	// The lap's elapsed time, in seconds
	ElapsedTime *int32 `json:"elapsed_time,omitempty"`
	// The start index of this effort in its activity's stream
	StartIndex *int32 `json:"start_index,omitempty"`
	// The end index of this effort in its activity's stream
	EndIndex *int32 `json:"end_index,omitempty"`
	// The index of this lap in the activity it belongs to
	LapIndex *int32 `json:"lap_index,omitempty"`
	// The maximum speed of this lat, in meters per second
	MaxSpeed *float32 `json:"max_speed,omitempty"`
	// The lap's moving time, in seconds
	MovingTime *int32 `json:"moving_time,omitempty"`
	// The name of the lap
	Name *string `json:"name,omitempty"`
	// The athlete's pace zone during this lap
	PaceZone *int32 `json:"pace_zone,omitempty"`
	Split    *int32 `json:"split,omitempty"`
	// The time at which the lap was started.
	StartDate *time.Time `json:"start_date,omitempty"`
	// The time at which the lap was started in the local timezone.
	StartDateLocal *time.Time `json:"start_date_local,omitempty"`
	// The elevation gain of this lap, in meters
	TotalElevationGain *float32 `json:"total_elevation_gain,omitempty"`
}

Lap struct for Lap

func NewLap

func NewLap() *Lap

NewLap instantiates a new Lap object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewLapWithDefaults

func NewLapWithDefaults() *Lap

NewLapWithDefaults instantiates a new Lap object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*Lap) GetActivity

func (o *Lap) GetActivity() MetaActivity

GetActivity returns the Activity field value if set, zero value otherwise.

func (*Lap) GetActivityOk

func (o *Lap) GetActivityOk() (*MetaActivity, bool)

GetActivityOk returns a tuple with the Activity field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Lap) GetAthlete

func (o *Lap) GetAthlete() MetaAthlete

GetAthlete returns the Athlete field value if set, zero value otherwise.

func (*Lap) GetAthleteOk

func (o *Lap) GetAthleteOk() (*MetaAthlete, bool)

GetAthleteOk returns a tuple with the Athlete field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Lap) GetAverageCadence

func (o *Lap) GetAverageCadence() float32

GetAverageCadence returns the AverageCadence field value if set, zero value otherwise.

func (*Lap) GetAverageCadenceOk

func (o *Lap) GetAverageCadenceOk() (*float32, bool)

GetAverageCadenceOk returns a tuple with the AverageCadence field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Lap) GetAverageSpeed

func (o *Lap) GetAverageSpeed() float32

GetAverageSpeed returns the AverageSpeed field value if set, zero value otherwise.

func (*Lap) GetAverageSpeedOk

func (o *Lap) GetAverageSpeedOk() (*float32, bool)

GetAverageSpeedOk returns a tuple with the AverageSpeed field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Lap) GetDistance

func (o *Lap) GetDistance() float32

GetDistance returns the Distance field value if set, zero value otherwise.

func (*Lap) GetDistanceOk

func (o *Lap) GetDistanceOk() (*float32, bool)

GetDistanceOk returns a tuple with the Distance field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Lap) GetElapsedTime

func (o *Lap) GetElapsedTime() int32

GetElapsedTime returns the ElapsedTime field value if set, zero value otherwise.

func (*Lap) GetElapsedTimeOk

func (o *Lap) GetElapsedTimeOk() (*int32, bool)

GetElapsedTimeOk returns a tuple with the ElapsedTime field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Lap) GetEndIndex

func (o *Lap) GetEndIndex() int32

GetEndIndex returns the EndIndex field value if set, zero value otherwise.

func (*Lap) GetEndIndexOk

func (o *Lap) GetEndIndexOk() (*int32, bool)

GetEndIndexOk returns a tuple with the EndIndex field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Lap) GetId

func (o *Lap) GetId() int64

GetId returns the Id field value if set, zero value otherwise.

func (*Lap) GetIdOk

func (o *Lap) GetIdOk() (*int64, bool)

GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Lap) GetLapIndex

func (o *Lap) GetLapIndex() int32

GetLapIndex returns the LapIndex field value if set, zero value otherwise.

func (*Lap) GetLapIndexOk

func (o *Lap) GetLapIndexOk() (*int32, bool)

GetLapIndexOk returns a tuple with the LapIndex field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Lap) GetMaxSpeed

func (o *Lap) GetMaxSpeed() float32

GetMaxSpeed returns the MaxSpeed field value if set, zero value otherwise.

func (*Lap) GetMaxSpeedOk

func (o *Lap) GetMaxSpeedOk() (*float32, bool)

GetMaxSpeedOk returns a tuple with the MaxSpeed field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Lap) GetMovingTime

func (o *Lap) GetMovingTime() int32

GetMovingTime returns the MovingTime field value if set, zero value otherwise.

func (*Lap) GetMovingTimeOk

func (o *Lap) GetMovingTimeOk() (*int32, bool)

GetMovingTimeOk returns a tuple with the MovingTime field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Lap) GetName

func (o *Lap) GetName() string

GetName returns the Name field value if set, zero value otherwise.

func (*Lap) GetNameOk

func (o *Lap) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Lap) GetPaceZone

func (o *Lap) GetPaceZone() int32

GetPaceZone returns the PaceZone field value if set, zero value otherwise.

func (*Lap) GetPaceZoneOk

func (o *Lap) GetPaceZoneOk() (*int32, bool)

GetPaceZoneOk returns a tuple with the PaceZone field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Lap) GetSplit

func (o *Lap) GetSplit() int32

GetSplit returns the Split field value if set, zero value otherwise.

func (*Lap) GetSplitOk

func (o *Lap) GetSplitOk() (*int32, bool)

GetSplitOk returns a tuple with the Split field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Lap) GetStartDate

func (o *Lap) GetStartDate() time.Time

GetStartDate returns the StartDate field value if set, zero value otherwise.

func (*Lap) GetStartDateLocal

func (o *Lap) GetStartDateLocal() time.Time

GetStartDateLocal returns the StartDateLocal field value if set, zero value otherwise.

func (*Lap) GetStartDateLocalOk

func (o *Lap) GetStartDateLocalOk() (*time.Time, bool)

GetStartDateLocalOk returns a tuple with the StartDateLocal field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Lap) GetStartDateOk

func (o *Lap) GetStartDateOk() (*time.Time, bool)

GetStartDateOk returns a tuple with the StartDate field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Lap) GetStartIndex

func (o *Lap) GetStartIndex() int32

GetStartIndex returns the StartIndex field value if set, zero value otherwise.

func (*Lap) GetStartIndexOk

func (o *Lap) GetStartIndexOk() (*int32, bool)

GetStartIndexOk returns a tuple with the StartIndex field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Lap) GetTotalElevationGain

func (o *Lap) GetTotalElevationGain() float32

GetTotalElevationGain returns the TotalElevationGain field value if set, zero value otherwise.

func (*Lap) GetTotalElevationGainOk

func (o *Lap) GetTotalElevationGainOk() (*float32, bool)

GetTotalElevationGainOk returns a tuple with the TotalElevationGain field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Lap) HasActivity

func (o *Lap) HasActivity() bool

HasActivity returns a boolean if a field has been set.

func (*Lap) HasAthlete

func (o *Lap) HasAthlete() bool

HasAthlete returns a boolean if a field has been set.

func (*Lap) HasAverageCadence

func (o *Lap) HasAverageCadence() bool

HasAverageCadence returns a boolean if a field has been set.

func (*Lap) HasAverageSpeed

func (o *Lap) HasAverageSpeed() bool

HasAverageSpeed returns a boolean if a field has been set.

func (*Lap) HasDistance

func (o *Lap) HasDistance() bool

HasDistance returns a boolean if a field has been set.

func (*Lap) HasElapsedTime

func (o *Lap) HasElapsedTime() bool

HasElapsedTime returns a boolean if a field has been set.

func (*Lap) HasEndIndex

func (o *Lap) HasEndIndex() bool

HasEndIndex returns a boolean if a field has been set.

func (*Lap) HasId

func (o *Lap) HasId() bool

HasId returns a boolean if a field has been set.

func (*Lap) HasLapIndex

func (o *Lap) HasLapIndex() bool

HasLapIndex returns a boolean if a field has been set.

func (*Lap) HasMaxSpeed

func (o *Lap) HasMaxSpeed() bool

HasMaxSpeed returns a boolean if a field has been set.

func (*Lap) HasMovingTime

func (o *Lap) HasMovingTime() bool

HasMovingTime returns a boolean if a field has been set.

func (*Lap) HasName

func (o *Lap) HasName() bool

HasName returns a boolean if a field has been set.

func (*Lap) HasPaceZone

func (o *Lap) HasPaceZone() bool

HasPaceZone returns a boolean if a field has been set.

func (*Lap) HasSplit

func (o *Lap) HasSplit() bool

HasSplit returns a boolean if a field has been set.

func (*Lap) HasStartDate

func (o *Lap) HasStartDate() bool

HasStartDate returns a boolean if a field has been set.

func (*Lap) HasStartDateLocal

func (o *Lap) HasStartDateLocal() bool

HasStartDateLocal returns a boolean if a field has been set.

func (*Lap) HasStartIndex

func (o *Lap) HasStartIndex() bool

HasStartIndex returns a boolean if a field has been set.

func (*Lap) HasTotalElevationGain

func (o *Lap) HasTotalElevationGain() bool

HasTotalElevationGain returns a boolean if a field has been set.

func (Lap) MarshalJSON

func (o Lap) MarshalJSON() ([]byte, error)

func (*Lap) SetActivity

func (o *Lap) SetActivity(v MetaActivity)

SetActivity gets a reference to the given MetaActivity and assigns it to the Activity field.

func (*Lap) SetAthlete

func (o *Lap) SetAthlete(v MetaAthlete)

SetAthlete gets a reference to the given MetaAthlete and assigns it to the Athlete field.

func (*Lap) SetAverageCadence

func (o *Lap) SetAverageCadence(v float32)

SetAverageCadence gets a reference to the given float32 and assigns it to the AverageCadence field.

func (*Lap) SetAverageSpeed

func (o *Lap) SetAverageSpeed(v float32)

SetAverageSpeed gets a reference to the given float32 and assigns it to the AverageSpeed field.

func (*Lap) SetDistance

func (o *Lap) SetDistance(v float32)

SetDistance gets a reference to the given float32 and assigns it to the Distance field.

func (*Lap) SetElapsedTime

func (o *Lap) SetElapsedTime(v int32)

SetElapsedTime gets a reference to the given int32 and assigns it to the ElapsedTime field.

func (*Lap) SetEndIndex

func (o *Lap) SetEndIndex(v int32)

SetEndIndex gets a reference to the given int32 and assigns it to the EndIndex field.

func (*Lap) SetId

func (o *Lap) SetId(v int64)

SetId gets a reference to the given int64 and assigns it to the Id field.

func (*Lap) SetLapIndex

func (o *Lap) SetLapIndex(v int32)

SetLapIndex gets a reference to the given int32 and assigns it to the LapIndex field.

func (*Lap) SetMaxSpeed

func (o *Lap) SetMaxSpeed(v float32)

SetMaxSpeed gets a reference to the given float32 and assigns it to the MaxSpeed field.

func (*Lap) SetMovingTime

func (o *Lap) SetMovingTime(v int32)

SetMovingTime gets a reference to the given int32 and assigns it to the MovingTime field.

func (*Lap) SetName

func (o *Lap) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

func (*Lap) SetPaceZone

func (o *Lap) SetPaceZone(v int32)

SetPaceZone gets a reference to the given int32 and assigns it to the PaceZone field.

func (*Lap) SetSplit

func (o *Lap) SetSplit(v int32)

SetSplit gets a reference to the given int32 and assigns it to the Split field.

func (*Lap) SetStartDate

func (o *Lap) SetStartDate(v time.Time)

SetStartDate gets a reference to the given time.Time and assigns it to the StartDate field.

func (*Lap) SetStartDateLocal

func (o *Lap) SetStartDateLocal(v time.Time)

SetStartDateLocal gets a reference to the given time.Time and assigns it to the StartDateLocal field.

func (*Lap) SetStartIndex

func (o *Lap) SetStartIndex(v int32)

SetStartIndex gets a reference to the given int32 and assigns it to the StartIndex field.

func (*Lap) SetTotalElevationGain

func (o *Lap) SetTotalElevationGain(v float32)

SetTotalElevationGain gets a reference to the given float32 and assigns it to the TotalElevationGain field.

func (Lap) ToMap

func (o Lap) ToMap() (map[string]interface{}, error)

type LatLngStream

type LatLngStream struct {
	// The number of data points in this stream
	OriginalSize *int32 `json:"original_size,omitempty"`
	// The level of detail (sampling) in which this stream was returned
	Resolution *string `json:"resolution,omitempty"`
	// The base series used in the case the stream was downsampled
	SeriesType *string `json:"series_type,omitempty"`
	// The sequence of lat/long values for this stream
	Data [][]float32 `json:"data,omitempty"`
}

LatLngStream struct for LatLngStream

func NewLatLngStream

func NewLatLngStream() *LatLngStream

NewLatLngStream instantiates a new LatLngStream object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewLatLngStreamWithDefaults

func NewLatLngStreamWithDefaults() *LatLngStream

NewLatLngStreamWithDefaults instantiates a new LatLngStream object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*LatLngStream) GetData

func (o *LatLngStream) GetData() [][]float32

GetData returns the Data field value if set, zero value otherwise.

func (*LatLngStream) GetDataOk

func (o *LatLngStream) GetDataOk() ([][]float32, bool)

GetDataOk returns a tuple with the Data field value if set, nil otherwise and a boolean to check if the value has been set.

func (*LatLngStream) GetOriginalSize

func (o *LatLngStream) GetOriginalSize() int32

GetOriginalSize returns the OriginalSize field value if set, zero value otherwise.

func (*LatLngStream) GetOriginalSizeOk

func (o *LatLngStream) GetOriginalSizeOk() (*int32, bool)

GetOriginalSizeOk returns a tuple with the OriginalSize field value if set, nil otherwise and a boolean to check if the value has been set.

func (*LatLngStream) GetResolution

func (o *LatLngStream) GetResolution() string

GetResolution returns the Resolution field value if set, zero value otherwise.

func (*LatLngStream) GetResolutionOk

func (o *LatLngStream) GetResolutionOk() (*string, bool)

GetResolutionOk returns a tuple with the Resolution field value if set, nil otherwise and a boolean to check if the value has been set.

func (*LatLngStream) GetSeriesType

func (o *LatLngStream) GetSeriesType() string

GetSeriesType returns the SeriesType field value if set, zero value otherwise.

func (*LatLngStream) GetSeriesTypeOk

func (o *LatLngStream) GetSeriesTypeOk() (*string, bool)

GetSeriesTypeOk returns a tuple with the SeriesType field value if set, nil otherwise and a boolean to check if the value has been set.

func (*LatLngStream) HasData

func (o *LatLngStream) HasData() bool

HasData returns a boolean if a field has been set.

func (*LatLngStream) HasOriginalSize

func (o *LatLngStream) HasOriginalSize() bool

HasOriginalSize returns a boolean if a field has been set.

func (*LatLngStream) HasResolution

func (o *LatLngStream) HasResolution() bool

HasResolution returns a boolean if a field has been set.

func (*LatLngStream) HasSeriesType

func (o *LatLngStream) HasSeriesType() bool

HasSeriesType returns a boolean if a field has been set.

func (LatLngStream) MarshalJSON

func (o LatLngStream) MarshalJSON() ([]byte, error)

func (*LatLngStream) SetData

func (o *LatLngStream) SetData(v [][]float32)

SetData gets a reference to the given [][]float32 and assigns it to the Data field.

func (*LatLngStream) SetOriginalSize

func (o *LatLngStream) SetOriginalSize(v int32)

SetOriginalSize gets a reference to the given int32 and assigns it to the OriginalSize field.

func (*LatLngStream) SetResolution

func (o *LatLngStream) SetResolution(v string)

SetResolution gets a reference to the given string and assigns it to the Resolution field.

func (*LatLngStream) SetSeriesType

func (o *LatLngStream) SetSeriesType(v string)

SetSeriesType gets a reference to the given string and assigns it to the SeriesType field.

func (LatLngStream) ToMap

func (o LatLngStream) ToMap() (map[string]interface{}, error)

type MappedNullable

type MappedNullable interface {
	ToMap() (map[string]interface{}, error)
}

type MetaActivity

type MetaActivity struct {
	// The unique identifier of the activity
	Id *int64 `json:"id,omitempty"`
}

MetaActivity struct for MetaActivity

func NewMetaActivity

func NewMetaActivity() *MetaActivity

NewMetaActivity instantiates a new MetaActivity object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewMetaActivityWithDefaults

func NewMetaActivityWithDefaults() *MetaActivity

NewMetaActivityWithDefaults instantiates a new MetaActivity object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*MetaActivity) GetId

func (o *MetaActivity) GetId() int64

GetId returns the Id field value if set, zero value otherwise.

func (*MetaActivity) GetIdOk

func (o *MetaActivity) GetIdOk() (*int64, bool)

GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MetaActivity) HasId

func (o *MetaActivity) HasId() bool

HasId returns a boolean if a field has been set.

func (MetaActivity) MarshalJSON

func (o MetaActivity) MarshalJSON() ([]byte, error)

func (*MetaActivity) SetId

func (o *MetaActivity) SetId(v int64)

SetId gets a reference to the given int64 and assigns it to the Id field.

func (MetaActivity) ToMap

func (o MetaActivity) ToMap() (map[string]interface{}, error)

type MetaAthlete

type MetaAthlete struct {
	// The unique identifier of the athlete
	Id *int64 `json:"id,omitempty"`
}

MetaAthlete struct for MetaAthlete

func NewMetaAthlete

func NewMetaAthlete() *MetaAthlete

NewMetaAthlete instantiates a new MetaAthlete object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewMetaAthleteWithDefaults

func NewMetaAthleteWithDefaults() *MetaAthlete

NewMetaAthleteWithDefaults instantiates a new MetaAthlete object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*MetaAthlete) GetId

func (o *MetaAthlete) GetId() int64

GetId returns the Id field value if set, zero value otherwise.

func (*MetaAthlete) GetIdOk

func (o *MetaAthlete) GetIdOk() (*int64, bool)

GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MetaAthlete) HasId

func (o *MetaAthlete) HasId() bool

HasId returns a boolean if a field has been set.

func (MetaAthlete) MarshalJSON

func (o MetaAthlete) MarshalJSON() ([]byte, error)

func (*MetaAthlete) SetId

func (o *MetaAthlete) SetId(v int64)

SetId gets a reference to the given int64 and assigns it to the Id field.

func (MetaAthlete) ToMap

func (o MetaAthlete) ToMap() (map[string]interface{}, error)

type MetaClub

type MetaClub struct {
	// The club's unique identifier.
	Id *int64 `json:"id,omitempty"`
	// Resource state, indicates level of detail. Possible values: 1 -> \"meta\", 2 -> \"summary\", 3 -> \"detail\"
	ResourceState *int32 `json:"resource_state,omitempty"`
	// The club's name.
	Name *string `json:"name,omitempty"`
}

MetaClub struct for MetaClub

func NewMetaClub

func NewMetaClub() *MetaClub

NewMetaClub instantiates a new MetaClub object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewMetaClubWithDefaults

func NewMetaClubWithDefaults() *MetaClub

NewMetaClubWithDefaults instantiates a new MetaClub object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*MetaClub) GetId

func (o *MetaClub) GetId() int64

GetId returns the Id field value if set, zero value otherwise.

func (*MetaClub) GetIdOk

func (o *MetaClub) GetIdOk() (*int64, bool)

GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MetaClub) GetName

func (o *MetaClub) GetName() string

GetName returns the Name field value if set, zero value otherwise.

func (*MetaClub) GetNameOk

func (o *MetaClub) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MetaClub) GetResourceState

func (o *MetaClub) GetResourceState() int32

GetResourceState returns the ResourceState field value if set, zero value otherwise.

func (*MetaClub) GetResourceStateOk

func (o *MetaClub) GetResourceStateOk() (*int32, bool)

GetResourceStateOk returns a tuple with the ResourceState field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MetaClub) HasId

func (o *MetaClub) HasId() bool

HasId returns a boolean if a field has been set.

func (*MetaClub) HasName

func (o *MetaClub) HasName() bool

HasName returns a boolean if a field has been set.

func (*MetaClub) HasResourceState

func (o *MetaClub) HasResourceState() bool

HasResourceState returns a boolean if a field has been set.

func (MetaClub) MarshalJSON

func (o MetaClub) MarshalJSON() ([]byte, error)

func (*MetaClub) SetId

func (o *MetaClub) SetId(v int64)

SetId gets a reference to the given int64 and assigns it to the Id field.

func (*MetaClub) SetName

func (o *MetaClub) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

func (*MetaClub) SetResourceState

func (o *MetaClub) SetResourceState(v int32)

SetResourceState gets a reference to the given int32 and assigns it to the ResourceState field.

func (MetaClub) ToMap

func (o MetaClub) ToMap() (map[string]interface{}, error)

type MovingStream

type MovingStream struct {
	// The number of data points in this stream
	OriginalSize *int32 `json:"original_size,omitempty"`
	// The level of detail (sampling) in which this stream was returned
	Resolution *string `json:"resolution,omitempty"`
	// The base series used in the case the stream was downsampled
	SeriesType *string `json:"series_type,omitempty"`
	// The sequence of moving values for this stream, as boolean values
	Data []bool `json:"data,omitempty"`
}

MovingStream struct for MovingStream

func NewMovingStream

func NewMovingStream() *MovingStream

NewMovingStream instantiates a new MovingStream object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewMovingStreamWithDefaults

func NewMovingStreamWithDefaults() *MovingStream

NewMovingStreamWithDefaults instantiates a new MovingStream object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*MovingStream) GetData

func (o *MovingStream) GetData() []bool

GetData returns the Data field value if set, zero value otherwise.

func (*MovingStream) GetDataOk

func (o *MovingStream) GetDataOk() ([]bool, bool)

GetDataOk returns a tuple with the Data field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MovingStream) GetOriginalSize

func (o *MovingStream) GetOriginalSize() int32

GetOriginalSize returns the OriginalSize field value if set, zero value otherwise.

func (*MovingStream) GetOriginalSizeOk

func (o *MovingStream) GetOriginalSizeOk() (*int32, bool)

GetOriginalSizeOk returns a tuple with the OriginalSize field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MovingStream) GetResolution

func (o *MovingStream) GetResolution() string

GetResolution returns the Resolution field value if set, zero value otherwise.

func (*MovingStream) GetResolutionOk

func (o *MovingStream) GetResolutionOk() (*string, bool)

GetResolutionOk returns a tuple with the Resolution field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MovingStream) GetSeriesType

func (o *MovingStream) GetSeriesType() string

GetSeriesType returns the SeriesType field value if set, zero value otherwise.

func (*MovingStream) GetSeriesTypeOk

func (o *MovingStream) GetSeriesTypeOk() (*string, bool)

GetSeriesTypeOk returns a tuple with the SeriesType field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MovingStream) HasData

func (o *MovingStream) HasData() bool

HasData returns a boolean if a field has been set.

func (*MovingStream) HasOriginalSize

func (o *MovingStream) HasOriginalSize() bool

HasOriginalSize returns a boolean if a field has been set.

func (*MovingStream) HasResolution

func (o *MovingStream) HasResolution() bool

HasResolution returns a boolean if a field has been set.

func (*MovingStream) HasSeriesType

func (o *MovingStream) HasSeriesType() bool

HasSeriesType returns a boolean if a field has been set.

func (MovingStream) MarshalJSON

func (o MovingStream) MarshalJSON() ([]byte, error)

func (*MovingStream) SetData

func (o *MovingStream) SetData(v []bool)

SetData gets a reference to the given []bool and assigns it to the Data field.

func (*MovingStream) SetOriginalSize

func (o *MovingStream) SetOriginalSize(v int32)

SetOriginalSize gets a reference to the given int32 and assigns it to the OriginalSize field.

func (*MovingStream) SetResolution

func (o *MovingStream) SetResolution(v string)

SetResolution gets a reference to the given string and assigns it to the Resolution field.

func (*MovingStream) SetSeriesType

func (o *MovingStream) SetSeriesType(v string)

SetSeriesType gets a reference to the given string and assigns it to the SeriesType field.

func (MovingStream) ToMap

func (o MovingStream) ToMap() (map[string]interface{}, error)

type NullableActivityStats

type NullableActivityStats struct {
	// contains filtered or unexported fields
}

func NewNullableActivityStats

func NewNullableActivityStats(val *ActivityStats) *NullableActivityStats

func (NullableActivityStats) Get

func (NullableActivityStats) IsSet

func (v NullableActivityStats) IsSet() bool

func (NullableActivityStats) MarshalJSON

func (v NullableActivityStats) MarshalJSON() ([]byte, error)

func (*NullableActivityStats) Set

func (v *NullableActivityStats) Set(val *ActivityStats)

func (*NullableActivityStats) UnmarshalJSON

func (v *NullableActivityStats) UnmarshalJSON(src []byte) error

func (*NullableActivityStats) Unset

func (v *NullableActivityStats) Unset()

type NullableActivityTotal

type NullableActivityTotal struct {
	// contains filtered or unexported fields
}

func NewNullableActivityTotal

func NewNullableActivityTotal(val *ActivityTotal) *NullableActivityTotal

func (NullableActivityTotal) Get

func (NullableActivityTotal) IsSet

func (v NullableActivityTotal) IsSet() bool

func (NullableActivityTotal) MarshalJSON

func (v NullableActivityTotal) MarshalJSON() ([]byte, error)

func (*NullableActivityTotal) Set

func (v *NullableActivityTotal) Set(val *ActivityTotal)

func (*NullableActivityTotal) UnmarshalJSON

func (v *NullableActivityTotal) UnmarshalJSON(src []byte) error

func (*NullableActivityTotal) Unset

func (v *NullableActivityTotal) Unset()

type NullableActivityType

type NullableActivityType struct {
	// contains filtered or unexported fields
}

func NewNullableActivityType

func NewNullableActivityType(val *ActivityType) *NullableActivityType

func (NullableActivityType) Get

func (NullableActivityType) IsSet

func (v NullableActivityType) IsSet() bool

func (NullableActivityType) MarshalJSON

func (v NullableActivityType) MarshalJSON() ([]byte, error)

func (*NullableActivityType) Set

func (v *NullableActivityType) Set(val *ActivityType)

func (*NullableActivityType) UnmarshalJSON

func (v *NullableActivityType) UnmarshalJSON(src []byte) error

func (*NullableActivityType) Unset

func (v *NullableActivityType) Unset()

type NullableActivityZone

type NullableActivityZone struct {
	// contains filtered or unexported fields
}

func NewNullableActivityZone

func NewNullableActivityZone(val *ActivityZone) *NullableActivityZone

func (NullableActivityZone) Get

func (NullableActivityZone) IsSet

func (v NullableActivityZone) IsSet() bool

func (NullableActivityZone) MarshalJSON

func (v NullableActivityZone) MarshalJSON() ([]byte, error)

func (*NullableActivityZone) Set

func (v *NullableActivityZone) Set(val *ActivityZone)

func (*NullableActivityZone) UnmarshalJSON

func (v *NullableActivityZone) UnmarshalJSON(src []byte) error

func (*NullableActivityZone) Unset

func (v *NullableActivityZone) Unset()

type NullableAltitudeStream

type NullableAltitudeStream struct {
	// contains filtered or unexported fields
}

func NewNullableAltitudeStream

func NewNullableAltitudeStream(val *AltitudeStream) *NullableAltitudeStream

func (NullableAltitudeStream) Get

func (NullableAltitudeStream) IsSet

func (v NullableAltitudeStream) IsSet() bool

func (NullableAltitudeStream) MarshalJSON

func (v NullableAltitudeStream) MarshalJSON() ([]byte, error)

func (*NullableAltitudeStream) Set

func (*NullableAltitudeStream) UnmarshalJSON

func (v *NullableAltitudeStream) UnmarshalJSON(src []byte) error

func (*NullableAltitudeStream) Unset

func (v *NullableAltitudeStream) Unset()

type NullableBaseStream

type NullableBaseStream struct {
	// contains filtered or unexported fields
}

func NewNullableBaseStream

func NewNullableBaseStream(val *BaseStream) *NullableBaseStream

func (NullableBaseStream) Get

func (v NullableBaseStream) Get() *BaseStream

func (NullableBaseStream) IsSet

func (v NullableBaseStream) IsSet() bool

func (NullableBaseStream) MarshalJSON

func (v NullableBaseStream) MarshalJSON() ([]byte, error)

func (*NullableBaseStream) Set

func (v *NullableBaseStream) Set(val *BaseStream)

func (*NullableBaseStream) UnmarshalJSON

func (v *NullableBaseStream) UnmarshalJSON(src []byte) error

func (*NullableBaseStream) Unset

func (v *NullableBaseStream) Unset()

type NullableBool

type NullableBool struct {
	// contains filtered or unexported fields
}

func NewNullableBool

func NewNullableBool(val *bool) *NullableBool

func (NullableBool) Get

func (v NullableBool) Get() *bool

func (NullableBool) IsSet

func (v NullableBool) IsSet() bool

func (NullableBool) MarshalJSON

func (v NullableBool) MarshalJSON() ([]byte, error)

func (*NullableBool) Set

func (v *NullableBool) Set(val *bool)

func (*NullableBool) UnmarshalJSON

func (v *NullableBool) UnmarshalJSON(src []byte) error

func (*NullableBool) Unset

func (v *NullableBool) Unset()

type NullableCadenceStream

type NullableCadenceStream struct {
	// contains filtered or unexported fields
}

func NewNullableCadenceStream

func NewNullableCadenceStream(val *CadenceStream) *NullableCadenceStream

func (NullableCadenceStream) Get

func (NullableCadenceStream) IsSet

func (v NullableCadenceStream) IsSet() bool

func (NullableCadenceStream) MarshalJSON

func (v NullableCadenceStream) MarshalJSON() ([]byte, error)

func (*NullableCadenceStream) Set

func (v *NullableCadenceStream) Set(val *CadenceStream)

func (*NullableCadenceStream) UnmarshalJSON

func (v *NullableCadenceStream) UnmarshalJSON(src []byte) error

func (*NullableCadenceStream) Unset

func (v *NullableCadenceStream) Unset()

type NullableClubActivity

type NullableClubActivity struct {
	// contains filtered or unexported fields
}

func NewNullableClubActivity

func NewNullableClubActivity(val *ClubActivity) *NullableClubActivity

func (NullableClubActivity) Get

func (NullableClubActivity) IsSet

func (v NullableClubActivity) IsSet() bool

func (NullableClubActivity) MarshalJSON

func (v NullableClubActivity) MarshalJSON() ([]byte, error)

func (*NullableClubActivity) Set

func (v *NullableClubActivity) Set(val *ClubActivity)

func (*NullableClubActivity) UnmarshalJSON

func (v *NullableClubActivity) UnmarshalJSON(src []byte) error

func (*NullableClubActivity) Unset

func (v *NullableClubActivity) Unset()

type NullableClubAthlete

type NullableClubAthlete struct {
	// contains filtered or unexported fields
}

func NewNullableClubAthlete

func NewNullableClubAthlete(val *ClubAthlete) *NullableClubAthlete

func (NullableClubAthlete) Get

func (NullableClubAthlete) IsSet

func (v NullableClubAthlete) IsSet() bool

func (NullableClubAthlete) MarshalJSON

func (v NullableClubAthlete) MarshalJSON() ([]byte, error)

func (*NullableClubAthlete) Set

func (v *NullableClubAthlete) Set(val *ClubAthlete)

func (*NullableClubAthlete) UnmarshalJSON

func (v *NullableClubAthlete) UnmarshalJSON(src []byte) error

func (*NullableClubAthlete) Unset

func (v *NullableClubAthlete) Unset()

type NullableComment

type NullableComment struct {
	// contains filtered or unexported fields
}

func NewNullableComment

func NewNullableComment(val *Comment) *NullableComment

func (NullableComment) Get

func (v NullableComment) Get() *Comment

func (NullableComment) IsSet

func (v NullableComment) IsSet() bool

func (NullableComment) MarshalJSON

func (v NullableComment) MarshalJSON() ([]byte, error)

func (*NullableComment) Set

func (v *NullableComment) Set(val *Comment)

func (*NullableComment) UnmarshalJSON

func (v *NullableComment) UnmarshalJSON(src []byte) error

func (*NullableComment) Unset

func (v *NullableComment) Unset()

type NullableDetailedActivity

type NullableDetailedActivity struct {
	// contains filtered or unexported fields
}

func NewNullableDetailedActivity

func NewNullableDetailedActivity(val *DetailedActivity) *NullableDetailedActivity

func (NullableDetailedActivity) Get

func (NullableDetailedActivity) IsSet

func (v NullableDetailedActivity) IsSet() bool

func (NullableDetailedActivity) MarshalJSON

func (v NullableDetailedActivity) MarshalJSON() ([]byte, error)

func (*NullableDetailedActivity) Set

func (*NullableDetailedActivity) UnmarshalJSON

func (v *NullableDetailedActivity) UnmarshalJSON(src []byte) error

func (*NullableDetailedActivity) Unset

func (v *NullableDetailedActivity) Unset()

type NullableDetailedAthlete

type NullableDetailedAthlete struct {
	// contains filtered or unexported fields
}

func NewNullableDetailedAthlete

func NewNullableDetailedAthlete(val *DetailedAthlete) *NullableDetailedAthlete

func (NullableDetailedAthlete) Get

func (NullableDetailedAthlete) IsSet

func (v NullableDetailedAthlete) IsSet() bool

func (NullableDetailedAthlete) MarshalJSON

func (v NullableDetailedAthlete) MarshalJSON() ([]byte, error)

func (*NullableDetailedAthlete) Set

func (*NullableDetailedAthlete) UnmarshalJSON

func (v *NullableDetailedAthlete) UnmarshalJSON(src []byte) error

func (*NullableDetailedAthlete) Unset

func (v *NullableDetailedAthlete) Unset()

type NullableDetailedClub

type NullableDetailedClub struct {
	// contains filtered or unexported fields
}

func NewNullableDetailedClub

func NewNullableDetailedClub(val *DetailedClub) *NullableDetailedClub

func (NullableDetailedClub) Get

func (NullableDetailedClub) IsSet

func (v NullableDetailedClub) IsSet() bool

func (NullableDetailedClub) MarshalJSON

func (v NullableDetailedClub) MarshalJSON() ([]byte, error)

func (*NullableDetailedClub) Set

func (v *NullableDetailedClub) Set(val *DetailedClub)

func (*NullableDetailedClub) UnmarshalJSON

func (v *NullableDetailedClub) UnmarshalJSON(src []byte) error

func (*NullableDetailedClub) Unset

func (v *NullableDetailedClub) Unset()

type NullableDetailedGear

type NullableDetailedGear struct {
	// contains filtered or unexported fields
}

func NewNullableDetailedGear

func NewNullableDetailedGear(val *DetailedGear) *NullableDetailedGear

func (NullableDetailedGear) Get

func (NullableDetailedGear) IsSet

func (v NullableDetailedGear) IsSet() bool

func (NullableDetailedGear) MarshalJSON

func (v NullableDetailedGear) MarshalJSON() ([]byte, error)

func (*NullableDetailedGear) Set

func (v *NullableDetailedGear) Set(val *DetailedGear)

func (*NullableDetailedGear) UnmarshalJSON

func (v *NullableDetailedGear) UnmarshalJSON(src []byte) error

func (*NullableDetailedGear) Unset

func (v *NullableDetailedGear) Unset()

type NullableDetailedSegment

type NullableDetailedSegment struct {
	// contains filtered or unexported fields
}

func NewNullableDetailedSegment

func NewNullableDetailedSegment(val *DetailedSegment) *NullableDetailedSegment

func (NullableDetailedSegment) Get

func (NullableDetailedSegment) IsSet

func (v NullableDetailedSegment) IsSet() bool

func (NullableDetailedSegment) MarshalJSON

func (v NullableDetailedSegment) MarshalJSON() ([]byte, error)

func (*NullableDetailedSegment) Set

func (*NullableDetailedSegment) UnmarshalJSON

func (v *NullableDetailedSegment) UnmarshalJSON(src []byte) error

func (*NullableDetailedSegment) Unset

func (v *NullableDetailedSegment) Unset()

type NullableDetailedSegmentEffort

type NullableDetailedSegmentEffort struct {
	// contains filtered or unexported fields
}

func (NullableDetailedSegmentEffort) Get

func (NullableDetailedSegmentEffort) IsSet

func (NullableDetailedSegmentEffort) MarshalJSON

func (v NullableDetailedSegmentEffort) MarshalJSON() ([]byte, error)

func (*NullableDetailedSegmentEffort) Set

func (*NullableDetailedSegmentEffort) UnmarshalJSON

func (v *NullableDetailedSegmentEffort) UnmarshalJSON(src []byte) error

func (*NullableDetailedSegmentEffort) Unset

func (v *NullableDetailedSegmentEffort) Unset()

type NullableDistanceStream

type NullableDistanceStream struct {
	// contains filtered or unexported fields
}

func NewNullableDistanceStream

func NewNullableDistanceStream(val *DistanceStream) *NullableDistanceStream

func (NullableDistanceStream) Get

func (NullableDistanceStream) IsSet

func (v NullableDistanceStream) IsSet() bool

func (NullableDistanceStream) MarshalJSON

func (v NullableDistanceStream) MarshalJSON() ([]byte, error)

func (*NullableDistanceStream) Set

func (*NullableDistanceStream) UnmarshalJSON

func (v *NullableDistanceStream) UnmarshalJSON(src []byte) error

func (*NullableDistanceStream) Unset

func (v *NullableDistanceStream) Unset()

type NullableError

type NullableError struct {
	// contains filtered or unexported fields
}

func NewNullableError

func NewNullableError(val *Error) *NullableError

func (NullableError) Get

func (v NullableError) Get() *Error

func (NullableError) IsSet

func (v NullableError) IsSet() bool

func (NullableError) MarshalJSON

func (v NullableError) MarshalJSON() ([]byte, error)

func (*NullableError) Set

func (v *NullableError) Set(val *Error)

func (*NullableError) UnmarshalJSON

func (v *NullableError) UnmarshalJSON(src []byte) error

func (*NullableError) Unset

func (v *NullableError) Unset()

type NullableExplorerResponse

type NullableExplorerResponse struct {
	// contains filtered or unexported fields
}

func NewNullableExplorerResponse

func NewNullableExplorerResponse(val *ExplorerResponse) *NullableExplorerResponse

func (NullableExplorerResponse) Get

func (NullableExplorerResponse) IsSet

func (v NullableExplorerResponse) IsSet() bool

func (NullableExplorerResponse) MarshalJSON

func (v NullableExplorerResponse) MarshalJSON() ([]byte, error)

func (*NullableExplorerResponse) Set

func (*NullableExplorerResponse) UnmarshalJSON

func (v *NullableExplorerResponse) UnmarshalJSON(src []byte) error

func (*NullableExplorerResponse) Unset

func (v *NullableExplorerResponse) Unset()

type NullableExplorerSegment

type NullableExplorerSegment struct {
	// contains filtered or unexported fields
}

func NewNullableExplorerSegment

func NewNullableExplorerSegment(val *ExplorerSegment) *NullableExplorerSegment

func (NullableExplorerSegment) Get

func (NullableExplorerSegment) IsSet

func (v NullableExplorerSegment) IsSet() bool

func (NullableExplorerSegment) MarshalJSON

func (v NullableExplorerSegment) MarshalJSON() ([]byte, error)

func (*NullableExplorerSegment) Set

func (*NullableExplorerSegment) UnmarshalJSON

func (v *NullableExplorerSegment) UnmarshalJSON(src []byte) error

func (*NullableExplorerSegment) Unset

func (v *NullableExplorerSegment) Unset()

type NullableFault

type NullableFault struct {
	// contains filtered or unexported fields
}

func NewNullableFault

func NewNullableFault(val *Fault) *NullableFault

func (NullableFault) Get

func (v NullableFault) Get() *Fault

func (NullableFault) IsSet

func (v NullableFault) IsSet() bool

func (NullableFault) MarshalJSON

func (v NullableFault) MarshalJSON() ([]byte, error)

func (*NullableFault) Set

func (v *NullableFault) Set(val *Fault)

func (*NullableFault) UnmarshalJSON

func (v *NullableFault) UnmarshalJSON(src []byte) error

func (*NullableFault) Unset

func (v *NullableFault) Unset()

type NullableFloat32

type NullableFloat32 struct {
	// contains filtered or unexported fields
}

func NewNullableFloat32

func NewNullableFloat32(val *float32) *NullableFloat32

func (NullableFloat32) Get

func (v NullableFloat32) Get() *float32

func (NullableFloat32) IsSet

func (v NullableFloat32) IsSet() bool

func (NullableFloat32) MarshalJSON

func (v NullableFloat32) MarshalJSON() ([]byte, error)

func (*NullableFloat32) Set

func (v *NullableFloat32) Set(val *float32)

func (*NullableFloat32) UnmarshalJSON

func (v *NullableFloat32) UnmarshalJSON(src []byte) error

func (*NullableFloat32) Unset

func (v *NullableFloat32) Unset()

type NullableFloat64

type NullableFloat64 struct {
	// contains filtered or unexported fields
}

func NewNullableFloat64

func NewNullableFloat64(val *float64) *NullableFloat64

func (NullableFloat64) Get

func (v NullableFloat64) Get() *float64

func (NullableFloat64) IsSet

func (v NullableFloat64) IsSet() bool

func (NullableFloat64) MarshalJSON

func (v NullableFloat64) MarshalJSON() ([]byte, error)

func (*NullableFloat64) Set

func (v *NullableFloat64) Set(val *float64)

func (*NullableFloat64) UnmarshalJSON

func (v *NullableFloat64) UnmarshalJSON(src []byte) error

func (*NullableFloat64) Unset

func (v *NullableFloat64) Unset()

type NullableHeartRateZoneRanges

type NullableHeartRateZoneRanges struct {
	// contains filtered or unexported fields
}

func NewNullableHeartRateZoneRanges

func NewNullableHeartRateZoneRanges(val *HeartRateZoneRanges) *NullableHeartRateZoneRanges

func (NullableHeartRateZoneRanges) Get

func (NullableHeartRateZoneRanges) IsSet

func (NullableHeartRateZoneRanges) MarshalJSON

func (v NullableHeartRateZoneRanges) MarshalJSON() ([]byte, error)

func (*NullableHeartRateZoneRanges) Set

func (*NullableHeartRateZoneRanges) UnmarshalJSON

func (v *NullableHeartRateZoneRanges) UnmarshalJSON(src []byte) error

func (*NullableHeartRateZoneRanges) Unset

func (v *NullableHeartRateZoneRanges) Unset()

type NullableHeartrateStream

type NullableHeartrateStream struct {
	// contains filtered or unexported fields
}

func NewNullableHeartrateStream

func NewNullableHeartrateStream(val *HeartrateStream) *NullableHeartrateStream

func (NullableHeartrateStream) Get

func (NullableHeartrateStream) IsSet

func (v NullableHeartrateStream) IsSet() bool

func (NullableHeartrateStream) MarshalJSON

func (v NullableHeartrateStream) MarshalJSON() ([]byte, error)

func (*NullableHeartrateStream) Set

func (*NullableHeartrateStream) UnmarshalJSON

func (v *NullableHeartrateStream) UnmarshalJSON(src []byte) error

func (*NullableHeartrateStream) Unset

func (v *NullableHeartrateStream) Unset()

type NullableInt

type NullableInt struct {
	// contains filtered or unexported fields
}

func NewNullableInt

func NewNullableInt(val *int) *NullableInt

func (NullableInt) Get

func (v NullableInt) Get() *int

func (NullableInt) IsSet

func (v NullableInt) IsSet() bool

func (NullableInt) MarshalJSON

func (v NullableInt) MarshalJSON() ([]byte, error)

func (*NullableInt) Set

func (v *NullableInt) Set(val *int)

func (*NullableInt) UnmarshalJSON

func (v *NullableInt) UnmarshalJSON(src []byte) error

func (*NullableInt) Unset

func (v *NullableInt) Unset()

type NullableInt32

type NullableInt32 struct {
	// contains filtered or unexported fields
}

func NewNullableInt32

func NewNullableInt32(val *int32) *NullableInt32

func (NullableInt32) Get

func (v NullableInt32) Get() *int32

func (NullableInt32) IsSet

func (v NullableInt32) IsSet() bool

func (NullableInt32) MarshalJSON

func (v NullableInt32) MarshalJSON() ([]byte, error)

func (*NullableInt32) Set

func (v *NullableInt32) Set(val *int32)

func (*NullableInt32) UnmarshalJSON

func (v *NullableInt32) UnmarshalJSON(src []byte) error

func (*NullableInt32) Unset

func (v *NullableInt32) Unset()

type NullableInt64

type NullableInt64 struct {
	// contains filtered or unexported fields
}

func NewNullableInt64

func NewNullableInt64(val *int64) *NullableInt64

func (NullableInt64) Get

func (v NullableInt64) Get() *int64

func (NullableInt64) IsSet

func (v NullableInt64) IsSet() bool

func (NullableInt64) MarshalJSON

func (v NullableInt64) MarshalJSON() ([]byte, error)

func (*NullableInt64) Set

func (v *NullableInt64) Set(val *int64)

func (*NullableInt64) UnmarshalJSON

func (v *NullableInt64) UnmarshalJSON(src []byte) error

func (*NullableInt64) Unset

func (v *NullableInt64) Unset()

type NullableLap

type NullableLap struct {
	// contains filtered or unexported fields
}

func NewNullableLap

func NewNullableLap(val *Lap) *NullableLap

func (NullableLap) Get

func (v NullableLap) Get() *Lap

func (NullableLap) IsSet

func (v NullableLap) IsSet() bool

func (NullableLap) MarshalJSON

func (v NullableLap) MarshalJSON() ([]byte, error)

func (*NullableLap) Set

func (v *NullableLap) Set(val *Lap)

func (*NullableLap) UnmarshalJSON

func (v *NullableLap) UnmarshalJSON(src []byte) error

func (*NullableLap) Unset

func (v *NullableLap) Unset()

type NullableLatLngStream

type NullableLatLngStream struct {
	// contains filtered or unexported fields
}

func NewNullableLatLngStream

func NewNullableLatLngStream(val *LatLngStream) *NullableLatLngStream

func (NullableLatLngStream) Get

func (NullableLatLngStream) IsSet

func (v NullableLatLngStream) IsSet() bool

func (NullableLatLngStream) MarshalJSON

func (v NullableLatLngStream) MarshalJSON() ([]byte, error)

func (*NullableLatLngStream) Set

func (v *NullableLatLngStream) Set(val *LatLngStream)

func (*NullableLatLngStream) UnmarshalJSON

func (v *NullableLatLngStream) UnmarshalJSON(src []byte) error

func (*NullableLatLngStream) Unset

func (v *NullableLatLngStream) Unset()

type NullableMetaActivity

type NullableMetaActivity struct {
	// contains filtered or unexported fields
}

func NewNullableMetaActivity

func NewNullableMetaActivity(val *MetaActivity) *NullableMetaActivity

func (NullableMetaActivity) Get

func (NullableMetaActivity) IsSet

func (v NullableMetaActivity) IsSet() bool

func (NullableMetaActivity) MarshalJSON

func (v NullableMetaActivity) MarshalJSON() ([]byte, error)

func (*NullableMetaActivity) Set

func (v *NullableMetaActivity) Set(val *MetaActivity)

func (*NullableMetaActivity) UnmarshalJSON

func (v *NullableMetaActivity) UnmarshalJSON(src []byte) error

func (*NullableMetaActivity) Unset

func (v *NullableMetaActivity) Unset()

type NullableMetaAthlete

type NullableMetaAthlete struct {
	// contains filtered or unexported fields
}

func NewNullableMetaAthlete

func NewNullableMetaAthlete(val *MetaAthlete) *NullableMetaAthlete

func (NullableMetaAthlete) Get

func (NullableMetaAthlete) IsSet

func (v NullableMetaAthlete) IsSet() bool

func (NullableMetaAthlete) MarshalJSON

func (v NullableMetaAthlete) MarshalJSON() ([]byte, error)

func (*NullableMetaAthlete) Set

func (v *NullableMetaAthlete) Set(val *MetaAthlete)

func (*NullableMetaAthlete) UnmarshalJSON

func (v *NullableMetaAthlete) UnmarshalJSON(src []byte) error

func (*NullableMetaAthlete) Unset

func (v *NullableMetaAthlete) Unset()

type NullableMetaClub

type NullableMetaClub struct {
	// contains filtered or unexported fields
}

func NewNullableMetaClub

func NewNullableMetaClub(val *MetaClub) *NullableMetaClub

func (NullableMetaClub) Get

func (v NullableMetaClub) Get() *MetaClub

func (NullableMetaClub) IsSet

func (v NullableMetaClub) IsSet() bool

func (NullableMetaClub) MarshalJSON

func (v NullableMetaClub) MarshalJSON() ([]byte, error)

func (*NullableMetaClub) Set

func (v *NullableMetaClub) Set(val *MetaClub)

func (*NullableMetaClub) UnmarshalJSON

func (v *NullableMetaClub) UnmarshalJSON(src []byte) error

func (*NullableMetaClub) Unset

func (v *NullableMetaClub) Unset()

type NullableMovingStream

type NullableMovingStream struct {
	// contains filtered or unexported fields
}

func NewNullableMovingStream

func NewNullableMovingStream(val *MovingStream) *NullableMovingStream

func (NullableMovingStream) Get

func (NullableMovingStream) IsSet

func (v NullableMovingStream) IsSet() bool

func (NullableMovingStream) MarshalJSON

func (v NullableMovingStream) MarshalJSON() ([]byte, error)

func (*NullableMovingStream) Set

func (v *NullableMovingStream) Set(val *MovingStream)

func (*NullableMovingStream) UnmarshalJSON

func (v *NullableMovingStream) UnmarshalJSON(src []byte) error

func (*NullableMovingStream) Unset

func (v *NullableMovingStream) Unset()

type NullablePhotosSummary

type NullablePhotosSummary struct {
	// contains filtered or unexported fields
}

func NewNullablePhotosSummary

func NewNullablePhotosSummary(val *PhotosSummary) *NullablePhotosSummary

func (NullablePhotosSummary) Get

func (NullablePhotosSummary) IsSet

func (v NullablePhotosSummary) IsSet() bool

func (NullablePhotosSummary) MarshalJSON

func (v NullablePhotosSummary) MarshalJSON() ([]byte, error)

func (*NullablePhotosSummary) Set

func (v *NullablePhotosSummary) Set(val *PhotosSummary)

func (*NullablePhotosSummary) UnmarshalJSON

func (v *NullablePhotosSummary) UnmarshalJSON(src []byte) error

func (*NullablePhotosSummary) Unset

func (v *NullablePhotosSummary) Unset()

type NullablePhotosSummaryPrimary

type NullablePhotosSummaryPrimary struct {
	// contains filtered or unexported fields
}

func NewNullablePhotosSummaryPrimary

func NewNullablePhotosSummaryPrimary(val *PhotosSummaryPrimary) *NullablePhotosSummaryPrimary

func (NullablePhotosSummaryPrimary) Get

func (NullablePhotosSummaryPrimary) IsSet

func (NullablePhotosSummaryPrimary) MarshalJSON

func (v NullablePhotosSummaryPrimary) MarshalJSON() ([]byte, error)

func (*NullablePhotosSummaryPrimary) Set

func (*NullablePhotosSummaryPrimary) UnmarshalJSON

func (v *NullablePhotosSummaryPrimary) UnmarshalJSON(src []byte) error

func (*NullablePhotosSummaryPrimary) Unset

func (v *NullablePhotosSummaryPrimary) Unset()

type NullablePolylineMap

type NullablePolylineMap struct {
	// contains filtered or unexported fields
}

func NewNullablePolylineMap

func NewNullablePolylineMap(val *PolylineMap) *NullablePolylineMap

func (NullablePolylineMap) Get

func (NullablePolylineMap) IsSet

func (v NullablePolylineMap) IsSet() bool

func (NullablePolylineMap) MarshalJSON

func (v NullablePolylineMap) MarshalJSON() ([]byte, error)

func (*NullablePolylineMap) Set

func (v *NullablePolylineMap) Set(val *PolylineMap)

func (*NullablePolylineMap) UnmarshalJSON

func (v *NullablePolylineMap) UnmarshalJSON(src []byte) error

func (*NullablePolylineMap) Unset

func (v *NullablePolylineMap) Unset()

type NullablePowerStream

type NullablePowerStream struct {
	// contains filtered or unexported fields
}

func NewNullablePowerStream

func NewNullablePowerStream(val *PowerStream) *NullablePowerStream

func (NullablePowerStream) Get

func (NullablePowerStream) IsSet

func (v NullablePowerStream) IsSet() bool

func (NullablePowerStream) MarshalJSON

func (v NullablePowerStream) MarshalJSON() ([]byte, error)

func (*NullablePowerStream) Set

func (v *NullablePowerStream) Set(val *PowerStream)

func (*NullablePowerStream) UnmarshalJSON

func (v *NullablePowerStream) UnmarshalJSON(src []byte) error

func (*NullablePowerStream) Unset

func (v *NullablePowerStream) Unset()

type NullablePowerZoneRanges

type NullablePowerZoneRanges struct {
	// contains filtered or unexported fields
}

func NewNullablePowerZoneRanges

func NewNullablePowerZoneRanges(val *PowerZoneRanges) *NullablePowerZoneRanges

func (NullablePowerZoneRanges) Get

func (NullablePowerZoneRanges) IsSet

func (v NullablePowerZoneRanges) IsSet() bool

func (NullablePowerZoneRanges) MarshalJSON

func (v NullablePowerZoneRanges) MarshalJSON() ([]byte, error)

func (*NullablePowerZoneRanges) Set

func (*NullablePowerZoneRanges) UnmarshalJSON

func (v *NullablePowerZoneRanges) UnmarshalJSON(src []byte) error

func (*NullablePowerZoneRanges) Unset

func (v *NullablePowerZoneRanges) Unset()

type NullableRoute

type NullableRoute struct {
	// contains filtered or unexported fields
}

func NewNullableRoute

func NewNullableRoute(val *Route) *NullableRoute

func (NullableRoute) Get

func (v NullableRoute) Get() *Route

func (NullableRoute) IsSet

func (v NullableRoute) IsSet() bool

func (NullableRoute) MarshalJSON

func (v NullableRoute) MarshalJSON() ([]byte, error)

func (*NullableRoute) Set

func (v *NullableRoute) Set(val *Route)

func (*NullableRoute) UnmarshalJSON

func (v *NullableRoute) UnmarshalJSON(src []byte) error

func (*NullableRoute) Unset

func (v *NullableRoute) Unset()

type NullableSmoothGradeStream

type NullableSmoothGradeStream struct {
	// contains filtered or unexported fields
}

func NewNullableSmoothGradeStream

func NewNullableSmoothGradeStream(val *SmoothGradeStream) *NullableSmoothGradeStream

func (NullableSmoothGradeStream) Get

func (NullableSmoothGradeStream) IsSet

func (v NullableSmoothGradeStream) IsSet() bool

func (NullableSmoothGradeStream) MarshalJSON

func (v NullableSmoothGradeStream) MarshalJSON() ([]byte, error)

func (*NullableSmoothGradeStream) Set

func (*NullableSmoothGradeStream) UnmarshalJSON

func (v *NullableSmoothGradeStream) UnmarshalJSON(src []byte) error

func (*NullableSmoothGradeStream) Unset

func (v *NullableSmoothGradeStream) Unset()

type NullableSmoothVelocityStream

type NullableSmoothVelocityStream struct {
	// contains filtered or unexported fields
}

func NewNullableSmoothVelocityStream

func NewNullableSmoothVelocityStream(val *SmoothVelocityStream) *NullableSmoothVelocityStream

func (NullableSmoothVelocityStream) Get

func (NullableSmoothVelocityStream) IsSet

func (NullableSmoothVelocityStream) MarshalJSON

func (v NullableSmoothVelocityStream) MarshalJSON() ([]byte, error)

func (*NullableSmoothVelocityStream) Set

func (*NullableSmoothVelocityStream) UnmarshalJSON

func (v *NullableSmoothVelocityStream) UnmarshalJSON(src []byte) error

func (*NullableSmoothVelocityStream) Unset

func (v *NullableSmoothVelocityStream) Unset()

type NullableSplit

type NullableSplit struct {
	// contains filtered or unexported fields
}

func NewNullableSplit

func NewNullableSplit(val *Split) *NullableSplit

func (NullableSplit) Get

func (v NullableSplit) Get() *Split

func (NullableSplit) IsSet

func (v NullableSplit) IsSet() bool

func (NullableSplit) MarshalJSON

func (v NullableSplit) MarshalJSON() ([]byte, error)

func (*NullableSplit) Set

func (v *NullableSplit) Set(val *Split)

func (*NullableSplit) UnmarshalJSON

func (v *NullableSplit) UnmarshalJSON(src []byte) error

func (*NullableSplit) Unset

func (v *NullableSplit) Unset()

type NullableSportType

type NullableSportType struct {
	// contains filtered or unexported fields
}

func NewNullableSportType

func NewNullableSportType(val *SportType) *NullableSportType

func (NullableSportType) Get

func (v NullableSportType) Get() *SportType

func (NullableSportType) IsSet

func (v NullableSportType) IsSet() bool

func (NullableSportType) MarshalJSON

func (v NullableSportType) MarshalJSON() ([]byte, error)

func (*NullableSportType) Set

func (v *NullableSportType) Set(val *SportType)

func (*NullableSportType) UnmarshalJSON

func (v *NullableSportType) UnmarshalJSON(src []byte) error

func (*NullableSportType) Unset

func (v *NullableSportType) Unset()

type NullableStreamSet

type NullableStreamSet struct {
	// contains filtered or unexported fields
}

func NewNullableStreamSet

func NewNullableStreamSet(val *StreamSet) *NullableStreamSet

func (NullableStreamSet) Get

func (v NullableStreamSet) Get() *StreamSet

func (NullableStreamSet) IsSet

func (v NullableStreamSet) IsSet() bool

func (NullableStreamSet) MarshalJSON

func (v NullableStreamSet) MarshalJSON() ([]byte, error)

func (*NullableStreamSet) Set

func (v *NullableStreamSet) Set(val *StreamSet)

func (*NullableStreamSet) UnmarshalJSON

func (v *NullableStreamSet) UnmarshalJSON(src []byte) error

func (*NullableStreamSet) Unset

func (v *NullableStreamSet) Unset()

type NullableString

type NullableString struct {
	// contains filtered or unexported fields
}

func NewNullableString

func NewNullableString(val *string) *NullableString

func (NullableString) Get

func (v NullableString) Get() *string

func (NullableString) IsSet

func (v NullableString) IsSet() bool

func (NullableString) MarshalJSON

func (v NullableString) MarshalJSON() ([]byte, error)

func (*NullableString) Set

func (v *NullableString) Set(val *string)

func (*NullableString) UnmarshalJSON

func (v *NullableString) UnmarshalJSON(src []byte) error

func (*NullableString) Unset

func (v *NullableString) Unset()

type NullableSummaryActivity

type NullableSummaryActivity struct {
	// contains filtered or unexported fields
}

func NewNullableSummaryActivity

func NewNullableSummaryActivity(val *SummaryActivity) *NullableSummaryActivity

func (NullableSummaryActivity) Get

func (NullableSummaryActivity) IsSet

func (v NullableSummaryActivity) IsSet() bool

func (NullableSummaryActivity) MarshalJSON

func (v NullableSummaryActivity) MarshalJSON() ([]byte, error)

func (*NullableSummaryActivity) Set

func (*NullableSummaryActivity) UnmarshalJSON

func (v *NullableSummaryActivity) UnmarshalJSON(src []byte) error

func (*NullableSummaryActivity) Unset

func (v *NullableSummaryActivity) Unset()

type NullableSummaryAthlete

type NullableSummaryAthlete struct {
	// contains filtered or unexported fields
}

func NewNullableSummaryAthlete

func NewNullableSummaryAthlete(val *SummaryAthlete) *NullableSummaryAthlete

func (NullableSummaryAthlete) Get

func (NullableSummaryAthlete) IsSet

func (v NullableSummaryAthlete) IsSet() bool

func (NullableSummaryAthlete) MarshalJSON

func (v NullableSummaryAthlete) MarshalJSON() ([]byte, error)

func (*NullableSummaryAthlete) Set

func (*NullableSummaryAthlete) UnmarshalJSON

func (v *NullableSummaryAthlete) UnmarshalJSON(src []byte) error

func (*NullableSummaryAthlete) Unset

func (v *NullableSummaryAthlete) Unset()

type NullableSummaryClub

type NullableSummaryClub struct {
	// contains filtered or unexported fields
}

func NewNullableSummaryClub

func NewNullableSummaryClub(val *SummaryClub) *NullableSummaryClub

func (NullableSummaryClub) Get

func (NullableSummaryClub) IsSet

func (v NullableSummaryClub) IsSet() bool

func (NullableSummaryClub) MarshalJSON

func (v NullableSummaryClub) MarshalJSON() ([]byte, error)

func (*NullableSummaryClub) Set

func (v *NullableSummaryClub) Set(val *SummaryClub)

func (*NullableSummaryClub) UnmarshalJSON

func (v *NullableSummaryClub) UnmarshalJSON(src []byte) error

func (*NullableSummaryClub) Unset

func (v *NullableSummaryClub) Unset()

type NullableSummaryGear

type NullableSummaryGear struct {
	// contains filtered or unexported fields
}

func NewNullableSummaryGear

func NewNullableSummaryGear(val *SummaryGear) *NullableSummaryGear

func (NullableSummaryGear) Get

func (NullableSummaryGear) IsSet

func (v NullableSummaryGear) IsSet() bool

func (NullableSummaryGear) MarshalJSON

func (v NullableSummaryGear) MarshalJSON() ([]byte, error)

func (*NullableSummaryGear) Set

func (v *NullableSummaryGear) Set(val *SummaryGear)

func (*NullableSummaryGear) UnmarshalJSON

func (v *NullableSummaryGear) UnmarshalJSON(src []byte) error

func (*NullableSummaryGear) Unset

func (v *NullableSummaryGear) Unset()

type NullableSummaryPRSegmentEffort

type NullableSummaryPRSegmentEffort struct {
	// contains filtered or unexported fields
}

func (NullableSummaryPRSegmentEffort) Get

func (NullableSummaryPRSegmentEffort) IsSet

func (NullableSummaryPRSegmentEffort) MarshalJSON

func (v NullableSummaryPRSegmentEffort) MarshalJSON() ([]byte, error)

func (*NullableSummaryPRSegmentEffort) Set

func (*NullableSummaryPRSegmentEffort) UnmarshalJSON

func (v *NullableSummaryPRSegmentEffort) UnmarshalJSON(src []byte) error

func (*NullableSummaryPRSegmentEffort) Unset

func (v *NullableSummaryPRSegmentEffort) Unset()

type NullableSummarySegment

type NullableSummarySegment struct {
	// contains filtered or unexported fields
}

func NewNullableSummarySegment

func NewNullableSummarySegment(val *SummarySegment) *NullableSummarySegment

func (NullableSummarySegment) Get

func (NullableSummarySegment) IsSet

func (v NullableSummarySegment) IsSet() bool

func (NullableSummarySegment) MarshalJSON

func (v NullableSummarySegment) MarshalJSON() ([]byte, error)

func (*NullableSummarySegment) Set

func (*NullableSummarySegment) UnmarshalJSON

func (v *NullableSummarySegment) UnmarshalJSON(src []byte) error

func (*NullableSummarySegment) Unset

func (v *NullableSummarySegment) Unset()

type NullableSummarySegmentEffort

type NullableSummarySegmentEffort struct {
	// contains filtered or unexported fields
}

func NewNullableSummarySegmentEffort

func NewNullableSummarySegmentEffort(val *SummarySegmentEffort) *NullableSummarySegmentEffort

func (NullableSummarySegmentEffort) Get

func (NullableSummarySegmentEffort) IsSet

func (NullableSummarySegmentEffort) MarshalJSON

func (v NullableSummarySegmentEffort) MarshalJSON() ([]byte, error)

func (*NullableSummarySegmentEffort) Set

func (*NullableSummarySegmentEffort) UnmarshalJSON

func (v *NullableSummarySegmentEffort) UnmarshalJSON(src []byte) error

func (*NullableSummarySegmentEffort) Unset

func (v *NullableSummarySegmentEffort) Unset()

type NullableTemperatureStream

type NullableTemperatureStream struct {
	// contains filtered or unexported fields
}

func NewNullableTemperatureStream

func NewNullableTemperatureStream(val *TemperatureStream) *NullableTemperatureStream

func (NullableTemperatureStream) Get

func (NullableTemperatureStream) IsSet

func (v NullableTemperatureStream) IsSet() bool

func (NullableTemperatureStream) MarshalJSON

func (v NullableTemperatureStream) MarshalJSON() ([]byte, error)

func (*NullableTemperatureStream) Set

func (*NullableTemperatureStream) UnmarshalJSON

func (v *NullableTemperatureStream) UnmarshalJSON(src []byte) error

func (*NullableTemperatureStream) Unset

func (v *NullableTemperatureStream) Unset()

type NullableTime

type NullableTime struct {
	// contains filtered or unexported fields
}

func NewNullableTime

func NewNullableTime(val *time.Time) *NullableTime

func (NullableTime) Get

func (v NullableTime) Get() *time.Time

func (NullableTime) IsSet

func (v NullableTime) IsSet() bool

func (NullableTime) MarshalJSON

func (v NullableTime) MarshalJSON() ([]byte, error)

func (*NullableTime) Set

func (v *NullableTime) Set(val *time.Time)

func (*NullableTime) UnmarshalJSON

func (v *NullableTime) UnmarshalJSON(src []byte) error

func (*NullableTime) Unset

func (v *NullableTime) Unset()

type NullableTimeStream

type NullableTimeStream struct {
	// contains filtered or unexported fields
}

func NewNullableTimeStream

func NewNullableTimeStream(val *TimeStream) *NullableTimeStream

func (NullableTimeStream) Get

func (v NullableTimeStream) Get() *TimeStream

func (NullableTimeStream) IsSet

func (v NullableTimeStream) IsSet() bool

func (NullableTimeStream) MarshalJSON

func (v NullableTimeStream) MarshalJSON() ([]byte, error)

func (*NullableTimeStream) Set

func (v *NullableTimeStream) Set(val *TimeStream)

func (*NullableTimeStream) UnmarshalJSON

func (v *NullableTimeStream) UnmarshalJSON(src []byte) error

func (*NullableTimeStream) Unset

func (v *NullableTimeStream) Unset()

type NullableTimedZoneRange

type NullableTimedZoneRange struct {
	// contains filtered or unexported fields
}

func NewNullableTimedZoneRange

func NewNullableTimedZoneRange(val *TimedZoneRange) *NullableTimedZoneRange

func (NullableTimedZoneRange) Get

func (NullableTimedZoneRange) IsSet

func (v NullableTimedZoneRange) IsSet() bool

func (NullableTimedZoneRange) MarshalJSON

func (v NullableTimedZoneRange) MarshalJSON() ([]byte, error)

func (*NullableTimedZoneRange) Set

func (*NullableTimedZoneRange) UnmarshalJSON

func (v *NullableTimedZoneRange) UnmarshalJSON(src []byte) error

func (*NullableTimedZoneRange) Unset

func (v *NullableTimedZoneRange) Unset()

type NullableUpdatableActivity

type NullableUpdatableActivity struct {
	// contains filtered or unexported fields
}

func NewNullableUpdatableActivity

func NewNullableUpdatableActivity(val *UpdatableActivity) *NullableUpdatableActivity

func (NullableUpdatableActivity) Get

func (NullableUpdatableActivity) IsSet

func (v NullableUpdatableActivity) IsSet() bool

func (NullableUpdatableActivity) MarshalJSON

func (v NullableUpdatableActivity) MarshalJSON() ([]byte, error)

func (*NullableUpdatableActivity) Set

func (*NullableUpdatableActivity) UnmarshalJSON

func (v *NullableUpdatableActivity) UnmarshalJSON(src []byte) error

func (*NullableUpdatableActivity) Unset

func (v *NullableUpdatableActivity) Unset()

type NullableUpload

type NullableUpload struct {
	// contains filtered or unexported fields
}

func NewNullableUpload

func NewNullableUpload(val *Upload) *NullableUpload

func (NullableUpload) Get

func (v NullableUpload) Get() *Upload

func (NullableUpload) IsSet

func (v NullableUpload) IsSet() bool

func (NullableUpload) MarshalJSON

func (v NullableUpload) MarshalJSON() ([]byte, error)

func (*NullableUpload) Set

func (v *NullableUpload) Set(val *Upload)

func (*NullableUpload) UnmarshalJSON

func (v *NullableUpload) UnmarshalJSON(src []byte) error

func (*NullableUpload) Unset

func (v *NullableUpload) Unset()

type NullableZoneRange

type NullableZoneRange struct {
	// contains filtered or unexported fields
}

func NewNullableZoneRange

func NewNullableZoneRange(val *ZoneRange) *NullableZoneRange

func (NullableZoneRange) Get

func (v NullableZoneRange) Get() *ZoneRange

func (NullableZoneRange) IsSet

func (v NullableZoneRange) IsSet() bool

func (NullableZoneRange) MarshalJSON

func (v NullableZoneRange) MarshalJSON() ([]byte, error)

func (*NullableZoneRange) Set

func (v *NullableZoneRange) Set(val *ZoneRange)

func (*NullableZoneRange) UnmarshalJSON

func (v *NullableZoneRange) UnmarshalJSON(src []byte) error

func (*NullableZoneRange) Unset

func (v *NullableZoneRange) Unset()

type NullableZones

type NullableZones struct {
	// contains filtered or unexported fields
}

func NewNullableZones

func NewNullableZones(val *Zones) *NullableZones

func (NullableZones) Get

func (v NullableZones) Get() *Zones

func (NullableZones) IsSet

func (v NullableZones) IsSet() bool

func (NullableZones) MarshalJSON

func (v NullableZones) MarshalJSON() ([]byte, error)

func (*NullableZones) Set

func (v *NullableZones) Set(val *Zones)

func (*NullableZones) UnmarshalJSON

func (v *NullableZones) UnmarshalJSON(src []byte) error

func (*NullableZones) Unset

func (v *NullableZones) Unset()

type PhotosSummary

type PhotosSummary struct {
	// The number of photos
	Count   *int32                `json:"count,omitempty"`
	Primary *PhotosSummaryPrimary `json:"primary,omitempty"`
}

PhotosSummary struct for PhotosSummary

func NewPhotosSummary

func NewPhotosSummary() *PhotosSummary

NewPhotosSummary instantiates a new PhotosSummary object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewPhotosSummaryWithDefaults

func NewPhotosSummaryWithDefaults() *PhotosSummary

NewPhotosSummaryWithDefaults instantiates a new PhotosSummary object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*PhotosSummary) GetCount

func (o *PhotosSummary) GetCount() int32

GetCount returns the Count field value if set, zero value otherwise.

func (*PhotosSummary) GetCountOk

func (o *PhotosSummary) GetCountOk() (*int32, bool)

GetCountOk returns a tuple with the Count field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PhotosSummary) GetPrimary

func (o *PhotosSummary) GetPrimary() PhotosSummaryPrimary

GetPrimary returns the Primary field value if set, zero value otherwise.

func (*PhotosSummary) GetPrimaryOk

func (o *PhotosSummary) GetPrimaryOk() (*PhotosSummaryPrimary, bool)

GetPrimaryOk returns a tuple with the Primary field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PhotosSummary) HasCount

func (o *PhotosSummary) HasCount() bool

HasCount returns a boolean if a field has been set.

func (*PhotosSummary) HasPrimary

func (o *PhotosSummary) HasPrimary() bool

HasPrimary returns a boolean if a field has been set.

func (PhotosSummary) MarshalJSON

func (o PhotosSummary) MarshalJSON() ([]byte, error)

func (*PhotosSummary) SetCount

func (o *PhotosSummary) SetCount(v int32)

SetCount gets a reference to the given int32 and assigns it to the Count field.

func (*PhotosSummary) SetPrimary

func (o *PhotosSummary) SetPrimary(v PhotosSummaryPrimary)

SetPrimary gets a reference to the given PhotosSummaryPrimary and assigns it to the Primary field.

func (PhotosSummary) ToMap

func (o PhotosSummary) ToMap() (map[string]interface{}, error)

type PhotosSummaryPrimary

type PhotosSummaryPrimary struct {
	Id       *int64             `json:"id,omitempty"`
	Source   *int32             `json:"source,omitempty"`
	UniqueId *string            `json:"unique_id,omitempty"`
	Urls     *map[string]string `json:"urls,omitempty"`
}

PhotosSummaryPrimary struct for PhotosSummaryPrimary

func NewPhotosSummaryPrimary

func NewPhotosSummaryPrimary() *PhotosSummaryPrimary

NewPhotosSummaryPrimary instantiates a new PhotosSummaryPrimary object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewPhotosSummaryPrimaryWithDefaults

func NewPhotosSummaryPrimaryWithDefaults() *PhotosSummaryPrimary

NewPhotosSummaryPrimaryWithDefaults instantiates a new PhotosSummaryPrimary object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*PhotosSummaryPrimary) GetId

func (o *PhotosSummaryPrimary) GetId() int64

GetId returns the Id field value if set, zero value otherwise.

func (*PhotosSummaryPrimary) GetIdOk

func (o *PhotosSummaryPrimary) GetIdOk() (*int64, bool)

GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PhotosSummaryPrimary) GetSource

func (o *PhotosSummaryPrimary) GetSource() int32

GetSource returns the Source field value if set, zero value otherwise.

func (*PhotosSummaryPrimary) GetSourceOk

func (o *PhotosSummaryPrimary) GetSourceOk() (*int32, bool)

GetSourceOk returns a tuple with the Source field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PhotosSummaryPrimary) GetUniqueId

func (o *PhotosSummaryPrimary) GetUniqueId() string

GetUniqueId returns the UniqueId field value if set, zero value otherwise.

func (*PhotosSummaryPrimary) GetUniqueIdOk

func (o *PhotosSummaryPrimary) GetUniqueIdOk() (*string, bool)

GetUniqueIdOk returns a tuple with the UniqueId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PhotosSummaryPrimary) GetUrls

func (o *PhotosSummaryPrimary) GetUrls() map[string]string

GetUrls returns the Urls field value if set, zero value otherwise.

func (*PhotosSummaryPrimary) GetUrlsOk

func (o *PhotosSummaryPrimary) GetUrlsOk() (*map[string]string, bool)

GetUrlsOk returns a tuple with the Urls field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PhotosSummaryPrimary) HasId

func (o *PhotosSummaryPrimary) HasId() bool

HasId returns a boolean if a field has been set.

func (*PhotosSummaryPrimary) HasSource

func (o *PhotosSummaryPrimary) HasSource() bool

HasSource returns a boolean if a field has been set.

func (*PhotosSummaryPrimary) HasUniqueId

func (o *PhotosSummaryPrimary) HasUniqueId() bool

HasUniqueId returns a boolean if a field has been set.

func (*PhotosSummaryPrimary) HasUrls

func (o *PhotosSummaryPrimary) HasUrls() bool

HasUrls returns a boolean if a field has been set.

func (PhotosSummaryPrimary) MarshalJSON

func (o PhotosSummaryPrimary) MarshalJSON() ([]byte, error)

func (*PhotosSummaryPrimary) SetId

func (o *PhotosSummaryPrimary) SetId(v int64)

SetId gets a reference to the given int64 and assigns it to the Id field.

func (*PhotosSummaryPrimary) SetSource

func (o *PhotosSummaryPrimary) SetSource(v int32)

SetSource gets a reference to the given int32 and assigns it to the Source field.

func (*PhotosSummaryPrimary) SetUniqueId

func (o *PhotosSummaryPrimary) SetUniqueId(v string)

SetUniqueId gets a reference to the given string and assigns it to the UniqueId field.

func (*PhotosSummaryPrimary) SetUrls

func (o *PhotosSummaryPrimary) SetUrls(v map[string]string)

SetUrls gets a reference to the given map[string]string and assigns it to the Urls field.

func (PhotosSummaryPrimary) ToMap

func (o PhotosSummaryPrimary) ToMap() (map[string]interface{}, error)

type PolylineMap

type PolylineMap struct {
	// The identifier of the map
	Id *string `json:"id,omitempty"`
	// The polyline of the map, only returned on detailed representation of an object
	Polyline *string `json:"polyline,omitempty"`
	// The summary polyline of the map
	SummaryPolyline *string `json:"summary_polyline,omitempty"`
}

PolylineMap struct for PolylineMap

func NewPolylineMap

func NewPolylineMap() *PolylineMap

NewPolylineMap instantiates a new PolylineMap object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewPolylineMapWithDefaults

func NewPolylineMapWithDefaults() *PolylineMap

NewPolylineMapWithDefaults instantiates a new PolylineMap object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*PolylineMap) GetId

func (o *PolylineMap) GetId() string

GetId returns the Id field value if set, zero value otherwise.

func (*PolylineMap) GetIdOk

func (o *PolylineMap) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PolylineMap) GetPolyline

func (o *PolylineMap) GetPolyline() string

GetPolyline returns the Polyline field value if set, zero value otherwise.

func (*PolylineMap) GetPolylineOk

func (o *PolylineMap) GetPolylineOk() (*string, bool)

GetPolylineOk returns a tuple with the Polyline field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PolylineMap) GetSummaryPolyline

func (o *PolylineMap) GetSummaryPolyline() string

GetSummaryPolyline returns the SummaryPolyline field value if set, zero value otherwise.

func (*PolylineMap) GetSummaryPolylineOk

func (o *PolylineMap) GetSummaryPolylineOk() (*string, bool)

GetSummaryPolylineOk returns a tuple with the SummaryPolyline field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PolylineMap) HasId

func (o *PolylineMap) HasId() bool

HasId returns a boolean if a field has been set.

func (*PolylineMap) HasPolyline

func (o *PolylineMap) HasPolyline() bool

HasPolyline returns a boolean if a field has been set.

func (*PolylineMap) HasSummaryPolyline

func (o *PolylineMap) HasSummaryPolyline() bool

HasSummaryPolyline returns a boolean if a field has been set.

func (PolylineMap) MarshalJSON

func (o PolylineMap) MarshalJSON() ([]byte, error)

func (*PolylineMap) SetId

func (o *PolylineMap) SetId(v string)

SetId gets a reference to the given string and assigns it to the Id field.

func (*PolylineMap) SetPolyline

func (o *PolylineMap) SetPolyline(v string)

SetPolyline gets a reference to the given string and assigns it to the Polyline field.

func (*PolylineMap) SetSummaryPolyline

func (o *PolylineMap) SetSummaryPolyline(v string)

SetSummaryPolyline gets a reference to the given string and assigns it to the SummaryPolyline field.

func (PolylineMap) ToMap

func (o PolylineMap) ToMap() (map[string]interface{}, error)

type PowerStream

type PowerStream struct {
	// The number of data points in this stream
	OriginalSize *int32 `json:"original_size,omitempty"`
	// The level of detail (sampling) in which this stream was returned
	Resolution *string `json:"resolution,omitempty"`
	// The base series used in the case the stream was downsampled
	SeriesType *string `json:"series_type,omitempty"`
	// The sequence of power values for this stream, in watts
	Data []int32 `json:"data,omitempty"`
}

PowerStream struct for PowerStream

func NewPowerStream

func NewPowerStream() *PowerStream

NewPowerStream instantiates a new PowerStream object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewPowerStreamWithDefaults

func NewPowerStreamWithDefaults() *PowerStream

NewPowerStreamWithDefaults instantiates a new PowerStream object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*PowerStream) GetData

func (o *PowerStream) GetData() []int32

GetData returns the Data field value if set, zero value otherwise.

func (*PowerStream) GetDataOk

func (o *PowerStream) GetDataOk() ([]int32, bool)

GetDataOk returns a tuple with the Data field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PowerStream) GetOriginalSize

func (o *PowerStream) GetOriginalSize() int32

GetOriginalSize returns the OriginalSize field value if set, zero value otherwise.

func (*PowerStream) GetOriginalSizeOk

func (o *PowerStream) GetOriginalSizeOk() (*int32, bool)

GetOriginalSizeOk returns a tuple with the OriginalSize field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PowerStream) GetResolution

func (o *PowerStream) GetResolution() string

GetResolution returns the Resolution field value if set, zero value otherwise.

func (*PowerStream) GetResolutionOk

func (o *PowerStream) GetResolutionOk() (*string, bool)

GetResolutionOk returns a tuple with the Resolution field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PowerStream) GetSeriesType

func (o *PowerStream) GetSeriesType() string

GetSeriesType returns the SeriesType field value if set, zero value otherwise.

func (*PowerStream) GetSeriesTypeOk

func (o *PowerStream) GetSeriesTypeOk() (*string, bool)

GetSeriesTypeOk returns a tuple with the SeriesType field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PowerStream) HasData

func (o *PowerStream) HasData() bool

HasData returns a boolean if a field has been set.

func (*PowerStream) HasOriginalSize

func (o *PowerStream) HasOriginalSize() bool

HasOriginalSize returns a boolean if a field has been set.

func (*PowerStream) HasResolution

func (o *PowerStream) HasResolution() bool

HasResolution returns a boolean if a field has been set.

func (*PowerStream) HasSeriesType

func (o *PowerStream) HasSeriesType() bool

HasSeriesType returns a boolean if a field has been set.

func (PowerStream) MarshalJSON

func (o PowerStream) MarshalJSON() ([]byte, error)

func (*PowerStream) SetData

func (o *PowerStream) SetData(v []int32)

SetData gets a reference to the given []int32 and assigns it to the Data field.

func (*PowerStream) SetOriginalSize

func (o *PowerStream) SetOriginalSize(v int32)

SetOriginalSize gets a reference to the given int32 and assigns it to the OriginalSize field.

func (*PowerStream) SetResolution

func (o *PowerStream) SetResolution(v string)

SetResolution gets a reference to the given string and assigns it to the Resolution field.

func (*PowerStream) SetSeriesType

func (o *PowerStream) SetSeriesType(v string)

SetSeriesType gets a reference to the given string and assigns it to the SeriesType field.

func (PowerStream) ToMap

func (o PowerStream) ToMap() (map[string]interface{}, error)

type PowerZoneRanges

type PowerZoneRanges struct {
	Zones []ZoneRange `json:"zones,omitempty"`
}

PowerZoneRanges struct for PowerZoneRanges

func NewPowerZoneRanges

func NewPowerZoneRanges() *PowerZoneRanges

NewPowerZoneRanges instantiates a new PowerZoneRanges object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewPowerZoneRangesWithDefaults

func NewPowerZoneRangesWithDefaults() *PowerZoneRanges

NewPowerZoneRangesWithDefaults instantiates a new PowerZoneRanges object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*PowerZoneRanges) GetZones

func (o *PowerZoneRanges) GetZones() []ZoneRange

GetZones returns the Zones field value if set, zero value otherwise.

func (*PowerZoneRanges) GetZonesOk

func (o *PowerZoneRanges) GetZonesOk() ([]ZoneRange, bool)

GetZonesOk returns a tuple with the Zones field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PowerZoneRanges) HasZones

func (o *PowerZoneRanges) HasZones() bool

HasZones returns a boolean if a field has been set.

func (PowerZoneRanges) MarshalJSON

func (o PowerZoneRanges) MarshalJSON() ([]byte, error)

func (*PowerZoneRanges) SetZones

func (o *PowerZoneRanges) SetZones(v []ZoneRange)

SetZones gets a reference to the given []ZoneRange and assigns it to the Zones field.

func (PowerZoneRanges) ToMap

func (o PowerZoneRanges) ToMap() (map[string]interface{}, error)

type Route

type Route struct {
	Athlete *SummaryAthlete `json:"athlete,omitempty"`
	// The description of the route
	Description *string `json:"description,omitempty"`
	// The route's distance, in meters
	Distance *float32 `json:"distance,omitempty"`
	// The route's elevation gain.
	ElevationGain *float32 `json:"elevation_gain,omitempty"`
	// The unique identifier of this route
	Id *int64 `json:"id,omitempty"`
	// The unique identifier of the route in string format
	IdStr *string      `json:"id_str,omitempty"`
	Map   *PolylineMap `json:"map,omitempty"`
	// The name of this route
	Name *string `json:"name,omitempty"`
	// Whether this route is private
	Private *bool `json:"private,omitempty"`
	// Whether this route is starred by the logged-in athlete
	Starred *bool `json:"starred,omitempty"`
	// An epoch timestamp of when the route was created
	Timestamp *int32 `json:"timestamp,omitempty"`
	// This route's type (1 for ride, 2 for runs)
	Type *int32 `json:"type,omitempty"`
	// This route's sub-type (1 for road, 2 for mountain bike, 3 for cross, 4 for trail, 5 for mixed)
	SubType *int32 `json:"sub_type,omitempty"`
	// The time at which the route was created
	CreatedAt *time.Time `json:"created_at,omitempty"`
	// The time at which the route was last updated
	UpdatedAt *time.Time `json:"updated_at,omitempty"`
	// Estimated time in seconds for the authenticated athlete to complete route
	EstimatedMovingTime *int32 `json:"estimated_moving_time,omitempty"`
	// The segments traversed by this route
	Segments []SummarySegment `json:"segments,omitempty"`
}

Route struct for Route

func NewRoute

func NewRoute() *Route

NewRoute instantiates a new Route object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewRouteWithDefaults

func NewRouteWithDefaults() *Route

NewRouteWithDefaults instantiates a new Route object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*Route) GetAthlete

func (o *Route) GetAthlete() SummaryAthlete

GetAthlete returns the Athlete field value if set, zero value otherwise.

func (*Route) GetAthleteOk

func (o *Route) GetAthleteOk() (*SummaryAthlete, bool)

GetAthleteOk returns a tuple with the Athlete field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Route) GetCreatedAt

func (o *Route) GetCreatedAt() time.Time

GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.

func (*Route) GetCreatedAtOk

func (o *Route) GetCreatedAtOk() (*time.Time, bool)

GetCreatedAtOk returns a tuple with the CreatedAt field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Route) GetDescription

func (o *Route) GetDescription() string

GetDescription returns the Description field value if set, zero value otherwise.

func (*Route) GetDescriptionOk

func (o *Route) GetDescriptionOk() (*string, bool)

GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Route) GetDistance

func (o *Route) GetDistance() float32

GetDistance returns the Distance field value if set, zero value otherwise.

func (*Route) GetDistanceOk

func (o *Route) GetDistanceOk() (*float32, bool)

GetDistanceOk returns a tuple with the Distance field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Route) GetElevationGain

func (o *Route) GetElevationGain() float32

GetElevationGain returns the ElevationGain field value if set, zero value otherwise.

func (*Route) GetElevationGainOk

func (o *Route) GetElevationGainOk() (*float32, bool)

GetElevationGainOk returns a tuple with the ElevationGain field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Route) GetEstimatedMovingTime

func (o *Route) GetEstimatedMovingTime() int32

GetEstimatedMovingTime returns the EstimatedMovingTime field value if set, zero value otherwise.

func (*Route) GetEstimatedMovingTimeOk

func (o *Route) GetEstimatedMovingTimeOk() (*int32, bool)

GetEstimatedMovingTimeOk returns a tuple with the EstimatedMovingTime field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Route) GetId

func (o *Route) GetId() int64

GetId returns the Id field value if set, zero value otherwise.

func (*Route) GetIdOk

func (o *Route) GetIdOk() (*int64, bool)

GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Route) GetIdStr

func (o *Route) GetIdStr() string

GetIdStr returns the IdStr field value if set, zero value otherwise.

func (*Route) GetIdStrOk

func (o *Route) GetIdStrOk() (*string, bool)

GetIdStrOk returns a tuple with the IdStr field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Route) GetMap

func (o *Route) GetMap() PolylineMap

GetMap returns the Map field value if set, zero value otherwise.

func (*Route) GetMapOk

func (o *Route) GetMapOk() (*PolylineMap, bool)

GetMapOk returns a tuple with the Map field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Route) GetName

func (o *Route) GetName() string

GetName returns the Name field value if set, zero value otherwise.

func (*Route) GetNameOk

func (o *Route) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Route) GetPrivate

func (o *Route) GetPrivate() bool

GetPrivate returns the Private field value if set, zero value otherwise.

func (*Route) GetPrivateOk

func (o *Route) GetPrivateOk() (*bool, bool)

GetPrivateOk returns a tuple with the Private field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Route) GetSegments

func (o *Route) GetSegments() []SummarySegment

GetSegments returns the Segments field value if set, zero value otherwise.

func (*Route) GetSegmentsOk

func (o *Route) GetSegmentsOk() ([]SummarySegment, bool)

GetSegmentsOk returns a tuple with the Segments field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Route) GetStarred

func (o *Route) GetStarred() bool

GetStarred returns the Starred field value if set, zero value otherwise.

func (*Route) GetStarredOk

func (o *Route) GetStarredOk() (*bool, bool)

GetStarredOk returns a tuple with the Starred field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Route) GetSubType

func (o *Route) GetSubType() int32

GetSubType returns the SubType field value if set, zero value otherwise.

func (*Route) GetSubTypeOk

func (o *Route) GetSubTypeOk() (*int32, bool)

GetSubTypeOk returns a tuple with the SubType field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Route) GetTimestamp

func (o *Route) GetTimestamp() int32

GetTimestamp returns the Timestamp field value if set, zero value otherwise.

func (*Route) GetTimestampOk

func (o *Route) GetTimestampOk() (*int32, bool)

GetTimestampOk returns a tuple with the Timestamp field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Route) GetType

func (o *Route) GetType() int32

GetType returns the Type field value if set, zero value otherwise.

func (*Route) GetTypeOk

func (o *Route) GetTypeOk() (*int32, bool)

GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Route) GetUpdatedAt

func (o *Route) GetUpdatedAt() time.Time

GetUpdatedAt returns the UpdatedAt field value if set, zero value otherwise.

func (*Route) GetUpdatedAtOk

func (o *Route) GetUpdatedAtOk() (*time.Time, bool)

GetUpdatedAtOk returns a tuple with the UpdatedAt field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Route) HasAthlete

func (o *Route) HasAthlete() bool

HasAthlete returns a boolean if a field has been set.

func (*Route) HasCreatedAt

func (o *Route) HasCreatedAt() bool

HasCreatedAt returns a boolean if a field has been set.

func (*Route) HasDescription

func (o *Route) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*Route) HasDistance

func (o *Route) HasDistance() bool

HasDistance returns a boolean if a field has been set.

func (*Route) HasElevationGain

func (o *Route) HasElevationGain() bool

HasElevationGain returns a boolean if a field has been set.

func (*Route) HasEstimatedMovingTime

func (o *Route) HasEstimatedMovingTime() bool

HasEstimatedMovingTime returns a boolean if a field has been set.

func (*Route) HasId

func (o *Route) HasId() bool

HasId returns a boolean if a field has been set.

func (*Route) HasIdStr

func (o *Route) HasIdStr() bool

HasIdStr returns a boolean if a field has been set.

func (*Route) HasMap

func (o *Route) HasMap() bool

HasMap returns a boolean if a field has been set.

func (*Route) HasName

func (o *Route) HasName() bool

HasName returns a boolean if a field has been set.

func (*Route) HasPrivate

func (o *Route) HasPrivate() bool

HasPrivate returns a boolean if a field has been set.

func (*Route) HasSegments

func (o *Route) HasSegments() bool

HasSegments returns a boolean if a field has been set.

func (*Route) HasStarred

func (o *Route) HasStarred() bool

HasStarred returns a boolean if a field has been set.

func (*Route) HasSubType

func (o *Route) HasSubType() bool

HasSubType returns a boolean if a field has been set.

func (*Route) HasTimestamp

func (o *Route) HasTimestamp() bool

HasTimestamp returns a boolean if a field has been set.

func (*Route) HasType

func (o *Route) HasType() bool

HasType returns a boolean if a field has been set.

func (*Route) HasUpdatedAt

func (o *Route) HasUpdatedAt() bool

HasUpdatedAt returns a boolean if a field has been set.

func (Route) MarshalJSON

func (o Route) MarshalJSON() ([]byte, error)

func (*Route) SetAthlete

func (o *Route) SetAthlete(v SummaryAthlete)

SetAthlete gets a reference to the given SummaryAthlete and assigns it to the Athlete field.

func (*Route) SetCreatedAt

func (o *Route) SetCreatedAt(v time.Time)

SetCreatedAt gets a reference to the given time.Time and assigns it to the CreatedAt field.

func (*Route) SetDescription

func (o *Route) SetDescription(v string)

SetDescription gets a reference to the given string and assigns it to the Description field.

func (*Route) SetDistance

func (o *Route) SetDistance(v float32)

SetDistance gets a reference to the given float32 and assigns it to the Distance field.

func (*Route) SetElevationGain

func (o *Route) SetElevationGain(v float32)

SetElevationGain gets a reference to the given float32 and assigns it to the ElevationGain field.

func (*Route) SetEstimatedMovingTime

func (o *Route) SetEstimatedMovingTime(v int32)

SetEstimatedMovingTime gets a reference to the given int32 and assigns it to the EstimatedMovingTime field.

func (*Route) SetId

func (o *Route) SetId(v int64)

SetId gets a reference to the given int64 and assigns it to the Id field.

func (*Route) SetIdStr

func (o *Route) SetIdStr(v string)

SetIdStr gets a reference to the given string and assigns it to the IdStr field.

func (*Route) SetMap

func (o *Route) SetMap(v PolylineMap)

SetMap gets a reference to the given PolylineMap and assigns it to the Map field.

func (*Route) SetName

func (o *Route) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

func (*Route) SetPrivate

func (o *Route) SetPrivate(v bool)

SetPrivate gets a reference to the given bool and assigns it to the Private field.

func (*Route) SetSegments

func (o *Route) SetSegments(v []SummarySegment)

SetSegments gets a reference to the given []SummarySegment and assigns it to the Segments field.

func (*Route) SetStarred

func (o *Route) SetStarred(v bool)

SetStarred gets a reference to the given bool and assigns it to the Starred field.

func (*Route) SetSubType

func (o *Route) SetSubType(v int32)

SetSubType gets a reference to the given int32 and assigns it to the SubType field.

func (*Route) SetTimestamp

func (o *Route) SetTimestamp(v int32)

SetTimestamp gets a reference to the given int32 and assigns it to the Timestamp field.

func (*Route) SetType

func (o *Route) SetType(v int32)

SetType gets a reference to the given int32 and assigns it to the Type field.

func (*Route) SetUpdatedAt

func (o *Route) SetUpdatedAt(v time.Time)

SetUpdatedAt gets a reference to the given time.Time and assigns it to the UpdatedAt field.

func (Route) ToMap

func (o Route) ToMap() (map[string]interface{}, error)

type RoutesAPIService

type RoutesAPIService service

RoutesAPIService RoutesAPI service

func (*RoutesAPIService) GetRouteAsGPX

func (a *RoutesAPIService) GetRouteAsGPX(ctx context.Context, id int64) ApiGetRouteAsGPXRequest

GetRouteAsGPX Export Route GPX

Returns a GPX file of the route. Requires read_all scope for private routes.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id The identifier of the route.
@return ApiGetRouteAsGPXRequest

func (*RoutesAPIService) GetRouteAsGPXExecute

func (a *RoutesAPIService) GetRouteAsGPXExecute(r ApiGetRouteAsGPXRequest) (*http.Response, error)

Execute executes the request

func (*RoutesAPIService) GetRouteAsTCX

func (a *RoutesAPIService) GetRouteAsTCX(ctx context.Context, id int64) ApiGetRouteAsTCXRequest

GetRouteAsTCX Export Route TCX

Returns a TCX file of the route. Requires read_all scope for private routes.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id The identifier of the route.
@return ApiGetRouteAsTCXRequest

func (*RoutesAPIService) GetRouteAsTCXExecute

func (a *RoutesAPIService) GetRouteAsTCXExecute(r ApiGetRouteAsTCXRequest) (*http.Response, error)

Execute executes the request

func (*RoutesAPIService) GetRouteById

func (a *RoutesAPIService) GetRouteById(ctx context.Context, id int64) ApiGetRouteByIdRequest

GetRouteById Get Route

Returns a route using its identifier. Requires read_all scope for private routes.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id The identifier of the route.
@return ApiGetRouteByIdRequest

func (*RoutesAPIService) GetRouteByIdExecute

func (a *RoutesAPIService) GetRouteByIdExecute(r ApiGetRouteByIdRequest) (*Route, *http.Response, error)

Execute executes the request

@return Route

func (*RoutesAPIService) GetRoutesByAthleteId

func (a *RoutesAPIService) GetRoutesByAthleteId(ctx context.Context) ApiGetRoutesByAthleteIdRequest

GetRoutesByAthleteId List Athlete Routes

Returns a list of the routes created by the authenticated athlete. Private routes are filtered out unless requested by a token with read_all scope.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiGetRoutesByAthleteIdRequest

func (*RoutesAPIService) GetRoutesByAthleteIdExecute

func (a *RoutesAPIService) GetRoutesByAthleteIdExecute(r ApiGetRoutesByAthleteIdRequest) ([]Route, *http.Response, error)

Execute executes the request

@return []Route

type SegmentEffortsAPIService

type SegmentEffortsAPIService service

SegmentEffortsAPIService SegmentEffortsAPI service

func (*SegmentEffortsAPIService) GetEffortsBySegmentId

GetEffortsBySegmentId List Segment Efforts

Returns a set of the authenticated athlete's segment efforts for a given segment. Requires subscription.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiGetEffortsBySegmentIdRequest

func (*SegmentEffortsAPIService) GetEffortsBySegmentIdExecute

Execute executes the request

@return []DetailedSegmentEffort

func (*SegmentEffortsAPIService) GetSegmentEffortById

GetSegmentEffortById Get Segment Effort

Returns a segment effort from an activity that is owned by the authenticated athlete. Requires subscription.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id The identifier of the segment effort.
@return ApiGetSegmentEffortByIdRequest

func (*SegmentEffortsAPIService) GetSegmentEffortByIdExecute

Execute executes the request

@return DetailedSegmentEffort

type SegmentsAPIService

type SegmentsAPIService service

SegmentsAPIService SegmentsAPI service

func (*SegmentsAPIService) ExploreSegments

ExploreSegments Explore segments

Returns the top 10 segments matching a specified query.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiExploreSegmentsRequest

func (*SegmentsAPIService) ExploreSegmentsExecute

Execute executes the request

@return ExplorerResponse

func (*SegmentsAPIService) GetLoggedInAthleteStarredSegments

func (a *SegmentsAPIService) GetLoggedInAthleteStarredSegments(ctx context.Context) ApiGetLoggedInAthleteStarredSegmentsRequest

GetLoggedInAthleteStarredSegments List Starred Segments

List of the authenticated athlete's starred segments. Private segments are filtered out unless requested by a token with read_all scope.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiGetLoggedInAthleteStarredSegmentsRequest

func (*SegmentsAPIService) GetLoggedInAthleteStarredSegmentsExecute

func (a *SegmentsAPIService) GetLoggedInAthleteStarredSegmentsExecute(r ApiGetLoggedInAthleteStarredSegmentsRequest) ([]SummarySegment, *http.Response, error)

Execute executes the request

@return []SummarySegment

func (*SegmentsAPIService) GetSegmentById

GetSegmentById Get Segment

Returns the specified segment. read_all scope required in order to retrieve athlete-specific segment information, or to retrieve private segments.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id The identifier of the segment.
@return ApiGetSegmentByIdRequest

func (*SegmentsAPIService) GetSegmentByIdExecute

Execute executes the request

@return DetailedSegment

func (*SegmentsAPIService) StarSegment

StarSegment Star Segment

Stars/Unstars the given segment for the authenticated athlete. Requires profile:write scope.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id The identifier of the segment to star.
@return ApiStarSegmentRequest

func (*SegmentsAPIService) StarSegmentExecute

Execute executes the request

@return DetailedSegment

type ServerConfiguration

type ServerConfiguration struct {
	URL         string
	Description string
	Variables   map[string]ServerVariable
}

ServerConfiguration stores the information about a server

type ServerConfigurations

type ServerConfigurations []ServerConfiguration

ServerConfigurations stores multiple ServerConfiguration items

func (ServerConfigurations) URL

func (sc ServerConfigurations) URL(index int, variables map[string]string) (string, error)

URL formats template on a index using given variables

type ServerVariable

type ServerVariable struct {
	Description  string
	DefaultValue string
	EnumValues   []string
}

ServerVariable stores the information about a server variable

type SmoothGradeStream

type SmoothGradeStream struct {
	// The number of data points in this stream
	OriginalSize *int32 `json:"original_size,omitempty"`
	// The level of detail (sampling) in which this stream was returned
	Resolution *string `json:"resolution,omitempty"`
	// The base series used in the case the stream was downsampled
	SeriesType *string `json:"series_type,omitempty"`
	// The sequence of grade values for this stream, as percents of a grade
	Data []float32 `json:"data,omitempty"`
}

SmoothGradeStream struct for SmoothGradeStream

func NewSmoothGradeStream

func NewSmoothGradeStream() *SmoothGradeStream

NewSmoothGradeStream instantiates a new SmoothGradeStream object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewSmoothGradeStreamWithDefaults

func NewSmoothGradeStreamWithDefaults() *SmoothGradeStream

NewSmoothGradeStreamWithDefaults instantiates a new SmoothGradeStream object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*SmoothGradeStream) GetData

func (o *SmoothGradeStream) GetData() []float32

GetData returns the Data field value if set, zero value otherwise.

func (*SmoothGradeStream) GetDataOk

func (o *SmoothGradeStream) GetDataOk() ([]float32, bool)

GetDataOk returns a tuple with the Data field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SmoothGradeStream) GetOriginalSize

func (o *SmoothGradeStream) GetOriginalSize() int32

GetOriginalSize returns the OriginalSize field value if set, zero value otherwise.

func (*SmoothGradeStream) GetOriginalSizeOk

func (o *SmoothGradeStream) GetOriginalSizeOk() (*int32, bool)

GetOriginalSizeOk returns a tuple with the OriginalSize field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SmoothGradeStream) GetResolution

func (o *SmoothGradeStream) GetResolution() string

GetResolution returns the Resolution field value if set, zero value otherwise.

func (*SmoothGradeStream) GetResolutionOk

func (o *SmoothGradeStream) GetResolutionOk() (*string, bool)

GetResolutionOk returns a tuple with the Resolution field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SmoothGradeStream) GetSeriesType

func (o *SmoothGradeStream) GetSeriesType() string

GetSeriesType returns the SeriesType field value if set, zero value otherwise.

func (*SmoothGradeStream) GetSeriesTypeOk

func (o *SmoothGradeStream) GetSeriesTypeOk() (*string, bool)

GetSeriesTypeOk returns a tuple with the SeriesType field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SmoothGradeStream) HasData

func (o *SmoothGradeStream) HasData() bool

HasData returns a boolean if a field has been set.

func (*SmoothGradeStream) HasOriginalSize

func (o *SmoothGradeStream) HasOriginalSize() bool

HasOriginalSize returns a boolean if a field has been set.

func (*SmoothGradeStream) HasResolution

func (o *SmoothGradeStream) HasResolution() bool

HasResolution returns a boolean if a field has been set.

func (*SmoothGradeStream) HasSeriesType

func (o *SmoothGradeStream) HasSeriesType() bool

HasSeriesType returns a boolean if a field has been set.

func (SmoothGradeStream) MarshalJSON

func (o SmoothGradeStream) MarshalJSON() ([]byte, error)

func (*SmoothGradeStream) SetData

func (o *SmoothGradeStream) SetData(v []float32)

SetData gets a reference to the given []float32 and assigns it to the Data field.

func (*SmoothGradeStream) SetOriginalSize

func (o *SmoothGradeStream) SetOriginalSize(v int32)

SetOriginalSize gets a reference to the given int32 and assigns it to the OriginalSize field.

func (*SmoothGradeStream) SetResolution

func (o *SmoothGradeStream) SetResolution(v string)

SetResolution gets a reference to the given string and assigns it to the Resolution field.

func (*SmoothGradeStream) SetSeriesType

func (o *SmoothGradeStream) SetSeriesType(v string)

SetSeriesType gets a reference to the given string and assigns it to the SeriesType field.

func (SmoothGradeStream) ToMap

func (o SmoothGradeStream) ToMap() (map[string]interface{}, error)

type SmoothVelocityStream

type SmoothVelocityStream struct {
	// The number of data points in this stream
	OriginalSize *int32 `json:"original_size,omitempty"`
	// The level of detail (sampling) in which this stream was returned
	Resolution *string `json:"resolution,omitempty"`
	// The base series used in the case the stream was downsampled
	SeriesType *string `json:"series_type,omitempty"`
	// The sequence of velocity values for this stream, in meters per second
	Data []float32 `json:"data,omitempty"`
}

SmoothVelocityStream struct for SmoothVelocityStream

func NewSmoothVelocityStream

func NewSmoothVelocityStream() *SmoothVelocityStream

NewSmoothVelocityStream instantiates a new SmoothVelocityStream object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewSmoothVelocityStreamWithDefaults

func NewSmoothVelocityStreamWithDefaults() *SmoothVelocityStream

NewSmoothVelocityStreamWithDefaults instantiates a new SmoothVelocityStream object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*SmoothVelocityStream) GetData

func (o *SmoothVelocityStream) GetData() []float32

GetData returns the Data field value if set, zero value otherwise.

func (*SmoothVelocityStream) GetDataOk

func (o *SmoothVelocityStream) GetDataOk() ([]float32, bool)

GetDataOk returns a tuple with the Data field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SmoothVelocityStream) GetOriginalSize

func (o *SmoothVelocityStream) GetOriginalSize() int32

GetOriginalSize returns the OriginalSize field value if set, zero value otherwise.

func (*SmoothVelocityStream) GetOriginalSizeOk

func (o *SmoothVelocityStream) GetOriginalSizeOk() (*int32, bool)

GetOriginalSizeOk returns a tuple with the OriginalSize field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SmoothVelocityStream) GetResolution

func (o *SmoothVelocityStream) GetResolution() string

GetResolution returns the Resolution field value if set, zero value otherwise.

func (*SmoothVelocityStream) GetResolutionOk

func (o *SmoothVelocityStream) GetResolutionOk() (*string, bool)

GetResolutionOk returns a tuple with the Resolution field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SmoothVelocityStream) GetSeriesType

func (o *SmoothVelocityStream) GetSeriesType() string

GetSeriesType returns the SeriesType field value if set, zero value otherwise.

func (*SmoothVelocityStream) GetSeriesTypeOk

func (o *SmoothVelocityStream) GetSeriesTypeOk() (*string, bool)

GetSeriesTypeOk returns a tuple with the SeriesType field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SmoothVelocityStream) HasData

func (o *SmoothVelocityStream) HasData() bool

HasData returns a boolean if a field has been set.

func (*SmoothVelocityStream) HasOriginalSize

func (o *SmoothVelocityStream) HasOriginalSize() bool

HasOriginalSize returns a boolean if a field has been set.

func (*SmoothVelocityStream) HasResolution

func (o *SmoothVelocityStream) HasResolution() bool

HasResolution returns a boolean if a field has been set.

func (*SmoothVelocityStream) HasSeriesType

func (o *SmoothVelocityStream) HasSeriesType() bool

HasSeriesType returns a boolean if a field has been set.

func (SmoothVelocityStream) MarshalJSON

func (o SmoothVelocityStream) MarshalJSON() ([]byte, error)

func (*SmoothVelocityStream) SetData

func (o *SmoothVelocityStream) SetData(v []float32)

SetData gets a reference to the given []float32 and assigns it to the Data field.

func (*SmoothVelocityStream) SetOriginalSize

func (o *SmoothVelocityStream) SetOriginalSize(v int32)

SetOriginalSize gets a reference to the given int32 and assigns it to the OriginalSize field.

func (*SmoothVelocityStream) SetResolution

func (o *SmoothVelocityStream) SetResolution(v string)

SetResolution gets a reference to the given string and assigns it to the Resolution field.

func (*SmoothVelocityStream) SetSeriesType

func (o *SmoothVelocityStream) SetSeriesType(v string)

SetSeriesType gets a reference to the given string and assigns it to the SeriesType field.

func (SmoothVelocityStream) ToMap

func (o SmoothVelocityStream) ToMap() (map[string]interface{}, error)

type Split

type Split struct {
	// The average speed of this split, in meters per second
	AverageSpeed *float32 `json:"average_speed,omitempty"`
	// The distance of this split, in meters
	Distance *float32 `json:"distance,omitempty"`
	// The elapsed time of this split, in seconds
	ElapsedTime *int32 `json:"elapsed_time,omitempty"`
	// The elevation difference of this split, in meters
	ElevationDifference *float32 `json:"elevation_difference,omitempty"`
	// The pacing zone of this split
	PaceZone *int32 `json:"pace_zone,omitempty"`
	// The moving time of this split, in seconds
	MovingTime *int32 `json:"moving_time,omitempty"`
	// N/A
	Split *int32 `json:"split,omitempty"`
}

Split struct for Split

func NewSplit

func NewSplit() *Split

NewSplit instantiates a new Split object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewSplitWithDefaults

func NewSplitWithDefaults() *Split

NewSplitWithDefaults instantiates a new Split object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*Split) GetAverageSpeed

func (o *Split) GetAverageSpeed() float32

GetAverageSpeed returns the AverageSpeed field value if set, zero value otherwise.

func (*Split) GetAverageSpeedOk

func (o *Split) GetAverageSpeedOk() (*float32, bool)

GetAverageSpeedOk returns a tuple with the AverageSpeed field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Split) GetDistance

func (o *Split) GetDistance() float32

GetDistance returns the Distance field value if set, zero value otherwise.

func (*Split) GetDistanceOk

func (o *Split) GetDistanceOk() (*float32, bool)

GetDistanceOk returns a tuple with the Distance field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Split) GetElapsedTime

func (o *Split) GetElapsedTime() int32

GetElapsedTime returns the ElapsedTime field value if set, zero value otherwise.

func (*Split) GetElapsedTimeOk

func (o *Split) GetElapsedTimeOk() (*int32, bool)

GetElapsedTimeOk returns a tuple with the ElapsedTime field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Split) GetElevationDifference

func (o *Split) GetElevationDifference() float32

GetElevationDifference returns the ElevationDifference field value if set, zero value otherwise.

func (*Split) GetElevationDifferenceOk

func (o *Split) GetElevationDifferenceOk() (*float32, bool)

GetElevationDifferenceOk returns a tuple with the ElevationDifference field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Split) GetMovingTime

func (o *Split) GetMovingTime() int32

GetMovingTime returns the MovingTime field value if set, zero value otherwise.

func (*Split) GetMovingTimeOk

func (o *Split) GetMovingTimeOk() (*int32, bool)

GetMovingTimeOk returns a tuple with the MovingTime field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Split) GetPaceZone

func (o *Split) GetPaceZone() int32

GetPaceZone returns the PaceZone field value if set, zero value otherwise.

func (*Split) GetPaceZoneOk

func (o *Split) GetPaceZoneOk() (*int32, bool)

GetPaceZoneOk returns a tuple with the PaceZone field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Split) GetSplit

func (o *Split) GetSplit() int32

GetSplit returns the Split field value if set, zero value otherwise.

func (*Split) GetSplitOk

func (o *Split) GetSplitOk() (*int32, bool)

GetSplitOk returns a tuple with the Split field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Split) HasAverageSpeed

func (o *Split) HasAverageSpeed() bool

HasAverageSpeed returns a boolean if a field has been set.

func (*Split) HasDistance

func (o *Split) HasDistance() bool

HasDistance returns a boolean if a field has been set.

func (*Split) HasElapsedTime

func (o *Split) HasElapsedTime() bool

HasElapsedTime returns a boolean if a field has been set.

func (*Split) HasElevationDifference

func (o *Split) HasElevationDifference() bool

HasElevationDifference returns a boolean if a field has been set.

func (*Split) HasMovingTime

func (o *Split) HasMovingTime() bool

HasMovingTime returns a boolean if a field has been set.

func (*Split) HasPaceZone

func (o *Split) HasPaceZone() bool

HasPaceZone returns a boolean if a field has been set.

func (*Split) HasSplit

func (o *Split) HasSplit() bool

HasSplit returns a boolean if a field has been set.

func (Split) MarshalJSON

func (o Split) MarshalJSON() ([]byte, error)

func (*Split) SetAverageSpeed

func (o *Split) SetAverageSpeed(v float32)

SetAverageSpeed gets a reference to the given float32 and assigns it to the AverageSpeed field.

func (*Split) SetDistance

func (o *Split) SetDistance(v float32)

SetDistance gets a reference to the given float32 and assigns it to the Distance field.

func (*Split) SetElapsedTime

func (o *Split) SetElapsedTime(v int32)

SetElapsedTime gets a reference to the given int32 and assigns it to the ElapsedTime field.

func (*Split) SetElevationDifference

func (o *Split) SetElevationDifference(v float32)

SetElevationDifference gets a reference to the given float32 and assigns it to the ElevationDifference field.

func (*Split) SetMovingTime

func (o *Split) SetMovingTime(v int32)

SetMovingTime gets a reference to the given int32 and assigns it to the MovingTime field.

func (*Split) SetPaceZone

func (o *Split) SetPaceZone(v int32)

SetPaceZone gets a reference to the given int32 and assigns it to the PaceZone field.

func (*Split) SetSplit

func (o *Split) SetSplit(v int32)

SetSplit gets a reference to the given int32 and assigns it to the Split field.

func (Split) ToMap

func (o Split) ToMap() (map[string]interface{}, error)

type SportType

type SportType string

SportType An enumeration of the sport types an activity may have. Distinct from ActivityType in that it has new types (e.g. MountainBikeRide)

const (
	SPORTTYPE_ALPINE_SKI                       SportType = "AlpineSki"
	SPORTTYPE_BACKCOUNTRY_SKI                  SportType = "BackcountrySki"
	SPORTTYPE_BADMINTON                        SportType = "Badminton"
	SPORTTYPE_CANOEING                         SportType = "Canoeing"
	SPORTTYPE_CROSSFIT                         SportType = "Crossfit"
	SPORTTYPE_E_BIKE_RIDE                      SportType = "EBikeRide"
	SPORTTYPE_ELLIPTICAL                       SportType = "Elliptical"
	SPORTTYPE_E_MOUNTAIN_BIKE_RIDE             SportType = "EMountainBikeRide"
	SPORTTYPE_GOLF                             SportType = "Golf"
	SPORTTYPE_GRAVEL_RIDE                      SportType = "GravelRide"
	SPORTTYPE_HANDCYCLE                        SportType = "Handcycle"
	SPORTTYPE_HIGH_INTENSITY_INTERVAL_TRAINING SportType = "HighIntensityIntervalTraining"
	SPORTTYPE_HIKE                             SportType = "Hike"
	SPORTTYPE_ICE_SKATE                        SportType = "IceSkate"
	SPORTTYPE_INLINE_SKATE                     SportType = "InlineSkate"
	SPORTTYPE_KAYAKING                         SportType = "Kayaking"
	SPORTTYPE_KITESURF                         SportType = "Kitesurf"
	SPORTTYPE_MOUNTAIN_BIKE_RIDE               SportType = "MountainBikeRide"
	SPORTTYPE_NORDIC_SKI                       SportType = "NordicSki"
	SPORTTYPE_PICKLEBALL                       SportType = "Pickleball"
	SPORTTYPE_PILATES                          SportType = "Pilates"
	SPORTTYPE_RACQUETBALL                      SportType = "Racquetball"
	SPORTTYPE_RIDE                             SportType = "Ride"
	SPORTTYPE_ROCK_CLIMBING                    SportType = "RockClimbing"
	SPORTTYPE_ROLLER_SKI                       SportType = "RollerSki"
	SPORTTYPE_ROWING                           SportType = "Rowing"
	SPORTTYPE_RUN                              SportType = "Run"
	SPORTTYPE_SAIL                             SportType = "Sail"
	SPORTTYPE_SKATEBOARD                       SportType = "Skateboard"
	SPORTTYPE_SNOWBOARD                        SportType = "Snowboard"
	SPORTTYPE_SNOWSHOE                         SportType = "Snowshoe"
	SPORTTYPE_SOCCER                           SportType = "Soccer"
	SPORTTYPE_SQUASH                           SportType = "Squash"
	SPORTTYPE_STAIR_STEPPER                    SportType = "StairStepper"
	SPORTTYPE_STAND_UP_PADDLING                SportType = "StandUpPaddling"
	SPORTTYPE_SURFING                          SportType = "Surfing"
	SPORTTYPE_SWIM                             SportType = "Swim"
	SPORTTYPE_TABLE_TENNIS                     SportType = "TableTennis"
	SPORTTYPE_TENNIS                           SportType = "Tennis"
	SPORTTYPE_TRAIL_RUN                        SportType = "TrailRun"
	SPORTTYPE_VELOMOBILE                       SportType = "Velomobile"
	SPORTTYPE_VIRTUAL_RIDE                     SportType = "VirtualRide"
	SPORTTYPE_VIRTUAL_ROW                      SportType = "VirtualRow"
	SPORTTYPE_VIRTUAL_RUN                      SportType = "VirtualRun"
	SPORTTYPE_WALK                             SportType = "Walk"
	SPORTTYPE_WEIGHT_TRAINING                  SportType = "WeightTraining"
	SPORTTYPE_WHEELCHAIR                       SportType = "Wheelchair"
	SPORTTYPE_WINDSURF                         SportType = "Windsurf"
	SPORTTYPE_WORKOUT                          SportType = "Workout"
	SPORTTYPE_YOGA                             SportType = "Yoga"
)

List of SportType

func NewSportTypeFromValue

func NewSportTypeFromValue(v string) (*SportType, error)

NewSportTypeFromValue returns a pointer to a valid SportType for the value passed as argument, or an error if the value passed is not allowed by the enum

func (SportType) IsValid

func (v SportType) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise

func (SportType) Ptr

func (v SportType) Ptr() *SportType

Ptr returns reference to SportType value

func (*SportType) UnmarshalJSON

func (v *SportType) UnmarshalJSON(src []byte) error

type StreamSet

type StreamSet struct {
	Time           *TimeStream           `json:"time,omitempty"`
	Distance       *DistanceStream       `json:"distance,omitempty"`
	Latlng         *LatLngStream         `json:"latlng,omitempty"`
	Altitude       *AltitudeStream       `json:"altitude,omitempty"`
	VelocitySmooth *SmoothVelocityStream `json:"velocity_smooth,omitempty"`
	Heartrate      *HeartrateStream      `json:"heartrate,omitempty"`
	Cadence        *CadenceStream        `json:"cadence,omitempty"`
	Watts          *PowerStream          `json:"watts,omitempty"`
	Temp           *TemperatureStream    `json:"temp,omitempty"`
	Moving         *MovingStream         `json:"moving,omitempty"`
	GradeSmooth    *SmoothGradeStream    `json:"grade_smooth,omitempty"`
}

StreamSet struct for StreamSet

func NewStreamSet

func NewStreamSet() *StreamSet

NewStreamSet instantiates a new StreamSet object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewStreamSetWithDefaults

func NewStreamSetWithDefaults() *StreamSet

NewStreamSetWithDefaults instantiates a new StreamSet object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*StreamSet) GetAltitude

func (o *StreamSet) GetAltitude() AltitudeStream

GetAltitude returns the Altitude field value if set, zero value otherwise.

func (*StreamSet) GetAltitudeOk

func (o *StreamSet) GetAltitudeOk() (*AltitudeStream, bool)

GetAltitudeOk returns a tuple with the Altitude field value if set, nil otherwise and a boolean to check if the value has been set.

func (*StreamSet) GetCadence

func (o *StreamSet) GetCadence() CadenceStream

GetCadence returns the Cadence field value if set, zero value otherwise.

func (*StreamSet) GetCadenceOk

func (o *StreamSet) GetCadenceOk() (*CadenceStream, bool)

GetCadenceOk returns a tuple with the Cadence field value if set, nil otherwise and a boolean to check if the value has been set.

func (*StreamSet) GetDistance

func (o *StreamSet) GetDistance() DistanceStream

GetDistance returns the Distance field value if set, zero value otherwise.

func (*StreamSet) GetDistanceOk

func (o *StreamSet) GetDistanceOk() (*DistanceStream, bool)

GetDistanceOk returns a tuple with the Distance field value if set, nil otherwise and a boolean to check if the value has been set.

func (*StreamSet) GetGradeSmooth

func (o *StreamSet) GetGradeSmooth() SmoothGradeStream

GetGradeSmooth returns the GradeSmooth field value if set, zero value otherwise.

func (*StreamSet) GetGradeSmoothOk

func (o *StreamSet) GetGradeSmoothOk() (*SmoothGradeStream, bool)

GetGradeSmoothOk returns a tuple with the GradeSmooth field value if set, nil otherwise and a boolean to check if the value has been set.

func (*StreamSet) GetHeartrate

func (o *StreamSet) GetHeartrate() HeartrateStream

GetHeartrate returns the Heartrate field value if set, zero value otherwise.

func (*StreamSet) GetHeartrateOk

func (o *StreamSet) GetHeartrateOk() (*HeartrateStream, bool)

GetHeartrateOk returns a tuple with the Heartrate field value if set, nil otherwise and a boolean to check if the value has been set.

func (*StreamSet) GetLatlng

func (o *StreamSet) GetLatlng() LatLngStream

GetLatlng returns the Latlng field value if set, zero value otherwise.

func (*StreamSet) GetLatlngOk

func (o *StreamSet) GetLatlngOk() (*LatLngStream, bool)

GetLatlngOk returns a tuple with the Latlng field value if set, nil otherwise and a boolean to check if the value has been set.

func (*StreamSet) GetMoving

func (o *StreamSet) GetMoving() MovingStream

GetMoving returns the Moving field value if set, zero value otherwise.

func (*StreamSet) GetMovingOk

func (o *StreamSet) GetMovingOk() (*MovingStream, bool)

GetMovingOk returns a tuple with the Moving field value if set, nil otherwise and a boolean to check if the value has been set.

func (*StreamSet) GetTemp

func (o *StreamSet) GetTemp() TemperatureStream

GetTemp returns the Temp field value if set, zero value otherwise.

func (*StreamSet) GetTempOk

func (o *StreamSet) GetTempOk() (*TemperatureStream, bool)

GetTempOk returns a tuple with the Temp field value if set, nil otherwise and a boolean to check if the value has been set.

func (*StreamSet) GetTime

func (o *StreamSet) GetTime() TimeStream

GetTime returns the Time field value if set, zero value otherwise.

func (*StreamSet) GetTimeOk

func (o *StreamSet) GetTimeOk() (*TimeStream, bool)

GetTimeOk returns a tuple with the Time field value if set, nil otherwise and a boolean to check if the value has been set.

func (*StreamSet) GetVelocitySmooth

func (o *StreamSet) GetVelocitySmooth() SmoothVelocityStream

GetVelocitySmooth returns the VelocitySmooth field value if set, zero value otherwise.

func (*StreamSet) GetVelocitySmoothOk

func (o *StreamSet) GetVelocitySmoothOk() (*SmoothVelocityStream, bool)

GetVelocitySmoothOk returns a tuple with the VelocitySmooth field value if set, nil otherwise and a boolean to check if the value has been set.

func (*StreamSet) GetWatts

func (o *StreamSet) GetWatts() PowerStream

GetWatts returns the Watts field value if set, zero value otherwise.

func (*StreamSet) GetWattsOk

func (o *StreamSet) GetWattsOk() (*PowerStream, bool)

GetWattsOk returns a tuple with the Watts field value if set, nil otherwise and a boolean to check if the value has been set.

func (*StreamSet) HasAltitude

func (o *StreamSet) HasAltitude() bool

HasAltitude returns a boolean if a field has been set.

func (*StreamSet) HasCadence

func (o *StreamSet) HasCadence() bool

HasCadence returns a boolean if a field has been set.

func (*StreamSet) HasDistance

func (o *StreamSet) HasDistance() bool

HasDistance returns a boolean if a field has been set.

func (*StreamSet) HasGradeSmooth

func (o *StreamSet) HasGradeSmooth() bool

HasGradeSmooth returns a boolean if a field has been set.

func (*StreamSet) HasHeartrate

func (o *StreamSet) HasHeartrate() bool

HasHeartrate returns a boolean if a field has been set.

func (*StreamSet) HasLatlng

func (o *StreamSet) HasLatlng() bool

HasLatlng returns a boolean if a field has been set.

func (*StreamSet) HasMoving

func (o *StreamSet) HasMoving() bool

HasMoving returns a boolean if a field has been set.

func (*StreamSet) HasTemp

func (o *StreamSet) HasTemp() bool

HasTemp returns a boolean if a field has been set.

func (*StreamSet) HasTime

func (o *StreamSet) HasTime() bool

HasTime returns a boolean if a field has been set.

func (*StreamSet) HasVelocitySmooth

func (o *StreamSet) HasVelocitySmooth() bool

HasVelocitySmooth returns a boolean if a field has been set.

func (*StreamSet) HasWatts

func (o *StreamSet) HasWatts() bool

HasWatts returns a boolean if a field has been set.

func (StreamSet) MarshalJSON

func (o StreamSet) MarshalJSON() ([]byte, error)

func (*StreamSet) SetAltitude

func (o *StreamSet) SetAltitude(v AltitudeStream)

SetAltitude gets a reference to the given AltitudeStream and assigns it to the Altitude field.

func (*StreamSet) SetCadence

func (o *StreamSet) SetCadence(v CadenceStream)

SetCadence gets a reference to the given CadenceStream and assigns it to the Cadence field.

func (*StreamSet) SetDistance

func (o *StreamSet) SetDistance(v DistanceStream)

SetDistance gets a reference to the given DistanceStream and assigns it to the Distance field.

func (*StreamSet) SetGradeSmooth

func (o *StreamSet) SetGradeSmooth(v SmoothGradeStream)

SetGradeSmooth gets a reference to the given SmoothGradeStream and assigns it to the GradeSmooth field.

func (*StreamSet) SetHeartrate

func (o *StreamSet) SetHeartrate(v HeartrateStream)

SetHeartrate gets a reference to the given HeartrateStream and assigns it to the Heartrate field.

func (*StreamSet) SetLatlng

func (o *StreamSet) SetLatlng(v LatLngStream)

SetLatlng gets a reference to the given LatLngStream and assigns it to the Latlng field.

func (*StreamSet) SetMoving

func (o *StreamSet) SetMoving(v MovingStream)

SetMoving gets a reference to the given MovingStream and assigns it to the Moving field.

func (*StreamSet) SetTemp

func (o *StreamSet) SetTemp(v TemperatureStream)

SetTemp gets a reference to the given TemperatureStream and assigns it to the Temp field.

func (*StreamSet) SetTime

func (o *StreamSet) SetTime(v TimeStream)

SetTime gets a reference to the given TimeStream and assigns it to the Time field.

func (*StreamSet) SetVelocitySmooth

func (o *StreamSet) SetVelocitySmooth(v SmoothVelocityStream)

SetVelocitySmooth gets a reference to the given SmoothVelocityStream and assigns it to the VelocitySmooth field.

func (*StreamSet) SetWatts

func (o *StreamSet) SetWatts(v PowerStream)

SetWatts gets a reference to the given PowerStream and assigns it to the Watts field.

func (StreamSet) ToMap

func (o StreamSet) ToMap() (map[string]interface{}, error)

type StreamsAPIService

type StreamsAPIService service

StreamsAPIService StreamsAPI service

func (*StreamsAPIService) GetActivityStreams

func (a *StreamsAPIService) GetActivityStreams(ctx context.Context, id int64) ApiGetActivityStreamsRequest

GetActivityStreams Get Activity Streams

Returns the given activity's streams. Requires activity:read scope. Requires activity:read_all scope for Only Me activities.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id The identifier of the activity.
@return ApiGetActivityStreamsRequest

func (*StreamsAPIService) GetActivityStreamsExecute

func (a *StreamsAPIService) GetActivityStreamsExecute(r ApiGetActivityStreamsRequest) (*StreamSet, *http.Response, error)

Execute executes the request

@return StreamSet

func (*StreamsAPIService) GetRouteStreams

func (a *StreamsAPIService) GetRouteStreams(ctx context.Context, id int64) ApiGetRouteStreamsRequest

GetRouteStreams Get Route Streams

Returns the given route's streams. Requires read_all scope for private routes.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id The identifier of the route.
@return ApiGetRouteStreamsRequest

func (*StreamsAPIService) GetRouteStreamsExecute

func (a *StreamsAPIService) GetRouteStreamsExecute(r ApiGetRouteStreamsRequest) (*StreamSet, *http.Response, error)

Execute executes the request

@return StreamSet

func (*StreamsAPIService) GetSegmentEffortStreams

func (a *StreamsAPIService) GetSegmentEffortStreams(ctx context.Context, id int64) ApiGetSegmentEffortStreamsRequest

GetSegmentEffortStreams Get Segment Effort Streams

Returns a set of streams for a segment effort completed by the authenticated athlete. Requires read_all scope.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id The identifier of the segment effort.
@return ApiGetSegmentEffortStreamsRequest

func (*StreamsAPIService) GetSegmentEffortStreamsExecute

func (a *StreamsAPIService) GetSegmentEffortStreamsExecute(r ApiGetSegmentEffortStreamsRequest) (*StreamSet, *http.Response, error)

Execute executes the request

@return StreamSet

func (*StreamsAPIService) GetSegmentStreams

func (a *StreamsAPIService) GetSegmentStreams(ctx context.Context, id int64) ApiGetSegmentStreamsRequest

GetSegmentStreams Get Segment Streams

Returns the given segment's streams. Requires read_all scope for private segments.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id The identifier of the segment.
@return ApiGetSegmentStreamsRequest

func (*StreamsAPIService) GetSegmentStreamsExecute

func (a *StreamsAPIService) GetSegmentStreamsExecute(r ApiGetSegmentStreamsRequest) (*StreamSet, *http.Response, error)

Execute executes the request

@return StreamSet

type SummaryActivity

type SummaryActivity struct {
	// The unique identifier of the activity
	Id *int64 `json:"id,omitempty"`
	// The identifier provided at upload time
	ExternalId *string `json:"external_id,omitempty"`
	// The identifier of the upload that resulted in this activity
	UploadId *int64       `json:"upload_id,omitempty"`
	Athlete  *MetaAthlete `json:"athlete,omitempty"`
	// The name of the activity
	Name *string `json:"name,omitempty"`
	// The activity's distance, in meters
	Distance *float32 `json:"distance,omitempty"`
	// The activity's moving time, in seconds
	MovingTime *int32 `json:"moving_time,omitempty"`
	// The activity's elapsed time, in seconds
	ElapsedTime *int32 `json:"elapsed_time,omitempty"`
	// The activity's total elevation gain.
	TotalElevationGain *float32 `json:"total_elevation_gain,omitempty"`
	// The activity's highest elevation, in meters
	ElevHigh *float32 `json:"elev_high,omitempty"`
	// The activity's lowest elevation, in meters
	ElevLow   *float32      `json:"elev_low,omitempty"`
	Type      *ActivityType `json:"type,omitempty"`
	SportType *SportType    `json:"sport_type,omitempty"`
	// The time at which the activity was started.
	StartDate *time.Time `json:"start_date,omitempty"`
	// The time at which the activity was started in the local timezone.
	StartDateLocal *time.Time `json:"start_date_local,omitempty"`
	// The timezone of the activity
	Timezone *string `json:"timezone,omitempty"`
	// A pair of latitude/longitude coordinates, represented as an array of 2 floating point numbers.
	StartLatlng []float32 `json:"start_latlng,omitempty"`
	// A pair of latitude/longitude coordinates, represented as an array of 2 floating point numbers.
	EndLatlng []float32 `json:"end_latlng,omitempty"`
	// The number of achievements gained during this activity
	AchievementCount *int32 `json:"achievement_count,omitempty"`
	// The number of kudos given for this activity
	KudosCount *int32 `json:"kudos_count,omitempty"`
	// The number of comments for this activity
	CommentCount *int32 `json:"comment_count,omitempty"`
	// The number of athletes for taking part in a group activity
	AthleteCount *int32 `json:"athlete_count,omitempty"`
	// The number of Instagram photos for this activity
	PhotoCount *int32 `json:"photo_count,omitempty"`
	// The number of Instagram and Strava photos for this activity
	TotalPhotoCount *int32       `json:"total_photo_count,omitempty"`
	Map             *PolylineMap `json:"map,omitempty"`
	// Whether this activity was recorded on a training machine
	Trainer *bool `json:"trainer,omitempty"`
	// Whether this activity is a commute
	Commute *bool `json:"commute,omitempty"`
	// Whether this activity was created manually
	Manual *bool `json:"manual,omitempty"`
	// Whether this activity is private
	Private *bool `json:"private,omitempty"`
	// Whether this activity is flagged
	Flagged *bool `json:"flagged,omitempty"`
	// The activity's workout type
	WorkoutType *int32 `json:"workout_type,omitempty"`
	// The unique identifier of the upload in string format
	UploadIdStr *string `json:"upload_id_str,omitempty"`
	// The activity's average speed, in meters per second
	AverageSpeed *float32 `json:"average_speed,omitempty"`
	// The activity's max speed, in meters per second
	MaxSpeed *float32 `json:"max_speed,omitempty"`
	// Whether the logged-in athlete has kudoed this activity
	HasKudoed *bool `json:"has_kudoed,omitempty"`
	// Whether the activity is muted
	HideFromHome *bool `json:"hide_from_home,omitempty"`
	// The id of the gear for the activity
	GearId *string `json:"gear_id,omitempty"`
	// The total work done in kilojoules during this activity. Rides only
	Kilojoules *float32 `json:"kilojoules,omitempty"`
	// Average power output in watts during this activity. Rides only
	AverageWatts *float32 `json:"average_watts,omitempty"`
	// Whether the watts are from a power meter, false if estimated
	DeviceWatts *bool `json:"device_watts,omitempty"`
	// Rides with power meter data only
	MaxWatts *int32 `json:"max_watts,omitempty"`
	// Similar to Normalized Power. Rides with power meter data only
	WeightedAverageWatts *int32 `json:"weighted_average_watts,omitempty"`
}

SummaryActivity struct for SummaryActivity

func NewSummaryActivity

func NewSummaryActivity() *SummaryActivity

NewSummaryActivity instantiates a new SummaryActivity object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewSummaryActivityWithDefaults

func NewSummaryActivityWithDefaults() *SummaryActivity

NewSummaryActivityWithDefaults instantiates a new SummaryActivity object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*SummaryActivity) GetAchievementCount

func (o *SummaryActivity) GetAchievementCount() int32

GetAchievementCount returns the AchievementCount field value if set, zero value otherwise.

func (*SummaryActivity) GetAchievementCountOk

func (o *SummaryActivity) GetAchievementCountOk() (*int32, bool)

GetAchievementCountOk returns a tuple with the AchievementCount field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SummaryActivity) GetAthlete

func (o *SummaryActivity) GetAthlete() MetaAthlete

GetAthlete returns the Athlete field value if set, zero value otherwise.

func (*SummaryActivity) GetAthleteCount

func (o *SummaryActivity) GetAthleteCount() int32

GetAthleteCount returns the AthleteCount field value if set, zero value otherwise.

func (*SummaryActivity) GetAthleteCountOk

func (o *SummaryActivity) GetAthleteCountOk() (*int32, bool)

GetAthleteCountOk returns a tuple with the AthleteCount field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SummaryActivity) GetAthleteOk

func (o *SummaryActivity) GetAthleteOk() (*MetaAthlete, bool)

GetAthleteOk returns a tuple with the Athlete field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SummaryActivity) GetAverageSpeed

func (o *SummaryActivity) GetAverageSpeed() float32

GetAverageSpeed returns the AverageSpeed field value if set, zero value otherwise.

func (*SummaryActivity) GetAverageSpeedOk

func (o *SummaryActivity) GetAverageSpeedOk() (*float32, bool)

GetAverageSpeedOk returns a tuple with the AverageSpeed field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SummaryActivity) GetAverageWatts

func (o *SummaryActivity) GetAverageWatts() float32

GetAverageWatts returns the AverageWatts field value if set, zero value otherwise.

func (*SummaryActivity) GetAverageWattsOk

func (o *SummaryActivity) GetAverageWattsOk() (*float32, bool)

GetAverageWattsOk returns a tuple with the AverageWatts field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SummaryActivity) GetCommentCount

func (o *SummaryActivity) GetCommentCount() int32

GetCommentCount returns the CommentCount field value if set, zero value otherwise.

func (*SummaryActivity) GetCommentCountOk

func (o *SummaryActivity) GetCommentCountOk() (*int32, bool)

GetCommentCountOk returns a tuple with the CommentCount field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SummaryActivity) GetCommute

func (o *SummaryActivity) GetCommute() bool

GetCommute returns the Commute field value if set, zero value otherwise.

func (*SummaryActivity) GetCommuteOk

func (o *SummaryActivity) GetCommuteOk() (*bool, bool)

GetCommuteOk returns a tuple with the Commute field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SummaryActivity) GetDeviceWatts

func (o *SummaryActivity) GetDeviceWatts() bool

GetDeviceWatts returns the DeviceWatts field value if set, zero value otherwise.

func (*SummaryActivity) GetDeviceWattsOk

func (o *SummaryActivity) GetDeviceWattsOk() (*bool, bool)

GetDeviceWattsOk returns a tuple with the DeviceWatts field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SummaryActivity) GetDistance

func (o *SummaryActivity) GetDistance() float32

GetDistance returns the Distance field value if set, zero value otherwise.

func (*SummaryActivity) GetDistanceOk

func (o *SummaryActivity) GetDistanceOk() (*float32, bool)

GetDistanceOk returns a tuple with the Distance field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SummaryActivity) GetElapsedTime

func (o *SummaryActivity) GetElapsedTime() int32

GetElapsedTime returns the ElapsedTime field value if set, zero value otherwise.

func (*SummaryActivity) GetElapsedTimeOk

func (o *SummaryActivity) GetElapsedTimeOk() (*int32, bool)

GetElapsedTimeOk returns a tuple with the ElapsedTime field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SummaryActivity) GetElevHigh

func (o *SummaryActivity) GetElevHigh() float32

GetElevHigh returns the ElevHigh field value if set, zero value otherwise.

func (*SummaryActivity) GetElevHighOk

func (o *SummaryActivity) GetElevHighOk() (*float32, bool)

GetElevHighOk returns a tuple with the ElevHigh field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SummaryActivity) GetElevLow

func (o *SummaryActivity) GetElevLow() float32

GetElevLow returns the ElevLow field value if set, zero value otherwise.

func (*SummaryActivity) GetElevLowOk

func (o *SummaryActivity) GetElevLowOk() (*float32, bool)

GetElevLowOk returns a tuple with the ElevLow field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SummaryActivity) GetEndLatlng

func (o *SummaryActivity) GetEndLatlng() []float32

GetEndLatlng returns the EndLatlng field value if set, zero value otherwise.

func (*SummaryActivity) GetEndLatlngOk

func (o *SummaryActivity) GetEndLatlngOk() ([]float32, bool)

GetEndLatlngOk returns a tuple with the EndLatlng field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SummaryActivity) GetExternalId

func (o *SummaryActivity) GetExternalId() string

GetExternalId returns the ExternalId field value if set, zero value otherwise.

func (*SummaryActivity) GetExternalIdOk

func (o *SummaryActivity) GetExternalIdOk() (*string, bool)

GetExternalIdOk returns a tuple with the ExternalId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SummaryActivity) GetFlagged

func (o *SummaryActivity) GetFlagged() bool

GetFlagged returns the Flagged field value if set, zero value otherwise.

func (*SummaryActivity) GetFlaggedOk

func (o *SummaryActivity) GetFlaggedOk() (*bool, bool)

GetFlaggedOk returns a tuple with the Flagged field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SummaryActivity) GetGearId

func (o *SummaryActivity) GetGearId() string

GetGearId returns the GearId field value if set, zero value otherwise.

func (*SummaryActivity) GetGearIdOk

func (o *SummaryActivity) GetGearIdOk() (*string, bool)

GetGearIdOk returns a tuple with the GearId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SummaryActivity) GetHasKudoed

func (o *SummaryActivity) GetHasKudoed() bool

GetHasKudoed returns the HasKudoed field value if set, zero value otherwise.

func (*SummaryActivity) GetHasKudoedOk

func (o *SummaryActivity) GetHasKudoedOk() (*bool, bool)

GetHasKudoedOk returns a tuple with the HasKudoed field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SummaryActivity) GetHideFromHome

func (o *SummaryActivity) GetHideFromHome() bool

GetHideFromHome returns the HideFromHome field value if set, zero value otherwise.

func (*SummaryActivity) GetHideFromHomeOk

func (o *SummaryActivity) GetHideFromHomeOk() (*bool, bool)

GetHideFromHomeOk returns a tuple with the HideFromHome field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SummaryActivity) GetId

func (o *SummaryActivity) GetId() int64

GetId returns the Id field value if set, zero value otherwise.

func (*SummaryActivity) GetIdOk

func (o *SummaryActivity) GetIdOk() (*int64, bool)

GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SummaryActivity) GetKilojoules

func (o *SummaryActivity) GetKilojoules() float32

GetKilojoules returns the Kilojoules field value if set, zero value otherwise.

func (*SummaryActivity) GetKilojoulesOk

func (o *SummaryActivity) GetKilojoulesOk() (*float32, bool)

GetKilojoulesOk returns a tuple with the Kilojoules field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SummaryActivity) GetKudosCount

func (o *SummaryActivity) GetKudosCount() int32

GetKudosCount returns the KudosCount field value if set, zero value otherwise.

func (*SummaryActivity) GetKudosCountOk

func (o *SummaryActivity) GetKudosCountOk() (*int32, bool)

GetKudosCountOk returns a tuple with the KudosCount field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SummaryActivity) GetManual

func (o *SummaryActivity) GetManual() bool

GetManual returns the Manual field value if set, zero value otherwise.

func (*SummaryActivity) GetManualOk

func (o *SummaryActivity) GetManualOk() (*bool, bool)

GetManualOk returns a tuple with the Manual field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SummaryActivity) GetMap

func (o *SummaryActivity) GetMap() PolylineMap

GetMap returns the Map field value if set, zero value otherwise.

func (*SummaryActivity) GetMapOk

func (o *SummaryActivity) GetMapOk() (*PolylineMap, bool)

GetMapOk returns a tuple with the Map field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SummaryActivity) GetMaxSpeed

func (o *SummaryActivity) GetMaxSpeed() float32

GetMaxSpeed returns the MaxSpeed field value if set, zero value otherwise.

func (*SummaryActivity) GetMaxSpeedOk

func (o *SummaryActivity) GetMaxSpeedOk() (*float32, bool)

GetMaxSpeedOk returns a tuple with the MaxSpeed field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SummaryActivity) GetMaxWatts

func (o *SummaryActivity) GetMaxWatts() int32

GetMaxWatts returns the MaxWatts field value if set, zero value otherwise.

func (*SummaryActivity) GetMaxWattsOk

func (o *SummaryActivity) GetMaxWattsOk() (*int32, bool)

GetMaxWattsOk returns a tuple with the MaxWatts field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SummaryActivity) GetMovingTime

func (o *SummaryActivity) GetMovingTime() int32

GetMovingTime returns the MovingTime field value if set, zero value otherwise.

func (*SummaryActivity) GetMovingTimeOk

func (o *SummaryActivity) GetMovingTimeOk() (*int32, bool)

GetMovingTimeOk returns a tuple with the MovingTime field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SummaryActivity) GetName

func (o *SummaryActivity) GetName() string

GetName returns the Name field value if set, zero value otherwise.

func (*SummaryActivity) GetNameOk

func (o *SummaryActivity) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SummaryActivity) GetPhotoCount

func (o *SummaryActivity) GetPhotoCount() int32

GetPhotoCount returns the PhotoCount field value if set, zero value otherwise.

func (*SummaryActivity) GetPhotoCountOk

func (o *SummaryActivity) GetPhotoCountOk() (*int32, bool)

GetPhotoCountOk returns a tuple with the PhotoCount field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SummaryActivity) GetPrivate

func (o *SummaryActivity) GetPrivate() bool

GetPrivate returns the Private field value if set, zero value otherwise.

func (*SummaryActivity) GetPrivateOk

func (o *SummaryActivity) GetPrivateOk() (*bool, bool)

GetPrivateOk returns a tuple with the Private field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SummaryActivity) GetSportType

func (o *SummaryActivity) GetSportType() SportType

GetSportType returns the SportType field value if set, zero value otherwise.

func (*SummaryActivity) GetSportTypeOk

func (o *SummaryActivity) GetSportTypeOk() (*SportType, bool)

GetSportTypeOk returns a tuple with the SportType field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SummaryActivity) GetStartDate

func (o *SummaryActivity) GetStartDate() time.Time

GetStartDate returns the StartDate field value if set, zero value otherwise.

func (*SummaryActivity) GetStartDateLocal

func (o *SummaryActivity) GetStartDateLocal() time.Time

GetStartDateLocal returns the StartDateLocal field value if set, zero value otherwise.

func (*SummaryActivity) GetStartDateLocalOk

func (o *SummaryActivity) GetStartDateLocalOk() (*time.Time, bool)

GetStartDateLocalOk returns a tuple with the StartDateLocal field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SummaryActivity) GetStartDateOk

func (o *SummaryActivity) GetStartDateOk() (*time.Time, bool)

GetStartDateOk returns a tuple with the StartDate field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SummaryActivity) GetStartLatlng

func (o *SummaryActivity) GetStartLatlng() []float32

GetStartLatlng returns the StartLatlng field value if set, zero value otherwise.

func (*SummaryActivity) GetStartLatlngOk

func (o *SummaryActivity) GetStartLatlngOk() ([]float32, bool)

GetStartLatlngOk returns a tuple with the StartLatlng field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SummaryActivity) GetTimezone

func (o *SummaryActivity) GetTimezone() string

GetTimezone returns the Timezone field value if set, zero value otherwise.

func (*SummaryActivity) GetTimezoneOk

func (o *SummaryActivity) GetTimezoneOk() (*string, bool)

GetTimezoneOk returns a tuple with the Timezone field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SummaryActivity) GetTotalElevationGain

func (o *SummaryActivity) GetTotalElevationGain() float32

GetTotalElevationGain returns the TotalElevationGain field value if set, zero value otherwise.

func (*SummaryActivity) GetTotalElevationGainOk

func (o *SummaryActivity) GetTotalElevationGainOk() (*float32, bool)

GetTotalElevationGainOk returns a tuple with the TotalElevationGain field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SummaryActivity) GetTotalPhotoCount

func (o *SummaryActivity) GetTotalPhotoCount() int32

GetTotalPhotoCount returns the TotalPhotoCount field value if set, zero value otherwise.

func (*SummaryActivity) GetTotalPhotoCountOk

func (o *SummaryActivity) GetTotalPhotoCountOk() (*int32, bool)

GetTotalPhotoCountOk returns a tuple with the TotalPhotoCount field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SummaryActivity) GetTrainer

func (o *SummaryActivity) GetTrainer() bool

GetTrainer returns the Trainer field value if set, zero value otherwise.

func (*SummaryActivity) GetTrainerOk

func (o *SummaryActivity) GetTrainerOk() (*bool, bool)

GetTrainerOk returns a tuple with the Trainer field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SummaryActivity) GetType

func (o *SummaryActivity) GetType() ActivityType

GetType returns the Type field value if set, zero value otherwise.

func (*SummaryActivity) GetTypeOk

func (o *SummaryActivity) GetTypeOk() (*ActivityType, bool)

GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SummaryActivity) GetUploadId

func (o *SummaryActivity) GetUploadId() int64

GetUploadId returns the UploadId field value if set, zero value otherwise.

func (*SummaryActivity) GetUploadIdOk

func (o *SummaryActivity) GetUploadIdOk() (*int64, bool)

GetUploadIdOk returns a tuple with the UploadId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SummaryActivity) GetUploadIdStr

func (o *SummaryActivity) GetUploadIdStr() string

GetUploadIdStr returns the UploadIdStr field value if set, zero value otherwise.

func (*SummaryActivity) GetUploadIdStrOk

func (o *SummaryActivity) GetUploadIdStrOk() (*string, bool)

GetUploadIdStrOk returns a tuple with the UploadIdStr field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SummaryActivity) GetWeightedAverageWatts

func (o *SummaryActivity) GetWeightedAverageWatts() int32

GetWeightedAverageWatts returns the WeightedAverageWatts field value if set, zero value otherwise.

func (*SummaryActivity) GetWeightedAverageWattsOk

func (o *SummaryActivity) GetWeightedAverageWattsOk() (*int32, bool)

GetWeightedAverageWattsOk returns a tuple with the WeightedAverageWatts field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SummaryActivity) GetWorkoutType

func (o *SummaryActivity) GetWorkoutType() int32

GetWorkoutType returns the WorkoutType field value if set, zero value otherwise.

func (*SummaryActivity) GetWorkoutTypeOk

func (o *SummaryActivity) GetWorkoutTypeOk() (*int32, bool)

GetWorkoutTypeOk returns a tuple with the WorkoutType field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SummaryActivity) HasAchievementCount

func (o *SummaryActivity) HasAchievementCount() bool

HasAchievementCount returns a boolean if a field has been set.

func (*SummaryActivity) HasAthlete

func (o *SummaryActivity) HasAthlete() bool

HasAthlete returns a boolean if a field has been set.

func (*SummaryActivity) HasAthleteCount

func (o *SummaryActivity) HasAthleteCount() bool

HasAthleteCount returns a boolean if a field has been set.

func (*SummaryActivity) HasAverageSpeed

func (o *SummaryActivity) HasAverageSpeed() bool

HasAverageSpeed returns a boolean if a field has been set.

func (*SummaryActivity) HasAverageWatts

func (o *SummaryActivity) HasAverageWatts() bool

HasAverageWatts returns a boolean if a field has been set.

func (*SummaryActivity) HasCommentCount

func (o *SummaryActivity) HasCommentCount() bool

HasCommentCount returns a boolean if a field has been set.

func (*SummaryActivity) HasCommute

func (o *SummaryActivity) HasCommute() bool

HasCommute returns a boolean if a field has been set.

func (*SummaryActivity) HasDeviceWatts

func (o *SummaryActivity) HasDeviceWatts() bool

HasDeviceWatts returns a boolean if a field has been set.

func (*SummaryActivity) HasDistance

func (o *SummaryActivity) HasDistance() bool

HasDistance returns a boolean if a field has been set.

func (*SummaryActivity) HasElapsedTime

func (o *SummaryActivity) HasElapsedTime() bool

HasElapsedTime returns a boolean if a field has been set.

func (*SummaryActivity) HasElevHigh

func (o *SummaryActivity) HasElevHigh() bool

HasElevHigh returns a boolean if a field has been set.

func (*SummaryActivity) HasElevLow

func (o *SummaryActivity) HasElevLow() bool

HasElevLow returns a boolean if a field has been set.

func (*SummaryActivity) HasEndLatlng

func (o *SummaryActivity) HasEndLatlng() bool

HasEndLatlng returns a boolean if a field has been set.

func (*SummaryActivity) HasExternalId

func (o *SummaryActivity) HasExternalId() bool

HasExternalId returns a boolean if a field has been set.

func (*SummaryActivity) HasFlagged

func (o *SummaryActivity) HasFlagged() bool

HasFlagged returns a boolean if a field has been set.

func (*SummaryActivity) HasGearId

func (o *SummaryActivity) HasGearId() bool

HasGearId returns a boolean if a field has been set.

func (*SummaryActivity) HasHasKudoed

func (o *SummaryActivity) HasHasKudoed() bool

HasHasKudoed returns a boolean if a field has been set.

func (*SummaryActivity) HasHideFromHome

func (o *SummaryActivity) HasHideFromHome() bool

HasHideFromHome returns a boolean if a field has been set.

func (*SummaryActivity) HasId

func (o *SummaryActivity) HasId() bool

HasId returns a boolean if a field has been set.

func (*SummaryActivity) HasKilojoules

func (o *SummaryActivity) HasKilojoules() bool

HasKilojoules returns a boolean if a field has been set.

func (*SummaryActivity) HasKudosCount

func (o *SummaryActivity) HasKudosCount() bool

HasKudosCount returns a boolean if a field has been set.

func (*SummaryActivity) HasManual

func (o *SummaryActivity) HasManual() bool

HasManual returns a boolean if a field has been set.

func (*SummaryActivity) HasMap

func (o *SummaryActivity) HasMap() bool

HasMap returns a boolean if a field has been set.

func (*SummaryActivity) HasMaxSpeed

func (o *SummaryActivity) HasMaxSpeed() bool

HasMaxSpeed returns a boolean if a field has been set.

func (*SummaryActivity) HasMaxWatts

func (o *SummaryActivity) HasMaxWatts() bool

HasMaxWatts returns a boolean if a field has been set.

func (*SummaryActivity) HasMovingTime

func (o *SummaryActivity) HasMovingTime() bool

HasMovingTime returns a boolean if a field has been set.

func (*SummaryActivity) HasName

func (o *SummaryActivity) HasName() bool

HasName returns a boolean if a field has been set.

func (*SummaryActivity) HasPhotoCount

func (o *SummaryActivity) HasPhotoCount() bool

HasPhotoCount returns a boolean if a field has been set.

func (*SummaryActivity) HasPrivate

func (o *SummaryActivity) HasPrivate() bool

HasPrivate returns a boolean if a field has been set.

func (*SummaryActivity) HasSportType

func (o *SummaryActivity) HasSportType() bool

HasSportType returns a boolean if a field has been set.

func (*SummaryActivity) HasStartDate

func (o *SummaryActivity) HasStartDate() bool

HasStartDate returns a boolean if a field has been set.

func (*SummaryActivity) HasStartDateLocal

func (o *SummaryActivity) HasStartDateLocal() bool

HasStartDateLocal returns a boolean if a field has been set.

func (*SummaryActivity) HasStartLatlng

func (o *SummaryActivity) HasStartLatlng() bool

HasStartLatlng returns a boolean if a field has been set.

func (*SummaryActivity) HasTimezone

func (o *SummaryActivity) HasTimezone() bool

HasTimezone returns a boolean if a field has been set.

func (*SummaryActivity) HasTotalElevationGain

func (o *SummaryActivity) HasTotalElevationGain() bool

HasTotalElevationGain returns a boolean if a field has been set.

func (*SummaryActivity) HasTotalPhotoCount

func (o *SummaryActivity) HasTotalPhotoCount() bool

HasTotalPhotoCount returns a boolean if a field has been set.

func (*SummaryActivity) HasTrainer

func (o *SummaryActivity) HasTrainer() bool

HasTrainer returns a boolean if a field has been set.

func (*SummaryActivity) HasType

func (o *SummaryActivity) HasType() bool

HasType returns a boolean if a field has been set.

func (*SummaryActivity) HasUploadId

func (o *SummaryActivity) HasUploadId() bool

HasUploadId returns a boolean if a field has been set.

func (*SummaryActivity) HasUploadIdStr

func (o *SummaryActivity) HasUploadIdStr() bool

HasUploadIdStr returns a boolean if a field has been set.

func (*SummaryActivity) HasWeightedAverageWatts

func (o *SummaryActivity) HasWeightedAverageWatts() bool

HasWeightedAverageWatts returns a boolean if a field has been set.

func (*SummaryActivity) HasWorkoutType

func (o *SummaryActivity) HasWorkoutType() bool

HasWorkoutType returns a boolean if a field has been set.

func (SummaryActivity) MarshalJSON

func (o SummaryActivity) MarshalJSON() ([]byte, error)

func (*SummaryActivity) SetAchievementCount

func (o *SummaryActivity) SetAchievementCount(v int32)

SetAchievementCount gets a reference to the given int32 and assigns it to the AchievementCount field.

func (*SummaryActivity) SetAthlete

func (o *SummaryActivity) SetAthlete(v MetaAthlete)

SetAthlete gets a reference to the given MetaAthlete and assigns it to the Athlete field.

func (*SummaryActivity) SetAthleteCount

func (o *SummaryActivity) SetAthleteCount(v int32)

SetAthleteCount gets a reference to the given int32 and assigns it to the AthleteCount field.

func (*SummaryActivity) SetAverageSpeed

func (o *SummaryActivity) SetAverageSpeed(v float32)

SetAverageSpeed gets a reference to the given float32 and assigns it to the AverageSpeed field.

func (*SummaryActivity) SetAverageWatts

func (o *SummaryActivity) SetAverageWatts(v float32)

SetAverageWatts gets a reference to the given float32 and assigns it to the AverageWatts field.

func (*SummaryActivity) SetCommentCount

func (o *SummaryActivity) SetCommentCount(v int32)

SetCommentCount gets a reference to the given int32 and assigns it to the CommentCount field.

func (*SummaryActivity) SetCommute

func (o *SummaryActivity) SetCommute(v bool)

SetCommute gets a reference to the given bool and assigns it to the Commute field.

func (*SummaryActivity) SetDeviceWatts

func (o *SummaryActivity) SetDeviceWatts(v bool)

SetDeviceWatts gets a reference to the given bool and assigns it to the DeviceWatts field.

func (*SummaryActivity) SetDistance

func (o *SummaryActivity) SetDistance(v float32)

SetDistance gets a reference to the given float32 and assigns it to the Distance field.

func (*SummaryActivity) SetElapsedTime

func (o *SummaryActivity) SetElapsedTime(v int32)

SetElapsedTime gets a reference to the given int32 and assigns it to the ElapsedTime field.

func (*SummaryActivity) SetElevHigh

func (o *SummaryActivity) SetElevHigh(v float32)

SetElevHigh gets a reference to the given float32 and assigns it to the ElevHigh field.

func (*SummaryActivity) SetElevLow

func (o *SummaryActivity) SetElevLow(v float32)

SetElevLow gets a reference to the given float32 and assigns it to the ElevLow field.

func (*SummaryActivity) SetEndLatlng

func (o *SummaryActivity) SetEndLatlng(v []float32)

SetEndLatlng gets a reference to the given []float32 and assigns it to the EndLatlng field.

func (*SummaryActivity) SetExternalId

func (o *SummaryActivity) SetExternalId(v string)

SetExternalId gets a reference to the given string and assigns it to the ExternalId field.

func (*SummaryActivity) SetFlagged

func (o *SummaryActivity) SetFlagged(v bool)

SetFlagged gets a reference to the given bool and assigns it to the Flagged field.

func (*SummaryActivity) SetGearId

func (o *SummaryActivity) SetGearId(v string)

SetGearId gets a reference to the given string and assigns it to the GearId field.

func (*SummaryActivity) SetHasKudoed

func (o *SummaryActivity) SetHasKudoed(v bool)

SetHasKudoed gets a reference to the given bool and assigns it to the HasKudoed field.

func (*SummaryActivity) SetHideFromHome

func (o *SummaryActivity) SetHideFromHome(v bool)

SetHideFromHome gets a reference to the given bool and assigns it to the HideFromHome field.

func (*SummaryActivity) SetId

func (o *SummaryActivity) SetId(v int64)

SetId gets a reference to the given int64 and assigns it to the Id field.

func (*SummaryActivity) SetKilojoules

func (o *SummaryActivity) SetKilojoules(v float32)

SetKilojoules gets a reference to the given float32 and assigns it to the Kilojoules field.

func (*SummaryActivity) SetKudosCount

func (o *SummaryActivity) SetKudosCount(v int32)

SetKudosCount gets a reference to the given int32 and assigns it to the KudosCount field.

func (*SummaryActivity) SetManual

func (o *SummaryActivity) SetManual(v bool)

SetManual gets a reference to the given bool and assigns it to the Manual field.

func (*SummaryActivity) SetMap

func (o *SummaryActivity) SetMap(v PolylineMap)

SetMap gets a reference to the given PolylineMap and assigns it to the Map field.

func (*SummaryActivity) SetMaxSpeed

func (o *SummaryActivity) SetMaxSpeed(v float32)

SetMaxSpeed gets a reference to the given float32 and assigns it to the MaxSpeed field.

func (*SummaryActivity) SetMaxWatts

func (o *SummaryActivity) SetMaxWatts(v int32)

SetMaxWatts gets a reference to the given int32 and assigns it to the MaxWatts field.

func (*SummaryActivity) SetMovingTime

func (o *SummaryActivity) SetMovingTime(v int32)

SetMovingTime gets a reference to the given int32 and assigns it to the MovingTime field.

func (*SummaryActivity) SetName

func (o *SummaryActivity) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

func (*SummaryActivity) SetPhotoCount

func (o *SummaryActivity) SetPhotoCount(v int32)

SetPhotoCount gets a reference to the given int32 and assigns it to the PhotoCount field.

func (*SummaryActivity) SetPrivate

func (o *SummaryActivity) SetPrivate(v bool)

SetPrivate gets a reference to the given bool and assigns it to the Private field.

func (*SummaryActivity) SetSportType

func (o *SummaryActivity) SetSportType(v SportType)

SetSportType gets a reference to the given SportType and assigns it to the SportType field.

func (*SummaryActivity) SetStartDate

func (o *SummaryActivity) SetStartDate(v time.Time)

SetStartDate gets a reference to the given time.Time and assigns it to the StartDate field.

func (*SummaryActivity) SetStartDateLocal

func (o *SummaryActivity) SetStartDateLocal(v time.Time)

SetStartDateLocal gets a reference to the given time.Time and assigns it to the StartDateLocal field.

func (*SummaryActivity) SetStartLatlng

func (o *SummaryActivity) SetStartLatlng(v []float32)

SetStartLatlng gets a reference to the given []float32 and assigns it to the StartLatlng field.

func (*SummaryActivity) SetTimezone

func (o *SummaryActivity) SetTimezone(v string)

SetTimezone gets a reference to the given string and assigns it to the Timezone field.

func (*SummaryActivity) SetTotalElevationGain

func (o *SummaryActivity) SetTotalElevationGain(v float32)

SetTotalElevationGain gets a reference to the given float32 and assigns it to the TotalElevationGain field.

func (*SummaryActivity) SetTotalPhotoCount

func (o *SummaryActivity) SetTotalPhotoCount(v int32)

SetTotalPhotoCount gets a reference to the given int32 and assigns it to the TotalPhotoCount field.

func (*SummaryActivity) SetTrainer

func (o *SummaryActivity) SetTrainer(v bool)

SetTrainer gets a reference to the given bool and assigns it to the Trainer field.

func (*SummaryActivity) SetType

func (o *SummaryActivity) SetType(v ActivityType)

SetType gets a reference to the given ActivityType and assigns it to the Type field.

func (*SummaryActivity) SetUploadId

func (o *SummaryActivity) SetUploadId(v int64)

SetUploadId gets a reference to the given int64 and assigns it to the UploadId field.

func (*SummaryActivity) SetUploadIdStr

func (o *SummaryActivity) SetUploadIdStr(v string)

SetUploadIdStr gets a reference to the given string and assigns it to the UploadIdStr field.

func (*SummaryActivity) SetWeightedAverageWatts

func (o *SummaryActivity) SetWeightedAverageWatts(v int32)

SetWeightedAverageWatts gets a reference to the given int32 and assigns it to the WeightedAverageWatts field.

func (*SummaryActivity) SetWorkoutType

func (o *SummaryActivity) SetWorkoutType(v int32)

SetWorkoutType gets a reference to the given int32 and assigns it to the WorkoutType field.

func (SummaryActivity) ToMap

func (o SummaryActivity) ToMap() (map[string]interface{}, error)

type SummaryAthlete

type SummaryAthlete struct {
	// The unique identifier of the athlete
	Id *int64 `json:"id,omitempty"`
	// Resource state, indicates level of detail. Possible values: 1 -> \"meta\", 2 -> \"summary\", 3 -> \"detail\"
	ResourceState *int32 `json:"resource_state,omitempty"`
	// The athlete's first name.
	Firstname *string `json:"firstname,omitempty"`
	// The athlete's last name.
	Lastname *string `json:"lastname,omitempty"`
	// URL to a 62x62 pixel profile picture.
	ProfileMedium *string `json:"profile_medium,omitempty"`
	// URL to a 124x124 pixel profile picture.
	Profile *string `json:"profile,omitempty"`
	// The athlete's city.
	City *string `json:"city,omitempty"`
	// The athlete's state or geographical region.
	State *string `json:"state,omitempty"`
	// The athlete's country.
	Country *string `json:"country,omitempty"`
	// The athlete's sex.
	Sex *string `json:"sex,omitempty"`
	// Deprecated.  Use summit field instead. Whether the athlete has any Summit subscription.
	Premium *bool `json:"premium,omitempty"`
	// Whether the athlete has any Summit subscription.
	Summit *bool `json:"summit,omitempty"`
	// The time at which the athlete was created.
	CreatedAt *time.Time `json:"created_at,omitempty"`
	// The time at which the athlete was last updated.
	UpdatedAt *time.Time `json:"updated_at,omitempty"`
}

SummaryAthlete struct for SummaryAthlete

func NewSummaryAthlete

func NewSummaryAthlete() *SummaryAthlete

NewSummaryAthlete instantiates a new SummaryAthlete object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewSummaryAthleteWithDefaults

func NewSummaryAthleteWithDefaults() *SummaryAthlete

NewSummaryAthleteWithDefaults instantiates a new SummaryAthlete object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*SummaryAthlete) GetCity

func (o *SummaryAthlete) GetCity() string

GetCity returns the City field value if set, zero value otherwise.

func (*SummaryAthlete) GetCityOk

func (o *SummaryAthlete) GetCityOk() (*string, bool)

GetCityOk returns a tuple with the City field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SummaryAthlete) GetCountry

func (o *SummaryAthlete) GetCountry() string

GetCountry returns the Country field value if set, zero value otherwise.

func (*SummaryAthlete) GetCountryOk

func (o *SummaryAthlete) GetCountryOk() (*string, bool)

GetCountryOk returns a tuple with the Country field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SummaryAthlete) GetCreatedAt

func (o *SummaryAthlete) GetCreatedAt() time.Time

GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.

func (*SummaryAthlete) GetCreatedAtOk

func (o *SummaryAthlete) GetCreatedAtOk() (*time.Time, bool)

GetCreatedAtOk returns a tuple with the CreatedAt field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SummaryAthlete) GetFirstname

func (o *SummaryAthlete) GetFirstname() string

GetFirstname returns the Firstname field value if set, zero value otherwise.

func (*SummaryAthlete) GetFirstnameOk

func (o *SummaryAthlete) GetFirstnameOk() (*string, bool)

GetFirstnameOk returns a tuple with the Firstname field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SummaryAthlete) GetId

func (o *SummaryAthlete) GetId() int64

GetId returns the Id field value if set, zero value otherwise.

func (*SummaryAthlete) GetIdOk

func (o *SummaryAthlete) GetIdOk() (*int64, bool)

GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SummaryAthlete) GetLastname

func (o *SummaryAthlete) GetLastname() string

GetLastname returns the Lastname field value if set, zero value otherwise.

func (*SummaryAthlete) GetLastnameOk

func (o *SummaryAthlete) GetLastnameOk() (*string, bool)

GetLastnameOk returns a tuple with the Lastname field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SummaryAthlete) GetPremium

func (o *SummaryAthlete) GetPremium() bool

GetPremium returns the Premium field value if set, zero value otherwise.

func (*SummaryAthlete) GetPremiumOk

func (o *SummaryAthlete) GetPremiumOk() (*bool, bool)

GetPremiumOk returns a tuple with the Premium field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SummaryAthlete) GetProfile

func (o *SummaryAthlete) GetProfile() string

GetProfile returns the Profile field value if set, zero value otherwise.

func (*SummaryAthlete) GetProfileMedium

func (o *SummaryAthlete) GetProfileMedium() string

GetProfileMedium returns the ProfileMedium field value if set, zero value otherwise.

func (*SummaryAthlete) GetProfileMediumOk

func (o *SummaryAthlete) GetProfileMediumOk() (*string, bool)

GetProfileMediumOk returns a tuple with the ProfileMedium field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SummaryAthlete) GetProfileOk

func (o *SummaryAthlete) GetProfileOk() (*string, bool)

GetProfileOk returns a tuple with the Profile field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SummaryAthlete) GetResourceState

func (o *SummaryAthlete) GetResourceState() int32

GetResourceState returns the ResourceState field value if set, zero value otherwise.

func (*SummaryAthlete) GetResourceStateOk

func (o *SummaryAthlete) GetResourceStateOk() (*int32, bool)

GetResourceStateOk returns a tuple with the ResourceState field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SummaryAthlete) GetSex

func (o *SummaryAthlete) GetSex() string

GetSex returns the Sex field value if set, zero value otherwise.

func (*SummaryAthlete) GetSexOk

func (o *SummaryAthlete) GetSexOk() (*string, bool)

GetSexOk returns a tuple with the Sex field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SummaryAthlete) GetState

func (o *SummaryAthlete) GetState() string

GetState returns the State field value if set, zero value otherwise.

func (*SummaryAthlete) GetStateOk

func (o *SummaryAthlete) GetStateOk() (*string, bool)

GetStateOk returns a tuple with the State field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SummaryAthlete) GetSummit

func (o *SummaryAthlete) GetSummit() bool

GetSummit returns the Summit field value if set, zero value otherwise.

func (*SummaryAthlete) GetSummitOk

func (o *SummaryAthlete) GetSummitOk() (*bool, bool)

GetSummitOk returns a tuple with the Summit field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SummaryAthlete) GetUpdatedAt

func (o *SummaryAthlete) GetUpdatedAt() time.Time

GetUpdatedAt returns the UpdatedAt field value if set, zero value otherwise.

func (*SummaryAthlete) GetUpdatedAtOk

func (o *SummaryAthlete) GetUpdatedAtOk() (*time.Time, bool)

GetUpdatedAtOk returns a tuple with the UpdatedAt field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SummaryAthlete) HasCity

func (o *SummaryAthlete) HasCity() bool

HasCity returns a boolean if a field has been set.

func (*SummaryAthlete) HasCountry

func (o *SummaryAthlete) HasCountry() bool

HasCountry returns a boolean if a field has been set.

func (*SummaryAthlete) HasCreatedAt

func (o *SummaryAthlete) HasCreatedAt() bool

HasCreatedAt returns a boolean if a field has been set.

func (*SummaryAthlete) HasFirstname

func (o *SummaryAthlete) HasFirstname() bool

HasFirstname returns a boolean if a field has been set.

func (*SummaryAthlete) HasId

func (o *SummaryAthlete) HasId() bool

HasId returns a boolean if a field has been set.

func (*SummaryAthlete) HasLastname

func (o *SummaryAthlete) HasLastname() bool

HasLastname returns a boolean if a field has been set.

func (*SummaryAthlete) HasPremium

func (o *SummaryAthlete) HasPremium() bool

HasPremium returns a boolean if a field has been set.

func (*SummaryAthlete) HasProfile

func (o *SummaryAthlete) HasProfile() bool

HasProfile returns a boolean if a field has been set.

func (*SummaryAthlete) HasProfileMedium

func (o *SummaryAthlete) HasProfileMedium() bool

HasProfileMedium returns a boolean if a field has been set.

func (*SummaryAthlete) HasResourceState

func (o *SummaryAthlete) HasResourceState() bool

HasResourceState returns a boolean if a field has been set.

func (*SummaryAthlete) HasSex

func (o *SummaryAthlete) HasSex() bool

HasSex returns a boolean if a field has been set.

func (*SummaryAthlete) HasState

func (o *SummaryAthlete) HasState() bool

HasState returns a boolean if a field has been set.

func (*SummaryAthlete) HasSummit

func (o *SummaryAthlete) HasSummit() bool

HasSummit returns a boolean if a field has been set.

func (*SummaryAthlete) HasUpdatedAt

func (o *SummaryAthlete) HasUpdatedAt() bool

HasUpdatedAt returns a boolean if a field has been set.

func (SummaryAthlete) MarshalJSON

func (o SummaryAthlete) MarshalJSON() ([]byte, error)

func (*SummaryAthlete) SetCity

func (o *SummaryAthlete) SetCity(v string)

SetCity gets a reference to the given string and assigns it to the City field.

func (*SummaryAthlete) SetCountry

func (o *SummaryAthlete) SetCountry(v string)

SetCountry gets a reference to the given string and assigns it to the Country field.

func (*SummaryAthlete) SetCreatedAt

func (o *SummaryAthlete) SetCreatedAt(v time.Time)

SetCreatedAt gets a reference to the given time.Time and assigns it to the CreatedAt field.

func (*SummaryAthlete) SetFirstname

func (o *SummaryAthlete) SetFirstname(v string)

SetFirstname gets a reference to the given string and assigns it to the Firstname field.

func (*SummaryAthlete) SetId

func (o *SummaryAthlete) SetId(v int64)

SetId gets a reference to the given int64 and assigns it to the Id field.

func (*SummaryAthlete) SetLastname

func (o *SummaryAthlete) SetLastname(v string)

SetLastname gets a reference to the given string and assigns it to the Lastname field.

func (*SummaryAthlete) SetPremium

func (o *SummaryAthlete) SetPremium(v bool)

SetPremium gets a reference to the given bool and assigns it to the Premium field.

func (*SummaryAthlete) SetProfile

func (o *SummaryAthlete) SetProfile(v string)

SetProfile gets a reference to the given string and assigns it to the Profile field.

func (*SummaryAthlete) SetProfileMedium

func (o *SummaryAthlete) SetProfileMedium(v string)

SetProfileMedium gets a reference to the given string and assigns it to the ProfileMedium field.

func (*SummaryAthlete) SetResourceState

func (o *SummaryAthlete) SetResourceState(v int32)

SetResourceState gets a reference to the given int32 and assigns it to the ResourceState field.

func (*SummaryAthlete) SetSex

func (o *SummaryAthlete) SetSex(v string)

SetSex gets a reference to the given string and assigns it to the Sex field.

func (*SummaryAthlete) SetState

func (o *SummaryAthlete) SetState(v string)

SetState gets a reference to the given string and assigns it to the State field.

func (*SummaryAthlete) SetSummit

func (o *SummaryAthlete) SetSummit(v bool)

SetSummit gets a reference to the given bool and assigns it to the Summit field.

func (*SummaryAthlete) SetUpdatedAt

func (o *SummaryAthlete) SetUpdatedAt(v time.Time)

SetUpdatedAt gets a reference to the given time.Time and assigns it to the UpdatedAt field.

func (SummaryAthlete) ToMap

func (o SummaryAthlete) ToMap() (map[string]interface{}, error)

type SummaryClub

type SummaryClub struct {
	// The club's unique identifier.
	Id *int64 `json:"id,omitempty"`
	// Resource state, indicates level of detail. Possible values: 1 -> \"meta\", 2 -> \"summary\", 3 -> \"detail\"
	ResourceState *int32 `json:"resource_state,omitempty"`
	// The club's name.
	Name *string `json:"name,omitempty"`
	// URL to a 60x60 pixel profile picture.
	ProfileMedium *string `json:"profile_medium,omitempty"`
	// URL to a ~1185x580 pixel cover photo.
	CoverPhoto *string `json:"cover_photo,omitempty"`
	// URL to a ~360x176  pixel cover photo.
	CoverPhotoSmall *string `json:"cover_photo_small,omitempty"`
	// Deprecated. Prefer to use activity_types.
	SportType *string `json:"sport_type,omitempty"`
	// The activity types that count for a club. This takes precedence over sport_type.
	ActivityTypes []ActivityType `json:"activity_types,omitempty"`
	// The club's city.
	City *string `json:"city,omitempty"`
	// The club's state or geographical region.
	State *string `json:"state,omitempty"`
	// The club's country.
	Country *string `json:"country,omitempty"`
	// Whether the club is private.
	Private *bool `json:"private,omitempty"`
	// The club's member count.
	MemberCount *int32 `json:"member_count,omitempty"`
	// Whether the club is featured or not.
	Featured *bool `json:"featured,omitempty"`
	// Whether the club is verified or not.
	Verified *bool `json:"verified,omitempty"`
	// The club's vanity URL.
	Url *string `json:"url,omitempty"`
}

SummaryClub struct for SummaryClub

func NewSummaryClub

func NewSummaryClub() *SummaryClub

NewSummaryClub instantiates a new SummaryClub object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewSummaryClubWithDefaults

func NewSummaryClubWithDefaults() *SummaryClub

NewSummaryClubWithDefaults instantiates a new SummaryClub object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*SummaryClub) GetActivityTypes

func (o *SummaryClub) GetActivityTypes() []ActivityType

GetActivityTypes returns the ActivityTypes field value if set, zero value otherwise.

func (*SummaryClub) GetActivityTypesOk

func (o *SummaryClub) GetActivityTypesOk() ([]ActivityType, bool)

GetActivityTypesOk returns a tuple with the ActivityTypes field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SummaryClub) GetCity

func (o *SummaryClub) GetCity() string

GetCity returns the City field value if set, zero value otherwise.

func (*SummaryClub) GetCityOk

func (o *SummaryClub) GetCityOk() (*string, bool)

GetCityOk returns a tuple with the City field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SummaryClub) GetCountry

func (o *SummaryClub) GetCountry() string

GetCountry returns the Country field value if set, zero value otherwise.

func (*SummaryClub) GetCountryOk

func (o *SummaryClub) GetCountryOk() (*string, bool)

GetCountryOk returns a tuple with the Country field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SummaryClub) GetCoverPhoto

func (o *SummaryClub) GetCoverPhoto() string

GetCoverPhoto returns the CoverPhoto field value if set, zero value otherwise.

func (*SummaryClub) GetCoverPhotoOk

func (o *SummaryClub) GetCoverPhotoOk() (*string, bool)

GetCoverPhotoOk returns a tuple with the CoverPhoto field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SummaryClub) GetCoverPhotoSmall

func (o *SummaryClub) GetCoverPhotoSmall() string

GetCoverPhotoSmall returns the CoverPhotoSmall field value if set, zero value otherwise.

func (*SummaryClub) GetCoverPhotoSmallOk

func (o *SummaryClub) GetCoverPhotoSmallOk() (*string, bool)

GetCoverPhotoSmallOk returns a tuple with the CoverPhotoSmall field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SummaryClub) GetFeatured

func (o *SummaryClub) GetFeatured() bool

GetFeatured returns the Featured field value if set, zero value otherwise.

func (*SummaryClub) GetFeaturedOk

func (o *SummaryClub) GetFeaturedOk() (*bool, bool)

GetFeaturedOk returns a tuple with the Featured field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SummaryClub) GetId

func (o *SummaryClub) GetId() int64

GetId returns the Id field value if set, zero value otherwise.

func (*SummaryClub) GetIdOk

func (o *SummaryClub) GetIdOk() (*int64, bool)

GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SummaryClub) GetMemberCount

func (o *SummaryClub) GetMemberCount() int32

GetMemberCount returns the MemberCount field value if set, zero value otherwise.

func (*SummaryClub) GetMemberCountOk

func (o *SummaryClub) GetMemberCountOk() (*int32, bool)

GetMemberCountOk returns a tuple with the MemberCount field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SummaryClub) GetName

func (o *SummaryClub) GetName() string

GetName returns the Name field value if set, zero value otherwise.

func (*SummaryClub) GetNameOk

func (o *SummaryClub) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SummaryClub) GetPrivate

func (o *SummaryClub) GetPrivate() bool

GetPrivate returns the Private field value if set, zero value otherwise.

func (*SummaryClub) GetPrivateOk

func (o *SummaryClub) GetPrivateOk() (*bool, bool)

GetPrivateOk returns a tuple with the Private field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SummaryClub) GetProfileMedium

func (o *SummaryClub) GetProfileMedium() string

GetProfileMedium returns the ProfileMedium field value if set, zero value otherwise.

func (*SummaryClub) GetProfileMediumOk

func (o *SummaryClub) GetProfileMediumOk() (*string, bool)

GetProfileMediumOk returns a tuple with the ProfileMedium field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SummaryClub) GetResourceState

func (o *SummaryClub) GetResourceState() int32

GetResourceState returns the ResourceState field value if set, zero value otherwise.

func (*SummaryClub) GetResourceStateOk

func (o *SummaryClub) GetResourceStateOk() (*int32, bool)

GetResourceStateOk returns a tuple with the ResourceState field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SummaryClub) GetSportType

func (o *SummaryClub) GetSportType() string

GetSportType returns the SportType field value if set, zero value otherwise.

func (*SummaryClub) GetSportTypeOk

func (o *SummaryClub) GetSportTypeOk() (*string, bool)

GetSportTypeOk returns a tuple with the SportType field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SummaryClub) GetState

func (o *SummaryClub) GetState() string

GetState returns the State field value if set, zero value otherwise.

func (*SummaryClub) GetStateOk

func (o *SummaryClub) GetStateOk() (*string, bool)

GetStateOk returns a tuple with the State field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SummaryClub) GetUrl

func (o *SummaryClub) GetUrl() string

GetUrl returns the Url field value if set, zero value otherwise.

func (*SummaryClub) GetUrlOk

func (o *SummaryClub) GetUrlOk() (*string, bool)

GetUrlOk returns a tuple with the Url field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SummaryClub) GetVerified

func (o *SummaryClub) GetVerified() bool

GetVerified returns the Verified field value if set, zero value otherwise.

func (*SummaryClub) GetVerifiedOk

func (o *SummaryClub) GetVerifiedOk() (*bool, bool)

GetVerifiedOk returns a tuple with the Verified field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SummaryClub) HasActivityTypes

func (o *SummaryClub) HasActivityTypes() bool

HasActivityTypes returns a boolean if a field has been set.

func (*SummaryClub) HasCity

func (o *SummaryClub) HasCity() bool

HasCity returns a boolean if a field has been set.

func (*SummaryClub) HasCountry

func (o *SummaryClub) HasCountry() bool

HasCountry returns a boolean if a field has been set.

func (*SummaryClub) HasCoverPhoto

func (o *SummaryClub) HasCoverPhoto() bool

HasCoverPhoto returns a boolean if a field has been set.

func (*SummaryClub) HasCoverPhotoSmall

func (o *SummaryClub) HasCoverPhotoSmall() bool

HasCoverPhotoSmall returns a boolean if a field has been set.

func (*SummaryClub) HasFeatured

func (o *SummaryClub) HasFeatured() bool

HasFeatured returns a boolean if a field has been set.

func (*SummaryClub) HasId

func (o *SummaryClub) HasId() bool

HasId returns a boolean if a field has been set.

func (*SummaryClub) HasMemberCount

func (o *SummaryClub) HasMemberCount() bool

HasMemberCount returns a boolean if a field has been set.

func (*SummaryClub) HasName

func (o *SummaryClub) HasName() bool

HasName returns a boolean if a field has been set.

func (*SummaryClub) HasPrivate

func (o *SummaryClub) HasPrivate() bool

HasPrivate returns a boolean if a field has been set.

func (*SummaryClub) HasProfileMedium

func (o *SummaryClub) HasProfileMedium() bool

HasProfileMedium returns a boolean if a field has been set.

func (*SummaryClub) HasResourceState

func (o *SummaryClub) HasResourceState() bool

HasResourceState returns a boolean if a field has been set.

func (*SummaryClub) HasSportType

func (o *SummaryClub) HasSportType() bool

HasSportType returns a boolean if a field has been set.

func (*SummaryClub) HasState

func (o *SummaryClub) HasState() bool

HasState returns a boolean if a field has been set.

func (*SummaryClub) HasUrl

func (o *SummaryClub) HasUrl() bool

HasUrl returns a boolean if a field has been set.

func (*SummaryClub) HasVerified

func (o *SummaryClub) HasVerified() bool

HasVerified returns a boolean if a field has been set.

func (SummaryClub) MarshalJSON

func (o SummaryClub) MarshalJSON() ([]byte, error)

func (*SummaryClub) SetActivityTypes

func (o *SummaryClub) SetActivityTypes(v []ActivityType)

SetActivityTypes gets a reference to the given []ActivityType and assigns it to the ActivityTypes field.

func (*SummaryClub) SetCity

func (o *SummaryClub) SetCity(v string)

SetCity gets a reference to the given string and assigns it to the City field.

func (*SummaryClub) SetCountry

func (o *SummaryClub) SetCountry(v string)

SetCountry gets a reference to the given string and assigns it to the Country field.

func (*SummaryClub) SetCoverPhoto

func (o *SummaryClub) SetCoverPhoto(v string)

SetCoverPhoto gets a reference to the given string and assigns it to the CoverPhoto field.

func (*SummaryClub) SetCoverPhotoSmall

func (o *SummaryClub) SetCoverPhotoSmall(v string)

SetCoverPhotoSmall gets a reference to the given string and assigns it to the CoverPhotoSmall field.

func (*SummaryClub) SetFeatured

func (o *SummaryClub) SetFeatured(v bool)

SetFeatured gets a reference to the given bool and assigns it to the Featured field.

func (*SummaryClub) SetId

func (o *SummaryClub) SetId(v int64)

SetId gets a reference to the given int64 and assigns it to the Id field.

func (*SummaryClub) SetMemberCount

func (o *SummaryClub) SetMemberCount(v int32)

SetMemberCount gets a reference to the given int32 and assigns it to the MemberCount field.

func (*SummaryClub) SetName

func (o *SummaryClub) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

func (*SummaryClub) SetPrivate

func (o *SummaryClub) SetPrivate(v bool)

SetPrivate gets a reference to the given bool and assigns it to the Private field.

func (*SummaryClub) SetProfileMedium

func (o *SummaryClub) SetProfileMedium(v string)

SetProfileMedium gets a reference to the given string and assigns it to the ProfileMedium field.

func (*SummaryClub) SetResourceState

func (o *SummaryClub) SetResourceState(v int32)

SetResourceState gets a reference to the given int32 and assigns it to the ResourceState field.

func (*SummaryClub) SetSportType

func (o *SummaryClub) SetSportType(v string)

SetSportType gets a reference to the given string and assigns it to the SportType field.

func (*SummaryClub) SetState

func (o *SummaryClub) SetState(v string)

SetState gets a reference to the given string and assigns it to the State field.

func (*SummaryClub) SetUrl

func (o *SummaryClub) SetUrl(v string)

SetUrl gets a reference to the given string and assigns it to the Url field.

func (*SummaryClub) SetVerified

func (o *SummaryClub) SetVerified(v bool)

SetVerified gets a reference to the given bool and assigns it to the Verified field.

func (SummaryClub) ToMap

func (o SummaryClub) ToMap() (map[string]interface{}, error)

type SummaryGear

type SummaryGear 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"`
}

SummaryGear struct for SummaryGear

func NewSummaryGear

func NewSummaryGear() *SummaryGear

NewSummaryGear instantiates a new SummaryGear object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewSummaryGearWithDefaults

func NewSummaryGearWithDefaults() *SummaryGear

NewSummaryGearWithDefaults instantiates a new SummaryGear object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*SummaryGear) GetDistance

func (o *SummaryGear) GetDistance() float32

GetDistance returns the Distance field value if set, zero value otherwise.

func (*SummaryGear) GetDistanceOk

func (o *SummaryGear) GetDistanceOk() (*float32, bool)

GetDistanceOk returns a tuple with the Distance field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SummaryGear) GetId

func (o *SummaryGear) GetId() string

GetId returns the Id field value if set, zero value otherwise.

func (*SummaryGear) GetIdOk

func (o *SummaryGear) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SummaryGear) GetName

func (o *SummaryGear) GetName() string

GetName returns the Name field value if set, zero value otherwise.

func (*SummaryGear) GetNameOk

func (o *SummaryGear) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SummaryGear) GetPrimary

func (o *SummaryGear) GetPrimary() bool

GetPrimary returns the Primary field value if set, zero value otherwise.

func (*SummaryGear) GetPrimaryOk

func (o *SummaryGear) GetPrimaryOk() (*bool, bool)

GetPrimaryOk returns a tuple with the Primary field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SummaryGear) GetResourceState

func (o *SummaryGear) GetResourceState() int32

GetResourceState returns the ResourceState field value if set, zero value otherwise.

func (*SummaryGear) GetResourceStateOk

func (o *SummaryGear) GetResourceStateOk() (*int32, bool)

GetResourceStateOk returns a tuple with the ResourceState field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SummaryGear) HasDistance

func (o *SummaryGear) HasDistance() bool

HasDistance returns a boolean if a field has been set.

func (*SummaryGear) HasId

func (o *SummaryGear) HasId() bool

HasId returns a boolean if a field has been set.

func (*SummaryGear) HasName

func (o *SummaryGear) HasName() bool

HasName returns a boolean if a field has been set.

func (*SummaryGear) HasPrimary

func (o *SummaryGear) HasPrimary() bool

HasPrimary returns a boolean if a field has been set.

func (*SummaryGear) HasResourceState

func (o *SummaryGear) HasResourceState() bool

HasResourceState returns a boolean if a field has been set.

func (SummaryGear) MarshalJSON

func (o SummaryGear) MarshalJSON() ([]byte, error)

func (*SummaryGear) SetDistance

func (o *SummaryGear) SetDistance(v float32)

SetDistance gets a reference to the given float32 and assigns it to the Distance field.

func (*SummaryGear) SetId

func (o *SummaryGear) SetId(v string)

SetId gets a reference to the given string and assigns it to the Id field.

func (*SummaryGear) SetName

func (o *SummaryGear) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

func (*SummaryGear) SetPrimary

func (o *SummaryGear) SetPrimary(v bool)

SetPrimary gets a reference to the given bool and assigns it to the Primary field.

func (*SummaryGear) SetResourceState

func (o *SummaryGear) SetResourceState(v int32)

SetResourceState gets a reference to the given int32 and assigns it to the ResourceState field.

func (SummaryGear) ToMap

func (o SummaryGear) ToMap() (map[string]interface{}, error)

type SummaryPRSegmentEffort

type SummaryPRSegmentEffort struct {
	// The unique identifier of the activity related to the PR effort.
	PrActivityId *int64 `json:"pr_activity_id,omitempty"`
	// The elapsed time ot the PR effort.
	PrElapsedTime *int32 `json:"pr_elapsed_time,omitempty"`
	// The time at which the PR effort was started.
	PrDate *time.Time `json:"pr_date,omitempty"`
	// Number of efforts by the authenticated athlete on this segment.
	EffortCount *int32 `json:"effort_count,omitempty"`
}

SummaryPRSegmentEffort struct for SummaryPRSegmentEffort

func NewSummaryPRSegmentEffort

func NewSummaryPRSegmentEffort() *SummaryPRSegmentEffort

NewSummaryPRSegmentEffort instantiates a new SummaryPRSegmentEffort object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewSummaryPRSegmentEffortWithDefaults

func NewSummaryPRSegmentEffortWithDefaults() *SummaryPRSegmentEffort

NewSummaryPRSegmentEffortWithDefaults instantiates a new SummaryPRSegmentEffort object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*SummaryPRSegmentEffort) GetEffortCount

func (o *SummaryPRSegmentEffort) GetEffortCount() int32

GetEffortCount returns the EffortCount field value if set, zero value otherwise.

func (*SummaryPRSegmentEffort) GetEffortCountOk

func (o *SummaryPRSegmentEffort) GetEffortCountOk() (*int32, bool)

GetEffortCountOk returns a tuple with the EffortCount field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SummaryPRSegmentEffort) GetPrActivityId

func (o *SummaryPRSegmentEffort) GetPrActivityId() int64

GetPrActivityId returns the PrActivityId field value if set, zero value otherwise.

func (*SummaryPRSegmentEffort) GetPrActivityIdOk

func (o *SummaryPRSegmentEffort) GetPrActivityIdOk() (*int64, bool)

GetPrActivityIdOk returns a tuple with the PrActivityId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SummaryPRSegmentEffort) GetPrDate

func (o *SummaryPRSegmentEffort) GetPrDate() time.Time

GetPrDate returns the PrDate field value if set, zero value otherwise.

func (*SummaryPRSegmentEffort) GetPrDateOk

func (o *SummaryPRSegmentEffort) GetPrDateOk() (*time.Time, bool)

GetPrDateOk returns a tuple with the PrDate field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SummaryPRSegmentEffort) GetPrElapsedTime

func (o *SummaryPRSegmentEffort) GetPrElapsedTime() int32

GetPrElapsedTime returns the PrElapsedTime field value if set, zero value otherwise.

func (*SummaryPRSegmentEffort) GetPrElapsedTimeOk

func (o *SummaryPRSegmentEffort) GetPrElapsedTimeOk() (*int32, bool)

GetPrElapsedTimeOk returns a tuple with the PrElapsedTime field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SummaryPRSegmentEffort) HasEffortCount

func (o *SummaryPRSegmentEffort) HasEffortCount() bool

HasEffortCount returns a boolean if a field has been set.

func (*SummaryPRSegmentEffort) HasPrActivityId

func (o *SummaryPRSegmentEffort) HasPrActivityId() bool

HasPrActivityId returns a boolean if a field has been set.

func (*SummaryPRSegmentEffort) HasPrDate

func (o *SummaryPRSegmentEffort) HasPrDate() bool

HasPrDate returns a boolean if a field has been set.

func (*SummaryPRSegmentEffort) HasPrElapsedTime

func (o *SummaryPRSegmentEffort) HasPrElapsedTime() bool

HasPrElapsedTime returns a boolean if a field has been set.

func (SummaryPRSegmentEffort) MarshalJSON

func (o SummaryPRSegmentEffort) MarshalJSON() ([]byte, error)

func (*SummaryPRSegmentEffort) SetEffortCount

func (o *SummaryPRSegmentEffort) SetEffortCount(v int32)

SetEffortCount gets a reference to the given int32 and assigns it to the EffortCount field.

func (*SummaryPRSegmentEffort) SetPrActivityId

func (o *SummaryPRSegmentEffort) SetPrActivityId(v int64)

SetPrActivityId gets a reference to the given int64 and assigns it to the PrActivityId field.

func (*SummaryPRSegmentEffort) SetPrDate

func (o *SummaryPRSegmentEffort) SetPrDate(v time.Time)

SetPrDate gets a reference to the given time.Time and assigns it to the PrDate field.

func (*SummaryPRSegmentEffort) SetPrElapsedTime

func (o *SummaryPRSegmentEffort) SetPrElapsedTime(v int32)

SetPrElapsedTime gets a reference to the given int32 and assigns it to the PrElapsedTime field.

func (SummaryPRSegmentEffort) ToMap

func (o SummaryPRSegmentEffort) ToMap() (map[string]interface{}, error)

type SummarySegment

type SummarySegment struct {
	// The unique identifier of this segment
	Id *int64 `json:"id,omitempty"`
	// The name of this segment
	Name         *string `json:"name,omitempty"`
	ActivityType *string `json:"activity_type,omitempty"`
	// The segment's distance, in meters
	Distance *float32 `json:"distance,omitempty"`
	// The segment's average grade, in percents
	AverageGrade *float32 `json:"average_grade,omitempty"`
	// The segments's maximum grade, in percents
	MaximumGrade *float32 `json:"maximum_grade,omitempty"`
	// The segments's highest elevation, in meters
	ElevationHigh *float32 `json:"elevation_high,omitempty"`
	// The segments's lowest elevation, in meters
	ElevationLow *float32 `json:"elevation_low,omitempty"`
	// A pair of latitude/longitude coordinates, represented as an array of 2 floating point numbers.
	StartLatlng []float32 `json:"start_latlng,omitempty"`
	// A pair of latitude/longitude coordinates, represented as an array of 2 floating point numbers.
	EndLatlng []float32 `json:"end_latlng,omitempty"`
	// The category of the climb [0, 5]. Higher is harder ie. 5 is Hors catégorie, 0 is uncategorized in climb_category.
	ClimbCategory *int32 `json:"climb_category,omitempty"`
	// The segments's city.
	City *string `json:"city,omitempty"`
	// The segments's state or geographical region.
	State *string `json:"state,omitempty"`
	// The segment's country.
	Country *string `json:"country,omitempty"`
	// Whether this segment is private.
	Private             *bool                   `json:"private,omitempty"`
	AthletePrEffort     *SummaryPRSegmentEffort `json:"athlete_pr_effort,omitempty"`
	AthleteSegmentStats *SummarySegmentEffort   `json:"athlete_segment_stats,omitempty"`
}

SummarySegment struct for SummarySegment

func NewSummarySegment

func NewSummarySegment() *SummarySegment

NewSummarySegment instantiates a new SummarySegment object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewSummarySegmentWithDefaults

func NewSummarySegmentWithDefaults() *SummarySegment

NewSummarySegmentWithDefaults instantiates a new SummarySegment object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*SummarySegment) GetActivityType

func (o *SummarySegment) GetActivityType() string

GetActivityType returns the ActivityType field value if set, zero value otherwise.

func (*SummarySegment) GetActivityTypeOk

func (o *SummarySegment) GetActivityTypeOk() (*string, bool)

GetActivityTypeOk returns a tuple with the ActivityType field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SummarySegment) GetAthletePrEffort

func (o *SummarySegment) GetAthletePrEffort() SummaryPRSegmentEffort

GetAthletePrEffort returns the AthletePrEffort field value if set, zero value otherwise.

func (*SummarySegment) GetAthletePrEffortOk

func (o *SummarySegment) GetAthletePrEffortOk() (*SummaryPRSegmentEffort, bool)

GetAthletePrEffortOk returns a tuple with the AthletePrEffort field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SummarySegment) GetAthleteSegmentStats

func (o *SummarySegment) GetAthleteSegmentStats() SummarySegmentEffort

GetAthleteSegmentStats returns the AthleteSegmentStats field value if set, zero value otherwise.

func (*SummarySegment) GetAthleteSegmentStatsOk

func (o *SummarySegment) GetAthleteSegmentStatsOk() (*SummarySegmentEffort, bool)

GetAthleteSegmentStatsOk returns a tuple with the AthleteSegmentStats field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SummarySegment) GetAverageGrade

func (o *SummarySegment) GetAverageGrade() float32

GetAverageGrade returns the AverageGrade field value if set, zero value otherwise.

func (*SummarySegment) GetAverageGradeOk

func (o *SummarySegment) GetAverageGradeOk() (*float32, bool)

GetAverageGradeOk returns a tuple with the AverageGrade field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SummarySegment) GetCity

func (o *SummarySegment) GetCity() string

GetCity returns the City field value if set, zero value otherwise.

func (*SummarySegment) GetCityOk

func (o *SummarySegment) GetCityOk() (*string, bool)

GetCityOk returns a tuple with the City field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SummarySegment) GetClimbCategory

func (o *SummarySegment) GetClimbCategory() int32

GetClimbCategory returns the ClimbCategory field value if set, zero value otherwise.

func (*SummarySegment) GetClimbCategoryOk

func (o *SummarySegment) GetClimbCategoryOk() (*int32, bool)

GetClimbCategoryOk returns a tuple with the ClimbCategory field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SummarySegment) GetCountry

func (o *SummarySegment) GetCountry() string

GetCountry returns the Country field value if set, zero value otherwise.

func (*SummarySegment) GetCountryOk

func (o *SummarySegment) GetCountryOk() (*string, bool)

GetCountryOk returns a tuple with the Country field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SummarySegment) GetDistance

func (o *SummarySegment) GetDistance() float32

GetDistance returns the Distance field value if set, zero value otherwise.

func (*SummarySegment) GetDistanceOk

func (o *SummarySegment) GetDistanceOk() (*float32, bool)

GetDistanceOk returns a tuple with the Distance field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SummarySegment) GetElevationHigh

func (o *SummarySegment) GetElevationHigh() float32

GetElevationHigh returns the ElevationHigh field value if set, zero value otherwise.

func (*SummarySegment) GetElevationHighOk

func (o *SummarySegment) GetElevationHighOk() (*float32, bool)

GetElevationHighOk returns a tuple with the ElevationHigh field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SummarySegment) GetElevationLow

func (o *SummarySegment) GetElevationLow() float32

GetElevationLow returns the ElevationLow field value if set, zero value otherwise.

func (*SummarySegment) GetElevationLowOk

func (o *SummarySegment) GetElevationLowOk() (*float32, bool)

GetElevationLowOk returns a tuple with the ElevationLow field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SummarySegment) GetEndLatlng

func (o *SummarySegment) GetEndLatlng() []float32

GetEndLatlng returns the EndLatlng field value if set, zero value otherwise.

func (*SummarySegment) GetEndLatlngOk

func (o *SummarySegment) GetEndLatlngOk() ([]float32, bool)

GetEndLatlngOk returns a tuple with the EndLatlng field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SummarySegment) GetId

func (o *SummarySegment) GetId() int64

GetId returns the Id field value if set, zero value otherwise.

func (*SummarySegment) GetIdOk

func (o *SummarySegment) GetIdOk() (*int64, bool)

GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SummarySegment) GetMaximumGrade

func (o *SummarySegment) GetMaximumGrade() float32

GetMaximumGrade returns the MaximumGrade field value if set, zero value otherwise.

func (*SummarySegment) GetMaximumGradeOk

func (o *SummarySegment) GetMaximumGradeOk() (*float32, bool)

GetMaximumGradeOk returns a tuple with the MaximumGrade field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SummarySegment) GetName

func (o *SummarySegment) GetName() string

GetName returns the Name field value if set, zero value otherwise.

func (*SummarySegment) GetNameOk

func (o *SummarySegment) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SummarySegment) GetPrivate

func (o *SummarySegment) GetPrivate() bool

GetPrivate returns the Private field value if set, zero value otherwise.

func (*SummarySegment) GetPrivateOk

func (o *SummarySegment) GetPrivateOk() (*bool, bool)

GetPrivateOk returns a tuple with the Private field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SummarySegment) GetStartLatlng

func (o *SummarySegment) GetStartLatlng() []float32

GetStartLatlng returns the StartLatlng field value if set, zero value otherwise.

func (*SummarySegment) GetStartLatlngOk

func (o *SummarySegment) GetStartLatlngOk() ([]float32, bool)

GetStartLatlngOk returns a tuple with the StartLatlng field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SummarySegment) GetState

func (o *SummarySegment) GetState() string

GetState returns the State field value if set, zero value otherwise.

func (*SummarySegment) GetStateOk

func (o *SummarySegment) GetStateOk() (*string, bool)

GetStateOk returns a tuple with the State field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SummarySegment) HasActivityType

func (o *SummarySegment) HasActivityType() bool

HasActivityType returns a boolean if a field has been set.

func (*SummarySegment) HasAthletePrEffort

func (o *SummarySegment) HasAthletePrEffort() bool

HasAthletePrEffort returns a boolean if a field has been set.

func (*SummarySegment) HasAthleteSegmentStats

func (o *SummarySegment) HasAthleteSegmentStats() bool

HasAthleteSegmentStats returns a boolean if a field has been set.

func (*SummarySegment) HasAverageGrade

func (o *SummarySegment) HasAverageGrade() bool

HasAverageGrade returns a boolean if a field has been set.

func (*SummarySegment) HasCity

func (o *SummarySegment) HasCity() bool

HasCity returns a boolean if a field has been set.

func (*SummarySegment) HasClimbCategory

func (o *SummarySegment) HasClimbCategory() bool

HasClimbCategory returns a boolean if a field has been set.

func (*SummarySegment) HasCountry

func (o *SummarySegment) HasCountry() bool

HasCountry returns a boolean if a field has been set.

func (*SummarySegment) HasDistance

func (o *SummarySegment) HasDistance() bool

HasDistance returns a boolean if a field has been set.

func (*SummarySegment) HasElevationHigh

func (o *SummarySegment) HasElevationHigh() bool

HasElevationHigh returns a boolean if a field has been set.

func (*SummarySegment) HasElevationLow

func (o *SummarySegment) HasElevationLow() bool

HasElevationLow returns a boolean if a field has been set.

func (*SummarySegment) HasEndLatlng

func (o *SummarySegment) HasEndLatlng() bool

HasEndLatlng returns a boolean if a field has been set.

func (*SummarySegment) HasId

func (o *SummarySegment) HasId() bool

HasId returns a boolean if a field has been set.

func (*SummarySegment) HasMaximumGrade

func (o *SummarySegment) HasMaximumGrade() bool

HasMaximumGrade returns a boolean if a field has been set.

func (*SummarySegment) HasName

func (o *SummarySegment) HasName() bool

HasName returns a boolean if a field has been set.

func (*SummarySegment) HasPrivate

func (o *SummarySegment) HasPrivate() bool

HasPrivate returns a boolean if a field has been set.

func (*SummarySegment) HasStartLatlng

func (o *SummarySegment) HasStartLatlng() bool

HasStartLatlng returns a boolean if a field has been set.

func (*SummarySegment) HasState

func (o *SummarySegment) HasState() bool

HasState returns a boolean if a field has been set.

func (SummarySegment) MarshalJSON

func (o SummarySegment) MarshalJSON() ([]byte, error)

func (*SummarySegment) SetActivityType

func (o *SummarySegment) SetActivityType(v string)

SetActivityType gets a reference to the given string and assigns it to the ActivityType field.

func (*SummarySegment) SetAthletePrEffort

func (o *SummarySegment) SetAthletePrEffort(v SummaryPRSegmentEffort)

SetAthletePrEffort gets a reference to the given SummaryPRSegmentEffort and assigns it to the AthletePrEffort field.

func (*SummarySegment) SetAthleteSegmentStats

func (o *SummarySegment) SetAthleteSegmentStats(v SummarySegmentEffort)

SetAthleteSegmentStats gets a reference to the given SummarySegmentEffort and assigns it to the AthleteSegmentStats field.

func (*SummarySegment) SetAverageGrade

func (o *SummarySegment) SetAverageGrade(v float32)

SetAverageGrade gets a reference to the given float32 and assigns it to the AverageGrade field.

func (*SummarySegment) SetCity

func (o *SummarySegment) SetCity(v string)

SetCity gets a reference to the given string and assigns it to the City field.

func (*SummarySegment) SetClimbCategory

func (o *SummarySegment) SetClimbCategory(v int32)

SetClimbCategory gets a reference to the given int32 and assigns it to the ClimbCategory field.

func (*SummarySegment) SetCountry

func (o *SummarySegment) SetCountry(v string)

SetCountry gets a reference to the given string and assigns it to the Country field.

func (*SummarySegment) SetDistance

func (o *SummarySegment) SetDistance(v float32)

SetDistance gets a reference to the given float32 and assigns it to the Distance field.

func (*SummarySegment) SetElevationHigh

func (o *SummarySegment) SetElevationHigh(v float32)

SetElevationHigh gets a reference to the given float32 and assigns it to the ElevationHigh field.

func (*SummarySegment) SetElevationLow

func (o *SummarySegment) SetElevationLow(v float32)

SetElevationLow gets a reference to the given float32 and assigns it to the ElevationLow field.

func (*SummarySegment) SetEndLatlng

func (o *SummarySegment) SetEndLatlng(v []float32)

SetEndLatlng gets a reference to the given []float32 and assigns it to the EndLatlng field.

func (*SummarySegment) SetId

func (o *SummarySegment) SetId(v int64)

SetId gets a reference to the given int64 and assigns it to the Id field.

func (*SummarySegment) SetMaximumGrade

func (o *SummarySegment) SetMaximumGrade(v float32)

SetMaximumGrade gets a reference to the given float32 and assigns it to the MaximumGrade field.

func (*SummarySegment) SetName

func (o *SummarySegment) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

func (*SummarySegment) SetPrivate

func (o *SummarySegment) SetPrivate(v bool)

SetPrivate gets a reference to the given bool and assigns it to the Private field.

func (*SummarySegment) SetStartLatlng

func (o *SummarySegment) SetStartLatlng(v []float32)

SetStartLatlng gets a reference to the given []float32 and assigns it to the StartLatlng field.

func (*SummarySegment) SetState

func (o *SummarySegment) SetState(v string)

SetState gets a reference to the given string and assigns it to the State field.

func (SummarySegment) ToMap

func (o SummarySegment) ToMap() (map[string]interface{}, error)

type SummarySegmentEffort

type SummarySegmentEffort struct {
	// The unique identifier of this effort
	Id *int64 `json:"id,omitempty"`
	// The unique identifier of the activity related to this effort
	ActivityId *int64 `json:"activity_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"`
}

SummarySegmentEffort struct for SummarySegmentEffort

func NewSummarySegmentEffort

func NewSummarySegmentEffort() *SummarySegmentEffort

NewSummarySegmentEffort instantiates a new SummarySegmentEffort object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewSummarySegmentEffortWithDefaults

func NewSummarySegmentEffortWithDefaults() *SummarySegmentEffort

NewSummarySegmentEffortWithDefaults instantiates a new SummarySegmentEffort object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*SummarySegmentEffort) GetActivityId

func (o *SummarySegmentEffort) GetActivityId() int64

GetActivityId returns the ActivityId field value if set, zero value otherwise.

func (*SummarySegmentEffort) GetActivityIdOk

func (o *SummarySegmentEffort) GetActivityIdOk() (*int64, bool)

GetActivityIdOk returns a tuple with the ActivityId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SummarySegmentEffort) GetDistance

func (o *SummarySegmentEffort) GetDistance() float32

GetDistance returns the Distance field value if set, zero value otherwise.

func (*SummarySegmentEffort) GetDistanceOk

func (o *SummarySegmentEffort) GetDistanceOk() (*float32, bool)

GetDistanceOk returns a tuple with the Distance field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SummarySegmentEffort) GetElapsedTime

func (o *SummarySegmentEffort) GetElapsedTime() int32

GetElapsedTime returns the ElapsedTime field value if set, zero value otherwise.

func (*SummarySegmentEffort) GetElapsedTimeOk

func (o *SummarySegmentEffort) GetElapsedTimeOk() (*int32, bool)

GetElapsedTimeOk returns a tuple with the ElapsedTime field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SummarySegmentEffort) GetId

func (o *SummarySegmentEffort) GetId() int64

GetId returns the Id field value if set, zero value otherwise.

func (*SummarySegmentEffort) GetIdOk

func (o *SummarySegmentEffort) GetIdOk() (*int64, bool)

GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SummarySegmentEffort) GetIsKom

func (o *SummarySegmentEffort) GetIsKom() bool

GetIsKom returns the IsKom field value if set, zero value otherwise.

func (*SummarySegmentEffort) GetIsKomOk

func (o *SummarySegmentEffort) GetIsKomOk() (*bool, bool)

GetIsKomOk returns a tuple with the IsKom field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SummarySegmentEffort) GetStartDate

func (o *SummarySegmentEffort) GetStartDate() time.Time

GetStartDate returns the StartDate field value if set, zero value otherwise.

func (*SummarySegmentEffort) GetStartDateLocal

func (o *SummarySegmentEffort) GetStartDateLocal() time.Time

GetStartDateLocal returns the StartDateLocal field value if set, zero value otherwise.

func (*SummarySegmentEffort) GetStartDateLocalOk

func (o *SummarySegmentEffort) GetStartDateLocalOk() (*time.Time, bool)

GetStartDateLocalOk returns a tuple with the StartDateLocal field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SummarySegmentEffort) GetStartDateOk

func (o *SummarySegmentEffort) GetStartDateOk() (*time.Time, bool)

GetStartDateOk returns a tuple with the StartDate field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SummarySegmentEffort) HasActivityId

func (o *SummarySegmentEffort) HasActivityId() bool

HasActivityId returns a boolean if a field has been set.

func (*SummarySegmentEffort) HasDistance

func (o *SummarySegmentEffort) HasDistance() bool

HasDistance returns a boolean if a field has been set.

func (*SummarySegmentEffort) HasElapsedTime

func (o *SummarySegmentEffort) HasElapsedTime() bool

HasElapsedTime returns a boolean if a field has been set.

func (*SummarySegmentEffort) HasId

func (o *SummarySegmentEffort) HasId() bool

HasId returns a boolean if a field has been set.

func (*SummarySegmentEffort) HasIsKom

func (o *SummarySegmentEffort) HasIsKom() bool

HasIsKom returns a boolean if a field has been set.

func (*SummarySegmentEffort) HasStartDate

func (o *SummarySegmentEffort) HasStartDate() bool

HasStartDate returns a boolean if a field has been set.

func (*SummarySegmentEffort) HasStartDateLocal

func (o *SummarySegmentEffort) HasStartDateLocal() bool

HasStartDateLocal returns a boolean if a field has been set.

func (SummarySegmentEffort) MarshalJSON

func (o SummarySegmentEffort) MarshalJSON() ([]byte, error)

func (*SummarySegmentEffort) SetActivityId

func (o *SummarySegmentEffort) SetActivityId(v int64)

SetActivityId gets a reference to the given int64 and assigns it to the ActivityId field.

func (*SummarySegmentEffort) SetDistance

func (o *SummarySegmentEffort) SetDistance(v float32)

SetDistance gets a reference to the given float32 and assigns it to the Distance field.

func (*SummarySegmentEffort) SetElapsedTime

func (o *SummarySegmentEffort) SetElapsedTime(v int32)

SetElapsedTime gets a reference to the given int32 and assigns it to the ElapsedTime field.

func (*SummarySegmentEffort) SetId

func (o *SummarySegmentEffort) SetId(v int64)

SetId gets a reference to the given int64 and assigns it to the Id field.

func (*SummarySegmentEffort) SetIsKom

func (o *SummarySegmentEffort) SetIsKom(v bool)

SetIsKom gets a reference to the given bool and assigns it to the IsKom field.

func (*SummarySegmentEffort) SetStartDate

func (o *SummarySegmentEffort) SetStartDate(v time.Time)

SetStartDate gets a reference to the given time.Time and assigns it to the StartDate field.

func (*SummarySegmentEffort) SetStartDateLocal

func (o *SummarySegmentEffort) SetStartDateLocal(v time.Time)

SetStartDateLocal gets a reference to the given time.Time and assigns it to the StartDateLocal field.

func (SummarySegmentEffort) ToMap

func (o SummarySegmentEffort) ToMap() (map[string]interface{}, error)

type TemperatureStream

type TemperatureStream struct {
	// The number of data points in this stream
	OriginalSize *int32 `json:"original_size,omitempty"`
	// The level of detail (sampling) in which this stream was returned
	Resolution *string `json:"resolution,omitempty"`
	// The base series used in the case the stream was downsampled
	SeriesType *string `json:"series_type,omitempty"`
	// The sequence of temperature values for this stream, in celsius degrees
	Data []int32 `json:"data,omitempty"`
}

TemperatureStream struct for TemperatureStream

func NewTemperatureStream

func NewTemperatureStream() *TemperatureStream

NewTemperatureStream instantiates a new TemperatureStream object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewTemperatureStreamWithDefaults

func NewTemperatureStreamWithDefaults() *TemperatureStream

NewTemperatureStreamWithDefaults instantiates a new TemperatureStream object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*TemperatureStream) GetData

func (o *TemperatureStream) GetData() []int32

GetData returns the Data field value if set, zero value otherwise.

func (*TemperatureStream) GetDataOk

func (o *TemperatureStream) GetDataOk() ([]int32, bool)

GetDataOk returns a tuple with the Data field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TemperatureStream) GetOriginalSize

func (o *TemperatureStream) GetOriginalSize() int32

GetOriginalSize returns the OriginalSize field value if set, zero value otherwise.

func (*TemperatureStream) GetOriginalSizeOk

func (o *TemperatureStream) GetOriginalSizeOk() (*int32, bool)

GetOriginalSizeOk returns a tuple with the OriginalSize field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TemperatureStream) GetResolution

func (o *TemperatureStream) GetResolution() string

GetResolution returns the Resolution field value if set, zero value otherwise.

func (*TemperatureStream) GetResolutionOk

func (o *TemperatureStream) GetResolutionOk() (*string, bool)

GetResolutionOk returns a tuple with the Resolution field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TemperatureStream) GetSeriesType

func (o *TemperatureStream) GetSeriesType() string

GetSeriesType returns the SeriesType field value if set, zero value otherwise.

func (*TemperatureStream) GetSeriesTypeOk

func (o *TemperatureStream) GetSeriesTypeOk() (*string, bool)

GetSeriesTypeOk returns a tuple with the SeriesType field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TemperatureStream) HasData

func (o *TemperatureStream) HasData() bool

HasData returns a boolean if a field has been set.

func (*TemperatureStream) HasOriginalSize

func (o *TemperatureStream) HasOriginalSize() bool

HasOriginalSize returns a boolean if a field has been set.

func (*TemperatureStream) HasResolution

func (o *TemperatureStream) HasResolution() bool

HasResolution returns a boolean if a field has been set.

func (*TemperatureStream) HasSeriesType

func (o *TemperatureStream) HasSeriesType() bool

HasSeriesType returns a boolean if a field has been set.

func (TemperatureStream) MarshalJSON

func (o TemperatureStream) MarshalJSON() ([]byte, error)

func (*TemperatureStream) SetData

func (o *TemperatureStream) SetData(v []int32)

SetData gets a reference to the given []int32 and assigns it to the Data field.

func (*TemperatureStream) SetOriginalSize

func (o *TemperatureStream) SetOriginalSize(v int32)

SetOriginalSize gets a reference to the given int32 and assigns it to the OriginalSize field.

func (*TemperatureStream) SetResolution

func (o *TemperatureStream) SetResolution(v string)

SetResolution gets a reference to the given string and assigns it to the Resolution field.

func (*TemperatureStream) SetSeriesType

func (o *TemperatureStream) SetSeriesType(v string)

SetSeriesType gets a reference to the given string and assigns it to the SeriesType field.

func (TemperatureStream) ToMap

func (o TemperatureStream) ToMap() (map[string]interface{}, error)

type TimeStream

type TimeStream struct {
	// The number of data points in this stream
	OriginalSize *int32 `json:"original_size,omitempty"`
	// The level of detail (sampling) in which this stream was returned
	Resolution *string `json:"resolution,omitempty"`
	// The base series used in the case the stream was downsampled
	SeriesType *string `json:"series_type,omitempty"`
	// The sequence of time values for this stream, in seconds
	Data []int32 `json:"data,omitempty"`
}

TimeStream struct for TimeStream

func NewTimeStream

func NewTimeStream() *TimeStream

NewTimeStream instantiates a new TimeStream object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewTimeStreamWithDefaults

func NewTimeStreamWithDefaults() *TimeStream

NewTimeStreamWithDefaults instantiates a new TimeStream object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*TimeStream) GetData

func (o *TimeStream) GetData() []int32

GetData returns the Data field value if set, zero value otherwise.

func (*TimeStream) GetDataOk

func (o *TimeStream) GetDataOk() ([]int32, bool)

GetDataOk returns a tuple with the Data field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TimeStream) GetOriginalSize

func (o *TimeStream) GetOriginalSize() int32

GetOriginalSize returns the OriginalSize field value if set, zero value otherwise.

func (*TimeStream) GetOriginalSizeOk

func (o *TimeStream) GetOriginalSizeOk() (*int32, bool)

GetOriginalSizeOk returns a tuple with the OriginalSize field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TimeStream) GetResolution

func (o *TimeStream) GetResolution() string

GetResolution returns the Resolution field value if set, zero value otherwise.

func (*TimeStream) GetResolutionOk

func (o *TimeStream) GetResolutionOk() (*string, bool)

GetResolutionOk returns a tuple with the Resolution field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TimeStream) GetSeriesType

func (o *TimeStream) GetSeriesType() string

GetSeriesType returns the SeriesType field value if set, zero value otherwise.

func (*TimeStream) GetSeriesTypeOk

func (o *TimeStream) GetSeriesTypeOk() (*string, bool)

GetSeriesTypeOk returns a tuple with the SeriesType field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TimeStream) HasData

func (o *TimeStream) HasData() bool

HasData returns a boolean if a field has been set.

func (*TimeStream) HasOriginalSize

func (o *TimeStream) HasOriginalSize() bool

HasOriginalSize returns a boolean if a field has been set.

func (*TimeStream) HasResolution

func (o *TimeStream) HasResolution() bool

HasResolution returns a boolean if a field has been set.

func (*TimeStream) HasSeriesType

func (o *TimeStream) HasSeriesType() bool

HasSeriesType returns a boolean if a field has been set.

func (TimeStream) MarshalJSON

func (o TimeStream) MarshalJSON() ([]byte, error)

func (*TimeStream) SetData

func (o *TimeStream) SetData(v []int32)

SetData gets a reference to the given []int32 and assigns it to the Data field.

func (*TimeStream) SetOriginalSize

func (o *TimeStream) SetOriginalSize(v int32)

SetOriginalSize gets a reference to the given int32 and assigns it to the OriginalSize field.

func (*TimeStream) SetResolution

func (o *TimeStream) SetResolution(v string)

SetResolution gets a reference to the given string and assigns it to the Resolution field.

func (*TimeStream) SetSeriesType

func (o *TimeStream) SetSeriesType(v string)

SetSeriesType gets a reference to the given string and assigns it to the SeriesType field.

func (TimeStream) ToMap

func (o TimeStream) ToMap() (map[string]interface{}, error)

type TimedZoneRange

type TimedZoneRange struct {
	// The minimum value in the range.
	Min *int32 `json:"min,omitempty"`
	// The maximum value in the range.
	Max *int32 `json:"max,omitempty"`
	// The number of seconds spent in this zone
	Time *int32 `json:"time,omitempty"`
}

TimedZoneRange A union type representing the time spent in a given zone.

func NewTimedZoneRange

func NewTimedZoneRange() *TimedZoneRange

NewTimedZoneRange instantiates a new TimedZoneRange object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewTimedZoneRangeWithDefaults

func NewTimedZoneRangeWithDefaults() *TimedZoneRange

NewTimedZoneRangeWithDefaults instantiates a new TimedZoneRange object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*TimedZoneRange) GetMax

func (o *TimedZoneRange) GetMax() int32

GetMax returns the Max field value if set, zero value otherwise.

func (*TimedZoneRange) GetMaxOk

func (o *TimedZoneRange) GetMaxOk() (*int32, bool)

GetMaxOk returns a tuple with the Max field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TimedZoneRange) GetMin

func (o *TimedZoneRange) GetMin() int32

GetMin returns the Min field value if set, zero value otherwise.

func (*TimedZoneRange) GetMinOk

func (o *TimedZoneRange) GetMinOk() (*int32, bool)

GetMinOk returns a tuple with the Min field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TimedZoneRange) GetTime

func (o *TimedZoneRange) GetTime() int32

GetTime returns the Time field value if set, zero value otherwise.

func (*TimedZoneRange) GetTimeOk

func (o *TimedZoneRange) GetTimeOk() (*int32, bool)

GetTimeOk returns a tuple with the Time field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TimedZoneRange) HasMax

func (o *TimedZoneRange) HasMax() bool

HasMax returns a boolean if a field has been set.

func (*TimedZoneRange) HasMin

func (o *TimedZoneRange) HasMin() bool

HasMin returns a boolean if a field has been set.

func (*TimedZoneRange) HasTime

func (o *TimedZoneRange) HasTime() bool

HasTime returns a boolean if a field has been set.

func (TimedZoneRange) MarshalJSON

func (o TimedZoneRange) MarshalJSON() ([]byte, error)

func (*TimedZoneRange) SetMax

func (o *TimedZoneRange) SetMax(v int32)

SetMax gets a reference to the given int32 and assigns it to the Max field.

func (*TimedZoneRange) SetMin

func (o *TimedZoneRange) SetMin(v int32)

SetMin gets a reference to the given int32 and assigns it to the Min field.

func (*TimedZoneRange) SetTime

func (o *TimedZoneRange) SetTime(v int32)

SetTime gets a reference to the given int32 and assigns it to the Time field.

func (TimedZoneRange) ToMap

func (o TimedZoneRange) ToMap() (map[string]interface{}, error)

type UpdatableActivity

type UpdatableActivity struct {
	// Whether this activity is a commute
	Commute *bool `json:"commute,omitempty"`
	// Whether this activity was recorded on a training machine
	Trainer *bool `json:"trainer,omitempty"`
	// Whether this activity is muted
	HideFromHome *bool `json:"hide_from_home,omitempty"`
	// The description of the activity
	Description *string `json:"description,omitempty"`
	// The name of the activity
	Name      *string       `json:"name,omitempty"`
	Type      *ActivityType `json:"type,omitempty"`
	SportType *SportType    `json:"sport_type,omitempty"`
	// Identifier for the gear associated with the activity. ‘none’ clears gear from activity
	GearId *string `json:"gear_id,omitempty"`
}

UpdatableActivity struct for UpdatableActivity

func NewUpdatableActivity

func NewUpdatableActivity() *UpdatableActivity

NewUpdatableActivity instantiates a new UpdatableActivity object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewUpdatableActivityWithDefaults

func NewUpdatableActivityWithDefaults() *UpdatableActivity

NewUpdatableActivityWithDefaults instantiates a new UpdatableActivity object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*UpdatableActivity) GetCommute

func (o *UpdatableActivity) GetCommute() bool

GetCommute returns the Commute field value if set, zero value otherwise.

func (*UpdatableActivity) GetCommuteOk

func (o *UpdatableActivity) GetCommuteOk() (*bool, bool)

GetCommuteOk returns a tuple with the Commute field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UpdatableActivity) GetDescription

func (o *UpdatableActivity) GetDescription() string

GetDescription returns the Description field value if set, zero value otherwise.

func (*UpdatableActivity) GetDescriptionOk

func (o *UpdatableActivity) GetDescriptionOk() (*string, bool)

GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UpdatableActivity) GetGearId

func (o *UpdatableActivity) GetGearId() string

GetGearId returns the GearId field value if set, zero value otherwise.

func (*UpdatableActivity) GetGearIdOk

func (o *UpdatableActivity) GetGearIdOk() (*string, bool)

GetGearIdOk returns a tuple with the GearId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UpdatableActivity) GetHideFromHome

func (o *UpdatableActivity) GetHideFromHome() bool

GetHideFromHome returns the HideFromHome field value if set, zero value otherwise.

func (*UpdatableActivity) GetHideFromHomeOk

func (o *UpdatableActivity) GetHideFromHomeOk() (*bool, bool)

GetHideFromHomeOk returns a tuple with the HideFromHome field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UpdatableActivity) GetName

func (o *UpdatableActivity) GetName() string

GetName returns the Name field value if set, zero value otherwise.

func (*UpdatableActivity) GetNameOk

func (o *UpdatableActivity) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UpdatableActivity) GetSportType

func (o *UpdatableActivity) GetSportType() SportType

GetSportType returns the SportType field value if set, zero value otherwise.

func (*UpdatableActivity) GetSportTypeOk

func (o *UpdatableActivity) GetSportTypeOk() (*SportType, bool)

GetSportTypeOk returns a tuple with the SportType field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UpdatableActivity) GetTrainer

func (o *UpdatableActivity) GetTrainer() bool

GetTrainer returns the Trainer field value if set, zero value otherwise.

func (*UpdatableActivity) GetTrainerOk

func (o *UpdatableActivity) GetTrainerOk() (*bool, bool)

GetTrainerOk returns a tuple with the Trainer field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UpdatableActivity) GetType

func (o *UpdatableActivity) GetType() ActivityType

GetType returns the Type field value if set, zero value otherwise.

func (*UpdatableActivity) GetTypeOk

func (o *UpdatableActivity) GetTypeOk() (*ActivityType, bool)

GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UpdatableActivity) HasCommute

func (o *UpdatableActivity) HasCommute() bool

HasCommute returns a boolean if a field has been set.

func (*UpdatableActivity) HasDescription

func (o *UpdatableActivity) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*UpdatableActivity) HasGearId

func (o *UpdatableActivity) HasGearId() bool

HasGearId returns a boolean if a field has been set.

func (*UpdatableActivity) HasHideFromHome

func (o *UpdatableActivity) HasHideFromHome() bool

HasHideFromHome returns a boolean if a field has been set.

func (*UpdatableActivity) HasName

func (o *UpdatableActivity) HasName() bool

HasName returns a boolean if a field has been set.

func (*UpdatableActivity) HasSportType

func (o *UpdatableActivity) HasSportType() bool

HasSportType returns a boolean if a field has been set.

func (*UpdatableActivity) HasTrainer

func (o *UpdatableActivity) HasTrainer() bool

HasTrainer returns a boolean if a field has been set.

func (*UpdatableActivity) HasType

func (o *UpdatableActivity) HasType() bool

HasType returns a boolean if a field has been set.

func (UpdatableActivity) MarshalJSON

func (o UpdatableActivity) MarshalJSON() ([]byte, error)

func (*UpdatableActivity) SetCommute

func (o *UpdatableActivity) SetCommute(v bool)

SetCommute gets a reference to the given bool and assigns it to the Commute field.

func (*UpdatableActivity) SetDescription

func (o *UpdatableActivity) SetDescription(v string)

SetDescription gets a reference to the given string and assigns it to the Description field.

func (*UpdatableActivity) SetGearId

func (o *UpdatableActivity) SetGearId(v string)

SetGearId gets a reference to the given string and assigns it to the GearId field.

func (*UpdatableActivity) SetHideFromHome

func (o *UpdatableActivity) SetHideFromHome(v bool)

SetHideFromHome gets a reference to the given bool and assigns it to the HideFromHome field.

func (*UpdatableActivity) SetName

func (o *UpdatableActivity) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

func (*UpdatableActivity) SetSportType

func (o *UpdatableActivity) SetSportType(v SportType)

SetSportType gets a reference to the given SportType and assigns it to the SportType field.

func (*UpdatableActivity) SetTrainer

func (o *UpdatableActivity) SetTrainer(v bool)

SetTrainer gets a reference to the given bool and assigns it to the Trainer field.

func (*UpdatableActivity) SetType

func (o *UpdatableActivity) SetType(v ActivityType)

SetType gets a reference to the given ActivityType and assigns it to the Type field.

func (UpdatableActivity) ToMap

func (o UpdatableActivity) ToMap() (map[string]interface{}, error)

type Upload

type Upload struct {
	// The unique identifier of the upload
	Id *int64 `json:"id,omitempty"`
	// The unique identifier of the upload in string format
	IdStr *string `json:"id_str,omitempty"`
	// The external identifier of the upload
	ExternalId *string `json:"external_id,omitempty"`
	// The error associated with this upload
	Error *string `json:"error,omitempty"`
	// The status of this upload
	Status *string `json:"status,omitempty"`
	// The identifier of the activity this upload resulted into
	ActivityId *int64 `json:"activity_id,omitempty"`
}

Upload struct for Upload

func NewUpload

func NewUpload() *Upload

NewUpload instantiates a new Upload object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewUploadWithDefaults

func NewUploadWithDefaults() *Upload

NewUploadWithDefaults instantiates a new Upload object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*Upload) GetActivityId

func (o *Upload) GetActivityId() int64

GetActivityId returns the ActivityId field value if set, zero value otherwise.

func (*Upload) GetActivityIdOk

func (o *Upload) GetActivityIdOk() (*int64, bool)

GetActivityIdOk returns a tuple with the ActivityId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Upload) GetError

func (o *Upload) GetError() string

GetError returns the Error field value if set, zero value otherwise.

func (*Upload) GetErrorOk

func (o *Upload) GetErrorOk() (*string, bool)

GetErrorOk returns a tuple with the Error field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Upload) GetExternalId

func (o *Upload) GetExternalId() string

GetExternalId returns the ExternalId field value if set, zero value otherwise.

func (*Upload) GetExternalIdOk

func (o *Upload) GetExternalIdOk() (*string, bool)

GetExternalIdOk returns a tuple with the ExternalId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Upload) GetId

func (o *Upload) GetId() int64

GetId returns the Id field value if set, zero value otherwise.

func (*Upload) GetIdOk

func (o *Upload) GetIdOk() (*int64, bool)

GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Upload) GetIdStr

func (o *Upload) GetIdStr() string

GetIdStr returns the IdStr field value if set, zero value otherwise.

func (*Upload) GetIdStrOk

func (o *Upload) GetIdStrOk() (*string, bool)

GetIdStrOk returns a tuple with the IdStr field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Upload) GetStatus

func (o *Upload) GetStatus() string

GetStatus returns the Status field value if set, zero value otherwise.

func (*Upload) GetStatusOk

func (o *Upload) GetStatusOk() (*string, bool)

GetStatusOk returns a tuple with the Status field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Upload) HasActivityId

func (o *Upload) HasActivityId() bool

HasActivityId returns a boolean if a field has been set.

func (*Upload) HasError

func (o *Upload) HasError() bool

HasError returns a boolean if a field has been set.

func (*Upload) HasExternalId

func (o *Upload) HasExternalId() bool

HasExternalId returns a boolean if a field has been set.

func (*Upload) HasId

func (o *Upload) HasId() bool

HasId returns a boolean if a field has been set.

func (*Upload) HasIdStr

func (o *Upload) HasIdStr() bool

HasIdStr returns a boolean if a field has been set.

func (*Upload) HasStatus

func (o *Upload) HasStatus() bool

HasStatus returns a boolean if a field has been set.

func (Upload) MarshalJSON

func (o Upload) MarshalJSON() ([]byte, error)

func (*Upload) SetActivityId

func (o *Upload) SetActivityId(v int64)

SetActivityId gets a reference to the given int64 and assigns it to the ActivityId field.

func (*Upload) SetError

func (o *Upload) SetError(v string)

SetError gets a reference to the given string and assigns it to the Error field.

func (*Upload) SetExternalId

func (o *Upload) SetExternalId(v string)

SetExternalId gets a reference to the given string and assigns it to the ExternalId field.

func (*Upload) SetId

func (o *Upload) SetId(v int64)

SetId gets a reference to the given int64 and assigns it to the Id field.

func (*Upload) SetIdStr

func (o *Upload) SetIdStr(v string)

SetIdStr gets a reference to the given string and assigns it to the IdStr field.

func (*Upload) SetStatus

func (o *Upload) SetStatus(v string)

SetStatus gets a reference to the given string and assigns it to the Status field.

func (Upload) ToMap

func (o Upload) ToMap() (map[string]interface{}, error)

type UploadsAPIService

type UploadsAPIService service

UploadsAPIService UploadsAPI service

func (*UploadsAPIService) CreateUpload

CreateUpload Upload Activity

Uploads a new data file to create an activity from. Requires activity:write scope.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiCreateUploadRequest

func (*UploadsAPIService) CreateUploadExecute

func (a *UploadsAPIService) CreateUploadExecute(r ApiCreateUploadRequest) (*Upload, *http.Response, error)

Execute executes the request

@return Upload

func (*UploadsAPIService) GetUploadById

func (a *UploadsAPIService) GetUploadById(ctx context.Context, uploadId int64) ApiGetUploadByIdRequest

GetUploadById Get Upload

Returns an upload for a given identifier. Requires activity:write scope.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param uploadId The identifier of the upload.
@return ApiGetUploadByIdRequest

func (*UploadsAPIService) GetUploadByIdExecute

func (a *UploadsAPIService) GetUploadByIdExecute(r ApiGetUploadByIdRequest) (*Upload, *http.Response, error)

Execute executes the request

@return Upload

type ZoneRange

type ZoneRange struct {
	// The minimum value in the range.
	Min *int32 `json:"min,omitempty"`
	// The maximum value in the range.
	Max *int32 `json:"max,omitempty"`
}

ZoneRange struct for ZoneRange

func NewZoneRange

func NewZoneRange() *ZoneRange

NewZoneRange instantiates a new ZoneRange object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewZoneRangeWithDefaults

func NewZoneRangeWithDefaults() *ZoneRange

NewZoneRangeWithDefaults instantiates a new ZoneRange object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*ZoneRange) GetMax

func (o *ZoneRange) GetMax() int32

GetMax returns the Max field value if set, zero value otherwise.

func (*ZoneRange) GetMaxOk

func (o *ZoneRange) GetMaxOk() (*int32, bool)

GetMaxOk returns a tuple with the Max field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ZoneRange) GetMin

func (o *ZoneRange) GetMin() int32

GetMin returns the Min field value if set, zero value otherwise.

func (*ZoneRange) GetMinOk

func (o *ZoneRange) GetMinOk() (*int32, bool)

GetMinOk returns a tuple with the Min field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ZoneRange) HasMax

func (o *ZoneRange) HasMax() bool

HasMax returns a boolean if a field has been set.

func (*ZoneRange) HasMin

func (o *ZoneRange) HasMin() bool

HasMin returns a boolean if a field has been set.

func (ZoneRange) MarshalJSON

func (o ZoneRange) MarshalJSON() ([]byte, error)

func (*ZoneRange) SetMax

func (o *ZoneRange) SetMax(v int32)

SetMax gets a reference to the given int32 and assigns it to the Max field.

func (*ZoneRange) SetMin

func (o *ZoneRange) SetMin(v int32)

SetMin gets a reference to the given int32 and assigns it to the Min field.

func (ZoneRange) ToMap

func (o ZoneRange) ToMap() (map[string]interface{}, error)

type Zones

type Zones struct {
	HeartRate *HeartRateZoneRanges `json:"heart_rate,omitempty"`
	Power     *PowerZoneRanges     `json:"power,omitempty"`
}

Zones struct for Zones

func NewZones

func NewZones() *Zones

NewZones instantiates a new Zones object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewZonesWithDefaults

func NewZonesWithDefaults() *Zones

NewZonesWithDefaults instantiates a new Zones object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*Zones) GetHeartRate

func (o *Zones) GetHeartRate() HeartRateZoneRanges

GetHeartRate returns the HeartRate field value if set, zero value otherwise.

func (*Zones) GetHeartRateOk

func (o *Zones) GetHeartRateOk() (*HeartRateZoneRanges, bool)

GetHeartRateOk returns a tuple with the HeartRate field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Zones) GetPower

func (o *Zones) GetPower() PowerZoneRanges

GetPower returns the Power field value if set, zero value otherwise.

func (*Zones) GetPowerOk

func (o *Zones) GetPowerOk() (*PowerZoneRanges, bool)

GetPowerOk returns a tuple with the Power field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Zones) HasHeartRate

func (o *Zones) HasHeartRate() bool

HasHeartRate returns a boolean if a field has been set.

func (*Zones) HasPower

func (o *Zones) HasPower() bool

HasPower returns a boolean if a field has been set.

func (Zones) MarshalJSON

func (o Zones) MarshalJSON() ([]byte, error)

func (*Zones) SetHeartRate

func (o *Zones) SetHeartRate(v HeartRateZoneRanges)

SetHeartRate gets a reference to the given HeartRateZoneRanges and assigns it to the HeartRate field.

func (*Zones) SetPower

func (o *Zones) SetPower(v PowerZoneRanges)

SetPower gets a reference to the given PowerZoneRanges and assigns it to the Power field.

func (Zones) ToMap

func (o Zones) ToMap() (map[string]interface{}, error)

Source Files

Directories

Path Synopsis
examples

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL