Documentation
¶
Index ¶
- func WithContentTypeApplicationJSON(r *runtime.ClientOperation)
- func WithContentTypeMultipartFormData(r *runtime.ClientOperation)
- type Client
- func (a *Client) GetLoggedInAthlete(params *GetLoggedInAthleteParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetLoggedInAthleteOK, error)
- func (a *Client) GetLoggedInAthleteZones(params *GetLoggedInAthleteZonesParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetLoggedInAthleteZonesOK, error)
- func (a *Client) GetStats(params *GetStatsParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetStatsOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) UpdateLoggedInAthlete(params *UpdateLoggedInAthleteParams, authInfo runtime.ClientAuthInfoWriter, ...) (*UpdateLoggedInAthleteOK, error)
- type ClientOption
- type ClientService
- type GetLoggedInAthleteDefault
- func (o *GetLoggedInAthleteDefault) Code() int
- func (o *GetLoggedInAthleteDefault) Error() string
- func (o *GetLoggedInAthleteDefault) GetPayload() *models.Fault
- func (o *GetLoggedInAthleteDefault) IsClientError() bool
- func (o *GetLoggedInAthleteDefault) IsCode(code int) bool
- func (o *GetLoggedInAthleteDefault) IsRedirect() bool
- func (o *GetLoggedInAthleteDefault) IsServerError() bool
- func (o *GetLoggedInAthleteDefault) IsSuccess() bool
- func (o *GetLoggedInAthleteDefault) String() string
- type GetLoggedInAthleteOK
- func (o *GetLoggedInAthleteOK) Code() int
- func (o *GetLoggedInAthleteOK) Error() string
- func (o *GetLoggedInAthleteOK) GetPayload() *models.DetailedAthlete
- func (o *GetLoggedInAthleteOK) IsClientError() bool
- func (o *GetLoggedInAthleteOK) IsCode(code int) bool
- func (o *GetLoggedInAthleteOK) IsRedirect() bool
- func (o *GetLoggedInAthleteOK) IsServerError() bool
- func (o *GetLoggedInAthleteOK) IsSuccess() bool
- func (o *GetLoggedInAthleteOK) String() string
- type GetLoggedInAthleteParams
- func NewGetLoggedInAthleteParams() *GetLoggedInAthleteParams
- func NewGetLoggedInAthleteParamsWithContext(ctx context.Context) *GetLoggedInAthleteParams
- func NewGetLoggedInAthleteParamsWithHTTPClient(client *http.Client) *GetLoggedInAthleteParams
- func NewGetLoggedInAthleteParamsWithTimeout(timeout time.Duration) *GetLoggedInAthleteParams
- func (o *GetLoggedInAthleteParams) SetContext(ctx context.Context)
- func (o *GetLoggedInAthleteParams) SetDefaults()
- func (o *GetLoggedInAthleteParams) SetHTTPClient(client *http.Client)
- func (o *GetLoggedInAthleteParams) SetTimeout(timeout time.Duration)
- func (o *GetLoggedInAthleteParams) WithContext(ctx context.Context) *GetLoggedInAthleteParams
- func (o *GetLoggedInAthleteParams) WithDefaults() *GetLoggedInAthleteParams
- func (o *GetLoggedInAthleteParams) WithHTTPClient(client *http.Client) *GetLoggedInAthleteParams
- func (o *GetLoggedInAthleteParams) WithTimeout(timeout time.Duration) *GetLoggedInAthleteParams
- func (o *GetLoggedInAthleteParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetLoggedInAthleteReader
- type GetLoggedInAthleteZonesDefault
- func (o *GetLoggedInAthleteZonesDefault) Code() int
- func (o *GetLoggedInAthleteZonesDefault) Error() string
- func (o *GetLoggedInAthleteZonesDefault) GetPayload() *models.Fault
- func (o *GetLoggedInAthleteZonesDefault) IsClientError() bool
- func (o *GetLoggedInAthleteZonesDefault) IsCode(code int) bool
- func (o *GetLoggedInAthleteZonesDefault) IsRedirect() bool
- func (o *GetLoggedInAthleteZonesDefault) IsServerError() bool
- func (o *GetLoggedInAthleteZonesDefault) IsSuccess() bool
- func (o *GetLoggedInAthleteZonesDefault) String() string
- type GetLoggedInAthleteZonesOK
- func (o *GetLoggedInAthleteZonesOK) Code() int
- func (o *GetLoggedInAthleteZonesOK) Error() string
- func (o *GetLoggedInAthleteZonesOK) GetPayload() *models.Zones
- func (o *GetLoggedInAthleteZonesOK) IsClientError() bool
- func (o *GetLoggedInAthleteZonesOK) IsCode(code int) bool
- func (o *GetLoggedInAthleteZonesOK) IsRedirect() bool
- func (o *GetLoggedInAthleteZonesOK) IsServerError() bool
- func (o *GetLoggedInAthleteZonesOK) IsSuccess() bool
- func (o *GetLoggedInAthleteZonesOK) String() string
- type GetLoggedInAthleteZonesParams
- func NewGetLoggedInAthleteZonesParams() *GetLoggedInAthleteZonesParams
- func NewGetLoggedInAthleteZonesParamsWithContext(ctx context.Context) *GetLoggedInAthleteZonesParams
- func NewGetLoggedInAthleteZonesParamsWithHTTPClient(client *http.Client) *GetLoggedInAthleteZonesParams
- func NewGetLoggedInAthleteZonesParamsWithTimeout(timeout time.Duration) *GetLoggedInAthleteZonesParams
- func (o *GetLoggedInAthleteZonesParams) SetContext(ctx context.Context)
- func (o *GetLoggedInAthleteZonesParams) SetDefaults()
- func (o *GetLoggedInAthleteZonesParams) SetHTTPClient(client *http.Client)
- func (o *GetLoggedInAthleteZonesParams) SetTimeout(timeout time.Duration)
- func (o *GetLoggedInAthleteZonesParams) WithContext(ctx context.Context) *GetLoggedInAthleteZonesParams
- func (o *GetLoggedInAthleteZonesParams) WithDefaults() *GetLoggedInAthleteZonesParams
- func (o *GetLoggedInAthleteZonesParams) WithHTTPClient(client *http.Client) *GetLoggedInAthleteZonesParams
- func (o *GetLoggedInAthleteZonesParams) WithTimeout(timeout time.Duration) *GetLoggedInAthleteZonesParams
- func (o *GetLoggedInAthleteZonesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetLoggedInAthleteZonesReader
- type GetStatsDefault
- func (o *GetStatsDefault) Code() int
- func (o *GetStatsDefault) Error() string
- func (o *GetStatsDefault) GetPayload() *models.Fault
- func (o *GetStatsDefault) IsClientError() bool
- func (o *GetStatsDefault) IsCode(code int) bool
- func (o *GetStatsDefault) IsRedirect() bool
- func (o *GetStatsDefault) IsServerError() bool
- func (o *GetStatsDefault) IsSuccess() bool
- func (o *GetStatsDefault) String() string
- type GetStatsOK
- func (o *GetStatsOK) Code() int
- func (o *GetStatsOK) Error() string
- func (o *GetStatsOK) GetPayload() *models.ActivityStats
- func (o *GetStatsOK) IsClientError() bool
- func (o *GetStatsOK) IsCode(code int) bool
- func (o *GetStatsOK) IsRedirect() bool
- func (o *GetStatsOK) IsServerError() bool
- func (o *GetStatsOK) IsSuccess() bool
- func (o *GetStatsOK) String() string
- type GetStatsParams
- func (o *GetStatsParams) SetContext(ctx context.Context)
- func (o *GetStatsParams) SetDefaults()
- func (o *GetStatsParams) SetHTTPClient(client *http.Client)
- func (o *GetStatsParams) SetID(id int64)
- func (o *GetStatsParams) SetTimeout(timeout time.Duration)
- func (o *GetStatsParams) WithContext(ctx context.Context) *GetStatsParams
- func (o *GetStatsParams) WithDefaults() *GetStatsParams
- func (o *GetStatsParams) WithHTTPClient(client *http.Client) *GetStatsParams
- func (o *GetStatsParams) WithID(id int64) *GetStatsParams
- func (o *GetStatsParams) WithTimeout(timeout time.Duration) *GetStatsParams
- func (o *GetStatsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetStatsReader
- type UpdateLoggedInAthleteDefault
- func (o *UpdateLoggedInAthleteDefault) Code() int
- func (o *UpdateLoggedInAthleteDefault) Error() string
- func (o *UpdateLoggedInAthleteDefault) GetPayload() *models.Fault
- func (o *UpdateLoggedInAthleteDefault) IsClientError() bool
- func (o *UpdateLoggedInAthleteDefault) IsCode(code int) bool
- func (o *UpdateLoggedInAthleteDefault) IsRedirect() bool
- func (o *UpdateLoggedInAthleteDefault) IsServerError() bool
- func (o *UpdateLoggedInAthleteDefault) IsSuccess() bool
- func (o *UpdateLoggedInAthleteDefault) String() string
- type UpdateLoggedInAthleteOK
- func (o *UpdateLoggedInAthleteOK) Code() int
- func (o *UpdateLoggedInAthleteOK) Error() string
- func (o *UpdateLoggedInAthleteOK) GetPayload() *models.DetailedAthlete
- func (o *UpdateLoggedInAthleteOK) IsClientError() bool
- func (o *UpdateLoggedInAthleteOK) IsCode(code int) bool
- func (o *UpdateLoggedInAthleteOK) IsRedirect() bool
- func (o *UpdateLoggedInAthleteOK) IsServerError() bool
- func (o *UpdateLoggedInAthleteOK) IsSuccess() bool
- func (o *UpdateLoggedInAthleteOK) String() string
- type UpdateLoggedInAthleteParams
- func NewUpdateLoggedInAthleteParams() *UpdateLoggedInAthleteParams
- func NewUpdateLoggedInAthleteParamsWithContext(ctx context.Context) *UpdateLoggedInAthleteParams
- func NewUpdateLoggedInAthleteParamsWithHTTPClient(client *http.Client) *UpdateLoggedInAthleteParams
- func NewUpdateLoggedInAthleteParamsWithTimeout(timeout time.Duration) *UpdateLoggedInAthleteParams
- func (o *UpdateLoggedInAthleteParams) SetContext(ctx context.Context)
- func (o *UpdateLoggedInAthleteParams) SetDefaults()
- func (o *UpdateLoggedInAthleteParams) SetHTTPClient(client *http.Client)
- func (o *UpdateLoggedInAthleteParams) SetTimeout(timeout time.Duration)
- func (o *UpdateLoggedInAthleteParams) SetWeight(weight float32)
- func (o *UpdateLoggedInAthleteParams) WithContext(ctx context.Context) *UpdateLoggedInAthleteParams
- func (o *UpdateLoggedInAthleteParams) WithDefaults() *UpdateLoggedInAthleteParams
- func (o *UpdateLoggedInAthleteParams) WithHTTPClient(client *http.Client) *UpdateLoggedInAthleteParams
- func (o *UpdateLoggedInAthleteParams) WithTimeout(timeout time.Duration) *UpdateLoggedInAthleteParams
- func (o *UpdateLoggedInAthleteParams) WithWeight(weight float32) *UpdateLoggedInAthleteParams
- func (o *UpdateLoggedInAthleteParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateLoggedInAthleteReader
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func WithContentTypeApplicationJSON ¶ added in v0.1.0
func WithContentTypeApplicationJSON(r *runtime.ClientOperation)
WithContentTypeApplicationJSON sets the Content-Type header to "application/json".
func WithContentTypeMultipartFormData ¶ added in v0.1.0
func WithContentTypeMultipartFormData(r *runtime.ClientOperation)
WithContentTypeMultipartFormData sets the Content-Type header to "multipart/form-data".
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for athletes API
func (*Client) GetLoggedInAthlete ¶
func (a *Client) GetLoggedInAthlete(params *GetLoggedInAthleteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetLoggedInAthleteOK, error)
GetLoggedInAthlete gets 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.
func (*Client) GetLoggedInAthleteZones ¶
func (a *Client) GetLoggedInAthleteZones(params *GetLoggedInAthleteZonesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetLoggedInAthleteZonesOK, error)
GetLoggedInAthleteZones gets zones
Returns the the authenticated athlete's heart rate and power zones. Requires profile:read_all.
func (*Client) GetStats ¶
func (a *Client) GetStats(params *GetStatsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetStatsOK, error)
GetStats gets athlete stats
Returns the activity stats of an athlete. Only includes data from activities set to Everyone visibilty.
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) UpdateLoggedInAthlete ¶
func (a *Client) UpdateLoggedInAthlete(params *UpdateLoggedInAthleteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateLoggedInAthleteOK, error)
UpdateLoggedInAthlete updates athlete
Update the currently authenticated athlete. Requires profile:write scope.
type ClientOption ¶
type ClientOption func(*runtime.ClientOperation)
ClientOption may be used to customize the behavior of Client methods.
func WithContentType ¶ added in v0.1.0
func WithContentType(mime string) ClientOption
WithContentType allows the client to force the Content-Type header to negotiate a specific Consumer from the server.
You may use this option to set arbitrary extensions to your MIME media type.
type ClientService ¶
type ClientService interface { GetLoggedInAthlete(params *GetLoggedInAthleteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetLoggedInAthleteOK, error) GetLoggedInAthleteZones(params *GetLoggedInAthleteZonesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetLoggedInAthleteZonesOK, error) GetStats(params *GetStatsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetStatsOK, error) UpdateLoggedInAthlete(params *UpdateLoggedInAthleteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateLoggedInAthleteOK, error) SetTransport(transport runtime.ClientTransport) }
ClientService is the interface for Client methods
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) ClientService
New creates a new athletes API client.
func NewClientWithBasicAuth ¶ added in v0.1.0
func NewClientWithBasicAuth(host, basePath, scheme, user, password string) ClientService
New creates a new athletes API client with basic auth credentials. It takes the following parameters: - host: http host (github.com). - basePath: any base path for the API client ("/v1", "/v3"). - scheme: http scheme ("http", "https"). - user: user for basic authentication header. - password: password for basic authentication header.
func NewClientWithBearerToken ¶ added in v0.1.0
func NewClientWithBearerToken(host, basePath, scheme, bearerToken string) ClientService
New creates a new athletes API client with a bearer token for authentication. It takes the following parameters: - host: http host (github.com). - basePath: any base path for the API client ("/v1", "/v3"). - scheme: http scheme ("http", "https"). - bearerToken: bearer token for Bearer authentication header.
type GetLoggedInAthleteDefault ¶
type GetLoggedInAthleteDefault struct { Payload *models.Fault // contains filtered or unexported fields }
GetLoggedInAthleteDefault describes a response with status code -1, with default header values.
Unexpected error.
func NewGetLoggedInAthleteDefault ¶
func NewGetLoggedInAthleteDefault(code int) *GetLoggedInAthleteDefault
NewGetLoggedInAthleteDefault creates a GetLoggedInAthleteDefault with default headers values
func (*GetLoggedInAthleteDefault) Code ¶
func (o *GetLoggedInAthleteDefault) Code() int
Code gets the status code for the get logged in athlete default response
func (*GetLoggedInAthleteDefault) Error ¶
func (o *GetLoggedInAthleteDefault) Error() string
func (*GetLoggedInAthleteDefault) GetPayload ¶
func (o *GetLoggedInAthleteDefault) GetPayload() *models.Fault
func (*GetLoggedInAthleteDefault) IsClientError ¶ added in v0.0.5
func (o *GetLoggedInAthleteDefault) IsClientError() bool
IsClientError returns true when this get logged in athlete default response has a 4xx status code
func (*GetLoggedInAthleteDefault) IsCode ¶ added in v0.0.5
func (o *GetLoggedInAthleteDefault) IsCode(code int) bool
IsCode returns true when this get logged in athlete default response a status code equal to that given
func (*GetLoggedInAthleteDefault) IsRedirect ¶ added in v0.0.5
func (o *GetLoggedInAthleteDefault) IsRedirect() bool
IsRedirect returns true when this get logged in athlete default response has a 3xx status code
func (*GetLoggedInAthleteDefault) IsServerError ¶ added in v0.0.5
func (o *GetLoggedInAthleteDefault) IsServerError() bool
IsServerError returns true when this get logged in athlete default response has a 5xx status code
func (*GetLoggedInAthleteDefault) IsSuccess ¶ added in v0.0.5
func (o *GetLoggedInAthleteDefault) IsSuccess() bool
IsSuccess returns true when this get logged in athlete default response has a 2xx status code
func (*GetLoggedInAthleteDefault) String ¶ added in v0.0.5
func (o *GetLoggedInAthleteDefault) String() string
type GetLoggedInAthleteOK ¶
type GetLoggedInAthleteOK struct {
Payload *models.DetailedAthlete
}
GetLoggedInAthleteOK describes a response with status code 200, with default header values.
Profile information for the authenticated athlete.
func NewGetLoggedInAthleteOK ¶
func NewGetLoggedInAthleteOK() *GetLoggedInAthleteOK
NewGetLoggedInAthleteOK creates a GetLoggedInAthleteOK with default headers values
func (*GetLoggedInAthleteOK) Code ¶ added in v0.0.7
func (o *GetLoggedInAthleteOK) Code() int
Code gets the status code for the get logged in athlete o k response
func (*GetLoggedInAthleteOK) Error ¶
func (o *GetLoggedInAthleteOK) Error() string
func (*GetLoggedInAthleteOK) GetPayload ¶
func (o *GetLoggedInAthleteOK) GetPayload() *models.DetailedAthlete
func (*GetLoggedInAthleteOK) IsClientError ¶ added in v0.0.5
func (o *GetLoggedInAthleteOK) IsClientError() bool
IsClientError returns true when this get logged in athlete o k response has a 4xx status code
func (*GetLoggedInAthleteOK) IsCode ¶ added in v0.0.5
func (o *GetLoggedInAthleteOK) IsCode(code int) bool
IsCode returns true when this get logged in athlete o k response a status code equal to that given
func (*GetLoggedInAthleteOK) IsRedirect ¶ added in v0.0.5
func (o *GetLoggedInAthleteOK) IsRedirect() bool
IsRedirect returns true when this get logged in athlete o k response has a 3xx status code
func (*GetLoggedInAthleteOK) IsServerError ¶ added in v0.0.5
func (o *GetLoggedInAthleteOK) IsServerError() bool
IsServerError returns true when this get logged in athlete o k response has a 5xx status code
func (*GetLoggedInAthleteOK) IsSuccess ¶ added in v0.0.5
func (o *GetLoggedInAthleteOK) IsSuccess() bool
IsSuccess returns true when this get logged in athlete o k response has a 2xx status code
func (*GetLoggedInAthleteOK) String ¶ added in v0.0.5
func (o *GetLoggedInAthleteOK) String() string
type GetLoggedInAthleteParams ¶
type GetLoggedInAthleteParams struct { Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetLoggedInAthleteParams contains all the parameters to send to the API endpoint
for the get logged in athlete operation. Typically these are written to a http.Request.
func NewGetLoggedInAthleteParams ¶
func NewGetLoggedInAthleteParams() *GetLoggedInAthleteParams
NewGetLoggedInAthleteParams creates a new GetLoggedInAthleteParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewGetLoggedInAthleteParamsWithContext ¶
func NewGetLoggedInAthleteParamsWithContext(ctx context.Context) *GetLoggedInAthleteParams
NewGetLoggedInAthleteParamsWithContext creates a new GetLoggedInAthleteParams object with the ability to set a context for a request.
func NewGetLoggedInAthleteParamsWithHTTPClient ¶
func NewGetLoggedInAthleteParamsWithHTTPClient(client *http.Client) *GetLoggedInAthleteParams
NewGetLoggedInAthleteParamsWithHTTPClient creates a new GetLoggedInAthleteParams object with the ability to set a custom HTTPClient for a request.
func NewGetLoggedInAthleteParamsWithTimeout ¶
func NewGetLoggedInAthleteParamsWithTimeout(timeout time.Duration) *GetLoggedInAthleteParams
NewGetLoggedInAthleteParamsWithTimeout creates a new GetLoggedInAthleteParams object with the ability to set a timeout on a request.
func (*GetLoggedInAthleteParams) SetContext ¶
func (o *GetLoggedInAthleteParams) SetContext(ctx context.Context)
SetContext adds the context to the get logged in athlete params
func (*GetLoggedInAthleteParams) SetDefaults ¶
func (o *GetLoggedInAthleteParams) SetDefaults()
SetDefaults hydrates default values in the get logged in athlete params (not the query body).
All values with no default are reset to their zero value.
func (*GetLoggedInAthleteParams) SetHTTPClient ¶
func (o *GetLoggedInAthleteParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get logged in athlete params
func (*GetLoggedInAthleteParams) SetTimeout ¶
func (o *GetLoggedInAthleteParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get logged in athlete params
func (*GetLoggedInAthleteParams) WithContext ¶
func (o *GetLoggedInAthleteParams) WithContext(ctx context.Context) *GetLoggedInAthleteParams
WithContext adds the context to the get logged in athlete params
func (*GetLoggedInAthleteParams) WithDefaults ¶
func (o *GetLoggedInAthleteParams) WithDefaults() *GetLoggedInAthleteParams
WithDefaults hydrates default values in the get logged in athlete params (not the query body).
All values with no default are reset to their zero value.
func (*GetLoggedInAthleteParams) WithHTTPClient ¶
func (o *GetLoggedInAthleteParams) WithHTTPClient(client *http.Client) *GetLoggedInAthleteParams
WithHTTPClient adds the HTTPClient to the get logged in athlete params
func (*GetLoggedInAthleteParams) WithTimeout ¶
func (o *GetLoggedInAthleteParams) WithTimeout(timeout time.Duration) *GetLoggedInAthleteParams
WithTimeout adds the timeout to the get logged in athlete params
func (*GetLoggedInAthleteParams) WriteToRequest ¶
func (o *GetLoggedInAthleteParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetLoggedInAthleteReader ¶
type GetLoggedInAthleteReader struct {
// contains filtered or unexported fields
}
GetLoggedInAthleteReader is a Reader for the GetLoggedInAthlete structure.
func (*GetLoggedInAthleteReader) ReadResponse ¶
func (o *GetLoggedInAthleteReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetLoggedInAthleteZonesDefault ¶
type GetLoggedInAthleteZonesDefault struct { Payload *models.Fault // contains filtered or unexported fields }
GetLoggedInAthleteZonesDefault describes a response with status code -1, with default header values.
Unexpected error.
func NewGetLoggedInAthleteZonesDefault ¶
func NewGetLoggedInAthleteZonesDefault(code int) *GetLoggedInAthleteZonesDefault
NewGetLoggedInAthleteZonesDefault creates a GetLoggedInAthleteZonesDefault with default headers values
func (*GetLoggedInAthleteZonesDefault) Code ¶
func (o *GetLoggedInAthleteZonesDefault) Code() int
Code gets the status code for the get logged in athlete zones default response
func (*GetLoggedInAthleteZonesDefault) Error ¶
func (o *GetLoggedInAthleteZonesDefault) Error() string
func (*GetLoggedInAthleteZonesDefault) GetPayload ¶
func (o *GetLoggedInAthleteZonesDefault) GetPayload() *models.Fault
func (*GetLoggedInAthleteZonesDefault) IsClientError ¶ added in v0.0.5
func (o *GetLoggedInAthleteZonesDefault) IsClientError() bool
IsClientError returns true when this get logged in athlete zones default response has a 4xx status code
func (*GetLoggedInAthleteZonesDefault) IsCode ¶ added in v0.0.5
func (o *GetLoggedInAthleteZonesDefault) IsCode(code int) bool
IsCode returns true when this get logged in athlete zones default response a status code equal to that given
func (*GetLoggedInAthleteZonesDefault) IsRedirect ¶ added in v0.0.5
func (o *GetLoggedInAthleteZonesDefault) IsRedirect() bool
IsRedirect returns true when this get logged in athlete zones default response has a 3xx status code
func (*GetLoggedInAthleteZonesDefault) IsServerError ¶ added in v0.0.5
func (o *GetLoggedInAthleteZonesDefault) IsServerError() bool
IsServerError returns true when this get logged in athlete zones default response has a 5xx status code
func (*GetLoggedInAthleteZonesDefault) IsSuccess ¶ added in v0.0.5
func (o *GetLoggedInAthleteZonesDefault) IsSuccess() bool
IsSuccess returns true when this get logged in athlete zones default response has a 2xx status code
func (*GetLoggedInAthleteZonesDefault) String ¶ added in v0.0.5
func (o *GetLoggedInAthleteZonesDefault) String() string
type GetLoggedInAthleteZonesOK ¶
GetLoggedInAthleteZonesOK describes a response with status code 200, with default header values.
Heart rate and power zones.
func NewGetLoggedInAthleteZonesOK ¶
func NewGetLoggedInAthleteZonesOK() *GetLoggedInAthleteZonesOK
NewGetLoggedInAthleteZonesOK creates a GetLoggedInAthleteZonesOK with default headers values
func (*GetLoggedInAthleteZonesOK) Code ¶ added in v0.0.7
func (o *GetLoggedInAthleteZonesOK) Code() int
Code gets the status code for the get logged in athlete zones o k response
func (*GetLoggedInAthleteZonesOK) Error ¶
func (o *GetLoggedInAthleteZonesOK) Error() string
func (*GetLoggedInAthleteZonesOK) GetPayload ¶
func (o *GetLoggedInAthleteZonesOK) GetPayload() *models.Zones
func (*GetLoggedInAthleteZonesOK) IsClientError ¶ added in v0.0.5
func (o *GetLoggedInAthleteZonesOK) IsClientError() bool
IsClientError returns true when this get logged in athlete zones o k response has a 4xx status code
func (*GetLoggedInAthleteZonesOK) IsCode ¶ added in v0.0.5
func (o *GetLoggedInAthleteZonesOK) IsCode(code int) bool
IsCode returns true when this get logged in athlete zones o k response a status code equal to that given
func (*GetLoggedInAthleteZonesOK) IsRedirect ¶ added in v0.0.5
func (o *GetLoggedInAthleteZonesOK) IsRedirect() bool
IsRedirect returns true when this get logged in athlete zones o k response has a 3xx status code
func (*GetLoggedInAthleteZonesOK) IsServerError ¶ added in v0.0.5
func (o *GetLoggedInAthleteZonesOK) IsServerError() bool
IsServerError returns true when this get logged in athlete zones o k response has a 5xx status code
func (*GetLoggedInAthleteZonesOK) IsSuccess ¶ added in v0.0.5
func (o *GetLoggedInAthleteZonesOK) IsSuccess() bool
IsSuccess returns true when this get logged in athlete zones o k response has a 2xx status code
func (*GetLoggedInAthleteZonesOK) String ¶ added in v0.0.5
func (o *GetLoggedInAthleteZonesOK) String() string
type GetLoggedInAthleteZonesParams ¶
type GetLoggedInAthleteZonesParams struct { Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetLoggedInAthleteZonesParams contains all the parameters to send to the API endpoint
for the get logged in athlete zones operation. Typically these are written to a http.Request.
func NewGetLoggedInAthleteZonesParams ¶
func NewGetLoggedInAthleteZonesParams() *GetLoggedInAthleteZonesParams
NewGetLoggedInAthleteZonesParams creates a new GetLoggedInAthleteZonesParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewGetLoggedInAthleteZonesParamsWithContext ¶
func NewGetLoggedInAthleteZonesParamsWithContext(ctx context.Context) *GetLoggedInAthleteZonesParams
NewGetLoggedInAthleteZonesParamsWithContext creates a new GetLoggedInAthleteZonesParams object with the ability to set a context for a request.
func NewGetLoggedInAthleteZonesParamsWithHTTPClient ¶
func NewGetLoggedInAthleteZonesParamsWithHTTPClient(client *http.Client) *GetLoggedInAthleteZonesParams
NewGetLoggedInAthleteZonesParamsWithHTTPClient creates a new GetLoggedInAthleteZonesParams object with the ability to set a custom HTTPClient for a request.
func NewGetLoggedInAthleteZonesParamsWithTimeout ¶
func NewGetLoggedInAthleteZonesParamsWithTimeout(timeout time.Duration) *GetLoggedInAthleteZonesParams
NewGetLoggedInAthleteZonesParamsWithTimeout creates a new GetLoggedInAthleteZonesParams object with the ability to set a timeout on a request.
func (*GetLoggedInAthleteZonesParams) SetContext ¶
func (o *GetLoggedInAthleteZonesParams) SetContext(ctx context.Context)
SetContext adds the context to the get logged in athlete zones params
func (*GetLoggedInAthleteZonesParams) SetDefaults ¶
func (o *GetLoggedInAthleteZonesParams) SetDefaults()
SetDefaults hydrates default values in the get logged in athlete zones params (not the query body).
All values with no default are reset to their zero value.
func (*GetLoggedInAthleteZonesParams) SetHTTPClient ¶
func (o *GetLoggedInAthleteZonesParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get logged in athlete zones params
func (*GetLoggedInAthleteZonesParams) SetTimeout ¶
func (o *GetLoggedInAthleteZonesParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get logged in athlete zones params
func (*GetLoggedInAthleteZonesParams) WithContext ¶
func (o *GetLoggedInAthleteZonesParams) WithContext(ctx context.Context) *GetLoggedInAthleteZonesParams
WithContext adds the context to the get logged in athlete zones params
func (*GetLoggedInAthleteZonesParams) WithDefaults ¶
func (o *GetLoggedInAthleteZonesParams) WithDefaults() *GetLoggedInAthleteZonesParams
WithDefaults hydrates default values in the get logged in athlete zones params (not the query body).
All values with no default are reset to their zero value.
func (*GetLoggedInAthleteZonesParams) WithHTTPClient ¶
func (o *GetLoggedInAthleteZonesParams) WithHTTPClient(client *http.Client) *GetLoggedInAthleteZonesParams
WithHTTPClient adds the HTTPClient to the get logged in athlete zones params
func (*GetLoggedInAthleteZonesParams) WithTimeout ¶
func (o *GetLoggedInAthleteZonesParams) WithTimeout(timeout time.Duration) *GetLoggedInAthleteZonesParams
WithTimeout adds the timeout to the get logged in athlete zones params
func (*GetLoggedInAthleteZonesParams) WriteToRequest ¶
func (o *GetLoggedInAthleteZonesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetLoggedInAthleteZonesReader ¶
type GetLoggedInAthleteZonesReader struct {
// contains filtered or unexported fields
}
GetLoggedInAthleteZonesReader is a Reader for the GetLoggedInAthleteZones structure.
func (*GetLoggedInAthleteZonesReader) ReadResponse ¶
func (o *GetLoggedInAthleteZonesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetStatsDefault ¶
GetStatsDefault describes a response with status code -1, with default header values.
Unexpected error.
func NewGetStatsDefault ¶
func NewGetStatsDefault(code int) *GetStatsDefault
NewGetStatsDefault creates a GetStatsDefault with default headers values
func (*GetStatsDefault) Code ¶
func (o *GetStatsDefault) Code() int
Code gets the status code for the get stats default response
func (*GetStatsDefault) Error ¶
func (o *GetStatsDefault) Error() string
func (*GetStatsDefault) GetPayload ¶
func (o *GetStatsDefault) GetPayload() *models.Fault
func (*GetStatsDefault) IsClientError ¶ added in v0.0.5
func (o *GetStatsDefault) IsClientError() bool
IsClientError returns true when this get stats default response has a 4xx status code
func (*GetStatsDefault) IsCode ¶ added in v0.0.5
func (o *GetStatsDefault) IsCode(code int) bool
IsCode returns true when this get stats default response a status code equal to that given
func (*GetStatsDefault) IsRedirect ¶ added in v0.0.5
func (o *GetStatsDefault) IsRedirect() bool
IsRedirect returns true when this get stats default response has a 3xx status code
func (*GetStatsDefault) IsServerError ¶ added in v0.0.5
func (o *GetStatsDefault) IsServerError() bool
IsServerError returns true when this get stats default response has a 5xx status code
func (*GetStatsDefault) IsSuccess ¶ added in v0.0.5
func (o *GetStatsDefault) IsSuccess() bool
IsSuccess returns true when this get stats default response has a 2xx status code
func (*GetStatsDefault) String ¶ added in v0.0.5
func (o *GetStatsDefault) String() string
type GetStatsOK ¶
type GetStatsOK struct {
Payload *models.ActivityStats
}
GetStatsOK describes a response with status code 200, with default header values.
Activity stats of the athlete.
func NewGetStatsOK ¶
func NewGetStatsOK() *GetStatsOK
NewGetStatsOK creates a GetStatsOK with default headers values
func (*GetStatsOK) Code ¶ added in v0.0.7
func (o *GetStatsOK) Code() int
Code gets the status code for the get stats o k response
func (*GetStatsOK) Error ¶
func (o *GetStatsOK) Error() string
func (*GetStatsOK) GetPayload ¶
func (o *GetStatsOK) GetPayload() *models.ActivityStats
func (*GetStatsOK) IsClientError ¶ added in v0.0.5
func (o *GetStatsOK) IsClientError() bool
IsClientError returns true when this get stats o k response has a 4xx status code
func (*GetStatsOK) IsCode ¶ added in v0.0.5
func (o *GetStatsOK) IsCode(code int) bool
IsCode returns true when this get stats o k response a status code equal to that given
func (*GetStatsOK) IsRedirect ¶ added in v0.0.5
func (o *GetStatsOK) IsRedirect() bool
IsRedirect returns true when this get stats o k response has a 3xx status code
func (*GetStatsOK) IsServerError ¶ added in v0.0.5
func (o *GetStatsOK) IsServerError() bool
IsServerError returns true when this get stats o k response has a 5xx status code
func (*GetStatsOK) IsSuccess ¶ added in v0.0.5
func (o *GetStatsOK) IsSuccess() bool
IsSuccess returns true when this get stats o k response has a 2xx status code
func (*GetStatsOK) String ¶ added in v0.0.5
func (o *GetStatsOK) String() string
type GetStatsParams ¶
type GetStatsParams struct { /* ID. The identifier of the athlete. Must match the authenticated athlete. Format: int64 */ ID int64 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetStatsParams contains all the parameters to send to the API endpoint
for the get stats operation. Typically these are written to a http.Request.
func NewGetStatsParams ¶
func NewGetStatsParams() *GetStatsParams
NewGetStatsParams creates a new GetStatsParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewGetStatsParamsWithContext ¶
func NewGetStatsParamsWithContext(ctx context.Context) *GetStatsParams
NewGetStatsParamsWithContext creates a new GetStatsParams object with the ability to set a context for a request.
func NewGetStatsParamsWithHTTPClient ¶
func NewGetStatsParamsWithHTTPClient(client *http.Client) *GetStatsParams
NewGetStatsParamsWithHTTPClient creates a new GetStatsParams object with the ability to set a custom HTTPClient for a request.
func NewGetStatsParamsWithTimeout ¶
func NewGetStatsParamsWithTimeout(timeout time.Duration) *GetStatsParams
NewGetStatsParamsWithTimeout creates a new GetStatsParams object with the ability to set a timeout on a request.
func (*GetStatsParams) SetContext ¶
func (o *GetStatsParams) SetContext(ctx context.Context)
SetContext adds the context to the get stats params
func (*GetStatsParams) SetDefaults ¶
func (o *GetStatsParams) SetDefaults()
SetDefaults hydrates default values in the get stats params (not the query body).
All values with no default are reset to their zero value.
func (*GetStatsParams) SetHTTPClient ¶
func (o *GetStatsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get stats params
func (*GetStatsParams) SetID ¶
func (o *GetStatsParams) SetID(id int64)
SetID adds the id to the get stats params
func (*GetStatsParams) SetTimeout ¶
func (o *GetStatsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get stats params
func (*GetStatsParams) WithContext ¶
func (o *GetStatsParams) WithContext(ctx context.Context) *GetStatsParams
WithContext adds the context to the get stats params
func (*GetStatsParams) WithDefaults ¶
func (o *GetStatsParams) WithDefaults() *GetStatsParams
WithDefaults hydrates default values in the get stats params (not the query body).
All values with no default are reset to their zero value.
func (*GetStatsParams) WithHTTPClient ¶
func (o *GetStatsParams) WithHTTPClient(client *http.Client) *GetStatsParams
WithHTTPClient adds the HTTPClient to the get stats params
func (*GetStatsParams) WithID ¶
func (o *GetStatsParams) WithID(id int64) *GetStatsParams
WithID adds the id to the get stats params
func (*GetStatsParams) WithTimeout ¶
func (o *GetStatsParams) WithTimeout(timeout time.Duration) *GetStatsParams
WithTimeout adds the timeout to the get stats params
func (*GetStatsParams) WriteToRequest ¶
func (o *GetStatsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetStatsReader ¶
type GetStatsReader struct {
// contains filtered or unexported fields
}
GetStatsReader is a Reader for the GetStats structure.
func (*GetStatsReader) ReadResponse ¶
func (o *GetStatsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UpdateLoggedInAthleteDefault ¶
type UpdateLoggedInAthleteDefault struct { Payload *models.Fault // contains filtered or unexported fields }
UpdateLoggedInAthleteDefault describes a response with status code -1, with default header values.
Unexpected error.
func NewUpdateLoggedInAthleteDefault ¶
func NewUpdateLoggedInAthleteDefault(code int) *UpdateLoggedInAthleteDefault
NewUpdateLoggedInAthleteDefault creates a UpdateLoggedInAthleteDefault with default headers values
func (*UpdateLoggedInAthleteDefault) Code ¶
func (o *UpdateLoggedInAthleteDefault) Code() int
Code gets the status code for the update logged in athlete default response
func (*UpdateLoggedInAthleteDefault) Error ¶
func (o *UpdateLoggedInAthleteDefault) Error() string
func (*UpdateLoggedInAthleteDefault) GetPayload ¶
func (o *UpdateLoggedInAthleteDefault) GetPayload() *models.Fault
func (*UpdateLoggedInAthleteDefault) IsClientError ¶ added in v0.0.5
func (o *UpdateLoggedInAthleteDefault) IsClientError() bool
IsClientError returns true when this update logged in athlete default response has a 4xx status code
func (*UpdateLoggedInAthleteDefault) IsCode ¶ added in v0.0.5
func (o *UpdateLoggedInAthleteDefault) IsCode(code int) bool
IsCode returns true when this update logged in athlete default response a status code equal to that given
func (*UpdateLoggedInAthleteDefault) IsRedirect ¶ added in v0.0.5
func (o *UpdateLoggedInAthleteDefault) IsRedirect() bool
IsRedirect returns true when this update logged in athlete default response has a 3xx status code
func (*UpdateLoggedInAthleteDefault) IsServerError ¶ added in v0.0.5
func (o *UpdateLoggedInAthleteDefault) IsServerError() bool
IsServerError returns true when this update logged in athlete default response has a 5xx status code
func (*UpdateLoggedInAthleteDefault) IsSuccess ¶ added in v0.0.5
func (o *UpdateLoggedInAthleteDefault) IsSuccess() bool
IsSuccess returns true when this update logged in athlete default response has a 2xx status code
func (*UpdateLoggedInAthleteDefault) String ¶ added in v0.0.5
func (o *UpdateLoggedInAthleteDefault) String() string
type UpdateLoggedInAthleteOK ¶
type UpdateLoggedInAthleteOK struct {
Payload *models.DetailedAthlete
}
UpdateLoggedInAthleteOK describes a response with status code 200, with default header values.
Profile information for the authenticated athlete.
func NewUpdateLoggedInAthleteOK ¶
func NewUpdateLoggedInAthleteOK() *UpdateLoggedInAthleteOK
NewUpdateLoggedInAthleteOK creates a UpdateLoggedInAthleteOK with default headers values
func (*UpdateLoggedInAthleteOK) Code ¶ added in v0.0.7
func (o *UpdateLoggedInAthleteOK) Code() int
Code gets the status code for the update logged in athlete o k response
func (*UpdateLoggedInAthleteOK) Error ¶
func (o *UpdateLoggedInAthleteOK) Error() string
func (*UpdateLoggedInAthleteOK) GetPayload ¶
func (o *UpdateLoggedInAthleteOK) GetPayload() *models.DetailedAthlete
func (*UpdateLoggedInAthleteOK) IsClientError ¶ added in v0.0.5
func (o *UpdateLoggedInAthleteOK) IsClientError() bool
IsClientError returns true when this update logged in athlete o k response has a 4xx status code
func (*UpdateLoggedInAthleteOK) IsCode ¶ added in v0.0.5
func (o *UpdateLoggedInAthleteOK) IsCode(code int) bool
IsCode returns true when this update logged in athlete o k response a status code equal to that given
func (*UpdateLoggedInAthleteOK) IsRedirect ¶ added in v0.0.5
func (o *UpdateLoggedInAthleteOK) IsRedirect() bool
IsRedirect returns true when this update logged in athlete o k response has a 3xx status code
func (*UpdateLoggedInAthleteOK) IsServerError ¶ added in v0.0.5
func (o *UpdateLoggedInAthleteOK) IsServerError() bool
IsServerError returns true when this update logged in athlete o k response has a 5xx status code
func (*UpdateLoggedInAthleteOK) IsSuccess ¶ added in v0.0.5
func (o *UpdateLoggedInAthleteOK) IsSuccess() bool
IsSuccess returns true when this update logged in athlete o k response has a 2xx status code
func (*UpdateLoggedInAthleteOK) String ¶ added in v0.0.5
func (o *UpdateLoggedInAthleteOK) String() string
type UpdateLoggedInAthleteParams ¶
type UpdateLoggedInAthleteParams struct { /* Weight. The weight of the athlete in kilograms. Format: float */ Weight float32 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UpdateLoggedInAthleteParams contains all the parameters to send to the API endpoint
for the update logged in athlete operation. Typically these are written to a http.Request.
func NewUpdateLoggedInAthleteParams ¶
func NewUpdateLoggedInAthleteParams() *UpdateLoggedInAthleteParams
NewUpdateLoggedInAthleteParams creates a new UpdateLoggedInAthleteParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewUpdateLoggedInAthleteParamsWithContext ¶
func NewUpdateLoggedInAthleteParamsWithContext(ctx context.Context) *UpdateLoggedInAthleteParams
NewUpdateLoggedInAthleteParamsWithContext creates a new UpdateLoggedInAthleteParams object with the ability to set a context for a request.
func NewUpdateLoggedInAthleteParamsWithHTTPClient ¶
func NewUpdateLoggedInAthleteParamsWithHTTPClient(client *http.Client) *UpdateLoggedInAthleteParams
NewUpdateLoggedInAthleteParamsWithHTTPClient creates a new UpdateLoggedInAthleteParams object with the ability to set a custom HTTPClient for a request.
func NewUpdateLoggedInAthleteParamsWithTimeout ¶
func NewUpdateLoggedInAthleteParamsWithTimeout(timeout time.Duration) *UpdateLoggedInAthleteParams
NewUpdateLoggedInAthleteParamsWithTimeout creates a new UpdateLoggedInAthleteParams object with the ability to set a timeout on a request.
func (*UpdateLoggedInAthleteParams) SetContext ¶
func (o *UpdateLoggedInAthleteParams) SetContext(ctx context.Context)
SetContext adds the context to the update logged in athlete params
func (*UpdateLoggedInAthleteParams) SetDefaults ¶
func (o *UpdateLoggedInAthleteParams) SetDefaults()
SetDefaults hydrates default values in the update logged in athlete params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateLoggedInAthleteParams) SetHTTPClient ¶
func (o *UpdateLoggedInAthleteParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the update logged in athlete params
func (*UpdateLoggedInAthleteParams) SetTimeout ¶
func (o *UpdateLoggedInAthleteParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the update logged in athlete params
func (*UpdateLoggedInAthleteParams) SetWeight ¶
func (o *UpdateLoggedInAthleteParams) SetWeight(weight float32)
SetWeight adds the weight to the update logged in athlete params
func (*UpdateLoggedInAthleteParams) WithContext ¶
func (o *UpdateLoggedInAthleteParams) WithContext(ctx context.Context) *UpdateLoggedInAthleteParams
WithContext adds the context to the update logged in athlete params
func (*UpdateLoggedInAthleteParams) WithDefaults ¶
func (o *UpdateLoggedInAthleteParams) WithDefaults() *UpdateLoggedInAthleteParams
WithDefaults hydrates default values in the update logged in athlete params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateLoggedInAthleteParams) WithHTTPClient ¶
func (o *UpdateLoggedInAthleteParams) WithHTTPClient(client *http.Client) *UpdateLoggedInAthleteParams
WithHTTPClient adds the HTTPClient to the update logged in athlete params
func (*UpdateLoggedInAthleteParams) WithTimeout ¶
func (o *UpdateLoggedInAthleteParams) WithTimeout(timeout time.Duration) *UpdateLoggedInAthleteParams
WithTimeout adds the timeout to the update logged in athlete params
func (*UpdateLoggedInAthleteParams) WithWeight ¶
func (o *UpdateLoggedInAthleteParams) WithWeight(weight float32) *UpdateLoggedInAthleteParams
WithWeight adds the weight to the update logged in athlete params
func (*UpdateLoggedInAthleteParams) WriteToRequest ¶
func (o *UpdateLoggedInAthleteParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UpdateLoggedInAthleteReader ¶
type UpdateLoggedInAthleteReader struct {
// contains filtered or unexported fields
}
UpdateLoggedInAthleteReader is a Reader for the UpdateLoggedInAthlete structure.
func (*UpdateLoggedInAthleteReader) ReadResponse ¶
func (o *UpdateLoggedInAthleteReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.