Documentation ¶
Index ¶
- type Client
- func (a *Client) GetAllChampionMasteries(params *GetAllChampionMasteriesParams, authInfo runtime.ClientAuthInfoWriter) (*GetAllChampionMasteriesOK, error)
- func (a *Client) GetChampionMastery(params *GetChampionMasteryParams, authInfo runtime.ClientAuthInfoWriter) (*GetChampionMasteryOK, error)
- func (a *Client) GetChampionMasteryScore(params *GetChampionMasteryScoreParams, authInfo runtime.ClientAuthInfoWriter) (*GetChampionMasteryScoreOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type GetAllChampionMasteriesBadGateway
- type GetAllChampionMasteriesBadRequest
- type GetAllChampionMasteriesForbidden
- type GetAllChampionMasteriesGatewayTimeout
- type GetAllChampionMasteriesInternalServerError
- type GetAllChampionMasteriesMethodNotAllowed
- type GetAllChampionMasteriesNotFound
- type GetAllChampionMasteriesOK
- type GetAllChampionMasteriesParams
- func NewGetAllChampionMasteriesParams() *GetAllChampionMasteriesParams
- func NewGetAllChampionMasteriesParamsWithContext(ctx context.Context) *GetAllChampionMasteriesParams
- func NewGetAllChampionMasteriesParamsWithHTTPClient(client *http.Client) *GetAllChampionMasteriesParams
- func NewGetAllChampionMasteriesParamsWithTimeout(timeout time.Duration) *GetAllChampionMasteriesParams
- func (o *GetAllChampionMasteriesParams) SetContext(ctx context.Context)
- func (o *GetAllChampionMasteriesParams) SetEncryptedSummonerID(encryptedSummonerID string)
- func (o *GetAllChampionMasteriesParams) SetHTTPClient(client *http.Client)
- func (o *GetAllChampionMasteriesParams) SetTimeout(timeout time.Duration)
- func (o *GetAllChampionMasteriesParams) WithContext(ctx context.Context) *GetAllChampionMasteriesParams
- func (o *GetAllChampionMasteriesParams) WithEncryptedSummonerID(encryptedSummonerID string) *GetAllChampionMasteriesParams
- func (o *GetAllChampionMasteriesParams) WithHTTPClient(client *http.Client) *GetAllChampionMasteriesParams
- func (o *GetAllChampionMasteriesParams) WithTimeout(timeout time.Duration) *GetAllChampionMasteriesParams
- func (o *GetAllChampionMasteriesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetAllChampionMasteriesReader
- type GetAllChampionMasteriesServiceUnavailable
- type GetAllChampionMasteriesTooManyRequests
- type GetAllChampionMasteriesUnauthorized
- type GetAllChampionMasteriesUnsupportedMediaType
- type GetChampionMasteryBadGateway
- type GetChampionMasteryBadRequest
- type GetChampionMasteryForbidden
- type GetChampionMasteryGatewayTimeout
- type GetChampionMasteryInternalServerError
- type GetChampionMasteryMethodNotAllowed
- type GetChampionMasteryNotFound
- type GetChampionMasteryOK
- type GetChampionMasteryParams
- func NewGetChampionMasteryParams() *GetChampionMasteryParams
- func NewGetChampionMasteryParamsWithContext(ctx context.Context) *GetChampionMasteryParams
- func NewGetChampionMasteryParamsWithHTTPClient(client *http.Client) *GetChampionMasteryParams
- func NewGetChampionMasteryParamsWithTimeout(timeout time.Duration) *GetChampionMasteryParams
- func (o *GetChampionMasteryParams) SetChampionID(championID int64)
- func (o *GetChampionMasteryParams) SetContext(ctx context.Context)
- func (o *GetChampionMasteryParams) SetEncryptedSummonerID(encryptedSummonerID string)
- func (o *GetChampionMasteryParams) SetHTTPClient(client *http.Client)
- func (o *GetChampionMasteryParams) SetTimeout(timeout time.Duration)
- func (o *GetChampionMasteryParams) WithChampionID(championID int64) *GetChampionMasteryParams
- func (o *GetChampionMasteryParams) WithContext(ctx context.Context) *GetChampionMasteryParams
- func (o *GetChampionMasteryParams) WithEncryptedSummonerID(encryptedSummonerID string) *GetChampionMasteryParams
- func (o *GetChampionMasteryParams) WithHTTPClient(client *http.Client) *GetChampionMasteryParams
- func (o *GetChampionMasteryParams) WithTimeout(timeout time.Duration) *GetChampionMasteryParams
- func (o *GetChampionMasteryParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetChampionMasteryReader
- type GetChampionMasteryScoreBadGateway
- type GetChampionMasteryScoreBadRequest
- type GetChampionMasteryScoreForbidden
- type GetChampionMasteryScoreGatewayTimeout
- type GetChampionMasteryScoreInternalServerError
- type GetChampionMasteryScoreMethodNotAllowed
- type GetChampionMasteryScoreNotFound
- type GetChampionMasteryScoreOK
- type GetChampionMasteryScoreParams
- func NewGetChampionMasteryScoreParams() *GetChampionMasteryScoreParams
- func NewGetChampionMasteryScoreParamsWithContext(ctx context.Context) *GetChampionMasteryScoreParams
- func NewGetChampionMasteryScoreParamsWithHTTPClient(client *http.Client) *GetChampionMasteryScoreParams
- func NewGetChampionMasteryScoreParamsWithTimeout(timeout time.Duration) *GetChampionMasteryScoreParams
- func (o *GetChampionMasteryScoreParams) SetContext(ctx context.Context)
- func (o *GetChampionMasteryScoreParams) SetEncryptedSummonerID(encryptedSummonerID string)
- func (o *GetChampionMasteryScoreParams) SetHTTPClient(client *http.Client)
- func (o *GetChampionMasteryScoreParams) SetTimeout(timeout time.Duration)
- func (o *GetChampionMasteryScoreParams) WithContext(ctx context.Context) *GetChampionMasteryScoreParams
- func (o *GetChampionMasteryScoreParams) WithEncryptedSummonerID(encryptedSummonerID string) *GetChampionMasteryScoreParams
- func (o *GetChampionMasteryScoreParams) WithHTTPClient(client *http.Client) *GetChampionMasteryScoreParams
- func (o *GetChampionMasteryScoreParams) WithTimeout(timeout time.Duration) *GetChampionMasteryScoreParams
- func (o *GetChampionMasteryScoreParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetChampionMasteryScoreReader
- type GetChampionMasteryScoreServiceUnavailable
- type GetChampionMasteryScoreTooManyRequests
- type GetChampionMasteryScoreUnauthorized
- type GetChampionMasteryScoreUnsupportedMediaType
- type GetChampionMasteryServiceUnavailable
- type GetChampionMasteryTooManyRequests
- type GetChampionMasteryUnauthorized
- type GetChampionMasteryUnsupportedMediaType
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 champion mastery API
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) *Client
New creates a new champion mastery API client.
func (*Client) GetAllChampionMasteries ¶
func (a *Client) GetAllChampionMasteries(params *GetAllChampionMasteriesParams, authInfo runtime.ClientAuthInfoWriter) (*GetAllChampionMasteriesOK, error)
GetAllChampionMasteries gets all champion mastery entries sorted by number of champion points descending
func (*Client) GetChampionMastery ¶
func (a *Client) GetChampionMastery(params *GetChampionMasteryParams, authInfo runtime.ClientAuthInfoWriter) (*GetChampionMasteryOK, error)
GetChampionMastery gets a champion mastery by player ID and champion ID
func (*Client) GetChampionMasteryScore ¶
func (a *Client) GetChampionMasteryScore(params *GetChampionMasteryScoreParams, authInfo runtime.ClientAuthInfoWriter) (*GetChampionMasteryScoreOK, error)
GetChampionMasteryScore gets a champion mastery by player ID and champion ID
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type GetAllChampionMasteriesBadGateway ¶
GetAllChampionMasteriesBadGateway handles this case with default header values.
Bad gateway
func NewGetAllChampionMasteriesBadGateway ¶
func NewGetAllChampionMasteriesBadGateway() *GetAllChampionMasteriesBadGateway
NewGetAllChampionMasteriesBadGateway creates a GetAllChampionMasteriesBadGateway with default headers values
func (*GetAllChampionMasteriesBadGateway) Error ¶
func (o *GetAllChampionMasteriesBadGateway) Error() string
func (*GetAllChampionMasteriesBadGateway) GetPayload ¶
func (o *GetAllChampionMasteriesBadGateway) GetPayload() *models.APIError
type GetAllChampionMasteriesBadRequest ¶
GetAllChampionMasteriesBadRequest handles this case with default header values.
Bad request
func NewGetAllChampionMasteriesBadRequest ¶
func NewGetAllChampionMasteriesBadRequest() *GetAllChampionMasteriesBadRequest
NewGetAllChampionMasteriesBadRequest creates a GetAllChampionMasteriesBadRequest with default headers values
func (*GetAllChampionMasteriesBadRequest) Error ¶
func (o *GetAllChampionMasteriesBadRequest) Error() string
func (*GetAllChampionMasteriesBadRequest) GetPayload ¶
func (o *GetAllChampionMasteriesBadRequest) GetPayload() *models.APIError
type GetAllChampionMasteriesForbidden ¶
GetAllChampionMasteriesForbidden handles this case with default header values.
Forbidden
func NewGetAllChampionMasteriesForbidden ¶
func NewGetAllChampionMasteriesForbidden() *GetAllChampionMasteriesForbidden
NewGetAllChampionMasteriesForbidden creates a GetAllChampionMasteriesForbidden with default headers values
func (*GetAllChampionMasteriesForbidden) Error ¶
func (o *GetAllChampionMasteriesForbidden) Error() string
func (*GetAllChampionMasteriesForbidden) GetPayload ¶
func (o *GetAllChampionMasteriesForbidden) GetPayload() *models.APIError
type GetAllChampionMasteriesGatewayTimeout ¶
GetAllChampionMasteriesGatewayTimeout handles this case with default header values.
Gateway timeout
func NewGetAllChampionMasteriesGatewayTimeout ¶
func NewGetAllChampionMasteriesGatewayTimeout() *GetAllChampionMasteriesGatewayTimeout
NewGetAllChampionMasteriesGatewayTimeout creates a GetAllChampionMasteriesGatewayTimeout with default headers values
func (*GetAllChampionMasteriesGatewayTimeout) Error ¶
func (o *GetAllChampionMasteriesGatewayTimeout) Error() string
func (*GetAllChampionMasteriesGatewayTimeout) GetPayload ¶
func (o *GetAllChampionMasteriesGatewayTimeout) GetPayload() *models.APIError
type GetAllChampionMasteriesInternalServerError ¶
GetAllChampionMasteriesInternalServerError handles this case with default header values.
Internal server error
func NewGetAllChampionMasteriesInternalServerError ¶
func NewGetAllChampionMasteriesInternalServerError() *GetAllChampionMasteriesInternalServerError
NewGetAllChampionMasteriesInternalServerError creates a GetAllChampionMasteriesInternalServerError with default headers values
func (*GetAllChampionMasteriesInternalServerError) Error ¶
func (o *GetAllChampionMasteriesInternalServerError) Error() string
func (*GetAllChampionMasteriesInternalServerError) GetPayload ¶
func (o *GetAllChampionMasteriesInternalServerError) GetPayload() *models.APIError
type GetAllChampionMasteriesMethodNotAllowed ¶
GetAllChampionMasteriesMethodNotAllowed handles this case with default header values.
Method not allowed
func NewGetAllChampionMasteriesMethodNotAllowed ¶
func NewGetAllChampionMasteriesMethodNotAllowed() *GetAllChampionMasteriesMethodNotAllowed
NewGetAllChampionMasteriesMethodNotAllowed creates a GetAllChampionMasteriesMethodNotAllowed with default headers values
func (*GetAllChampionMasteriesMethodNotAllowed) Error ¶
func (o *GetAllChampionMasteriesMethodNotAllowed) Error() string
func (*GetAllChampionMasteriesMethodNotAllowed) GetPayload ¶
func (o *GetAllChampionMasteriesMethodNotAllowed) GetPayload() *models.APIError
type GetAllChampionMasteriesNotFound ¶
GetAllChampionMasteriesNotFound handles this case with default header values.
Not found
func NewGetAllChampionMasteriesNotFound ¶
func NewGetAllChampionMasteriesNotFound() *GetAllChampionMasteriesNotFound
NewGetAllChampionMasteriesNotFound creates a GetAllChampionMasteriesNotFound with default headers values
func (*GetAllChampionMasteriesNotFound) Error ¶
func (o *GetAllChampionMasteriesNotFound) Error() string
func (*GetAllChampionMasteriesNotFound) GetPayload ¶
func (o *GetAllChampionMasteriesNotFound) GetPayload() *models.APIError
type GetAllChampionMasteriesOK ¶
type GetAllChampionMasteriesOK struct {
Payload []*models.ChampionMastery
}
GetAllChampionMasteriesOK handles this case with default header values.
OK
func NewGetAllChampionMasteriesOK ¶
func NewGetAllChampionMasteriesOK() *GetAllChampionMasteriesOK
NewGetAllChampionMasteriesOK creates a GetAllChampionMasteriesOK with default headers values
func (*GetAllChampionMasteriesOK) Error ¶
func (o *GetAllChampionMasteriesOK) Error() string
func (*GetAllChampionMasteriesOK) GetPayload ¶
func (o *GetAllChampionMasteriesOK) GetPayload() []*models.ChampionMastery
type GetAllChampionMasteriesParams ¶
type GetAllChampionMasteriesParams struct { /*EncryptedSummonerID Summoner ID associated with the player */ EncryptedSummonerID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetAllChampionMasteriesParams contains all the parameters to send to the API endpoint for the get all champion masteries operation typically these are written to a http.Request
func NewGetAllChampionMasteriesParams ¶
func NewGetAllChampionMasteriesParams() *GetAllChampionMasteriesParams
NewGetAllChampionMasteriesParams creates a new GetAllChampionMasteriesParams object with the default values initialized.
func NewGetAllChampionMasteriesParamsWithContext ¶
func NewGetAllChampionMasteriesParamsWithContext(ctx context.Context) *GetAllChampionMasteriesParams
NewGetAllChampionMasteriesParamsWithContext creates a new GetAllChampionMasteriesParams object with the default values initialized, and the ability to set a context for a request
func NewGetAllChampionMasteriesParamsWithHTTPClient ¶
func NewGetAllChampionMasteriesParamsWithHTTPClient(client *http.Client) *GetAllChampionMasteriesParams
NewGetAllChampionMasteriesParamsWithHTTPClient creates a new GetAllChampionMasteriesParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetAllChampionMasteriesParamsWithTimeout ¶
func NewGetAllChampionMasteriesParamsWithTimeout(timeout time.Duration) *GetAllChampionMasteriesParams
NewGetAllChampionMasteriesParamsWithTimeout creates a new GetAllChampionMasteriesParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetAllChampionMasteriesParams) SetContext ¶
func (o *GetAllChampionMasteriesParams) SetContext(ctx context.Context)
SetContext adds the context to the get all champion masteries params
func (*GetAllChampionMasteriesParams) SetEncryptedSummonerID ¶
func (o *GetAllChampionMasteriesParams) SetEncryptedSummonerID(encryptedSummonerID string)
SetEncryptedSummonerID adds the encryptedSummonerId to the get all champion masteries params
func (*GetAllChampionMasteriesParams) SetHTTPClient ¶
func (o *GetAllChampionMasteriesParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get all champion masteries params
func (*GetAllChampionMasteriesParams) SetTimeout ¶
func (o *GetAllChampionMasteriesParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get all champion masteries params
func (*GetAllChampionMasteriesParams) WithContext ¶
func (o *GetAllChampionMasteriesParams) WithContext(ctx context.Context) *GetAllChampionMasteriesParams
WithContext adds the context to the get all champion masteries params
func (*GetAllChampionMasteriesParams) WithEncryptedSummonerID ¶
func (o *GetAllChampionMasteriesParams) WithEncryptedSummonerID(encryptedSummonerID string) *GetAllChampionMasteriesParams
WithEncryptedSummonerID adds the encryptedSummonerID to the get all champion masteries params
func (*GetAllChampionMasteriesParams) WithHTTPClient ¶
func (o *GetAllChampionMasteriesParams) WithHTTPClient(client *http.Client) *GetAllChampionMasteriesParams
WithHTTPClient adds the HTTPClient to the get all champion masteries params
func (*GetAllChampionMasteriesParams) WithTimeout ¶
func (o *GetAllChampionMasteriesParams) WithTimeout(timeout time.Duration) *GetAllChampionMasteriesParams
WithTimeout adds the timeout to the get all champion masteries params
func (*GetAllChampionMasteriesParams) WriteToRequest ¶
func (o *GetAllChampionMasteriesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetAllChampionMasteriesReader ¶
type GetAllChampionMasteriesReader struct {
// contains filtered or unexported fields
}
GetAllChampionMasteriesReader is a Reader for the GetAllChampionMasteries structure.
func (*GetAllChampionMasteriesReader) ReadResponse ¶
func (o *GetAllChampionMasteriesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetAllChampionMasteriesServiceUnavailable ¶
type GetAllChampionMasteriesServiceUnavailable struct {
}GetAllChampionMasteriesServiceUnavailable handles this case with default header values.
Service Unavailable
func NewGetAllChampionMasteriesServiceUnavailable ¶
func NewGetAllChampionMasteriesServiceUnavailable() *GetAllChampionMasteriesServiceUnavailable
NewGetAllChampionMasteriesServiceUnavailable creates a GetAllChampionMasteriesServiceUnavailable with default headers values
func (*GetAllChampionMasteriesServiceUnavailable) Error ¶
func (o *GetAllChampionMasteriesServiceUnavailable) Error() string
func (*GetAllChampionMasteriesServiceUnavailable) GetPayload ¶
func (o *GetAllChampionMasteriesServiceUnavailable) GetPayload() *models.APIError
type GetAllChampionMasteriesTooManyRequests ¶
GetAllChampionMasteriesTooManyRequests handles this case with default header values.
Rate limit Exceeded
func NewGetAllChampionMasteriesTooManyRequests ¶
func NewGetAllChampionMasteriesTooManyRequests() *GetAllChampionMasteriesTooManyRequests
NewGetAllChampionMasteriesTooManyRequests creates a GetAllChampionMasteriesTooManyRequests with default headers values
func (*GetAllChampionMasteriesTooManyRequests) Error ¶
func (o *GetAllChampionMasteriesTooManyRequests) Error() string
func (*GetAllChampionMasteriesTooManyRequests) GetPayload ¶
func (o *GetAllChampionMasteriesTooManyRequests) GetPayload() *models.APIError
type GetAllChampionMasteriesUnauthorized ¶
type GetAllChampionMasteriesUnauthorized struct {
}GetAllChampionMasteriesUnauthorized handles this case with default header values.
Unauthorized
func NewGetAllChampionMasteriesUnauthorized ¶
func NewGetAllChampionMasteriesUnauthorized() *GetAllChampionMasteriesUnauthorized
NewGetAllChampionMasteriesUnauthorized creates a GetAllChampionMasteriesUnauthorized with default headers values
func (*GetAllChampionMasteriesUnauthorized) Error ¶
func (o *GetAllChampionMasteriesUnauthorized) Error() string
func (*GetAllChampionMasteriesUnauthorized) GetPayload ¶
func (o *GetAllChampionMasteriesUnauthorized) GetPayload() *models.APIError
type GetAllChampionMasteriesUnsupportedMediaType ¶
GetAllChampionMasteriesUnsupportedMediaType handles this case with default header values.
Unsopported media type
func NewGetAllChampionMasteriesUnsupportedMediaType ¶
func NewGetAllChampionMasteriesUnsupportedMediaType() *GetAllChampionMasteriesUnsupportedMediaType
NewGetAllChampionMasteriesUnsupportedMediaType creates a GetAllChampionMasteriesUnsupportedMediaType with default headers values
func (*GetAllChampionMasteriesUnsupportedMediaType) Error ¶
func (o *GetAllChampionMasteriesUnsupportedMediaType) Error() string
func (*GetAllChampionMasteriesUnsupportedMediaType) GetPayload ¶
func (o *GetAllChampionMasteriesUnsupportedMediaType) GetPayload() *models.APIError
type GetChampionMasteryBadGateway ¶
GetChampionMasteryBadGateway handles this case with default header values.
Bad gateway
func NewGetChampionMasteryBadGateway ¶
func NewGetChampionMasteryBadGateway() *GetChampionMasteryBadGateway
NewGetChampionMasteryBadGateway creates a GetChampionMasteryBadGateway with default headers values
func (*GetChampionMasteryBadGateway) Error ¶
func (o *GetChampionMasteryBadGateway) Error() string
func (*GetChampionMasteryBadGateway) GetPayload ¶
func (o *GetChampionMasteryBadGateway) GetPayload() *models.APIError
type GetChampionMasteryBadRequest ¶
GetChampionMasteryBadRequest handles this case with default header values.
Bad request
func NewGetChampionMasteryBadRequest ¶
func NewGetChampionMasteryBadRequest() *GetChampionMasteryBadRequest
NewGetChampionMasteryBadRequest creates a GetChampionMasteryBadRequest with default headers values
func (*GetChampionMasteryBadRequest) Error ¶
func (o *GetChampionMasteryBadRequest) Error() string
func (*GetChampionMasteryBadRequest) GetPayload ¶
func (o *GetChampionMasteryBadRequest) GetPayload() *models.APIError
type GetChampionMasteryForbidden ¶
GetChampionMasteryForbidden handles this case with default header values.
Forbidden
func NewGetChampionMasteryForbidden ¶
func NewGetChampionMasteryForbidden() *GetChampionMasteryForbidden
NewGetChampionMasteryForbidden creates a GetChampionMasteryForbidden with default headers values
func (*GetChampionMasteryForbidden) Error ¶
func (o *GetChampionMasteryForbidden) Error() string
func (*GetChampionMasteryForbidden) GetPayload ¶
func (o *GetChampionMasteryForbidden) GetPayload() *models.APIError
type GetChampionMasteryGatewayTimeout ¶
GetChampionMasteryGatewayTimeout handles this case with default header values.
Gateway timeout
func NewGetChampionMasteryGatewayTimeout ¶
func NewGetChampionMasteryGatewayTimeout() *GetChampionMasteryGatewayTimeout
NewGetChampionMasteryGatewayTimeout creates a GetChampionMasteryGatewayTimeout with default headers values
func (*GetChampionMasteryGatewayTimeout) Error ¶
func (o *GetChampionMasteryGatewayTimeout) Error() string
func (*GetChampionMasteryGatewayTimeout) GetPayload ¶
func (o *GetChampionMasteryGatewayTimeout) GetPayload() *models.APIError
type GetChampionMasteryInternalServerError ¶
GetChampionMasteryInternalServerError handles this case with default header values.
Internal server error
func NewGetChampionMasteryInternalServerError ¶
func NewGetChampionMasteryInternalServerError() *GetChampionMasteryInternalServerError
NewGetChampionMasteryInternalServerError creates a GetChampionMasteryInternalServerError with default headers values
func (*GetChampionMasteryInternalServerError) Error ¶
func (o *GetChampionMasteryInternalServerError) Error() string
func (*GetChampionMasteryInternalServerError) GetPayload ¶
func (o *GetChampionMasteryInternalServerError) GetPayload() *models.APIError
type GetChampionMasteryMethodNotAllowed ¶
GetChampionMasteryMethodNotAllowed handles this case with default header values.
Method not allowed
func NewGetChampionMasteryMethodNotAllowed ¶
func NewGetChampionMasteryMethodNotAllowed() *GetChampionMasteryMethodNotAllowed
NewGetChampionMasteryMethodNotAllowed creates a GetChampionMasteryMethodNotAllowed with default headers values
func (*GetChampionMasteryMethodNotAllowed) Error ¶
func (o *GetChampionMasteryMethodNotAllowed) Error() string
func (*GetChampionMasteryMethodNotAllowed) GetPayload ¶
func (o *GetChampionMasteryMethodNotAllowed) GetPayload() *models.APIError
type GetChampionMasteryNotFound ¶
GetChampionMasteryNotFound handles this case with default header values.
Not found
func NewGetChampionMasteryNotFound ¶
func NewGetChampionMasteryNotFound() *GetChampionMasteryNotFound
NewGetChampionMasteryNotFound creates a GetChampionMasteryNotFound with default headers values
func (*GetChampionMasteryNotFound) Error ¶
func (o *GetChampionMasteryNotFound) Error() string
func (*GetChampionMasteryNotFound) GetPayload ¶
func (o *GetChampionMasteryNotFound) GetPayload() *models.APIError
type GetChampionMasteryOK ¶
type GetChampionMasteryOK struct {
Payload *models.ChampionMastery
}
GetChampionMasteryOK handles this case with default header values.
OK
func NewGetChampionMasteryOK ¶
func NewGetChampionMasteryOK() *GetChampionMasteryOK
NewGetChampionMasteryOK creates a GetChampionMasteryOK with default headers values
func (*GetChampionMasteryOK) Error ¶
func (o *GetChampionMasteryOK) Error() string
func (*GetChampionMasteryOK) GetPayload ¶
func (o *GetChampionMasteryOK) GetPayload() *models.ChampionMastery
type GetChampionMasteryParams ¶
type GetChampionMasteryParams struct { /*ChampionID Champion ID */ ChampionID int64 /*EncryptedSummonerID Summoner ID associated with the player */ EncryptedSummonerID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetChampionMasteryParams contains all the parameters to send to the API endpoint for the get champion mastery operation typically these are written to a http.Request
func NewGetChampionMasteryParams ¶
func NewGetChampionMasteryParams() *GetChampionMasteryParams
NewGetChampionMasteryParams creates a new GetChampionMasteryParams object with the default values initialized.
func NewGetChampionMasteryParamsWithContext ¶
func NewGetChampionMasteryParamsWithContext(ctx context.Context) *GetChampionMasteryParams
NewGetChampionMasteryParamsWithContext creates a new GetChampionMasteryParams object with the default values initialized, and the ability to set a context for a request
func NewGetChampionMasteryParamsWithHTTPClient ¶
func NewGetChampionMasteryParamsWithHTTPClient(client *http.Client) *GetChampionMasteryParams
NewGetChampionMasteryParamsWithHTTPClient creates a new GetChampionMasteryParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetChampionMasteryParamsWithTimeout ¶
func NewGetChampionMasteryParamsWithTimeout(timeout time.Duration) *GetChampionMasteryParams
NewGetChampionMasteryParamsWithTimeout creates a new GetChampionMasteryParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetChampionMasteryParams) SetChampionID ¶
func (o *GetChampionMasteryParams) SetChampionID(championID int64)
SetChampionID adds the championId to the get champion mastery params
func (*GetChampionMasteryParams) SetContext ¶
func (o *GetChampionMasteryParams) SetContext(ctx context.Context)
SetContext adds the context to the get champion mastery params
func (*GetChampionMasteryParams) SetEncryptedSummonerID ¶
func (o *GetChampionMasteryParams) SetEncryptedSummonerID(encryptedSummonerID string)
SetEncryptedSummonerID adds the encryptedSummonerId to the get champion mastery params
func (*GetChampionMasteryParams) SetHTTPClient ¶
func (o *GetChampionMasteryParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get champion mastery params
func (*GetChampionMasteryParams) SetTimeout ¶
func (o *GetChampionMasteryParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get champion mastery params
func (*GetChampionMasteryParams) WithChampionID ¶
func (o *GetChampionMasteryParams) WithChampionID(championID int64) *GetChampionMasteryParams
WithChampionID adds the championID to the get champion mastery params
func (*GetChampionMasteryParams) WithContext ¶
func (o *GetChampionMasteryParams) WithContext(ctx context.Context) *GetChampionMasteryParams
WithContext adds the context to the get champion mastery params
func (*GetChampionMasteryParams) WithEncryptedSummonerID ¶
func (o *GetChampionMasteryParams) WithEncryptedSummonerID(encryptedSummonerID string) *GetChampionMasteryParams
WithEncryptedSummonerID adds the encryptedSummonerID to the get champion mastery params
func (*GetChampionMasteryParams) WithHTTPClient ¶
func (o *GetChampionMasteryParams) WithHTTPClient(client *http.Client) *GetChampionMasteryParams
WithHTTPClient adds the HTTPClient to the get champion mastery params
func (*GetChampionMasteryParams) WithTimeout ¶
func (o *GetChampionMasteryParams) WithTimeout(timeout time.Duration) *GetChampionMasteryParams
WithTimeout adds the timeout to the get champion mastery params
func (*GetChampionMasteryParams) WriteToRequest ¶
func (o *GetChampionMasteryParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetChampionMasteryReader ¶
type GetChampionMasteryReader struct {
// contains filtered or unexported fields
}
GetChampionMasteryReader is a Reader for the GetChampionMastery structure.
func (*GetChampionMasteryReader) ReadResponse ¶
func (o *GetChampionMasteryReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetChampionMasteryScoreBadGateway ¶
GetChampionMasteryScoreBadGateway handles this case with default header values.
Bad gateway
func NewGetChampionMasteryScoreBadGateway ¶
func NewGetChampionMasteryScoreBadGateway() *GetChampionMasteryScoreBadGateway
NewGetChampionMasteryScoreBadGateway creates a GetChampionMasteryScoreBadGateway with default headers values
func (*GetChampionMasteryScoreBadGateway) Error ¶
func (o *GetChampionMasteryScoreBadGateway) Error() string
func (*GetChampionMasteryScoreBadGateway) GetPayload ¶
func (o *GetChampionMasteryScoreBadGateway) GetPayload() *models.APIError
type GetChampionMasteryScoreBadRequest ¶
GetChampionMasteryScoreBadRequest handles this case with default header values.
Bad request
func NewGetChampionMasteryScoreBadRequest ¶
func NewGetChampionMasteryScoreBadRequest() *GetChampionMasteryScoreBadRequest
NewGetChampionMasteryScoreBadRequest creates a GetChampionMasteryScoreBadRequest with default headers values
func (*GetChampionMasteryScoreBadRequest) Error ¶
func (o *GetChampionMasteryScoreBadRequest) Error() string
func (*GetChampionMasteryScoreBadRequest) GetPayload ¶
func (o *GetChampionMasteryScoreBadRequest) GetPayload() *models.APIError
type GetChampionMasteryScoreForbidden ¶
GetChampionMasteryScoreForbidden handles this case with default header values.
Forbidden
func NewGetChampionMasteryScoreForbidden ¶
func NewGetChampionMasteryScoreForbidden() *GetChampionMasteryScoreForbidden
NewGetChampionMasteryScoreForbidden creates a GetChampionMasteryScoreForbidden with default headers values
func (*GetChampionMasteryScoreForbidden) Error ¶
func (o *GetChampionMasteryScoreForbidden) Error() string
func (*GetChampionMasteryScoreForbidden) GetPayload ¶
func (o *GetChampionMasteryScoreForbidden) GetPayload() *models.APIError
type GetChampionMasteryScoreGatewayTimeout ¶
GetChampionMasteryScoreGatewayTimeout handles this case with default header values.
Gateway timeout
func NewGetChampionMasteryScoreGatewayTimeout ¶
func NewGetChampionMasteryScoreGatewayTimeout() *GetChampionMasteryScoreGatewayTimeout
NewGetChampionMasteryScoreGatewayTimeout creates a GetChampionMasteryScoreGatewayTimeout with default headers values
func (*GetChampionMasteryScoreGatewayTimeout) Error ¶
func (o *GetChampionMasteryScoreGatewayTimeout) Error() string
func (*GetChampionMasteryScoreGatewayTimeout) GetPayload ¶
func (o *GetChampionMasteryScoreGatewayTimeout) GetPayload() *models.APIError
type GetChampionMasteryScoreInternalServerError ¶
GetChampionMasteryScoreInternalServerError handles this case with default header values.
Internal server error
func NewGetChampionMasteryScoreInternalServerError ¶
func NewGetChampionMasteryScoreInternalServerError() *GetChampionMasteryScoreInternalServerError
NewGetChampionMasteryScoreInternalServerError creates a GetChampionMasteryScoreInternalServerError with default headers values
func (*GetChampionMasteryScoreInternalServerError) Error ¶
func (o *GetChampionMasteryScoreInternalServerError) Error() string
func (*GetChampionMasteryScoreInternalServerError) GetPayload ¶
func (o *GetChampionMasteryScoreInternalServerError) GetPayload() *models.APIError
type GetChampionMasteryScoreMethodNotAllowed ¶
GetChampionMasteryScoreMethodNotAllowed handles this case with default header values.
Method not allowed
func NewGetChampionMasteryScoreMethodNotAllowed ¶
func NewGetChampionMasteryScoreMethodNotAllowed() *GetChampionMasteryScoreMethodNotAllowed
NewGetChampionMasteryScoreMethodNotAllowed creates a GetChampionMasteryScoreMethodNotAllowed with default headers values
func (*GetChampionMasteryScoreMethodNotAllowed) Error ¶
func (o *GetChampionMasteryScoreMethodNotAllowed) Error() string
func (*GetChampionMasteryScoreMethodNotAllowed) GetPayload ¶
func (o *GetChampionMasteryScoreMethodNotAllowed) GetPayload() *models.APIError
type GetChampionMasteryScoreNotFound ¶
GetChampionMasteryScoreNotFound handles this case with default header values.
Not found
func NewGetChampionMasteryScoreNotFound ¶
func NewGetChampionMasteryScoreNotFound() *GetChampionMasteryScoreNotFound
NewGetChampionMasteryScoreNotFound creates a GetChampionMasteryScoreNotFound with default headers values
func (*GetChampionMasteryScoreNotFound) Error ¶
func (o *GetChampionMasteryScoreNotFound) Error() string
func (*GetChampionMasteryScoreNotFound) GetPayload ¶
func (o *GetChampionMasteryScoreNotFound) GetPayload() *models.APIError
type GetChampionMasteryScoreOK ¶
type GetChampionMasteryScoreOK struct {
Payload int32
}
GetChampionMasteryScoreOK handles this case with default header values.
OK
func NewGetChampionMasteryScoreOK ¶
func NewGetChampionMasteryScoreOK() *GetChampionMasteryScoreOK
NewGetChampionMasteryScoreOK creates a GetChampionMasteryScoreOK with default headers values
func (*GetChampionMasteryScoreOK) Error ¶
func (o *GetChampionMasteryScoreOK) Error() string
func (*GetChampionMasteryScoreOK) GetPayload ¶
func (o *GetChampionMasteryScoreOK) GetPayload() int32
type GetChampionMasteryScoreParams ¶
type GetChampionMasteryScoreParams struct { /*EncryptedSummonerID Summoner ID associated with the player */ EncryptedSummonerID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetChampionMasteryScoreParams contains all the parameters to send to the API endpoint for the get champion mastery score operation typically these are written to a http.Request
func NewGetChampionMasteryScoreParams ¶
func NewGetChampionMasteryScoreParams() *GetChampionMasteryScoreParams
NewGetChampionMasteryScoreParams creates a new GetChampionMasteryScoreParams object with the default values initialized.
func NewGetChampionMasteryScoreParamsWithContext ¶
func NewGetChampionMasteryScoreParamsWithContext(ctx context.Context) *GetChampionMasteryScoreParams
NewGetChampionMasteryScoreParamsWithContext creates a new GetChampionMasteryScoreParams object with the default values initialized, and the ability to set a context for a request
func NewGetChampionMasteryScoreParamsWithHTTPClient ¶
func NewGetChampionMasteryScoreParamsWithHTTPClient(client *http.Client) *GetChampionMasteryScoreParams
NewGetChampionMasteryScoreParamsWithHTTPClient creates a new GetChampionMasteryScoreParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetChampionMasteryScoreParamsWithTimeout ¶
func NewGetChampionMasteryScoreParamsWithTimeout(timeout time.Duration) *GetChampionMasteryScoreParams
NewGetChampionMasteryScoreParamsWithTimeout creates a new GetChampionMasteryScoreParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetChampionMasteryScoreParams) SetContext ¶
func (o *GetChampionMasteryScoreParams) SetContext(ctx context.Context)
SetContext adds the context to the get champion mastery score params
func (*GetChampionMasteryScoreParams) SetEncryptedSummonerID ¶
func (o *GetChampionMasteryScoreParams) SetEncryptedSummonerID(encryptedSummonerID string)
SetEncryptedSummonerID adds the encryptedSummonerId to the get champion mastery score params
func (*GetChampionMasteryScoreParams) SetHTTPClient ¶
func (o *GetChampionMasteryScoreParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get champion mastery score params
func (*GetChampionMasteryScoreParams) SetTimeout ¶
func (o *GetChampionMasteryScoreParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get champion mastery score params
func (*GetChampionMasteryScoreParams) WithContext ¶
func (o *GetChampionMasteryScoreParams) WithContext(ctx context.Context) *GetChampionMasteryScoreParams
WithContext adds the context to the get champion mastery score params
func (*GetChampionMasteryScoreParams) WithEncryptedSummonerID ¶
func (o *GetChampionMasteryScoreParams) WithEncryptedSummonerID(encryptedSummonerID string) *GetChampionMasteryScoreParams
WithEncryptedSummonerID adds the encryptedSummonerID to the get champion mastery score params
func (*GetChampionMasteryScoreParams) WithHTTPClient ¶
func (o *GetChampionMasteryScoreParams) WithHTTPClient(client *http.Client) *GetChampionMasteryScoreParams
WithHTTPClient adds the HTTPClient to the get champion mastery score params
func (*GetChampionMasteryScoreParams) WithTimeout ¶
func (o *GetChampionMasteryScoreParams) WithTimeout(timeout time.Duration) *GetChampionMasteryScoreParams
WithTimeout adds the timeout to the get champion mastery score params
func (*GetChampionMasteryScoreParams) WriteToRequest ¶
func (o *GetChampionMasteryScoreParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetChampionMasteryScoreReader ¶
type GetChampionMasteryScoreReader struct {
// contains filtered or unexported fields
}
GetChampionMasteryScoreReader is a Reader for the GetChampionMasteryScore structure.
func (*GetChampionMasteryScoreReader) ReadResponse ¶
func (o *GetChampionMasteryScoreReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetChampionMasteryScoreServiceUnavailable ¶
type GetChampionMasteryScoreServiceUnavailable struct {
}GetChampionMasteryScoreServiceUnavailable handles this case with default header values.
Service Unavailable
func NewGetChampionMasteryScoreServiceUnavailable ¶
func NewGetChampionMasteryScoreServiceUnavailable() *GetChampionMasteryScoreServiceUnavailable
NewGetChampionMasteryScoreServiceUnavailable creates a GetChampionMasteryScoreServiceUnavailable with default headers values
func (*GetChampionMasteryScoreServiceUnavailable) Error ¶
func (o *GetChampionMasteryScoreServiceUnavailable) Error() string
func (*GetChampionMasteryScoreServiceUnavailable) GetPayload ¶
func (o *GetChampionMasteryScoreServiceUnavailable) GetPayload() *models.APIError
type GetChampionMasteryScoreTooManyRequests ¶
GetChampionMasteryScoreTooManyRequests handles this case with default header values.
Rate limit Exceeded
func NewGetChampionMasteryScoreTooManyRequests ¶
func NewGetChampionMasteryScoreTooManyRequests() *GetChampionMasteryScoreTooManyRequests
NewGetChampionMasteryScoreTooManyRequests creates a GetChampionMasteryScoreTooManyRequests with default headers values
func (*GetChampionMasteryScoreTooManyRequests) Error ¶
func (o *GetChampionMasteryScoreTooManyRequests) Error() string
func (*GetChampionMasteryScoreTooManyRequests) GetPayload ¶
func (o *GetChampionMasteryScoreTooManyRequests) GetPayload() *models.APIError
type GetChampionMasteryScoreUnauthorized ¶
type GetChampionMasteryScoreUnauthorized struct {
}GetChampionMasteryScoreUnauthorized handles this case with default header values.
Unauthorized
func NewGetChampionMasteryScoreUnauthorized ¶
func NewGetChampionMasteryScoreUnauthorized() *GetChampionMasteryScoreUnauthorized
NewGetChampionMasteryScoreUnauthorized creates a GetChampionMasteryScoreUnauthorized with default headers values
func (*GetChampionMasteryScoreUnauthorized) Error ¶
func (o *GetChampionMasteryScoreUnauthorized) Error() string
func (*GetChampionMasteryScoreUnauthorized) GetPayload ¶
func (o *GetChampionMasteryScoreUnauthorized) GetPayload() *models.APIError
type GetChampionMasteryScoreUnsupportedMediaType ¶
GetChampionMasteryScoreUnsupportedMediaType handles this case with default header values.
Unsopported media type
func NewGetChampionMasteryScoreUnsupportedMediaType ¶
func NewGetChampionMasteryScoreUnsupportedMediaType() *GetChampionMasteryScoreUnsupportedMediaType
NewGetChampionMasteryScoreUnsupportedMediaType creates a GetChampionMasteryScoreUnsupportedMediaType with default headers values
func (*GetChampionMasteryScoreUnsupportedMediaType) Error ¶
func (o *GetChampionMasteryScoreUnsupportedMediaType) Error() string
func (*GetChampionMasteryScoreUnsupportedMediaType) GetPayload ¶
func (o *GetChampionMasteryScoreUnsupportedMediaType) GetPayload() *models.APIError
type GetChampionMasteryServiceUnavailable ¶
type GetChampionMasteryServiceUnavailable struct {
}GetChampionMasteryServiceUnavailable handles this case with default header values.
Service Unavailable
func NewGetChampionMasteryServiceUnavailable ¶
func NewGetChampionMasteryServiceUnavailable() *GetChampionMasteryServiceUnavailable
NewGetChampionMasteryServiceUnavailable creates a GetChampionMasteryServiceUnavailable with default headers values
func (*GetChampionMasteryServiceUnavailable) Error ¶
func (o *GetChampionMasteryServiceUnavailable) Error() string
func (*GetChampionMasteryServiceUnavailable) GetPayload ¶
func (o *GetChampionMasteryServiceUnavailable) GetPayload() *models.APIError
type GetChampionMasteryTooManyRequests ¶
GetChampionMasteryTooManyRequests handles this case with default header values.
Rate limit Exceeded
func NewGetChampionMasteryTooManyRequests ¶
func NewGetChampionMasteryTooManyRequests() *GetChampionMasteryTooManyRequests
NewGetChampionMasteryTooManyRequests creates a GetChampionMasteryTooManyRequests with default headers values
func (*GetChampionMasteryTooManyRequests) Error ¶
func (o *GetChampionMasteryTooManyRequests) Error() string
func (*GetChampionMasteryTooManyRequests) GetPayload ¶
func (o *GetChampionMasteryTooManyRequests) GetPayload() *models.APIError
type GetChampionMasteryUnauthorized ¶
type GetChampionMasteryUnauthorized struct {
}GetChampionMasteryUnauthorized handles this case with default header values.
Unauthorized
func NewGetChampionMasteryUnauthorized ¶
func NewGetChampionMasteryUnauthorized() *GetChampionMasteryUnauthorized
NewGetChampionMasteryUnauthorized creates a GetChampionMasteryUnauthorized with default headers values
func (*GetChampionMasteryUnauthorized) Error ¶
func (o *GetChampionMasteryUnauthorized) Error() string
func (*GetChampionMasteryUnauthorized) GetPayload ¶
func (o *GetChampionMasteryUnauthorized) GetPayload() *models.APIError
type GetChampionMasteryUnsupportedMediaType ¶
GetChampionMasteryUnsupportedMediaType handles this case with default header values.
Unsopported media type
func NewGetChampionMasteryUnsupportedMediaType ¶
func NewGetChampionMasteryUnsupportedMediaType() *GetChampionMasteryUnsupportedMediaType
NewGetChampionMasteryUnsupportedMediaType creates a GetChampionMasteryUnsupportedMediaType with default headers values
func (*GetChampionMasteryUnsupportedMediaType) Error ¶
func (o *GetChampionMasteryUnsupportedMediaType) Error() string
func (*GetChampionMasteryUnsupportedMediaType) GetPayload ¶
func (o *GetChampionMasteryUnsupportedMediaType) GetPayload() *models.APIError