Structures
The following structures are available globally.
-
Undocumented
See moreDeclaration
Swift
public struct Activity : Searchable, Hashable -
Undocumented
See moreDeclaration
Swift
public struct DataFileUploadContext : JSONEncodedBody -
Undocumented
See moreDeclaration
Swift
public struct DataFileUploadIndex : Searchable -
Undocumented
See moreDeclaration
Swift
public struct UserHeadunit : Searchable -
Undocumented
See moreDeclaration
Swift
public struct UserIntensityZone : Searchable -
Undocumented
See moreDeclaration
Swift
public struct UserIntensityZoneRange : Searchable -
Undocumented
See moreDeclaration
Swift
public struct UserPowerMeter : Searchable -
Undocumented
See moreDeclaration
Swift
public struct UserWorkoutDetails : Searchable -
This is a view object related to activity data. It has a lot of possible fields, but most are only populated if a specific field is requested via the Activities API.
Some fields are also sport specific - and will only be set on activities of the relevant sport type.
See moreDeclaration
Swift
public struct UserWorkoutResult : Searchable -
Altitude adjusted power
See moreDeclaration
Swift
public struct UserWorkoutResultAlt : Searchable -
Undocumented
See moreDeclaration
Swift
public struct UserWorkoutResultBike : Searchable -
By hour averages
See moreDeclaration
Swift
public struct UserWorkoutResultByHour : Searchable -
Undocumented
See moreDeclaration
Swift
public struct UserWorkoutResultChannel : Searchable -
Extended result set
See moreDeclaration
Swift
public struct UserWorkoutResultExt : Searchable -
Undocumented
See moreDeclaration
Swift
public struct UserWorkoutResultExt2 : Searchable -
Peak leg spring stiffness
See moreDeclaration
Swift
public struct UserWorkoutResultPeakLss : Searchable -
Peak pace
See moreDeclaration
Swift
public struct UserWorkoutResultPeakPace : Searchable -
Rating of a prescribed workout
See moreDeclaration
Swift
public struct UserWorkoutResultRating : Searchable -
Undocumented
See moreDeclaration
Swift
public struct UserWorkoutResultTurbo : Searchable -
Undocumented
See moreDeclaration
Swift
public struct UserWorkoutResultTurboExt : Searchable -
Undocumented
See moreDeclaration
Swift
public struct Company : Codable -
Undocumented
See moreDeclaration
Swift
public struct PaymentVerification : JSONEncodedBody, Codable -
Undocumented
See moreDeclaration
Swift
public struct Products : Codable, JSONEncodedBody -
Undocumented
See moreDeclaration
Swift
public struct UserRoute : Searchable, JSONEncodedBody -
Undocumented
See moreDeclaration
Swift
public struct DateRange : Codable -
Undocumented
Declaration
Swift
public struct DayRange : Encodable -
Representation of time as milliseconds.
On its own, a
See moreMillisecondsvalue does not represent a unique point in time, or a span between times.Declaration
Swift
public struct Milliseconds : RawRepresentable, Hashable, CustomStringConvertibleextension Milliseconds: ExpressibleByIntegerLiteralextension Milliseconds: SignedNumeric, Strideable, Equatable, Comparableextension Milliseconds: Codable -
A structure that defines an ordering to be applied when returning a list of results.
See moreDeclaration
Swift
public struct Order : Codable -
Undocumented
See moreDeclaration
Swift
public struct SearchInput<Criteria> : JSONEncodedBody where Criteria : SearchInputCriteria -
This is derived from the original VTeamMultiRidePeriod impl - it is used on aggregate reporting focused endpoints
See moreDeclaration
Swift
public struct SearchInputReport : JSONEncodedBody, SearchInputCriteria -
A collection of results for a search request.
See moreDeclaration
Swift
public struct SearchResult<Result> where Result : Decodableextension SearchResult: RandomAccessCollectionextension SearchResult: CustomDebugStringConvertibleextension SearchResult: Decodable -
A Search criteria for user routes.
See moreDeclaration
Swift
public struct UserRouteSearch : SearchInputCriteria -
Undocumented
See moreDeclaration
Swift
public struct UserWorkoutFileSearch : SearchInputCriteria -
Returned by /rest/auth/terms/required
See moreDeclaration
Swift
public struct TermsAndConditions : Codable, JSONEncodedBody -
Undocumented
See moreDeclaration
Swift
public struct UpdatedTerms : Codable, JSONEncodedBody -
Undocumented
See moreDeclaration
Swift
public struct PushRegistration : Codable, JSONEncodedBody -
Response to ThirdPartyConnectionsView.registerDeviceWithThirdParty
See moreDeclaration
Swift
public struct PushRegistrationResponse : Codable -
Response from ThirdPartyConnectionsView.initializeThirdPartyConnection
See moreDeclaration
Swift
public struct ThirdPartyInitializeResponse : Codable -
Response to zone5.thirdPartyConnections.getDeprecated()
See moreDeclaration
Swift
public struct UpgradeAvailableResponse : Codable -
Undocumented
See moreDeclaration
Swift
public struct StringEncodedBody : JSONEncodedBody -
Parameters that may be encoded as a URL query string, i.e.
key=value&otherKey=otherValue.This structure can be used all request types. For requests that can take a request body (i.e. POST), the output of the
See moreencodedData()method is used. In instances where this is not the case, thedescriptionis appended to the endpoint URL as a query string.Declaration
Swift
public struct URLEncodedBody : RequestBody, CustomStringConvertible, ExpressibleByArrayLiteral, ExpressibleByDictionaryLiteral -
Undocumented
See moreDeclaration
Swift
public struct LoginResponse : Codable -
OAuth token model returned by the server for accessToken requests and refreshAccessToken requests They are also constructed from LoginResponse These may be legacy TP OAuth tokens (which will not have a refreshToken) or a Cognito token. Cognito tokens will have refreshToken and expiresIn set
See moreDeclaration
Swift
public struct OAuthToken : Codable, Equatable, AccessToken -
OAuth token model returned by the server for gigya refresh token requests These OAuth tokens are Gigya tokens
See moreDeclaration
Swift
@available(*, deprecated, message: "Gigya is no longer supported. Use OAuthToken") public struct OAuthTokenAlt : Codable, AccessToken -
Undocumented
See moreDeclaration
Swift
public struct RegisterUser : Codable, JSONEncodedBody -
Model object representing a User
See moreDeclaration
Swift
public struct User : Searchable, JSONEncodedBody -
Undocumented
See moreDeclaration
Swift
public struct UserThresholdHeart : Searchable -
Undocumented
See moreDeclaration
Swift
public struct UserThresholdPace : Searchable -
Undocumented
See moreDeclaration
Swift
public struct UserThresholdPower : Searchable -
Undocumented
See moreDeclaration
Swift
public struct UsersPreferences : Codable, JSONEncodedBody
View on GitHub
Structures Reference