Documentation ¶
Index ¶
- type Client
- type LeaderboardGetBadRequest
- type LeaderboardGetNameBadRequest
- type LeaderboardGetNameNotFound
- type LeaderboardGetNameOK
- type LeaderboardGetNameOKBody
- type LeaderboardGetNameParams
- func NewLeaderboardGetNameParams() *LeaderboardGetNameParams
- func NewLeaderboardGetNameParamsWithContext(ctx context.Context) *LeaderboardGetNameParams
- func NewLeaderboardGetNameParamsWithHTTPClient(client *http.Client) *LeaderboardGetNameParams
- func NewLeaderboardGetNameParamsWithTimeout(timeout time.Duration) *LeaderboardGetNameParams
- func (o *LeaderboardGetNameParams) SetContext(ctx context.Context)
- func (o *LeaderboardGetNameParams) SetHTTPClient(client *http.Client)
- func (o *LeaderboardGetNameParams) SetTimeout(timeout time.Duration)
- func (o *LeaderboardGetNameParams) WithContext(ctx context.Context) *LeaderboardGetNameParams
- func (o *LeaderboardGetNameParams) WithHTTPClient(client *http.Client) *LeaderboardGetNameParams
- func (o *LeaderboardGetNameParams) WithTimeout(timeout time.Duration) *LeaderboardGetNameParams
- func (o *LeaderboardGetNameParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type LeaderboardGetNameReader
- type LeaderboardGetNameUnauthorized
- type LeaderboardGetNotFound
- type LeaderboardGetOK
- type LeaderboardGetParams
- func NewLeaderboardGetParams() *LeaderboardGetParams
- func NewLeaderboardGetParamsWithContext(ctx context.Context) *LeaderboardGetParams
- func NewLeaderboardGetParamsWithHTTPClient(client *http.Client) *LeaderboardGetParams
- func NewLeaderboardGetParamsWithTimeout(timeout time.Duration) *LeaderboardGetParams
- func (o *LeaderboardGetParams) SetContext(ctx context.Context)
- func (o *LeaderboardGetParams) SetHTTPClient(client *http.Client)
- func (o *LeaderboardGetParams) SetMethod(method *string)
- func (o *LeaderboardGetParams) SetTimeout(timeout time.Duration)
- func (o *LeaderboardGetParams) WithContext(ctx context.Context) *LeaderboardGetParams
- func (o *LeaderboardGetParams) WithHTTPClient(client *http.Client) *LeaderboardGetParams
- func (o *LeaderboardGetParams) WithMethod(method *string) *LeaderboardGetParams
- func (o *LeaderboardGetParams) WithTimeout(timeout time.Duration) *LeaderboardGetParams
- func (o *LeaderboardGetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type LeaderboardGetReader
- type LeaderboardGetUnauthorized
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 leaderboard API
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) *Client
New creates a new leaderboard API client.
func (*Client) LeaderboardGet ¶
func (a *Client) LeaderboardGet(params *LeaderboardGetParams) (*LeaderboardGetOK, error)
LeaderboardGet gets current leaderboard
func (*Client) LeaderboardGetName ¶
func (a *Client) LeaderboardGetName(params *LeaderboardGetNameParams, authInfo runtime.ClientAuthInfoWriter) (*LeaderboardGetNameOK, error)
LeaderboardGetName gets your alias on the leaderboard
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type LeaderboardGetBadRequest ¶
LeaderboardGetBadRequest handles this case with default header values.
Parameter Error
func NewLeaderboardGetBadRequest ¶
func NewLeaderboardGetBadRequest() *LeaderboardGetBadRequest
NewLeaderboardGetBadRequest creates a LeaderboardGetBadRequest with default headers values
func (*LeaderboardGetBadRequest) Error ¶
func (o *LeaderboardGetBadRequest) Error() string
type LeaderboardGetNameBadRequest ¶
LeaderboardGetNameBadRequest handles this case with default header values.
Parameter Error
func NewLeaderboardGetNameBadRequest ¶
func NewLeaderboardGetNameBadRequest() *LeaderboardGetNameBadRequest
NewLeaderboardGetNameBadRequest creates a LeaderboardGetNameBadRequest with default headers values
func (*LeaderboardGetNameBadRequest) Error ¶
func (o *LeaderboardGetNameBadRequest) Error() string
type LeaderboardGetNameNotFound ¶
LeaderboardGetNameNotFound handles this case with default header values.
Not Found
func NewLeaderboardGetNameNotFound ¶
func NewLeaderboardGetNameNotFound() *LeaderboardGetNameNotFound
NewLeaderboardGetNameNotFound creates a LeaderboardGetNameNotFound with default headers values
func (*LeaderboardGetNameNotFound) Error ¶
func (o *LeaderboardGetNameNotFound) Error() string
type LeaderboardGetNameOK ¶
type LeaderboardGetNameOK struct {
Payload *LeaderboardGetNameOKBody
}
LeaderboardGetNameOK handles this case with default header values.
Request was successful
func NewLeaderboardGetNameOK ¶
func NewLeaderboardGetNameOK() *LeaderboardGetNameOK
NewLeaderboardGetNameOK creates a LeaderboardGetNameOK with default headers values
func (*LeaderboardGetNameOK) Error ¶
func (o *LeaderboardGetNameOK) Error() string
type LeaderboardGetNameOKBody ¶
type LeaderboardGetNameOKBody struct { // name Name string `json:"name,omitempty"` }
LeaderboardGetNameOKBody leaderboard get name o k body swagger:model LeaderboardGetNameOKBody
func (*LeaderboardGetNameOKBody) MarshalBinary ¶
func (o *LeaderboardGetNameOKBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*LeaderboardGetNameOKBody) UnmarshalBinary ¶
func (o *LeaderboardGetNameOKBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type LeaderboardGetNameParams ¶
type LeaderboardGetNameParams struct { Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
LeaderboardGetNameParams contains all the parameters to send to the API endpoint for the leaderboard get name operation typically these are written to a http.Request
func NewLeaderboardGetNameParams ¶
func NewLeaderboardGetNameParams() *LeaderboardGetNameParams
NewLeaderboardGetNameParams creates a new LeaderboardGetNameParams object with the default values initialized.
func NewLeaderboardGetNameParamsWithContext ¶
func NewLeaderboardGetNameParamsWithContext(ctx context.Context) *LeaderboardGetNameParams
NewLeaderboardGetNameParamsWithContext creates a new LeaderboardGetNameParams object with the default values initialized, and the ability to set a context for a request
func NewLeaderboardGetNameParamsWithHTTPClient ¶
func NewLeaderboardGetNameParamsWithHTTPClient(client *http.Client) *LeaderboardGetNameParams
NewLeaderboardGetNameParamsWithHTTPClient creates a new LeaderboardGetNameParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewLeaderboardGetNameParamsWithTimeout ¶
func NewLeaderboardGetNameParamsWithTimeout(timeout time.Duration) *LeaderboardGetNameParams
NewLeaderboardGetNameParamsWithTimeout creates a new LeaderboardGetNameParams object with the default values initialized, and the ability to set a timeout on a request
func (*LeaderboardGetNameParams) SetContext ¶
func (o *LeaderboardGetNameParams) SetContext(ctx context.Context)
SetContext adds the context to the leaderboard get name params
func (*LeaderboardGetNameParams) SetHTTPClient ¶
func (o *LeaderboardGetNameParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the leaderboard get name params
func (*LeaderboardGetNameParams) SetTimeout ¶
func (o *LeaderboardGetNameParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the leaderboard get name params
func (*LeaderboardGetNameParams) WithContext ¶
func (o *LeaderboardGetNameParams) WithContext(ctx context.Context) *LeaderboardGetNameParams
WithContext adds the context to the leaderboard get name params
func (*LeaderboardGetNameParams) WithHTTPClient ¶
func (o *LeaderboardGetNameParams) WithHTTPClient(client *http.Client) *LeaderboardGetNameParams
WithHTTPClient adds the HTTPClient to the leaderboard get name params
func (*LeaderboardGetNameParams) WithTimeout ¶
func (o *LeaderboardGetNameParams) WithTimeout(timeout time.Duration) *LeaderboardGetNameParams
WithTimeout adds the timeout to the leaderboard get name params
func (*LeaderboardGetNameParams) WriteToRequest ¶
func (o *LeaderboardGetNameParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type LeaderboardGetNameReader ¶
type LeaderboardGetNameReader struct {
// contains filtered or unexported fields
}
LeaderboardGetNameReader is a Reader for the LeaderboardGetName structure.
func (*LeaderboardGetNameReader) ReadResponse ¶
func (o *LeaderboardGetNameReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type LeaderboardGetNameUnauthorized ¶
type LeaderboardGetNameUnauthorized struct {
}LeaderboardGetNameUnauthorized handles this case with default header values.
Unauthorized
func NewLeaderboardGetNameUnauthorized ¶
func NewLeaderboardGetNameUnauthorized() *LeaderboardGetNameUnauthorized
NewLeaderboardGetNameUnauthorized creates a LeaderboardGetNameUnauthorized with default headers values
func (*LeaderboardGetNameUnauthorized) Error ¶
func (o *LeaderboardGetNameUnauthorized) Error() string
type LeaderboardGetNotFound ¶
LeaderboardGetNotFound handles this case with default header values.
Not Found
func NewLeaderboardGetNotFound ¶
func NewLeaderboardGetNotFound() *LeaderboardGetNotFound
NewLeaderboardGetNotFound creates a LeaderboardGetNotFound with default headers values
func (*LeaderboardGetNotFound) Error ¶
func (o *LeaderboardGetNotFound) Error() string
type LeaderboardGetOK ¶
type LeaderboardGetOK struct {
Payload []*models.Leaderboard
}
LeaderboardGetOK handles this case with default header values.
Request was successful
func NewLeaderboardGetOK ¶
func NewLeaderboardGetOK() *LeaderboardGetOK
NewLeaderboardGetOK creates a LeaderboardGetOK with default headers values
func (*LeaderboardGetOK) Error ¶
func (o *LeaderboardGetOK) Error() string
type LeaderboardGetParams ¶
type LeaderboardGetParams struct { /*Method Ranking type. Options: "notional", "ROE" */ Method *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
LeaderboardGetParams contains all the parameters to send to the API endpoint for the leaderboard get operation typically these are written to a http.Request
func NewLeaderboardGetParams ¶
func NewLeaderboardGetParams() *LeaderboardGetParams
NewLeaderboardGetParams creates a new LeaderboardGetParams object with the default values initialized.
func NewLeaderboardGetParamsWithContext ¶
func NewLeaderboardGetParamsWithContext(ctx context.Context) *LeaderboardGetParams
NewLeaderboardGetParamsWithContext creates a new LeaderboardGetParams object with the default values initialized, and the ability to set a context for a request
func NewLeaderboardGetParamsWithHTTPClient ¶
func NewLeaderboardGetParamsWithHTTPClient(client *http.Client) *LeaderboardGetParams
NewLeaderboardGetParamsWithHTTPClient creates a new LeaderboardGetParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewLeaderboardGetParamsWithTimeout ¶
func NewLeaderboardGetParamsWithTimeout(timeout time.Duration) *LeaderboardGetParams
NewLeaderboardGetParamsWithTimeout creates a new LeaderboardGetParams object with the default values initialized, and the ability to set a timeout on a request
func (*LeaderboardGetParams) SetContext ¶
func (o *LeaderboardGetParams) SetContext(ctx context.Context)
SetContext adds the context to the leaderboard get params
func (*LeaderboardGetParams) SetHTTPClient ¶
func (o *LeaderboardGetParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the leaderboard get params
func (*LeaderboardGetParams) SetMethod ¶
func (o *LeaderboardGetParams) SetMethod(method *string)
SetMethod adds the method to the leaderboard get params
func (*LeaderboardGetParams) SetTimeout ¶
func (o *LeaderboardGetParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the leaderboard get params
func (*LeaderboardGetParams) WithContext ¶
func (o *LeaderboardGetParams) WithContext(ctx context.Context) *LeaderboardGetParams
WithContext adds the context to the leaderboard get params
func (*LeaderboardGetParams) WithHTTPClient ¶
func (o *LeaderboardGetParams) WithHTTPClient(client *http.Client) *LeaderboardGetParams
WithHTTPClient adds the HTTPClient to the leaderboard get params
func (*LeaderboardGetParams) WithMethod ¶
func (o *LeaderboardGetParams) WithMethod(method *string) *LeaderboardGetParams
WithMethod adds the method to the leaderboard get params
func (*LeaderboardGetParams) WithTimeout ¶
func (o *LeaderboardGetParams) WithTimeout(timeout time.Duration) *LeaderboardGetParams
WithTimeout adds the timeout to the leaderboard get params
func (*LeaderboardGetParams) WriteToRequest ¶
func (o *LeaderboardGetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type LeaderboardGetReader ¶
type LeaderboardGetReader struct {
// contains filtered or unexported fields
}
LeaderboardGetReader is a Reader for the LeaderboardGet structure.
func (*LeaderboardGetReader) ReadResponse ¶
func (o *LeaderboardGetReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type LeaderboardGetUnauthorized ¶
type LeaderboardGetUnauthorized struct {
}LeaderboardGetUnauthorized handles this case with default header values.
Unauthorized
func NewLeaderboardGetUnauthorized ¶
func NewLeaderboardGetUnauthorized() *LeaderboardGetUnauthorized
NewLeaderboardGetUnauthorized creates a LeaderboardGetUnauthorized with default headers values
func (*LeaderboardGetUnauthorized) Error ¶
func (o *LeaderboardGetUnauthorized) Error() string