Documentation
¶
Index ¶
- type BattlePassLootOK
- type BattlePassLootParams
- func NewBattlePassLootParams() *BattlePassLootParams
- func NewBattlePassLootParamsWithContext(ctx context.Context) *BattlePassLootParams
- func NewBattlePassLootParamsWithHTTPClient(client *http.Client) *BattlePassLootParams
- func NewBattlePassLootParamsWithTimeout(timeout time.Duration) *BattlePassLootParams
- func (o *BattlePassLootParams) SetContext(ctx context.Context)
- func (o *BattlePassLootParams) SetHTTPClient(client *http.Client)
- func (o *BattlePassLootParams) SetPlatform(platform string)
- func (o *BattlePassLootParams) SetSeason(season int64)
- func (o *BattlePassLootParams) SetTimeout(timeout time.Duration)
- func (o *BattlePassLootParams) SetTitle(title string)
- func (o *BattlePassLootParams) WithContext(ctx context.Context) *BattlePassLootParams
- func (o *BattlePassLootParams) WithHTTPClient(client *http.Client) *BattlePassLootParams
- func (o *BattlePassLootParams) WithPlatform(platform string) *BattlePassLootParams
- func (o *BattlePassLootParams) WithSeason(season int64) *BattlePassLootParams
- func (o *BattlePassLootParams) WithTimeout(timeout time.Duration) *BattlePassLootParams
- func (o *BattlePassLootParams) WithTitle(title string) *BattlePassLootParams
- func (o *BattlePassLootParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type BattlePassLootReader
- type Client
- func (a *Client) BattlePassLoot(params *BattlePassLootParams) (*BattlePassLootOK, error)
- func (a *Client) CodPoints(params *CodPointsParams) (*CodPointsOK, error)
- func (a *Client) FriendStats(params *FriendStatsParams) (*FriendStatsOK, error)
- func (a *Client) FullMatchInfo(params *FullMatchInfoParams) (*FullMatchInfoOK, error)
- func (a *Client) GamerLoot(params *GamerLootParams) (*GamerLootOK, error)
- func (a *Client) GamerMatchDetails(params *GamerMatchDetailsParams) (*GamerMatchDetailsOK, error)
- func (a *Client) GamerMatchList(params *GamerMatchListParams) (*GamerMatchListOK, error)
- func (a *Client) GamerStats(params *GamerStatsParams) (*GamerStatsOK, error)
- func (a *Client) LeaderBoard(params *LeaderBoardParams) (*LeaderBoardOK, error)
- func (a *Client) Loadout(params *LoadoutParams) (*LoadoutOK, error)
- func (a *Client) MapList(params *MapListParams) (*MapListOK, error)
- func (a *Client) MatchAnalysis(params *MatchAnalysisParams) (*MatchAnalysisOK, error)
- func (a *Client) Purchasable(params *PurchasableParams) (*PurchasableOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientService
- type CodPointsOK
- type CodPointsParams
- func (o *CodPointsParams) SetContext(ctx context.Context)
- func (o *CodPointsParams) SetCookie(cookie string)
- func (o *CodPointsParams) SetGamertag(gamertag string)
- func (o *CodPointsParams) SetHTTPClient(client *http.Client)
- func (o *CodPointsParams) SetLookupType(lookupType string)
- func (o *CodPointsParams) SetPlatform(platform string)
- func (o *CodPointsParams) SetTimeout(timeout time.Duration)
- func (o *CodPointsParams) SetTitle(title string)
- func (o *CodPointsParams) WithContext(ctx context.Context) *CodPointsParams
- func (o *CodPointsParams) WithCookie(cookie string) *CodPointsParams
- func (o *CodPointsParams) WithGamertag(gamertag string) *CodPointsParams
- func (o *CodPointsParams) WithHTTPClient(client *http.Client) *CodPointsParams
- func (o *CodPointsParams) WithLookupType(lookupType string) *CodPointsParams
- func (o *CodPointsParams) WithPlatform(platform string) *CodPointsParams
- func (o *CodPointsParams) WithTimeout(timeout time.Duration) *CodPointsParams
- func (o *CodPointsParams) WithTitle(title string) *CodPointsParams
- func (o *CodPointsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CodPointsReader
- type FriendStatsOK
- type FriendStatsParams
- func (o *FriendStatsParams) SetContext(ctx context.Context)
- func (o *FriendStatsParams) SetCookie(cookie string)
- func (o *FriendStatsParams) SetGameType(gameType string)
- func (o *FriendStatsParams) SetGamertag(gamertag string)
- func (o *FriendStatsParams) SetHTTPClient(client *http.Client)
- func (o *FriendStatsParams) SetLookupType(lookupType string)
- func (o *FriendStatsParams) SetPlatform(platform string)
- func (o *FriendStatsParams) SetTimeout(timeout time.Duration)
- func (o *FriendStatsParams) SetTitle(title string)
- func (o *FriendStatsParams) WithContext(ctx context.Context) *FriendStatsParams
- func (o *FriendStatsParams) WithCookie(cookie string) *FriendStatsParams
- func (o *FriendStatsParams) WithGameType(gameType string) *FriendStatsParams
- func (o *FriendStatsParams) WithGamertag(gamertag string) *FriendStatsParams
- func (o *FriendStatsParams) WithHTTPClient(client *http.Client) *FriendStatsParams
- func (o *FriendStatsParams) WithLookupType(lookupType string) *FriendStatsParams
- func (o *FriendStatsParams) WithPlatform(platform string) *FriendStatsParams
- func (o *FriendStatsParams) WithTimeout(timeout time.Duration) *FriendStatsParams
- func (o *FriendStatsParams) WithTitle(title string) *FriendStatsParams
- func (o *FriendStatsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type FriendStatsReader
- type FullMatchInfoOK
- type FullMatchInfoParams
- func (o *FullMatchInfoParams) SetContext(ctx context.Context)
- func (o *FullMatchInfoParams) SetGameType(gameType string)
- func (o *FullMatchInfoParams) SetHTTPClient(client *http.Client)
- func (o *FullMatchInfoParams) SetMatchID(matchID string)
- func (o *FullMatchInfoParams) SetPlatform(platform string)
- func (o *FullMatchInfoParams) SetTimeout(timeout time.Duration)
- func (o *FullMatchInfoParams) SetTitle(title string)
- func (o *FullMatchInfoParams) WithContext(ctx context.Context) *FullMatchInfoParams
- func (o *FullMatchInfoParams) WithGameType(gameType string) *FullMatchInfoParams
- func (o *FullMatchInfoParams) WithHTTPClient(client *http.Client) *FullMatchInfoParams
- func (o *FullMatchInfoParams) WithMatchID(matchID string) *FullMatchInfoParams
- func (o *FullMatchInfoParams) WithPlatform(platform string) *FullMatchInfoParams
- func (o *FullMatchInfoParams) WithTimeout(timeout time.Duration) *FullMatchInfoParams
- func (o *FullMatchInfoParams) WithTitle(title string) *FullMatchInfoParams
- func (o *FullMatchInfoParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type FullMatchInfoReader
- type GamerLootOK
- type GamerLootParams
- func (o *GamerLootParams) SetContext(ctx context.Context)
- func (o *GamerLootParams) SetCookie(cookie string)
- func (o *GamerLootParams) SetGamertag(gamertag string)
- func (o *GamerLootParams) SetHTTPClient(client *http.Client)
- func (o *GamerLootParams) SetLookupType(lookupType string)
- func (o *GamerLootParams) SetPlatform(platform string)
- func (o *GamerLootParams) SetTimeout(timeout time.Duration)
- func (o *GamerLootParams) SetTitle(title string)
- func (o *GamerLootParams) WithContext(ctx context.Context) *GamerLootParams
- func (o *GamerLootParams) WithCookie(cookie string) *GamerLootParams
- func (o *GamerLootParams) WithGamertag(gamertag string) *GamerLootParams
- func (o *GamerLootParams) WithHTTPClient(client *http.Client) *GamerLootParams
- func (o *GamerLootParams) WithLookupType(lookupType string) *GamerLootParams
- func (o *GamerLootParams) WithPlatform(platform string) *GamerLootParams
- func (o *GamerLootParams) WithTimeout(timeout time.Duration) *GamerLootParams
- func (o *GamerLootParams) WithTitle(title string) *GamerLootParams
- func (o *GamerLootParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GamerLootReader
- type GamerMatchDetailsOK
- type GamerMatchDetailsParams
- func NewGamerMatchDetailsParams() *GamerMatchDetailsParams
- func NewGamerMatchDetailsParamsWithContext(ctx context.Context) *GamerMatchDetailsParams
- func NewGamerMatchDetailsParamsWithHTTPClient(client *http.Client) *GamerMatchDetailsParams
- func NewGamerMatchDetailsParamsWithTimeout(timeout time.Duration) *GamerMatchDetailsParams
- func (o *GamerMatchDetailsParams) SetContext(ctx context.Context)
- func (o *GamerMatchDetailsParams) SetCookie(cookie string)
- func (o *GamerMatchDetailsParams) SetEnd(end int64)
- func (o *GamerMatchDetailsParams) SetGameType(gameType string)
- func (o *GamerMatchDetailsParams) SetGamertag(gamertag string)
- func (o *GamerMatchDetailsParams) SetHTTPClient(client *http.Client)
- func (o *GamerMatchDetailsParams) SetLimit(limit *int32)
- func (o *GamerMatchDetailsParams) SetLookupType(lookupType string)
- func (o *GamerMatchDetailsParams) SetPlatform(platform string)
- func (o *GamerMatchDetailsParams) SetStart(start int64)
- func (o *GamerMatchDetailsParams) SetTimeout(timeout time.Duration)
- func (o *GamerMatchDetailsParams) SetTitle(title string)
- func (o *GamerMatchDetailsParams) WithContext(ctx context.Context) *GamerMatchDetailsParams
- func (o *GamerMatchDetailsParams) WithCookie(cookie string) *GamerMatchDetailsParams
- func (o *GamerMatchDetailsParams) WithEnd(end int64) *GamerMatchDetailsParams
- func (o *GamerMatchDetailsParams) WithGameType(gameType string) *GamerMatchDetailsParams
- func (o *GamerMatchDetailsParams) WithGamertag(gamertag string) *GamerMatchDetailsParams
- func (o *GamerMatchDetailsParams) WithHTTPClient(client *http.Client) *GamerMatchDetailsParams
- func (o *GamerMatchDetailsParams) WithLimit(limit *int32) *GamerMatchDetailsParams
- func (o *GamerMatchDetailsParams) WithLookupType(lookupType string) *GamerMatchDetailsParams
- func (o *GamerMatchDetailsParams) WithPlatform(platform string) *GamerMatchDetailsParams
- func (o *GamerMatchDetailsParams) WithStart(start int64) *GamerMatchDetailsParams
- func (o *GamerMatchDetailsParams) WithTimeout(timeout time.Duration) *GamerMatchDetailsParams
- func (o *GamerMatchDetailsParams) WithTitle(title string) *GamerMatchDetailsParams
- func (o *GamerMatchDetailsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GamerMatchDetailsReader
- type GamerMatchListOK
- type GamerMatchListParams
- func NewGamerMatchListParams() *GamerMatchListParams
- func NewGamerMatchListParamsWithContext(ctx context.Context) *GamerMatchListParams
- func NewGamerMatchListParamsWithHTTPClient(client *http.Client) *GamerMatchListParams
- func NewGamerMatchListParamsWithTimeout(timeout time.Duration) *GamerMatchListParams
- func (o *GamerMatchListParams) SetContext(ctx context.Context)
- func (o *GamerMatchListParams) SetCookie(cookie string)
- func (o *GamerMatchListParams) SetEnd(end int64)
- func (o *GamerMatchListParams) SetGameType(gameType string)
- func (o *GamerMatchListParams) SetGamertag(gamertag string)
- func (o *GamerMatchListParams) SetHTTPClient(client *http.Client)
- func (o *GamerMatchListParams) SetLimit(limit *int32)
- func (o *GamerMatchListParams) SetLookupType(lookupType string)
- func (o *GamerMatchListParams) SetPlatform(platform string)
- func (o *GamerMatchListParams) SetStart(start int64)
- func (o *GamerMatchListParams) SetTimeout(timeout time.Duration)
- func (o *GamerMatchListParams) SetTitle(title string)
- func (o *GamerMatchListParams) WithContext(ctx context.Context) *GamerMatchListParams
- func (o *GamerMatchListParams) WithCookie(cookie string) *GamerMatchListParams
- func (o *GamerMatchListParams) WithEnd(end int64) *GamerMatchListParams
- func (o *GamerMatchListParams) WithGameType(gameType string) *GamerMatchListParams
- func (o *GamerMatchListParams) WithGamertag(gamertag string) *GamerMatchListParams
- func (o *GamerMatchListParams) WithHTTPClient(client *http.Client) *GamerMatchListParams
- func (o *GamerMatchListParams) WithLimit(limit *int32) *GamerMatchListParams
- func (o *GamerMatchListParams) WithLookupType(lookupType string) *GamerMatchListParams
- func (o *GamerMatchListParams) WithPlatform(platform string) *GamerMatchListParams
- func (o *GamerMatchListParams) WithStart(start int64) *GamerMatchListParams
- func (o *GamerMatchListParams) WithTimeout(timeout time.Duration) *GamerMatchListParams
- func (o *GamerMatchListParams) WithTitle(title string) *GamerMatchListParams
- func (o *GamerMatchListParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GamerMatchListReader
- type GamerStatsOK
- type GamerStatsParams
- func (o *GamerStatsParams) SetContext(ctx context.Context)
- func (o *GamerStatsParams) SetCookie(cookie string)
- func (o *GamerStatsParams) SetGameType(gameType string)
- func (o *GamerStatsParams) SetGamertag(gamertag string)
- func (o *GamerStatsParams) SetHTTPClient(client *http.Client)
- func (o *GamerStatsParams) SetLookupType(lookupType string)
- func (o *GamerStatsParams) SetPlatform(platform string)
- func (o *GamerStatsParams) SetTimeout(timeout time.Duration)
- func (o *GamerStatsParams) SetTitle(title string)
- func (o *GamerStatsParams) WithContext(ctx context.Context) *GamerStatsParams
- func (o *GamerStatsParams) WithCookie(cookie string) *GamerStatsParams
- func (o *GamerStatsParams) WithGameType(gameType string) *GamerStatsParams
- func (o *GamerStatsParams) WithGamertag(gamertag string) *GamerStatsParams
- func (o *GamerStatsParams) WithHTTPClient(client *http.Client) *GamerStatsParams
- func (o *GamerStatsParams) WithLookupType(lookupType string) *GamerStatsParams
- func (o *GamerStatsParams) WithPlatform(platform string) *GamerStatsParams
- func (o *GamerStatsParams) WithTimeout(timeout time.Duration) *GamerStatsParams
- func (o *GamerStatsParams) WithTitle(title string) *GamerStatsParams
- func (o *GamerStatsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GamerStatsReader
- type LeaderBoardOK
- type LeaderBoardParams
- func (o *LeaderBoardParams) SetContext(ctx context.Context)
- func (o *LeaderBoardParams) SetHTTPClient(client *http.Client)
- func (o *LeaderBoardParams) SetPage(page int64)
- func (o *LeaderBoardParams) SetPlatform(platform string)
- func (o *LeaderBoardParams) SetTimeout(timeout time.Duration)
- func (o *LeaderBoardParams) SetTitle(title string)
- func (o *LeaderBoardParams) WithContext(ctx context.Context) *LeaderBoardParams
- func (o *LeaderBoardParams) WithHTTPClient(client *http.Client) *LeaderBoardParams
- func (o *LeaderBoardParams) WithPage(page int64) *LeaderBoardParams
- func (o *LeaderBoardParams) WithPlatform(platform string) *LeaderBoardParams
- func (o *LeaderBoardParams) WithTimeout(timeout time.Duration) *LeaderBoardParams
- func (o *LeaderBoardParams) WithTitle(title string) *LeaderBoardParams
- func (o *LeaderBoardParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type LeaderBoardReader
- type LoadoutOK
- type LoadoutParams
- func (o *LoadoutParams) SetContext(ctx context.Context)
- func (o *LoadoutParams) SetGameType(gameType string)
- func (o *LoadoutParams) SetHTTPClient(client *http.Client)
- func (o *LoadoutParams) SetTimeout(timeout time.Duration)
- func (o *LoadoutParams) SetTitle(title string)
- func (o *LoadoutParams) WithContext(ctx context.Context) *LoadoutParams
- func (o *LoadoutParams) WithGameType(gameType string) *LoadoutParams
- func (o *LoadoutParams) WithHTTPClient(client *http.Client) *LoadoutParams
- func (o *LoadoutParams) WithTimeout(timeout time.Duration) *LoadoutParams
- func (o *LoadoutParams) WithTitle(title string) *LoadoutParams
- func (o *LoadoutParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type LoadoutReader
- type MapListOK
- type MapListParams
- func (o *MapListParams) SetContext(ctx context.Context)
- func (o *MapListParams) SetGameType(gameType string)
- func (o *MapListParams) SetHTTPClient(client *http.Client)
- func (o *MapListParams) SetPlatform(platform string)
- func (o *MapListParams) SetTimeout(timeout time.Duration)
- func (o *MapListParams) SetTitle(title string)
- func (o *MapListParams) WithContext(ctx context.Context) *MapListParams
- func (o *MapListParams) WithGameType(gameType string) *MapListParams
- func (o *MapListParams) WithHTTPClient(client *http.Client) *MapListParams
- func (o *MapListParams) WithPlatform(platform string) *MapListParams
- func (o *MapListParams) WithTimeout(timeout time.Duration) *MapListParams
- func (o *MapListParams) WithTitle(title string) *MapListParams
- func (o *MapListParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type MapListReader
- type MatchAnalysisOK
- type MatchAnalysisParams
- func (o *MatchAnalysisParams) SetContext(ctx context.Context)
- func (o *MatchAnalysisParams) SetCookie(cookie string)
- func (o *MatchAnalysisParams) SetEnd(end int64)
- func (o *MatchAnalysisParams) SetGamertag(gamertag string)
- func (o *MatchAnalysisParams) SetHTTPClient(client *http.Client)
- func (o *MatchAnalysisParams) SetLookupType(lookupType string)
- func (o *MatchAnalysisParams) SetPlatform(platform string)
- func (o *MatchAnalysisParams) SetTimeout(timeout time.Duration)
- func (o *MatchAnalysisParams) SetTitle(title string)
- func (o *MatchAnalysisParams) WithContext(ctx context.Context) *MatchAnalysisParams
- func (o *MatchAnalysisParams) WithCookie(cookie string) *MatchAnalysisParams
- func (o *MatchAnalysisParams) WithEnd(end int64) *MatchAnalysisParams
- func (o *MatchAnalysisParams) WithGamertag(gamertag string) *MatchAnalysisParams
- func (o *MatchAnalysisParams) WithHTTPClient(client *http.Client) *MatchAnalysisParams
- func (o *MatchAnalysisParams) WithLookupType(lookupType string) *MatchAnalysisParams
- func (o *MatchAnalysisParams) WithPlatform(platform string) *MatchAnalysisParams
- func (o *MatchAnalysisParams) WithTimeout(timeout time.Duration) *MatchAnalysisParams
- func (o *MatchAnalysisParams) WithTitle(title string) *MatchAnalysisParams
- func (o *MatchAnalysisParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type MatchAnalysisReader
- type PurchasableOK
- type PurchasableParams
- func (o *PurchasableParams) SetContext(ctx context.Context)
- func (o *PurchasableParams) SetHTTPClient(client *http.Client)
- func (o *PurchasableParams) SetPlatform(platform string)
- func (o *PurchasableParams) SetTimeout(timeout time.Duration)
- func (o *PurchasableParams) SetTitle(title string)
- func (o *PurchasableParams) WithContext(ctx context.Context) *PurchasableParams
- func (o *PurchasableParams) WithHTTPClient(client *http.Client) *PurchasableParams
- func (o *PurchasableParams) WithPlatform(platform string) *PurchasableParams
- func (o *PurchasableParams) WithTimeout(timeout time.Duration) *PurchasableParams
- func (o *PurchasableParams) WithTitle(title string) *PurchasableParams
- func (o *PurchasableParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PurchasableReader
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BattlePassLootOK ¶
type BattlePassLootOK struct {
Payload *models.BattlePassLootResponse
}
BattlePassLootOK handles this case with default header values.
Battle Pass Loot Response
func NewBattlePassLootOK ¶
func NewBattlePassLootOK() *BattlePassLootOK
NewBattlePassLootOK creates a BattlePassLootOK with default headers values
func (*BattlePassLootOK) Error ¶
func (o *BattlePassLootOK) Error() string
func (*BattlePassLootOK) GetPayload ¶
func (o *BattlePassLootOK) GetPayload() *models.BattlePassLootResponse
type BattlePassLootParams ¶
type BattlePassLootParams struct { /*Platform Game platform */ Platform string /*Season Game Type */ Season int64 /*Title Game title */ Title string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
BattlePassLootParams contains all the parameters to send to the API endpoint for the battle pass loot operation typically these are written to a http.Request
func NewBattlePassLootParams ¶
func NewBattlePassLootParams() *BattlePassLootParams
NewBattlePassLootParams creates a new BattlePassLootParams object with the default values initialized.
func NewBattlePassLootParamsWithContext ¶
func NewBattlePassLootParamsWithContext(ctx context.Context) *BattlePassLootParams
NewBattlePassLootParamsWithContext creates a new BattlePassLootParams object with the default values initialized, and the ability to set a context for a request
func NewBattlePassLootParamsWithHTTPClient ¶
func NewBattlePassLootParamsWithHTTPClient(client *http.Client) *BattlePassLootParams
NewBattlePassLootParamsWithHTTPClient creates a new BattlePassLootParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewBattlePassLootParamsWithTimeout ¶
func NewBattlePassLootParamsWithTimeout(timeout time.Duration) *BattlePassLootParams
NewBattlePassLootParamsWithTimeout creates a new BattlePassLootParams object with the default values initialized, and the ability to set a timeout on a request
func (*BattlePassLootParams) SetContext ¶
func (o *BattlePassLootParams) SetContext(ctx context.Context)
SetContext adds the context to the battle pass loot params
func (*BattlePassLootParams) SetHTTPClient ¶
func (o *BattlePassLootParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the battle pass loot params
func (*BattlePassLootParams) SetPlatform ¶
func (o *BattlePassLootParams) SetPlatform(platform string)
SetPlatform adds the platform to the battle pass loot params
func (*BattlePassLootParams) SetSeason ¶
func (o *BattlePassLootParams) SetSeason(season int64)
SetSeason adds the season to the battle pass loot params
func (*BattlePassLootParams) SetTimeout ¶
func (o *BattlePassLootParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the battle pass loot params
func (*BattlePassLootParams) SetTitle ¶
func (o *BattlePassLootParams) SetTitle(title string)
SetTitle adds the title to the battle pass loot params
func (*BattlePassLootParams) WithContext ¶
func (o *BattlePassLootParams) WithContext(ctx context.Context) *BattlePassLootParams
WithContext adds the context to the battle pass loot params
func (*BattlePassLootParams) WithHTTPClient ¶
func (o *BattlePassLootParams) WithHTTPClient(client *http.Client) *BattlePassLootParams
WithHTTPClient adds the HTTPClient to the battle pass loot params
func (*BattlePassLootParams) WithPlatform ¶
func (o *BattlePassLootParams) WithPlatform(platform string) *BattlePassLootParams
WithPlatform adds the platform to the battle pass loot params
func (*BattlePassLootParams) WithSeason ¶
func (o *BattlePassLootParams) WithSeason(season int64) *BattlePassLootParams
WithSeason adds the season to the battle pass loot params
func (*BattlePassLootParams) WithTimeout ¶
func (o *BattlePassLootParams) WithTimeout(timeout time.Duration) *BattlePassLootParams
WithTimeout adds the timeout to the battle pass loot params
func (*BattlePassLootParams) WithTitle ¶
func (o *BattlePassLootParams) WithTitle(title string) *BattlePassLootParams
WithTitle adds the title to the battle pass loot params
func (*BattlePassLootParams) WriteToRequest ¶
func (o *BattlePassLootParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type BattlePassLootReader ¶
type BattlePassLootReader struct {
// contains filtered or unexported fields
}
BattlePassLootReader is a Reader for the BattlePassLoot structure.
func (*BattlePassLootReader) ReadResponse ¶
func (o *BattlePassLootReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for service API
func (*Client) BattlePassLoot ¶
func (a *Client) BattlePassLoot(params *BattlePassLootParams) (*BattlePassLootOK, error)
BattlePassLoot battles pass loot
Returns the Battle Pass season loot information
func (*Client) CodPoints ¶
func (a *Client) CodPoints(params *CodPointsParams) (*CodPointsOK, error)
CodPoints gets call of duty points
Returns Call of Duty points (Authentication required)
func (*Client) FriendStats ¶
func (a *Client) FriendStats(params *FriendStatsParams) (*FriendStatsOK, error)
FriendStats gets friend stats
Returns Friend stats (Authentication required)
func (*Client) FullMatchInfo ¶
func (a *Client) FullMatchInfo(params *FullMatchInfoParams) (*FullMatchInfoOK, error)
FullMatchInfo fulls match info
Returns the full match information
func (*Client) GamerLoot ¶
func (a *Client) GamerLoot(params *GamerLootParams) (*GamerLootOK, error)
GamerLoot gets gamer loot
Returns Gamer Loot information (Authentication required)
func (*Client) GamerMatchDetails ¶
func (a *Client) GamerMatchDetails(params *GamerMatchDetailsParams) (*GamerMatchDetailsOK, error)
GamerMatchDetails gets gamer match details
Returns the Gamer match details (Authentication required)
func (*Client) GamerMatchList ¶
func (a *Client) GamerMatchList(params *GamerMatchListParams) (*GamerMatchListOK, error)
GamerMatchList gets gamer match list
Returns the gamer list of matches (Authentication required)
func (*Client) GamerStats ¶
func (a *Client) GamerStats(params *GamerStatsParams) (*GamerStatsOK, error)
GamerStats gets gamer stats
Returns the gamer stats profile (Authentication required)
func (*Client) LeaderBoard ¶
func (a *Client) LeaderBoard(params *LeaderBoardParams) (*LeaderBoardOK, error)
LeaderBoard gets leader board
Returns the leader board
func (*Client) Loadout ¶
func (a *Client) Loadout(params *LoadoutParams) (*LoadoutOK, error)
Loadout gets loadout info
Returns loadout information
func (*Client) MapList ¶
func (a *Client) MapList(params *MapListParams) (*MapListOK, error)
MapList maps list
Returns all map information
func (*Client) MatchAnalysis ¶
func (a *Client) MatchAnalysis(params *MatchAnalysisParams) (*MatchAnalysisOK, error)
MatchAnalysis matches analysis
Returns match analysis (Authentication required)
func (*Client) Purchasable ¶
func (a *Client) Purchasable(params *PurchasableParams) (*PurchasableOK, error)
Purchasable purchasables
Returns purchasable items
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type ClientService ¶
type ClientService interface { BattlePassLoot(params *BattlePassLootParams) (*BattlePassLootOK, error) CodPoints(params *CodPointsParams) (*CodPointsOK, error) FriendStats(params *FriendStatsParams) (*FriendStatsOK, error) FullMatchInfo(params *FullMatchInfoParams) (*FullMatchInfoOK, error) GamerLoot(params *GamerLootParams) (*GamerLootOK, error) GamerMatchDetails(params *GamerMatchDetailsParams) (*GamerMatchDetailsOK, error) GamerMatchList(params *GamerMatchListParams) (*GamerMatchListOK, error) GamerStats(params *GamerStatsParams) (*GamerStatsOK, error) LeaderBoard(params *LeaderBoardParams) (*LeaderBoardOK, error) Loadout(params *LoadoutParams) (*LoadoutOK, error) MapList(params *MapListParams) (*MapListOK, error) MatchAnalysis(params *MatchAnalysisParams) (*MatchAnalysisOK, error) Purchasable(params *PurchasableParams) (*PurchasableOK, error) SetTransport(transport runtime.ClientTransport) }
ClientService is the interface for Client methods
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) ClientService
New creates a new service API client.
type CodPointsOK ¶
type CodPointsOK struct {
Payload *models.CodPointsResponse
}
CodPointsOK handles this case with default header values.
Call of Duty Points Response
func NewCodPointsOK ¶
func NewCodPointsOK() *CodPointsOK
NewCodPointsOK creates a CodPointsOK with default headers values
func (*CodPointsOK) Error ¶
func (o *CodPointsOK) Error() string
func (*CodPointsOK) GetPayload ¶
func (o *CodPointsOK) GetPayload() *models.CodPointsResponse
type CodPointsParams ¶
type CodPointsParams struct { /*Cookie ACT_SSO_COOKIE required for authenticated requests. Set with the value returned in login */ Cookie string /*Gamertag Gamer tag */ Gamertag string /*LookupType Lookup Type */ LookupType string /*Platform Game platform */ Platform string /*Title Game title */ Title string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CodPointsParams contains all the parameters to send to the API endpoint for the cod points operation typically these are written to a http.Request
func NewCodPointsParams ¶
func NewCodPointsParams() *CodPointsParams
NewCodPointsParams creates a new CodPointsParams object with the default values initialized.
func NewCodPointsParamsWithContext ¶
func NewCodPointsParamsWithContext(ctx context.Context) *CodPointsParams
NewCodPointsParamsWithContext creates a new CodPointsParams object with the default values initialized, and the ability to set a context for a request
func NewCodPointsParamsWithHTTPClient ¶
func NewCodPointsParamsWithHTTPClient(client *http.Client) *CodPointsParams
NewCodPointsParamsWithHTTPClient creates a new CodPointsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewCodPointsParamsWithTimeout ¶
func NewCodPointsParamsWithTimeout(timeout time.Duration) *CodPointsParams
NewCodPointsParamsWithTimeout creates a new CodPointsParams object with the default values initialized, and the ability to set a timeout on a request
func (*CodPointsParams) SetContext ¶
func (o *CodPointsParams) SetContext(ctx context.Context)
SetContext adds the context to the cod points params
func (*CodPointsParams) SetCookie ¶
func (o *CodPointsParams) SetCookie(cookie string)
SetCookie adds the cookie to the cod points params
func (*CodPointsParams) SetGamertag ¶
func (o *CodPointsParams) SetGamertag(gamertag string)
SetGamertag adds the gamertag to the cod points params
func (*CodPointsParams) SetHTTPClient ¶
func (o *CodPointsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the cod points params
func (*CodPointsParams) SetLookupType ¶
func (o *CodPointsParams) SetLookupType(lookupType string)
SetLookupType adds the lookupType to the cod points params
func (*CodPointsParams) SetPlatform ¶
func (o *CodPointsParams) SetPlatform(platform string)
SetPlatform adds the platform to the cod points params
func (*CodPointsParams) SetTimeout ¶
func (o *CodPointsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the cod points params
func (*CodPointsParams) SetTitle ¶
func (o *CodPointsParams) SetTitle(title string)
SetTitle adds the title to the cod points params
func (*CodPointsParams) WithContext ¶
func (o *CodPointsParams) WithContext(ctx context.Context) *CodPointsParams
WithContext adds the context to the cod points params
func (*CodPointsParams) WithCookie ¶
func (o *CodPointsParams) WithCookie(cookie string) *CodPointsParams
WithCookie adds the cookie to the cod points params
func (*CodPointsParams) WithGamertag ¶
func (o *CodPointsParams) WithGamertag(gamertag string) *CodPointsParams
WithGamertag adds the gamertag to the cod points params
func (*CodPointsParams) WithHTTPClient ¶
func (o *CodPointsParams) WithHTTPClient(client *http.Client) *CodPointsParams
WithHTTPClient adds the HTTPClient to the cod points params
func (*CodPointsParams) WithLookupType ¶
func (o *CodPointsParams) WithLookupType(lookupType string) *CodPointsParams
WithLookupType adds the lookupType to the cod points params
func (*CodPointsParams) WithPlatform ¶
func (o *CodPointsParams) WithPlatform(platform string) *CodPointsParams
WithPlatform adds the platform to the cod points params
func (*CodPointsParams) WithTimeout ¶
func (o *CodPointsParams) WithTimeout(timeout time.Duration) *CodPointsParams
WithTimeout adds the timeout to the cod points params
func (*CodPointsParams) WithTitle ¶
func (o *CodPointsParams) WithTitle(title string) *CodPointsParams
WithTitle adds the title to the cod points params
func (*CodPointsParams) WriteToRequest ¶
func (o *CodPointsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CodPointsReader ¶
type CodPointsReader struct {
// contains filtered or unexported fields
}
CodPointsReader is a Reader for the CodPoints structure.
func (*CodPointsReader) ReadResponse ¶
func (o *CodPointsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type FriendStatsOK ¶
type FriendStatsOK struct {
Payload *models.FriendStatsResponse
}
FriendStatsOK handles this case with default header values.
Friend Stats Response
func NewFriendStatsOK ¶
func NewFriendStatsOK() *FriendStatsOK
NewFriendStatsOK creates a FriendStatsOK with default headers values
func (*FriendStatsOK) Error ¶
func (o *FriendStatsOK) Error() string
func (*FriendStatsOK) GetPayload ¶
func (o *FriendStatsOK) GetPayload() *models.FriendStatsResponse
type FriendStatsParams ¶
type FriendStatsParams struct { /*Cookie ACT_SSO_COOKIE required for authenticated requests. Set with the value returned in login */ Cookie string /*GameType Game Type */ GameType string /*Gamertag Gamer tag */ Gamertag string /*LookupType Lookup Type */ LookupType string /*Platform Game platform */ Platform string /*Title Game title */ Title string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
FriendStatsParams contains all the parameters to send to the API endpoint for the friend stats operation typically these are written to a http.Request
func NewFriendStatsParams ¶
func NewFriendStatsParams() *FriendStatsParams
NewFriendStatsParams creates a new FriendStatsParams object with the default values initialized.
func NewFriendStatsParamsWithContext ¶
func NewFriendStatsParamsWithContext(ctx context.Context) *FriendStatsParams
NewFriendStatsParamsWithContext creates a new FriendStatsParams object with the default values initialized, and the ability to set a context for a request
func NewFriendStatsParamsWithHTTPClient ¶
func NewFriendStatsParamsWithHTTPClient(client *http.Client) *FriendStatsParams
NewFriendStatsParamsWithHTTPClient creates a new FriendStatsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewFriendStatsParamsWithTimeout ¶
func NewFriendStatsParamsWithTimeout(timeout time.Duration) *FriendStatsParams
NewFriendStatsParamsWithTimeout creates a new FriendStatsParams object with the default values initialized, and the ability to set a timeout on a request
func (*FriendStatsParams) SetContext ¶
func (o *FriendStatsParams) SetContext(ctx context.Context)
SetContext adds the context to the friend stats params
func (*FriendStatsParams) SetCookie ¶
func (o *FriendStatsParams) SetCookie(cookie string)
SetCookie adds the cookie to the friend stats params
func (*FriendStatsParams) SetGameType ¶
func (o *FriendStatsParams) SetGameType(gameType string)
SetGameType adds the gameType to the friend stats params
func (*FriendStatsParams) SetGamertag ¶
func (o *FriendStatsParams) SetGamertag(gamertag string)
SetGamertag adds the gamertag to the friend stats params
func (*FriendStatsParams) SetHTTPClient ¶
func (o *FriendStatsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the friend stats params
func (*FriendStatsParams) SetLookupType ¶
func (o *FriendStatsParams) SetLookupType(lookupType string)
SetLookupType adds the lookupType to the friend stats params
func (*FriendStatsParams) SetPlatform ¶
func (o *FriendStatsParams) SetPlatform(platform string)
SetPlatform adds the platform to the friend stats params
func (*FriendStatsParams) SetTimeout ¶
func (o *FriendStatsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the friend stats params
func (*FriendStatsParams) SetTitle ¶
func (o *FriendStatsParams) SetTitle(title string)
SetTitle adds the title to the friend stats params
func (*FriendStatsParams) WithContext ¶
func (o *FriendStatsParams) WithContext(ctx context.Context) *FriendStatsParams
WithContext adds the context to the friend stats params
func (*FriendStatsParams) WithCookie ¶
func (o *FriendStatsParams) WithCookie(cookie string) *FriendStatsParams
WithCookie adds the cookie to the friend stats params
func (*FriendStatsParams) WithGameType ¶
func (o *FriendStatsParams) WithGameType(gameType string) *FriendStatsParams
WithGameType adds the gameType to the friend stats params
func (*FriendStatsParams) WithGamertag ¶
func (o *FriendStatsParams) WithGamertag(gamertag string) *FriendStatsParams
WithGamertag adds the gamertag to the friend stats params
func (*FriendStatsParams) WithHTTPClient ¶
func (o *FriendStatsParams) WithHTTPClient(client *http.Client) *FriendStatsParams
WithHTTPClient adds the HTTPClient to the friend stats params
func (*FriendStatsParams) WithLookupType ¶
func (o *FriendStatsParams) WithLookupType(lookupType string) *FriendStatsParams
WithLookupType adds the lookupType to the friend stats params
func (*FriendStatsParams) WithPlatform ¶
func (o *FriendStatsParams) WithPlatform(platform string) *FriendStatsParams
WithPlatform adds the platform to the friend stats params
func (*FriendStatsParams) WithTimeout ¶
func (o *FriendStatsParams) WithTimeout(timeout time.Duration) *FriendStatsParams
WithTimeout adds the timeout to the friend stats params
func (*FriendStatsParams) WithTitle ¶
func (o *FriendStatsParams) WithTitle(title string) *FriendStatsParams
WithTitle adds the title to the friend stats params
func (*FriendStatsParams) WriteToRequest ¶
func (o *FriendStatsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type FriendStatsReader ¶
type FriendStatsReader struct {
// contains filtered or unexported fields
}
FriendStatsReader is a Reader for the FriendStats structure.
func (*FriendStatsReader) ReadResponse ¶
func (o *FriendStatsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type FullMatchInfoOK ¶
type FullMatchInfoOK struct {
Payload *models.FullMatchInfoResponse
}
FullMatchInfoOK handles this case with default header values.
Full Match Info Response
func NewFullMatchInfoOK ¶
func NewFullMatchInfoOK() *FullMatchInfoOK
NewFullMatchInfoOK creates a FullMatchInfoOK with default headers values
func (*FullMatchInfoOK) Error ¶
func (o *FullMatchInfoOK) Error() string
func (*FullMatchInfoOK) GetPayload ¶
func (o *FullMatchInfoOK) GetPayload() *models.FullMatchInfoResponse
type FullMatchInfoParams ¶
type FullMatchInfoParams struct { /*GameType Game Type */ GameType string /*MatchID Match ID */ MatchID string /*Platform Game platform */ Platform string /*Title Game title */ Title string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
FullMatchInfoParams contains all the parameters to send to the API endpoint for the full match info operation typically these are written to a http.Request
func NewFullMatchInfoParams ¶
func NewFullMatchInfoParams() *FullMatchInfoParams
NewFullMatchInfoParams creates a new FullMatchInfoParams object with the default values initialized.
func NewFullMatchInfoParamsWithContext ¶
func NewFullMatchInfoParamsWithContext(ctx context.Context) *FullMatchInfoParams
NewFullMatchInfoParamsWithContext creates a new FullMatchInfoParams object with the default values initialized, and the ability to set a context for a request
func NewFullMatchInfoParamsWithHTTPClient ¶
func NewFullMatchInfoParamsWithHTTPClient(client *http.Client) *FullMatchInfoParams
NewFullMatchInfoParamsWithHTTPClient creates a new FullMatchInfoParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewFullMatchInfoParamsWithTimeout ¶
func NewFullMatchInfoParamsWithTimeout(timeout time.Duration) *FullMatchInfoParams
NewFullMatchInfoParamsWithTimeout creates a new FullMatchInfoParams object with the default values initialized, and the ability to set a timeout on a request
func (*FullMatchInfoParams) SetContext ¶
func (o *FullMatchInfoParams) SetContext(ctx context.Context)
SetContext adds the context to the full match info params
func (*FullMatchInfoParams) SetGameType ¶
func (o *FullMatchInfoParams) SetGameType(gameType string)
SetGameType adds the gameType to the full match info params
func (*FullMatchInfoParams) SetHTTPClient ¶
func (o *FullMatchInfoParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the full match info params
func (*FullMatchInfoParams) SetMatchID ¶
func (o *FullMatchInfoParams) SetMatchID(matchID string)
SetMatchID adds the matchId to the full match info params
func (*FullMatchInfoParams) SetPlatform ¶
func (o *FullMatchInfoParams) SetPlatform(platform string)
SetPlatform adds the platform to the full match info params
func (*FullMatchInfoParams) SetTimeout ¶
func (o *FullMatchInfoParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the full match info params
func (*FullMatchInfoParams) SetTitle ¶
func (o *FullMatchInfoParams) SetTitle(title string)
SetTitle adds the title to the full match info params
func (*FullMatchInfoParams) WithContext ¶
func (o *FullMatchInfoParams) WithContext(ctx context.Context) *FullMatchInfoParams
WithContext adds the context to the full match info params
func (*FullMatchInfoParams) WithGameType ¶
func (o *FullMatchInfoParams) WithGameType(gameType string) *FullMatchInfoParams
WithGameType adds the gameType to the full match info params
func (*FullMatchInfoParams) WithHTTPClient ¶
func (o *FullMatchInfoParams) WithHTTPClient(client *http.Client) *FullMatchInfoParams
WithHTTPClient adds the HTTPClient to the full match info params
func (*FullMatchInfoParams) WithMatchID ¶
func (o *FullMatchInfoParams) WithMatchID(matchID string) *FullMatchInfoParams
WithMatchID adds the matchID to the full match info params
func (*FullMatchInfoParams) WithPlatform ¶
func (o *FullMatchInfoParams) WithPlatform(platform string) *FullMatchInfoParams
WithPlatform adds the platform to the full match info params
func (*FullMatchInfoParams) WithTimeout ¶
func (o *FullMatchInfoParams) WithTimeout(timeout time.Duration) *FullMatchInfoParams
WithTimeout adds the timeout to the full match info params
func (*FullMatchInfoParams) WithTitle ¶
func (o *FullMatchInfoParams) WithTitle(title string) *FullMatchInfoParams
WithTitle adds the title to the full match info params
func (*FullMatchInfoParams) WriteToRequest ¶
func (o *FullMatchInfoParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type FullMatchInfoReader ¶
type FullMatchInfoReader struct {
// contains filtered or unexported fields
}
FullMatchInfoReader is a Reader for the FullMatchInfo structure.
func (*FullMatchInfoReader) ReadResponse ¶
func (o *FullMatchInfoReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GamerLootOK ¶
type GamerLootOK struct {
Payload *models.GamerLootResponse
}
GamerLootOK handles this case with default header values.
Get Gamer Loot Response
func NewGamerLootOK ¶
func NewGamerLootOK() *GamerLootOK
NewGamerLootOK creates a GamerLootOK with default headers values
func (*GamerLootOK) Error ¶
func (o *GamerLootOK) Error() string
func (*GamerLootOK) GetPayload ¶
func (o *GamerLootOK) GetPayload() *models.GamerLootResponse
type GamerLootParams ¶
type GamerLootParams struct { /*Cookie ACT_SSO_COOKIE required for authenticated requests. Set with the value returned in login */ Cookie string /*Gamertag Gamer tag */ Gamertag string /*LookupType Lookup Type */ LookupType string /*Platform Game platform */ Platform string /*Title Game title */ Title string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GamerLootParams contains all the parameters to send to the API endpoint for the gamer loot operation typically these are written to a http.Request
func NewGamerLootParams ¶
func NewGamerLootParams() *GamerLootParams
NewGamerLootParams creates a new GamerLootParams object with the default values initialized.
func NewGamerLootParamsWithContext ¶
func NewGamerLootParamsWithContext(ctx context.Context) *GamerLootParams
NewGamerLootParamsWithContext creates a new GamerLootParams object with the default values initialized, and the ability to set a context for a request
func NewGamerLootParamsWithHTTPClient ¶
func NewGamerLootParamsWithHTTPClient(client *http.Client) *GamerLootParams
NewGamerLootParamsWithHTTPClient creates a new GamerLootParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGamerLootParamsWithTimeout ¶
func NewGamerLootParamsWithTimeout(timeout time.Duration) *GamerLootParams
NewGamerLootParamsWithTimeout creates a new GamerLootParams object with the default values initialized, and the ability to set a timeout on a request
func (*GamerLootParams) SetContext ¶
func (o *GamerLootParams) SetContext(ctx context.Context)
SetContext adds the context to the gamer loot params
func (*GamerLootParams) SetCookie ¶
func (o *GamerLootParams) SetCookie(cookie string)
SetCookie adds the cookie to the gamer loot params
func (*GamerLootParams) SetGamertag ¶
func (o *GamerLootParams) SetGamertag(gamertag string)
SetGamertag adds the gamertag to the gamer loot params
func (*GamerLootParams) SetHTTPClient ¶
func (o *GamerLootParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the gamer loot params
func (*GamerLootParams) SetLookupType ¶
func (o *GamerLootParams) SetLookupType(lookupType string)
SetLookupType adds the lookupType to the gamer loot params
func (*GamerLootParams) SetPlatform ¶
func (o *GamerLootParams) SetPlatform(platform string)
SetPlatform adds the platform to the gamer loot params
func (*GamerLootParams) SetTimeout ¶
func (o *GamerLootParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the gamer loot params
func (*GamerLootParams) SetTitle ¶
func (o *GamerLootParams) SetTitle(title string)
SetTitle adds the title to the gamer loot params
func (*GamerLootParams) WithContext ¶
func (o *GamerLootParams) WithContext(ctx context.Context) *GamerLootParams
WithContext adds the context to the gamer loot params
func (*GamerLootParams) WithCookie ¶
func (o *GamerLootParams) WithCookie(cookie string) *GamerLootParams
WithCookie adds the cookie to the gamer loot params
func (*GamerLootParams) WithGamertag ¶
func (o *GamerLootParams) WithGamertag(gamertag string) *GamerLootParams
WithGamertag adds the gamertag to the gamer loot params
func (*GamerLootParams) WithHTTPClient ¶
func (o *GamerLootParams) WithHTTPClient(client *http.Client) *GamerLootParams
WithHTTPClient adds the HTTPClient to the gamer loot params
func (*GamerLootParams) WithLookupType ¶
func (o *GamerLootParams) WithLookupType(lookupType string) *GamerLootParams
WithLookupType adds the lookupType to the gamer loot params
func (*GamerLootParams) WithPlatform ¶
func (o *GamerLootParams) WithPlatform(platform string) *GamerLootParams
WithPlatform adds the platform to the gamer loot params
func (*GamerLootParams) WithTimeout ¶
func (o *GamerLootParams) WithTimeout(timeout time.Duration) *GamerLootParams
WithTimeout adds the timeout to the gamer loot params
func (*GamerLootParams) WithTitle ¶
func (o *GamerLootParams) WithTitle(title string) *GamerLootParams
WithTitle adds the title to the gamer loot params
func (*GamerLootParams) WriteToRequest ¶
func (o *GamerLootParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GamerLootReader ¶
type GamerLootReader struct {
// contains filtered or unexported fields
}
GamerLootReader is a Reader for the GamerLoot structure.
func (*GamerLootReader) ReadResponse ¶
func (o *GamerLootReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GamerMatchDetailsOK ¶
type GamerMatchDetailsOK struct {
Payload *models.GamerMatchDetailsResponse
}
GamerMatchDetailsOK handles this case with default header values.
Match Details Response
func NewGamerMatchDetailsOK ¶
func NewGamerMatchDetailsOK() *GamerMatchDetailsOK
NewGamerMatchDetailsOK creates a GamerMatchDetailsOK with default headers values
func (*GamerMatchDetailsOK) Error ¶
func (o *GamerMatchDetailsOK) Error() string
func (*GamerMatchDetailsOK) GetPayload ¶
func (o *GamerMatchDetailsOK) GetPayload() *models.GamerMatchDetailsResponse
type GamerMatchDetailsParams ¶
type GamerMatchDetailsParams struct { /*Cookie ACT_SSO_COOKIE required for authenticated requests. Set with the value returned in login */ Cookie string /*End Match end unix timestamp in milliseconds ex. 1608407321000 */ End int64 /*GameType Game Type */ GameType string /*Gamertag Gamer tag */ Gamertag string /*Limit The numbers of items to return */ Limit *int32 /*LookupType Lookup Type */ LookupType string /*Platform Game platform */ Platform string /*Start Match start unix timestamp in milliseconds ex. 1602815242000 */ Start int64 /*Title Game title */ Title string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GamerMatchDetailsParams contains all the parameters to send to the API endpoint for the gamer match details operation typically these are written to a http.Request
func NewGamerMatchDetailsParams ¶
func NewGamerMatchDetailsParams() *GamerMatchDetailsParams
NewGamerMatchDetailsParams creates a new GamerMatchDetailsParams object with the default values initialized.
func NewGamerMatchDetailsParamsWithContext ¶
func NewGamerMatchDetailsParamsWithContext(ctx context.Context) *GamerMatchDetailsParams
NewGamerMatchDetailsParamsWithContext creates a new GamerMatchDetailsParams object with the default values initialized, and the ability to set a context for a request
func NewGamerMatchDetailsParamsWithHTTPClient ¶
func NewGamerMatchDetailsParamsWithHTTPClient(client *http.Client) *GamerMatchDetailsParams
NewGamerMatchDetailsParamsWithHTTPClient creates a new GamerMatchDetailsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGamerMatchDetailsParamsWithTimeout ¶
func NewGamerMatchDetailsParamsWithTimeout(timeout time.Duration) *GamerMatchDetailsParams
NewGamerMatchDetailsParamsWithTimeout creates a new GamerMatchDetailsParams object with the default values initialized, and the ability to set a timeout on a request
func (*GamerMatchDetailsParams) SetContext ¶
func (o *GamerMatchDetailsParams) SetContext(ctx context.Context)
SetContext adds the context to the gamer match details params
func (*GamerMatchDetailsParams) SetCookie ¶
func (o *GamerMatchDetailsParams) SetCookie(cookie string)
SetCookie adds the cookie to the gamer match details params
func (*GamerMatchDetailsParams) SetEnd ¶
func (o *GamerMatchDetailsParams) SetEnd(end int64)
SetEnd adds the end to the gamer match details params
func (*GamerMatchDetailsParams) SetGameType ¶
func (o *GamerMatchDetailsParams) SetGameType(gameType string)
SetGameType adds the gameType to the gamer match details params
func (*GamerMatchDetailsParams) SetGamertag ¶
func (o *GamerMatchDetailsParams) SetGamertag(gamertag string)
SetGamertag adds the gamertag to the gamer match details params
func (*GamerMatchDetailsParams) SetHTTPClient ¶
func (o *GamerMatchDetailsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the gamer match details params
func (*GamerMatchDetailsParams) SetLimit ¶
func (o *GamerMatchDetailsParams) SetLimit(limit *int32)
SetLimit adds the limit to the gamer match details params
func (*GamerMatchDetailsParams) SetLookupType ¶
func (o *GamerMatchDetailsParams) SetLookupType(lookupType string)
SetLookupType adds the lookupType to the gamer match details params
func (*GamerMatchDetailsParams) SetPlatform ¶
func (o *GamerMatchDetailsParams) SetPlatform(platform string)
SetPlatform adds the platform to the gamer match details params
func (*GamerMatchDetailsParams) SetStart ¶
func (o *GamerMatchDetailsParams) SetStart(start int64)
SetStart adds the start to the gamer match details params
func (*GamerMatchDetailsParams) SetTimeout ¶
func (o *GamerMatchDetailsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the gamer match details params
func (*GamerMatchDetailsParams) SetTitle ¶
func (o *GamerMatchDetailsParams) SetTitle(title string)
SetTitle adds the title to the gamer match details params
func (*GamerMatchDetailsParams) WithContext ¶
func (o *GamerMatchDetailsParams) WithContext(ctx context.Context) *GamerMatchDetailsParams
WithContext adds the context to the gamer match details params
func (*GamerMatchDetailsParams) WithCookie ¶
func (o *GamerMatchDetailsParams) WithCookie(cookie string) *GamerMatchDetailsParams
WithCookie adds the cookie to the gamer match details params
func (*GamerMatchDetailsParams) WithEnd ¶
func (o *GamerMatchDetailsParams) WithEnd(end int64) *GamerMatchDetailsParams
WithEnd adds the end to the gamer match details params
func (*GamerMatchDetailsParams) WithGameType ¶
func (o *GamerMatchDetailsParams) WithGameType(gameType string) *GamerMatchDetailsParams
WithGameType adds the gameType to the gamer match details params
func (*GamerMatchDetailsParams) WithGamertag ¶
func (o *GamerMatchDetailsParams) WithGamertag(gamertag string) *GamerMatchDetailsParams
WithGamertag adds the gamertag to the gamer match details params
func (*GamerMatchDetailsParams) WithHTTPClient ¶
func (o *GamerMatchDetailsParams) WithHTTPClient(client *http.Client) *GamerMatchDetailsParams
WithHTTPClient adds the HTTPClient to the gamer match details params
func (*GamerMatchDetailsParams) WithLimit ¶
func (o *GamerMatchDetailsParams) WithLimit(limit *int32) *GamerMatchDetailsParams
WithLimit adds the limit to the gamer match details params
func (*GamerMatchDetailsParams) WithLookupType ¶
func (o *GamerMatchDetailsParams) WithLookupType(lookupType string) *GamerMatchDetailsParams
WithLookupType adds the lookupType to the gamer match details params
func (*GamerMatchDetailsParams) WithPlatform ¶
func (o *GamerMatchDetailsParams) WithPlatform(platform string) *GamerMatchDetailsParams
WithPlatform adds the platform to the gamer match details params
func (*GamerMatchDetailsParams) WithStart ¶
func (o *GamerMatchDetailsParams) WithStart(start int64) *GamerMatchDetailsParams
WithStart adds the start to the gamer match details params
func (*GamerMatchDetailsParams) WithTimeout ¶
func (o *GamerMatchDetailsParams) WithTimeout(timeout time.Duration) *GamerMatchDetailsParams
WithTimeout adds the timeout to the gamer match details params
func (*GamerMatchDetailsParams) WithTitle ¶
func (o *GamerMatchDetailsParams) WithTitle(title string) *GamerMatchDetailsParams
WithTitle adds the title to the gamer match details params
func (*GamerMatchDetailsParams) WriteToRequest ¶
func (o *GamerMatchDetailsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GamerMatchDetailsReader ¶
type GamerMatchDetailsReader struct {
// contains filtered or unexported fields
}
GamerMatchDetailsReader is a Reader for the GamerMatchDetails structure.
func (*GamerMatchDetailsReader) ReadResponse ¶
func (o *GamerMatchDetailsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GamerMatchListOK ¶
type GamerMatchListOK struct {
Payload *models.GamerMatchListResponse
}
GamerMatchListOK handles this case with default header values.
Match List Response
func NewGamerMatchListOK ¶
func NewGamerMatchListOK() *GamerMatchListOK
NewGamerMatchListOK creates a GamerMatchListOK with default headers values
func (*GamerMatchListOK) Error ¶
func (o *GamerMatchListOK) Error() string
func (*GamerMatchListOK) GetPayload ¶
func (o *GamerMatchListOK) GetPayload() *models.GamerMatchListResponse
type GamerMatchListParams ¶
type GamerMatchListParams struct { /*Cookie ACT_SSO_COOKIE required for authenticated requests. Set with the value returned in login */ Cookie string /*End Match end unix timestamp in milliseconds ex. 1608407321000 */ End int64 /*GameType Game Type */ GameType string /*Gamertag Gamer tag */ Gamertag string /*Limit The numbers of items to return */ Limit *int32 /*LookupType Lookup Type */ LookupType string /*Platform Game platform */ Platform string /*Start Match start unix timestamp in milliseconds ex. 1602815242000 */ Start int64 /*Title Game title */ Title string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GamerMatchListParams contains all the parameters to send to the API endpoint for the gamer match list operation typically these are written to a http.Request
func NewGamerMatchListParams ¶
func NewGamerMatchListParams() *GamerMatchListParams
NewGamerMatchListParams creates a new GamerMatchListParams object with the default values initialized.
func NewGamerMatchListParamsWithContext ¶
func NewGamerMatchListParamsWithContext(ctx context.Context) *GamerMatchListParams
NewGamerMatchListParamsWithContext creates a new GamerMatchListParams object with the default values initialized, and the ability to set a context for a request
func NewGamerMatchListParamsWithHTTPClient ¶
func NewGamerMatchListParamsWithHTTPClient(client *http.Client) *GamerMatchListParams
NewGamerMatchListParamsWithHTTPClient creates a new GamerMatchListParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGamerMatchListParamsWithTimeout ¶
func NewGamerMatchListParamsWithTimeout(timeout time.Duration) *GamerMatchListParams
NewGamerMatchListParamsWithTimeout creates a new GamerMatchListParams object with the default values initialized, and the ability to set a timeout on a request
func (*GamerMatchListParams) SetContext ¶
func (o *GamerMatchListParams) SetContext(ctx context.Context)
SetContext adds the context to the gamer match list params
func (*GamerMatchListParams) SetCookie ¶
func (o *GamerMatchListParams) SetCookie(cookie string)
SetCookie adds the cookie to the gamer match list params
func (*GamerMatchListParams) SetEnd ¶
func (o *GamerMatchListParams) SetEnd(end int64)
SetEnd adds the end to the gamer match list params
func (*GamerMatchListParams) SetGameType ¶
func (o *GamerMatchListParams) SetGameType(gameType string)
SetGameType adds the gameType to the gamer match list params
func (*GamerMatchListParams) SetGamertag ¶
func (o *GamerMatchListParams) SetGamertag(gamertag string)
SetGamertag adds the gamertag to the gamer match list params
func (*GamerMatchListParams) SetHTTPClient ¶
func (o *GamerMatchListParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the gamer match list params
func (*GamerMatchListParams) SetLimit ¶
func (o *GamerMatchListParams) SetLimit(limit *int32)
SetLimit adds the limit to the gamer match list params
func (*GamerMatchListParams) SetLookupType ¶
func (o *GamerMatchListParams) SetLookupType(lookupType string)
SetLookupType adds the lookupType to the gamer match list params
func (*GamerMatchListParams) SetPlatform ¶
func (o *GamerMatchListParams) SetPlatform(platform string)
SetPlatform adds the platform to the gamer match list params
func (*GamerMatchListParams) SetStart ¶
func (o *GamerMatchListParams) SetStart(start int64)
SetStart adds the start to the gamer match list params
func (*GamerMatchListParams) SetTimeout ¶
func (o *GamerMatchListParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the gamer match list params
func (*GamerMatchListParams) SetTitle ¶
func (o *GamerMatchListParams) SetTitle(title string)
SetTitle adds the title to the gamer match list params
func (*GamerMatchListParams) WithContext ¶
func (o *GamerMatchListParams) WithContext(ctx context.Context) *GamerMatchListParams
WithContext adds the context to the gamer match list params
func (*GamerMatchListParams) WithCookie ¶
func (o *GamerMatchListParams) WithCookie(cookie string) *GamerMatchListParams
WithCookie adds the cookie to the gamer match list params
func (*GamerMatchListParams) WithEnd ¶
func (o *GamerMatchListParams) WithEnd(end int64) *GamerMatchListParams
WithEnd adds the end to the gamer match list params
func (*GamerMatchListParams) WithGameType ¶
func (o *GamerMatchListParams) WithGameType(gameType string) *GamerMatchListParams
WithGameType adds the gameType to the gamer match list params
func (*GamerMatchListParams) WithGamertag ¶
func (o *GamerMatchListParams) WithGamertag(gamertag string) *GamerMatchListParams
WithGamertag adds the gamertag to the gamer match list params
func (*GamerMatchListParams) WithHTTPClient ¶
func (o *GamerMatchListParams) WithHTTPClient(client *http.Client) *GamerMatchListParams
WithHTTPClient adds the HTTPClient to the gamer match list params
func (*GamerMatchListParams) WithLimit ¶
func (o *GamerMatchListParams) WithLimit(limit *int32) *GamerMatchListParams
WithLimit adds the limit to the gamer match list params
func (*GamerMatchListParams) WithLookupType ¶
func (o *GamerMatchListParams) WithLookupType(lookupType string) *GamerMatchListParams
WithLookupType adds the lookupType to the gamer match list params
func (*GamerMatchListParams) WithPlatform ¶
func (o *GamerMatchListParams) WithPlatform(platform string) *GamerMatchListParams
WithPlatform adds the platform to the gamer match list params
func (*GamerMatchListParams) WithStart ¶
func (o *GamerMatchListParams) WithStart(start int64) *GamerMatchListParams
WithStart adds the start to the gamer match list params
func (*GamerMatchListParams) WithTimeout ¶
func (o *GamerMatchListParams) WithTimeout(timeout time.Duration) *GamerMatchListParams
WithTimeout adds the timeout to the gamer match list params
func (*GamerMatchListParams) WithTitle ¶
func (o *GamerMatchListParams) WithTitle(title string) *GamerMatchListParams
WithTitle adds the title to the gamer match list params
func (*GamerMatchListParams) WriteToRequest ¶
func (o *GamerMatchListParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GamerMatchListReader ¶
type GamerMatchListReader struct {
// contains filtered or unexported fields
}
GamerMatchListReader is a Reader for the GamerMatchList structure.
func (*GamerMatchListReader) ReadResponse ¶
func (o *GamerMatchListReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GamerStatsOK ¶
type GamerStatsOK struct {
Payload *models.GamerStatsResponse
}
GamerStatsOK handles this case with default header values.
Gamer Stats Profile Response
func NewGamerStatsOK ¶
func NewGamerStatsOK() *GamerStatsOK
NewGamerStatsOK creates a GamerStatsOK with default headers values
func (*GamerStatsOK) Error ¶
func (o *GamerStatsOK) Error() string
func (*GamerStatsOK) GetPayload ¶
func (o *GamerStatsOK) GetPayload() *models.GamerStatsResponse
type GamerStatsParams ¶
type GamerStatsParams struct { /*Cookie ACT_SSO_COOKIE required for authenticated requests. Set with the value returned in login */ Cookie string /*GameType Game Type */ GameType string /*Gamertag Gamer tag */ Gamertag string /*LookupType Lookup Type */ LookupType string /*Platform Game platform */ Platform string /*Title Game title */ Title string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GamerStatsParams contains all the parameters to send to the API endpoint for the gamer stats operation typically these are written to a http.Request
func NewGamerStatsParams ¶
func NewGamerStatsParams() *GamerStatsParams
NewGamerStatsParams creates a new GamerStatsParams object with the default values initialized.
func NewGamerStatsParamsWithContext ¶
func NewGamerStatsParamsWithContext(ctx context.Context) *GamerStatsParams
NewGamerStatsParamsWithContext creates a new GamerStatsParams object with the default values initialized, and the ability to set a context for a request
func NewGamerStatsParamsWithHTTPClient ¶
func NewGamerStatsParamsWithHTTPClient(client *http.Client) *GamerStatsParams
NewGamerStatsParamsWithHTTPClient creates a new GamerStatsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGamerStatsParamsWithTimeout ¶
func NewGamerStatsParamsWithTimeout(timeout time.Duration) *GamerStatsParams
NewGamerStatsParamsWithTimeout creates a new GamerStatsParams object with the default values initialized, and the ability to set a timeout on a request
func (*GamerStatsParams) SetContext ¶
func (o *GamerStatsParams) SetContext(ctx context.Context)
SetContext adds the context to the gamer stats params
func (*GamerStatsParams) SetCookie ¶
func (o *GamerStatsParams) SetCookie(cookie string)
SetCookie adds the cookie to the gamer stats params
func (*GamerStatsParams) SetGameType ¶
func (o *GamerStatsParams) SetGameType(gameType string)
SetGameType adds the gameType to the gamer stats params
func (*GamerStatsParams) SetGamertag ¶
func (o *GamerStatsParams) SetGamertag(gamertag string)
SetGamertag adds the gamertag to the gamer stats params
func (*GamerStatsParams) SetHTTPClient ¶
func (o *GamerStatsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the gamer stats params
func (*GamerStatsParams) SetLookupType ¶
func (o *GamerStatsParams) SetLookupType(lookupType string)
SetLookupType adds the lookupType to the gamer stats params
func (*GamerStatsParams) SetPlatform ¶
func (o *GamerStatsParams) SetPlatform(platform string)
SetPlatform adds the platform to the gamer stats params
func (*GamerStatsParams) SetTimeout ¶
func (o *GamerStatsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the gamer stats params
func (*GamerStatsParams) SetTitle ¶
func (o *GamerStatsParams) SetTitle(title string)
SetTitle adds the title to the gamer stats params
func (*GamerStatsParams) WithContext ¶
func (o *GamerStatsParams) WithContext(ctx context.Context) *GamerStatsParams
WithContext adds the context to the gamer stats params
func (*GamerStatsParams) WithCookie ¶
func (o *GamerStatsParams) WithCookie(cookie string) *GamerStatsParams
WithCookie adds the cookie to the gamer stats params
func (*GamerStatsParams) WithGameType ¶
func (o *GamerStatsParams) WithGameType(gameType string) *GamerStatsParams
WithGameType adds the gameType to the gamer stats params
func (*GamerStatsParams) WithGamertag ¶
func (o *GamerStatsParams) WithGamertag(gamertag string) *GamerStatsParams
WithGamertag adds the gamertag to the gamer stats params
func (*GamerStatsParams) WithHTTPClient ¶
func (o *GamerStatsParams) WithHTTPClient(client *http.Client) *GamerStatsParams
WithHTTPClient adds the HTTPClient to the gamer stats params
func (*GamerStatsParams) WithLookupType ¶
func (o *GamerStatsParams) WithLookupType(lookupType string) *GamerStatsParams
WithLookupType adds the lookupType to the gamer stats params
func (*GamerStatsParams) WithPlatform ¶
func (o *GamerStatsParams) WithPlatform(platform string) *GamerStatsParams
WithPlatform adds the platform to the gamer stats params
func (*GamerStatsParams) WithTimeout ¶
func (o *GamerStatsParams) WithTimeout(timeout time.Duration) *GamerStatsParams
WithTimeout adds the timeout to the gamer stats params
func (*GamerStatsParams) WithTitle ¶
func (o *GamerStatsParams) WithTitle(title string) *GamerStatsParams
WithTitle adds the title to the gamer stats params
func (*GamerStatsParams) WriteToRequest ¶
func (o *GamerStatsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GamerStatsReader ¶
type GamerStatsReader struct {
// contains filtered or unexported fields
}
GamerStatsReader is a Reader for the GamerStats structure.
func (*GamerStatsReader) ReadResponse ¶
func (o *GamerStatsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type LeaderBoardOK ¶
type LeaderBoardOK struct {
Payload *models.LeaderBoardResponse
}
LeaderBoardOK handles this case with default header values.
Leader Board Response
func NewLeaderBoardOK ¶
func NewLeaderBoardOK() *LeaderBoardOK
NewLeaderBoardOK creates a LeaderBoardOK with default headers values
func (*LeaderBoardOK) Error ¶
func (o *LeaderBoardOK) Error() string
func (*LeaderBoardOK) GetPayload ¶
func (o *LeaderBoardOK) GetPayload() *models.LeaderBoardResponse
type LeaderBoardParams ¶
type LeaderBoardParams struct { /*Page Leaderboard page number */ Page int64 /*Platform Game platform */ Platform string /*Title Game title */ Title string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
LeaderBoardParams contains all the parameters to send to the API endpoint for the leader board operation typically these are written to a http.Request
func NewLeaderBoardParams ¶
func NewLeaderBoardParams() *LeaderBoardParams
NewLeaderBoardParams creates a new LeaderBoardParams object with the default values initialized.
func NewLeaderBoardParamsWithContext ¶
func NewLeaderBoardParamsWithContext(ctx context.Context) *LeaderBoardParams
NewLeaderBoardParamsWithContext creates a new LeaderBoardParams object with the default values initialized, and the ability to set a context for a request
func NewLeaderBoardParamsWithHTTPClient ¶
func NewLeaderBoardParamsWithHTTPClient(client *http.Client) *LeaderBoardParams
NewLeaderBoardParamsWithHTTPClient creates a new LeaderBoardParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewLeaderBoardParamsWithTimeout ¶
func NewLeaderBoardParamsWithTimeout(timeout time.Duration) *LeaderBoardParams
NewLeaderBoardParamsWithTimeout creates a new LeaderBoardParams object with the default values initialized, and the ability to set a timeout on a request
func (*LeaderBoardParams) SetContext ¶
func (o *LeaderBoardParams) SetContext(ctx context.Context)
SetContext adds the context to the leader board params
func (*LeaderBoardParams) SetHTTPClient ¶
func (o *LeaderBoardParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the leader board params
func (*LeaderBoardParams) SetPage ¶
func (o *LeaderBoardParams) SetPage(page int64)
SetPage adds the page to the leader board params
func (*LeaderBoardParams) SetPlatform ¶
func (o *LeaderBoardParams) SetPlatform(platform string)
SetPlatform adds the platform to the leader board params
func (*LeaderBoardParams) SetTimeout ¶
func (o *LeaderBoardParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the leader board params
func (*LeaderBoardParams) SetTitle ¶
func (o *LeaderBoardParams) SetTitle(title string)
SetTitle adds the title to the leader board params
func (*LeaderBoardParams) WithContext ¶
func (o *LeaderBoardParams) WithContext(ctx context.Context) *LeaderBoardParams
WithContext adds the context to the leader board params
func (*LeaderBoardParams) WithHTTPClient ¶
func (o *LeaderBoardParams) WithHTTPClient(client *http.Client) *LeaderBoardParams
WithHTTPClient adds the HTTPClient to the leader board params
func (*LeaderBoardParams) WithPage ¶
func (o *LeaderBoardParams) WithPage(page int64) *LeaderBoardParams
WithPage adds the page to the leader board params
func (*LeaderBoardParams) WithPlatform ¶
func (o *LeaderBoardParams) WithPlatform(platform string) *LeaderBoardParams
WithPlatform adds the platform to the leader board params
func (*LeaderBoardParams) WithTimeout ¶
func (o *LeaderBoardParams) WithTimeout(timeout time.Duration) *LeaderBoardParams
WithTimeout adds the timeout to the leader board params
func (*LeaderBoardParams) WithTitle ¶
func (o *LeaderBoardParams) WithTitle(title string) *LeaderBoardParams
WithTitle adds the title to the leader board params
func (*LeaderBoardParams) WriteToRequest ¶
func (o *LeaderBoardParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type LeaderBoardReader ¶
type LeaderBoardReader struct {
// contains filtered or unexported fields
}
LeaderBoardReader is a Reader for the LeaderBoard structure.
func (*LeaderBoardReader) ReadResponse ¶
func (o *LeaderBoardReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type LoadoutOK ¶
type LoadoutOK struct {
Payload *models.LoadoutResponse
}
LoadoutOK handles this case with default header values.
Loadout Response
func NewLoadoutOK ¶
func NewLoadoutOK() *LoadoutOK
NewLoadoutOK creates a LoadoutOK with default headers values
func (*LoadoutOK) GetPayload ¶
func (o *LoadoutOK) GetPayload() *models.LoadoutResponse
type LoadoutParams ¶
type LoadoutParams struct { /*GameType Game Type */ GameType string /*Title Game title */ Title string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
LoadoutParams contains all the parameters to send to the API endpoint for the loadout operation typically these are written to a http.Request
func NewLoadoutParams ¶
func NewLoadoutParams() *LoadoutParams
NewLoadoutParams creates a new LoadoutParams object with the default values initialized.
func NewLoadoutParamsWithContext ¶
func NewLoadoutParamsWithContext(ctx context.Context) *LoadoutParams
NewLoadoutParamsWithContext creates a new LoadoutParams object with the default values initialized, and the ability to set a context for a request
func NewLoadoutParamsWithHTTPClient ¶
func NewLoadoutParamsWithHTTPClient(client *http.Client) *LoadoutParams
NewLoadoutParamsWithHTTPClient creates a new LoadoutParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewLoadoutParamsWithTimeout ¶
func NewLoadoutParamsWithTimeout(timeout time.Duration) *LoadoutParams
NewLoadoutParamsWithTimeout creates a new LoadoutParams object with the default values initialized, and the ability to set a timeout on a request
func (*LoadoutParams) SetContext ¶
func (o *LoadoutParams) SetContext(ctx context.Context)
SetContext adds the context to the loadout params
func (*LoadoutParams) SetGameType ¶
func (o *LoadoutParams) SetGameType(gameType string)
SetGameType adds the gameType to the loadout params
func (*LoadoutParams) SetHTTPClient ¶
func (o *LoadoutParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the loadout params
func (*LoadoutParams) SetTimeout ¶
func (o *LoadoutParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the loadout params
func (*LoadoutParams) SetTitle ¶
func (o *LoadoutParams) SetTitle(title string)
SetTitle adds the title to the loadout params
func (*LoadoutParams) WithContext ¶
func (o *LoadoutParams) WithContext(ctx context.Context) *LoadoutParams
WithContext adds the context to the loadout params
func (*LoadoutParams) WithGameType ¶
func (o *LoadoutParams) WithGameType(gameType string) *LoadoutParams
WithGameType adds the gameType to the loadout params
func (*LoadoutParams) WithHTTPClient ¶
func (o *LoadoutParams) WithHTTPClient(client *http.Client) *LoadoutParams
WithHTTPClient adds the HTTPClient to the loadout params
func (*LoadoutParams) WithTimeout ¶
func (o *LoadoutParams) WithTimeout(timeout time.Duration) *LoadoutParams
WithTimeout adds the timeout to the loadout params
func (*LoadoutParams) WithTitle ¶
func (o *LoadoutParams) WithTitle(title string) *LoadoutParams
WithTitle adds the title to the loadout params
func (*LoadoutParams) WriteToRequest ¶
func (o *LoadoutParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type LoadoutReader ¶
type LoadoutReader struct {
// contains filtered or unexported fields
}
LoadoutReader is a Reader for the Loadout structure.
func (*LoadoutReader) ReadResponse ¶
func (o *LoadoutReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type MapListOK ¶
type MapListOK struct {
Payload *models.MapListResponse
}
MapListOK handles this case with default header values.
Map List Response
func NewMapListOK ¶
func NewMapListOK() *MapListOK
NewMapListOK creates a MapListOK with default headers values
func (*MapListOK) GetPayload ¶
func (o *MapListOK) GetPayload() *models.MapListResponse
type MapListParams ¶
type MapListParams struct { /*GameType Game Type */ GameType string /*Platform Game platform */ Platform string /*Title Game title */ Title string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
MapListParams contains all the parameters to send to the API endpoint for the map list operation typically these are written to a http.Request
func NewMapListParams ¶
func NewMapListParams() *MapListParams
NewMapListParams creates a new MapListParams object with the default values initialized.
func NewMapListParamsWithContext ¶
func NewMapListParamsWithContext(ctx context.Context) *MapListParams
NewMapListParamsWithContext creates a new MapListParams object with the default values initialized, and the ability to set a context for a request
func NewMapListParamsWithHTTPClient ¶
func NewMapListParamsWithHTTPClient(client *http.Client) *MapListParams
NewMapListParamsWithHTTPClient creates a new MapListParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewMapListParamsWithTimeout ¶
func NewMapListParamsWithTimeout(timeout time.Duration) *MapListParams
NewMapListParamsWithTimeout creates a new MapListParams object with the default values initialized, and the ability to set a timeout on a request
func (*MapListParams) SetContext ¶
func (o *MapListParams) SetContext(ctx context.Context)
SetContext adds the context to the map list params
func (*MapListParams) SetGameType ¶
func (o *MapListParams) SetGameType(gameType string)
SetGameType adds the gameType to the map list params
func (*MapListParams) SetHTTPClient ¶
func (o *MapListParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the map list params
func (*MapListParams) SetPlatform ¶
func (o *MapListParams) SetPlatform(platform string)
SetPlatform adds the platform to the map list params
func (*MapListParams) SetTimeout ¶
func (o *MapListParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the map list params
func (*MapListParams) SetTitle ¶
func (o *MapListParams) SetTitle(title string)
SetTitle adds the title to the map list params
func (*MapListParams) WithContext ¶
func (o *MapListParams) WithContext(ctx context.Context) *MapListParams
WithContext adds the context to the map list params
func (*MapListParams) WithGameType ¶
func (o *MapListParams) WithGameType(gameType string) *MapListParams
WithGameType adds the gameType to the map list params
func (*MapListParams) WithHTTPClient ¶
func (o *MapListParams) WithHTTPClient(client *http.Client) *MapListParams
WithHTTPClient adds the HTTPClient to the map list params
func (*MapListParams) WithPlatform ¶
func (o *MapListParams) WithPlatform(platform string) *MapListParams
WithPlatform adds the platform to the map list params
func (*MapListParams) WithTimeout ¶
func (o *MapListParams) WithTimeout(timeout time.Duration) *MapListParams
WithTimeout adds the timeout to the map list params
func (*MapListParams) WithTitle ¶
func (o *MapListParams) WithTitle(title string) *MapListParams
WithTitle adds the title to the map list params
func (*MapListParams) WriteToRequest ¶
func (o *MapListParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type MapListReader ¶
type MapListReader struct {
// contains filtered or unexported fields
}
MapListReader is a Reader for the MapList structure.
func (*MapListReader) ReadResponse ¶
func (o *MapListReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type MatchAnalysisOK ¶
type MatchAnalysisOK struct {
Payload *models.MatchAnalysisResponse
}
MatchAnalysisOK handles this case with default header values.
Match Analysis Response
func NewMatchAnalysisOK ¶
func NewMatchAnalysisOK() *MatchAnalysisOK
NewMatchAnalysisOK creates a MatchAnalysisOK with default headers values
func (*MatchAnalysisOK) Error ¶
func (o *MatchAnalysisOK) Error() string
func (*MatchAnalysisOK) GetPayload ¶
func (o *MatchAnalysisOK) GetPayload() *models.MatchAnalysisResponse
type MatchAnalysisParams ¶
type MatchAnalysisParams struct { /*Cookie ACT_SSO_COOKIE required for authenticated requests. Set with the value returned in login */ Cookie string /*End Match end unix timestamp in milliseconds ex. 1608407321000 */ End int64 /*Gamertag Gamer tag */ Gamertag string /*LookupType Lookup Type */ LookupType string /*Platform Game platform */ Platform string /*Title Game title */ Title string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
MatchAnalysisParams contains all the parameters to send to the API endpoint for the match analysis operation typically these are written to a http.Request
func NewMatchAnalysisParams ¶
func NewMatchAnalysisParams() *MatchAnalysisParams
NewMatchAnalysisParams creates a new MatchAnalysisParams object with the default values initialized.
func NewMatchAnalysisParamsWithContext ¶
func NewMatchAnalysisParamsWithContext(ctx context.Context) *MatchAnalysisParams
NewMatchAnalysisParamsWithContext creates a new MatchAnalysisParams object with the default values initialized, and the ability to set a context for a request
func NewMatchAnalysisParamsWithHTTPClient ¶
func NewMatchAnalysisParamsWithHTTPClient(client *http.Client) *MatchAnalysisParams
NewMatchAnalysisParamsWithHTTPClient creates a new MatchAnalysisParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewMatchAnalysisParamsWithTimeout ¶
func NewMatchAnalysisParamsWithTimeout(timeout time.Duration) *MatchAnalysisParams
NewMatchAnalysisParamsWithTimeout creates a new MatchAnalysisParams object with the default values initialized, and the ability to set a timeout on a request
func (*MatchAnalysisParams) SetContext ¶
func (o *MatchAnalysisParams) SetContext(ctx context.Context)
SetContext adds the context to the match analysis params
func (*MatchAnalysisParams) SetCookie ¶
func (o *MatchAnalysisParams) SetCookie(cookie string)
SetCookie adds the cookie to the match analysis params
func (*MatchAnalysisParams) SetEnd ¶
func (o *MatchAnalysisParams) SetEnd(end int64)
SetEnd adds the end to the match analysis params
func (*MatchAnalysisParams) SetGamertag ¶
func (o *MatchAnalysisParams) SetGamertag(gamertag string)
SetGamertag adds the gamertag to the match analysis params
func (*MatchAnalysisParams) SetHTTPClient ¶
func (o *MatchAnalysisParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the match analysis params
func (*MatchAnalysisParams) SetLookupType ¶
func (o *MatchAnalysisParams) SetLookupType(lookupType string)
SetLookupType adds the lookupType to the match analysis params
func (*MatchAnalysisParams) SetPlatform ¶
func (o *MatchAnalysisParams) SetPlatform(platform string)
SetPlatform adds the platform to the match analysis params
func (*MatchAnalysisParams) SetTimeout ¶
func (o *MatchAnalysisParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the match analysis params
func (*MatchAnalysisParams) SetTitle ¶
func (o *MatchAnalysisParams) SetTitle(title string)
SetTitle adds the title to the match analysis params
func (*MatchAnalysisParams) WithContext ¶
func (o *MatchAnalysisParams) WithContext(ctx context.Context) *MatchAnalysisParams
WithContext adds the context to the match analysis params
func (*MatchAnalysisParams) WithCookie ¶
func (o *MatchAnalysisParams) WithCookie(cookie string) *MatchAnalysisParams
WithCookie adds the cookie to the match analysis params
func (*MatchAnalysisParams) WithEnd ¶
func (o *MatchAnalysisParams) WithEnd(end int64) *MatchAnalysisParams
WithEnd adds the end to the match analysis params
func (*MatchAnalysisParams) WithGamertag ¶
func (o *MatchAnalysisParams) WithGamertag(gamertag string) *MatchAnalysisParams
WithGamertag adds the gamertag to the match analysis params
func (*MatchAnalysisParams) WithHTTPClient ¶
func (o *MatchAnalysisParams) WithHTTPClient(client *http.Client) *MatchAnalysisParams
WithHTTPClient adds the HTTPClient to the match analysis params
func (*MatchAnalysisParams) WithLookupType ¶
func (o *MatchAnalysisParams) WithLookupType(lookupType string) *MatchAnalysisParams
WithLookupType adds the lookupType to the match analysis params
func (*MatchAnalysisParams) WithPlatform ¶
func (o *MatchAnalysisParams) WithPlatform(platform string) *MatchAnalysisParams
WithPlatform adds the platform to the match analysis params
func (*MatchAnalysisParams) WithTimeout ¶
func (o *MatchAnalysisParams) WithTimeout(timeout time.Duration) *MatchAnalysisParams
WithTimeout adds the timeout to the match analysis params
func (*MatchAnalysisParams) WithTitle ¶
func (o *MatchAnalysisParams) WithTitle(title string) *MatchAnalysisParams
WithTitle adds the title to the match analysis params
func (*MatchAnalysisParams) WriteToRequest ¶
func (o *MatchAnalysisParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type MatchAnalysisReader ¶
type MatchAnalysisReader struct {
// contains filtered or unexported fields
}
MatchAnalysisReader is a Reader for the MatchAnalysis structure.
func (*MatchAnalysisReader) ReadResponse ¶
func (o *MatchAnalysisReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PurchasableOK ¶
type PurchasableOK struct {
Payload *models.PurchasableResponse
}
PurchasableOK handles this case with default header values.
Purchasable Response
func NewPurchasableOK ¶
func NewPurchasableOK() *PurchasableOK
NewPurchasableOK creates a PurchasableOK with default headers values
func (*PurchasableOK) Error ¶
func (o *PurchasableOK) Error() string
func (*PurchasableOK) GetPayload ¶
func (o *PurchasableOK) GetPayload() *models.PurchasableResponse
type PurchasableParams ¶
type PurchasableParams struct { /*Platform Game platform */ Platform string /*Title Game title */ Title string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PurchasableParams contains all the parameters to send to the API endpoint for the purchasable operation typically these are written to a http.Request
func NewPurchasableParams ¶
func NewPurchasableParams() *PurchasableParams
NewPurchasableParams creates a new PurchasableParams object with the default values initialized.
func NewPurchasableParamsWithContext ¶
func NewPurchasableParamsWithContext(ctx context.Context) *PurchasableParams
NewPurchasableParamsWithContext creates a new PurchasableParams object with the default values initialized, and the ability to set a context for a request
func NewPurchasableParamsWithHTTPClient ¶
func NewPurchasableParamsWithHTTPClient(client *http.Client) *PurchasableParams
NewPurchasableParamsWithHTTPClient creates a new PurchasableParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewPurchasableParamsWithTimeout ¶
func NewPurchasableParamsWithTimeout(timeout time.Duration) *PurchasableParams
NewPurchasableParamsWithTimeout creates a new PurchasableParams object with the default values initialized, and the ability to set a timeout on a request
func (*PurchasableParams) SetContext ¶
func (o *PurchasableParams) SetContext(ctx context.Context)
SetContext adds the context to the purchasable params
func (*PurchasableParams) SetHTTPClient ¶
func (o *PurchasableParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the purchasable params
func (*PurchasableParams) SetPlatform ¶
func (o *PurchasableParams) SetPlatform(platform string)
SetPlatform adds the platform to the purchasable params
func (*PurchasableParams) SetTimeout ¶
func (o *PurchasableParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the purchasable params
func (*PurchasableParams) SetTitle ¶
func (o *PurchasableParams) SetTitle(title string)
SetTitle adds the title to the purchasable params
func (*PurchasableParams) WithContext ¶
func (o *PurchasableParams) WithContext(ctx context.Context) *PurchasableParams
WithContext adds the context to the purchasable params
func (*PurchasableParams) WithHTTPClient ¶
func (o *PurchasableParams) WithHTTPClient(client *http.Client) *PurchasableParams
WithHTTPClient adds the HTTPClient to the purchasable params
func (*PurchasableParams) WithPlatform ¶
func (o *PurchasableParams) WithPlatform(platform string) *PurchasableParams
WithPlatform adds the platform to the purchasable params
func (*PurchasableParams) WithTimeout ¶
func (o *PurchasableParams) WithTimeout(timeout time.Duration) *PurchasableParams
WithTimeout adds the timeout to the purchasable params
func (*PurchasableParams) WithTitle ¶
func (o *PurchasableParams) WithTitle(title string) *PurchasableParams
WithTitle adds the title to the purchasable params
func (*PurchasableParams) WriteToRequest ¶
func (o *PurchasableParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PurchasableReader ¶
type PurchasableReader struct {
// contains filtered or unexported fields
}
PurchasableReader is a Reader for the Purchasable structure.
func (*PurchasableReader) ReadResponse ¶
func (o *PurchasableReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
Source Files
¶
- battle_pass_loot_parameters.go
- battle_pass_loot_responses.go
- cod_points_parameters.go
- cod_points_responses.go
- friend_stats_parameters.go
- friend_stats_responses.go
- full_match_info_parameters.go
- full_match_info_responses.go
- gamer_loot_parameters.go
- gamer_loot_responses.go
- gamer_match_details_parameters.go
- gamer_match_details_responses.go
- gamer_match_list_parameters.go
- gamer_match_list_responses.go
- gamer_stats_parameters.go
- gamer_stats_responses.go
- leader_board_parameters.go
- leader_board_responses.go
- loadout_parameters.go
- loadout_responses.go
- map_list_parameters.go
- map_list_responses.go
- match_analysis_parameters.go
- match_analysis_responses.go
- purchasable_parameters.go
- purchasable_responses.go
- service_client.go