Documentation ¶
Index ¶
- Variables
- func CacheExpires(r *http.Response) time.Time
- func PtrBool(v bool) *bool
- func PtrFloat32(v float32) *float32
- func PtrFloat64(v float64) *float64
- func PtrInt(v int) *int
- func PtrInt32(v int32) *int32
- func PtrInt64(v int64) *int64
- func PtrString(v string) *string
- func PtrTime(v time.Time) *time.Time
- type APIClient
- type APIKey
- type APIResponse
- type Account200Response
- func (o *Account200Response) GetLanguage() interface{}
- func (o *Account200Response) GetLanguageOk() (*interface{}, bool)
- func (o *Account200Response) GetPrefs() UserPreferences
- func (o *Account200Response) GetPrefsOk() (*UserPreferences, bool)
- func (o *Account200Response) HasLanguage() bool
- func (o *Account200Response) HasPrefs() bool
- func (o Account200Response) MarshalJSON() ([]byte, error)
- func (o *Account200Response) SetLanguage(v interface{})
- func (o *Account200Response) SetPrefs(v UserPreferences)
- type AccountApiService
- func (a *AccountApiService) Account(ctx context.Context) ApiAccountRequest
- func (a *AccountApiService) AccountEmail(ctx context.Context) ApiAccountEmailRequest
- func (a *AccountApiService) AccountEmailExecute(r ApiAccountEmailRequest) (*AccountEmail200Response, *http.Response, error)
- func (a *AccountApiService) AccountExecute(r ApiAccountRequest) (*Account200Response, *http.Response, error)
- func (a *AccountApiService) AccountKid(ctx context.Context) ApiAccountKidRequest
- func (a *AccountApiService) AccountKidExecute(r ApiAccountKidRequest) (*AccountKid200Response, *http.Response, error)
- func (a *AccountApiService) AccountKidPost(ctx context.Context) ApiAccountKidPostRequest
- func (a *AccountApiService) AccountKidPostExecute(r ApiAccountKidPostRequest) (*Ok, *http.Response, error)
- func (a *AccountApiService) AccountMe(ctx context.Context) ApiAccountMeRequest
- func (a *AccountApiService) AccountMeExecute(r ApiAccountMeRequest) (interface{}, *http.Response, error)
- type AccountEmail200Response
- type AccountKid200Response
- type AnalysisApiService
- type ApiAccountEmailRequest
- type ApiAccountKidPostRequest
- type ApiAccountKidRequest
- type ApiAccountMeRequest
- type ApiAccountRequest
- type ApiAdminChallengeTokensRequest
- type ApiAntichessAtomicRequest
- type ApiApiAccountPlayingRequest
- type ApiApiBoardSeekRequest
- func (r ApiApiBoardSeekRequest) Color(color interface{}) ApiApiBoardSeekRequest
- func (r ApiApiBoardSeekRequest) Days(days interface{}) ApiApiBoardSeekRequest
- func (r ApiApiBoardSeekRequest) Execute() (*http.Response, error)
- func (r ApiApiBoardSeekRequest) Increment(increment interface{}) ApiApiBoardSeekRequest
- func (r ApiApiBoardSeekRequest) Rated(rated interface{}) ApiApiBoardSeekRequest
- func (r ApiApiBoardSeekRequest) RatingRange(ratingRange interface{}) ApiApiBoardSeekRequest
- func (r ApiApiBoardSeekRequest) Time(time interface{}) ApiApiBoardSeekRequest
- func (r ApiApiBoardSeekRequest) Variant(variant VariantKey) ApiApiBoardSeekRequest
- type ApiApiBotOnlineRequest
- type ApiApiCloudEvalRequest
- func (r ApiApiCloudEvalRequest) Execute() (*http.Response, error)
- func (r ApiApiCloudEvalRequest) Fen(fen interface{}) ApiApiCloudEvalRequest
- func (r ApiApiCloudEvalRequest) MultiPv(multiPv interface{}) ApiApiCloudEvalRequest
- func (r ApiApiCloudEvalRequest) Variant(variant VariantKey) ApiApiCloudEvalRequest
- type ApiApiCrosstableRequest
- type ApiApiExternalEngineAcquireRequest
- type ApiApiExternalEngineAnalyseRequest
- type ApiApiExternalEngineCreateRequest
- type ApiApiExternalEngineDeleteRequest
- type ApiApiExternalEngineGetRequest
- type ApiApiExternalEngineListRequest
- type ApiApiExternalEnginePutRequest
- type ApiApiExternalEngineSubmitRequest
- type ApiApiGamesUserRequest
- func (r ApiApiGamesUserRequest) Analysed(analysed interface{}) ApiApiGamesUserRequest
- func (r ApiApiGamesUserRequest) Clocks(clocks interface{}) ApiApiGamesUserRequest
- func (r ApiApiGamesUserRequest) Color(color interface{}) ApiApiGamesUserRequest
- func (r ApiApiGamesUserRequest) Evals(evals interface{}) ApiApiGamesUserRequest
- func (r ApiApiGamesUserRequest) Execute() (interface{}, *http.Response, error)
- func (r ApiApiGamesUserRequest) Finished(finished interface{}) ApiApiGamesUserRequest
- func (r ApiApiGamesUserRequest) Literate(literate interface{}) ApiApiGamesUserRequest
- func (r ApiApiGamesUserRequest) Max(max interface{}) ApiApiGamesUserRequest
- func (r ApiApiGamesUserRequest) Moves(moves interface{}) ApiApiGamesUserRequest
- func (r ApiApiGamesUserRequest) Ongoing(ongoing interface{}) ApiApiGamesUserRequest
- func (r ApiApiGamesUserRequest) Opening(opening interface{}) ApiApiGamesUserRequest
- func (r ApiApiGamesUserRequest) PerfType(perfType interface{}) ApiApiGamesUserRequest
- func (r ApiApiGamesUserRequest) PgnInJson(pgnInJson interface{}) ApiApiGamesUserRequest
- func (r ApiApiGamesUserRequest) Players(players interface{}) ApiApiGamesUserRequest
- func (r ApiApiGamesUserRequest) Rated(rated interface{}) ApiApiGamesUserRequest
- func (r ApiApiGamesUserRequest) Since(since interface{}) ApiApiGamesUserRequest
- func (r ApiApiGamesUserRequest) Sort(sort interface{}) ApiApiGamesUserRequest
- func (r ApiApiGamesUserRequest) Tags(tags interface{}) ApiApiGamesUserRequest
- func (r ApiApiGamesUserRequest) Until(until interface{}) ApiApiGamesUserRequest
- func (r ApiApiGamesUserRequest) Vs(vs interface{}) ApiApiGamesUserRequest
- type ApiApiPuzzleActivityRequest
- type ApiApiPuzzleDailyRequest
- type ApiApiPuzzleDashboardRequest
- type ApiApiPuzzleIdRequest
- type ApiApiSimulRequest
- type ApiApiStormDashboardRequest
- type ApiApiSwissJoinRequest
- type ApiApiSwissNewRequest
- func (r ApiApiSwissNewRequest) ChatFor(chatFor interface{}) ApiApiSwissNewRequest
- func (r ApiApiSwissNewRequest) ClockIncrement(clockIncrement interface{}) ApiApiSwissNewRequest
- func (r ApiApiSwissNewRequest) ClockLimit(clockLimit interface{}) ApiApiSwissNewRequest
- func (r ApiApiSwissNewRequest) ConditionsAllowList(conditionsAllowList interface{}) ApiApiSwissNewRequest
- func (r ApiApiSwissNewRequest) ConditionsMaxRatingRating(conditionsMaxRatingRating interface{}) ApiApiSwissNewRequest
- func (r ApiApiSwissNewRequest) ConditionsMinRatingRating(conditionsMinRatingRating interface{}) ApiApiSwissNewRequest
- func (r ApiApiSwissNewRequest) ConditionsNbRatedGameNb(conditionsNbRatedGameNb interface{}) ApiApiSwissNewRequest
- func (r ApiApiSwissNewRequest) Description(description interface{}) ApiApiSwissNewRequest
- func (r ApiApiSwissNewRequest) Execute() (interface{}, *http.Response, error)
- func (r ApiApiSwissNewRequest) ForbiddenPairings(forbiddenPairings interface{}) ApiApiSwissNewRequest
- func (r ApiApiSwissNewRequest) ManualPairings(manualPairings interface{}) ApiApiSwissNewRequest
- func (r ApiApiSwissNewRequest) Name(name interface{}) ApiApiSwissNewRequest
- func (r ApiApiSwissNewRequest) NbRounds(nbRounds interface{}) ApiApiSwissNewRequest
- func (r ApiApiSwissNewRequest) Password(password interface{}) ApiApiSwissNewRequest
- func (r ApiApiSwissNewRequest) Rated(rated interface{}) ApiApiSwissNewRequest
- func (r ApiApiSwissNewRequest) RoundInterval(roundInterval interface{}) ApiApiSwissNewRequest
- func (r ApiApiSwissNewRequest) StartsAt(startsAt interface{}) ApiApiSwissNewRequest
- func (r ApiApiSwissNewRequest) Variant(variant VariantKey) ApiApiSwissNewRequest
- type ApiApiSwissTerminateRequest
- type ApiApiSwissUpdateRequest
- func (r ApiApiSwissUpdateRequest) ChatFor(chatFor interface{}) ApiApiSwissUpdateRequest
- func (r ApiApiSwissUpdateRequest) ClockIncrement(clockIncrement interface{}) ApiApiSwissUpdateRequest
- func (r ApiApiSwissUpdateRequest) ClockLimit(clockLimit interface{}) ApiApiSwissUpdateRequest
- func (r ApiApiSwissUpdateRequest) ConditionsAllowList(conditionsAllowList interface{}) ApiApiSwissUpdateRequest
- func (r ApiApiSwissUpdateRequest) ConditionsMaxRatingRating(conditionsMaxRatingRating interface{}) ApiApiSwissUpdateRequest
- func (r ApiApiSwissUpdateRequest) ConditionsMinRatingRating(conditionsMinRatingRating interface{}) ApiApiSwissUpdateRequest
- func (r ApiApiSwissUpdateRequest) ConditionsNbRatedGameNb(conditionsNbRatedGameNb interface{}) ApiApiSwissUpdateRequest
- func (r ApiApiSwissUpdateRequest) Description(description interface{}) ApiApiSwissUpdateRequest
- func (r ApiApiSwissUpdateRequest) Execute() (interface{}, *http.Response, error)
- func (r ApiApiSwissUpdateRequest) ForbiddenPairings(forbiddenPairings interface{}) ApiApiSwissUpdateRequest
- func (r ApiApiSwissUpdateRequest) ManualPairings(manualPairings interface{}) ApiApiSwissUpdateRequest
- func (r ApiApiSwissUpdateRequest) Name(name interface{}) ApiApiSwissUpdateRequest
- func (r ApiApiSwissUpdateRequest) NbRounds(nbRounds interface{}) ApiApiSwissUpdateRequest
- func (r ApiApiSwissUpdateRequest) Password(password interface{}) ApiApiSwissUpdateRequest
- func (r ApiApiSwissUpdateRequest) Rated(rated interface{}) ApiApiSwissUpdateRequest
- func (r ApiApiSwissUpdateRequest) RoundInterval(roundInterval interface{}) ApiApiSwissUpdateRequest
- func (r ApiApiSwissUpdateRequest) StartsAt(startsAt interface{}) ApiApiSwissUpdateRequest
- func (r ApiApiSwissUpdateRequest) Variant(variant VariantKey) ApiApiSwissUpdateRequest
- type ApiApiSwissWithdrawRequest
- type ApiApiTokenDeleteRequest
- type ApiApiTokenRequest
- func (r ApiApiTokenRequest) ClientId(clientId interface{}) ApiApiTokenRequest
- func (r ApiApiTokenRequest) Code(code interface{}) ApiApiTokenRequest
- func (r ApiApiTokenRequest) CodeVerifier(codeVerifier interface{}) ApiApiTokenRequest
- func (r ApiApiTokenRequest) Execute() (*http.Response, error)
- func (r ApiApiTokenRequest) GrantType(grantType interface{}) ApiApiTokenRequest
- func (r ApiApiTokenRequest) RedirectUri(redirectUri interface{}) ApiApiTokenRequest
- type ApiApiTournamentJoinRequest
- func (r ApiApiTournamentJoinRequest) Execute() (*Ok, *http.Response, error)
- func (r ApiApiTournamentJoinRequest) PairMeAsap(pairMeAsap interface{}) ApiApiTournamentJoinRequest
- func (r ApiApiTournamentJoinRequest) Password(password interface{}) ApiApiTournamentJoinRequest
- func (r ApiApiTournamentJoinRequest) Team(team interface{}) ApiApiTournamentJoinRequest
- type ApiApiTournamentPostRequest
- func (r ApiApiTournamentPostRequest) Berserkable(berserkable interface{}) ApiApiTournamentPostRequest
- func (r ApiApiTournamentPostRequest) ClockIncrement(clockIncrement interface{}) ApiApiTournamentPostRequest
- func (r ApiApiTournamentPostRequest) ClockTime(clockTime interface{}) ApiApiTournamentPostRequest
- func (r ApiApiTournamentPostRequest) ConditionsAllowList(conditionsAllowList interface{}) ApiApiTournamentPostRequest
- func (r ApiApiTournamentPostRequest) ConditionsMaxRatingRating(conditionsMaxRatingRating interface{}) ApiApiTournamentPostRequest
- func (r ApiApiTournamentPostRequest) ConditionsMinRatingRating(conditionsMinRatingRating interface{}) ApiApiTournamentPostRequest
- func (r ApiApiTournamentPostRequest) ConditionsNbRatedGameNb(conditionsNbRatedGameNb interface{}) ApiApiTournamentPostRequest
- func (r ApiApiTournamentPostRequest) ConditionsTeamMemberTeamId(conditionsTeamMemberTeamId interface{}) ApiApiTournamentPostRequest
- func (r ApiApiTournamentPostRequest) Description(description interface{}) ApiApiTournamentPostRequest
- func (r ApiApiTournamentPostRequest) Execute() (interface{}, *http.Response, error)
- func (r ApiApiTournamentPostRequest) HasChat(hasChat interface{}) ApiApiTournamentPostRequest
- func (r ApiApiTournamentPostRequest) Minutes(minutes interface{}) ApiApiTournamentPostRequest
- func (r ApiApiTournamentPostRequest) Name(name interface{}) ApiApiTournamentPostRequest
- func (r ApiApiTournamentPostRequest) Password(password interface{}) ApiApiTournamentPostRequest
- func (r ApiApiTournamentPostRequest) Position(position interface{}) ApiApiTournamentPostRequest
- func (r ApiApiTournamentPostRequest) Rated(rated interface{}) ApiApiTournamentPostRequest
- func (r ApiApiTournamentPostRequest) StartDate(startDate interface{}) ApiApiTournamentPostRequest
- func (r ApiApiTournamentPostRequest) Streakable(streakable interface{}) ApiApiTournamentPostRequest
- func (r ApiApiTournamentPostRequest) TeamBattleByTeam(teamBattleByTeam interface{}) ApiApiTournamentPostRequest
- func (r ApiApiTournamentPostRequest) Variant(variant VariantKey) ApiApiTournamentPostRequest
- func (r ApiApiTournamentPostRequest) WaitMinutes(waitMinutes interface{}) ApiApiTournamentPostRequest
- type ApiApiTournamentRequest
- type ApiApiTournamentTeamBattlePostRequest
- func (r ApiApiTournamentTeamBattlePostRequest) Execute() (interface{}, *http.Response, error)
- func (r ApiApiTournamentTeamBattlePostRequest) NbLeaders(nbLeaders interface{}) ApiApiTournamentTeamBattlePostRequest
- func (r ApiApiTournamentTeamBattlePostRequest) Teams(teams interface{}) ApiApiTournamentTeamBattlePostRequest
- type ApiApiTournamentTerminateRequest
- type ApiApiTournamentUpdateRequest
- func (r ApiApiTournamentUpdateRequest) Berserkable(berserkable interface{}) ApiApiTournamentUpdateRequest
- func (r ApiApiTournamentUpdateRequest) ClockIncrement(clockIncrement interface{}) ApiApiTournamentUpdateRequest
- func (r ApiApiTournamentUpdateRequest) ClockTime(clockTime interface{}) ApiApiTournamentUpdateRequest
- func (r ApiApiTournamentUpdateRequest) ConditionsAllowList(conditionsAllowList interface{}) ApiApiTournamentUpdateRequest
- func (r ApiApiTournamentUpdateRequest) ConditionsMaxRatingRating(conditionsMaxRatingRating interface{}) ApiApiTournamentUpdateRequest
- func (r ApiApiTournamentUpdateRequest) ConditionsMinRatingRating(conditionsMinRatingRating interface{}) ApiApiTournamentUpdateRequest
- func (r ApiApiTournamentUpdateRequest) ConditionsNbRatedGameNb(conditionsNbRatedGameNb interface{}) ApiApiTournamentUpdateRequest
- func (r ApiApiTournamentUpdateRequest) Description(description interface{}) ApiApiTournamentUpdateRequest
- func (r ApiApiTournamentUpdateRequest) Execute() (interface{}, *http.Response, error)
- func (r ApiApiTournamentUpdateRequest) HasChat(hasChat interface{}) ApiApiTournamentUpdateRequest
- func (r ApiApiTournamentUpdateRequest) Minutes(minutes interface{}) ApiApiTournamentUpdateRequest
- func (r ApiApiTournamentUpdateRequest) Name(name interface{}) ApiApiTournamentUpdateRequest
- func (r ApiApiTournamentUpdateRequest) Password(password interface{}) ApiApiTournamentUpdateRequest
- func (r ApiApiTournamentUpdateRequest) Position(position interface{}) ApiApiTournamentUpdateRequest
- func (r ApiApiTournamentUpdateRequest) Rated(rated interface{}) ApiApiTournamentUpdateRequest
- func (r ApiApiTournamentUpdateRequest) StartDate(startDate interface{}) ApiApiTournamentUpdateRequest
- func (r ApiApiTournamentUpdateRequest) Streakable(streakable interface{}) ApiApiTournamentUpdateRequest
- func (r ApiApiTournamentUpdateRequest) Variant(variant VariantKey) ApiApiTournamentUpdateRequest
- func (r ApiApiTournamentUpdateRequest) WaitMinutes(waitMinutes interface{}) ApiApiTournamentUpdateRequest
- type ApiApiTournamentWithdrawRequest
- type ApiApiUserActivityRequest
- type ApiApiUserCurrentGameRequest
- func (r ApiApiUserCurrentGameRequest) Clocks(clocks interface{}) ApiApiUserCurrentGameRequest
- func (r ApiApiUserCurrentGameRequest) Evals(evals interface{}) ApiApiUserCurrentGameRequest
- func (r ApiApiUserCurrentGameRequest) Execute() (interface{}, *http.Response, error)
- func (r ApiApiUserCurrentGameRequest) Literate(literate interface{}) ApiApiUserCurrentGameRequest
- func (r ApiApiUserCurrentGameRequest) Moves(moves interface{}) ApiApiUserCurrentGameRequest
- func (r ApiApiUserCurrentGameRequest) Opening(opening interface{}) ApiApiUserCurrentGameRequest
- func (r ApiApiUserCurrentGameRequest) PgnInJson(pgnInJson interface{}) ApiApiUserCurrentGameRequest
- func (r ApiApiUserCurrentGameRequest) Players(players interface{}) ApiApiUserCurrentGameRequest
- func (r ApiApiUserCurrentGameRequest) Tags(tags interface{}) ApiApiUserCurrentGameRequest
- type ApiApiUserFollowingRequest
- type ApiApiUserNameTournamentCreatedRequest
- type ApiApiUserPerfRequest
- type ApiApiUserRatingHistoryRequest
- type ApiApiUserRequest
- type ApiApiUsersRequest
- type ApiApiUsersStatusRequest
- type ApiBoardGameAbortRequest
- type ApiBoardGameBerserkRequest
- type ApiBoardGameChatGetRequest
- type ApiBoardGameChatPostRequest
- type ApiBoardGameClaimVictoryRequest
- type ApiBoardGameDrawRequest
- type ApiBoardGameMoveRequest
- type ApiBoardGameResignRequest
- type ApiBoardGameStreamRequest
- type ApiBoardGameTakebackRequest
- type ApiBotAccountUpgradeRequest
- type ApiBotGameAbortRequest
- type ApiBotGameChatGetRequest
- type ApiBotGameChatRequest
- type ApiBotGameMoveRequest
- type ApiBotGameResignRequest
- type ApiBotGameStreamRequest
- type ApiBroadcastAllRoundsPgnRequest
- type ApiBroadcastIndexRequest
- type ApiBroadcastPushRequest
- type ApiBroadcastRoundCreateRequest
- func (r ApiBroadcastRoundCreateRequest) Execute() (interface{}, *http.Response, error)
- func (r ApiBroadcastRoundCreateRequest) Name(name interface{}) ApiBroadcastRoundCreateRequest
- func (r ApiBroadcastRoundCreateRequest) StartsAt(startsAt interface{}) ApiBroadcastRoundCreateRequest
- func (r ApiBroadcastRoundCreateRequest) SyncUrl(syncUrl interface{}) ApiBroadcastRoundCreateRequest
- type ApiBroadcastRoundGetRequest
- type ApiBroadcastRoundPgnRequest
- type ApiBroadcastRoundUpdateRequest
- func (r ApiBroadcastRoundUpdateRequest) Execute() (*Ok, *http.Response, error)
- func (r ApiBroadcastRoundUpdateRequest) Name(name interface{}) ApiBroadcastRoundUpdateRequest
- func (r ApiBroadcastRoundUpdateRequest) StartsAt(startsAt interface{}) ApiBroadcastRoundUpdateRequest
- func (r ApiBroadcastRoundUpdateRequest) SyncUrl(syncUrl interface{}) ApiBroadcastRoundUpdateRequest
- type ApiBroadcastStreamRoundPgnRequest
- type ApiBroadcastTourCreateRequest
- func (r ApiBroadcastTourCreateRequest) Description(description interface{}) ApiBroadcastTourCreateRequest
- func (r ApiBroadcastTourCreateRequest) Execute() (interface{}, *http.Response, error)
- func (r ApiBroadcastTourCreateRequest) Markdown(markdown interface{}) ApiBroadcastTourCreateRequest
- func (r ApiBroadcastTourCreateRequest) Name(name interface{}) ApiBroadcastTourCreateRequest
- func (r ApiBroadcastTourCreateRequest) Official(official interface{}) ApiBroadcastTourCreateRequest
- type ApiBroadcastTourGetRequest
- type ApiBroadcastTourUpdateRequest
- func (r ApiBroadcastTourUpdateRequest) Description(description interface{}) ApiBroadcastTourUpdateRequest
- func (r ApiBroadcastTourUpdateRequest) Execute() (*Ok, *http.Response, error)
- func (r ApiBroadcastTourUpdateRequest) Markdown(markdown interface{}) ApiBroadcastTourUpdateRequest
- func (r ApiBroadcastTourUpdateRequest) Name(name interface{}) ApiBroadcastTourUpdateRequest
- func (r ApiBroadcastTourUpdateRequest) Official(official interface{}) ApiBroadcastTourUpdateRequest
- type ApiBulkPairingCreateRequest
- func (r ApiBulkPairingCreateRequest) ClockIncrement(clockIncrement interface{}) ApiBulkPairingCreateRequest
- func (r ApiBulkPairingCreateRequest) ClockLimit(clockLimit interface{}) ApiBulkPairingCreateRequest
- func (r ApiBulkPairingCreateRequest) Days(days interface{}) ApiBulkPairingCreateRequest
- func (r ApiBulkPairingCreateRequest) Execute() (interface{}, *http.Response, error)
- func (r ApiBulkPairingCreateRequest) Fen(fen interface{}) ApiBulkPairingCreateRequest
- func (r ApiBulkPairingCreateRequest) Message(message interface{}) ApiBulkPairingCreateRequest
- func (r ApiBulkPairingCreateRequest) PairAt(pairAt interface{}) ApiBulkPairingCreateRequest
- func (r ApiBulkPairingCreateRequest) Players(players interface{}) ApiBulkPairingCreateRequest
- func (r ApiBulkPairingCreateRequest) Rated(rated interface{}) ApiBulkPairingCreateRequest
- func (r ApiBulkPairingCreateRequest) Rules(rules interface{}) ApiBulkPairingCreateRequest
- func (r ApiBulkPairingCreateRequest) StartClocksAt(startClocksAt interface{}) ApiBulkPairingCreateRequest
- func (r ApiBulkPairingCreateRequest) Variant(variant VariantKey) ApiBulkPairingCreateRequest
- type ApiBulkPairingDeleteRequest
- type ApiBulkPairingGetRequest
- type ApiBulkPairingStartClocksRequest
- type ApiChallengeAcceptRequest
- type ApiChallengeAiRequest
- func (r ApiChallengeAiRequest) ClockIncrement(clockIncrement interface{}) ApiChallengeAiRequest
- func (r ApiChallengeAiRequest) ClockLimit(clockLimit interface{}) ApiChallengeAiRequest
- func (r ApiChallengeAiRequest) Color(color interface{}) ApiChallengeAiRequest
- func (r ApiChallengeAiRequest) Days(days interface{}) ApiChallengeAiRequest
- func (r ApiChallengeAiRequest) Execute() (*GameJson, *http.Response, error)
- func (r ApiChallengeAiRequest) Fen(fen interface{}) ApiChallengeAiRequest
- func (r ApiChallengeAiRequest) Level(level interface{}) ApiChallengeAiRequest
- func (r ApiChallengeAiRequest) Variant(variant VariantKey) ApiChallengeAiRequest
- type ApiChallengeCancelRequest
- type ApiChallengeCreateRequest
- func (r ApiChallengeCreateRequest) AcceptByToken(acceptByToken interface{}) ApiChallengeCreateRequest
- func (r ApiChallengeCreateRequest) ClockIncrement(clockIncrement interface{}) ApiChallengeCreateRequest
- func (r ApiChallengeCreateRequest) ClockLimit(clockLimit interface{}) ApiChallengeCreateRequest
- func (r ApiChallengeCreateRequest) Color(color interface{}) ApiChallengeCreateRequest
- func (r ApiChallengeCreateRequest) Days(days interface{}) ApiChallengeCreateRequest
- func (r ApiChallengeCreateRequest) Execute() (*ChallengeJson, *http.Response, error)
- func (r ApiChallengeCreateRequest) Fen(fen interface{}) ApiChallengeCreateRequest
- func (r ApiChallengeCreateRequest) KeepAliveStream(keepAliveStream interface{}) ApiChallengeCreateRequest
- func (r ApiChallengeCreateRequest) Message(message interface{}) ApiChallengeCreateRequest
- func (r ApiChallengeCreateRequest) Rated(rated interface{}) ApiChallengeCreateRequest
- func (r ApiChallengeCreateRequest) Rules(rules interface{}) ApiChallengeCreateRequest
- func (r ApiChallengeCreateRequest) Variant(variant VariantKey) ApiChallengeCreateRequest
- type ApiChallengeDeclineRequest
- type ApiChallengeListRequest
- type ApiChallengeOpenRequest
- func (r ApiChallengeOpenRequest) ClockIncrement(clockIncrement interface{}) ApiChallengeOpenRequest
- func (r ApiChallengeOpenRequest) ClockLimit(clockLimit interface{}) ApiChallengeOpenRequest
- func (r ApiChallengeOpenRequest) Days(days interface{}) ApiChallengeOpenRequest
- func (r ApiChallengeOpenRequest) Execute() (interface{}, *http.Response, error)
- func (r ApiChallengeOpenRequest) Fen(fen interface{}) ApiChallengeOpenRequest
- func (r ApiChallengeOpenRequest) Name(name interface{}) ApiChallengeOpenRequest
- func (r ApiChallengeOpenRequest) Rated(rated interface{}) ApiChallengeOpenRequest
- func (r ApiChallengeOpenRequest) Rules(rules interface{}) ApiChallengeOpenRequest
- func (r ApiChallengeOpenRequest) Users(users interface{}) ApiChallengeOpenRequest
- func (r ApiChallengeOpenRequest) Variant(variant VariantKey) ApiChallengeOpenRequest
- type ApiChallengeStartClocksRequest
- type ApiExternalEngineAcquire200Response
- func (o *ApiExternalEngineAcquire200Response) GetEngine() ExternalEngine
- func (o *ApiExternalEngineAcquire200Response) GetEngineOk() (*ExternalEngine, bool)
- func (o *ApiExternalEngineAcquire200Response) GetId() interface{}
- func (o *ApiExternalEngineAcquire200Response) GetIdOk() (*interface{}, bool)
- func (o *ApiExternalEngineAcquire200Response) GetWork() ExternalEngineWork
- func (o *ApiExternalEngineAcquire200Response) GetWorkOk() (*ExternalEngineWork, bool)
- func (o ApiExternalEngineAcquire200Response) MarshalJSON() ([]byte, error)
- func (o *ApiExternalEngineAcquire200Response) SetEngine(v ExternalEngine)
- func (o *ApiExternalEngineAcquire200Response) SetId(v interface{})
- func (o *ApiExternalEngineAcquire200Response) SetWork(v ExternalEngineWork)
- type ApiExternalEngineAcquireRequest
- func (o *ApiExternalEngineAcquireRequest) GetProviderSecret() interface{}
- func (o *ApiExternalEngineAcquireRequest) GetProviderSecretOk() (*interface{}, bool)
- func (o *ApiExternalEngineAcquireRequest) HasProviderSecret() bool
- func (o ApiExternalEngineAcquireRequest) MarshalJSON() ([]byte, error)
- func (o *ApiExternalEngineAcquireRequest) SetProviderSecret(v interface{})
- type ApiExternalEngineAnalyse200Response
- func (o *ApiExternalEngineAnalyse200Response) GetDepth() interface{}
- func (o *ApiExternalEngineAnalyse200Response) GetDepthOk() (*interface{}, bool)
- func (o *ApiExternalEngineAnalyse200Response) GetNodes() interface{}
- func (o *ApiExternalEngineAnalyse200Response) GetNodesOk() (*interface{}, bool)
- func (o *ApiExternalEngineAnalyse200Response) GetPvs() []ApiExternalEngineAnalyse200ResponsePvsInner
- func (o *ApiExternalEngineAnalyse200Response) GetPvsOk() ([]ApiExternalEngineAnalyse200ResponsePvsInner, bool)
- func (o *ApiExternalEngineAnalyse200Response) GetTime() interface{}
- func (o *ApiExternalEngineAnalyse200Response) GetTimeOk() (*interface{}, bool)
- func (o ApiExternalEngineAnalyse200Response) MarshalJSON() ([]byte, error)
- func (o *ApiExternalEngineAnalyse200Response) SetDepth(v interface{})
- func (o *ApiExternalEngineAnalyse200Response) SetNodes(v interface{})
- func (o *ApiExternalEngineAnalyse200Response) SetPvs(v []ApiExternalEngineAnalyse200ResponsePvsInner)
- func (o *ApiExternalEngineAnalyse200Response) SetTime(v interface{})
- type ApiExternalEngineAnalyse200ResponsePvsInner
- func (o *ApiExternalEngineAnalyse200ResponsePvsInner) GetCp() interface{}
- func (o *ApiExternalEngineAnalyse200ResponsePvsInner) GetCpOk() (*interface{}, bool)
- func (o *ApiExternalEngineAnalyse200ResponsePvsInner) GetDepth() interface{}
- func (o *ApiExternalEngineAnalyse200ResponsePvsInner) GetDepthOk() (*interface{}, bool)
- func (o *ApiExternalEngineAnalyse200ResponsePvsInner) GetMate() interface{}
- func (o *ApiExternalEngineAnalyse200ResponsePvsInner) GetMateOk() (*interface{}, bool)
- func (o *ApiExternalEngineAnalyse200ResponsePvsInner) GetMoves() []interface{}
- func (o *ApiExternalEngineAnalyse200ResponsePvsInner) GetMovesOk() ([]interface{}, bool)
- func (o *ApiExternalEngineAnalyse200ResponsePvsInner) HasCp() bool
- func (o *ApiExternalEngineAnalyse200ResponsePvsInner) HasMate() bool
- func (o ApiExternalEngineAnalyse200ResponsePvsInner) MarshalJSON() ([]byte, error)
- func (o *ApiExternalEngineAnalyse200ResponsePvsInner) SetCp(v interface{})
- func (o *ApiExternalEngineAnalyse200ResponsePvsInner) SetDepth(v interface{})
- func (o *ApiExternalEngineAnalyse200ResponsePvsInner) SetMate(v interface{})
- func (o *ApiExternalEngineAnalyse200ResponsePvsInner) SetMoves(v []interface{})
- type ApiExternalEngineAnalyseRequest
- func (o *ApiExternalEngineAnalyseRequest) GetClientSecret() interface{}
- func (o *ApiExternalEngineAnalyseRequest) GetClientSecretOk() (*interface{}, bool)
- func (o *ApiExternalEngineAnalyseRequest) GetWork() ExternalEngineWork
- func (o *ApiExternalEngineAnalyseRequest) GetWorkOk() (*ExternalEngineWork, bool)
- func (o ApiExternalEngineAnalyseRequest) MarshalJSON() ([]byte, error)
- func (o *ApiExternalEngineAnalyseRequest) SetClientSecret(v interface{})
- func (o *ApiExternalEngineAnalyseRequest) SetWork(v ExternalEngineWork)
- type ApiFollowUserRequest
- type ApiGameImportRequest
- type ApiGamePgnRequest
- func (r ApiGamePgnRequest) Clocks(clocks interface{}) ApiGamePgnRequest
- func (r ApiGamePgnRequest) Evals(evals interface{}) ApiGamePgnRequest
- func (r ApiGamePgnRequest) Execute() (interface{}, *http.Response, error)
- func (r ApiGamePgnRequest) Literate(literate interface{}) ApiGamePgnRequest
- func (r ApiGamePgnRequest) Moves(moves interface{}) ApiGamePgnRequest
- func (r ApiGamePgnRequest) Opening(opening interface{}) ApiGamePgnRequest
- func (r ApiGamePgnRequest) PgnInJson(pgnInJson interface{}) ApiGamePgnRequest
- func (r ApiGamePgnRequest) Players(players interface{}) ApiGamePgnRequest
- func (r ApiGamePgnRequest) Tags(tags interface{}) ApiGamePgnRequest
- type ApiGamesByIdsAddRequest
- type ApiGamesByIdsRequest
- type ApiGamesBySwissRequest
- func (r ApiGamesBySwissRequest) Clocks(clocks interface{}) ApiGamesBySwissRequest
- func (r ApiGamesBySwissRequest) Evals(evals interface{}) ApiGamesBySwissRequest
- func (r ApiGamesBySwissRequest) Execute() (interface{}, *http.Response, error)
- func (r ApiGamesBySwissRequest) Moves(moves interface{}) ApiGamesBySwissRequest
- func (r ApiGamesBySwissRequest) Opening(opening interface{}) ApiGamesBySwissRequest
- func (r ApiGamesBySwissRequest) PgnInJson(pgnInJson interface{}) ApiGamesBySwissRequest
- func (r ApiGamesBySwissRequest) Tags(tags interface{}) ApiGamesBySwissRequest
- type ApiGamesByTournamentRequest
- func (r ApiGamesByTournamentRequest) Clocks(clocks interface{}) ApiGamesByTournamentRequest
- func (r ApiGamesByTournamentRequest) Evals(evals interface{}) ApiGamesByTournamentRequest
- func (r ApiGamesByTournamentRequest) Execute() (interface{}, *http.Response, error)
- func (r ApiGamesByTournamentRequest) Moves(moves interface{}) ApiGamesByTournamentRequest
- func (r ApiGamesByTournamentRequest) Opening(opening interface{}) ApiGamesByTournamentRequest
- func (r ApiGamesByTournamentRequest) PgnInJson(pgnInJson interface{}) ApiGamesByTournamentRequest
- func (r ApiGamesByTournamentRequest) Player(player interface{}) ApiGamesByTournamentRequest
- func (r ApiGamesByTournamentRequest) Tags(tags interface{}) ApiGamesByTournamentRequest
- type ApiGamesByUsersRequest
- type ApiGamesExportIdsRequest
- func (r ApiGamesExportIdsRequest) Body(body interface{}) ApiGamesExportIdsRequest
- func (r ApiGamesExportIdsRequest) Clocks(clocks interface{}) ApiGamesExportIdsRequest
- func (r ApiGamesExportIdsRequest) Evals(evals interface{}) ApiGamesExportIdsRequest
- func (r ApiGamesExportIdsRequest) Execute() (interface{}, *http.Response, error)
- func (r ApiGamesExportIdsRequest) Literate(literate interface{}) ApiGamesExportIdsRequest
- func (r ApiGamesExportIdsRequest) Moves(moves interface{}) ApiGamesExportIdsRequest
- func (r ApiGamesExportIdsRequest) Opening(opening interface{}) ApiGamesExportIdsRequest
- func (r ApiGamesExportIdsRequest) PgnInJson(pgnInJson interface{}) ApiGamesExportIdsRequest
- func (r ApiGamesExportIdsRequest) Players(players interface{}) ApiGamesExportIdsRequest
- func (r ApiGamesExportIdsRequest) Tags(tags interface{}) ApiGamesExportIdsRequest
- type ApiInboxUsernameRequest
- type ApiOauthRequest
- func (r ApiOauthRequest) ClientId(clientId interface{}) ApiOauthRequest
- func (r ApiOauthRequest) CodeChallenge(codeChallenge interface{}) ApiOauthRequest
- func (r ApiOauthRequest) CodeChallengeMethod(codeChallengeMethod interface{}) ApiOauthRequest
- func (r ApiOauthRequest) Execute() (*http.Response, error)
- func (r ApiOauthRequest) RedirectUri(redirectUri interface{}) ApiOauthRequest
- func (r ApiOauthRequest) ResponseType(responseType interface{}) ApiOauthRequest
- func (r ApiOauthRequest) Scope(scope interface{}) ApiOauthRequest
- func (r ApiOauthRequest) State(state interface{}) ApiOauthRequest
- func (r ApiOauthRequest) Username(username interface{}) ApiOauthRequest
- type ApiOpeningExplorerLichessHistoryRequest
- func (r ApiOpeningExplorerLichessHistoryRequest) Execute() (interface{}, *http.Response, error)
- func (r ApiOpeningExplorerLichessHistoryRequest) Fen(fen interface{}) ApiOpeningExplorerLichessHistoryRequest
- func (r ApiOpeningExplorerLichessHistoryRequest) Play(play interface{}) ApiOpeningExplorerLichessHistoryRequest
- func (r ApiOpeningExplorerLichessHistoryRequest) Ratings(ratings interface{}) ApiOpeningExplorerLichessHistoryRequest
- func (r ApiOpeningExplorerLichessHistoryRequest) Since(since interface{}) ApiOpeningExplorerLichessHistoryRequest
- func (r ApiOpeningExplorerLichessHistoryRequest) Speeds(speeds interface{}) ApiOpeningExplorerLichessHistoryRequest
- func (r ApiOpeningExplorerLichessHistoryRequest) Until(until interface{}) ApiOpeningExplorerLichessHistoryRequest
- func (r ApiOpeningExplorerLichessHistoryRequest) Variant(variant VariantKey) ApiOpeningExplorerLichessHistoryRequest
- type ApiOpeningExplorerLichessRequest
- func (r ApiOpeningExplorerLichessRequest) Execute() (interface{}, *http.Response, error)
- func (r ApiOpeningExplorerLichessRequest) Fen(fen interface{}) ApiOpeningExplorerLichessRequest
- func (r ApiOpeningExplorerLichessRequest) Moves(moves interface{}) ApiOpeningExplorerLichessRequest
- func (r ApiOpeningExplorerLichessRequest) Play(play interface{}) ApiOpeningExplorerLichessRequest
- func (r ApiOpeningExplorerLichessRequest) Ratings(ratings []interface{}) ApiOpeningExplorerLichessRequest
- func (r ApiOpeningExplorerLichessRequest) RecentGames(recentGames interface{}) ApiOpeningExplorerLichessRequest
- func (r ApiOpeningExplorerLichessRequest) Since(since interface{}) ApiOpeningExplorerLichessRequest
- func (r ApiOpeningExplorerLichessRequest) Speeds(speeds []Speed) ApiOpeningExplorerLichessRequest
- func (r ApiOpeningExplorerLichessRequest) TopGames(topGames interface{}) ApiOpeningExplorerLichessRequest
- func (r ApiOpeningExplorerLichessRequest) Until(until interface{}) ApiOpeningExplorerLichessRequest
- func (r ApiOpeningExplorerLichessRequest) Variant(variant VariantKey) ApiOpeningExplorerLichessRequest
- type ApiOpeningExplorerMasterGameRequest
- type ApiOpeningExplorerMasterRequest
- func (r ApiOpeningExplorerMasterRequest) Execute() (interface{}, *http.Response, error)
- func (r ApiOpeningExplorerMasterRequest) Fen(fen interface{}) ApiOpeningExplorerMasterRequest
- func (r ApiOpeningExplorerMasterRequest) Moves(moves interface{}) ApiOpeningExplorerMasterRequest
- func (r ApiOpeningExplorerMasterRequest) Play(play interface{}) ApiOpeningExplorerMasterRequest
- func (r ApiOpeningExplorerMasterRequest) Since(since interface{}) ApiOpeningExplorerMasterRequest
- func (r ApiOpeningExplorerMasterRequest) TopGames(topGames interface{}) ApiOpeningExplorerMasterRequest
- func (r ApiOpeningExplorerMasterRequest) Until(until interface{}) ApiOpeningExplorerMasterRequest
- type ApiOpeningExplorerPlayerRequest
- func (r ApiOpeningExplorerPlayerRequest) Execute() (interface{}, *http.Response, error)
- func (r ApiOpeningExplorerPlayerRequest) Fen(fen interface{}) ApiOpeningExplorerPlayerRequest
- func (r ApiOpeningExplorerPlayerRequest) Modes(modes []interface{}) ApiOpeningExplorerPlayerRequest
- func (r ApiOpeningExplorerPlayerRequest) Moves(moves interface{}) ApiOpeningExplorerPlayerRequest
- func (r ApiOpeningExplorerPlayerRequest) Play(play interface{}) ApiOpeningExplorerPlayerRequest
- func (r ApiOpeningExplorerPlayerRequest) Player(player interface{}) ApiOpeningExplorerPlayerRequest
- func (r ApiOpeningExplorerPlayerRequest) RecentGames(recentGames interface{}) ApiOpeningExplorerPlayerRequest
- func (r ApiOpeningExplorerPlayerRequest) Since(since interface{}) ApiOpeningExplorerPlayerRequest
- func (r ApiOpeningExplorerPlayerRequest) Speeds(speeds interface{}) ApiOpeningExplorerPlayerRequest
- func (r ApiOpeningExplorerPlayerRequest) Until(until interface{}) ApiOpeningExplorerPlayerRequest
- func (r ApiOpeningExplorerPlayerRequest) Variant(variant VariantKey) ApiOpeningExplorerPlayerRequest
- type ApiPlayerRequest
- type ApiPlayerTopNbPerfTypeRequest
- type ApiRacerPostRequest
- type ApiResultsBySwissRequest
- type ApiResultsByTournamentRequest
- type ApiRoundAddTimeRequest
- type ApiStreamGameRequest
- type ApiStreamerLiveRequest
- type ApiStudyAllChaptersPgnRequest
- func (r ApiStudyAllChaptersPgnRequest) Clocks(clocks interface{}) ApiStudyAllChaptersPgnRequest
- func (r ApiStudyAllChaptersPgnRequest) Comments(comments interface{}) ApiStudyAllChaptersPgnRequest
- func (r ApiStudyAllChaptersPgnRequest) Execute() (interface{}, *http.Response, error)
- func (r ApiStudyAllChaptersPgnRequest) Variations(variations interface{}) ApiStudyAllChaptersPgnRequest
- type ApiStudyChapterPgnRequest
- func (r ApiStudyChapterPgnRequest) Clocks(clocks interface{}) ApiStudyChapterPgnRequest
- func (r ApiStudyChapterPgnRequest) Comments(comments interface{}) ApiStudyChapterPgnRequest
- func (r ApiStudyChapterPgnRequest) Execute() (interface{}, *http.Response, error)
- func (r ApiStudyChapterPgnRequest) Variations(variations interface{}) ApiStudyChapterPgnRequest
- type ApiStudyExportAllPgnRequest
- func (r ApiStudyExportAllPgnRequest) Clocks(clocks interface{}) ApiStudyExportAllPgnRequest
- func (r ApiStudyExportAllPgnRequest) Comments(comments interface{}) ApiStudyExportAllPgnRequest
- func (r ApiStudyExportAllPgnRequest) Execute() (interface{}, *http.Response, error)
- func (r ApiStudyExportAllPgnRequest) Variations(variations interface{}) ApiStudyExportAllPgnRequest
- type ApiSwissRequest
- type ApiSwissTrfRequest
- type ApiTablebaseAtomicRequest
- type ApiTablebaseStandardRequest
- type ApiTeamAllRequest
- type ApiTeamIdJoinRequest
- type ApiTeamIdKickUserIdRequest
- type ApiTeamIdPmAllRequest
- type ApiTeamIdQuitRequest
- type ApiTeamOfUsernameRequest
- type ApiTeamRequestAcceptRequest
- type ApiTeamRequestDeclineRequest
- type ApiTeamRequestsRequest
- type ApiTeamSearchRequest
- type ApiTeamShowRequest
- type ApiTeamsByTournamentRequest
- type ApiTokenTestRequest
- type ApiTournamentRequest
- type ApiTvChannelGamesRequest
- func (r ApiTvChannelGamesRequest) Clocks(clocks interface{}) ApiTvChannelGamesRequest
- func (r ApiTvChannelGamesRequest) Execute() (interface{}, *http.Response, error)
- func (r ApiTvChannelGamesRequest) Moves(moves interface{}) ApiTvChannelGamesRequest
- func (r ApiTvChannelGamesRequest) Nb(nb interface{}) ApiTvChannelGamesRequest
- func (r ApiTvChannelGamesRequest) Opening(opening interface{}) ApiTvChannelGamesRequest
- func (r ApiTvChannelGamesRequest) PgnInJson(pgnInJson interface{}) ApiTvChannelGamesRequest
- func (r ApiTvChannelGamesRequest) Tags(tags interface{}) ApiTvChannelGamesRequest
- type ApiTvChannelsRequest
- type ApiTvFeedRequest
- type ApiUnfollowUserRequest
- type ApiUsersStatus200ResponseInner
- func (o *ApiUsersStatus200ResponseInner) GetId() interface{}
- func (o *ApiUsersStatus200ResponseInner) GetIdOk() (*interface{}, bool)
- func (o *ApiUsersStatus200ResponseInner) GetName() interface{}
- func (o *ApiUsersStatus200ResponseInner) GetNameOk() (*interface{}, bool)
- func (o *ApiUsersStatus200ResponseInner) GetOnline() interface{}
- func (o *ApiUsersStatus200ResponseInner) GetOnlineOk() (*interface{}, bool)
- func (o *ApiUsersStatus200ResponseInner) GetPatron() interface{}
- func (o *ApiUsersStatus200ResponseInner) GetPatronOk() (*interface{}, bool)
- func (o *ApiUsersStatus200ResponseInner) GetPlaying() interface{}
- func (o *ApiUsersStatus200ResponseInner) GetPlayingOk() (*interface{}, bool)
- func (o *ApiUsersStatus200ResponseInner) GetStreaming() interface{}
- func (o *ApiUsersStatus200ResponseInner) GetStreamingOk() (*interface{}, bool)
- func (o *ApiUsersStatus200ResponseInner) GetTitle() interface{}
- func (o *ApiUsersStatus200ResponseInner) GetTitleOk() (*interface{}, bool)
- func (o *ApiUsersStatus200ResponseInner) HasOnline() bool
- func (o *ApiUsersStatus200ResponseInner) HasPatron() bool
- func (o *ApiUsersStatus200ResponseInner) HasPlaying() bool
- func (o *ApiUsersStatus200ResponseInner) HasStreaming() bool
- func (o *ApiUsersStatus200ResponseInner) HasTitle() bool
- func (o ApiUsersStatus200ResponseInner) MarshalJSON() ([]byte, error)
- func (o *ApiUsersStatus200ResponseInner) SetId(v interface{})
- func (o *ApiUsersStatus200ResponseInner) SetName(v interface{})
- func (o *ApiUsersStatus200ResponseInner) SetOnline(v interface{})
- func (o *ApiUsersStatus200ResponseInner) SetPatron(v interface{})
- func (o *ApiUsersStatus200ResponseInner) SetPlaying(v interface{})
- func (o *ApiUsersStatus200ResponseInner) SetStreaming(v interface{})
- func (o *ApiUsersStatus200ResponseInner) SetTitle(v interface{})
- type ArenaApiTeamArenaRequest
- type ArenaTournaments
- func (o *ArenaTournaments) GetCreated() interface{}
- func (o *ArenaTournaments) GetCreatedOk() (*interface{}, bool)
- func (o *ArenaTournaments) GetFinished() interface{}
- func (o *ArenaTournaments) GetFinishedOk() (*interface{}, bool)
- func (o *ArenaTournaments) GetStarted() interface{}
- func (o *ArenaTournaments) GetStartedOk() (*interface{}, bool)
- func (o *ArenaTournaments) HasCreated() bool
- func (o *ArenaTournaments) HasFinished() bool
- func (o *ArenaTournaments) HasStarted() bool
- func (o ArenaTournaments) MarshalJSON() ([]byte, error)
- func (o *ArenaTournaments) SetCreated(v interface{})
- func (o *ArenaTournaments) SetFinished(v interface{})
- func (o *ArenaTournaments) SetStarted(v interface{})
- type ArenaTournamentsApiService
- func (a *ArenaTournamentsApiService) ApiTeamArena(ctx context.Context, teamId interface{}) ArenaApiTeamArenaRequest
- func (a *ArenaTournamentsApiService) ApiTeamArenaExecute(r ArenaApiTeamArenaRequest) (interface{}, *http.Response, error)
- func (a *ArenaTournamentsApiService) ApiTournament(ctx context.Context) ApiApiTournamentRequest
- func (a *ArenaTournamentsApiService) ApiTournamentExecute(r ApiApiTournamentRequest) (*ArenaTournaments, *http.Response, error)
- func (a *ArenaTournamentsApiService) ApiTournamentJoin(ctx context.Context, id interface{}) ApiApiTournamentJoinRequest
- func (a *ArenaTournamentsApiService) ApiTournamentJoinExecute(r ApiApiTournamentJoinRequest) (*Ok, *http.Response, error)
- func (a *ArenaTournamentsApiService) ApiTournamentPost(ctx context.Context) ApiApiTournamentPostRequest
- func (a *ArenaTournamentsApiService) ApiTournamentPostExecute(r ApiApiTournamentPostRequest) (interface{}, *http.Response, error)
- func (a *ArenaTournamentsApiService) ApiTournamentTeamBattlePost(ctx context.Context, id interface{}) ApiApiTournamentTeamBattlePostRequest
- func (a *ArenaTournamentsApiService) ApiTournamentTeamBattlePostExecute(r ApiApiTournamentTeamBattlePostRequest) (interface{}, *http.Response, error)
- func (a *ArenaTournamentsApiService) ApiTournamentTerminate(ctx context.Context, id interface{}) ApiApiTournamentTerminateRequest
- func (a *ArenaTournamentsApiService) ApiTournamentTerminateExecute(r ApiApiTournamentTerminateRequest) (*Ok, *http.Response, error)
- func (a *ArenaTournamentsApiService) ApiTournamentUpdate(ctx context.Context, id interface{}) ApiApiTournamentUpdateRequest
- func (a *ArenaTournamentsApiService) ApiTournamentUpdateExecute(r ApiApiTournamentUpdateRequest) (interface{}, *http.Response, error)
- func (a *ArenaTournamentsApiService) ApiTournamentWithdraw(ctx context.Context, id interface{}) ApiApiTournamentWithdrawRequest
- func (a *ArenaTournamentsApiService) ApiTournamentWithdrawExecute(r ApiApiTournamentWithdrawRequest) (*Ok, *http.Response, error)
- func (a *ArenaTournamentsApiService) ApiUserNameTournamentCreated(ctx context.Context, username interface{}) ApiApiUserNameTournamentCreatedRequest
- func (a *ArenaTournamentsApiService) ApiUserNameTournamentCreatedExecute(r ApiApiUserNameTournamentCreatedRequest) (interface{}, *http.Response, error)
- func (a *ArenaTournamentsApiService) GamesByTournament(ctx context.Context, id interface{}) ApiGamesByTournamentRequest
- func (a *ArenaTournamentsApiService) GamesByTournamentExecute(r ApiGamesByTournamentRequest) (interface{}, *http.Response, error)
- func (a *ArenaTournamentsApiService) ResultsByTournament(ctx context.Context, id interface{}) ApiResultsByTournamentRequest
- func (a *ArenaTournamentsApiService) ResultsByTournamentExecute(r ApiResultsByTournamentRequest) (interface{}, *http.Response, error)
- func (a *ArenaTournamentsApiService) TeamsByTournament(ctx context.Context, id interface{}) ApiTeamsByTournamentRequest
- func (a *ArenaTournamentsApiService) TeamsByTournamentExecute(r ApiTeamsByTournamentRequest) (interface{}, *http.Response, error)
- func (a *ArenaTournamentsApiService) Tournament(ctx context.Context, id interface{}) ApiTournamentRequest
- func (a *ArenaTournamentsApiService) TournamentExecute(r ApiTournamentRequest) (interface{}, *http.Response, error)
- type BasicAuth
- type BoardApiService
- func (a *BoardApiService) ApiBoardSeek(ctx context.Context) ApiApiBoardSeekRequest
- func (a *BoardApiService) ApiBoardSeekExecute(r ApiApiBoardSeekRequest) (*http.Response, error)
- func (a *BoardApiService) ApiStreamEvent(ctx context.Context) BoardApiStreamEventRequest
- func (a *BoardApiService) ApiStreamEventExecute(r BoardApiStreamEventRequest) (interface{}, *http.Response, error)
- func (a *BoardApiService) BoardGameAbort(ctx context.Context, gameId interface{}) ApiBoardGameAbortRequest
- func (a *BoardApiService) BoardGameAbortExecute(r ApiBoardGameAbortRequest) (*Ok, *http.Response, error)
- func (a *BoardApiService) BoardGameBerserk(ctx context.Context, gameId interface{}) ApiBoardGameBerserkRequest
- func (a *BoardApiService) BoardGameBerserkExecute(r ApiBoardGameBerserkRequest) (*Ok, *http.Response, error)
- func (a *BoardApiService) BoardGameChatGet(ctx context.Context, gameId interface{}) ApiBoardGameChatGetRequest
- func (a *BoardApiService) BoardGameChatGetExecute(r ApiBoardGameChatGetRequest) (interface{}, *http.Response, error)
- func (a *BoardApiService) BoardGameChatPost(ctx context.Context, gameId interface{}) ApiBoardGameChatPostRequest
- func (a *BoardApiService) BoardGameChatPostExecute(r ApiBoardGameChatPostRequest) (*Ok, *http.Response, error)
- func (a *BoardApiService) BoardGameClaimVictory(ctx context.Context, gameId interface{}) ApiBoardGameClaimVictoryRequest
- func (a *BoardApiService) BoardGameClaimVictoryExecute(r ApiBoardGameClaimVictoryRequest) (*Ok, *http.Response, error)
- func (a *BoardApiService) BoardGameDraw(ctx context.Context, gameId interface{}, accept interface{}) ApiBoardGameDrawRequest
- func (a *BoardApiService) BoardGameDrawExecute(r ApiBoardGameDrawRequest) (*Ok, *http.Response, error)
- func (a *BoardApiService) BoardGameMove(ctx context.Context, gameId interface{}, move interface{}) ApiBoardGameMoveRequest
- func (a *BoardApiService) BoardGameMoveExecute(r ApiBoardGameMoveRequest) (*Ok, *http.Response, error)
- func (a *BoardApiService) BoardGameResign(ctx context.Context, gameId interface{}) ApiBoardGameResignRequest
- func (a *BoardApiService) BoardGameResignExecute(r ApiBoardGameResignRequest) (*Ok, *http.Response, error)
- func (a *BoardApiService) BoardGameStream(ctx context.Context, gameId interface{}) ApiBoardGameStreamRequest
- func (a *BoardApiService) BoardGameStreamExecute(r ApiBoardGameStreamRequest) (interface{}, *http.Response, error)
- func (a *BoardApiService) BoardGameTakeback(ctx context.Context, gameId interface{}, accept interface{}) ApiBoardGameTakebackRequest
- func (a *BoardApiService) BoardGameTakebackExecute(r ApiBoardGameTakebackRequest) (*Ok, *http.Response, error)
- type BoardApiStreamEventRequest
- type BotApiService
- func (a *BotApiService) ApiBotOnline(ctx context.Context) ApiApiBotOnlineRequest
- func (a *BotApiService) ApiBotOnlineExecute(r ApiApiBotOnlineRequest) (*User, *http.Response, error)
- func (a *BotApiService) ApiStreamEvent(ctx context.Context) BotApiStreamEventRequest
- func (a *BotApiService) ApiStreamEventExecute(r BotApiStreamEventRequest) (interface{}, *http.Response, error)
- func (a *BotApiService) BotAccountUpgrade(ctx context.Context) ApiBotAccountUpgradeRequest
- func (a *BotApiService) BotAccountUpgradeExecute(r ApiBotAccountUpgradeRequest) (*Ok, *http.Response, error)
- func (a *BotApiService) BotGameAbort(ctx context.Context, gameId interface{}) ApiBotGameAbortRequest
- func (a *BotApiService) BotGameAbortExecute(r ApiBotGameAbortRequest) (*Ok, *http.Response, error)
- func (a *BotApiService) BotGameChat(ctx context.Context, gameId interface{}) ApiBotGameChatRequest
- func (a *BotApiService) BotGameChatExecute(r ApiBotGameChatRequest) (*Ok, *http.Response, error)
- func (a *BotApiService) BotGameChatGet(ctx context.Context, gameId interface{}) ApiBotGameChatGetRequest
- func (a *BotApiService) BotGameChatGetExecute(r ApiBotGameChatGetRequest) (interface{}, *http.Response, error)
- func (a *BotApiService) BotGameMove(ctx context.Context, gameId interface{}, move interface{}) ApiBotGameMoveRequest
- func (a *BotApiService) BotGameMoveExecute(r ApiBotGameMoveRequest) (*Ok, *http.Response, error)
- func (a *BotApiService) BotGameResign(ctx context.Context, gameId interface{}) ApiBotGameResignRequest
- func (a *BotApiService) BotGameResignExecute(r ApiBotGameResignRequest) (*Ok, *http.Response, error)
- func (a *BotApiService) BotGameStream(ctx context.Context, gameId interface{}) ApiBotGameStreamRequest
- func (a *BotApiService) BotGameStreamExecute(r ApiBotGameStreamRequest) (interface{}, *http.Response, error)
- type BotApiStreamEventRequest
- type BroadcastsApiService
- func (a *BroadcastsApiService) BroadcastAllRoundsPgn(ctx context.Context, broadcastTournamentId interface{}) ApiBroadcastAllRoundsPgnRequest
- func (a *BroadcastsApiService) BroadcastAllRoundsPgnExecute(r ApiBroadcastAllRoundsPgnRequest) (interface{}, *http.Response, error)
- func (a *BroadcastsApiService) BroadcastIndex(ctx context.Context) ApiBroadcastIndexRequest
- func (a *BroadcastsApiService) BroadcastIndexExecute(r ApiBroadcastIndexRequest) ([]interface{}, *http.Response, error)
- func (a *BroadcastsApiService) BroadcastPush(ctx context.Context, broadcastRoundId interface{}) ApiBroadcastPushRequest
- func (a *BroadcastsApiService) BroadcastPushExecute(r ApiBroadcastPushRequest) ([]Ok, *http.Response, error)
- func (a *BroadcastsApiService) BroadcastRoundCreate(ctx context.Context, broadcastTournamentId interface{}) ApiBroadcastRoundCreateRequest
- func (a *BroadcastsApiService) BroadcastRoundCreateExecute(r ApiBroadcastRoundCreateRequest) (interface{}, *http.Response, error)
- func (a *BroadcastsApiService) BroadcastRoundGet(ctx context.Context, broadcastTournamentSlug interface{}, ...) ApiBroadcastRoundGetRequest
- func (a *BroadcastsApiService) BroadcastRoundGetExecute(r ApiBroadcastRoundGetRequest) ([]interface{}, *http.Response, error)
- func (a *BroadcastsApiService) BroadcastRoundPgn(ctx context.Context, broadcastRoundId interface{}) ApiBroadcastRoundPgnRequest
- func (a *BroadcastsApiService) BroadcastRoundPgnExecute(r ApiBroadcastRoundPgnRequest) (interface{}, *http.Response, error)
- func (a *BroadcastsApiService) BroadcastRoundUpdate(ctx context.Context, broadcastRoundId interface{}) ApiBroadcastRoundUpdateRequest
- func (a *BroadcastsApiService) BroadcastRoundUpdateExecute(r ApiBroadcastRoundUpdateRequest) (*Ok, *http.Response, error)
- func (a *BroadcastsApiService) BroadcastStreamRoundPgn(ctx context.Context, broadcastRoundId interface{}) ApiBroadcastStreamRoundPgnRequest
- func (a *BroadcastsApiService) BroadcastStreamRoundPgnExecute(r ApiBroadcastStreamRoundPgnRequest) (interface{}, *http.Response, error)
- func (a *BroadcastsApiService) BroadcastTourCreate(ctx context.Context) ApiBroadcastTourCreateRequest
- func (a *BroadcastsApiService) BroadcastTourCreateExecute(r ApiBroadcastTourCreateRequest) (interface{}, *http.Response, error)
- func (a *BroadcastsApiService) BroadcastTourGet(ctx context.Context, slug interface{}, broadcastTournamentId interface{}) ApiBroadcastTourGetRequest
- func (a *BroadcastsApiService) BroadcastTourGetExecute(r ApiBroadcastTourGetRequest) ([]interface{}, *http.Response, error)
- func (a *BroadcastsApiService) BroadcastTourUpdate(ctx context.Context, broadcastTournamentId interface{}) ApiBroadcastTourUpdateRequest
- func (a *BroadcastsApiService) BroadcastTourUpdateExecute(r ApiBroadcastTourUpdateRequest) (*Ok, *http.Response, error)
- type BulkPairingsApiService
- func (a *BulkPairingsApiService) BulkPairingCreate(ctx context.Context) ApiBulkPairingCreateRequest
- func (a *BulkPairingsApiService) BulkPairingCreateExecute(r ApiBulkPairingCreateRequest) (interface{}, *http.Response, error)
- func (a *BulkPairingsApiService) BulkPairingDelete(ctx context.Context, id interface{}) ApiBulkPairingDeleteRequest
- func (a *BulkPairingsApiService) BulkPairingDeleteExecute(r ApiBulkPairingDeleteRequest) (*Ok, *http.Response, error)
- func (a *BulkPairingsApiService) BulkPairingGet(ctx context.Context) ApiBulkPairingGetRequest
- func (a *BulkPairingsApiService) BulkPairingGetExecute(r ApiBulkPairingGetRequest) ([]interface{}, *http.Response, error)
- func (a *BulkPairingsApiService) BulkPairingStartClocks(ctx context.Context, id interface{}) ApiBulkPairingStartClocksRequest
- func (a *BulkPairingsApiService) BulkPairingStartClocksExecute(r ApiBulkPairingStartClocksRequest) (*Ok, *http.Response, error)
- type ChallengeCanceledEvent
- func (o *ChallengeCanceledEvent) GetChallenge() ChallengeJson
- func (o *ChallengeCanceledEvent) GetChallengeOk() (*ChallengeJson, bool)
- func (o *ChallengeCanceledEvent) GetType() interface{}
- func (o *ChallengeCanceledEvent) GetTypeOk() (*interface{}, bool)
- func (o *ChallengeCanceledEvent) HasChallenge() bool
- func (o *ChallengeCanceledEvent) HasType() bool
- func (o ChallengeCanceledEvent) MarshalJSON() ([]byte, error)
- func (o *ChallengeCanceledEvent) SetChallenge(v ChallengeJson)
- func (o *ChallengeCanceledEvent) SetType(v interface{})
- type ChallengeCanceledJson
- type ChallengeDeclinedEvent
- func (o *ChallengeDeclinedEvent) GetChallenge() ChallengeCanceledJson
- func (o *ChallengeDeclinedEvent) GetChallengeOk() (*ChallengeCanceledJson, bool)
- func (o *ChallengeDeclinedEvent) GetType() interface{}
- func (o *ChallengeDeclinedEvent) GetTypeOk() (*interface{}, bool)
- func (o *ChallengeDeclinedEvent) HasChallenge() bool
- func (o *ChallengeDeclinedEvent) HasType() bool
- func (o ChallengeDeclinedEvent) MarshalJSON() ([]byte, error)
- func (o *ChallengeDeclinedEvent) SetChallenge(v ChallengeCanceledJson)
- func (o *ChallengeDeclinedEvent) SetType(v interface{})
- type ChallengeEvent
- func (o *ChallengeEvent) GetChallenge() ChallengeJson
- func (o *ChallengeEvent) GetChallengeOk() (*ChallengeJson, bool)
- func (o *ChallengeEvent) GetType() interface{}
- func (o *ChallengeEvent) GetTypeOk() (*interface{}, bool)
- func (o *ChallengeEvent) HasChallenge() bool
- func (o *ChallengeEvent) HasType() bool
- func (o ChallengeEvent) MarshalJSON() ([]byte, error)
- func (o *ChallengeEvent) SetChallenge(v ChallengeJson)
- func (o *ChallengeEvent) SetType(v interface{})
- type ChallengeJson
- func (o *ChallengeJson) GetChallenger() ChallengeUser
- func (o *ChallengeJson) GetChallengerOk() (*ChallengeUser, bool)
- func (o *ChallengeJson) GetColor() interface{}
- func (o *ChallengeJson) GetColorOk() (*interface{}, bool)
- func (o *ChallengeJson) GetDeclineReason() interface{}
- func (o *ChallengeJson) GetDeclineReasonOk() (*interface{}, bool)
- func (o *ChallengeJson) GetDestUser() interface{}
- func (o *ChallengeJson) GetDestUserOk() (*interface{}, bool)
- func (o *ChallengeJson) GetDirection() interface{}
- func (o *ChallengeJson) GetDirectionOk() (*interface{}, bool)
- func (o *ChallengeJson) GetId() interface{}
- func (o *ChallengeJson) GetIdOk() (*interface{}, bool)
- func (o *ChallengeJson) GetInitialFen() interface{}
- func (o *ChallengeJson) GetInitialFenOk() (*interface{}, bool)
- func (o *ChallengeJson) GetPerf() ChallengeJsonPerf
- func (o *ChallengeJson) GetPerfOk() (*ChallengeJsonPerf, bool)
- func (o *ChallengeJson) GetRated() interface{}
- func (o *ChallengeJson) GetRatedOk() (*interface{}, bool)
- func (o *ChallengeJson) GetSpeed() Speed
- func (o *ChallengeJson) GetSpeedOk() (*Speed, bool)
- func (o *ChallengeJson) GetStatus() interface{}
- func (o *ChallengeJson) GetStatusOk() (*interface{}, bool)
- func (o *ChallengeJson) GetTimeControl() interface{}
- func (o *ChallengeJson) GetTimeControlOk() (*interface{}, bool)
- func (o *ChallengeJson) GetUrl() interface{}
- func (o *ChallengeJson) GetUrlOk() (*interface{}, bool)
- func (o *ChallengeJson) GetVariant() Variant
- func (o *ChallengeJson) GetVariantOk() (*Variant, bool)
- func (o *ChallengeJson) HasDeclineReason() bool
- func (o *ChallengeJson) HasDirection() bool
- func (o *ChallengeJson) HasInitialFen() bool
- func (o ChallengeJson) MarshalJSON() ([]byte, error)
- func (o *ChallengeJson) SetChallenger(v ChallengeUser)
- func (o *ChallengeJson) SetColor(v interface{})
- func (o *ChallengeJson) SetDeclineReason(v interface{})
- func (o *ChallengeJson) SetDestUser(v interface{})
- func (o *ChallengeJson) SetDirection(v interface{})
- func (o *ChallengeJson) SetId(v interface{})
- func (o *ChallengeJson) SetInitialFen(v interface{})
- func (o *ChallengeJson) SetPerf(v ChallengeJsonPerf)
- func (o *ChallengeJson) SetRated(v interface{})
- func (o *ChallengeJson) SetSpeed(v Speed)
- func (o *ChallengeJson) SetStatus(v interface{})
- func (o *ChallengeJson) SetTimeControl(v interface{})
- func (o *ChallengeJson) SetUrl(v interface{})
- func (o *ChallengeJson) SetVariant(v Variant)
- type ChallengeJsonPerf
- func (o *ChallengeJsonPerf) GetIcon() interface{}
- func (o *ChallengeJsonPerf) GetIconOk() (*interface{}, bool)
- func (o *ChallengeJsonPerf) GetName() interface{}
- func (o *ChallengeJsonPerf) GetNameOk() (*interface{}, bool)
- func (o *ChallengeJsonPerf) HasIcon() bool
- func (o *ChallengeJsonPerf) HasName() bool
- func (o ChallengeJsonPerf) MarshalJSON() ([]byte, error)
- func (o *ChallengeJsonPerf) SetIcon(v interface{})
- func (o *ChallengeJsonPerf) SetName(v interface{})
- type ChallengeList200Response
- func (o *ChallengeList200Response) GetIn() []ChallengeJson
- func (o *ChallengeList200Response) GetInOk() ([]ChallengeJson, bool)
- func (o *ChallengeList200Response) GetOut() []ChallengeJson
- func (o *ChallengeList200Response) GetOutOk() ([]ChallengeJson, bool)
- func (o *ChallengeList200Response) HasIn() bool
- func (o *ChallengeList200Response) HasOut() bool
- func (o ChallengeList200Response) MarshalJSON() ([]byte, error)
- func (o *ChallengeList200Response) SetIn(v []ChallengeJson)
- func (o *ChallengeList200Response) SetOut(v []ChallengeJson)
- type ChallengeUser
- func (o *ChallengeUser) GetOnline() interface{}
- func (o *ChallengeUser) GetOnlineOk() (*interface{}, bool)
- func (o *ChallengeUser) GetProvisional() interface{}
- func (o *ChallengeUser) GetProvisionalOk() (*interface{}, bool)
- func (o *ChallengeUser) GetRating() interface{}
- func (o *ChallengeUser) GetRatingOk() (*interface{}, bool)
- func (o *ChallengeUser) HasOnline() bool
- func (o *ChallengeUser) HasProvisional() bool
- func (o *ChallengeUser) HasRating() bool
- func (o ChallengeUser) MarshalJSON() ([]byte, error)
- func (o *ChallengeUser) SetOnline(v interface{})
- func (o *ChallengeUser) SetProvisional(v interface{})
- func (o *ChallengeUser) SetRating(v interface{})
- type ChallengesApiService
- func (a *ChallengesApiService) AdminChallengeTokens(ctx context.Context) ApiAdminChallengeTokensRequest
- func (a *ChallengesApiService) AdminChallengeTokensExecute(r ApiAdminChallengeTokensRequest) (*http.Response, error)
- func (a *ChallengesApiService) ChallengeAccept(ctx context.Context, challengeId interface{}) ApiChallengeAcceptRequest
- func (a *ChallengesApiService) ChallengeAcceptExecute(r ApiChallengeAcceptRequest) (*Ok, *http.Response, error)
- func (a *ChallengesApiService) ChallengeAi(ctx context.Context) ApiChallengeAiRequest
- func (a *ChallengesApiService) ChallengeAiExecute(r ApiChallengeAiRequest) (*GameJson, *http.Response, error)
- func (a *ChallengesApiService) ChallengeCancel(ctx context.Context, challengeId interface{}) ApiChallengeCancelRequest
- func (a *ChallengesApiService) ChallengeCancelExecute(r ApiChallengeCancelRequest) (*Ok, *http.Response, error)
- func (a *ChallengesApiService) ChallengeCreate(ctx context.Context, username interface{}) ApiChallengeCreateRequest
- func (a *ChallengesApiService) ChallengeCreateExecute(r ApiChallengeCreateRequest) (*ChallengeJson, *http.Response, error)
- func (a *ChallengesApiService) ChallengeDecline(ctx context.Context, challengeId interface{}) ApiChallengeDeclineRequest
- func (a *ChallengesApiService) ChallengeDeclineExecute(r ApiChallengeDeclineRequest) (*Ok, *http.Response, error)
- func (a *ChallengesApiService) ChallengeList(ctx context.Context) ApiChallengeListRequest
- func (a *ChallengesApiService) ChallengeListExecute(r ApiChallengeListRequest) (*ChallengeList200Response, *http.Response, error)
- func (a *ChallengesApiService) ChallengeOpen(ctx context.Context) ApiChallengeOpenRequest
- func (a *ChallengesApiService) ChallengeOpenExecute(r ApiChallengeOpenRequest) (interface{}, *http.Response, error)
- func (a *ChallengesApiService) ChallengeStartClocks(ctx context.Context, gameId interface{}) ApiChallengeStartClocksRequest
- func (a *ChallengesApiService) ChallengeStartClocksExecute(r ApiChallengeStartClocksRequest) (*Ok, *http.Response, error)
- func (a *ChallengesApiService) RoundAddTime(ctx context.Context, gameId interface{}, seconds interface{}) ApiRoundAddTimeRequest
- func (a *ChallengesApiService) RoundAddTimeExecute(r ApiRoundAddTimeRequest) (*Ok, *http.Response, error)
- type ChatLineEvent
- func (o *ChatLineEvent) GetRoom() interface{}
- func (o *ChatLineEvent) GetRoomOk() (*interface{}, bool)
- func (o *ChatLineEvent) GetText() interface{}
- func (o *ChatLineEvent) GetTextOk() (*interface{}, bool)
- func (o *ChatLineEvent) GetType() interface{}
- func (o *ChatLineEvent) GetTypeOk() (*interface{}, bool)
- func (o *ChatLineEvent) GetUsername() interface{}
- func (o *ChatLineEvent) GetUsernameOk() (*interface{}, bool)
- func (o ChatLineEvent) MarshalJSON() ([]byte, error)
- func (o *ChatLineEvent) SetRoom(v interface{})
- func (o *ChatLineEvent) SetText(v interface{})
- func (o *ChatLineEvent) SetType(v interface{})
- func (o *ChatLineEvent) SetUsername(v interface{})
- type Clock
- func (o *Clock) GetIncrement() interface{}
- func (o *Clock) GetIncrementOk() (*interface{}, bool)
- func (o *Clock) GetLimit() interface{}
- func (o *Clock) GetLimitOk() (*interface{}, bool)
- func (o *Clock) HasIncrement() bool
- func (o *Clock) HasLimit() bool
- func (o Clock) MarshalJSON() ([]byte, error)
- func (o *Clock) SetIncrement(v interface{})
- func (o *Clock) SetLimit(v interface{})
- type Configuration
- type Count
- func (o *Count) GetAi() interface{}
- func (o *Count) GetAiOk() (*interface{}, bool)
- func (o *Count) GetAll() interface{}
- func (o *Count) GetAllOk() (*interface{}, bool)
- func (o *Count) GetBookmark() interface{}
- func (o *Count) GetBookmarkOk() (*interface{}, bool)
- func (o *Count) GetDraw() interface{}
- func (o *Count) GetDrawH() interface{}
- func (o *Count) GetDrawHOk() (*interface{}, bool)
- func (o *Count) GetDrawOk() (*interface{}, bool)
- func (o *Count) GetImport() interface{}
- func (o *Count) GetImportOk() (*interface{}, bool)
- func (o *Count) GetLoss() interface{}
- func (o *Count) GetLossH() interface{}
- func (o *Count) GetLossHOk() (*interface{}, bool)
- func (o *Count) GetLossOk() (*interface{}, bool)
- func (o *Count) GetMe() interface{}
- func (o *Count) GetMeOk() (*interface{}, bool)
- func (o *Count) GetPlaying() interface{}
- func (o *Count) GetPlayingOk() (*interface{}, bool)
- func (o *Count) GetRated() interface{}
- func (o *Count) GetRatedOk() (*interface{}, bool)
- func (o *Count) GetWin() interface{}
- func (o *Count) GetWinH() interface{}
- func (o *Count) GetWinHOk() (*interface{}, bool)
- func (o *Count) GetWinOk() (*interface{}, bool)
- func (o *Count) HasAi() bool
- func (o *Count) HasAll() bool
- func (o *Count) HasBookmark() bool
- func (o *Count) HasDraw() bool
- func (o *Count) HasDrawH() bool
- func (o *Count) HasImport() bool
- func (o *Count) HasLoss() bool
- func (o *Count) HasLossH() bool
- func (o *Count) HasMe() bool
- func (o *Count) HasPlaying() bool
- func (o *Count) HasRated() bool
- func (o *Count) HasWin() bool
- func (o *Count) HasWinH() bool
- func (o Count) MarshalJSON() ([]byte, error)
- func (o *Count) SetAi(v interface{})
- func (o *Count) SetAll(v interface{})
- func (o *Count) SetBookmark(v interface{})
- func (o *Count) SetDraw(v interface{})
- func (o *Count) SetDrawH(v interface{})
- func (o *Count) SetImport(v interface{})
- func (o *Count) SetLoss(v interface{})
- func (o *Count) SetLossH(v interface{})
- func (o *Count) SetMe(v interface{})
- func (o *Count) SetPlaying(v interface{})
- func (o *Count) SetRated(v interface{})
- func (o *Count) SetWin(v interface{})
- func (o *Count) SetWinH(v interface{})
- type Error
- type ExternalEngine
- func (o *ExternalEngine) GetClientSecret() interface{}
- func (o *ExternalEngine) GetClientSecretOk() (*interface{}, bool)
- func (o *ExternalEngine) GetDefaultDepth() interface{}
- func (o *ExternalEngine) GetDefaultDepthOk() (*interface{}, bool)
- func (o *ExternalEngine) GetId() interface{}
- func (o *ExternalEngine) GetIdOk() (*interface{}, bool)
- func (o *ExternalEngine) GetMaxHash() interface{}
- func (o *ExternalEngine) GetMaxHashOk() (*interface{}, bool)
- func (o *ExternalEngine) GetMaxThreads() interface{}
- func (o *ExternalEngine) GetMaxThreadsOk() (*interface{}, bool)
- func (o *ExternalEngine) GetName() interface{}
- func (o *ExternalEngine) GetNameOk() (*interface{}, bool)
- func (o *ExternalEngine) GetProviderData() interface{}
- func (o *ExternalEngine) GetProviderDataOk() (*interface{}, bool)
- func (o *ExternalEngine) GetUserId() interface{}
- func (o *ExternalEngine) GetUserIdOk() (*interface{}, bool)
- func (o *ExternalEngine) GetVariants() interface{}
- func (o *ExternalEngine) GetVariantsOk() (*interface{}, bool)
- func (o *ExternalEngine) HasProviderData() bool
- func (o ExternalEngine) MarshalJSON() ([]byte, error)
- func (o *ExternalEngine) SetClientSecret(v interface{})
- func (o *ExternalEngine) SetDefaultDepth(v interface{})
- func (o *ExternalEngine) SetId(v interface{})
- func (o *ExternalEngine) SetMaxHash(v interface{})
- func (o *ExternalEngine) SetMaxThreads(v interface{})
- func (o *ExternalEngine) SetName(v interface{})
- func (o *ExternalEngine) SetProviderData(v interface{})
- func (o *ExternalEngine) SetUserId(v interface{})
- func (o *ExternalEngine) SetVariants(v interface{})
- type ExternalEngineApiService
- func (a *ExternalEngineApiService) ApiExternalEngineAcquire(ctx context.Context) ApiApiExternalEngineAcquireRequest
- func (a *ExternalEngineApiService) ApiExternalEngineAcquireExecute(r ApiApiExternalEngineAcquireRequest) (*ApiExternalEngineAcquire200Response, *http.Response, error)
- func (a *ExternalEngineApiService) ApiExternalEngineAnalyse(ctx context.Context, id interface{}) ApiApiExternalEngineAnalyseRequest
- func (a *ExternalEngineApiService) ApiExternalEngineAnalyseExecute(r ApiApiExternalEngineAnalyseRequest) (*ApiExternalEngineAnalyse200Response, *http.Response, error)
- func (a *ExternalEngineApiService) ApiExternalEngineCreate(ctx context.Context) ApiApiExternalEngineCreateRequest
- func (a *ExternalEngineApiService) ApiExternalEngineCreateExecute(r ApiApiExternalEngineCreateRequest) (*ExternalEngine, *http.Response, error)
- func (a *ExternalEngineApiService) ApiExternalEngineDelete(ctx context.Context, id interface{}) ApiApiExternalEngineDeleteRequest
- func (a *ExternalEngineApiService) ApiExternalEngineDeleteExecute(r ApiApiExternalEngineDeleteRequest) (*Ok, *http.Response, error)
- func (a *ExternalEngineApiService) ApiExternalEngineGet(ctx context.Context, id interface{}) ApiApiExternalEngineGetRequest
- func (a *ExternalEngineApiService) ApiExternalEngineGetExecute(r ApiApiExternalEngineGetRequest) (*ExternalEngine, *http.Response, error)
- func (a *ExternalEngineApiService) ApiExternalEngineList(ctx context.Context) ApiApiExternalEngineListRequest
- func (a *ExternalEngineApiService) ApiExternalEngineListExecute(r ApiApiExternalEngineListRequest) ([]ExternalEngine, *http.Response, error)
- func (a *ExternalEngineApiService) ApiExternalEnginePut(ctx context.Context, id interface{}) ApiApiExternalEnginePutRequest
- func (a *ExternalEngineApiService) ApiExternalEnginePutExecute(r ApiApiExternalEnginePutRequest) (*ExternalEngine, *http.Response, error)
- func (a *ExternalEngineApiService) ApiExternalEngineSubmit(ctx context.Context, id interface{}) ApiApiExternalEngineSubmitRequest
- func (a *ExternalEngineApiService) ApiExternalEngineSubmitExecute(r ApiApiExternalEngineSubmitRequest) (*http.Response, error)
- type ExternalEngineRegistration
- func (o *ExternalEngineRegistration) GetDefaultDepth() interface{}
- func (o *ExternalEngineRegistration) GetDefaultDepthOk() (*interface{}, bool)
- func (o *ExternalEngineRegistration) GetMaxHash() interface{}
- func (o *ExternalEngineRegistration) GetMaxHashOk() (*interface{}, bool)
- func (o *ExternalEngineRegistration) GetMaxThreads() interface{}
- func (o *ExternalEngineRegistration) GetMaxThreadsOk() (*interface{}, bool)
- func (o *ExternalEngineRegistration) GetName() interface{}
- func (o *ExternalEngineRegistration) GetNameOk() (*interface{}, bool)
- func (o *ExternalEngineRegistration) GetProviderData() interface{}
- func (o *ExternalEngineRegistration) GetProviderDataOk() (*interface{}, bool)
- func (o *ExternalEngineRegistration) GetProviderSecret() interface{}
- func (o *ExternalEngineRegistration) GetProviderSecretOk() (*interface{}, bool)
- func (o *ExternalEngineRegistration) GetVariants() interface{}
- func (o *ExternalEngineRegistration) GetVariantsOk() (*interface{}, bool)
- func (o *ExternalEngineRegistration) HasProviderData() bool
- func (o *ExternalEngineRegistration) HasVariants() bool
- func (o ExternalEngineRegistration) MarshalJSON() ([]byte, error)
- func (o *ExternalEngineRegistration) SetDefaultDepth(v interface{})
- func (o *ExternalEngineRegistration) SetMaxHash(v interface{})
- func (o *ExternalEngineRegistration) SetMaxThreads(v interface{})
- func (o *ExternalEngineRegistration) SetName(v interface{})
- func (o *ExternalEngineRegistration) SetProviderData(v interface{})
- func (o *ExternalEngineRegistration) SetProviderSecret(v interface{})
- func (o *ExternalEngineRegistration) SetVariants(v interface{})
- type ExternalEngineWork
- func (o *ExternalEngineWork) GetHash() interface{}
- func (o *ExternalEngineWork) GetHashOk() (*interface{}, bool)
- func (o *ExternalEngineWork) GetInfinite() interface{}
- func (o *ExternalEngineWork) GetInfiniteOk() (*interface{}, bool)
- func (o *ExternalEngineWork) GetInitialFen() interface{}
- func (o *ExternalEngineWork) GetInitialFenOk() (*interface{}, bool)
- func (o *ExternalEngineWork) GetMoves() interface{}
- func (o *ExternalEngineWork) GetMovesOk() (*interface{}, bool)
- func (o *ExternalEngineWork) GetMultiPv() interface{}
- func (o *ExternalEngineWork) GetMultiPvOk() (*interface{}, bool)
- func (o *ExternalEngineWork) GetSessionId() interface{}
- func (o *ExternalEngineWork) GetSessionIdOk() (*interface{}, bool)
- func (o *ExternalEngineWork) GetThreads() interface{}
- func (o *ExternalEngineWork) GetThreadsOk() (*interface{}, bool)
- func (o *ExternalEngineWork) GetVariant() UciVariant
- func (o *ExternalEngineWork) GetVariantOk() (*UciVariant, bool)
- func (o *ExternalEngineWork) HasInfinite() bool
- func (o ExternalEngineWork) MarshalJSON() ([]byte, error)
- func (o *ExternalEngineWork) SetHash(v interface{})
- func (o *ExternalEngineWork) SetInfinite(v interface{})
- func (o *ExternalEngineWork) SetInitialFen(v interface{})
- func (o *ExternalEngineWork) SetMoves(v interface{})
- func (o *ExternalEngineWork) SetMultiPv(v interface{})
- func (o *ExternalEngineWork) SetSessionId(v interface{})
- func (o *ExternalEngineWork) SetThreads(v interface{})
- func (o *ExternalEngineWork) SetVariant(v UciVariant)
- type GameEventInfo
- func (o *GameEventInfo) GetCompat() GameEventInfoCompat
- func (o *GameEventInfo) GetCompatOk() (*GameEventInfoCompat, bool)
- func (o *GameEventInfo) GetId() interface{}
- func (o *GameEventInfo) GetIdOk() (*interface{}, bool)
- func (o *GameEventInfo) GetSource() interface{}
- func (o *GameEventInfo) GetSourceOk() (*interface{}, bool)
- func (o *GameEventInfo) HasCompat() bool
- func (o *GameEventInfo) HasId() bool
- func (o *GameEventInfo) HasSource() bool
- func (o GameEventInfo) MarshalJSON() ([]byte, error)
- func (o *GameEventInfo) SetCompat(v GameEventInfoCompat)
- func (o *GameEventInfo) SetId(v interface{})
- func (o *GameEventInfo) SetSource(v interface{})
- type GameEventInfoCompat
- func (o *GameEventInfoCompat) GetBoard() interface{}
- func (o *GameEventInfoCompat) GetBoardOk() (*interface{}, bool)
- func (o *GameEventInfoCompat) GetBot() interface{}
- func (o *GameEventInfoCompat) GetBotOk() (*interface{}, bool)
- func (o *GameEventInfoCompat) HasBoard() bool
- func (o *GameEventInfoCompat) HasBot() bool
- func (o GameEventInfoCompat) MarshalJSON() ([]byte, error)
- func (o *GameEventInfoCompat) SetBoard(v interface{})
- func (o *GameEventInfoCompat) SetBot(v interface{})
- type GameEventPlayer
- func (o *GameEventPlayer) GetAiLevel() interface{}
- func (o *GameEventPlayer) GetAiLevelOk() (*interface{}, bool)
- func (o *GameEventPlayer) GetId() interface{}
- func (o *GameEventPlayer) GetIdOk() (*interface{}, bool)
- func (o *GameEventPlayer) GetName() interface{}
- func (o *GameEventPlayer) GetNameOk() (*interface{}, bool)
- func (o *GameEventPlayer) GetProvisional() interface{}
- func (o *GameEventPlayer) GetProvisionalOk() (*interface{}, bool)
- func (o *GameEventPlayer) GetRating() interface{}
- func (o *GameEventPlayer) GetRatingOk() (*interface{}, bool)
- func (o *GameEventPlayer) GetTitle() interface{}
- func (o *GameEventPlayer) GetTitleOk() (*interface{}, bool)
- func (o *GameEventPlayer) HasAiLevel() bool
- func (o *GameEventPlayer) HasId() bool
- func (o *GameEventPlayer) HasName() bool
- func (o *GameEventPlayer) HasProvisional() bool
- func (o *GameEventPlayer) HasRating() bool
- func (o *GameEventPlayer) HasTitle() bool
- func (o GameEventPlayer) MarshalJSON() ([]byte, error)
- func (o *GameEventPlayer) SetAiLevel(v interface{})
- func (o *GameEventPlayer) SetId(v interface{})
- func (o *GameEventPlayer) SetName(v interface{})
- func (o *GameEventPlayer) SetProvisional(v interface{})
- func (o *GameEventPlayer) SetRating(v interface{})
- func (o *GameEventPlayer) SetTitle(v interface{})
- type GameFinishEvent
- func (o *GameFinishEvent) GetGame() GameEventInfo
- func (o *GameFinishEvent) GetGameOk() (*GameEventInfo, bool)
- func (o *GameFinishEvent) GetType() interface{}
- func (o *GameFinishEvent) GetTypeOk() (*interface{}, bool)
- func (o *GameFinishEvent) HasGame() bool
- func (o *GameFinishEvent) HasType() bool
- func (o GameFinishEvent) MarshalJSON() ([]byte, error)
- func (o *GameFinishEvent) SetGame(v GameEventInfo)
- func (o *GameFinishEvent) SetType(v interface{})
- type GameFullEvent
- func (o *GameFullEvent) GetBlack() GameEventPlayer
- func (o *GameFullEvent) GetBlackOk() (*GameEventPlayer, bool)
- func (o *GameFullEvent) GetClock() interface{}
- func (o *GameFullEvent) GetClockOk() (*interface{}, bool)
- func (o *GameFullEvent) GetCreatedAt() interface{}
- func (o *GameFullEvent) GetCreatedAtOk() (*interface{}, bool)
- func (o *GameFullEvent) GetId() interface{}
- func (o *GameFullEvent) GetIdOk() (*interface{}, bool)
- func (o *GameFullEvent) GetInitialFen() interface{}
- func (o *GameFullEvent) GetInitialFenOk() (*interface{}, bool)
- func (o *GameFullEvent) GetPerf() GameFullEventPerf
- func (o *GameFullEvent) GetPerfOk() (*GameFullEventPerf, bool)
- func (o *GameFullEvent) GetRated() interface{}
- func (o *GameFullEvent) GetRatedOk() (*interface{}, bool)
- func (o *GameFullEvent) GetSpeed() Speed
- func (o *GameFullEvent) GetSpeedOk() (*Speed, bool)
- func (o *GameFullEvent) GetState() GameStateEvent
- func (o *GameFullEvent) GetStateOk() (*GameStateEvent, bool)
- func (o *GameFullEvent) GetTournamentId() interface{}
- func (o *GameFullEvent) GetTournamentIdOk() (*interface{}, bool)
- func (o *GameFullEvent) GetType() interface{}
- func (o *GameFullEvent) GetTypeOk() (*interface{}, bool)
- func (o *GameFullEvent) GetVariant() Variant
- func (o *GameFullEvent) GetVariantOk() (*Variant, bool)
- func (o *GameFullEvent) GetWhite() GameEventPlayer
- func (o *GameFullEvent) GetWhiteOk() (*GameEventPlayer, bool)
- func (o *GameFullEvent) HasTournamentId() bool
- func (o GameFullEvent) MarshalJSON() ([]byte, error)
- func (o *GameFullEvent) SetBlack(v GameEventPlayer)
- func (o *GameFullEvent) SetClock(v interface{})
- func (o *GameFullEvent) SetCreatedAt(v interface{})
- func (o *GameFullEvent) SetId(v interface{})
- func (o *GameFullEvent) SetInitialFen(v interface{})
- func (o *GameFullEvent) SetPerf(v GameFullEventPerf)
- func (o *GameFullEvent) SetRated(v interface{})
- func (o *GameFullEvent) SetSpeed(v Speed)
- func (o *GameFullEvent) SetState(v GameStateEvent)
- func (o *GameFullEvent) SetTournamentId(v interface{})
- func (o *GameFullEvent) SetType(v interface{})
- func (o *GameFullEvent) SetVariant(v Variant)
- func (o *GameFullEvent) SetWhite(v GameEventPlayer)
- type GameFullEventPerf
- type GameJson
- func (o *GameJson) GetAnalysis() interface{}
- func (o *GameJson) GetAnalysisOk() (*interface{}, bool)
- func (o *GameJson) GetClock() GameJsonClock
- func (o *GameJson) GetClockOk() (*GameJsonClock, bool)
- func (o *GameJson) GetCreatedAt() interface{}
- func (o *GameJson) GetCreatedAtOk() (*interface{}, bool)
- func (o *GameJson) GetDaysPerTurn() interface{}
- func (o *GameJson) GetDaysPerTurnOk() (*interface{}, bool)
- func (o *GameJson) GetId() interface{}
- func (o *GameJson) GetIdOk() (*interface{}, bool)
- func (o *GameJson) GetInitialFen() interface{}
- func (o *GameJson) GetInitialFenOk() (*interface{}, bool)
- func (o *GameJson) GetLastMoveAt() interface{}
- func (o *GameJson) GetLastMoveAtOk() (*interface{}, bool)
- func (o *GameJson) GetMoves() interface{}
- func (o *GameJson) GetMovesOk() (*interface{}, bool)
- func (o *GameJson) GetOpening() GameJsonOpening
- func (o *GameJson) GetOpeningOk() (*GameJsonOpening, bool)
- func (o *GameJson) GetPerf() interface{}
- func (o *GameJson) GetPerfOk() (*interface{}, bool)
- func (o *GameJson) GetPgn() interface{}
- func (o *GameJson) GetPgnOk() (*interface{}, bool)
- func (o *GameJson) GetPlayers() GameJsonPlayers
- func (o *GameJson) GetPlayersOk() (*GameJsonPlayers, bool)
- func (o *GameJson) GetRated() interface{}
- func (o *GameJson) GetRatedOk() (*interface{}, bool)
- func (o *GameJson) GetSpeed() Speed
- func (o *GameJson) GetSpeedOk() (*Speed, bool)
- func (o *GameJson) GetStatus() GameStatus
- func (o *GameJson) GetStatusOk() (*GameStatus, bool)
- func (o *GameJson) GetSwiss() interface{}
- func (o *GameJson) GetSwissOk() (*interface{}, bool)
- func (o *GameJson) GetTournament() interface{}
- func (o *GameJson) GetTournamentOk() (*interface{}, bool)
- func (o *GameJson) GetVariant() VariantKey
- func (o *GameJson) GetVariantOk() (*VariantKey, bool)
- func (o *GameJson) GetWinner() interface{}
- func (o *GameJson) GetWinnerOk() (*interface{}, bool)
- func (o *GameJson) HasAnalysis() bool
- func (o *GameJson) HasClock() bool
- func (o *GameJson) HasDaysPerTurn() bool
- func (o *GameJson) HasInitialFen() bool
- func (o *GameJson) HasMoves() bool
- func (o *GameJson) HasOpening() bool
- func (o *GameJson) HasPgn() bool
- func (o *GameJson) HasSwiss() bool
- func (o *GameJson) HasTournament() bool
- func (o *GameJson) HasWinner() bool
- func (o GameJson) MarshalJSON() ([]byte, error)
- func (o *GameJson) SetAnalysis(v interface{})
- func (o *GameJson) SetClock(v GameJsonClock)
- func (o *GameJson) SetCreatedAt(v interface{})
- func (o *GameJson) SetDaysPerTurn(v interface{})
- func (o *GameJson) SetId(v interface{})
- func (o *GameJson) SetInitialFen(v interface{})
- func (o *GameJson) SetLastMoveAt(v interface{})
- func (o *GameJson) SetMoves(v interface{})
- func (o *GameJson) SetOpening(v GameJsonOpening)
- func (o *GameJson) SetPerf(v interface{})
- func (o *GameJson) SetPgn(v interface{})
- func (o *GameJson) SetPlayers(v GameJsonPlayers)
- func (o *GameJson) SetRated(v interface{})
- func (o *GameJson) SetSpeed(v Speed)
- func (o *GameJson) SetStatus(v GameStatus)
- func (o *GameJson) SetSwiss(v interface{})
- func (o *GameJson) SetTournament(v interface{})
- func (o *GameJson) SetVariant(v VariantKey)
- func (o *GameJson) SetWinner(v interface{})
- type GameJsonClock
- func (o *GameJsonClock) GetIncrement() interface{}
- func (o *GameJsonClock) GetIncrementOk() (*interface{}, bool)
- func (o *GameJsonClock) GetInitial() interface{}
- func (o *GameJsonClock) GetInitialOk() (*interface{}, bool)
- func (o *GameJsonClock) GetTotalTime() interface{}
- func (o *GameJsonClock) GetTotalTimeOk() (*interface{}, bool)
- func (o *GameJsonClock) HasIncrement() bool
- func (o *GameJsonClock) HasInitial() bool
- func (o *GameJsonClock) HasTotalTime() bool
- func (o GameJsonClock) MarshalJSON() ([]byte, error)
- func (o *GameJsonClock) SetIncrement(v interface{})
- func (o *GameJsonClock) SetInitial(v interface{})
- func (o *GameJsonClock) SetTotalTime(v interface{})
- type GameJsonOpening
- func (o *GameJsonOpening) GetEco() interface{}
- func (o *GameJsonOpening) GetEcoOk() (*interface{}, bool)
- func (o *GameJsonOpening) GetName() interface{}
- func (o *GameJsonOpening) GetNameOk() (*interface{}, bool)
- func (o *GameJsonOpening) GetPly() interface{}
- func (o *GameJsonOpening) GetPlyOk() (*interface{}, bool)
- func (o *GameJsonOpening) HasEco() bool
- func (o *GameJsonOpening) HasName() bool
- func (o *GameJsonOpening) HasPly() bool
- func (o GameJsonOpening) MarshalJSON() ([]byte, error)
- func (o *GameJsonOpening) SetEco(v interface{})
- func (o *GameJsonOpening) SetName(v interface{})
- func (o *GameJsonOpening) SetPly(v interface{})
- type GameJsonPlayers
- func (o *GameJsonPlayers) GetBlack() GameUser
- func (o *GameJsonPlayers) GetBlackOk() (*GameUser, bool)
- func (o *GameJsonPlayers) GetWhite() GameUser
- func (o *GameJsonPlayers) GetWhiteOk() (*GameUser, bool)
- func (o *GameJsonPlayers) HasBlack() bool
- func (o *GameJsonPlayers) HasWhite() bool
- func (o GameJsonPlayers) MarshalJSON() ([]byte, error)
- func (o *GameJsonPlayers) SetBlack(v GameUser)
- func (o *GameJsonPlayers) SetWhite(v GameUser)
- type GameStartEvent
- func (o *GameStartEvent) GetGame() GameEventInfo
- func (o *GameStartEvent) GetGameOk() (*GameEventInfo, bool)
- func (o *GameStartEvent) GetType() interface{}
- func (o *GameStartEvent) GetTypeOk() (*interface{}, bool)
- func (o *GameStartEvent) HasGame() bool
- func (o *GameStartEvent) HasType() bool
- func (o GameStartEvent) MarshalJSON() ([]byte, error)
- func (o *GameStartEvent) SetGame(v GameEventInfo)
- func (o *GameStartEvent) SetType(v interface{})
- type GameStateEvent
- func (o *GameStateEvent) GetBdraw() interface{}
- func (o *GameStateEvent) GetBdrawOk() (*interface{}, bool)
- func (o *GameStateEvent) GetBinc() interface{}
- func (o *GameStateEvent) GetBincOk() (*interface{}, bool)
- func (o *GameStateEvent) GetBtakeback() interface{}
- func (o *GameStateEvent) GetBtakebackOk() (*interface{}, bool)
- func (o *GameStateEvent) GetBtime() interface{}
- func (o *GameStateEvent) GetBtimeOk() (*interface{}, bool)
- func (o *GameStateEvent) GetMoves() interface{}
- func (o *GameStateEvent) GetMovesOk() (*interface{}, bool)
- func (o *GameStateEvent) GetStatus() GameStatus
- func (o *GameStateEvent) GetStatusOk() (*GameStatus, bool)
- func (o *GameStateEvent) GetType() interface{}
- func (o *GameStateEvent) GetTypeOk() (*interface{}, bool)
- func (o *GameStateEvent) GetWdraw() interface{}
- func (o *GameStateEvent) GetWdrawOk() (*interface{}, bool)
- func (o *GameStateEvent) GetWinc() interface{}
- func (o *GameStateEvent) GetWincOk() (*interface{}, bool)
- func (o *GameStateEvent) GetWinner() interface{}
- func (o *GameStateEvent) GetWinnerOk() (*interface{}, bool)
- func (o *GameStateEvent) GetWtakeback() interface{}
- func (o *GameStateEvent) GetWtakebackOk() (*interface{}, bool)
- func (o *GameStateEvent) GetWtime() interface{}
- func (o *GameStateEvent) GetWtimeOk() (*interface{}, bool)
- func (o *GameStateEvent) HasBdraw() bool
- func (o *GameStateEvent) HasBtakeback() bool
- func (o *GameStateEvent) HasWdraw() bool
- func (o *GameStateEvent) HasWinner() bool
- func (o *GameStateEvent) HasWtakeback() bool
- func (o GameStateEvent) MarshalJSON() ([]byte, error)
- func (o *GameStateEvent) SetBdraw(v interface{})
- func (o *GameStateEvent) SetBinc(v interface{})
- func (o *GameStateEvent) SetBtakeback(v interface{})
- func (o *GameStateEvent) SetBtime(v interface{})
- func (o *GameStateEvent) SetMoves(v interface{})
- func (o *GameStateEvent) SetStatus(v GameStatus)
- func (o *GameStateEvent) SetType(v interface{})
- func (o *GameStateEvent) SetWdraw(v interface{})
- func (o *GameStateEvent) SetWinc(v interface{})
- func (o *GameStateEvent) SetWinner(v interface{})
- func (o *GameStateEvent) SetWtakeback(v interface{})
- func (o *GameStateEvent) SetWtime(v interface{})
- type GameStatus
- type GameUser
- func (o *GameUser) GetAiLevel() interface{}
- func (o *GameUser) GetAiLevelOk() (*interface{}, bool)
- func (o *GameUser) GetAnalysis() GameUserAnalysis
- func (o *GameUser) GetAnalysisOk() (*GameUserAnalysis, bool)
- func (o *GameUser) GetName() interface{}
- func (o *GameUser) GetNameOk() (*interface{}, bool)
- func (o *GameUser) GetProvisional() interface{}
- func (o *GameUser) GetProvisionalOk() (*interface{}, bool)
- func (o *GameUser) GetRating() interface{}
- func (o *GameUser) GetRatingDiff() interface{}
- func (o *GameUser) GetRatingDiffOk() (*interface{}, bool)
- func (o *GameUser) GetRatingOk() (*interface{}, bool)
- func (o *GameUser) GetTeam() interface{}
- func (o *GameUser) GetTeamOk() (*interface{}, bool)
- func (o *GameUser) GetUser() LightUser
- func (o *GameUser) GetUserOk() (*LightUser, bool)
- func (o *GameUser) HasAiLevel() bool
- func (o *GameUser) HasAnalysis() bool
- func (o *GameUser) HasName() bool
- func (o *GameUser) HasProvisional() bool
- func (o *GameUser) HasRating() bool
- func (o *GameUser) HasRatingDiff() bool
- func (o *GameUser) HasTeam() bool
- func (o *GameUser) HasUser() bool
- func (o GameUser) MarshalJSON() ([]byte, error)
- func (o *GameUser) SetAiLevel(v interface{})
- func (o *GameUser) SetAnalysis(v GameUserAnalysis)
- func (o *GameUser) SetName(v interface{})
- func (o *GameUser) SetProvisional(v interface{})
- func (o *GameUser) SetRating(v interface{})
- func (o *GameUser) SetRatingDiff(v interface{})
- func (o *GameUser) SetTeam(v interface{})
- func (o *GameUser) SetUser(v LightUser)
- type GameUserAnalysis
- func (o *GameUserAnalysis) GetAcpl() interface{}
- func (o *GameUserAnalysis) GetAcplOk() (*interface{}, bool)
- func (o *GameUserAnalysis) GetBlunder() interface{}
- func (o *GameUserAnalysis) GetBlunderOk() (*interface{}, bool)
- func (o *GameUserAnalysis) GetInaccuracy() interface{}
- func (o *GameUserAnalysis) GetInaccuracyOk() (*interface{}, bool)
- func (o *GameUserAnalysis) GetMistake() interface{}
- func (o *GameUserAnalysis) GetMistakeOk() (*interface{}, bool)
- func (o GameUserAnalysis) MarshalJSON() ([]byte, error)
- func (o *GameUserAnalysis) SetAcpl(v interface{})
- func (o *GameUserAnalysis) SetBlunder(v interface{})
- func (o *GameUserAnalysis) SetInaccuracy(v interface{})
- func (o *GameUserAnalysis) SetMistake(v interface{})
- type GamesApiService
- func (a *GamesApiService) ApiAccountPlaying(ctx context.Context) ApiApiAccountPlayingRequest
- func (a *GamesApiService) ApiAccountPlayingExecute(r ApiApiAccountPlayingRequest) (interface{}, *http.Response, error)
- func (a *GamesApiService) ApiGamesUser(ctx context.Context, username interface{}) ApiApiGamesUserRequest
- func (a *GamesApiService) ApiGamesUserExecute(r ApiApiGamesUserRequest) (interface{}, *http.Response, error)
- func (a *GamesApiService) ApiUserCurrentGame(ctx context.Context, username interface{}) ApiApiUserCurrentGameRequest
- func (a *GamesApiService) ApiUserCurrentGameExecute(r ApiApiUserCurrentGameRequest) (interface{}, *http.Response, error)
- func (a *GamesApiService) GameImport(ctx context.Context) ApiGameImportRequest
- func (a *GamesApiService) GameImportExecute(r ApiGameImportRequest) (interface{}, *http.Response, error)
- func (a *GamesApiService) GamePgn(ctx context.Context, gameId interface{}) ApiGamePgnRequest
- func (a *GamesApiService) GamePgnExecute(r ApiGamePgnRequest) (interface{}, *http.Response, error)
- func (a *GamesApiService) GamesByIds(ctx context.Context, streamId interface{}) ApiGamesByIdsRequest
- func (a *GamesApiService) GamesByIdsAdd(ctx context.Context, streamId interface{}) ApiGamesByIdsAddRequest
- func (a *GamesApiService) GamesByIdsAddExecute(r ApiGamesByIdsAddRequest) (*Ok, *http.Response, error)
- func (a *GamesApiService) GamesByIdsExecute(r ApiGamesByIdsRequest) (interface{}, *http.Response, error)
- func (a *GamesApiService) GamesByUsers(ctx context.Context) ApiGamesByUsersRequest
- func (a *GamesApiService) GamesByUsersExecute(r ApiGamesByUsersRequest) (interface{}, *http.Response, error)
- func (a *GamesApiService) GamesExportIds(ctx context.Context) ApiGamesExportIdsRequest
- func (a *GamesApiService) GamesExportIdsExecute(r ApiGamesExportIdsRequest) (interface{}, *http.Response, error)
- func (a *GamesApiService) StreamGame(ctx context.Context, id interface{}) ApiStreamGameRequest
- func (a *GamesApiService) StreamGameExecute(r ApiStreamGameRequest) (interface{}, *http.Response, error)
- type GenericOpenAPIError
- type LightUser
- func (o *LightUser) GetId() interface{}
- func (o *LightUser) GetIdOk() (*interface{}, bool)
- func (o *LightUser) GetName() interface{}
- func (o *LightUser) GetNameOk() (*interface{}, bool)
- func (o *LightUser) GetPatron() interface{}
- func (o *LightUser) GetPatronOk() (*interface{}, bool)
- func (o *LightUser) GetTitle() interface{}
- func (o *LightUser) GetTitleOk() (*interface{}, bool)
- func (o *LightUser) HasId() bool
- func (o *LightUser) HasName() bool
- func (o *LightUser) HasPatron() bool
- func (o *LightUser) HasTitle() bool
- func (o LightUser) MarshalJSON() ([]byte, error)
- func (o *LightUser) SetId(v interface{})
- func (o *LightUser) SetName(v interface{})
- func (o *LightUser) SetPatron(v interface{})
- func (o *LightUser) SetTitle(v interface{})
- type MessagingApiService
- type Move
- func (o *Move) GetCategory() interface{}
- func (o *Move) GetCategoryOk() (*interface{}, bool)
- func (o *Move) GetCheckmate() interface{}
- func (o *Move) GetCheckmateOk() (*interface{}, bool)
- func (o *Move) GetDtm() interface{}
- func (o *Move) GetDtmOk() (*interface{}, bool)
- func (o *Move) GetDtz() interface{}
- func (o *Move) GetDtzOk() (*interface{}, bool)
- func (o *Move) GetInsufficientMaterial() interface{}
- func (o *Move) GetInsufficientMaterialOk() (*interface{}, bool)
- func (o *Move) GetPreciseDtz() interface{}
- func (o *Move) GetPreciseDtzOk() (*interface{}, bool)
- func (o *Move) GetSan() interface{}
- func (o *Move) GetSanOk() (*interface{}, bool)
- func (o *Move) GetStalemate() interface{}
- func (o *Move) GetStalemateOk() (*interface{}, bool)
- func (o *Move) GetUci() interface{}
- func (o *Move) GetUciOk() (*interface{}, bool)
- func (o *Move) GetVariantLoss() interface{}
- func (o *Move) GetVariantLossOk() (*interface{}, bool)
- func (o *Move) GetVariantWin() interface{}
- func (o *Move) GetVariantWinOk() (*interface{}, bool)
- func (o *Move) GetZeroing() interface{}
- func (o *Move) GetZeroingOk() (*interface{}, bool)
- func (o *Move) HasCategory() bool
- func (o *Move) HasCheckmate() bool
- func (o *Move) HasDtm() bool
- func (o *Move) HasDtz() bool
- func (o *Move) HasInsufficientMaterial() bool
- func (o *Move) HasPreciseDtz() bool
- func (o *Move) HasSan() bool
- func (o *Move) HasStalemate() bool
- func (o *Move) HasUci() bool
- func (o *Move) HasVariantLoss() bool
- func (o *Move) HasVariantWin() bool
- func (o *Move) HasZeroing() bool
- func (o Move) MarshalJSON() ([]byte, error)
- func (o *Move) SetCategory(v interface{})
- func (o *Move) SetCheckmate(v interface{})
- func (o *Move) SetDtm(v interface{})
- func (o *Move) SetDtz(v interface{})
- func (o *Move) SetInsufficientMaterial(v interface{})
- func (o *Move) SetPreciseDtz(v interface{})
- func (o *Move) SetSan(v interface{})
- func (o *Move) SetStalemate(v interface{})
- func (o *Move) SetUci(v interface{})
- func (o *Move) SetVariantLoss(v interface{})
- func (o *Move) SetVariantWin(v interface{})
- func (o *Move) SetZeroing(v interface{})
- type NotFound
- type NullableAccount200Response
- func (v NullableAccount200Response) Get() *Account200Response
- func (v NullableAccount200Response) IsSet() bool
- func (v NullableAccount200Response) MarshalJSON() ([]byte, error)
- func (v *NullableAccount200Response) Set(val *Account200Response)
- func (v *NullableAccount200Response) UnmarshalJSON(src []byte) error
- func (v *NullableAccount200Response) Unset()
- type NullableAccountEmail200Response
- func (v NullableAccountEmail200Response) Get() *AccountEmail200Response
- func (v NullableAccountEmail200Response) IsSet() bool
- func (v NullableAccountEmail200Response) MarshalJSON() ([]byte, error)
- func (v *NullableAccountEmail200Response) Set(val *AccountEmail200Response)
- func (v *NullableAccountEmail200Response) UnmarshalJSON(src []byte) error
- func (v *NullableAccountEmail200Response) Unset()
- type NullableAccountKid200Response
- func (v NullableAccountKid200Response) Get() *AccountKid200Response
- func (v NullableAccountKid200Response) IsSet() bool
- func (v NullableAccountKid200Response) MarshalJSON() ([]byte, error)
- func (v *NullableAccountKid200Response) Set(val *AccountKid200Response)
- func (v *NullableAccountKid200Response) UnmarshalJSON(src []byte) error
- func (v *NullableAccountKid200Response) Unset()
- type NullableApiExternalEngineAcquire200Response
- func (v NullableApiExternalEngineAcquire200Response) Get() *ApiExternalEngineAcquire200Response
- func (v NullableApiExternalEngineAcquire200Response) IsSet() bool
- func (v NullableApiExternalEngineAcquire200Response) MarshalJSON() ([]byte, error)
- func (v *NullableApiExternalEngineAcquire200Response) Set(val *ApiExternalEngineAcquire200Response)
- func (v *NullableApiExternalEngineAcquire200Response) UnmarshalJSON(src []byte) error
- func (v *NullableApiExternalEngineAcquire200Response) Unset()
- type NullableApiExternalEngineAcquireRequest
- func (v NullableApiExternalEngineAcquireRequest) Get() *ApiExternalEngineAcquireRequest
- func (v NullableApiExternalEngineAcquireRequest) IsSet() bool
- func (v NullableApiExternalEngineAcquireRequest) MarshalJSON() ([]byte, error)
- func (v *NullableApiExternalEngineAcquireRequest) Set(val *ApiExternalEngineAcquireRequest)
- func (v *NullableApiExternalEngineAcquireRequest) UnmarshalJSON(src []byte) error
- func (v *NullableApiExternalEngineAcquireRequest) Unset()
- type NullableApiExternalEngineAnalyse200Response
- func (v NullableApiExternalEngineAnalyse200Response) Get() *ApiExternalEngineAnalyse200Response
- func (v NullableApiExternalEngineAnalyse200Response) IsSet() bool
- func (v NullableApiExternalEngineAnalyse200Response) MarshalJSON() ([]byte, error)
- func (v *NullableApiExternalEngineAnalyse200Response) Set(val *ApiExternalEngineAnalyse200Response)
- func (v *NullableApiExternalEngineAnalyse200Response) UnmarshalJSON(src []byte) error
- func (v *NullableApiExternalEngineAnalyse200Response) Unset()
- type NullableApiExternalEngineAnalyse200ResponsePvsInner
- func (v NullableApiExternalEngineAnalyse200ResponsePvsInner) Get() *ApiExternalEngineAnalyse200ResponsePvsInner
- func (v NullableApiExternalEngineAnalyse200ResponsePvsInner) IsSet() bool
- func (v NullableApiExternalEngineAnalyse200ResponsePvsInner) MarshalJSON() ([]byte, error)
- func (v *NullableApiExternalEngineAnalyse200ResponsePvsInner) Set(val *ApiExternalEngineAnalyse200ResponsePvsInner)
- func (v *NullableApiExternalEngineAnalyse200ResponsePvsInner) UnmarshalJSON(src []byte) error
- func (v *NullableApiExternalEngineAnalyse200ResponsePvsInner) Unset()
- type NullableApiExternalEngineAnalyseRequest
- func (v NullableApiExternalEngineAnalyseRequest) Get() *ApiExternalEngineAnalyseRequest
- func (v NullableApiExternalEngineAnalyseRequest) IsSet() bool
- func (v NullableApiExternalEngineAnalyseRequest) MarshalJSON() ([]byte, error)
- func (v *NullableApiExternalEngineAnalyseRequest) Set(val *ApiExternalEngineAnalyseRequest)
- func (v *NullableApiExternalEngineAnalyseRequest) UnmarshalJSON(src []byte) error
- func (v *NullableApiExternalEngineAnalyseRequest) Unset()
- type NullableApiUsersStatus200ResponseInner
- func (v NullableApiUsersStatus200ResponseInner) Get() *ApiUsersStatus200ResponseInner
- func (v NullableApiUsersStatus200ResponseInner) IsSet() bool
- func (v NullableApiUsersStatus200ResponseInner) MarshalJSON() ([]byte, error)
- func (v *NullableApiUsersStatus200ResponseInner) Set(val *ApiUsersStatus200ResponseInner)
- func (v *NullableApiUsersStatus200ResponseInner) UnmarshalJSON(src []byte) error
- func (v *NullableApiUsersStatus200ResponseInner) Unset()
- type NullableArenaTournaments
- func (v NullableArenaTournaments) Get() *ArenaTournaments
- func (v NullableArenaTournaments) IsSet() bool
- func (v NullableArenaTournaments) MarshalJSON() ([]byte, error)
- func (v *NullableArenaTournaments) Set(val *ArenaTournaments)
- func (v *NullableArenaTournaments) UnmarshalJSON(src []byte) error
- func (v *NullableArenaTournaments) Unset()
- type NullableBool
- type NullableChallengeCanceledEvent
- func (v NullableChallengeCanceledEvent) Get() *ChallengeCanceledEvent
- func (v NullableChallengeCanceledEvent) IsSet() bool
- func (v NullableChallengeCanceledEvent) MarshalJSON() ([]byte, error)
- func (v *NullableChallengeCanceledEvent) Set(val *ChallengeCanceledEvent)
- func (v *NullableChallengeCanceledEvent) UnmarshalJSON(src []byte) error
- func (v *NullableChallengeCanceledEvent) Unset()
- type NullableChallengeCanceledJson
- func (v NullableChallengeCanceledJson) Get() *ChallengeCanceledJson
- func (v NullableChallengeCanceledJson) IsSet() bool
- func (v NullableChallengeCanceledJson) MarshalJSON() ([]byte, error)
- func (v *NullableChallengeCanceledJson) Set(val *ChallengeCanceledJson)
- func (v *NullableChallengeCanceledJson) UnmarshalJSON(src []byte) error
- func (v *NullableChallengeCanceledJson) Unset()
- type NullableChallengeDeclinedEvent
- func (v NullableChallengeDeclinedEvent) Get() *ChallengeDeclinedEvent
- func (v NullableChallengeDeclinedEvent) IsSet() bool
- func (v NullableChallengeDeclinedEvent) MarshalJSON() ([]byte, error)
- func (v *NullableChallengeDeclinedEvent) Set(val *ChallengeDeclinedEvent)
- func (v *NullableChallengeDeclinedEvent) UnmarshalJSON(src []byte) error
- func (v *NullableChallengeDeclinedEvent) Unset()
- type NullableChallengeEvent
- func (v NullableChallengeEvent) Get() *ChallengeEvent
- func (v NullableChallengeEvent) IsSet() bool
- func (v NullableChallengeEvent) MarshalJSON() ([]byte, error)
- func (v *NullableChallengeEvent) Set(val *ChallengeEvent)
- func (v *NullableChallengeEvent) UnmarshalJSON(src []byte) error
- func (v *NullableChallengeEvent) Unset()
- type NullableChallengeJson
- func (v NullableChallengeJson) Get() *ChallengeJson
- func (v NullableChallengeJson) IsSet() bool
- func (v NullableChallengeJson) MarshalJSON() ([]byte, error)
- func (v *NullableChallengeJson) Set(val *ChallengeJson)
- func (v *NullableChallengeJson) UnmarshalJSON(src []byte) error
- func (v *NullableChallengeJson) Unset()
- type NullableChallengeJsonPerf
- func (v NullableChallengeJsonPerf) Get() *ChallengeJsonPerf
- func (v NullableChallengeJsonPerf) IsSet() bool
- func (v NullableChallengeJsonPerf) MarshalJSON() ([]byte, error)
- func (v *NullableChallengeJsonPerf) Set(val *ChallengeJsonPerf)
- func (v *NullableChallengeJsonPerf) UnmarshalJSON(src []byte) error
- func (v *NullableChallengeJsonPerf) Unset()
- type NullableChallengeList200Response
- func (v NullableChallengeList200Response) Get() *ChallengeList200Response
- func (v NullableChallengeList200Response) IsSet() bool
- func (v NullableChallengeList200Response) MarshalJSON() ([]byte, error)
- func (v *NullableChallengeList200Response) Set(val *ChallengeList200Response)
- func (v *NullableChallengeList200Response) UnmarshalJSON(src []byte) error
- func (v *NullableChallengeList200Response) Unset()
- type NullableChallengeUser
- func (v NullableChallengeUser) Get() *ChallengeUser
- func (v NullableChallengeUser) IsSet() bool
- func (v NullableChallengeUser) MarshalJSON() ([]byte, error)
- func (v *NullableChallengeUser) Set(val *ChallengeUser)
- func (v *NullableChallengeUser) UnmarshalJSON(src []byte) error
- func (v *NullableChallengeUser) Unset()
- type NullableChatLineEvent
- func (v NullableChatLineEvent) Get() *ChatLineEvent
- func (v NullableChatLineEvent) IsSet() bool
- func (v NullableChatLineEvent) MarshalJSON() ([]byte, error)
- func (v *NullableChatLineEvent) Set(val *ChatLineEvent)
- func (v *NullableChatLineEvent) UnmarshalJSON(src []byte) error
- func (v *NullableChatLineEvent) Unset()
- type NullableClock
- type NullableCount
- type NullableError
- type NullableExternalEngine
- func (v NullableExternalEngine) Get() *ExternalEngine
- func (v NullableExternalEngine) IsSet() bool
- func (v NullableExternalEngine) MarshalJSON() ([]byte, error)
- func (v *NullableExternalEngine) Set(val *ExternalEngine)
- func (v *NullableExternalEngine) UnmarshalJSON(src []byte) error
- func (v *NullableExternalEngine) Unset()
- type NullableExternalEngineRegistration
- func (v NullableExternalEngineRegistration) Get() *ExternalEngineRegistration
- func (v NullableExternalEngineRegistration) IsSet() bool
- func (v NullableExternalEngineRegistration) MarshalJSON() ([]byte, error)
- func (v *NullableExternalEngineRegistration) Set(val *ExternalEngineRegistration)
- func (v *NullableExternalEngineRegistration) UnmarshalJSON(src []byte) error
- func (v *NullableExternalEngineRegistration) Unset()
- type NullableExternalEngineWork
- func (v NullableExternalEngineWork) Get() *ExternalEngineWork
- func (v NullableExternalEngineWork) IsSet() bool
- func (v NullableExternalEngineWork) MarshalJSON() ([]byte, error)
- func (v *NullableExternalEngineWork) Set(val *ExternalEngineWork)
- func (v *NullableExternalEngineWork) UnmarshalJSON(src []byte) error
- func (v *NullableExternalEngineWork) Unset()
- type NullableFloat32
- type NullableFloat64
- type NullableGameEventInfo
- func (v NullableGameEventInfo) Get() *GameEventInfo
- func (v NullableGameEventInfo) IsSet() bool
- func (v NullableGameEventInfo) MarshalJSON() ([]byte, error)
- func (v *NullableGameEventInfo) Set(val *GameEventInfo)
- func (v *NullableGameEventInfo) UnmarshalJSON(src []byte) error
- func (v *NullableGameEventInfo) Unset()
- type NullableGameEventInfoCompat
- func (v NullableGameEventInfoCompat) Get() *GameEventInfoCompat
- func (v NullableGameEventInfoCompat) IsSet() bool
- func (v NullableGameEventInfoCompat) MarshalJSON() ([]byte, error)
- func (v *NullableGameEventInfoCompat) Set(val *GameEventInfoCompat)
- func (v *NullableGameEventInfoCompat) UnmarshalJSON(src []byte) error
- func (v *NullableGameEventInfoCompat) Unset()
- type NullableGameEventPlayer
- func (v NullableGameEventPlayer) Get() *GameEventPlayer
- func (v NullableGameEventPlayer) IsSet() bool
- func (v NullableGameEventPlayer) MarshalJSON() ([]byte, error)
- func (v *NullableGameEventPlayer) Set(val *GameEventPlayer)
- func (v *NullableGameEventPlayer) UnmarshalJSON(src []byte) error
- func (v *NullableGameEventPlayer) Unset()
- type NullableGameFinishEvent
- func (v NullableGameFinishEvent) Get() *GameFinishEvent
- func (v NullableGameFinishEvent) IsSet() bool
- func (v NullableGameFinishEvent) MarshalJSON() ([]byte, error)
- func (v *NullableGameFinishEvent) Set(val *GameFinishEvent)
- func (v *NullableGameFinishEvent) UnmarshalJSON(src []byte) error
- func (v *NullableGameFinishEvent) Unset()
- type NullableGameFullEvent
- func (v NullableGameFullEvent) Get() *GameFullEvent
- func (v NullableGameFullEvent) IsSet() bool
- func (v NullableGameFullEvent) MarshalJSON() ([]byte, error)
- func (v *NullableGameFullEvent) Set(val *GameFullEvent)
- func (v *NullableGameFullEvent) UnmarshalJSON(src []byte) error
- func (v *NullableGameFullEvent) Unset()
- type NullableGameFullEventPerf
- func (v NullableGameFullEventPerf) Get() *GameFullEventPerf
- func (v NullableGameFullEventPerf) IsSet() bool
- func (v NullableGameFullEventPerf) MarshalJSON() ([]byte, error)
- func (v *NullableGameFullEventPerf) Set(val *GameFullEventPerf)
- func (v *NullableGameFullEventPerf) UnmarshalJSON(src []byte) error
- func (v *NullableGameFullEventPerf) Unset()
- type NullableGameJson
- type NullableGameJsonClock
- func (v NullableGameJsonClock) Get() *GameJsonClock
- func (v NullableGameJsonClock) IsSet() bool
- func (v NullableGameJsonClock) MarshalJSON() ([]byte, error)
- func (v *NullableGameJsonClock) Set(val *GameJsonClock)
- func (v *NullableGameJsonClock) UnmarshalJSON(src []byte) error
- func (v *NullableGameJsonClock) Unset()
- type NullableGameJsonOpening
- func (v NullableGameJsonOpening) Get() *GameJsonOpening
- func (v NullableGameJsonOpening) IsSet() bool
- func (v NullableGameJsonOpening) MarshalJSON() ([]byte, error)
- func (v *NullableGameJsonOpening) Set(val *GameJsonOpening)
- func (v *NullableGameJsonOpening) UnmarshalJSON(src []byte) error
- func (v *NullableGameJsonOpening) Unset()
- type NullableGameJsonPlayers
- func (v NullableGameJsonPlayers) Get() *GameJsonPlayers
- func (v NullableGameJsonPlayers) IsSet() bool
- func (v NullableGameJsonPlayers) MarshalJSON() ([]byte, error)
- func (v *NullableGameJsonPlayers) Set(val *GameJsonPlayers)
- func (v *NullableGameJsonPlayers) UnmarshalJSON(src []byte) error
- func (v *NullableGameJsonPlayers) Unset()
- type NullableGameStartEvent
- func (v NullableGameStartEvent) Get() *GameStartEvent
- func (v NullableGameStartEvent) IsSet() bool
- func (v NullableGameStartEvent) MarshalJSON() ([]byte, error)
- func (v *NullableGameStartEvent) Set(val *GameStartEvent)
- func (v *NullableGameStartEvent) UnmarshalJSON(src []byte) error
- func (v *NullableGameStartEvent) Unset()
- type NullableGameStateEvent
- func (v NullableGameStateEvent) Get() *GameStateEvent
- func (v NullableGameStateEvent) IsSet() bool
- func (v NullableGameStateEvent) MarshalJSON() ([]byte, error)
- func (v *NullableGameStateEvent) Set(val *GameStateEvent)
- func (v *NullableGameStateEvent) UnmarshalJSON(src []byte) error
- func (v *NullableGameStateEvent) Unset()
- type NullableGameStatus
- type NullableGameUser
- type NullableGameUserAnalysis
- func (v NullableGameUserAnalysis) Get() *GameUserAnalysis
- func (v NullableGameUserAnalysis) IsSet() bool
- func (v NullableGameUserAnalysis) MarshalJSON() ([]byte, error)
- func (v *NullableGameUserAnalysis) Set(val *GameUserAnalysis)
- func (v *NullableGameUserAnalysis) UnmarshalJSON(src []byte) error
- func (v *NullableGameUserAnalysis) Unset()
- type NullableInt
- type NullableInt32
- type NullableInt64
- type NullableLightUser
- type NullableMove
- type NullableNotFound
- type NullableOAuthError
- type NullableOk
- type NullableOpponentGone
- func (v NullableOpponentGone) Get() *OpponentGone
- func (v NullableOpponentGone) IsSet() bool
- func (v NullableOpponentGone) MarshalJSON() ([]byte, error)
- func (v *NullableOpponentGone) Set(val *OpponentGone)
- func (v *NullableOpponentGone) UnmarshalJSON(src []byte) error
- func (v *NullableOpponentGone) Unset()
- type NullablePerf
- type NullablePerfType
- type NullablePerfs
- type NullablePlayTime
- type NullableProfile
- type NullablePuzzleRoundJson
- func (v NullablePuzzleRoundJson) Get() *PuzzleRoundJson
- func (v NullablePuzzleRoundJson) IsSet() bool
- func (v NullablePuzzleRoundJson) MarshalJSON() ([]byte, error)
- func (v *NullablePuzzleRoundJson) Set(val *PuzzleRoundJson)
- func (v *NullablePuzzleRoundJson) UnmarshalJSON(src []byte) error
- func (v *NullablePuzzleRoundJson) Unset()
- type NullableSpeed
- type NullableStormPerf
- type NullableString
- type NullableSwissUnauthorisedEdit
- func (v NullableSwissUnauthorisedEdit) Get() *SwissUnauthorisedEdit
- func (v NullableSwissUnauthorisedEdit) IsSet() bool
- func (v NullableSwissUnauthorisedEdit) MarshalJSON() ([]byte, error)
- func (v *NullableSwissUnauthorisedEdit) Set(val *SwissUnauthorisedEdit)
- func (v *NullableSwissUnauthorisedEdit) UnmarshalJSON(src []byte) error
- func (v *NullableSwissUnauthorisedEdit) Unset()
- type NullableTablebaseJson
- func (v NullableTablebaseJson) Get() *TablebaseJson
- func (v NullableTablebaseJson) IsSet() bool
- func (v NullableTablebaseJson) MarshalJSON() ([]byte, error)
- func (v *NullableTablebaseJson) Set(val *TablebaseJson)
- func (v *NullableTablebaseJson) UnmarshalJSON(src []byte) error
- func (v *NullableTablebaseJson) Unset()
- type NullableTeam
- type NullableTeamAll200Response
- func (v NullableTeamAll200Response) Get() *TeamAll200Response
- func (v NullableTeamAll200Response) IsSet() bool
- func (v NullableTeamAll200Response) MarshalJSON() ([]byte, error)
- func (v *NullableTeamAll200Response) Set(val *TeamAll200Response)
- func (v *NullableTeamAll200Response) UnmarshalJSON(src []byte) error
- func (v *NullableTeamAll200Response) Unset()
- type NullableTeamRequest
- func (v NullableTeamRequest) Get() *TeamRequest
- func (v NullableTeamRequest) IsSet() bool
- func (v NullableTeamRequest) MarshalJSON() ([]byte, error)
- func (v *NullableTeamRequest) Set(val *TeamRequest)
- func (v *NullableTeamRequest) UnmarshalJSON(src []byte) error
- func (v *NullableTeamRequest) Unset()
- type NullableTeamRequestWithUser
- func (v NullableTeamRequestWithUser) Get() *TeamRequestWithUser
- func (v NullableTeamRequestWithUser) IsSet() bool
- func (v NullableTeamRequestWithUser) MarshalJSON() ([]byte, error)
- func (v *NullableTeamRequestWithUser) Set(val *TeamRequestWithUser)
- func (v *NullableTeamRequestWithUser) UnmarshalJSON(src []byte) error
- func (v *NullableTeamRequestWithUser) Unset()
- type NullableTime
- type NullableTitle
- type NullableUciVariant
- type NullableUser
- type NullableUserPreferences
- func (v NullableUserPreferences) Get() *UserPreferences
- func (v NullableUserPreferences) IsSet() bool
- func (v NullableUserPreferences) MarshalJSON() ([]byte, error)
- func (v *NullableUserPreferences) Set(val *UserPreferences)
- func (v *NullableUserPreferences) UnmarshalJSON(src []byte) error
- func (v *NullableUserPreferences) Unset()
- type NullableVariant
- type NullableVariantKey
- type OAuthApiService
- func (a *OAuthApiService) ApiToken(ctx context.Context) ApiApiTokenRequest
- func (a *OAuthApiService) ApiTokenDelete(ctx context.Context) ApiApiTokenDeleteRequest
- func (a *OAuthApiService) ApiTokenDeleteExecute(r ApiApiTokenDeleteRequest) (*http.Response, error)
- func (a *OAuthApiService) ApiTokenExecute(r ApiApiTokenRequest) (*http.Response, error)
- func (a *OAuthApiService) Oauth(ctx context.Context) ApiOauthRequest
- func (a *OAuthApiService) OauthExecute(r ApiOauthRequest) (*http.Response, error)
- func (a *OAuthApiService) TokenTest(ctx context.Context) ApiTokenTestRequest
- func (a *OAuthApiService) TokenTestExecute(r ApiTokenTestRequest) ([]map[string]interface{}, *http.Response, error)
- type OAuthError
- func (o *OAuthError) GetError() interface{}
- func (o *OAuthError) GetErrorDescription() interface{}
- func (o *OAuthError) GetErrorDescriptionOk() (*interface{}, bool)
- func (o *OAuthError) GetErrorOk() (*interface{}, bool)
- func (o *OAuthError) HasError() bool
- func (o *OAuthError) HasErrorDescription() bool
- func (o OAuthError) MarshalJSON() ([]byte, error)
- func (o *OAuthError) SetError(v interface{})
- func (o *OAuthError) SetErrorDescription(v interface{})
- type Ok
- type OpeningExplorerApiService
- func (a *OpeningExplorerApiService) OpeningExplorerLichess(ctx context.Context) ApiOpeningExplorerLichessRequest
- func (a *OpeningExplorerApiService) OpeningExplorerLichessExecute(r ApiOpeningExplorerLichessRequest) (interface{}, *http.Response, error)
- func (a *OpeningExplorerApiService) OpeningExplorerLichessHistory(ctx context.Context) ApiOpeningExplorerLichessHistoryRequest
- func (a *OpeningExplorerApiService) OpeningExplorerLichessHistoryExecute(r ApiOpeningExplorerLichessHistoryRequest) (interface{}, *http.Response, error)
- func (a *OpeningExplorerApiService) OpeningExplorerMaster(ctx context.Context) ApiOpeningExplorerMasterRequest
- func (a *OpeningExplorerApiService) OpeningExplorerMasterExecute(r ApiOpeningExplorerMasterRequest) (interface{}, *http.Response, error)
- func (a *OpeningExplorerApiService) OpeningExplorerMasterGame(ctx context.Context, gameId interface{}) ApiOpeningExplorerMasterGameRequest
- func (a *OpeningExplorerApiService) OpeningExplorerMasterGameExecute(r ApiOpeningExplorerMasterGameRequest) (interface{}, *http.Response, error)
- func (a *OpeningExplorerApiService) OpeningExplorerPlayer(ctx context.Context) ApiOpeningExplorerPlayerRequest
- func (a *OpeningExplorerApiService) OpeningExplorerPlayerExecute(r ApiOpeningExplorerPlayerRequest) (interface{}, *http.Response, error)
- type OpponentGone
- func (o *OpponentGone) GetClaimWinInSeconds() interface{}
- func (o *OpponentGone) GetClaimWinInSecondsOk() (*interface{}, bool)
- func (o *OpponentGone) GetGone() interface{}
- func (o *OpponentGone) GetGoneOk() (*interface{}, bool)
- func (o *OpponentGone) GetType() interface{}
- func (o *OpponentGone) GetTypeOk() (*interface{}, bool)
- func (o *OpponentGone) HasClaimWinInSeconds() bool
- func (o OpponentGone) MarshalJSON() ([]byte, error)
- func (o *OpponentGone) SetClaimWinInSeconds(v interface{})
- func (o *OpponentGone) SetGone(v interface{})
- func (o *OpponentGone) SetType(v interface{})
- type Perf
- func (o *Perf) GetGames() interface{}
- func (o *Perf) GetGamesOk() (*interface{}, bool)
- func (o *Perf) GetProg() interface{}
- func (o *Perf) GetProgOk() (*interface{}, bool)
- func (o *Perf) GetProv() interface{}
- func (o *Perf) GetProvOk() (*interface{}, bool)
- func (o *Perf) GetRating() interface{}
- func (o *Perf) GetRatingOk() (*interface{}, bool)
- func (o *Perf) GetRd() interface{}
- func (o *Perf) GetRdOk() (*interface{}, bool)
- func (o *Perf) HasGames() bool
- func (o *Perf) HasProg() bool
- func (o *Perf) HasProv() bool
- func (o *Perf) HasRating() bool
- func (o *Perf) HasRd() bool
- func (o Perf) MarshalJSON() ([]byte, error)
- func (o *Perf) SetGames(v interface{})
- func (o *Perf) SetProg(v interface{})
- func (o *Perf) SetProv(v interface{})
- func (o *Perf) SetRating(v interface{})
- func (o *Perf) SetRd(v interface{})
- type PerfType
- type Perfs
- func (o *Perfs) GetAtomic() Perf
- func (o *Perfs) GetAtomicOk() (*Perf, bool)
- func (o *Perfs) GetBlitz() Perf
- func (o *Perfs) GetBlitzOk() (*Perf, bool)
- func (o *Perfs) GetBullet() Perf
- func (o *Perfs) GetBulletOk() (*Perf, bool)
- func (o *Perfs) GetChess960() Perf
- func (o *Perfs) GetChess960Ok() (*Perf, bool)
- func (o *Perfs) GetClassical() Perf
- func (o *Perfs) GetClassicalOk() (*Perf, bool)
- func (o *Perfs) GetCorrespondence() Perf
- func (o *Perfs) GetCorrespondenceOk() (*Perf, bool)
- func (o *Perfs) GetHorde() Perf
- func (o *Perfs) GetHordeOk() (*Perf, bool)
- func (o *Perfs) GetKingOfTheHill() Perf
- func (o *Perfs) GetKingOfTheHillOk() (*Perf, bool)
- func (o *Perfs) GetPuzzle() Perf
- func (o *Perfs) GetPuzzleOk() (*Perf, bool)
- func (o *Perfs) GetRacingKings() Perf
- func (o *Perfs) GetRacingKingsOk() (*Perf, bool)
- func (o *Perfs) GetRapid() Perf
- func (o *Perfs) GetRapidOk() (*Perf, bool)
- func (o *Perfs) GetStorm() StormPerf
- func (o *Perfs) GetStormOk() (*StormPerf, bool)
- func (o *Perfs) GetUltraBullet() Perf
- func (o *Perfs) GetUltraBulletOk() (*Perf, bool)
- func (o *Perfs) HasAtomic() bool
- func (o *Perfs) HasBlitz() bool
- func (o *Perfs) HasBullet() bool
- func (o *Perfs) HasChess960() bool
- func (o *Perfs) HasClassical() bool
- func (o *Perfs) HasCorrespondence() bool
- func (o *Perfs) HasHorde() bool
- func (o *Perfs) HasKingOfTheHill() bool
- func (o *Perfs) HasPuzzle() bool
- func (o *Perfs) HasRacingKings() bool
- func (o *Perfs) HasRapid() bool
- func (o *Perfs) HasStorm() bool
- func (o *Perfs) HasUltraBullet() bool
- func (o Perfs) MarshalJSON() ([]byte, error)
- func (o *Perfs) SetAtomic(v Perf)
- func (o *Perfs) SetBlitz(v Perf)
- func (o *Perfs) SetBullet(v Perf)
- func (o *Perfs) SetChess960(v Perf)
- func (o *Perfs) SetClassical(v Perf)
- func (o *Perfs) SetCorrespondence(v Perf)
- func (o *Perfs) SetHorde(v Perf)
- func (o *Perfs) SetKingOfTheHill(v Perf)
- func (o *Perfs) SetPuzzle(v Perf)
- func (o *Perfs) SetRacingKings(v Perf)
- func (o *Perfs) SetRapid(v Perf)
- func (o *Perfs) SetStorm(v StormPerf)
- func (o *Perfs) SetUltraBullet(v Perf)
- type PlayTime
- func (o *PlayTime) GetTotal() interface{}
- func (o *PlayTime) GetTotalOk() (*interface{}, bool)
- func (o *PlayTime) GetTv() interface{}
- func (o *PlayTime) GetTvOk() (*interface{}, bool)
- func (o *PlayTime) HasTotal() bool
- func (o *PlayTime) HasTv() bool
- func (o PlayTime) MarshalJSON() ([]byte, error)
- func (o *PlayTime) SetTotal(v interface{})
- func (o *PlayTime) SetTv(v interface{})
- type Profile
- func (o *Profile) GetBio() interface{}
- func (o *Profile) GetBioOk() (*interface{}, bool)
- func (o *Profile) GetCountry() interface{}
- func (o *Profile) GetCountryOk() (*interface{}, bool)
- func (o *Profile) GetEcfRating() interface{}
- func (o *Profile) GetEcfRatingOk() (*interface{}, bool)
- func (o *Profile) GetFideRating() interface{}
- func (o *Profile) GetFideRatingOk() (*interface{}, bool)
- func (o *Profile) GetFirstName() interface{}
- func (o *Profile) GetFirstNameOk() (*interface{}, bool)
- func (o *Profile) GetLastName() interface{}
- func (o *Profile) GetLastNameOk() (*interface{}, bool)
- func (o *Profile) GetLinks() interface{}
- func (o *Profile) GetLinksOk() (*interface{}, bool)
- func (o *Profile) GetLocation() interface{}
- func (o *Profile) GetLocationOk() (*interface{}, bool)
- func (o *Profile) GetUscfRating() interface{}
- func (o *Profile) GetUscfRatingOk() (*interface{}, bool)
- func (o *Profile) HasBio() bool
- func (o *Profile) HasCountry() bool
- func (o *Profile) HasEcfRating() bool
- func (o *Profile) HasFideRating() bool
- func (o *Profile) HasFirstName() bool
- func (o *Profile) HasLastName() bool
- func (o *Profile) HasLinks() bool
- func (o *Profile) HasLocation() bool
- func (o *Profile) HasUscfRating() bool
- func (o Profile) MarshalJSON() ([]byte, error)
- func (o *Profile) SetBio(v interface{})
- func (o *Profile) SetCountry(v interface{})
- func (o *Profile) SetEcfRating(v interface{})
- func (o *Profile) SetFideRating(v interface{})
- func (o *Profile) SetFirstName(v interface{})
- func (o *Profile) SetLastName(v interface{})
- func (o *Profile) SetLinks(v interface{})
- func (o *Profile) SetLocation(v interface{})
- func (o *Profile) SetUscfRating(v interface{})
- type PuzzleRoundJson
- func (o *PuzzleRoundJson) GetDate() interface{}
- func (o *PuzzleRoundJson) GetDateOk() (*interface{}, bool)
- func (o *PuzzleRoundJson) GetId() interface{}
- func (o *PuzzleRoundJson) GetIdOk() (*interface{}, bool)
- func (o *PuzzleRoundJson) GetPuzzleRating() interface{}
- func (o *PuzzleRoundJson) GetPuzzleRatingOk() (*interface{}, bool)
- func (o *PuzzleRoundJson) GetWin() interface{}
- func (o *PuzzleRoundJson) GetWinOk() (*interface{}, bool)
- func (o *PuzzleRoundJson) HasDate() bool
- func (o *PuzzleRoundJson) HasId() bool
- func (o *PuzzleRoundJson) HasPuzzleRating() bool
- func (o *PuzzleRoundJson) HasWin() bool
- func (o PuzzleRoundJson) MarshalJSON() ([]byte, error)
- func (o *PuzzleRoundJson) SetDate(v interface{})
- func (o *PuzzleRoundJson) SetId(v interface{})
- func (o *PuzzleRoundJson) SetPuzzleRating(v interface{})
- func (o *PuzzleRoundJson) SetWin(v interface{})
- type PuzzlesApiService
- func (a *PuzzlesApiService) ApiPuzzleActivity(ctx context.Context) ApiApiPuzzleActivityRequest
- func (a *PuzzlesApiService) ApiPuzzleActivityExecute(r ApiApiPuzzleActivityRequest) (*PuzzleRoundJson, *http.Response, error)
- func (a *PuzzlesApiService) ApiPuzzleDaily(ctx context.Context) ApiApiPuzzleDailyRequest
- func (a *PuzzlesApiService) ApiPuzzleDailyExecute(r ApiApiPuzzleDailyRequest) (interface{}, *http.Response, error)
- func (a *PuzzlesApiService) ApiPuzzleDashboard(ctx context.Context, days interface{}) ApiApiPuzzleDashboardRequest
- func (a *PuzzlesApiService) ApiPuzzleDashboardExecute(r ApiApiPuzzleDashboardRequest) (interface{}, *http.Response, error)
- func (a *PuzzlesApiService) ApiPuzzleId(ctx context.Context, id interface{}) ApiApiPuzzleIdRequest
- func (a *PuzzlesApiService) ApiPuzzleIdExecute(r ApiApiPuzzleIdRequest) (interface{}, *http.Response, error)
- func (a *PuzzlesApiService) ApiStormDashboard(ctx context.Context, username interface{}) ApiApiStormDashboardRequest
- func (a *PuzzlesApiService) ApiStormDashboardExecute(r ApiApiStormDashboardRequest) (interface{}, *http.Response, error)
- func (a *PuzzlesApiService) RacerPost(ctx context.Context) ApiRacerPostRequest
- func (a *PuzzlesApiService) RacerPostExecute(r ApiRacerPostRequest) (interface{}, *http.Response, error)
- type RelationsApiService
- func (a *RelationsApiService) ApiUserFollowing(ctx context.Context) ApiApiUserFollowingRequest
- func (a *RelationsApiService) ApiUserFollowingExecute(r ApiApiUserFollowingRequest) (interface{}, *http.Response, error)
- func (a *RelationsApiService) FollowUser(ctx context.Context, username interface{}) ApiFollowUserRequest
- func (a *RelationsApiService) FollowUserExecute(r ApiFollowUserRequest) (*Ok, *http.Response, error)
- func (a *RelationsApiService) UnfollowUser(ctx context.Context, username interface{}) ApiUnfollowUserRequest
- func (a *RelationsApiService) UnfollowUserExecute(r ApiUnfollowUserRequest) (*Ok, *http.Response, error)
- type ServerConfiguration
- type ServerConfigurations
- type ServerVariable
- type SimulsApiService
- type Speed
- type StormPerf
- func (o *StormPerf) GetRuns() interface{}
- func (o *StormPerf) GetRunsOk() (*interface{}, bool)
- func (o *StormPerf) GetScore() interface{}
- func (o *StormPerf) GetScoreOk() (*interface{}, bool)
- func (o *StormPerf) HasRuns() bool
- func (o *StormPerf) HasScore() bool
- func (o StormPerf) MarshalJSON() ([]byte, error)
- func (o *StormPerf) SetRuns(v interface{})
- func (o *StormPerf) SetScore(v interface{})
- type StudiesApiService
- func (a *StudiesApiService) StudyAllChaptersPgn(ctx context.Context, studyId interface{}) ApiStudyAllChaptersPgnRequest
- func (a *StudiesApiService) StudyAllChaptersPgnExecute(r ApiStudyAllChaptersPgnRequest) (interface{}, *http.Response, error)
- func (a *StudiesApiService) StudyChapterPgn(ctx context.Context, studyId interface{}, chapterId interface{}) ApiStudyChapterPgnRequest
- func (a *StudiesApiService) StudyChapterPgnExecute(r ApiStudyChapterPgnRequest) (interface{}, *http.Response, error)
- func (a *StudiesApiService) StudyExportAllPgn(ctx context.Context, username interface{}) ApiStudyExportAllPgnRequest
- func (a *StudiesApiService) StudyExportAllPgnExecute(r ApiStudyExportAllPgnRequest) (interface{}, *http.Response, error)
- type SwissApiTeamSwissRequest
- type SwissTournamentsApiService
- func (a *SwissTournamentsApiService) ApiSwissJoin(ctx context.Context, id interface{}) ApiApiSwissJoinRequest
- func (a *SwissTournamentsApiService) ApiSwissJoinExecute(r ApiApiSwissJoinRequest) (*Ok, *http.Response, error)
- func (a *SwissTournamentsApiService) ApiSwissNew(ctx context.Context, teamId interface{}) ApiApiSwissNewRequest
- func (a *SwissTournamentsApiService) ApiSwissNewExecute(r ApiApiSwissNewRequest) (interface{}, *http.Response, error)
- func (a *SwissTournamentsApiService) ApiSwissTerminate(ctx context.Context, id interface{}) ApiApiSwissTerminateRequest
- func (a *SwissTournamentsApiService) ApiSwissTerminateExecute(r ApiApiSwissTerminateRequest) (*Ok, *http.Response, error)
- func (a *SwissTournamentsApiService) ApiSwissUpdate(ctx context.Context, id interface{}) ApiApiSwissUpdateRequest
- func (a *SwissTournamentsApiService) ApiSwissUpdateExecute(r ApiApiSwissUpdateRequest) (interface{}, *http.Response, error)
- func (a *SwissTournamentsApiService) ApiSwissWithdraw(ctx context.Context, id interface{}) ApiApiSwissWithdrawRequest
- func (a *SwissTournamentsApiService) ApiSwissWithdrawExecute(r ApiApiSwissWithdrawRequest) (*Ok, *http.Response, error)
- func (a *SwissTournamentsApiService) ApiTeamSwiss(ctx context.Context, teamId interface{}) SwissApiTeamSwissRequest
- func (a *SwissTournamentsApiService) ApiTeamSwissExecute(r SwissApiTeamSwissRequest) (interface{}, *http.Response, error)
- func (a *SwissTournamentsApiService) GamesBySwiss(ctx context.Context, id interface{}) ApiGamesBySwissRequest
- func (a *SwissTournamentsApiService) GamesBySwissExecute(r ApiGamesBySwissRequest) (interface{}, *http.Response, error)
- func (a *SwissTournamentsApiService) ResultsBySwiss(ctx context.Context, id interface{}) ApiResultsBySwissRequest
- func (a *SwissTournamentsApiService) ResultsBySwissExecute(r ApiResultsBySwissRequest) (interface{}, *http.Response, error)
- func (a *SwissTournamentsApiService) Swiss(ctx context.Context, id interface{}) ApiSwissRequest
- func (a *SwissTournamentsApiService) SwissExecute(r ApiSwissRequest) (interface{}, *http.Response, error)
- func (a *SwissTournamentsApiService) SwissTrf(ctx context.Context, id interface{}) ApiSwissTrfRequest
- func (a *SwissTournamentsApiService) SwissTrfExecute(r ApiSwissTrfRequest) (interface{}, *http.Response, error)
- type SwissUnauthorisedEdit
- type TVApiService
- func (a *TVApiService) TvChannelGames(ctx context.Context, channel interface{}) ApiTvChannelGamesRequest
- func (a *TVApiService) TvChannelGamesExecute(r ApiTvChannelGamesRequest) (interface{}, *http.Response, error)
- func (a *TVApiService) TvChannels(ctx context.Context) ApiTvChannelsRequest
- func (a *TVApiService) TvChannelsExecute(r ApiTvChannelsRequest) (interface{}, *http.Response, error)
- func (a *TVApiService) TvFeed(ctx context.Context) ApiTvFeedRequest
- func (a *TVApiService) TvFeedExecute(r ApiTvFeedRequest) (interface{}, *http.Response, error)
- type TablebaseApiService
- func (a *TablebaseApiService) AntichessAtomic(ctx context.Context) ApiAntichessAtomicRequest
- func (a *TablebaseApiService) AntichessAtomicExecute(r ApiAntichessAtomicRequest) (interface{}, *http.Response, error)
- func (a *TablebaseApiService) TablebaseAtomic(ctx context.Context) ApiTablebaseAtomicRequest
- func (a *TablebaseApiService) TablebaseAtomicExecute(r ApiTablebaseAtomicRequest) (interface{}, *http.Response, error)
- func (a *TablebaseApiService) TablebaseStandard(ctx context.Context) ApiTablebaseStandardRequest
- func (a *TablebaseApiService) TablebaseStandardExecute(r ApiTablebaseStandardRequest) (*TablebaseJson, *http.Response, error)
- type TablebaseJson
- func (o *TablebaseJson) GetCategory() interface{}
- func (o *TablebaseJson) GetCategoryOk() (*interface{}, bool)
- func (o *TablebaseJson) GetCheckmate() interface{}
- func (o *TablebaseJson) GetCheckmateOk() (*interface{}, bool)
- func (o *TablebaseJson) GetDtm() interface{}
- func (o *TablebaseJson) GetDtmOk() (*interface{}, bool)
- func (o *TablebaseJson) GetDtz() interface{}
- func (o *TablebaseJson) GetDtzOk() (*interface{}, bool)
- func (o *TablebaseJson) GetInsufficientMaterial() interface{}
- func (o *TablebaseJson) GetInsufficientMaterialOk() (*interface{}, bool)
- func (o *TablebaseJson) GetMoves() interface{}
- func (o *TablebaseJson) GetMovesOk() (*interface{}, bool)
- func (o *TablebaseJson) GetPreciseDtz() interface{}
- func (o *TablebaseJson) GetPreciseDtzOk() (*interface{}, bool)
- func (o *TablebaseJson) GetStalemate() interface{}
- func (o *TablebaseJson) GetStalemateOk() (*interface{}, bool)
- func (o *TablebaseJson) GetVariantLoss() interface{}
- func (o *TablebaseJson) GetVariantLossOk() (*interface{}, bool)
- func (o *TablebaseJson) GetVariantWin() interface{}
- func (o *TablebaseJson) GetVariantWinOk() (*interface{}, bool)
- func (o *TablebaseJson) HasCategory() bool
- func (o *TablebaseJson) HasCheckmate() bool
- func (o *TablebaseJson) HasDtm() bool
- func (o *TablebaseJson) HasDtz() bool
- func (o *TablebaseJson) HasInsufficientMaterial() bool
- func (o *TablebaseJson) HasMoves() bool
- func (o *TablebaseJson) HasPreciseDtz() bool
- func (o *TablebaseJson) HasStalemate() bool
- func (o *TablebaseJson) HasVariantLoss() bool
- func (o *TablebaseJson) HasVariantWin() bool
- func (o TablebaseJson) MarshalJSON() ([]byte, error)
- func (o *TablebaseJson) SetCategory(v interface{})
- func (o *TablebaseJson) SetCheckmate(v interface{})
- func (o *TablebaseJson) SetDtm(v interface{})
- func (o *TablebaseJson) SetDtz(v interface{})
- func (o *TablebaseJson) SetInsufficientMaterial(v interface{})
- func (o *TablebaseJson) SetMoves(v interface{})
- func (o *TablebaseJson) SetPreciseDtz(v interface{})
- func (o *TablebaseJson) SetStalemate(v interface{})
- func (o *TablebaseJson) SetVariantLoss(v interface{})
- func (o *TablebaseJson) SetVariantWin(v interface{})
- type Team
- func (o *Team) GetDescription() interface{}
- func (o *Team) GetDescriptionOk() (*interface{}, bool)
- func (o *Team) GetId() interface{}
- func (o *Team) GetIdOk() (*interface{}, bool)
- func (o *Team) GetLeader() LightUser
- func (o *Team) GetLeaderOk() (*LightUser, bool)
- func (o *Team) GetLeaders() interface{}
- func (o *Team) GetLeadersOk() (*interface{}, bool)
- func (o *Team) GetLocation() interface{}
- func (o *Team) GetLocationOk() (*interface{}, bool)
- func (o *Team) GetName() interface{}
- func (o *Team) GetNameOk() (*interface{}, bool)
- func (o *Team) GetNbMembers() interface{}
- func (o *Team) GetNbMembersOk() (*interface{}, bool)
- func (o *Team) GetOpen() interface{}
- func (o *Team) GetOpenOk() (*interface{}, bool)
- func (o *Team) HasDescription() bool
- func (o *Team) HasId() bool
- func (o *Team) HasLeader() bool
- func (o *Team) HasLeaders() bool
- func (o *Team) HasLocation() bool
- func (o *Team) HasName() bool
- func (o *Team) HasNbMembers() bool
- func (o *Team) HasOpen() bool
- func (o Team) MarshalJSON() ([]byte, error)
- func (o *Team) SetDescription(v interface{})
- func (o *Team) SetId(v interface{})
- func (o *Team) SetLeader(v LightUser)
- func (o *Team) SetLeaders(v interface{})
- func (o *Team) SetLocation(v interface{})
- func (o *Team) SetName(v interface{})
- func (o *Team) SetNbMembers(v interface{})
- func (o *Team) SetOpen(v interface{})
- type TeamAll200Response
- func (o *TeamAll200Response) GetCurrentPage() interface{}
- func (o *TeamAll200Response) GetCurrentPageOk() (*interface{}, bool)
- func (o *TeamAll200Response) GetCurrentPageResults() []Team
- func (o *TeamAll200Response) GetCurrentPageResultsOk() ([]Team, bool)
- func (o *TeamAll200Response) GetMaxPerPage() interface{}
- func (o *TeamAll200Response) GetMaxPerPageOk() (*interface{}, bool)
- func (o *TeamAll200Response) GetNbPages() interface{}
- func (o *TeamAll200Response) GetNbPagesOk() (*interface{}, bool)
- func (o *TeamAll200Response) GetNbResults() interface{}
- func (o *TeamAll200Response) GetNbResultsOk() (*interface{}, bool)
- func (o *TeamAll200Response) GetNextPage() interface{}
- func (o *TeamAll200Response) GetNextPageOk() (*interface{}, bool)
- func (o *TeamAll200Response) GetPreviousPage() interface{}
- func (o *TeamAll200Response) GetPreviousPageOk() (*interface{}, bool)
- func (o *TeamAll200Response) HasCurrentPage() bool
- func (o *TeamAll200Response) HasCurrentPageResults() bool
- func (o *TeamAll200Response) HasMaxPerPage() bool
- func (o *TeamAll200Response) HasNbPages() bool
- func (o *TeamAll200Response) HasNbResults() bool
- func (o *TeamAll200Response) HasNextPage() bool
- func (o *TeamAll200Response) HasPreviousPage() bool
- func (o TeamAll200Response) MarshalJSON() ([]byte, error)
- func (o *TeamAll200Response) SetCurrentPage(v interface{})
- func (o *TeamAll200Response) SetCurrentPageResults(v []Team)
- func (o *TeamAll200Response) SetMaxPerPage(v interface{})
- func (o *TeamAll200Response) SetNbPages(v interface{})
- func (o *TeamAll200Response) SetNbResults(v interface{})
- func (o *TeamAll200Response) SetNextPage(v interface{})
- func (o *TeamAll200Response) SetPreviousPage(v interface{})
- type TeamRequest
- func (o *TeamRequest) GetDate() interface{}
- func (o *TeamRequest) GetDateOk() (*interface{}, bool)
- func (o *TeamRequest) GetMessage() interface{}
- func (o *TeamRequest) GetMessageOk() (*interface{}, bool)
- func (o *TeamRequest) GetTeamId() interface{}
- func (o *TeamRequest) GetTeamIdOk() (*interface{}, bool)
- func (o *TeamRequest) GetUserId() interface{}
- func (o *TeamRequest) GetUserIdOk() (*interface{}, bool)
- func (o *TeamRequest) HasDate() bool
- func (o *TeamRequest) HasMessage() bool
- func (o *TeamRequest) HasTeamId() bool
- func (o *TeamRequest) HasUserId() bool
- func (o TeamRequest) MarshalJSON() ([]byte, error)
- func (o *TeamRequest) SetDate(v interface{})
- func (o *TeamRequest) SetMessage(v interface{})
- func (o *TeamRequest) SetTeamId(v interface{})
- func (o *TeamRequest) SetUserId(v interface{})
- type TeamRequestWithUser
- func (o *TeamRequestWithUser) GetRequest() TeamRequest
- func (o *TeamRequestWithUser) GetRequestOk() (*TeamRequest, bool)
- func (o *TeamRequestWithUser) GetUser() User
- func (o *TeamRequestWithUser) GetUserOk() (*User, bool)
- func (o *TeamRequestWithUser) HasRequest() bool
- func (o *TeamRequestWithUser) HasUser() bool
- func (o TeamRequestWithUser) MarshalJSON() ([]byte, error)
- func (o *TeamRequestWithUser) SetRequest(v TeamRequest)
- func (o *TeamRequestWithUser) SetUser(v User)
- type TeamsApiService
- func (a *TeamsApiService) ApiTeamArena(ctx context.Context, teamId interface{}) TeamsApiTeamArenaRequest
- func (a *TeamsApiService) ApiTeamArenaExecute(r TeamsApiTeamArenaRequest) (interface{}, *http.Response, error)
- func (a *TeamsApiService) ApiTeamSwiss(ctx context.Context, teamId interface{}) TeamsApiTeamSwissRequest
- func (a *TeamsApiService) ApiTeamSwissExecute(r TeamsApiTeamSwissRequest) (interface{}, *http.Response, error)
- func (a *TeamsApiService) TeamAll(ctx context.Context) ApiTeamAllRequest
- func (a *TeamsApiService) TeamAllExecute(r ApiTeamAllRequest) (*TeamAll200Response, *http.Response, error)
- func (a *TeamsApiService) TeamIdJoin(ctx context.Context, teamId interface{}) ApiTeamIdJoinRequest
- func (a *TeamsApiService) TeamIdJoinExecute(r ApiTeamIdJoinRequest) (*Ok, *http.Response, error)
- func (a *TeamsApiService) TeamIdKickUserId(ctx context.Context, teamId interface{}, userId interface{}) ApiTeamIdKickUserIdRequest
- func (a *TeamsApiService) TeamIdKickUserIdExecute(r ApiTeamIdKickUserIdRequest) (*Ok, *http.Response, error)
- func (a *TeamsApiService) TeamIdPmAll(ctx context.Context, teamId interface{}) ApiTeamIdPmAllRequest
- func (a *TeamsApiService) TeamIdPmAllExecute(r ApiTeamIdPmAllRequest) (*Ok, *http.Response, error)
- func (a *TeamsApiService) TeamIdQuit(ctx context.Context, teamId interface{}) ApiTeamIdQuitRequest
- func (a *TeamsApiService) TeamIdQuitExecute(r ApiTeamIdQuitRequest) (*Ok, *http.Response, error)
- func (a *TeamsApiService) TeamIdUsers(ctx context.Context, teamId interface{}) TeamsApiTeamIdUsersRequest
- func (a *TeamsApiService) TeamIdUsersExecute(r TeamsApiTeamIdUsersRequest) (interface{}, *http.Response, error)
- func (a *TeamsApiService) TeamOfUsername(ctx context.Context, username interface{}) ApiTeamOfUsernameRequest
- func (a *TeamsApiService) TeamOfUsernameExecute(r ApiTeamOfUsernameRequest) (interface{}, *http.Response, error)
- func (a *TeamsApiService) TeamRequestAccept(ctx context.Context, teamId interface{}, userId interface{}) ApiTeamRequestAcceptRequest
- func (a *TeamsApiService) TeamRequestAcceptExecute(r ApiTeamRequestAcceptRequest) (*Ok, *http.Response, error)
- func (a *TeamsApiService) TeamRequestDecline(ctx context.Context, teamId interface{}, userId interface{}) ApiTeamRequestDeclineRequest
- func (a *TeamsApiService) TeamRequestDeclineExecute(r ApiTeamRequestDeclineRequest) (*Ok, *http.Response, error)
- func (a *TeamsApiService) TeamRequests(ctx context.Context, teamId interface{}) ApiTeamRequestsRequest
- func (a *TeamsApiService) TeamRequestsExecute(r ApiTeamRequestsRequest) ([]TeamRequestWithUser, *http.Response, error)
- func (a *TeamsApiService) TeamSearch(ctx context.Context) ApiTeamSearchRequest
- func (a *TeamsApiService) TeamSearchExecute(r ApiTeamSearchRequest) (interface{}, *http.Response, error)
- func (a *TeamsApiService) TeamShow(ctx context.Context, teamId interface{}) ApiTeamShowRequest
- func (a *TeamsApiService) TeamShowExecute(r ApiTeamShowRequest) (*Team, *http.Response, error)
- type TeamsApiTeamArenaRequest
- type TeamsApiTeamIdUsersRequest
- type TeamsApiTeamSwissRequest
- type Title
- type UciVariant
- type User
- func (o *User) GetCreatedAt() interface{}
- func (o *User) GetCreatedAtOk() (*interface{}, bool)
- func (o *User) GetDisabled() interface{}
- func (o *User) GetDisabledOk() (*interface{}, bool)
- func (o *User) GetId() interface{}
- func (o *User) GetIdOk() (*interface{}, bool)
- func (o *User) GetPatron() interface{}
- func (o *User) GetPatronOk() (*interface{}, bool)
- func (o *User) GetPerfs() Perfs
- func (o *User) GetPerfsOk() (*Perfs, bool)
- func (o *User) GetPlayTime() PlayTime
- func (o *User) GetPlayTimeOk() (*PlayTime, bool)
- func (o *User) GetProfile() Profile
- func (o *User) GetProfileOk() (*Profile, bool)
- func (o *User) GetSeenAt() interface{}
- func (o *User) GetSeenAtOk() (*interface{}, bool)
- func (o *User) GetTitle() Title
- func (o *User) GetTitleOk() (*Title, bool)
- func (o *User) GetTosViolation() interface{}
- func (o *User) GetTosViolationOk() (*interface{}, bool)
- func (o *User) GetUsername() interface{}
- func (o *User) GetUsernameOk() (*interface{}, bool)
- func (o *User) GetVerified() interface{}
- func (o *User) GetVerifiedOk() (*interface{}, bool)
- func (o *User) HasCreatedAt() bool
- func (o *User) HasDisabled() bool
- func (o *User) HasId() bool
- func (o *User) HasPatron() bool
- func (o *User) HasPerfs() bool
- func (o *User) HasPlayTime() bool
- func (o *User) HasProfile() bool
- func (o *User) HasSeenAt() bool
- func (o *User) HasTitle() bool
- func (o *User) HasTosViolation() bool
- func (o *User) HasUsername() bool
- func (o *User) HasVerified() bool
- func (o User) MarshalJSON() ([]byte, error)
- func (o *User) SetCreatedAt(v interface{})
- func (o *User) SetDisabled(v interface{})
- func (o *User) SetId(v interface{})
- func (o *User) SetPatron(v interface{})
- func (o *User) SetPerfs(v Perfs)
- func (o *User) SetPlayTime(v PlayTime)
- func (o *User) SetProfile(v Profile)
- func (o *User) SetSeenAt(v interface{})
- func (o *User) SetTitle(v Title)
- func (o *User) SetTosViolation(v interface{})
- func (o *User) SetUsername(v interface{})
- func (o *User) SetVerified(v interface{})
- type UserPreferences
- func (o *UserPreferences) GetAnimation() interface{}
- func (o *UserPreferences) GetAnimationOk() (*interface{}, bool)
- func (o *UserPreferences) GetAutoQueen() interface{}
- func (o *UserPreferences) GetAutoQueenOk() (*interface{}, bool)
- func (o *UserPreferences) GetAutoThreefold() interface{}
- func (o *UserPreferences) GetAutoThreefoldOk() (*interface{}, bool)
- func (o *UserPreferences) GetBgImg() interface{}
- func (o *UserPreferences) GetBgImgOk() (*interface{}, bool)
- func (o *UserPreferences) GetBlindfold() interface{}
- func (o *UserPreferences) GetBlindfoldOk() (*interface{}, bool)
- func (o *UserPreferences) GetCaptured() interface{}
- func (o *UserPreferences) GetCapturedOk() (*interface{}, bool)
- func (o *UserPreferences) GetChallenge() interface{}
- func (o *UserPreferences) GetChallengeOk() (*interface{}, bool)
- func (o *UserPreferences) GetClockBar() interface{}
- func (o *UserPreferences) GetClockBarOk() (*interface{}, bool)
- func (o *UserPreferences) GetClockSound() interface{}
- func (o *UserPreferences) GetClockSoundOk() (*interface{}, bool)
- func (o *UserPreferences) GetClockTenths() interface{}
- func (o *UserPreferences) GetClockTenthsOk() (*interface{}, bool)
- func (o *UserPreferences) GetConfirmResign() interface{}
- func (o *UserPreferences) GetConfirmResignOk() (*interface{}, bool)
- func (o *UserPreferences) GetCoordColor() interface{}
- func (o *UserPreferences) GetCoordColorOk() (*interface{}, bool)
- func (o *UserPreferences) GetCoords() interface{}
- func (o *UserPreferences) GetCoordsOk() (*interface{}, bool)
- func (o *UserPreferences) GetDark() interface{}
- func (o *UserPreferences) GetDarkOk() (*interface{}, bool)
- func (o *UserPreferences) GetDestination() interface{}
- func (o *UserPreferences) GetDestinationOk() (*interface{}, bool)
- func (o *UserPreferences) GetFollow() interface{}
- func (o *UserPreferences) GetFollowOk() (*interface{}, bool)
- func (o *UserPreferences) GetHighlight() interface{}
- func (o *UserPreferences) GetHighlightOk() (*interface{}, bool)
- func (o *UserPreferences) GetInsightShare() interface{}
- func (o *UserPreferences) GetInsightShareOk() (*interface{}, bool)
- func (o *UserPreferences) GetIs3d() interface{}
- func (o *UserPreferences) GetIs3dOk() (*interface{}, bool)
- func (o *UserPreferences) GetKeyboardMove() interface{}
- func (o *UserPreferences) GetKeyboardMoveOk() (*interface{}, bool)
- func (o *UserPreferences) GetMessage() interface{}
- func (o *UserPreferences) GetMessageOk() (*interface{}, bool)
- func (o *UserPreferences) GetMoretime() interface{}
- func (o *UserPreferences) GetMoretimeOk() (*interface{}, bool)
- func (o *UserPreferences) GetMoveEvent() interface{}
- func (o *UserPreferences) GetMoveEventOk() (*interface{}, bool)
- func (o *UserPreferences) GetPieceSet() interface{}
- func (o *UserPreferences) GetPieceSet3d() interface{}
- func (o *UserPreferences) GetPieceSet3dOk() (*interface{}, bool)
- func (o *UserPreferences) GetPieceSetOk() (*interface{}, bool)
- func (o *UserPreferences) GetPremove() interface{}
- func (o *UserPreferences) GetPremoveOk() (*interface{}, bool)
- func (o *UserPreferences) GetReplay() interface{}
- func (o *UserPreferences) GetReplayOk() (*interface{}, bool)
- func (o *UserPreferences) GetRookCastle() interface{}
- func (o *UserPreferences) GetRookCastleOk() (*interface{}, bool)
- func (o *UserPreferences) GetSoundSet() interface{}
- func (o *UserPreferences) GetSoundSetOk() (*interface{}, bool)
- func (o *UserPreferences) GetSubmitMove() interface{}
- func (o *UserPreferences) GetSubmitMoveOk() (*interface{}, bool)
- func (o *UserPreferences) GetTakeback() interface{}
- func (o *UserPreferences) GetTakebackOk() (*interface{}, bool)
- func (o *UserPreferences) GetTheme() interface{}
- func (o *UserPreferences) GetTheme3d() interface{}
- func (o *UserPreferences) GetTheme3dOk() (*interface{}, bool)
- func (o *UserPreferences) GetThemeOk() (*interface{}, bool)
- func (o *UserPreferences) GetTransp() interface{}
- func (o *UserPreferences) GetTranspOk() (*interface{}, bool)
- func (o *UserPreferences) GetZen() interface{}
- func (o *UserPreferences) GetZenOk() (*interface{}, bool)
- func (o *UserPreferences) HasAnimation() bool
- func (o *UserPreferences) HasAutoQueen() bool
- func (o *UserPreferences) HasAutoThreefold() bool
- func (o *UserPreferences) HasBgImg() bool
- func (o *UserPreferences) HasBlindfold() bool
- func (o *UserPreferences) HasCaptured() bool
- func (o *UserPreferences) HasChallenge() bool
- func (o *UserPreferences) HasClockBar() bool
- func (o *UserPreferences) HasClockSound() bool
- func (o *UserPreferences) HasClockTenths() bool
- func (o *UserPreferences) HasConfirmResign() bool
- func (o *UserPreferences) HasCoordColor() bool
- func (o *UserPreferences) HasCoords() bool
- func (o *UserPreferences) HasDark() bool
- func (o *UserPreferences) HasDestination() bool
- func (o *UserPreferences) HasFollow() bool
- func (o *UserPreferences) HasHighlight() bool
- func (o *UserPreferences) HasInsightShare() bool
- func (o *UserPreferences) HasIs3d() bool
- func (o *UserPreferences) HasKeyboardMove() bool
- func (o *UserPreferences) HasMessage() bool
- func (o *UserPreferences) HasMoretime() bool
- func (o *UserPreferences) HasMoveEvent() bool
- func (o *UserPreferences) HasPieceSet() bool
- func (o *UserPreferences) HasPieceSet3d() bool
- func (o *UserPreferences) HasPremove() bool
- func (o *UserPreferences) HasReplay() bool
- func (o *UserPreferences) HasRookCastle() bool
- func (o *UserPreferences) HasSoundSet() bool
- func (o *UserPreferences) HasSubmitMove() bool
- func (o *UserPreferences) HasTakeback() bool
- func (o *UserPreferences) HasTheme() bool
- func (o *UserPreferences) HasTheme3d() bool
- func (o *UserPreferences) HasTransp() bool
- func (o *UserPreferences) HasZen() bool
- func (o UserPreferences) MarshalJSON() ([]byte, error)
- func (o *UserPreferences) SetAnimation(v interface{})
- func (o *UserPreferences) SetAutoQueen(v interface{})
- func (o *UserPreferences) SetAutoThreefold(v interface{})
- func (o *UserPreferences) SetBgImg(v interface{})
- func (o *UserPreferences) SetBlindfold(v interface{})
- func (o *UserPreferences) SetCaptured(v interface{})
- func (o *UserPreferences) SetChallenge(v interface{})
- func (o *UserPreferences) SetClockBar(v interface{})
- func (o *UserPreferences) SetClockSound(v interface{})
- func (o *UserPreferences) SetClockTenths(v interface{})
- func (o *UserPreferences) SetConfirmResign(v interface{})
- func (o *UserPreferences) SetCoordColor(v interface{})
- func (o *UserPreferences) SetCoords(v interface{})
- func (o *UserPreferences) SetDark(v interface{})
- func (o *UserPreferences) SetDestination(v interface{})
- func (o *UserPreferences) SetFollow(v interface{})
- func (o *UserPreferences) SetHighlight(v interface{})
- func (o *UserPreferences) SetInsightShare(v interface{})
- func (o *UserPreferences) SetIs3d(v interface{})
- func (o *UserPreferences) SetKeyboardMove(v interface{})
- func (o *UserPreferences) SetMessage(v interface{})
- func (o *UserPreferences) SetMoretime(v interface{})
- func (o *UserPreferences) SetMoveEvent(v interface{})
- func (o *UserPreferences) SetPieceSet(v interface{})
- func (o *UserPreferences) SetPieceSet3d(v interface{})
- func (o *UserPreferences) SetPremove(v interface{})
- func (o *UserPreferences) SetReplay(v interface{})
- func (o *UserPreferences) SetRookCastle(v interface{})
- func (o *UserPreferences) SetSoundSet(v interface{})
- func (o *UserPreferences) SetSubmitMove(v interface{})
- func (o *UserPreferences) SetTakeback(v interface{})
- func (o *UserPreferences) SetTheme(v interface{})
- func (o *UserPreferences) SetTheme3d(v interface{})
- func (o *UserPreferences) SetTransp(v interface{})
- func (o *UserPreferences) SetZen(v interface{})
- type UsersApiService
- func (a *UsersApiService) ApiCrosstable(ctx context.Context, user1 interface{}, user2 interface{}) ApiApiCrosstableRequest
- func (a *UsersApiService) ApiCrosstableExecute(r ApiApiCrosstableRequest) (interface{}, *http.Response, error)
- func (a *UsersApiService) ApiUser(ctx context.Context, username interface{}) ApiApiUserRequest
- func (a *UsersApiService) ApiUserActivity(ctx context.Context, username interface{}) ApiApiUserActivityRequest
- func (a *UsersApiService) ApiUserActivityExecute(r ApiApiUserActivityRequest) (*http.Response, error)
- func (a *UsersApiService) ApiUserExecute(r ApiApiUserRequest) (interface{}, *http.Response, error)
- func (a *UsersApiService) ApiUserPerf(ctx context.Context, username interface{}, perf PerfType) ApiApiUserPerfRequest
- func (a *UsersApiService) ApiUserPerfExecute(r ApiApiUserPerfRequest) (interface{}, *http.Response, error)
- func (a *UsersApiService) ApiUserRatingHistory(ctx context.Context, username interface{}) ApiApiUserRatingHistoryRequest
- func (a *UsersApiService) ApiUserRatingHistoryExecute(r ApiApiUserRatingHistoryRequest) (interface{}, *http.Response, error)
- func (a *UsersApiService) ApiUsers(ctx context.Context) ApiApiUsersRequest
- func (a *UsersApiService) ApiUsersExecute(r ApiApiUsersRequest) ([]User, *http.Response, error)
- func (a *UsersApiService) ApiUsersStatus(ctx context.Context) ApiApiUsersStatusRequest
- func (a *UsersApiService) ApiUsersStatusExecute(r ApiApiUsersStatusRequest) ([]ApiUsersStatus200ResponseInner, *http.Response, error)
- func (a *UsersApiService) Player(ctx context.Context) ApiPlayerRequest
- func (a *UsersApiService) PlayerExecute(r ApiPlayerRequest) (interface{}, *http.Response, error)
- func (a *UsersApiService) PlayerTopNbPerfType(ctx context.Context, nb interface{}, perfType interface{}) ApiPlayerTopNbPerfTypeRequest
- func (a *UsersApiService) PlayerTopNbPerfTypeExecute(r ApiPlayerTopNbPerfTypeRequest) (interface{}, *http.Response, error)
- func (a *UsersApiService) StreamerLive(ctx context.Context) ApiStreamerLiveRequest
- func (a *UsersApiService) StreamerLiveExecute(r ApiStreamerLiveRequest) ([]LightUser, *http.Response, error)
- func (a *UsersApiService) TeamIdUsers(ctx context.Context, teamId interface{}) UsersApiTeamIdUsersRequest
- func (a *UsersApiService) TeamIdUsersExecute(r UsersApiTeamIdUsersRequest) (interface{}, *http.Response, error)
- type UsersApiTeamIdUsersRequest
- type Variant
- func (o *Variant) GetKey() VariantKey
- func (o *Variant) GetKeyOk() (*VariantKey, bool)
- func (o *Variant) GetName() interface{}
- func (o *Variant) GetNameOk() (*interface{}, bool)
- func (o *Variant) GetShort() interface{}
- func (o *Variant) GetShortOk() (*interface{}, bool)
- func (o *Variant) HasKey() bool
- func (o *Variant) HasName() bool
- func (o *Variant) HasShort() bool
- func (o Variant) MarshalJSON() ([]byte, error)
- func (o *Variant) SetKey(v VariantKey)
- func (o *Variant) SetName(v interface{})
- func (o *Variant) SetShort(v interface{})
- type VariantKey
Constants ¶
This section is empty.
Variables ¶
var ( // ContextOAuth2 takes an oauth2.TokenSource as authentication for the request. ContextOAuth2 = contextKey("token") // ContextBasicAuth takes BasicAuth as authentication for the request. ContextBasicAuth = contextKey("basic") // ContextAccessToken takes a string oauth2 access token as authentication for the request. ContextAccessToken = contextKey("accesstoken") // ContextAPIKeys takes a string apikey as authentication for the request ContextAPIKeys = contextKey("apiKeys") // ContextHttpSignatureAuth takes HttpSignatureAuth as authentication for the request. ContextHttpSignatureAuth = contextKey("httpsignature") // ContextServerIndex uses a server configuration from the index. ContextServerIndex = contextKey("serverIndex") // ContextOperationServerIndices uses a server configuration from the index mapping. ContextOperationServerIndices = contextKey("serverOperationIndices") // ContextServerVariables overrides a server configuration variables. ContextServerVariables = contextKey("serverVariables") // ContextOperationServerVariables overrides a server configuration variables using operation specific values. ContextOperationServerVariables = contextKey("serverOperationVariables") )
Functions ¶
func CacheExpires ¶
CacheExpires helper function to determine remaining time before repeating a request.
func PtrFloat32 ¶
PtrFloat32 is a helper routine that returns a pointer to given float value.
func PtrFloat64 ¶
PtrFloat64 is a helper routine that returns a pointer to given float value.
Types ¶
type APIClient ¶
type APIClient struct { AccountApi *AccountApiService AnalysisApi *AnalysisApiService ArenaTournamentsApi *ArenaTournamentsApiService BoardApi *BoardApiService BotApi *BotApiService BroadcastsApi *BroadcastsApiService BulkPairingsApi *BulkPairingsApiService ChallengesApi *ChallengesApiService ExternalEngineApi *ExternalEngineApiService GamesApi *GamesApiService MessagingApi *MessagingApiService OAuthApi *OAuthApiService OpeningExplorerApi *OpeningExplorerApiService PuzzlesApi *PuzzlesApiService RelationsApi *RelationsApiService SimulsApi *SimulsApiService StudiesApi *StudiesApiService SwissTournamentsApi *SwissTournamentsApiService TVApi *TVApiService TablebaseApi *TablebaseApiService TeamsApi *TeamsApiService UsersApi *UsersApiService // contains filtered or unexported fields }
APIClient manages communication with the Lichess.org API reference API v2.0.0 In most cases there should be only one, shared, APIClient.
func NewAPIClient ¶
func NewAPIClient(cfg *Configuration) *APIClient
NewAPIClient creates a new API client. Requires a userAgent string describing your application. optionally a custom http.Client to allow for advanced features such as caching.
func (*APIClient) GetConfig ¶
func (c *APIClient) GetConfig() *Configuration
Allow modification of underlying config for alternate implementations and testing Caution: modifying the configuration while live can cause data races and potentially unwanted behavior
type APIKey ¶
APIKey provides API key based authentication to a request passed via context using ContextAPIKey
type APIResponse ¶
type APIResponse struct { *http.Response `json:"-"` Message string `json:"message,omitempty"` // Operation is the name of the OpenAPI operation. Operation string `json:"operation,omitempty"` // RequestURL is the request URL. This value is always available, even if the // embedded *http.Response is nil. RequestURL string `json:"url,omitempty"` // Method is the HTTP method used for the request. This value is always // available, even if the embedded *http.Response is nil. Method string `json:"method,omitempty"` // Payload holds the contents of the response body (which may be nil or empty). // This is provided here as the raw response.Body() reader will have already // been drained. Payload []byte `json:"-"` }
APIResponse stores the API response returned by the server.
func NewAPIResponse ¶
func NewAPIResponse(r *http.Response) *APIResponse
NewAPIResponse returns a new APIResponse object.
func NewAPIResponseWithError ¶
func NewAPIResponseWithError(errorMessage string) *APIResponse
NewAPIResponseWithError returns a new APIResponse object with the provided error message.
type Account200Response ¶
type Account200Response struct { Prefs *UserPreferences `json:"prefs,omitempty"` Language interface{} `json:"language,omitempty"` }
Account200Response struct for Account200Response
func NewAccount200Response ¶
func NewAccount200Response() *Account200Response
NewAccount200Response instantiates a new Account200Response object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewAccount200ResponseWithDefaults ¶
func NewAccount200ResponseWithDefaults() *Account200Response
NewAccount200ResponseWithDefaults instantiates a new Account200Response object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*Account200Response) GetLanguage ¶
func (o *Account200Response) GetLanguage() interface{}
GetLanguage returns the Language field value if set, zero value otherwise (both if not set or set to explicit null).
func (*Account200Response) GetLanguageOk ¶
func (o *Account200Response) GetLanguageOk() (*interface{}, bool)
GetLanguageOk returns a tuple with the Language field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*Account200Response) GetPrefs ¶
func (o *Account200Response) GetPrefs() UserPreferences
GetPrefs returns the Prefs field value if set, zero value otherwise.
func (*Account200Response) GetPrefsOk ¶
func (o *Account200Response) GetPrefsOk() (*UserPreferences, bool)
GetPrefsOk returns a tuple with the Prefs field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Account200Response) HasLanguage ¶
func (o *Account200Response) HasLanguage() bool
HasLanguage returns a boolean if a field has been set.
func (*Account200Response) HasPrefs ¶
func (o *Account200Response) HasPrefs() bool
HasPrefs returns a boolean if a field has been set.
func (Account200Response) MarshalJSON ¶
func (o Account200Response) MarshalJSON() ([]byte, error)
func (*Account200Response) SetLanguage ¶
func (o *Account200Response) SetLanguage(v interface{})
SetLanguage gets a reference to the given interface{} and assigns it to the Language field.
func (*Account200Response) SetPrefs ¶
func (o *Account200Response) SetPrefs(v UserPreferences)
SetPrefs gets a reference to the given UserPreferences and assigns it to the Prefs field.
type AccountApiService ¶
type AccountApiService service
AccountApiService AccountApi service
func (*AccountApiService) Account ¶
func (a *AccountApiService) Account(ctx context.Context) ApiAccountRequest
Account Get my preferences
Read the preferences of the logged in user.
- <https://lichess.org/account/preferences/game-display> - <https://github.com/ornicar/lila/blob/master/modules/pref/src/main/Pref.scala>
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiAccountRequest
func (*AccountApiService) AccountEmail ¶
func (a *AccountApiService) AccountEmail(ctx context.Context) ApiAccountEmailRequest
AccountEmail Get my email address
Read the email address of the logged in user.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiAccountEmailRequest
func (*AccountApiService) AccountEmailExecute ¶
func (a *AccountApiService) AccountEmailExecute(r ApiAccountEmailRequest) (*AccountEmail200Response, *http.Response, error)
Execute executes the request
@return AccountEmail200Response
func (*AccountApiService) AccountExecute ¶
func (a *AccountApiService) AccountExecute(r ApiAccountRequest) (*Account200Response, *http.Response, error)
Execute executes the request
@return Account200Response
func (*AccountApiService) AccountKid ¶
func (a *AccountApiService) AccountKid(ctx context.Context) ApiAccountKidRequest
AccountKid Get my kid mode status
Read the kid mode status of the logged in user.
- <https://lichess.org/account/kid>
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiAccountKidRequest
func (*AccountApiService) AccountKidExecute ¶
func (a *AccountApiService) AccountKidExecute(r ApiAccountKidRequest) (*AccountKid200Response, *http.Response, error)
Execute executes the request
@return AccountKid200Response
func (*AccountApiService) AccountKidPost ¶
func (a *AccountApiService) AccountKidPost(ctx context.Context) ApiAccountKidPostRequest
AccountKidPost Set my kid mode status
Set the kid mode status of the logged in user.
- <https://lichess.org/account/kid>
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiAccountKidPostRequest
func (*AccountApiService) AccountKidPostExecute ¶
func (a *AccountApiService) AccountKidPostExecute(r ApiAccountKidPostRequest) (*Ok, *http.Response, error)
Execute executes the request
@return Ok
func (*AccountApiService) AccountMe ¶
func (a *AccountApiService) AccountMe(ctx context.Context) ApiAccountMeRequest
AccountMe Get my profile
Public information about the logged in user.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiAccountMeRequest
func (*AccountApiService) AccountMeExecute ¶
func (a *AccountApiService) AccountMeExecute(r ApiAccountMeRequest) (interface{}, *http.Response, error)
Execute executes the request
@return interface{}
type AccountEmail200Response ¶
type AccountEmail200Response struct {
Email interface{} `json:"email,omitempty"`
}
AccountEmail200Response struct for AccountEmail200Response
func NewAccountEmail200Response ¶
func NewAccountEmail200Response() *AccountEmail200Response
NewAccountEmail200Response instantiates a new AccountEmail200Response object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewAccountEmail200ResponseWithDefaults ¶
func NewAccountEmail200ResponseWithDefaults() *AccountEmail200Response
NewAccountEmail200ResponseWithDefaults instantiates a new AccountEmail200Response object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*AccountEmail200Response) GetEmail ¶
func (o *AccountEmail200Response) GetEmail() interface{}
GetEmail returns the Email field value if set, zero value otherwise (both if not set or set to explicit null).
func (*AccountEmail200Response) GetEmailOk ¶
func (o *AccountEmail200Response) GetEmailOk() (*interface{}, bool)
GetEmailOk returns a tuple with the Email field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*AccountEmail200Response) HasEmail ¶
func (o *AccountEmail200Response) HasEmail() bool
HasEmail returns a boolean if a field has been set.
func (AccountEmail200Response) MarshalJSON ¶
func (o AccountEmail200Response) MarshalJSON() ([]byte, error)
func (*AccountEmail200Response) SetEmail ¶
func (o *AccountEmail200Response) SetEmail(v interface{})
SetEmail gets a reference to the given interface{} and assigns it to the Email field.
type AccountKid200Response ¶
type AccountKid200Response struct {
Kid interface{} `json:"kid,omitempty"`
}
AccountKid200Response struct for AccountKid200Response
func NewAccountKid200Response ¶
func NewAccountKid200Response() *AccountKid200Response
NewAccountKid200Response instantiates a new AccountKid200Response object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewAccountKid200ResponseWithDefaults ¶
func NewAccountKid200ResponseWithDefaults() *AccountKid200Response
NewAccountKid200ResponseWithDefaults instantiates a new AccountKid200Response object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*AccountKid200Response) GetKid ¶
func (o *AccountKid200Response) GetKid() interface{}
GetKid returns the Kid field value if set, zero value otherwise (both if not set or set to explicit null).
func (*AccountKid200Response) GetKidOk ¶
func (o *AccountKid200Response) GetKidOk() (*interface{}, bool)
GetKidOk returns a tuple with the Kid field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*AccountKid200Response) HasKid ¶
func (o *AccountKid200Response) HasKid() bool
HasKid returns a boolean if a field has been set.
func (AccountKid200Response) MarshalJSON ¶
func (o AccountKid200Response) MarshalJSON() ([]byte, error)
func (*AccountKid200Response) SetKid ¶
func (o *AccountKid200Response) SetKid(v interface{})
SetKid gets a reference to the given interface{} and assigns it to the Kid field.
type AnalysisApiService ¶
type AnalysisApiService service
AnalysisApiService AnalysisApi service
func (*AnalysisApiService) ApiCloudEval ¶
func (a *AnalysisApiService) ApiCloudEval(ctx context.Context) ApiApiCloudEvalRequest
ApiCloudEval Get cloud evaluation of a position.
Get the cached evaluation of a position, if available.
Opening positions have more chances of being available. There are about 15 million positions in the database.
Up to 5 variations may be available. Variants are supported.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiApiCloudEvalRequest
func (*AnalysisApiService) ApiCloudEvalExecute ¶
func (a *AnalysisApiService) ApiCloudEvalExecute(r ApiApiCloudEvalRequest) (*http.Response, error)
Execute executes the request
type ApiAccountEmailRequest ¶
type ApiAccountEmailRequest struct { ApiService *AccountApiService // contains filtered or unexported fields }
func (ApiAccountEmailRequest) Execute ¶
func (r ApiAccountEmailRequest) Execute() (*AccountEmail200Response, *http.Response, error)
type ApiAccountKidPostRequest ¶
type ApiAccountKidPostRequest struct { ApiService *AccountApiService // contains filtered or unexported fields }
func (ApiAccountKidPostRequest) Execute ¶
func (r ApiAccountKidPostRequest) Execute() (*Ok, *http.Response, error)
func (ApiAccountKidPostRequest) V ¶
func (r ApiAccountKidPostRequest) V(v interface{}) ApiAccountKidPostRequest
Kid mode status
type ApiAccountKidRequest ¶
type ApiAccountKidRequest struct { ApiService *AccountApiService // contains filtered or unexported fields }
func (ApiAccountKidRequest) Execute ¶
func (r ApiAccountKidRequest) Execute() (*AccountKid200Response, *http.Response, error)
type ApiAccountMeRequest ¶
type ApiAccountMeRequest struct { ApiService *AccountApiService // contains filtered or unexported fields }
type ApiAccountRequest ¶
type ApiAccountRequest struct { ApiService *AccountApiService // contains filtered or unexported fields }
func (ApiAccountRequest) Execute ¶
func (r ApiAccountRequest) Execute() (*Account200Response, *http.Response, error)
type ApiAdminChallengeTokensRequest ¶
type ApiAdminChallengeTokensRequest struct { ApiService *ChallengesApiService // contains filtered or unexported fields }
func (ApiAdminChallengeTokensRequest) Description ¶
func (r ApiAdminChallengeTokensRequest) Description(description interface{}) ApiAdminChallengeTokensRequest
User visible description of the token
func (ApiAdminChallengeTokensRequest) Execute ¶
func (r ApiAdminChallengeTokensRequest) Execute() (*http.Response, error)
func (ApiAdminChallengeTokensRequest) Users ¶
func (r ApiAdminChallengeTokensRequest) Users(users interface{}) ApiAdminChallengeTokensRequest
Usernames separated with commas
type ApiAntichessAtomicRequest ¶
type ApiAntichessAtomicRequest struct { ApiService *TablebaseApiService // contains filtered or unexported fields }
type ApiApiAccountPlayingRequest ¶
type ApiApiAccountPlayingRequest struct { ApiService *GamesApiService // contains filtered or unexported fields }
func (ApiApiAccountPlayingRequest) Execute ¶
func (r ApiApiAccountPlayingRequest) Execute() (interface{}, *http.Response, error)
func (ApiApiAccountPlayingRequest) Nb ¶
func (r ApiApiAccountPlayingRequest) Nb(nb interface{}) ApiApiAccountPlayingRequest
Max number of games to fetch
type ApiApiBoardSeekRequest ¶
type ApiApiBoardSeekRequest struct { ApiService *BoardApiService // contains filtered or unexported fields }
func (ApiApiBoardSeekRequest) Color ¶
func (r ApiApiBoardSeekRequest) Color(color interface{}) ApiApiBoardSeekRequest
The color to play. Better left empty to automatically get 50% white.
func (ApiApiBoardSeekRequest) Days ¶
func (r ApiApiBoardSeekRequest) Days(days interface{}) ApiApiBoardSeekRequest
Days per turn. Required for correspondence seeks.
func (ApiApiBoardSeekRequest) Execute ¶
func (r ApiApiBoardSeekRequest) Execute() (*http.Response, error)
func (ApiApiBoardSeekRequest) Increment ¶
func (r ApiApiBoardSeekRequest) Increment(increment interface{}) ApiApiBoardSeekRequest
Clock increment in seconds. Required for real-time seeks.
func (ApiApiBoardSeekRequest) Rated ¶
func (r ApiApiBoardSeekRequest) Rated(rated interface{}) ApiApiBoardSeekRequest
Whether the game is rated and impacts players ratings.
func (ApiApiBoardSeekRequest) RatingRange ¶
func (r ApiApiBoardSeekRequest) RatingRange(ratingRange interface{}) ApiApiBoardSeekRequest
The rating range of potential opponents. Better left empty. Example: 1500-1800
func (ApiApiBoardSeekRequest) Time ¶
func (r ApiApiBoardSeekRequest) Time(time interface{}) ApiApiBoardSeekRequest
Clock initial time in minutes. Required for real-time seeks.
func (ApiApiBoardSeekRequest) Variant ¶
func (r ApiApiBoardSeekRequest) Variant(variant VariantKey) ApiApiBoardSeekRequest
type ApiApiBotOnlineRequest ¶
type ApiApiBotOnlineRequest struct { ApiService *BotApiService // contains filtered or unexported fields }
func (ApiApiBotOnlineRequest) Execute ¶
func (r ApiApiBotOnlineRequest) Execute() (*User, *http.Response, error)
func (ApiApiBotOnlineRequest) Nb ¶
func (r ApiApiBotOnlineRequest) Nb(nb interface{}) ApiApiBotOnlineRequest
How many bot users to fetch
type ApiApiCloudEvalRequest ¶
type ApiApiCloudEvalRequest struct { ApiService *AnalysisApiService // contains filtered or unexported fields }
func (ApiApiCloudEvalRequest) Execute ¶
func (r ApiApiCloudEvalRequest) Execute() (*http.Response, error)
func (ApiApiCloudEvalRequest) Fen ¶
func (r ApiApiCloudEvalRequest) Fen(fen interface{}) ApiApiCloudEvalRequest
FEN of the position
func (ApiApiCloudEvalRequest) MultiPv ¶
func (r ApiApiCloudEvalRequest) MultiPv(multiPv interface{}) ApiApiCloudEvalRequest
Number of variations
func (ApiApiCloudEvalRequest) Variant ¶
func (r ApiApiCloudEvalRequest) Variant(variant VariantKey) ApiApiCloudEvalRequest
Variant
type ApiApiCrosstableRequest ¶
type ApiApiCrosstableRequest struct { ApiService *UsersApiService // contains filtered or unexported fields }
func (ApiApiCrosstableRequest) Execute ¶
func (r ApiApiCrosstableRequest) Execute() (interface{}, *http.Response, error)
func (ApiApiCrosstableRequest) Matchup ¶
func (r ApiApiCrosstableRequest) Matchup(matchup interface{}) ApiApiCrosstableRequest
Whether to get the current match data, if any
type ApiApiExternalEngineAcquireRequest ¶
type ApiApiExternalEngineAcquireRequest struct { ApiService *ExternalEngineApiService // contains filtered or unexported fields }
func (ApiApiExternalEngineAcquireRequest) ApiExternalEngineAcquireRequest ¶
func (r ApiApiExternalEngineAcquireRequest) ApiExternalEngineAcquireRequest(apiExternalEngineAcquireRequest ApiExternalEngineAcquireRequest) ApiApiExternalEngineAcquireRequest
Provider credentials.
func (ApiApiExternalEngineAcquireRequest) Execute ¶
func (r ApiApiExternalEngineAcquireRequest) Execute() (*ApiExternalEngineAcquire200Response, *http.Response, error)
type ApiApiExternalEngineAnalyseRequest ¶
type ApiApiExternalEngineAnalyseRequest struct { ApiService *ExternalEngineApiService // contains filtered or unexported fields }
func (ApiApiExternalEngineAnalyseRequest) ApiExternalEngineAnalyseRequest ¶
func (r ApiApiExternalEngineAnalyseRequest) ApiExternalEngineAnalyseRequest(apiExternalEngineAnalyseRequest ApiExternalEngineAnalyseRequest) ApiApiExternalEngineAnalyseRequest
Engine credentials and analysis request.
func (ApiApiExternalEngineAnalyseRequest) Execute ¶
func (r ApiApiExternalEngineAnalyseRequest) Execute() (*ApiExternalEngineAnalyse200Response, *http.Response, error)
type ApiApiExternalEngineCreateRequest ¶
type ApiApiExternalEngineCreateRequest struct { ApiService *ExternalEngineApiService // contains filtered or unexported fields }
func (ApiApiExternalEngineCreateRequest) Execute ¶
func (r ApiApiExternalEngineCreateRequest) Execute() (*ExternalEngine, *http.Response, error)
func (ApiApiExternalEngineCreateRequest) ExternalEngineRegistration ¶
func (r ApiApiExternalEngineCreateRequest) ExternalEngineRegistration(externalEngineRegistration ExternalEngineRegistration) ApiApiExternalEngineCreateRequest
A new external engine registration.
type ApiApiExternalEngineDeleteRequest ¶
type ApiApiExternalEngineDeleteRequest struct { ApiService *ExternalEngineApiService // contains filtered or unexported fields }
type ApiApiExternalEngineGetRequest ¶
type ApiApiExternalEngineGetRequest struct { ApiService *ExternalEngineApiService // contains filtered or unexported fields }
func (ApiApiExternalEngineGetRequest) Execute ¶
func (r ApiApiExternalEngineGetRequest) Execute() (*ExternalEngine, *http.Response, error)
type ApiApiExternalEngineListRequest ¶
type ApiApiExternalEngineListRequest struct { ApiService *ExternalEngineApiService // contains filtered or unexported fields }
func (ApiApiExternalEngineListRequest) Execute ¶
func (r ApiApiExternalEngineListRequest) Execute() ([]ExternalEngine, *http.Response, error)
type ApiApiExternalEnginePutRequest ¶
type ApiApiExternalEnginePutRequest struct { ApiService *ExternalEngineApiService // contains filtered or unexported fields }
func (ApiApiExternalEnginePutRequest) Execute ¶
func (r ApiApiExternalEnginePutRequest) Execute() (*ExternalEngine, *http.Response, error)
func (ApiApiExternalEnginePutRequest) ExternalEngineRegistration ¶
func (r ApiApiExternalEnginePutRequest) ExternalEngineRegistration(externalEngineRegistration ExternalEngineRegistration) ApiApiExternalEnginePutRequest
A modified engine registration.
type ApiApiExternalEngineSubmitRequest ¶
type ApiApiExternalEngineSubmitRequest struct { ApiService *ExternalEngineApiService // contains filtered or unexported fields }
func (ApiApiExternalEngineSubmitRequest) Body ¶
func (r ApiApiExternalEngineSubmitRequest) Body(body interface{}) ApiApiExternalEngineSubmitRequest
Analysis results
type ApiApiGamesUserRequest ¶
type ApiApiGamesUserRequest struct { ApiService *GamesApiService // contains filtered or unexported fields }
func (ApiApiGamesUserRequest) Analysed ¶
func (r ApiApiGamesUserRequest) Analysed(analysed interface{}) ApiApiGamesUserRequest
[Filter] Only games with or without a computer analysis available
func (ApiApiGamesUserRequest) Clocks ¶
func (r ApiApiGamesUserRequest) Clocks(clocks interface{}) ApiApiGamesUserRequest
Include clock comments in the PGN moves, when available. Example: `2. exd5 { [%clk 1:01:27] } e5 { [%clk 1:01:28] }`
func (ApiApiGamesUserRequest) Color ¶
func (r ApiApiGamesUserRequest) Color(color interface{}) ApiApiGamesUserRequest
[Filter] Only games played as this color.
func (ApiApiGamesUserRequest) Evals ¶
func (r ApiApiGamesUserRequest) Evals(evals interface{}) ApiApiGamesUserRequest
Include analysis evaluation comments in the PGN, when available. Example: `12. Bxf6 { [%eval 0.23] } a3 { [%eval -1.09] }`
func (ApiApiGamesUserRequest) Execute ¶
func (r ApiApiGamesUserRequest) Execute() (interface{}, *http.Response, error)
func (ApiApiGamesUserRequest) Finished ¶
func (r ApiApiGamesUserRequest) Finished(finished interface{}) ApiApiGamesUserRequest
Include finished games. Set to `false` to only get ongoing games.
func (ApiApiGamesUserRequest) Literate ¶
func (r ApiApiGamesUserRequest) Literate(literate interface{}) ApiApiGamesUserRequest
Insert textual annotations in the PGN about the opening, analysis variations, mistakes, and game termination. Example: `5... g4? { (-0.98 → 0.60) Mistake. Best move was h6. } (5... h6 6. d4 Ne7 7. g3 d5 8. exd5 fxg3 9. hxg3 c6 10. dxc6)`
func (ApiApiGamesUserRequest) Max ¶
func (r ApiApiGamesUserRequest) Max(max interface{}) ApiApiGamesUserRequest
How many games to download. Leave empty to download all games.
func (ApiApiGamesUserRequest) Moves ¶
func (r ApiApiGamesUserRequest) Moves(moves interface{}) ApiApiGamesUserRequest
Include the PGN moves.
func (ApiApiGamesUserRequest) Ongoing ¶
func (r ApiApiGamesUserRequest) Ongoing(ongoing interface{}) ApiApiGamesUserRequest
Include ongoing games. The last 3 moves will be omitted.
func (ApiApiGamesUserRequest) Opening ¶
func (r ApiApiGamesUserRequest) Opening(opening interface{}) ApiApiGamesUserRequest
Include the opening name. Example: `[Opening \"King's Gambit Accepted, King's Knight Gambit\"]`
func (ApiApiGamesUserRequest) PerfType ¶
func (r ApiApiGamesUserRequest) PerfType(perfType interface{}) ApiApiGamesUserRequest
[Filter] Only games in these speeds or variants. Multiple perf types can be specified, separated by a comma. Example: blitz,rapid,classical
func (ApiApiGamesUserRequest) PgnInJson ¶
func (r ApiApiGamesUserRequest) PgnInJson(pgnInJson interface{}) ApiApiGamesUserRequest
Include the full PGN within the JSON response, in a `pgn` field. The response type must be set to `application/x-ndjson` by the request `Accept` header.
func (ApiApiGamesUserRequest) Players ¶
func (r ApiApiGamesUserRequest) Players(players interface{}) ApiApiGamesUserRequest
URL of a text file containing real names and ratings, to replace Lichess usernames and ratings in the PGN. Example: <https://gist.githubusercontent.com/ornicar/6bfa91eb61a2dcae7bcd14cce1b2a4eb/raw/768b9f6cc8a8471d2555e47ba40fb0095e5fba37/gistfile1.txt>
func (ApiApiGamesUserRequest) Rated ¶
func (r ApiApiGamesUserRequest) Rated(rated interface{}) ApiApiGamesUserRequest
[Filter] Only rated (`true`) or casual (`false`) games
func (ApiApiGamesUserRequest) Since ¶
func (r ApiApiGamesUserRequest) Since(since interface{}) ApiApiGamesUserRequest
Download games played since this timestamp. Defaults to account creation date.
func (ApiApiGamesUserRequest) Sort ¶
func (r ApiApiGamesUserRequest) Sort(sort interface{}) ApiApiGamesUserRequest
Sort order of the games.
func (ApiApiGamesUserRequest) Tags ¶
func (r ApiApiGamesUserRequest) Tags(tags interface{}) ApiApiGamesUserRequest
Include the PGN tags.
func (ApiApiGamesUserRequest) Until ¶
func (r ApiApiGamesUserRequest) Until(until interface{}) ApiApiGamesUserRequest
Download games played until this timestamp. Defaults to now.
func (ApiApiGamesUserRequest) Vs ¶
func (r ApiApiGamesUserRequest) Vs(vs interface{}) ApiApiGamesUserRequest
[Filter] Only games played against this opponent
type ApiApiPuzzleActivityRequest ¶
type ApiApiPuzzleActivityRequest struct { ApiService *PuzzlesApiService // contains filtered or unexported fields }
func (ApiApiPuzzleActivityRequest) Execute ¶
func (r ApiApiPuzzleActivityRequest) Execute() (*PuzzleRoundJson, *http.Response, error)
func (ApiApiPuzzleActivityRequest) Max ¶
func (r ApiApiPuzzleActivityRequest) Max(max interface{}) ApiApiPuzzleActivityRequest
How many entries to download. Leave empty to download all activity.
type ApiApiPuzzleDailyRequest ¶
type ApiApiPuzzleDailyRequest struct { ApiService *PuzzlesApiService // contains filtered or unexported fields }
type ApiApiPuzzleDashboardRequest ¶
type ApiApiPuzzleDashboardRequest struct { ApiService *PuzzlesApiService // contains filtered or unexported fields }
type ApiApiPuzzleIdRequest ¶
type ApiApiPuzzleIdRequest struct { ApiService *PuzzlesApiService // contains filtered or unexported fields }
type ApiApiSimulRequest ¶
type ApiApiSimulRequest struct { ApiService *SimulsApiService // contains filtered or unexported fields }
type ApiApiStormDashboardRequest ¶
type ApiApiStormDashboardRequest struct { ApiService *PuzzlesApiService // contains filtered or unexported fields }
func (ApiApiStormDashboardRequest) Days ¶
func (r ApiApiStormDashboardRequest) Days(days interface{}) ApiApiStormDashboardRequest
How many days of history to return
type ApiApiSwissJoinRequest ¶
type ApiApiSwissJoinRequest struct { ApiService *SwissTournamentsApiService // contains filtered or unexported fields }
func (ApiApiSwissJoinRequest) Execute ¶
func (r ApiApiSwissJoinRequest) Execute() (*Ok, *http.Response, error)
func (ApiApiSwissJoinRequest) Password ¶
func (r ApiApiSwissJoinRequest) Password(password interface{}) ApiApiSwissJoinRequest
The tournament password, if one is required
type ApiApiSwissNewRequest ¶
type ApiApiSwissNewRequest struct { ApiService *SwissTournamentsApiService // contains filtered or unexported fields }
func (ApiApiSwissNewRequest) ChatFor ¶
func (r ApiApiSwissNewRequest) ChatFor(chatFor interface{}) ApiApiSwissNewRequest
Who can read and write in the chat. - 0 = No-one - 10 = Only team leaders - 20 = Only team members - 30 = All Lichess players
func (ApiApiSwissNewRequest) ClockIncrement ¶
func (r ApiApiSwissNewRequest) ClockIncrement(clockIncrement interface{}) ApiApiSwissNewRequest
Clock increment in seconds
func (ApiApiSwissNewRequest) ClockLimit ¶
func (r ApiApiSwissNewRequest) ClockLimit(clockLimit interface{}) ApiApiSwissNewRequest
Clock initial time in seconds
func (ApiApiSwissNewRequest) ConditionsAllowList ¶
func (r ApiApiSwissNewRequest) ConditionsAllowList(conditionsAllowList interface{}) ApiApiSwissNewRequest
Predefined list of usernames that are allowed to join, separated by commas. If this list is non-empty, then usernames absent from this list will be forbidden to join. Adding `%titled` to the list additionally allows any titled player to join. Example: `thibault,german11,%titled`
func (ApiApiSwissNewRequest) ConditionsMaxRatingRating ¶
func (r ApiApiSwissNewRequest) ConditionsMaxRatingRating(conditionsMaxRatingRating interface{}) ApiApiSwissNewRequest
Maximum rating to join. Based on best rating reached in the last 7 days. Leave empty to let everyone join the tournament.
func (ApiApiSwissNewRequest) ConditionsMinRatingRating ¶
func (r ApiApiSwissNewRequest) ConditionsMinRatingRating(conditionsMinRatingRating interface{}) ApiApiSwissNewRequest
Minimum rating to join. Leave empty to let everyone join the tournament.
func (ApiApiSwissNewRequest) ConditionsNbRatedGameNb ¶
func (r ApiApiSwissNewRequest) ConditionsNbRatedGameNb(conditionsNbRatedGameNb interface{}) ApiApiSwissNewRequest
Minimum number of rated games required to join.
func (ApiApiSwissNewRequest) Description ¶
func (r ApiApiSwissNewRequest) Description(description interface{}) ApiApiSwissNewRequest
Anything you want to tell players about the tournament
func (ApiApiSwissNewRequest) Execute ¶
func (r ApiApiSwissNewRequest) Execute() (interface{}, *http.Response, error)
func (ApiApiSwissNewRequest) ForbiddenPairings ¶
func (r ApiApiSwissNewRequest) ForbiddenPairings(forbiddenPairings interface{}) ApiApiSwissNewRequest
Usernames of players that must not play together. Two usernames per line, separated by a space.
func (ApiApiSwissNewRequest) ManualPairings ¶
func (r ApiApiSwissNewRequest) ManualPairings(manualPairings interface{}) ApiApiSwissNewRequest
Manual pairings for the next round. Two usernames per line, separated by a space. Present players without a valid pairing will be given a bye, which is worth 1 point. Forfeited players will get 0 points.
func (ApiApiSwissNewRequest) Name ¶
func (r ApiApiSwissNewRequest) Name(name interface{}) ApiApiSwissNewRequest
The tournament name. Leave empty to get a random Grandmaster name
func (ApiApiSwissNewRequest) NbRounds ¶
func (r ApiApiSwissNewRequest) NbRounds(nbRounds interface{}) ApiApiSwissNewRequest
Maximum number of rounds to play
func (ApiApiSwissNewRequest) Password ¶
func (r ApiApiSwissNewRequest) Password(password interface{}) ApiApiSwissNewRequest
Make the tournament private and restrict access with a password.
func (ApiApiSwissNewRequest) Rated ¶
func (r ApiApiSwissNewRequest) Rated(rated interface{}) ApiApiSwissNewRequest
Games are rated and impact players ratings
func (ApiApiSwissNewRequest) RoundInterval ¶
func (r ApiApiSwissNewRequest) RoundInterval(roundInterval interface{}) ApiApiSwissNewRequest
How long to wait between each round, in seconds. Set to 99999999 to manually schedule each round from the tournament UI. If empty or -1, a sensible value is picked automatically.
func (ApiApiSwissNewRequest) StartsAt ¶
func (r ApiApiSwissNewRequest) StartsAt(startsAt interface{}) ApiApiSwissNewRequest
Timestamp in milliseconds to start the tournament at a given date and time. By default, it starts 10 minutes after creation.
func (ApiApiSwissNewRequest) Variant ¶
func (r ApiApiSwissNewRequest) Variant(variant VariantKey) ApiApiSwissNewRequest
type ApiApiSwissTerminateRequest ¶
type ApiApiSwissTerminateRequest struct { ApiService *SwissTournamentsApiService // contains filtered or unexported fields }
type ApiApiSwissUpdateRequest ¶
type ApiApiSwissUpdateRequest struct { ApiService *SwissTournamentsApiService // contains filtered or unexported fields }
func (ApiApiSwissUpdateRequest) ChatFor ¶
func (r ApiApiSwissUpdateRequest) ChatFor(chatFor interface{}) ApiApiSwissUpdateRequest
Who can read and write in the chat. - 0 = No-one - 10 = Only team leaders - 20 = Only team members - 30 = All Lichess players
func (ApiApiSwissUpdateRequest) ClockIncrement ¶
func (r ApiApiSwissUpdateRequest) ClockIncrement(clockIncrement interface{}) ApiApiSwissUpdateRequest
Clock increment in seconds
func (ApiApiSwissUpdateRequest) ClockLimit ¶
func (r ApiApiSwissUpdateRequest) ClockLimit(clockLimit interface{}) ApiApiSwissUpdateRequest
Clock initial time in seconds
func (ApiApiSwissUpdateRequest) ConditionsAllowList ¶
func (r ApiApiSwissUpdateRequest) ConditionsAllowList(conditionsAllowList interface{}) ApiApiSwissUpdateRequest
Predefined list of usernames that are allowed to join, separated by commas. If this list is non-empty, then usernames absent from this list will be forbidden to join. Adding `%titled` to the list additionally allows any titled player to join. Example: `thibault,german11,%titled`
func (ApiApiSwissUpdateRequest) ConditionsMaxRatingRating ¶
func (r ApiApiSwissUpdateRequest) ConditionsMaxRatingRating(conditionsMaxRatingRating interface{}) ApiApiSwissUpdateRequest
Maximum rating to join. Based on best rating reached in the last 7 days. Leave empty to let everyone join the tournament.
func (ApiApiSwissUpdateRequest) ConditionsMinRatingRating ¶
func (r ApiApiSwissUpdateRequest) ConditionsMinRatingRating(conditionsMinRatingRating interface{}) ApiApiSwissUpdateRequest
Minimum rating to join. Leave empty to let everyone join the tournament.
func (ApiApiSwissUpdateRequest) ConditionsNbRatedGameNb ¶
func (r ApiApiSwissUpdateRequest) ConditionsNbRatedGameNb(conditionsNbRatedGameNb interface{}) ApiApiSwissUpdateRequest
Minimum number of rated games required to join.
func (ApiApiSwissUpdateRequest) Description ¶
func (r ApiApiSwissUpdateRequest) Description(description interface{}) ApiApiSwissUpdateRequest
Anything you want to tell players about the tournament
func (ApiApiSwissUpdateRequest) Execute ¶
func (r ApiApiSwissUpdateRequest) Execute() (interface{}, *http.Response, error)
func (ApiApiSwissUpdateRequest) ForbiddenPairings ¶
func (r ApiApiSwissUpdateRequest) ForbiddenPairings(forbiddenPairings interface{}) ApiApiSwissUpdateRequest
Usernames of players that must not play together. Two usernames per line, separated by a space.
func (ApiApiSwissUpdateRequest) ManualPairings ¶
func (r ApiApiSwissUpdateRequest) ManualPairings(manualPairings interface{}) ApiApiSwissUpdateRequest
Manual pairings for the next round. Two usernames per line, separated by a space. Present players without a valid pairing will be given a bye, which is worth 1 point. Forfeited players will get 0 points.
func (ApiApiSwissUpdateRequest) Name ¶
func (r ApiApiSwissUpdateRequest) Name(name interface{}) ApiApiSwissUpdateRequest
The tournament name. Leave empty to get a random Grandmaster name
func (ApiApiSwissUpdateRequest) NbRounds ¶
func (r ApiApiSwissUpdateRequest) NbRounds(nbRounds interface{}) ApiApiSwissUpdateRequest
Maximum number of rounds to play
func (ApiApiSwissUpdateRequest) Password ¶
func (r ApiApiSwissUpdateRequest) Password(password interface{}) ApiApiSwissUpdateRequest
Make the tournament private and restrict access with a password.
func (ApiApiSwissUpdateRequest) Rated ¶
func (r ApiApiSwissUpdateRequest) Rated(rated interface{}) ApiApiSwissUpdateRequest
Games are rated and impact players ratings
func (ApiApiSwissUpdateRequest) RoundInterval ¶
func (r ApiApiSwissUpdateRequest) RoundInterval(roundInterval interface{}) ApiApiSwissUpdateRequest
How long to wait between each round, in seconds. Set to 99999999 to manually schedule each round from the tournament UI. If empty or -1, a sensible value is picked automatically.
func (ApiApiSwissUpdateRequest) StartsAt ¶
func (r ApiApiSwissUpdateRequest) StartsAt(startsAt interface{}) ApiApiSwissUpdateRequest
Timestamp in milliseconds to start the tournament at a given date and time. By default, it starts 10 minutes after creation.
func (ApiApiSwissUpdateRequest) Variant ¶
func (r ApiApiSwissUpdateRequest) Variant(variant VariantKey) ApiApiSwissUpdateRequest
type ApiApiSwissWithdrawRequest ¶
type ApiApiSwissWithdrawRequest struct { ApiService *SwissTournamentsApiService // contains filtered or unexported fields }
type ApiApiTokenDeleteRequest ¶
type ApiApiTokenDeleteRequest struct { ApiService *OAuthApiService // contains filtered or unexported fields }
type ApiApiTokenRequest ¶
type ApiApiTokenRequest struct { ApiService *OAuthApiService // contains filtered or unexported fields }
func (ApiApiTokenRequest) ClientId ¶
func (r ApiApiTokenRequest) ClientId(clientId interface{}) ApiApiTokenRequest
Must match the `client_id` used to request the authorization code.
func (ApiApiTokenRequest) Code ¶
func (r ApiApiTokenRequest) Code(code interface{}) ApiApiTokenRequest
The authorization code that was sent in the `code` parameter to your `redirect_uri`.
func (ApiApiTokenRequest) CodeVerifier ¶
func (r ApiApiTokenRequest) CodeVerifier(codeVerifier interface{}) ApiApiTokenRequest
A `code_challenge` was used to request the authorization code. This must be the `code_verifier` it was derived from.
func (ApiApiTokenRequest) GrantType ¶
func (r ApiApiTokenRequest) GrantType(grantType interface{}) ApiApiTokenRequest
Must be `authorization_code`.
func (ApiApiTokenRequest) RedirectUri ¶
func (r ApiApiTokenRequest) RedirectUri(redirectUri interface{}) ApiApiTokenRequest
Must match the `redirect_uri` used to request the authorization code.
type ApiApiTournamentJoinRequest ¶
type ApiApiTournamentJoinRequest struct { ApiService *ArenaTournamentsApiService // contains filtered or unexported fields }
func (ApiApiTournamentJoinRequest) Execute ¶
func (r ApiApiTournamentJoinRequest) Execute() (*Ok, *http.Response, error)
func (ApiApiTournamentJoinRequest) PairMeAsap ¶
func (r ApiApiTournamentJoinRequest) PairMeAsap(pairMeAsap interface{}) ApiApiTournamentJoinRequest
If the tournament is started, attempt to pair the user, even if they are not connected to the tournament page. This expires after one minute, to avoid pairing a user who is long gone. You may call \\\"join\\\" again to extend the waiting.
func (ApiApiTournamentJoinRequest) Password ¶
func (r ApiApiTournamentJoinRequest) Password(password interface{}) ApiApiTournamentJoinRequest
The tournament password, if one is required. Can also be a [user-specific entry code](https://github.com/lichess-org/api/tree/master/example/tournament-entry-code) generated and shared by the organizer.
func (ApiApiTournamentJoinRequest) Team ¶
func (r ApiApiTournamentJoinRequest) Team(team interface{}) ApiApiTournamentJoinRequest
The team to join the tournament with, for team battle tournaments
type ApiApiTournamentPostRequest ¶
type ApiApiTournamentPostRequest struct { ApiService *ArenaTournamentsApiService // contains filtered or unexported fields }
func (ApiApiTournamentPostRequest) Berserkable ¶
func (r ApiApiTournamentPostRequest) Berserkable(berserkable interface{}) ApiApiTournamentPostRequest
Whether the players can use berserk. Only allowed if clockIncrement <= clockTime * 2
func (ApiApiTournamentPostRequest) ClockIncrement ¶
func (r ApiApiTournamentPostRequest) ClockIncrement(clockIncrement interface{}) ApiApiTournamentPostRequest
Clock increment in seconds
func (ApiApiTournamentPostRequest) ClockTime ¶
func (r ApiApiTournamentPostRequest) ClockTime(clockTime interface{}) ApiApiTournamentPostRequest
Clock initial time in minutes
func (ApiApiTournamentPostRequest) ConditionsAllowList ¶
func (r ApiApiTournamentPostRequest) ConditionsAllowList(conditionsAllowList interface{}) ApiApiTournamentPostRequest
Predefined list of usernames that are allowed to join, separated by commas. If this list is non-empty, then usernames absent from this list will be forbidden to join. Adding `%titled` to the list additionally allows any titled player to join. Example: `thibault,german11,%titled`
func (ApiApiTournamentPostRequest) ConditionsMaxRatingRating ¶
func (r ApiApiTournamentPostRequest) ConditionsMaxRatingRating(conditionsMaxRatingRating interface{}) ApiApiTournamentPostRequest
Maximum rating to join. Based on best rating reached in the last 7 days. Leave empty to let everyone join the tournament.
func (ApiApiTournamentPostRequest) ConditionsMinRatingRating ¶
func (r ApiApiTournamentPostRequest) ConditionsMinRatingRating(conditionsMinRatingRating interface{}) ApiApiTournamentPostRequest
Minimum rating to join. Leave empty to let everyone join the tournament.
func (ApiApiTournamentPostRequest) ConditionsNbRatedGameNb ¶
func (r ApiApiTournamentPostRequest) ConditionsNbRatedGameNb(conditionsNbRatedGameNb interface{}) ApiApiTournamentPostRequest
Minimum number of rated games required to join.
func (ApiApiTournamentPostRequest) ConditionsTeamMemberTeamId ¶
func (r ApiApiTournamentPostRequest) ConditionsTeamMemberTeamId(conditionsTeamMemberTeamId interface{}) ApiApiTournamentPostRequest
Restrict entry to members of a team. The teamId is the last part of a team URL, e.g. `https://lichess.org/team/coders` has teamId = `coders`. Leave empty to let everyone join the tournament. Do not use this to create team battles, use `teamBattleByTeam` instead.
func (ApiApiTournamentPostRequest) Description ¶
func (r ApiApiTournamentPostRequest) Description(description interface{}) ApiApiTournamentPostRequest
Anything you want to tell players about the tournament
func (ApiApiTournamentPostRequest) Execute ¶
func (r ApiApiTournamentPostRequest) Execute() (interface{}, *http.Response, error)
func (ApiApiTournamentPostRequest) HasChat ¶
func (r ApiApiTournamentPostRequest) HasChat(hasChat interface{}) ApiApiTournamentPostRequest
Whether the players can discuss in a chat
func (ApiApiTournamentPostRequest) Minutes ¶
func (r ApiApiTournamentPostRequest) Minutes(minutes interface{}) ApiApiTournamentPostRequest
How long the tournament lasts, in minutes
func (ApiApiTournamentPostRequest) Name ¶
func (r ApiApiTournamentPostRequest) Name(name interface{}) ApiApiTournamentPostRequest
The tournament name. Leave empty to get a random Grandmaster name
func (ApiApiTournamentPostRequest) Password ¶
func (r ApiApiTournamentPostRequest) Password(password interface{}) ApiApiTournamentPostRequest
Make the tournament private, and restrict access with a password. You can also [generate user-specific entry codes](https://github.com/lichess-org/api/tree/master/example/tournament-entry-code) based on this password.
func (ApiApiTournamentPostRequest) Position ¶
func (r ApiApiTournamentPostRequest) Position(position interface{}) ApiApiTournamentPostRequest
Custom initial position (in FEN) for all games of the tournament. Must be a legal chess position. Only works with standard chess, not variants (except Chess960).
func (ApiApiTournamentPostRequest) Rated ¶
func (r ApiApiTournamentPostRequest) Rated(rated interface{}) ApiApiTournamentPostRequest
Games are rated and impact players ratings
func (ApiApiTournamentPostRequest) StartDate ¶
func (r ApiApiTournamentPostRequest) StartDate(startDate interface{}) ApiApiTournamentPostRequest
Timestamp (in milliseconds) to start the tournament at a given date and time. Overrides the `waitMinutes` setting
func (ApiApiTournamentPostRequest) Streakable ¶
func (r ApiApiTournamentPostRequest) Streakable(streakable interface{}) ApiApiTournamentPostRequest
After 2 wins, consecutive wins grant 4 points instead of 2.
func (ApiApiTournamentPostRequest) TeamBattleByTeam ¶
func (r ApiApiTournamentPostRequest) TeamBattleByTeam(teamBattleByTeam interface{}) ApiApiTournamentPostRequest
Set the ID of a team you lead to create a team battle. The other teams can be added using the [team battle edit endpoint](#operation/apiTournamentTeamBattlePost).
func (ApiApiTournamentPostRequest) Variant ¶
func (r ApiApiTournamentPostRequest) Variant(variant VariantKey) ApiApiTournamentPostRequest
func (ApiApiTournamentPostRequest) WaitMinutes ¶
func (r ApiApiTournamentPostRequest) WaitMinutes(waitMinutes interface{}) ApiApiTournamentPostRequest
How long to wait before starting the tournament, from now, in minutes
type ApiApiTournamentRequest ¶
type ApiApiTournamentRequest struct { ApiService *ArenaTournamentsApiService // contains filtered or unexported fields }
func (ApiApiTournamentRequest) Execute ¶
func (r ApiApiTournamentRequest) Execute() (*ArenaTournaments, *http.Response, error)
type ApiApiTournamentTeamBattlePostRequest ¶
type ApiApiTournamentTeamBattlePostRequest struct { ApiService *ArenaTournamentsApiService // contains filtered or unexported fields }
func (ApiApiTournamentTeamBattlePostRequest) Execute ¶
func (r ApiApiTournamentTeamBattlePostRequest) Execute() (interface{}, *http.Response, error)
func (ApiApiTournamentTeamBattlePostRequest) NbLeaders ¶
func (r ApiApiTournamentTeamBattlePostRequest) NbLeaders(nbLeaders interface{}) ApiApiTournamentTeamBattlePostRequest
Number team leaders per team.
func (ApiApiTournamentTeamBattlePostRequest) Teams ¶
func (r ApiApiTournamentTeamBattlePostRequest) Teams(teams interface{}) ApiApiTournamentTeamBattlePostRequest
All team IDs of the team battle, separated by commas. Make sure to always send the full list. Teams that are not in the list will be removed from the team battle. Example: `coders,zhigalko_sergei-fan-club,hhSwTKZv`
type ApiApiTournamentTerminateRequest ¶
type ApiApiTournamentTerminateRequest struct { ApiService *ArenaTournamentsApiService // contains filtered or unexported fields }
type ApiApiTournamentUpdateRequest ¶
type ApiApiTournamentUpdateRequest struct { ApiService *ArenaTournamentsApiService // contains filtered or unexported fields }
func (ApiApiTournamentUpdateRequest) Berserkable ¶
func (r ApiApiTournamentUpdateRequest) Berserkable(berserkable interface{}) ApiApiTournamentUpdateRequest
Whether the players can use berserk. Only allowed if clockIncrement <= clockTime * 2
func (ApiApiTournamentUpdateRequest) ClockIncrement ¶
func (r ApiApiTournamentUpdateRequest) ClockIncrement(clockIncrement interface{}) ApiApiTournamentUpdateRequest
Clock increment in seconds
func (ApiApiTournamentUpdateRequest) ClockTime ¶
func (r ApiApiTournamentUpdateRequest) ClockTime(clockTime interface{}) ApiApiTournamentUpdateRequest
Clock initial time in minutes
func (ApiApiTournamentUpdateRequest) ConditionsAllowList ¶
func (r ApiApiTournamentUpdateRequest) ConditionsAllowList(conditionsAllowList interface{}) ApiApiTournamentUpdateRequest
Predefined list of usernames that are allowed to join, separated by commas. If this list is non-empty, then usernames absent from this list will be forbidden to join. Adding `%titled` to the list additionally allows any titled player to join. Example: `thibault,german11,%titled`
func (ApiApiTournamentUpdateRequest) ConditionsMaxRatingRating ¶
func (r ApiApiTournamentUpdateRequest) ConditionsMaxRatingRating(conditionsMaxRatingRating interface{}) ApiApiTournamentUpdateRequest
Maximum rating to join. Based on best rating reached in the last 7 days. Leave empty to let everyone join the tournament.
func (ApiApiTournamentUpdateRequest) ConditionsMinRatingRating ¶
func (r ApiApiTournamentUpdateRequest) ConditionsMinRatingRating(conditionsMinRatingRating interface{}) ApiApiTournamentUpdateRequest
Minimum rating to join. Leave empty to let everyone join the tournament.
func (ApiApiTournamentUpdateRequest) ConditionsNbRatedGameNb ¶
func (r ApiApiTournamentUpdateRequest) ConditionsNbRatedGameNb(conditionsNbRatedGameNb interface{}) ApiApiTournamentUpdateRequest
Minimum number of rated games required to join.
func (ApiApiTournamentUpdateRequest) Description ¶
func (r ApiApiTournamentUpdateRequest) Description(description interface{}) ApiApiTournamentUpdateRequest
Anything you want to tell players about the tournament
func (ApiApiTournamentUpdateRequest) Execute ¶
func (r ApiApiTournamentUpdateRequest) Execute() (interface{}, *http.Response, error)
func (ApiApiTournamentUpdateRequest) HasChat ¶
func (r ApiApiTournamentUpdateRequest) HasChat(hasChat interface{}) ApiApiTournamentUpdateRequest
Whether the players can discuss in a chat
func (ApiApiTournamentUpdateRequest) Minutes ¶
func (r ApiApiTournamentUpdateRequest) Minutes(minutes interface{}) ApiApiTournamentUpdateRequest
How long the tournament lasts, in minutes
func (ApiApiTournamentUpdateRequest) Name ¶
func (r ApiApiTournamentUpdateRequest) Name(name interface{}) ApiApiTournamentUpdateRequest
The tournament name. Leave empty to get a random Grandmaster name
func (ApiApiTournamentUpdateRequest) Password ¶
func (r ApiApiTournamentUpdateRequest) Password(password interface{}) ApiApiTournamentUpdateRequest
Make the tournament private, and restrict access with a password
func (ApiApiTournamentUpdateRequest) Position ¶
func (r ApiApiTournamentUpdateRequest) Position(position interface{}) ApiApiTournamentUpdateRequest
Custom initial position (in FEN) for all games of the tournament. Must be a legal chess position. Only works with standard chess, not variants (except Chess960).
func (ApiApiTournamentUpdateRequest) Rated ¶
func (r ApiApiTournamentUpdateRequest) Rated(rated interface{}) ApiApiTournamentUpdateRequest
Games are rated and impact players ratings
func (ApiApiTournamentUpdateRequest) StartDate ¶
func (r ApiApiTournamentUpdateRequest) StartDate(startDate interface{}) ApiApiTournamentUpdateRequest
Timestamp (in milliseconds) to start the tournament at a given date and time. Overrides the `waitMinutes` setting
func (ApiApiTournamentUpdateRequest) Streakable ¶
func (r ApiApiTournamentUpdateRequest) Streakable(streakable interface{}) ApiApiTournamentUpdateRequest
After 2 wins, consecutive wins grant 4 points instead of 2.
func (ApiApiTournamentUpdateRequest) Variant ¶
func (r ApiApiTournamentUpdateRequest) Variant(variant VariantKey) ApiApiTournamentUpdateRequest
func (ApiApiTournamentUpdateRequest) WaitMinutes ¶
func (r ApiApiTournamentUpdateRequest) WaitMinutes(waitMinutes interface{}) ApiApiTournamentUpdateRequest
How long to wait before starting the tournament, from now, in minutes
type ApiApiTournamentWithdrawRequest ¶
type ApiApiTournamentWithdrawRequest struct { ApiService *ArenaTournamentsApiService // contains filtered or unexported fields }
type ApiApiUserActivityRequest ¶
type ApiApiUserActivityRequest struct { ApiService *UsersApiService // contains filtered or unexported fields }
type ApiApiUserCurrentGameRequest ¶
type ApiApiUserCurrentGameRequest struct { ApiService *GamesApiService // contains filtered or unexported fields }
func (ApiApiUserCurrentGameRequest) Clocks ¶
func (r ApiApiUserCurrentGameRequest) Clocks(clocks interface{}) ApiApiUserCurrentGameRequest
Include clock comments in the PGN moves, when available. Example: `2. exd5 { [%clk 1:01:27] } e5 { [%clk 1:01:28] }`
func (ApiApiUserCurrentGameRequest) Evals ¶
func (r ApiApiUserCurrentGameRequest) Evals(evals interface{}) ApiApiUserCurrentGameRequest
Include analysis evaluation comments in the PGN, when available. Example: `12. Bxf6 { [%eval 0.23] } a3 { [%eval -1.09] }`
func (ApiApiUserCurrentGameRequest) Execute ¶
func (r ApiApiUserCurrentGameRequest) Execute() (interface{}, *http.Response, error)
func (ApiApiUserCurrentGameRequest) Literate ¶
func (r ApiApiUserCurrentGameRequest) Literate(literate interface{}) ApiApiUserCurrentGameRequest
Insert textual annotations in the PGN about the opening, analysis variations, mistakes, and game termination. Example: `5... g4? { (-0.98 → 0.60) Mistake. Best move was h6. } (5... h6 6. d4 Ne7 7. g3 d5 8. exd5 fxg3 9. hxg3 c6 10. dxc6)`
func (ApiApiUserCurrentGameRequest) Moves ¶
func (r ApiApiUserCurrentGameRequest) Moves(moves interface{}) ApiApiUserCurrentGameRequest
Include the PGN moves.
func (ApiApiUserCurrentGameRequest) Opening ¶
func (r ApiApiUserCurrentGameRequest) Opening(opening interface{}) ApiApiUserCurrentGameRequest
Include the opening name. Example: `[Opening \"King's Gambit Accepted, King's Knight Gambit\"]`
func (ApiApiUserCurrentGameRequest) PgnInJson ¶
func (r ApiApiUserCurrentGameRequest) PgnInJson(pgnInJson interface{}) ApiApiUserCurrentGameRequest
Include the full PGN within the JSON response, in a `pgn` field.
func (ApiApiUserCurrentGameRequest) Players ¶
func (r ApiApiUserCurrentGameRequest) Players(players interface{}) ApiApiUserCurrentGameRequest
URL of a text file containing real names and ratings, to replace Lichess usernames and ratings in the PGN. Example: <https://gist.githubusercontent.com/ornicar/6bfa91eb61a2dcae7bcd14cce1b2a4eb/raw/768b9f6cc8a8471d2555e47ba40fb0095e5fba37/gistfile1.txt>
func (ApiApiUserCurrentGameRequest) Tags ¶
func (r ApiApiUserCurrentGameRequest) Tags(tags interface{}) ApiApiUserCurrentGameRequest
Include the PGN tags.
type ApiApiUserFollowingRequest ¶
type ApiApiUserFollowingRequest struct { ApiService *RelationsApiService // contains filtered or unexported fields }
type ApiApiUserNameTournamentCreatedRequest ¶
type ApiApiUserNameTournamentCreatedRequest struct { ApiService *ArenaTournamentsApiService // contains filtered or unexported fields }
func (ApiApiUserNameTournamentCreatedRequest) Execute ¶
func (r ApiApiUserNameTournamentCreatedRequest) Execute() (interface{}, *http.Response, error)
func (ApiApiUserNameTournamentCreatedRequest) Status ¶
func (r ApiApiUserNameTournamentCreatedRequest) Status(status interface{}) ApiApiUserNameTournamentCreatedRequest
Include tournaments in the given status: \"Created\" (10), \"Started\" (20), \"Finished\" (30) You can add this parameter more than once to include tournaments in different statuses. Example: `?status=10&status=20`
type ApiApiUserPerfRequest ¶
type ApiApiUserPerfRequest struct { ApiService *UsersApiService // contains filtered or unexported fields }
type ApiApiUserRatingHistoryRequest ¶
type ApiApiUserRatingHistoryRequest struct { ApiService *UsersApiService // contains filtered or unexported fields }
type ApiApiUserRequest ¶
type ApiApiUserRequest struct { ApiService *UsersApiService // contains filtered or unexported fields }
func (ApiApiUserRequest) Execute ¶
func (r ApiApiUserRequest) Execute() (interface{}, *http.Response, error)
func (ApiApiUserRequest) Trophies ¶
func (r ApiApiUserRequest) Trophies(trophies interface{}) ApiApiUserRequest
Include user trophies
type ApiApiUsersRequest ¶
type ApiApiUsersRequest struct { ApiService *UsersApiService // contains filtered or unexported fields }
func (ApiApiUsersRequest) Body ¶
func (r ApiApiUsersRequest) Body(body *string) ApiApiUsersRequest
User IDs separated by commas.
type ApiApiUsersStatusRequest ¶
type ApiApiUsersStatusRequest struct { ApiService *UsersApiService // contains filtered or unexported fields }
func (ApiApiUsersStatusRequest) Execute ¶
func (r ApiApiUsersStatusRequest) Execute() ([]ApiUsersStatus200ResponseInner, *http.Response, error)
func (ApiApiUsersStatusRequest) Ids ¶
func (r ApiApiUsersStatusRequest) Ids(ids interface{}) ApiApiUsersStatusRequest
User IDs separated by commas. Up to 100 IDs.
func (ApiApiUsersStatusRequest) WithGameIds ¶
func (r ApiApiUsersStatusRequest) WithGameIds(withGameIds interface{}) ApiApiUsersStatusRequest
Also return the ID of the game being played, if any, for each player, in a `playingId` field. Defaults to `false` to preserve server resources.
type ApiBoardGameAbortRequest ¶
type ApiBoardGameAbortRequest struct { ApiService *BoardApiService // contains filtered or unexported fields }
type ApiBoardGameBerserkRequest ¶
type ApiBoardGameBerserkRequest struct { ApiService *BoardApiService // contains filtered or unexported fields }
type ApiBoardGameChatGetRequest ¶
type ApiBoardGameChatGetRequest struct { ApiService *BoardApiService // contains filtered or unexported fields }
type ApiBoardGameChatPostRequest ¶
type ApiBoardGameChatPostRequest struct { ApiService *BoardApiService // contains filtered or unexported fields }
func (ApiBoardGameChatPostRequest) Execute ¶
func (r ApiBoardGameChatPostRequest) Execute() (*Ok, *http.Response, error)
func (ApiBoardGameChatPostRequest) Room ¶
func (r ApiBoardGameChatPostRequest) Room(room interface{}) ApiBoardGameChatPostRequest
func (ApiBoardGameChatPostRequest) Text ¶
func (r ApiBoardGameChatPostRequest) Text(text interface{}) ApiBoardGameChatPostRequest
type ApiBoardGameClaimVictoryRequest ¶
type ApiBoardGameClaimVictoryRequest struct { ApiService *BoardApiService // contains filtered or unexported fields }
type ApiBoardGameDrawRequest ¶
type ApiBoardGameDrawRequest struct { ApiService *BoardApiService // contains filtered or unexported fields }
type ApiBoardGameMoveRequest ¶
type ApiBoardGameMoveRequest struct { ApiService *BoardApiService // contains filtered or unexported fields }
func (ApiBoardGameMoveRequest) Execute ¶
func (r ApiBoardGameMoveRequest) Execute() (*Ok, *http.Response, error)
func (ApiBoardGameMoveRequest) OfferingDraw ¶
func (r ApiBoardGameMoveRequest) OfferingDraw(offeringDraw interface{}) ApiBoardGameMoveRequest
Whether to offer (or agree to) a draw
type ApiBoardGameResignRequest ¶
type ApiBoardGameResignRequest struct { ApiService *BoardApiService // contains filtered or unexported fields }
type ApiBoardGameStreamRequest ¶
type ApiBoardGameStreamRequest struct { ApiService *BoardApiService // contains filtered or unexported fields }
type ApiBoardGameTakebackRequest ¶
type ApiBoardGameTakebackRequest struct { ApiService *BoardApiService // contains filtered or unexported fields }
type ApiBotAccountUpgradeRequest ¶
type ApiBotAccountUpgradeRequest struct { ApiService *BotApiService // contains filtered or unexported fields }
type ApiBotGameAbortRequest ¶
type ApiBotGameAbortRequest struct { ApiService *BotApiService // contains filtered or unexported fields }
type ApiBotGameChatGetRequest ¶
type ApiBotGameChatGetRequest struct { ApiService *BotApiService // contains filtered or unexported fields }
type ApiBotGameChatRequest ¶
type ApiBotGameChatRequest struct { ApiService *BotApiService // contains filtered or unexported fields }
func (ApiBotGameChatRequest) Execute ¶
func (r ApiBotGameChatRequest) Execute() (*Ok, *http.Response, error)
func (ApiBotGameChatRequest) Room ¶
func (r ApiBotGameChatRequest) Room(room interface{}) ApiBotGameChatRequest
func (ApiBotGameChatRequest) Text ¶
func (r ApiBotGameChatRequest) Text(text interface{}) ApiBotGameChatRequest
type ApiBotGameMoveRequest ¶
type ApiBotGameMoveRequest struct { ApiService *BotApiService // contains filtered or unexported fields }
func (ApiBotGameMoveRequest) Execute ¶
func (r ApiBotGameMoveRequest) Execute() (*Ok, *http.Response, error)
func (ApiBotGameMoveRequest) OfferingDraw ¶
func (r ApiBotGameMoveRequest) OfferingDraw(offeringDraw interface{}) ApiBotGameMoveRequest
Whether to offer (or agree to) a draw
type ApiBotGameResignRequest ¶
type ApiBotGameResignRequest struct { ApiService *BotApiService // contains filtered or unexported fields }
type ApiBotGameStreamRequest ¶
type ApiBotGameStreamRequest struct { ApiService *BotApiService // contains filtered or unexported fields }
type ApiBroadcastAllRoundsPgnRequest ¶
type ApiBroadcastAllRoundsPgnRequest struct { ApiService *BroadcastsApiService // contains filtered or unexported fields }
type ApiBroadcastIndexRequest ¶
type ApiBroadcastIndexRequest struct { ApiService *BroadcastsApiService // contains filtered or unexported fields }
func (ApiBroadcastIndexRequest) Execute ¶
func (r ApiBroadcastIndexRequest) Execute() ([]interface{}, *http.Response, error)
func (ApiBroadcastIndexRequest) Nb ¶
func (r ApiBroadcastIndexRequest) Nb(nb interface{}) ApiBroadcastIndexRequest
Max number of broadcasts to fetch
type ApiBroadcastPushRequest ¶
type ApiBroadcastPushRequest struct { ApiService *BroadcastsApiService // contains filtered or unexported fields }
func (ApiBroadcastPushRequest) Body ¶
func (r ApiBroadcastPushRequest) Body(body interface{}) ApiBroadcastPushRequest
The PGN. It can contain up to 64 games, separated by a double new line.
type ApiBroadcastRoundCreateRequest ¶
type ApiBroadcastRoundCreateRequest struct { ApiService *BroadcastsApiService // contains filtered or unexported fields }
func (ApiBroadcastRoundCreateRequest) Execute ¶
func (r ApiBroadcastRoundCreateRequest) Execute() (interface{}, *http.Response, error)
func (ApiBroadcastRoundCreateRequest) Name ¶
func (r ApiBroadcastRoundCreateRequest) Name(name interface{}) ApiBroadcastRoundCreateRequest
Name of the broadcast round. Length must be between 3 and 80 characters. Example: `Round 1`
func (ApiBroadcastRoundCreateRequest) StartsAt ¶
func (r ApiBroadcastRoundCreateRequest) StartsAt(startsAt interface{}) ApiBroadcastRoundCreateRequest
Timestamp in milliseconds of broadcast round start. Leave empty to manually start the broadcast round. Example: `1356998400070`
func (ApiBroadcastRoundCreateRequest) SyncUrl ¶
func (r ApiBroadcastRoundCreateRequest) SyncUrl(syncUrl interface{}) ApiBroadcastRoundCreateRequest
URL that Lichess will poll to get updates about the games. It must be publicly accessible from the Internet. Example: `https://myserver.org/myevent/round-10/games.pgn` If the syncUrl is missing, then the broadcast needs to be fed by [pushing PGN to it](#operation/broadcastPush).
type ApiBroadcastRoundGetRequest ¶
type ApiBroadcastRoundGetRequest struct { ApiService *BroadcastsApiService // contains filtered or unexported fields }
type ApiBroadcastRoundPgnRequest ¶
type ApiBroadcastRoundPgnRequest struct { ApiService *BroadcastsApiService // contains filtered or unexported fields }
type ApiBroadcastRoundUpdateRequest ¶
type ApiBroadcastRoundUpdateRequest struct { ApiService *BroadcastsApiService // contains filtered or unexported fields }
func (ApiBroadcastRoundUpdateRequest) Execute ¶
func (r ApiBroadcastRoundUpdateRequest) Execute() (*Ok, *http.Response, error)
func (ApiBroadcastRoundUpdateRequest) Name ¶
func (r ApiBroadcastRoundUpdateRequest) Name(name interface{}) ApiBroadcastRoundUpdateRequest
Name of the broadcast round. Length must be between 3 and 80 characters. Example: `Round 10`
func (ApiBroadcastRoundUpdateRequest) StartsAt ¶
func (r ApiBroadcastRoundUpdateRequest) StartsAt(startsAt interface{}) ApiBroadcastRoundUpdateRequest
Timestamp in milliseconds of broadcast start. Leave empty to manually start the broadcast. Example: `1356998400070`
func (ApiBroadcastRoundUpdateRequest) SyncUrl ¶
func (r ApiBroadcastRoundUpdateRequest) SyncUrl(syncUrl interface{}) ApiBroadcastRoundUpdateRequest
URL that Lichess will poll to get updates about the games. It must be publicly accessible from the Internet. Example: `https://myserver.org/myevent/round-10/games.pgn`
type ApiBroadcastStreamRoundPgnRequest ¶
type ApiBroadcastStreamRoundPgnRequest struct { ApiService *BroadcastsApiService // contains filtered or unexported fields }
type ApiBroadcastTourCreateRequest ¶
type ApiBroadcastTourCreateRequest struct { ApiService *BroadcastsApiService // contains filtered or unexported fields }
func (ApiBroadcastTourCreateRequest) Description ¶
func (r ApiBroadcastTourCreateRequest) Description(description interface{}) ApiBroadcastTourCreateRequest
Short description of the broadcast tournament. Length must be between 3 and 400 characters. Example: `An 11 round classical tournament featuring the 9 highest rated players in the world. Including Carlsen, Caruana, Ding, Aronian, Nakamura and more.`
func (ApiBroadcastTourCreateRequest) Execute ¶
func (r ApiBroadcastTourCreateRequest) Execute() (interface{}, *http.Response, error)
func (ApiBroadcastTourCreateRequest) Markdown ¶
func (r ApiBroadcastTourCreateRequest) Markdown(markdown interface{}) ApiBroadcastTourCreateRequest
Optional long description of the broadcast. Markdown is supported. Length must be less than 20,000 characters.
func (ApiBroadcastTourCreateRequest) Name ¶
func (r ApiBroadcastTourCreateRequest) Name(name interface{}) ApiBroadcastTourCreateRequest
Name of the broadcast tournament. Length must be between 3 and 80 characters. Example: `Sinquefield Cup`
func (ApiBroadcastTourCreateRequest) Official ¶
func (r ApiBroadcastTourCreateRequest) Official(official interface{}) ApiBroadcastTourCreateRequest
For Lichess internal usage only. You are not allowed to use this flag. If you do it, we will have to call the police.
type ApiBroadcastTourGetRequest ¶
type ApiBroadcastTourGetRequest struct { ApiService *BroadcastsApiService // contains filtered or unexported fields }
type ApiBroadcastTourUpdateRequest ¶
type ApiBroadcastTourUpdateRequest struct { ApiService *BroadcastsApiService // contains filtered or unexported fields }
func (ApiBroadcastTourUpdateRequest) Description ¶
func (r ApiBroadcastTourUpdateRequest) Description(description interface{}) ApiBroadcastTourUpdateRequest
Short description of the broadcast tournament. Length must be between 3 and 400 characters. Example: `An 11 round classical tournament featuring the 9 highest rated players in the world. Including Carlsen, Caruana, Ding, Aronian, Nakamura and more.`
func (ApiBroadcastTourUpdateRequest) Execute ¶
func (r ApiBroadcastTourUpdateRequest) Execute() (*Ok, *http.Response, error)
func (ApiBroadcastTourUpdateRequest) Markdown ¶
func (r ApiBroadcastTourUpdateRequest) Markdown(markdown interface{}) ApiBroadcastTourUpdateRequest
Optional long description of the broadcast tournament. Markdown is supported. Length must be less than 20,000 characters.
func (ApiBroadcastTourUpdateRequest) Name ¶
func (r ApiBroadcastTourUpdateRequest) Name(name interface{}) ApiBroadcastTourUpdateRequest
Name of the broadcast tournament. Length must be between 3 and 80 characters. Example: `Sinquefield Cup`
func (ApiBroadcastTourUpdateRequest) Official ¶
func (r ApiBroadcastTourUpdateRequest) Official(official interface{}) ApiBroadcastTourUpdateRequest
For Lichess internal usage only. You are not allowed to use this flag. If you do it, we will have to call the police.
type ApiBulkPairingCreateRequest ¶
type ApiBulkPairingCreateRequest struct { ApiService *BulkPairingsApiService // contains filtered or unexported fields }
func (ApiBulkPairingCreateRequest) ClockIncrement ¶
func (r ApiBulkPairingCreateRequest) ClockIncrement(clockIncrement interface{}) ApiBulkPairingCreateRequest
Clock increment in seconds. Example: `2`
func (ApiBulkPairingCreateRequest) ClockLimit ¶
func (r ApiBulkPairingCreateRequest) ClockLimit(clockLimit interface{}) ApiBulkPairingCreateRequest
Clock initial time in seconds. Example: `600`
func (ApiBulkPairingCreateRequest) Days ¶
func (r ApiBulkPairingCreateRequest) Days(days interface{}) ApiBulkPairingCreateRequest
Days per turn. For correspondence games only.
func (ApiBulkPairingCreateRequest) Execute ¶
func (r ApiBulkPairingCreateRequest) Execute() (interface{}, *http.Response, error)
func (ApiBulkPairingCreateRequest) Fen ¶
func (r ApiBulkPairingCreateRequest) Fen(fen interface{}) ApiBulkPairingCreateRequest
Custom initial position (in FEN). Variant must be standard, fromPosition, or chess960 (if a valid 960 starting position), and the game cannot be rated.
func (ApiBulkPairingCreateRequest) Message ¶
func (r ApiBulkPairingCreateRequest) Message(message interface{}) ApiBulkPairingCreateRequest
Message that will be sent to each player, when the game is created. It is sent from your user account. `{opponent}` and `{game}` are placeholders that will be replaced with the opponent and the game URLs. You can omit this field to send the default message, but if you set your own message, it must at least contain the `{game}` placeholder.
func (ApiBulkPairingCreateRequest) PairAt ¶
func (r ApiBulkPairingCreateRequest) PairAt(pairAt interface{}) ApiBulkPairingCreateRequest
Date at which the games will be created as a Unix timestamp in milliseconds. Up to 24h in the future. Omit, or set to current date and time, to start the games immediately. Example: `1612289869919`
func (ApiBulkPairingCreateRequest) Players ¶
func (r ApiBulkPairingCreateRequest) Players(players interface{}) ApiBulkPairingCreateRequest
OAuth tokens of all the players to pair, with the syntax `tokenOfWhitePlayerInGame1:tokenOfBlackPlayerInGame1,tokenOfWhitePlayerInGame2:tokenOfBlackPlayerInGame2,...`. The 2 tokens of the players of a game are separated with `:`. The first token gets the white pieces. Games are separated with `,`. Up to 1000 tokens can be sent, for a max of 500 games. Each token must be included at most once. Example: `token1:token2,token3:token4,token5:token6`
func (ApiBulkPairingCreateRequest) Rated ¶
func (r ApiBulkPairingCreateRequest) Rated(rated interface{}) ApiBulkPairingCreateRequest
Game is rated and impacts players ratings
func (ApiBulkPairingCreateRequest) Rules ¶
func (r ApiBulkPairingCreateRequest) Rules(rules interface{}) ApiBulkPairingCreateRequest
Extra game rules separated by commas. Example: `noAbort,noRematch`
func (ApiBulkPairingCreateRequest) StartClocksAt ¶
func (r ApiBulkPairingCreateRequest) StartClocksAt(startClocksAt interface{}) ApiBulkPairingCreateRequest
Date at which the clocks will be automatically started as a Unix timestamp in milliseconds. Up to 24h in the future. Note that the clocks can start earlier than specified, if players start making moves in the game. If omitted, the clocks will not start automatically. Example: `1612289869919`
func (ApiBulkPairingCreateRequest) Variant ¶
func (r ApiBulkPairingCreateRequest) Variant(variant VariantKey) ApiBulkPairingCreateRequest
type ApiBulkPairingDeleteRequest ¶
type ApiBulkPairingDeleteRequest struct { ApiService *BulkPairingsApiService // contains filtered or unexported fields }
type ApiBulkPairingGetRequest ¶
type ApiBulkPairingGetRequest struct { ApiService *BulkPairingsApiService // contains filtered or unexported fields }
type ApiBulkPairingStartClocksRequest ¶
type ApiBulkPairingStartClocksRequest struct { ApiService *BulkPairingsApiService // contains filtered or unexported fields }
type ApiChallengeAcceptRequest ¶
type ApiChallengeAcceptRequest struct { ApiService *ChallengesApiService // contains filtered or unexported fields }
type ApiChallengeAiRequest ¶
type ApiChallengeAiRequest struct { ApiService *ChallengesApiService // contains filtered or unexported fields }
func (ApiChallengeAiRequest) ClockIncrement ¶
func (r ApiChallengeAiRequest) ClockIncrement(clockIncrement interface{}) ApiChallengeAiRequest
Clock increment in seconds. If empty, a correspondence game is created.
func (ApiChallengeAiRequest) ClockLimit ¶
func (r ApiChallengeAiRequest) ClockLimit(clockLimit interface{}) ApiChallengeAiRequest
Clock initial time in seconds. If empty, a correspondence game is created.
func (ApiChallengeAiRequest) Color ¶
func (r ApiChallengeAiRequest) Color(color interface{}) ApiChallengeAiRequest
Which color you get to play
func (ApiChallengeAiRequest) Days ¶
func (r ApiChallengeAiRequest) Days(days interface{}) ApiChallengeAiRequest
Days per move, for correspondence games. Clock settings must be omitted.
func (ApiChallengeAiRequest) Execute ¶
func (r ApiChallengeAiRequest) Execute() (*GameJson, *http.Response, error)
func (ApiChallengeAiRequest) Fen ¶
func (r ApiChallengeAiRequest) Fen(fen interface{}) ApiChallengeAiRequest
Custom initial position (in FEN). Variant must be standard, fromPosition, or chess960 (if a valid 960 starting position), and the game cannot be rated.
func (ApiChallengeAiRequest) Level ¶
func (r ApiChallengeAiRequest) Level(level interface{}) ApiChallengeAiRequest
AI strength
func (ApiChallengeAiRequest) Variant ¶
func (r ApiChallengeAiRequest) Variant(variant VariantKey) ApiChallengeAiRequest
type ApiChallengeCancelRequest ¶
type ApiChallengeCancelRequest struct { ApiService *ChallengesApiService // contains filtered or unexported fields }
func (ApiChallengeCancelRequest) Execute ¶
func (r ApiChallengeCancelRequest) Execute() (*Ok, *http.Response, error)
func (ApiChallengeCancelRequest) OpponentToken ¶
func (r ApiChallengeCancelRequest) OpponentToken(opponentToken interface{}) ApiChallengeCancelRequest
Optional `challenge:write` token of the opponent. If set, the game can be canceled even if both players have moved.
type ApiChallengeCreateRequest ¶
type ApiChallengeCreateRequest struct { ApiService *ChallengesApiService // contains filtered or unexported fields }
func (ApiChallengeCreateRequest) AcceptByToken ¶
func (r ApiChallengeCreateRequest) AcceptByToken(acceptByToken interface{}) ApiChallengeCreateRequest
Immediately accept the challenge and create the game. Pass in an OAuth token (with the `challenge:write` scope) for the receiving user. On success, the response will contain a `game` field instead of a `challenge` field. Alternatively, consider the [bulk pairing API](#operation/bulkPairingCreate).
func (ApiChallengeCreateRequest) ClockIncrement ¶
func (r ApiChallengeCreateRequest) ClockIncrement(clockIncrement interface{}) ApiChallengeCreateRequest
Clock increment in seconds. If empty, a correspondence game is created.
func (ApiChallengeCreateRequest) ClockLimit ¶
func (r ApiChallengeCreateRequest) ClockLimit(clockLimit interface{}) ApiChallengeCreateRequest
Clock initial time in seconds. If empty, a correspondence game is created.
func (ApiChallengeCreateRequest) Color ¶
func (r ApiChallengeCreateRequest) Color(color interface{}) ApiChallengeCreateRequest
Which color you get to play
func (ApiChallengeCreateRequest) Days ¶
func (r ApiChallengeCreateRequest) Days(days interface{}) ApiChallengeCreateRequest
Days per move, for correspondence games. Clock settings must be omitted.
func (ApiChallengeCreateRequest) Execute ¶
func (r ApiChallengeCreateRequest) Execute() (*ChallengeJson, *http.Response, error)
func (ApiChallengeCreateRequest) Fen ¶
func (r ApiChallengeCreateRequest) Fen(fen interface{}) ApiChallengeCreateRequest
Custom initial position (in FEN). Variant must be standard, fromPosition, or chess960 (if a valid 960 starting position), and the game cannot be rated. Castling moves will use UCI_Chess960 notation, for example e1h1 instead of e1g1.
func (ApiChallengeCreateRequest) KeepAliveStream ¶
func (r ApiChallengeCreateRequest) KeepAliveStream(keepAliveStream interface{}) ApiChallengeCreateRequest
If set, the response is streamed as [ndjson](#section/Introduction/Streaming-with-ND-JSON). The challenge is kept alive until the connection is closed by the client. When the challenge is accepted, declined or canceled, a message of the form `{\\\"done\\\":\\\"accepted\\\"}` is sent, then the connection is closed by the server. If not set, the response is not streamed, and the challenge expires after 20s if not accepted.
func (ApiChallengeCreateRequest) Message ¶
func (r ApiChallengeCreateRequest) Message(message interface{}) ApiChallengeCreateRequest
**Only if `acceptByToken` is set.** Message that is sent to each player, when the game is created. It is sent from your user account. `{opponent}`, `{player}` and `{game}` are placeholders that will be replaced with the opponent name, player name, and the game URLs. You can omit this field to send the default message, but if you set your own message, it must at least contain the `{game}` placeholder.
func (ApiChallengeCreateRequest) Rated ¶
func (r ApiChallengeCreateRequest) Rated(rated interface{}) ApiChallengeCreateRequest
Game is rated and impacts players ratings
func (ApiChallengeCreateRequest) Rules ¶
func (r ApiChallengeCreateRequest) Rules(rules interface{}) ApiChallengeCreateRequest
Extra game rules separated by commas. Example: `noAbort,noRematch`
func (ApiChallengeCreateRequest) Variant ¶
func (r ApiChallengeCreateRequest) Variant(variant VariantKey) ApiChallengeCreateRequest
type ApiChallengeDeclineRequest ¶
type ApiChallengeDeclineRequest struct { ApiService *ChallengesApiService // contains filtered or unexported fields }
func (ApiChallengeDeclineRequest) Execute ¶
func (r ApiChallengeDeclineRequest) Execute() (*Ok, *http.Response, error)
func (ApiChallengeDeclineRequest) Reason ¶
func (r ApiChallengeDeclineRequest) Reason(reason interface{}) ApiChallengeDeclineRequest
Reason challenge was declined. It will be translated to the player's language. See [the full list in the translation file](https://github.com/ornicar/lila/blob/master/translation/source/challenge.xml#L14).
type ApiChallengeListRequest ¶
type ApiChallengeListRequest struct { ApiService *ChallengesApiService // contains filtered or unexported fields }
func (ApiChallengeListRequest) Execute ¶
func (r ApiChallengeListRequest) Execute() (*ChallengeList200Response, *http.Response, error)
type ApiChallengeOpenRequest ¶
type ApiChallengeOpenRequest struct { ApiService *ChallengesApiService // contains filtered or unexported fields }
func (ApiChallengeOpenRequest) ClockIncrement ¶
func (r ApiChallengeOpenRequest) ClockIncrement(clockIncrement interface{}) ApiChallengeOpenRequest
Clock increment in seconds. If empty, a correspondence game is created.
func (ApiChallengeOpenRequest) ClockLimit ¶
func (r ApiChallengeOpenRequest) ClockLimit(clockLimit interface{}) ApiChallengeOpenRequest
Clock initial time in seconds. If empty, a correspondence game is created.
func (ApiChallengeOpenRequest) Days ¶
func (r ApiChallengeOpenRequest) Days(days interface{}) ApiChallengeOpenRequest
Days per turn. For correspondence challenges.
func (ApiChallengeOpenRequest) Execute ¶
func (r ApiChallengeOpenRequest) Execute() (interface{}, *http.Response, error)
func (ApiChallengeOpenRequest) Fen ¶
func (r ApiChallengeOpenRequest) Fen(fen interface{}) ApiChallengeOpenRequest
Custom initial position (in FEN). Variant must be standard, fromPosition, or chess960 (if a valid 960 starting position), and the game cannot be rated.
func (ApiChallengeOpenRequest) Name ¶
func (r ApiChallengeOpenRequest) Name(name interface{}) ApiChallengeOpenRequest
Optional name for the challenge, that players will see on the challenge page.
func (ApiChallengeOpenRequest) Rated ¶
func (r ApiChallengeOpenRequest) Rated(rated interface{}) ApiChallengeOpenRequest
Game is rated and impacts players ratings
func (ApiChallengeOpenRequest) Rules ¶
func (r ApiChallengeOpenRequest) Rules(rules interface{}) ApiChallengeOpenRequest
Extra game rules separated by commas. Example: `noAbort,noRematch`
func (ApiChallengeOpenRequest) Users ¶
func (r ApiChallengeOpenRequest) Users(users interface{}) ApiChallengeOpenRequest
Optional pair of usernames, separated by a comma. If set, only these users will be allowed to join the game. The first username gets the white pieces. Example: `Username1,Username2`
func (ApiChallengeOpenRequest) Variant ¶
func (r ApiChallengeOpenRequest) Variant(variant VariantKey) ApiChallengeOpenRequest
type ApiChallengeStartClocksRequest ¶
type ApiChallengeStartClocksRequest struct { ApiService *ChallengesApiService // contains filtered or unexported fields }
func (ApiChallengeStartClocksRequest) Execute ¶
func (r ApiChallengeStartClocksRequest) Execute() (*Ok, *http.Response, error)
func (ApiChallengeStartClocksRequest) Token1 ¶
func (r ApiChallengeStartClocksRequest) Token1(token1 interface{}) ApiChallengeStartClocksRequest
OAuth token of a player
func (ApiChallengeStartClocksRequest) Token2 ¶
func (r ApiChallengeStartClocksRequest) Token2(token2 interface{}) ApiChallengeStartClocksRequest
OAuth token of the other player
type ApiExternalEngineAcquire200Response ¶
type ApiExternalEngineAcquire200Response struct { Id interface{} `json:"id"` Work ExternalEngineWork `json:"work"` Engine ExternalEngine `json:"engine"` }
ApiExternalEngineAcquire200Response struct for ApiExternalEngineAcquire200Response
func NewApiExternalEngineAcquire200Response ¶
func NewApiExternalEngineAcquire200Response(id interface{}, work ExternalEngineWork, engine ExternalEngine) *ApiExternalEngineAcquire200Response
NewApiExternalEngineAcquire200Response instantiates a new ApiExternalEngineAcquire200Response object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewApiExternalEngineAcquire200ResponseWithDefaults ¶
func NewApiExternalEngineAcquire200ResponseWithDefaults() *ApiExternalEngineAcquire200Response
NewApiExternalEngineAcquire200ResponseWithDefaults instantiates a new ApiExternalEngineAcquire200Response object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ApiExternalEngineAcquire200Response) GetEngine ¶
func (o *ApiExternalEngineAcquire200Response) GetEngine() ExternalEngine
GetEngine returns the Engine field value
func (*ApiExternalEngineAcquire200Response) GetEngineOk ¶
func (o *ApiExternalEngineAcquire200Response) GetEngineOk() (*ExternalEngine, bool)
GetEngineOk returns a tuple with the Engine field value and a boolean to check if the value has been set.
func (*ApiExternalEngineAcquire200Response) GetId ¶
func (o *ApiExternalEngineAcquire200Response) GetId() interface{}
GetId returns the Id field value If the value is explicit nil, the zero value for interface{} will be returned
func (*ApiExternalEngineAcquire200Response) GetIdOk ¶
func (o *ApiExternalEngineAcquire200Response) GetIdOk() (*interface{}, bool)
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ApiExternalEngineAcquire200Response) GetWork ¶
func (o *ApiExternalEngineAcquire200Response) GetWork() ExternalEngineWork
GetWork returns the Work field value
func (*ApiExternalEngineAcquire200Response) GetWorkOk ¶
func (o *ApiExternalEngineAcquire200Response) GetWorkOk() (*ExternalEngineWork, bool)
GetWorkOk returns a tuple with the Work field value and a boolean to check if the value has been set.
func (ApiExternalEngineAcquire200Response) MarshalJSON ¶
func (o ApiExternalEngineAcquire200Response) MarshalJSON() ([]byte, error)
func (*ApiExternalEngineAcquire200Response) SetEngine ¶
func (o *ApiExternalEngineAcquire200Response) SetEngine(v ExternalEngine)
SetEngine sets field value
func (*ApiExternalEngineAcquire200Response) SetId ¶
func (o *ApiExternalEngineAcquire200Response) SetId(v interface{})
SetId sets field value
func (*ApiExternalEngineAcquire200Response) SetWork ¶
func (o *ApiExternalEngineAcquire200Response) SetWork(v ExternalEngineWork)
SetWork sets field value
type ApiExternalEngineAcquireRequest ¶
type ApiExternalEngineAcquireRequest struct {
ProviderSecret interface{} `json:"providerSecret,omitempty"`
}
ApiExternalEngineAcquireRequest struct for ApiExternalEngineAcquireRequest
func NewApiExternalEngineAcquireRequest ¶
func NewApiExternalEngineAcquireRequest() *ApiExternalEngineAcquireRequest
NewApiExternalEngineAcquireRequest instantiates a new ApiExternalEngineAcquireRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewApiExternalEngineAcquireRequestWithDefaults ¶
func NewApiExternalEngineAcquireRequestWithDefaults() *ApiExternalEngineAcquireRequest
NewApiExternalEngineAcquireRequestWithDefaults instantiates a new ApiExternalEngineAcquireRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ApiExternalEngineAcquireRequest) GetProviderSecret ¶
func (o *ApiExternalEngineAcquireRequest) GetProviderSecret() interface{}
GetProviderSecret returns the ProviderSecret field value if set, zero value otherwise (both if not set or set to explicit null).
func (*ApiExternalEngineAcquireRequest) GetProviderSecretOk ¶
func (o *ApiExternalEngineAcquireRequest) GetProviderSecretOk() (*interface{}, bool)
GetProviderSecretOk returns a tuple with the ProviderSecret field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ApiExternalEngineAcquireRequest) HasProviderSecret ¶
func (o *ApiExternalEngineAcquireRequest) HasProviderSecret() bool
HasProviderSecret returns a boolean if a field has been set.
func (ApiExternalEngineAcquireRequest) MarshalJSON ¶
func (o ApiExternalEngineAcquireRequest) MarshalJSON() ([]byte, error)
func (*ApiExternalEngineAcquireRequest) SetProviderSecret ¶
func (o *ApiExternalEngineAcquireRequest) SetProviderSecret(v interface{})
SetProviderSecret gets a reference to the given interface{} and assigns it to the ProviderSecret field.
type ApiExternalEngineAnalyse200Response ¶
type ApiExternalEngineAnalyse200Response struct { // Number of milliseconds the search has been going on Time interface{} `json:"time"` // Current search depth Depth interface{} `json:"depth"` // Number of nodes visited so far Nodes interface{} `json:"nodes"` // Information about up to 5 pvs, with the primary pv at index 0. Pvs []ApiExternalEngineAnalyse200ResponsePvsInner `json:"pvs"` }
ApiExternalEngineAnalyse200Response struct for ApiExternalEngineAnalyse200Response
func NewApiExternalEngineAnalyse200Response ¶
func NewApiExternalEngineAnalyse200Response(time interface{}, depth interface{}, nodes interface{}, pvs []ApiExternalEngineAnalyse200ResponsePvsInner) *ApiExternalEngineAnalyse200Response
NewApiExternalEngineAnalyse200Response instantiates a new ApiExternalEngineAnalyse200Response object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewApiExternalEngineAnalyse200ResponseWithDefaults ¶
func NewApiExternalEngineAnalyse200ResponseWithDefaults() *ApiExternalEngineAnalyse200Response
NewApiExternalEngineAnalyse200ResponseWithDefaults instantiates a new ApiExternalEngineAnalyse200Response object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ApiExternalEngineAnalyse200Response) GetDepth ¶
func (o *ApiExternalEngineAnalyse200Response) GetDepth() interface{}
GetDepth returns the Depth field value If the value is explicit nil, the zero value for interface{} will be returned
func (*ApiExternalEngineAnalyse200Response) GetDepthOk ¶
func (o *ApiExternalEngineAnalyse200Response) GetDepthOk() (*interface{}, bool)
GetDepthOk returns a tuple with the Depth field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ApiExternalEngineAnalyse200Response) GetNodes ¶
func (o *ApiExternalEngineAnalyse200Response) GetNodes() interface{}
GetNodes returns the Nodes field value If the value is explicit nil, the zero value for interface{} will be returned
func (*ApiExternalEngineAnalyse200Response) GetNodesOk ¶
func (o *ApiExternalEngineAnalyse200Response) GetNodesOk() (*interface{}, bool)
GetNodesOk returns a tuple with the Nodes field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ApiExternalEngineAnalyse200Response) GetPvs ¶
func (o *ApiExternalEngineAnalyse200Response) GetPvs() []ApiExternalEngineAnalyse200ResponsePvsInner
GetPvs returns the Pvs field value
func (*ApiExternalEngineAnalyse200Response) GetPvsOk ¶
func (o *ApiExternalEngineAnalyse200Response) GetPvsOk() ([]ApiExternalEngineAnalyse200ResponsePvsInner, bool)
GetPvsOk returns a tuple with the Pvs field value and a boolean to check if the value has been set.
func (*ApiExternalEngineAnalyse200Response) GetTime ¶
func (o *ApiExternalEngineAnalyse200Response) GetTime() interface{}
GetTime returns the Time field value If the value is explicit nil, the zero value for interface{} will be returned
func (*ApiExternalEngineAnalyse200Response) GetTimeOk ¶
func (o *ApiExternalEngineAnalyse200Response) GetTimeOk() (*interface{}, bool)
GetTimeOk returns a tuple with the Time field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (ApiExternalEngineAnalyse200Response) MarshalJSON ¶
func (o ApiExternalEngineAnalyse200Response) MarshalJSON() ([]byte, error)
func (*ApiExternalEngineAnalyse200Response) SetDepth ¶
func (o *ApiExternalEngineAnalyse200Response) SetDepth(v interface{})
SetDepth sets field value
func (*ApiExternalEngineAnalyse200Response) SetNodes ¶
func (o *ApiExternalEngineAnalyse200Response) SetNodes(v interface{})
SetNodes sets field value
func (*ApiExternalEngineAnalyse200Response) SetPvs ¶
func (o *ApiExternalEngineAnalyse200Response) SetPvs(v []ApiExternalEngineAnalyse200ResponsePvsInner)
SetPvs sets field value
func (*ApiExternalEngineAnalyse200Response) SetTime ¶
func (o *ApiExternalEngineAnalyse200Response) SetTime(v interface{})
SetTime sets field value
type ApiExternalEngineAnalyse200ResponsePvsInner ¶
type ApiExternalEngineAnalyse200ResponsePvsInner struct { // Current search depth of the pv Depth interface{} `json:"depth"` // Evaluation in centi-pawns, from White's point of view Cp interface{} `json:"cp,omitempty"` // Evaluation in signed moves to mate, from White's point of view Mate interface{} `json:"mate,omitempty"` // Variation in UCI notation Moves []interface{} `json:"moves"` }
ApiExternalEngineAnalyse200ResponsePvsInner struct for ApiExternalEngineAnalyse200ResponsePvsInner
func NewApiExternalEngineAnalyse200ResponsePvsInner ¶
func NewApiExternalEngineAnalyse200ResponsePvsInner(depth interface{}, moves []interface{}) *ApiExternalEngineAnalyse200ResponsePvsInner
NewApiExternalEngineAnalyse200ResponsePvsInner instantiates a new ApiExternalEngineAnalyse200ResponsePvsInner object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewApiExternalEngineAnalyse200ResponsePvsInnerWithDefaults ¶
func NewApiExternalEngineAnalyse200ResponsePvsInnerWithDefaults() *ApiExternalEngineAnalyse200ResponsePvsInner
NewApiExternalEngineAnalyse200ResponsePvsInnerWithDefaults instantiates a new ApiExternalEngineAnalyse200ResponsePvsInner object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ApiExternalEngineAnalyse200ResponsePvsInner) GetCp ¶
func (o *ApiExternalEngineAnalyse200ResponsePvsInner) GetCp() interface{}
GetCp returns the Cp field value if set, zero value otherwise (both if not set or set to explicit null).
func (*ApiExternalEngineAnalyse200ResponsePvsInner) GetCpOk ¶
func (o *ApiExternalEngineAnalyse200ResponsePvsInner) GetCpOk() (*interface{}, bool)
GetCpOk returns a tuple with the Cp field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ApiExternalEngineAnalyse200ResponsePvsInner) GetDepth ¶
func (o *ApiExternalEngineAnalyse200ResponsePvsInner) GetDepth() interface{}
GetDepth returns the Depth field value If the value is explicit nil, the zero value for interface{} will be returned
func (*ApiExternalEngineAnalyse200ResponsePvsInner) GetDepthOk ¶
func (o *ApiExternalEngineAnalyse200ResponsePvsInner) GetDepthOk() (*interface{}, bool)
GetDepthOk returns a tuple with the Depth field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ApiExternalEngineAnalyse200ResponsePvsInner) GetMate ¶
func (o *ApiExternalEngineAnalyse200ResponsePvsInner) GetMate() interface{}
GetMate returns the Mate field value if set, zero value otherwise (both if not set or set to explicit null).
func (*ApiExternalEngineAnalyse200ResponsePvsInner) GetMateOk ¶
func (o *ApiExternalEngineAnalyse200ResponsePvsInner) GetMateOk() (*interface{}, bool)
GetMateOk returns a tuple with the Mate field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ApiExternalEngineAnalyse200ResponsePvsInner) GetMoves ¶
func (o *ApiExternalEngineAnalyse200ResponsePvsInner) GetMoves() []interface{}
GetMoves returns the Moves field value
func (*ApiExternalEngineAnalyse200ResponsePvsInner) GetMovesOk ¶
func (o *ApiExternalEngineAnalyse200ResponsePvsInner) GetMovesOk() ([]interface{}, bool)
GetMovesOk returns a tuple with the Moves field value and a boolean to check if the value has been set.
func (*ApiExternalEngineAnalyse200ResponsePvsInner) HasCp ¶
func (o *ApiExternalEngineAnalyse200ResponsePvsInner) HasCp() bool
HasCp returns a boolean if a field has been set.
func (*ApiExternalEngineAnalyse200ResponsePvsInner) HasMate ¶
func (o *ApiExternalEngineAnalyse200ResponsePvsInner) HasMate() bool
HasMate returns a boolean if a field has been set.
func (ApiExternalEngineAnalyse200ResponsePvsInner) MarshalJSON ¶
func (o ApiExternalEngineAnalyse200ResponsePvsInner) MarshalJSON() ([]byte, error)
func (*ApiExternalEngineAnalyse200ResponsePvsInner) SetCp ¶
func (o *ApiExternalEngineAnalyse200ResponsePvsInner) SetCp(v interface{})
SetCp gets a reference to the given interface{} and assigns it to the Cp field.
func (*ApiExternalEngineAnalyse200ResponsePvsInner) SetDepth ¶
func (o *ApiExternalEngineAnalyse200ResponsePvsInner) SetDepth(v interface{})
SetDepth sets field value
func (*ApiExternalEngineAnalyse200ResponsePvsInner) SetMate ¶
func (o *ApiExternalEngineAnalyse200ResponsePvsInner) SetMate(v interface{})
SetMate gets a reference to the given interface{} and assigns it to the Mate field.
func (*ApiExternalEngineAnalyse200ResponsePvsInner) SetMoves ¶
func (o *ApiExternalEngineAnalyse200ResponsePvsInner) SetMoves(v []interface{})
SetMoves sets field value
type ApiExternalEngineAnalyseRequest ¶
type ApiExternalEngineAnalyseRequest struct { ClientSecret interface{} `json:"clientSecret"` Work ExternalEngineWork `json:"work"` }
ApiExternalEngineAnalyseRequest struct for ApiExternalEngineAnalyseRequest
func NewApiExternalEngineAnalyseRequest ¶
func NewApiExternalEngineAnalyseRequest(clientSecret interface{}, work ExternalEngineWork) *ApiExternalEngineAnalyseRequest
NewApiExternalEngineAnalyseRequest instantiates a new ApiExternalEngineAnalyseRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewApiExternalEngineAnalyseRequestWithDefaults ¶
func NewApiExternalEngineAnalyseRequestWithDefaults() *ApiExternalEngineAnalyseRequest
NewApiExternalEngineAnalyseRequestWithDefaults instantiates a new ApiExternalEngineAnalyseRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ApiExternalEngineAnalyseRequest) GetClientSecret ¶
func (o *ApiExternalEngineAnalyseRequest) GetClientSecret() interface{}
GetClientSecret returns the ClientSecret field value If the value is explicit nil, the zero value for interface{} will be returned
func (*ApiExternalEngineAnalyseRequest) GetClientSecretOk ¶
func (o *ApiExternalEngineAnalyseRequest) GetClientSecretOk() (*interface{}, bool)
GetClientSecretOk returns a tuple with the ClientSecret field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ApiExternalEngineAnalyseRequest) GetWork ¶
func (o *ApiExternalEngineAnalyseRequest) GetWork() ExternalEngineWork
GetWork returns the Work field value
func (*ApiExternalEngineAnalyseRequest) GetWorkOk ¶
func (o *ApiExternalEngineAnalyseRequest) GetWorkOk() (*ExternalEngineWork, bool)
GetWorkOk returns a tuple with the Work field value and a boolean to check if the value has been set.
func (ApiExternalEngineAnalyseRequest) MarshalJSON ¶
func (o ApiExternalEngineAnalyseRequest) MarshalJSON() ([]byte, error)
func (*ApiExternalEngineAnalyseRequest) SetClientSecret ¶
func (o *ApiExternalEngineAnalyseRequest) SetClientSecret(v interface{})
SetClientSecret sets field value
func (*ApiExternalEngineAnalyseRequest) SetWork ¶
func (o *ApiExternalEngineAnalyseRequest) SetWork(v ExternalEngineWork)
SetWork sets field value
type ApiFollowUserRequest ¶
type ApiFollowUserRequest struct { ApiService *RelationsApiService // contains filtered or unexported fields }
type ApiGameImportRequest ¶
type ApiGameImportRequest struct { ApiService *GamesApiService // contains filtered or unexported fields }
func (ApiGameImportRequest) Execute ¶
func (r ApiGameImportRequest) Execute() (interface{}, *http.Response, error)
func (ApiGameImportRequest) Pgn ¶
func (r ApiGameImportRequest) Pgn(pgn interface{}) ApiGameImportRequest
The PGN. It can contain only one game. Most standard tags are supported.
type ApiGamePgnRequest ¶
type ApiGamePgnRequest struct { ApiService *GamesApiService // contains filtered or unexported fields }
func (ApiGamePgnRequest) Clocks ¶
func (r ApiGamePgnRequest) Clocks(clocks interface{}) ApiGamePgnRequest
Include clock comments in the PGN moves, when available. Example: `2. exd5 { [%clk 1:01:27] } e5 { [%clk 1:01:28] }`
func (ApiGamePgnRequest) Evals ¶
func (r ApiGamePgnRequest) Evals(evals interface{}) ApiGamePgnRequest
Include analysis evaluation comments in the PGN, when available. Example: `12. Bxf6 { [%eval 0.23] } a3 { [%eval -1.09] }`
func (ApiGamePgnRequest) Execute ¶
func (r ApiGamePgnRequest) Execute() (interface{}, *http.Response, error)
func (ApiGamePgnRequest) Literate ¶
func (r ApiGamePgnRequest) Literate(literate interface{}) ApiGamePgnRequest
Insert textual annotations in the PGN about the opening, analysis variations, mistakes, and game termination. Example: `5... g4? { (-0.98 → 0.60) Mistake. Best move was h6. } (5... h6 6. d4 Ne7 7. g3 d5 8. exd5 fxg3 9. hxg3 c6 10. dxc6)`
func (ApiGamePgnRequest) Moves ¶
func (r ApiGamePgnRequest) Moves(moves interface{}) ApiGamePgnRequest
Include the PGN moves.
func (ApiGamePgnRequest) Opening ¶
func (r ApiGamePgnRequest) Opening(opening interface{}) ApiGamePgnRequest
Include the opening name. Example: `[Opening \"King's Gambit Accepted, King's Knight Gambit\"]`
func (ApiGamePgnRequest) PgnInJson ¶
func (r ApiGamePgnRequest) PgnInJson(pgnInJson interface{}) ApiGamePgnRequest
Include the full PGN within the JSON response, in a `pgn` field.
func (ApiGamePgnRequest) Players ¶
func (r ApiGamePgnRequest) Players(players interface{}) ApiGamePgnRequest
URL of a text file containing real names and ratings, to replace Lichess usernames and ratings in the PGN. Example: <https://gist.githubusercontent.com/ornicar/6bfa91eb61a2dcae7bcd14cce1b2a4eb/raw/768b9f6cc8a8471d2555e47ba40fb0095e5fba37/gistfile1.txt>
func (ApiGamePgnRequest) Tags ¶
func (r ApiGamePgnRequest) Tags(tags interface{}) ApiGamePgnRequest
Include the PGN tags.
type ApiGamesByIdsAddRequest ¶
type ApiGamesByIdsAddRequest struct { ApiService *GamesApiService // contains filtered or unexported fields }
func (ApiGamesByIdsAddRequest) Body ¶
func (r ApiGamesByIdsAddRequest) Body(body interface{}) ApiGamesByIdsAddRequest
Up to 500 or 1000 game IDs separated by commas. Example: `gameId04,gameId05,gameId06`
type ApiGamesByIdsRequest ¶
type ApiGamesByIdsRequest struct { ApiService *GamesApiService // contains filtered or unexported fields }
func (ApiGamesByIdsRequest) Body ¶
func (r ApiGamesByIdsRequest) Body(body interface{}) ApiGamesByIdsRequest
Up to 500 or 1000 game IDs separated by commas. Example: `gameId01,gameId02,gameId03`
type ApiGamesBySwissRequest ¶
type ApiGamesBySwissRequest struct { ApiService *SwissTournamentsApiService // contains filtered or unexported fields }
func (ApiGamesBySwissRequest) Clocks ¶
func (r ApiGamesBySwissRequest) Clocks(clocks interface{}) ApiGamesBySwissRequest
Include clock comments in the PGN moves, when available. Example: `2. exd5 { [%clk 1:01:27] } e5 { [%clk 1:01:28] }`
func (ApiGamesBySwissRequest) Evals ¶
func (r ApiGamesBySwissRequest) Evals(evals interface{}) ApiGamesBySwissRequest
Include analysis evaluation comments in the PGN, when available. Example: `12. Bxf6 { [%eval 0.23] } a3 { [%eval -1.09] }`
func (ApiGamesBySwissRequest) Execute ¶
func (r ApiGamesBySwissRequest) Execute() (interface{}, *http.Response, error)
func (ApiGamesBySwissRequest) Moves ¶
func (r ApiGamesBySwissRequest) Moves(moves interface{}) ApiGamesBySwissRequest
Include the PGN moves.
func (ApiGamesBySwissRequest) Opening ¶
func (r ApiGamesBySwissRequest) Opening(opening interface{}) ApiGamesBySwissRequest
Include the opening name. Example: `[Opening \"King's Gambit Accepted, King's Knight Gambit\"]`
func (ApiGamesBySwissRequest) PgnInJson ¶
func (r ApiGamesBySwissRequest) PgnInJson(pgnInJson interface{}) ApiGamesBySwissRequest
Include the full PGN within the JSON response, in a `pgn` field.
func (ApiGamesBySwissRequest) Tags ¶
func (r ApiGamesBySwissRequest) Tags(tags interface{}) ApiGamesBySwissRequest
Include the PGN tags.
type ApiGamesByTournamentRequest ¶
type ApiGamesByTournamentRequest struct { ApiService *ArenaTournamentsApiService // contains filtered or unexported fields }
func (ApiGamesByTournamentRequest) Clocks ¶
func (r ApiGamesByTournamentRequest) Clocks(clocks interface{}) ApiGamesByTournamentRequest
Include clock comments in the PGN moves, when available. Example: `2. exd5 { [%clk 1:01:27] } e5 { [%clk 1:01:28] }`
func (ApiGamesByTournamentRequest) Evals ¶
func (r ApiGamesByTournamentRequest) Evals(evals interface{}) ApiGamesByTournamentRequest
Include analysis evaluation comments in the PGN, when available. Example: `12. Bxf6 { [%eval 0.23] } a3 { [%eval -1.09] }`
func (ApiGamesByTournamentRequest) Execute ¶
func (r ApiGamesByTournamentRequest) Execute() (interface{}, *http.Response, error)
func (ApiGamesByTournamentRequest) Moves ¶
func (r ApiGamesByTournamentRequest) Moves(moves interface{}) ApiGamesByTournamentRequest
Include the PGN moves.
func (ApiGamesByTournamentRequest) Opening ¶
func (r ApiGamesByTournamentRequest) Opening(opening interface{}) ApiGamesByTournamentRequest
Include the opening name. Example: `[Opening \"King's Gambit Accepted, King's Knight Gambit\"]`
func (ApiGamesByTournamentRequest) PgnInJson ¶
func (r ApiGamesByTournamentRequest) PgnInJson(pgnInJson interface{}) ApiGamesByTournamentRequest
Include the full PGN within the JSON response, in a `pgn` field.
func (ApiGamesByTournamentRequest) Player ¶
func (r ApiGamesByTournamentRequest) Player(player interface{}) ApiGamesByTournamentRequest
Only games of a particular player. Leave empty to fetch games of all players.
func (ApiGamesByTournamentRequest) Tags ¶
func (r ApiGamesByTournamentRequest) Tags(tags interface{}) ApiGamesByTournamentRequest
Include the PGN tags.
type ApiGamesByUsersRequest ¶
type ApiGamesByUsersRequest struct { ApiService *GamesApiService // contains filtered or unexported fields }
func (ApiGamesByUsersRequest) Body ¶
func (r ApiGamesByUsersRequest) Body(body interface{}) ApiGamesByUsersRequest
Up to 300 user IDs separated by commas. Example: `aliquantus,chess-network,lovlas`
func (ApiGamesByUsersRequest) Execute ¶
func (r ApiGamesByUsersRequest) Execute() (interface{}, *http.Response, error)
func (ApiGamesByUsersRequest) WithCurrentGames ¶
func (r ApiGamesByUsersRequest) WithCurrentGames(withCurrentGames interface{}) ApiGamesByUsersRequest
Include the already started games at the beginning of the stream.
type ApiGamesExportIdsRequest ¶
type ApiGamesExportIdsRequest struct { ApiService *GamesApiService // contains filtered or unexported fields }
func (ApiGamesExportIdsRequest) Body ¶
func (r ApiGamesExportIdsRequest) Body(body interface{}) ApiGamesExportIdsRequest
Game IDs separated by commas. Up to 300.
func (ApiGamesExportIdsRequest) Clocks ¶
func (r ApiGamesExportIdsRequest) Clocks(clocks interface{}) ApiGamesExportIdsRequest
Include clock comments in the PGN moves, when available. Example: `2. exd5 { [%clk 1:01:27] } e5 { [%clk 1:01:28] }`
func (ApiGamesExportIdsRequest) Evals ¶
func (r ApiGamesExportIdsRequest) Evals(evals interface{}) ApiGamesExportIdsRequest
Include analysis evaluation comments in the PGN, when available. Example: `12. Bxf6 { [%eval 0.23] } a3 { [%eval -1.09] }`
func (ApiGamesExportIdsRequest) Execute ¶
func (r ApiGamesExportIdsRequest) Execute() (interface{}, *http.Response, error)
func (ApiGamesExportIdsRequest) Literate ¶
func (r ApiGamesExportIdsRequest) Literate(literate interface{}) ApiGamesExportIdsRequest
Insert textual annotations in the PGN about the opening, analysis variations, mistakes, and game termination. Example: `5... g4? { (-0.98 → 0.60) Mistake. Best move was h6. } (5... h6 6. d4 Ne7 7. g3 d5 8. exd5 fxg3 9. hxg3 c6 10. dxc6)`
func (ApiGamesExportIdsRequest) Moves ¶
func (r ApiGamesExportIdsRequest) Moves(moves interface{}) ApiGamesExportIdsRequest
Include the PGN moves.
func (ApiGamesExportIdsRequest) Opening ¶
func (r ApiGamesExportIdsRequest) Opening(opening interface{}) ApiGamesExportIdsRequest
Include the opening name. Example: `[Opening \"King's Gambit Accepted, King's Knight Gambit\"]`
func (ApiGamesExportIdsRequest) PgnInJson ¶
func (r ApiGamesExportIdsRequest) PgnInJson(pgnInJson interface{}) ApiGamesExportIdsRequest
Include the full PGN within the JSON response, in a `pgn` field.
func (ApiGamesExportIdsRequest) Players ¶
func (r ApiGamesExportIdsRequest) Players(players interface{}) ApiGamesExportIdsRequest
URL of a text file containing real names and ratings, to replace Lichess usernames and ratings in the PGN. Example: <https://gist.githubusercontent.com/ornicar/6bfa91eb61a2dcae7bcd14cce1b2a4eb/raw/768b9f6cc8a8471d2555e47ba40fb0095e5fba37/gistfile1.txt>
func (ApiGamesExportIdsRequest) Tags ¶
func (r ApiGamesExportIdsRequest) Tags(tags interface{}) ApiGamesExportIdsRequest
Include the PGN tags.
type ApiInboxUsernameRequest ¶
type ApiInboxUsernameRequest struct { ApiService *MessagingApiService // contains filtered or unexported fields }
func (ApiInboxUsernameRequest) Execute ¶
func (r ApiInboxUsernameRequest) Execute() (*Ok, *http.Response, error)
func (ApiInboxUsernameRequest) Text ¶
func (r ApiInboxUsernameRequest) Text(text interface{}) ApiInboxUsernameRequest
type ApiOauthRequest ¶
type ApiOauthRequest struct { ApiService *OAuthApiService // contains filtered or unexported fields }
func (ApiOauthRequest) ClientId ¶
func (r ApiOauthRequest) ClientId(clientId interface{}) ApiOauthRequest
Arbitrary identifier that uniquely identifies your application.
func (ApiOauthRequest) CodeChallenge ¶
func (r ApiOauthRequest) CodeChallenge(codeChallenge interface{}) ApiOauthRequest
Compute `BASE64URL(SHA256(code_verifier))`.
func (ApiOauthRequest) CodeChallengeMethod ¶
func (r ApiOauthRequest) CodeChallengeMethod(codeChallengeMethod interface{}) ApiOauthRequest
Must be `S256`.
func (ApiOauthRequest) RedirectUri ¶
func (r ApiOauthRequest) RedirectUri(redirectUri interface{}) ApiOauthRequest
The absolute URL that the user should be redirected to with the authorization result.
func (ApiOauthRequest) ResponseType ¶
func (r ApiOauthRequest) ResponseType(responseType interface{}) ApiOauthRequest
Must be `code`.
func (ApiOauthRequest) Scope ¶
func (r ApiOauthRequest) Scope(scope interface{}) ApiOauthRequest
Space separated list of requested OAuth scopes, if any.
func (ApiOauthRequest) State ¶
func (r ApiOauthRequest) State(state interface{}) ApiOauthRequest
Arbitrary state that will be returned verbatim with the authorization result.
func (ApiOauthRequest) Username ¶
func (r ApiOauthRequest) Username(username interface{}) ApiOauthRequest
Hint that you want the user to log in with a specific Lichess username.
type ApiOpeningExplorerLichessHistoryRequest ¶
type ApiOpeningExplorerLichessHistoryRequest struct { ApiService *OpeningExplorerApiService // contains filtered or unexported fields }
func (ApiOpeningExplorerLichessHistoryRequest) Execute ¶
func (r ApiOpeningExplorerLichessHistoryRequest) Execute() (interface{}, *http.Response, error)
func (ApiOpeningExplorerLichessHistoryRequest) Fen ¶
func (r ApiOpeningExplorerLichessHistoryRequest) Fen(fen interface{}) ApiOpeningExplorerLichessHistoryRequest
FEN of the root position
func (ApiOpeningExplorerLichessHistoryRequest) Play ¶
func (r ApiOpeningExplorerLichessHistoryRequest) Play(play interface{}) ApiOpeningExplorerLichessHistoryRequest
Comma separated sequence of legal moves in UCI notation. Play additional moves starting from `fen`. Required to find an opening name, if `fen` is not an exact match for a named position.
func (ApiOpeningExplorerLichessHistoryRequest) Ratings ¶
func (r ApiOpeningExplorerLichessHistoryRequest) Ratings(ratings interface{}) ApiOpeningExplorerLichessHistoryRequest
Comma separated list of rating groups, ranging from their value to the next higher group
func (ApiOpeningExplorerLichessHistoryRequest) Since ¶
func (r ApiOpeningExplorerLichessHistoryRequest) Since(since interface{}) ApiOpeningExplorerLichessHistoryRequest
Include only games from this month or later
func (ApiOpeningExplorerLichessHistoryRequest) Speeds ¶
func (r ApiOpeningExplorerLichessHistoryRequest) Speeds(speeds interface{}) ApiOpeningExplorerLichessHistoryRequest
Comma separated list of game speeds to look for
func (ApiOpeningExplorerLichessHistoryRequest) Until ¶
func (r ApiOpeningExplorerLichessHistoryRequest) Until(until interface{}) ApiOpeningExplorerLichessHistoryRequest
Include only games from this month or earlier
func (ApiOpeningExplorerLichessHistoryRequest) Variant ¶
func (r ApiOpeningExplorerLichessHistoryRequest) Variant(variant VariantKey) ApiOpeningExplorerLichessHistoryRequest
Variant
type ApiOpeningExplorerLichessRequest ¶
type ApiOpeningExplorerLichessRequest struct { ApiService *OpeningExplorerApiService // contains filtered or unexported fields }
func (ApiOpeningExplorerLichessRequest) Execute ¶
func (r ApiOpeningExplorerLichessRequest) Execute() (interface{}, *http.Response, error)
func (ApiOpeningExplorerLichessRequest) Fen ¶
func (r ApiOpeningExplorerLichessRequest) Fen(fen interface{}) ApiOpeningExplorerLichessRequest
FEN of the root position
func (ApiOpeningExplorerLichessRequest) Moves ¶
func (r ApiOpeningExplorerLichessRequest) Moves(moves interface{}) ApiOpeningExplorerLichessRequest
Number of most common moves to display
func (ApiOpeningExplorerLichessRequest) Play ¶
func (r ApiOpeningExplorerLichessRequest) Play(play interface{}) ApiOpeningExplorerLichessRequest
Comma separated sequence of legal moves in UCI notation. Play additional moves starting from `fen`. Required to find an opening name, if `fen` is not an exact match for a named position.
func (ApiOpeningExplorerLichessRequest) Ratings ¶
func (r ApiOpeningExplorerLichessRequest) Ratings(ratings []interface{}) ApiOpeningExplorerLichessRequest
Comma separated list of rating groups, ranging from their value to the next higher group
func (ApiOpeningExplorerLichessRequest) RecentGames ¶
func (r ApiOpeningExplorerLichessRequest) RecentGames(recentGames interface{}) ApiOpeningExplorerLichessRequest
Number of recent games to display
func (ApiOpeningExplorerLichessRequest) Since ¶
func (r ApiOpeningExplorerLichessRequest) Since(since interface{}) ApiOpeningExplorerLichessRequest
Include only games from this month or later
func (ApiOpeningExplorerLichessRequest) Speeds ¶
func (r ApiOpeningExplorerLichessRequest) Speeds(speeds []Speed) ApiOpeningExplorerLichessRequest
Comma separated list of game speeds to look for
func (ApiOpeningExplorerLichessRequest) TopGames ¶
func (r ApiOpeningExplorerLichessRequest) TopGames(topGames interface{}) ApiOpeningExplorerLichessRequest
Number of top games to display
func (ApiOpeningExplorerLichessRequest) Until ¶
func (r ApiOpeningExplorerLichessRequest) Until(until interface{}) ApiOpeningExplorerLichessRequest
Include only games from this month or earlier
func (ApiOpeningExplorerLichessRequest) Variant ¶
func (r ApiOpeningExplorerLichessRequest) Variant(variant VariantKey) ApiOpeningExplorerLichessRequest
Variant
type ApiOpeningExplorerMasterGameRequest ¶
type ApiOpeningExplorerMasterGameRequest struct { ApiService *OpeningExplorerApiService // contains filtered or unexported fields }
type ApiOpeningExplorerMasterRequest ¶
type ApiOpeningExplorerMasterRequest struct { ApiService *OpeningExplorerApiService // contains filtered or unexported fields }
func (ApiOpeningExplorerMasterRequest) Execute ¶
func (r ApiOpeningExplorerMasterRequest) Execute() (interface{}, *http.Response, error)
func (ApiOpeningExplorerMasterRequest) Fen ¶
func (r ApiOpeningExplorerMasterRequest) Fen(fen interface{}) ApiOpeningExplorerMasterRequest
FEN of the root position
func (ApiOpeningExplorerMasterRequest) Moves ¶
func (r ApiOpeningExplorerMasterRequest) Moves(moves interface{}) ApiOpeningExplorerMasterRequest
Number of most common moves to display
func (ApiOpeningExplorerMasterRequest) Play ¶
func (r ApiOpeningExplorerMasterRequest) Play(play interface{}) ApiOpeningExplorerMasterRequest
Comma separated sequence of legal moves in UCI notation. Play additional moves starting from `fen`. Required to find an opening name, if `fen` is not an exact match for a named position.
func (ApiOpeningExplorerMasterRequest) Since ¶
func (r ApiOpeningExplorerMasterRequest) Since(since interface{}) ApiOpeningExplorerMasterRequest
Include only games from this year or later
func (ApiOpeningExplorerMasterRequest) TopGames ¶
func (r ApiOpeningExplorerMasterRequest) TopGames(topGames interface{}) ApiOpeningExplorerMasterRequest
Number of top games to display
func (ApiOpeningExplorerMasterRequest) Until ¶
func (r ApiOpeningExplorerMasterRequest) Until(until interface{}) ApiOpeningExplorerMasterRequest
Include only games from this year or earlier
type ApiOpeningExplorerPlayerRequest ¶
type ApiOpeningExplorerPlayerRequest struct { ApiService *OpeningExplorerApiService // contains filtered or unexported fields }
func (ApiOpeningExplorerPlayerRequest) Execute ¶
func (r ApiOpeningExplorerPlayerRequest) Execute() (interface{}, *http.Response, error)
func (ApiOpeningExplorerPlayerRequest) Fen ¶
func (r ApiOpeningExplorerPlayerRequest) Fen(fen interface{}) ApiOpeningExplorerPlayerRequest
FEN of the root position
func (ApiOpeningExplorerPlayerRequest) Modes ¶
func (r ApiOpeningExplorerPlayerRequest) Modes(modes []interface{}) ApiOpeningExplorerPlayerRequest
Comma separated list of modes
func (ApiOpeningExplorerPlayerRequest) Moves ¶
func (r ApiOpeningExplorerPlayerRequest) Moves(moves interface{}) ApiOpeningExplorerPlayerRequest
Number of most common moves to display
func (ApiOpeningExplorerPlayerRequest) Play ¶
func (r ApiOpeningExplorerPlayerRequest) Play(play interface{}) ApiOpeningExplorerPlayerRequest
Comma separated sequence of legal moves in UCI notation. Play additional moves starting from `fen`. Required to find an opening name, if `fen` is not an exact match for a named position.
func (ApiOpeningExplorerPlayerRequest) Player ¶
func (r ApiOpeningExplorerPlayerRequest) Player(player interface{}) ApiOpeningExplorerPlayerRequest
Username or ID of the player
func (ApiOpeningExplorerPlayerRequest) RecentGames ¶
func (r ApiOpeningExplorerPlayerRequest) RecentGames(recentGames interface{}) ApiOpeningExplorerPlayerRequest
Number of recent games to display
func (ApiOpeningExplorerPlayerRequest) Since ¶
func (r ApiOpeningExplorerPlayerRequest) Since(since interface{}) ApiOpeningExplorerPlayerRequest
Include only games from this month or later
func (ApiOpeningExplorerPlayerRequest) Speeds ¶
func (r ApiOpeningExplorerPlayerRequest) Speeds(speeds interface{}) ApiOpeningExplorerPlayerRequest
Comma separated list of game speeds to look for
func (ApiOpeningExplorerPlayerRequest) Until ¶
func (r ApiOpeningExplorerPlayerRequest) Until(until interface{}) ApiOpeningExplorerPlayerRequest
Include only games from this month or earlier
func (ApiOpeningExplorerPlayerRequest) Variant ¶
func (r ApiOpeningExplorerPlayerRequest) Variant(variant VariantKey) ApiOpeningExplorerPlayerRequest
Variant
type ApiPlayerRequest ¶
type ApiPlayerRequest struct { ApiService *UsersApiService // contains filtered or unexported fields }
type ApiPlayerTopNbPerfTypeRequest ¶
type ApiPlayerTopNbPerfTypeRequest struct { ApiService *UsersApiService // contains filtered or unexported fields }
type ApiRacerPostRequest ¶
type ApiRacerPostRequest struct { ApiService *PuzzlesApiService // contains filtered or unexported fields }
type ApiResultsBySwissRequest ¶
type ApiResultsBySwissRequest struct { ApiService *SwissTournamentsApiService // contains filtered or unexported fields }
func (ApiResultsBySwissRequest) Execute ¶
func (r ApiResultsBySwissRequest) Execute() (interface{}, *http.Response, error)
func (ApiResultsBySwissRequest) Nb ¶
func (r ApiResultsBySwissRequest) Nb(nb interface{}) ApiResultsBySwissRequest
Max number of players to fetch
type ApiResultsByTournamentRequest ¶
type ApiResultsByTournamentRequest struct { ApiService *ArenaTournamentsApiService // contains filtered or unexported fields }
func (ApiResultsByTournamentRequest) Execute ¶
func (r ApiResultsByTournamentRequest) Execute() (interface{}, *http.Response, error)
func (ApiResultsByTournamentRequest) Nb ¶
func (r ApiResultsByTournamentRequest) Nb(nb interface{}) ApiResultsByTournamentRequest
Max number of players to fetch
type ApiRoundAddTimeRequest ¶
type ApiRoundAddTimeRequest struct { ApiService *ChallengesApiService // contains filtered or unexported fields }
type ApiStreamGameRequest ¶
type ApiStreamGameRequest struct { ApiService *GamesApiService // contains filtered or unexported fields }
type ApiStreamerLiveRequest ¶
type ApiStreamerLiveRequest struct { ApiService *UsersApiService // contains filtered or unexported fields }
type ApiStudyAllChaptersPgnRequest ¶
type ApiStudyAllChaptersPgnRequest struct { ApiService *StudiesApiService // contains filtered or unexported fields }
func (ApiStudyAllChaptersPgnRequest) Clocks ¶
func (r ApiStudyAllChaptersPgnRequest) Clocks(clocks interface{}) ApiStudyAllChaptersPgnRequest
Include clock comments in the PGN moves, when available. Example: `2. exd5 { [%clk 1:01:27] } e5 { [%clk 1:01:28] }`
func (ApiStudyAllChaptersPgnRequest) Comments ¶
func (r ApiStudyAllChaptersPgnRequest) Comments(comments interface{}) ApiStudyAllChaptersPgnRequest
Include analysis and annotator comments in the PGN moves, when available. Example: `12. Bxf6 { [%eval 0.23] } a3 { White is in a pickle. }`
func (ApiStudyAllChaptersPgnRequest) Execute ¶
func (r ApiStudyAllChaptersPgnRequest) Execute() (interface{}, *http.Response, error)
func (ApiStudyAllChaptersPgnRequest) Variations ¶
func (r ApiStudyAllChaptersPgnRequest) Variations(variations interface{}) ApiStudyAllChaptersPgnRequest
Include non-mainline moves, when available. Example: `4. d4 Bb4+ (4... Nc6 5. Nf3 Bb4+ 6. Bd2 (6. Nbd2 O-O 7. O-O) 6... Bd6) 5. Nd2`
type ApiStudyChapterPgnRequest ¶
type ApiStudyChapterPgnRequest struct { ApiService *StudiesApiService // contains filtered or unexported fields }
func (ApiStudyChapterPgnRequest) Clocks ¶
func (r ApiStudyChapterPgnRequest) Clocks(clocks interface{}) ApiStudyChapterPgnRequest
Include clock comments in the PGN moves, when available. Example: `2. exd5 { [%clk 1:01:27] } e5 { [%clk 1:01:28] }`
func (ApiStudyChapterPgnRequest) Comments ¶
func (r ApiStudyChapterPgnRequest) Comments(comments interface{}) ApiStudyChapterPgnRequest
Include analysis and annotator comments in the PGN moves, when available. Example: `12. Bxf6 { [%eval 0.23] } a3 { White is in a pickle. }`
func (ApiStudyChapterPgnRequest) Execute ¶
func (r ApiStudyChapterPgnRequest) Execute() (interface{}, *http.Response, error)
func (ApiStudyChapterPgnRequest) Variations ¶
func (r ApiStudyChapterPgnRequest) Variations(variations interface{}) ApiStudyChapterPgnRequest
Include non-mainline moves, when available. Example: `4. d4 Bb4+ (4... Nc6 5. Nf3 Bb4+ 6. Bd2 (6. Nbd2 O-O 7. O-O) 6... Bd6) 5. Nd2`
type ApiStudyExportAllPgnRequest ¶
type ApiStudyExportAllPgnRequest struct { ApiService *StudiesApiService // contains filtered or unexported fields }
func (ApiStudyExportAllPgnRequest) Clocks ¶
func (r ApiStudyExportAllPgnRequest) Clocks(clocks interface{}) ApiStudyExportAllPgnRequest
Include clock comments in the PGN moves, when available. Example: `2. exd5 { [%clk 1:01:27] } e5 { [%clk 1:01:28] }`
func (ApiStudyExportAllPgnRequest) Comments ¶
func (r ApiStudyExportAllPgnRequest) Comments(comments interface{}) ApiStudyExportAllPgnRequest
Include analysis and annotator comments in the PGN moves, when available. Example: `12. Bxf6 { [%eval 0.23] } a3 { White is in a pickle. }`
func (ApiStudyExportAllPgnRequest) Execute ¶
func (r ApiStudyExportAllPgnRequest) Execute() (interface{}, *http.Response, error)
func (ApiStudyExportAllPgnRequest) Variations ¶
func (r ApiStudyExportAllPgnRequest) Variations(variations interface{}) ApiStudyExportAllPgnRequest
Include non-mainline moves, when available. Example: `4. d4 Bb4+ (4... Nc6 5. Nf3 Bb4+ 6. Bd2 (6. Nbd2 O-O 7. O-O) 6... Bd6) 5. Nd2`
type ApiSwissRequest ¶
type ApiSwissRequest struct { ApiService *SwissTournamentsApiService // contains filtered or unexported fields }
type ApiSwissTrfRequest ¶
type ApiSwissTrfRequest struct { ApiService *SwissTournamentsApiService // contains filtered or unexported fields }
type ApiTablebaseAtomicRequest ¶
type ApiTablebaseAtomicRequest struct { ApiService *TablebaseApiService // contains filtered or unexported fields }
type ApiTablebaseStandardRequest ¶
type ApiTablebaseStandardRequest struct { ApiService *TablebaseApiService // contains filtered or unexported fields }
func (ApiTablebaseStandardRequest) Execute ¶
func (r ApiTablebaseStandardRequest) Execute() (*TablebaseJson, *http.Response, error)
func (ApiTablebaseStandardRequest) Fen ¶
func (r ApiTablebaseStandardRequest) Fen(fen interface{}) ApiTablebaseStandardRequest
FEN of the position. Underscores allowed.
type ApiTeamAllRequest ¶
type ApiTeamAllRequest struct { ApiService *TeamsApiService // contains filtered or unexported fields }
func (ApiTeamAllRequest) Execute ¶
func (r ApiTeamAllRequest) Execute() (*TeamAll200Response, *http.Response, error)
func (ApiTeamAllRequest) Page ¶
func (r ApiTeamAllRequest) Page(page interface{}) ApiTeamAllRequest
type ApiTeamIdJoinRequest ¶
type ApiTeamIdJoinRequest struct { ApiService *TeamsApiService // contains filtered or unexported fields }
func (ApiTeamIdJoinRequest) Execute ¶
func (r ApiTeamIdJoinRequest) Execute() (*Ok, *http.Response, error)
func (ApiTeamIdJoinRequest) Message ¶
func (r ApiTeamIdJoinRequest) Message(message interface{}) ApiTeamIdJoinRequest
Optional request message, if the team requires one.
func (ApiTeamIdJoinRequest) Password ¶
func (r ApiTeamIdJoinRequest) Password(password interface{}) ApiTeamIdJoinRequest
Optional password, if the team requires one.
type ApiTeamIdKickUserIdRequest ¶
type ApiTeamIdKickUserIdRequest struct { ApiService *TeamsApiService // contains filtered or unexported fields }
type ApiTeamIdPmAllRequest ¶
type ApiTeamIdPmAllRequest struct { ApiService *TeamsApiService // contains filtered or unexported fields }
func (ApiTeamIdPmAllRequest) Execute ¶
func (r ApiTeamIdPmAllRequest) Execute() (*Ok, *http.Response, error)
func (ApiTeamIdPmAllRequest) Message ¶
func (r ApiTeamIdPmAllRequest) Message(message interface{}) ApiTeamIdPmAllRequest
The message to send to all your team members.
type ApiTeamIdQuitRequest ¶
type ApiTeamIdQuitRequest struct { ApiService *TeamsApiService // contains filtered or unexported fields }
type ApiTeamOfUsernameRequest ¶
type ApiTeamOfUsernameRequest struct { ApiService *TeamsApiService // contains filtered or unexported fields }
type ApiTeamRequestAcceptRequest ¶
type ApiTeamRequestAcceptRequest struct { ApiService *TeamsApiService // contains filtered or unexported fields }
type ApiTeamRequestDeclineRequest ¶
type ApiTeamRequestDeclineRequest struct { ApiService *TeamsApiService // contains filtered or unexported fields }
type ApiTeamRequestsRequest ¶
type ApiTeamRequestsRequest struct { ApiService *TeamsApiService // contains filtered or unexported fields }
func (ApiTeamRequestsRequest) Execute ¶
func (r ApiTeamRequestsRequest) Execute() ([]TeamRequestWithUser, *http.Response, error)
type ApiTeamSearchRequest ¶
type ApiTeamSearchRequest struct { ApiService *TeamsApiService // contains filtered or unexported fields }
func (ApiTeamSearchRequest) Execute ¶
func (r ApiTeamSearchRequest) Execute() (interface{}, *http.Response, error)
func (ApiTeamSearchRequest) Page ¶
func (r ApiTeamSearchRequest) Page(page interface{}) ApiTeamSearchRequest
func (ApiTeamSearchRequest) Text ¶
func (r ApiTeamSearchRequest) Text(text interface{}) ApiTeamSearchRequest
type ApiTeamShowRequest ¶
type ApiTeamShowRequest struct { ApiService *TeamsApiService // contains filtered or unexported fields }
type ApiTeamsByTournamentRequest ¶
type ApiTeamsByTournamentRequest struct { ApiService *ArenaTournamentsApiService // contains filtered or unexported fields }
type ApiTokenTestRequest ¶
type ApiTokenTestRequest struct { ApiService *OAuthApiService // contains filtered or unexported fields }
func (ApiTokenTestRequest) Body ¶
func (r ApiTokenTestRequest) Body(body interface{}) ApiTokenTestRequest
OAuth tokens separated by commas. Up to 1000.
type ApiTournamentRequest ¶
type ApiTournamentRequest struct { ApiService *ArenaTournamentsApiService // contains filtered or unexported fields }
func (ApiTournamentRequest) Execute ¶
func (r ApiTournamentRequest) Execute() (interface{}, *http.Response, error)
func (ApiTournamentRequest) Page ¶
func (r ApiTournamentRequest) Page(page interface{}) ApiTournamentRequest
Specify which page of player standings to view.
type ApiTvChannelGamesRequest ¶
type ApiTvChannelGamesRequest struct { ApiService *TVApiService // contains filtered or unexported fields }
func (ApiTvChannelGamesRequest) Clocks ¶
func (r ApiTvChannelGamesRequest) Clocks(clocks interface{}) ApiTvChannelGamesRequest
Include clock comments in the PGN moves, when available. Example: `2. exd5 { [%clk 1:01:27] } e5 { [%clk 1:01:28] }`
func (ApiTvChannelGamesRequest) Execute ¶
func (r ApiTvChannelGamesRequest) Execute() (interface{}, *http.Response, error)
func (ApiTvChannelGamesRequest) Moves ¶
func (r ApiTvChannelGamesRequest) Moves(moves interface{}) ApiTvChannelGamesRequest
Include the PGN moves.
func (ApiTvChannelGamesRequest) Nb ¶
func (r ApiTvChannelGamesRequest) Nb(nb interface{}) ApiTvChannelGamesRequest
Number of games to fetch.
func (ApiTvChannelGamesRequest) Opening ¶
func (r ApiTvChannelGamesRequest) Opening(opening interface{}) ApiTvChannelGamesRequest
Include the opening name. Example: `[Opening \"King's Gambit Accepted, King's Knight Gambit\"]`
func (ApiTvChannelGamesRequest) PgnInJson ¶
func (r ApiTvChannelGamesRequest) PgnInJson(pgnInJson interface{}) ApiTvChannelGamesRequest
Include the full PGN within the JSON response, in a `pgn` field.
func (ApiTvChannelGamesRequest) Tags ¶
func (r ApiTvChannelGamesRequest) Tags(tags interface{}) ApiTvChannelGamesRequest
Include the PGN tags.
type ApiTvChannelsRequest ¶
type ApiTvChannelsRequest struct { ApiService *TVApiService // contains filtered or unexported fields }
type ApiTvFeedRequest ¶
type ApiTvFeedRequest struct { ApiService *TVApiService // contains filtered or unexported fields }
type ApiUnfollowUserRequest ¶
type ApiUnfollowUserRequest struct { ApiService *RelationsApiService // contains filtered or unexported fields }
type ApiUsersStatus200ResponseInner ¶
type ApiUsersStatus200ResponseInner struct { Id interface{} `json:"id"` Name interface{} `json:"name"` Title interface{} `json:"title,omitempty"` Online interface{} `json:"online,omitempty"` Playing interface{} `json:"playing,omitempty"` Streaming interface{} `json:"streaming,omitempty"` Patron interface{} `json:"patron,omitempty"` }
ApiUsersStatus200ResponseInner struct for ApiUsersStatus200ResponseInner
func NewApiUsersStatus200ResponseInner ¶
func NewApiUsersStatus200ResponseInner(id interface{}, name interface{}) *ApiUsersStatus200ResponseInner
NewApiUsersStatus200ResponseInner instantiates a new ApiUsersStatus200ResponseInner object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewApiUsersStatus200ResponseInnerWithDefaults ¶
func NewApiUsersStatus200ResponseInnerWithDefaults() *ApiUsersStatus200ResponseInner
NewApiUsersStatus200ResponseInnerWithDefaults instantiates a new ApiUsersStatus200ResponseInner object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ApiUsersStatus200ResponseInner) GetId ¶
func (o *ApiUsersStatus200ResponseInner) GetId() interface{}
GetId returns the Id field value If the value is explicit nil, the zero value for interface{} will be returned
func (*ApiUsersStatus200ResponseInner) GetIdOk ¶
func (o *ApiUsersStatus200ResponseInner) GetIdOk() (*interface{}, bool)
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ApiUsersStatus200ResponseInner) GetName ¶
func (o *ApiUsersStatus200ResponseInner) GetName() interface{}
GetName returns the Name field value If the value is explicit nil, the zero value for interface{} will be returned
func (*ApiUsersStatus200ResponseInner) GetNameOk ¶
func (o *ApiUsersStatus200ResponseInner) GetNameOk() (*interface{}, bool)
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ApiUsersStatus200ResponseInner) GetOnline ¶
func (o *ApiUsersStatus200ResponseInner) GetOnline() interface{}
GetOnline returns the Online field value if set, zero value otherwise (both if not set or set to explicit null).
func (*ApiUsersStatus200ResponseInner) GetOnlineOk ¶
func (o *ApiUsersStatus200ResponseInner) GetOnlineOk() (*interface{}, bool)
GetOnlineOk returns a tuple with the Online field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ApiUsersStatus200ResponseInner) GetPatron ¶
func (o *ApiUsersStatus200ResponseInner) GetPatron() interface{}
GetPatron returns the Patron field value if set, zero value otherwise (both if not set or set to explicit null).
func (*ApiUsersStatus200ResponseInner) GetPatronOk ¶
func (o *ApiUsersStatus200ResponseInner) GetPatronOk() (*interface{}, bool)
GetPatronOk returns a tuple with the Patron field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ApiUsersStatus200ResponseInner) GetPlaying ¶
func (o *ApiUsersStatus200ResponseInner) GetPlaying() interface{}
GetPlaying returns the Playing field value if set, zero value otherwise (both if not set or set to explicit null).
func (*ApiUsersStatus200ResponseInner) GetPlayingOk ¶
func (o *ApiUsersStatus200ResponseInner) GetPlayingOk() (*interface{}, bool)
GetPlayingOk returns a tuple with the Playing field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ApiUsersStatus200ResponseInner) GetStreaming ¶
func (o *ApiUsersStatus200ResponseInner) GetStreaming() interface{}
GetStreaming returns the Streaming field value if set, zero value otherwise (both if not set or set to explicit null).
func (*ApiUsersStatus200ResponseInner) GetStreamingOk ¶
func (o *ApiUsersStatus200ResponseInner) GetStreamingOk() (*interface{}, bool)
GetStreamingOk returns a tuple with the Streaming field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ApiUsersStatus200ResponseInner) GetTitle ¶
func (o *ApiUsersStatus200ResponseInner) GetTitle() interface{}
GetTitle returns the Title field value if set, zero value otherwise (both if not set or set to explicit null).
func (*ApiUsersStatus200ResponseInner) GetTitleOk ¶
func (o *ApiUsersStatus200ResponseInner) GetTitleOk() (*interface{}, bool)
GetTitleOk returns a tuple with the Title field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ApiUsersStatus200ResponseInner) HasOnline ¶
func (o *ApiUsersStatus200ResponseInner) HasOnline() bool
HasOnline returns a boolean if a field has been set.
func (*ApiUsersStatus200ResponseInner) HasPatron ¶
func (o *ApiUsersStatus200ResponseInner) HasPatron() bool
HasPatron returns a boolean if a field has been set.
func (*ApiUsersStatus200ResponseInner) HasPlaying ¶
func (o *ApiUsersStatus200ResponseInner) HasPlaying() bool
HasPlaying returns a boolean if a field has been set.
func (*ApiUsersStatus200ResponseInner) HasStreaming ¶
func (o *ApiUsersStatus200ResponseInner) HasStreaming() bool
HasStreaming returns a boolean if a field has been set.
func (*ApiUsersStatus200ResponseInner) HasTitle ¶
func (o *ApiUsersStatus200ResponseInner) HasTitle() bool
HasTitle returns a boolean if a field has been set.
func (ApiUsersStatus200ResponseInner) MarshalJSON ¶
func (o ApiUsersStatus200ResponseInner) MarshalJSON() ([]byte, error)
func (*ApiUsersStatus200ResponseInner) SetId ¶
func (o *ApiUsersStatus200ResponseInner) SetId(v interface{})
SetId sets field value
func (*ApiUsersStatus200ResponseInner) SetName ¶
func (o *ApiUsersStatus200ResponseInner) SetName(v interface{})
SetName sets field value
func (*ApiUsersStatus200ResponseInner) SetOnline ¶
func (o *ApiUsersStatus200ResponseInner) SetOnline(v interface{})
SetOnline gets a reference to the given interface{} and assigns it to the Online field.
func (*ApiUsersStatus200ResponseInner) SetPatron ¶
func (o *ApiUsersStatus200ResponseInner) SetPatron(v interface{})
SetPatron gets a reference to the given interface{} and assigns it to the Patron field.
func (*ApiUsersStatus200ResponseInner) SetPlaying ¶
func (o *ApiUsersStatus200ResponseInner) SetPlaying(v interface{})
SetPlaying gets a reference to the given interface{} and assigns it to the Playing field.
func (*ApiUsersStatus200ResponseInner) SetStreaming ¶
func (o *ApiUsersStatus200ResponseInner) SetStreaming(v interface{})
SetStreaming gets a reference to the given interface{} and assigns it to the Streaming field.
func (*ApiUsersStatus200ResponseInner) SetTitle ¶
func (o *ApiUsersStatus200ResponseInner) SetTitle(v interface{})
SetTitle gets a reference to the given interface{} and assigns it to the Title field.
type ArenaApiTeamArenaRequest ¶
type ArenaApiTeamArenaRequest struct { ApiService *ArenaTournamentsApiService // contains filtered or unexported fields }
func (ArenaApiTeamArenaRequest) Execute ¶
func (r ArenaApiTeamArenaRequest) Execute() (interface{}, *http.Response, error)
func (ArenaApiTeamArenaRequest) Max ¶
func (r ArenaApiTeamArenaRequest) Max(max interface{}) ArenaApiTeamArenaRequest
How many tournaments to download.
type ArenaTournaments ¶
type ArenaTournaments struct { Created interface{} `json:"created,omitempty"` Started interface{} `json:"started,omitempty"` Finished interface{} `json:"finished,omitempty"` }
ArenaTournaments struct for ArenaTournaments
func NewArenaTournaments ¶
func NewArenaTournaments() *ArenaTournaments
NewArenaTournaments instantiates a new ArenaTournaments object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewArenaTournamentsWithDefaults ¶
func NewArenaTournamentsWithDefaults() *ArenaTournaments
NewArenaTournamentsWithDefaults instantiates a new ArenaTournaments object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ArenaTournaments) GetCreated ¶
func (o *ArenaTournaments) GetCreated() interface{}
GetCreated returns the Created field value if set, zero value otherwise (both if not set or set to explicit null).
func (*ArenaTournaments) GetCreatedOk ¶
func (o *ArenaTournaments) GetCreatedOk() (*interface{}, bool)
GetCreatedOk returns a tuple with the Created field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ArenaTournaments) GetFinished ¶
func (o *ArenaTournaments) GetFinished() interface{}
GetFinished returns the Finished field value if set, zero value otherwise (both if not set or set to explicit null).
func (*ArenaTournaments) GetFinishedOk ¶
func (o *ArenaTournaments) GetFinishedOk() (*interface{}, bool)
GetFinishedOk returns a tuple with the Finished field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ArenaTournaments) GetStarted ¶
func (o *ArenaTournaments) GetStarted() interface{}
GetStarted returns the Started field value if set, zero value otherwise (both if not set or set to explicit null).
func (*ArenaTournaments) GetStartedOk ¶
func (o *ArenaTournaments) GetStartedOk() (*interface{}, bool)
GetStartedOk returns a tuple with the Started field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ArenaTournaments) HasCreated ¶
func (o *ArenaTournaments) HasCreated() bool
HasCreated returns a boolean if a field has been set.
func (*ArenaTournaments) HasFinished ¶
func (o *ArenaTournaments) HasFinished() bool
HasFinished returns a boolean if a field has been set.
func (*ArenaTournaments) HasStarted ¶
func (o *ArenaTournaments) HasStarted() bool
HasStarted returns a boolean if a field has been set.
func (ArenaTournaments) MarshalJSON ¶
func (o ArenaTournaments) MarshalJSON() ([]byte, error)
func (*ArenaTournaments) SetCreated ¶
func (o *ArenaTournaments) SetCreated(v interface{})
SetCreated gets a reference to the given interface{} and assigns it to the Created field.
func (*ArenaTournaments) SetFinished ¶
func (o *ArenaTournaments) SetFinished(v interface{})
SetFinished gets a reference to the given interface{} and assigns it to the Finished field.
func (*ArenaTournaments) SetStarted ¶
func (o *ArenaTournaments) SetStarted(v interface{})
SetStarted gets a reference to the given interface{} and assigns it to the Started field.
type ArenaTournamentsApiService ¶
type ArenaTournamentsApiService service
ArenaTournamentsApiService ArenaTournamentsApi service
func (*ArenaTournamentsApiService) ApiTeamArena ¶
func (a *ArenaTournamentsApiService) ApiTeamArena(ctx context.Context, teamId interface{}) ArenaApiTeamArenaRequest
ApiTeamArena Get team Arena tournaments
Get all Arena tournaments relevant to a team.
Tournaments are sorted by reverse chronological order of start date (last starting first).
Tournaments are streamed as [ndjson](#section/Introduction/Streaming-with-ND-JSON).
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param teamId ID of the team @return ArenaApiTeamArenaRequest
func (*ArenaTournamentsApiService) ApiTeamArenaExecute ¶
func (a *ArenaTournamentsApiService) ApiTeamArenaExecute(r ArenaApiTeamArenaRequest) (interface{}, *http.Response, error)
Execute executes the request
@return interface{}
func (*ArenaTournamentsApiService) ApiTournament ¶
func (a *ArenaTournamentsApiService) ApiTournament(ctx context.Context) ApiApiTournamentRequest
ApiTournament Get current tournaments
Get recently finished, ongoing, and upcoming tournaments.
This API is used to display the [Lichess tournament schedule](https://lichess.org/tournament).
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiApiTournamentRequest
func (*ArenaTournamentsApiService) ApiTournamentExecute ¶
func (a *ArenaTournamentsApiService) ApiTournamentExecute(r ApiApiTournamentRequest) (*ArenaTournaments, *http.Response, error)
Execute executes the request
@return ArenaTournaments
func (*ArenaTournamentsApiService) ApiTournamentJoin ¶
func (a *ArenaTournamentsApiService) ApiTournamentJoin(ctx context.Context, id interface{}) ApiApiTournamentJoinRequest
ApiTournamentJoin Join an Arena tournament
Join an Arena tournament, possibly with a password and/or a team. Also unpauses if you had previously [paused](#operation/apiTournamentWithdraw) the tournament.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param id The tournament ID. @return ApiApiTournamentJoinRequest
func (*ArenaTournamentsApiService) ApiTournamentJoinExecute ¶
func (a *ArenaTournamentsApiService) ApiTournamentJoinExecute(r ApiApiTournamentJoinRequest) (*Ok, *http.Response, error)
Execute executes the request
@return Ok
func (*ArenaTournamentsApiService) ApiTournamentPost ¶
func (a *ArenaTournamentsApiService) ApiTournamentPost(ctx context.Context) ApiApiTournamentPostRequest
ApiTournamentPost Create a new Arena tournament
Create a public or private Arena tournament.
This endpoint mirrors the form on <https://lichess.org/tournament/new>.
You can create up to 12 public tournaments per day, or 24 private tournaments.
A team battle can be created by specifying the `teambBattleByTeam` argument.
Additional restrictions:
clockTime + clockIncrement > 0
15s and 0+1 variant tournaments cannot be rated
Clock time in comparison to tournament length must be reasonable: 3 <= (minutes * 60) / (96 * clockTime + 48 * clockIncrement + 15) <= 150
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiApiTournamentPostRequest
func (*ArenaTournamentsApiService) ApiTournamentPostExecute ¶
func (a *ArenaTournamentsApiService) ApiTournamentPostExecute(r ApiApiTournamentPostRequest) (interface{}, *http.Response, error)
Execute executes the request
@return interface{}
func (*ArenaTournamentsApiService) ApiTournamentTeamBattlePost ¶
func (a *ArenaTournamentsApiService) ApiTournamentTeamBattlePost(ctx context.Context, id interface{}) ApiApiTournamentTeamBattlePostRequest
ApiTournamentTeamBattlePost Update a team battle
Set the teams and number of leaders of a team battle.
To update the other attributes of a team battle, use the [tournament update endpoint](#operation/apiTournamentUpdate).
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param id The tournament ID (8 characters).. @return ApiApiTournamentTeamBattlePostRequest
func (*ArenaTournamentsApiService) ApiTournamentTeamBattlePostExecute ¶
func (a *ArenaTournamentsApiService) ApiTournamentTeamBattlePostExecute(r ApiApiTournamentTeamBattlePostRequest) (interface{}, *http.Response, error)
Execute executes the request
@return interface{}
func (*ArenaTournamentsApiService) ApiTournamentTerminate ¶
func (a *ArenaTournamentsApiService) ApiTournamentTerminate(ctx context.Context, id interface{}) ApiApiTournamentTerminateRequest
ApiTournamentTerminate Terminate an Arena tournament
Terminate an Arena tournament
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param id The tournament ID. @return ApiApiTournamentTerminateRequest
func (*ArenaTournamentsApiService) ApiTournamentTerminateExecute ¶
func (a *ArenaTournamentsApiService) ApiTournamentTerminateExecute(r ApiApiTournamentTerminateRequest) (*Ok, *http.Response, error)
Execute executes the request
@return Ok
func (*ArenaTournamentsApiService) ApiTournamentUpdate ¶
func (a *ArenaTournamentsApiService) ApiTournamentUpdate(ctx context.Context, id interface{}) ApiApiTournamentUpdateRequest
ApiTournamentUpdate Update an Arena tournament
Update an Arena tournament.
Be mindful not to make important changes to ongoing tournaments.
Can be used to update a team battle.
Additional restrictions:
clockTime + clockIncrement > 0
15s and 0+1 variant tournaments cannot be rated
Clock time in comparison to tournament length must be reasonable: 3 <= (minutes * 60) / (96 * clockTime + 48 * clockIncrement + 15) <= 150
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param id The tournament ID. @return ApiApiTournamentUpdateRequest
func (*ArenaTournamentsApiService) ApiTournamentUpdateExecute ¶
func (a *ArenaTournamentsApiService) ApiTournamentUpdateExecute(r ApiApiTournamentUpdateRequest) (interface{}, *http.Response, error)
Execute executes the request
@return interface{}
func (*ArenaTournamentsApiService) ApiTournamentWithdraw ¶
func (a *ArenaTournamentsApiService) ApiTournamentWithdraw(ctx context.Context, id interface{}) ApiApiTournamentWithdrawRequest
ApiTournamentWithdraw Pause or leave an Arena tournament
Leave a future Arena tournament, or take a break on an ongoing Arena tournament. It's possible to join again later. Points and streaks are preserved.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param id The tournament ID. @return ApiApiTournamentWithdrawRequest
func (*ArenaTournamentsApiService) ApiTournamentWithdrawExecute ¶
func (a *ArenaTournamentsApiService) ApiTournamentWithdrawExecute(r ApiApiTournamentWithdrawRequest) (*Ok, *http.Response, error)
Execute executes the request
@return Ok
func (*ArenaTournamentsApiService) ApiUserNameTournamentCreated ¶
func (a *ArenaTournamentsApiService) ApiUserNameTournamentCreated(ctx context.Context, username interface{}) ApiApiUserNameTournamentCreatedRequest
ApiUserNameTournamentCreated Get tournaments created by a user
Get all tournaments created by a given user.
Tournaments are sorted by reverse chronological order of start date (last starting first).
Tournaments are streamed as [ndjson](#section/Introduction/Streaming-with-ND-JSON).
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param username The user whose created tournaments to fetch @return ApiApiUserNameTournamentCreatedRequest
func (*ArenaTournamentsApiService) ApiUserNameTournamentCreatedExecute ¶
func (a *ArenaTournamentsApiService) ApiUserNameTournamentCreatedExecute(r ApiApiUserNameTournamentCreatedRequest) (interface{}, *http.Response, error)
Execute executes the request
@return interface{}
func (*ArenaTournamentsApiService) GamesByTournament ¶
func (a *ArenaTournamentsApiService) GamesByTournament(ctx context.Context, id interface{}) ApiGamesByTournamentRequest
GamesByTournament Export games of an Arena tournament
Download games of a tournament in PGN or [ndjson](#section/Introduction/Streaming-with-ND-JSON) format.
Games are sorted by reverse chronological order (most recent first).
The game stream is throttled, depending on who is making the request:
Anonymous request: 20 games per second
[OAuth2 authenticated](#section/Authentication) request: 30 games per second
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param id The tournament ID. @return ApiGamesByTournamentRequest
func (*ArenaTournamentsApiService) GamesByTournamentExecute ¶
func (a *ArenaTournamentsApiService) GamesByTournamentExecute(r ApiGamesByTournamentRequest) (interface{}, *http.Response, error)
Execute executes the request
@return interface{}
func (*ArenaTournamentsApiService) ResultsByTournament ¶
func (a *ArenaTournamentsApiService) ResultsByTournament(ctx context.Context, id interface{}) ApiResultsByTournamentRequest
ResultsByTournament Get results of an Arena tournament
Players of an Arena tournament, with their score and performance, sorted by rank (best first).
**Players are streamed as [ndjson](#section/Introduction/Streaming-with-ND-JSON)**, i.e. one JSON object per line.
If called on an ongoing tournament, results can be inconsistent due to ranking changes while the players are being streamed. Use on finished tournaments for guaranteed consistency.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param id The tournament ID. @return ApiResultsByTournamentRequest
func (*ArenaTournamentsApiService) ResultsByTournamentExecute ¶
func (a *ArenaTournamentsApiService) ResultsByTournamentExecute(r ApiResultsByTournamentRequest) (interface{}, *http.Response, error)
Execute executes the request
@return interface{}
func (*ArenaTournamentsApiService) TeamsByTournament ¶
func (a *ArenaTournamentsApiService) TeamsByTournament(ctx context.Context, id interface{}) ApiTeamsByTournamentRequest
TeamsByTournament Get team standing of a team battle
Teams of a team battle tournament, with top players, sorted by rank (best first).
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param id The tournament ID. @return ApiTeamsByTournamentRequest
func (*ArenaTournamentsApiService) TeamsByTournamentExecute ¶
func (a *ArenaTournamentsApiService) TeamsByTournamentExecute(r ApiTeamsByTournamentRequest) (interface{}, *http.Response, error)
Execute executes the request
@return interface{}
func (*ArenaTournamentsApiService) Tournament ¶
func (a *ArenaTournamentsApiService) Tournament(ctx context.Context, id interface{}) ApiTournamentRequest
Tournament Get info about an Arena tournament
Get detailed info about recently finished, current, or upcoming tournament's duels, player standings, and other info.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param id The tournament ID. @return ApiTournamentRequest
func (*ArenaTournamentsApiService) TournamentExecute ¶
func (a *ArenaTournamentsApiService) TournamentExecute(r ApiTournamentRequest) (interface{}, *http.Response, error)
Execute executes the request
@return interface{}
type BasicAuth ¶
type BasicAuth struct { UserName string `json:"userName,omitempty"` Password string `json:"password,omitempty"` }
BasicAuth provides basic http authentication to a request passed via context using ContextBasicAuth
type BoardApiService ¶
type BoardApiService service
BoardApiService BoardApi service
func (*BoardApiService) ApiBoardSeek ¶
func (a *BoardApiService) ApiBoardSeek(ctx context.Context) ApiApiBoardSeekRequest
ApiBoardSeek Create a seek
Create a public seek, to start a game with a random player. ### Real-time seek Specify the `time` and `increment` clock values. The response is streamed but doesn't contain any information. **Keep the connection open to keep the seek active**. If the client closes the connection, the seek is canceled. This way, if the client terminates, the user won't be paired in a game they wouldn't play. When the seek is accepted, or expires, the server closes the connection. **Make sure to also have an [Event stream](#operation/apiStreamEvent) open**, to be notified when a game starts. We recommend opening the [Event stream](#operation/apiStreamEvent) first, then the seek stream. This way, you won't miss the game event if the seek is accepted immediately. ### Correspondence seek Specify the `days` per turn value. The response is not streamed, it immediately completes with the seek ID. The seek remains active on the server until it is joined by someone. @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiApiBoardSeekRequest
func (*BoardApiService) ApiBoardSeekExecute ¶
func (a *BoardApiService) ApiBoardSeekExecute(r ApiApiBoardSeekRequest) (*http.Response, error)
Execute executes the request
func (*BoardApiService) ApiStreamEvent ¶
func (a *BoardApiService) ApiStreamEvent(ctx context.Context) BoardApiStreamEventRequest
ApiStreamEvent Stream incoming events
Stream the events reaching a lichess user in real time as [ndjson](#section/Introduction/Streaming-with-ND-JSON). Each line is a JSON object containing a `type` field. Possible values are: - `gameStart` Start of a game - `gameFinish` Completion of a game - `challenge` A player sends you a challenge or you challenge someone - `challengeCanceled` A player cancels their challenge to you - `challengeDeclined` The opponent declines your challenge When the stream opens, all current challenges and games are sent. @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return BoardApiStreamEventRequest
func (*BoardApiService) ApiStreamEventExecute ¶
func (a *BoardApiService) ApiStreamEventExecute(r BoardApiStreamEventRequest) (interface{}, *http.Response, error)
Execute executes the request
@return interface{}
func (*BoardApiService) BoardGameAbort ¶
func (a *BoardApiService) BoardGameAbort(ctx context.Context, gameId interface{}) ApiBoardGameAbortRequest
BoardGameAbort Abort a game
Abort a game being played with the Board API.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param gameId @return ApiBoardGameAbortRequest
func (*BoardApiService) BoardGameAbortExecute ¶
func (a *BoardApiService) BoardGameAbortExecute(r ApiBoardGameAbortRequest) (*Ok, *http.Response, error)
Execute executes the request
@return Ok
func (*BoardApiService) BoardGameBerserk ¶
func (a *BoardApiService) BoardGameBerserk(ctx context.Context, gameId interface{}) ApiBoardGameBerserkRequest
BoardGameBerserk Berserk a tournament game
Go berserk on an arena tournament game. Halves the clock time, grants an extra point upon winning. Only available in arena tournaments that allow berserk, and before each player has made a move.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param gameId @return ApiBoardGameBerserkRequest
func (*BoardApiService) BoardGameBerserkExecute ¶
func (a *BoardApiService) BoardGameBerserkExecute(r ApiBoardGameBerserkRequest) (*Ok, *http.Response, error)
Execute executes the request
@return Ok
func (*BoardApiService) BoardGameChatGet ¶
func (a *BoardApiService) BoardGameChatGet(ctx context.Context, gameId interface{}) ApiBoardGameChatGetRequest
BoardGameChatGet Fetch the game chat
Get the messages posted in the game chat
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param gameId @return ApiBoardGameChatGetRequest
func (*BoardApiService) BoardGameChatGetExecute ¶
func (a *BoardApiService) BoardGameChatGetExecute(r ApiBoardGameChatGetRequest) (interface{}, *http.Response, error)
Execute executes the request
@return interface{}
func (*BoardApiService) BoardGameChatPost ¶
func (a *BoardApiService) BoardGameChatPost(ctx context.Context, gameId interface{}) ApiBoardGameChatPostRequest
BoardGameChatPost Write in the chat
Post a message to the player or spectator chat, in a game being played with the Board API.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param gameId @return ApiBoardGameChatPostRequest
func (*BoardApiService) BoardGameChatPostExecute ¶
func (a *BoardApiService) BoardGameChatPostExecute(r ApiBoardGameChatPostRequest) (*Ok, *http.Response, error)
Execute executes the request
@return Ok
func (*BoardApiService) BoardGameClaimVictory ¶
func (a *BoardApiService) BoardGameClaimVictory(ctx context.Context, gameId interface{}) ApiBoardGameClaimVictoryRequest
BoardGameClaimVictory Claim victory of a game
Claim victory when the opponent has left the game for a while.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param gameId @return ApiBoardGameClaimVictoryRequest
func (*BoardApiService) BoardGameClaimVictoryExecute ¶
func (a *BoardApiService) BoardGameClaimVictoryExecute(r ApiBoardGameClaimVictoryRequest) (*Ok, *http.Response, error)
Execute executes the request
@return Ok
func (*BoardApiService) BoardGameDraw ¶
func (a *BoardApiService) BoardGameDraw(ctx context.Context, gameId interface{}, accept interface{}) ApiBoardGameDrawRequest
BoardGameDraw Handle draw offers
Create/accept/decline draw offers. - `yes`: Offer a draw, or accept the opponent's draw offer. - `no`: Decline a draw offer from the opponent.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param gameId @param accept @return ApiBoardGameDrawRequest
func (*BoardApiService) BoardGameDrawExecute ¶
func (a *BoardApiService) BoardGameDrawExecute(r ApiBoardGameDrawRequest) (*Ok, *http.Response, error)
Execute executes the request
@return Ok
func (*BoardApiService) BoardGameMove ¶
func (a *BoardApiService) BoardGameMove(ctx context.Context, gameId interface{}, move interface{}) ApiBoardGameMoveRequest
BoardGameMove Make a Board move
Make a move in a game being played with the Board API.
The move can also contain a draw offer/agreement.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param gameId @param move The move to play, in UCI format @return ApiBoardGameMoveRequest
func (*BoardApiService) BoardGameMoveExecute ¶
func (a *BoardApiService) BoardGameMoveExecute(r ApiBoardGameMoveRequest) (*Ok, *http.Response, error)
Execute executes the request
@return Ok
func (*BoardApiService) BoardGameResign ¶
func (a *BoardApiService) BoardGameResign(ctx context.Context, gameId interface{}) ApiBoardGameResignRequest
BoardGameResign Resign a game
Resign a game being played with the Board API.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param gameId @return ApiBoardGameResignRequest
func (*BoardApiService) BoardGameResignExecute ¶
func (a *BoardApiService) BoardGameResignExecute(r ApiBoardGameResignRequest) (*Ok, *http.Response, error)
Execute executes the request
@return Ok
func (*BoardApiService) BoardGameStream ¶
func (a *BoardApiService) BoardGameStream(ctx context.Context, gameId interface{}) ApiBoardGameStreamRequest
BoardGameStream Stream Board game state
Stream the state of a game being played with the Board API, as [ndjson](#section/Introduction/Streaming-with-ND-JSON).
Use this endpoint to get updates about the game in real-time, with a single request.
Each line is a JSON object containing a `type` field. Possible values are:
`gameFull` Full game data. All values are immutable, except for the `state` field.
`gameState` Current state of the game. Immutable values not included. Sent when a move is played, a draw is offered, or when the game ends.
`chatLine` Chat message sent by a user in the `room` "player" or "spectator".
`opponentGone` Whether the opponent has left the game, and how long before you can claim a win or draw.
The first line is always of type `gameFull`.
The server closes the stream when the game ends, or if the game has already ended.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param gameId @return ApiBoardGameStreamRequest
func (*BoardApiService) BoardGameStreamExecute ¶
func (a *BoardApiService) BoardGameStreamExecute(r ApiBoardGameStreamRequest) (interface{}, *http.Response, error)
Execute executes the request
@return interface{}
func (*BoardApiService) BoardGameTakeback ¶
func (a *BoardApiService) BoardGameTakeback(ctx context.Context, gameId interface{}, accept interface{}) ApiBoardGameTakebackRequest
BoardGameTakeback Handle takeback offers
Create/accept/decline takebacks. - `yes`: Propose a takeback, or accept the opponent's takeback offer. - `no`: Decline a takeback offer from the opponent.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param gameId @param accept @return ApiBoardGameTakebackRequest
func (*BoardApiService) BoardGameTakebackExecute ¶
func (a *BoardApiService) BoardGameTakebackExecute(r ApiBoardGameTakebackRequest) (*Ok, *http.Response, error)
Execute executes the request
@return Ok
type BoardApiStreamEventRequest ¶
type BoardApiStreamEventRequest struct { ApiService *BoardApiService // contains filtered or unexported fields }
type BotApiService ¶
type BotApiService service
BotApiService BotApi service
func (*BotApiService) ApiBotOnline ¶
func (a *BotApiService) ApiBotOnline(ctx context.Context) ApiApiBotOnlineRequest
ApiBotOnline Get online bots
Stream the [online bot users](https://lichess.org/player/bots), as [ndjson](#section/Introduction/Streaming-with-ND-JSON). Throttled to 50 bot users per second.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiApiBotOnlineRequest
func (*BotApiService) ApiBotOnlineExecute ¶
func (a *BotApiService) ApiBotOnlineExecute(r ApiApiBotOnlineRequest) (*User, *http.Response, error)
Execute executes the request
@return User
func (*BotApiService) ApiStreamEvent ¶
func (a *BotApiService) ApiStreamEvent(ctx context.Context) BotApiStreamEventRequest
ApiStreamEvent Stream incoming events
Stream the events reaching a lichess user in real time as [ndjson](#section/Introduction/Streaming-with-ND-JSON). Each line is a JSON object containing a `type` field. Possible values are: - `gameStart` Start of a game - `gameFinish` Completion of a game - `challenge` A player sends you a challenge or you challenge someone - `challengeCanceled` A player cancels their challenge to you - `challengeDeclined` The opponent declines your challenge When the stream opens, all current challenges and games are sent. @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return BotApiStreamEventRequest
func (*BotApiService) ApiStreamEventExecute ¶
func (a *BotApiService) ApiStreamEventExecute(r BotApiStreamEventRequest) (interface{}, *http.Response, error)
Execute executes the request
@return interface{}
func (*BotApiService) BotAccountUpgrade ¶
func (a *BotApiService) BotAccountUpgrade(ctx context.Context) ApiBotAccountUpgradeRequest
BotAccountUpgrade Upgrade to Bot account
Upgrade a lichess player account into a Bot account. Only Bot accounts can use the Bot API.
The account **cannot have played any game** before becoming a Bot account. The upgrade is **irreversible**. The account will only be able to play as a Bot.
To upgrade an account to Bot, use the [official lichess-bot client](https://github.com/ShailChoksi/lichess-bot), or follow these steps: - Create an [API access token](https://lichess.org/account/oauth/token/create?scopes[]=bot:play) with "Play bot moves" permission. - `curl -d ” https://lichess.org/api/bot/account/upgrade -H "Authorization: Bearer <yourTokenHere>"`
To know if an account has already been upgraded, use the [Get my profile API](#operation/accountMe): the `title` field should be set to `BOT`.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiBotAccountUpgradeRequest
func (*BotApiService) BotAccountUpgradeExecute ¶
func (a *BotApiService) BotAccountUpgradeExecute(r ApiBotAccountUpgradeRequest) (*Ok, *http.Response, error)
Execute executes the request
@return Ok
func (*BotApiService) BotGameAbort ¶
func (a *BotApiService) BotGameAbort(ctx context.Context, gameId interface{}) ApiBotGameAbortRequest
BotGameAbort Abort a game
Abort a game being played with the Bot API.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param gameId @return ApiBotGameAbortRequest
func (*BotApiService) BotGameAbortExecute ¶
func (a *BotApiService) BotGameAbortExecute(r ApiBotGameAbortRequest) (*Ok, *http.Response, error)
Execute executes the request
@return Ok
func (*BotApiService) BotGameChat ¶
func (a *BotApiService) BotGameChat(ctx context.Context, gameId interface{}) ApiBotGameChatRequest
BotGameChat Write in the chat
Post a message to the player or spectator chat, in a game being played with the Bot API.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param gameId @return ApiBotGameChatRequest
func (*BotApiService) BotGameChatExecute ¶
func (a *BotApiService) BotGameChatExecute(r ApiBotGameChatRequest) (*Ok, *http.Response, error)
Execute executes the request
@return Ok
func (*BotApiService) BotGameChatGet ¶
func (a *BotApiService) BotGameChatGet(ctx context.Context, gameId interface{}) ApiBotGameChatGetRequest
BotGameChatGet Fetch the game chat
Get the messages posted in the game chat
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param gameId @return ApiBotGameChatGetRequest
func (*BotApiService) BotGameChatGetExecute ¶
func (a *BotApiService) BotGameChatGetExecute(r ApiBotGameChatGetRequest) (interface{}, *http.Response, error)
Execute executes the request
@return interface{}
func (*BotApiService) BotGameMove ¶
func (a *BotApiService) BotGameMove(ctx context.Context, gameId interface{}, move interface{}) ApiBotGameMoveRequest
BotGameMove Make a Bot move
Make a move in a game being played with the Bot API.
The move can also contain a draw offer/agreement.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param gameId @param move The move to play, in UCI format @return ApiBotGameMoveRequest
func (*BotApiService) BotGameMoveExecute ¶
func (a *BotApiService) BotGameMoveExecute(r ApiBotGameMoveRequest) (*Ok, *http.Response, error)
Execute executes the request
@return Ok
func (*BotApiService) BotGameResign ¶
func (a *BotApiService) BotGameResign(ctx context.Context, gameId interface{}) ApiBotGameResignRequest
BotGameResign Resign a game
Resign a game being played with the Bot API.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param gameId @return ApiBotGameResignRequest
func (*BotApiService) BotGameResignExecute ¶
func (a *BotApiService) BotGameResignExecute(r ApiBotGameResignRequest) (*Ok, *http.Response, error)
Execute executes the request
@return Ok
func (*BotApiService) BotGameStream ¶
func (a *BotApiService) BotGameStream(ctx context.Context, gameId interface{}) ApiBotGameStreamRequest
BotGameStream Stream Bot game state
Stream the state of a game being played with the Bot API, as [ndjson](#section/Introduction/Streaming-with-ND-JSON).
Use this endpoint to get updates about the game in real-time, with a single request.
Each line is a JSON object containing a `type` field. Possible values are:
`gameFull` Full game data. All values are immutable, except for the `state` field.
`gameState` Current state of the game. Immutable values not included.
`chatLine` Chat message sent by a user (or the bot itself) in the `room` "player" or "spectator".
`opponentGone` Whether the opponent has left the game, and how long before you can claim a win or draw.
The first line is always of type `gameFull`.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param gameId @return ApiBotGameStreamRequest
func (*BotApiService) BotGameStreamExecute ¶
func (a *BotApiService) BotGameStreamExecute(r ApiBotGameStreamRequest) (interface{}, *http.Response, error)
Execute executes the request
@return interface{}
type BotApiStreamEventRequest ¶
type BotApiStreamEventRequest struct { ApiService *BotApiService // contains filtered or unexported fields }
type BroadcastsApiService ¶
type BroadcastsApiService service
BroadcastsApiService BroadcastsApi service
func (*BroadcastsApiService) BroadcastAllRoundsPgn ¶
func (a *BroadcastsApiService) BroadcastAllRoundsPgn(ctx context.Context, broadcastTournamentId interface{}) ApiBroadcastAllRoundsPgnRequest
BroadcastAllRoundsPgn Export all rounds as PGN
Download all games of all rounds of a broadcast in PGN format.
You may want to [download only the games of a single round](#operation/broadcastRoundPgn) instead.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param broadcastTournamentId The broadcast tournament ID (8 characters). @return ApiBroadcastAllRoundsPgnRequest
func (*BroadcastsApiService) BroadcastAllRoundsPgnExecute ¶
func (a *BroadcastsApiService) BroadcastAllRoundsPgnExecute(r ApiBroadcastAllRoundsPgnRequest) (interface{}, *http.Response, error)
Execute executes the request
@return interface{}
func (*BroadcastsApiService) BroadcastIndex ¶
func (a *BroadcastsApiService) BroadcastIndex(ctx context.Context) ApiBroadcastIndexRequest
BroadcastIndex Get official broadcasts
Get all incoming, ongoing, and finished official broadcasts. The broadcasts are sorted by start date, most recent first.
Broadcasts are streamed as [ndjson](#section/Introduction/Streaming-with-ND-JSON).
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiBroadcastIndexRequest
func (*BroadcastsApiService) BroadcastIndexExecute ¶
func (a *BroadcastsApiService) BroadcastIndexExecute(r ApiBroadcastIndexRequest) ([]interface{}, *http.Response, error)
Execute executes the request
@return []interface{}
func (*BroadcastsApiService) BroadcastPush ¶
func (a *BroadcastsApiService) BroadcastPush(ctx context.Context, broadcastRoundId interface{}) ApiBroadcastPushRequest
BroadcastPush Push PGN to your broadcast round
Update your broadcast with new PGN. Only for broadcast without a source URL.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param broadcastRoundId The broadcast round ID (8 characters). @return ApiBroadcastPushRequest
func (*BroadcastsApiService) BroadcastPushExecute ¶
func (a *BroadcastsApiService) BroadcastPushExecute(r ApiBroadcastPushRequest) ([]Ok, *http.Response, error)
Execute executes the request
@return []Ok
func (*BroadcastsApiService) BroadcastRoundCreate ¶
func (a *BroadcastsApiService) BroadcastRoundCreate(ctx context.Context, broadcastTournamentId interface{}) ApiBroadcastRoundCreateRequest
BroadcastRoundCreate Create a broadcast round
Create a new broadcast round to relay external games. This endpoint accepts the same form data as the web form.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param broadcastTournamentId The broadcast tournament ID (8 characters). @return ApiBroadcastRoundCreateRequest
func (*BroadcastsApiService) BroadcastRoundCreateExecute ¶
func (a *BroadcastsApiService) BroadcastRoundCreateExecute(r ApiBroadcastRoundCreateRequest) (interface{}, *http.Response, error)
Execute executes the request
@return interface{}
func (*BroadcastsApiService) BroadcastRoundGet ¶
func (a *BroadcastsApiService) BroadcastRoundGet(ctx context.Context, broadcastTournamentSlug interface{}, broadcastRoundSlug interface{}, broadcastRoundId interface{}) ApiBroadcastRoundGetRequest
BroadcastRoundGet Get your broadcast round
Get information about a broadcast round.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param broadcastTournamentSlug The broadcast tournament slug. Only used for SEO, the slug can be safely replaced by `-`. Only the `broadcastRoundId` is actually used. @param broadcastRoundSlug The broadcast round slug. Only used for SEO, the slug can be safely replaced by `-`. Only the `broadcastRoundId` is actually used. @param broadcastRoundId The broadcast Round ID (8 characters). @return ApiBroadcastRoundGetRequest
func (*BroadcastsApiService) BroadcastRoundGetExecute ¶
func (a *BroadcastsApiService) BroadcastRoundGetExecute(r ApiBroadcastRoundGetRequest) ([]interface{}, *http.Response, error)
Execute executes the request
@return []interface{}
func (*BroadcastsApiService) BroadcastRoundPgn ¶
func (a *BroadcastsApiService) BroadcastRoundPgn(ctx context.Context, broadcastRoundId interface{}) ApiBroadcastRoundPgnRequest
BroadcastRoundPgn Export one round as PGN
Download all games of a single round of a broadcast tournament in PGN format.
You *could* poll this endpoint to get updates about a tournament, but it would be slow, and very inneficient.
Instead, consider [streaming the tournament](#operation/broadcastStreamRoundPgn) to get a new PGN every time a game is updated, in real-time.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param broadcastRoundId The round ID (8 characters). @return ApiBroadcastRoundPgnRequest
func (*BroadcastsApiService) BroadcastRoundPgnExecute ¶
func (a *BroadcastsApiService) BroadcastRoundPgnExecute(r ApiBroadcastRoundPgnRequest) (interface{}, *http.Response, error)
Execute executes the request
@return interface{}
func (*BroadcastsApiService) BroadcastRoundUpdate ¶
func (a *BroadcastsApiService) BroadcastRoundUpdate(ctx context.Context, broadcastRoundId interface{}) ApiBroadcastRoundUpdateRequest
BroadcastRoundUpdate Update your broadcast round
Update information about a broadcast round that you created. This endpoint accepts the same form data as the web form. All fields must be populated with data. Missing fields will override the broadcast with empty data. For instance, if you omit `startDate`, then any pre-existing start date will be removed.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param broadcastRoundId The broadcast round ID (8 characters). @return ApiBroadcastRoundUpdateRequest
func (*BroadcastsApiService) BroadcastRoundUpdateExecute ¶
func (a *BroadcastsApiService) BroadcastRoundUpdateExecute(r ApiBroadcastRoundUpdateRequest) (*Ok, *http.Response, error)
Execute executes the request
@return Ok
func (*BroadcastsApiService) BroadcastStreamRoundPgn ¶
func (a *BroadcastsApiService) BroadcastStreamRoundPgn(ctx context.Context, broadcastRoundId interface{}) ApiBroadcastStreamRoundPgnRequest
BroadcastStreamRoundPgn Stream an ongoing broadcast tournament as PGN
This streaming endpoint first sends all games of a broadcast tournament in PGN format.
Then, it waits for new moves to be played. As soon as it happens, the entire PGN of the game is sent to the stream.
The stream will also send PGNs when games are added to the tournament.
This is the best way to get updates about an ongoing tournament. Streaming means no polling, and no pollings means no latency, and minimum impact on the server.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param broadcastRoundId The broadcast round ID (8 characters). @return ApiBroadcastStreamRoundPgnRequest
func (*BroadcastsApiService) BroadcastStreamRoundPgnExecute ¶
func (a *BroadcastsApiService) BroadcastStreamRoundPgnExecute(r ApiBroadcastStreamRoundPgnRequest) (interface{}, *http.Response, error)
Execute executes the request
@return interface{}
func (*BroadcastsApiService) BroadcastTourCreate ¶
func (a *BroadcastsApiService) BroadcastTourCreate(ctx context.Context) ApiBroadcastTourCreateRequest
BroadcastTourCreate Create a broadcast tournament
Create a new broadcast tournament to relay external games. This endpoint accepts the same form data as the [web form](https://lichess.org/broadcast/new).
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiBroadcastTourCreateRequest
func (*BroadcastsApiService) BroadcastTourCreateExecute ¶
func (a *BroadcastsApiService) BroadcastTourCreateExecute(r ApiBroadcastTourCreateRequest) (interface{}, *http.Response, error)
Execute executes the request
@return interface{}
func (*BroadcastsApiService) BroadcastTourGet ¶
func (a *BroadcastsApiService) BroadcastTourGet(ctx context.Context, slug interface{}, broadcastTournamentId interface{}) ApiBroadcastTourGetRequest
BroadcastTourGet Get your broadcast tournament
Get information about a broadcast tournament.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param slug The broadcast tournament slug. Only used for SEO, the slug can be safely replaced by `-`. Only the `broadcastTournamentId` is actually used. @param broadcastTournamentId The broadcast tournament ID (8 characters). @return ApiBroadcastTourGetRequest
func (*BroadcastsApiService) BroadcastTourGetExecute ¶
func (a *BroadcastsApiService) BroadcastTourGetExecute(r ApiBroadcastTourGetRequest) ([]interface{}, *http.Response, error)
Execute executes the request
@return []interface{}
func (*BroadcastsApiService) BroadcastTourUpdate ¶
func (a *BroadcastsApiService) BroadcastTourUpdate(ctx context.Context, broadcastTournamentId interface{}) ApiBroadcastTourUpdateRequest
BroadcastTourUpdate Update your broadcast tournament
Update information about a broadcast tournament that you created. This endpoint accepts the same form data as the web form. All fields must be populated with data. Missing fields will override the broadcast with empty data.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param broadcastTournamentId The broadcast ID (8 characters). @return ApiBroadcastTourUpdateRequest
func (*BroadcastsApiService) BroadcastTourUpdateExecute ¶
func (a *BroadcastsApiService) BroadcastTourUpdateExecute(r ApiBroadcastTourUpdateRequest) (*Ok, *http.Response, error)
Execute executes the request
@return Ok
type BulkPairingsApiService ¶
type BulkPairingsApiService service
BulkPairingsApiService BulkPairingsApi service
func (*BulkPairingsApiService) BulkPairingCreate ¶
func (a *BulkPairingsApiService) BulkPairingCreate(ctx context.Context) ApiBulkPairingCreateRequest
BulkPairingCreate Create a bulk pairing
Schedule many games at once, up to 24h in advance.
OAuth tokens are required for all paired players, with the `challenge:write` scope.
You can schedule up to 500 games every 10 minutes. [Contact us](mailto:contact@lichess.org) if you need higher limits.
If games have a real-time clock, each player must have only one pairing. For correspondence games, players can have multiple pairings within the same bulk.
The entire bulk is rejected if:
- a token is missing
- a token is present more than once (except in correspondence)
- a token lacks the `challenge:write` scope
- a player account is closed
- a player is paired more than once (except in correspondence)
- a bulk is already scheduled to start at the same time with the same player
- you have 10 scheduled bulks
- you have 1000 scheduled games
Partial bulks are never created. Either it all fails, or it all succeeds. When it fails, it does so with an error message explaining the issue. Failed bulks are not counted in the rate limiting, they are free. Fix the issues, manually or programmatically, then retry to schedule the bulk.
A successful bulk creation returns a JSON bulk document. Its ID can be used for further operations.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiBulkPairingCreateRequest
func (*BulkPairingsApiService) BulkPairingCreateExecute ¶
func (a *BulkPairingsApiService) BulkPairingCreateExecute(r ApiBulkPairingCreateRequest) (interface{}, *http.Response, error)
Execute executes the request
@return interface{}
func (*BulkPairingsApiService) BulkPairingDelete ¶
func (a *BulkPairingsApiService) BulkPairingDelete(ctx context.Context, id interface{}) ApiBulkPairingDeleteRequest
BulkPairingDelete Cancel a bulk pairing
Cancel and delete a bulk pairing that is scheduled in the future.
If the games have already been created, then this does nothing.
Canceling a bulk pairing does not refund the rate limit cost of that bulk pairing.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param id @return ApiBulkPairingDeleteRequest
func (*BulkPairingsApiService) BulkPairingDeleteExecute ¶
func (a *BulkPairingsApiService) BulkPairingDeleteExecute(r ApiBulkPairingDeleteRequest) (*Ok, *http.Response, error)
Execute executes the request
@return Ok
func (*BulkPairingsApiService) BulkPairingGet ¶
func (a *BulkPairingsApiService) BulkPairingGet(ctx context.Context) ApiBulkPairingGetRequest
BulkPairingGet View upcoming bulk pairings
Get a list of upcoming bulk pairings you created.
Only bulk pairings that are scheduled in the future, or that have a clock start scheduled in the future, are listed.
Bulk pairings are deleted from the server after the pairings are done and the clocks have started.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiBulkPairingGetRequest
func (*BulkPairingsApiService) BulkPairingGetExecute ¶
func (a *BulkPairingsApiService) BulkPairingGetExecute(r ApiBulkPairingGetRequest) ([]interface{}, *http.Response, error)
Execute executes the request
@return []interface{}
func (*BulkPairingsApiService) BulkPairingStartClocks ¶
func (a *BulkPairingsApiService) BulkPairingStartClocks(ctx context.Context, id interface{}) ApiBulkPairingStartClocksRequest
BulkPairingStartClocks Manually start clocks
Immediately start all clocks of the games of a bulk pairing.
This overrides the `startClocksAt` value of an existing bulk pairing.
If the games have not yet been created (`bulk.pairAt` is in the future), then this does nothing.
If the clocks have already started (`bulk.startClocksAt` is in the past), then this does nothing.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param id @return ApiBulkPairingStartClocksRequest
func (*BulkPairingsApiService) BulkPairingStartClocksExecute ¶
func (a *BulkPairingsApiService) BulkPairingStartClocksExecute(r ApiBulkPairingStartClocksRequest) (*Ok, *http.Response, error)
Execute executes the request
@return Ok
type ChallengeCanceledEvent ¶
type ChallengeCanceledEvent struct { Type interface{} `json:"type,omitempty"` Challenge *ChallengeJson `json:"challenge,omitempty"` }
ChallengeCanceledEvent struct for ChallengeCanceledEvent
func NewChallengeCanceledEvent ¶
func NewChallengeCanceledEvent() *ChallengeCanceledEvent
NewChallengeCanceledEvent instantiates a new ChallengeCanceledEvent object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewChallengeCanceledEventWithDefaults ¶
func NewChallengeCanceledEventWithDefaults() *ChallengeCanceledEvent
NewChallengeCanceledEventWithDefaults instantiates a new ChallengeCanceledEvent object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ChallengeCanceledEvent) GetChallenge ¶
func (o *ChallengeCanceledEvent) GetChallenge() ChallengeJson
GetChallenge returns the Challenge field value if set, zero value otherwise.
func (*ChallengeCanceledEvent) GetChallengeOk ¶
func (o *ChallengeCanceledEvent) GetChallengeOk() (*ChallengeJson, bool)
GetChallengeOk returns a tuple with the Challenge field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ChallengeCanceledEvent) GetType ¶
func (o *ChallengeCanceledEvent) GetType() interface{}
GetType returns the Type field value if set, zero value otherwise (both if not set or set to explicit null).
func (*ChallengeCanceledEvent) GetTypeOk ¶
func (o *ChallengeCanceledEvent) GetTypeOk() (*interface{}, bool)
GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ChallengeCanceledEvent) HasChallenge ¶
func (o *ChallengeCanceledEvent) HasChallenge() bool
HasChallenge returns a boolean if a field has been set.
func (*ChallengeCanceledEvent) HasType ¶
func (o *ChallengeCanceledEvent) HasType() bool
HasType returns a boolean if a field has been set.
func (ChallengeCanceledEvent) MarshalJSON ¶
func (o ChallengeCanceledEvent) MarshalJSON() ([]byte, error)
func (*ChallengeCanceledEvent) SetChallenge ¶
func (o *ChallengeCanceledEvent) SetChallenge(v ChallengeJson)
SetChallenge gets a reference to the given ChallengeJson and assigns it to the Challenge field.
func (*ChallengeCanceledEvent) SetType ¶
func (o *ChallengeCanceledEvent) SetType(v interface{})
SetType gets a reference to the given interface{} and assigns it to the Type field.
type ChallengeCanceledJson ¶
type ChallengeCanceledJson struct {
Id interface{} `json:"id,omitempty"`
}
ChallengeCanceledJson struct for ChallengeCanceledJson
func NewChallengeCanceledJson ¶
func NewChallengeCanceledJson() *ChallengeCanceledJson
NewChallengeCanceledJson instantiates a new ChallengeCanceledJson object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewChallengeCanceledJsonWithDefaults ¶
func NewChallengeCanceledJsonWithDefaults() *ChallengeCanceledJson
NewChallengeCanceledJsonWithDefaults instantiates a new ChallengeCanceledJson object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ChallengeCanceledJson) GetId ¶
func (o *ChallengeCanceledJson) GetId() interface{}
GetId returns the Id field value if set, zero value otherwise (both if not set or set to explicit null).
func (*ChallengeCanceledJson) GetIdOk ¶
func (o *ChallengeCanceledJson) GetIdOk() (*interface{}, bool)
GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ChallengeCanceledJson) HasId ¶
func (o *ChallengeCanceledJson) HasId() bool
HasId returns a boolean if a field has been set.
func (ChallengeCanceledJson) MarshalJSON ¶
func (o ChallengeCanceledJson) MarshalJSON() ([]byte, error)
func (*ChallengeCanceledJson) SetId ¶
func (o *ChallengeCanceledJson) SetId(v interface{})
SetId gets a reference to the given interface{} and assigns it to the Id field.
type ChallengeDeclinedEvent ¶
type ChallengeDeclinedEvent struct { Type interface{} `json:"type,omitempty"` Challenge *ChallengeCanceledJson `json:"challenge,omitempty"` }
ChallengeDeclinedEvent struct for ChallengeDeclinedEvent
func NewChallengeDeclinedEvent ¶
func NewChallengeDeclinedEvent() *ChallengeDeclinedEvent
NewChallengeDeclinedEvent instantiates a new ChallengeDeclinedEvent object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewChallengeDeclinedEventWithDefaults ¶
func NewChallengeDeclinedEventWithDefaults() *ChallengeDeclinedEvent
NewChallengeDeclinedEventWithDefaults instantiates a new ChallengeDeclinedEvent object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ChallengeDeclinedEvent) GetChallenge ¶
func (o *ChallengeDeclinedEvent) GetChallenge() ChallengeCanceledJson
GetChallenge returns the Challenge field value if set, zero value otherwise.
func (*ChallengeDeclinedEvent) GetChallengeOk ¶
func (o *ChallengeDeclinedEvent) GetChallengeOk() (*ChallengeCanceledJson, bool)
GetChallengeOk returns a tuple with the Challenge field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ChallengeDeclinedEvent) GetType ¶
func (o *ChallengeDeclinedEvent) GetType() interface{}
GetType returns the Type field value if set, zero value otherwise (both if not set or set to explicit null).
func (*ChallengeDeclinedEvent) GetTypeOk ¶
func (o *ChallengeDeclinedEvent) GetTypeOk() (*interface{}, bool)
GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ChallengeDeclinedEvent) HasChallenge ¶
func (o *ChallengeDeclinedEvent) HasChallenge() bool
HasChallenge returns a boolean if a field has been set.
func (*ChallengeDeclinedEvent) HasType ¶
func (o *ChallengeDeclinedEvent) HasType() bool
HasType returns a boolean if a field has been set.
func (ChallengeDeclinedEvent) MarshalJSON ¶
func (o ChallengeDeclinedEvent) MarshalJSON() ([]byte, error)
func (*ChallengeDeclinedEvent) SetChallenge ¶
func (o *ChallengeDeclinedEvent) SetChallenge(v ChallengeCanceledJson)
SetChallenge gets a reference to the given ChallengeCanceledJson and assigns it to the Challenge field.
func (*ChallengeDeclinedEvent) SetType ¶
func (o *ChallengeDeclinedEvent) SetType(v interface{})
SetType gets a reference to the given interface{} and assigns it to the Type field.
type ChallengeEvent ¶
type ChallengeEvent struct { Type interface{} `json:"type,omitempty"` Challenge *ChallengeJson `json:"challenge,omitempty"` }
ChallengeEvent struct for ChallengeEvent
func NewChallengeEvent ¶
func NewChallengeEvent() *ChallengeEvent
NewChallengeEvent instantiates a new ChallengeEvent object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewChallengeEventWithDefaults ¶
func NewChallengeEventWithDefaults() *ChallengeEvent
NewChallengeEventWithDefaults instantiates a new ChallengeEvent object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ChallengeEvent) GetChallenge ¶
func (o *ChallengeEvent) GetChallenge() ChallengeJson
GetChallenge returns the Challenge field value if set, zero value otherwise.
func (*ChallengeEvent) GetChallengeOk ¶
func (o *ChallengeEvent) GetChallengeOk() (*ChallengeJson, bool)
GetChallengeOk returns a tuple with the Challenge field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ChallengeEvent) GetType ¶
func (o *ChallengeEvent) GetType() interface{}
GetType returns the Type field value if set, zero value otherwise (both if not set or set to explicit null).
func (*ChallengeEvent) GetTypeOk ¶
func (o *ChallengeEvent) GetTypeOk() (*interface{}, bool)
GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ChallengeEvent) HasChallenge ¶
func (o *ChallengeEvent) HasChallenge() bool
HasChallenge returns a boolean if a field has been set.
func (*ChallengeEvent) HasType ¶
func (o *ChallengeEvent) HasType() bool
HasType returns a boolean if a field has been set.
func (ChallengeEvent) MarshalJSON ¶
func (o ChallengeEvent) MarshalJSON() ([]byte, error)
func (*ChallengeEvent) SetChallenge ¶
func (o *ChallengeEvent) SetChallenge(v ChallengeJson)
SetChallenge gets a reference to the given ChallengeJson and assigns it to the Challenge field.
func (*ChallengeEvent) SetType ¶
func (o *ChallengeEvent) SetType(v interface{})
SetType gets a reference to the given interface{} and assigns it to the Type field.
type ChallengeJson ¶
type ChallengeJson struct { Id interface{} `json:"id"` Url interface{} `json:"url"` Status interface{} `json:"status"` Challenger ChallengeUser `json:"challenger"` DestUser interface{} `json:"destUser"` Variant Variant `json:"variant"` Rated interface{} `json:"rated"` Speed Speed `json:"speed"` TimeControl interface{} `json:"timeControl"` Color interface{} `json:"color"` Perf ChallengeJsonPerf `json:"perf"` Direction interface{} `json:"direction,omitempty"` InitialFen interface{} `json:"initialFen,omitempty"` DeclineReason interface{} `json:"declineReason,omitempty"` }
ChallengeJson struct for ChallengeJson
func NewChallengeJson ¶
func NewChallengeJson(id interface{}, url interface{}, status interface{}, challenger ChallengeUser, destUser interface{}, variant Variant, rated interface{}, speed Speed, timeControl interface{}, color interface{}, perf ChallengeJsonPerf) *ChallengeJson
NewChallengeJson instantiates a new ChallengeJson object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewChallengeJsonWithDefaults ¶
func NewChallengeJsonWithDefaults() *ChallengeJson
NewChallengeJsonWithDefaults instantiates a new ChallengeJson object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ChallengeJson) GetChallenger ¶
func (o *ChallengeJson) GetChallenger() ChallengeUser
GetChallenger returns the Challenger field value
func (*ChallengeJson) GetChallengerOk ¶
func (o *ChallengeJson) GetChallengerOk() (*ChallengeUser, bool)
GetChallengerOk returns a tuple with the Challenger field value and a boolean to check if the value has been set.
func (*ChallengeJson) GetColor ¶
func (o *ChallengeJson) GetColor() interface{}
GetColor returns the Color field value If the value is explicit nil, the zero value for interface{} will be returned
func (*ChallengeJson) GetColorOk ¶
func (o *ChallengeJson) GetColorOk() (*interface{}, bool)
GetColorOk returns a tuple with the Color field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ChallengeJson) GetDeclineReason ¶
func (o *ChallengeJson) GetDeclineReason() interface{}
GetDeclineReason returns the DeclineReason field value if set, zero value otherwise (both if not set or set to explicit null).
func (*ChallengeJson) GetDeclineReasonOk ¶
func (o *ChallengeJson) GetDeclineReasonOk() (*interface{}, bool)
GetDeclineReasonOk returns a tuple with the DeclineReason field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ChallengeJson) GetDestUser ¶
func (o *ChallengeJson) GetDestUser() interface{}
GetDestUser returns the DestUser field value If the value is explicit nil, the zero value for interface{} will be returned
func (*ChallengeJson) GetDestUserOk ¶
func (o *ChallengeJson) GetDestUserOk() (*interface{}, bool)
GetDestUserOk returns a tuple with the DestUser field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ChallengeJson) GetDirection ¶
func (o *ChallengeJson) GetDirection() interface{}
GetDirection returns the Direction field value if set, zero value otherwise (both if not set or set to explicit null).
func (*ChallengeJson) GetDirectionOk ¶
func (o *ChallengeJson) GetDirectionOk() (*interface{}, bool)
GetDirectionOk returns a tuple with the Direction field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ChallengeJson) GetId ¶
func (o *ChallengeJson) GetId() interface{}
GetId returns the Id field value If the value is explicit nil, the zero value for interface{} will be returned
func (*ChallengeJson) GetIdOk ¶
func (o *ChallengeJson) GetIdOk() (*interface{}, bool)
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ChallengeJson) GetInitialFen ¶
func (o *ChallengeJson) GetInitialFen() interface{}
GetInitialFen returns the InitialFen field value if set, zero value otherwise (both if not set or set to explicit null).
func (*ChallengeJson) GetInitialFenOk ¶
func (o *ChallengeJson) GetInitialFenOk() (*interface{}, bool)
GetInitialFenOk returns a tuple with the InitialFen field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ChallengeJson) GetPerf ¶
func (o *ChallengeJson) GetPerf() ChallengeJsonPerf
GetPerf returns the Perf field value
func (*ChallengeJson) GetPerfOk ¶
func (o *ChallengeJson) GetPerfOk() (*ChallengeJsonPerf, bool)
GetPerfOk returns a tuple with the Perf field value and a boolean to check if the value has been set.
func (*ChallengeJson) GetRated ¶
func (o *ChallengeJson) GetRated() interface{}
GetRated returns the Rated field value If the value is explicit nil, the zero value for interface{} will be returned
func (*ChallengeJson) GetRatedOk ¶
func (o *ChallengeJson) GetRatedOk() (*interface{}, bool)
GetRatedOk returns a tuple with the Rated field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ChallengeJson) GetSpeed ¶
func (o *ChallengeJson) GetSpeed() Speed
GetSpeed returns the Speed field value
func (*ChallengeJson) GetSpeedOk ¶
func (o *ChallengeJson) GetSpeedOk() (*Speed, bool)
GetSpeedOk returns a tuple with the Speed field value and a boolean to check if the value has been set.
func (*ChallengeJson) GetStatus ¶
func (o *ChallengeJson) GetStatus() interface{}
GetStatus returns the Status field value If the value is explicit nil, the zero value for interface{} will be returned
func (*ChallengeJson) GetStatusOk ¶
func (o *ChallengeJson) GetStatusOk() (*interface{}, bool)
GetStatusOk returns a tuple with the Status field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ChallengeJson) GetTimeControl ¶
func (o *ChallengeJson) GetTimeControl() interface{}
GetTimeControl returns the TimeControl field value If the value is explicit nil, the zero value for interface{} will be returned
func (*ChallengeJson) GetTimeControlOk ¶
func (o *ChallengeJson) GetTimeControlOk() (*interface{}, bool)
GetTimeControlOk returns a tuple with the TimeControl field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ChallengeJson) GetUrl ¶
func (o *ChallengeJson) GetUrl() interface{}
GetUrl returns the Url field value If the value is explicit nil, the zero value for interface{} will be returned
func (*ChallengeJson) GetUrlOk ¶
func (o *ChallengeJson) GetUrlOk() (*interface{}, bool)
GetUrlOk returns a tuple with the Url field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ChallengeJson) GetVariant ¶
func (o *ChallengeJson) GetVariant() Variant
GetVariant returns the Variant field value
func (*ChallengeJson) GetVariantOk ¶
func (o *ChallengeJson) GetVariantOk() (*Variant, bool)
GetVariantOk returns a tuple with the Variant field value and a boolean to check if the value has been set.
func (*ChallengeJson) HasDeclineReason ¶
func (o *ChallengeJson) HasDeclineReason() bool
HasDeclineReason returns a boolean if a field has been set.
func (*ChallengeJson) HasDirection ¶
func (o *ChallengeJson) HasDirection() bool
HasDirection returns a boolean if a field has been set.
func (*ChallengeJson) HasInitialFen ¶
func (o *ChallengeJson) HasInitialFen() bool
HasInitialFen returns a boolean if a field has been set.
func (ChallengeJson) MarshalJSON ¶
func (o ChallengeJson) MarshalJSON() ([]byte, error)
func (*ChallengeJson) SetChallenger ¶
func (o *ChallengeJson) SetChallenger(v ChallengeUser)
SetChallenger sets field value
func (*ChallengeJson) SetColor ¶
func (o *ChallengeJson) SetColor(v interface{})
SetColor sets field value
func (*ChallengeJson) SetDeclineReason ¶
func (o *ChallengeJson) SetDeclineReason(v interface{})
SetDeclineReason gets a reference to the given interface{} and assigns it to the DeclineReason field.
func (*ChallengeJson) SetDestUser ¶
func (o *ChallengeJson) SetDestUser(v interface{})
SetDestUser sets field value
func (*ChallengeJson) SetDirection ¶
func (o *ChallengeJson) SetDirection(v interface{})
SetDirection gets a reference to the given interface{} and assigns it to the Direction field.
func (*ChallengeJson) SetInitialFen ¶
func (o *ChallengeJson) SetInitialFen(v interface{})
SetInitialFen gets a reference to the given interface{} and assigns it to the InitialFen field.
func (*ChallengeJson) SetPerf ¶
func (o *ChallengeJson) SetPerf(v ChallengeJsonPerf)
SetPerf sets field value
func (*ChallengeJson) SetRated ¶
func (o *ChallengeJson) SetRated(v interface{})
SetRated sets field value
func (*ChallengeJson) SetSpeed ¶
func (o *ChallengeJson) SetSpeed(v Speed)
SetSpeed sets field value
func (*ChallengeJson) SetStatus ¶
func (o *ChallengeJson) SetStatus(v interface{})
SetStatus sets field value
func (*ChallengeJson) SetTimeControl ¶
func (o *ChallengeJson) SetTimeControl(v interface{})
SetTimeControl sets field value
func (*ChallengeJson) SetUrl ¶
func (o *ChallengeJson) SetUrl(v interface{})
SetUrl sets field value
func (*ChallengeJson) SetVariant ¶
func (o *ChallengeJson) SetVariant(v Variant)
SetVariant sets field value
type ChallengeJsonPerf ¶
type ChallengeJsonPerf struct { Icon interface{} `json:"icon,omitempty"` Name interface{} `json:"name,omitempty"` }
ChallengeJsonPerf struct for ChallengeJsonPerf
func NewChallengeJsonPerf ¶
func NewChallengeJsonPerf() *ChallengeJsonPerf
NewChallengeJsonPerf instantiates a new ChallengeJsonPerf object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewChallengeJsonPerfWithDefaults ¶
func NewChallengeJsonPerfWithDefaults() *ChallengeJsonPerf
NewChallengeJsonPerfWithDefaults instantiates a new ChallengeJsonPerf object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ChallengeJsonPerf) GetIcon ¶
func (o *ChallengeJsonPerf) GetIcon() interface{}
GetIcon returns the Icon field value if set, zero value otherwise (both if not set or set to explicit null).
func (*ChallengeJsonPerf) GetIconOk ¶
func (o *ChallengeJsonPerf) GetIconOk() (*interface{}, bool)
GetIconOk returns a tuple with the Icon field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ChallengeJsonPerf) GetName ¶
func (o *ChallengeJsonPerf) GetName() interface{}
GetName returns the Name field value if set, zero value otherwise (both if not set or set to explicit null).
func (*ChallengeJsonPerf) GetNameOk ¶
func (o *ChallengeJsonPerf) GetNameOk() (*interface{}, bool)
GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ChallengeJsonPerf) HasIcon ¶
func (o *ChallengeJsonPerf) HasIcon() bool
HasIcon returns a boolean if a field has been set.
func (*ChallengeJsonPerf) HasName ¶
func (o *ChallengeJsonPerf) HasName() bool
HasName returns a boolean if a field has been set.
func (ChallengeJsonPerf) MarshalJSON ¶
func (o ChallengeJsonPerf) MarshalJSON() ([]byte, error)
func (*ChallengeJsonPerf) SetIcon ¶
func (o *ChallengeJsonPerf) SetIcon(v interface{})
SetIcon gets a reference to the given interface{} and assigns it to the Icon field.
func (*ChallengeJsonPerf) SetName ¶
func (o *ChallengeJsonPerf) SetName(v interface{})
SetName gets a reference to the given interface{} and assigns it to the Name field.
type ChallengeList200Response ¶
type ChallengeList200Response struct { // Incoming challenges i.e. targeted at you In []ChallengeJson `json:"in,omitempty"` // Outgoing challenges i.e. created by you Out []ChallengeJson `json:"out,omitempty"` }
ChallengeList200Response struct for ChallengeList200Response
func NewChallengeList200Response ¶
func NewChallengeList200Response() *ChallengeList200Response
NewChallengeList200Response instantiates a new ChallengeList200Response object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewChallengeList200ResponseWithDefaults ¶
func NewChallengeList200ResponseWithDefaults() *ChallengeList200Response
NewChallengeList200ResponseWithDefaults instantiates a new ChallengeList200Response object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ChallengeList200Response) GetIn ¶
func (o *ChallengeList200Response) GetIn() []ChallengeJson
GetIn returns the In field value if set, zero value otherwise.
func (*ChallengeList200Response) GetInOk ¶
func (o *ChallengeList200Response) GetInOk() ([]ChallengeJson, bool)
GetInOk returns a tuple with the In field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ChallengeList200Response) GetOut ¶
func (o *ChallengeList200Response) GetOut() []ChallengeJson
GetOut returns the Out field value if set, zero value otherwise.
func (*ChallengeList200Response) GetOutOk ¶
func (o *ChallengeList200Response) GetOutOk() ([]ChallengeJson, bool)
GetOutOk returns a tuple with the Out field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ChallengeList200Response) HasIn ¶
func (o *ChallengeList200Response) HasIn() bool
HasIn returns a boolean if a field has been set.
func (*ChallengeList200Response) HasOut ¶
func (o *ChallengeList200Response) HasOut() bool
HasOut returns a boolean if a field has been set.
func (ChallengeList200Response) MarshalJSON ¶
func (o ChallengeList200Response) MarshalJSON() ([]byte, error)
func (*ChallengeList200Response) SetIn ¶
func (o *ChallengeList200Response) SetIn(v []ChallengeJson)
SetIn gets a reference to the given []ChallengeJson and assigns it to the In field.
func (*ChallengeList200Response) SetOut ¶
func (o *ChallengeList200Response) SetOut(v []ChallengeJson)
SetOut gets a reference to the given []ChallengeJson and assigns it to the Out field.
type ChallengeUser ¶
type ChallengeUser struct { Rating interface{} `json:"rating,omitempty"` Provisional interface{} `json:"provisional,omitempty"` Online interface{} `json:"online,omitempty"` }
ChallengeUser struct for ChallengeUser
func NewChallengeUser ¶
func NewChallengeUser() *ChallengeUser
NewChallengeUser instantiates a new ChallengeUser object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewChallengeUserWithDefaults ¶
func NewChallengeUserWithDefaults() *ChallengeUser
NewChallengeUserWithDefaults instantiates a new ChallengeUser object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ChallengeUser) GetOnline ¶
func (o *ChallengeUser) GetOnline() interface{}
GetOnline returns the Online field value if set, zero value otherwise (both if not set or set to explicit null).
func (*ChallengeUser) GetOnlineOk ¶
func (o *ChallengeUser) GetOnlineOk() (*interface{}, bool)
GetOnlineOk returns a tuple with the Online field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ChallengeUser) GetProvisional ¶
func (o *ChallengeUser) GetProvisional() interface{}
GetProvisional returns the Provisional field value if set, zero value otherwise (both if not set or set to explicit null).
func (*ChallengeUser) GetProvisionalOk ¶
func (o *ChallengeUser) GetProvisionalOk() (*interface{}, bool)
GetProvisionalOk returns a tuple with the Provisional field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ChallengeUser) GetRating ¶
func (o *ChallengeUser) GetRating() interface{}
GetRating returns the Rating field value if set, zero value otherwise (both if not set or set to explicit null).
func (*ChallengeUser) GetRatingOk ¶
func (o *ChallengeUser) GetRatingOk() (*interface{}, bool)
GetRatingOk returns a tuple with the Rating field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ChallengeUser) HasOnline ¶
func (o *ChallengeUser) HasOnline() bool
HasOnline returns a boolean if a field has been set.
func (*ChallengeUser) HasProvisional ¶
func (o *ChallengeUser) HasProvisional() bool
HasProvisional returns a boolean if a field has been set.
func (*ChallengeUser) HasRating ¶
func (o *ChallengeUser) HasRating() bool
HasRating returns a boolean if a field has been set.
func (ChallengeUser) MarshalJSON ¶
func (o ChallengeUser) MarshalJSON() ([]byte, error)
func (*ChallengeUser) SetOnline ¶
func (o *ChallengeUser) SetOnline(v interface{})
SetOnline gets a reference to the given interface{} and assigns it to the Online field.
func (*ChallengeUser) SetProvisional ¶
func (o *ChallengeUser) SetProvisional(v interface{})
SetProvisional gets a reference to the given interface{} and assigns it to the Provisional field.
func (*ChallengeUser) SetRating ¶
func (o *ChallengeUser) SetRating(v interface{})
SetRating gets a reference to the given interface{} and assigns it to the Rating field.
type ChallengesApiService ¶
type ChallengesApiService service
ChallengesApiService ChallengesApi service
func (*ChallengesApiService) AdminChallengeTokens ¶
func (a *ChallengesApiService) AdminChallengeTokens(ctx context.Context) ApiAdminChallengeTokensRequest
AdminChallengeTokens Admin challenge tokens
**This endpoint can only be used by Lichess administrators. It will not work if you do not have the appropriate permissions.** Tournament organizers should instead use [OAuth](#tag/OAuth) to obtain `challenge:write` tokens from users in order to perform bulk pairing.*
Create and obtain `challenge:write` tokens for multiple users.
If a similar token already exists for a user, it is reused. This endpoint is idempotent.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiAdminChallengeTokensRequest
func (*ChallengesApiService) AdminChallengeTokensExecute ¶
func (a *ChallengesApiService) AdminChallengeTokensExecute(r ApiAdminChallengeTokensRequest) (*http.Response, error)
Execute executes the request
func (*ChallengesApiService) ChallengeAccept ¶
func (a *ChallengesApiService) ChallengeAccept(ctx context.Context, challengeId interface{}) ApiChallengeAcceptRequest
ChallengeAccept Accept a challenge
Accept an incoming challenge.
You should receive a `gameStart` event on the [incoming events stream](#operation/apiStreamEvent).
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param challengeId @return ApiChallengeAcceptRequest
func (*ChallengesApiService) ChallengeAcceptExecute ¶
func (a *ChallengesApiService) ChallengeAcceptExecute(r ApiChallengeAcceptRequest) (*Ok, *http.Response, error)
Execute executes the request
@return Ok
func (*ChallengesApiService) ChallengeAi ¶
func (a *ChallengesApiService) ChallengeAi(ctx context.Context) ApiChallengeAiRequest
ChallengeAi Challenge the AI
Start a game with Lichess AI.
You will be notified on the [event stream](#operation/apiStreamEvent) that a new game has started.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiChallengeAiRequest
func (*ChallengesApiService) ChallengeAiExecute ¶
func (a *ChallengesApiService) ChallengeAiExecute(r ApiChallengeAiRequest) (*GameJson, *http.Response, error)
Execute executes the request
@return GameJson
func (*ChallengesApiService) ChallengeCancel ¶
func (a *ChallengesApiService) ChallengeCancel(ctx context.Context, challengeId interface{}) ApiChallengeCancelRequest
ChallengeCancel Cancel a challenge
Cancel a challenge you sent, or aborts the game if the challenge was accepted, but the game was not yet played. Note that the ID of a game is the same as the ID of the challenge that created it.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param challengeId @return ApiChallengeCancelRequest
func (*ChallengesApiService) ChallengeCancelExecute ¶
func (a *ChallengesApiService) ChallengeCancelExecute(r ApiChallengeCancelRequest) (*Ok, *http.Response, error)
Execute executes the request
@return Ok
func (*ChallengesApiService) ChallengeCreate ¶
func (a *ChallengesApiService) ChallengeCreate(ctx context.Context, username interface{}) ApiChallengeCreateRequest
ChallengeCreate Create a challenge
Challenge someone to play. The targeted player can choose to accept or decline.
If the challenge is accepted, you will be notified on the [event stream](#operation/apiStreamEvent) that a new game has started. The game ID will be the same as the challenge ID.
If you also have an OAuth token with `challenge:write` scope for the receiving user, you can make them accept the challenge immediately by setting the `acceptByToken` field.
Challenges for realtime games (not correspondence) expire after 20s if not accepted. To prevent that, use the `keepAliveStream` flag described below.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param username @return ApiChallengeCreateRequest
func (*ChallengesApiService) ChallengeCreateExecute ¶
func (a *ChallengesApiService) ChallengeCreateExecute(r ApiChallengeCreateRequest) (*ChallengeJson, *http.Response, error)
Execute executes the request
@return ChallengeJson
func (*ChallengesApiService) ChallengeDecline ¶
func (a *ChallengesApiService) ChallengeDecline(ctx context.Context, challengeId interface{}) ApiChallengeDeclineRequest
ChallengeDecline Decline a challenge
Decline an incoming challenge.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param challengeId @return ApiChallengeDeclineRequest
func (*ChallengesApiService) ChallengeDeclineExecute ¶
func (a *ChallengesApiService) ChallengeDeclineExecute(r ApiChallengeDeclineRequest) (*Ok, *http.Response, error)
Execute executes the request
@return Ok
func (*ChallengesApiService) ChallengeList ¶
func (a *ChallengesApiService) ChallengeList(ctx context.Context) ApiChallengeListRequest
ChallengeList List your challenges
Get a list of challenges created by or targeted at you.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiChallengeListRequest
func (*ChallengesApiService) ChallengeListExecute ¶
func (a *ChallengesApiService) ChallengeListExecute(r ApiChallengeListRequest) (*ChallengeList200Response, *http.Response, error)
Execute executes the request
@return ChallengeList200Response
func (*ChallengesApiService) ChallengeOpen ¶
func (a *ChallengesApiService) ChallengeOpen(ctx context.Context) ApiChallengeOpenRequest
ChallengeOpen Open-ended challenge
Create a challenge that any 2 players can join.
Share the URL of the challenge. the first 2 players to click it will be paired for a game.
The response body also contains `whiteUrl` and `blackUrl`. You can control which color each player gets by giving them these URLs, instead of the main challenge URL.
Open challenges expire after 24h.
To directly pair 2 known players, use [this endpoint](#operation/challengeCreate) instead, with the `acceptByToken` parameter.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiChallengeOpenRequest
func (*ChallengesApiService) ChallengeOpenExecute ¶
func (a *ChallengesApiService) ChallengeOpenExecute(r ApiChallengeOpenRequest) (interface{}, *http.Response, error)
Execute executes the request
@return interface{}
func (*ChallengesApiService) ChallengeStartClocks ¶
func (a *ChallengesApiService) ChallengeStartClocks(ctx context.Context, gameId interface{}) ApiChallengeStartClocksRequest
ChallengeStartClocks Start clocks of a game
Start the clocks of a game immediately, even if a player has not yet made a move.
Requires the OAuth tokens of both players with `challenge:write` scope.
If the clocks have already started, the call will have no effect.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param gameId @return ApiChallengeStartClocksRequest
func (*ChallengesApiService) ChallengeStartClocksExecute ¶
func (a *ChallengesApiService) ChallengeStartClocksExecute(r ApiChallengeStartClocksRequest) (*Ok, *http.Response, error)
Execute executes the request
@return Ok
func (*ChallengesApiService) RoundAddTime ¶
func (a *ChallengesApiService) RoundAddTime(ctx context.Context, gameId interface{}, seconds interface{}) ApiRoundAddTimeRequest
RoundAddTime Add time to the opponent clock
Add seconds to the opponent's clock. Can be used to create games with time odds.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param gameId @param seconds How many seconds to give @return ApiRoundAddTimeRequest
func (*ChallengesApiService) RoundAddTimeExecute ¶
func (a *ChallengesApiService) RoundAddTimeExecute(r ApiRoundAddTimeRequest) (*Ok, *http.Response, error)
Execute executes the request
@return Ok
type ChatLineEvent ¶
type ChatLineEvent struct { Type interface{} `json:"type"` Room interface{} `json:"room"` Username interface{} `json:"username"` Text interface{} `json:"text"` }
ChatLineEvent struct for ChatLineEvent
func NewChatLineEvent ¶
func NewChatLineEvent(type_ interface{}, room interface{}, username interface{}, text interface{}) *ChatLineEvent
NewChatLineEvent instantiates a new ChatLineEvent object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewChatLineEventWithDefaults ¶
func NewChatLineEventWithDefaults() *ChatLineEvent
NewChatLineEventWithDefaults instantiates a new ChatLineEvent object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ChatLineEvent) GetRoom ¶
func (o *ChatLineEvent) GetRoom() interface{}
GetRoom returns the Room field value If the value is explicit nil, the zero value for interface{} will be returned
func (*ChatLineEvent) GetRoomOk ¶
func (o *ChatLineEvent) GetRoomOk() (*interface{}, bool)
GetRoomOk returns a tuple with the Room field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ChatLineEvent) GetText ¶
func (o *ChatLineEvent) GetText() interface{}
GetText returns the Text field value If the value is explicit nil, the zero value for interface{} will be returned
func (*ChatLineEvent) GetTextOk ¶
func (o *ChatLineEvent) GetTextOk() (*interface{}, bool)
GetTextOk returns a tuple with the Text field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ChatLineEvent) GetType ¶
func (o *ChatLineEvent) GetType() interface{}
GetType returns the Type field value If the value is explicit nil, the zero value for interface{} will be returned
func (*ChatLineEvent) GetTypeOk ¶
func (o *ChatLineEvent) GetTypeOk() (*interface{}, bool)
GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ChatLineEvent) GetUsername ¶
func (o *ChatLineEvent) GetUsername() interface{}
GetUsername returns the Username field value If the value is explicit nil, the zero value for interface{} will be returned
func (*ChatLineEvent) GetUsernameOk ¶
func (o *ChatLineEvent) GetUsernameOk() (*interface{}, bool)
GetUsernameOk returns a tuple with the Username field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (ChatLineEvent) MarshalJSON ¶
func (o ChatLineEvent) MarshalJSON() ([]byte, error)
func (*ChatLineEvent) SetRoom ¶
func (o *ChatLineEvent) SetRoom(v interface{})
SetRoom sets field value
func (*ChatLineEvent) SetText ¶
func (o *ChatLineEvent) SetText(v interface{})
SetText sets field value
func (*ChatLineEvent) SetType ¶
func (o *ChatLineEvent) SetType(v interface{})
SetType sets field value
func (*ChatLineEvent) SetUsername ¶
func (o *ChatLineEvent) SetUsername(v interface{})
SetUsername sets field value
type Clock ¶
type Clock struct { Limit interface{} `json:"limit,omitempty"` Increment interface{} `json:"increment,omitempty"` }
Clock struct for Clock
func NewClock ¶
func NewClock() *Clock
NewClock instantiates a new Clock object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewClockWithDefaults ¶
func NewClockWithDefaults() *Clock
NewClockWithDefaults instantiates a new Clock object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*Clock) GetIncrement ¶
func (o *Clock) GetIncrement() interface{}
GetIncrement returns the Increment field value if set, zero value otherwise (both if not set or set to explicit null).
func (*Clock) GetIncrementOk ¶
GetIncrementOk returns a tuple with the Increment field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*Clock) GetLimit ¶
func (o *Clock) GetLimit() interface{}
GetLimit returns the Limit field value if set, zero value otherwise (both if not set or set to explicit null).
func (*Clock) GetLimitOk ¶
GetLimitOk returns a tuple with the Limit field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*Clock) HasIncrement ¶
HasIncrement returns a boolean if a field has been set.
func (Clock) MarshalJSON ¶
func (*Clock) SetIncrement ¶
func (o *Clock) SetIncrement(v interface{})
SetIncrement gets a reference to the given interface{} and assigns it to the Increment field.
type Configuration ¶
type Configuration struct { Host string `json:"host,omitempty"` Scheme string `json:"scheme,omitempty"` DefaultHeader map[string]string `json:"defaultHeader,omitempty"` UserAgent string `json:"userAgent,omitempty"` Debug bool `json:"debug,omitempty"` Servers ServerConfigurations OperationServers map[string]ServerConfigurations HTTPClient *http.Client }
Configuration stores the configuration of the API client
func NewConfiguration ¶
func NewConfiguration() *Configuration
NewConfiguration returns a new Configuration object
func (*Configuration) AddDefaultHeader ¶
func (c *Configuration) AddDefaultHeader(key string, value string)
AddDefaultHeader adds a new HTTP header to the default header in the request
func (*Configuration) ServerURLWithContext ¶
ServerURLWithContext returns a new server URL given an endpoint
type Count ¶
type Count struct { All interface{} `json:"all,omitempty"` Rated interface{} `json:"rated,omitempty"` Ai interface{} `json:"ai,omitempty"` Draw interface{} `json:"draw,omitempty"` DrawH interface{} `json:"drawH,omitempty"` Loss interface{} `json:"loss,omitempty"` LossH interface{} `json:"lossH,omitempty"` Win interface{} `json:"win,omitempty"` WinH interface{} `json:"winH,omitempty"` Bookmark interface{} `json:"bookmark,omitempty"` Playing interface{} `json:"playing,omitempty"` Import interface{} `json:"import,omitempty"` Me interface{} `json:"me,omitempty"` }
Count struct for Count
func NewCount ¶
func NewCount() *Count
NewCount instantiates a new Count object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewCountWithDefaults ¶
func NewCountWithDefaults() *Count
NewCountWithDefaults instantiates a new Count object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*Count) GetAi ¶
func (o *Count) GetAi() interface{}
GetAi returns the Ai field value if set, zero value otherwise (both if not set or set to explicit null).
func (*Count) GetAiOk ¶
GetAiOk returns a tuple with the Ai field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*Count) GetAll ¶
func (o *Count) GetAll() interface{}
GetAll returns the All field value if set, zero value otherwise (both if not set or set to explicit null).
func (*Count) GetAllOk ¶
GetAllOk returns a tuple with the All field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*Count) GetBookmark ¶
func (o *Count) GetBookmark() interface{}
GetBookmark returns the Bookmark field value if set, zero value otherwise (both if not set or set to explicit null).
func (*Count) GetBookmarkOk ¶
GetBookmarkOk returns a tuple with the Bookmark field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*Count) GetDraw ¶
func (o *Count) GetDraw() interface{}
GetDraw returns the Draw field value if set, zero value otherwise (both if not set or set to explicit null).
func (*Count) GetDrawH ¶
func (o *Count) GetDrawH() interface{}
GetDrawH returns the DrawH field value if set, zero value otherwise (both if not set or set to explicit null).
func (*Count) GetDrawHOk ¶
GetDrawHOk returns a tuple with the DrawH field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*Count) GetDrawOk ¶
GetDrawOk returns a tuple with the Draw field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*Count) GetImport ¶
func (o *Count) GetImport() interface{}
GetImport returns the Import field value if set, zero value otherwise (both if not set or set to explicit null).
func (*Count) GetImportOk ¶
GetImportOk returns a tuple with the Import field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*Count) GetLoss ¶
func (o *Count) GetLoss() interface{}
GetLoss returns the Loss field value if set, zero value otherwise (both if not set or set to explicit null).
func (*Count) GetLossH ¶
func (o *Count) GetLossH() interface{}
GetLossH returns the LossH field value if set, zero value otherwise (both if not set or set to explicit null).
func (*Count) GetLossHOk ¶
GetLossHOk returns a tuple with the LossH field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*Count) GetLossOk ¶
GetLossOk returns a tuple with the Loss field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*Count) GetMe ¶
func (o *Count) GetMe() interface{}
GetMe returns the Me field value if set, zero value otherwise (both if not set or set to explicit null).
func (*Count) GetMeOk ¶
GetMeOk returns a tuple with the Me field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*Count) GetPlaying ¶
func (o *Count) GetPlaying() interface{}
GetPlaying returns the Playing field value if set, zero value otherwise (both if not set or set to explicit null).
func (*Count) GetPlayingOk ¶
GetPlayingOk returns a tuple with the Playing field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*Count) GetRated ¶
func (o *Count) GetRated() interface{}
GetRated returns the Rated field value if set, zero value otherwise (both if not set or set to explicit null).
func (*Count) GetRatedOk ¶
GetRatedOk returns a tuple with the Rated field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*Count) GetWin ¶
func (o *Count) GetWin() interface{}
GetWin returns the Win field value if set, zero value otherwise (both if not set or set to explicit null).
func (*Count) GetWinH ¶
func (o *Count) GetWinH() interface{}
GetWinH returns the WinH field value if set, zero value otherwise (both if not set or set to explicit null).
func (*Count) GetWinHOk ¶
GetWinHOk returns a tuple with the WinH field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*Count) GetWinOk ¶
GetWinOk returns a tuple with the Win field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*Count) HasBookmark ¶
HasBookmark returns a boolean if a field has been set.
func (*Count) HasPlaying ¶
HasPlaying returns a boolean if a field has been set.
func (Count) MarshalJSON ¶
func (*Count) SetAi ¶
func (o *Count) SetAi(v interface{})
SetAi gets a reference to the given interface{} and assigns it to the Ai field.
func (*Count) SetAll ¶
func (o *Count) SetAll(v interface{})
SetAll gets a reference to the given interface{} and assigns it to the All field.
func (*Count) SetBookmark ¶
func (o *Count) SetBookmark(v interface{})
SetBookmark gets a reference to the given interface{} and assigns it to the Bookmark field.
func (*Count) SetDraw ¶
func (o *Count) SetDraw(v interface{})
SetDraw gets a reference to the given interface{} and assigns it to the Draw field.
func (*Count) SetDrawH ¶
func (o *Count) SetDrawH(v interface{})
SetDrawH gets a reference to the given interface{} and assigns it to the DrawH field.
func (*Count) SetImport ¶
func (o *Count) SetImport(v interface{})
SetImport gets a reference to the given interface{} and assigns it to the Import field.
func (*Count) SetLoss ¶
func (o *Count) SetLoss(v interface{})
SetLoss gets a reference to the given interface{} and assigns it to the Loss field.
func (*Count) SetLossH ¶
func (o *Count) SetLossH(v interface{})
SetLossH gets a reference to the given interface{} and assigns it to the LossH field.
func (*Count) SetMe ¶
func (o *Count) SetMe(v interface{})
SetMe gets a reference to the given interface{} and assigns it to the Me field.
func (*Count) SetPlaying ¶
func (o *Count) SetPlaying(v interface{})
SetPlaying gets a reference to the given interface{} and assigns it to the Playing field.
func (*Count) SetRated ¶
func (o *Count) SetRated(v interface{})
SetRated gets a reference to the given interface{} and assigns it to the Rated field.
type Error ¶
type Error struct {
// The cause of the error.
Error interface{} `json:"error,omitempty"`
}
Error struct for Error
func NewError ¶
func NewError() *Error
NewError instantiates a new Error object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewErrorWithDefaults ¶
func NewErrorWithDefaults() *Error
NewErrorWithDefaults instantiates a new Error object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*Error) GetError ¶
func (o *Error) GetError() interface{}
GetError returns the Error field value if set, zero value otherwise (both if not set or set to explicit null).
func (*Error) GetErrorOk ¶
GetErrorOk returns a tuple with the Error field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (Error) MarshalJSON ¶
type ExternalEngine ¶
type ExternalEngine struct { // Unique engine registration ID. Id interface{} `json:"id"` // Display name of the engine. Name interface{} `json:"name"` // A secret token that can be used to [*request* analysis](#tag/External-engine/operation/apiExternalEngineAnalyse) from this external engine. ClientSecret interface{} `json:"clientSecret"` // The user this engine has been registered for. UserId interface{} `json:"userId"` // Maximum number of available threads. MaxThreads interface{} `json:"maxThreads"` // Maximum available hash table size, in MiB. MaxHash interface{} `json:"maxHash"` // Estimated depth of normal search. DefaultDepth interface{} `json:"defaultDepth"` // List of supported chess variants. Variants interface{} `json:"variants"` // Arbitrary data that the engine provider can use for identification or bookkeeping. Users can read this information, but updating it requires knowing or changing the `providerSecret`. ProviderData interface{} `json:"providerData,omitempty"` }
ExternalEngine struct for ExternalEngine
func NewExternalEngine ¶
func NewExternalEngine(id interface{}, name interface{}, clientSecret interface{}, userId interface{}, maxThreads interface{}, maxHash interface{}, defaultDepth interface{}, variants interface{}) *ExternalEngine
NewExternalEngine instantiates a new ExternalEngine object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewExternalEngineWithDefaults ¶
func NewExternalEngineWithDefaults() *ExternalEngine
NewExternalEngineWithDefaults instantiates a new ExternalEngine object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ExternalEngine) GetClientSecret ¶
func (o *ExternalEngine) GetClientSecret() interface{}
GetClientSecret returns the ClientSecret field value If the value is explicit nil, the zero value for interface{} will be returned
func (*ExternalEngine) GetClientSecretOk ¶
func (o *ExternalEngine) GetClientSecretOk() (*interface{}, bool)
GetClientSecretOk returns a tuple with the ClientSecret field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ExternalEngine) GetDefaultDepth ¶
func (o *ExternalEngine) GetDefaultDepth() interface{}
GetDefaultDepth returns the DefaultDepth field value If the value is explicit nil, the zero value for interface{} will be returned
func (*ExternalEngine) GetDefaultDepthOk ¶
func (o *ExternalEngine) GetDefaultDepthOk() (*interface{}, bool)
GetDefaultDepthOk returns a tuple with the DefaultDepth field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ExternalEngine) GetId ¶
func (o *ExternalEngine) GetId() interface{}
GetId returns the Id field value If the value is explicit nil, the zero value for interface{} will be returned
func (*ExternalEngine) GetIdOk ¶
func (o *ExternalEngine) GetIdOk() (*interface{}, bool)
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ExternalEngine) GetMaxHash ¶
func (o *ExternalEngine) GetMaxHash() interface{}
GetMaxHash returns the MaxHash field value If the value is explicit nil, the zero value for interface{} will be returned
func (*ExternalEngine) GetMaxHashOk ¶
func (o *ExternalEngine) GetMaxHashOk() (*interface{}, bool)
GetMaxHashOk returns a tuple with the MaxHash field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ExternalEngine) GetMaxThreads ¶
func (o *ExternalEngine) GetMaxThreads() interface{}
GetMaxThreads returns the MaxThreads field value If the value is explicit nil, the zero value for interface{} will be returned
func (*ExternalEngine) GetMaxThreadsOk ¶
func (o *ExternalEngine) GetMaxThreadsOk() (*interface{}, bool)
GetMaxThreadsOk returns a tuple with the MaxThreads field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ExternalEngine) GetName ¶
func (o *ExternalEngine) GetName() interface{}
GetName returns the Name field value If the value is explicit nil, the zero value for interface{} will be returned
func (*ExternalEngine) GetNameOk ¶
func (o *ExternalEngine) GetNameOk() (*interface{}, bool)
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ExternalEngine) GetProviderData ¶
func (o *ExternalEngine) GetProviderData() interface{}
GetProviderData returns the ProviderData field value if set, zero value otherwise (both if not set or set to explicit null).
func (*ExternalEngine) GetProviderDataOk ¶
func (o *ExternalEngine) GetProviderDataOk() (*interface{}, bool)
GetProviderDataOk returns a tuple with the ProviderData field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ExternalEngine) GetUserId ¶
func (o *ExternalEngine) GetUserId() interface{}
GetUserId returns the UserId field value If the value is explicit nil, the zero value for interface{} will be returned
func (*ExternalEngine) GetUserIdOk ¶
func (o *ExternalEngine) GetUserIdOk() (*interface{}, bool)
GetUserIdOk returns a tuple with the UserId field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ExternalEngine) GetVariants ¶
func (o *ExternalEngine) GetVariants() interface{}
GetVariants returns the Variants field value If the value is explicit nil, the zero value for interface{} will be returned
func (*ExternalEngine) GetVariantsOk ¶
func (o *ExternalEngine) GetVariantsOk() (*interface{}, bool)
GetVariantsOk returns a tuple with the Variants field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ExternalEngine) HasProviderData ¶
func (o *ExternalEngine) HasProviderData() bool
HasProviderData returns a boolean if a field has been set.
func (ExternalEngine) MarshalJSON ¶
func (o ExternalEngine) MarshalJSON() ([]byte, error)
func (*ExternalEngine) SetClientSecret ¶
func (o *ExternalEngine) SetClientSecret(v interface{})
SetClientSecret sets field value
func (*ExternalEngine) SetDefaultDepth ¶
func (o *ExternalEngine) SetDefaultDepth(v interface{})
SetDefaultDepth sets field value
func (*ExternalEngine) SetMaxHash ¶
func (o *ExternalEngine) SetMaxHash(v interface{})
SetMaxHash sets field value
func (*ExternalEngine) SetMaxThreads ¶
func (o *ExternalEngine) SetMaxThreads(v interface{})
SetMaxThreads sets field value
func (*ExternalEngine) SetName ¶
func (o *ExternalEngine) SetName(v interface{})
SetName sets field value
func (*ExternalEngine) SetProviderData ¶
func (o *ExternalEngine) SetProviderData(v interface{})
SetProviderData gets a reference to the given interface{} and assigns it to the ProviderData field.
func (*ExternalEngine) SetUserId ¶
func (o *ExternalEngine) SetUserId(v interface{})
SetUserId sets field value
func (*ExternalEngine) SetVariants ¶
func (o *ExternalEngine) SetVariants(v interface{})
SetVariants sets field value
type ExternalEngineApiService ¶
type ExternalEngineApiService service
ExternalEngineApiService ExternalEngineApi service
func (*ExternalEngineApiService) ApiExternalEngineAcquire ¶
func (a *ExternalEngineApiService) ApiExternalEngineAcquire(ctx context.Context) ApiApiExternalEngineAcquireRequest
ApiExternalEngineAcquire Acquire analysis request
**Endpoint: `https://engine.lichess.ovh/api/external-engine/work`**
Wait for an analysis requests to any of the external engines that have been registered with the given `secret`.
Uses long polling.
After acquiring a request, the provider should immediately [start streaming the results](#tag/External-engine/operation/apiExternalEngineSubmit).
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiApiExternalEngineAcquireRequest
func (*ExternalEngineApiService) ApiExternalEngineAcquireExecute ¶
func (a *ExternalEngineApiService) ApiExternalEngineAcquireExecute(r ApiApiExternalEngineAcquireRequest) (*ApiExternalEngineAcquire200Response, *http.Response, error)
Execute executes the request
@return ApiExternalEngineAcquire200Response
func (*ExternalEngineApiService) ApiExternalEngineAnalyse ¶
func (a *ExternalEngineApiService) ApiExternalEngineAnalyse(ctx context.Context, id interface{}) ApiApiExternalEngineAnalyseRequest
ApiExternalEngineAnalyse Analyse with external engine
**Endpoint: `https://engine.lichess.ovh/api/external-engine/{id}/analyse`**
Request analysis from an external engine.
Response content is streamed as [newline delimited JSON](#section/Introduction/Streaming-with-ND-JSON). The properties are based on the [UCI specification](https://backscattering.de/chess/uci/#engine). Analysis stops when the client goes away, the requested limit is reached, or the provider goes away.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param id The external engine id. @return ApiApiExternalEngineAnalyseRequest
func (*ExternalEngineApiService) ApiExternalEngineAnalyseExecute ¶
func (a *ExternalEngineApiService) ApiExternalEngineAnalyseExecute(r ApiApiExternalEngineAnalyseRequest) (*ApiExternalEngineAnalyse200Response, *http.Response, error)
Execute executes the request
@return ApiExternalEngineAnalyse200Response
func (*ExternalEngineApiService) ApiExternalEngineCreate ¶
func (a *ExternalEngineApiService) ApiExternalEngineCreate(ctx context.Context) ApiApiExternalEngineCreateRequest
ApiExternalEngineCreate Create external engine
Registers a new external engine for the user. It can then be selected and used on the analysis board.
After registering, the provider should start waiting for analyis requests.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiApiExternalEngineCreateRequest
func (*ExternalEngineApiService) ApiExternalEngineCreateExecute ¶
func (a *ExternalEngineApiService) ApiExternalEngineCreateExecute(r ApiApiExternalEngineCreateRequest) (*ExternalEngine, *http.Response, error)
Execute executes the request
@return ExternalEngine
func (*ExternalEngineApiService) ApiExternalEngineDelete ¶
func (a *ExternalEngineApiService) ApiExternalEngineDelete(ctx context.Context, id interface{}) ApiApiExternalEngineDeleteRequest
ApiExternalEngineDelete Delete external engine
Unregisters an external engine.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param id The external engine id. @return ApiApiExternalEngineDeleteRequest
func (*ExternalEngineApiService) ApiExternalEngineDeleteExecute ¶
func (a *ExternalEngineApiService) ApiExternalEngineDeleteExecute(r ApiApiExternalEngineDeleteRequest) (*Ok, *http.Response, error)
Execute executes the request
@return Ok
func (*ExternalEngineApiService) ApiExternalEngineGet ¶
func (a *ExternalEngineApiService) ApiExternalEngineGet(ctx context.Context, id interface{}) ApiApiExternalEngineGetRequest
ApiExternalEngineGet Get external engine
Get properties and credentials of an external engine.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param id The external engine id. @return ApiApiExternalEngineGetRequest
func (*ExternalEngineApiService) ApiExternalEngineGetExecute ¶
func (a *ExternalEngineApiService) ApiExternalEngineGetExecute(r ApiApiExternalEngineGetRequest) (*ExternalEngine, *http.Response, error)
Execute executes the request
@return ExternalEngine
func (*ExternalEngineApiService) ApiExternalEngineList ¶
func (a *ExternalEngineApiService) ApiExternalEngineList(ctx context.Context) ApiApiExternalEngineListRequest
ApiExternalEngineList List external engines
Lists all external engines that have been registered for the user, and the credentials required to use them.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiApiExternalEngineListRequest
func (*ExternalEngineApiService) ApiExternalEngineListExecute ¶
func (a *ExternalEngineApiService) ApiExternalEngineListExecute(r ApiApiExternalEngineListRequest) ([]ExternalEngine, *http.Response, error)
Execute executes the request
@return []ExternalEngine
func (*ExternalEngineApiService) ApiExternalEnginePut ¶
func (a *ExternalEngineApiService) ApiExternalEnginePut(ctx context.Context, id interface{}) ApiApiExternalEnginePutRequest
ApiExternalEnginePut Update external engine
Updates the properties of an external engine.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param id The external engine id. @return ApiApiExternalEnginePutRequest
func (*ExternalEngineApiService) ApiExternalEnginePutExecute ¶
func (a *ExternalEngineApiService) ApiExternalEnginePutExecute(r ApiApiExternalEnginePutRequest) (*ExternalEngine, *http.Response, error)
Execute executes the request
@return ExternalEngine
func (*ExternalEngineApiService) ApiExternalEngineSubmit ¶
func (a *ExternalEngineApiService) ApiExternalEngineSubmit(ctx context.Context, id interface{}) ApiApiExternalEngineSubmitRequest
ApiExternalEngineSubmit Answer analysis request
**Endpoint: `https://engine.lichess.ovh/api/external-engine/work/{id}`**
Submit a stream of analysis as [UCI output](https://backscattering.de/chess/uci/#engine-info).
* The engine should always be in `UCI_Chess960` mode. * `UCI_AnalyseMode` enabled if available. * It produces `info` with at least:
- `depth`
- `multipv` (between 1 and 5)
- `score`
- `nodes`
- `time`
- `pv`
The server may close the connection at any time, indicating that the requester has gone away and analysis should be stopped.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param id @return ApiApiExternalEngineSubmitRequest
func (*ExternalEngineApiService) ApiExternalEngineSubmitExecute ¶
func (a *ExternalEngineApiService) ApiExternalEngineSubmitExecute(r ApiApiExternalEngineSubmitRequest) (*http.Response, error)
Execute executes the request
type ExternalEngineRegistration ¶
type ExternalEngineRegistration struct { // Display name of the engine. Name interface{} `json:"name"` // Maximum number of available threads. MaxThreads interface{} `json:"maxThreads"` // Maximum available hash table size, in MiB. MaxHash interface{} `json:"maxHash"` // Estimated depth of normal search. DefaultDepth interface{} `json:"defaultDepth"` // Optional list of supported chess variants. Variants interface{} `json:"variants,omitempty"` // A random token that can be used to [wait for analysis requests](#tag/External-engine/operation/apiExternalEngineAcquire) and provide analysis. The engine provider should securely generate a random string. The token will not be readable again, even by the user. The analysis provider can register multiple engines with the same token, even for different users, and wait for analysis requests from any of them. In this case, the request must not be made via CORS, so that the token is not revealed to any of the users. ProviderSecret interface{} `json:"providerSecret"` // Arbitrary data that the engine provider can use for identification or bookkeeping. Users can read this information, but updating it requires knowing or changing the `providerSecret`. ProviderData interface{} `json:"providerData,omitempty"` }
ExternalEngineRegistration struct for ExternalEngineRegistration
func NewExternalEngineRegistration ¶
func NewExternalEngineRegistration(name interface{}, maxThreads interface{}, maxHash interface{}, defaultDepth interface{}, providerSecret interface{}) *ExternalEngineRegistration
NewExternalEngineRegistration instantiates a new ExternalEngineRegistration object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewExternalEngineRegistrationWithDefaults ¶
func NewExternalEngineRegistrationWithDefaults() *ExternalEngineRegistration
NewExternalEngineRegistrationWithDefaults instantiates a new ExternalEngineRegistration object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ExternalEngineRegistration) GetDefaultDepth ¶
func (o *ExternalEngineRegistration) GetDefaultDepth() interface{}
GetDefaultDepth returns the DefaultDepth field value If the value is explicit nil, the zero value for interface{} will be returned
func (*ExternalEngineRegistration) GetDefaultDepthOk ¶
func (o *ExternalEngineRegistration) GetDefaultDepthOk() (*interface{}, bool)
GetDefaultDepthOk returns a tuple with the DefaultDepth field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ExternalEngineRegistration) GetMaxHash ¶
func (o *ExternalEngineRegistration) GetMaxHash() interface{}
GetMaxHash returns the MaxHash field value If the value is explicit nil, the zero value for interface{} will be returned
func (*ExternalEngineRegistration) GetMaxHashOk ¶
func (o *ExternalEngineRegistration) GetMaxHashOk() (*interface{}, bool)
GetMaxHashOk returns a tuple with the MaxHash field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ExternalEngineRegistration) GetMaxThreads ¶
func (o *ExternalEngineRegistration) GetMaxThreads() interface{}
GetMaxThreads returns the MaxThreads field value If the value is explicit nil, the zero value for interface{} will be returned
func (*ExternalEngineRegistration) GetMaxThreadsOk ¶
func (o *ExternalEngineRegistration) GetMaxThreadsOk() (*interface{}, bool)
GetMaxThreadsOk returns a tuple with the MaxThreads field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ExternalEngineRegistration) GetName ¶
func (o *ExternalEngineRegistration) GetName() interface{}
GetName returns the Name field value If the value is explicit nil, the zero value for interface{} will be returned
func (*ExternalEngineRegistration) GetNameOk ¶
func (o *ExternalEngineRegistration) GetNameOk() (*interface{}, bool)
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ExternalEngineRegistration) GetProviderData ¶
func (o *ExternalEngineRegistration) GetProviderData() interface{}
GetProviderData returns the ProviderData field value if set, zero value otherwise (both if not set or set to explicit null).
func (*ExternalEngineRegistration) GetProviderDataOk ¶
func (o *ExternalEngineRegistration) GetProviderDataOk() (*interface{}, bool)
GetProviderDataOk returns a tuple with the ProviderData field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ExternalEngineRegistration) GetProviderSecret ¶
func (o *ExternalEngineRegistration) GetProviderSecret() interface{}
GetProviderSecret returns the ProviderSecret field value If the value is explicit nil, the zero value for interface{} will be returned
func (*ExternalEngineRegistration) GetProviderSecretOk ¶
func (o *ExternalEngineRegistration) GetProviderSecretOk() (*interface{}, bool)
GetProviderSecretOk returns a tuple with the ProviderSecret field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ExternalEngineRegistration) GetVariants ¶
func (o *ExternalEngineRegistration) GetVariants() interface{}
GetVariants returns the Variants field value if set, zero value otherwise (both if not set or set to explicit null).
func (*ExternalEngineRegistration) GetVariantsOk ¶
func (o *ExternalEngineRegistration) GetVariantsOk() (*interface{}, bool)
GetVariantsOk returns a tuple with the Variants field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ExternalEngineRegistration) HasProviderData ¶
func (o *ExternalEngineRegistration) HasProviderData() bool
HasProviderData returns a boolean if a field has been set.
func (*ExternalEngineRegistration) HasVariants ¶
func (o *ExternalEngineRegistration) HasVariants() bool
HasVariants returns a boolean if a field has been set.
func (ExternalEngineRegistration) MarshalJSON ¶
func (o ExternalEngineRegistration) MarshalJSON() ([]byte, error)
func (*ExternalEngineRegistration) SetDefaultDepth ¶
func (o *ExternalEngineRegistration) SetDefaultDepth(v interface{})
SetDefaultDepth sets field value
func (*ExternalEngineRegistration) SetMaxHash ¶
func (o *ExternalEngineRegistration) SetMaxHash(v interface{})
SetMaxHash sets field value
func (*ExternalEngineRegistration) SetMaxThreads ¶
func (o *ExternalEngineRegistration) SetMaxThreads(v interface{})
SetMaxThreads sets field value
func (*ExternalEngineRegistration) SetName ¶
func (o *ExternalEngineRegistration) SetName(v interface{})
SetName sets field value
func (*ExternalEngineRegistration) SetProviderData ¶
func (o *ExternalEngineRegistration) SetProviderData(v interface{})
SetProviderData gets a reference to the given interface{} and assigns it to the ProviderData field.
func (*ExternalEngineRegistration) SetProviderSecret ¶
func (o *ExternalEngineRegistration) SetProviderSecret(v interface{})
SetProviderSecret sets field value
func (*ExternalEngineRegistration) SetVariants ¶
func (o *ExternalEngineRegistration) SetVariants(v interface{})
SetVariants gets a reference to the given interface{} and assigns it to the Variants field.
type ExternalEngineWork ¶
type ExternalEngineWork struct { // Arbitary string that identifies the analysis session. Providers may wish to clear the hash table between sessions. SessionId interface{} `json:"sessionId"` // Number of threads to use for analysis. Threads interface{} `json:"threads"` // Hash table size to use for analysis, in MiB. Hash interface{} `json:"hash"` // Request an infinite search (rather than roughly aiming for `defaultDepth`). Infinite interface{} `json:"infinite,omitempty"` // Requested number of principal variations. MultiPv interface{} `json:"multiPv"` Variant UciVariant `json:"variant"` // Initial position of the game. InitialFen interface{} `json:"initialFen"` // List of moves played from the initial position, in UCI notation. Moves interface{} `json:"moves"` }
ExternalEngineWork struct for ExternalEngineWork
func NewExternalEngineWork ¶
func NewExternalEngineWork(sessionId interface{}, threads interface{}, hash interface{}, multiPv interface{}, variant UciVariant, initialFen interface{}, moves interface{}) *ExternalEngineWork
NewExternalEngineWork instantiates a new ExternalEngineWork object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewExternalEngineWorkWithDefaults ¶
func NewExternalEngineWorkWithDefaults() *ExternalEngineWork
NewExternalEngineWorkWithDefaults instantiates a new ExternalEngineWork object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ExternalEngineWork) GetHash ¶
func (o *ExternalEngineWork) GetHash() interface{}
GetHash returns the Hash field value If the value is explicit nil, the zero value for interface{} will be returned
func (*ExternalEngineWork) GetHashOk ¶
func (o *ExternalEngineWork) GetHashOk() (*interface{}, bool)
GetHashOk returns a tuple with the Hash field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ExternalEngineWork) GetInfinite ¶
func (o *ExternalEngineWork) GetInfinite() interface{}
GetInfinite returns the Infinite field value if set, zero value otherwise (both if not set or set to explicit null).
func (*ExternalEngineWork) GetInfiniteOk ¶
func (o *ExternalEngineWork) GetInfiniteOk() (*interface{}, bool)
GetInfiniteOk returns a tuple with the Infinite field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ExternalEngineWork) GetInitialFen ¶
func (o *ExternalEngineWork) GetInitialFen() interface{}
GetInitialFen returns the InitialFen field value If the value is explicit nil, the zero value for interface{} will be returned
func (*ExternalEngineWork) GetInitialFenOk ¶
func (o *ExternalEngineWork) GetInitialFenOk() (*interface{}, bool)
GetInitialFenOk returns a tuple with the InitialFen field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ExternalEngineWork) GetMoves ¶
func (o *ExternalEngineWork) GetMoves() interface{}
GetMoves returns the Moves field value If the value is explicit nil, the zero value for interface{} will be returned
func (*ExternalEngineWork) GetMovesOk ¶
func (o *ExternalEngineWork) GetMovesOk() (*interface{}, bool)
GetMovesOk returns a tuple with the Moves field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ExternalEngineWork) GetMultiPv ¶
func (o *ExternalEngineWork) GetMultiPv() interface{}
GetMultiPv returns the MultiPv field value If the value is explicit nil, the zero value for interface{} will be returned
func (*ExternalEngineWork) GetMultiPvOk ¶
func (o *ExternalEngineWork) GetMultiPvOk() (*interface{}, bool)
GetMultiPvOk returns a tuple with the MultiPv field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ExternalEngineWork) GetSessionId ¶
func (o *ExternalEngineWork) GetSessionId() interface{}
GetSessionId returns the SessionId field value If the value is explicit nil, the zero value for interface{} will be returned
func (*ExternalEngineWork) GetSessionIdOk ¶
func (o *ExternalEngineWork) GetSessionIdOk() (*interface{}, bool)
GetSessionIdOk returns a tuple with the SessionId field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ExternalEngineWork) GetThreads ¶
func (o *ExternalEngineWork) GetThreads() interface{}
GetThreads returns the Threads field value If the value is explicit nil, the zero value for interface{} will be returned
func (*ExternalEngineWork) GetThreadsOk ¶
func (o *ExternalEngineWork) GetThreadsOk() (*interface{}, bool)
GetThreadsOk returns a tuple with the Threads field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ExternalEngineWork) GetVariant ¶
func (o *ExternalEngineWork) GetVariant() UciVariant
GetVariant returns the Variant field value
func (*ExternalEngineWork) GetVariantOk ¶
func (o *ExternalEngineWork) GetVariantOk() (*UciVariant, bool)
GetVariantOk returns a tuple with the Variant field value and a boolean to check if the value has been set.
func (*ExternalEngineWork) HasInfinite ¶
func (o *ExternalEngineWork) HasInfinite() bool
HasInfinite returns a boolean if a field has been set.
func (ExternalEngineWork) MarshalJSON ¶
func (o ExternalEngineWork) MarshalJSON() ([]byte, error)
func (*ExternalEngineWork) SetHash ¶
func (o *ExternalEngineWork) SetHash(v interface{})
SetHash sets field value
func (*ExternalEngineWork) SetInfinite ¶
func (o *ExternalEngineWork) SetInfinite(v interface{})
SetInfinite gets a reference to the given interface{} and assigns it to the Infinite field.
func (*ExternalEngineWork) SetInitialFen ¶
func (o *ExternalEngineWork) SetInitialFen(v interface{})
SetInitialFen sets field value
func (*ExternalEngineWork) SetMoves ¶
func (o *ExternalEngineWork) SetMoves(v interface{})
SetMoves sets field value
func (*ExternalEngineWork) SetMultiPv ¶
func (o *ExternalEngineWork) SetMultiPv(v interface{})
SetMultiPv sets field value
func (*ExternalEngineWork) SetSessionId ¶
func (o *ExternalEngineWork) SetSessionId(v interface{})
SetSessionId sets field value
func (*ExternalEngineWork) SetThreads ¶
func (o *ExternalEngineWork) SetThreads(v interface{})
SetThreads sets field value
func (*ExternalEngineWork) SetVariant ¶
func (o *ExternalEngineWork) SetVariant(v UciVariant)
SetVariant sets field value
type GameEventInfo ¶
type GameEventInfo struct { Id interface{} `json:"id,omitempty"` Source interface{} `json:"source,omitempty"` Compat *GameEventInfoCompat `json:"compat,omitempty"` }
GameEventInfo struct for GameEventInfo
func NewGameEventInfo ¶
func NewGameEventInfo() *GameEventInfo
NewGameEventInfo instantiates a new GameEventInfo object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewGameEventInfoWithDefaults ¶
func NewGameEventInfoWithDefaults() *GameEventInfo
NewGameEventInfoWithDefaults instantiates a new GameEventInfo object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*GameEventInfo) GetCompat ¶
func (o *GameEventInfo) GetCompat() GameEventInfoCompat
GetCompat returns the Compat field value if set, zero value otherwise.
func (*GameEventInfo) GetCompatOk ¶
func (o *GameEventInfo) GetCompatOk() (*GameEventInfoCompat, bool)
GetCompatOk returns a tuple with the Compat field value if set, nil otherwise and a boolean to check if the value has been set.
func (*GameEventInfo) GetId ¶
func (o *GameEventInfo) GetId() interface{}
GetId returns the Id field value if set, zero value otherwise (both if not set or set to explicit null).
func (*GameEventInfo) GetIdOk ¶
func (o *GameEventInfo) GetIdOk() (*interface{}, bool)
GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*GameEventInfo) GetSource ¶
func (o *GameEventInfo) GetSource() interface{}
GetSource returns the Source field value if set, zero value otherwise (both if not set or set to explicit null).
func (*GameEventInfo) GetSourceOk ¶
func (o *GameEventInfo) GetSourceOk() (*interface{}, bool)
GetSourceOk returns a tuple with the Source field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*GameEventInfo) HasCompat ¶
func (o *GameEventInfo) HasCompat() bool
HasCompat returns a boolean if a field has been set.
func (*GameEventInfo) HasId ¶
func (o *GameEventInfo) HasId() bool
HasId returns a boolean if a field has been set.
func (*GameEventInfo) HasSource ¶
func (o *GameEventInfo) HasSource() bool
HasSource returns a boolean if a field has been set.
func (GameEventInfo) MarshalJSON ¶
func (o GameEventInfo) MarshalJSON() ([]byte, error)
func (*GameEventInfo) SetCompat ¶
func (o *GameEventInfo) SetCompat(v GameEventInfoCompat)
SetCompat gets a reference to the given GameEventInfoCompat and assigns it to the Compat field.
func (*GameEventInfo) SetId ¶
func (o *GameEventInfo) SetId(v interface{})
SetId gets a reference to the given interface{} and assigns it to the Id field.
func (*GameEventInfo) SetSource ¶
func (o *GameEventInfo) SetSource(v interface{})
SetSource gets a reference to the given interface{} and assigns it to the Source field.
type GameEventInfoCompat ¶
type GameEventInfoCompat struct { Bot interface{} `json:"bot,omitempty"` Board interface{} `json:"board,omitempty"` }
GameEventInfoCompat struct for GameEventInfoCompat
func NewGameEventInfoCompat ¶
func NewGameEventInfoCompat() *GameEventInfoCompat
NewGameEventInfoCompat instantiates a new GameEventInfoCompat object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewGameEventInfoCompatWithDefaults ¶
func NewGameEventInfoCompatWithDefaults() *GameEventInfoCompat
NewGameEventInfoCompatWithDefaults instantiates a new GameEventInfoCompat object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*GameEventInfoCompat) GetBoard ¶
func (o *GameEventInfoCompat) GetBoard() interface{}
GetBoard returns the Board field value if set, zero value otherwise (both if not set or set to explicit null).
func (*GameEventInfoCompat) GetBoardOk ¶
func (o *GameEventInfoCompat) GetBoardOk() (*interface{}, bool)
GetBoardOk returns a tuple with the Board field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*GameEventInfoCompat) GetBot ¶
func (o *GameEventInfoCompat) GetBot() interface{}
GetBot returns the Bot field value if set, zero value otherwise (both if not set or set to explicit null).
func (*GameEventInfoCompat) GetBotOk ¶
func (o *GameEventInfoCompat) GetBotOk() (*interface{}, bool)
GetBotOk returns a tuple with the Bot field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*GameEventInfoCompat) HasBoard ¶
func (o *GameEventInfoCompat) HasBoard() bool
HasBoard returns a boolean if a field has been set.
func (*GameEventInfoCompat) HasBot ¶
func (o *GameEventInfoCompat) HasBot() bool
HasBot returns a boolean if a field has been set.
func (GameEventInfoCompat) MarshalJSON ¶
func (o GameEventInfoCompat) MarshalJSON() ([]byte, error)
func (*GameEventInfoCompat) SetBoard ¶
func (o *GameEventInfoCompat) SetBoard(v interface{})
SetBoard gets a reference to the given interface{} and assigns it to the Board field.
func (*GameEventInfoCompat) SetBot ¶
func (o *GameEventInfoCompat) SetBot(v interface{})
SetBot gets a reference to the given interface{} and assigns it to the Bot field.
type GameEventPlayer ¶
type GameEventPlayer struct { AiLevel interface{} `json:"aiLevel,omitempty"` Id interface{} `json:"id,omitempty"` Name interface{} `json:"name,omitempty"` Title interface{} `json:"title,omitempty"` Rating interface{} `json:"rating,omitempty"` Provisional interface{} `json:"provisional,omitempty"` }
GameEventPlayer struct for GameEventPlayer
func NewGameEventPlayer ¶
func NewGameEventPlayer() *GameEventPlayer
NewGameEventPlayer instantiates a new GameEventPlayer object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewGameEventPlayerWithDefaults ¶
func NewGameEventPlayerWithDefaults() *GameEventPlayer
NewGameEventPlayerWithDefaults instantiates a new GameEventPlayer object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*GameEventPlayer) GetAiLevel ¶
func (o *GameEventPlayer) GetAiLevel() interface{}
GetAiLevel returns the AiLevel field value if set, zero value otherwise (both if not set or set to explicit null).
func (*GameEventPlayer) GetAiLevelOk ¶
func (o *GameEventPlayer) GetAiLevelOk() (*interface{}, bool)
GetAiLevelOk returns a tuple with the AiLevel field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*GameEventPlayer) GetId ¶
func (o *GameEventPlayer) GetId() interface{}
GetId returns the Id field value if set, zero value otherwise (both if not set or set to explicit null).
func (*GameEventPlayer) GetIdOk ¶
func (o *GameEventPlayer) GetIdOk() (*interface{}, bool)
GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*GameEventPlayer) GetName ¶
func (o *GameEventPlayer) GetName() interface{}
GetName returns the Name field value if set, zero value otherwise (both if not set or set to explicit null).
func (*GameEventPlayer) GetNameOk ¶
func (o *GameEventPlayer) GetNameOk() (*interface{}, bool)
GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*GameEventPlayer) GetProvisional ¶
func (o *GameEventPlayer) GetProvisional() interface{}
GetProvisional returns the Provisional field value if set, zero value otherwise (both if not set or set to explicit null).
func (*GameEventPlayer) GetProvisionalOk ¶
func (o *GameEventPlayer) GetProvisionalOk() (*interface{}, bool)
GetProvisionalOk returns a tuple with the Provisional field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*GameEventPlayer) GetRating ¶
func (o *GameEventPlayer) GetRating() interface{}
GetRating returns the Rating field value if set, zero value otherwise (both if not set or set to explicit null).
func (*GameEventPlayer) GetRatingOk ¶
func (o *GameEventPlayer) GetRatingOk() (*interface{}, bool)
GetRatingOk returns a tuple with the Rating field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*GameEventPlayer) GetTitle ¶
func (o *GameEventPlayer) GetTitle() interface{}
GetTitle returns the Title field value if set, zero value otherwise (both if not set or set to explicit null).
func (*GameEventPlayer) GetTitleOk ¶
func (o *GameEventPlayer) GetTitleOk() (*interface{}, bool)
GetTitleOk returns a tuple with the Title field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*GameEventPlayer) HasAiLevel ¶
func (o *GameEventPlayer) HasAiLevel() bool
HasAiLevel returns a boolean if a field has been set.
func (*GameEventPlayer) HasId ¶
func (o *GameEventPlayer) HasId() bool
HasId returns a boolean if a field has been set.
func (*GameEventPlayer) HasName ¶
func (o *GameEventPlayer) HasName() bool
HasName returns a boolean if a field has been set.
func (*GameEventPlayer) HasProvisional ¶
func (o *GameEventPlayer) HasProvisional() bool
HasProvisional returns a boolean if a field has been set.
func (*GameEventPlayer) HasRating ¶
func (o *GameEventPlayer) HasRating() bool
HasRating returns a boolean if a field has been set.
func (*GameEventPlayer) HasTitle ¶
func (o *GameEventPlayer) HasTitle() bool
HasTitle returns a boolean if a field has been set.
func (GameEventPlayer) MarshalJSON ¶
func (o GameEventPlayer) MarshalJSON() ([]byte, error)
func (*GameEventPlayer) SetAiLevel ¶
func (o *GameEventPlayer) SetAiLevel(v interface{})
SetAiLevel gets a reference to the given interface{} and assigns it to the AiLevel field.
func (*GameEventPlayer) SetId ¶
func (o *GameEventPlayer) SetId(v interface{})
SetId gets a reference to the given interface{} and assigns it to the Id field.
func (*GameEventPlayer) SetName ¶
func (o *GameEventPlayer) SetName(v interface{})
SetName gets a reference to the given interface{} and assigns it to the Name field.
func (*GameEventPlayer) SetProvisional ¶
func (o *GameEventPlayer) SetProvisional(v interface{})
SetProvisional gets a reference to the given interface{} and assigns it to the Provisional field.
func (*GameEventPlayer) SetRating ¶
func (o *GameEventPlayer) SetRating(v interface{})
SetRating gets a reference to the given interface{} and assigns it to the Rating field.
func (*GameEventPlayer) SetTitle ¶
func (o *GameEventPlayer) SetTitle(v interface{})
SetTitle gets a reference to the given interface{} and assigns it to the Title field.
type GameFinishEvent ¶
type GameFinishEvent struct { Type interface{} `json:"type,omitempty"` Game *GameEventInfo `json:"game,omitempty"` }
GameFinishEvent struct for GameFinishEvent
func NewGameFinishEvent ¶
func NewGameFinishEvent() *GameFinishEvent
NewGameFinishEvent instantiates a new GameFinishEvent object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewGameFinishEventWithDefaults ¶
func NewGameFinishEventWithDefaults() *GameFinishEvent
NewGameFinishEventWithDefaults instantiates a new GameFinishEvent object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*GameFinishEvent) GetGame ¶
func (o *GameFinishEvent) GetGame() GameEventInfo
GetGame returns the Game field value if set, zero value otherwise.
func (*GameFinishEvent) GetGameOk ¶
func (o *GameFinishEvent) GetGameOk() (*GameEventInfo, bool)
GetGameOk returns a tuple with the Game field value if set, nil otherwise and a boolean to check if the value has been set.
func (*GameFinishEvent) GetType ¶
func (o *GameFinishEvent) GetType() interface{}
GetType returns the Type field value if set, zero value otherwise (both if not set or set to explicit null).
func (*GameFinishEvent) GetTypeOk ¶
func (o *GameFinishEvent) GetTypeOk() (*interface{}, bool)
GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*GameFinishEvent) HasGame ¶
func (o *GameFinishEvent) HasGame() bool
HasGame returns a boolean if a field has been set.
func (*GameFinishEvent) HasType ¶
func (o *GameFinishEvent) HasType() bool
HasType returns a boolean if a field has been set.
func (GameFinishEvent) MarshalJSON ¶
func (o GameFinishEvent) MarshalJSON() ([]byte, error)
func (*GameFinishEvent) SetGame ¶
func (o *GameFinishEvent) SetGame(v GameEventInfo)
SetGame gets a reference to the given GameEventInfo and assigns it to the Game field.
func (*GameFinishEvent) SetType ¶
func (o *GameFinishEvent) SetType(v interface{})
SetType gets a reference to the given interface{} and assigns it to the Type field.
type GameFullEvent ¶
type GameFullEvent struct { Type interface{} `json:"type"` Id interface{} `json:"id"` Variant Variant `json:"variant"` Clock interface{} `json:"clock"` Speed Speed `json:"speed"` Perf GameFullEventPerf `json:"perf"` Rated interface{} `json:"rated"` CreatedAt interface{} `json:"createdAt"` White GameEventPlayer `json:"white"` Black GameEventPlayer `json:"black"` InitialFen interface{} `json:"initialFen"` State GameStateEvent `json:"state"` TournamentId interface{} `json:"tournamentId,omitempty"` }
GameFullEvent struct for GameFullEvent
func NewGameFullEvent ¶
func NewGameFullEvent(type_ interface{}, id interface{}, variant Variant, clock interface{}, speed Speed, perf GameFullEventPerf, rated interface{}, createdAt interface{}, white GameEventPlayer, black GameEventPlayer, initialFen interface{}, state GameStateEvent) *GameFullEvent
NewGameFullEvent instantiates a new GameFullEvent object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewGameFullEventWithDefaults ¶
func NewGameFullEventWithDefaults() *GameFullEvent
NewGameFullEventWithDefaults instantiates a new GameFullEvent object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*GameFullEvent) GetBlack ¶
func (o *GameFullEvent) GetBlack() GameEventPlayer
GetBlack returns the Black field value
func (*GameFullEvent) GetBlackOk ¶
func (o *GameFullEvent) GetBlackOk() (*GameEventPlayer, bool)
GetBlackOk returns a tuple with the Black field value and a boolean to check if the value has been set.
func (*GameFullEvent) GetClock ¶
func (o *GameFullEvent) GetClock() interface{}
GetClock returns the Clock field value If the value is explicit nil, the zero value for interface{} will be returned
func (*GameFullEvent) GetClockOk ¶
func (o *GameFullEvent) GetClockOk() (*interface{}, bool)
GetClockOk returns a tuple with the Clock field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*GameFullEvent) GetCreatedAt ¶
func (o *GameFullEvent) GetCreatedAt() interface{}
GetCreatedAt returns the CreatedAt field value If the value is explicit nil, the zero value for interface{} will be returned
func (*GameFullEvent) GetCreatedAtOk ¶
func (o *GameFullEvent) GetCreatedAtOk() (*interface{}, bool)
GetCreatedAtOk returns a tuple with the CreatedAt field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*GameFullEvent) GetId ¶
func (o *GameFullEvent) GetId() interface{}
GetId returns the Id field value If the value is explicit nil, the zero value for interface{} will be returned
func (*GameFullEvent) GetIdOk ¶
func (o *GameFullEvent) GetIdOk() (*interface{}, bool)
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*GameFullEvent) GetInitialFen ¶
func (o *GameFullEvent) GetInitialFen() interface{}
GetInitialFen returns the InitialFen field value If the value is explicit nil, the zero value for interface{} will be returned
func (*GameFullEvent) GetInitialFenOk ¶
func (o *GameFullEvent) GetInitialFenOk() (*interface{}, bool)
GetInitialFenOk returns a tuple with the InitialFen field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*GameFullEvent) GetPerf ¶
func (o *GameFullEvent) GetPerf() GameFullEventPerf
GetPerf returns the Perf field value
func (*GameFullEvent) GetPerfOk ¶
func (o *GameFullEvent) GetPerfOk() (*GameFullEventPerf, bool)
GetPerfOk returns a tuple with the Perf field value and a boolean to check if the value has been set.
func (*GameFullEvent) GetRated ¶
func (o *GameFullEvent) GetRated() interface{}
GetRated returns the Rated field value If the value is explicit nil, the zero value for interface{} will be returned
func (*GameFullEvent) GetRatedOk ¶
func (o *GameFullEvent) GetRatedOk() (*interface{}, bool)
GetRatedOk returns a tuple with the Rated field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*GameFullEvent) GetSpeed ¶
func (o *GameFullEvent) GetSpeed() Speed
GetSpeed returns the Speed field value
func (*GameFullEvent) GetSpeedOk ¶
func (o *GameFullEvent) GetSpeedOk() (*Speed, bool)
GetSpeedOk returns a tuple with the Speed field value and a boolean to check if the value has been set.
func (*GameFullEvent) GetState ¶
func (o *GameFullEvent) GetState() GameStateEvent
GetState returns the State field value
func (*GameFullEvent) GetStateOk ¶
func (o *GameFullEvent) GetStateOk() (*GameStateEvent, bool)
GetStateOk returns a tuple with the State field value and a boolean to check if the value has been set.
func (*GameFullEvent) GetTournamentId ¶
func (o *GameFullEvent) GetTournamentId() interface{}
GetTournamentId returns the TournamentId field value if set, zero value otherwise (both if not set or set to explicit null).
func (*GameFullEvent) GetTournamentIdOk ¶
func (o *GameFullEvent) GetTournamentIdOk() (*interface{}, bool)
GetTournamentIdOk returns a tuple with the TournamentId field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*GameFullEvent) GetType ¶
func (o *GameFullEvent) GetType() interface{}
GetType returns the Type field value If the value is explicit nil, the zero value for interface{} will be returned
func (*GameFullEvent) GetTypeOk ¶
func (o *GameFullEvent) GetTypeOk() (*interface{}, bool)
GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*GameFullEvent) GetVariant ¶
func (o *GameFullEvent) GetVariant() Variant
GetVariant returns the Variant field value
func (*GameFullEvent) GetVariantOk ¶
func (o *GameFullEvent) GetVariantOk() (*Variant, bool)
GetVariantOk returns a tuple with the Variant field value and a boolean to check if the value has been set.
func (*GameFullEvent) GetWhite ¶
func (o *GameFullEvent) GetWhite() GameEventPlayer
GetWhite returns the White field value
func (*GameFullEvent) GetWhiteOk ¶
func (o *GameFullEvent) GetWhiteOk() (*GameEventPlayer, bool)
GetWhiteOk returns a tuple with the White field value and a boolean to check if the value has been set.
func (*GameFullEvent) HasTournamentId ¶
func (o *GameFullEvent) HasTournamentId() bool
HasTournamentId returns a boolean if a field has been set.
func (GameFullEvent) MarshalJSON ¶
func (o GameFullEvent) MarshalJSON() ([]byte, error)
func (*GameFullEvent) SetBlack ¶
func (o *GameFullEvent) SetBlack(v GameEventPlayer)
SetBlack sets field value
func (*GameFullEvent) SetClock ¶
func (o *GameFullEvent) SetClock(v interface{})
SetClock sets field value
func (*GameFullEvent) SetCreatedAt ¶
func (o *GameFullEvent) SetCreatedAt(v interface{})
SetCreatedAt sets field value
func (*GameFullEvent) SetInitialFen ¶
func (o *GameFullEvent) SetInitialFen(v interface{})
SetInitialFen sets field value
func (*GameFullEvent) SetPerf ¶
func (o *GameFullEvent) SetPerf(v GameFullEventPerf)
SetPerf sets field value
func (*GameFullEvent) SetRated ¶
func (o *GameFullEvent) SetRated(v interface{})
SetRated sets field value
func (*GameFullEvent) SetSpeed ¶
func (o *GameFullEvent) SetSpeed(v Speed)
SetSpeed sets field value
func (*GameFullEvent) SetState ¶
func (o *GameFullEvent) SetState(v GameStateEvent)
SetState sets field value
func (*GameFullEvent) SetTournamentId ¶
func (o *GameFullEvent) SetTournamentId(v interface{})
SetTournamentId gets a reference to the given interface{} and assigns it to the TournamentId field.
func (*GameFullEvent) SetType ¶
func (o *GameFullEvent) SetType(v interface{})
SetType sets field value
func (*GameFullEvent) SetVariant ¶
func (o *GameFullEvent) SetVariant(v Variant)
SetVariant sets field value
func (*GameFullEvent) SetWhite ¶
func (o *GameFullEvent) SetWhite(v GameEventPlayer)
SetWhite sets field value
type GameFullEventPerf ¶
type GameFullEventPerf struct {
// Translated perf name (e.g. \"Classical\" or \"Blitz\")
Name interface{} `json:"name,omitempty"`
}
GameFullEventPerf struct for GameFullEventPerf
func NewGameFullEventPerf ¶
func NewGameFullEventPerf() *GameFullEventPerf
NewGameFullEventPerf instantiates a new GameFullEventPerf object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewGameFullEventPerfWithDefaults ¶
func NewGameFullEventPerfWithDefaults() *GameFullEventPerf
NewGameFullEventPerfWithDefaults instantiates a new GameFullEventPerf object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*GameFullEventPerf) GetName ¶
func (o *GameFullEventPerf) GetName() interface{}
GetName returns the Name field value if set, zero value otherwise (both if not set or set to explicit null).
func (*GameFullEventPerf) GetNameOk ¶
func (o *GameFullEventPerf) GetNameOk() (*interface{}, bool)
GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*GameFullEventPerf) HasName ¶
func (o *GameFullEventPerf) HasName() bool
HasName returns a boolean if a field has been set.
func (GameFullEventPerf) MarshalJSON ¶
func (o GameFullEventPerf) MarshalJSON() ([]byte, error)
func (*GameFullEventPerf) SetName ¶
func (o *GameFullEventPerf) SetName(v interface{})
SetName gets a reference to the given interface{} and assigns it to the Name field.
type GameJson ¶
type GameJson struct { Id interface{} `json:"id"` Rated interface{} `json:"rated"` Variant VariantKey `json:"variant"` Speed Speed `json:"speed"` Perf interface{} `json:"perf"` CreatedAt interface{} `json:"createdAt"` LastMoveAt interface{} `json:"lastMoveAt"` Status GameStatus `json:"status"` Players GameJsonPlayers `json:"players"` InitialFen interface{} `json:"initialFen,omitempty"` Winner interface{} `json:"winner,omitempty"` Opening *GameJsonOpening `json:"opening,omitempty"` Moves interface{} `json:"moves,omitempty"` Pgn interface{} `json:"pgn,omitempty"` DaysPerTurn interface{} `json:"daysPerTurn,omitempty"` Analysis interface{} `json:"analysis,omitempty"` Tournament interface{} `json:"tournament,omitempty"` Swiss interface{} `json:"swiss,omitempty"` Clock *GameJsonClock `json:"clock,omitempty"` }
GameJson struct for GameJson
func NewGameJson ¶
func NewGameJson(id interface{}, rated interface{}, variant VariantKey, speed Speed, perf interface{}, createdAt interface{}, lastMoveAt interface{}, status GameStatus, players GameJsonPlayers) *GameJson
NewGameJson instantiates a new GameJson object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewGameJsonWithDefaults ¶
func NewGameJsonWithDefaults() *GameJson
NewGameJsonWithDefaults instantiates a new GameJson object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*GameJson) GetAnalysis ¶
func (o *GameJson) GetAnalysis() interface{}
GetAnalysis returns the Analysis field value if set, zero value otherwise (both if not set or set to explicit null).
func (*GameJson) GetAnalysisOk ¶
GetAnalysisOk returns a tuple with the Analysis field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*GameJson) GetClock ¶
func (o *GameJson) GetClock() GameJsonClock
GetClock returns the Clock field value if set, zero value otherwise.
func (*GameJson) GetClockOk ¶
func (o *GameJson) GetClockOk() (*GameJsonClock, bool)
GetClockOk returns a tuple with the Clock field value if set, nil otherwise and a boolean to check if the value has been set.
func (*GameJson) GetCreatedAt ¶
func (o *GameJson) GetCreatedAt() interface{}
GetCreatedAt returns the CreatedAt field value If the value is explicit nil, the zero value for interface{} will be returned
func (*GameJson) GetCreatedAtOk ¶
GetCreatedAtOk returns a tuple with the CreatedAt field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*GameJson) GetDaysPerTurn ¶
func (o *GameJson) GetDaysPerTurn() interface{}
GetDaysPerTurn returns the DaysPerTurn field value if set, zero value otherwise (both if not set or set to explicit null).
func (*GameJson) GetDaysPerTurnOk ¶
GetDaysPerTurnOk returns a tuple with the DaysPerTurn field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*GameJson) GetId ¶
func (o *GameJson) GetId() interface{}
GetId returns the Id field value If the value is explicit nil, the zero value for interface{} will be returned
func (*GameJson) GetIdOk ¶
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*GameJson) GetInitialFen ¶
func (o *GameJson) GetInitialFen() interface{}
GetInitialFen returns the InitialFen field value if set, zero value otherwise (both if not set or set to explicit null).
func (*GameJson) GetInitialFenOk ¶
GetInitialFenOk returns a tuple with the InitialFen field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*GameJson) GetLastMoveAt ¶
func (o *GameJson) GetLastMoveAt() interface{}
GetLastMoveAt returns the LastMoveAt field value If the value is explicit nil, the zero value for interface{} will be returned
func (*GameJson) GetLastMoveAtOk ¶
GetLastMoveAtOk returns a tuple with the LastMoveAt field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*GameJson) GetMoves ¶
func (o *GameJson) GetMoves() interface{}
GetMoves returns the Moves field value if set, zero value otherwise (both if not set or set to explicit null).
func (*GameJson) GetMovesOk ¶
GetMovesOk returns a tuple with the Moves field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*GameJson) GetOpening ¶
func (o *GameJson) GetOpening() GameJsonOpening
GetOpening returns the Opening field value if set, zero value otherwise.
func (*GameJson) GetOpeningOk ¶
func (o *GameJson) GetOpeningOk() (*GameJsonOpening, bool)
GetOpeningOk returns a tuple with the Opening field value if set, nil otherwise and a boolean to check if the value has been set.
func (*GameJson) GetPerf ¶
func (o *GameJson) GetPerf() interface{}
GetPerf returns the Perf field value If the value is explicit nil, the zero value for interface{} will be returned
func (*GameJson) GetPerfOk ¶
GetPerfOk returns a tuple with the Perf field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*GameJson) GetPgn ¶
func (o *GameJson) GetPgn() interface{}
GetPgn returns the Pgn field value if set, zero value otherwise (both if not set or set to explicit null).
func (*GameJson) GetPgnOk ¶
GetPgnOk returns a tuple with the Pgn field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*GameJson) GetPlayers ¶
func (o *GameJson) GetPlayers() GameJsonPlayers
GetPlayers returns the Players field value
func (*GameJson) GetPlayersOk ¶
func (o *GameJson) GetPlayersOk() (*GameJsonPlayers, bool)
GetPlayersOk returns a tuple with the Players field value and a boolean to check if the value has been set.
func (*GameJson) GetRated ¶
func (o *GameJson) GetRated() interface{}
GetRated returns the Rated field value If the value is explicit nil, the zero value for interface{} will be returned
func (*GameJson) GetRatedOk ¶
GetRatedOk returns a tuple with the Rated field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*GameJson) GetSpeedOk ¶
GetSpeedOk returns a tuple with the Speed field value and a boolean to check if the value has been set.
func (*GameJson) GetStatus ¶
func (o *GameJson) GetStatus() GameStatus
GetStatus returns the Status field value
func (*GameJson) GetStatusOk ¶
func (o *GameJson) GetStatusOk() (*GameStatus, bool)
GetStatusOk returns a tuple with the Status field value and a boolean to check if the value has been set.
func (*GameJson) GetSwiss ¶
func (o *GameJson) GetSwiss() interface{}
GetSwiss returns the Swiss field value if set, zero value otherwise (both if not set or set to explicit null).
func (*GameJson) GetSwissOk ¶
GetSwissOk returns a tuple with the Swiss field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*GameJson) GetTournament ¶
func (o *GameJson) GetTournament() interface{}
GetTournament returns the Tournament field value if set, zero value otherwise (both if not set or set to explicit null).
func (*GameJson) GetTournamentOk ¶
GetTournamentOk returns a tuple with the Tournament field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*GameJson) GetVariant ¶
func (o *GameJson) GetVariant() VariantKey
GetVariant returns the Variant field value
func (*GameJson) GetVariantOk ¶
func (o *GameJson) GetVariantOk() (*VariantKey, bool)
GetVariantOk returns a tuple with the Variant field value and a boolean to check if the value has been set.
func (*GameJson) GetWinner ¶
func (o *GameJson) GetWinner() interface{}
GetWinner returns the Winner field value if set, zero value otherwise (both if not set or set to explicit null).
func (*GameJson) GetWinnerOk ¶
GetWinnerOk returns a tuple with the Winner field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*GameJson) HasAnalysis ¶
HasAnalysis returns a boolean if a field has been set.
func (*GameJson) HasDaysPerTurn ¶
HasDaysPerTurn returns a boolean if a field has been set.
func (*GameJson) HasInitialFen ¶
HasInitialFen returns a boolean if a field has been set.
func (*GameJson) HasOpening ¶
HasOpening returns a boolean if a field has been set.
func (*GameJson) HasTournament ¶
HasTournament returns a boolean if a field has been set.
func (GameJson) MarshalJSON ¶
func (*GameJson) SetAnalysis ¶
func (o *GameJson) SetAnalysis(v interface{})
SetAnalysis gets a reference to the given interface{} and assigns it to the Analysis field.
func (*GameJson) SetClock ¶
func (o *GameJson) SetClock(v GameJsonClock)
SetClock gets a reference to the given GameJsonClock and assigns it to the Clock field.
func (*GameJson) SetCreatedAt ¶
func (o *GameJson) SetCreatedAt(v interface{})
SetCreatedAt sets field value
func (*GameJson) SetDaysPerTurn ¶
func (o *GameJson) SetDaysPerTurn(v interface{})
SetDaysPerTurn gets a reference to the given interface{} and assigns it to the DaysPerTurn field.
func (*GameJson) SetInitialFen ¶
func (o *GameJson) SetInitialFen(v interface{})
SetInitialFen gets a reference to the given interface{} and assigns it to the InitialFen field.
func (*GameJson) SetLastMoveAt ¶
func (o *GameJson) SetLastMoveAt(v interface{})
SetLastMoveAt sets field value
func (*GameJson) SetMoves ¶
func (o *GameJson) SetMoves(v interface{})
SetMoves gets a reference to the given interface{} and assigns it to the Moves field.
func (*GameJson) SetOpening ¶
func (o *GameJson) SetOpening(v GameJsonOpening)
SetOpening gets a reference to the given GameJsonOpening and assigns it to the Opening field.
func (*GameJson) SetPgn ¶
func (o *GameJson) SetPgn(v interface{})
SetPgn gets a reference to the given interface{} and assigns it to the Pgn field.
func (*GameJson) SetPlayers ¶
func (o *GameJson) SetPlayers(v GameJsonPlayers)
SetPlayers sets field value
func (*GameJson) SetSwiss ¶
func (o *GameJson) SetSwiss(v interface{})
SetSwiss gets a reference to the given interface{} and assigns it to the Swiss field.
func (*GameJson) SetTournament ¶
func (o *GameJson) SetTournament(v interface{})
SetTournament gets a reference to the given interface{} and assigns it to the Tournament field.
func (*GameJson) SetVariant ¶
func (o *GameJson) SetVariant(v VariantKey)
SetVariant sets field value
type GameJsonClock ¶
type GameJsonClock struct { Initial interface{} `json:"initial,omitempty"` Increment interface{} `json:"increment,omitempty"` TotalTime interface{} `json:"totalTime,omitempty"` }
GameJsonClock struct for GameJsonClock
func NewGameJsonClock ¶
func NewGameJsonClock() *GameJsonClock
NewGameJsonClock instantiates a new GameJsonClock object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewGameJsonClockWithDefaults ¶
func NewGameJsonClockWithDefaults() *GameJsonClock
NewGameJsonClockWithDefaults instantiates a new GameJsonClock object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*GameJsonClock) GetIncrement ¶
func (o *GameJsonClock) GetIncrement() interface{}
GetIncrement returns the Increment field value if set, zero value otherwise (both if not set or set to explicit null).
func (*GameJsonClock) GetIncrementOk ¶
func (o *GameJsonClock) GetIncrementOk() (*interface{}, bool)
GetIncrementOk returns a tuple with the Increment field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*GameJsonClock) GetInitial ¶
func (o *GameJsonClock) GetInitial() interface{}
GetInitial returns the Initial field value if set, zero value otherwise (both if not set or set to explicit null).
func (*GameJsonClock) GetInitialOk ¶
func (o *GameJsonClock) GetInitialOk() (*interface{}, bool)
GetInitialOk returns a tuple with the Initial field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*GameJsonClock) GetTotalTime ¶
func (o *GameJsonClock) GetTotalTime() interface{}
GetTotalTime returns the TotalTime field value if set, zero value otherwise (both if not set or set to explicit null).
func (*GameJsonClock) GetTotalTimeOk ¶
func (o *GameJsonClock) GetTotalTimeOk() (*interface{}, bool)
GetTotalTimeOk returns a tuple with the TotalTime field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*GameJsonClock) HasIncrement ¶
func (o *GameJsonClock) HasIncrement() bool
HasIncrement returns a boolean if a field has been set.
func (*GameJsonClock) HasInitial ¶
func (o *GameJsonClock) HasInitial() bool
HasInitial returns a boolean if a field has been set.
func (*GameJsonClock) HasTotalTime ¶
func (o *GameJsonClock) HasTotalTime() bool
HasTotalTime returns a boolean if a field has been set.
func (GameJsonClock) MarshalJSON ¶
func (o GameJsonClock) MarshalJSON() ([]byte, error)
func (*GameJsonClock) SetIncrement ¶
func (o *GameJsonClock) SetIncrement(v interface{})
SetIncrement gets a reference to the given interface{} and assigns it to the Increment field.
func (*GameJsonClock) SetInitial ¶
func (o *GameJsonClock) SetInitial(v interface{})
SetInitial gets a reference to the given interface{} and assigns it to the Initial field.
func (*GameJsonClock) SetTotalTime ¶
func (o *GameJsonClock) SetTotalTime(v interface{})
SetTotalTime gets a reference to the given interface{} and assigns it to the TotalTime field.
type GameJsonOpening ¶
type GameJsonOpening struct { Eco interface{} `json:"eco,omitempty"` Name interface{} `json:"name,omitempty"` Ply interface{} `json:"ply,omitempty"` }
GameJsonOpening struct for GameJsonOpening
func NewGameJsonOpening ¶
func NewGameJsonOpening() *GameJsonOpening
NewGameJsonOpening instantiates a new GameJsonOpening object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewGameJsonOpeningWithDefaults ¶
func NewGameJsonOpeningWithDefaults() *GameJsonOpening
NewGameJsonOpeningWithDefaults instantiates a new GameJsonOpening object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*GameJsonOpening) GetEco ¶
func (o *GameJsonOpening) GetEco() interface{}
GetEco returns the Eco field value if set, zero value otherwise (both if not set or set to explicit null).
func (*GameJsonOpening) GetEcoOk ¶
func (o *GameJsonOpening) GetEcoOk() (*interface{}, bool)
GetEcoOk returns a tuple with the Eco field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*GameJsonOpening) GetName ¶
func (o *GameJsonOpening) GetName() interface{}
GetName returns the Name field value if set, zero value otherwise (both if not set or set to explicit null).
func (*GameJsonOpening) GetNameOk ¶
func (o *GameJsonOpening) GetNameOk() (*interface{}, bool)
GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*GameJsonOpening) GetPly ¶
func (o *GameJsonOpening) GetPly() interface{}
GetPly returns the Ply field value if set, zero value otherwise (both if not set or set to explicit null).
func (*GameJsonOpening) GetPlyOk ¶
func (o *GameJsonOpening) GetPlyOk() (*interface{}, bool)
GetPlyOk returns a tuple with the Ply field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*GameJsonOpening) HasEco ¶
func (o *GameJsonOpening) HasEco() bool
HasEco returns a boolean if a field has been set.
func (*GameJsonOpening) HasName ¶
func (o *GameJsonOpening) HasName() bool
HasName returns a boolean if a field has been set.
func (*GameJsonOpening) HasPly ¶
func (o *GameJsonOpening) HasPly() bool
HasPly returns a boolean if a field has been set.
func (GameJsonOpening) MarshalJSON ¶
func (o GameJsonOpening) MarshalJSON() ([]byte, error)
func (*GameJsonOpening) SetEco ¶
func (o *GameJsonOpening) SetEco(v interface{})
SetEco gets a reference to the given interface{} and assigns it to the Eco field.
func (*GameJsonOpening) SetName ¶
func (o *GameJsonOpening) SetName(v interface{})
SetName gets a reference to the given interface{} and assigns it to the Name field.
func (*GameJsonOpening) SetPly ¶
func (o *GameJsonOpening) SetPly(v interface{})
SetPly gets a reference to the given interface{} and assigns it to the Ply field.
type GameJsonPlayers ¶
type GameJsonPlayers struct { White *GameUser `json:"white,omitempty"` Black *GameUser `json:"black,omitempty"` }
GameJsonPlayers struct for GameJsonPlayers
func NewGameJsonPlayers ¶
func NewGameJsonPlayers() *GameJsonPlayers
NewGameJsonPlayers instantiates a new GameJsonPlayers object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewGameJsonPlayersWithDefaults ¶
func NewGameJsonPlayersWithDefaults() *GameJsonPlayers
NewGameJsonPlayersWithDefaults instantiates a new GameJsonPlayers object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*GameJsonPlayers) GetBlack ¶
func (o *GameJsonPlayers) GetBlack() GameUser
GetBlack returns the Black field value if set, zero value otherwise.
func (*GameJsonPlayers) GetBlackOk ¶
func (o *GameJsonPlayers) GetBlackOk() (*GameUser, bool)
GetBlackOk returns a tuple with the Black field value if set, nil otherwise and a boolean to check if the value has been set.
func (*GameJsonPlayers) GetWhite ¶
func (o *GameJsonPlayers) GetWhite() GameUser
GetWhite returns the White field value if set, zero value otherwise.
func (*GameJsonPlayers) GetWhiteOk ¶
func (o *GameJsonPlayers) GetWhiteOk() (*GameUser, bool)
GetWhiteOk returns a tuple with the White field value if set, nil otherwise and a boolean to check if the value has been set.
func (*GameJsonPlayers) HasBlack ¶
func (o *GameJsonPlayers) HasBlack() bool
HasBlack returns a boolean if a field has been set.
func (*GameJsonPlayers) HasWhite ¶
func (o *GameJsonPlayers) HasWhite() bool
HasWhite returns a boolean if a field has been set.
func (GameJsonPlayers) MarshalJSON ¶
func (o GameJsonPlayers) MarshalJSON() ([]byte, error)
func (*GameJsonPlayers) SetBlack ¶
func (o *GameJsonPlayers) SetBlack(v GameUser)
SetBlack gets a reference to the given GameUser and assigns it to the Black field.
func (*GameJsonPlayers) SetWhite ¶
func (o *GameJsonPlayers) SetWhite(v GameUser)
SetWhite gets a reference to the given GameUser and assigns it to the White field.
type GameStartEvent ¶
type GameStartEvent struct { Type interface{} `json:"type,omitempty"` Game *GameEventInfo `json:"game,omitempty"` }
GameStartEvent struct for GameStartEvent
func NewGameStartEvent ¶
func NewGameStartEvent() *GameStartEvent
NewGameStartEvent instantiates a new GameStartEvent object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewGameStartEventWithDefaults ¶
func NewGameStartEventWithDefaults() *GameStartEvent
NewGameStartEventWithDefaults instantiates a new GameStartEvent object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*GameStartEvent) GetGame ¶
func (o *GameStartEvent) GetGame() GameEventInfo
GetGame returns the Game field value if set, zero value otherwise.
func (*GameStartEvent) GetGameOk ¶
func (o *GameStartEvent) GetGameOk() (*GameEventInfo, bool)
GetGameOk returns a tuple with the Game field value if set, nil otherwise and a boolean to check if the value has been set.
func (*GameStartEvent) GetType ¶
func (o *GameStartEvent) GetType() interface{}
GetType returns the Type field value if set, zero value otherwise (both if not set or set to explicit null).
func (*GameStartEvent) GetTypeOk ¶
func (o *GameStartEvent) GetTypeOk() (*interface{}, bool)
GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*GameStartEvent) HasGame ¶
func (o *GameStartEvent) HasGame() bool
HasGame returns a boolean if a field has been set.
func (*GameStartEvent) HasType ¶
func (o *GameStartEvent) HasType() bool
HasType returns a boolean if a field has been set.
func (GameStartEvent) MarshalJSON ¶
func (o GameStartEvent) MarshalJSON() ([]byte, error)
func (*GameStartEvent) SetGame ¶
func (o *GameStartEvent) SetGame(v GameEventInfo)
SetGame gets a reference to the given GameEventInfo and assigns it to the Game field.
func (*GameStartEvent) SetType ¶
func (o *GameStartEvent) SetType(v interface{})
SetType gets a reference to the given interface{} and assigns it to the Type field.
type GameStateEvent ¶
type GameStateEvent struct { Type interface{} `json:"type"` // Current moves in UCI format Moves interface{} `json:"moves"` // Integer of milliseconds White has left on the clock Wtime interface{} `json:"wtime"` // Integer of milliseconds Black has left on the clock Btime interface{} `json:"btime"` // Integer of White Fisher increment. Winc interface{} `json:"winc"` // Integer of Black Fisher increment. Binc interface{} `json:"binc"` Status GameStatus `json:"status"` // Color of the winner, if any Winner interface{} `json:"winner,omitempty"` // true if white is offering draw, else omitted Wdraw interface{} `json:"wdraw,omitempty"` // true if black is offering draw, else omitted Bdraw interface{} `json:"bdraw,omitempty"` // true if white is proposing takeback, else omitted Wtakeback interface{} `json:"wtakeback,omitempty"` // true if black is proposing takeback, else omitted Btakeback interface{} `json:"btakeback,omitempty"` }
GameStateEvent struct for GameStateEvent
func NewGameStateEvent ¶
func NewGameStateEvent(type_ interface{}, moves interface{}, wtime interface{}, btime interface{}, winc interface{}, binc interface{}, status GameStatus) *GameStateEvent
NewGameStateEvent instantiates a new GameStateEvent object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewGameStateEventWithDefaults ¶
func NewGameStateEventWithDefaults() *GameStateEvent
NewGameStateEventWithDefaults instantiates a new GameStateEvent object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*GameStateEvent) GetBdraw ¶
func (o *GameStateEvent) GetBdraw() interface{}
GetBdraw returns the Bdraw field value if set, zero value otherwise (both if not set or set to explicit null).
func (*GameStateEvent) GetBdrawOk ¶
func (o *GameStateEvent) GetBdrawOk() (*interface{}, bool)
GetBdrawOk returns a tuple with the Bdraw field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*GameStateEvent) GetBinc ¶
func (o *GameStateEvent) GetBinc() interface{}
GetBinc returns the Binc field value If the value is explicit nil, the zero value for interface{} will be returned
func (*GameStateEvent) GetBincOk ¶
func (o *GameStateEvent) GetBincOk() (*interface{}, bool)
GetBincOk returns a tuple with the Binc field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*GameStateEvent) GetBtakeback ¶
func (o *GameStateEvent) GetBtakeback() interface{}
GetBtakeback returns the Btakeback field value if set, zero value otherwise (both if not set or set to explicit null).
func (*GameStateEvent) GetBtakebackOk ¶
func (o *GameStateEvent) GetBtakebackOk() (*interface{}, bool)
GetBtakebackOk returns a tuple with the Btakeback field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*GameStateEvent) GetBtime ¶
func (o *GameStateEvent) GetBtime() interface{}
GetBtime returns the Btime field value If the value is explicit nil, the zero value for interface{} will be returned
func (*GameStateEvent) GetBtimeOk ¶
func (o *GameStateEvent) GetBtimeOk() (*interface{}, bool)
GetBtimeOk returns a tuple with the Btime field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*GameStateEvent) GetMoves ¶
func (o *GameStateEvent) GetMoves() interface{}
GetMoves returns the Moves field value If the value is explicit nil, the zero value for interface{} will be returned
func (*GameStateEvent) GetMovesOk ¶
func (o *GameStateEvent) GetMovesOk() (*interface{}, bool)
GetMovesOk returns a tuple with the Moves field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*GameStateEvent) GetStatus ¶
func (o *GameStateEvent) GetStatus() GameStatus
GetStatus returns the Status field value
func (*GameStateEvent) GetStatusOk ¶
func (o *GameStateEvent) GetStatusOk() (*GameStatus, bool)
GetStatusOk returns a tuple with the Status field value and a boolean to check if the value has been set.
func (*GameStateEvent) GetType ¶
func (o *GameStateEvent) GetType() interface{}
GetType returns the Type field value If the value is explicit nil, the zero value for interface{} will be returned
func (*GameStateEvent) GetTypeOk ¶
func (o *GameStateEvent) GetTypeOk() (*interface{}, bool)
GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*GameStateEvent) GetWdraw ¶
func (o *GameStateEvent) GetWdraw() interface{}
GetWdraw returns the Wdraw field value if set, zero value otherwise (both if not set or set to explicit null).
func (*GameStateEvent) GetWdrawOk ¶
func (o *GameStateEvent) GetWdrawOk() (*interface{}, bool)
GetWdrawOk returns a tuple with the Wdraw field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*GameStateEvent) GetWinc ¶
func (o *GameStateEvent) GetWinc() interface{}
GetWinc returns the Winc field value If the value is explicit nil, the zero value for interface{} will be returned
func (*GameStateEvent) GetWincOk ¶
func (o *GameStateEvent) GetWincOk() (*interface{}, bool)
GetWincOk returns a tuple with the Winc field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*GameStateEvent) GetWinner ¶
func (o *GameStateEvent) GetWinner() interface{}
GetWinner returns the Winner field value if set, zero value otherwise (both if not set or set to explicit null).
func (*GameStateEvent) GetWinnerOk ¶
func (o *GameStateEvent) GetWinnerOk() (*interface{}, bool)
GetWinnerOk returns a tuple with the Winner field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*GameStateEvent) GetWtakeback ¶
func (o *GameStateEvent) GetWtakeback() interface{}
GetWtakeback returns the Wtakeback field value if set, zero value otherwise (both if not set or set to explicit null).
func (*GameStateEvent) GetWtakebackOk ¶
func (o *GameStateEvent) GetWtakebackOk() (*interface{}, bool)
GetWtakebackOk returns a tuple with the Wtakeback field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*GameStateEvent) GetWtime ¶
func (o *GameStateEvent) GetWtime() interface{}
GetWtime returns the Wtime field value If the value is explicit nil, the zero value for interface{} will be returned
func (*GameStateEvent) GetWtimeOk ¶
func (o *GameStateEvent) GetWtimeOk() (*interface{}, bool)
GetWtimeOk returns a tuple with the Wtime field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*GameStateEvent) HasBdraw ¶
func (o *GameStateEvent) HasBdraw() bool
HasBdraw returns a boolean if a field has been set.
func (*GameStateEvent) HasBtakeback ¶
func (o *GameStateEvent) HasBtakeback() bool
HasBtakeback returns a boolean if a field has been set.
func (*GameStateEvent) HasWdraw ¶
func (o *GameStateEvent) HasWdraw() bool
HasWdraw returns a boolean if a field has been set.
func (*GameStateEvent) HasWinner ¶
func (o *GameStateEvent) HasWinner() bool
HasWinner returns a boolean if a field has been set.
func (*GameStateEvent) HasWtakeback ¶
func (o *GameStateEvent) HasWtakeback() bool
HasWtakeback returns a boolean if a field has been set.
func (GameStateEvent) MarshalJSON ¶
func (o GameStateEvent) MarshalJSON() ([]byte, error)
func (*GameStateEvent) SetBdraw ¶
func (o *GameStateEvent) SetBdraw(v interface{})
SetBdraw gets a reference to the given interface{} and assigns it to the Bdraw field.
func (*GameStateEvent) SetBinc ¶
func (o *GameStateEvent) SetBinc(v interface{})
SetBinc sets field value
func (*GameStateEvent) SetBtakeback ¶
func (o *GameStateEvent) SetBtakeback(v interface{})
SetBtakeback gets a reference to the given interface{} and assigns it to the Btakeback field.
func (*GameStateEvent) SetBtime ¶
func (o *GameStateEvent) SetBtime(v interface{})
SetBtime sets field value
func (*GameStateEvent) SetMoves ¶
func (o *GameStateEvent) SetMoves(v interface{})
SetMoves sets field value
func (*GameStateEvent) SetStatus ¶
func (o *GameStateEvent) SetStatus(v GameStatus)
SetStatus sets field value
func (*GameStateEvent) SetType ¶
func (o *GameStateEvent) SetType(v interface{})
SetType sets field value
func (*GameStateEvent) SetWdraw ¶
func (o *GameStateEvent) SetWdraw(v interface{})
SetWdraw gets a reference to the given interface{} and assigns it to the Wdraw field.
func (*GameStateEvent) SetWinc ¶
func (o *GameStateEvent) SetWinc(v interface{})
SetWinc sets field value
func (*GameStateEvent) SetWinner ¶
func (o *GameStateEvent) SetWinner(v interface{})
SetWinner gets a reference to the given interface{} and assigns it to the Winner field.
func (*GameStateEvent) SetWtakeback ¶
func (o *GameStateEvent) SetWtakeback(v interface{})
SetWtakeback gets a reference to the given interface{} and assigns it to the Wtakeback field.
func (*GameStateEvent) SetWtime ¶
func (o *GameStateEvent) SetWtime(v interface{})
SetWtime sets field value
type GameStatus ¶
type GameStatus struct { }
GameStatus Game status code. https://github.com/ornicar/scalachess/blob/0a7d6f2c63b1ca06cd3c958ed3264e738af5c5f6/src/main/scala/Status.scala#L16-L28
func NewGameStatus ¶
func NewGameStatus() *GameStatus
NewGameStatus instantiates a new GameStatus object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewGameStatusWithDefaults ¶
func NewGameStatusWithDefaults() *GameStatus
NewGameStatusWithDefaults instantiates a new GameStatus object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (GameStatus) MarshalJSON ¶
func (o GameStatus) MarshalJSON() ([]byte, error)
type GameUser ¶
type GameUser struct { User *LightUser `json:"user,omitempty"` Rating interface{} `json:"rating,omitempty"` RatingDiff interface{} `json:"ratingDiff,omitempty"` Name interface{} `json:"name,omitempty"` Provisional interface{} `json:"provisional,omitempty"` AiLevel interface{} `json:"aiLevel,omitempty"` Analysis *GameUserAnalysis `json:"analysis,omitempty"` Team interface{} `json:"team,omitempty"` }
GameUser struct for GameUser
func NewGameUser ¶
func NewGameUser() *GameUser
NewGameUser instantiates a new GameUser object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewGameUserWithDefaults ¶
func NewGameUserWithDefaults() *GameUser
NewGameUserWithDefaults instantiates a new GameUser object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*GameUser) GetAiLevel ¶
func (o *GameUser) GetAiLevel() interface{}
GetAiLevel returns the AiLevel field value if set, zero value otherwise (both if not set or set to explicit null).
func (*GameUser) GetAiLevelOk ¶
GetAiLevelOk returns a tuple with the AiLevel field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*GameUser) GetAnalysis ¶
func (o *GameUser) GetAnalysis() GameUserAnalysis
GetAnalysis returns the Analysis field value if set, zero value otherwise.
func (*GameUser) GetAnalysisOk ¶
func (o *GameUser) GetAnalysisOk() (*GameUserAnalysis, bool)
GetAnalysisOk returns a tuple with the Analysis field value if set, nil otherwise and a boolean to check if the value has been set.
func (*GameUser) GetName ¶
func (o *GameUser) GetName() interface{}
GetName returns the Name field value if set, zero value otherwise (both if not set or set to explicit null).
func (*GameUser) GetNameOk ¶
GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*GameUser) GetProvisional ¶
func (o *GameUser) GetProvisional() interface{}
GetProvisional returns the Provisional field value if set, zero value otherwise (both if not set or set to explicit null).
func (*GameUser) GetProvisionalOk ¶
GetProvisionalOk returns a tuple with the Provisional field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*GameUser) GetRating ¶
func (o *GameUser) GetRating() interface{}
GetRating returns the Rating field value if set, zero value otherwise (both if not set or set to explicit null).
func (*GameUser) GetRatingDiff ¶
func (o *GameUser) GetRatingDiff() interface{}
GetRatingDiff returns the RatingDiff field value if set, zero value otherwise (both if not set or set to explicit null).
func (*GameUser) GetRatingDiffOk ¶
GetRatingDiffOk returns a tuple with the RatingDiff field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*GameUser) GetRatingOk ¶
GetRatingOk returns a tuple with the Rating field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*GameUser) GetTeam ¶
func (o *GameUser) GetTeam() interface{}
GetTeam returns the Team field value if set, zero value otherwise (both if not set or set to explicit null).
func (*GameUser) GetTeamOk ¶
GetTeamOk returns a tuple with the Team field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*GameUser) GetUserOk ¶
GetUserOk returns a tuple with the User field value if set, nil otherwise and a boolean to check if the value has been set.
func (*GameUser) HasAiLevel ¶
HasAiLevel returns a boolean if a field has been set.
func (*GameUser) HasAnalysis ¶
HasAnalysis returns a boolean if a field has been set.
func (*GameUser) HasProvisional ¶
HasProvisional returns a boolean if a field has been set.
func (*GameUser) HasRatingDiff ¶
HasRatingDiff returns a boolean if a field has been set.
func (GameUser) MarshalJSON ¶
func (*GameUser) SetAiLevel ¶
func (o *GameUser) SetAiLevel(v interface{})
SetAiLevel gets a reference to the given interface{} and assigns it to the AiLevel field.
func (*GameUser) SetAnalysis ¶
func (o *GameUser) SetAnalysis(v GameUserAnalysis)
SetAnalysis gets a reference to the given GameUserAnalysis and assigns it to the Analysis field.
func (*GameUser) SetName ¶
func (o *GameUser) SetName(v interface{})
SetName gets a reference to the given interface{} and assigns it to the Name field.
func (*GameUser) SetProvisional ¶
func (o *GameUser) SetProvisional(v interface{})
SetProvisional gets a reference to the given interface{} and assigns it to the Provisional field.
func (*GameUser) SetRating ¶
func (o *GameUser) SetRating(v interface{})
SetRating gets a reference to the given interface{} and assigns it to the Rating field.
func (*GameUser) SetRatingDiff ¶
func (o *GameUser) SetRatingDiff(v interface{})
SetRatingDiff gets a reference to the given interface{} and assigns it to the RatingDiff field.
type GameUserAnalysis ¶
type GameUserAnalysis struct { Inaccuracy interface{} `json:"inaccuracy"` Mistake interface{} `json:"mistake"` Blunder interface{} `json:"blunder"` Acpl interface{} `json:"acpl"` }
GameUserAnalysis struct for GameUserAnalysis
func NewGameUserAnalysis ¶
func NewGameUserAnalysis(inaccuracy interface{}, mistake interface{}, blunder interface{}, acpl interface{}) *GameUserAnalysis
NewGameUserAnalysis instantiates a new GameUserAnalysis object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewGameUserAnalysisWithDefaults ¶
func NewGameUserAnalysisWithDefaults() *GameUserAnalysis
NewGameUserAnalysisWithDefaults instantiates a new GameUserAnalysis object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*GameUserAnalysis) GetAcpl ¶
func (o *GameUserAnalysis) GetAcpl() interface{}
GetAcpl returns the Acpl field value If the value is explicit nil, the zero value for interface{} will be returned
func (*GameUserAnalysis) GetAcplOk ¶
func (o *GameUserAnalysis) GetAcplOk() (*interface{}, bool)
GetAcplOk returns a tuple with the Acpl field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*GameUserAnalysis) GetBlunder ¶
func (o *GameUserAnalysis) GetBlunder() interface{}
GetBlunder returns the Blunder field value If the value is explicit nil, the zero value for interface{} will be returned
func (*GameUserAnalysis) GetBlunderOk ¶
func (o *GameUserAnalysis) GetBlunderOk() (*interface{}, bool)
GetBlunderOk returns a tuple with the Blunder field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*GameUserAnalysis) GetInaccuracy ¶
func (o *GameUserAnalysis) GetInaccuracy() interface{}
GetInaccuracy returns the Inaccuracy field value If the value is explicit nil, the zero value for interface{} will be returned
func (*GameUserAnalysis) GetInaccuracyOk ¶
func (o *GameUserAnalysis) GetInaccuracyOk() (*interface{}, bool)
GetInaccuracyOk returns a tuple with the Inaccuracy field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*GameUserAnalysis) GetMistake ¶
func (o *GameUserAnalysis) GetMistake() interface{}
GetMistake returns the Mistake field value If the value is explicit nil, the zero value for interface{} will be returned
func (*GameUserAnalysis) GetMistakeOk ¶
func (o *GameUserAnalysis) GetMistakeOk() (*interface{}, bool)
GetMistakeOk returns a tuple with the Mistake field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (GameUserAnalysis) MarshalJSON ¶
func (o GameUserAnalysis) MarshalJSON() ([]byte, error)
func (*GameUserAnalysis) SetAcpl ¶
func (o *GameUserAnalysis) SetAcpl(v interface{})
SetAcpl sets field value
func (*GameUserAnalysis) SetBlunder ¶
func (o *GameUserAnalysis) SetBlunder(v interface{})
SetBlunder sets field value
func (*GameUserAnalysis) SetInaccuracy ¶
func (o *GameUserAnalysis) SetInaccuracy(v interface{})
SetInaccuracy sets field value
func (*GameUserAnalysis) SetMistake ¶
func (o *GameUserAnalysis) SetMistake(v interface{})
SetMistake sets field value
type GamesApiService ¶
type GamesApiService service
GamesApiService GamesApi service
func (*GamesApiService) ApiAccountPlaying ¶
func (a *GamesApiService) ApiAccountPlaying(ctx context.Context) ApiApiAccountPlayingRequest
ApiAccountPlaying Get my ongoing games
Get the ongoing games of the current user. Real-time and correspondence games are included. The most urgent games are listed first.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiApiAccountPlayingRequest
func (*GamesApiService) ApiAccountPlayingExecute ¶
func (a *GamesApiService) ApiAccountPlayingExecute(r ApiApiAccountPlayingRequest) (interface{}, *http.Response, error)
Execute executes the request
@return interface{}
func (*GamesApiService) ApiGamesUser ¶
func (a *GamesApiService) ApiGamesUser(ctx context.Context, username interface{}) ApiApiGamesUserRequest
ApiGamesUser Export games of a user
Download all games of any user in PGN or [ndjson](#section/Introduction/Streaming-with-ND-JSON) format.
Games are sorted by reverse chronological order (most recent first).
We recommend streaming the response, for it can be very long. <https://lichess.org/@/german11> for instance has more than 500,000 games.
The game stream is throttled, depending on who is making the request:
Anonymous request: 20 games per second
[OAuth2 authenticated](#section/Authentication) request: 30 games per second
Authenticated, downloading your own games: 60 games per second
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param username The user name. @return ApiApiGamesUserRequest
func (*GamesApiService) ApiGamesUserExecute ¶
func (a *GamesApiService) ApiGamesUserExecute(r ApiApiGamesUserRequest) (interface{}, *http.Response, error)
Execute executes the request
@return interface{}
func (*GamesApiService) ApiUserCurrentGame ¶
func (a *GamesApiService) ApiUserCurrentGame(ctx context.Context, username interface{}) ApiApiUserCurrentGameRequest
ApiUserCurrentGame Export ongoing game of a user
Download the ongoing game, or the last game played, of a user. Available in either PGN or JSON format. If the game is ongoing, the 3 last moves are omitted.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param username @return ApiApiUserCurrentGameRequest
func (*GamesApiService) ApiUserCurrentGameExecute ¶
func (a *GamesApiService) ApiUserCurrentGameExecute(r ApiApiUserCurrentGameRequest) (interface{}, *http.Response, error)
Execute executes the request
@return interface{}
func (*GamesApiService) GameImport ¶
func (a *GamesApiService) GameImport(ctx context.Context) ApiGameImportRequest
GameImport Import one game
Import a game from PGN. See <https://lichess.org/paste>.
Rate limiting: 200 games per hour for OAuth requests, 100 games per hour for anonymous requests.
To broadcast ongoing games, consider [pushing to a broadcast instead](#operation/broadcastPush).
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiGameImportRequest
func (*GamesApiService) GameImportExecute ¶
func (a *GamesApiService) GameImportExecute(r ApiGameImportRequest) (interface{}, *http.Response, error)
Execute executes the request
@return interface{}
func (*GamesApiService) GamePgn ¶
func (a *GamesApiService) GamePgn(ctx context.Context, gameId interface{}) ApiGamePgnRequest
GamePgn Export one game
Download one game in either PGN or JSON format.
Ongoing games have their last 3 moves omitted, after move 5.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param gameId The game ID (8 characters). @return ApiGamePgnRequest
func (*GamesApiService) GamePgnExecute ¶
func (a *GamesApiService) GamePgnExecute(r ApiGamePgnRequest) (interface{}, *http.Response, error)
Execute executes the request
@return interface{}
func (*GamesApiService) GamesByIds ¶
func (a *GamesApiService) GamesByIds(ctx context.Context, streamId interface{}) ApiGamesByIdsRequest
GamesByIds Stream games by IDs
Creates a stream of games from an arbitrary streamId, and a list of game IDs.
The stream first outputs the games that already exists, then emits an event each time a game is started or finished.
Games are streamed as [ndjson](#section/Introduction/Streaming-with-ND-JSON).
Maximum number of games: 500 for anonymous requests, or 1000 for [OAuth2 authenticated](#section/Authentication) requests.
While the stream is open, it is possible to [add new game IDs to watch](#operation/gamesByIdsAdd).
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param streamId @return ApiGamesByIdsRequest
func (*GamesApiService) GamesByIdsAdd ¶
func (a *GamesApiService) GamesByIdsAdd(ctx context.Context, streamId interface{}) ApiGamesByIdsAddRequest
GamesByIdsAdd Add game IDs to stream
Add new game IDs for [an existing stream](#operation/gamesByIds) to watch. The stream will immediately outputs the games that already exists, then emit an event each time a game is started or finished.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param streamId @return ApiGamesByIdsAddRequest
func (*GamesApiService) GamesByIdsAddExecute ¶
func (a *GamesApiService) GamesByIdsAddExecute(r ApiGamesByIdsAddRequest) (*Ok, *http.Response, error)
Execute executes the request
@return Ok
func (*GamesApiService) GamesByIdsExecute ¶
func (a *GamesApiService) GamesByIdsExecute(r ApiGamesByIdsRequest) (interface{}, *http.Response, error)
Execute executes the request
@return interface{}
func (*GamesApiService) GamesByUsers ¶
func (a *GamesApiService) GamesByUsers(ctx context.Context) ApiGamesByUsersRequest
GamesByUsers Stream games of users
Stream the games played between a list of users, in real time. Only games where **both players** are part of the list are included.
The stream emits an event each time a game is started or finished.
To also get all current ongoing games at the beginning of the stream, use the `withCurrentGames` flag.
Games are streamed as [ndjson](#section/Introduction/Streaming-with-ND-JSON).
Maximum number of users: 300.
The method is `POST` so a longer list of IDs can be sent in the request body.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiGamesByUsersRequest
func (*GamesApiService) GamesByUsersExecute ¶
func (a *GamesApiService) GamesByUsersExecute(r ApiGamesByUsersRequest) (interface{}, *http.Response, error)
Execute executes the request
@return interface{}
func (*GamesApiService) GamesExportIds ¶
func (a *GamesApiService) GamesExportIds(ctx context.Context) ApiGamesExportIdsRequest
GamesExportIds Export games by IDs
Download games by IDs in PGN or [ndjson](#section/Introduction/Streaming-with-ND-JSON) format, depending on the request Accept header.
Games are sorted by reverse chronological order (most recent first)
The method is `POST` so a longer list of IDs can be sent in the request body.
300 IDs can be submitted.
Ongoing games have their last 3 moves omitted, after move 5.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiGamesExportIdsRequest
func (*GamesApiService) GamesExportIdsExecute ¶
func (a *GamesApiService) GamesExportIdsExecute(r ApiGamesExportIdsRequest) (interface{}, *http.Response, error)
Execute executes the request
@return interface{}
func (*GamesApiService) StreamGame ¶
func (a *GamesApiService) StreamGame(ctx context.Context, id interface{}) ApiStreamGameRequest
StreamGame Stream moves of a game
Stream positions and moves of any ongoing game, in [ndjson](#section/Introduction/Streaming-with-ND-JSON).
A description of the game is sent as a first message. Then a message is sent each time a move is played. Finally a description of the game is sent when it finishes, and the stream is closed.
After move 5, the stream intentionally remains 3 moves behind the game status, as to prevent cheat bots from using this API.
No more than 8 game streams can be opened at the same time from the same IP address.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param id @return ApiStreamGameRequest
func (*GamesApiService) StreamGameExecute ¶
func (a *GamesApiService) StreamGameExecute(r ApiStreamGameRequest) (interface{}, *http.Response, error)
Execute executes the request
@return interface{}
type GenericOpenAPIError ¶
type GenericOpenAPIError struct {
// contains filtered or unexported fields
}
GenericOpenAPIError Provides access to the body, error and model on returned errors.
func (GenericOpenAPIError) Body ¶
func (e GenericOpenAPIError) Body() []byte
Body returns the raw bytes of the response
func (GenericOpenAPIError) Error ¶
func (e GenericOpenAPIError) Error() string
Error returns non-empty string if there was an error.
func (GenericOpenAPIError) Model ¶
func (e GenericOpenAPIError) Model() interface{}
Model returns the unpacked model of the error
type LightUser ¶
type LightUser struct { Name interface{} `json:"name,omitempty"` Title interface{} `json:"title,omitempty"` Patron interface{} `json:"patron,omitempty"` Id interface{} `json:"id,omitempty"` }
LightUser struct for LightUser
func NewLightUser ¶
func NewLightUser() *LightUser
NewLightUser instantiates a new LightUser object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewLightUserWithDefaults ¶
func NewLightUserWithDefaults() *LightUser
NewLightUserWithDefaults instantiates a new LightUser object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*LightUser) GetId ¶
func (o *LightUser) GetId() interface{}
GetId returns the Id field value if set, zero value otherwise (both if not set or set to explicit null).
func (*LightUser) GetIdOk ¶
GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*LightUser) GetName ¶
func (o *LightUser) GetName() interface{}
GetName returns the Name field value if set, zero value otherwise (both if not set or set to explicit null).
func (*LightUser) GetNameOk ¶
GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*LightUser) GetPatron ¶
func (o *LightUser) GetPatron() interface{}
GetPatron returns the Patron field value if set, zero value otherwise (both if not set or set to explicit null).
func (*LightUser) GetPatronOk ¶
GetPatronOk returns a tuple with the Patron field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*LightUser) GetTitle ¶
func (o *LightUser) GetTitle() interface{}
GetTitle returns the Title field value if set, zero value otherwise (both if not set or set to explicit null).
func (*LightUser) GetTitleOk ¶
GetTitleOk returns a tuple with the Title field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (LightUser) MarshalJSON ¶
func (*LightUser) SetId ¶
func (o *LightUser) SetId(v interface{})
SetId gets a reference to the given interface{} and assigns it to the Id field.
func (*LightUser) SetName ¶
func (o *LightUser) SetName(v interface{})
SetName gets a reference to the given interface{} and assigns it to the Name field.
type MessagingApiService ¶
type MessagingApiService service
MessagingApiService MessagingApi service
func (*MessagingApiService) InboxUsername ¶
func (a *MessagingApiService) InboxUsername(ctx context.Context, username interface{}) ApiInboxUsernameRequest
InboxUsername Send a private message
Send a private message to another player.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param username @return ApiInboxUsernameRequest
func (*MessagingApiService) InboxUsernameExecute ¶
func (a *MessagingApiService) InboxUsernameExecute(r ApiInboxUsernameRequest) (*Ok, *http.Response, error)
Execute executes the request
@return Ok
type Move ¶
type Move struct { Uci interface{} `json:"uci,omitempty"` San interface{} `json:"san,omitempty"` Category interface{} `json:"category,omitempty"` // DTZ50” with rounding or null if unknown Dtz interface{} `json:"dtz,omitempty"` // DTZ50” (only if guaranteed to be not rounded) or null if unknown PreciseDtz interface{} `json:"precise_dtz,omitempty"` // Distance to mate (only for positions with not more than 5 pieces) Dtm interface{} `json:"dtm,omitempty"` Zeroing interface{} `json:"zeroing,omitempty"` Checkmate interface{} `json:"checkmate,omitempty"` Stalemate interface{} `json:"stalemate,omitempty"` VariantWin interface{} `json:"variant_win,omitempty"` VariantLoss interface{} `json:"variant_loss,omitempty"` InsufficientMaterial interface{} `json:"insufficient_material,omitempty"` }
Move struct for Move
func NewMove ¶
func NewMove() *Move
NewMove instantiates a new Move object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewMoveWithDefaults ¶
func NewMoveWithDefaults() *Move
NewMoveWithDefaults instantiates a new Move object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*Move) GetCategory ¶
func (o *Move) GetCategory() interface{}
GetCategory returns the Category field value if set, zero value otherwise (both if not set or set to explicit null).
func (*Move) GetCategoryOk ¶
GetCategoryOk returns a tuple with the Category field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*Move) GetCheckmate ¶
func (o *Move) GetCheckmate() interface{}
GetCheckmate returns the Checkmate field value if set, zero value otherwise (both if not set or set to explicit null).
func (*Move) GetCheckmateOk ¶
GetCheckmateOk returns a tuple with the Checkmate field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*Move) GetDtm ¶
func (o *Move) GetDtm() interface{}
GetDtm returns the Dtm field value if set, zero value otherwise (both if not set or set to explicit null).
func (*Move) GetDtmOk ¶
GetDtmOk returns a tuple with the Dtm field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*Move) GetDtz ¶
func (o *Move) GetDtz() interface{}
GetDtz returns the Dtz field value if set, zero value otherwise (both if not set or set to explicit null).
func (*Move) GetDtzOk ¶
GetDtzOk returns a tuple with the Dtz field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*Move) GetInsufficientMaterial ¶
func (o *Move) GetInsufficientMaterial() interface{}
GetInsufficientMaterial returns the InsufficientMaterial field value if set, zero value otherwise (both if not set or set to explicit null).
func (*Move) GetInsufficientMaterialOk ¶
GetInsufficientMaterialOk returns a tuple with the InsufficientMaterial field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*Move) GetPreciseDtz ¶
func (o *Move) GetPreciseDtz() interface{}
GetPreciseDtz returns the PreciseDtz field value if set, zero value otherwise (both if not set or set to explicit null).
func (*Move) GetPreciseDtzOk ¶
GetPreciseDtzOk returns a tuple with the PreciseDtz field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*Move) GetSan ¶
func (o *Move) GetSan() interface{}
GetSan returns the San field value if set, zero value otherwise (both if not set or set to explicit null).
func (*Move) GetSanOk ¶
GetSanOk returns a tuple with the San field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*Move) GetStalemate ¶
func (o *Move) GetStalemate() interface{}
GetStalemate returns the Stalemate field value if set, zero value otherwise (both if not set or set to explicit null).
func (*Move) GetStalemateOk ¶
GetStalemateOk returns a tuple with the Stalemate field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*Move) GetUci ¶
func (o *Move) GetUci() interface{}
GetUci returns the Uci field value if set, zero value otherwise (both if not set or set to explicit null).
func (*Move) GetUciOk ¶
GetUciOk returns a tuple with the Uci field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*Move) GetVariantLoss ¶
func (o *Move) GetVariantLoss() interface{}
GetVariantLoss returns the VariantLoss field value if set, zero value otherwise (both if not set or set to explicit null).
func (*Move) GetVariantLossOk ¶
GetVariantLossOk returns a tuple with the VariantLoss field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*Move) GetVariantWin ¶
func (o *Move) GetVariantWin() interface{}
GetVariantWin returns the VariantWin field value if set, zero value otherwise (both if not set or set to explicit null).
func (*Move) GetVariantWinOk ¶
GetVariantWinOk returns a tuple with the VariantWin field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*Move) GetZeroing ¶
func (o *Move) GetZeroing() interface{}
GetZeroing returns the Zeroing field value if set, zero value otherwise (both if not set or set to explicit null).
func (*Move) GetZeroingOk ¶
GetZeroingOk returns a tuple with the Zeroing field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*Move) HasCategory ¶
HasCategory returns a boolean if a field has been set.
func (*Move) HasCheckmate ¶
HasCheckmate returns a boolean if a field has been set.
func (*Move) HasInsufficientMaterial ¶
HasInsufficientMaterial returns a boolean if a field has been set.
func (*Move) HasPreciseDtz ¶
HasPreciseDtz returns a boolean if a field has been set.
func (*Move) HasStalemate ¶
HasStalemate returns a boolean if a field has been set.
func (*Move) HasVariantLoss ¶
HasVariantLoss returns a boolean if a field has been set.
func (*Move) HasVariantWin ¶
HasVariantWin returns a boolean if a field has been set.
func (*Move) HasZeroing ¶
HasZeroing returns a boolean if a field has been set.
func (Move) MarshalJSON ¶
func (*Move) SetCategory ¶
func (o *Move) SetCategory(v interface{})
SetCategory gets a reference to the given interface{} and assigns it to the Category field.
func (*Move) SetCheckmate ¶
func (o *Move) SetCheckmate(v interface{})
SetCheckmate gets a reference to the given interface{} and assigns it to the Checkmate field.
func (*Move) SetDtm ¶
func (o *Move) SetDtm(v interface{})
SetDtm gets a reference to the given interface{} and assigns it to the Dtm field.
func (*Move) SetDtz ¶
func (o *Move) SetDtz(v interface{})
SetDtz gets a reference to the given interface{} and assigns it to the Dtz field.
func (*Move) SetInsufficientMaterial ¶
func (o *Move) SetInsufficientMaterial(v interface{})
SetInsufficientMaterial gets a reference to the given interface{} and assigns it to the InsufficientMaterial field.
func (*Move) SetPreciseDtz ¶
func (o *Move) SetPreciseDtz(v interface{})
SetPreciseDtz gets a reference to the given interface{} and assigns it to the PreciseDtz field.
func (*Move) SetSan ¶
func (o *Move) SetSan(v interface{})
SetSan gets a reference to the given interface{} and assigns it to the San field.
func (*Move) SetStalemate ¶
func (o *Move) SetStalemate(v interface{})
SetStalemate gets a reference to the given interface{} and assigns it to the Stalemate field.
func (*Move) SetUci ¶
func (o *Move) SetUci(v interface{})
SetUci gets a reference to the given interface{} and assigns it to the Uci field.
func (*Move) SetVariantLoss ¶
func (o *Move) SetVariantLoss(v interface{})
SetVariantLoss gets a reference to the given interface{} and assigns it to the VariantLoss field.
func (*Move) SetVariantWin ¶
func (o *Move) SetVariantWin(v interface{})
SetVariantWin gets a reference to the given interface{} and assigns it to the VariantWin field.
func (*Move) SetZeroing ¶
func (o *Move) SetZeroing(v interface{})
SetZeroing gets a reference to the given interface{} and assigns it to the Zeroing field.
type NotFound ¶
type NotFound struct {
Error interface{} `json:"error,omitempty"`
}
NotFound struct for NotFound
func NewNotFound ¶
func NewNotFound() *NotFound
NewNotFound instantiates a new NotFound object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewNotFoundWithDefaults ¶
func NewNotFoundWithDefaults() *NotFound
NewNotFoundWithDefaults instantiates a new NotFound object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*NotFound) GetError ¶
func (o *NotFound) GetError() interface{}
GetError returns the Error field value if set, zero value otherwise (both if not set or set to explicit null).
func (*NotFound) GetErrorOk ¶
GetErrorOk returns a tuple with the Error field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (NotFound) MarshalJSON ¶
type NullableAccount200Response ¶
type NullableAccount200Response struct {
// contains filtered or unexported fields
}
func NewNullableAccount200Response ¶
func NewNullableAccount200Response(val *Account200Response) *NullableAccount200Response
func (NullableAccount200Response) Get ¶
func (v NullableAccount200Response) Get() *Account200Response
func (NullableAccount200Response) IsSet ¶
func (v NullableAccount200Response) IsSet() bool
func (NullableAccount200Response) MarshalJSON ¶
func (v NullableAccount200Response) MarshalJSON() ([]byte, error)
func (*NullableAccount200Response) Set ¶
func (v *NullableAccount200Response) Set(val *Account200Response)
func (*NullableAccount200Response) UnmarshalJSON ¶
func (v *NullableAccount200Response) UnmarshalJSON(src []byte) error
func (*NullableAccount200Response) Unset ¶
func (v *NullableAccount200Response) Unset()
type NullableAccountEmail200Response ¶
type NullableAccountEmail200Response struct {
// contains filtered or unexported fields
}
func NewNullableAccountEmail200Response ¶
func NewNullableAccountEmail200Response(val *AccountEmail200Response) *NullableAccountEmail200Response
func (NullableAccountEmail200Response) Get ¶
func (v NullableAccountEmail200Response) Get() *AccountEmail200Response
func (NullableAccountEmail200Response) IsSet ¶
func (v NullableAccountEmail200Response) IsSet() bool
func (NullableAccountEmail200Response) MarshalJSON ¶
func (v NullableAccountEmail200Response) MarshalJSON() ([]byte, error)
func (*NullableAccountEmail200Response) Set ¶
func (v *NullableAccountEmail200Response) Set(val *AccountEmail200Response)
func (*NullableAccountEmail200Response) UnmarshalJSON ¶
func (v *NullableAccountEmail200Response) UnmarshalJSON(src []byte) error
func (*NullableAccountEmail200Response) Unset ¶
func (v *NullableAccountEmail200Response) Unset()
type NullableAccountKid200Response ¶
type NullableAccountKid200Response struct {
// contains filtered or unexported fields
}
func NewNullableAccountKid200Response ¶
func NewNullableAccountKid200Response(val *AccountKid200Response) *NullableAccountKid200Response
func (NullableAccountKid200Response) Get ¶
func (v NullableAccountKid200Response) Get() *AccountKid200Response
func (NullableAccountKid200Response) IsSet ¶
func (v NullableAccountKid200Response) IsSet() bool
func (NullableAccountKid200Response) MarshalJSON ¶
func (v NullableAccountKid200Response) MarshalJSON() ([]byte, error)
func (*NullableAccountKid200Response) Set ¶
func (v *NullableAccountKid200Response) Set(val *AccountKid200Response)
func (*NullableAccountKid200Response) UnmarshalJSON ¶
func (v *NullableAccountKid200Response) UnmarshalJSON(src []byte) error
func (*NullableAccountKid200Response) Unset ¶
func (v *NullableAccountKid200Response) Unset()
type NullableApiExternalEngineAcquire200Response ¶
type NullableApiExternalEngineAcquire200Response struct {
// contains filtered or unexported fields
}
func NewNullableApiExternalEngineAcquire200Response ¶
func NewNullableApiExternalEngineAcquire200Response(val *ApiExternalEngineAcquire200Response) *NullableApiExternalEngineAcquire200Response
func (NullableApiExternalEngineAcquire200Response) IsSet ¶
func (v NullableApiExternalEngineAcquire200Response) IsSet() bool
func (NullableApiExternalEngineAcquire200Response) MarshalJSON ¶
func (v NullableApiExternalEngineAcquire200Response) MarshalJSON() ([]byte, error)
func (*NullableApiExternalEngineAcquire200Response) Set ¶
func (v *NullableApiExternalEngineAcquire200Response) Set(val *ApiExternalEngineAcquire200Response)
func (*NullableApiExternalEngineAcquire200Response) UnmarshalJSON ¶
func (v *NullableApiExternalEngineAcquire200Response) UnmarshalJSON(src []byte) error
func (*NullableApiExternalEngineAcquire200Response) Unset ¶
func (v *NullableApiExternalEngineAcquire200Response) Unset()
type NullableApiExternalEngineAcquireRequest ¶
type NullableApiExternalEngineAcquireRequest struct {
// contains filtered or unexported fields
}
func NewNullableApiExternalEngineAcquireRequest ¶
func NewNullableApiExternalEngineAcquireRequest(val *ApiExternalEngineAcquireRequest) *NullableApiExternalEngineAcquireRequest
func (NullableApiExternalEngineAcquireRequest) IsSet ¶
func (v NullableApiExternalEngineAcquireRequest) IsSet() bool
func (NullableApiExternalEngineAcquireRequest) MarshalJSON ¶
func (v NullableApiExternalEngineAcquireRequest) MarshalJSON() ([]byte, error)
func (*NullableApiExternalEngineAcquireRequest) Set ¶
func (v *NullableApiExternalEngineAcquireRequest) Set(val *ApiExternalEngineAcquireRequest)
func (*NullableApiExternalEngineAcquireRequest) UnmarshalJSON ¶
func (v *NullableApiExternalEngineAcquireRequest) UnmarshalJSON(src []byte) error
func (*NullableApiExternalEngineAcquireRequest) Unset ¶
func (v *NullableApiExternalEngineAcquireRequest) Unset()
type NullableApiExternalEngineAnalyse200Response ¶
type NullableApiExternalEngineAnalyse200Response struct {
// contains filtered or unexported fields
}
func NewNullableApiExternalEngineAnalyse200Response ¶
func NewNullableApiExternalEngineAnalyse200Response(val *ApiExternalEngineAnalyse200Response) *NullableApiExternalEngineAnalyse200Response
func (NullableApiExternalEngineAnalyse200Response) IsSet ¶
func (v NullableApiExternalEngineAnalyse200Response) IsSet() bool
func (NullableApiExternalEngineAnalyse200Response) MarshalJSON ¶
func (v NullableApiExternalEngineAnalyse200Response) MarshalJSON() ([]byte, error)
func (*NullableApiExternalEngineAnalyse200Response) Set ¶
func (v *NullableApiExternalEngineAnalyse200Response) Set(val *ApiExternalEngineAnalyse200Response)
func (*NullableApiExternalEngineAnalyse200Response) UnmarshalJSON ¶
func (v *NullableApiExternalEngineAnalyse200Response) UnmarshalJSON(src []byte) error
func (*NullableApiExternalEngineAnalyse200Response) Unset ¶
func (v *NullableApiExternalEngineAnalyse200Response) Unset()
type NullableApiExternalEngineAnalyse200ResponsePvsInner ¶
type NullableApiExternalEngineAnalyse200ResponsePvsInner struct {
// contains filtered or unexported fields
}
func NewNullableApiExternalEngineAnalyse200ResponsePvsInner ¶
func NewNullableApiExternalEngineAnalyse200ResponsePvsInner(val *ApiExternalEngineAnalyse200ResponsePvsInner) *NullableApiExternalEngineAnalyse200ResponsePvsInner
func (NullableApiExternalEngineAnalyse200ResponsePvsInner) IsSet ¶
func (v NullableApiExternalEngineAnalyse200ResponsePvsInner) IsSet() bool
func (NullableApiExternalEngineAnalyse200ResponsePvsInner) MarshalJSON ¶
func (v NullableApiExternalEngineAnalyse200ResponsePvsInner) MarshalJSON() ([]byte, error)
func (*NullableApiExternalEngineAnalyse200ResponsePvsInner) UnmarshalJSON ¶
func (v *NullableApiExternalEngineAnalyse200ResponsePvsInner) UnmarshalJSON(src []byte) error
func (*NullableApiExternalEngineAnalyse200ResponsePvsInner) Unset ¶
func (v *NullableApiExternalEngineAnalyse200ResponsePvsInner) Unset()
type NullableApiExternalEngineAnalyseRequest ¶
type NullableApiExternalEngineAnalyseRequest struct {
// contains filtered or unexported fields
}
func NewNullableApiExternalEngineAnalyseRequest ¶
func NewNullableApiExternalEngineAnalyseRequest(val *ApiExternalEngineAnalyseRequest) *NullableApiExternalEngineAnalyseRequest
func (NullableApiExternalEngineAnalyseRequest) IsSet ¶
func (v NullableApiExternalEngineAnalyseRequest) IsSet() bool
func (NullableApiExternalEngineAnalyseRequest) MarshalJSON ¶
func (v NullableApiExternalEngineAnalyseRequest) MarshalJSON() ([]byte, error)
func (*NullableApiExternalEngineAnalyseRequest) Set ¶
func (v *NullableApiExternalEngineAnalyseRequest) Set(val *ApiExternalEngineAnalyseRequest)
func (*NullableApiExternalEngineAnalyseRequest) UnmarshalJSON ¶
func (v *NullableApiExternalEngineAnalyseRequest) UnmarshalJSON(src []byte) error
func (*NullableApiExternalEngineAnalyseRequest) Unset ¶
func (v *NullableApiExternalEngineAnalyseRequest) Unset()
type NullableApiUsersStatus200ResponseInner ¶
type NullableApiUsersStatus200ResponseInner struct {
// contains filtered or unexported fields
}
func NewNullableApiUsersStatus200ResponseInner ¶
func NewNullableApiUsersStatus200ResponseInner(val *ApiUsersStatus200ResponseInner) *NullableApiUsersStatus200ResponseInner
func (NullableApiUsersStatus200ResponseInner) Get ¶
func (v NullableApiUsersStatus200ResponseInner) Get() *ApiUsersStatus200ResponseInner
func (NullableApiUsersStatus200ResponseInner) IsSet ¶
func (v NullableApiUsersStatus200ResponseInner) IsSet() bool
func (NullableApiUsersStatus200ResponseInner) MarshalJSON ¶
func (v NullableApiUsersStatus200ResponseInner) MarshalJSON() ([]byte, error)
func (*NullableApiUsersStatus200ResponseInner) Set ¶
func (v *NullableApiUsersStatus200ResponseInner) Set(val *ApiUsersStatus200ResponseInner)
func (*NullableApiUsersStatus200ResponseInner) UnmarshalJSON ¶
func (v *NullableApiUsersStatus200ResponseInner) UnmarshalJSON(src []byte) error
func (*NullableApiUsersStatus200ResponseInner) Unset ¶
func (v *NullableApiUsersStatus200ResponseInner) Unset()
type NullableArenaTournaments ¶
type NullableArenaTournaments struct {
// contains filtered or unexported fields
}
func NewNullableArenaTournaments ¶
func NewNullableArenaTournaments(val *ArenaTournaments) *NullableArenaTournaments
func (NullableArenaTournaments) Get ¶
func (v NullableArenaTournaments) Get() *ArenaTournaments
func (NullableArenaTournaments) IsSet ¶
func (v NullableArenaTournaments) IsSet() bool
func (NullableArenaTournaments) MarshalJSON ¶
func (v NullableArenaTournaments) MarshalJSON() ([]byte, error)
func (*NullableArenaTournaments) Set ¶
func (v *NullableArenaTournaments) Set(val *ArenaTournaments)
func (*NullableArenaTournaments) UnmarshalJSON ¶
func (v *NullableArenaTournaments) UnmarshalJSON(src []byte) error
func (*NullableArenaTournaments) Unset ¶
func (v *NullableArenaTournaments) Unset()
type NullableBool ¶
type NullableBool struct {
// contains filtered or unexported fields
}
func NewNullableBool ¶
func NewNullableBool(val *bool) *NullableBool
func (NullableBool) Get ¶
func (v NullableBool) Get() *bool
func (NullableBool) IsSet ¶
func (v NullableBool) IsSet() bool
func (NullableBool) MarshalJSON ¶
func (v NullableBool) MarshalJSON() ([]byte, error)
func (*NullableBool) Set ¶
func (v *NullableBool) Set(val *bool)
func (*NullableBool) UnmarshalJSON ¶
func (v *NullableBool) UnmarshalJSON(src []byte) error
func (*NullableBool) Unset ¶
func (v *NullableBool) Unset()
type NullableChallengeCanceledEvent ¶
type NullableChallengeCanceledEvent struct {
// contains filtered or unexported fields
}
func NewNullableChallengeCanceledEvent ¶
func NewNullableChallengeCanceledEvent(val *ChallengeCanceledEvent) *NullableChallengeCanceledEvent
func (NullableChallengeCanceledEvent) Get ¶
func (v NullableChallengeCanceledEvent) Get() *ChallengeCanceledEvent
func (NullableChallengeCanceledEvent) IsSet ¶
func (v NullableChallengeCanceledEvent) IsSet() bool
func (NullableChallengeCanceledEvent) MarshalJSON ¶
func (v NullableChallengeCanceledEvent) MarshalJSON() ([]byte, error)
func (*NullableChallengeCanceledEvent) Set ¶
func (v *NullableChallengeCanceledEvent) Set(val *ChallengeCanceledEvent)
func (*NullableChallengeCanceledEvent) UnmarshalJSON ¶
func (v *NullableChallengeCanceledEvent) UnmarshalJSON(src []byte) error
func (*NullableChallengeCanceledEvent) Unset ¶
func (v *NullableChallengeCanceledEvent) Unset()
type NullableChallengeCanceledJson ¶
type NullableChallengeCanceledJson struct {
// contains filtered or unexported fields
}
func NewNullableChallengeCanceledJson ¶
func NewNullableChallengeCanceledJson(val *ChallengeCanceledJson) *NullableChallengeCanceledJson
func (NullableChallengeCanceledJson) Get ¶
func (v NullableChallengeCanceledJson) Get() *ChallengeCanceledJson
func (NullableChallengeCanceledJson) IsSet ¶
func (v NullableChallengeCanceledJson) IsSet() bool
func (NullableChallengeCanceledJson) MarshalJSON ¶
func (v NullableChallengeCanceledJson) MarshalJSON() ([]byte, error)
func (*NullableChallengeCanceledJson) Set ¶
func (v *NullableChallengeCanceledJson) Set(val *ChallengeCanceledJson)
func (*NullableChallengeCanceledJson) UnmarshalJSON ¶
func (v *NullableChallengeCanceledJson) UnmarshalJSON(src []byte) error
func (*NullableChallengeCanceledJson) Unset ¶
func (v *NullableChallengeCanceledJson) Unset()
type NullableChallengeDeclinedEvent ¶
type NullableChallengeDeclinedEvent struct {
// contains filtered or unexported fields
}
func NewNullableChallengeDeclinedEvent ¶
func NewNullableChallengeDeclinedEvent(val *ChallengeDeclinedEvent) *NullableChallengeDeclinedEvent
func (NullableChallengeDeclinedEvent) Get ¶
func (v NullableChallengeDeclinedEvent) Get() *ChallengeDeclinedEvent
func (NullableChallengeDeclinedEvent) IsSet ¶
func (v NullableChallengeDeclinedEvent) IsSet() bool
func (NullableChallengeDeclinedEvent) MarshalJSON ¶
func (v NullableChallengeDeclinedEvent) MarshalJSON() ([]byte, error)
func (*NullableChallengeDeclinedEvent) Set ¶
func (v *NullableChallengeDeclinedEvent) Set(val *ChallengeDeclinedEvent)
func (*NullableChallengeDeclinedEvent) UnmarshalJSON ¶
func (v *NullableChallengeDeclinedEvent) UnmarshalJSON(src []byte) error
func (*NullableChallengeDeclinedEvent) Unset ¶
func (v *NullableChallengeDeclinedEvent) Unset()
type NullableChallengeEvent ¶
type NullableChallengeEvent struct {
// contains filtered or unexported fields
}
func NewNullableChallengeEvent ¶
func NewNullableChallengeEvent(val *ChallengeEvent) *NullableChallengeEvent
func (NullableChallengeEvent) Get ¶
func (v NullableChallengeEvent) Get() *ChallengeEvent
func (NullableChallengeEvent) IsSet ¶
func (v NullableChallengeEvent) IsSet() bool
func (NullableChallengeEvent) MarshalJSON ¶
func (v NullableChallengeEvent) MarshalJSON() ([]byte, error)
func (*NullableChallengeEvent) Set ¶
func (v *NullableChallengeEvent) Set(val *ChallengeEvent)
func (*NullableChallengeEvent) UnmarshalJSON ¶
func (v *NullableChallengeEvent) UnmarshalJSON(src []byte) error
func (*NullableChallengeEvent) Unset ¶
func (v *NullableChallengeEvent) Unset()
type NullableChallengeJson ¶
type NullableChallengeJson struct {
// contains filtered or unexported fields
}
func NewNullableChallengeJson ¶
func NewNullableChallengeJson(val *ChallengeJson) *NullableChallengeJson
func (NullableChallengeJson) Get ¶
func (v NullableChallengeJson) Get() *ChallengeJson
func (NullableChallengeJson) IsSet ¶
func (v NullableChallengeJson) IsSet() bool
func (NullableChallengeJson) MarshalJSON ¶
func (v NullableChallengeJson) MarshalJSON() ([]byte, error)
func (*NullableChallengeJson) Set ¶
func (v *NullableChallengeJson) Set(val *ChallengeJson)
func (*NullableChallengeJson) UnmarshalJSON ¶
func (v *NullableChallengeJson) UnmarshalJSON(src []byte) error
func (*NullableChallengeJson) Unset ¶
func (v *NullableChallengeJson) Unset()
type NullableChallengeJsonPerf ¶
type NullableChallengeJsonPerf struct {
// contains filtered or unexported fields
}
func NewNullableChallengeJsonPerf ¶
func NewNullableChallengeJsonPerf(val *ChallengeJsonPerf) *NullableChallengeJsonPerf
func (NullableChallengeJsonPerf) Get ¶
func (v NullableChallengeJsonPerf) Get() *ChallengeJsonPerf
func (NullableChallengeJsonPerf) IsSet ¶
func (v NullableChallengeJsonPerf) IsSet() bool
func (NullableChallengeJsonPerf) MarshalJSON ¶
func (v NullableChallengeJsonPerf) MarshalJSON() ([]byte, error)
func (*NullableChallengeJsonPerf) Set ¶
func (v *NullableChallengeJsonPerf) Set(val *ChallengeJsonPerf)
func (*NullableChallengeJsonPerf) UnmarshalJSON ¶
func (v *NullableChallengeJsonPerf) UnmarshalJSON(src []byte) error
func (*NullableChallengeJsonPerf) Unset ¶
func (v *NullableChallengeJsonPerf) Unset()
type NullableChallengeList200Response ¶
type NullableChallengeList200Response struct {
// contains filtered or unexported fields
}
func NewNullableChallengeList200Response ¶
func NewNullableChallengeList200Response(val *ChallengeList200Response) *NullableChallengeList200Response
func (NullableChallengeList200Response) Get ¶
func (v NullableChallengeList200Response) Get() *ChallengeList200Response
func (NullableChallengeList200Response) IsSet ¶
func (v NullableChallengeList200Response) IsSet() bool
func (NullableChallengeList200Response) MarshalJSON ¶
func (v NullableChallengeList200Response) MarshalJSON() ([]byte, error)
func (*NullableChallengeList200Response) Set ¶
func (v *NullableChallengeList200Response) Set(val *ChallengeList200Response)
func (*NullableChallengeList200Response) UnmarshalJSON ¶
func (v *NullableChallengeList200Response) UnmarshalJSON(src []byte) error
func (*NullableChallengeList200Response) Unset ¶
func (v *NullableChallengeList200Response) Unset()
type NullableChallengeUser ¶
type NullableChallengeUser struct {
// contains filtered or unexported fields
}
func NewNullableChallengeUser ¶
func NewNullableChallengeUser(val *ChallengeUser) *NullableChallengeUser
func (NullableChallengeUser) Get ¶
func (v NullableChallengeUser) Get() *ChallengeUser
func (NullableChallengeUser) IsSet ¶
func (v NullableChallengeUser) IsSet() bool
func (NullableChallengeUser) MarshalJSON ¶
func (v NullableChallengeUser) MarshalJSON() ([]byte, error)
func (*NullableChallengeUser) Set ¶
func (v *NullableChallengeUser) Set(val *ChallengeUser)
func (*NullableChallengeUser) UnmarshalJSON ¶
func (v *NullableChallengeUser) UnmarshalJSON(src []byte) error
func (*NullableChallengeUser) Unset ¶
func (v *NullableChallengeUser) Unset()
type NullableChatLineEvent ¶
type NullableChatLineEvent struct {
// contains filtered or unexported fields
}
func NewNullableChatLineEvent ¶
func NewNullableChatLineEvent(val *ChatLineEvent) *NullableChatLineEvent
func (NullableChatLineEvent) Get ¶
func (v NullableChatLineEvent) Get() *ChatLineEvent
func (NullableChatLineEvent) IsSet ¶
func (v NullableChatLineEvent) IsSet() bool
func (NullableChatLineEvent) MarshalJSON ¶
func (v NullableChatLineEvent) MarshalJSON() ([]byte, error)
func (*NullableChatLineEvent) Set ¶
func (v *NullableChatLineEvent) Set(val *ChatLineEvent)
func (*NullableChatLineEvent) UnmarshalJSON ¶
func (v *NullableChatLineEvent) UnmarshalJSON(src []byte) error
func (*NullableChatLineEvent) Unset ¶
func (v *NullableChatLineEvent) Unset()
type NullableClock ¶
type NullableClock struct {
// contains filtered or unexported fields
}
func NewNullableClock ¶
func NewNullableClock(val *Clock) *NullableClock
func (NullableClock) Get ¶
func (v NullableClock) Get() *Clock
func (NullableClock) IsSet ¶
func (v NullableClock) IsSet() bool
func (NullableClock) MarshalJSON ¶
func (v NullableClock) MarshalJSON() ([]byte, error)
func (*NullableClock) Set ¶
func (v *NullableClock) Set(val *Clock)
func (*NullableClock) UnmarshalJSON ¶
func (v *NullableClock) UnmarshalJSON(src []byte) error
func (*NullableClock) Unset ¶
func (v *NullableClock) Unset()
type NullableCount ¶
type NullableCount struct {
// contains filtered or unexported fields
}
func NewNullableCount ¶
func NewNullableCount(val *Count) *NullableCount
func (NullableCount) Get ¶
func (v NullableCount) Get() *Count
func (NullableCount) IsSet ¶
func (v NullableCount) IsSet() bool
func (NullableCount) MarshalJSON ¶
func (v NullableCount) MarshalJSON() ([]byte, error)
func (*NullableCount) Set ¶
func (v *NullableCount) Set(val *Count)
func (*NullableCount) UnmarshalJSON ¶
func (v *NullableCount) UnmarshalJSON(src []byte) error
func (*NullableCount) Unset ¶
func (v *NullableCount) Unset()
type NullableError ¶
type NullableError struct {
// contains filtered or unexported fields
}
func NewNullableError ¶
func NewNullableError(val *Error) *NullableError
func (NullableError) Get ¶
func (v NullableError) Get() *Error
func (NullableError) IsSet ¶
func (v NullableError) IsSet() bool
func (NullableError) MarshalJSON ¶
func (v NullableError) MarshalJSON() ([]byte, error)
func (*NullableError) Set ¶
func (v *NullableError) Set(val *Error)
func (*NullableError) UnmarshalJSON ¶
func (v *NullableError) UnmarshalJSON(src []byte) error
func (*NullableError) Unset ¶
func (v *NullableError) Unset()
type NullableExternalEngine ¶
type NullableExternalEngine struct {
// contains filtered or unexported fields
}
func NewNullableExternalEngine ¶
func NewNullableExternalEngine(val *ExternalEngine) *NullableExternalEngine
func (NullableExternalEngine) Get ¶
func (v NullableExternalEngine) Get() *ExternalEngine
func (NullableExternalEngine) IsSet ¶
func (v NullableExternalEngine) IsSet() bool
func (NullableExternalEngine) MarshalJSON ¶
func (v NullableExternalEngine) MarshalJSON() ([]byte, error)
func (*NullableExternalEngine) Set ¶
func (v *NullableExternalEngine) Set(val *ExternalEngine)
func (*NullableExternalEngine) UnmarshalJSON ¶
func (v *NullableExternalEngine) UnmarshalJSON(src []byte) error
func (*NullableExternalEngine) Unset ¶
func (v *NullableExternalEngine) Unset()
type NullableExternalEngineRegistration ¶
type NullableExternalEngineRegistration struct {
// contains filtered or unexported fields
}
func NewNullableExternalEngineRegistration ¶
func NewNullableExternalEngineRegistration(val *ExternalEngineRegistration) *NullableExternalEngineRegistration
func (NullableExternalEngineRegistration) Get ¶
func (v NullableExternalEngineRegistration) Get() *ExternalEngineRegistration
func (NullableExternalEngineRegistration) IsSet ¶
func (v NullableExternalEngineRegistration) IsSet() bool
func (NullableExternalEngineRegistration) MarshalJSON ¶
func (v NullableExternalEngineRegistration) MarshalJSON() ([]byte, error)
func (*NullableExternalEngineRegistration) Set ¶
func (v *NullableExternalEngineRegistration) Set(val *ExternalEngineRegistration)
func (*NullableExternalEngineRegistration) UnmarshalJSON ¶
func (v *NullableExternalEngineRegistration) UnmarshalJSON(src []byte) error
func (*NullableExternalEngineRegistration) Unset ¶
func (v *NullableExternalEngineRegistration) Unset()
type NullableExternalEngineWork ¶
type NullableExternalEngineWork struct {
// contains filtered or unexported fields
}
func NewNullableExternalEngineWork ¶
func NewNullableExternalEngineWork(val *ExternalEngineWork) *NullableExternalEngineWork
func (NullableExternalEngineWork) Get ¶
func (v NullableExternalEngineWork) Get() *ExternalEngineWork
func (NullableExternalEngineWork) IsSet ¶
func (v NullableExternalEngineWork) IsSet() bool
func (NullableExternalEngineWork) MarshalJSON ¶
func (v NullableExternalEngineWork) MarshalJSON() ([]byte, error)
func (*NullableExternalEngineWork) Set ¶
func (v *NullableExternalEngineWork) Set(val *ExternalEngineWork)
func (*NullableExternalEngineWork) UnmarshalJSON ¶
func (v *NullableExternalEngineWork) UnmarshalJSON(src []byte) error
func (*NullableExternalEngineWork) Unset ¶
func (v *NullableExternalEngineWork) Unset()
type NullableFloat32 ¶
type NullableFloat32 struct {
// contains filtered or unexported fields
}
func NewNullableFloat32 ¶
func NewNullableFloat32(val *float32) *NullableFloat32
func (NullableFloat32) Get ¶
func (v NullableFloat32) Get() *float32
func (NullableFloat32) IsSet ¶
func (v NullableFloat32) IsSet() bool
func (NullableFloat32) MarshalJSON ¶
func (v NullableFloat32) MarshalJSON() ([]byte, error)
func (*NullableFloat32) Set ¶
func (v *NullableFloat32) Set(val *float32)
func (*NullableFloat32) UnmarshalJSON ¶
func (v *NullableFloat32) UnmarshalJSON(src []byte) error
func (*NullableFloat32) Unset ¶
func (v *NullableFloat32) Unset()
type NullableFloat64 ¶
type NullableFloat64 struct {
// contains filtered or unexported fields
}
func NewNullableFloat64 ¶
func NewNullableFloat64(val *float64) *NullableFloat64
func (NullableFloat64) Get ¶
func (v NullableFloat64) Get() *float64
func (NullableFloat64) IsSet ¶
func (v NullableFloat64) IsSet() bool
func (NullableFloat64) MarshalJSON ¶
func (v NullableFloat64) MarshalJSON() ([]byte, error)
func (*NullableFloat64) Set ¶
func (v *NullableFloat64) Set(val *float64)
func (*NullableFloat64) UnmarshalJSON ¶
func (v *NullableFloat64) UnmarshalJSON(src []byte) error
func (*NullableFloat64) Unset ¶
func (v *NullableFloat64) Unset()
type NullableGameEventInfo ¶
type NullableGameEventInfo struct {
// contains filtered or unexported fields
}
func NewNullableGameEventInfo ¶
func NewNullableGameEventInfo(val *GameEventInfo) *NullableGameEventInfo
func (NullableGameEventInfo) Get ¶
func (v NullableGameEventInfo) Get() *GameEventInfo
func (NullableGameEventInfo) IsSet ¶
func (v NullableGameEventInfo) IsSet() bool
func (NullableGameEventInfo) MarshalJSON ¶
func (v NullableGameEventInfo) MarshalJSON() ([]byte, error)
func (*NullableGameEventInfo) Set ¶
func (v *NullableGameEventInfo) Set(val *GameEventInfo)
func (*NullableGameEventInfo) UnmarshalJSON ¶
func (v *NullableGameEventInfo) UnmarshalJSON(src []byte) error
func (*NullableGameEventInfo) Unset ¶
func (v *NullableGameEventInfo) Unset()
type NullableGameEventInfoCompat ¶
type NullableGameEventInfoCompat struct {
// contains filtered or unexported fields
}
func NewNullableGameEventInfoCompat ¶
func NewNullableGameEventInfoCompat(val *GameEventInfoCompat) *NullableGameEventInfoCompat
func (NullableGameEventInfoCompat) Get ¶
func (v NullableGameEventInfoCompat) Get() *GameEventInfoCompat
func (NullableGameEventInfoCompat) IsSet ¶
func (v NullableGameEventInfoCompat) IsSet() bool
func (NullableGameEventInfoCompat) MarshalJSON ¶
func (v NullableGameEventInfoCompat) MarshalJSON() ([]byte, error)
func (*NullableGameEventInfoCompat) Set ¶
func (v *NullableGameEventInfoCompat) Set(val *GameEventInfoCompat)
func (*NullableGameEventInfoCompat) UnmarshalJSON ¶
func (v *NullableGameEventInfoCompat) UnmarshalJSON(src []byte) error
func (*NullableGameEventInfoCompat) Unset ¶
func (v *NullableGameEventInfoCompat) Unset()
type NullableGameEventPlayer ¶
type NullableGameEventPlayer struct {
// contains filtered or unexported fields
}
func NewNullableGameEventPlayer ¶
func NewNullableGameEventPlayer(val *GameEventPlayer) *NullableGameEventPlayer
func (NullableGameEventPlayer) Get ¶
func (v NullableGameEventPlayer) Get() *GameEventPlayer
func (NullableGameEventPlayer) IsSet ¶
func (v NullableGameEventPlayer) IsSet() bool
func (NullableGameEventPlayer) MarshalJSON ¶
func (v NullableGameEventPlayer) MarshalJSON() ([]byte, error)
func (*NullableGameEventPlayer) Set ¶
func (v *NullableGameEventPlayer) Set(val *GameEventPlayer)
func (*NullableGameEventPlayer) UnmarshalJSON ¶
func (v *NullableGameEventPlayer) UnmarshalJSON(src []byte) error
func (*NullableGameEventPlayer) Unset ¶
func (v *NullableGameEventPlayer) Unset()
type NullableGameFinishEvent ¶
type NullableGameFinishEvent struct {
// contains filtered or unexported fields
}
func NewNullableGameFinishEvent ¶
func NewNullableGameFinishEvent(val *GameFinishEvent) *NullableGameFinishEvent
func (NullableGameFinishEvent) Get ¶
func (v NullableGameFinishEvent) Get() *GameFinishEvent
func (NullableGameFinishEvent) IsSet ¶
func (v NullableGameFinishEvent) IsSet() bool
func (NullableGameFinishEvent) MarshalJSON ¶
func (v NullableGameFinishEvent) MarshalJSON() ([]byte, error)
func (*NullableGameFinishEvent) Set ¶
func (v *NullableGameFinishEvent) Set(val *GameFinishEvent)
func (*NullableGameFinishEvent) UnmarshalJSON ¶
func (v *NullableGameFinishEvent) UnmarshalJSON(src []byte) error
func (*NullableGameFinishEvent) Unset ¶
func (v *NullableGameFinishEvent) Unset()
type NullableGameFullEvent ¶
type NullableGameFullEvent struct {
// contains filtered or unexported fields
}
func NewNullableGameFullEvent ¶
func NewNullableGameFullEvent(val *GameFullEvent) *NullableGameFullEvent
func (NullableGameFullEvent) Get ¶
func (v NullableGameFullEvent) Get() *GameFullEvent
func (NullableGameFullEvent) IsSet ¶
func (v NullableGameFullEvent) IsSet() bool
func (NullableGameFullEvent) MarshalJSON ¶
func (v NullableGameFullEvent) MarshalJSON() ([]byte, error)
func (*NullableGameFullEvent) Set ¶
func (v *NullableGameFullEvent) Set(val *GameFullEvent)
func (*NullableGameFullEvent) UnmarshalJSON ¶
func (v *NullableGameFullEvent) UnmarshalJSON(src []byte) error
func (*NullableGameFullEvent) Unset ¶
func (v *NullableGameFullEvent) Unset()
type NullableGameFullEventPerf ¶
type NullableGameFullEventPerf struct {
// contains filtered or unexported fields
}
func NewNullableGameFullEventPerf ¶
func NewNullableGameFullEventPerf(val *GameFullEventPerf) *NullableGameFullEventPerf
func (NullableGameFullEventPerf) Get ¶
func (v NullableGameFullEventPerf) Get() *GameFullEventPerf
func (NullableGameFullEventPerf) IsSet ¶
func (v NullableGameFullEventPerf) IsSet() bool
func (NullableGameFullEventPerf) MarshalJSON ¶
func (v NullableGameFullEventPerf) MarshalJSON() ([]byte, error)
func (*NullableGameFullEventPerf) Set ¶
func (v *NullableGameFullEventPerf) Set(val *GameFullEventPerf)
func (*NullableGameFullEventPerf) UnmarshalJSON ¶
func (v *NullableGameFullEventPerf) UnmarshalJSON(src []byte) error
func (*NullableGameFullEventPerf) Unset ¶
func (v *NullableGameFullEventPerf) Unset()
type NullableGameJson ¶
type NullableGameJson struct {
// contains filtered or unexported fields
}
func NewNullableGameJson ¶
func NewNullableGameJson(val *GameJson) *NullableGameJson
func (NullableGameJson) Get ¶
func (v NullableGameJson) Get() *GameJson
func (NullableGameJson) IsSet ¶
func (v NullableGameJson) IsSet() bool
func (NullableGameJson) MarshalJSON ¶
func (v NullableGameJson) MarshalJSON() ([]byte, error)
func (*NullableGameJson) Set ¶
func (v *NullableGameJson) Set(val *GameJson)
func (*NullableGameJson) UnmarshalJSON ¶
func (v *NullableGameJson) UnmarshalJSON(src []byte) error
func (*NullableGameJson) Unset ¶
func (v *NullableGameJson) Unset()
type NullableGameJsonClock ¶
type NullableGameJsonClock struct {
// contains filtered or unexported fields
}
func NewNullableGameJsonClock ¶
func NewNullableGameJsonClock(val *GameJsonClock) *NullableGameJsonClock
func (NullableGameJsonClock) Get ¶
func (v NullableGameJsonClock) Get() *GameJsonClock
func (NullableGameJsonClock) IsSet ¶
func (v NullableGameJsonClock) IsSet() bool
func (NullableGameJsonClock) MarshalJSON ¶
func (v NullableGameJsonClock) MarshalJSON() ([]byte, error)
func (*NullableGameJsonClock) Set ¶
func (v *NullableGameJsonClock) Set(val *GameJsonClock)
func (*NullableGameJsonClock) UnmarshalJSON ¶
func (v *NullableGameJsonClock) UnmarshalJSON(src []byte) error
func (*NullableGameJsonClock) Unset ¶
func (v *NullableGameJsonClock) Unset()
type NullableGameJsonOpening ¶
type NullableGameJsonOpening struct {
// contains filtered or unexported fields
}
func NewNullableGameJsonOpening ¶
func NewNullableGameJsonOpening(val *GameJsonOpening) *NullableGameJsonOpening
func (NullableGameJsonOpening) Get ¶
func (v NullableGameJsonOpening) Get() *GameJsonOpening
func (NullableGameJsonOpening) IsSet ¶
func (v NullableGameJsonOpening) IsSet() bool
func (NullableGameJsonOpening) MarshalJSON ¶
func (v NullableGameJsonOpening) MarshalJSON() ([]byte, error)
func (*NullableGameJsonOpening) Set ¶
func (v *NullableGameJsonOpening) Set(val *GameJsonOpening)
func (*NullableGameJsonOpening) UnmarshalJSON ¶
func (v *NullableGameJsonOpening) UnmarshalJSON(src []byte) error
func (*NullableGameJsonOpening) Unset ¶
func (v *NullableGameJsonOpening) Unset()
type NullableGameJsonPlayers ¶
type NullableGameJsonPlayers struct {
// contains filtered or unexported fields
}
func NewNullableGameJsonPlayers ¶
func NewNullableGameJsonPlayers(val *GameJsonPlayers) *NullableGameJsonPlayers
func (NullableGameJsonPlayers) Get ¶
func (v NullableGameJsonPlayers) Get() *GameJsonPlayers
func (NullableGameJsonPlayers) IsSet ¶
func (v NullableGameJsonPlayers) IsSet() bool
func (NullableGameJsonPlayers) MarshalJSON ¶
func (v NullableGameJsonPlayers) MarshalJSON() ([]byte, error)
func (*NullableGameJsonPlayers) Set ¶
func (v *NullableGameJsonPlayers) Set(val *GameJsonPlayers)
func (*NullableGameJsonPlayers) UnmarshalJSON ¶
func (v *NullableGameJsonPlayers) UnmarshalJSON(src []byte) error
func (*NullableGameJsonPlayers) Unset ¶
func (v *NullableGameJsonPlayers) Unset()
type NullableGameStartEvent ¶
type NullableGameStartEvent struct {
// contains filtered or unexported fields
}
func NewNullableGameStartEvent ¶
func NewNullableGameStartEvent(val *GameStartEvent) *NullableGameStartEvent
func (NullableGameStartEvent) Get ¶
func (v NullableGameStartEvent) Get() *GameStartEvent
func (NullableGameStartEvent) IsSet ¶
func (v NullableGameStartEvent) IsSet() bool
func (NullableGameStartEvent) MarshalJSON ¶
func (v NullableGameStartEvent) MarshalJSON() ([]byte, error)
func (*NullableGameStartEvent) Set ¶
func (v *NullableGameStartEvent) Set(val *GameStartEvent)
func (*NullableGameStartEvent) UnmarshalJSON ¶
func (v *NullableGameStartEvent) UnmarshalJSON(src []byte) error
func (*NullableGameStartEvent) Unset ¶
func (v *NullableGameStartEvent) Unset()
type NullableGameStateEvent ¶
type NullableGameStateEvent struct {
// contains filtered or unexported fields
}
func NewNullableGameStateEvent ¶
func NewNullableGameStateEvent(val *GameStateEvent) *NullableGameStateEvent
func (NullableGameStateEvent) Get ¶
func (v NullableGameStateEvent) Get() *GameStateEvent
func (NullableGameStateEvent) IsSet ¶
func (v NullableGameStateEvent) IsSet() bool
func (NullableGameStateEvent) MarshalJSON ¶
func (v NullableGameStateEvent) MarshalJSON() ([]byte, error)
func (*NullableGameStateEvent) Set ¶
func (v *NullableGameStateEvent) Set(val *GameStateEvent)
func (*NullableGameStateEvent) UnmarshalJSON ¶
func (v *NullableGameStateEvent) UnmarshalJSON(src []byte) error
func (*NullableGameStateEvent) Unset ¶
func (v *NullableGameStateEvent) Unset()
type NullableGameStatus ¶
type NullableGameStatus struct {
// contains filtered or unexported fields
}
func NewNullableGameStatus ¶
func NewNullableGameStatus(val *GameStatus) *NullableGameStatus
func (NullableGameStatus) Get ¶
func (v NullableGameStatus) Get() *GameStatus
func (NullableGameStatus) IsSet ¶
func (v NullableGameStatus) IsSet() bool
func (NullableGameStatus) MarshalJSON ¶
func (v NullableGameStatus) MarshalJSON() ([]byte, error)
func (*NullableGameStatus) Set ¶
func (v *NullableGameStatus) Set(val *GameStatus)
func (*NullableGameStatus) UnmarshalJSON ¶
func (v *NullableGameStatus) UnmarshalJSON(src []byte) error
func (*NullableGameStatus) Unset ¶
func (v *NullableGameStatus) Unset()
type NullableGameUser ¶
type NullableGameUser struct {
// contains filtered or unexported fields
}
func NewNullableGameUser ¶
func NewNullableGameUser(val *GameUser) *NullableGameUser
func (NullableGameUser) Get ¶
func (v NullableGameUser) Get() *GameUser
func (NullableGameUser) IsSet ¶
func (v NullableGameUser) IsSet() bool
func (NullableGameUser) MarshalJSON ¶
func (v NullableGameUser) MarshalJSON() ([]byte, error)
func (*NullableGameUser) Set ¶
func (v *NullableGameUser) Set(val *GameUser)
func (*NullableGameUser) UnmarshalJSON ¶
func (v *NullableGameUser) UnmarshalJSON(src []byte) error
func (*NullableGameUser) Unset ¶
func (v *NullableGameUser) Unset()
type NullableGameUserAnalysis ¶
type NullableGameUserAnalysis struct {
// contains filtered or unexported fields
}
func NewNullableGameUserAnalysis ¶
func NewNullableGameUserAnalysis(val *GameUserAnalysis) *NullableGameUserAnalysis
func (NullableGameUserAnalysis) Get ¶
func (v NullableGameUserAnalysis) Get() *GameUserAnalysis
func (NullableGameUserAnalysis) IsSet ¶
func (v NullableGameUserAnalysis) IsSet() bool
func (NullableGameUserAnalysis) MarshalJSON ¶
func (v NullableGameUserAnalysis) MarshalJSON() ([]byte, error)
func (*NullableGameUserAnalysis) Set ¶
func (v *NullableGameUserAnalysis) Set(val *GameUserAnalysis)
func (*NullableGameUserAnalysis) UnmarshalJSON ¶
func (v *NullableGameUserAnalysis) UnmarshalJSON(src []byte) error
func (*NullableGameUserAnalysis) Unset ¶
func (v *NullableGameUserAnalysis) Unset()
type NullableInt ¶
type NullableInt struct {
// contains filtered or unexported fields
}
func NewNullableInt ¶
func NewNullableInt(val *int) *NullableInt
func (NullableInt) Get ¶
func (v NullableInt) Get() *int
func (NullableInt) IsSet ¶
func (v NullableInt) IsSet() bool
func (NullableInt) MarshalJSON ¶
func (v NullableInt) MarshalJSON() ([]byte, error)
func (*NullableInt) Set ¶
func (v *NullableInt) Set(val *int)
func (*NullableInt) UnmarshalJSON ¶
func (v *NullableInt) UnmarshalJSON(src []byte) error
func (*NullableInt) Unset ¶
func (v *NullableInt) Unset()
type NullableInt32 ¶
type NullableInt32 struct {
// contains filtered or unexported fields
}
func NewNullableInt32 ¶
func NewNullableInt32(val *int32) *NullableInt32
func (NullableInt32) Get ¶
func (v NullableInt32) Get() *int32
func (NullableInt32) IsSet ¶
func (v NullableInt32) IsSet() bool
func (NullableInt32) MarshalJSON ¶
func (v NullableInt32) MarshalJSON() ([]byte, error)
func (*NullableInt32) Set ¶
func (v *NullableInt32) Set(val *int32)
func (*NullableInt32) UnmarshalJSON ¶
func (v *NullableInt32) UnmarshalJSON(src []byte) error
func (*NullableInt32) Unset ¶
func (v *NullableInt32) Unset()
type NullableInt64 ¶
type NullableInt64 struct {
// contains filtered or unexported fields
}
func NewNullableInt64 ¶
func NewNullableInt64(val *int64) *NullableInt64
func (NullableInt64) Get ¶
func (v NullableInt64) Get() *int64
func (NullableInt64) IsSet ¶
func (v NullableInt64) IsSet() bool
func (NullableInt64) MarshalJSON ¶
func (v NullableInt64) MarshalJSON() ([]byte, error)
func (*NullableInt64) Set ¶
func (v *NullableInt64) Set(val *int64)
func (*NullableInt64) UnmarshalJSON ¶
func (v *NullableInt64) UnmarshalJSON(src []byte) error
func (*NullableInt64) Unset ¶
func (v *NullableInt64) Unset()
type NullableLightUser ¶
type NullableLightUser struct {
// contains filtered or unexported fields
}
func NewNullableLightUser ¶
func NewNullableLightUser(val *LightUser) *NullableLightUser
func (NullableLightUser) Get ¶
func (v NullableLightUser) Get() *LightUser
func (NullableLightUser) IsSet ¶
func (v NullableLightUser) IsSet() bool
func (NullableLightUser) MarshalJSON ¶
func (v NullableLightUser) MarshalJSON() ([]byte, error)
func (*NullableLightUser) Set ¶
func (v *NullableLightUser) Set(val *LightUser)
func (*NullableLightUser) UnmarshalJSON ¶
func (v *NullableLightUser) UnmarshalJSON(src []byte) error
func (*NullableLightUser) Unset ¶
func (v *NullableLightUser) Unset()
type NullableMove ¶
type NullableMove struct {
// contains filtered or unexported fields
}
func NewNullableMove ¶
func NewNullableMove(val *Move) *NullableMove
func (NullableMove) Get ¶
func (v NullableMove) Get() *Move
func (NullableMove) IsSet ¶
func (v NullableMove) IsSet() bool
func (NullableMove) MarshalJSON ¶
func (v NullableMove) MarshalJSON() ([]byte, error)
func (*NullableMove) Set ¶
func (v *NullableMove) Set(val *Move)
func (*NullableMove) UnmarshalJSON ¶
func (v *NullableMove) UnmarshalJSON(src []byte) error
func (*NullableMove) Unset ¶
func (v *NullableMove) Unset()
type NullableNotFound ¶
type NullableNotFound struct {
// contains filtered or unexported fields
}
func NewNullableNotFound ¶
func NewNullableNotFound(val *NotFound) *NullableNotFound
func (NullableNotFound) Get ¶
func (v NullableNotFound) Get() *NotFound
func (NullableNotFound) IsSet ¶
func (v NullableNotFound) IsSet() bool
func (NullableNotFound) MarshalJSON ¶
func (v NullableNotFound) MarshalJSON() ([]byte, error)
func (*NullableNotFound) Set ¶
func (v *NullableNotFound) Set(val *NotFound)
func (*NullableNotFound) UnmarshalJSON ¶
func (v *NullableNotFound) UnmarshalJSON(src []byte) error
func (*NullableNotFound) Unset ¶
func (v *NullableNotFound) Unset()
type NullableOAuthError ¶
type NullableOAuthError struct {
// contains filtered or unexported fields
}
func NewNullableOAuthError ¶
func NewNullableOAuthError(val *OAuthError) *NullableOAuthError
func (NullableOAuthError) Get ¶
func (v NullableOAuthError) Get() *OAuthError
func (NullableOAuthError) IsSet ¶
func (v NullableOAuthError) IsSet() bool
func (NullableOAuthError) MarshalJSON ¶
func (v NullableOAuthError) MarshalJSON() ([]byte, error)
func (*NullableOAuthError) Set ¶
func (v *NullableOAuthError) Set(val *OAuthError)
func (*NullableOAuthError) UnmarshalJSON ¶
func (v *NullableOAuthError) UnmarshalJSON(src []byte) error
func (*NullableOAuthError) Unset ¶
func (v *NullableOAuthError) Unset()
type NullableOk ¶
type NullableOk struct {
// contains filtered or unexported fields
}
func NewNullableOk ¶
func NewNullableOk(val *Ok) *NullableOk
func (NullableOk) Get ¶
func (v NullableOk) Get() *Ok
func (NullableOk) IsSet ¶
func (v NullableOk) IsSet() bool
func (NullableOk) MarshalJSON ¶
func (v NullableOk) MarshalJSON() ([]byte, error)
func (*NullableOk) Set ¶
func (v *NullableOk) Set(val *Ok)
func (*NullableOk) UnmarshalJSON ¶
func (v *NullableOk) UnmarshalJSON(src []byte) error
func (*NullableOk) Unset ¶
func (v *NullableOk) Unset()
type NullableOpponentGone ¶
type NullableOpponentGone struct {
// contains filtered or unexported fields
}
func NewNullableOpponentGone ¶
func NewNullableOpponentGone(val *OpponentGone) *NullableOpponentGone
func (NullableOpponentGone) Get ¶
func (v NullableOpponentGone) Get() *OpponentGone
func (NullableOpponentGone) IsSet ¶
func (v NullableOpponentGone) IsSet() bool
func (NullableOpponentGone) MarshalJSON ¶
func (v NullableOpponentGone) MarshalJSON() ([]byte, error)
func (*NullableOpponentGone) Set ¶
func (v *NullableOpponentGone) Set(val *OpponentGone)
func (*NullableOpponentGone) UnmarshalJSON ¶
func (v *NullableOpponentGone) UnmarshalJSON(src []byte) error
func (*NullableOpponentGone) Unset ¶
func (v *NullableOpponentGone) Unset()
type NullablePerf ¶
type NullablePerf struct {
// contains filtered or unexported fields
}
func NewNullablePerf ¶
func NewNullablePerf(val *Perf) *NullablePerf
func (NullablePerf) Get ¶
func (v NullablePerf) Get() *Perf
func (NullablePerf) IsSet ¶
func (v NullablePerf) IsSet() bool
func (NullablePerf) MarshalJSON ¶
func (v NullablePerf) MarshalJSON() ([]byte, error)
func (*NullablePerf) Set ¶
func (v *NullablePerf) Set(val *Perf)
func (*NullablePerf) UnmarshalJSON ¶
func (v *NullablePerf) UnmarshalJSON(src []byte) error
func (*NullablePerf) Unset ¶
func (v *NullablePerf) Unset()
type NullablePerfType ¶
type NullablePerfType struct {
// contains filtered or unexported fields
}
func NewNullablePerfType ¶
func NewNullablePerfType(val *PerfType) *NullablePerfType
func (NullablePerfType) Get ¶
func (v NullablePerfType) Get() *PerfType
func (NullablePerfType) IsSet ¶
func (v NullablePerfType) IsSet() bool
func (NullablePerfType) MarshalJSON ¶
func (v NullablePerfType) MarshalJSON() ([]byte, error)
func (*NullablePerfType) Set ¶
func (v *NullablePerfType) Set(val *PerfType)
func (*NullablePerfType) UnmarshalJSON ¶
func (v *NullablePerfType) UnmarshalJSON(src []byte) error
func (*NullablePerfType) Unset ¶
func (v *NullablePerfType) Unset()
type NullablePerfs ¶
type NullablePerfs struct {
// contains filtered or unexported fields
}
func NewNullablePerfs ¶
func NewNullablePerfs(val *Perfs) *NullablePerfs
func (NullablePerfs) Get ¶
func (v NullablePerfs) Get() *Perfs
func (NullablePerfs) IsSet ¶
func (v NullablePerfs) IsSet() bool
func (NullablePerfs) MarshalJSON ¶
func (v NullablePerfs) MarshalJSON() ([]byte, error)
func (*NullablePerfs) Set ¶
func (v *NullablePerfs) Set(val *Perfs)
func (*NullablePerfs) UnmarshalJSON ¶
func (v *NullablePerfs) UnmarshalJSON(src []byte) error
func (*NullablePerfs) Unset ¶
func (v *NullablePerfs) Unset()
type NullablePlayTime ¶
type NullablePlayTime struct {
// contains filtered or unexported fields
}
func NewNullablePlayTime ¶
func NewNullablePlayTime(val *PlayTime) *NullablePlayTime
func (NullablePlayTime) Get ¶
func (v NullablePlayTime) Get() *PlayTime
func (NullablePlayTime) IsSet ¶
func (v NullablePlayTime) IsSet() bool
func (NullablePlayTime) MarshalJSON ¶
func (v NullablePlayTime) MarshalJSON() ([]byte, error)
func (*NullablePlayTime) Set ¶
func (v *NullablePlayTime) Set(val *PlayTime)
func (*NullablePlayTime) UnmarshalJSON ¶
func (v *NullablePlayTime) UnmarshalJSON(src []byte) error
func (*NullablePlayTime) Unset ¶
func (v *NullablePlayTime) Unset()
type NullableProfile ¶
type NullableProfile struct {
// contains filtered or unexported fields
}
func NewNullableProfile ¶
func NewNullableProfile(val *Profile) *NullableProfile
func (NullableProfile) Get ¶
func (v NullableProfile) Get() *Profile
func (NullableProfile) IsSet ¶
func (v NullableProfile) IsSet() bool
func (NullableProfile) MarshalJSON ¶
func (v NullableProfile) MarshalJSON() ([]byte, error)
func (*NullableProfile) Set ¶
func (v *NullableProfile) Set(val *Profile)
func (*NullableProfile) UnmarshalJSON ¶
func (v *NullableProfile) UnmarshalJSON(src []byte) error
func (*NullableProfile) Unset ¶
func (v *NullableProfile) Unset()
type NullablePuzzleRoundJson ¶
type NullablePuzzleRoundJson struct {
// contains filtered or unexported fields
}
func NewNullablePuzzleRoundJson ¶
func NewNullablePuzzleRoundJson(val *PuzzleRoundJson) *NullablePuzzleRoundJson
func (NullablePuzzleRoundJson) Get ¶
func (v NullablePuzzleRoundJson) Get() *PuzzleRoundJson
func (NullablePuzzleRoundJson) IsSet ¶
func (v NullablePuzzleRoundJson) IsSet() bool
func (NullablePuzzleRoundJson) MarshalJSON ¶
func (v NullablePuzzleRoundJson) MarshalJSON() ([]byte, error)
func (*NullablePuzzleRoundJson) Set ¶
func (v *NullablePuzzleRoundJson) Set(val *PuzzleRoundJson)
func (*NullablePuzzleRoundJson) UnmarshalJSON ¶
func (v *NullablePuzzleRoundJson) UnmarshalJSON(src []byte) error
func (*NullablePuzzleRoundJson) Unset ¶
func (v *NullablePuzzleRoundJson) Unset()
type NullableSpeed ¶
type NullableSpeed struct {
// contains filtered or unexported fields
}
func NewNullableSpeed ¶
func NewNullableSpeed(val *Speed) *NullableSpeed
func (NullableSpeed) Get ¶
func (v NullableSpeed) Get() *Speed
func (NullableSpeed) IsSet ¶
func (v NullableSpeed) IsSet() bool
func (NullableSpeed) MarshalJSON ¶
func (v NullableSpeed) MarshalJSON() ([]byte, error)
func (*NullableSpeed) Set ¶
func (v *NullableSpeed) Set(val *Speed)
func (*NullableSpeed) UnmarshalJSON ¶
func (v *NullableSpeed) UnmarshalJSON(src []byte) error
func (*NullableSpeed) Unset ¶
func (v *NullableSpeed) Unset()
type NullableStormPerf ¶
type NullableStormPerf struct {
// contains filtered or unexported fields
}
func NewNullableStormPerf ¶
func NewNullableStormPerf(val *StormPerf) *NullableStormPerf
func (NullableStormPerf) Get ¶
func (v NullableStormPerf) Get() *StormPerf
func (NullableStormPerf) IsSet ¶
func (v NullableStormPerf) IsSet() bool
func (NullableStormPerf) MarshalJSON ¶
func (v NullableStormPerf) MarshalJSON() ([]byte, error)
func (*NullableStormPerf) Set ¶
func (v *NullableStormPerf) Set(val *StormPerf)
func (*NullableStormPerf) UnmarshalJSON ¶
func (v *NullableStormPerf) UnmarshalJSON(src []byte) error
func (*NullableStormPerf) Unset ¶
func (v *NullableStormPerf) Unset()
type NullableString ¶
type NullableString struct {
// contains filtered or unexported fields
}
func NewNullableString ¶
func NewNullableString(val *string) *NullableString
func (NullableString) Get ¶
func (v NullableString) Get() *string
func (NullableString) IsSet ¶
func (v NullableString) IsSet() bool
func (NullableString) MarshalJSON ¶
func (v NullableString) MarshalJSON() ([]byte, error)
func (*NullableString) Set ¶
func (v *NullableString) Set(val *string)
func (*NullableString) UnmarshalJSON ¶
func (v *NullableString) UnmarshalJSON(src []byte) error
func (*NullableString) Unset ¶
func (v *NullableString) Unset()
type NullableSwissUnauthorisedEdit ¶
type NullableSwissUnauthorisedEdit struct {
// contains filtered or unexported fields
}
func NewNullableSwissUnauthorisedEdit ¶
func NewNullableSwissUnauthorisedEdit(val *SwissUnauthorisedEdit) *NullableSwissUnauthorisedEdit
func (NullableSwissUnauthorisedEdit) Get ¶
func (v NullableSwissUnauthorisedEdit) Get() *SwissUnauthorisedEdit
func (NullableSwissUnauthorisedEdit) IsSet ¶
func (v NullableSwissUnauthorisedEdit) IsSet() bool
func (NullableSwissUnauthorisedEdit) MarshalJSON ¶
func (v NullableSwissUnauthorisedEdit) MarshalJSON() ([]byte, error)
func (*NullableSwissUnauthorisedEdit) Set ¶
func (v *NullableSwissUnauthorisedEdit) Set(val *SwissUnauthorisedEdit)
func (*NullableSwissUnauthorisedEdit) UnmarshalJSON ¶
func (v *NullableSwissUnauthorisedEdit) UnmarshalJSON(src []byte) error
func (*NullableSwissUnauthorisedEdit) Unset ¶
func (v *NullableSwissUnauthorisedEdit) Unset()
type NullableTablebaseJson ¶
type NullableTablebaseJson struct {
// contains filtered or unexported fields
}
func NewNullableTablebaseJson ¶
func NewNullableTablebaseJson(val *TablebaseJson) *NullableTablebaseJson
func (NullableTablebaseJson) Get ¶
func (v NullableTablebaseJson) Get() *TablebaseJson
func (NullableTablebaseJson) IsSet ¶
func (v NullableTablebaseJson) IsSet() bool
func (NullableTablebaseJson) MarshalJSON ¶
func (v NullableTablebaseJson) MarshalJSON() ([]byte, error)
func (*NullableTablebaseJson) Set ¶
func (v *NullableTablebaseJson) Set(val *TablebaseJson)
func (*NullableTablebaseJson) UnmarshalJSON ¶
func (v *NullableTablebaseJson) UnmarshalJSON(src []byte) error
func (*NullableTablebaseJson) Unset ¶
func (v *NullableTablebaseJson) Unset()
type NullableTeam ¶
type NullableTeam struct {
// contains filtered or unexported fields
}
func NewNullableTeam ¶
func NewNullableTeam(val *Team) *NullableTeam
func (NullableTeam) Get ¶
func (v NullableTeam) Get() *Team
func (NullableTeam) IsSet ¶
func (v NullableTeam) IsSet() bool
func (NullableTeam) MarshalJSON ¶
func (v NullableTeam) MarshalJSON() ([]byte, error)
func (*NullableTeam) Set ¶
func (v *NullableTeam) Set(val *Team)
func (*NullableTeam) UnmarshalJSON ¶
func (v *NullableTeam) UnmarshalJSON(src []byte) error
func (*NullableTeam) Unset ¶
func (v *NullableTeam) Unset()
type NullableTeamAll200Response ¶
type NullableTeamAll200Response struct {
// contains filtered or unexported fields
}
func NewNullableTeamAll200Response ¶
func NewNullableTeamAll200Response(val *TeamAll200Response) *NullableTeamAll200Response
func (NullableTeamAll200Response) Get ¶
func (v NullableTeamAll200Response) Get() *TeamAll200Response
func (NullableTeamAll200Response) IsSet ¶
func (v NullableTeamAll200Response) IsSet() bool
func (NullableTeamAll200Response) MarshalJSON ¶
func (v NullableTeamAll200Response) MarshalJSON() ([]byte, error)
func (*NullableTeamAll200Response) Set ¶
func (v *NullableTeamAll200Response) Set(val *TeamAll200Response)
func (*NullableTeamAll200Response) UnmarshalJSON ¶
func (v *NullableTeamAll200Response) UnmarshalJSON(src []byte) error
func (*NullableTeamAll200Response) Unset ¶
func (v *NullableTeamAll200Response) Unset()
type NullableTeamRequest ¶
type NullableTeamRequest struct {
// contains filtered or unexported fields
}
func NewNullableTeamRequest ¶
func NewNullableTeamRequest(val *TeamRequest) *NullableTeamRequest
func (NullableTeamRequest) Get ¶
func (v NullableTeamRequest) Get() *TeamRequest
func (NullableTeamRequest) IsSet ¶
func (v NullableTeamRequest) IsSet() bool
func (NullableTeamRequest) MarshalJSON ¶
func (v NullableTeamRequest) MarshalJSON() ([]byte, error)
func (*NullableTeamRequest) Set ¶
func (v *NullableTeamRequest) Set(val *TeamRequest)
func (*NullableTeamRequest) UnmarshalJSON ¶
func (v *NullableTeamRequest) UnmarshalJSON(src []byte) error
func (*NullableTeamRequest) Unset ¶
func (v *NullableTeamRequest) Unset()
type NullableTeamRequestWithUser ¶
type NullableTeamRequestWithUser struct {
// contains filtered or unexported fields
}
func NewNullableTeamRequestWithUser ¶
func NewNullableTeamRequestWithUser(val *TeamRequestWithUser) *NullableTeamRequestWithUser
func (NullableTeamRequestWithUser) Get ¶
func (v NullableTeamRequestWithUser) Get() *TeamRequestWithUser
func (NullableTeamRequestWithUser) IsSet ¶
func (v NullableTeamRequestWithUser) IsSet() bool
func (NullableTeamRequestWithUser) MarshalJSON ¶
func (v NullableTeamRequestWithUser) MarshalJSON() ([]byte, error)
func (*NullableTeamRequestWithUser) Set ¶
func (v *NullableTeamRequestWithUser) Set(val *TeamRequestWithUser)
func (*NullableTeamRequestWithUser) UnmarshalJSON ¶
func (v *NullableTeamRequestWithUser) UnmarshalJSON(src []byte) error
func (*NullableTeamRequestWithUser) Unset ¶
func (v *NullableTeamRequestWithUser) Unset()
type NullableTime ¶
type NullableTime struct {
// contains filtered or unexported fields
}
func NewNullableTime ¶
func NewNullableTime(val *time.Time) *NullableTime
func (NullableTime) Get ¶
func (v NullableTime) Get() *time.Time
func (NullableTime) IsSet ¶
func (v NullableTime) IsSet() bool
func (NullableTime) MarshalJSON ¶
func (v NullableTime) MarshalJSON() ([]byte, error)
func (*NullableTime) Set ¶
func (v *NullableTime) Set(val *time.Time)
func (*NullableTime) UnmarshalJSON ¶
func (v *NullableTime) UnmarshalJSON(src []byte) error
func (*NullableTime) Unset ¶
func (v *NullableTime) Unset()
type NullableTitle ¶
type NullableTitle struct {
// contains filtered or unexported fields
}
func NewNullableTitle ¶
func NewNullableTitle(val *Title) *NullableTitle
func (NullableTitle) Get ¶
func (v NullableTitle) Get() *Title
func (NullableTitle) IsSet ¶
func (v NullableTitle) IsSet() bool
func (NullableTitle) MarshalJSON ¶
func (v NullableTitle) MarshalJSON() ([]byte, error)
func (*NullableTitle) Set ¶
func (v *NullableTitle) Set(val *Title)
func (*NullableTitle) UnmarshalJSON ¶
func (v *NullableTitle) UnmarshalJSON(src []byte) error
func (*NullableTitle) Unset ¶
func (v *NullableTitle) Unset()
type NullableUciVariant ¶
type NullableUciVariant struct {
// contains filtered or unexported fields
}
func NewNullableUciVariant ¶
func NewNullableUciVariant(val *UciVariant) *NullableUciVariant
func (NullableUciVariant) Get ¶
func (v NullableUciVariant) Get() *UciVariant
func (NullableUciVariant) IsSet ¶
func (v NullableUciVariant) IsSet() bool
func (NullableUciVariant) MarshalJSON ¶
func (v NullableUciVariant) MarshalJSON() ([]byte, error)
func (*NullableUciVariant) Set ¶
func (v *NullableUciVariant) Set(val *UciVariant)
func (*NullableUciVariant) UnmarshalJSON ¶
func (v *NullableUciVariant) UnmarshalJSON(src []byte) error
func (*NullableUciVariant) Unset ¶
func (v *NullableUciVariant) Unset()
type NullableUser ¶
type NullableUser struct {
// contains filtered or unexported fields
}
func NewNullableUser ¶
func NewNullableUser(val *User) *NullableUser
func (NullableUser) Get ¶
func (v NullableUser) Get() *User
func (NullableUser) IsSet ¶
func (v NullableUser) IsSet() bool
func (NullableUser) MarshalJSON ¶
func (v NullableUser) MarshalJSON() ([]byte, error)
func (*NullableUser) Set ¶
func (v *NullableUser) Set(val *User)
func (*NullableUser) UnmarshalJSON ¶
func (v *NullableUser) UnmarshalJSON(src []byte) error
func (*NullableUser) Unset ¶
func (v *NullableUser) Unset()
type NullableUserPreferences ¶
type NullableUserPreferences struct {
// contains filtered or unexported fields
}
func NewNullableUserPreferences ¶
func NewNullableUserPreferences(val *UserPreferences) *NullableUserPreferences
func (NullableUserPreferences) Get ¶
func (v NullableUserPreferences) Get() *UserPreferences
func (NullableUserPreferences) IsSet ¶
func (v NullableUserPreferences) IsSet() bool
func (NullableUserPreferences) MarshalJSON ¶
func (v NullableUserPreferences) MarshalJSON() ([]byte, error)
func (*NullableUserPreferences) Set ¶
func (v *NullableUserPreferences) Set(val *UserPreferences)
func (*NullableUserPreferences) UnmarshalJSON ¶
func (v *NullableUserPreferences) UnmarshalJSON(src []byte) error
func (*NullableUserPreferences) Unset ¶
func (v *NullableUserPreferences) Unset()
type NullableVariant ¶
type NullableVariant struct {
// contains filtered or unexported fields
}
func NewNullableVariant ¶
func NewNullableVariant(val *Variant) *NullableVariant
func (NullableVariant) Get ¶
func (v NullableVariant) Get() *Variant
func (NullableVariant) IsSet ¶
func (v NullableVariant) IsSet() bool
func (NullableVariant) MarshalJSON ¶
func (v NullableVariant) MarshalJSON() ([]byte, error)
func (*NullableVariant) Set ¶
func (v *NullableVariant) Set(val *Variant)
func (*NullableVariant) UnmarshalJSON ¶
func (v *NullableVariant) UnmarshalJSON(src []byte) error
func (*NullableVariant) Unset ¶
func (v *NullableVariant) Unset()
type NullableVariantKey ¶
type NullableVariantKey struct {
// contains filtered or unexported fields
}
func NewNullableVariantKey ¶
func NewNullableVariantKey(val *VariantKey) *NullableVariantKey
func (NullableVariantKey) Get ¶
func (v NullableVariantKey) Get() *VariantKey
func (NullableVariantKey) IsSet ¶
func (v NullableVariantKey) IsSet() bool
func (NullableVariantKey) MarshalJSON ¶
func (v NullableVariantKey) MarshalJSON() ([]byte, error)
func (*NullableVariantKey) Set ¶
func (v *NullableVariantKey) Set(val *VariantKey)
func (*NullableVariantKey) UnmarshalJSON ¶
func (v *NullableVariantKey) UnmarshalJSON(src []byte) error
func (*NullableVariantKey) Unset ¶
func (v *NullableVariantKey) Unset()
type OAuthApiService ¶
type OAuthApiService service
OAuthApiService OAuthApi service
func (*OAuthApiService) ApiToken ¶
func (a *OAuthApiService) ApiToken(ctx context.Context) ApiApiTokenRequest
ApiToken Obtain access token
OAuth2 token endpoint. Exchanges an authorization code for an access token.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiApiTokenRequest
func (*OAuthApiService) ApiTokenDelete ¶
func (a *OAuthApiService) ApiTokenDelete(ctx context.Context) ApiApiTokenDeleteRequest
ApiTokenDelete Revoke access token
Revokes the access token sent as Bearer for this request.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiApiTokenDeleteRequest
func (*OAuthApiService) ApiTokenDeleteExecute ¶
func (a *OAuthApiService) ApiTokenDeleteExecute(r ApiApiTokenDeleteRequest) (*http.Response, error)
Execute executes the request
func (*OAuthApiService) ApiTokenExecute ¶
func (a *OAuthApiService) ApiTokenExecute(r ApiApiTokenRequest) (*http.Response, error)
Execute executes the request
func (*OAuthApiService) Oauth ¶
func (a *OAuthApiService) Oauth(ctx context.Context) ApiOauthRequest
Oauth Request authorization code
OAuth2 authorization endpoint.
Start the OAuth2 Authorization Code Flow with PKCE by securely generating two random strings unique to each authorization request: * `code_verifier` * `state`
Store these in session storage. Make sure not to reveal `code_verifier` to eavesdroppers. Do not show it in URLs, do not abuse `state` to store it, do not send it over insecure connections. However it is fine if the user themselves can extract `code_verifier`, which will always be possible for fully client-side apps.
Then send the user to this endpoint. They will be prompted to grant authorization and then be redirected back to the given `redirect_uri`.
If the authorization failed, the following query string parameters will be appended to the redirection:
- `error`, in particular with value `access_denied` if the user cancelled authorization
- `error_description` to aid debugging
- `state`, exactly as passed in the `state` parameter
If the authorization succeeded, the following query string parameters will be appended to the redirection: * `code`, containing a fresh short-lived authorization code * `state`, exactly as passed in the `state` parameter
Next, to defend against cross site request forgery, check that the returned `state` matches the `state` you originally generated.
Finally, continue by using the authorization code to [obtain an access token](#operation/apiToken).
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiOauthRequest
func (*OAuthApiService) OauthExecute ¶
func (a *OAuthApiService) OauthExecute(r ApiOauthRequest) (*http.Response, error)
Execute executes the request
func (*OAuthApiService) TokenTest ¶
func (a *OAuthApiService) TokenTest(ctx context.Context) ApiTokenTestRequest
TokenTest Test multiple OAuth tokens
For up to 1000 OAuth tokens, returns their associated user ID and scopes, or `null` if the token is invalid.
The method is `POST` so a longer list of tokens can be sent in the request body.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiTokenTestRequest
func (*OAuthApiService) TokenTestExecute ¶
func (a *OAuthApiService) TokenTestExecute(r ApiTokenTestRequest) ([]map[string]interface{}, *http.Response, error)
Execute executes the request
@return []map[string]interface{}
type OAuthError ¶
type OAuthError struct { // The cause of the error. Error interface{} `json:"error,omitempty"` // The reason why the request was rejected. ErrorDescription interface{} `json:"error_description,omitempty"` }
OAuthError struct for OAuthError
func NewOAuthError ¶
func NewOAuthError() *OAuthError
NewOAuthError instantiates a new OAuthError object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewOAuthErrorWithDefaults ¶
func NewOAuthErrorWithDefaults() *OAuthError
NewOAuthErrorWithDefaults instantiates a new OAuthError object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*OAuthError) GetError ¶
func (o *OAuthError) GetError() interface{}
GetError returns the Error field value if set, zero value otherwise (both if not set or set to explicit null).
func (*OAuthError) GetErrorDescription ¶
func (o *OAuthError) GetErrorDescription() interface{}
GetErrorDescription returns the ErrorDescription field value if set, zero value otherwise (both if not set or set to explicit null).
func (*OAuthError) GetErrorDescriptionOk ¶
func (o *OAuthError) GetErrorDescriptionOk() (*interface{}, bool)
GetErrorDescriptionOk returns a tuple with the ErrorDescription field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*OAuthError) GetErrorOk ¶
func (o *OAuthError) GetErrorOk() (*interface{}, bool)
GetErrorOk returns a tuple with the Error field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*OAuthError) HasError ¶
func (o *OAuthError) HasError() bool
HasError returns a boolean if a field has been set.
func (*OAuthError) HasErrorDescription ¶
func (o *OAuthError) HasErrorDescription() bool
HasErrorDescription returns a boolean if a field has been set.
func (OAuthError) MarshalJSON ¶
func (o OAuthError) MarshalJSON() ([]byte, error)
func (*OAuthError) SetError ¶
func (o *OAuthError) SetError(v interface{})
SetError gets a reference to the given interface{} and assigns it to the Error field.
func (*OAuthError) SetErrorDescription ¶
func (o *OAuthError) SetErrorDescription(v interface{})
SetErrorDescription gets a reference to the given interface{} and assigns it to the ErrorDescription field.
type Ok ¶
type Ok struct {
Ok interface{} `json:"ok,omitempty"`
}
Ok struct for Ok
func NewOk ¶
func NewOk() *Ok
NewOk instantiates a new Ok object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewOkWithDefaults ¶
func NewOkWithDefaults() *Ok
NewOkWithDefaults instantiates a new Ok object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*Ok) GetOk ¶
func (o *Ok) GetOk() interface{}
GetOk returns the Ok field value if set, zero value otherwise (both if not set or set to explicit null).
func (*Ok) GetOkOk ¶
GetOkOk returns a tuple with the Ok field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (Ok) MarshalJSON ¶
type OpeningExplorerApiService ¶
type OpeningExplorerApiService service
OpeningExplorerApiService OpeningExplorerApi service
func (*OpeningExplorerApiService) OpeningExplorerLichess ¶
func (a *OpeningExplorerApiService) OpeningExplorerLichess(ctx context.Context) ApiOpeningExplorerLichessRequest
OpeningExplorerLichess Lichess games
**Endpoint: <https://explorer.lichess.ovh/lichess>**
Games sampled from all Lichess players.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiOpeningExplorerLichessRequest
func (*OpeningExplorerApiService) OpeningExplorerLichessExecute ¶
func (a *OpeningExplorerApiService) OpeningExplorerLichessExecute(r ApiOpeningExplorerLichessRequest) (interface{}, *http.Response, error)
Execute executes the request
@return interface{}
func (*OpeningExplorerApiService) OpeningExplorerLichessHistory ¶
func (a *OpeningExplorerApiService) OpeningExplorerLichessHistory(ctx context.Context) ApiOpeningExplorerLichessHistoryRequest
OpeningExplorerLichessHistory Lichess games history
**Endpoint: <https://explorer.lichess.ovh/lichess/history>**
Opening statistics of games sampled from all Lichess players, grouped by month. Starts with the first month that has any data, or at `since` if given.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiOpeningExplorerLichessHistoryRequest
func (*OpeningExplorerApiService) OpeningExplorerLichessHistoryExecute ¶
func (a *OpeningExplorerApiService) OpeningExplorerLichessHistoryExecute(r ApiOpeningExplorerLichessHistoryRequest) (interface{}, *http.Response, error)
Execute executes the request
@return interface{}
func (*OpeningExplorerApiService) OpeningExplorerMaster ¶
func (a *OpeningExplorerApiService) OpeningExplorerMaster(ctx context.Context) ApiOpeningExplorerMasterRequest
OpeningExplorerMaster Masters database
**Endpoint: <https://explorer.lichess.ovh/masters>**
Example: `curl https://explorer.lichess.ovh/masters?play=d2d4,d7d5,c2c4,c7c6,c4d5`
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiOpeningExplorerMasterRequest
func (*OpeningExplorerApiService) OpeningExplorerMasterExecute ¶
func (a *OpeningExplorerApiService) OpeningExplorerMasterExecute(r ApiOpeningExplorerMasterRequest) (interface{}, *http.Response, error)
Execute executes the request
@return interface{}
func (*OpeningExplorerApiService) OpeningExplorerMasterGame ¶
func (a *OpeningExplorerApiService) OpeningExplorerMasterGame(ctx context.Context, gameId interface{}) ApiOpeningExplorerMasterGameRequest
OpeningExplorerMasterGame OTB master game
**Endpoint: `https://explorer.lichess.ovh/masters/pgn/{gameId}`**
Example: `curl https://explorer.lichess.ovh/masters/pgn/aAbqI4ey`
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param gameId @return ApiOpeningExplorerMasterGameRequest
func (*OpeningExplorerApiService) OpeningExplorerMasterGameExecute ¶
func (a *OpeningExplorerApiService) OpeningExplorerMasterGameExecute(r ApiOpeningExplorerMasterGameRequest) (interface{}, *http.Response, error)
Execute executes the request
@return interface{}
func (*OpeningExplorerApiService) OpeningExplorerPlayer ¶
func (a *OpeningExplorerApiService) OpeningExplorerPlayer(ctx context.Context) ApiOpeningExplorerPlayerRequest
OpeningExplorerPlayer Player games
**Endpoint: <https://explorer.lichess.ovh/player>**
Games of a Lichess player.
Responds with a stream of [newline delimited JSON](#section/Introduction/Streaming-with-ND-JSON). Will start indexing on demand, immediately respond with the current results, and stream more updates until indexing is complete. The stream is throttled and deduplicated. Empty lines may be sent to avoid timeouts.
Will index new games at most once per minute, and revisit previously ongoing games at most once every day.
Example: `curl https://explorer.lichess.ovh/player?player=revoof&color=white&play=d2d4,d7d5&recentGames=1`
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiOpeningExplorerPlayerRequest
func (*OpeningExplorerApiService) OpeningExplorerPlayerExecute ¶
func (a *OpeningExplorerApiService) OpeningExplorerPlayerExecute(r ApiOpeningExplorerPlayerRequest) (interface{}, *http.Response, error)
Execute executes the request
@return interface{}
type OpponentGone ¶
type OpponentGone struct { Type interface{} `json:"type"` Gone interface{} `json:"gone"` ClaimWinInSeconds interface{} `json:"claimWinInSeconds,omitempty"` }
OpponentGone struct for OpponentGone
func NewOpponentGone ¶
func NewOpponentGone(type_ interface{}, gone interface{}) *OpponentGone
NewOpponentGone instantiates a new OpponentGone object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewOpponentGoneWithDefaults ¶
func NewOpponentGoneWithDefaults() *OpponentGone
NewOpponentGoneWithDefaults instantiates a new OpponentGone object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*OpponentGone) GetClaimWinInSeconds ¶
func (o *OpponentGone) GetClaimWinInSeconds() interface{}
GetClaimWinInSeconds returns the ClaimWinInSeconds field value if set, zero value otherwise (both if not set or set to explicit null).
func (*OpponentGone) GetClaimWinInSecondsOk ¶
func (o *OpponentGone) GetClaimWinInSecondsOk() (*interface{}, bool)
GetClaimWinInSecondsOk returns a tuple with the ClaimWinInSeconds field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*OpponentGone) GetGone ¶
func (o *OpponentGone) GetGone() interface{}
GetGone returns the Gone field value If the value is explicit nil, the zero value for interface{} will be returned
func (*OpponentGone) GetGoneOk ¶
func (o *OpponentGone) GetGoneOk() (*interface{}, bool)
GetGoneOk returns a tuple with the Gone field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*OpponentGone) GetType ¶
func (o *OpponentGone) GetType() interface{}
GetType returns the Type field value If the value is explicit nil, the zero value for interface{} will be returned
func (*OpponentGone) GetTypeOk ¶
func (o *OpponentGone) GetTypeOk() (*interface{}, bool)
GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*OpponentGone) HasClaimWinInSeconds ¶
func (o *OpponentGone) HasClaimWinInSeconds() bool
HasClaimWinInSeconds returns a boolean if a field has been set.
func (OpponentGone) MarshalJSON ¶
func (o OpponentGone) MarshalJSON() ([]byte, error)
func (*OpponentGone) SetClaimWinInSeconds ¶
func (o *OpponentGone) SetClaimWinInSeconds(v interface{})
SetClaimWinInSeconds gets a reference to the given interface{} and assigns it to the ClaimWinInSeconds field.
func (*OpponentGone) SetGone ¶
func (o *OpponentGone) SetGone(v interface{})
SetGone sets field value
func (*OpponentGone) SetType ¶
func (o *OpponentGone) SetType(v interface{})
SetType sets field value
type Perf ¶
type Perf struct { Games interface{} `json:"games,omitempty"` Rating interface{} `json:"rating,omitempty"` Rd interface{} `json:"rd,omitempty"` Prog interface{} `json:"prog,omitempty"` Prov interface{} `json:"prov,omitempty"` }
Perf struct for Perf
func NewPerf ¶
func NewPerf() *Perf
NewPerf instantiates a new Perf object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewPerfWithDefaults ¶
func NewPerfWithDefaults() *Perf
NewPerfWithDefaults instantiates a new Perf object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*Perf) GetGames ¶
func (o *Perf) GetGames() interface{}
GetGames returns the Games field value if set, zero value otherwise (both if not set or set to explicit null).
func (*Perf) GetGamesOk ¶
GetGamesOk returns a tuple with the Games field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*Perf) GetProg ¶
func (o *Perf) GetProg() interface{}
GetProg returns the Prog field value if set, zero value otherwise (both if not set or set to explicit null).
func (*Perf) GetProgOk ¶
GetProgOk returns a tuple with the Prog field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*Perf) GetProv ¶
func (o *Perf) GetProv() interface{}
GetProv returns the Prov field value if set, zero value otherwise (both if not set or set to explicit null).
func (*Perf) GetProvOk ¶
GetProvOk returns a tuple with the Prov field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*Perf) GetRating ¶
func (o *Perf) GetRating() interface{}
GetRating returns the Rating field value if set, zero value otherwise (both if not set or set to explicit null).
func (*Perf) GetRatingOk ¶
GetRatingOk returns a tuple with the Rating field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*Perf) GetRd ¶
func (o *Perf) GetRd() interface{}
GetRd returns the Rd field value if set, zero value otherwise (both if not set or set to explicit null).
func (*Perf) GetRdOk ¶
GetRdOk returns a tuple with the Rd field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (Perf) MarshalJSON ¶
func (*Perf) SetGames ¶
func (o *Perf) SetGames(v interface{})
SetGames gets a reference to the given interface{} and assigns it to the Games field.
func (*Perf) SetProg ¶
func (o *Perf) SetProg(v interface{})
SetProg gets a reference to the given interface{} and assigns it to the Prog field.
func (*Perf) SetProv ¶
func (o *Perf) SetProv(v interface{})
SetProv gets a reference to the given interface{} and assigns it to the Prov field.
type PerfType ¶
type PerfType struct { }
PerfType struct for PerfType
func NewPerfType ¶
func NewPerfType() *PerfType
NewPerfType instantiates a new PerfType object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewPerfTypeWithDefaults ¶
func NewPerfTypeWithDefaults() *PerfType
NewPerfTypeWithDefaults instantiates a new PerfType object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (PerfType) MarshalJSON ¶
type Perfs ¶
type Perfs struct { Chess960 *Perf `json:"chess960,omitempty"` Atomic *Perf `json:"atomic,omitempty"` RacingKings *Perf `json:"racingKings,omitempty"` UltraBullet *Perf `json:"ultraBullet,omitempty"` Blitz *Perf `json:"blitz,omitempty"` KingOfTheHill *Perf `json:"kingOfTheHill,omitempty"` Bullet *Perf `json:"bullet,omitempty"` Correspondence *Perf `json:"correspondence,omitempty"` Horde *Perf `json:"horde,omitempty"` Puzzle *Perf `json:"puzzle,omitempty"` Classical *Perf `json:"classical,omitempty"` Rapid *Perf `json:"rapid,omitempty"` Storm *StormPerf `json:"storm,omitempty"` }
Perfs struct for Perfs
func NewPerfs ¶
func NewPerfs() *Perfs
NewPerfs instantiates a new Perfs object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewPerfsWithDefaults ¶
func NewPerfsWithDefaults() *Perfs
NewPerfsWithDefaults instantiates a new Perfs object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*Perfs) GetAtomicOk ¶
GetAtomicOk returns a tuple with the Atomic field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Perfs) GetBlitzOk ¶
GetBlitzOk returns a tuple with the Blitz field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Perfs) GetBulletOk ¶
GetBulletOk returns a tuple with the Bullet field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Perfs) GetChess960 ¶
GetChess960 returns the Chess960 field value if set, zero value otherwise.
func (*Perfs) GetChess960Ok ¶
GetChess960Ok returns a tuple with the Chess960 field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Perfs) GetClassical ¶
GetClassical returns the Classical field value if set, zero value otherwise.
func (*Perfs) GetClassicalOk ¶
GetClassicalOk returns a tuple with the Classical field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Perfs) GetCorrespondence ¶
GetCorrespondence returns the Correspondence field value if set, zero value otherwise.
func (*Perfs) GetCorrespondenceOk ¶
GetCorrespondenceOk returns a tuple with the Correspondence field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Perfs) GetHordeOk ¶
GetHordeOk returns a tuple with the Horde field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Perfs) GetKingOfTheHill ¶
GetKingOfTheHill returns the KingOfTheHill field value if set, zero value otherwise.
func (*Perfs) GetKingOfTheHillOk ¶
GetKingOfTheHillOk returns a tuple with the KingOfTheHill field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Perfs) GetPuzzleOk ¶
GetPuzzleOk returns a tuple with the Puzzle field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Perfs) GetRacingKings ¶
GetRacingKings returns the RacingKings field value if set, zero value otherwise.
func (*Perfs) GetRacingKingsOk ¶
GetRacingKingsOk returns a tuple with the RacingKings field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Perfs) GetRapidOk ¶
GetRapidOk returns a tuple with the Rapid field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Perfs) GetStormOk ¶
GetStormOk returns a tuple with the Storm field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Perfs) GetUltraBullet ¶
GetUltraBullet returns the UltraBullet field value if set, zero value otherwise.
func (*Perfs) GetUltraBulletOk ¶
GetUltraBulletOk returns a tuple with the UltraBullet field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Perfs) HasChess960 ¶
HasChess960 returns a boolean if a field has been set.
func (*Perfs) HasClassical ¶
HasClassical returns a boolean if a field has been set.
func (*Perfs) HasCorrespondence ¶
HasCorrespondence returns a boolean if a field has been set.
func (*Perfs) HasKingOfTheHill ¶
HasKingOfTheHill returns a boolean if a field has been set.
func (*Perfs) HasRacingKings ¶
HasRacingKings returns a boolean if a field has been set.
func (*Perfs) HasUltraBullet ¶
HasUltraBullet returns a boolean if a field has been set.
func (Perfs) MarshalJSON ¶
func (*Perfs) SetAtomic ¶
SetAtomic gets a reference to the given Perf and assigns it to the Atomic field.
func (*Perfs) SetBlitz ¶
SetBlitz gets a reference to the given Perf and assigns it to the Blitz field.
func (*Perfs) SetBullet ¶
SetBullet gets a reference to the given Perf and assigns it to the Bullet field.
func (*Perfs) SetChess960 ¶
SetChess960 gets a reference to the given Perf and assigns it to the Chess960 field.
func (*Perfs) SetClassical ¶
SetClassical gets a reference to the given Perf and assigns it to the Classical field.
func (*Perfs) SetCorrespondence ¶
SetCorrespondence gets a reference to the given Perf and assigns it to the Correspondence field.
func (*Perfs) SetHorde ¶
SetHorde gets a reference to the given Perf and assigns it to the Horde field.
func (*Perfs) SetKingOfTheHill ¶
SetKingOfTheHill gets a reference to the given Perf and assigns it to the KingOfTheHill field.
func (*Perfs) SetPuzzle ¶
SetPuzzle gets a reference to the given Perf and assigns it to the Puzzle field.
func (*Perfs) SetRacingKings ¶
SetRacingKings gets a reference to the given Perf and assigns it to the RacingKings field.
func (*Perfs) SetRapid ¶
SetRapid gets a reference to the given Perf and assigns it to the Rapid field.
func (*Perfs) SetStorm ¶
SetStorm gets a reference to the given StormPerf and assigns it to the Storm field.
func (*Perfs) SetUltraBullet ¶
SetUltraBullet gets a reference to the given Perf and assigns it to the UltraBullet field.
type PlayTime ¶
type PlayTime struct { Total interface{} `json:"total,omitempty"` Tv interface{} `json:"tv,omitempty"` }
PlayTime struct for PlayTime
func NewPlayTime ¶
func NewPlayTime() *PlayTime
NewPlayTime instantiates a new PlayTime object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewPlayTimeWithDefaults ¶
func NewPlayTimeWithDefaults() *PlayTime
NewPlayTimeWithDefaults instantiates a new PlayTime object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*PlayTime) GetTotal ¶
func (o *PlayTime) GetTotal() interface{}
GetTotal returns the Total field value if set, zero value otherwise (both if not set or set to explicit null).
func (*PlayTime) GetTotalOk ¶
GetTotalOk returns a tuple with the Total field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*PlayTime) GetTv ¶
func (o *PlayTime) GetTv() interface{}
GetTv returns the Tv field value if set, zero value otherwise (both if not set or set to explicit null).
func (*PlayTime) GetTvOk ¶
GetTvOk returns a tuple with the Tv field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (PlayTime) MarshalJSON ¶
type Profile ¶
type Profile struct { Country interface{} `json:"country,omitempty"` Location interface{} `json:"location,omitempty"` Bio interface{} `json:"bio,omitempty"` FirstName interface{} `json:"firstName,omitempty"` LastName interface{} `json:"lastName,omitempty"` FideRating interface{} `json:"fideRating,omitempty"` UscfRating interface{} `json:"uscfRating,omitempty"` EcfRating interface{} `json:"ecfRating,omitempty"` Links interface{} `json:"links,omitempty"` }
Profile struct for Profile
func NewProfile ¶
func NewProfile() *Profile
NewProfile instantiates a new Profile object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewProfileWithDefaults ¶
func NewProfileWithDefaults() *Profile
NewProfileWithDefaults instantiates a new Profile object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*Profile) GetBio ¶
func (o *Profile) GetBio() interface{}
GetBio returns the Bio field value if set, zero value otherwise (both if not set or set to explicit null).
func (*Profile) GetBioOk ¶
GetBioOk returns a tuple with the Bio field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*Profile) GetCountry ¶
func (o *Profile) GetCountry() interface{}
GetCountry returns the Country field value if set, zero value otherwise (both if not set or set to explicit null).
func (*Profile) GetCountryOk ¶
GetCountryOk returns a tuple with the Country field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*Profile) GetEcfRating ¶
func (o *Profile) GetEcfRating() interface{}
GetEcfRating returns the EcfRating field value if set, zero value otherwise (both if not set or set to explicit null).
func (*Profile) GetEcfRatingOk ¶
GetEcfRatingOk returns a tuple with the EcfRating field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*Profile) GetFideRating ¶
func (o *Profile) GetFideRating() interface{}
GetFideRating returns the FideRating field value if set, zero value otherwise (both if not set or set to explicit null).
func (*Profile) GetFideRatingOk ¶
GetFideRatingOk returns a tuple with the FideRating field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*Profile) GetFirstName ¶
func (o *Profile) GetFirstName() interface{}
GetFirstName returns the FirstName field value if set, zero value otherwise (both if not set or set to explicit null).
func (*Profile) GetFirstNameOk ¶
GetFirstNameOk returns a tuple with the FirstName field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*Profile) GetLastName ¶
func (o *Profile) GetLastName() interface{}
GetLastName returns the LastName field value if set, zero value otherwise (both if not set or set to explicit null).
func (*Profile) GetLastNameOk ¶
GetLastNameOk returns a tuple with the LastName field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*Profile) GetLinks ¶
func (o *Profile) GetLinks() interface{}
GetLinks returns the Links field value if set, zero value otherwise (both if not set or set to explicit null).
func (*Profile) GetLinksOk ¶
GetLinksOk returns a tuple with the Links field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*Profile) GetLocation ¶
func (o *Profile) GetLocation() interface{}
GetLocation returns the Location field value if set, zero value otherwise (both if not set or set to explicit null).
func (*Profile) GetLocationOk ¶
GetLocationOk returns a tuple with the Location field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*Profile) GetUscfRating ¶
func (o *Profile) GetUscfRating() interface{}
GetUscfRating returns the UscfRating field value if set, zero value otherwise (both if not set or set to explicit null).
func (*Profile) GetUscfRatingOk ¶
GetUscfRatingOk returns a tuple with the UscfRating field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*Profile) HasCountry ¶
HasCountry returns a boolean if a field has been set.
func (*Profile) HasEcfRating ¶
HasEcfRating returns a boolean if a field has been set.
func (*Profile) HasFideRating ¶
HasFideRating returns a boolean if a field has been set.
func (*Profile) HasFirstName ¶
HasFirstName returns a boolean if a field has been set.
func (*Profile) HasLastName ¶
HasLastName returns a boolean if a field has been set.
func (*Profile) HasLocation ¶
HasLocation returns a boolean if a field has been set.
func (*Profile) HasUscfRating ¶
HasUscfRating returns a boolean if a field has been set.
func (Profile) MarshalJSON ¶
func (*Profile) SetBio ¶
func (o *Profile) SetBio(v interface{})
SetBio gets a reference to the given interface{} and assigns it to the Bio field.
func (*Profile) SetCountry ¶
func (o *Profile) SetCountry(v interface{})
SetCountry gets a reference to the given interface{} and assigns it to the Country field.
func (*Profile) SetEcfRating ¶
func (o *Profile) SetEcfRating(v interface{})
SetEcfRating gets a reference to the given interface{} and assigns it to the EcfRating field.
func (*Profile) SetFideRating ¶
func (o *Profile) SetFideRating(v interface{})
SetFideRating gets a reference to the given interface{} and assigns it to the FideRating field.
func (*Profile) SetFirstName ¶
func (o *Profile) SetFirstName(v interface{})
SetFirstName gets a reference to the given interface{} and assigns it to the FirstName field.
func (*Profile) SetLastName ¶
func (o *Profile) SetLastName(v interface{})
SetLastName gets a reference to the given interface{} and assigns it to the LastName field.
func (*Profile) SetLinks ¶
func (o *Profile) SetLinks(v interface{})
SetLinks gets a reference to the given interface{} and assigns it to the Links field.
func (*Profile) SetLocation ¶
func (o *Profile) SetLocation(v interface{})
SetLocation gets a reference to the given interface{} and assigns it to the Location field.
func (*Profile) SetUscfRating ¶
func (o *Profile) SetUscfRating(v interface{})
SetUscfRating gets a reference to the given interface{} and assigns it to the UscfRating field.
type PuzzleRoundJson ¶
type PuzzleRoundJson struct { Id interface{} `json:"id,omitempty"` Date interface{} `json:"date,omitempty"` Win interface{} `json:"win,omitempty"` PuzzleRating interface{} `json:"puzzleRating,omitempty"` }
PuzzleRoundJson struct for PuzzleRoundJson
func NewPuzzleRoundJson ¶
func NewPuzzleRoundJson() *PuzzleRoundJson
NewPuzzleRoundJson instantiates a new PuzzleRoundJson object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewPuzzleRoundJsonWithDefaults ¶
func NewPuzzleRoundJsonWithDefaults() *PuzzleRoundJson
NewPuzzleRoundJsonWithDefaults instantiates a new PuzzleRoundJson object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*PuzzleRoundJson) GetDate ¶
func (o *PuzzleRoundJson) GetDate() interface{}
GetDate returns the Date field value if set, zero value otherwise (both if not set or set to explicit null).
func (*PuzzleRoundJson) GetDateOk ¶
func (o *PuzzleRoundJson) GetDateOk() (*interface{}, bool)
GetDateOk returns a tuple with the Date field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*PuzzleRoundJson) GetId ¶
func (o *PuzzleRoundJson) GetId() interface{}
GetId returns the Id field value if set, zero value otherwise (both if not set or set to explicit null).
func (*PuzzleRoundJson) GetIdOk ¶
func (o *PuzzleRoundJson) GetIdOk() (*interface{}, bool)
GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*PuzzleRoundJson) GetPuzzleRating ¶
func (o *PuzzleRoundJson) GetPuzzleRating() interface{}
GetPuzzleRating returns the PuzzleRating field value if set, zero value otherwise (both if not set or set to explicit null).
func (*PuzzleRoundJson) GetPuzzleRatingOk ¶
func (o *PuzzleRoundJson) GetPuzzleRatingOk() (*interface{}, bool)
GetPuzzleRatingOk returns a tuple with the PuzzleRating field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*PuzzleRoundJson) GetWin ¶
func (o *PuzzleRoundJson) GetWin() interface{}
GetWin returns the Win field value if set, zero value otherwise (both if not set or set to explicit null).
func (*PuzzleRoundJson) GetWinOk ¶
func (o *PuzzleRoundJson) GetWinOk() (*interface{}, bool)
GetWinOk returns a tuple with the Win field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*PuzzleRoundJson) HasDate ¶
func (o *PuzzleRoundJson) HasDate() bool
HasDate returns a boolean if a field has been set.
func (*PuzzleRoundJson) HasId ¶
func (o *PuzzleRoundJson) HasId() bool
HasId returns a boolean if a field has been set.
func (*PuzzleRoundJson) HasPuzzleRating ¶
func (o *PuzzleRoundJson) HasPuzzleRating() bool
HasPuzzleRating returns a boolean if a field has been set.
func (*PuzzleRoundJson) HasWin ¶
func (o *PuzzleRoundJson) HasWin() bool
HasWin returns a boolean if a field has been set.
func (PuzzleRoundJson) MarshalJSON ¶
func (o PuzzleRoundJson) MarshalJSON() ([]byte, error)
func (*PuzzleRoundJson) SetDate ¶
func (o *PuzzleRoundJson) SetDate(v interface{})
SetDate gets a reference to the given interface{} and assigns it to the Date field.
func (*PuzzleRoundJson) SetId ¶
func (o *PuzzleRoundJson) SetId(v interface{})
SetId gets a reference to the given interface{} and assigns it to the Id field.
func (*PuzzleRoundJson) SetPuzzleRating ¶
func (o *PuzzleRoundJson) SetPuzzleRating(v interface{})
SetPuzzleRating gets a reference to the given interface{} and assigns it to the PuzzleRating field.
func (*PuzzleRoundJson) SetWin ¶
func (o *PuzzleRoundJson) SetWin(v interface{})
SetWin gets a reference to the given interface{} and assigns it to the Win field.
type PuzzlesApiService ¶
type PuzzlesApiService service
PuzzlesApiService PuzzlesApi service
func (*PuzzlesApiService) ApiPuzzleActivity ¶
func (a *PuzzlesApiService) ApiPuzzleActivity(ctx context.Context) ApiApiPuzzleActivityRequest
ApiPuzzleActivity Get your puzzle activity
Download your puzzle activity in [ndjson](#section/Introduction/Streaming-with-ND-JSON) format.
Puzzle activity is sorted by reverse chronological order (most recent first)
We recommend streaming the response, for it can be very long.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiApiPuzzleActivityRequest
func (*PuzzlesApiService) ApiPuzzleActivityExecute ¶
func (a *PuzzlesApiService) ApiPuzzleActivityExecute(r ApiApiPuzzleActivityRequest) (*PuzzleRoundJson, *http.Response, error)
Execute executes the request
@return PuzzleRoundJson
func (*PuzzlesApiService) ApiPuzzleDaily ¶
func (a *PuzzlesApiService) ApiPuzzleDaily(ctx context.Context) ApiApiPuzzleDailyRequest
ApiPuzzleDaily Get the daily puzzle
Get the daily Lichess puzzle in JSON format.
Alternatively, you can [post it in your slack workspace](https://lichess.org/daily-puzzle-slack).
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiApiPuzzleDailyRequest
func (*PuzzlesApiService) ApiPuzzleDailyExecute ¶
func (a *PuzzlesApiService) ApiPuzzleDailyExecute(r ApiApiPuzzleDailyRequest) (interface{}, *http.Response, error)
Execute executes the request
@return interface{}
func (*PuzzlesApiService) ApiPuzzleDashboard ¶
func (a *PuzzlesApiService) ApiPuzzleDashboard(ctx context.Context, days interface{}) ApiApiPuzzleDashboardRequest
ApiPuzzleDashboard Get your puzzle dashboard
Download your [puzzle dashboard](https://lichess.org/training/dashboard/30/dashboard) as JSON.
Also includes all puzzle themes played, with aggregated results.
Allows re-creating the improvement/strengths(https://lichess.org/training/dashboard/30/improvementAreas) interfaces.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param days How many days to look back when aggregating puzzle results. 30 is sensible. @return ApiApiPuzzleDashboardRequest
func (*PuzzlesApiService) ApiPuzzleDashboardExecute ¶
func (a *PuzzlesApiService) ApiPuzzleDashboardExecute(r ApiApiPuzzleDashboardRequest) (interface{}, *http.Response, error)
Execute executes the request
@return interface{}
func (*PuzzlesApiService) ApiPuzzleId ¶
func (a *PuzzlesApiService) ApiPuzzleId(ctx context.Context, id interface{}) ApiApiPuzzleIdRequest
ApiPuzzleId Get a puzzle by its ID
Get a single Lichess puzzle in JSON format.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param id The puzzle ID @return ApiApiPuzzleIdRequest
func (*PuzzlesApiService) ApiPuzzleIdExecute ¶
func (a *PuzzlesApiService) ApiPuzzleIdExecute(r ApiApiPuzzleIdRequest) (interface{}, *http.Response, error)
Execute executes the request
@return interface{}
func (*PuzzlesApiService) ApiStormDashboard ¶
func (a *PuzzlesApiService) ApiStormDashboard(ctx context.Context, username interface{}) ApiApiStormDashboardRequest
ApiStormDashboard Get the storm dashboard of a player
Download the [storm dashboard](https://lichess.org/storm/dashboard/mrbasso) of any player as JSON.
Contains the aggregated highscores, and the history of storm runs aggregated by days.
Use `?days=0` if you only care about the highscores.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param username Username of the player @return ApiApiStormDashboardRequest
func (*PuzzlesApiService) ApiStormDashboardExecute ¶
func (a *PuzzlesApiService) ApiStormDashboardExecute(r ApiApiStormDashboardRequest) (interface{}, *http.Response, error)
Execute executes the request
@return interface{}
func (*PuzzlesApiService) RacerPost ¶
func (a *PuzzlesApiService) RacerPost(ctx context.Context) ApiRacerPostRequest
RacerPost Create and join a puzzle race
Create a new private [puzzle race](https://lichess.org/racer). The Lichess user who creates the race must join the race page, and manually start the race when enough players have joined.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiRacerPostRequest
func (*PuzzlesApiService) RacerPostExecute ¶
func (a *PuzzlesApiService) RacerPostExecute(r ApiRacerPostRequest) (interface{}, *http.Response, error)
Execute executes the request
@return interface{}
type RelationsApiService ¶
type RelationsApiService service
RelationsApiService RelationsApi service
func (*RelationsApiService) ApiUserFollowing ¶
func (a *RelationsApiService) ApiUserFollowing(ctx context.Context) ApiApiUserFollowingRequest
ApiUserFollowing Get users followed by the logged in user
Users are streamed as [ndjson](#section/Introduction/Streaming-with-ND-JSON).
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiApiUserFollowingRequest
func (*RelationsApiService) ApiUserFollowingExecute ¶
func (a *RelationsApiService) ApiUserFollowingExecute(r ApiApiUserFollowingRequest) (interface{}, *http.Response, error)
Execute executes the request
@return interface{}
func (*RelationsApiService) FollowUser ¶
func (a *RelationsApiService) FollowUser(ctx context.Context, username interface{}) ApiFollowUserRequest
FollowUser Follow a player
Follow a player, adding them to your list of Lichess friends.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param username @return ApiFollowUserRequest
func (*RelationsApiService) FollowUserExecute ¶
func (a *RelationsApiService) FollowUserExecute(r ApiFollowUserRequest) (*Ok, *http.Response, error)
Execute executes the request
@return Ok
func (*RelationsApiService) UnfollowUser ¶
func (a *RelationsApiService) UnfollowUser(ctx context.Context, username interface{}) ApiUnfollowUserRequest
UnfollowUser Unfollow a player
Unfollow a player, removing them from your list of Lichess friends.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param username @return ApiUnfollowUserRequest
func (*RelationsApiService) UnfollowUserExecute ¶
func (a *RelationsApiService) UnfollowUserExecute(r ApiUnfollowUserRequest) (*Ok, *http.Response, error)
Execute executes the request
@return Ok
type ServerConfiguration ¶
type ServerConfiguration struct { URL string Description string Variables map[string]ServerVariable }
ServerConfiguration stores the information about a server
type ServerConfigurations ¶
type ServerConfigurations []ServerConfiguration
ServerConfigurations stores multiple ServerConfiguration items
type ServerVariable ¶
ServerVariable stores the information about a server variable
type SimulsApiService ¶
type SimulsApiService service
SimulsApiService SimulsApi service
func (*SimulsApiService) ApiSimul ¶
func (a *SimulsApiService) ApiSimul(ctx context.Context) ApiApiSimulRequest
ApiSimul Get current simuls
Get recently finished, ongoing, and upcoming simuls.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiApiSimulRequest
func (*SimulsApiService) ApiSimulExecute ¶
func (a *SimulsApiService) ApiSimulExecute(r ApiApiSimulRequest) ([]interface{}, *http.Response, error)
Execute executes the request
@return []interface{}
type Speed ¶
type Speed struct { }
Speed struct for Speed
func NewSpeed ¶
func NewSpeed() *Speed
NewSpeed instantiates a new Speed object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewSpeedWithDefaults ¶
func NewSpeedWithDefaults() *Speed
NewSpeedWithDefaults instantiates a new Speed object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (Speed) MarshalJSON ¶
type StormPerf ¶
type StormPerf struct { Runs interface{} `json:"runs,omitempty"` Score interface{} `json:"score,omitempty"` }
StormPerf struct for StormPerf
func NewStormPerf ¶
func NewStormPerf() *StormPerf
NewStormPerf instantiates a new StormPerf object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewStormPerfWithDefaults ¶
func NewStormPerfWithDefaults() *StormPerf
NewStormPerfWithDefaults instantiates a new StormPerf object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*StormPerf) GetRuns ¶
func (o *StormPerf) GetRuns() interface{}
GetRuns returns the Runs field value if set, zero value otherwise (both if not set or set to explicit null).
func (*StormPerf) GetRunsOk ¶
GetRunsOk returns a tuple with the Runs field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*StormPerf) GetScore ¶
func (o *StormPerf) GetScore() interface{}
GetScore returns the Score field value if set, zero value otherwise (both if not set or set to explicit null).
func (*StormPerf) GetScoreOk ¶
GetScoreOk returns a tuple with the Score field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (StormPerf) MarshalJSON ¶
type StudiesApiService ¶
type StudiesApiService service
StudiesApiService StudiesApi service
func (*StudiesApiService) StudyAllChaptersPgn ¶
func (a *StudiesApiService) StudyAllChaptersPgn(ctx context.Context, studyId interface{}) ApiStudyAllChaptersPgnRequest
StudyAllChaptersPgn Export all chapters
Download all chapters of a study in PGN format.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param studyId The study ID (8 characters). @return ApiStudyAllChaptersPgnRequest
func (*StudiesApiService) StudyAllChaptersPgnExecute ¶
func (a *StudiesApiService) StudyAllChaptersPgnExecute(r ApiStudyAllChaptersPgnRequest) (interface{}, *http.Response, error)
Execute executes the request
@return interface{}
func (*StudiesApiService) StudyChapterPgn ¶
func (a *StudiesApiService) StudyChapterPgn(ctx context.Context, studyId interface{}, chapterId interface{}) ApiStudyChapterPgnRequest
StudyChapterPgn Export one study chapter
Download one study chapter in PGN format.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param studyId The study ID (8 characters). @param chapterId The chapter ID (8 characters). @return ApiStudyChapterPgnRequest
func (*StudiesApiService) StudyChapterPgnExecute ¶
func (a *StudiesApiService) StudyChapterPgnExecute(r ApiStudyChapterPgnRequest) (interface{}, *http.Response, error)
Execute executes the request
@return interface{}
func (*StudiesApiService) StudyExportAllPgn ¶
func (a *StudiesApiService) StudyExportAllPgn(ctx context.Context, username interface{}) ApiStudyExportAllPgnRequest
StudyExportAllPgn Export all studies of a user
Download all chapters of all studies of a user in PGN format.
If authenticated, then all public, unlisted, and private studies are included.
If not, only public, listed studies are included.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param username The user whose studies we export @return ApiStudyExportAllPgnRequest
func (*StudiesApiService) StudyExportAllPgnExecute ¶
func (a *StudiesApiService) StudyExportAllPgnExecute(r ApiStudyExportAllPgnRequest) (interface{}, *http.Response, error)
Execute executes the request
@return interface{}
type SwissApiTeamSwissRequest ¶
type SwissApiTeamSwissRequest struct { ApiService *SwissTournamentsApiService // contains filtered or unexported fields }
func (SwissApiTeamSwissRequest) Execute ¶
func (r SwissApiTeamSwissRequest) Execute() (interface{}, *http.Response, error)
func (SwissApiTeamSwissRequest) Max ¶
func (r SwissApiTeamSwissRequest) Max(max interface{}) SwissApiTeamSwissRequest
How many tournaments to download.
type SwissTournamentsApiService ¶
type SwissTournamentsApiService service
SwissTournamentsApiService SwissTournamentsApi service
func (*SwissTournamentsApiService) ApiSwissJoin ¶
func (a *SwissTournamentsApiService) ApiSwissJoin(ctx context.Context, id interface{}) ApiApiSwissJoinRequest
ApiSwissJoin Join a Swiss tournament
Join a Swiss tournament, possibly with a password.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param id The tournament ID. @return ApiApiSwissJoinRequest
func (*SwissTournamentsApiService) ApiSwissJoinExecute ¶
func (a *SwissTournamentsApiService) ApiSwissJoinExecute(r ApiApiSwissJoinRequest) (*Ok, *http.Response, error)
Execute executes the request
@return Ok
func (*SwissTournamentsApiService) ApiSwissNew ¶
func (a *SwissTournamentsApiService) ApiSwissNew(ctx context.Context, teamId interface{}) ApiApiSwissNewRequest
ApiSwissNew Create a new Swiss tournament
Create a Swiss tournament for your team.
This endpoint mirrors the Swiss tournament form from your team pagee.
You can create up to 12 tournaments per day.
Additional restrictions:
clock.limit + clock.increment > 0
15s and 0+1 variant tournaments cannot be rated
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param teamId ID of the team @return ApiApiSwissNewRequest
func (*SwissTournamentsApiService) ApiSwissNewExecute ¶
func (a *SwissTournamentsApiService) ApiSwissNewExecute(r ApiApiSwissNewRequest) (interface{}, *http.Response, error)
Execute executes the request
@return interface{}
func (*SwissTournamentsApiService) ApiSwissTerminate ¶
func (a *SwissTournamentsApiService) ApiSwissTerminate(ctx context.Context, id interface{}) ApiApiSwissTerminateRequest
ApiSwissTerminate Terminate a Swiss tournament
Terminate a Swiss tournament
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param id The Swiss tournament ID. @return ApiApiSwissTerminateRequest
func (*SwissTournamentsApiService) ApiSwissTerminateExecute ¶
func (a *SwissTournamentsApiService) ApiSwissTerminateExecute(r ApiApiSwissTerminateRequest) (*Ok, *http.Response, error)
Execute executes the request
@return Ok
func (*SwissTournamentsApiService) ApiSwissUpdate ¶
func (a *SwissTournamentsApiService) ApiSwissUpdate(ctx context.Context, id interface{}) ApiApiSwissUpdateRequest
ApiSwissUpdate Update a Swiss tournament.
Update a Swiss tournament.
Be mindful not to make important changes to ongoing tournaments.
Additional restrictions:
clock.limit + clock.increment > 0
15s and 0+1 variant tournaments cannot be rated
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param id The tournament ID. @return ApiApiSwissUpdateRequest
func (*SwissTournamentsApiService) ApiSwissUpdateExecute ¶
func (a *SwissTournamentsApiService) ApiSwissUpdateExecute(r ApiApiSwissUpdateRequest) (interface{}, *http.Response, error)
Execute executes the request
@return interface{}
func (*SwissTournamentsApiService) ApiSwissWithdraw ¶
func (a *SwissTournamentsApiService) ApiSwissWithdraw(ctx context.Context, id interface{}) ApiApiSwissWithdrawRequest
ApiSwissWithdraw Pause or leave a swiss tournament
Leave a future Swiss tournament, or take a break on an ongoing Swiss tournament. It's possible to join again later. Points are preserved.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param id The tournament ID. @return ApiApiSwissWithdrawRequest
func (*SwissTournamentsApiService) ApiSwissWithdrawExecute ¶
func (a *SwissTournamentsApiService) ApiSwissWithdrawExecute(r ApiApiSwissWithdrawRequest) (*Ok, *http.Response, error)
Execute executes the request
@return Ok
func (*SwissTournamentsApiService) ApiTeamSwiss ¶
func (a *SwissTournamentsApiService) ApiTeamSwiss(ctx context.Context, teamId interface{}) SwissApiTeamSwissRequest
ApiTeamSwiss Get team swiss tournaments
Get all swiss tournaments of a team.
Tournaments are sorted by reverse chronological order of start date (last starting first).
Tournaments are streamed as [ndjson](#section/Introduction/Streaming-with-ND-JSON).
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param teamId @return SwissApiTeamSwissRequest
func (*SwissTournamentsApiService) ApiTeamSwissExecute ¶
func (a *SwissTournamentsApiService) ApiTeamSwissExecute(r SwissApiTeamSwissRequest) (interface{}, *http.Response, error)
Execute executes the request
@return interface{}
func (*SwissTournamentsApiService) GamesBySwiss ¶
func (a *SwissTournamentsApiService) GamesBySwiss(ctx context.Context, id interface{}) ApiGamesBySwissRequest
GamesBySwiss Export games of a Swiss tournament
Download games of a swiss tournament in PGN or [ndjson](#section/Introduction/Streaming-with-ND-JSON) format.
Games are sorted by reverse chronological order (last round first).
The game stream is throttled, depending on who is making the request:
Anonymous request: 20 games per second
[OAuth2 authenticated](#section/Authentication) request: 30 games per second
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param id The tournament ID. @return ApiGamesBySwissRequest
func (*SwissTournamentsApiService) GamesBySwissExecute ¶
func (a *SwissTournamentsApiService) GamesBySwissExecute(r ApiGamesBySwissRequest) (interface{}, *http.Response, error)
Execute executes the request
@return interface{}
func (*SwissTournamentsApiService) ResultsBySwiss ¶
func (a *SwissTournamentsApiService) ResultsBySwiss(ctx context.Context, id interface{}) ApiResultsBySwissRequest
ResultsBySwiss Get results of a swiss tournament
Players of a swiss tournament, with their score and performance, sorted by rank (best first).
Players are streamed as [ndjson](#section/Introduction/Streaming-with-ND-JSON).
If called on an ongoing tournament, results can be inconsistent due to ranking changes while the players are being streamed. Use on finished tournaments for guaranteed consistency.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param id The tournament ID. @return ApiResultsBySwissRequest
func (*SwissTournamentsApiService) ResultsBySwissExecute ¶
func (a *SwissTournamentsApiService) ResultsBySwissExecute(r ApiResultsBySwissRequest) (interface{}, *http.Response, error)
Execute executes the request
@return interface{}
func (*SwissTournamentsApiService) Swiss ¶
func (a *SwissTournamentsApiService) Swiss(ctx context.Context, id interface{}) ApiSwissRequest
Swiss Get info about a Swiss tournament
Get detailed info about a Swiss tournament.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param id The Swiss tournament ID. @return ApiSwissRequest
func (*SwissTournamentsApiService) SwissExecute ¶
func (a *SwissTournamentsApiService) SwissExecute(r ApiSwissRequest) (interface{}, *http.Response, error)
Execute executes the request
@return interface{}
func (*SwissTournamentsApiService) SwissTrf ¶
func (a *SwissTournamentsApiService) SwissTrf(ctx context.Context, id interface{}) ApiSwissTrfRequest
SwissTrf Export TRF of a Swiss tournament
Download a tournament in the Tournament Report File format, the FIDE standard.
Documentation: <https://www.fide.com/FIDE/handbook/C04Annex2_TRF16.pdf>
Example: <https://lichess.org/swiss/j8rtJ5GL.trf>
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param id The tournament ID. @return ApiSwissTrfRequest
func (*SwissTournamentsApiService) SwissTrfExecute ¶
func (a *SwissTournamentsApiService) SwissTrfExecute(r ApiSwissTrfRequest) (interface{}, *http.Response, error)
Execute executes the request
@return interface{}
type SwissUnauthorisedEdit ¶
type SwissUnauthorisedEdit struct {
}SwissUnauthorisedEdit struct for SwissUnauthorisedEdit
func NewSwissUnauthorisedEdit ¶
func NewSwissUnauthorisedEdit() *SwissUnauthorisedEdit
NewSwissUnauthorisedEdit instantiates a new SwissUnauthorisedEdit object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewSwissUnauthorisedEditWithDefaults ¶
func NewSwissUnauthorisedEditWithDefaults() *SwissUnauthorisedEdit
NewSwissUnauthorisedEditWithDefaults instantiates a new SwissUnauthorisedEdit object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*SwissUnauthorisedEdit) GetError ¶
func (o *SwissUnauthorisedEdit) GetError() interface{}
GetError returns the Error field value if set, zero value otherwise (both if not set or set to explicit null).
func (*SwissUnauthorisedEdit) GetErrorOk ¶
func (o *SwissUnauthorisedEdit) GetErrorOk() (*interface{}, bool)
GetErrorOk returns a tuple with the Error field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*SwissUnauthorisedEdit) HasError ¶
func (o *SwissUnauthorisedEdit) HasError() bool
HasError returns a boolean if a field has been set.
func (SwissUnauthorisedEdit) MarshalJSON ¶
func (o SwissUnauthorisedEdit) MarshalJSON() ([]byte, error)
func (*SwissUnauthorisedEdit) SetError ¶
func (o *SwissUnauthorisedEdit) SetError(v interface{})
SetError gets a reference to the given interface{} and assigns it to the Error field.
type TVApiService ¶
type TVApiService service
TVApiService TVApi service
func (*TVApiService) TvChannelGames ¶
func (a *TVApiService) TvChannelGames(ctx context.Context, channel interface{}) ApiTvChannelGamesRequest
TvChannelGames Get best ongoing games of a TV channel
Get a list of ongoing games for a given TV channel. Similar to lichess.org/games(https://lichess.org/games).
Available in PGN or [ndjson](#section/Introduction/Streaming-with-ND-JSON) format, depending on the request Accept header.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param channel The name of the channel in camel case. @return ApiTvChannelGamesRequest
func (*TVApiService) TvChannelGamesExecute ¶
func (a *TVApiService) TvChannelGamesExecute(r ApiTvChannelGamesRequest) (interface{}, *http.Response, error)
Execute executes the request
@return interface{}
func (*TVApiService) TvChannels ¶
func (a *TVApiService) TvChannels(ctx context.Context) ApiTvChannelsRequest
TvChannels Get current TV games
Get basic info about the best games being played for each speed and variant, but also computer games and bot games.
See lichess.org/tv(https://lichess.org/tv).
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiTvChannelsRequest
func (*TVApiService) TvChannelsExecute ¶
func (a *TVApiService) TvChannelsExecute(r ApiTvChannelsRequest) (interface{}, *http.Response, error)
Execute executes the request
@return interface{}
func (*TVApiService) TvFeed ¶
func (a *TVApiService) TvFeed(ctx context.Context) ApiTvFeedRequest
TvFeed Stream current TV game
Stream positions and moves of the current [TV game](https://lichess.org/tv) in [ndjson](#section/Introduction/Streaming-with-ND-JSON). A summary of the game is sent as a first message, and when the featured game changes.
Try it with `curl https://lichess.org/api/tv/feed`.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiTvFeedRequest
func (*TVApiService) TvFeedExecute ¶
func (a *TVApiService) TvFeedExecute(r ApiTvFeedRequest) (interface{}, *http.Response, error)
Execute executes the request
@return interface{}
type TablebaseApiService ¶
type TablebaseApiService service
TablebaseApiService TablebaseApi service
func (*TablebaseApiService) AntichessAtomic ¶
func (a *TablebaseApiService) AntichessAtomic(ctx context.Context) ApiAntichessAtomicRequest
AntichessAtomic Tablebase lookup for Antichess
**Endpoint: <https://tablebase.lichess.ovh>**
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiAntichessAtomicRequest
func (*TablebaseApiService) AntichessAtomicExecute ¶
func (a *TablebaseApiService) AntichessAtomicExecute(r ApiAntichessAtomicRequest) (interface{}, *http.Response, error)
Execute executes the request
@return interface{}
func (*TablebaseApiService) TablebaseAtomic ¶
func (a *TablebaseApiService) TablebaseAtomic(ctx context.Context) ApiTablebaseAtomicRequest
TablebaseAtomic Tablebase lookup for Atomic chess
**Endpoint: <https://tablebase.lichess.ovh>**
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiTablebaseAtomicRequest
func (*TablebaseApiService) TablebaseAtomicExecute ¶
func (a *TablebaseApiService) TablebaseAtomicExecute(r ApiTablebaseAtomicRequest) (interface{}, *http.Response, error)
Execute executes the request
@return interface{}
func (*TablebaseApiService) TablebaseStandard ¶
func (a *TablebaseApiService) TablebaseStandard(ctx context.Context) ApiTablebaseStandardRequest
TablebaseStandard Tablebase lookup
**Endpoint: <https://tablebase.lichess.ovh>**
Example: `curl http://tablebase.lichess.ovh/standard?fen=4k3/6KP/8/8/8/8/7p/8_w_-_-_0_1`
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiTablebaseStandardRequest
func (*TablebaseApiService) TablebaseStandardExecute ¶
func (a *TablebaseApiService) TablebaseStandardExecute(r ApiTablebaseStandardRequest) (*TablebaseJson, *http.Response, error)
Execute executes the request
@return TablebaseJson
type TablebaseJson ¶
type TablebaseJson struct { // `cursed-win` and `blessed-loss` means the 50-move rule prevents the decisive result. `maybe-win` and `maybe-loss` means exact result is unknown due to [DTZ rounding](https://syzygy-tables.info/metrics#dtz), i.e., the win or loss could also be prevented by the 50-move rule if the user has deviated from the tablebase recommendation since the last pawn move or capture. Category interface{} `json:"category,omitempty"` // [DTZ50” with rounding](https://syzygy-tables.info/metrics#dtz) or null if unknown Dtz interface{} `json:"dtz,omitempty"` // DTZ50” (only if guaranteed to be not rounded) or null if unknown PreciseDtz interface{} `json:"precise_dtz,omitempty"` // Distance to mate (only for positions with not more than 5 pieces) Dtm interface{} `json:"dtm,omitempty"` Checkmate interface{} `json:"checkmate,omitempty"` Stalemate interface{} `json:"stalemate,omitempty"` // Only in chess variants VariantWin interface{} `json:"variant_win,omitempty"` // Only in chess variants VariantLoss interface{} `json:"variant_loss,omitempty"` InsufficientMaterial interface{} `json:"insufficient_material,omitempty"` // Information about legal moves, best first Moves interface{} `json:"moves,omitempty"` }
TablebaseJson struct for TablebaseJson
func NewTablebaseJson ¶
func NewTablebaseJson() *TablebaseJson
NewTablebaseJson instantiates a new TablebaseJson object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewTablebaseJsonWithDefaults ¶
func NewTablebaseJsonWithDefaults() *TablebaseJson
NewTablebaseJsonWithDefaults instantiates a new TablebaseJson object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*TablebaseJson) GetCategory ¶
func (o *TablebaseJson) GetCategory() interface{}
GetCategory returns the Category field value if set, zero value otherwise (both if not set or set to explicit null).
func (*TablebaseJson) GetCategoryOk ¶
func (o *TablebaseJson) GetCategoryOk() (*interface{}, bool)
GetCategoryOk returns a tuple with the Category field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*TablebaseJson) GetCheckmate ¶
func (o *TablebaseJson) GetCheckmate() interface{}
GetCheckmate returns the Checkmate field value if set, zero value otherwise (both if not set or set to explicit null).
func (*TablebaseJson) GetCheckmateOk ¶
func (o *TablebaseJson) GetCheckmateOk() (*interface{}, bool)
GetCheckmateOk returns a tuple with the Checkmate field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*TablebaseJson) GetDtm ¶
func (o *TablebaseJson) GetDtm() interface{}
GetDtm returns the Dtm field value if set, zero value otherwise (both if not set or set to explicit null).
func (*TablebaseJson) GetDtmOk ¶
func (o *TablebaseJson) GetDtmOk() (*interface{}, bool)
GetDtmOk returns a tuple with the Dtm field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*TablebaseJson) GetDtz ¶
func (o *TablebaseJson) GetDtz() interface{}
GetDtz returns the Dtz field value if set, zero value otherwise (both if not set or set to explicit null).
func (*TablebaseJson) GetDtzOk ¶
func (o *TablebaseJson) GetDtzOk() (*interface{}, bool)
GetDtzOk returns a tuple with the Dtz field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*TablebaseJson) GetInsufficientMaterial ¶
func (o *TablebaseJson) GetInsufficientMaterial() interface{}
GetInsufficientMaterial returns the InsufficientMaterial field value if set, zero value otherwise (both if not set or set to explicit null).
func (*TablebaseJson) GetInsufficientMaterialOk ¶
func (o *TablebaseJson) GetInsufficientMaterialOk() (*interface{}, bool)
GetInsufficientMaterialOk returns a tuple with the InsufficientMaterial field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*TablebaseJson) GetMoves ¶
func (o *TablebaseJson) GetMoves() interface{}
GetMoves returns the Moves field value if set, zero value otherwise (both if not set or set to explicit null).
func (*TablebaseJson) GetMovesOk ¶
func (o *TablebaseJson) GetMovesOk() (*interface{}, bool)
GetMovesOk returns a tuple with the Moves field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*TablebaseJson) GetPreciseDtz ¶
func (o *TablebaseJson) GetPreciseDtz() interface{}
GetPreciseDtz returns the PreciseDtz field value if set, zero value otherwise (both if not set or set to explicit null).
func (*TablebaseJson) GetPreciseDtzOk ¶
func (o *TablebaseJson) GetPreciseDtzOk() (*interface{}, bool)
GetPreciseDtzOk returns a tuple with the PreciseDtz field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*TablebaseJson) GetStalemate ¶
func (o *TablebaseJson) GetStalemate() interface{}
GetStalemate returns the Stalemate field value if set, zero value otherwise (both if not set or set to explicit null).
func (*TablebaseJson) GetStalemateOk ¶
func (o *TablebaseJson) GetStalemateOk() (*interface{}, bool)
GetStalemateOk returns a tuple with the Stalemate field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*TablebaseJson) GetVariantLoss ¶
func (o *TablebaseJson) GetVariantLoss() interface{}
GetVariantLoss returns the VariantLoss field value if set, zero value otherwise (both if not set or set to explicit null).
func (*TablebaseJson) GetVariantLossOk ¶
func (o *TablebaseJson) GetVariantLossOk() (*interface{}, bool)
GetVariantLossOk returns a tuple with the VariantLoss field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*TablebaseJson) GetVariantWin ¶
func (o *TablebaseJson) GetVariantWin() interface{}
GetVariantWin returns the VariantWin field value if set, zero value otherwise (both if not set or set to explicit null).
func (*TablebaseJson) GetVariantWinOk ¶
func (o *TablebaseJson) GetVariantWinOk() (*interface{}, bool)
GetVariantWinOk returns a tuple with the VariantWin field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*TablebaseJson) HasCategory ¶
func (o *TablebaseJson) HasCategory() bool
HasCategory returns a boolean if a field has been set.
func (*TablebaseJson) HasCheckmate ¶
func (o *TablebaseJson) HasCheckmate() bool
HasCheckmate returns a boolean if a field has been set.
func (*TablebaseJson) HasDtm ¶
func (o *TablebaseJson) HasDtm() bool
HasDtm returns a boolean if a field has been set.
func (*TablebaseJson) HasDtz ¶
func (o *TablebaseJson) HasDtz() bool
HasDtz returns a boolean if a field has been set.
func (*TablebaseJson) HasInsufficientMaterial ¶
func (o *TablebaseJson) HasInsufficientMaterial() bool
HasInsufficientMaterial returns a boolean if a field has been set.
func (*TablebaseJson) HasMoves ¶
func (o *TablebaseJson) HasMoves() bool
HasMoves returns a boolean if a field has been set.
func (*TablebaseJson) HasPreciseDtz ¶
func (o *TablebaseJson) HasPreciseDtz() bool
HasPreciseDtz returns a boolean if a field has been set.
func (*TablebaseJson) HasStalemate ¶
func (o *TablebaseJson) HasStalemate() bool
HasStalemate returns a boolean if a field has been set.
func (*TablebaseJson) HasVariantLoss ¶
func (o *TablebaseJson) HasVariantLoss() bool
HasVariantLoss returns a boolean if a field has been set.
func (*TablebaseJson) HasVariantWin ¶
func (o *TablebaseJson) HasVariantWin() bool
HasVariantWin returns a boolean if a field has been set.
func (TablebaseJson) MarshalJSON ¶
func (o TablebaseJson) MarshalJSON() ([]byte, error)
func (*TablebaseJson) SetCategory ¶
func (o *TablebaseJson) SetCategory(v interface{})
SetCategory gets a reference to the given interface{} and assigns it to the Category field.
func (*TablebaseJson) SetCheckmate ¶
func (o *TablebaseJson) SetCheckmate(v interface{})
SetCheckmate gets a reference to the given interface{} and assigns it to the Checkmate field.
func (*TablebaseJson) SetDtm ¶
func (o *TablebaseJson) SetDtm(v interface{})
SetDtm gets a reference to the given interface{} and assigns it to the Dtm field.
func (*TablebaseJson) SetDtz ¶
func (o *TablebaseJson) SetDtz(v interface{})
SetDtz gets a reference to the given interface{} and assigns it to the Dtz field.
func (*TablebaseJson) SetInsufficientMaterial ¶
func (o *TablebaseJson) SetInsufficientMaterial(v interface{})
SetInsufficientMaterial gets a reference to the given interface{} and assigns it to the InsufficientMaterial field.
func (*TablebaseJson) SetMoves ¶
func (o *TablebaseJson) SetMoves(v interface{})
SetMoves gets a reference to the given interface{} and assigns it to the Moves field.
func (*TablebaseJson) SetPreciseDtz ¶
func (o *TablebaseJson) SetPreciseDtz(v interface{})
SetPreciseDtz gets a reference to the given interface{} and assigns it to the PreciseDtz field.
func (*TablebaseJson) SetStalemate ¶
func (o *TablebaseJson) SetStalemate(v interface{})
SetStalemate gets a reference to the given interface{} and assigns it to the Stalemate field.
func (*TablebaseJson) SetVariantLoss ¶
func (o *TablebaseJson) SetVariantLoss(v interface{})
SetVariantLoss gets a reference to the given interface{} and assigns it to the VariantLoss field.
func (*TablebaseJson) SetVariantWin ¶
func (o *TablebaseJson) SetVariantWin(v interface{})
SetVariantWin gets a reference to the given interface{} and assigns it to the VariantWin field.
type Team ¶
type Team struct { Id interface{} `json:"id,omitempty"` Name interface{} `json:"name,omitempty"` Description interface{} `json:"description,omitempty"` Open interface{} `json:"open,omitempty"` Leader *LightUser `json:"leader,omitempty"` Leaders interface{} `json:"leaders,omitempty"` NbMembers interface{} `json:"nbMembers,omitempty"` Location interface{} `json:"location,omitempty"` }
Team struct for Team
func NewTeam ¶
func NewTeam() *Team
NewTeam instantiates a new Team object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewTeamWithDefaults ¶
func NewTeamWithDefaults() *Team
NewTeamWithDefaults instantiates a new Team object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*Team) GetDescription ¶
func (o *Team) GetDescription() interface{}
GetDescription returns the Description field value if set, zero value otherwise (both if not set or set to explicit null).
func (*Team) GetDescriptionOk ¶
GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*Team) GetId ¶
func (o *Team) GetId() interface{}
GetId returns the Id field value if set, zero value otherwise (both if not set or set to explicit null).
func (*Team) GetIdOk ¶
GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*Team) GetLeaderOk ¶
GetLeaderOk returns a tuple with the Leader field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Team) GetLeaders ¶
func (o *Team) GetLeaders() interface{}
GetLeaders returns the Leaders field value if set, zero value otherwise (both if not set or set to explicit null).
func (*Team) GetLeadersOk ¶
GetLeadersOk returns a tuple with the Leaders field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*Team) GetLocation ¶
func (o *Team) GetLocation() interface{}
GetLocation returns the Location field value if set, zero value otherwise (both if not set or set to explicit null).
func (*Team) GetLocationOk ¶
GetLocationOk returns a tuple with the Location field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*Team) GetName ¶
func (o *Team) GetName() interface{}
GetName returns the Name field value if set, zero value otherwise (both if not set or set to explicit null).
func (*Team) GetNameOk ¶
GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*Team) GetNbMembers ¶
func (o *Team) GetNbMembers() interface{}
GetNbMembers returns the NbMembers field value if set, zero value otherwise (both if not set or set to explicit null).
func (*Team) GetNbMembersOk ¶
GetNbMembersOk returns a tuple with the NbMembers field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*Team) GetOpen ¶
func (o *Team) GetOpen() interface{}
GetOpen returns the Open field value if set, zero value otherwise (both if not set or set to explicit null).
func (*Team) GetOpenOk ¶
GetOpenOk returns a tuple with the Open field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*Team) HasDescription ¶
HasDescription returns a boolean if a field has been set.
func (*Team) HasLeaders ¶
HasLeaders returns a boolean if a field has been set.
func (*Team) HasLocation ¶
HasLocation returns a boolean if a field has been set.
func (*Team) HasNbMembers ¶
HasNbMembers returns a boolean if a field has been set.
func (Team) MarshalJSON ¶
func (*Team) SetDescription ¶
func (o *Team) SetDescription(v interface{})
SetDescription gets a reference to the given interface{} and assigns it to the Description field.
func (*Team) SetId ¶
func (o *Team) SetId(v interface{})
SetId gets a reference to the given interface{} and assigns it to the Id field.
func (*Team) SetLeader ¶
SetLeader gets a reference to the given LightUser and assigns it to the Leader field.
func (*Team) SetLeaders ¶
func (o *Team) SetLeaders(v interface{})
SetLeaders gets a reference to the given interface{} and assigns it to the Leaders field.
func (*Team) SetLocation ¶
func (o *Team) SetLocation(v interface{})
SetLocation gets a reference to the given interface{} and assigns it to the Location field.
func (*Team) SetName ¶
func (o *Team) SetName(v interface{})
SetName gets a reference to the given interface{} and assigns it to the Name field.
func (*Team) SetNbMembers ¶
func (o *Team) SetNbMembers(v interface{})
SetNbMembers gets a reference to the given interface{} and assigns it to the NbMembers field.
type TeamAll200Response ¶
type TeamAll200Response struct { CurrentPage interface{} `json:"currentPage,omitempty"` MaxPerPage interface{} `json:"maxPerPage,omitempty"` CurrentPageResults []Team `json:"currentPageResults,omitempty"` NbResults interface{} `json:"nbResults,omitempty"` PreviousPage interface{} `json:"previousPage,omitempty"` NextPage interface{} `json:"nextPage,omitempty"` NbPages interface{} `json:"nbPages,omitempty"` }
TeamAll200Response struct for TeamAll200Response
func NewTeamAll200Response ¶
func NewTeamAll200Response() *TeamAll200Response
NewTeamAll200Response instantiates a new TeamAll200Response object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewTeamAll200ResponseWithDefaults ¶
func NewTeamAll200ResponseWithDefaults() *TeamAll200Response
NewTeamAll200ResponseWithDefaults instantiates a new TeamAll200Response object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*TeamAll200Response) GetCurrentPage ¶
func (o *TeamAll200Response) GetCurrentPage() interface{}
GetCurrentPage returns the CurrentPage field value if set, zero value otherwise (both if not set or set to explicit null).
func (*TeamAll200Response) GetCurrentPageOk ¶
func (o *TeamAll200Response) GetCurrentPageOk() (*interface{}, bool)
GetCurrentPageOk returns a tuple with the CurrentPage field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*TeamAll200Response) GetCurrentPageResults ¶
func (o *TeamAll200Response) GetCurrentPageResults() []Team
GetCurrentPageResults returns the CurrentPageResults field value if set, zero value otherwise.
func (*TeamAll200Response) GetCurrentPageResultsOk ¶
func (o *TeamAll200Response) GetCurrentPageResultsOk() ([]Team, bool)
GetCurrentPageResultsOk returns a tuple with the CurrentPageResults field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TeamAll200Response) GetMaxPerPage ¶
func (o *TeamAll200Response) GetMaxPerPage() interface{}
GetMaxPerPage returns the MaxPerPage field value if set, zero value otherwise (both if not set or set to explicit null).
func (*TeamAll200Response) GetMaxPerPageOk ¶
func (o *TeamAll200Response) GetMaxPerPageOk() (*interface{}, bool)
GetMaxPerPageOk returns a tuple with the MaxPerPage field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*TeamAll200Response) GetNbPages ¶
func (o *TeamAll200Response) GetNbPages() interface{}
GetNbPages returns the NbPages field value if set, zero value otherwise (both if not set or set to explicit null).
func (*TeamAll200Response) GetNbPagesOk ¶
func (o *TeamAll200Response) GetNbPagesOk() (*interface{}, bool)
GetNbPagesOk returns a tuple with the NbPages field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*TeamAll200Response) GetNbResults ¶
func (o *TeamAll200Response) GetNbResults() interface{}
GetNbResults returns the NbResults field value if set, zero value otherwise (both if not set or set to explicit null).
func (*TeamAll200Response) GetNbResultsOk ¶
func (o *TeamAll200Response) GetNbResultsOk() (*interface{}, bool)
GetNbResultsOk returns a tuple with the NbResults field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*TeamAll200Response) GetNextPage ¶
func (o *TeamAll200Response) GetNextPage() interface{}
GetNextPage returns the NextPage field value if set, zero value otherwise (both if not set or set to explicit null).
func (*TeamAll200Response) GetNextPageOk ¶
func (o *TeamAll200Response) GetNextPageOk() (*interface{}, bool)
GetNextPageOk returns a tuple with the NextPage field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*TeamAll200Response) GetPreviousPage ¶
func (o *TeamAll200Response) GetPreviousPage() interface{}
GetPreviousPage returns the PreviousPage field value if set, zero value otherwise (both if not set or set to explicit null).
func (*TeamAll200Response) GetPreviousPageOk ¶
func (o *TeamAll200Response) GetPreviousPageOk() (*interface{}, bool)
GetPreviousPageOk returns a tuple with the PreviousPage field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*TeamAll200Response) HasCurrentPage ¶
func (o *TeamAll200Response) HasCurrentPage() bool
HasCurrentPage returns a boolean if a field has been set.
func (*TeamAll200Response) HasCurrentPageResults ¶
func (o *TeamAll200Response) HasCurrentPageResults() bool
HasCurrentPageResults returns a boolean if a field has been set.
func (*TeamAll200Response) HasMaxPerPage ¶
func (o *TeamAll200Response) HasMaxPerPage() bool
HasMaxPerPage returns a boolean if a field has been set.
func (*TeamAll200Response) HasNbPages ¶
func (o *TeamAll200Response) HasNbPages() bool
HasNbPages returns a boolean if a field has been set.
func (*TeamAll200Response) HasNbResults ¶
func (o *TeamAll200Response) HasNbResults() bool
HasNbResults returns a boolean if a field has been set.
func (*TeamAll200Response) HasNextPage ¶
func (o *TeamAll200Response) HasNextPage() bool
HasNextPage returns a boolean if a field has been set.
func (*TeamAll200Response) HasPreviousPage ¶
func (o *TeamAll200Response) HasPreviousPage() bool
HasPreviousPage returns a boolean if a field has been set.
func (TeamAll200Response) MarshalJSON ¶
func (o TeamAll200Response) MarshalJSON() ([]byte, error)
func (*TeamAll200Response) SetCurrentPage ¶
func (o *TeamAll200Response) SetCurrentPage(v interface{})
SetCurrentPage gets a reference to the given interface{} and assigns it to the CurrentPage field.
func (*TeamAll200Response) SetCurrentPageResults ¶
func (o *TeamAll200Response) SetCurrentPageResults(v []Team)
SetCurrentPageResults gets a reference to the given []Team and assigns it to the CurrentPageResults field.
func (*TeamAll200Response) SetMaxPerPage ¶
func (o *TeamAll200Response) SetMaxPerPage(v interface{})
SetMaxPerPage gets a reference to the given interface{} and assigns it to the MaxPerPage field.
func (*TeamAll200Response) SetNbPages ¶
func (o *TeamAll200Response) SetNbPages(v interface{})
SetNbPages gets a reference to the given interface{} and assigns it to the NbPages field.
func (*TeamAll200Response) SetNbResults ¶
func (o *TeamAll200Response) SetNbResults(v interface{})
SetNbResults gets a reference to the given interface{} and assigns it to the NbResults field.
func (*TeamAll200Response) SetNextPage ¶
func (o *TeamAll200Response) SetNextPage(v interface{})
SetNextPage gets a reference to the given interface{} and assigns it to the NextPage field.
func (*TeamAll200Response) SetPreviousPage ¶
func (o *TeamAll200Response) SetPreviousPage(v interface{})
SetPreviousPage gets a reference to the given interface{} and assigns it to the PreviousPage field.
type TeamRequest ¶
type TeamRequest struct { TeamId interface{} `json:"teamId,omitempty"` UserId interface{} `json:"userId,omitempty"` Date interface{} `json:"date,omitempty"` Message interface{} `json:"message,omitempty"` }
TeamRequest struct for TeamRequest
func NewTeamRequest ¶
func NewTeamRequest() *TeamRequest
NewTeamRequest instantiates a new TeamRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewTeamRequestWithDefaults ¶
func NewTeamRequestWithDefaults() *TeamRequest
NewTeamRequestWithDefaults instantiates a new TeamRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*TeamRequest) GetDate ¶
func (o *TeamRequest) GetDate() interface{}
GetDate returns the Date field value if set, zero value otherwise (both if not set or set to explicit null).
func (*TeamRequest) GetDateOk ¶
func (o *TeamRequest) GetDateOk() (*interface{}, bool)
GetDateOk returns a tuple with the Date field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*TeamRequest) GetMessage ¶
func (o *TeamRequest) GetMessage() interface{}
GetMessage returns the Message field value if set, zero value otherwise (both if not set or set to explicit null).
func (*TeamRequest) GetMessageOk ¶
func (o *TeamRequest) GetMessageOk() (*interface{}, bool)
GetMessageOk returns a tuple with the Message field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*TeamRequest) GetTeamId ¶
func (o *TeamRequest) GetTeamId() interface{}
GetTeamId returns the TeamId field value if set, zero value otherwise (both if not set or set to explicit null).
func (*TeamRequest) GetTeamIdOk ¶
func (o *TeamRequest) GetTeamIdOk() (*interface{}, bool)
GetTeamIdOk returns a tuple with the TeamId field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*TeamRequest) GetUserId ¶
func (o *TeamRequest) GetUserId() interface{}
GetUserId returns the UserId field value if set, zero value otherwise (both if not set or set to explicit null).
func (*TeamRequest) GetUserIdOk ¶
func (o *TeamRequest) GetUserIdOk() (*interface{}, bool)
GetUserIdOk returns a tuple with the UserId field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*TeamRequest) HasDate ¶
func (o *TeamRequest) HasDate() bool
HasDate returns a boolean if a field has been set.
func (*TeamRequest) HasMessage ¶
func (o *TeamRequest) HasMessage() bool
HasMessage returns a boolean if a field has been set.
func (*TeamRequest) HasTeamId ¶
func (o *TeamRequest) HasTeamId() bool
HasTeamId returns a boolean if a field has been set.
func (*TeamRequest) HasUserId ¶
func (o *TeamRequest) HasUserId() bool
HasUserId returns a boolean if a field has been set.
func (TeamRequest) MarshalJSON ¶
func (o TeamRequest) MarshalJSON() ([]byte, error)
func (*TeamRequest) SetDate ¶
func (o *TeamRequest) SetDate(v interface{})
SetDate gets a reference to the given interface{} and assigns it to the Date field.
func (*TeamRequest) SetMessage ¶
func (o *TeamRequest) SetMessage(v interface{})
SetMessage gets a reference to the given interface{} and assigns it to the Message field.
func (*TeamRequest) SetTeamId ¶
func (o *TeamRequest) SetTeamId(v interface{})
SetTeamId gets a reference to the given interface{} and assigns it to the TeamId field.
func (*TeamRequest) SetUserId ¶
func (o *TeamRequest) SetUserId(v interface{})
SetUserId gets a reference to the given interface{} and assigns it to the UserId field.
type TeamRequestWithUser ¶
type TeamRequestWithUser struct { Request *TeamRequest `json:"request,omitempty"` User *User `json:"user,omitempty"` }
TeamRequestWithUser struct for TeamRequestWithUser
func NewTeamRequestWithUser ¶
func NewTeamRequestWithUser() *TeamRequestWithUser
NewTeamRequestWithUser instantiates a new TeamRequestWithUser object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewTeamRequestWithUserWithDefaults ¶
func NewTeamRequestWithUserWithDefaults() *TeamRequestWithUser
NewTeamRequestWithUserWithDefaults instantiates a new TeamRequestWithUser object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*TeamRequestWithUser) GetRequest ¶
func (o *TeamRequestWithUser) GetRequest() TeamRequest
GetRequest returns the Request field value if set, zero value otherwise.
func (*TeamRequestWithUser) GetRequestOk ¶
func (o *TeamRequestWithUser) GetRequestOk() (*TeamRequest, bool)
GetRequestOk returns a tuple with the Request field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TeamRequestWithUser) GetUser ¶
func (o *TeamRequestWithUser) GetUser() User
GetUser returns the User field value if set, zero value otherwise.
func (*TeamRequestWithUser) GetUserOk ¶
func (o *TeamRequestWithUser) GetUserOk() (*User, bool)
GetUserOk returns a tuple with the User field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TeamRequestWithUser) HasRequest ¶
func (o *TeamRequestWithUser) HasRequest() bool
HasRequest returns a boolean if a field has been set.
func (*TeamRequestWithUser) HasUser ¶
func (o *TeamRequestWithUser) HasUser() bool
HasUser returns a boolean if a field has been set.
func (TeamRequestWithUser) MarshalJSON ¶
func (o TeamRequestWithUser) MarshalJSON() ([]byte, error)
func (*TeamRequestWithUser) SetRequest ¶
func (o *TeamRequestWithUser) SetRequest(v TeamRequest)
SetRequest gets a reference to the given TeamRequest and assigns it to the Request field.
func (*TeamRequestWithUser) SetUser ¶
func (o *TeamRequestWithUser) SetUser(v User)
SetUser gets a reference to the given User and assigns it to the User field.
type TeamsApiService ¶
type TeamsApiService service
TeamsApiService TeamsApi service
func (*TeamsApiService) ApiTeamArena ¶
func (a *TeamsApiService) ApiTeamArena(ctx context.Context, teamId interface{}) TeamsApiTeamArenaRequest
ApiTeamArena Get team Arena tournaments
Get all Arena tournaments relevant to a team.
Tournaments are sorted by reverse chronological order of start date (last starting first).
Tournaments are streamed as [ndjson](#section/Introduction/Streaming-with-ND-JSON).
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param teamId ID of the team @return TeamsApiTeamArenaRequest
func (*TeamsApiService) ApiTeamArenaExecute ¶
func (a *TeamsApiService) ApiTeamArenaExecute(r TeamsApiTeamArenaRequest) (interface{}, *http.Response, error)
Execute executes the request
@return interface{}
func (*TeamsApiService) ApiTeamSwiss ¶
func (a *TeamsApiService) ApiTeamSwiss(ctx context.Context, teamId interface{}) TeamsApiTeamSwissRequest
ApiTeamSwiss Get team swiss tournaments
Get all swiss tournaments of a team.
Tournaments are sorted by reverse chronological order of start date (last starting first).
Tournaments are streamed as [ndjson](#section/Introduction/Streaming-with-ND-JSON).
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param teamId @return TeamsApiTeamSwissRequest
func (*TeamsApiService) ApiTeamSwissExecute ¶
func (a *TeamsApiService) ApiTeamSwissExecute(r TeamsApiTeamSwissRequest) (interface{}, *http.Response, error)
Execute executes the request
@return interface{}
func (*TeamsApiService) TeamAll ¶
func (a *TeamsApiService) TeamAll(ctx context.Context) ApiTeamAllRequest
TeamAll Get popular teams
Paginator of the most popular teams.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiTeamAllRequest
func (*TeamsApiService) TeamAllExecute ¶
func (a *TeamsApiService) TeamAllExecute(r ApiTeamAllRequest) (*TeamAll200Response, *http.Response, error)
Execute executes the request
@return TeamAll200Response
func (*TeamsApiService) TeamIdJoin ¶
func (a *TeamsApiService) TeamIdJoin(ctx context.Context, teamId interface{}) ApiTeamIdJoinRequest
TeamIdJoin Join a team
Join a team. If the team requires a password but the `password` field is incorrect, then the call fails with `403 Forbidden`. Similarly, if the team join policy requires a confirmation but the `message` parameter is not given, then the call fails with `403 Forbidden`.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param teamId @return ApiTeamIdJoinRequest
func (*TeamsApiService) TeamIdJoinExecute ¶
func (a *TeamsApiService) TeamIdJoinExecute(r ApiTeamIdJoinRequest) (*Ok, *http.Response, error)
Execute executes the request
@return Ok
func (*TeamsApiService) TeamIdKickUserId ¶
func (a *TeamsApiService) TeamIdKickUserId(ctx context.Context, teamId interface{}, userId interface{}) ApiTeamIdKickUserIdRequest
TeamIdKickUserId Kick a user from your team
Kick a member out of one of your teams. - <https://lichess.org/team>
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param teamId @param userId @return ApiTeamIdKickUserIdRequest
func (*TeamsApiService) TeamIdKickUserIdExecute ¶
func (a *TeamsApiService) TeamIdKickUserIdExecute(r ApiTeamIdKickUserIdRequest) (*Ok, *http.Response, error)
Execute executes the request
@return Ok
func (*TeamsApiService) TeamIdPmAll ¶
func (a *TeamsApiService) TeamIdPmAll(ctx context.Context, teamId interface{}) ApiTeamIdPmAllRequest
TeamIdPmAll Message all members
Send a private message to all members of a team. You must own the team.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param teamId @return ApiTeamIdPmAllRequest
func (*TeamsApiService) TeamIdPmAllExecute ¶
func (a *TeamsApiService) TeamIdPmAllExecute(r ApiTeamIdPmAllRequest) (*Ok, *http.Response, error)
Execute executes the request
@return Ok
func (*TeamsApiService) TeamIdQuit ¶
func (a *TeamsApiService) TeamIdQuit(ctx context.Context, teamId interface{}) ApiTeamIdQuitRequest
TeamIdQuit Leave a team
Leave a team. - <https://lichess.org/team>
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param teamId @return ApiTeamIdQuitRequest
func (*TeamsApiService) TeamIdQuitExecute ¶
func (a *TeamsApiService) TeamIdQuitExecute(r ApiTeamIdQuitRequest) (*Ok, *http.Response, error)
Execute executes the request
@return Ok
func (*TeamsApiService) TeamIdUsers ¶
func (a *TeamsApiService) TeamIdUsers(ctx context.Context, teamId interface{}) TeamsApiTeamIdUsersRequest
TeamIdUsers Get members of a team
Members are sorted by reverse chronological order of joining the team (most recent first). OAuth only required if the list of members is private.
Members are streamed as [ndjson](#section/Introduction/Streaming-with-ND-JSON).
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param teamId @return TeamsApiTeamIdUsersRequest
func (*TeamsApiService) TeamIdUsersExecute ¶
func (a *TeamsApiService) TeamIdUsersExecute(r TeamsApiTeamIdUsersRequest) (interface{}, *http.Response, error)
Execute executes the request
@return interface{}
func (*TeamsApiService) TeamOfUsername ¶
func (a *TeamsApiService) TeamOfUsername(ctx context.Context, username interface{}) ApiTeamOfUsernameRequest
TeamOfUsername Teams of a player
All the teams a player is a member of.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param username @return ApiTeamOfUsernameRequest
func (*TeamsApiService) TeamOfUsernameExecute ¶
func (a *TeamsApiService) TeamOfUsernameExecute(r ApiTeamOfUsernameRequest) (interface{}, *http.Response, error)
Execute executes the request
@return interface{}
func (*TeamsApiService) TeamRequestAccept ¶
func (a *TeamsApiService) TeamRequestAccept(ctx context.Context, teamId interface{}, userId interface{}) ApiTeamRequestAcceptRequest
TeamRequestAccept Accept join request
Accept someone's request to join your team
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param teamId @param userId @return ApiTeamRequestAcceptRequest
func (*TeamsApiService) TeamRequestAcceptExecute ¶
func (a *TeamsApiService) TeamRequestAcceptExecute(r ApiTeamRequestAcceptRequest) (*Ok, *http.Response, error)
Execute executes the request
@return Ok
func (*TeamsApiService) TeamRequestDecline ¶
func (a *TeamsApiService) TeamRequestDecline(ctx context.Context, teamId interface{}, userId interface{}) ApiTeamRequestDeclineRequest
TeamRequestDecline Decline join request
Decline someone's request to join your team
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param teamId @param userId @return ApiTeamRequestDeclineRequest
func (*TeamsApiService) TeamRequestDeclineExecute ¶
func (a *TeamsApiService) TeamRequestDeclineExecute(r ApiTeamRequestDeclineRequest) (*Ok, *http.Response, error)
Execute executes the request
@return Ok
func (*TeamsApiService) TeamRequests ¶
func (a *TeamsApiService) TeamRequests(ctx context.Context, teamId interface{}) ApiTeamRequestsRequest
TeamRequests Get join requests
Get pending join requests of your team
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param teamId @return ApiTeamRequestsRequest
func (*TeamsApiService) TeamRequestsExecute ¶
func (a *TeamsApiService) TeamRequestsExecute(r ApiTeamRequestsRequest) ([]TeamRequestWithUser, *http.Response, error)
Execute executes the request
@return []TeamRequestWithUser
func (*TeamsApiService) TeamSearch ¶
func (a *TeamsApiService) TeamSearch(ctx context.Context) ApiTeamSearchRequest
TeamSearch Search teams
Paginator of team search results for a keyword.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiTeamSearchRequest
func (*TeamsApiService) TeamSearchExecute ¶
func (a *TeamsApiService) TeamSearchExecute(r ApiTeamSearchRequest) (interface{}, *http.Response, error)
Execute executes the request
@return interface{}
func (*TeamsApiService) TeamShow ¶
func (a *TeamsApiService) TeamShow(ctx context.Context, teamId interface{}) ApiTeamShowRequest
TeamShow Get a single team
Infos about a team
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param teamId @return ApiTeamShowRequest
func (*TeamsApiService) TeamShowExecute ¶
func (a *TeamsApiService) TeamShowExecute(r ApiTeamShowRequest) (*Team, *http.Response, error)
Execute executes the request
@return Team
type TeamsApiTeamArenaRequest ¶
type TeamsApiTeamArenaRequest struct { ApiService *TeamsApiService // contains filtered or unexported fields }
func (TeamsApiTeamArenaRequest) Execute ¶
func (r TeamsApiTeamArenaRequest) Execute() (interface{}, *http.Response, error)
func (TeamsApiTeamArenaRequest) Max ¶
func (r TeamsApiTeamArenaRequest) Max(max interface{}) TeamsApiTeamArenaRequest
How many tournaments to download.
type TeamsApiTeamIdUsersRequest ¶
type TeamsApiTeamIdUsersRequest struct { ApiService *TeamsApiService // contains filtered or unexported fields }
type TeamsApiTeamSwissRequest ¶
type TeamsApiTeamSwissRequest struct { ApiService *TeamsApiService // contains filtered or unexported fields }
func (TeamsApiTeamSwissRequest) Execute ¶
func (r TeamsApiTeamSwissRequest) Execute() (interface{}, *http.Response, error)
func (TeamsApiTeamSwissRequest) Max ¶
func (r TeamsApiTeamSwissRequest) Max(max interface{}) TeamsApiTeamSwissRequest
How many tournaments to download.
type Title ¶
type Title string
Title struct for Title
func NewTitle ¶
func NewTitle() *Title
NewTitle instantiates a new Title object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewTitleWithDefaults ¶
func NewTitleWithDefaults() *Title
NewTitleWithDefaults instantiates a new Title object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (Title) MarshalJSON ¶
type UciVariant ¶
type UciVariant struct { }
UciVariant struct for UciVariant
func NewUciVariant ¶
func NewUciVariant() *UciVariant
NewUciVariant instantiates a new UciVariant object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewUciVariantWithDefaults ¶
func NewUciVariantWithDefaults() *UciVariant
NewUciVariantWithDefaults instantiates a new UciVariant object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (UciVariant) MarshalJSON ¶
func (o UciVariant) MarshalJSON() ([]byte, error)
type User ¶
type User struct { Id interface{} `json:"id,omitempty"` Username interface{} `json:"username,omitempty"` Perfs *Perfs `json:"perfs,omitempty"` CreatedAt interface{} `json:"createdAt,omitempty"` Disabled interface{} `json:"disabled,omitempty"` TosViolation interface{} `json:"tosViolation,omitempty"` Profile *Profile `json:"profile,omitempty"` SeenAt interface{} `json:"seenAt,omitempty"` Patron interface{} `json:"patron,omitempty"` Verified interface{} `json:"verified,omitempty"` PlayTime *PlayTime `json:"playTime,omitempty"` Title *Title `json:"title,omitempty"` }
User struct for User
func NewUser ¶
func NewUser() *User
NewUser instantiates a new User object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewUserWithDefaults ¶
func NewUserWithDefaults() *User
NewUserWithDefaults instantiates a new User object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*User) GetCreatedAt ¶
func (o *User) GetCreatedAt() interface{}
GetCreatedAt returns the CreatedAt field value if set, zero value otherwise (both if not set or set to explicit null).
func (*User) GetCreatedAtOk ¶
GetCreatedAtOk returns a tuple with the CreatedAt field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*User) GetDisabled ¶
func (o *User) GetDisabled() interface{}
GetDisabled returns the Disabled field value if set, zero value otherwise (both if not set or set to explicit null).
func (*User) GetDisabledOk ¶
GetDisabledOk returns a tuple with the Disabled field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*User) GetId ¶
func (o *User) GetId() interface{}
GetId returns the Id field value if set, zero value otherwise (both if not set or set to explicit null).
func (*User) GetIdOk ¶
GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*User) GetPatron ¶
func (o *User) GetPatron() interface{}
GetPatron returns the Patron field value if set, zero value otherwise (both if not set or set to explicit null).
func (*User) GetPatronOk ¶
GetPatronOk returns a tuple with the Patron field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*User) GetPerfsOk ¶
GetPerfsOk returns a tuple with the Perfs field value if set, nil otherwise and a boolean to check if the value has been set.
func (*User) GetPlayTime ¶
GetPlayTime returns the PlayTime field value if set, zero value otherwise.
func (*User) GetPlayTimeOk ¶
GetPlayTimeOk returns a tuple with the PlayTime field value if set, nil otherwise and a boolean to check if the value has been set.
func (*User) GetProfile ¶
GetProfile returns the Profile field value if set, zero value otherwise.
func (*User) GetProfileOk ¶
GetProfileOk returns a tuple with the Profile field value if set, nil otherwise and a boolean to check if the value has been set.
func (*User) GetSeenAt ¶
func (o *User) GetSeenAt() interface{}
GetSeenAt returns the SeenAt field value if set, zero value otherwise (both if not set or set to explicit null).
func (*User) GetSeenAtOk ¶
GetSeenAtOk returns a tuple with the SeenAt field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*User) GetTitleOk ¶
GetTitleOk returns a tuple with the Title field value if set, nil otherwise and a boolean to check if the value has been set.
func (*User) GetTosViolation ¶
func (o *User) GetTosViolation() interface{}
GetTosViolation returns the TosViolation field value if set, zero value otherwise (both if not set or set to explicit null).
func (*User) GetTosViolationOk ¶
GetTosViolationOk returns a tuple with the TosViolation field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*User) GetUsername ¶
func (o *User) GetUsername() interface{}
GetUsername returns the Username field value if set, zero value otherwise (both if not set or set to explicit null).
func (*User) GetUsernameOk ¶
GetUsernameOk returns a tuple with the Username field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*User) GetVerified ¶
func (o *User) GetVerified() interface{}
GetVerified returns the Verified field value if set, zero value otherwise (both if not set or set to explicit null).
func (*User) GetVerifiedOk ¶
GetVerifiedOk returns a tuple with the Verified field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*User) HasCreatedAt ¶
HasCreatedAt returns a boolean if a field has been set.
func (*User) HasDisabled ¶
HasDisabled returns a boolean if a field has been set.
func (*User) HasPlayTime ¶
HasPlayTime returns a boolean if a field has been set.
func (*User) HasProfile ¶
HasProfile returns a boolean if a field has been set.
func (*User) HasTosViolation ¶
HasTosViolation returns a boolean if a field has been set.
func (*User) HasUsername ¶
HasUsername returns a boolean if a field has been set.
func (*User) HasVerified ¶
HasVerified returns a boolean if a field has been set.
func (User) MarshalJSON ¶
func (*User) SetCreatedAt ¶
func (o *User) SetCreatedAt(v interface{})
SetCreatedAt gets a reference to the given interface{} and assigns it to the CreatedAt field.
func (*User) SetDisabled ¶
func (o *User) SetDisabled(v interface{})
SetDisabled gets a reference to the given interface{} and assigns it to the Disabled field.
func (*User) SetId ¶
func (o *User) SetId(v interface{})
SetId gets a reference to the given interface{} and assigns it to the Id field.
func (*User) SetPatron ¶
func (o *User) SetPatron(v interface{})
SetPatron gets a reference to the given interface{} and assigns it to the Patron field.
func (*User) SetPerfs ¶
SetPerfs gets a reference to the given Perfs and assigns it to the Perfs field.
func (*User) SetPlayTime ¶
SetPlayTime gets a reference to the given PlayTime and assigns it to the PlayTime field.
func (*User) SetProfile ¶
SetProfile gets a reference to the given Profile and assigns it to the Profile field.
func (*User) SetSeenAt ¶
func (o *User) SetSeenAt(v interface{})
SetSeenAt gets a reference to the given interface{} and assigns it to the SeenAt field.
func (*User) SetTitle ¶
SetTitle gets a reference to the given Title and assigns it to the Title field.
func (*User) SetTosViolation ¶
func (o *User) SetTosViolation(v interface{})
SetTosViolation gets a reference to the given interface{} and assigns it to the TosViolation field.
func (*User) SetUsername ¶
func (o *User) SetUsername(v interface{})
SetUsername gets a reference to the given interface{} and assigns it to the Username field.
func (*User) SetVerified ¶
func (o *User) SetVerified(v interface{})
SetVerified gets a reference to the given interface{} and assigns it to the Verified field.
type UserPreferences ¶
type UserPreferences struct { Dark interface{} `json:"dark,omitempty"` Transp interface{} `json:"transp,omitempty"` BgImg interface{} `json:"bgImg,omitempty"` Is3d interface{} `json:"is3d,omitempty"` Theme interface{} `json:"theme,omitempty"` PieceSet interface{} `json:"pieceSet,omitempty"` Theme3d interface{} `json:"theme3d,omitempty"` PieceSet3d interface{} `json:"pieceSet3d,omitempty"` SoundSet interface{} `json:"soundSet,omitempty"` Blindfold interface{} `json:"blindfold,omitempty"` AutoQueen interface{} `json:"autoQueen,omitempty"` AutoThreefold interface{} `json:"autoThreefold,omitempty"` Takeback interface{} `json:"takeback,omitempty"` Moretime interface{} `json:"moretime,omitempty"` ClockTenths interface{} `json:"clockTenths,omitempty"` ClockBar interface{} `json:"clockBar,omitempty"` ClockSound interface{} `json:"clockSound,omitempty"` Premove interface{} `json:"premove,omitempty"` Animation interface{} `json:"animation,omitempty"` Captured interface{} `json:"captured,omitempty"` Follow interface{} `json:"follow,omitempty"` Highlight interface{} `json:"highlight,omitempty"` Destination interface{} `json:"destination,omitempty"` Coords interface{} `json:"coords,omitempty"` Replay interface{} `json:"replay,omitempty"` Challenge interface{} `json:"challenge,omitempty"` Message interface{} `json:"message,omitempty"` CoordColor interface{} `json:"coordColor,omitempty"` SubmitMove interface{} `json:"submitMove,omitempty"` ConfirmResign interface{} `json:"confirmResign,omitempty"` KeyboardMove interface{} `json:"keyboardMove,omitempty"` Zen interface{} `json:"zen,omitempty"` MoveEvent interface{} `json:"moveEvent,omitempty"` RookCastle interface{} `json:"rookCastle,omitempty"` }
UserPreferences struct for UserPreferences
func NewUserPreferences ¶
func NewUserPreferences() *UserPreferences
NewUserPreferences instantiates a new UserPreferences object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewUserPreferencesWithDefaults ¶
func NewUserPreferencesWithDefaults() *UserPreferences
NewUserPreferencesWithDefaults instantiates a new UserPreferences object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*UserPreferences) GetAnimation ¶
func (o *UserPreferences) GetAnimation() interface{}
GetAnimation returns the Animation field value if set, zero value otherwise (both if not set or set to explicit null).
func (*UserPreferences) GetAnimationOk ¶
func (o *UserPreferences) GetAnimationOk() (*interface{}, bool)
GetAnimationOk returns a tuple with the Animation field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*UserPreferences) GetAutoQueen ¶
func (o *UserPreferences) GetAutoQueen() interface{}
GetAutoQueen returns the AutoQueen field value if set, zero value otherwise (both if not set or set to explicit null).
func (*UserPreferences) GetAutoQueenOk ¶
func (o *UserPreferences) GetAutoQueenOk() (*interface{}, bool)
GetAutoQueenOk returns a tuple with the AutoQueen field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*UserPreferences) GetAutoThreefold ¶
func (o *UserPreferences) GetAutoThreefold() interface{}
GetAutoThreefold returns the AutoThreefold field value if set, zero value otherwise (both if not set or set to explicit null).
func (*UserPreferences) GetAutoThreefoldOk ¶
func (o *UserPreferences) GetAutoThreefoldOk() (*interface{}, bool)
GetAutoThreefoldOk returns a tuple with the AutoThreefold field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*UserPreferences) GetBgImg ¶
func (o *UserPreferences) GetBgImg() interface{}
GetBgImg returns the BgImg field value if set, zero value otherwise (both if not set or set to explicit null).
func (*UserPreferences) GetBgImgOk ¶
func (o *UserPreferences) GetBgImgOk() (*interface{}, bool)
GetBgImgOk returns a tuple with the BgImg field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*UserPreferences) GetBlindfold ¶
func (o *UserPreferences) GetBlindfold() interface{}
GetBlindfold returns the Blindfold field value if set, zero value otherwise (both if not set or set to explicit null).
func (*UserPreferences) GetBlindfoldOk ¶
func (o *UserPreferences) GetBlindfoldOk() (*interface{}, bool)
GetBlindfoldOk returns a tuple with the Blindfold field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*UserPreferences) GetCaptured ¶
func (o *UserPreferences) GetCaptured() interface{}
GetCaptured returns the Captured field value if set, zero value otherwise (both if not set or set to explicit null).
func (*UserPreferences) GetCapturedOk ¶
func (o *UserPreferences) GetCapturedOk() (*interface{}, bool)
GetCapturedOk returns a tuple with the Captured field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*UserPreferences) GetChallenge ¶
func (o *UserPreferences) GetChallenge() interface{}
GetChallenge returns the Challenge field value if set, zero value otherwise (both if not set or set to explicit null).
func (*UserPreferences) GetChallengeOk ¶
func (o *UserPreferences) GetChallengeOk() (*interface{}, bool)
GetChallengeOk returns a tuple with the Challenge field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*UserPreferences) GetClockBar ¶
func (o *UserPreferences) GetClockBar() interface{}
GetClockBar returns the ClockBar field value if set, zero value otherwise (both if not set or set to explicit null).
func (*UserPreferences) GetClockBarOk ¶
func (o *UserPreferences) GetClockBarOk() (*interface{}, bool)
GetClockBarOk returns a tuple with the ClockBar field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*UserPreferences) GetClockSound ¶
func (o *UserPreferences) GetClockSound() interface{}
GetClockSound returns the ClockSound field value if set, zero value otherwise (both if not set or set to explicit null).
func (*UserPreferences) GetClockSoundOk ¶
func (o *UserPreferences) GetClockSoundOk() (*interface{}, bool)
GetClockSoundOk returns a tuple with the ClockSound field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*UserPreferences) GetClockTenths ¶
func (o *UserPreferences) GetClockTenths() interface{}
GetClockTenths returns the ClockTenths field value if set, zero value otherwise (both if not set or set to explicit null).
func (*UserPreferences) GetClockTenthsOk ¶
func (o *UserPreferences) GetClockTenthsOk() (*interface{}, bool)
GetClockTenthsOk returns a tuple with the ClockTenths field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*UserPreferences) GetConfirmResign ¶
func (o *UserPreferences) GetConfirmResign() interface{}
GetConfirmResign returns the ConfirmResign field value if set, zero value otherwise (both if not set or set to explicit null).
func (*UserPreferences) GetConfirmResignOk ¶
func (o *UserPreferences) GetConfirmResignOk() (*interface{}, bool)
GetConfirmResignOk returns a tuple with the ConfirmResign field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*UserPreferences) GetCoordColor ¶
func (o *UserPreferences) GetCoordColor() interface{}
GetCoordColor returns the CoordColor field value if set, zero value otherwise (both if not set or set to explicit null).
func (*UserPreferences) GetCoordColorOk ¶
func (o *UserPreferences) GetCoordColorOk() (*interface{}, bool)
GetCoordColorOk returns a tuple with the CoordColor field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*UserPreferences) GetCoords ¶
func (o *UserPreferences) GetCoords() interface{}
GetCoords returns the Coords field value if set, zero value otherwise (both if not set or set to explicit null).
func (*UserPreferences) GetCoordsOk ¶
func (o *UserPreferences) GetCoordsOk() (*interface{}, bool)
GetCoordsOk returns a tuple with the Coords field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*UserPreferences) GetDark ¶
func (o *UserPreferences) GetDark() interface{}
GetDark returns the Dark field value if set, zero value otherwise (both if not set or set to explicit null).
func (*UserPreferences) GetDarkOk ¶
func (o *UserPreferences) GetDarkOk() (*interface{}, bool)
GetDarkOk returns a tuple with the Dark field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*UserPreferences) GetDestination ¶
func (o *UserPreferences) GetDestination() interface{}
GetDestination returns the Destination field value if set, zero value otherwise (both if not set or set to explicit null).
func (*UserPreferences) GetDestinationOk ¶
func (o *UserPreferences) GetDestinationOk() (*interface{}, bool)
GetDestinationOk returns a tuple with the Destination field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*UserPreferences) GetFollow ¶
func (o *UserPreferences) GetFollow() interface{}
GetFollow returns the Follow field value if set, zero value otherwise (both if not set or set to explicit null).
func (*UserPreferences) GetFollowOk ¶
func (o *UserPreferences) GetFollowOk() (*interface{}, bool)
GetFollowOk returns a tuple with the Follow field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*UserPreferences) GetHighlight ¶
func (o *UserPreferences) GetHighlight() interface{}
GetHighlight returns the Highlight field value if set, zero value otherwise (both if not set or set to explicit null).
func (*UserPreferences) GetHighlightOk ¶
func (o *UserPreferences) GetHighlightOk() (*interface{}, bool)
GetHighlightOk returns a tuple with the Highlight field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*UserPreferences) GetInsightShare ¶
func (o *UserPreferences) GetInsightShare() interface{}
GetInsightShare returns the InsightShare field value if set, zero value otherwise (both if not set or set to explicit null).
func (*UserPreferences) GetInsightShareOk ¶
func (o *UserPreferences) GetInsightShareOk() (*interface{}, bool)
GetInsightShareOk returns a tuple with the InsightShare field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*UserPreferences) GetIs3d ¶
func (o *UserPreferences) GetIs3d() interface{}
GetIs3d returns the Is3d field value if set, zero value otherwise (both if not set or set to explicit null).
func (*UserPreferences) GetIs3dOk ¶
func (o *UserPreferences) GetIs3dOk() (*interface{}, bool)
GetIs3dOk returns a tuple with the Is3d field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*UserPreferences) GetKeyboardMove ¶
func (o *UserPreferences) GetKeyboardMove() interface{}
GetKeyboardMove returns the KeyboardMove field value if set, zero value otherwise (both if not set or set to explicit null).
func (*UserPreferences) GetKeyboardMoveOk ¶
func (o *UserPreferences) GetKeyboardMoveOk() (*interface{}, bool)
GetKeyboardMoveOk returns a tuple with the KeyboardMove field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*UserPreferences) GetMessage ¶
func (o *UserPreferences) GetMessage() interface{}
GetMessage returns the Message field value if set, zero value otherwise (both if not set or set to explicit null).
func (*UserPreferences) GetMessageOk ¶
func (o *UserPreferences) GetMessageOk() (*interface{}, bool)
GetMessageOk returns a tuple with the Message field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*UserPreferences) GetMoretime ¶
func (o *UserPreferences) GetMoretime() interface{}
GetMoretime returns the Moretime field value if set, zero value otherwise (both if not set or set to explicit null).
func (*UserPreferences) GetMoretimeOk ¶
func (o *UserPreferences) GetMoretimeOk() (*interface{}, bool)
GetMoretimeOk returns a tuple with the Moretime field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*UserPreferences) GetMoveEvent ¶
func (o *UserPreferences) GetMoveEvent() interface{}
GetMoveEvent returns the MoveEvent field value if set, zero value otherwise (both if not set or set to explicit null).
func (*UserPreferences) GetMoveEventOk ¶
func (o *UserPreferences) GetMoveEventOk() (*interface{}, bool)
GetMoveEventOk returns a tuple with the MoveEvent field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*UserPreferences) GetPieceSet ¶
func (o *UserPreferences) GetPieceSet() interface{}
GetPieceSet returns the PieceSet field value if set, zero value otherwise (both if not set or set to explicit null).
func (*UserPreferences) GetPieceSet3d ¶
func (o *UserPreferences) GetPieceSet3d() interface{}
GetPieceSet3d returns the PieceSet3d field value if set, zero value otherwise (both if not set or set to explicit null).
func (*UserPreferences) GetPieceSet3dOk ¶
func (o *UserPreferences) GetPieceSet3dOk() (*interface{}, bool)
GetPieceSet3dOk returns a tuple with the PieceSet3d field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*UserPreferences) GetPieceSetOk ¶
func (o *UserPreferences) GetPieceSetOk() (*interface{}, bool)
GetPieceSetOk returns a tuple with the PieceSet field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*UserPreferences) GetPremove ¶
func (o *UserPreferences) GetPremove() interface{}
GetPremove returns the Premove field value if set, zero value otherwise (both if not set or set to explicit null).
func (*UserPreferences) GetPremoveOk ¶
func (o *UserPreferences) GetPremoveOk() (*interface{}, bool)
GetPremoveOk returns a tuple with the Premove field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*UserPreferences) GetReplay ¶
func (o *UserPreferences) GetReplay() interface{}
GetReplay returns the Replay field value if set, zero value otherwise (both if not set or set to explicit null).
func (*UserPreferences) GetReplayOk ¶
func (o *UserPreferences) GetReplayOk() (*interface{}, bool)
GetReplayOk returns a tuple with the Replay field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*UserPreferences) GetRookCastle ¶
func (o *UserPreferences) GetRookCastle() interface{}
GetRookCastle returns the RookCastle field value if set, zero value otherwise (both if not set or set to explicit null).
func (*UserPreferences) GetRookCastleOk ¶
func (o *UserPreferences) GetRookCastleOk() (*interface{}, bool)
GetRookCastleOk returns a tuple with the RookCastle field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*UserPreferences) GetSoundSet ¶
func (o *UserPreferences) GetSoundSet() interface{}
GetSoundSet returns the SoundSet field value if set, zero value otherwise (both if not set or set to explicit null).
func (*UserPreferences) GetSoundSetOk ¶
func (o *UserPreferences) GetSoundSetOk() (*interface{}, bool)
GetSoundSetOk returns a tuple with the SoundSet field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*UserPreferences) GetSubmitMove ¶
func (o *UserPreferences) GetSubmitMove() interface{}
GetSubmitMove returns the SubmitMove field value if set, zero value otherwise (both if not set or set to explicit null).
func (*UserPreferences) GetSubmitMoveOk ¶
func (o *UserPreferences) GetSubmitMoveOk() (*interface{}, bool)
GetSubmitMoveOk returns a tuple with the SubmitMove field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*UserPreferences) GetTakeback ¶
func (o *UserPreferences) GetTakeback() interface{}
GetTakeback returns the Takeback field value if set, zero value otherwise (both if not set or set to explicit null).
func (*UserPreferences) GetTakebackOk ¶
func (o *UserPreferences) GetTakebackOk() (*interface{}, bool)
GetTakebackOk returns a tuple with the Takeback field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*UserPreferences) GetTheme ¶
func (o *UserPreferences) GetTheme() interface{}
GetTheme returns the Theme field value if set, zero value otherwise (both if not set or set to explicit null).
func (*UserPreferences) GetTheme3d ¶
func (o *UserPreferences) GetTheme3d() interface{}
GetTheme3d returns the Theme3d field value if set, zero value otherwise (both if not set or set to explicit null).
func (*UserPreferences) GetTheme3dOk ¶
func (o *UserPreferences) GetTheme3dOk() (*interface{}, bool)
GetTheme3dOk returns a tuple with the Theme3d field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*UserPreferences) GetThemeOk ¶
func (o *UserPreferences) GetThemeOk() (*interface{}, bool)
GetThemeOk returns a tuple with the Theme field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*UserPreferences) GetTransp ¶
func (o *UserPreferences) GetTransp() interface{}
GetTransp returns the Transp field value if set, zero value otherwise (both if not set or set to explicit null).
func (*UserPreferences) GetTranspOk ¶
func (o *UserPreferences) GetTranspOk() (*interface{}, bool)
GetTranspOk returns a tuple with the Transp field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*UserPreferences) GetZen ¶
func (o *UserPreferences) GetZen() interface{}
GetZen returns the Zen field value if set, zero value otherwise (both if not set or set to explicit null).
func (*UserPreferences) GetZenOk ¶
func (o *UserPreferences) GetZenOk() (*interface{}, bool)
GetZenOk returns a tuple with the Zen field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*UserPreferences) HasAnimation ¶
func (o *UserPreferences) HasAnimation() bool
HasAnimation returns a boolean if a field has been set.
func (*UserPreferences) HasAutoQueen ¶
func (o *UserPreferences) HasAutoQueen() bool
HasAutoQueen returns a boolean if a field has been set.
func (*UserPreferences) HasAutoThreefold ¶
func (o *UserPreferences) HasAutoThreefold() bool
HasAutoThreefold returns a boolean if a field has been set.
func (*UserPreferences) HasBgImg ¶
func (o *UserPreferences) HasBgImg() bool
HasBgImg returns a boolean if a field has been set.
func (*UserPreferences) HasBlindfold ¶
func (o *UserPreferences) HasBlindfold() bool
HasBlindfold returns a boolean if a field has been set.
func (*UserPreferences) HasCaptured ¶
func (o *UserPreferences) HasCaptured() bool
HasCaptured returns a boolean if a field has been set.
func (*UserPreferences) HasChallenge ¶
func (o *UserPreferences) HasChallenge() bool
HasChallenge returns a boolean if a field has been set.
func (*UserPreferences) HasClockBar ¶
func (o *UserPreferences) HasClockBar() bool
HasClockBar returns a boolean if a field has been set.
func (*UserPreferences) HasClockSound ¶
func (o *UserPreferences) HasClockSound() bool
HasClockSound returns a boolean if a field has been set.
func (*UserPreferences) HasClockTenths ¶
func (o *UserPreferences) HasClockTenths() bool
HasClockTenths returns a boolean if a field has been set.
func (*UserPreferences) HasConfirmResign ¶
func (o *UserPreferences) HasConfirmResign() bool
HasConfirmResign returns a boolean if a field has been set.
func (*UserPreferences) HasCoordColor ¶
func (o *UserPreferences) HasCoordColor() bool
HasCoordColor returns a boolean if a field has been set.
func (*UserPreferences) HasCoords ¶
func (o *UserPreferences) HasCoords() bool
HasCoords returns a boolean if a field has been set.
func (*UserPreferences) HasDark ¶
func (o *UserPreferences) HasDark() bool
HasDark returns a boolean if a field has been set.
func (*UserPreferences) HasDestination ¶
func (o *UserPreferences) HasDestination() bool
HasDestination returns a boolean if a field has been set.
func (*UserPreferences) HasFollow ¶
func (o *UserPreferences) HasFollow() bool
HasFollow returns a boolean if a field has been set.
func (*UserPreferences) HasHighlight ¶
func (o *UserPreferences) HasHighlight() bool
HasHighlight returns a boolean if a field has been set.
func (*UserPreferences) HasInsightShare ¶
func (o *UserPreferences) HasInsightShare() bool
HasInsightShare returns a boolean if a field has been set.
func (*UserPreferences) HasIs3d ¶
func (o *UserPreferences) HasIs3d() bool
HasIs3d returns a boolean if a field has been set.
func (*UserPreferences) HasKeyboardMove ¶
func (o *UserPreferences) HasKeyboardMove() bool
HasKeyboardMove returns a boolean if a field has been set.
func (*UserPreferences) HasMessage ¶
func (o *UserPreferences) HasMessage() bool
HasMessage returns a boolean if a field has been set.
func (*UserPreferences) HasMoretime ¶
func (o *UserPreferences) HasMoretime() bool
HasMoretime returns a boolean if a field has been set.
func (*UserPreferences) HasMoveEvent ¶
func (o *UserPreferences) HasMoveEvent() bool
HasMoveEvent returns a boolean if a field has been set.
func (*UserPreferences) HasPieceSet ¶
func (o *UserPreferences) HasPieceSet() bool
HasPieceSet returns a boolean if a field has been set.
func (*UserPreferences) HasPieceSet3d ¶
func (o *UserPreferences) HasPieceSet3d() bool
HasPieceSet3d returns a boolean if a field has been set.
func (*UserPreferences) HasPremove ¶
func (o *UserPreferences) HasPremove() bool
HasPremove returns a boolean if a field has been set.
func (*UserPreferences) HasReplay ¶
func (o *UserPreferences) HasReplay() bool
HasReplay returns a boolean if a field has been set.
func (*UserPreferences) HasRookCastle ¶
func (o *UserPreferences) HasRookCastle() bool
HasRookCastle returns a boolean if a field has been set.
func (*UserPreferences) HasSoundSet ¶
func (o *UserPreferences) HasSoundSet() bool
HasSoundSet returns a boolean if a field has been set.
func (*UserPreferences) HasSubmitMove ¶
func (o *UserPreferences) HasSubmitMove() bool
HasSubmitMove returns a boolean if a field has been set.
func (*UserPreferences) HasTakeback ¶
func (o *UserPreferences) HasTakeback() bool
HasTakeback returns a boolean if a field has been set.
func (*UserPreferences) HasTheme ¶
func (o *UserPreferences) HasTheme() bool
HasTheme returns a boolean if a field has been set.
func (*UserPreferences) HasTheme3d ¶
func (o *UserPreferences) HasTheme3d() bool
HasTheme3d returns a boolean if a field has been set.
func (*UserPreferences) HasTransp ¶
func (o *UserPreferences) HasTransp() bool
HasTransp returns a boolean if a field has been set.
func (*UserPreferences) HasZen ¶
func (o *UserPreferences) HasZen() bool
HasZen returns a boolean if a field has been set.
func (UserPreferences) MarshalJSON ¶
func (o UserPreferences) MarshalJSON() ([]byte, error)
func (*UserPreferences) SetAnimation ¶
func (o *UserPreferences) SetAnimation(v interface{})
SetAnimation gets a reference to the given interface{} and assigns it to the Animation field.
func (*UserPreferences) SetAutoQueen ¶
func (o *UserPreferences) SetAutoQueen(v interface{})
SetAutoQueen gets a reference to the given interface{} and assigns it to the AutoQueen field.
func (*UserPreferences) SetAutoThreefold ¶
func (o *UserPreferences) SetAutoThreefold(v interface{})
SetAutoThreefold gets a reference to the given interface{} and assigns it to the AutoThreefold field.
func (*UserPreferences) SetBgImg ¶
func (o *UserPreferences) SetBgImg(v interface{})
SetBgImg gets a reference to the given interface{} and assigns it to the BgImg field.
func (*UserPreferences) SetBlindfold ¶
func (o *UserPreferences) SetBlindfold(v interface{})
SetBlindfold gets a reference to the given interface{} and assigns it to the Blindfold field.
func (*UserPreferences) SetCaptured ¶
func (o *UserPreferences) SetCaptured(v interface{})
SetCaptured gets a reference to the given interface{} and assigns it to the Captured field.
func (*UserPreferences) SetChallenge ¶
func (o *UserPreferences) SetChallenge(v interface{})
SetChallenge gets a reference to the given interface{} and assigns it to the Challenge field.
func (*UserPreferences) SetClockBar ¶
func (o *UserPreferences) SetClockBar(v interface{})
SetClockBar gets a reference to the given interface{} and assigns it to the ClockBar field.
func (*UserPreferences) SetClockSound ¶
func (o *UserPreferences) SetClockSound(v interface{})
SetClockSound gets a reference to the given interface{} and assigns it to the ClockSound field.
func (*UserPreferences) SetClockTenths ¶
func (o *UserPreferences) SetClockTenths(v interface{})
SetClockTenths gets a reference to the given interface{} and assigns it to the ClockTenths field.
func (*UserPreferences) SetConfirmResign ¶
func (o *UserPreferences) SetConfirmResign(v interface{})
SetConfirmResign gets a reference to the given interface{} and assigns it to the ConfirmResign field.
func (*UserPreferences) SetCoordColor ¶
func (o *UserPreferences) SetCoordColor(v interface{})
SetCoordColor gets a reference to the given interface{} and assigns it to the CoordColor field.
func (*UserPreferences) SetCoords ¶
func (o *UserPreferences) SetCoords(v interface{})
SetCoords gets a reference to the given interface{} and assigns it to the Coords field.
func (*UserPreferences) SetDark ¶
func (o *UserPreferences) SetDark(v interface{})
SetDark gets a reference to the given interface{} and assigns it to the Dark field.
func (*UserPreferences) SetDestination ¶
func (o *UserPreferences) SetDestination(v interface{})
SetDestination gets a reference to the given interface{} and assigns it to the Destination field.
func (*UserPreferences) SetFollow ¶
func (o *UserPreferences) SetFollow(v interface{})
SetFollow gets a reference to the given interface{} and assigns it to the Follow field.
func (*UserPreferences) SetHighlight ¶
func (o *UserPreferences) SetHighlight(v interface{})
SetHighlight gets a reference to the given interface{} and assigns it to the Highlight field.
func (*UserPreferences) SetInsightShare ¶
func (o *UserPreferences) SetInsightShare(v interface{})
SetInsightShare gets a reference to the given interface{} and assigns it to the InsightShare field.
func (*UserPreferences) SetIs3d ¶
func (o *UserPreferences) SetIs3d(v interface{})
SetIs3d gets a reference to the given interface{} and assigns it to the Is3d field.
func (*UserPreferences) SetKeyboardMove ¶
func (o *UserPreferences) SetKeyboardMove(v interface{})
SetKeyboardMove gets a reference to the given interface{} and assigns it to the KeyboardMove field.
func (*UserPreferences) SetMessage ¶
func (o *UserPreferences) SetMessage(v interface{})
SetMessage gets a reference to the given interface{} and assigns it to the Message field.
func (*UserPreferences) SetMoretime ¶
func (o *UserPreferences) SetMoretime(v interface{})
SetMoretime gets a reference to the given interface{} and assigns it to the Moretime field.
func (*UserPreferences) SetMoveEvent ¶
func (o *UserPreferences) SetMoveEvent(v interface{})
SetMoveEvent gets a reference to the given interface{} and assigns it to the MoveEvent field.
func (*UserPreferences) SetPieceSet ¶
func (o *UserPreferences) SetPieceSet(v interface{})
SetPieceSet gets a reference to the given interface{} and assigns it to the PieceSet field.
func (*UserPreferences) SetPieceSet3d ¶
func (o *UserPreferences) SetPieceSet3d(v interface{})
SetPieceSet3d gets a reference to the given interface{} and assigns it to the PieceSet3d field.
func (*UserPreferences) SetPremove ¶
func (o *UserPreferences) SetPremove(v interface{})
SetPremove gets a reference to the given interface{} and assigns it to the Premove field.
func (*UserPreferences) SetReplay ¶
func (o *UserPreferences) SetReplay(v interface{})
SetReplay gets a reference to the given interface{} and assigns it to the Replay field.
func (*UserPreferences) SetRookCastle ¶
func (o *UserPreferences) SetRookCastle(v interface{})
SetRookCastle gets a reference to the given interface{} and assigns it to the RookCastle field.
func (*UserPreferences) SetSoundSet ¶
func (o *UserPreferences) SetSoundSet(v interface{})
SetSoundSet gets a reference to the given interface{} and assigns it to the SoundSet field.
func (*UserPreferences) SetSubmitMove ¶
func (o *UserPreferences) SetSubmitMove(v interface{})
SetSubmitMove gets a reference to the given interface{} and assigns it to the SubmitMove field.
func (*UserPreferences) SetTakeback ¶
func (o *UserPreferences) SetTakeback(v interface{})
SetTakeback gets a reference to the given interface{} and assigns it to the Takeback field.
func (*UserPreferences) SetTheme ¶
func (o *UserPreferences) SetTheme(v interface{})
SetTheme gets a reference to the given interface{} and assigns it to the Theme field.
func (*UserPreferences) SetTheme3d ¶
func (o *UserPreferences) SetTheme3d(v interface{})
SetTheme3d gets a reference to the given interface{} and assigns it to the Theme3d field.
func (*UserPreferences) SetTransp ¶
func (o *UserPreferences) SetTransp(v interface{})
SetTransp gets a reference to the given interface{} and assigns it to the Transp field.
func (*UserPreferences) SetZen ¶
func (o *UserPreferences) SetZen(v interface{})
SetZen gets a reference to the given interface{} and assigns it to the Zen field.
type UsersApiService ¶
type UsersApiService service
UsersApiService UsersApi service
func (*UsersApiService) ApiCrosstable ¶
func (a *UsersApiService) ApiCrosstable(ctx context.Context, user1 interface{}, user2 interface{}) ApiApiCrosstableRequest
ApiCrosstable Get crosstable
Get total number of games, and current score, of any two users.
If the `matchup` flag is provided, and the users are currently playing, also gets the current match game number and scores.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param user1 @param user2 @return ApiApiCrosstableRequest
func (*UsersApiService) ApiCrosstableExecute ¶
func (a *UsersApiService) ApiCrosstableExecute(r ApiApiCrosstableRequest) (interface{}, *http.Response, error)
Execute executes the request
@return interface{}
func (*UsersApiService) ApiUser ¶
func (a *UsersApiService) ApiUser(ctx context.Context, username interface{}) ApiApiUserRequest
ApiUser Get user public data
Read public data of a user.
If the request is [authenticated with OAuth2](#section/Authentication), then extra fields might be present in the response: `followable`, `following`, `blocking`, `followsYou`.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param username @return ApiApiUserRequest
func (*UsersApiService) ApiUserActivity ¶
func (a *UsersApiService) ApiUserActivity(ctx context.Context, username interface{}) ApiApiUserActivityRequest
ApiUserActivity Get user activity
Read data to generate the activity feed of a user.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param username @return ApiApiUserActivityRequest
func (*UsersApiService) ApiUserActivityExecute ¶
func (a *UsersApiService) ApiUserActivityExecute(r ApiApiUserActivityRequest) (*http.Response, error)
Execute executes the request
func (*UsersApiService) ApiUserExecute ¶
func (a *UsersApiService) ApiUserExecute(r ApiApiUserRequest) (interface{}, *http.Response, error)
Execute executes the request
@return interface{}
func (*UsersApiService) ApiUserPerf ¶
func (a *UsersApiService) ApiUserPerf(ctx context.Context, username interface{}, perf PerfType) ApiApiUserPerfRequest
ApiUserPerf Get performance statistics of a user
Read performance statistics of a user, for a single performance. Similar to the [performance pages on the website](https://lichess.org/@/thibault/perf/bullet).
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param username @param perf @return ApiApiUserPerfRequest
func (*UsersApiService) ApiUserPerfExecute ¶
func (a *UsersApiService) ApiUserPerfExecute(r ApiApiUserPerfRequest) (interface{}, *http.Response, error)
Execute executes the request
@return interface{}
func (*UsersApiService) ApiUserRatingHistory ¶
func (a *UsersApiService) ApiUserRatingHistory(ctx context.Context, username interface{}) ApiApiUserRatingHistoryRequest
ApiUserRatingHistory Get rating history of a user
Read rating history of a user, for all perf types. There is at most one entry per day. Format of an entry is `[year, month, day, rating]`. `month` starts at zero (January).
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param username @return ApiApiUserRatingHistoryRequest
func (*UsersApiService) ApiUserRatingHistoryExecute ¶
func (a *UsersApiService) ApiUserRatingHistoryExecute(r ApiApiUserRatingHistoryRequest) (interface{}, *http.Response, error)
Execute executes the request
@return interface{}
func (*UsersApiService) ApiUsers ¶
func (a *UsersApiService) ApiUsers(ctx context.Context) ApiApiUsersRequest
ApiUsers Get users by ID
Get up to 300 users by their IDs. Users are returned in the same order as the IDs.
The method is `POST` so a longer list of IDs can be sent in the request body.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiApiUsersRequest
func (*UsersApiService) ApiUsersExecute ¶
func (a *UsersApiService) ApiUsersExecute(r ApiApiUsersRequest) ([]User, *http.Response, error)
Execute executes the request
@return []User
func (*UsersApiService) ApiUsersStatus ¶
func (a *UsersApiService) ApiUsersStatus(ctx context.Context) ApiApiUsersStatusRequest
ApiUsersStatus Get real-time users status
Read the `online`, `playing` and `streaming` flags of several users.
This API is very fast and cheap on lichess side. So you can call it quite often (like once every 5 seconds).
Use it to track players and know when they're connected on lichess and playing games.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiApiUsersStatusRequest
func (*UsersApiService) ApiUsersStatusExecute ¶
func (a *UsersApiService) ApiUsersStatusExecute(r ApiApiUsersStatusRequest) ([]ApiUsersStatus200ResponseInner, *http.Response, error)
Execute executes the request
@return []ApiUsersStatus200ResponseInner
func (*UsersApiService) Player ¶
func (a *UsersApiService) Player(ctx context.Context) ApiPlayerRequest
Player Get all top 10
Get the top 10 players for each speed and variant.
See <https://lichess.org/player>.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiPlayerRequest
func (*UsersApiService) PlayerExecute ¶
func (a *UsersApiService) PlayerExecute(r ApiPlayerRequest) (interface{}, *http.Response, error)
Execute executes the request
@return interface{}
func (*UsersApiService) PlayerTopNbPerfType ¶
func (a *UsersApiService) PlayerTopNbPerfType(ctx context.Context, nb interface{}, perfType interface{}) ApiPlayerTopNbPerfTypeRequest
PlayerTopNbPerfType Get one leaderboard
Get the leaderboard for a single speed or variant (a.k.a. `perfType`). There is no leaderboard for correspondence or puzzles.
See <https://lichess.org/player/top/200/bullet>.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param nb How many users to fetch @param perfType The speed or variant @return ApiPlayerTopNbPerfTypeRequest
func (*UsersApiService) PlayerTopNbPerfTypeExecute ¶
func (a *UsersApiService) PlayerTopNbPerfTypeExecute(r ApiPlayerTopNbPerfTypeRequest) (interface{}, *http.Response, error)
Execute executes the request
@return interface{}
func (*UsersApiService) StreamerLive ¶
func (a *UsersApiService) StreamerLive(ctx context.Context) ApiStreamerLiveRequest
StreamerLive Get live streamers
Get basic info about currently streaming users.
This API is very fast and cheap on lichess side. So you can call it quite often (like once every 5 seconds).
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiStreamerLiveRequest
func (*UsersApiService) StreamerLiveExecute ¶
func (a *UsersApiService) StreamerLiveExecute(r ApiStreamerLiveRequest) ([]LightUser, *http.Response, error)
Execute executes the request
@return []LightUser
func (*UsersApiService) TeamIdUsers ¶
func (a *UsersApiService) TeamIdUsers(ctx context.Context, teamId interface{}) UsersApiTeamIdUsersRequest
TeamIdUsers Get members of a team
Members are sorted by reverse chronological order of joining the team (most recent first). OAuth only required if the list of members is private.
Members are streamed as [ndjson](#section/Introduction/Streaming-with-ND-JSON).
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param teamId @return UsersApiTeamIdUsersRequest
func (*UsersApiService) TeamIdUsersExecute ¶
func (a *UsersApiService) TeamIdUsersExecute(r UsersApiTeamIdUsersRequest) (interface{}, *http.Response, error)
Execute executes the request
@return interface{}
type UsersApiTeamIdUsersRequest ¶
type UsersApiTeamIdUsersRequest struct { ApiService *UsersApiService // contains filtered or unexported fields }
type Variant ¶
type Variant struct { Key *VariantKey `json:"key,omitempty"` Name interface{} `json:"name,omitempty"` Short interface{} `json:"short,omitempty"` }
Variant struct for Variant
func NewVariant ¶
func NewVariant() *Variant
NewVariant instantiates a new Variant object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewVariantWithDefaults ¶
func NewVariantWithDefaults() *Variant
NewVariantWithDefaults instantiates a new Variant object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*Variant) GetKey ¶
func (o *Variant) GetKey() VariantKey
GetKey returns the Key field value if set, zero value otherwise.
func (*Variant) GetKeyOk ¶
func (o *Variant) GetKeyOk() (*VariantKey, bool)
GetKeyOk returns a tuple with the Key field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Variant) GetName ¶
func (o *Variant) GetName() interface{}
GetName returns the Name field value if set, zero value otherwise (both if not set or set to explicit null).
func (*Variant) GetNameOk ¶
GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*Variant) GetShort ¶
func (o *Variant) GetShort() interface{}
GetShort returns the Short field value if set, zero value otherwise (both if not set or set to explicit null).
func (*Variant) GetShortOk ¶
GetShortOk returns a tuple with the Short field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (Variant) MarshalJSON ¶
func (*Variant) SetKey ¶
func (o *Variant) SetKey(v VariantKey)
SetKey gets a reference to the given VariantKey and assigns it to the Key field.
type VariantKey ¶
type VariantKey struct { }
VariantKey struct for VariantKey
func NewVariantKey ¶
func NewVariantKey() *VariantKey
NewVariantKey instantiates a new VariantKey object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewVariantKeyWithDefaults ¶
func NewVariantKeyWithDefaults() *VariantKey
NewVariantKeyWithDefaults instantiates a new VariantKey object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (VariantKey) MarshalJSON ¶
func (o VariantKey) MarshalJSON() ([]byte, error)
Source Files ¶
- api_account.go
- api_analysis.go
- api_arena_tournaments.go
- api_board.go
- api_bot.go
- api_broadcasts.go
- api_bulk_pairings.go
- api_challenges.go
- api_external_engine.go
- api_games.go
- api_messaging.go
- api_o_auth.go
- api_opening_explorer.go
- api_puzzles.go
- api_relations.go
- api_simuls.go
- api_studies.go
- api_swiss_tournaments.go
- api_tablebase.go
- api_teams.go
- api_tv.go
- api_users.go
- client.go
- configuration.go
- model_account_200_response.go
- model_account_email_200_response.go
- model_account_kid_200_response.go
- model_api_external_engine_acquire_200_response.go
- model_api_external_engine_acquire_request.go
- model_api_external_engine_analyse_200_response.go
- model_api_external_engine_analyse_200_response_pvs_inner.go
- model_api_external_engine_analyse_request.go
- model_api_users_status_200_response_inner.go
- model_arena_tournaments.go
- model_challenge_canceled_event.go
- model_challenge_canceled_json.go
- model_challenge_declined_event.go
- model_challenge_event.go
- model_challenge_json.go
- model_challenge_json_perf.go
- model_challenge_list_200_response.go
- model_challenge_user.go
- model_chat_line_event.go
- model_clock.go
- model_count.go
- model_error.go
- model_external_engine.go
- model_external_engine_registration.go
- model_external_engine_work.go
- model_game_event_info.go
- model_game_event_info_compat.go
- model_game_event_player.go
- model_game_finish_event.go
- model_game_full_event.go
- model_game_full_event_perf.go
- model_game_json.go
- model_game_json_clock.go
- model_game_json_opening.go
- model_game_json_players.go
- model_game_start_event.go
- model_game_state_event.go
- model_game_status.go
- model_game_user.go
- model_game_user_analysis.go
- model_light_user.go
- model_move.go
- model_not_found.go
- model_o_auth_error.go
- model_ok.go
- model_opponent_gone.go
- model_perf.go
- model_perf_type.go
- model_perfs.go
- model_play_time.go
- model_profile.go
- model_puzzle_round_json.go
- model_speed.go
- model_storm_perf.go
- model_swiss_unauthorised_edit.go
- model_tablebase_json.go
- model_team.go
- model_team_all_200_response.go
- model_team_request.go
- model_team_request_with_user.go
- model_title.go
- model_uci_variant.go
- model_user.go
- model_user_preferences.go
- model_variant.go
- model_variant_key.go
- response.go
- utils.go