Documentation
¶
Index ¶
- type Client
- func (a *Client) GetClubActivitiesByID(params *GetClubActivitiesByIDParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetClubActivitiesByIDOK, error)
- func (a *Client) GetClubAdminsByID(params *GetClubAdminsByIDParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetClubAdminsByIDOK, error)
- func (a *Client) GetClubByID(params *GetClubByIDParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetClubByIDOK, error)
- func (a *Client) GetClubMembersByID(params *GetClubMembersByIDParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetClubMembersByIDOK, error)
- func (a *Client) GetLoggedInAthleteClubs(params *GetLoggedInAthleteClubsParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetLoggedInAthleteClubsOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type GetClubActivitiesByIDDefault
- func (o *GetClubActivitiesByIDDefault) Code() int
- func (o *GetClubActivitiesByIDDefault) Error() string
- func (o *GetClubActivitiesByIDDefault) GetPayload() *models.Fault
- func (o *GetClubActivitiesByIDDefault) IsClientError() bool
- func (o *GetClubActivitiesByIDDefault) IsCode(code int) bool
- func (o *GetClubActivitiesByIDDefault) IsRedirect() bool
- func (o *GetClubActivitiesByIDDefault) IsServerError() bool
- func (o *GetClubActivitiesByIDDefault) IsSuccess() bool
- func (o *GetClubActivitiesByIDDefault) String() string
- type GetClubActivitiesByIDOK
- func (o *GetClubActivitiesByIDOK) Code() int
- func (o *GetClubActivitiesByIDOK) Error() string
- func (o *GetClubActivitiesByIDOK) GetPayload() []*models.ClubActivity
- func (o *GetClubActivitiesByIDOK) IsClientError() bool
- func (o *GetClubActivitiesByIDOK) IsCode(code int) bool
- func (o *GetClubActivitiesByIDOK) IsRedirect() bool
- func (o *GetClubActivitiesByIDOK) IsServerError() bool
- func (o *GetClubActivitiesByIDOK) IsSuccess() bool
- func (o *GetClubActivitiesByIDOK) String() string
- type GetClubActivitiesByIDParams
- func NewGetClubActivitiesByIDParams() *GetClubActivitiesByIDParams
- func NewGetClubActivitiesByIDParamsWithContext(ctx context.Context) *GetClubActivitiesByIDParams
- func NewGetClubActivitiesByIDParamsWithHTTPClient(client *http.Client) *GetClubActivitiesByIDParams
- func NewGetClubActivitiesByIDParamsWithTimeout(timeout time.Duration) *GetClubActivitiesByIDParams
- func (o *GetClubActivitiesByIDParams) SetContext(ctx context.Context)
- func (o *GetClubActivitiesByIDParams) SetDefaults()
- func (o *GetClubActivitiesByIDParams) SetHTTPClient(client *http.Client)
- func (o *GetClubActivitiesByIDParams) SetID(id int64)
- func (o *GetClubActivitiesByIDParams) SetPage(page *int64)
- func (o *GetClubActivitiesByIDParams) SetPerPage(perPage *int64)
- func (o *GetClubActivitiesByIDParams) SetTimeout(timeout time.Duration)
- func (o *GetClubActivitiesByIDParams) WithContext(ctx context.Context) *GetClubActivitiesByIDParams
- func (o *GetClubActivitiesByIDParams) WithDefaults() *GetClubActivitiesByIDParams
- func (o *GetClubActivitiesByIDParams) WithHTTPClient(client *http.Client) *GetClubActivitiesByIDParams
- func (o *GetClubActivitiesByIDParams) WithID(id int64) *GetClubActivitiesByIDParams
- func (o *GetClubActivitiesByIDParams) WithPage(page *int64) *GetClubActivitiesByIDParams
- func (o *GetClubActivitiesByIDParams) WithPerPage(perPage *int64) *GetClubActivitiesByIDParams
- func (o *GetClubActivitiesByIDParams) WithTimeout(timeout time.Duration) *GetClubActivitiesByIDParams
- func (o *GetClubActivitiesByIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetClubActivitiesByIDReader
- type GetClubAdminsByIDDefault
- func (o *GetClubAdminsByIDDefault) Code() int
- func (o *GetClubAdminsByIDDefault) Error() string
- func (o *GetClubAdminsByIDDefault) GetPayload() *models.Fault
- func (o *GetClubAdminsByIDDefault) IsClientError() bool
- func (o *GetClubAdminsByIDDefault) IsCode(code int) bool
- func (o *GetClubAdminsByIDDefault) IsRedirect() bool
- func (o *GetClubAdminsByIDDefault) IsServerError() bool
- func (o *GetClubAdminsByIDDefault) IsSuccess() bool
- func (o *GetClubAdminsByIDDefault) String() string
- type GetClubAdminsByIDOK
- func (o *GetClubAdminsByIDOK) Code() int
- func (o *GetClubAdminsByIDOK) Error() string
- func (o *GetClubAdminsByIDOK) GetPayload() []*models.SummaryAthlete
- func (o *GetClubAdminsByIDOK) IsClientError() bool
- func (o *GetClubAdminsByIDOK) IsCode(code int) bool
- func (o *GetClubAdminsByIDOK) IsRedirect() bool
- func (o *GetClubAdminsByIDOK) IsServerError() bool
- func (o *GetClubAdminsByIDOK) IsSuccess() bool
- func (o *GetClubAdminsByIDOK) String() string
- type GetClubAdminsByIDParams
- func NewGetClubAdminsByIDParams() *GetClubAdminsByIDParams
- func NewGetClubAdminsByIDParamsWithContext(ctx context.Context) *GetClubAdminsByIDParams
- func NewGetClubAdminsByIDParamsWithHTTPClient(client *http.Client) *GetClubAdminsByIDParams
- func NewGetClubAdminsByIDParamsWithTimeout(timeout time.Duration) *GetClubAdminsByIDParams
- func (o *GetClubAdminsByIDParams) SetContext(ctx context.Context)
- func (o *GetClubAdminsByIDParams) SetDefaults()
- func (o *GetClubAdminsByIDParams) SetHTTPClient(client *http.Client)
- func (o *GetClubAdminsByIDParams) SetID(id int64)
- func (o *GetClubAdminsByIDParams) SetPage(page *int64)
- func (o *GetClubAdminsByIDParams) SetPerPage(perPage *int64)
- func (o *GetClubAdminsByIDParams) SetTimeout(timeout time.Duration)
- func (o *GetClubAdminsByIDParams) WithContext(ctx context.Context) *GetClubAdminsByIDParams
- func (o *GetClubAdminsByIDParams) WithDefaults() *GetClubAdminsByIDParams
- func (o *GetClubAdminsByIDParams) WithHTTPClient(client *http.Client) *GetClubAdminsByIDParams
- func (o *GetClubAdminsByIDParams) WithID(id int64) *GetClubAdminsByIDParams
- func (o *GetClubAdminsByIDParams) WithPage(page *int64) *GetClubAdminsByIDParams
- func (o *GetClubAdminsByIDParams) WithPerPage(perPage *int64) *GetClubAdminsByIDParams
- func (o *GetClubAdminsByIDParams) WithTimeout(timeout time.Duration) *GetClubAdminsByIDParams
- func (o *GetClubAdminsByIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetClubAdminsByIDReader
- type GetClubByIDDefault
- func (o *GetClubByIDDefault) Code() int
- func (o *GetClubByIDDefault) Error() string
- func (o *GetClubByIDDefault) GetPayload() *models.Fault
- func (o *GetClubByIDDefault) IsClientError() bool
- func (o *GetClubByIDDefault) IsCode(code int) bool
- func (o *GetClubByIDDefault) IsRedirect() bool
- func (o *GetClubByIDDefault) IsServerError() bool
- func (o *GetClubByIDDefault) IsSuccess() bool
- func (o *GetClubByIDDefault) String() string
- type GetClubByIDOK
- func (o *GetClubByIDOK) Code() int
- func (o *GetClubByIDOK) Error() string
- func (o *GetClubByIDOK) GetPayload() *models.DetailedClub
- func (o *GetClubByIDOK) IsClientError() bool
- func (o *GetClubByIDOK) IsCode(code int) bool
- func (o *GetClubByIDOK) IsRedirect() bool
- func (o *GetClubByIDOK) IsServerError() bool
- func (o *GetClubByIDOK) IsSuccess() bool
- func (o *GetClubByIDOK) String() string
- type GetClubByIDParams
- func (o *GetClubByIDParams) SetContext(ctx context.Context)
- func (o *GetClubByIDParams) SetDefaults()
- func (o *GetClubByIDParams) SetHTTPClient(client *http.Client)
- func (o *GetClubByIDParams) SetID(id int64)
- func (o *GetClubByIDParams) SetTimeout(timeout time.Duration)
- func (o *GetClubByIDParams) WithContext(ctx context.Context) *GetClubByIDParams
- func (o *GetClubByIDParams) WithDefaults() *GetClubByIDParams
- func (o *GetClubByIDParams) WithHTTPClient(client *http.Client) *GetClubByIDParams
- func (o *GetClubByIDParams) WithID(id int64) *GetClubByIDParams
- func (o *GetClubByIDParams) WithTimeout(timeout time.Duration) *GetClubByIDParams
- func (o *GetClubByIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetClubByIDReader
- type GetClubMembersByIDDefault
- func (o *GetClubMembersByIDDefault) Code() int
- func (o *GetClubMembersByIDDefault) Error() string
- func (o *GetClubMembersByIDDefault) GetPayload() *models.Fault
- func (o *GetClubMembersByIDDefault) IsClientError() bool
- func (o *GetClubMembersByIDDefault) IsCode(code int) bool
- func (o *GetClubMembersByIDDefault) IsRedirect() bool
- func (o *GetClubMembersByIDDefault) IsServerError() bool
- func (o *GetClubMembersByIDDefault) IsSuccess() bool
- func (o *GetClubMembersByIDDefault) String() string
- type GetClubMembersByIDOK
- func (o *GetClubMembersByIDOK) Code() int
- func (o *GetClubMembersByIDOK) Error() string
- func (o *GetClubMembersByIDOK) GetPayload() []*models.ClubAthlete
- func (o *GetClubMembersByIDOK) IsClientError() bool
- func (o *GetClubMembersByIDOK) IsCode(code int) bool
- func (o *GetClubMembersByIDOK) IsRedirect() bool
- func (o *GetClubMembersByIDOK) IsServerError() bool
- func (o *GetClubMembersByIDOK) IsSuccess() bool
- func (o *GetClubMembersByIDOK) String() string
- type GetClubMembersByIDParams
- func NewGetClubMembersByIDParams() *GetClubMembersByIDParams
- func NewGetClubMembersByIDParamsWithContext(ctx context.Context) *GetClubMembersByIDParams
- func NewGetClubMembersByIDParamsWithHTTPClient(client *http.Client) *GetClubMembersByIDParams
- func NewGetClubMembersByIDParamsWithTimeout(timeout time.Duration) *GetClubMembersByIDParams
- func (o *GetClubMembersByIDParams) SetContext(ctx context.Context)
- func (o *GetClubMembersByIDParams) SetDefaults()
- func (o *GetClubMembersByIDParams) SetHTTPClient(client *http.Client)
- func (o *GetClubMembersByIDParams) SetID(id int64)
- func (o *GetClubMembersByIDParams) SetPage(page *int64)
- func (o *GetClubMembersByIDParams) SetPerPage(perPage *int64)
- func (o *GetClubMembersByIDParams) SetTimeout(timeout time.Duration)
- func (o *GetClubMembersByIDParams) WithContext(ctx context.Context) *GetClubMembersByIDParams
- func (o *GetClubMembersByIDParams) WithDefaults() *GetClubMembersByIDParams
- func (o *GetClubMembersByIDParams) WithHTTPClient(client *http.Client) *GetClubMembersByIDParams
- func (o *GetClubMembersByIDParams) WithID(id int64) *GetClubMembersByIDParams
- func (o *GetClubMembersByIDParams) WithPage(page *int64) *GetClubMembersByIDParams
- func (o *GetClubMembersByIDParams) WithPerPage(perPage *int64) *GetClubMembersByIDParams
- func (o *GetClubMembersByIDParams) WithTimeout(timeout time.Duration) *GetClubMembersByIDParams
- func (o *GetClubMembersByIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetClubMembersByIDReader
- type GetLoggedInAthleteClubsDefault
- func (o *GetLoggedInAthleteClubsDefault) Code() int
- func (o *GetLoggedInAthleteClubsDefault) Error() string
- func (o *GetLoggedInAthleteClubsDefault) GetPayload() *models.Fault
- func (o *GetLoggedInAthleteClubsDefault) IsClientError() bool
- func (o *GetLoggedInAthleteClubsDefault) IsCode(code int) bool
- func (o *GetLoggedInAthleteClubsDefault) IsRedirect() bool
- func (o *GetLoggedInAthleteClubsDefault) IsServerError() bool
- func (o *GetLoggedInAthleteClubsDefault) IsSuccess() bool
- func (o *GetLoggedInAthleteClubsDefault) String() string
- type GetLoggedInAthleteClubsOK
- func (o *GetLoggedInAthleteClubsOK) Code() int
- func (o *GetLoggedInAthleteClubsOK) Error() string
- func (o *GetLoggedInAthleteClubsOK) GetPayload() []*models.SummaryClub
- func (o *GetLoggedInAthleteClubsOK) IsClientError() bool
- func (o *GetLoggedInAthleteClubsOK) IsCode(code int) bool
- func (o *GetLoggedInAthleteClubsOK) IsRedirect() bool
- func (o *GetLoggedInAthleteClubsOK) IsServerError() bool
- func (o *GetLoggedInAthleteClubsOK) IsSuccess() bool
- func (o *GetLoggedInAthleteClubsOK) String() string
- type GetLoggedInAthleteClubsParams
- func NewGetLoggedInAthleteClubsParams() *GetLoggedInAthleteClubsParams
- func NewGetLoggedInAthleteClubsParamsWithContext(ctx context.Context) *GetLoggedInAthleteClubsParams
- func NewGetLoggedInAthleteClubsParamsWithHTTPClient(client *http.Client) *GetLoggedInAthleteClubsParams
- func NewGetLoggedInAthleteClubsParamsWithTimeout(timeout time.Duration) *GetLoggedInAthleteClubsParams
- func (o *GetLoggedInAthleteClubsParams) SetContext(ctx context.Context)
- func (o *GetLoggedInAthleteClubsParams) SetDefaults()
- func (o *GetLoggedInAthleteClubsParams) SetHTTPClient(client *http.Client)
- func (o *GetLoggedInAthleteClubsParams) SetPage(page *int64)
- func (o *GetLoggedInAthleteClubsParams) SetPerPage(perPage *int64)
- func (o *GetLoggedInAthleteClubsParams) SetTimeout(timeout time.Duration)
- func (o *GetLoggedInAthleteClubsParams) WithContext(ctx context.Context) *GetLoggedInAthleteClubsParams
- func (o *GetLoggedInAthleteClubsParams) WithDefaults() *GetLoggedInAthleteClubsParams
- func (o *GetLoggedInAthleteClubsParams) WithHTTPClient(client *http.Client) *GetLoggedInAthleteClubsParams
- func (o *GetLoggedInAthleteClubsParams) WithPage(page *int64) *GetLoggedInAthleteClubsParams
- func (o *GetLoggedInAthleteClubsParams) WithPerPage(perPage *int64) *GetLoggedInAthleteClubsParams
- func (o *GetLoggedInAthleteClubsParams) WithTimeout(timeout time.Duration) *GetLoggedInAthleteClubsParams
- func (o *GetLoggedInAthleteClubsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetLoggedInAthleteClubsReader
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for clubs API
func (*Client) GetClubActivitiesByID ¶
func (a *Client) GetClubActivitiesByID(params *GetClubActivitiesByIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetClubActivitiesByIDOK, error)
GetClubActivitiesByID lists 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.
func (*Client) GetClubAdminsByID ¶
func (a *Client) GetClubAdminsByID(params *GetClubAdminsByIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetClubAdminsByIDOK, error)
GetClubAdminsByID lists club administrators
Returns a list of the administrators of a given club.
func (*Client) GetClubByID ¶
func (a *Client) GetClubByID(params *GetClubByIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetClubByIDOK, error)
GetClubByID gets club
Returns a given club using its identifier.
func (*Client) GetClubMembersByID ¶
func (a *Client) GetClubMembersByID(params *GetClubMembersByIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetClubMembersByIDOK, error)
GetClubMembersByID lists club members
Returns a list of the athletes who are members of a given club.
func (*Client) GetLoggedInAthleteClubs ¶
func (a *Client) GetLoggedInAthleteClubs(params *GetLoggedInAthleteClubsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetLoggedInAthleteClubsOK, error)
GetLoggedInAthleteClubs lists athlete clubs
Returns a list of the clubs whose membership includes the authenticated athlete.
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type ClientOption ¶
type ClientOption func(*runtime.ClientOperation)
ClientOption may be used to customize the behavior of Client methods.
type ClientService ¶
type ClientService interface { GetClubActivitiesByID(params *GetClubActivitiesByIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetClubActivitiesByIDOK, error) GetClubAdminsByID(params *GetClubAdminsByIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetClubAdminsByIDOK, error) GetClubByID(params *GetClubByIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetClubByIDOK, error) GetClubMembersByID(params *GetClubMembersByIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetClubMembersByIDOK, error) GetLoggedInAthleteClubs(params *GetLoggedInAthleteClubsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetLoggedInAthleteClubsOK, 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 clubs API client.
func NewClientWithBasicAuth ¶
func NewClientWithBasicAuth(host, basePath, scheme, user, password string) ClientService
New creates a new clubs 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 ¶
func NewClientWithBearerToken(host, basePath, scheme, bearerToken string) ClientService
New creates a new clubs 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 GetClubActivitiesByIDDefault ¶
type GetClubActivitiesByIDDefault struct { Payload *models.Fault // contains filtered or unexported fields }
GetClubActivitiesByIDDefault describes a response with status code -1, with default header values.
Unexpected error.
func NewGetClubActivitiesByIDDefault ¶
func NewGetClubActivitiesByIDDefault(code int) *GetClubActivitiesByIDDefault
NewGetClubActivitiesByIDDefault creates a GetClubActivitiesByIDDefault with default headers values
func (*GetClubActivitiesByIDDefault) Code ¶
func (o *GetClubActivitiesByIDDefault) Code() int
Code gets the status code for the get club activities by Id default response
func (*GetClubActivitiesByIDDefault) Error ¶
func (o *GetClubActivitiesByIDDefault) Error() string
func (*GetClubActivitiesByIDDefault) GetPayload ¶
func (o *GetClubActivitiesByIDDefault) GetPayload() *models.Fault
func (*GetClubActivitiesByIDDefault) IsClientError ¶
func (o *GetClubActivitiesByIDDefault) IsClientError() bool
IsClientError returns true when this get club activities by Id default response has a 4xx status code
func (*GetClubActivitiesByIDDefault) IsCode ¶
func (o *GetClubActivitiesByIDDefault) IsCode(code int) bool
IsCode returns true when this get club activities by Id default response a status code equal to that given
func (*GetClubActivitiesByIDDefault) IsRedirect ¶
func (o *GetClubActivitiesByIDDefault) IsRedirect() bool
IsRedirect returns true when this get club activities by Id default response has a 3xx status code
func (*GetClubActivitiesByIDDefault) IsServerError ¶
func (o *GetClubActivitiesByIDDefault) IsServerError() bool
IsServerError returns true when this get club activities by Id default response has a 5xx status code
func (*GetClubActivitiesByIDDefault) IsSuccess ¶
func (o *GetClubActivitiesByIDDefault) IsSuccess() bool
IsSuccess returns true when this get club activities by Id default response has a 2xx status code
func (*GetClubActivitiesByIDDefault) String ¶
func (o *GetClubActivitiesByIDDefault) String() string
type GetClubActivitiesByIDOK ¶
type GetClubActivitiesByIDOK struct {
Payload []*models.ClubActivity
}
GetClubActivitiesByIDOK describes a response with status code 200, with default header values.
A list of activities.
func NewGetClubActivitiesByIDOK ¶
func NewGetClubActivitiesByIDOK() *GetClubActivitiesByIDOK
NewGetClubActivitiesByIDOK creates a GetClubActivitiesByIDOK with default headers values
func (*GetClubActivitiesByIDOK) Code ¶
func (o *GetClubActivitiesByIDOK) Code() int
Code gets the status code for the get club activities by Id o k response
func (*GetClubActivitiesByIDOK) Error ¶
func (o *GetClubActivitiesByIDOK) Error() string
func (*GetClubActivitiesByIDOK) GetPayload ¶
func (o *GetClubActivitiesByIDOK) GetPayload() []*models.ClubActivity
func (*GetClubActivitiesByIDOK) IsClientError ¶
func (o *GetClubActivitiesByIDOK) IsClientError() bool
IsClientError returns true when this get club activities by Id o k response has a 4xx status code
func (*GetClubActivitiesByIDOK) IsCode ¶
func (o *GetClubActivitiesByIDOK) IsCode(code int) bool
IsCode returns true when this get club activities by Id o k response a status code equal to that given
func (*GetClubActivitiesByIDOK) IsRedirect ¶
func (o *GetClubActivitiesByIDOK) IsRedirect() bool
IsRedirect returns true when this get club activities by Id o k response has a 3xx status code
func (*GetClubActivitiesByIDOK) IsServerError ¶
func (o *GetClubActivitiesByIDOK) IsServerError() bool
IsServerError returns true when this get club activities by Id o k response has a 5xx status code
func (*GetClubActivitiesByIDOK) IsSuccess ¶
func (o *GetClubActivitiesByIDOK) IsSuccess() bool
IsSuccess returns true when this get club activities by Id o k response has a 2xx status code
func (*GetClubActivitiesByIDOK) String ¶
func (o *GetClubActivitiesByIDOK) String() string
type GetClubActivitiesByIDParams ¶
type GetClubActivitiesByIDParams struct { /* ID. The identifier of the club. Format: int64 */ ID int64 /* Page. Page number. Defaults to 1. */ Page *int64 /* PerPage. Number of items per page. Defaults to 30. Default: 30 */ PerPage *int64 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetClubActivitiesByIDParams contains all the parameters to send to the API endpoint
for the get club activities by Id operation. Typically these are written to a http.Request.
func NewGetClubActivitiesByIDParams ¶
func NewGetClubActivitiesByIDParams() *GetClubActivitiesByIDParams
NewGetClubActivitiesByIDParams creates a new GetClubActivitiesByIDParams 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 NewGetClubActivitiesByIDParamsWithContext ¶
func NewGetClubActivitiesByIDParamsWithContext(ctx context.Context) *GetClubActivitiesByIDParams
NewGetClubActivitiesByIDParamsWithContext creates a new GetClubActivitiesByIDParams object with the ability to set a context for a request.
func NewGetClubActivitiesByIDParamsWithHTTPClient ¶
func NewGetClubActivitiesByIDParamsWithHTTPClient(client *http.Client) *GetClubActivitiesByIDParams
NewGetClubActivitiesByIDParamsWithHTTPClient creates a new GetClubActivitiesByIDParams object with the ability to set a custom HTTPClient for a request.
func NewGetClubActivitiesByIDParamsWithTimeout ¶
func NewGetClubActivitiesByIDParamsWithTimeout(timeout time.Duration) *GetClubActivitiesByIDParams
NewGetClubActivitiesByIDParamsWithTimeout creates a new GetClubActivitiesByIDParams object with the ability to set a timeout on a request.
func (*GetClubActivitiesByIDParams) SetContext ¶
func (o *GetClubActivitiesByIDParams) SetContext(ctx context.Context)
SetContext adds the context to the get club activities by Id params
func (*GetClubActivitiesByIDParams) SetDefaults ¶
func (o *GetClubActivitiesByIDParams) SetDefaults()
SetDefaults hydrates default values in the get club activities by Id params (not the query body).
All values with no default are reset to their zero value.
func (*GetClubActivitiesByIDParams) SetHTTPClient ¶
func (o *GetClubActivitiesByIDParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get club activities by Id params
func (*GetClubActivitiesByIDParams) SetID ¶
func (o *GetClubActivitiesByIDParams) SetID(id int64)
SetID adds the id to the get club activities by Id params
func (*GetClubActivitiesByIDParams) SetPage ¶
func (o *GetClubActivitiesByIDParams) SetPage(page *int64)
SetPage adds the page to the get club activities by Id params
func (*GetClubActivitiesByIDParams) SetPerPage ¶
func (o *GetClubActivitiesByIDParams) SetPerPage(perPage *int64)
SetPerPage adds the perPage to the get club activities by Id params
func (*GetClubActivitiesByIDParams) SetTimeout ¶
func (o *GetClubActivitiesByIDParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get club activities by Id params
func (*GetClubActivitiesByIDParams) WithContext ¶
func (o *GetClubActivitiesByIDParams) WithContext(ctx context.Context) *GetClubActivitiesByIDParams
WithContext adds the context to the get club activities by Id params
func (*GetClubActivitiesByIDParams) WithDefaults ¶
func (o *GetClubActivitiesByIDParams) WithDefaults() *GetClubActivitiesByIDParams
WithDefaults hydrates default values in the get club activities by Id params (not the query body).
All values with no default are reset to their zero value.
func (*GetClubActivitiesByIDParams) WithHTTPClient ¶
func (o *GetClubActivitiesByIDParams) WithHTTPClient(client *http.Client) *GetClubActivitiesByIDParams
WithHTTPClient adds the HTTPClient to the get club activities by Id params
func (*GetClubActivitiesByIDParams) WithID ¶
func (o *GetClubActivitiesByIDParams) WithID(id int64) *GetClubActivitiesByIDParams
WithID adds the id to the get club activities by Id params
func (*GetClubActivitiesByIDParams) WithPage ¶
func (o *GetClubActivitiesByIDParams) WithPage(page *int64) *GetClubActivitiesByIDParams
WithPage adds the page to the get club activities by Id params
func (*GetClubActivitiesByIDParams) WithPerPage ¶
func (o *GetClubActivitiesByIDParams) WithPerPage(perPage *int64) *GetClubActivitiesByIDParams
WithPerPage adds the perPage to the get club activities by Id params
func (*GetClubActivitiesByIDParams) WithTimeout ¶
func (o *GetClubActivitiesByIDParams) WithTimeout(timeout time.Duration) *GetClubActivitiesByIDParams
WithTimeout adds the timeout to the get club activities by Id params
func (*GetClubActivitiesByIDParams) WriteToRequest ¶
func (o *GetClubActivitiesByIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetClubActivitiesByIDReader ¶
type GetClubActivitiesByIDReader struct {
// contains filtered or unexported fields
}
GetClubActivitiesByIDReader is a Reader for the GetClubActivitiesByID structure.
func (*GetClubActivitiesByIDReader) ReadResponse ¶
func (o *GetClubActivitiesByIDReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetClubAdminsByIDDefault ¶
type GetClubAdminsByIDDefault struct { Payload *models.Fault // contains filtered or unexported fields }
GetClubAdminsByIDDefault describes a response with status code -1, with default header values.
Unexpected error.
func NewGetClubAdminsByIDDefault ¶
func NewGetClubAdminsByIDDefault(code int) *GetClubAdminsByIDDefault
NewGetClubAdminsByIDDefault creates a GetClubAdminsByIDDefault with default headers values
func (*GetClubAdminsByIDDefault) Code ¶
func (o *GetClubAdminsByIDDefault) Code() int
Code gets the status code for the get club admins by Id default response
func (*GetClubAdminsByIDDefault) Error ¶
func (o *GetClubAdminsByIDDefault) Error() string
func (*GetClubAdminsByIDDefault) GetPayload ¶
func (o *GetClubAdminsByIDDefault) GetPayload() *models.Fault
func (*GetClubAdminsByIDDefault) IsClientError ¶
func (o *GetClubAdminsByIDDefault) IsClientError() bool
IsClientError returns true when this get club admins by Id default response has a 4xx status code
func (*GetClubAdminsByIDDefault) IsCode ¶
func (o *GetClubAdminsByIDDefault) IsCode(code int) bool
IsCode returns true when this get club admins by Id default response a status code equal to that given
func (*GetClubAdminsByIDDefault) IsRedirect ¶
func (o *GetClubAdminsByIDDefault) IsRedirect() bool
IsRedirect returns true when this get club admins by Id default response has a 3xx status code
func (*GetClubAdminsByIDDefault) IsServerError ¶
func (o *GetClubAdminsByIDDefault) IsServerError() bool
IsServerError returns true when this get club admins by Id default response has a 5xx status code
func (*GetClubAdminsByIDDefault) IsSuccess ¶
func (o *GetClubAdminsByIDDefault) IsSuccess() bool
IsSuccess returns true when this get club admins by Id default response has a 2xx status code
func (*GetClubAdminsByIDDefault) String ¶
func (o *GetClubAdminsByIDDefault) String() string
type GetClubAdminsByIDOK ¶
type GetClubAdminsByIDOK struct {
Payload []*models.SummaryAthlete
}
GetClubAdminsByIDOK describes a response with status code 200, with default header values.
A list of summary athlete representations.
func NewGetClubAdminsByIDOK ¶
func NewGetClubAdminsByIDOK() *GetClubAdminsByIDOK
NewGetClubAdminsByIDOK creates a GetClubAdminsByIDOK with default headers values
func (*GetClubAdminsByIDOK) Code ¶
func (o *GetClubAdminsByIDOK) Code() int
Code gets the status code for the get club admins by Id o k response
func (*GetClubAdminsByIDOK) Error ¶
func (o *GetClubAdminsByIDOK) Error() string
func (*GetClubAdminsByIDOK) GetPayload ¶
func (o *GetClubAdminsByIDOK) GetPayload() []*models.SummaryAthlete
func (*GetClubAdminsByIDOK) IsClientError ¶
func (o *GetClubAdminsByIDOK) IsClientError() bool
IsClientError returns true when this get club admins by Id o k response has a 4xx status code
func (*GetClubAdminsByIDOK) IsCode ¶
func (o *GetClubAdminsByIDOK) IsCode(code int) bool
IsCode returns true when this get club admins by Id o k response a status code equal to that given
func (*GetClubAdminsByIDOK) IsRedirect ¶
func (o *GetClubAdminsByIDOK) IsRedirect() bool
IsRedirect returns true when this get club admins by Id o k response has a 3xx status code
func (*GetClubAdminsByIDOK) IsServerError ¶
func (o *GetClubAdminsByIDOK) IsServerError() bool
IsServerError returns true when this get club admins by Id o k response has a 5xx status code
func (*GetClubAdminsByIDOK) IsSuccess ¶
func (o *GetClubAdminsByIDOK) IsSuccess() bool
IsSuccess returns true when this get club admins by Id o k response has a 2xx status code
func (*GetClubAdminsByIDOK) String ¶
func (o *GetClubAdminsByIDOK) String() string
type GetClubAdminsByIDParams ¶
type GetClubAdminsByIDParams struct { /* ID. The identifier of the club. Format: int64 */ ID int64 /* Page. Page number. Defaults to 1. */ Page *int64 /* PerPage. Number of items per page. Defaults to 30. Default: 30 */ PerPage *int64 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetClubAdminsByIDParams contains all the parameters to send to the API endpoint
for the get club admins by Id operation. Typically these are written to a http.Request.
func NewGetClubAdminsByIDParams ¶
func NewGetClubAdminsByIDParams() *GetClubAdminsByIDParams
NewGetClubAdminsByIDParams creates a new GetClubAdminsByIDParams 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 NewGetClubAdminsByIDParamsWithContext ¶
func NewGetClubAdminsByIDParamsWithContext(ctx context.Context) *GetClubAdminsByIDParams
NewGetClubAdminsByIDParamsWithContext creates a new GetClubAdminsByIDParams object with the ability to set a context for a request.
func NewGetClubAdminsByIDParamsWithHTTPClient ¶
func NewGetClubAdminsByIDParamsWithHTTPClient(client *http.Client) *GetClubAdminsByIDParams
NewGetClubAdminsByIDParamsWithHTTPClient creates a new GetClubAdminsByIDParams object with the ability to set a custom HTTPClient for a request.
func NewGetClubAdminsByIDParamsWithTimeout ¶
func NewGetClubAdminsByIDParamsWithTimeout(timeout time.Duration) *GetClubAdminsByIDParams
NewGetClubAdminsByIDParamsWithTimeout creates a new GetClubAdminsByIDParams object with the ability to set a timeout on a request.
func (*GetClubAdminsByIDParams) SetContext ¶
func (o *GetClubAdminsByIDParams) SetContext(ctx context.Context)
SetContext adds the context to the get club admins by Id params
func (*GetClubAdminsByIDParams) SetDefaults ¶
func (o *GetClubAdminsByIDParams) SetDefaults()
SetDefaults hydrates default values in the get club admins by Id params (not the query body).
All values with no default are reset to their zero value.
func (*GetClubAdminsByIDParams) SetHTTPClient ¶
func (o *GetClubAdminsByIDParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get club admins by Id params
func (*GetClubAdminsByIDParams) SetID ¶
func (o *GetClubAdminsByIDParams) SetID(id int64)
SetID adds the id to the get club admins by Id params
func (*GetClubAdminsByIDParams) SetPage ¶
func (o *GetClubAdminsByIDParams) SetPage(page *int64)
SetPage adds the page to the get club admins by Id params
func (*GetClubAdminsByIDParams) SetPerPage ¶
func (o *GetClubAdminsByIDParams) SetPerPage(perPage *int64)
SetPerPage adds the perPage to the get club admins by Id params
func (*GetClubAdminsByIDParams) SetTimeout ¶
func (o *GetClubAdminsByIDParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get club admins by Id params
func (*GetClubAdminsByIDParams) WithContext ¶
func (o *GetClubAdminsByIDParams) WithContext(ctx context.Context) *GetClubAdminsByIDParams
WithContext adds the context to the get club admins by Id params
func (*GetClubAdminsByIDParams) WithDefaults ¶
func (o *GetClubAdminsByIDParams) WithDefaults() *GetClubAdminsByIDParams
WithDefaults hydrates default values in the get club admins by Id params (not the query body).
All values with no default are reset to their zero value.
func (*GetClubAdminsByIDParams) WithHTTPClient ¶
func (o *GetClubAdminsByIDParams) WithHTTPClient(client *http.Client) *GetClubAdminsByIDParams
WithHTTPClient adds the HTTPClient to the get club admins by Id params
func (*GetClubAdminsByIDParams) WithID ¶
func (o *GetClubAdminsByIDParams) WithID(id int64) *GetClubAdminsByIDParams
WithID adds the id to the get club admins by Id params
func (*GetClubAdminsByIDParams) WithPage ¶
func (o *GetClubAdminsByIDParams) WithPage(page *int64) *GetClubAdminsByIDParams
WithPage adds the page to the get club admins by Id params
func (*GetClubAdminsByIDParams) WithPerPage ¶
func (o *GetClubAdminsByIDParams) WithPerPage(perPage *int64) *GetClubAdminsByIDParams
WithPerPage adds the perPage to the get club admins by Id params
func (*GetClubAdminsByIDParams) WithTimeout ¶
func (o *GetClubAdminsByIDParams) WithTimeout(timeout time.Duration) *GetClubAdminsByIDParams
WithTimeout adds the timeout to the get club admins by Id params
func (*GetClubAdminsByIDParams) WriteToRequest ¶
func (o *GetClubAdminsByIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetClubAdminsByIDReader ¶
type GetClubAdminsByIDReader struct {
// contains filtered or unexported fields
}
GetClubAdminsByIDReader is a Reader for the GetClubAdminsByID structure.
func (*GetClubAdminsByIDReader) ReadResponse ¶
func (o *GetClubAdminsByIDReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetClubByIDDefault ¶
GetClubByIDDefault describes a response with status code -1, with default header values.
Unexpected error.
func NewGetClubByIDDefault ¶
func NewGetClubByIDDefault(code int) *GetClubByIDDefault
NewGetClubByIDDefault creates a GetClubByIDDefault with default headers values
func (*GetClubByIDDefault) Code ¶
func (o *GetClubByIDDefault) Code() int
Code gets the status code for the get club by Id default response
func (*GetClubByIDDefault) Error ¶
func (o *GetClubByIDDefault) Error() string
func (*GetClubByIDDefault) GetPayload ¶
func (o *GetClubByIDDefault) GetPayload() *models.Fault
func (*GetClubByIDDefault) IsClientError ¶
func (o *GetClubByIDDefault) IsClientError() bool
IsClientError returns true when this get club by Id default response has a 4xx status code
func (*GetClubByIDDefault) IsCode ¶
func (o *GetClubByIDDefault) IsCode(code int) bool
IsCode returns true when this get club by Id default response a status code equal to that given
func (*GetClubByIDDefault) IsRedirect ¶
func (o *GetClubByIDDefault) IsRedirect() bool
IsRedirect returns true when this get club by Id default response has a 3xx status code
func (*GetClubByIDDefault) IsServerError ¶
func (o *GetClubByIDDefault) IsServerError() bool
IsServerError returns true when this get club by Id default response has a 5xx status code
func (*GetClubByIDDefault) IsSuccess ¶
func (o *GetClubByIDDefault) IsSuccess() bool
IsSuccess returns true when this get club by Id default response has a 2xx status code
func (*GetClubByIDDefault) String ¶
func (o *GetClubByIDDefault) String() string
type GetClubByIDOK ¶
type GetClubByIDOK struct {
Payload *models.DetailedClub
}
GetClubByIDOK describes a response with status code 200, with default header values.
The detailed representation of a club.
func NewGetClubByIDOK ¶
func NewGetClubByIDOK() *GetClubByIDOK
NewGetClubByIDOK creates a GetClubByIDOK with default headers values
func (*GetClubByIDOK) Code ¶
func (o *GetClubByIDOK) Code() int
Code gets the status code for the get club by Id o k response
func (*GetClubByIDOK) Error ¶
func (o *GetClubByIDOK) Error() string
func (*GetClubByIDOK) GetPayload ¶
func (o *GetClubByIDOK) GetPayload() *models.DetailedClub
func (*GetClubByIDOK) IsClientError ¶
func (o *GetClubByIDOK) IsClientError() bool
IsClientError returns true when this get club by Id o k response has a 4xx status code
func (*GetClubByIDOK) IsCode ¶
func (o *GetClubByIDOK) IsCode(code int) bool
IsCode returns true when this get club by Id o k response a status code equal to that given
func (*GetClubByIDOK) IsRedirect ¶
func (o *GetClubByIDOK) IsRedirect() bool
IsRedirect returns true when this get club by Id o k response has a 3xx status code
func (*GetClubByIDOK) IsServerError ¶
func (o *GetClubByIDOK) IsServerError() bool
IsServerError returns true when this get club by Id o k response has a 5xx status code
func (*GetClubByIDOK) IsSuccess ¶
func (o *GetClubByIDOK) IsSuccess() bool
IsSuccess returns true when this get club by Id o k response has a 2xx status code
func (*GetClubByIDOK) String ¶
func (o *GetClubByIDOK) String() string
type GetClubByIDParams ¶
type GetClubByIDParams struct { /* ID. The identifier of the club. Format: int64 */ ID int64 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetClubByIDParams contains all the parameters to send to the API endpoint
for the get club by Id operation. Typically these are written to a http.Request.
func NewGetClubByIDParams ¶
func NewGetClubByIDParams() *GetClubByIDParams
NewGetClubByIDParams creates a new GetClubByIDParams 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 NewGetClubByIDParamsWithContext ¶
func NewGetClubByIDParamsWithContext(ctx context.Context) *GetClubByIDParams
NewGetClubByIDParamsWithContext creates a new GetClubByIDParams object with the ability to set a context for a request.
func NewGetClubByIDParamsWithHTTPClient ¶
func NewGetClubByIDParamsWithHTTPClient(client *http.Client) *GetClubByIDParams
NewGetClubByIDParamsWithHTTPClient creates a new GetClubByIDParams object with the ability to set a custom HTTPClient for a request.
func NewGetClubByIDParamsWithTimeout ¶
func NewGetClubByIDParamsWithTimeout(timeout time.Duration) *GetClubByIDParams
NewGetClubByIDParamsWithTimeout creates a new GetClubByIDParams object with the ability to set a timeout on a request.
func (*GetClubByIDParams) SetContext ¶
func (o *GetClubByIDParams) SetContext(ctx context.Context)
SetContext adds the context to the get club by Id params
func (*GetClubByIDParams) SetDefaults ¶
func (o *GetClubByIDParams) SetDefaults()
SetDefaults hydrates default values in the get club by Id params (not the query body).
All values with no default are reset to their zero value.
func (*GetClubByIDParams) SetHTTPClient ¶
func (o *GetClubByIDParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get club by Id params
func (*GetClubByIDParams) SetID ¶
func (o *GetClubByIDParams) SetID(id int64)
SetID adds the id to the get club by Id params
func (*GetClubByIDParams) SetTimeout ¶
func (o *GetClubByIDParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get club by Id params
func (*GetClubByIDParams) WithContext ¶
func (o *GetClubByIDParams) WithContext(ctx context.Context) *GetClubByIDParams
WithContext adds the context to the get club by Id params
func (*GetClubByIDParams) WithDefaults ¶
func (o *GetClubByIDParams) WithDefaults() *GetClubByIDParams
WithDefaults hydrates default values in the get club by Id params (not the query body).
All values with no default are reset to their zero value.
func (*GetClubByIDParams) WithHTTPClient ¶
func (o *GetClubByIDParams) WithHTTPClient(client *http.Client) *GetClubByIDParams
WithHTTPClient adds the HTTPClient to the get club by Id params
func (*GetClubByIDParams) WithID ¶
func (o *GetClubByIDParams) WithID(id int64) *GetClubByIDParams
WithID adds the id to the get club by Id params
func (*GetClubByIDParams) WithTimeout ¶
func (o *GetClubByIDParams) WithTimeout(timeout time.Duration) *GetClubByIDParams
WithTimeout adds the timeout to the get club by Id params
func (*GetClubByIDParams) WriteToRequest ¶
func (o *GetClubByIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetClubByIDReader ¶
type GetClubByIDReader struct {
// contains filtered or unexported fields
}
GetClubByIDReader is a Reader for the GetClubByID structure.
func (*GetClubByIDReader) ReadResponse ¶
func (o *GetClubByIDReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetClubMembersByIDDefault ¶
type GetClubMembersByIDDefault struct { Payload *models.Fault // contains filtered or unexported fields }
GetClubMembersByIDDefault describes a response with status code -1, with default header values.
Unexpected error.
func NewGetClubMembersByIDDefault ¶
func NewGetClubMembersByIDDefault(code int) *GetClubMembersByIDDefault
NewGetClubMembersByIDDefault creates a GetClubMembersByIDDefault with default headers values
func (*GetClubMembersByIDDefault) Code ¶
func (o *GetClubMembersByIDDefault) Code() int
Code gets the status code for the get club members by Id default response
func (*GetClubMembersByIDDefault) Error ¶
func (o *GetClubMembersByIDDefault) Error() string
func (*GetClubMembersByIDDefault) GetPayload ¶
func (o *GetClubMembersByIDDefault) GetPayload() *models.Fault
func (*GetClubMembersByIDDefault) IsClientError ¶
func (o *GetClubMembersByIDDefault) IsClientError() bool
IsClientError returns true when this get club members by Id default response has a 4xx status code
func (*GetClubMembersByIDDefault) IsCode ¶
func (o *GetClubMembersByIDDefault) IsCode(code int) bool
IsCode returns true when this get club members by Id default response a status code equal to that given
func (*GetClubMembersByIDDefault) IsRedirect ¶
func (o *GetClubMembersByIDDefault) IsRedirect() bool
IsRedirect returns true when this get club members by Id default response has a 3xx status code
func (*GetClubMembersByIDDefault) IsServerError ¶
func (o *GetClubMembersByIDDefault) IsServerError() bool
IsServerError returns true when this get club members by Id default response has a 5xx status code
func (*GetClubMembersByIDDefault) IsSuccess ¶
func (o *GetClubMembersByIDDefault) IsSuccess() bool
IsSuccess returns true when this get club members by Id default response has a 2xx status code
func (*GetClubMembersByIDDefault) String ¶
func (o *GetClubMembersByIDDefault) String() string
type GetClubMembersByIDOK ¶
type GetClubMembersByIDOK struct {
Payload []*models.ClubAthlete
}
GetClubMembersByIDOK describes a response with status code 200, with default header values.
A list of club athlete representations.
func NewGetClubMembersByIDOK ¶
func NewGetClubMembersByIDOK() *GetClubMembersByIDOK
NewGetClubMembersByIDOK creates a GetClubMembersByIDOK with default headers values
func (*GetClubMembersByIDOK) Code ¶
func (o *GetClubMembersByIDOK) Code() int
Code gets the status code for the get club members by Id o k response
func (*GetClubMembersByIDOK) Error ¶
func (o *GetClubMembersByIDOK) Error() string
func (*GetClubMembersByIDOK) GetPayload ¶
func (o *GetClubMembersByIDOK) GetPayload() []*models.ClubAthlete
func (*GetClubMembersByIDOK) IsClientError ¶
func (o *GetClubMembersByIDOK) IsClientError() bool
IsClientError returns true when this get club members by Id o k response has a 4xx status code
func (*GetClubMembersByIDOK) IsCode ¶
func (o *GetClubMembersByIDOK) IsCode(code int) bool
IsCode returns true when this get club members by Id o k response a status code equal to that given
func (*GetClubMembersByIDOK) IsRedirect ¶
func (o *GetClubMembersByIDOK) IsRedirect() bool
IsRedirect returns true when this get club members by Id o k response has a 3xx status code
func (*GetClubMembersByIDOK) IsServerError ¶
func (o *GetClubMembersByIDOK) IsServerError() bool
IsServerError returns true when this get club members by Id o k response has a 5xx status code
func (*GetClubMembersByIDOK) IsSuccess ¶
func (o *GetClubMembersByIDOK) IsSuccess() bool
IsSuccess returns true when this get club members by Id o k response has a 2xx status code
func (*GetClubMembersByIDOK) String ¶
func (o *GetClubMembersByIDOK) String() string
type GetClubMembersByIDParams ¶
type GetClubMembersByIDParams struct { /* ID. The identifier of the club. Format: int64 */ ID int64 /* Page. Page number. Defaults to 1. */ Page *int64 /* PerPage. Number of items per page. Defaults to 30. Default: 30 */ PerPage *int64 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetClubMembersByIDParams contains all the parameters to send to the API endpoint
for the get club members by Id operation. Typically these are written to a http.Request.
func NewGetClubMembersByIDParams ¶
func NewGetClubMembersByIDParams() *GetClubMembersByIDParams
NewGetClubMembersByIDParams creates a new GetClubMembersByIDParams 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 NewGetClubMembersByIDParamsWithContext ¶
func NewGetClubMembersByIDParamsWithContext(ctx context.Context) *GetClubMembersByIDParams
NewGetClubMembersByIDParamsWithContext creates a new GetClubMembersByIDParams object with the ability to set a context for a request.
func NewGetClubMembersByIDParamsWithHTTPClient ¶
func NewGetClubMembersByIDParamsWithHTTPClient(client *http.Client) *GetClubMembersByIDParams
NewGetClubMembersByIDParamsWithHTTPClient creates a new GetClubMembersByIDParams object with the ability to set a custom HTTPClient for a request.
func NewGetClubMembersByIDParamsWithTimeout ¶
func NewGetClubMembersByIDParamsWithTimeout(timeout time.Duration) *GetClubMembersByIDParams
NewGetClubMembersByIDParamsWithTimeout creates a new GetClubMembersByIDParams object with the ability to set a timeout on a request.
func (*GetClubMembersByIDParams) SetContext ¶
func (o *GetClubMembersByIDParams) SetContext(ctx context.Context)
SetContext adds the context to the get club members by Id params
func (*GetClubMembersByIDParams) SetDefaults ¶
func (o *GetClubMembersByIDParams) SetDefaults()
SetDefaults hydrates default values in the get club members by Id params (not the query body).
All values with no default are reset to their zero value.
func (*GetClubMembersByIDParams) SetHTTPClient ¶
func (o *GetClubMembersByIDParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get club members by Id params
func (*GetClubMembersByIDParams) SetID ¶
func (o *GetClubMembersByIDParams) SetID(id int64)
SetID adds the id to the get club members by Id params
func (*GetClubMembersByIDParams) SetPage ¶
func (o *GetClubMembersByIDParams) SetPage(page *int64)
SetPage adds the page to the get club members by Id params
func (*GetClubMembersByIDParams) SetPerPage ¶
func (o *GetClubMembersByIDParams) SetPerPage(perPage *int64)
SetPerPage adds the perPage to the get club members by Id params
func (*GetClubMembersByIDParams) SetTimeout ¶
func (o *GetClubMembersByIDParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get club members by Id params
func (*GetClubMembersByIDParams) WithContext ¶
func (o *GetClubMembersByIDParams) WithContext(ctx context.Context) *GetClubMembersByIDParams
WithContext adds the context to the get club members by Id params
func (*GetClubMembersByIDParams) WithDefaults ¶
func (o *GetClubMembersByIDParams) WithDefaults() *GetClubMembersByIDParams
WithDefaults hydrates default values in the get club members by Id params (not the query body).
All values with no default are reset to their zero value.
func (*GetClubMembersByIDParams) WithHTTPClient ¶
func (o *GetClubMembersByIDParams) WithHTTPClient(client *http.Client) *GetClubMembersByIDParams
WithHTTPClient adds the HTTPClient to the get club members by Id params
func (*GetClubMembersByIDParams) WithID ¶
func (o *GetClubMembersByIDParams) WithID(id int64) *GetClubMembersByIDParams
WithID adds the id to the get club members by Id params
func (*GetClubMembersByIDParams) WithPage ¶
func (o *GetClubMembersByIDParams) WithPage(page *int64) *GetClubMembersByIDParams
WithPage adds the page to the get club members by Id params
func (*GetClubMembersByIDParams) WithPerPage ¶
func (o *GetClubMembersByIDParams) WithPerPage(perPage *int64) *GetClubMembersByIDParams
WithPerPage adds the perPage to the get club members by Id params
func (*GetClubMembersByIDParams) WithTimeout ¶
func (o *GetClubMembersByIDParams) WithTimeout(timeout time.Duration) *GetClubMembersByIDParams
WithTimeout adds the timeout to the get club members by Id params
func (*GetClubMembersByIDParams) WriteToRequest ¶
func (o *GetClubMembersByIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetClubMembersByIDReader ¶
type GetClubMembersByIDReader struct {
// contains filtered or unexported fields
}
GetClubMembersByIDReader is a Reader for the GetClubMembersByID structure.
func (*GetClubMembersByIDReader) ReadResponse ¶
func (o *GetClubMembersByIDReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetLoggedInAthleteClubsDefault ¶
type GetLoggedInAthleteClubsDefault struct { Payload *models.Fault // contains filtered or unexported fields }
GetLoggedInAthleteClubsDefault describes a response with status code -1, with default header values.
Unexpected error.
func NewGetLoggedInAthleteClubsDefault ¶
func NewGetLoggedInAthleteClubsDefault(code int) *GetLoggedInAthleteClubsDefault
NewGetLoggedInAthleteClubsDefault creates a GetLoggedInAthleteClubsDefault with default headers values
func (*GetLoggedInAthleteClubsDefault) Code ¶
func (o *GetLoggedInAthleteClubsDefault) Code() int
Code gets the status code for the get logged in athlete clubs default response
func (*GetLoggedInAthleteClubsDefault) Error ¶
func (o *GetLoggedInAthleteClubsDefault) Error() string
func (*GetLoggedInAthleteClubsDefault) GetPayload ¶
func (o *GetLoggedInAthleteClubsDefault) GetPayload() *models.Fault
func (*GetLoggedInAthleteClubsDefault) IsClientError ¶
func (o *GetLoggedInAthleteClubsDefault) IsClientError() bool
IsClientError returns true when this get logged in athlete clubs default response has a 4xx status code
func (*GetLoggedInAthleteClubsDefault) IsCode ¶
func (o *GetLoggedInAthleteClubsDefault) IsCode(code int) bool
IsCode returns true when this get logged in athlete clubs default response a status code equal to that given
func (*GetLoggedInAthleteClubsDefault) IsRedirect ¶
func (o *GetLoggedInAthleteClubsDefault) IsRedirect() bool
IsRedirect returns true when this get logged in athlete clubs default response has a 3xx status code
func (*GetLoggedInAthleteClubsDefault) IsServerError ¶
func (o *GetLoggedInAthleteClubsDefault) IsServerError() bool
IsServerError returns true when this get logged in athlete clubs default response has a 5xx status code
func (*GetLoggedInAthleteClubsDefault) IsSuccess ¶
func (o *GetLoggedInAthleteClubsDefault) IsSuccess() bool
IsSuccess returns true when this get logged in athlete clubs default response has a 2xx status code
func (*GetLoggedInAthleteClubsDefault) String ¶
func (o *GetLoggedInAthleteClubsDefault) String() string
type GetLoggedInAthleteClubsOK ¶
type GetLoggedInAthleteClubsOK struct {
Payload []*models.SummaryClub
}
GetLoggedInAthleteClubsOK describes a response with status code 200, with default header values.
A list of summary club representations.
func NewGetLoggedInAthleteClubsOK ¶
func NewGetLoggedInAthleteClubsOK() *GetLoggedInAthleteClubsOK
NewGetLoggedInAthleteClubsOK creates a GetLoggedInAthleteClubsOK with default headers values
func (*GetLoggedInAthleteClubsOK) Code ¶
func (o *GetLoggedInAthleteClubsOK) Code() int
Code gets the status code for the get logged in athlete clubs o k response
func (*GetLoggedInAthleteClubsOK) Error ¶
func (o *GetLoggedInAthleteClubsOK) Error() string
func (*GetLoggedInAthleteClubsOK) GetPayload ¶
func (o *GetLoggedInAthleteClubsOK) GetPayload() []*models.SummaryClub
func (*GetLoggedInAthleteClubsOK) IsClientError ¶
func (o *GetLoggedInAthleteClubsOK) IsClientError() bool
IsClientError returns true when this get logged in athlete clubs o k response has a 4xx status code
func (*GetLoggedInAthleteClubsOK) IsCode ¶
func (o *GetLoggedInAthleteClubsOK) IsCode(code int) bool
IsCode returns true when this get logged in athlete clubs o k response a status code equal to that given
func (*GetLoggedInAthleteClubsOK) IsRedirect ¶
func (o *GetLoggedInAthleteClubsOK) IsRedirect() bool
IsRedirect returns true when this get logged in athlete clubs o k response has a 3xx status code
func (*GetLoggedInAthleteClubsOK) IsServerError ¶
func (o *GetLoggedInAthleteClubsOK) IsServerError() bool
IsServerError returns true when this get logged in athlete clubs o k response has a 5xx status code
func (*GetLoggedInAthleteClubsOK) IsSuccess ¶
func (o *GetLoggedInAthleteClubsOK) IsSuccess() bool
IsSuccess returns true when this get logged in athlete clubs o k response has a 2xx status code
func (*GetLoggedInAthleteClubsOK) String ¶
func (o *GetLoggedInAthleteClubsOK) String() string
type GetLoggedInAthleteClubsParams ¶
type GetLoggedInAthleteClubsParams struct { /* Page. Page number. Defaults to 1. */ Page *int64 /* PerPage. Number of items per page. Defaults to 30. Default: 30 */ PerPage *int64 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetLoggedInAthleteClubsParams contains all the parameters to send to the API endpoint
for the get logged in athlete clubs operation. Typically these are written to a http.Request.
func NewGetLoggedInAthleteClubsParams ¶
func NewGetLoggedInAthleteClubsParams() *GetLoggedInAthleteClubsParams
NewGetLoggedInAthleteClubsParams creates a new GetLoggedInAthleteClubsParams 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 NewGetLoggedInAthleteClubsParamsWithContext ¶
func NewGetLoggedInAthleteClubsParamsWithContext(ctx context.Context) *GetLoggedInAthleteClubsParams
NewGetLoggedInAthleteClubsParamsWithContext creates a new GetLoggedInAthleteClubsParams object with the ability to set a context for a request.
func NewGetLoggedInAthleteClubsParamsWithHTTPClient ¶
func NewGetLoggedInAthleteClubsParamsWithHTTPClient(client *http.Client) *GetLoggedInAthleteClubsParams
NewGetLoggedInAthleteClubsParamsWithHTTPClient creates a new GetLoggedInAthleteClubsParams object with the ability to set a custom HTTPClient for a request.
func NewGetLoggedInAthleteClubsParamsWithTimeout ¶
func NewGetLoggedInAthleteClubsParamsWithTimeout(timeout time.Duration) *GetLoggedInAthleteClubsParams
NewGetLoggedInAthleteClubsParamsWithTimeout creates a new GetLoggedInAthleteClubsParams object with the ability to set a timeout on a request.
func (*GetLoggedInAthleteClubsParams) SetContext ¶
func (o *GetLoggedInAthleteClubsParams) SetContext(ctx context.Context)
SetContext adds the context to the get logged in athlete clubs params
func (*GetLoggedInAthleteClubsParams) SetDefaults ¶
func (o *GetLoggedInAthleteClubsParams) SetDefaults()
SetDefaults hydrates default values in the get logged in athlete clubs params (not the query body).
All values with no default are reset to their zero value.
func (*GetLoggedInAthleteClubsParams) SetHTTPClient ¶
func (o *GetLoggedInAthleteClubsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get logged in athlete clubs params
func (*GetLoggedInAthleteClubsParams) SetPage ¶
func (o *GetLoggedInAthleteClubsParams) SetPage(page *int64)
SetPage adds the page to the get logged in athlete clubs params
func (*GetLoggedInAthleteClubsParams) SetPerPage ¶
func (o *GetLoggedInAthleteClubsParams) SetPerPage(perPage *int64)
SetPerPage adds the perPage to the get logged in athlete clubs params
func (*GetLoggedInAthleteClubsParams) SetTimeout ¶
func (o *GetLoggedInAthleteClubsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get logged in athlete clubs params
func (*GetLoggedInAthleteClubsParams) WithContext ¶
func (o *GetLoggedInAthleteClubsParams) WithContext(ctx context.Context) *GetLoggedInAthleteClubsParams
WithContext adds the context to the get logged in athlete clubs params
func (*GetLoggedInAthleteClubsParams) WithDefaults ¶
func (o *GetLoggedInAthleteClubsParams) WithDefaults() *GetLoggedInAthleteClubsParams
WithDefaults hydrates default values in the get logged in athlete clubs params (not the query body).
All values with no default are reset to their zero value.
func (*GetLoggedInAthleteClubsParams) WithHTTPClient ¶
func (o *GetLoggedInAthleteClubsParams) WithHTTPClient(client *http.Client) *GetLoggedInAthleteClubsParams
WithHTTPClient adds the HTTPClient to the get logged in athlete clubs params
func (*GetLoggedInAthleteClubsParams) WithPage ¶
func (o *GetLoggedInAthleteClubsParams) WithPage(page *int64) *GetLoggedInAthleteClubsParams
WithPage adds the page to the get logged in athlete clubs params
func (*GetLoggedInAthleteClubsParams) WithPerPage ¶
func (o *GetLoggedInAthleteClubsParams) WithPerPage(perPage *int64) *GetLoggedInAthleteClubsParams
WithPerPage adds the perPage to the get logged in athlete clubs params
func (*GetLoggedInAthleteClubsParams) WithTimeout ¶
func (o *GetLoggedInAthleteClubsParams) WithTimeout(timeout time.Duration) *GetLoggedInAthleteClubsParams
WithTimeout adds the timeout to the get logged in athlete clubs params
func (*GetLoggedInAthleteClubsParams) WriteToRequest ¶
func (o *GetLoggedInAthleteClubsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetLoggedInAthleteClubsReader ¶
type GetLoggedInAthleteClubsReader struct {
// contains filtered or unexported fields
}
GetLoggedInAthleteClubsReader is a Reader for the GetLoggedInAthleteClubs structure.
func (*GetLoggedInAthleteClubsReader) ReadResponse ¶
func (o *GetLoggedInAthleteClubsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
Source Files
¶
- clubs_client.go
- get_club_activities_by_id_parameters.go
- get_club_activities_by_id_responses.go
- get_club_admins_by_id_parameters.go
- get_club_admins_by_id_responses.go
- get_club_by_id_parameters.go
- get_club_by_id_responses.go
- get_club_members_by_id_parameters.go
- get_club_members_by_id_responses.go
- get_logged_in_athlete_clubs_parameters.go
- get_logged_in_athlete_clubs_responses.go