Documentation
¶
Index ¶
- type Client
- func (a *Client) GetApexLeague(params *GetApexLeagueParams, authInfo runtime.ClientAuthInfoWriter) (*GetApexLeagueOK, error)
- func (a *Client) GetLeagueEntriesExp(params *GetLeagueEntriesExpParams, authInfo runtime.ClientAuthInfoWriter) (*GetLeagueEntriesExpOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type GetApexLeagueBadGateway
- type GetApexLeagueBadRequest
- type GetApexLeagueForbidden
- type GetApexLeagueGatewayTimeout
- type GetApexLeagueInternalServerError
- type GetApexLeagueMethodNotAllowed
- type GetApexLeagueNotFound
- type GetApexLeagueOK
- type GetApexLeagueParams
- func (o *GetApexLeagueParams) SetApexLeague(apexLeague string)
- func (o *GetApexLeagueParams) SetContext(ctx context.Context)
- func (o *GetApexLeagueParams) SetHTTPClient(client *http.Client)
- func (o *GetApexLeagueParams) SetQueue(queue string)
- func (o *GetApexLeagueParams) SetTimeout(timeout time.Duration)
- func (o *GetApexLeagueParams) WithApexLeague(apexLeague string) *GetApexLeagueParams
- func (o *GetApexLeagueParams) WithContext(ctx context.Context) *GetApexLeagueParams
- func (o *GetApexLeagueParams) WithHTTPClient(client *http.Client) *GetApexLeagueParams
- func (o *GetApexLeagueParams) WithQueue(queue string) *GetApexLeagueParams
- func (o *GetApexLeagueParams) WithTimeout(timeout time.Duration) *GetApexLeagueParams
- func (o *GetApexLeagueParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetApexLeagueReader
- type GetApexLeagueServiceUnavailable
- type GetApexLeagueTooManyRequests
- type GetApexLeagueUnauthorized
- type GetApexLeagueUnsupportedMediaType
- type GetLeagueEntriesExpBadGateway
- type GetLeagueEntriesExpBadRequest
- type GetLeagueEntriesExpForbidden
- type GetLeagueEntriesExpGatewayTimeout
- type GetLeagueEntriesExpInternalServerError
- type GetLeagueEntriesExpMethodNotAllowed
- type GetLeagueEntriesExpNotFound
- type GetLeagueEntriesExpOK
- type GetLeagueEntriesExpParams
- func NewGetLeagueEntriesExpParams() *GetLeagueEntriesExpParams
- func NewGetLeagueEntriesExpParamsWithContext(ctx context.Context) *GetLeagueEntriesExpParams
- func NewGetLeagueEntriesExpParamsWithHTTPClient(client *http.Client) *GetLeagueEntriesExpParams
- func NewGetLeagueEntriesExpParamsWithTimeout(timeout time.Duration) *GetLeagueEntriesExpParams
- func (o *GetLeagueEntriesExpParams) SetContext(ctx context.Context)
- func (o *GetLeagueEntriesExpParams) SetDivision(division string)
- func (o *GetLeagueEntriesExpParams) SetHTTPClient(client *http.Client)
- func (o *GetLeagueEntriesExpParams) SetPage(page *int32)
- func (o *GetLeagueEntriesExpParams) SetQueue(queue string)
- func (o *GetLeagueEntriesExpParams) SetTier(tier string)
- func (o *GetLeagueEntriesExpParams) SetTimeout(timeout time.Duration)
- func (o *GetLeagueEntriesExpParams) WithContext(ctx context.Context) *GetLeagueEntriesExpParams
- func (o *GetLeagueEntriesExpParams) WithDivision(division string) *GetLeagueEntriesExpParams
- func (o *GetLeagueEntriesExpParams) WithHTTPClient(client *http.Client) *GetLeagueEntriesExpParams
- func (o *GetLeagueEntriesExpParams) WithPage(page *int32) *GetLeagueEntriesExpParams
- func (o *GetLeagueEntriesExpParams) WithQueue(queue string) *GetLeagueEntriesExpParams
- func (o *GetLeagueEntriesExpParams) WithTier(tier string) *GetLeagueEntriesExpParams
- func (o *GetLeagueEntriesExpParams) WithTimeout(timeout time.Duration) *GetLeagueEntriesExpParams
- func (o *GetLeagueEntriesExpParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetLeagueEntriesExpReader
- type GetLeagueEntriesExpServiceUnavailable
- type GetLeagueEntriesExpTooManyRequests
- type GetLeagueEntriesExpUnauthorized
- type GetLeagueEntriesExpUnsupportedMediaType
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 league API
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) *Client
New creates a new league API client.
func (*Client) GetApexLeague ¶
func (a *Client) GetApexLeague(params *GetApexLeagueParams, authInfo runtime.ClientAuthInfoWriter) (*GetApexLeagueOK, error)
GetApexLeague gets the challenger league for given queue
func (*Client) GetLeagueEntriesExp ¶
func (a *Client) GetLeagueEntriesExp(params *GetLeagueEntriesExpParams, authInfo runtime.ClientAuthInfoWriter) (*GetLeagueEntriesExpOK, error)
GetLeagueEntriesExp gets all the league entries
At the request of a GitHub issue, we've added an experimental league-exp-v4 endpoint. This new endpoint is a duplicate of the endpoint in league-v4, but it also supports the apex tiers (Challenger, Grandmaster, and Master). In November we'll evaluate whether this endpoint delivers enough value to merit its continual support.
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type GetApexLeagueBadGateway ¶
GetApexLeagueBadGateway handles this case with default header values.
Bad gateway
func NewGetApexLeagueBadGateway ¶
func NewGetApexLeagueBadGateway() *GetApexLeagueBadGateway
NewGetApexLeagueBadGateway creates a GetApexLeagueBadGateway with default headers values
func (*GetApexLeagueBadGateway) Error ¶
func (o *GetApexLeagueBadGateway) Error() string
func (*GetApexLeagueBadGateway) GetPayload ¶
func (o *GetApexLeagueBadGateway) GetPayload() *models.APIError
type GetApexLeagueBadRequest ¶
GetApexLeagueBadRequest handles this case with default header values.
Bad request
func NewGetApexLeagueBadRequest ¶
func NewGetApexLeagueBadRequest() *GetApexLeagueBadRequest
NewGetApexLeagueBadRequest creates a GetApexLeagueBadRequest with default headers values
func (*GetApexLeagueBadRequest) Error ¶
func (o *GetApexLeagueBadRequest) Error() string
func (*GetApexLeagueBadRequest) GetPayload ¶
func (o *GetApexLeagueBadRequest) GetPayload() *models.APIError
type GetApexLeagueForbidden ¶
GetApexLeagueForbidden handles this case with default header values.
Forbidden
func NewGetApexLeagueForbidden ¶
func NewGetApexLeagueForbidden() *GetApexLeagueForbidden
NewGetApexLeagueForbidden creates a GetApexLeagueForbidden with default headers values
func (*GetApexLeagueForbidden) Error ¶
func (o *GetApexLeagueForbidden) Error() string
func (*GetApexLeagueForbidden) GetPayload ¶
func (o *GetApexLeagueForbidden) GetPayload() *models.APIError
type GetApexLeagueGatewayTimeout ¶
GetApexLeagueGatewayTimeout handles this case with default header values.
Gateway timeout
func NewGetApexLeagueGatewayTimeout ¶
func NewGetApexLeagueGatewayTimeout() *GetApexLeagueGatewayTimeout
NewGetApexLeagueGatewayTimeout creates a GetApexLeagueGatewayTimeout with default headers values
func (*GetApexLeagueGatewayTimeout) Error ¶
func (o *GetApexLeagueGatewayTimeout) Error() string
func (*GetApexLeagueGatewayTimeout) GetPayload ¶
func (o *GetApexLeagueGatewayTimeout) GetPayload() *models.APIError
type GetApexLeagueInternalServerError ¶
GetApexLeagueInternalServerError handles this case with default header values.
Internal server error
func NewGetApexLeagueInternalServerError ¶
func NewGetApexLeagueInternalServerError() *GetApexLeagueInternalServerError
NewGetApexLeagueInternalServerError creates a GetApexLeagueInternalServerError with default headers values
func (*GetApexLeagueInternalServerError) Error ¶
func (o *GetApexLeagueInternalServerError) Error() string
func (*GetApexLeagueInternalServerError) GetPayload ¶
func (o *GetApexLeagueInternalServerError) GetPayload() *models.APIError
type GetApexLeagueMethodNotAllowed ¶
GetApexLeagueMethodNotAllowed handles this case with default header values.
Method not allowed
func NewGetApexLeagueMethodNotAllowed ¶
func NewGetApexLeagueMethodNotAllowed() *GetApexLeagueMethodNotAllowed
NewGetApexLeagueMethodNotAllowed creates a GetApexLeagueMethodNotAllowed with default headers values
func (*GetApexLeagueMethodNotAllowed) Error ¶
func (o *GetApexLeagueMethodNotAllowed) Error() string
func (*GetApexLeagueMethodNotAllowed) GetPayload ¶
func (o *GetApexLeagueMethodNotAllowed) GetPayload() *models.APIError
type GetApexLeagueNotFound ¶
GetApexLeagueNotFound handles this case with default header values.
Not found
func NewGetApexLeagueNotFound ¶
func NewGetApexLeagueNotFound() *GetApexLeagueNotFound
NewGetApexLeagueNotFound creates a GetApexLeagueNotFound with default headers values
func (*GetApexLeagueNotFound) Error ¶
func (o *GetApexLeagueNotFound) Error() string
func (*GetApexLeagueNotFound) GetPayload ¶
func (o *GetApexLeagueNotFound) GetPayload() *models.APIError
type GetApexLeagueOK ¶
type GetApexLeagueOK struct {
Payload *models.LeagueList
}
GetApexLeagueOK handles this case with default header values.
OK
func NewGetApexLeagueOK ¶
func NewGetApexLeagueOK() *GetApexLeagueOK
NewGetApexLeagueOK creates a GetApexLeagueOK with default headers values
func (*GetApexLeagueOK) Error ¶
func (o *GetApexLeagueOK) Error() string
func (*GetApexLeagueOK) GetPayload ¶
func (o *GetApexLeagueOK) GetPayload() *models.LeagueList
type GetApexLeagueParams ¶
type GetApexLeagueParams struct { /*ApexLeague*/ ApexLeague string /*Queue Note that the queue value must be a valid ranked queue. */ Queue string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetApexLeagueParams contains all the parameters to send to the API endpoint for the get apex league operation typically these are written to a http.Request
func NewGetApexLeagueParams ¶
func NewGetApexLeagueParams() *GetApexLeagueParams
NewGetApexLeagueParams creates a new GetApexLeagueParams object with the default values initialized.
func NewGetApexLeagueParamsWithContext ¶
func NewGetApexLeagueParamsWithContext(ctx context.Context) *GetApexLeagueParams
NewGetApexLeagueParamsWithContext creates a new GetApexLeagueParams object with the default values initialized, and the ability to set a context for a request
func NewGetApexLeagueParamsWithHTTPClient ¶
func NewGetApexLeagueParamsWithHTTPClient(client *http.Client) *GetApexLeagueParams
NewGetApexLeagueParamsWithHTTPClient creates a new GetApexLeagueParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetApexLeagueParamsWithTimeout ¶
func NewGetApexLeagueParamsWithTimeout(timeout time.Duration) *GetApexLeagueParams
NewGetApexLeagueParamsWithTimeout creates a new GetApexLeagueParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetApexLeagueParams) SetApexLeague ¶
func (o *GetApexLeagueParams) SetApexLeague(apexLeague string)
SetApexLeague adds the apexLeague to the get apex league params
func (*GetApexLeagueParams) SetContext ¶
func (o *GetApexLeagueParams) SetContext(ctx context.Context)
SetContext adds the context to the get apex league params
func (*GetApexLeagueParams) SetHTTPClient ¶
func (o *GetApexLeagueParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get apex league params
func (*GetApexLeagueParams) SetQueue ¶
func (o *GetApexLeagueParams) SetQueue(queue string)
SetQueue adds the queue to the get apex league params
func (*GetApexLeagueParams) SetTimeout ¶
func (o *GetApexLeagueParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get apex league params
func (*GetApexLeagueParams) WithApexLeague ¶
func (o *GetApexLeagueParams) WithApexLeague(apexLeague string) *GetApexLeagueParams
WithApexLeague adds the apexLeague to the get apex league params
func (*GetApexLeagueParams) WithContext ¶
func (o *GetApexLeagueParams) WithContext(ctx context.Context) *GetApexLeagueParams
WithContext adds the context to the get apex league params
func (*GetApexLeagueParams) WithHTTPClient ¶
func (o *GetApexLeagueParams) WithHTTPClient(client *http.Client) *GetApexLeagueParams
WithHTTPClient adds the HTTPClient to the get apex league params
func (*GetApexLeagueParams) WithQueue ¶
func (o *GetApexLeagueParams) WithQueue(queue string) *GetApexLeagueParams
WithQueue adds the queue to the get apex league params
func (*GetApexLeagueParams) WithTimeout ¶
func (o *GetApexLeagueParams) WithTimeout(timeout time.Duration) *GetApexLeagueParams
WithTimeout adds the timeout to the get apex league params
func (*GetApexLeagueParams) WriteToRequest ¶
func (o *GetApexLeagueParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetApexLeagueReader ¶
type GetApexLeagueReader struct {
// contains filtered or unexported fields
}
GetApexLeagueReader is a Reader for the GetApexLeague structure.
func (*GetApexLeagueReader) ReadResponse ¶
func (o *GetApexLeagueReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetApexLeagueServiceUnavailable ¶
type GetApexLeagueServiceUnavailable struct {
}GetApexLeagueServiceUnavailable handles this case with default header values.
Service Unavailable
func NewGetApexLeagueServiceUnavailable ¶
func NewGetApexLeagueServiceUnavailable() *GetApexLeagueServiceUnavailable
NewGetApexLeagueServiceUnavailable creates a GetApexLeagueServiceUnavailable with default headers values
func (*GetApexLeagueServiceUnavailable) Error ¶
func (o *GetApexLeagueServiceUnavailable) Error() string
func (*GetApexLeagueServiceUnavailable) GetPayload ¶
func (o *GetApexLeagueServiceUnavailable) GetPayload() *models.APIError
type GetApexLeagueTooManyRequests ¶
GetApexLeagueTooManyRequests handles this case with default header values.
Rate limit Exceeded
func NewGetApexLeagueTooManyRequests ¶
func NewGetApexLeagueTooManyRequests() *GetApexLeagueTooManyRequests
NewGetApexLeagueTooManyRequests creates a GetApexLeagueTooManyRequests with default headers values
func (*GetApexLeagueTooManyRequests) Error ¶
func (o *GetApexLeagueTooManyRequests) Error() string
func (*GetApexLeagueTooManyRequests) GetPayload ¶
func (o *GetApexLeagueTooManyRequests) GetPayload() *models.APIError
type GetApexLeagueUnauthorized ¶
type GetApexLeagueUnauthorized struct {
}GetApexLeagueUnauthorized handles this case with default header values.
Unauthorized
func NewGetApexLeagueUnauthorized ¶
func NewGetApexLeagueUnauthorized() *GetApexLeagueUnauthorized
NewGetApexLeagueUnauthorized creates a GetApexLeagueUnauthorized with default headers values
func (*GetApexLeagueUnauthorized) Error ¶
func (o *GetApexLeagueUnauthorized) Error() string
func (*GetApexLeagueUnauthorized) GetPayload ¶
func (o *GetApexLeagueUnauthorized) GetPayload() *models.APIError
type GetApexLeagueUnsupportedMediaType ¶
GetApexLeagueUnsupportedMediaType handles this case with default header values.
Unsopported media type
func NewGetApexLeagueUnsupportedMediaType ¶
func NewGetApexLeagueUnsupportedMediaType() *GetApexLeagueUnsupportedMediaType
NewGetApexLeagueUnsupportedMediaType creates a GetApexLeagueUnsupportedMediaType with default headers values
func (*GetApexLeagueUnsupportedMediaType) Error ¶
func (o *GetApexLeagueUnsupportedMediaType) Error() string
func (*GetApexLeagueUnsupportedMediaType) GetPayload ¶
func (o *GetApexLeagueUnsupportedMediaType) GetPayload() *models.APIError
type GetLeagueEntriesExpBadGateway ¶
GetLeagueEntriesExpBadGateway handles this case with default header values.
Bad gateway
func NewGetLeagueEntriesExpBadGateway ¶
func NewGetLeagueEntriesExpBadGateway() *GetLeagueEntriesExpBadGateway
NewGetLeagueEntriesExpBadGateway creates a GetLeagueEntriesExpBadGateway with default headers values
func (*GetLeagueEntriesExpBadGateway) Error ¶
func (o *GetLeagueEntriesExpBadGateway) Error() string
func (*GetLeagueEntriesExpBadGateway) GetPayload ¶
func (o *GetLeagueEntriesExpBadGateway) GetPayload() *models.APIError
type GetLeagueEntriesExpBadRequest ¶
GetLeagueEntriesExpBadRequest handles this case with default header values.
Bad request
func NewGetLeagueEntriesExpBadRequest ¶
func NewGetLeagueEntriesExpBadRequest() *GetLeagueEntriesExpBadRequest
NewGetLeagueEntriesExpBadRequest creates a GetLeagueEntriesExpBadRequest with default headers values
func (*GetLeagueEntriesExpBadRequest) Error ¶
func (o *GetLeagueEntriesExpBadRequest) Error() string
func (*GetLeagueEntriesExpBadRequest) GetPayload ¶
func (o *GetLeagueEntriesExpBadRequest) GetPayload() *models.APIError
type GetLeagueEntriesExpForbidden ¶
GetLeagueEntriesExpForbidden handles this case with default header values.
Forbidden
func NewGetLeagueEntriesExpForbidden ¶
func NewGetLeagueEntriesExpForbidden() *GetLeagueEntriesExpForbidden
NewGetLeagueEntriesExpForbidden creates a GetLeagueEntriesExpForbidden with default headers values
func (*GetLeagueEntriesExpForbidden) Error ¶
func (o *GetLeagueEntriesExpForbidden) Error() string
func (*GetLeagueEntriesExpForbidden) GetPayload ¶
func (o *GetLeagueEntriesExpForbidden) GetPayload() *models.APIError
type GetLeagueEntriesExpGatewayTimeout ¶
GetLeagueEntriesExpGatewayTimeout handles this case with default header values.
Gateway timeout
func NewGetLeagueEntriesExpGatewayTimeout ¶
func NewGetLeagueEntriesExpGatewayTimeout() *GetLeagueEntriesExpGatewayTimeout
NewGetLeagueEntriesExpGatewayTimeout creates a GetLeagueEntriesExpGatewayTimeout with default headers values
func (*GetLeagueEntriesExpGatewayTimeout) Error ¶
func (o *GetLeagueEntriesExpGatewayTimeout) Error() string
func (*GetLeagueEntriesExpGatewayTimeout) GetPayload ¶
func (o *GetLeagueEntriesExpGatewayTimeout) GetPayload() *models.APIError
type GetLeagueEntriesExpInternalServerError ¶
GetLeagueEntriesExpInternalServerError handles this case with default header values.
Internal server error
func NewGetLeagueEntriesExpInternalServerError ¶
func NewGetLeagueEntriesExpInternalServerError() *GetLeagueEntriesExpInternalServerError
NewGetLeagueEntriesExpInternalServerError creates a GetLeagueEntriesExpInternalServerError with default headers values
func (*GetLeagueEntriesExpInternalServerError) Error ¶
func (o *GetLeagueEntriesExpInternalServerError) Error() string
func (*GetLeagueEntriesExpInternalServerError) GetPayload ¶
func (o *GetLeagueEntriesExpInternalServerError) GetPayload() *models.APIError
type GetLeagueEntriesExpMethodNotAllowed ¶
GetLeagueEntriesExpMethodNotAllowed handles this case with default header values.
Method not allowed
func NewGetLeagueEntriesExpMethodNotAllowed ¶
func NewGetLeagueEntriesExpMethodNotAllowed() *GetLeagueEntriesExpMethodNotAllowed
NewGetLeagueEntriesExpMethodNotAllowed creates a GetLeagueEntriesExpMethodNotAllowed with default headers values
func (*GetLeagueEntriesExpMethodNotAllowed) Error ¶
func (o *GetLeagueEntriesExpMethodNotAllowed) Error() string
func (*GetLeagueEntriesExpMethodNotAllowed) GetPayload ¶
func (o *GetLeagueEntriesExpMethodNotAllowed) GetPayload() *models.APIError
type GetLeagueEntriesExpNotFound ¶
GetLeagueEntriesExpNotFound handles this case with default header values.
Not found
func NewGetLeagueEntriesExpNotFound ¶
func NewGetLeagueEntriesExpNotFound() *GetLeagueEntriesExpNotFound
NewGetLeagueEntriesExpNotFound creates a GetLeagueEntriesExpNotFound with default headers values
func (*GetLeagueEntriesExpNotFound) Error ¶
func (o *GetLeagueEntriesExpNotFound) Error() string
func (*GetLeagueEntriesExpNotFound) GetPayload ¶
func (o *GetLeagueEntriesExpNotFound) GetPayload() *models.APIError
type GetLeagueEntriesExpOK ¶
type GetLeagueEntriesExpOK struct {
Payload []*models.LeagueEntry
}
GetLeagueEntriesExpOK handles this case with default header values.
OK
func NewGetLeagueEntriesExpOK ¶
func NewGetLeagueEntriesExpOK() *GetLeagueEntriesExpOK
NewGetLeagueEntriesExpOK creates a GetLeagueEntriesExpOK with default headers values
func (*GetLeagueEntriesExpOK) Error ¶
func (o *GetLeagueEntriesExpOK) Error() string
func (*GetLeagueEntriesExpOK) GetPayload ¶
func (o *GetLeagueEntriesExpOK) GetPayload() []*models.LeagueEntry
type GetLeagueEntriesExpParams ¶
type GetLeagueEntriesExpParams struct { /*Division*/ Division string /*Page*/ Page *int32 /*Queue Note that the queue value must be a valid ranked queue. */ Queue string /*Tier*/ Tier string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetLeagueEntriesExpParams contains all the parameters to send to the API endpoint for the get league entries exp operation typically these are written to a http.Request
func NewGetLeagueEntriesExpParams ¶
func NewGetLeagueEntriesExpParams() *GetLeagueEntriesExpParams
NewGetLeagueEntriesExpParams creates a new GetLeagueEntriesExpParams object with the default values initialized.
func NewGetLeagueEntriesExpParamsWithContext ¶
func NewGetLeagueEntriesExpParamsWithContext(ctx context.Context) *GetLeagueEntriesExpParams
NewGetLeagueEntriesExpParamsWithContext creates a new GetLeagueEntriesExpParams object with the default values initialized, and the ability to set a context for a request
func NewGetLeagueEntriesExpParamsWithHTTPClient ¶
func NewGetLeagueEntriesExpParamsWithHTTPClient(client *http.Client) *GetLeagueEntriesExpParams
NewGetLeagueEntriesExpParamsWithHTTPClient creates a new GetLeagueEntriesExpParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetLeagueEntriesExpParamsWithTimeout ¶
func NewGetLeagueEntriesExpParamsWithTimeout(timeout time.Duration) *GetLeagueEntriesExpParams
NewGetLeagueEntriesExpParamsWithTimeout creates a new GetLeagueEntriesExpParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetLeagueEntriesExpParams) SetContext ¶
func (o *GetLeagueEntriesExpParams) SetContext(ctx context.Context)
SetContext adds the context to the get league entries exp params
func (*GetLeagueEntriesExpParams) SetDivision ¶
func (o *GetLeagueEntriesExpParams) SetDivision(division string)
SetDivision adds the division to the get league entries exp params
func (*GetLeagueEntriesExpParams) SetHTTPClient ¶
func (o *GetLeagueEntriesExpParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get league entries exp params
func (*GetLeagueEntriesExpParams) SetPage ¶
func (o *GetLeagueEntriesExpParams) SetPage(page *int32)
SetPage adds the page to the get league entries exp params
func (*GetLeagueEntriesExpParams) SetQueue ¶
func (o *GetLeagueEntriesExpParams) SetQueue(queue string)
SetQueue adds the queue to the get league entries exp params
func (*GetLeagueEntriesExpParams) SetTier ¶
func (o *GetLeagueEntriesExpParams) SetTier(tier string)
SetTier adds the tier to the get league entries exp params
func (*GetLeagueEntriesExpParams) SetTimeout ¶
func (o *GetLeagueEntriesExpParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get league entries exp params
func (*GetLeagueEntriesExpParams) WithContext ¶
func (o *GetLeagueEntriesExpParams) WithContext(ctx context.Context) *GetLeagueEntriesExpParams
WithContext adds the context to the get league entries exp params
func (*GetLeagueEntriesExpParams) WithDivision ¶
func (o *GetLeagueEntriesExpParams) WithDivision(division string) *GetLeagueEntriesExpParams
WithDivision adds the division to the get league entries exp params
func (*GetLeagueEntriesExpParams) WithHTTPClient ¶
func (o *GetLeagueEntriesExpParams) WithHTTPClient(client *http.Client) *GetLeagueEntriesExpParams
WithHTTPClient adds the HTTPClient to the get league entries exp params
func (*GetLeagueEntriesExpParams) WithPage ¶
func (o *GetLeagueEntriesExpParams) WithPage(page *int32) *GetLeagueEntriesExpParams
WithPage adds the page to the get league entries exp params
func (*GetLeagueEntriesExpParams) WithQueue ¶
func (o *GetLeagueEntriesExpParams) WithQueue(queue string) *GetLeagueEntriesExpParams
WithQueue adds the queue to the get league entries exp params
func (*GetLeagueEntriesExpParams) WithTier ¶
func (o *GetLeagueEntriesExpParams) WithTier(tier string) *GetLeagueEntriesExpParams
WithTier adds the tier to the get league entries exp params
func (*GetLeagueEntriesExpParams) WithTimeout ¶
func (o *GetLeagueEntriesExpParams) WithTimeout(timeout time.Duration) *GetLeagueEntriesExpParams
WithTimeout adds the timeout to the get league entries exp params
func (*GetLeagueEntriesExpParams) WriteToRequest ¶
func (o *GetLeagueEntriesExpParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetLeagueEntriesExpReader ¶
type GetLeagueEntriesExpReader struct {
// contains filtered or unexported fields
}
GetLeagueEntriesExpReader is a Reader for the GetLeagueEntriesExp structure.
func (*GetLeagueEntriesExpReader) ReadResponse ¶
func (o *GetLeagueEntriesExpReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetLeagueEntriesExpServiceUnavailable ¶
type GetLeagueEntriesExpServiceUnavailable struct {
}GetLeagueEntriesExpServiceUnavailable handles this case with default header values.
Service Unavailable
func NewGetLeagueEntriesExpServiceUnavailable ¶
func NewGetLeagueEntriesExpServiceUnavailable() *GetLeagueEntriesExpServiceUnavailable
NewGetLeagueEntriesExpServiceUnavailable creates a GetLeagueEntriesExpServiceUnavailable with default headers values
func (*GetLeagueEntriesExpServiceUnavailable) Error ¶
func (o *GetLeagueEntriesExpServiceUnavailable) Error() string
func (*GetLeagueEntriesExpServiceUnavailable) GetPayload ¶
func (o *GetLeagueEntriesExpServiceUnavailable) GetPayload() *models.APIError
type GetLeagueEntriesExpTooManyRequests ¶
GetLeagueEntriesExpTooManyRequests handles this case with default header values.
Rate limit Exceeded
func NewGetLeagueEntriesExpTooManyRequests ¶
func NewGetLeagueEntriesExpTooManyRequests() *GetLeagueEntriesExpTooManyRequests
NewGetLeagueEntriesExpTooManyRequests creates a GetLeagueEntriesExpTooManyRequests with default headers values
func (*GetLeagueEntriesExpTooManyRequests) Error ¶
func (o *GetLeagueEntriesExpTooManyRequests) Error() string
func (*GetLeagueEntriesExpTooManyRequests) GetPayload ¶
func (o *GetLeagueEntriesExpTooManyRequests) GetPayload() *models.APIError
type GetLeagueEntriesExpUnauthorized ¶
type GetLeagueEntriesExpUnauthorized struct {
}GetLeagueEntriesExpUnauthorized handles this case with default header values.
Unauthorized
func NewGetLeagueEntriesExpUnauthorized ¶
func NewGetLeagueEntriesExpUnauthorized() *GetLeagueEntriesExpUnauthorized
NewGetLeagueEntriesExpUnauthorized creates a GetLeagueEntriesExpUnauthorized with default headers values
func (*GetLeagueEntriesExpUnauthorized) Error ¶
func (o *GetLeagueEntriesExpUnauthorized) Error() string
func (*GetLeagueEntriesExpUnauthorized) GetPayload ¶
func (o *GetLeagueEntriesExpUnauthorized) GetPayload() *models.APIError
type GetLeagueEntriesExpUnsupportedMediaType ¶
GetLeagueEntriesExpUnsupportedMediaType handles this case with default header values.
Unsopported media type
func NewGetLeagueEntriesExpUnsupportedMediaType ¶
func NewGetLeagueEntriesExpUnsupportedMediaType() *GetLeagueEntriesExpUnsupportedMediaType
NewGetLeagueEntriesExpUnsupportedMediaType creates a GetLeagueEntriesExpUnsupportedMediaType with default headers values
func (*GetLeagueEntriesExpUnsupportedMediaType) Error ¶
func (o *GetLeagueEntriesExpUnsupportedMediaType) Error() string
func (*GetLeagueEntriesExpUnsupportedMediaType) GetPayload ¶
func (o *GetLeagueEntriesExpUnsupportedMediaType) GetPayload() *models.APIError