champion_mastery

package
v0.0.0-...-cbc503f Latest Latest
Warning

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

Go to latest
Published: Sep 22, 2019 License: MIT Imports: 11 Imported by: 0

Documentation

Index

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

type GetAllChampionMasteriesBadGateway struct {
	Payload *models.APIError
}

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 (*GetAllChampionMasteriesBadGateway) GetPayload

type GetAllChampionMasteriesBadRequest

type GetAllChampionMasteriesBadRequest struct {
	Payload *models.APIError
}

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 (*GetAllChampionMasteriesBadRequest) GetPayload

type GetAllChampionMasteriesForbidden

type GetAllChampionMasteriesForbidden struct {
	Payload *models.APIError
}

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 (*GetAllChampionMasteriesForbidden) GetPayload

type GetAllChampionMasteriesGatewayTimeout

type GetAllChampionMasteriesGatewayTimeout struct {
	Payload *models.APIError
}

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 (*GetAllChampionMasteriesGatewayTimeout) GetPayload

type GetAllChampionMasteriesInternalServerError

type GetAllChampionMasteriesInternalServerError struct {
	Payload *models.APIError
}

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 (*GetAllChampionMasteriesInternalServerError) GetPayload

type GetAllChampionMasteriesMethodNotAllowed

type GetAllChampionMasteriesMethodNotAllowed struct {
	Payload *models.APIError
}

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 (*GetAllChampionMasteriesMethodNotAllowed) GetPayload

type GetAllChampionMasteriesNotFound

type GetAllChampionMasteriesNotFound struct {
	Payload *models.APIError
}

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 (*GetAllChampionMasteriesNotFound) GetPayload

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

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

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

WithHTTPClient adds the HTTPClient to the get all champion masteries params

func (*GetAllChampionMasteriesParams) WithTimeout

WithTimeout adds the timeout to the get all champion masteries params

func (*GetAllChampionMasteriesParams) WriteToRequest

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 {
	Payload *models.APIError
}

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 (*GetAllChampionMasteriesServiceUnavailable) GetPayload

type GetAllChampionMasteriesTooManyRequests

type GetAllChampionMasteriesTooManyRequests struct {
	Payload *models.APIError
}

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 (*GetAllChampionMasteriesTooManyRequests) GetPayload

type GetAllChampionMasteriesUnauthorized

type GetAllChampionMasteriesUnauthorized struct {
	Payload *models.APIError
}

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 (*GetAllChampionMasteriesUnauthorized) GetPayload

type GetAllChampionMasteriesUnsupportedMediaType

type GetAllChampionMasteriesUnsupportedMediaType struct {
	Payload *models.APIError
}

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 (*GetAllChampionMasteriesUnsupportedMediaType) GetPayload

type GetChampionMasteryBadGateway

type GetChampionMasteryBadGateway struct {
	Payload *models.APIError
}

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 (*GetChampionMasteryBadGateway) GetPayload

func (o *GetChampionMasteryBadGateway) GetPayload() *models.APIError

type GetChampionMasteryBadRequest

type GetChampionMasteryBadRequest struct {
	Payload *models.APIError
}

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 (*GetChampionMasteryBadRequest) GetPayload

func (o *GetChampionMasteryBadRequest) GetPayload() *models.APIError

type GetChampionMasteryForbidden

type GetChampionMasteryForbidden struct {
	Payload *models.APIError
}

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 (*GetChampionMasteryForbidden) GetPayload

func (o *GetChampionMasteryForbidden) GetPayload() *models.APIError

type GetChampionMasteryGatewayTimeout

type GetChampionMasteryGatewayTimeout struct {
	Payload *models.APIError
}

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 (*GetChampionMasteryGatewayTimeout) GetPayload

type GetChampionMasteryInternalServerError

type GetChampionMasteryInternalServerError struct {
	Payload *models.APIError
}

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 (*GetChampionMasteryInternalServerError) GetPayload

type GetChampionMasteryMethodNotAllowed

type GetChampionMasteryMethodNotAllowed struct {
	Payload *models.APIError
}

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 (*GetChampionMasteryMethodNotAllowed) GetPayload

type GetChampionMasteryNotFound

type GetChampionMasteryNotFound struct {
	Payload *models.APIError
}

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 (*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

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

WithTimeout adds the timeout to the get champion mastery params

func (*GetChampionMasteryParams) WriteToRequest

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

type GetChampionMasteryScoreBadGateway struct {
	Payload *models.APIError
}

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 (*GetChampionMasteryScoreBadGateway) GetPayload

type GetChampionMasteryScoreBadRequest

type GetChampionMasteryScoreBadRequest struct {
	Payload *models.APIError
}

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 (*GetChampionMasteryScoreBadRequest) GetPayload

type GetChampionMasteryScoreForbidden

type GetChampionMasteryScoreForbidden struct {
	Payload *models.APIError
}

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 (*GetChampionMasteryScoreForbidden) GetPayload

type GetChampionMasteryScoreGatewayTimeout

type GetChampionMasteryScoreGatewayTimeout struct {
	Payload *models.APIError
}

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 (*GetChampionMasteryScoreGatewayTimeout) GetPayload

type GetChampionMasteryScoreInternalServerError

type GetChampionMasteryScoreInternalServerError struct {
	Payload *models.APIError
}

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 (*GetChampionMasteryScoreInternalServerError) GetPayload

type GetChampionMasteryScoreMethodNotAllowed

type GetChampionMasteryScoreMethodNotAllowed struct {
	Payload *models.APIError
}

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 (*GetChampionMasteryScoreMethodNotAllowed) GetPayload

type GetChampionMasteryScoreNotFound

type GetChampionMasteryScoreNotFound struct {
	Payload *models.APIError
}

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 (*GetChampionMasteryScoreNotFound) GetPayload

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

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

WithHTTPClient adds the HTTPClient to the get champion mastery score params

func (*GetChampionMasteryScoreParams) WithTimeout

WithTimeout adds the timeout to the get champion mastery score params

func (*GetChampionMasteryScoreParams) WriteToRequest

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 {
	Payload *models.APIError
}

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 (*GetChampionMasteryScoreServiceUnavailable) GetPayload

type GetChampionMasteryScoreTooManyRequests

type GetChampionMasteryScoreTooManyRequests struct {
	Payload *models.APIError
}

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 (*GetChampionMasteryScoreTooManyRequests) GetPayload

type GetChampionMasteryScoreUnauthorized

type GetChampionMasteryScoreUnauthorized struct {
	Payload *models.APIError
}

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 (*GetChampionMasteryScoreUnauthorized) GetPayload

type GetChampionMasteryScoreUnsupportedMediaType

type GetChampionMasteryScoreUnsupportedMediaType struct {
	Payload *models.APIError
}

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 (*GetChampionMasteryScoreUnsupportedMediaType) GetPayload

type GetChampionMasteryServiceUnavailable

type GetChampionMasteryServiceUnavailable struct {
	Payload *models.APIError
}

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 (*GetChampionMasteryServiceUnavailable) GetPayload

type GetChampionMasteryTooManyRequests

type GetChampionMasteryTooManyRequests struct {
	Payload *models.APIError
}

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 (*GetChampionMasteryTooManyRequests) GetPayload

type GetChampionMasteryUnauthorized

type GetChampionMasteryUnauthorized struct {
	Payload *models.APIError
}

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 (*GetChampionMasteryUnauthorized) GetPayload

type GetChampionMasteryUnsupportedMediaType

type GetChampionMasteryUnsupportedMediaType struct {
	Payload *models.APIError
}

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 (*GetChampionMasteryUnsupportedMediaType) GetPayload

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL