Documentation
¶
Overview ¶
Package uschess provides primitives to interact with the openapi HTTP API.
Code generated by github.com/oapi-codegen/oapi-codegen/v2 version v2.7.2 DO NOT EDIT.
Copyright © 2026 Mike Brown. All Rights Reserved. * * See LICENSE file at the root of this repository for license terms Copyright © 2026 Mike Brown. All Rights Reserved. * * See LICENSE file at the root of this repository for license terms
Index ¶
- Constants
- func KFactor(myOldRating float64, N0 float64, m int, dualRatedOTBR bool) float64
- func NewAddEntireUnpairedRoundRequest(server string, eventId EventID, sectionId SectionID) (*http.Request, error)
- func NewAddOfficialRequest(server string, eventId EventID, body AddOfficialJSONRequestBody) (*http.Request, error)
- func NewAddOfficialRequestWithApplicationWildcardPlusJSONBody(server string, eventId EventID, ...) (*http.Request, error)
- func NewAddOfficialRequestWithBody(server string, eventId EventID, contentType string, body io.Reader) (*http.Request, error)
- func NewCreatePendingEventRequest(server string, body CreatePendingEventJSONRequestBody) (*http.Request, error)
- func NewCreatePendingEventRequestWithApplicationWildcardPlusJSONBody(server string, body CreatePendingEventApplicationWildcardPlusJSONRequestBody) (*http.Request, error)
- func NewCreatePendingEventRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewCreatePendingGameRequest(server string, pendingEventId EventID, pendingSectionId SectionID, ...) (*http.Request, error)
- func NewCreatePendingGameRequestWithApplicationWildcardPlusJSONBody(server string, pendingEventId EventID, pendingSectionId SectionID, ...) (*http.Request, error)
- func NewCreatePendingGameRequestWithBody(server string, pendingEventId EventID, pendingSectionId SectionID, ...) (*http.Request, error)
- func NewCreatePendingPlayerRequest(server string, pendingEventId EventID, sectionId SectionID, ...) (*http.Request, error)
- func NewCreatePendingPlayerRequestWithApplicationWildcardPlusJSONBody(server string, pendingEventId EventID, sectionId SectionID, ...) (*http.Request, error)
- func NewCreatePendingPlayerRequestWithBody(server string, pendingEventId EventID, sectionId SectionID, contentType string, ...) (*http.Request, error)
- func NewCreatePendingSectionRequest(server string, eventId EventID, body CreatePendingSectionJSONRequestBody) (*http.Request, error)
- func NewCreatePendingSectionRequestWithApplicationWildcardPlusJSONBody(server string, eventId EventID, ...) (*http.Request, error)
- func NewCreatePendingSectionRequestWithBody(server string, eventId EventID, contentType string, body io.Reader) (*http.Request, error)
- func NewCreateUnplayedRoundRequest(server string, eventId EventID, sectionId SectionID, ...) (*http.Request, error)
- func NewCreateUnplayedRoundRequestWithApplicationWildcardPlusJSONBody(server string, eventId EventID, sectionId SectionID, ...) (*http.Request, error)
- func NewCreateUnplayedRoundRequestWithBody(server string, eventId EventID, sectionId SectionID, contentType string, ...) (*http.Request, error)
- func NewDeleteEntirePendingRoundRequest(server string, eventId EventID, sectionId SectionID, roundNumber int32) (*http.Request, error)
- func NewDeleteOfficialRequest(server string, eventId EventID, officialId string) (*http.Request, error)
- func NewDeletePendingEventRequest(server string, eventId EventID) (*http.Request, error)
- func NewDeletePendingGameRequest(server string, pendingEventId EventID, pendingSectionId SectionID, ...) (*http.Request, error)
- func NewDeletePendingPlayerRequest(server string, pendingEventId EventID, sectionId SectionID, playerId string) (*http.Request, error)
- func NewDeletePendingSectionRequest(server string, eventId EventID, sectionId SectionID) (*http.Request, error)
- func NewDeleteUnplayedRoundRequest(server string, eventId EventID, sectionId SectionID, roundNumber int32, ...) (*http.Request, error)
- func NewGetAffiliateRatedEventsRequest(server string, affiliateId AffiliateID, params *GetAffiliateRatedEventsParams) (*http.Request, error)
- func NewGetAffiliateRequest(server string, affiliateId AffiliateID) (*http.Request, error)
- func NewGetAffiliatesPageRequest(server string, params *GetAffiliatesPageParams) (*http.Request, error)
- func NewGetGrandPrixSectionsRequest(server string, year int32, params *GetGrandPrixSectionsParams) (*http.Request, error)
- func NewGetGrandPrixStandingsRequest(server string, params *GetGrandPrixStandingsParams) (*http.Request, error)
- func NewGetMaxRanksRequest(server string) (*http.Request, error)
- func NewGetMemberAwardsPageRequest(server string, memberId MemberID, params *GetMemberAwardsPageParams) (*http.Request, error)
- func NewGetMemberDirectorshipsPageRequest(server string, memberId MemberID, params *GetMemberDirectorshipsPageParams) (*http.Request, error)
- func NewGetMemberRatedEventsPageRequest(server string, memberId MemberID, params *GetMemberRatedEventsPageParams) (*http.Request, error)
- func NewGetMemberRatedGamesRequest(server string, memberId MemberID, params *GetMemberRatedGamesParams) (*http.Request, error)
- func NewGetMemberRatedSectionsPageRequest(server string, memberId MemberID, params *GetMemberRatedSectionsPageParams) (*http.Request, error)
- func NewGetMemberRequest(server string, memberId MemberID) (*http.Request, error)
- func NewGetMembersPageRequest(server string, params *GetMembersPageParams) (*http.Request, error)
- func NewGetNormsRequest(server string, memberId MemberID) (*http.Request, error)
- func NewGetOfficialRequest(server string, eventId EventID, officialId string) (*http.Request, error)
- func NewGetPendingEventBySectionIdRequest(server string, sectionId SectionID) (*http.Request, error)
- func NewGetPendingEventRequest(server string, eventId EventID) (*http.Request, error)
- func NewGetPendingEventsPageRequest(server string, params *GetPendingEventsPageParams) (*http.Request, error)
- func NewGetPendingGameRequest(server string, pendingEventId EventID, pendingSectionId SectionID, ...) (*http.Request, error)
- func NewGetPendingPlayerRequest(server string, pendingEventId EventID, sectionId SectionID, playerId string) (*http.Request, error)
- func NewGetPendingSectionRequest(server string, eventId EventID, sectionId SectionID) (*http.Request, error)
- func NewGetPromoCodeByDiscountCodeRequest(server string, discountCode string) (*http.Request, error)
- func NewGetPromoCodeRequest(server string, promoCodeId string) (*http.Request, error)
- func NewGetPromoCodesPageRequest(server string, params *GetPromoCodesPageParams) (*http.Request, error)
- func NewGetRatedEventRequest(server string, eventId EventID) (*http.Request, error)
- func NewGetRatedEventSectionDetailRequest(server string, eventId EventID, sectionNumber int32) (*http.Request, error)
- func NewGetRatedEventStandingsPageRequest(server string, eventId EventID, sectionNumber int32, ...) (*http.Request, error)
- func NewGetRatedEventsPageRequest(server string, params *GetRatedEventsPageParams) (*http.Request, error)
- func NewGetRatedSectionsPageRequest(server string, params *GetRatedSectionsPageParams) (*http.Request, error)
- func NewGetRatingSupplementsPageRequest(server string, memberId MemberID, params *GetRatingSupplementsPageParams) (*http.Request, error)
- func NewGetReportDefinitionsRequest(server string) (*http.Request, error)
- func NewGetReportRequest(server string, definitionId string, params *GetReportParams) (*http.Request, error)
- func NewGetTopPlayersReportForMemberRequest(server string, memberId MemberID, params *GetTopPlayersReportForMemberParams) (*http.Request, error)
- func NewGetUnofficialRankLookupRequest(server string, ratingSource RatingType, params *GetUnofficialRankLookupParams) (*http.Request, error)
- func NewListAllPendingGamesRequest(server string, eventId EventID) (*http.Request, error)
- func NewListAllPendingPlayersRequest(server string, eventId EventID) (*http.Request, error)
- func NewListPendingEventOfficialsRequest(server string, eventId EventID) (*http.Request, error)
- func NewListPendingGamesRequest(server string, pendingEventId EventID, pendingSectionId SectionID) (*http.Request, error)
- func NewListPendingPlayersRequest(server string, pendingEventId EventID, sectionId SectionID, ...) (*http.Request, error)
- func NewListPendingSectionsRequest(server string, eventId EventID) (*http.Request, error)
- func NewListRatedEventOfficialsRequest(server string, eventId EventID) (*http.Request, error)
- func NewListRoundUnpairedPlayersRequest(server string, eventId EventID, sectionId SectionID, roundNumber int32, ...) (*http.Request, error)
- func NewListUnplayedRoundsRequest(server string, eventId EventID, sectionId SectionID, ...) (*http.Request, error)
- func NewReleaseForReviewRequest(server string, eventId EventID, body ReleaseForReviewJSONRequestBody) (*http.Request, error)
- func NewReleaseForReviewRequestWithApplicationWildcardPlusJSONBody(server string, eventId EventID, ...) (*http.Request, error)
- func NewReleaseForReviewRequestWithBody(server string, eventId EventID, contentType string, body io.Reader) (*http.Request, error)
- func NewStartTopPlayerReportJobRequest(server string, body StartTopPlayerReportJobJSONRequestBody) (*http.Request, error)
- func NewStartTopPlayerReportJobRequestWithApplicationWildcardPlusJSONBody(server string, ...) (*http.Request, error)
- func NewStartTopPlayerReportJobRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewUpdateComplianceRequest(server string, eventId EventID, body UpdateComplianceJSONRequestBody) (*http.Request, error)
- func NewUpdateComplianceRequestWithApplicationWildcardPlusJSONBody(server string, eventId EventID, ...) (*http.Request, error)
- func NewUpdateComplianceRequestWithBody(server string, eventId EventID, contentType string, body io.Reader) (*http.Request, error)
- func NewUpdateOfficialRequest(server string, eventId EventID, officialId string, ...) (*http.Request, error)
- func NewUpdateOfficialRequestWithApplicationWildcardPlusJSONBody(server string, eventId EventID, officialId string, ...) (*http.Request, error)
- func NewUpdateOfficialRequestWithBody(server string, eventId EventID, officialId string, contentType string, ...) (*http.Request, error)
- func NewUpdatePendingEventRequest(server string, eventId EventID, body UpdatePendingEventJSONRequestBody) (*http.Request, error)
- func NewUpdatePendingEventRequestWithApplicationWildcardPlusJSONBody(server string, eventId EventID, ...) (*http.Request, error)
- func NewUpdatePendingEventRequestWithBody(server string, eventId EventID, contentType string, body io.Reader) (*http.Request, error)
- func NewUpdatePendingGameRequest(server string, pendingEventId EventID, pendingSectionId SectionID, ...) (*http.Request, error)
- func NewUpdatePendingGameRequestWithApplicationWildcardPlusJSONBody(server string, pendingEventId EventID, pendingSectionId SectionID, ...) (*http.Request, error)
- func NewUpdatePendingGameRequestWithBody(server string, pendingEventId EventID, pendingSectionId SectionID, ...) (*http.Request, error)
- func NewUpdatePendingPlayerRequest(server string, pendingEventId EventID, sectionId SectionID, playerId string, ...) (*http.Request, error)
- func NewUpdatePendingPlayerRequestWithApplicationWildcardPlusJSONBody(server string, pendingEventId EventID, sectionId SectionID, playerId string, ...) (*http.Request, error)
- func NewUpdatePendingPlayerRequestWithBody(server string, pendingEventId EventID, sectionId SectionID, playerId string, ...) (*http.Request, error)
- func NewUpdatePendingSectionRequest(server string, eventId EventID, sectionId SectionID, ...) (*http.Request, error)
- func NewUpdatePendingSectionRequestWithApplicationWildcardPlusJSONBody(server string, eventId EventID, sectionId SectionID, ...) (*http.Request, error)
- func NewUpdatePendingSectionRequestWithBody(server string, eventId EventID, sectionId SectionID, contentType string, ...) (*http.Request, error)
- func NewUpdateReviewRequest(server string, eventId EventID, body UpdateReviewJSONRequestBody) (*http.Request, error)
- func NewUpdateReviewRequestWithApplicationWildcardPlusJSONBody(server string, eventId EventID, ...) (*http.Request, error)
- func NewUpdateReviewRequestWithBody(server string, eventId EventID, contentType string, body io.Reader) (*http.Request, error)
- func NewUploadRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewValidatePendingEventRequest(server string, eventId EventID) (*http.Request, error)
- type AddEntireUnpairedRoundResponse
- type AddOfficialApplicationWildcardPlusJSONBody
- type AddOfficialApplicationWildcardPlusJSONRequestBody
- type AddOfficialJSONBody
- type AddOfficialJSONRequestBody
- type AddOfficialResponse
- type Affiliate
- type AffiliateEventSortBy
- type AffiliateID
- type AffiliatePage
- type AffiliateSortBy
- type AwardCategory
- type AwardType
- type BillStatus
- type ChampEventStatus
- type ChessColor
- type Client
- func (c *Client) AddEntireUnpairedRound(ctx context.Context, eventId EventID, sectionId SectionID, ...) (*http.Response, error)
- func (c *Client) AddOfficial(ctx context.Context, eventId EventID, body AddOfficialJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) AddOfficialWithApplicationWildcardPlusJSONBody(ctx context.Context, eventId EventID, ...) (*http.Response, error)
- func (c *Client) AddOfficialWithBody(ctx context.Context, eventId EventID, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) CreatePendingEvent(ctx context.Context, body CreatePendingEventJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) CreatePendingEventWithApplicationWildcardPlusJSONBody(ctx context.Context, ...) (*http.Response, error)
- func (c *Client) CreatePendingEventWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) CreatePendingGame(ctx context.Context, pendingEventId EventID, pendingSectionId SectionID, ...) (*http.Response, error)
- func (c *Client) CreatePendingGameWithApplicationWildcardPlusJSONBody(ctx context.Context, pendingEventId EventID, pendingSectionId SectionID, ...) (*http.Response, error)
- func (c *Client) CreatePendingGameWithBody(ctx context.Context, pendingEventId EventID, pendingSectionId SectionID, ...) (*http.Response, error)
- func (c *Client) CreatePendingPlayer(ctx context.Context, pendingEventId EventID, sectionId SectionID, ...) (*http.Response, error)
- func (c *Client) CreatePendingPlayerWithApplicationWildcardPlusJSONBody(ctx context.Context, pendingEventId EventID, sectionId SectionID, ...) (*http.Response, error)
- func (c *Client) CreatePendingPlayerWithBody(ctx context.Context, pendingEventId EventID, sectionId SectionID, ...) (*http.Response, error)
- func (c *Client) CreatePendingSection(ctx context.Context, eventId EventID, body CreatePendingSectionJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) CreatePendingSectionWithApplicationWildcardPlusJSONBody(ctx context.Context, eventId EventID, ...) (*http.Response, error)
- func (c *Client) CreatePendingSectionWithBody(ctx context.Context, eventId EventID, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) CreateUnplayedRound(ctx context.Context, eventId EventID, sectionId SectionID, ...) (*http.Response, error)
- func (c *Client) CreateUnplayedRoundWithApplicationWildcardPlusJSONBody(ctx context.Context, eventId EventID, sectionId SectionID, ...) (*http.Response, error)
- func (c *Client) CreateUnplayedRoundWithBody(ctx context.Context, eventId EventID, sectionId SectionID, contentType string, ...) (*http.Response, error)
- func (c *Client) DeleteEntirePendingRound(ctx context.Context, eventId EventID, sectionId SectionID, roundNumber int32, ...) (*http.Response, error)
- func (c *Client) DeleteOfficial(ctx context.Context, eventId EventID, officialId string, ...) (*http.Response, error)
- func (c *Client) DeletePendingEvent(ctx context.Context, eventId EventID, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) DeletePendingGame(ctx context.Context, pendingEventId EventID, pendingSectionId SectionID, ...) (*http.Response, error)
- func (c *Client) DeletePendingPlayer(ctx context.Context, pendingEventId EventID, sectionId SectionID, ...) (*http.Response, error)
- func (c *Client) DeletePendingSection(ctx context.Context, eventId EventID, sectionId SectionID, ...) (*http.Response, error)
- func (c *Client) DeleteUnplayedRound(ctx context.Context, eventId EventID, sectionId SectionID, roundNumber int32, ...) (*http.Response, error)
- func (c *Client) GetAffiliate(ctx context.Context, affiliateId AffiliateID, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetAffiliateRatedEvents(ctx context.Context, affiliateId AffiliateID, ...) (*http.Response, error)
- func (c *Client) GetAffiliatesPage(ctx context.Context, params *GetAffiliatesPageParams, ...) (*http.Response, error)
- func (c *Client) GetGrandPrixSections(ctx context.Context, year int32, params *GetGrandPrixSectionsParams, ...) (*http.Response, error)
- func (c *Client) GetGrandPrixStandings(ctx context.Context, params *GetGrandPrixStandingsParams, ...) (*http.Response, error)
- func (c *Client) GetMaxRanks(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetMember(ctx context.Context, memberId MemberID, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetMemberAwardsPage(ctx context.Context, memberId MemberID, params *GetMemberAwardsPageParams, ...) (*http.Response, error)
- func (c *Client) GetMemberDirectorshipsPage(ctx context.Context, memberId MemberID, ...) (*http.Response, error)
- func (c *Client) GetMemberRatedEventsPage(ctx context.Context, memberId MemberID, params *GetMemberRatedEventsPageParams, ...) (*http.Response, error)
- func (c *Client) GetMemberRatedGames(ctx context.Context, memberId MemberID, params *GetMemberRatedGamesParams, ...) (*http.Response, error)
- func (c *Client) GetMemberRatedSectionsPage(ctx context.Context, memberId MemberID, ...) (*http.Response, error)
- func (c *Client) GetMembersPage(ctx context.Context, params *GetMembersPageParams, ...) (*http.Response, error)
- func (c *Client) GetNorms(ctx context.Context, memberId MemberID, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetOfficial(ctx context.Context, eventId EventID, officialId string, ...) (*http.Response, error)
- func (c *Client) GetPendingEvent(ctx context.Context, eventId EventID, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetPendingEventBySectionId(ctx context.Context, sectionId SectionID, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetPendingEventsPage(ctx context.Context, params *GetPendingEventsPageParams, ...) (*http.Response, error)
- func (c *Client) GetPendingGame(ctx context.Context, pendingEventId EventID, pendingSectionId SectionID, ...) (*http.Response, error)
- func (c *Client) GetPendingPlayer(ctx context.Context, pendingEventId EventID, sectionId SectionID, ...) (*http.Response, error)
- func (c *Client) GetPendingSection(ctx context.Context, eventId EventID, sectionId SectionID, ...) (*http.Response, error)
- func (c *Client) GetPromoCode(ctx context.Context, promoCodeId string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetPromoCodeByDiscountCode(ctx context.Context, discountCode string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetPromoCodesPage(ctx context.Context, params *GetPromoCodesPageParams, ...) (*http.Response, error)
- func (c *Client) GetRatedEvent(ctx context.Context, eventId EventID, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetRatedEventSectionDetail(ctx context.Context, eventId EventID, sectionNumber int32, ...) (*http.Response, error)
- func (c *Client) GetRatedEventStandingsPage(ctx context.Context, eventId EventID, sectionNumber int32, ...) (*http.Response, error)
- func (c *Client) GetRatedEventsPage(ctx context.Context, params *GetRatedEventsPageParams, ...) (*http.Response, error)
- func (c *Client) GetRatedSectionsPage(ctx context.Context, params *GetRatedSectionsPageParams, ...) (*http.Response, error)
- func (c *Client) GetRatingSupplementsPage(ctx context.Context, memberId MemberID, params *GetRatingSupplementsPageParams, ...) (*http.Response, error)
- func (c *Client) GetReport(ctx context.Context, definitionId string, params *GetReportParams, ...) (*http.Response, error)
- func (c *Client) GetReportDefinitions(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetTopPlayersReportForMember(ctx context.Context, memberId MemberID, ...) (*http.Response, error)
- func (c *Client) GetUnofficialRankLookup(ctx context.Context, ratingSource RatingType, ...) (*http.Response, error)
- func (c *Client) ListAllPendingGames(ctx context.Context, eventId EventID, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) ListAllPendingPlayers(ctx context.Context, eventId EventID, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) ListPendingEventOfficials(ctx context.Context, eventId EventID, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) ListPendingGames(ctx context.Context, pendingEventId EventID, pendingSectionId SectionID, ...) (*http.Response, error)
- func (c *Client) ListPendingPlayers(ctx context.Context, pendingEventId EventID, sectionId SectionID, ...) (*http.Response, error)
- func (c *Client) ListPendingSections(ctx context.Context, eventId EventID, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) ListRatedEventOfficials(ctx context.Context, eventId EventID, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) ListRoundUnpairedPlayers(ctx context.Context, eventId EventID, sectionId SectionID, roundNumber int32, ...) (*http.Response, error)
- func (c *Client) ListUnplayedRounds(ctx context.Context, eventId EventID, sectionId SectionID, ...) (*http.Response, error)
- func (c *Client) ReleaseForReview(ctx context.Context, eventId EventID, body ReleaseForReviewJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) ReleaseForReviewWithApplicationWildcardPlusJSONBody(ctx context.Context, eventId EventID, ...) (*http.Response, error)
- func (c *Client) ReleaseForReviewWithBody(ctx context.Context, eventId EventID, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) StartTopPlayerReportJob(ctx context.Context, body StartTopPlayerReportJobJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) StartTopPlayerReportJobWithApplicationWildcardPlusJSONBody(ctx context.Context, ...) (*http.Response, error)
- func (c *Client) StartTopPlayerReportJobWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) UpdateCompliance(ctx context.Context, eventId EventID, body UpdateComplianceJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) UpdateComplianceWithApplicationWildcardPlusJSONBody(ctx context.Context, eventId EventID, ...) (*http.Response, error)
- func (c *Client) UpdateComplianceWithBody(ctx context.Context, eventId EventID, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) UpdateOfficial(ctx context.Context, eventId EventID, officialId string, ...) (*http.Response, error)
- func (c *Client) UpdateOfficialWithApplicationWildcardPlusJSONBody(ctx context.Context, eventId EventID, officialId string, ...) (*http.Response, error)
- func (c *Client) UpdateOfficialWithBody(ctx context.Context, eventId EventID, officialId string, contentType string, ...) (*http.Response, error)
- func (c *Client) UpdatePendingEvent(ctx context.Context, eventId EventID, body UpdatePendingEventJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) UpdatePendingEventWithApplicationWildcardPlusJSONBody(ctx context.Context, eventId EventID, ...) (*http.Response, error)
- func (c *Client) UpdatePendingEventWithBody(ctx context.Context, eventId EventID, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) UpdatePendingGame(ctx context.Context, pendingEventId EventID, pendingSectionId SectionID, ...) (*http.Response, error)
- func (c *Client) UpdatePendingGameWithApplicationWildcardPlusJSONBody(ctx context.Context, pendingEventId EventID, pendingSectionId SectionID, ...) (*http.Response, error)
- func (c *Client) UpdatePendingGameWithBody(ctx context.Context, pendingEventId EventID, pendingSectionId SectionID, ...) (*http.Response, error)
- func (c *Client) UpdatePendingPlayer(ctx context.Context, pendingEventId EventID, sectionId SectionID, ...) (*http.Response, error)
- func (c *Client) UpdatePendingPlayerWithApplicationWildcardPlusJSONBody(ctx context.Context, pendingEventId EventID, sectionId SectionID, ...) (*http.Response, error)
- func (c *Client) UpdatePendingPlayerWithBody(ctx context.Context, pendingEventId EventID, sectionId SectionID, ...) (*http.Response, error)
- func (c *Client) UpdatePendingSection(ctx context.Context, eventId EventID, sectionId SectionID, ...) (*http.Response, error)
- func (c *Client) UpdatePendingSectionWithApplicationWildcardPlusJSONBody(ctx context.Context, eventId EventID, sectionId SectionID, ...) (*http.Response, error)
- func (c *Client) UpdatePendingSectionWithBody(ctx context.Context, eventId EventID, sectionId SectionID, contentType string, ...) (*http.Response, error)
- func (c *Client) UpdateReview(ctx context.Context, eventId EventID, body UpdateReviewJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) UpdateReviewWithApplicationWildcardPlusJSONBody(ctx context.Context, eventId EventID, ...) (*http.Response, error)
- func (c *Client) UpdateReviewWithBody(ctx context.Context, eventId EventID, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) UploadWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) ValidatePendingEvent(ctx context.Context, eventId EventID, reqEditors ...RequestEditorFn) (*http.Response, error)
- type ClientInterface
- type ClientOption
- type ClientWithResponses
- func (c *ClientWithResponses) AddEntireUnpairedRoundWithResponse(ctx context.Context, eventId EventID, sectionId SectionID, ...) (*AddEntireUnpairedRoundResponse, error)
- func (c *ClientWithResponses) AddOfficialWithApplicationWildcardPlusJSONBodyWithResponse(ctx context.Context, eventId EventID, ...) (*AddOfficialResponse, error)
- func (c *ClientWithResponses) AddOfficialWithBodyWithResponse(ctx context.Context, eventId EventID, contentType string, body io.Reader, ...) (*AddOfficialResponse, error)
- func (c *ClientWithResponses) AddOfficialWithResponse(ctx context.Context, eventId EventID, body AddOfficialJSONRequestBody, ...) (*AddOfficialResponse, error)
- func (c *ClientWithResponses) CreatePendingEventWithApplicationWildcardPlusJSONBodyWithResponse(ctx context.Context, ...) (*CreatePendingEventResponse, error)
- func (c *ClientWithResponses) CreatePendingEventWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*CreatePendingEventResponse, error)
- func (c *ClientWithResponses) CreatePendingEventWithResponse(ctx context.Context, body CreatePendingEventJSONRequestBody, ...) (*CreatePendingEventResponse, error)
- func (c *ClientWithResponses) CreatePendingGameWithApplicationWildcardPlusJSONBodyWithResponse(ctx context.Context, pendingEventId EventID, pendingSectionId SectionID, ...) (*CreatePendingGameResponse, error)
- func (c *ClientWithResponses) CreatePendingGameWithBodyWithResponse(ctx context.Context, pendingEventId EventID, pendingSectionId SectionID, ...) (*CreatePendingGameResponse, error)
- func (c *ClientWithResponses) CreatePendingGameWithResponse(ctx context.Context, pendingEventId EventID, pendingSectionId SectionID, ...) (*CreatePendingGameResponse, error)
- func (c *ClientWithResponses) CreatePendingPlayerWithApplicationWildcardPlusJSONBodyWithResponse(ctx context.Context, pendingEventId EventID, sectionId SectionID, ...) (*CreatePendingPlayerResponse, error)
- func (c *ClientWithResponses) CreatePendingPlayerWithBodyWithResponse(ctx context.Context, pendingEventId EventID, sectionId SectionID, ...) (*CreatePendingPlayerResponse, error)
- func (c *ClientWithResponses) CreatePendingPlayerWithResponse(ctx context.Context, pendingEventId EventID, sectionId SectionID, ...) (*CreatePendingPlayerResponse, error)
- func (c *ClientWithResponses) CreatePendingSectionWithApplicationWildcardPlusJSONBodyWithResponse(ctx context.Context, eventId EventID, ...) (*CreatePendingSectionResponse, error)
- func (c *ClientWithResponses) CreatePendingSectionWithBodyWithResponse(ctx context.Context, eventId EventID, contentType string, body io.Reader, ...) (*CreatePendingSectionResponse, error)
- func (c *ClientWithResponses) CreatePendingSectionWithResponse(ctx context.Context, eventId EventID, body CreatePendingSectionJSONRequestBody, ...) (*CreatePendingSectionResponse, error)
- func (c *ClientWithResponses) CreateUnplayedRoundWithApplicationWildcardPlusJSONBodyWithResponse(ctx context.Context, eventId EventID, sectionId SectionID, ...) (*CreateUnplayedRoundResponse, error)
- func (c *ClientWithResponses) CreateUnplayedRoundWithBodyWithResponse(ctx context.Context, eventId EventID, sectionId SectionID, contentType string, ...) (*CreateUnplayedRoundResponse, error)
- func (c *ClientWithResponses) CreateUnplayedRoundWithResponse(ctx context.Context, eventId EventID, sectionId SectionID, ...) (*CreateUnplayedRoundResponse, error)
- func (c *ClientWithResponses) DeleteEntirePendingRoundWithResponse(ctx context.Context, eventId EventID, sectionId SectionID, roundNumber int32, ...) (*DeleteEntirePendingRoundResponse, error)
- func (c *ClientWithResponses) DeleteOfficialWithResponse(ctx context.Context, eventId EventID, officialId string, ...) (*DeleteOfficialResponse, error)
- func (c *ClientWithResponses) DeletePendingEventWithResponse(ctx context.Context, eventId EventID, reqEditors ...RequestEditorFn) (*DeletePendingEventResponse, error)
- func (c *ClientWithResponses) DeletePendingGameWithResponse(ctx context.Context, pendingEventId EventID, pendingSectionId SectionID, ...) (*DeletePendingGameResponse, error)
- func (c *ClientWithResponses) DeletePendingPlayerWithResponse(ctx context.Context, pendingEventId EventID, sectionId SectionID, ...) (*DeletePendingPlayerResponse, error)
- func (c *ClientWithResponses) DeletePendingSectionWithResponse(ctx context.Context, eventId EventID, sectionId SectionID, ...) (*DeletePendingSectionResponse, error)
- func (c *ClientWithResponses) DeleteUnplayedRoundWithResponse(ctx context.Context, eventId EventID, sectionId SectionID, roundNumber int32, ...) (*DeleteUnplayedRoundResponse, error)
- func (c *ClientWithResponses) GetAffiliateRatedEventsWithResponse(ctx context.Context, affiliateId AffiliateID, ...) (*GetAffiliateRatedEventsResponse, error)
- func (c *ClientWithResponses) GetAffiliateWithResponse(ctx context.Context, affiliateId AffiliateID, reqEditors ...RequestEditorFn) (*GetAffiliateResponse, error)
- func (c *ClientWithResponses) GetAffiliatesPageWithResponse(ctx context.Context, params *GetAffiliatesPageParams, ...) (*GetAffiliatesPageResponse, error)
- func (c *ClientWithResponses) GetAllAffiliateRatedEvents(ctx context.Context, affiliateID AffiliateID, ...) ([]RatedEvent, error)
- func (c *ClientWithResponses) GetAllAffiliates(ctx context.Context, pageParams *GetAffiliatesPageParams, ...) ([]Affiliate, error)
- func (c *ClientWithResponses) GetAllMemberAwards(ctx context.Context, memberID MemberID, reqEditors ...RequestEditorFn) ([]MemberAward, error)
- func (c *ClientWithResponses) GetAllMemberDirectorships(ctx context.Context, memberID MemberID, reqEditors ...RequestEditorFn) ([]MemberDirectorship, error)
- func (c *ClientWithResponses) GetAllMemberEvents(ctx context.Context, memberID MemberID, reqEditors ...RequestEditorFn) ([]RatedEvent, error)
- func (c *ClientWithResponses) GetAllMemberRatedGames(ctx context.Context, memberID MemberID, pageParams *GetMemberRatedGamesParams, ...) ([]MemberRatedGame, error)
- func (c *ClientWithResponses) GetAllMemberRatedSections(ctx context.Context, memberID MemberID, ...) ([]MemberRatedSection, error)
- func (c *ClientWithResponses) GetAllPendingPlayers(ctx context.Context, pendingEventID EventID, sectionID SectionID, ...) ([]PendingPlayer, error)
- func (c *ClientWithResponses) GetAllRatedEventStandings(ctx context.Context, eventID EventID, sectionNumber int32, ...) ([]Standings, error)
- func (c *ClientWithResponses) GetAllRatedEvents(ctx context.Context, pageParams *GetRatedEventsPageParams, ...) ([]RatedEvent, error)
- func (c *ClientWithResponses) GetAllRatingSupplements(ctx context.Context, memberID MemberID, reqEditors ...RequestEditorFn) ([]RatingSupplement, error)
- func (c *ClientWithResponses) GetAllTopPlayersReportsForMember(ctx context.Context, memberID MemberID, reqEditors ...RequestEditorFn) ([]TopPlayerReport, error)
- func (c *ClientWithResponses) GetGrandPrixSectionsWithResponse(ctx context.Context, year int32, params *GetGrandPrixSectionsParams, ...) (*GetGrandPrixSectionsResponse, error)
- func (c *ClientWithResponses) GetGrandPrixStandingsWithResponse(ctx context.Context, params *GetGrandPrixStandingsParams, ...) (*GetGrandPrixStandingsResponse, error)
- func (c *ClientWithResponses) GetMaxRanksWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetMaxRanksResponse, error)
- func (c *ClientWithResponses) GetMemberAwardsPageWithResponse(ctx context.Context, memberId MemberID, params *GetMemberAwardsPageParams, ...) (*GetMemberAwardsPageResponse, error)
- func (c *ClientWithResponses) GetMemberDirectorshipsPageWithResponse(ctx context.Context, memberId MemberID, ...) (*GetMemberDirectorshipsPageResponse, error)
- func (c *ClientWithResponses) GetMemberRatedEventsPageWithResponse(ctx context.Context, memberId MemberID, params *GetMemberRatedEventsPageParams, ...) (*GetMemberRatedEventsPageResponse, error)
- func (c *ClientWithResponses) GetMemberRatedGamesWithResponse(ctx context.Context, memberId MemberID, params *GetMemberRatedGamesParams, ...) (*GetMemberRatedGamesResponse, error)
- func (c *ClientWithResponses) GetMemberRatedSectionsPageWithResponse(ctx context.Context, memberId MemberID, ...) (*GetMemberRatedSectionsPageResponse, error)
- func (c *ClientWithResponses) GetMemberWithResponse(ctx context.Context, memberId MemberID, reqEditors ...RequestEditorFn) (*GetMemberResponse, error)
- func (c *ClientWithResponses) GetMembersPageWithResponse(ctx context.Context, params *GetMembersPageParams, ...) (*GetMembersPageResponse, error)
- func (c *ClientWithResponses) GetNormsWithResponse(ctx context.Context, memberId MemberID, reqEditors ...RequestEditorFn) (*GetNormsResponse, error)
- func (c *ClientWithResponses) GetOfficialWithResponse(ctx context.Context, eventId EventID, officialId string, ...) (*GetOfficialResponse, error)
- func (c *ClientWithResponses) GetPendingEventBySectionIdWithResponse(ctx context.Context, sectionId SectionID, reqEditors ...RequestEditorFn) (*GetPendingEventBySectionIdResponse, error)
- func (c *ClientWithResponses) GetPendingEventWithResponse(ctx context.Context, eventId EventID, reqEditors ...RequestEditorFn) (*GetPendingEventResponse, error)
- func (c *ClientWithResponses) GetPendingEventsPageWithResponse(ctx context.Context, params *GetPendingEventsPageParams, ...) (*GetPendingEventsPageResponse, error)
- func (c *ClientWithResponses) GetPendingGameWithResponse(ctx context.Context, pendingEventId EventID, pendingSectionId SectionID, ...) (*GetPendingGameResponse, error)
- func (c *ClientWithResponses) GetPendingPlayerWithResponse(ctx context.Context, pendingEventId EventID, sectionId SectionID, ...) (*GetPendingPlayerResponse, error)
- func (c *ClientWithResponses) GetPendingSectionWithResponse(ctx context.Context, eventId EventID, sectionId SectionID, ...) (*GetPendingSectionResponse, error)
- func (c *ClientWithResponses) GetPlayer(ctx context.Context, memberID MemberID, opts *GetPlayerOptions, ...) (*Player, error)
- func (c *ClientWithResponses) GetPromoCodeByDiscountCodeWithResponse(ctx context.Context, discountCode string, reqEditors ...RequestEditorFn) (*GetPromoCodeByDiscountCodeResponse, error)
- func (c *ClientWithResponses) GetPromoCodeWithResponse(ctx context.Context, promoCodeId string, reqEditors ...RequestEditorFn) (*GetPromoCodeResponse, error)
- func (c *ClientWithResponses) GetPromoCodesPageWithResponse(ctx context.Context, params *GetPromoCodesPageParams, ...) (*GetPromoCodesPageResponse, error)
- func (c *ClientWithResponses) GetRatedEventSectionDetailWithResponse(ctx context.Context, eventId EventID, sectionNumber int32, ...) (*GetRatedEventSectionDetailResponse, error)
- func (c *ClientWithResponses) GetRatedEventStandingsPageWithResponse(ctx context.Context, eventId EventID, sectionNumber int32, ...) (*GetRatedEventStandingsPageResponse, error)
- func (c *ClientWithResponses) GetRatedEventWithResponse(ctx context.Context, eventId EventID, reqEditors ...RequestEditorFn) (*GetRatedEventResponse, error)
- func (c *ClientWithResponses) GetRatedEventsPageWithResponse(ctx context.Context, params *GetRatedEventsPageParams, ...) (*GetRatedEventsPageResponse, error)
- func (c *ClientWithResponses) GetRatedSectionsPageWithResponse(ctx context.Context, params *GetRatedSectionsPageParams, ...) (*GetRatedSectionsPageResponse, error)
- func (client *ClientWithResponses) GetRatingEstimate(ctx context.Context, playerID MemberID, opponentIDs []MemberID, score float64, ...) (RatingRecord, error)
- func (c *ClientWithResponses) GetRatingSupplementsPageWithResponse(ctx context.Context, memberId MemberID, params *GetRatingSupplementsPageParams, ...) (*GetRatingSupplementsPageResponse, error)
- func (c *ClientWithResponses) GetReportDefinitionsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetReportDefinitionsResponse, error)
- func (c *ClientWithResponses) GetReportWithResponse(ctx context.Context, definitionId string, params *GetReportParams, ...) (*GetReportResponse, error)
- func (c *ClientWithResponses) GetTopPlayersReportForMemberWithResponse(ctx context.Context, memberId MemberID, ...) (*GetTopPlayersReportForMemberResponse, error)
- func (c *ClientWithResponses) GetTournament(ctx context.Context, eventID EventID, reqEditors ...RequestEditorFn) (*Tournament, error)
- func (c *ClientWithResponses) GetUnofficialRankLookupWithResponse(ctx context.Context, ratingSource RatingType, ...) (*GetUnofficialRankLookupResponse, error)
- func (c *ClientWithResponses) ListAllPendingGamesWithResponse(ctx context.Context, eventId EventID, reqEditors ...RequestEditorFn) (*ListAllPendingGamesResponse, error)
- func (c *ClientWithResponses) ListAllPendingPlayersWithResponse(ctx context.Context, eventId EventID, reqEditors ...RequestEditorFn) (*ListAllPendingPlayersResponse, error)
- func (c *ClientWithResponses) ListPendingEventOfficialsWithResponse(ctx context.Context, eventId EventID, reqEditors ...RequestEditorFn) (*ListPendingEventOfficialsResponse, error)
- func (c *ClientWithResponses) ListPendingGamesWithResponse(ctx context.Context, pendingEventId EventID, pendingSectionId SectionID, ...) (*ListPendingGamesResponse, error)
- func (c *ClientWithResponses) ListPendingPlayersWithResponse(ctx context.Context, pendingEventId EventID, sectionId SectionID, ...) (*ListPendingPlayersResponse, error)
- func (c *ClientWithResponses) ListPendingSectionsWithResponse(ctx context.Context, eventId EventID, reqEditors ...RequestEditorFn) (*ListPendingSectionsResponse, error)
- func (c *ClientWithResponses) ListRatedEventOfficialsWithResponse(ctx context.Context, eventId EventID, reqEditors ...RequestEditorFn) (*ListRatedEventOfficialsResponse, error)
- func (c *ClientWithResponses) ListRoundUnpairedPlayersWithResponse(ctx context.Context, eventId EventID, sectionId SectionID, roundNumber int32, ...) (*ListRoundUnpairedPlayersResponse, error)
- func (c *ClientWithResponses) ListUnplayedRoundsWithResponse(ctx context.Context, eventId EventID, sectionId SectionID, ...) (*ListUnplayedRoundsResponse, error)
- func (c *ClientWithResponses) ReleaseForReviewWithApplicationWildcardPlusJSONBodyWithResponse(ctx context.Context, eventId EventID, ...) (*ReleaseForReviewResponse, error)
- func (c *ClientWithResponses) ReleaseForReviewWithBodyWithResponse(ctx context.Context, eventId EventID, contentType string, body io.Reader, ...) (*ReleaseForReviewResponse, error)
- func (c *ClientWithResponses) ReleaseForReviewWithResponse(ctx context.Context, eventId EventID, body ReleaseForReviewJSONRequestBody, ...) (*ReleaseForReviewResponse, error)
- func (c *ClientWithResponses) StartTopPlayerReportJobWithApplicationWildcardPlusJSONBodyWithResponse(ctx context.Context, ...) (*StartTopPlayerReportJobResponse, error)
- func (c *ClientWithResponses) StartTopPlayerReportJobWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*StartTopPlayerReportJobResponse, error)
- func (c *ClientWithResponses) StartTopPlayerReportJobWithResponse(ctx context.Context, body StartTopPlayerReportJobJSONRequestBody, ...) (*StartTopPlayerReportJobResponse, error)
- func (c *ClientWithResponses) UpdateComplianceWithApplicationWildcardPlusJSONBodyWithResponse(ctx context.Context, eventId EventID, ...) (*UpdateComplianceResponse, error)
- func (c *ClientWithResponses) UpdateComplianceWithBodyWithResponse(ctx context.Context, eventId EventID, contentType string, body io.Reader, ...) (*UpdateComplianceResponse, error)
- func (c *ClientWithResponses) UpdateComplianceWithResponse(ctx context.Context, eventId EventID, body UpdateComplianceJSONRequestBody, ...) (*UpdateComplianceResponse, error)
- func (c *ClientWithResponses) UpdateOfficialWithApplicationWildcardPlusJSONBodyWithResponse(ctx context.Context, eventId EventID, officialId string, ...) (*UpdateOfficialResponse, error)
- func (c *ClientWithResponses) UpdateOfficialWithBodyWithResponse(ctx context.Context, eventId EventID, officialId string, contentType string, ...) (*UpdateOfficialResponse, error)
- func (c *ClientWithResponses) UpdateOfficialWithResponse(ctx context.Context, eventId EventID, officialId string, ...) (*UpdateOfficialResponse, error)
- func (c *ClientWithResponses) UpdatePendingEventWithApplicationWildcardPlusJSONBodyWithResponse(ctx context.Context, eventId EventID, ...) (*UpdatePendingEventResponse, error)
- func (c *ClientWithResponses) UpdatePendingEventWithBodyWithResponse(ctx context.Context, eventId EventID, contentType string, body io.Reader, ...) (*UpdatePendingEventResponse, error)
- func (c *ClientWithResponses) UpdatePendingEventWithResponse(ctx context.Context, eventId EventID, body UpdatePendingEventJSONRequestBody, ...) (*UpdatePendingEventResponse, error)
- func (c *ClientWithResponses) UpdatePendingGameWithApplicationWildcardPlusJSONBodyWithResponse(ctx context.Context, pendingEventId EventID, pendingSectionId SectionID, ...) (*UpdatePendingGameResponse, error)
- func (c *ClientWithResponses) UpdatePendingGameWithBodyWithResponse(ctx context.Context, pendingEventId EventID, pendingSectionId SectionID, ...) (*UpdatePendingGameResponse, error)
- func (c *ClientWithResponses) UpdatePendingGameWithResponse(ctx context.Context, pendingEventId EventID, pendingSectionId SectionID, ...) (*UpdatePendingGameResponse, error)
- func (c *ClientWithResponses) UpdatePendingPlayerWithApplicationWildcardPlusJSONBodyWithResponse(ctx context.Context, pendingEventId EventID, sectionId SectionID, ...) (*UpdatePendingPlayerResponse, error)
- func (c *ClientWithResponses) UpdatePendingPlayerWithBodyWithResponse(ctx context.Context, pendingEventId EventID, sectionId SectionID, ...) (*UpdatePendingPlayerResponse, error)
- func (c *ClientWithResponses) UpdatePendingPlayerWithResponse(ctx context.Context, pendingEventId EventID, sectionId SectionID, ...) (*UpdatePendingPlayerResponse, error)
- func (c *ClientWithResponses) UpdatePendingSectionWithApplicationWildcardPlusJSONBodyWithResponse(ctx context.Context, eventId EventID, sectionId SectionID, ...) (*UpdatePendingSectionResponse, error)
- func (c *ClientWithResponses) UpdatePendingSectionWithBodyWithResponse(ctx context.Context, eventId EventID, sectionId SectionID, contentType string, ...) (*UpdatePendingSectionResponse, error)
- func (c *ClientWithResponses) UpdatePendingSectionWithResponse(ctx context.Context, eventId EventID, sectionId SectionID, ...) (*UpdatePendingSectionResponse, error)
- func (c *ClientWithResponses) UpdateReviewWithApplicationWildcardPlusJSONBodyWithResponse(ctx context.Context, eventId EventID, ...) (*UpdateReviewResponse, error)
- func (c *ClientWithResponses) UpdateReviewWithBodyWithResponse(ctx context.Context, eventId EventID, contentType string, body io.Reader, ...) (*UpdateReviewResponse, error)
- func (c *ClientWithResponses) UpdateReviewWithResponse(ctx context.Context, eventId EventID, body UpdateReviewJSONRequestBody, ...) (*UpdateReviewResponse, error)
- func (c *ClientWithResponses) UploadWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*UploadResponse, error)
- func (c *ClientWithResponses) ValidatePendingEventWithResponse(ctx context.Context, eventId EventID, reqEditors ...RequestEditorFn) (*ValidatePendingEventResponse, error)
- type ClientWithResponsesInterface
- type CreatePendingEventApplicationWildcardPlusJSONBody
- type CreatePendingEventApplicationWildcardPlusJSONRequestBody
- type CreatePendingEventJSONBody
- type CreatePendingEventJSONRequestBody
- type CreatePendingEventResponse
- type CreatePendingGameApplicationWildcardPlusJSONBody
- type CreatePendingGameApplicationWildcardPlusJSONRequestBody
- type CreatePendingGameJSONBody
- type CreatePendingGameJSONRequestBody
- type CreatePendingGameResponse
- type CreatePendingPlayerApplicationWildcardPlusJSONBody
- type CreatePendingPlayerApplicationWildcardPlusJSONRequestBody
- type CreatePendingPlayerJSONBody
- type CreatePendingPlayerJSONRequestBody
- type CreatePendingPlayerResponse
- type CreatePendingSectionApplicationWildcardPlusJSONBody
- type CreatePendingSectionApplicationWildcardPlusJSONRequestBody
- type CreatePendingSectionJSONBody
- type CreatePendingSectionJSONRequestBody
- type CreatePendingSectionResponse
- type CreateUnplayedRoundApplicationWildcardPlusJSONBody
- type CreateUnplayedRoundApplicationWildcardPlusJSONRequestBody
- type CreateUnplayedRoundJSONBody
- type CreateUnplayedRoundJSONRequestBody
- type CreateUnplayedRoundResponse
- type DeleteEntirePendingRoundResponse
- type DeleteOfficialResponse
- type DeletePendingEventResponse
- type DeletePendingGameResponse
- type DeletePendingPlayerResponse
- type DeletePendingSectionResponse
- type DeleteUnplayedRoundParams
- type DeleteUnplayedRoundResponse
- type DiscountType
- type DomesticStatus
- type EventCompliance
- type EventID
- type EventReviewStatus
- type EventStatus
- type EventValidationStatus
- type ExemptionStatus
- type FIDEID
- type FieldWithValidation
- type Gender
- type GetAffiliateRatedEventsParams
- type GetAffiliateRatedEventsResponse
- type GetAffiliateResponse
- type GetAffiliatesPageParams
- type GetAffiliatesPageResponse
- type GetGrandPrixSectionsParams
- type GetGrandPrixSectionsResponse
- type GetGrandPrixStandingsParams
- type GetGrandPrixStandingsResponse
- type GetMaxRanksResponse
- type GetMemberAwardsPageParams
- type GetMemberAwardsPageResponse
- type GetMemberDirectorshipsPageParams
- type GetMemberDirectorshipsPageResponse
- type GetMemberRatedEventsPageParams
- type GetMemberRatedEventsPageResponse
- type GetMemberRatedGamesParams
- type GetMemberRatedGamesResponse
- type GetMemberRatedSectionsPageParams
- type GetMemberRatedSectionsPageResponse
- type GetMemberResponse
- type GetMembersPageParams
- type GetMembersPageResponse
- type GetNormsResponse
- type GetOfficialResponse
- type GetPendingEventBySectionIdResponse
- type GetPendingEventResponse
- type GetPendingEventsPageParams
- type GetPendingEventsPageResponse
- type GetPendingGameResponse
- type GetPendingPlayerResponse
- type GetPendingSectionResponse
- type GetPlayerOptions
- type GetPromoCodeByDiscountCodeResponse
- type GetPromoCodeResponse
- type GetPromoCodesPageParams
- type GetPromoCodesPageResponse
- type GetRatedEventResponse
- type GetRatedEventSectionDetailResponse
- type GetRatedEventStandingsPageParams
- type GetRatedEventStandingsPageResponse
- type GetRatedEventsPageParams
- type GetRatedEventsPageResponse
- type GetRatedSectionsPageParams
- type GetRatedSectionsPageResponse
- type GetRatingSupplementsPageParams
- type GetRatingSupplementsPageResponse
- type GetReportDefinitionsResponse
- type GetReportParams
- type GetReportResponse
- type GetTopPlayersReportForMemberParams
- type GetTopPlayersReportForMemberResponse
- type GetUnofficialRankLookupParams
- type GetUnofficialRankLookupResponse
- type GrandPrixPlayer
- type GrandPrixPlayerPage
- type GrandPrixSection
- type GrandPrixSectionPage
- type GrandPrixSectionSortBy
- type GrandPrixStandingSortBy
- type GrandPrixWinner
- type HttpRequestDoer
- type Link
- type ListAllPendingGamesResponse
- type ListAllPendingPlayersResponse
- type ListPendingEventOfficialsResponse
- type ListPendingGamesResponse
- type ListPendingPlayersParams
- type ListPendingPlayersResponse
- type ListPendingSectionsResponse
- type ListRatedEventOfficialsResponse
- type ListRoundUnpairedPlayersParams
- type ListRoundUnpairedPlayersResponse
- type ListUnplayedRoundsParams
- type ListUnplayedRoundsResponse
- type MaxRank
- type Member
- type MemberAward
- type MemberAwardPage
- type MemberDetail
- type MemberDetailPage
- type MemberDirectorship
- type MemberDirectorshipPage
- type MemberID
- type MemberOpponentGamePlayer
- type MemberPlayerGamePlayer
- type MemberRatedGame
- type MemberRatedGamePage
- type MemberRatedSection
- type MemberRatedSectionPage
- type MemberRating
- type MemberSortBy
- type MemberStatus
- type MemberStatusFilter
- type MinimalAffiliate
- type MinimalRatedEvent
- type MinimalRatingRecord
- type MinimalSection
- type Norm
- type NormItemsEnvelope
- type NormLevel
- type NormPostType
- type NormStatus
- type Office
- type OfficeType
- type Official
- type OfficialCreate
- type OfficialUpdate
- type OfficialValidation
- type ParticipantCoding
- type PendingEvent
- type PendingEventCreate
- type PendingEventDetail
- type PendingEventPage
- type PendingEventSortBy
- type PendingEventUpdate
- type PendingEventValidationLevel
- type PendingEventValidationResult
- type PendingGame
- type PendingGameCreate
- type PendingGamePlayer
- type PendingGamePlayerUpdate
- type PendingGamePlayerValidation
- type PendingGameUpdate
- type PendingGameValidation
- type PendingPlayer
- type PendingPlayerCreate
- type PendingPlayerPage
- type PendingPlayerSortBy
- type PendingPlayerUpdate
- type PendingPlayerValidation
- type PendingSectionCreate
- type PendingSectionDetail
- type PendingSectionUpdate
- type PendingSectionValidation
- type Player
- type PlayerGameOutcome
- type PlayerOutcome
- type ProblemDetails
- type PromoCode
- type PromoCodePage
- type RatedEvent
- type RatedEventDetail
- type RatedEventPage
- type RatedEventSortBy
- type RatedSection
- type RatedSectionPage
- type RatingRecord
- type RatingSupplement
- type RatingSupplementPage
- type RatingSupplementSystem
- type RatingType
- type RatingValidationErrorLevel
- type ReleaseForReviewApplicationWildcardPlusJSONBody
- type ReleaseForReviewApplicationWildcardPlusJSONRequestBody
- type ReleaseForReviewJSONBody
- type ReleaseForReviewJSONRequestBody
- type ReleaseForReviewResponse
- type RequestEditorFn
- type ReviewCreate
- type ReviewUpdate
- type SectionDetail
- type SectionFormat
- type SectionFormatUpdate
- type SectionID
- type SectionRatingType
- type SortDirection
- type Standings
- type StandingsOneSection
- type StandingsPage
- type StandingsRound
- type StartTopPlayerReportJobApplicationWildcardPlusJSONBody
- type StartTopPlayerReportJobApplicationWildcardPlusJSONRequestBody
- type StartTopPlayerReportJobJSONBody
- type StartTopPlayerReportJobJSONRequestBody
- type StartTopPlayerReportJobResponse
- type TopPlayer
- type TopPlayerReport
- type TopPlayerReportDefinition
- type TopPlayerReportDefinitionItemsEnvelope
- type TopPlayerReportOptions
- type TopPlayerReportPage
- type Tournament
- type TournamentDirectorCertStatus
- type TournamentDirectorLevel
- type UnofficialRankLookup
- type UnpairedType
- type UnplayedRound
- type UnplayedRoundCreate
- type UpdateComplianceApplicationWildcardPlusJSONBody
- type UpdateComplianceApplicationWildcardPlusJSONRequestBody
- type UpdateComplianceJSONBody
- type UpdateComplianceJSONRequestBody
- type UpdateComplianceResponse
- type UpdateOfficialApplicationWildcardPlusJSONBody
- type UpdateOfficialApplicationWildcardPlusJSONRequestBody
- type UpdateOfficialJSONBody
- type UpdateOfficialJSONRequestBody
- type UpdateOfficialResponse
- type UpdatePendingEventApplicationWildcardPlusJSONBody
- type UpdatePendingEventApplicationWildcardPlusJSONRequestBody
- type UpdatePendingEventJSONBody
- type UpdatePendingEventJSONRequestBody
- type UpdatePendingEventResponse
- type UpdatePendingGameApplicationWildcardPlusJSONBody
- type UpdatePendingGameApplicationWildcardPlusJSONRequestBody
- type UpdatePendingGameJSONBody
- type UpdatePendingGameJSONRequestBody
- type UpdatePendingGameResponse
- type UpdatePendingPlayerApplicationWildcardPlusJSONBody
- type UpdatePendingPlayerApplicationWildcardPlusJSONRequestBody
- type UpdatePendingPlayerJSONBody
- type UpdatePendingPlayerJSONRequestBody
- type UpdatePendingPlayerResponse
- type UpdatePendingSectionApplicationWildcardPlusJSONBody
- type UpdatePendingSectionApplicationWildcardPlusJSONRequestBody
- type UpdatePendingSectionJSONBody
- type UpdatePendingSectionJSONRequestBody
- type UpdatePendingSectionResponse
- type UpdateReviewApplicationWildcardPlusJSONBody
- type UpdateReviewApplicationWildcardPlusJSONRequestBody
- type UpdateReviewJSONBody
- type UpdateReviewJSONRequestBody
- type UpdateReviewResponse
- type UploadMultipartBody
- type UploadMultipartRequestBody
- type UploadResponse
- type ValidatePendingEventResponse
- type ValidationFilter
- type ValidationInfo
Constants ¶
const (
ApiKeyScopes apiKeyContextKey = "ApiKey.Scopes"
)
Variables ¶
This section is empty.
Functions ¶
func KFactor ¶
KFactor computes K for the standard rating formula (Section 4.2).
If dualRatedOTBR is true, then the OTBR dual-rated K adjustment for players >2200 is applied.
func NewAddEntireUnpairedRoundRequest ¶
func NewAddEntireUnpairedRoundRequest(server string, eventId EventID, sectionId SectionID) (*http.Request, error)
NewAddEntireUnpairedRoundRequest generates requests for AddEntireUnpairedRound
func NewAddOfficialRequest ¶
func NewAddOfficialRequest(server string, eventId EventID, body AddOfficialJSONRequestBody) (*http.Request, error)
NewAddOfficialRequest calls the generic AddOfficial builder with application/json body
func NewAddOfficialRequestWithApplicationWildcardPlusJSONBody ¶
func NewAddOfficialRequestWithApplicationWildcardPlusJSONBody(server string, eventId EventID, body AddOfficialApplicationWildcardPlusJSONRequestBody) (*http.Request, error)
NewAddOfficialRequestWithApplicationWildcardPlusJSONBody calls the generic AddOfficial builder with application/*+json body
func NewAddOfficialRequestWithBody ¶
func NewAddOfficialRequestWithBody(server string, eventId EventID, contentType string, body io.Reader) (*http.Request, error)
NewAddOfficialRequestWithBody generates requests for AddOfficial with any type of body
func NewCreatePendingEventRequest ¶
func NewCreatePendingEventRequest(server string, body CreatePendingEventJSONRequestBody) (*http.Request, error)
NewCreatePendingEventRequest calls the generic CreatePendingEvent builder with application/json body
func NewCreatePendingEventRequestWithApplicationWildcardPlusJSONBody ¶
func NewCreatePendingEventRequestWithApplicationWildcardPlusJSONBody(server string, body CreatePendingEventApplicationWildcardPlusJSONRequestBody) (*http.Request, error)
NewCreatePendingEventRequestWithApplicationWildcardPlusJSONBody calls the generic CreatePendingEvent builder with application/*+json body
func NewCreatePendingEventRequestWithBody ¶
func NewCreatePendingEventRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewCreatePendingEventRequestWithBody generates requests for CreatePendingEvent with any type of body
func NewCreatePendingGameRequest ¶
func NewCreatePendingGameRequest(server string, pendingEventId EventID, pendingSectionId SectionID, body CreatePendingGameJSONRequestBody) (*http.Request, error)
NewCreatePendingGameRequest calls the generic CreatePendingGame builder with application/json body
func NewCreatePendingGameRequestWithApplicationWildcardPlusJSONBody ¶
func NewCreatePendingGameRequestWithApplicationWildcardPlusJSONBody(server string, pendingEventId EventID, pendingSectionId SectionID, body CreatePendingGameApplicationWildcardPlusJSONRequestBody) (*http.Request, error)
NewCreatePendingGameRequestWithApplicationWildcardPlusJSONBody calls the generic CreatePendingGame builder with application/*+json body
func NewCreatePendingGameRequestWithBody ¶
func NewCreatePendingGameRequestWithBody(server string, pendingEventId EventID, pendingSectionId SectionID, contentType string, body io.Reader) (*http.Request, error)
NewCreatePendingGameRequestWithBody generates requests for CreatePendingGame with any type of body
func NewCreatePendingPlayerRequest ¶
func NewCreatePendingPlayerRequest(server string, pendingEventId EventID, sectionId SectionID, body CreatePendingPlayerJSONRequestBody) (*http.Request, error)
NewCreatePendingPlayerRequest calls the generic CreatePendingPlayer builder with application/json body
func NewCreatePendingPlayerRequestWithApplicationWildcardPlusJSONBody ¶
func NewCreatePendingPlayerRequestWithApplicationWildcardPlusJSONBody(server string, pendingEventId EventID, sectionId SectionID, body CreatePendingPlayerApplicationWildcardPlusJSONRequestBody) (*http.Request, error)
NewCreatePendingPlayerRequestWithApplicationWildcardPlusJSONBody calls the generic CreatePendingPlayer builder with application/*+json body
func NewCreatePendingPlayerRequestWithBody ¶
func NewCreatePendingPlayerRequestWithBody(server string, pendingEventId EventID, sectionId SectionID, contentType string, body io.Reader) (*http.Request, error)
NewCreatePendingPlayerRequestWithBody generates requests for CreatePendingPlayer with any type of body
func NewCreatePendingSectionRequest ¶
func NewCreatePendingSectionRequest(server string, eventId EventID, body CreatePendingSectionJSONRequestBody) (*http.Request, error)
NewCreatePendingSectionRequest calls the generic CreatePendingSection builder with application/json body
func NewCreatePendingSectionRequestWithApplicationWildcardPlusJSONBody ¶
func NewCreatePendingSectionRequestWithApplicationWildcardPlusJSONBody(server string, eventId EventID, body CreatePendingSectionApplicationWildcardPlusJSONRequestBody) (*http.Request, error)
NewCreatePendingSectionRequestWithApplicationWildcardPlusJSONBody calls the generic CreatePendingSection builder with application/*+json body
func NewCreatePendingSectionRequestWithBody ¶
func NewCreatePendingSectionRequestWithBody(server string, eventId EventID, contentType string, body io.Reader) (*http.Request, error)
NewCreatePendingSectionRequestWithBody generates requests for CreatePendingSection with any type of body
func NewCreateUnplayedRoundRequest ¶
func NewCreateUnplayedRoundRequest(server string, eventId EventID, sectionId SectionID, body CreateUnplayedRoundJSONRequestBody) (*http.Request, error)
NewCreateUnplayedRoundRequest calls the generic CreateUnplayedRound builder with application/json body
func NewCreateUnplayedRoundRequestWithApplicationWildcardPlusJSONBody ¶
func NewCreateUnplayedRoundRequestWithApplicationWildcardPlusJSONBody(server string, eventId EventID, sectionId SectionID, body CreateUnplayedRoundApplicationWildcardPlusJSONRequestBody) (*http.Request, error)
NewCreateUnplayedRoundRequestWithApplicationWildcardPlusJSONBody calls the generic CreateUnplayedRound builder with application/*+json body
func NewCreateUnplayedRoundRequestWithBody ¶
func NewCreateUnplayedRoundRequestWithBody(server string, eventId EventID, sectionId SectionID, contentType string, body io.Reader) (*http.Request, error)
NewCreateUnplayedRoundRequestWithBody generates requests for CreateUnplayedRound with any type of body
func NewDeleteEntirePendingRoundRequest ¶
func NewDeleteEntirePendingRoundRequest(server string, eventId EventID, sectionId SectionID, roundNumber int32) (*http.Request, error)
NewDeleteEntirePendingRoundRequest generates requests for DeleteEntirePendingRound
func NewDeleteOfficialRequest ¶
func NewDeleteOfficialRequest(server string, eventId EventID, officialId string) (*http.Request, error)
NewDeleteOfficialRequest generates requests for DeleteOfficial
func NewDeletePendingEventRequest ¶
NewDeletePendingEventRequest generates requests for DeletePendingEvent
func NewDeletePendingGameRequest ¶
func NewDeletePendingGameRequest(server string, pendingEventId EventID, pendingSectionId SectionID, pendingGameId string) (*http.Request, error)
NewDeletePendingGameRequest generates requests for DeletePendingGame
func NewDeletePendingPlayerRequest ¶
func NewDeletePendingPlayerRequest(server string, pendingEventId EventID, sectionId SectionID, playerId string) (*http.Request, error)
NewDeletePendingPlayerRequest generates requests for DeletePendingPlayer
func NewDeletePendingSectionRequest ¶
func NewDeletePendingSectionRequest(server string, eventId EventID, sectionId SectionID) (*http.Request, error)
NewDeletePendingSectionRequest generates requests for DeletePendingSection
func NewDeleteUnplayedRoundRequest ¶
func NewDeleteUnplayedRoundRequest(server string, eventId EventID, sectionId SectionID, roundNumber int32, params *DeleteUnplayedRoundParams) (*http.Request, error)
NewDeleteUnplayedRoundRequest generates requests for DeleteUnplayedRound
func NewGetAffiliateRatedEventsRequest ¶
func NewGetAffiliateRatedEventsRequest(server string, affiliateId AffiliateID, params *GetAffiliateRatedEventsParams) (*http.Request, error)
NewGetAffiliateRatedEventsRequest generates requests for GetAffiliateRatedEvents
func NewGetAffiliateRequest ¶
func NewGetAffiliateRequest(server string, affiliateId AffiliateID) (*http.Request, error)
NewGetAffiliateRequest generates requests for GetAffiliate
func NewGetAffiliatesPageRequest ¶
func NewGetAffiliatesPageRequest(server string, params *GetAffiliatesPageParams) (*http.Request, error)
NewGetAffiliatesPageRequest generates requests for GetAffiliatesPage
func NewGetGrandPrixSectionsRequest ¶
func NewGetGrandPrixSectionsRequest(server string, year int32, params *GetGrandPrixSectionsParams) (*http.Request, error)
NewGetGrandPrixSectionsRequest generates requests for GetGrandPrixSections
func NewGetGrandPrixStandingsRequest ¶
func NewGetGrandPrixStandingsRequest(server string, params *GetGrandPrixStandingsParams) (*http.Request, error)
NewGetGrandPrixStandingsRequest generates requests for GetGrandPrixStandings
func NewGetMaxRanksRequest ¶
NewGetMaxRanksRequest generates requests for GetMaxRanks
func NewGetMemberAwardsPageRequest ¶
func NewGetMemberAwardsPageRequest(server string, memberId MemberID, params *GetMemberAwardsPageParams) (*http.Request, error)
NewGetMemberAwardsPageRequest generates requests for GetMemberAwardsPage
func NewGetMemberDirectorshipsPageRequest ¶
func NewGetMemberDirectorshipsPageRequest(server string, memberId MemberID, params *GetMemberDirectorshipsPageParams) (*http.Request, error)
NewGetMemberDirectorshipsPageRequest generates requests for GetMemberDirectorshipsPage
func NewGetMemberRatedEventsPageRequest ¶
func NewGetMemberRatedEventsPageRequest(server string, memberId MemberID, params *GetMemberRatedEventsPageParams) (*http.Request, error)
NewGetMemberRatedEventsPageRequest generates requests for GetMemberRatedEventsPage
func NewGetMemberRatedGamesRequest ¶
func NewGetMemberRatedGamesRequest(server string, memberId MemberID, params *GetMemberRatedGamesParams) (*http.Request, error)
NewGetMemberRatedGamesRequest generates requests for GetMemberRatedGames
func NewGetMemberRatedSectionsPageRequest ¶
func NewGetMemberRatedSectionsPageRequest(server string, memberId MemberID, params *GetMemberRatedSectionsPageParams) (*http.Request, error)
NewGetMemberRatedSectionsPageRequest generates requests for GetMemberRatedSectionsPage
func NewGetMemberRequest ¶
NewGetMemberRequest generates requests for GetMember
func NewGetMembersPageRequest ¶
func NewGetMembersPageRequest(server string, params *GetMembersPageParams) (*http.Request, error)
NewGetMembersPageRequest generates requests for GetMembersPage
func NewGetNormsRequest ¶
NewGetNormsRequest generates requests for GetNorms
func NewGetOfficialRequest ¶
func NewGetOfficialRequest(server string, eventId EventID, officialId string) (*http.Request, error)
NewGetOfficialRequest generates requests for GetOfficial
func NewGetPendingEventBySectionIdRequest ¶
func NewGetPendingEventBySectionIdRequest(server string, sectionId SectionID) (*http.Request, error)
NewGetPendingEventBySectionIdRequest generates requests for GetPendingEventBySectionId
func NewGetPendingEventRequest ¶
NewGetPendingEventRequest generates requests for GetPendingEvent
func NewGetPendingEventsPageRequest ¶
func NewGetPendingEventsPageRequest(server string, params *GetPendingEventsPageParams) (*http.Request, error)
NewGetPendingEventsPageRequest generates requests for GetPendingEventsPage
func NewGetPendingGameRequest ¶
func NewGetPendingGameRequest(server string, pendingEventId EventID, pendingSectionId SectionID, pendingGameId string) (*http.Request, error)
NewGetPendingGameRequest generates requests for GetPendingGame
func NewGetPendingPlayerRequest ¶
func NewGetPendingPlayerRequest(server string, pendingEventId EventID, sectionId SectionID, playerId string) (*http.Request, error)
NewGetPendingPlayerRequest generates requests for GetPendingPlayer
func NewGetPendingSectionRequest ¶
func NewGetPendingSectionRequest(server string, eventId EventID, sectionId SectionID) (*http.Request, error)
NewGetPendingSectionRequest generates requests for GetPendingSection
func NewGetPromoCodeByDiscountCodeRequest ¶
func NewGetPromoCodeByDiscountCodeRequest(server string, discountCode string) (*http.Request, error)
NewGetPromoCodeByDiscountCodeRequest generates requests for GetPromoCodeByDiscountCode
func NewGetPromoCodeRequest ¶
NewGetPromoCodeRequest generates requests for GetPromoCode
func NewGetPromoCodesPageRequest ¶
func NewGetPromoCodesPageRequest(server string, params *GetPromoCodesPageParams) (*http.Request, error)
NewGetPromoCodesPageRequest generates requests for GetPromoCodesPage
func NewGetRatedEventRequest ¶
NewGetRatedEventRequest generates requests for GetRatedEvent
func NewGetRatedEventSectionDetailRequest ¶
func NewGetRatedEventSectionDetailRequest(server string, eventId EventID, sectionNumber int32) (*http.Request, error)
NewGetRatedEventSectionDetailRequest generates requests for GetRatedEventSectionDetail
func NewGetRatedEventStandingsPageRequest ¶
func NewGetRatedEventStandingsPageRequest(server string, eventId EventID, sectionNumber int32, params *GetRatedEventStandingsPageParams) (*http.Request, error)
NewGetRatedEventStandingsPageRequest generates requests for GetRatedEventStandingsPage
func NewGetRatedEventsPageRequest ¶
func NewGetRatedEventsPageRequest(server string, params *GetRatedEventsPageParams) (*http.Request, error)
NewGetRatedEventsPageRequest generates requests for GetRatedEventsPage
func NewGetRatedSectionsPageRequest ¶
func NewGetRatedSectionsPageRequest(server string, params *GetRatedSectionsPageParams) (*http.Request, error)
NewGetRatedSectionsPageRequest generates requests for GetRatedSectionsPage
func NewGetRatingSupplementsPageRequest ¶
func NewGetRatingSupplementsPageRequest(server string, memberId MemberID, params *GetRatingSupplementsPageParams) (*http.Request, error)
NewGetRatingSupplementsPageRequest generates requests for GetRatingSupplementsPage
func NewGetReportDefinitionsRequest ¶
NewGetReportDefinitionsRequest generates requests for GetReportDefinitions
func NewGetReportRequest ¶
func NewGetReportRequest(server string, definitionId string, params *GetReportParams) (*http.Request, error)
NewGetReportRequest generates requests for GetReport
func NewGetTopPlayersReportForMemberRequest ¶
func NewGetTopPlayersReportForMemberRequest(server string, memberId MemberID, params *GetTopPlayersReportForMemberParams) (*http.Request, error)
NewGetTopPlayersReportForMemberRequest generates requests for GetTopPlayersReportForMember
func NewGetUnofficialRankLookupRequest ¶
func NewGetUnofficialRankLookupRequest(server string, ratingSource RatingType, params *GetUnofficialRankLookupParams) (*http.Request, error)
NewGetUnofficialRankLookupRequest generates requests for GetUnofficialRankLookup
func NewListAllPendingGamesRequest ¶
NewListAllPendingGamesRequest generates requests for ListAllPendingGames
func NewListAllPendingPlayersRequest ¶
NewListAllPendingPlayersRequest generates requests for ListAllPendingPlayers
func NewListPendingEventOfficialsRequest ¶
NewListPendingEventOfficialsRequest generates requests for ListPendingEventOfficials
func NewListPendingGamesRequest ¶
func NewListPendingGamesRequest(server string, pendingEventId EventID, pendingSectionId SectionID) (*http.Request, error)
NewListPendingGamesRequest generates requests for ListPendingGames
func NewListPendingPlayersRequest ¶
func NewListPendingPlayersRequest(server string, pendingEventId EventID, sectionId SectionID, params *ListPendingPlayersParams) (*http.Request, error)
NewListPendingPlayersRequest generates requests for ListPendingPlayers
func NewListPendingSectionsRequest ¶
NewListPendingSectionsRequest generates requests for ListPendingSections
func NewListRatedEventOfficialsRequest ¶
NewListRatedEventOfficialsRequest generates requests for ListRatedEventOfficials
func NewListRoundUnpairedPlayersRequest ¶
func NewListRoundUnpairedPlayersRequest(server string, eventId EventID, sectionId SectionID, roundNumber int32, params *ListRoundUnpairedPlayersParams) (*http.Request, error)
NewListRoundUnpairedPlayersRequest generates requests for ListRoundUnpairedPlayers
func NewListUnplayedRoundsRequest ¶
func NewListUnplayedRoundsRequest(server string, eventId EventID, sectionId SectionID, params *ListUnplayedRoundsParams) (*http.Request, error)
NewListUnplayedRoundsRequest generates requests for ListUnplayedRounds
func NewReleaseForReviewRequest ¶
func NewReleaseForReviewRequest(server string, eventId EventID, body ReleaseForReviewJSONRequestBody) (*http.Request, error)
NewReleaseForReviewRequest calls the generic ReleaseForReview builder with application/json body
func NewReleaseForReviewRequestWithApplicationWildcardPlusJSONBody ¶
func NewReleaseForReviewRequestWithApplicationWildcardPlusJSONBody(server string, eventId EventID, body ReleaseForReviewApplicationWildcardPlusJSONRequestBody) (*http.Request, error)
NewReleaseForReviewRequestWithApplicationWildcardPlusJSONBody calls the generic ReleaseForReview builder with application/*+json body
func NewReleaseForReviewRequestWithBody ¶
func NewReleaseForReviewRequestWithBody(server string, eventId EventID, contentType string, body io.Reader) (*http.Request, error)
NewReleaseForReviewRequestWithBody generates requests for ReleaseForReview with any type of body
func NewStartTopPlayerReportJobRequest ¶
func NewStartTopPlayerReportJobRequest(server string, body StartTopPlayerReportJobJSONRequestBody) (*http.Request, error)
NewStartTopPlayerReportJobRequest calls the generic StartTopPlayerReportJob builder with application/json body
func NewStartTopPlayerReportJobRequestWithApplicationWildcardPlusJSONBody ¶
func NewStartTopPlayerReportJobRequestWithApplicationWildcardPlusJSONBody(server string, body StartTopPlayerReportJobApplicationWildcardPlusJSONRequestBody) (*http.Request, error)
NewStartTopPlayerReportJobRequestWithApplicationWildcardPlusJSONBody calls the generic StartTopPlayerReportJob builder with application/*+json body
func NewStartTopPlayerReportJobRequestWithBody ¶
func NewStartTopPlayerReportJobRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewStartTopPlayerReportJobRequestWithBody generates requests for StartTopPlayerReportJob with any type of body
func NewUpdateComplianceRequest ¶
func NewUpdateComplianceRequest(server string, eventId EventID, body UpdateComplianceJSONRequestBody) (*http.Request, error)
NewUpdateComplianceRequest calls the generic UpdateCompliance builder with application/json body
func NewUpdateComplianceRequestWithApplicationWildcardPlusJSONBody ¶
func NewUpdateComplianceRequestWithApplicationWildcardPlusJSONBody(server string, eventId EventID, body UpdateComplianceApplicationWildcardPlusJSONRequestBody) (*http.Request, error)
NewUpdateComplianceRequestWithApplicationWildcardPlusJSONBody calls the generic UpdateCompliance builder with application/*+json body
func NewUpdateComplianceRequestWithBody ¶
func NewUpdateComplianceRequestWithBody(server string, eventId EventID, contentType string, body io.Reader) (*http.Request, error)
NewUpdateComplianceRequestWithBody generates requests for UpdateCompliance with any type of body
func NewUpdateOfficialRequest ¶
func NewUpdateOfficialRequest(server string, eventId EventID, officialId string, body UpdateOfficialJSONRequestBody) (*http.Request, error)
NewUpdateOfficialRequest calls the generic UpdateOfficial builder with application/json body
func NewUpdateOfficialRequestWithApplicationWildcardPlusJSONBody ¶
func NewUpdateOfficialRequestWithApplicationWildcardPlusJSONBody(server string, eventId EventID, officialId string, body UpdateOfficialApplicationWildcardPlusJSONRequestBody) (*http.Request, error)
NewUpdateOfficialRequestWithApplicationWildcardPlusJSONBody calls the generic UpdateOfficial builder with application/*+json body
func NewUpdateOfficialRequestWithBody ¶
func NewUpdateOfficialRequestWithBody(server string, eventId EventID, officialId string, contentType string, body io.Reader) (*http.Request, error)
NewUpdateOfficialRequestWithBody generates requests for UpdateOfficial with any type of body
func NewUpdatePendingEventRequest ¶
func NewUpdatePendingEventRequest(server string, eventId EventID, body UpdatePendingEventJSONRequestBody) (*http.Request, error)
NewUpdatePendingEventRequest calls the generic UpdatePendingEvent builder with application/json body
func NewUpdatePendingEventRequestWithApplicationWildcardPlusJSONBody ¶
func NewUpdatePendingEventRequestWithApplicationWildcardPlusJSONBody(server string, eventId EventID, body UpdatePendingEventApplicationWildcardPlusJSONRequestBody) (*http.Request, error)
NewUpdatePendingEventRequestWithApplicationWildcardPlusJSONBody calls the generic UpdatePendingEvent builder with application/*+json body
func NewUpdatePendingEventRequestWithBody ¶
func NewUpdatePendingEventRequestWithBody(server string, eventId EventID, contentType string, body io.Reader) (*http.Request, error)
NewUpdatePendingEventRequestWithBody generates requests for UpdatePendingEvent with any type of body
func NewUpdatePendingGameRequest ¶
func NewUpdatePendingGameRequest(server string, pendingEventId EventID, pendingSectionId SectionID, pendingGameId string, body UpdatePendingGameJSONRequestBody) (*http.Request, error)
NewUpdatePendingGameRequest calls the generic UpdatePendingGame builder with application/json body
func NewUpdatePendingGameRequestWithApplicationWildcardPlusJSONBody ¶
func NewUpdatePendingGameRequestWithApplicationWildcardPlusJSONBody(server string, pendingEventId EventID, pendingSectionId SectionID, pendingGameId string, body UpdatePendingGameApplicationWildcardPlusJSONRequestBody) (*http.Request, error)
NewUpdatePendingGameRequestWithApplicationWildcardPlusJSONBody calls the generic UpdatePendingGame builder with application/*+json body
func NewUpdatePendingGameRequestWithBody ¶
func NewUpdatePendingGameRequestWithBody(server string, pendingEventId EventID, pendingSectionId SectionID, pendingGameId string, contentType string, body io.Reader) (*http.Request, error)
NewUpdatePendingGameRequestWithBody generates requests for UpdatePendingGame with any type of body
func NewUpdatePendingPlayerRequest ¶
func NewUpdatePendingPlayerRequest(server string, pendingEventId EventID, sectionId SectionID, playerId string, body UpdatePendingPlayerJSONRequestBody) (*http.Request, error)
NewUpdatePendingPlayerRequest calls the generic UpdatePendingPlayer builder with application/json body
func NewUpdatePendingPlayerRequestWithApplicationWildcardPlusJSONBody ¶
func NewUpdatePendingPlayerRequestWithApplicationWildcardPlusJSONBody(server string, pendingEventId EventID, sectionId SectionID, playerId string, body UpdatePendingPlayerApplicationWildcardPlusJSONRequestBody) (*http.Request, error)
NewUpdatePendingPlayerRequestWithApplicationWildcardPlusJSONBody calls the generic UpdatePendingPlayer builder with application/*+json body
func NewUpdatePendingPlayerRequestWithBody ¶
func NewUpdatePendingPlayerRequestWithBody(server string, pendingEventId EventID, sectionId SectionID, playerId string, contentType string, body io.Reader) (*http.Request, error)
NewUpdatePendingPlayerRequestWithBody generates requests for UpdatePendingPlayer with any type of body
func NewUpdatePendingSectionRequest ¶
func NewUpdatePendingSectionRequest(server string, eventId EventID, sectionId SectionID, body UpdatePendingSectionJSONRequestBody) (*http.Request, error)
NewUpdatePendingSectionRequest calls the generic UpdatePendingSection builder with application/json body
func NewUpdatePendingSectionRequestWithApplicationWildcardPlusJSONBody ¶
func NewUpdatePendingSectionRequestWithApplicationWildcardPlusJSONBody(server string, eventId EventID, sectionId SectionID, body UpdatePendingSectionApplicationWildcardPlusJSONRequestBody) (*http.Request, error)
NewUpdatePendingSectionRequestWithApplicationWildcardPlusJSONBody calls the generic UpdatePendingSection builder with application/*+json body
func NewUpdatePendingSectionRequestWithBody ¶
func NewUpdatePendingSectionRequestWithBody(server string, eventId EventID, sectionId SectionID, contentType string, body io.Reader) (*http.Request, error)
NewUpdatePendingSectionRequestWithBody generates requests for UpdatePendingSection with any type of body
func NewUpdateReviewRequest ¶
func NewUpdateReviewRequest(server string, eventId EventID, body UpdateReviewJSONRequestBody) (*http.Request, error)
NewUpdateReviewRequest calls the generic UpdateReview builder with application/json body
func NewUpdateReviewRequestWithApplicationWildcardPlusJSONBody ¶
func NewUpdateReviewRequestWithApplicationWildcardPlusJSONBody(server string, eventId EventID, body UpdateReviewApplicationWildcardPlusJSONRequestBody) (*http.Request, error)
NewUpdateReviewRequestWithApplicationWildcardPlusJSONBody calls the generic UpdateReview builder with application/*+json body
func NewUpdateReviewRequestWithBody ¶
func NewUpdateReviewRequestWithBody(server string, eventId EventID, contentType string, body io.Reader) (*http.Request, error)
NewUpdateReviewRequestWithBody generates requests for UpdateReview with any type of body
Types ¶
type AddEntireUnpairedRoundResponse ¶
func ParseAddEntireUnpairedRoundResponse ¶
func ParseAddEntireUnpairedRoundResponse(rsp *http.Response) (*AddEntireUnpairedRoundResponse, error)
ParseAddEntireUnpairedRoundResponse parses an HTTP response from a AddEntireUnpairedRoundWithResponse call
func (AddEntireUnpairedRoundResponse) ContentType ¶
func (r AddEntireUnpairedRoundResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (AddEntireUnpairedRoundResponse) Status ¶
func (r AddEntireUnpairedRoundResponse) Status() string
Status returns HTTPResponse.Status
func (AddEntireUnpairedRoundResponse) StatusCode ¶
func (r AddEntireUnpairedRoundResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type AddOfficialApplicationWildcardPlusJSONBody ¶
type AddOfficialApplicationWildcardPlusJSONBody = OfficialCreate
AddOfficialApplicationWildcardPlusJSONBody defines parameters for AddOfficial.
type AddOfficialApplicationWildcardPlusJSONRequestBody ¶
type AddOfficialApplicationWildcardPlusJSONRequestBody = AddOfficialApplicationWildcardPlusJSONBody
AddOfficialApplicationWildcardPlusJSONRequestBody defines body for AddOfficial for application/*+json ContentType.
type AddOfficialJSONBody ¶
type AddOfficialJSONBody = OfficialCreate
AddOfficialJSONBody defines parameters for AddOfficial.
type AddOfficialJSONRequestBody ¶
type AddOfficialJSONRequestBody = AddOfficialJSONBody
AddOfficialJSONRequestBody defines body for AddOfficial for application/json ContentType.
type AddOfficialResponse ¶
type AddOfficialResponse struct {
Body []byte
HTTPResponse *http.Response
JSON201 *Official
JSON400 *ProblemDetails
}
func ParseAddOfficialResponse ¶
func ParseAddOfficialResponse(rsp *http.Response) (*AddOfficialResponse, error)
ParseAddOfficialResponse parses an HTTP response from a AddOfficialWithResponse call
func (AddOfficialResponse) ContentType ¶
func (r AddOfficialResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (AddOfficialResponse) Status ¶
func (r AddOfficialResponse) Status() string
Status returns HTTPResponse.Status
func (AddOfficialResponse) StatusCode ¶
func (r AddOfficialResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type Affiliate ¶
type Affiliate struct {
ExpirationDate openapi_types.Date `json:"expirationDate,omitempty,omitzero"`
Id AffiliateID `json:"id,omitempty,omitzero"`
LastChangedDate openapi_types.Date `json:"lastChangedDate,omitempty,omitzero"`
Name string `json:"name,omitempty,omitzero"`
StateCode string `json:"stateCode,omitempty,omitzero"`
Status MemberStatus `json:"status,omitempty,omitzero"`
}
Affiliate defines model for AffiliateDto.
type AffiliateEventSortBy ¶
type AffiliateEventSortBy string
AffiliateEventSortBy defines model for AffiliateEventSortBy.
const ( AffiliateEventSortByCity AffiliateEventSortBy = "City" AffiliateEventSortByName AffiliateEventSortBy = "Name" AffiliateEventSortByPlayerCount AffiliateEventSortBy = "PlayerCount" AffiliateEventSortBySectionCount AffiliateEventSortBy = "SectionCount" AffiliateEventSortByStartDate AffiliateEventSortBy = "StartDate" AffiliateEventSortByStateCode AffiliateEventSortBy = "StateCode" )
Defines values for AffiliateEventSortBy.
func (AffiliateEventSortBy) Valid ¶
func (e AffiliateEventSortBy) Valid() bool
Valid indicates whether the value is a known member of the AffiliateEventSortBy enum.
type AffiliateID ¶
type AffiliateID string
type AffiliatePage ¶
type AffiliatePage struct {
HasNextPage bool `json:"hasNextPage,omitempty,omitzero"`
HasPreviousPage bool `json:"hasPreviousPage,omitempty,omitzero"`
Items []Affiliate `json:"items,omitempty,omitzero"`
Offset int32 `json:"offset,omitempty,omitzero"`
PageSize int32 `json:"pageSize,omitempty,omitzero"`
}
AffiliatePage defines model for AffiliateDtoPage.
type AffiliateSortBy ¶
type AffiliateSortBy string
AffiliateSortBy defines model for AffiliateSortBy.
const ( AffiliateSortByExpirationDate AffiliateSortBy = "ExpirationDate" AffiliateSortById AffiliateSortBy = "Id" AffiliateSortByName AffiliateSortBy = "Name" AffiliateSortByState AffiliateSortBy = "State" )
Defines values for AffiliateSortBy.
func (AffiliateSortBy) Valid ¶
func (e AffiliateSortBy) Valid() bool
Valid indicates whether the value is a known member of the AffiliateSortBy enum.
type AwardCategory ¶
type AwardCategory string
AwardCategory defines model for AwardCategory.
const ( NormsTitle AwardCategory = "NormsTitle" RatingsTitle AwardCategory = "RatingsTitle" WinMilestone AwardCategory = "WinMilestone" )
Defines values for AwardCategory.
func (AwardCategory) Valid ¶
func (e AwardCategory) Valid() bool
Valid indicates whether the value is a known member of the AwardCategory enum.
type AwardType ¶
type AwardType string
AwardType defines model for AwardType.
const ( AwardTypeCandidateMaster AwardType = "CandidateMaster" AwardTypeFirstCategory AwardType = "FirstCategory" AwardTypeFourthCategory AwardType = "FourthCategory" AwardTypeGoldenKnight AwardType = "GoldenKnight" AwardTypeLifeMaster AwardType = "LifeMaster" AwardTypeNationalMaster AwardType = "NationalMaster" AwardTypeOriginalLifeMaster AwardType = "OriginalLifeMaster" AwardTypePostalCandidateMaster AwardType = "PostalCandidateMaster" AwardTypePostalMaster AwardType = "PostalMaster" AwardTypeSecondCategory AwardType = "SecondCategory" AwardTypeSeniorLifeMaster AwardType = "SeniorLifeMaster" AwardTypeThirdCategory AwardType = "ThirdCategory" AwardTypeWinCount AwardType = "WinCount" )
Defines values for AwardType.
type BillStatus ¶
type BillStatus string
BillStatus defines model for BillStatus.
const ( BillStatusEntry BillStatus = "Entry" BillStatusPaid BillStatus = "Paid" BillStatusPreview BillStatus = "Preview" BillStatusReadyToBePaid BillStatus = "ReadyToBePaid" )
Defines values for BillStatus.
func (BillStatus) Valid ¶
func (e BillStatus) Valid() bool
Valid indicates whether the value is a known member of the BillStatus enum.
type ChampEventStatus ¶
type ChampEventStatus string
ChampEventStatus defines model for ChampEventStatus.
const ( ChampEventStatusNational ChampEventStatus = "National" ChampEventStatusNationalSide ChampEventStatus = "NationalSide" ChampEventStatusNone ChampEventStatus = "None" ChampEventStatusState ChampEventStatus = "State" )
Defines values for ChampEventStatus.
func (ChampEventStatus) Valid ¶
func (e ChampEventStatus) Valid() bool
Valid indicates whether the value is a known member of the ChampEventStatus enum.
type ChessColor ¶
type ChessColor string
ChessColor defines model for ChessColor.
const ( ChessColorBlack ChessColor = "Black" ChessColorUnknown ChessColor = "Unknown" ChessColorWhite ChessColor = "White" )
Defines values for ChessColor.
func (ChessColor) Valid ¶
func (e ChessColor) Valid() bool
Valid indicates whether the value is a known member of the ChessColor enum.
type Client ¶
type Client struct {
// The endpoint of the server conforming to this interface, with scheme,
// https://api.deepmap.com for example. This can contain a path relative
// to the server, such as https://api.deepmap.com/dev-test, and all the
// paths in the swagger spec will be appended to the server.
Server string
// Doer for performing requests, typically a *http.Client with any
// customized settings, such as certificate chains.
Client HttpRequestDoer
// A list of callbacks for modifying requests which are generated before sending over
// the network.
RequestEditors []RequestEditorFn
}
Client which conforms to the OpenAPI3 specification for this service.
func NewClient ¶
func NewClient(server string, opts ...ClientOption) (*Client, error)
Creates a new Client, with reasonable defaults
func (*Client) AddEntireUnpairedRound ¶
func (*Client) AddOfficial ¶
func (c *Client) AddOfficial(ctx context.Context, eventId EventID, body AddOfficialJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) AddOfficialWithApplicationWildcardPlusJSONBody ¶
func (c *Client) AddOfficialWithApplicationWildcardPlusJSONBody(ctx context.Context, eventId EventID, body AddOfficialApplicationWildcardPlusJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) AddOfficialWithBody ¶
func (*Client) CreatePendingEvent ¶
func (c *Client) CreatePendingEvent(ctx context.Context, body CreatePendingEventJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) CreatePendingEventWithApplicationWildcardPlusJSONBody ¶
func (c *Client) CreatePendingEventWithApplicationWildcardPlusJSONBody(ctx context.Context, body CreatePendingEventApplicationWildcardPlusJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) CreatePendingEventWithBody ¶
func (*Client) CreatePendingGame ¶
func (c *Client) CreatePendingGame(ctx context.Context, pendingEventId EventID, pendingSectionId SectionID, body CreatePendingGameJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) CreatePendingGameWithApplicationWildcardPlusJSONBody ¶
func (c *Client) CreatePendingGameWithApplicationWildcardPlusJSONBody(ctx context.Context, pendingEventId EventID, pendingSectionId SectionID, body CreatePendingGameApplicationWildcardPlusJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) CreatePendingGameWithBody ¶
func (*Client) CreatePendingPlayer ¶
func (c *Client) CreatePendingPlayer(ctx context.Context, pendingEventId EventID, sectionId SectionID, body CreatePendingPlayerJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) CreatePendingPlayerWithApplicationWildcardPlusJSONBody ¶
func (c *Client) CreatePendingPlayerWithApplicationWildcardPlusJSONBody(ctx context.Context, pendingEventId EventID, sectionId SectionID, body CreatePendingPlayerApplicationWildcardPlusJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) CreatePendingPlayerWithBody ¶
func (*Client) CreatePendingSection ¶
func (c *Client) CreatePendingSection(ctx context.Context, eventId EventID, body CreatePendingSectionJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) CreatePendingSectionWithApplicationWildcardPlusJSONBody ¶
func (c *Client) CreatePendingSectionWithApplicationWildcardPlusJSONBody(ctx context.Context, eventId EventID, body CreatePendingSectionApplicationWildcardPlusJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) CreatePendingSectionWithBody ¶
func (*Client) CreateUnplayedRound ¶
func (c *Client) CreateUnplayedRound(ctx context.Context, eventId EventID, sectionId SectionID, body CreateUnplayedRoundJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) CreateUnplayedRoundWithApplicationWildcardPlusJSONBody ¶
func (c *Client) CreateUnplayedRoundWithApplicationWildcardPlusJSONBody(ctx context.Context, eventId EventID, sectionId SectionID, body CreateUnplayedRoundApplicationWildcardPlusJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) CreateUnplayedRoundWithBody ¶
func (*Client) DeleteEntirePendingRound ¶
func (*Client) DeleteOfficial ¶
func (*Client) DeletePendingEvent ¶
func (*Client) DeletePendingGame ¶
func (*Client) DeletePendingPlayer ¶
func (*Client) DeletePendingSection ¶
func (*Client) DeleteUnplayedRound ¶
func (*Client) GetAffiliate ¶
func (c *Client) GetAffiliate(ctx context.Context, affiliateId AffiliateID, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetAffiliateRatedEvents ¶
func (c *Client) GetAffiliateRatedEvents(ctx context.Context, affiliateId AffiliateID, params *GetAffiliateRatedEventsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetAffiliatesPage ¶
func (c *Client) GetAffiliatesPage(ctx context.Context, params *GetAffiliatesPageParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetGrandPrixSections ¶
func (c *Client) GetGrandPrixSections(ctx context.Context, year int32, params *GetGrandPrixSectionsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetGrandPrixStandings ¶
func (c *Client) GetGrandPrixStandings(ctx context.Context, params *GetGrandPrixStandingsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetMaxRanks ¶
func (*Client) GetMemberAwardsPage ¶
func (c *Client) GetMemberAwardsPage(ctx context.Context, memberId MemberID, params *GetMemberAwardsPageParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetMemberDirectorshipsPage ¶
func (c *Client) GetMemberDirectorshipsPage(ctx context.Context, memberId MemberID, params *GetMemberDirectorshipsPageParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetMemberRatedEventsPage ¶
func (c *Client) GetMemberRatedEventsPage(ctx context.Context, memberId MemberID, params *GetMemberRatedEventsPageParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetMemberRatedGames ¶
func (c *Client) GetMemberRatedGames(ctx context.Context, memberId MemberID, params *GetMemberRatedGamesParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetMemberRatedSectionsPage ¶
func (c *Client) GetMemberRatedSectionsPage(ctx context.Context, memberId MemberID, params *GetMemberRatedSectionsPageParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetMembersPage ¶
func (c *Client) GetMembersPage(ctx context.Context, params *GetMembersPageParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetOfficial ¶
func (*Client) GetPendingEvent ¶
func (*Client) GetPendingEventBySectionId ¶
func (*Client) GetPendingEventsPage ¶
func (c *Client) GetPendingEventsPage(ctx context.Context, params *GetPendingEventsPageParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetPendingGame ¶
func (*Client) GetPendingPlayer ¶
func (*Client) GetPendingSection ¶
func (*Client) GetPromoCode ¶
func (*Client) GetPromoCodeByDiscountCode ¶
func (*Client) GetPromoCodesPage ¶
func (c *Client) GetPromoCodesPage(ctx context.Context, params *GetPromoCodesPageParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetRatedEvent ¶
func (*Client) GetRatedEventSectionDetail ¶
func (*Client) GetRatedEventStandingsPage ¶
func (c *Client) GetRatedEventStandingsPage(ctx context.Context, eventId EventID, sectionNumber int32, params *GetRatedEventStandingsPageParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetRatedEventsPage ¶
func (c *Client) GetRatedEventsPage(ctx context.Context, params *GetRatedEventsPageParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetRatedSectionsPage ¶
func (c *Client) GetRatedSectionsPage(ctx context.Context, params *GetRatedSectionsPageParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetRatingSupplementsPage ¶
func (c *Client) GetRatingSupplementsPage(ctx context.Context, memberId MemberID, params *GetRatingSupplementsPageParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetReport ¶
func (c *Client) GetReport(ctx context.Context, definitionId string, params *GetReportParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetReportDefinitions ¶
func (*Client) GetTopPlayersReportForMember ¶
func (c *Client) GetTopPlayersReportForMember(ctx context.Context, memberId MemberID, params *GetTopPlayersReportForMemberParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetUnofficialRankLookup ¶
func (c *Client) GetUnofficialRankLookup(ctx context.Context, ratingSource RatingType, params *GetUnofficialRankLookupParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ListAllPendingGames ¶
func (*Client) ListAllPendingPlayers ¶
func (*Client) ListPendingEventOfficials ¶
func (*Client) ListPendingGames ¶
func (*Client) ListPendingPlayers ¶
func (c *Client) ListPendingPlayers(ctx context.Context, pendingEventId EventID, sectionId SectionID, params *ListPendingPlayersParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ListPendingSections ¶
func (*Client) ListRatedEventOfficials ¶
func (*Client) ListRoundUnpairedPlayers ¶
func (*Client) ListUnplayedRounds ¶
func (c *Client) ListUnplayedRounds(ctx context.Context, eventId EventID, sectionId SectionID, params *ListUnplayedRoundsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ReleaseForReview ¶
func (c *Client) ReleaseForReview(ctx context.Context, eventId EventID, body ReleaseForReviewJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ReleaseForReviewWithApplicationWildcardPlusJSONBody ¶
func (c *Client) ReleaseForReviewWithApplicationWildcardPlusJSONBody(ctx context.Context, eventId EventID, body ReleaseForReviewApplicationWildcardPlusJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ReleaseForReviewWithBody ¶
func (*Client) StartTopPlayerReportJob ¶
func (c *Client) StartTopPlayerReportJob(ctx context.Context, body StartTopPlayerReportJobJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) StartTopPlayerReportJobWithApplicationWildcardPlusJSONBody ¶
func (c *Client) StartTopPlayerReportJobWithApplicationWildcardPlusJSONBody(ctx context.Context, body StartTopPlayerReportJobApplicationWildcardPlusJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) StartTopPlayerReportJobWithBody ¶
func (*Client) UpdateCompliance ¶
func (c *Client) UpdateCompliance(ctx context.Context, eventId EventID, body UpdateComplianceJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) UpdateComplianceWithApplicationWildcardPlusJSONBody ¶
func (c *Client) UpdateComplianceWithApplicationWildcardPlusJSONBody(ctx context.Context, eventId EventID, body UpdateComplianceApplicationWildcardPlusJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) UpdateComplianceWithBody ¶
func (*Client) UpdateOfficial ¶
func (c *Client) UpdateOfficial(ctx context.Context, eventId EventID, officialId string, body UpdateOfficialJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) UpdateOfficialWithApplicationWildcardPlusJSONBody ¶
func (c *Client) UpdateOfficialWithApplicationWildcardPlusJSONBody(ctx context.Context, eventId EventID, officialId string, body UpdateOfficialApplicationWildcardPlusJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) UpdateOfficialWithBody ¶
func (*Client) UpdatePendingEvent ¶
func (c *Client) UpdatePendingEvent(ctx context.Context, eventId EventID, body UpdatePendingEventJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) UpdatePendingEventWithApplicationWildcardPlusJSONBody ¶
func (c *Client) UpdatePendingEventWithApplicationWildcardPlusJSONBody(ctx context.Context, eventId EventID, body UpdatePendingEventApplicationWildcardPlusJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) UpdatePendingEventWithBody ¶
func (*Client) UpdatePendingGame ¶
func (*Client) UpdatePendingGameWithApplicationWildcardPlusJSONBody ¶
func (*Client) UpdatePendingGameWithBody ¶
func (*Client) UpdatePendingPlayer ¶
func (*Client) UpdatePendingPlayerWithApplicationWildcardPlusJSONBody ¶
func (*Client) UpdatePendingPlayerWithBody ¶
func (*Client) UpdatePendingSection ¶
func (c *Client) UpdatePendingSection(ctx context.Context, eventId EventID, sectionId SectionID, body UpdatePendingSectionJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) UpdatePendingSectionWithApplicationWildcardPlusJSONBody ¶
func (c *Client) UpdatePendingSectionWithApplicationWildcardPlusJSONBody(ctx context.Context, eventId EventID, sectionId SectionID, body UpdatePendingSectionApplicationWildcardPlusJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) UpdatePendingSectionWithBody ¶
func (*Client) UpdateReview ¶
func (c *Client) UpdateReview(ctx context.Context, eventId EventID, body UpdateReviewJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) UpdateReviewWithApplicationWildcardPlusJSONBody ¶
func (c *Client) UpdateReviewWithApplicationWildcardPlusJSONBody(ctx context.Context, eventId EventID, body UpdateReviewApplicationWildcardPlusJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) UpdateReviewWithBody ¶
func (*Client) UploadWithBody ¶
func (*Client) ValidatePendingEvent ¶
type ClientInterface ¶
type ClientInterface interface {
// GetAffiliatesPage request
GetAffiliatesPage(ctx context.Context, params *GetAffiliatesPageParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetAffiliate request
GetAffiliate(ctx context.Context, affiliateId AffiliateID, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetAffiliateRatedEvents request
GetAffiliateRatedEvents(ctx context.Context, affiliateId AffiliateID, params *GetAffiliateRatedEventsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// UploadWithBody request with any body
UploadWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetGrandPrixSections request
GetGrandPrixSections(ctx context.Context, year int32, params *GetGrandPrixSectionsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetGrandPrixStandings request
GetGrandPrixStandings(ctx context.Context, params *GetGrandPrixStandingsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetMembersPage request
GetMembersPage(ctx context.Context, params *GetMembersPageParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetMaxRanks request
GetMaxRanks(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetUnofficialRankLookup request
GetUnofficialRankLookup(ctx context.Context, ratingSource RatingType, params *GetUnofficialRankLookupParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetMember request
GetMember(ctx context.Context, memberId MemberID, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetMemberAwardsPage request
GetMemberAwardsPage(ctx context.Context, memberId MemberID, params *GetMemberAwardsPageParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetMemberDirectorshipsPage request
GetMemberDirectorshipsPage(ctx context.Context, memberId MemberID, params *GetMemberDirectorshipsPageParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetMemberRatedEventsPage request
GetMemberRatedEventsPage(ctx context.Context, memberId MemberID, params *GetMemberRatedEventsPageParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetMemberRatedGames request
GetMemberRatedGames(ctx context.Context, memberId MemberID, params *GetMemberRatedGamesParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetNorms request
GetNorms(ctx context.Context, memberId MemberID, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetRatingSupplementsPage request
GetRatingSupplementsPage(ctx context.Context, memberId MemberID, params *GetRatingSupplementsPageParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetMemberRatedSectionsPage request
GetMemberRatedSectionsPage(ctx context.Context, memberId MemberID, params *GetMemberRatedSectionsPageParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetTopPlayersReportForMember request
GetTopPlayersReportForMember(ctx context.Context, memberId MemberID, params *GetTopPlayersReportForMemberParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetPendingEventsPage request
GetPendingEventsPage(ctx context.Context, params *GetPendingEventsPageParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreatePendingEventWithBody request with any body
CreatePendingEventWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
CreatePendingEventWithApplicationWildcardPlusJSONBody(ctx context.Context, body CreatePendingEventApplicationWildcardPlusJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
CreatePendingEvent(ctx context.Context, body CreatePendingEventJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetPendingEventBySectionId request
GetPendingEventBySectionId(ctx context.Context, sectionId SectionID, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeletePendingEvent request
DeletePendingEvent(ctx context.Context, eventId EventID, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetPendingEvent request
GetPendingEvent(ctx context.Context, eventId EventID, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdatePendingEventWithBody request with any body
UpdatePendingEventWithBody(ctx context.Context, eventId EventID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
UpdatePendingEventWithApplicationWildcardPlusJSONBody(ctx context.Context, eventId EventID, body UpdatePendingEventApplicationWildcardPlusJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
UpdatePendingEvent(ctx context.Context, eventId EventID, body UpdatePendingEventJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdateComplianceWithBody request with any body
UpdateComplianceWithBody(ctx context.Context, eventId EventID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
UpdateComplianceWithApplicationWildcardPlusJSONBody(ctx context.Context, eventId EventID, body UpdateComplianceApplicationWildcardPlusJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
UpdateCompliance(ctx context.Context, eventId EventID, body UpdateComplianceJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListAllPendingGames request
ListAllPendingGames(ctx context.Context, eventId EventID, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListPendingEventOfficials request
ListPendingEventOfficials(ctx context.Context, eventId EventID, reqEditors ...RequestEditorFn) (*http.Response, error)
// AddOfficialWithBody request with any body
AddOfficialWithBody(ctx context.Context, eventId EventID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
AddOfficialWithApplicationWildcardPlusJSONBody(ctx context.Context, eventId EventID, body AddOfficialApplicationWildcardPlusJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
AddOfficial(ctx context.Context, eventId EventID, body AddOfficialJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteOfficial request
DeleteOfficial(ctx context.Context, eventId EventID, officialId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetOfficial request
GetOfficial(ctx context.Context, eventId EventID, officialId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdateOfficialWithBody request with any body
UpdateOfficialWithBody(ctx context.Context, eventId EventID, officialId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
UpdateOfficialWithApplicationWildcardPlusJSONBody(ctx context.Context, eventId EventID, officialId string, body UpdateOfficialApplicationWildcardPlusJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
UpdateOfficial(ctx context.Context, eventId EventID, officialId string, body UpdateOfficialJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListAllPendingPlayers request
ListAllPendingPlayers(ctx context.Context, eventId EventID, reqEditors ...RequestEditorFn) (*http.Response, error)
// ReleaseForReviewWithBody request with any body
ReleaseForReviewWithBody(ctx context.Context, eventId EventID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
ReleaseForReviewWithApplicationWildcardPlusJSONBody(ctx context.Context, eventId EventID, body ReleaseForReviewApplicationWildcardPlusJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
ReleaseForReview(ctx context.Context, eventId EventID, body ReleaseForReviewJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdateReviewWithBody request with any body
UpdateReviewWithBody(ctx context.Context, eventId EventID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
UpdateReviewWithApplicationWildcardPlusJSONBody(ctx context.Context, eventId EventID, body UpdateReviewApplicationWildcardPlusJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
UpdateReview(ctx context.Context, eventId EventID, body UpdateReviewJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListPendingSections request
ListPendingSections(ctx context.Context, eventId EventID, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreatePendingSectionWithBody request with any body
CreatePendingSectionWithBody(ctx context.Context, eventId EventID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
CreatePendingSectionWithApplicationWildcardPlusJSONBody(ctx context.Context, eventId EventID, body CreatePendingSectionApplicationWildcardPlusJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
CreatePendingSection(ctx context.Context, eventId EventID, body CreatePendingSectionJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeletePendingSection request
DeletePendingSection(ctx context.Context, eventId EventID, sectionId SectionID, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetPendingSection request
GetPendingSection(ctx context.Context, eventId EventID, sectionId SectionID, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdatePendingSectionWithBody request with any body
UpdatePendingSectionWithBody(ctx context.Context, eventId EventID, sectionId SectionID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
UpdatePendingSectionWithApplicationWildcardPlusJSONBody(ctx context.Context, eventId EventID, sectionId SectionID, body UpdatePendingSectionApplicationWildcardPlusJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
UpdatePendingSection(ctx context.Context, eventId EventID, sectionId SectionID, body UpdatePendingSectionJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListUnplayedRounds request
ListUnplayedRounds(ctx context.Context, eventId EventID, sectionId SectionID, params *ListUnplayedRoundsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateUnplayedRoundWithBody request with any body
CreateUnplayedRoundWithBody(ctx context.Context, eventId EventID, sectionId SectionID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateUnplayedRoundWithApplicationWildcardPlusJSONBody(ctx context.Context, eventId EventID, sectionId SectionID, body CreateUnplayedRoundApplicationWildcardPlusJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateUnplayedRound(ctx context.Context, eventId EventID, sectionId SectionID, body CreateUnplayedRoundJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteUnplayedRound request
DeleteUnplayedRound(ctx context.Context, eventId EventID, sectionId SectionID, roundNumber int32, params *DeleteUnplayedRoundParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// AddEntireUnpairedRound request
AddEntireUnpairedRound(ctx context.Context, eventId EventID, sectionId SectionID, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteEntirePendingRound request
DeleteEntirePendingRound(ctx context.Context, eventId EventID, sectionId SectionID, roundNumber int32, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListRoundUnpairedPlayers request
ListRoundUnpairedPlayers(ctx context.Context, eventId EventID, sectionId SectionID, roundNumber int32, params *ListRoundUnpairedPlayersParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// ValidatePendingEvent request
ValidatePendingEvent(ctx context.Context, eventId EventID, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListPendingGames request
ListPendingGames(ctx context.Context, pendingEventId EventID, pendingSectionId SectionID, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreatePendingGameWithBody request with any body
CreatePendingGameWithBody(ctx context.Context, pendingEventId EventID, pendingSectionId SectionID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
CreatePendingGameWithApplicationWildcardPlusJSONBody(ctx context.Context, pendingEventId EventID, pendingSectionId SectionID, body CreatePendingGameApplicationWildcardPlusJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
CreatePendingGame(ctx context.Context, pendingEventId EventID, pendingSectionId SectionID, body CreatePendingGameJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeletePendingGame request
DeletePendingGame(ctx context.Context, pendingEventId EventID, pendingSectionId SectionID, pendingGameId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetPendingGame request
GetPendingGame(ctx context.Context, pendingEventId EventID, pendingSectionId SectionID, pendingGameId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdatePendingGameWithBody request with any body
UpdatePendingGameWithBody(ctx context.Context, pendingEventId EventID, pendingSectionId SectionID, pendingGameId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
UpdatePendingGameWithApplicationWildcardPlusJSONBody(ctx context.Context, pendingEventId EventID, pendingSectionId SectionID, pendingGameId string, body UpdatePendingGameApplicationWildcardPlusJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
UpdatePendingGame(ctx context.Context, pendingEventId EventID, pendingSectionId SectionID, pendingGameId string, body UpdatePendingGameJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListPendingPlayers request
ListPendingPlayers(ctx context.Context, pendingEventId EventID, sectionId SectionID, params *ListPendingPlayersParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreatePendingPlayerWithBody request with any body
CreatePendingPlayerWithBody(ctx context.Context, pendingEventId EventID, sectionId SectionID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
CreatePendingPlayerWithApplicationWildcardPlusJSONBody(ctx context.Context, pendingEventId EventID, sectionId SectionID, body CreatePendingPlayerApplicationWildcardPlusJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
CreatePendingPlayer(ctx context.Context, pendingEventId EventID, sectionId SectionID, body CreatePendingPlayerJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeletePendingPlayer request
DeletePendingPlayer(ctx context.Context, pendingEventId EventID, sectionId SectionID, playerId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetPendingPlayer request
GetPendingPlayer(ctx context.Context, pendingEventId EventID, sectionId SectionID, playerId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdatePendingPlayerWithBody request with any body
UpdatePendingPlayerWithBody(ctx context.Context, pendingEventId EventID, sectionId SectionID, playerId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
UpdatePendingPlayerWithApplicationWildcardPlusJSONBody(ctx context.Context, pendingEventId EventID, sectionId SectionID, playerId string, body UpdatePendingPlayerApplicationWildcardPlusJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
UpdatePendingPlayer(ctx context.Context, pendingEventId EventID, sectionId SectionID, playerId string, body UpdatePendingPlayerJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetPromoCodesPage request
GetPromoCodesPage(ctx context.Context, params *GetPromoCodesPageParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetPromoCodeByDiscountCode request
GetPromoCodeByDiscountCode(ctx context.Context, discountCode string, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetPromoCode request
GetPromoCode(ctx context.Context, promoCodeId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetRatedEventsPage request
GetRatedEventsPage(ctx context.Context, params *GetRatedEventsPageParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetRatedEvent request
GetRatedEvent(ctx context.Context, eventId EventID, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListRatedEventOfficials request
ListRatedEventOfficials(ctx context.Context, eventId EventID, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetRatedEventSectionDetail request
GetRatedEventSectionDetail(ctx context.Context, eventId EventID, sectionNumber int32, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetRatedEventStandingsPage request
GetRatedEventStandingsPage(ctx context.Context, eventId EventID, sectionNumber int32, params *GetRatedEventStandingsPageParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetRatedSectionsPage request
GetRatedSectionsPage(ctx context.Context, params *GetRatedSectionsPageParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetReportDefinitions request
GetReportDefinitions(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// StartTopPlayerReportJobWithBody request with any body
StartTopPlayerReportJobWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
StartTopPlayerReportJobWithApplicationWildcardPlusJSONBody(ctx context.Context, body StartTopPlayerReportJobApplicationWildcardPlusJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
StartTopPlayerReportJob(ctx context.Context, body StartTopPlayerReportJobJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetReport request
GetReport(ctx context.Context, definitionId string, params *GetReportParams, reqEditors ...RequestEditorFn) (*http.Response, error)
}
The interface specification for the client above.
type ClientOption ¶
ClientOption allows setting custom parameters during construction
func WithHTTPClient ¶
func WithHTTPClient(doer HttpRequestDoer) ClientOption
WithHTTPClient allows overriding the default Doer, which is automatically created using http.Client. This is useful for tests.
func WithRequestEditorFn ¶
func WithRequestEditorFn(fn RequestEditorFn) ClientOption
WithRequestEditorFn allows setting up a callback function, which will be called right before sending the request. This can be used to mutate the request.
func WithUserAgent ¶
func WithUserAgent(userAgent string) ClientOption
WithUserAgent sets the User-Agent header on requests made by the client. When used with NewDefaultClient, it overrides the default User-Agent.
type ClientWithResponses ¶
type ClientWithResponses struct {
ClientInterface
}
ClientWithResponses builds on ClientInterface to offer response payloads
func NewClientWithResponses ¶
func NewClientWithResponses(server string, opts ...ClientOption) (*ClientWithResponses, error)
NewClientWithResponses creates a new ClientWithResponses, which wraps Client with return type handling
func NewDefaultClient ¶
func NewDefaultClient(opts ...ClientOption) (*ClientWithResponses, error)
NewDefaultClient creates a generated response-aware client for the US Chess ratings API. It retries eligible requests and requests JSON responses by default. Request editors passed in opts, or per request, can override the default Accept and User-Agent headers.
func (*ClientWithResponses) AddEntireUnpairedRoundWithResponse ¶
func (c *ClientWithResponses) AddEntireUnpairedRoundWithResponse(ctx context.Context, eventId EventID, sectionId SectionID, reqEditors ...RequestEditorFn) (*AddEntireUnpairedRoundResponse, error)
AddEntireUnpairedRoundWithResponse request returning *AddEntireUnpairedRoundResponse
func (*ClientWithResponses) AddOfficialWithApplicationWildcardPlusJSONBodyWithResponse ¶
func (c *ClientWithResponses) AddOfficialWithApplicationWildcardPlusJSONBodyWithResponse(ctx context.Context, eventId EventID, body AddOfficialApplicationWildcardPlusJSONRequestBody, reqEditors ...RequestEditorFn) (*AddOfficialResponse, error)
func (*ClientWithResponses) AddOfficialWithBodyWithResponse ¶
func (c *ClientWithResponses) AddOfficialWithBodyWithResponse(ctx context.Context, eventId EventID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AddOfficialResponse, error)
AddOfficialWithBodyWithResponse request with arbitrary body returning *AddOfficialResponse
func (*ClientWithResponses) AddOfficialWithResponse ¶
func (c *ClientWithResponses) AddOfficialWithResponse(ctx context.Context, eventId EventID, body AddOfficialJSONRequestBody, reqEditors ...RequestEditorFn) (*AddOfficialResponse, error)
func (*ClientWithResponses) CreatePendingEventWithApplicationWildcardPlusJSONBodyWithResponse ¶
func (c *ClientWithResponses) CreatePendingEventWithApplicationWildcardPlusJSONBodyWithResponse(ctx context.Context, body CreatePendingEventApplicationWildcardPlusJSONRequestBody, reqEditors ...RequestEditorFn) (*CreatePendingEventResponse, error)
func (*ClientWithResponses) CreatePendingEventWithBodyWithResponse ¶
func (c *ClientWithResponses) CreatePendingEventWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreatePendingEventResponse, error)
CreatePendingEventWithBodyWithResponse request with arbitrary body returning *CreatePendingEventResponse
func (*ClientWithResponses) CreatePendingEventWithResponse ¶
func (c *ClientWithResponses) CreatePendingEventWithResponse(ctx context.Context, body CreatePendingEventJSONRequestBody, reqEditors ...RequestEditorFn) (*CreatePendingEventResponse, error)
func (*ClientWithResponses) CreatePendingGameWithApplicationWildcardPlusJSONBodyWithResponse ¶
func (c *ClientWithResponses) CreatePendingGameWithApplicationWildcardPlusJSONBodyWithResponse(ctx context.Context, pendingEventId EventID, pendingSectionId SectionID, body CreatePendingGameApplicationWildcardPlusJSONRequestBody, reqEditors ...RequestEditorFn) (*CreatePendingGameResponse, error)
func (*ClientWithResponses) CreatePendingGameWithBodyWithResponse ¶
func (c *ClientWithResponses) CreatePendingGameWithBodyWithResponse(ctx context.Context, pendingEventId EventID, pendingSectionId SectionID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreatePendingGameResponse, error)
CreatePendingGameWithBodyWithResponse request with arbitrary body returning *CreatePendingGameResponse
func (*ClientWithResponses) CreatePendingGameWithResponse ¶
func (c *ClientWithResponses) CreatePendingGameWithResponse(ctx context.Context, pendingEventId EventID, pendingSectionId SectionID, body CreatePendingGameJSONRequestBody, reqEditors ...RequestEditorFn) (*CreatePendingGameResponse, error)
func (*ClientWithResponses) CreatePendingPlayerWithApplicationWildcardPlusJSONBodyWithResponse ¶
func (c *ClientWithResponses) CreatePendingPlayerWithApplicationWildcardPlusJSONBodyWithResponse(ctx context.Context, pendingEventId EventID, sectionId SectionID, body CreatePendingPlayerApplicationWildcardPlusJSONRequestBody, reqEditors ...RequestEditorFn) (*CreatePendingPlayerResponse, error)
func (*ClientWithResponses) CreatePendingPlayerWithBodyWithResponse ¶
func (c *ClientWithResponses) CreatePendingPlayerWithBodyWithResponse(ctx context.Context, pendingEventId EventID, sectionId SectionID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreatePendingPlayerResponse, error)
CreatePendingPlayerWithBodyWithResponse request with arbitrary body returning *CreatePendingPlayerResponse
func (*ClientWithResponses) CreatePendingPlayerWithResponse ¶
func (c *ClientWithResponses) CreatePendingPlayerWithResponse(ctx context.Context, pendingEventId EventID, sectionId SectionID, body CreatePendingPlayerJSONRequestBody, reqEditors ...RequestEditorFn) (*CreatePendingPlayerResponse, error)
func (*ClientWithResponses) CreatePendingSectionWithApplicationWildcardPlusJSONBodyWithResponse ¶
func (c *ClientWithResponses) CreatePendingSectionWithApplicationWildcardPlusJSONBodyWithResponse(ctx context.Context, eventId EventID, body CreatePendingSectionApplicationWildcardPlusJSONRequestBody, reqEditors ...RequestEditorFn) (*CreatePendingSectionResponse, error)
func (*ClientWithResponses) CreatePendingSectionWithBodyWithResponse ¶
func (c *ClientWithResponses) CreatePendingSectionWithBodyWithResponse(ctx context.Context, eventId EventID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreatePendingSectionResponse, error)
CreatePendingSectionWithBodyWithResponse request with arbitrary body returning *CreatePendingSectionResponse
func (*ClientWithResponses) CreatePendingSectionWithResponse ¶
func (c *ClientWithResponses) CreatePendingSectionWithResponse(ctx context.Context, eventId EventID, body CreatePendingSectionJSONRequestBody, reqEditors ...RequestEditorFn) (*CreatePendingSectionResponse, error)
func (*ClientWithResponses) CreateUnplayedRoundWithApplicationWildcardPlusJSONBodyWithResponse ¶
func (c *ClientWithResponses) CreateUnplayedRoundWithApplicationWildcardPlusJSONBodyWithResponse(ctx context.Context, eventId EventID, sectionId SectionID, body CreateUnplayedRoundApplicationWildcardPlusJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateUnplayedRoundResponse, error)
func (*ClientWithResponses) CreateUnplayedRoundWithBodyWithResponse ¶
func (c *ClientWithResponses) CreateUnplayedRoundWithBodyWithResponse(ctx context.Context, eventId EventID, sectionId SectionID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateUnplayedRoundResponse, error)
CreateUnplayedRoundWithBodyWithResponse request with arbitrary body returning *CreateUnplayedRoundResponse
func (*ClientWithResponses) CreateUnplayedRoundWithResponse ¶
func (c *ClientWithResponses) CreateUnplayedRoundWithResponse(ctx context.Context, eventId EventID, sectionId SectionID, body CreateUnplayedRoundJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateUnplayedRoundResponse, error)
func (*ClientWithResponses) DeleteEntirePendingRoundWithResponse ¶
func (c *ClientWithResponses) DeleteEntirePendingRoundWithResponse(ctx context.Context, eventId EventID, sectionId SectionID, roundNumber int32, reqEditors ...RequestEditorFn) (*DeleteEntirePendingRoundResponse, error)
DeleteEntirePendingRoundWithResponse request returning *DeleteEntirePendingRoundResponse
func (*ClientWithResponses) DeleteOfficialWithResponse ¶
func (c *ClientWithResponses) DeleteOfficialWithResponse(ctx context.Context, eventId EventID, officialId string, reqEditors ...RequestEditorFn) (*DeleteOfficialResponse, error)
DeleteOfficialWithResponse request returning *DeleteOfficialResponse
func (*ClientWithResponses) DeletePendingEventWithResponse ¶
func (c *ClientWithResponses) DeletePendingEventWithResponse(ctx context.Context, eventId EventID, reqEditors ...RequestEditorFn) (*DeletePendingEventResponse, error)
DeletePendingEventWithResponse request returning *DeletePendingEventResponse
func (*ClientWithResponses) DeletePendingGameWithResponse ¶
func (c *ClientWithResponses) DeletePendingGameWithResponse(ctx context.Context, pendingEventId EventID, pendingSectionId SectionID, pendingGameId string, reqEditors ...RequestEditorFn) (*DeletePendingGameResponse, error)
DeletePendingGameWithResponse request returning *DeletePendingGameResponse
func (*ClientWithResponses) DeletePendingPlayerWithResponse ¶
func (c *ClientWithResponses) DeletePendingPlayerWithResponse(ctx context.Context, pendingEventId EventID, sectionId SectionID, playerId string, reqEditors ...RequestEditorFn) (*DeletePendingPlayerResponse, error)
DeletePendingPlayerWithResponse request returning *DeletePendingPlayerResponse
func (*ClientWithResponses) DeletePendingSectionWithResponse ¶
func (c *ClientWithResponses) DeletePendingSectionWithResponse(ctx context.Context, eventId EventID, sectionId SectionID, reqEditors ...RequestEditorFn) (*DeletePendingSectionResponse, error)
DeletePendingSectionWithResponse request returning *DeletePendingSectionResponse
func (*ClientWithResponses) DeleteUnplayedRoundWithResponse ¶
func (c *ClientWithResponses) DeleteUnplayedRoundWithResponse(ctx context.Context, eventId EventID, sectionId SectionID, roundNumber int32, params *DeleteUnplayedRoundParams, reqEditors ...RequestEditorFn) (*DeleteUnplayedRoundResponse, error)
DeleteUnplayedRoundWithResponse request returning *DeleteUnplayedRoundResponse
func (*ClientWithResponses) GetAffiliateRatedEventsWithResponse ¶
func (c *ClientWithResponses) GetAffiliateRatedEventsWithResponse(ctx context.Context, affiliateId AffiliateID, params *GetAffiliateRatedEventsParams, reqEditors ...RequestEditorFn) (*GetAffiliateRatedEventsResponse, error)
GetAffiliateRatedEventsWithResponse request returning *GetAffiliateRatedEventsResponse
func (*ClientWithResponses) GetAffiliateWithResponse ¶
func (c *ClientWithResponses) GetAffiliateWithResponse(ctx context.Context, affiliateId AffiliateID, reqEditors ...RequestEditorFn) (*GetAffiliateResponse, error)
GetAffiliateWithResponse request returning *GetAffiliateResponse
func (*ClientWithResponses) GetAffiliatesPageWithResponse ¶
func (c *ClientWithResponses) GetAffiliatesPageWithResponse(ctx context.Context, params *GetAffiliatesPageParams, reqEditors ...RequestEditorFn) (*GetAffiliatesPageResponse, error)
GetAffiliatesPageWithResponse request returning *GetAffiliatesPageResponse
func (*ClientWithResponses) GetAllAffiliateRatedEvents ¶
func (c *ClientWithResponses) GetAllAffiliateRatedEvents(ctx context.Context, affiliateID AffiliateID, pageParams *GetAffiliateRatedEventsParams, reqEditors ...RequestEditorFn) ([]RatedEvent, error)
GetAllAffiliateRatedEvents retrieves every rated-events page for affiliateID, sorted by start date descending.
func (*ClientWithResponses) GetAllAffiliates ¶
func (c *ClientWithResponses) GetAllAffiliates(ctx context.Context, pageParams *GetAffiliatesPageParams, reqEditors ...RequestEditorFn) ([]Affiliate, error)
GetAllAffiliates retrieves every page of affiliates, sorted by name ascending.
func (*ClientWithResponses) GetAllMemberAwards ¶
func (c *ClientWithResponses) GetAllMemberAwards(ctx context.Context, memberID MemberID, reqEditors ...RequestEditorFn) ([]MemberAward, error)
GetAllMemberAwards retrieves every awards page for memberID.
func (*ClientWithResponses) GetAllMemberDirectorships ¶
func (c *ClientWithResponses) GetAllMemberDirectorships(ctx context.Context, memberID MemberID, reqEditors ...RequestEditorFn) ([]MemberDirectorship, error)
GetAllMemberDirectorships retrieves every directorships page for memberID.
func (*ClientWithResponses) GetAllMemberEvents ¶
func (c *ClientWithResponses) GetAllMemberEvents(ctx context.Context, memberID MemberID, reqEditors ...RequestEditorFn) ([]RatedEvent, error)
GetAllMemberEvents retrieves every rated-events page for memberID, sorted by start date descending.
func (*ClientWithResponses) GetAllMemberRatedGames ¶
func (c *ClientWithResponses) GetAllMemberRatedGames(ctx context.Context, memberID MemberID, pageParams *GetMemberRatedGamesParams, reqEditors ...RequestEditorFn) ([]MemberRatedGame, error)
GetAllMemberRatedGames retrieves every rated-games page for memberID matching pageParams, sorted by event start date descending.
When pageParams is nil, it retrieves all rated games. Its Offset is managed while retrieving pages.
func (*ClientWithResponses) GetAllMemberRatedSections ¶
func (c *ClientWithResponses) GetAllMemberRatedSections(ctx context.Context, memberID MemberID, pageParams *GetMemberRatedSectionsPageParams, reqEditors ...RequestEditorFn) ([]MemberRatedSection, error)
GetAllMemberRatedSections retrieves every rated-sections page for memberID matching pageParams, sorted by start date descending.
When pageParams is nil, it retrieves all rated sections. Its Offset is managed while retrieving pages.
func (*ClientWithResponses) GetAllPendingPlayers ¶
func (c *ClientWithResponses) GetAllPendingPlayers(ctx context.Context, pendingEventID EventID, sectionID SectionID, reqEditors ...RequestEditorFn) ([]PendingPlayer, error)
GetAllPendingPlayers retrieves every pending-player page for pendingEventID and sectionID, sorted by pairing number ascending.
func (*ClientWithResponses) GetAllRatedEventStandings ¶
func (c *ClientWithResponses) GetAllRatedEventStandings(ctx context.Context, eventID EventID, sectionNumber int32, reqEditors ...RequestEditorFn) ([]Standings, error)
GetAllRatedEventStandings retrieves every standings page for eventID and sectionNumber, sorted by ordinal ascending.
func (*ClientWithResponses) GetAllRatedEvents ¶
func (c *ClientWithResponses) GetAllRatedEvents(ctx context.Context, pageParams *GetRatedEventsPageParams, reqEditors ...RequestEditorFn) ([]RatedEvent, error)
GetAllRatedEvents retrieves every rated-events page, sorted by start date descending.
func (*ClientWithResponses) GetAllRatingSupplements ¶
func (c *ClientWithResponses) GetAllRatingSupplements(ctx context.Context, memberID MemberID, reqEditors ...RequestEditorFn) ([]RatingSupplement, error)
GetAllRatingSupplements retrieves every rating-supplements page for memberID, sorted by rating supplement date descending.
func (*ClientWithResponses) GetAllTopPlayersReportsForMember ¶
func (c *ClientWithResponses) GetAllTopPlayersReportsForMember(ctx context.Context, memberID MemberID, reqEditors ...RequestEditorFn) ([]TopPlayerReport, error)
GetAllTopPlayersReportsForMember retrieves every top-player-reports page for memberID.
func (*ClientWithResponses) GetGrandPrixSectionsWithResponse ¶
func (c *ClientWithResponses) GetGrandPrixSectionsWithResponse(ctx context.Context, year int32, params *GetGrandPrixSectionsParams, reqEditors ...RequestEditorFn) (*GetGrandPrixSectionsResponse, error)
GetGrandPrixSectionsWithResponse request returning *GetGrandPrixSectionsResponse
func (*ClientWithResponses) GetGrandPrixStandingsWithResponse ¶
func (c *ClientWithResponses) GetGrandPrixStandingsWithResponse(ctx context.Context, params *GetGrandPrixStandingsParams, reqEditors ...RequestEditorFn) (*GetGrandPrixStandingsResponse, error)
GetGrandPrixStandingsWithResponse request returning *GetGrandPrixStandingsResponse
func (*ClientWithResponses) GetMaxRanksWithResponse ¶
func (c *ClientWithResponses) GetMaxRanksWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetMaxRanksResponse, error)
GetMaxRanksWithResponse request returning *GetMaxRanksResponse
func (*ClientWithResponses) GetMemberAwardsPageWithResponse ¶
func (c *ClientWithResponses) GetMemberAwardsPageWithResponse(ctx context.Context, memberId MemberID, params *GetMemberAwardsPageParams, reqEditors ...RequestEditorFn) (*GetMemberAwardsPageResponse, error)
GetMemberAwardsPageWithResponse request returning *GetMemberAwardsPageResponse
func (*ClientWithResponses) GetMemberDirectorshipsPageWithResponse ¶
func (c *ClientWithResponses) GetMemberDirectorshipsPageWithResponse(ctx context.Context, memberId MemberID, params *GetMemberDirectorshipsPageParams, reqEditors ...RequestEditorFn) (*GetMemberDirectorshipsPageResponse, error)
GetMemberDirectorshipsPageWithResponse request returning *GetMemberDirectorshipsPageResponse
func (*ClientWithResponses) GetMemberRatedEventsPageWithResponse ¶
func (c *ClientWithResponses) GetMemberRatedEventsPageWithResponse(ctx context.Context, memberId MemberID, params *GetMemberRatedEventsPageParams, reqEditors ...RequestEditorFn) (*GetMemberRatedEventsPageResponse, error)
GetMemberRatedEventsPageWithResponse request returning *GetMemberRatedEventsPageResponse
func (*ClientWithResponses) GetMemberRatedGamesWithResponse ¶
func (c *ClientWithResponses) GetMemberRatedGamesWithResponse(ctx context.Context, memberId MemberID, params *GetMemberRatedGamesParams, reqEditors ...RequestEditorFn) (*GetMemberRatedGamesResponse, error)
GetMemberRatedGamesWithResponse request returning *GetMemberRatedGamesResponse
func (*ClientWithResponses) GetMemberRatedSectionsPageWithResponse ¶
func (c *ClientWithResponses) GetMemberRatedSectionsPageWithResponse(ctx context.Context, memberId MemberID, params *GetMemberRatedSectionsPageParams, reqEditors ...RequestEditorFn) (*GetMemberRatedSectionsPageResponse, error)
GetMemberRatedSectionsPageWithResponse request returning *GetMemberRatedSectionsPageResponse
func (*ClientWithResponses) GetMemberWithResponse ¶
func (c *ClientWithResponses) GetMemberWithResponse(ctx context.Context, memberId MemberID, reqEditors ...RequestEditorFn) (*GetMemberResponse, error)
GetMemberWithResponse request returning *GetMemberResponse
func (*ClientWithResponses) GetMembersPageWithResponse ¶
func (c *ClientWithResponses) GetMembersPageWithResponse(ctx context.Context, params *GetMembersPageParams, reqEditors ...RequestEditorFn) (*GetMembersPageResponse, error)
GetMembersPageWithResponse request returning *GetMembersPageResponse
func (*ClientWithResponses) GetNormsWithResponse ¶
func (c *ClientWithResponses) GetNormsWithResponse(ctx context.Context, memberId MemberID, reqEditors ...RequestEditorFn) (*GetNormsResponse, error)
GetNormsWithResponse request returning *GetNormsResponse
func (*ClientWithResponses) GetOfficialWithResponse ¶
func (c *ClientWithResponses) GetOfficialWithResponse(ctx context.Context, eventId EventID, officialId string, reqEditors ...RequestEditorFn) (*GetOfficialResponse, error)
GetOfficialWithResponse request returning *GetOfficialResponse
func (*ClientWithResponses) GetPendingEventBySectionIdWithResponse ¶
func (c *ClientWithResponses) GetPendingEventBySectionIdWithResponse(ctx context.Context, sectionId SectionID, reqEditors ...RequestEditorFn) (*GetPendingEventBySectionIdResponse, error)
GetPendingEventBySectionIdWithResponse request returning *GetPendingEventBySectionIdResponse
func (*ClientWithResponses) GetPendingEventWithResponse ¶
func (c *ClientWithResponses) GetPendingEventWithResponse(ctx context.Context, eventId EventID, reqEditors ...RequestEditorFn) (*GetPendingEventResponse, error)
GetPendingEventWithResponse request returning *GetPendingEventResponse
func (*ClientWithResponses) GetPendingEventsPageWithResponse ¶
func (c *ClientWithResponses) GetPendingEventsPageWithResponse(ctx context.Context, params *GetPendingEventsPageParams, reqEditors ...RequestEditorFn) (*GetPendingEventsPageResponse, error)
GetPendingEventsPageWithResponse request returning *GetPendingEventsPageResponse
func (*ClientWithResponses) GetPendingGameWithResponse ¶
func (c *ClientWithResponses) GetPendingGameWithResponse(ctx context.Context, pendingEventId EventID, pendingSectionId SectionID, pendingGameId string, reqEditors ...RequestEditorFn) (*GetPendingGameResponse, error)
GetPendingGameWithResponse request returning *GetPendingGameResponse
func (*ClientWithResponses) GetPendingPlayerWithResponse ¶
func (c *ClientWithResponses) GetPendingPlayerWithResponse(ctx context.Context, pendingEventId EventID, sectionId SectionID, playerId string, reqEditors ...RequestEditorFn) (*GetPendingPlayerResponse, error)
GetPendingPlayerWithResponse request returning *GetPendingPlayerResponse
func (*ClientWithResponses) GetPendingSectionWithResponse ¶
func (c *ClientWithResponses) GetPendingSectionWithResponse(ctx context.Context, eventId EventID, sectionId SectionID, reqEditors ...RequestEditorFn) (*GetPendingSectionResponse, error)
GetPendingSectionWithResponse request returning *GetPendingSectionResponse
func (*ClientWithResponses) GetPlayer ¶
func (c *ClientWithResponses) GetPlayer(ctx context.Context, memberID MemberID, opts *GetPlayerOptions, reqEditors ...RequestEditorFn) (*Player, error)
GetPlayer retrieves memberID's details and the optional aggregate data selected by opts. When opts is nil, it uses DefaultGetPlayerOptions.
The independent requests run concurrently and the first error cancels the remaining work.
func (*ClientWithResponses) GetPromoCodeByDiscountCodeWithResponse ¶
func (c *ClientWithResponses) GetPromoCodeByDiscountCodeWithResponse(ctx context.Context, discountCode string, reqEditors ...RequestEditorFn) (*GetPromoCodeByDiscountCodeResponse, error)
GetPromoCodeByDiscountCodeWithResponse request returning *GetPromoCodeByDiscountCodeResponse
func (*ClientWithResponses) GetPromoCodeWithResponse ¶
func (c *ClientWithResponses) GetPromoCodeWithResponse(ctx context.Context, promoCodeId string, reqEditors ...RequestEditorFn) (*GetPromoCodeResponse, error)
GetPromoCodeWithResponse request returning *GetPromoCodeResponse
func (*ClientWithResponses) GetPromoCodesPageWithResponse ¶
func (c *ClientWithResponses) GetPromoCodesPageWithResponse(ctx context.Context, params *GetPromoCodesPageParams, reqEditors ...RequestEditorFn) (*GetPromoCodesPageResponse, error)
GetPromoCodesPageWithResponse request returning *GetPromoCodesPageResponse
func (*ClientWithResponses) GetRatedEventSectionDetailWithResponse ¶
func (c *ClientWithResponses) GetRatedEventSectionDetailWithResponse(ctx context.Context, eventId EventID, sectionNumber int32, reqEditors ...RequestEditorFn) (*GetRatedEventSectionDetailResponse, error)
GetRatedEventSectionDetailWithResponse request returning *GetRatedEventSectionDetailResponse
func (*ClientWithResponses) GetRatedEventStandingsPageWithResponse ¶
func (c *ClientWithResponses) GetRatedEventStandingsPageWithResponse(ctx context.Context, eventId EventID, sectionNumber int32, params *GetRatedEventStandingsPageParams, reqEditors ...RequestEditorFn) (*GetRatedEventStandingsPageResponse, error)
GetRatedEventStandingsPageWithResponse request returning *GetRatedEventStandingsPageResponse
func (*ClientWithResponses) GetRatedEventWithResponse ¶
func (c *ClientWithResponses) GetRatedEventWithResponse(ctx context.Context, eventId EventID, reqEditors ...RequestEditorFn) (*GetRatedEventResponse, error)
GetRatedEventWithResponse request returning *GetRatedEventResponse
func (*ClientWithResponses) GetRatedEventsPageWithResponse ¶
func (c *ClientWithResponses) GetRatedEventsPageWithResponse(ctx context.Context, params *GetRatedEventsPageParams, reqEditors ...RequestEditorFn) (*GetRatedEventsPageResponse, error)
GetRatedEventsPageWithResponse request returning *GetRatedEventsPageResponse
func (*ClientWithResponses) GetRatedSectionsPageWithResponse ¶
func (c *ClientWithResponses) GetRatedSectionsPageWithResponse(ctx context.Context, params *GetRatedSectionsPageParams, reqEditors ...RequestEditorFn) (*GetRatedSectionsPageResponse, error)
GetRatedSectionsPageWithResponse request returning *GetRatedSectionsPageResponse
func (*ClientWithResponses) GetRatingEstimate ¶
func (client *ClientWithResponses) GetRatingEstimate( ctx context.Context, playerID MemberID, opponentIDs []MemberID, score float64, ratingType RatingType, ) (RatingRecord, error)
GetRatingEstimate retrieves the player and opponents' live ratings and game counts for ratingType, then computes an estimated post-event RatingRecord.
If the player or any opponent is unrated in ratingType, or has no recorded games in that rating system, this returns an error.
dualRatedOTBR is assumed false.
func (*ClientWithResponses) GetRatingSupplementsPageWithResponse ¶
func (c *ClientWithResponses) GetRatingSupplementsPageWithResponse(ctx context.Context, memberId MemberID, params *GetRatingSupplementsPageParams, reqEditors ...RequestEditorFn) (*GetRatingSupplementsPageResponse, error)
GetRatingSupplementsPageWithResponse request returning *GetRatingSupplementsPageResponse
func (*ClientWithResponses) GetReportDefinitionsWithResponse ¶
func (c *ClientWithResponses) GetReportDefinitionsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetReportDefinitionsResponse, error)
GetReportDefinitionsWithResponse request returning *GetReportDefinitionsResponse
func (*ClientWithResponses) GetReportWithResponse ¶
func (c *ClientWithResponses) GetReportWithResponse(ctx context.Context, definitionId string, params *GetReportParams, reqEditors ...RequestEditorFn) (*GetReportResponse, error)
GetReportWithResponse request returning *GetReportResponse
func (*ClientWithResponses) GetTopPlayersReportForMemberWithResponse ¶
func (c *ClientWithResponses) GetTopPlayersReportForMemberWithResponse(ctx context.Context, memberId MemberID, params *GetTopPlayersReportForMemberParams, reqEditors ...RequestEditorFn) (*GetTopPlayersReportForMemberResponse, error)
GetTopPlayersReportForMemberWithResponse request returning *GetTopPlayersReportForMemberResponse
func (*ClientWithResponses) GetTournament ¶
func (c *ClientWithResponses) GetTournament(ctx context.Context, eventID EventID, reqEditors ...RequestEditorFn) (*Tournament, error)
GetTournament retrieves eventID's details and standings from each section.
The independent requests run concurrently and the first error cancels the remaining work.
func (*ClientWithResponses) GetUnofficialRankLookupWithResponse ¶
func (c *ClientWithResponses) GetUnofficialRankLookupWithResponse(ctx context.Context, ratingSource RatingType, params *GetUnofficialRankLookupParams, reqEditors ...RequestEditorFn) (*GetUnofficialRankLookupResponse, error)
GetUnofficialRankLookupWithResponse request returning *GetUnofficialRankLookupResponse
func (*ClientWithResponses) ListAllPendingGamesWithResponse ¶
func (c *ClientWithResponses) ListAllPendingGamesWithResponse(ctx context.Context, eventId EventID, reqEditors ...RequestEditorFn) (*ListAllPendingGamesResponse, error)
ListAllPendingGamesWithResponse request returning *ListAllPendingGamesResponse
func (*ClientWithResponses) ListAllPendingPlayersWithResponse ¶
func (c *ClientWithResponses) ListAllPendingPlayersWithResponse(ctx context.Context, eventId EventID, reqEditors ...RequestEditorFn) (*ListAllPendingPlayersResponse, error)
ListAllPendingPlayersWithResponse request returning *ListAllPendingPlayersResponse
func (*ClientWithResponses) ListPendingEventOfficialsWithResponse ¶
func (c *ClientWithResponses) ListPendingEventOfficialsWithResponse(ctx context.Context, eventId EventID, reqEditors ...RequestEditorFn) (*ListPendingEventOfficialsResponse, error)
ListPendingEventOfficialsWithResponse request returning *ListPendingEventOfficialsResponse
func (*ClientWithResponses) ListPendingGamesWithResponse ¶
func (c *ClientWithResponses) ListPendingGamesWithResponse(ctx context.Context, pendingEventId EventID, pendingSectionId SectionID, reqEditors ...RequestEditorFn) (*ListPendingGamesResponse, error)
ListPendingGamesWithResponse request returning *ListPendingGamesResponse
func (*ClientWithResponses) ListPendingPlayersWithResponse ¶
func (c *ClientWithResponses) ListPendingPlayersWithResponse(ctx context.Context, pendingEventId EventID, sectionId SectionID, params *ListPendingPlayersParams, reqEditors ...RequestEditorFn) (*ListPendingPlayersResponse, error)
ListPendingPlayersWithResponse request returning *ListPendingPlayersResponse
func (*ClientWithResponses) ListPendingSectionsWithResponse ¶
func (c *ClientWithResponses) ListPendingSectionsWithResponse(ctx context.Context, eventId EventID, reqEditors ...RequestEditorFn) (*ListPendingSectionsResponse, error)
ListPendingSectionsWithResponse request returning *ListPendingSectionsResponse
func (*ClientWithResponses) ListRatedEventOfficialsWithResponse ¶
func (c *ClientWithResponses) ListRatedEventOfficialsWithResponse(ctx context.Context, eventId EventID, reqEditors ...RequestEditorFn) (*ListRatedEventOfficialsResponse, error)
ListRatedEventOfficialsWithResponse request returning *ListRatedEventOfficialsResponse
func (*ClientWithResponses) ListRoundUnpairedPlayersWithResponse ¶
func (c *ClientWithResponses) ListRoundUnpairedPlayersWithResponse(ctx context.Context, eventId EventID, sectionId SectionID, roundNumber int32, params *ListRoundUnpairedPlayersParams, reqEditors ...RequestEditorFn) (*ListRoundUnpairedPlayersResponse, error)
ListRoundUnpairedPlayersWithResponse request returning *ListRoundUnpairedPlayersResponse
func (*ClientWithResponses) ListUnplayedRoundsWithResponse ¶
func (c *ClientWithResponses) ListUnplayedRoundsWithResponse(ctx context.Context, eventId EventID, sectionId SectionID, params *ListUnplayedRoundsParams, reqEditors ...RequestEditorFn) (*ListUnplayedRoundsResponse, error)
ListUnplayedRoundsWithResponse request returning *ListUnplayedRoundsResponse
func (*ClientWithResponses) ReleaseForReviewWithApplicationWildcardPlusJSONBodyWithResponse ¶
func (c *ClientWithResponses) ReleaseForReviewWithApplicationWildcardPlusJSONBodyWithResponse(ctx context.Context, eventId EventID, body ReleaseForReviewApplicationWildcardPlusJSONRequestBody, reqEditors ...RequestEditorFn) (*ReleaseForReviewResponse, error)
func (*ClientWithResponses) ReleaseForReviewWithBodyWithResponse ¶
func (c *ClientWithResponses) ReleaseForReviewWithBodyWithResponse(ctx context.Context, eventId EventID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ReleaseForReviewResponse, error)
ReleaseForReviewWithBodyWithResponse request with arbitrary body returning *ReleaseForReviewResponse
func (*ClientWithResponses) ReleaseForReviewWithResponse ¶
func (c *ClientWithResponses) ReleaseForReviewWithResponse(ctx context.Context, eventId EventID, body ReleaseForReviewJSONRequestBody, reqEditors ...RequestEditorFn) (*ReleaseForReviewResponse, error)
func (*ClientWithResponses) StartTopPlayerReportJobWithApplicationWildcardPlusJSONBodyWithResponse ¶
func (c *ClientWithResponses) StartTopPlayerReportJobWithApplicationWildcardPlusJSONBodyWithResponse(ctx context.Context, body StartTopPlayerReportJobApplicationWildcardPlusJSONRequestBody, reqEditors ...RequestEditorFn) (*StartTopPlayerReportJobResponse, error)
func (*ClientWithResponses) StartTopPlayerReportJobWithBodyWithResponse ¶
func (c *ClientWithResponses) StartTopPlayerReportJobWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*StartTopPlayerReportJobResponse, error)
StartTopPlayerReportJobWithBodyWithResponse request with arbitrary body returning *StartTopPlayerReportJobResponse
func (*ClientWithResponses) StartTopPlayerReportJobWithResponse ¶
func (c *ClientWithResponses) StartTopPlayerReportJobWithResponse(ctx context.Context, body StartTopPlayerReportJobJSONRequestBody, reqEditors ...RequestEditorFn) (*StartTopPlayerReportJobResponse, error)
func (*ClientWithResponses) UpdateComplianceWithApplicationWildcardPlusJSONBodyWithResponse ¶
func (c *ClientWithResponses) UpdateComplianceWithApplicationWildcardPlusJSONBodyWithResponse(ctx context.Context, eventId EventID, body UpdateComplianceApplicationWildcardPlusJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateComplianceResponse, error)
func (*ClientWithResponses) UpdateComplianceWithBodyWithResponse ¶
func (c *ClientWithResponses) UpdateComplianceWithBodyWithResponse(ctx context.Context, eventId EventID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateComplianceResponse, error)
UpdateComplianceWithBodyWithResponse request with arbitrary body returning *UpdateComplianceResponse
func (*ClientWithResponses) UpdateComplianceWithResponse ¶
func (c *ClientWithResponses) UpdateComplianceWithResponse(ctx context.Context, eventId EventID, body UpdateComplianceJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateComplianceResponse, error)
func (*ClientWithResponses) UpdateOfficialWithApplicationWildcardPlusJSONBodyWithResponse ¶
func (c *ClientWithResponses) UpdateOfficialWithApplicationWildcardPlusJSONBodyWithResponse(ctx context.Context, eventId EventID, officialId string, body UpdateOfficialApplicationWildcardPlusJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateOfficialResponse, error)
func (*ClientWithResponses) UpdateOfficialWithBodyWithResponse ¶
func (c *ClientWithResponses) UpdateOfficialWithBodyWithResponse(ctx context.Context, eventId EventID, officialId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateOfficialResponse, error)
UpdateOfficialWithBodyWithResponse request with arbitrary body returning *UpdateOfficialResponse
func (*ClientWithResponses) UpdateOfficialWithResponse ¶
func (c *ClientWithResponses) UpdateOfficialWithResponse(ctx context.Context, eventId EventID, officialId string, body UpdateOfficialJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateOfficialResponse, error)
func (*ClientWithResponses) UpdatePendingEventWithApplicationWildcardPlusJSONBodyWithResponse ¶
func (c *ClientWithResponses) UpdatePendingEventWithApplicationWildcardPlusJSONBodyWithResponse(ctx context.Context, eventId EventID, body UpdatePendingEventApplicationWildcardPlusJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdatePendingEventResponse, error)
func (*ClientWithResponses) UpdatePendingEventWithBodyWithResponse ¶
func (c *ClientWithResponses) UpdatePendingEventWithBodyWithResponse(ctx context.Context, eventId EventID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdatePendingEventResponse, error)
UpdatePendingEventWithBodyWithResponse request with arbitrary body returning *UpdatePendingEventResponse
func (*ClientWithResponses) UpdatePendingEventWithResponse ¶
func (c *ClientWithResponses) UpdatePendingEventWithResponse(ctx context.Context, eventId EventID, body UpdatePendingEventJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdatePendingEventResponse, error)
func (*ClientWithResponses) UpdatePendingGameWithApplicationWildcardPlusJSONBodyWithResponse ¶
func (c *ClientWithResponses) UpdatePendingGameWithApplicationWildcardPlusJSONBodyWithResponse(ctx context.Context, pendingEventId EventID, pendingSectionId SectionID, pendingGameId string, body UpdatePendingGameApplicationWildcardPlusJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdatePendingGameResponse, error)
func (*ClientWithResponses) UpdatePendingGameWithBodyWithResponse ¶
func (c *ClientWithResponses) UpdatePendingGameWithBodyWithResponse(ctx context.Context, pendingEventId EventID, pendingSectionId SectionID, pendingGameId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdatePendingGameResponse, error)
UpdatePendingGameWithBodyWithResponse request with arbitrary body returning *UpdatePendingGameResponse
func (*ClientWithResponses) UpdatePendingGameWithResponse ¶
func (c *ClientWithResponses) UpdatePendingGameWithResponse(ctx context.Context, pendingEventId EventID, pendingSectionId SectionID, pendingGameId string, body UpdatePendingGameJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdatePendingGameResponse, error)
func (*ClientWithResponses) UpdatePendingPlayerWithApplicationWildcardPlusJSONBodyWithResponse ¶
func (c *ClientWithResponses) UpdatePendingPlayerWithApplicationWildcardPlusJSONBodyWithResponse(ctx context.Context, pendingEventId EventID, sectionId SectionID, playerId string, body UpdatePendingPlayerApplicationWildcardPlusJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdatePendingPlayerResponse, error)
func (*ClientWithResponses) UpdatePendingPlayerWithBodyWithResponse ¶
func (c *ClientWithResponses) UpdatePendingPlayerWithBodyWithResponse(ctx context.Context, pendingEventId EventID, sectionId SectionID, playerId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdatePendingPlayerResponse, error)
UpdatePendingPlayerWithBodyWithResponse request with arbitrary body returning *UpdatePendingPlayerResponse
func (*ClientWithResponses) UpdatePendingPlayerWithResponse ¶
func (c *ClientWithResponses) UpdatePendingPlayerWithResponse(ctx context.Context, pendingEventId EventID, sectionId SectionID, playerId string, body UpdatePendingPlayerJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdatePendingPlayerResponse, error)
func (*ClientWithResponses) UpdatePendingSectionWithApplicationWildcardPlusJSONBodyWithResponse ¶
func (c *ClientWithResponses) UpdatePendingSectionWithApplicationWildcardPlusJSONBodyWithResponse(ctx context.Context, eventId EventID, sectionId SectionID, body UpdatePendingSectionApplicationWildcardPlusJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdatePendingSectionResponse, error)
func (*ClientWithResponses) UpdatePendingSectionWithBodyWithResponse ¶
func (c *ClientWithResponses) UpdatePendingSectionWithBodyWithResponse(ctx context.Context, eventId EventID, sectionId SectionID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdatePendingSectionResponse, error)
UpdatePendingSectionWithBodyWithResponse request with arbitrary body returning *UpdatePendingSectionResponse
func (*ClientWithResponses) UpdatePendingSectionWithResponse ¶
func (c *ClientWithResponses) UpdatePendingSectionWithResponse(ctx context.Context, eventId EventID, sectionId SectionID, body UpdatePendingSectionJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdatePendingSectionResponse, error)
func (*ClientWithResponses) UpdateReviewWithApplicationWildcardPlusJSONBodyWithResponse ¶
func (c *ClientWithResponses) UpdateReviewWithApplicationWildcardPlusJSONBodyWithResponse(ctx context.Context, eventId EventID, body UpdateReviewApplicationWildcardPlusJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateReviewResponse, error)
func (*ClientWithResponses) UpdateReviewWithBodyWithResponse ¶
func (c *ClientWithResponses) UpdateReviewWithBodyWithResponse(ctx context.Context, eventId EventID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateReviewResponse, error)
UpdateReviewWithBodyWithResponse request with arbitrary body returning *UpdateReviewResponse
func (*ClientWithResponses) UpdateReviewWithResponse ¶
func (c *ClientWithResponses) UpdateReviewWithResponse(ctx context.Context, eventId EventID, body UpdateReviewJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateReviewResponse, error)
func (*ClientWithResponses) UploadWithBodyWithResponse ¶
func (c *ClientWithResponses) UploadWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UploadResponse, error)
UploadWithBodyWithResponse request with arbitrary body returning *UploadResponse
func (*ClientWithResponses) ValidatePendingEventWithResponse ¶
func (c *ClientWithResponses) ValidatePendingEventWithResponse(ctx context.Context, eventId EventID, reqEditors ...RequestEditorFn) (*ValidatePendingEventResponse, error)
ValidatePendingEventWithResponse request returning *ValidatePendingEventResponse
type ClientWithResponsesInterface ¶
type ClientWithResponsesInterface interface {
// GetAffiliatesPageWithResponse request
GetAffiliatesPageWithResponse(ctx context.Context, params *GetAffiliatesPageParams, reqEditors ...RequestEditorFn) (*GetAffiliatesPageResponse, error)
// GetAffiliateWithResponse request
GetAffiliateWithResponse(ctx context.Context, affiliateId AffiliateID, reqEditors ...RequestEditorFn) (*GetAffiliateResponse, error)
// GetAffiliateRatedEventsWithResponse request
GetAffiliateRatedEventsWithResponse(ctx context.Context, affiliateId AffiliateID, params *GetAffiliateRatedEventsParams, reqEditors ...RequestEditorFn) (*GetAffiliateRatedEventsResponse, error)
// UploadWithBodyWithResponse request with any body
UploadWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UploadResponse, error)
// GetGrandPrixSectionsWithResponse request
GetGrandPrixSectionsWithResponse(ctx context.Context, year int32, params *GetGrandPrixSectionsParams, reqEditors ...RequestEditorFn) (*GetGrandPrixSectionsResponse, error)
// GetGrandPrixStandingsWithResponse request
GetGrandPrixStandingsWithResponse(ctx context.Context, params *GetGrandPrixStandingsParams, reqEditors ...RequestEditorFn) (*GetGrandPrixStandingsResponse, error)
// GetMembersPageWithResponse request
GetMembersPageWithResponse(ctx context.Context, params *GetMembersPageParams, reqEditors ...RequestEditorFn) (*GetMembersPageResponse, error)
// GetMaxRanksWithResponse request
GetMaxRanksWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetMaxRanksResponse, error)
// GetUnofficialRankLookupWithResponse request
GetUnofficialRankLookupWithResponse(ctx context.Context, ratingSource RatingType, params *GetUnofficialRankLookupParams, reqEditors ...RequestEditorFn) (*GetUnofficialRankLookupResponse, error)
// GetMemberWithResponse request
GetMemberWithResponse(ctx context.Context, memberId MemberID, reqEditors ...RequestEditorFn) (*GetMemberResponse, error)
// GetMemberAwardsPageWithResponse request
GetMemberAwardsPageWithResponse(ctx context.Context, memberId MemberID, params *GetMemberAwardsPageParams, reqEditors ...RequestEditorFn) (*GetMemberAwardsPageResponse, error)
// GetMemberDirectorshipsPageWithResponse request
GetMemberDirectorshipsPageWithResponse(ctx context.Context, memberId MemberID, params *GetMemberDirectorshipsPageParams, reqEditors ...RequestEditorFn) (*GetMemberDirectorshipsPageResponse, error)
// GetMemberRatedEventsPageWithResponse request
GetMemberRatedEventsPageWithResponse(ctx context.Context, memberId MemberID, params *GetMemberRatedEventsPageParams, reqEditors ...RequestEditorFn) (*GetMemberRatedEventsPageResponse, error)
// GetMemberRatedGamesWithResponse request
GetMemberRatedGamesWithResponse(ctx context.Context, memberId MemberID, params *GetMemberRatedGamesParams, reqEditors ...RequestEditorFn) (*GetMemberRatedGamesResponse, error)
// GetNormsWithResponse request
GetNormsWithResponse(ctx context.Context, memberId MemberID, reqEditors ...RequestEditorFn) (*GetNormsResponse, error)
// GetRatingSupplementsPageWithResponse request
GetRatingSupplementsPageWithResponse(ctx context.Context, memberId MemberID, params *GetRatingSupplementsPageParams, reqEditors ...RequestEditorFn) (*GetRatingSupplementsPageResponse, error)
// GetMemberRatedSectionsPageWithResponse request
GetMemberRatedSectionsPageWithResponse(ctx context.Context, memberId MemberID, params *GetMemberRatedSectionsPageParams, reqEditors ...RequestEditorFn) (*GetMemberRatedSectionsPageResponse, error)
// GetTopPlayersReportForMemberWithResponse request
GetTopPlayersReportForMemberWithResponse(ctx context.Context, memberId MemberID, params *GetTopPlayersReportForMemberParams, reqEditors ...RequestEditorFn) (*GetTopPlayersReportForMemberResponse, error)
// GetPendingEventsPageWithResponse request
GetPendingEventsPageWithResponse(ctx context.Context, params *GetPendingEventsPageParams, reqEditors ...RequestEditorFn) (*GetPendingEventsPageResponse, error)
// CreatePendingEventWithBodyWithResponse request with any body
CreatePendingEventWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreatePendingEventResponse, error)
CreatePendingEventWithApplicationWildcardPlusJSONBodyWithResponse(ctx context.Context, body CreatePendingEventApplicationWildcardPlusJSONRequestBody, reqEditors ...RequestEditorFn) (*CreatePendingEventResponse, error)
CreatePendingEventWithResponse(ctx context.Context, body CreatePendingEventJSONRequestBody, reqEditors ...RequestEditorFn) (*CreatePendingEventResponse, error)
// GetPendingEventBySectionIdWithResponse request
GetPendingEventBySectionIdWithResponse(ctx context.Context, sectionId SectionID, reqEditors ...RequestEditorFn) (*GetPendingEventBySectionIdResponse, error)
// DeletePendingEventWithResponse request
DeletePendingEventWithResponse(ctx context.Context, eventId EventID, reqEditors ...RequestEditorFn) (*DeletePendingEventResponse, error)
// GetPendingEventWithResponse request
GetPendingEventWithResponse(ctx context.Context, eventId EventID, reqEditors ...RequestEditorFn) (*GetPendingEventResponse, error)
// UpdatePendingEventWithBodyWithResponse request with any body
UpdatePendingEventWithBodyWithResponse(ctx context.Context, eventId EventID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdatePendingEventResponse, error)
UpdatePendingEventWithApplicationWildcardPlusJSONBodyWithResponse(ctx context.Context, eventId EventID, body UpdatePendingEventApplicationWildcardPlusJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdatePendingEventResponse, error)
UpdatePendingEventWithResponse(ctx context.Context, eventId EventID, body UpdatePendingEventJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdatePendingEventResponse, error)
// UpdateComplianceWithBodyWithResponse request with any body
UpdateComplianceWithBodyWithResponse(ctx context.Context, eventId EventID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateComplianceResponse, error)
UpdateComplianceWithApplicationWildcardPlusJSONBodyWithResponse(ctx context.Context, eventId EventID, body UpdateComplianceApplicationWildcardPlusJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateComplianceResponse, error)
UpdateComplianceWithResponse(ctx context.Context, eventId EventID, body UpdateComplianceJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateComplianceResponse, error)
// ListAllPendingGamesWithResponse request
ListAllPendingGamesWithResponse(ctx context.Context, eventId EventID, reqEditors ...RequestEditorFn) (*ListAllPendingGamesResponse, error)
// ListPendingEventOfficialsWithResponse request
ListPendingEventOfficialsWithResponse(ctx context.Context, eventId EventID, reqEditors ...RequestEditorFn) (*ListPendingEventOfficialsResponse, error)
// AddOfficialWithBodyWithResponse request with any body
AddOfficialWithBodyWithResponse(ctx context.Context, eventId EventID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AddOfficialResponse, error)
AddOfficialWithApplicationWildcardPlusJSONBodyWithResponse(ctx context.Context, eventId EventID, body AddOfficialApplicationWildcardPlusJSONRequestBody, reqEditors ...RequestEditorFn) (*AddOfficialResponse, error)
AddOfficialWithResponse(ctx context.Context, eventId EventID, body AddOfficialJSONRequestBody, reqEditors ...RequestEditorFn) (*AddOfficialResponse, error)
// DeleteOfficialWithResponse request
DeleteOfficialWithResponse(ctx context.Context, eventId EventID, officialId string, reqEditors ...RequestEditorFn) (*DeleteOfficialResponse, error)
// GetOfficialWithResponse request
GetOfficialWithResponse(ctx context.Context, eventId EventID, officialId string, reqEditors ...RequestEditorFn) (*GetOfficialResponse, error)
// UpdateOfficialWithBodyWithResponse request with any body
UpdateOfficialWithBodyWithResponse(ctx context.Context, eventId EventID, officialId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateOfficialResponse, error)
UpdateOfficialWithApplicationWildcardPlusJSONBodyWithResponse(ctx context.Context, eventId EventID, officialId string, body UpdateOfficialApplicationWildcardPlusJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateOfficialResponse, error)
UpdateOfficialWithResponse(ctx context.Context, eventId EventID, officialId string, body UpdateOfficialJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateOfficialResponse, error)
// ListAllPendingPlayersWithResponse request
ListAllPendingPlayersWithResponse(ctx context.Context, eventId EventID, reqEditors ...RequestEditorFn) (*ListAllPendingPlayersResponse, error)
// ReleaseForReviewWithBodyWithResponse request with any body
ReleaseForReviewWithBodyWithResponse(ctx context.Context, eventId EventID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ReleaseForReviewResponse, error)
ReleaseForReviewWithApplicationWildcardPlusJSONBodyWithResponse(ctx context.Context, eventId EventID, body ReleaseForReviewApplicationWildcardPlusJSONRequestBody, reqEditors ...RequestEditorFn) (*ReleaseForReviewResponse, error)
ReleaseForReviewWithResponse(ctx context.Context, eventId EventID, body ReleaseForReviewJSONRequestBody, reqEditors ...RequestEditorFn) (*ReleaseForReviewResponse, error)
// UpdateReviewWithBodyWithResponse request with any body
UpdateReviewWithBodyWithResponse(ctx context.Context, eventId EventID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateReviewResponse, error)
UpdateReviewWithApplicationWildcardPlusJSONBodyWithResponse(ctx context.Context, eventId EventID, body UpdateReviewApplicationWildcardPlusJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateReviewResponse, error)
UpdateReviewWithResponse(ctx context.Context, eventId EventID, body UpdateReviewJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateReviewResponse, error)
// ListPendingSectionsWithResponse request
ListPendingSectionsWithResponse(ctx context.Context, eventId EventID, reqEditors ...RequestEditorFn) (*ListPendingSectionsResponse, error)
// CreatePendingSectionWithBodyWithResponse request with any body
CreatePendingSectionWithBodyWithResponse(ctx context.Context, eventId EventID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreatePendingSectionResponse, error)
CreatePendingSectionWithApplicationWildcardPlusJSONBodyWithResponse(ctx context.Context, eventId EventID, body CreatePendingSectionApplicationWildcardPlusJSONRequestBody, reqEditors ...RequestEditorFn) (*CreatePendingSectionResponse, error)
CreatePendingSectionWithResponse(ctx context.Context, eventId EventID, body CreatePendingSectionJSONRequestBody, reqEditors ...RequestEditorFn) (*CreatePendingSectionResponse, error)
// DeletePendingSectionWithResponse request
DeletePendingSectionWithResponse(ctx context.Context, eventId EventID, sectionId SectionID, reqEditors ...RequestEditorFn) (*DeletePendingSectionResponse, error)
// GetPendingSectionWithResponse request
GetPendingSectionWithResponse(ctx context.Context, eventId EventID, sectionId SectionID, reqEditors ...RequestEditorFn) (*GetPendingSectionResponse, error)
// UpdatePendingSectionWithBodyWithResponse request with any body
UpdatePendingSectionWithBodyWithResponse(ctx context.Context, eventId EventID, sectionId SectionID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdatePendingSectionResponse, error)
UpdatePendingSectionWithApplicationWildcardPlusJSONBodyWithResponse(ctx context.Context, eventId EventID, sectionId SectionID, body UpdatePendingSectionApplicationWildcardPlusJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdatePendingSectionResponse, error)
UpdatePendingSectionWithResponse(ctx context.Context, eventId EventID, sectionId SectionID, body UpdatePendingSectionJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdatePendingSectionResponse, error)
// ListUnplayedRoundsWithResponse request
ListUnplayedRoundsWithResponse(ctx context.Context, eventId EventID, sectionId SectionID, params *ListUnplayedRoundsParams, reqEditors ...RequestEditorFn) (*ListUnplayedRoundsResponse, error)
// CreateUnplayedRoundWithBodyWithResponse request with any body
CreateUnplayedRoundWithBodyWithResponse(ctx context.Context, eventId EventID, sectionId SectionID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateUnplayedRoundResponse, error)
CreateUnplayedRoundWithApplicationWildcardPlusJSONBodyWithResponse(ctx context.Context, eventId EventID, sectionId SectionID, body CreateUnplayedRoundApplicationWildcardPlusJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateUnplayedRoundResponse, error)
CreateUnplayedRoundWithResponse(ctx context.Context, eventId EventID, sectionId SectionID, body CreateUnplayedRoundJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateUnplayedRoundResponse, error)
// DeleteUnplayedRoundWithResponse request
DeleteUnplayedRoundWithResponse(ctx context.Context, eventId EventID, sectionId SectionID, roundNumber int32, params *DeleteUnplayedRoundParams, reqEditors ...RequestEditorFn) (*DeleteUnplayedRoundResponse, error)
// AddEntireUnpairedRoundWithResponse request
AddEntireUnpairedRoundWithResponse(ctx context.Context, eventId EventID, sectionId SectionID, reqEditors ...RequestEditorFn) (*AddEntireUnpairedRoundResponse, error)
// DeleteEntirePendingRoundWithResponse request
DeleteEntirePendingRoundWithResponse(ctx context.Context, eventId EventID, sectionId SectionID, roundNumber int32, reqEditors ...RequestEditorFn) (*DeleteEntirePendingRoundResponse, error)
// ListRoundUnpairedPlayersWithResponse request
ListRoundUnpairedPlayersWithResponse(ctx context.Context, eventId EventID, sectionId SectionID, roundNumber int32, params *ListRoundUnpairedPlayersParams, reqEditors ...RequestEditorFn) (*ListRoundUnpairedPlayersResponse, error)
// ValidatePendingEventWithResponse request
ValidatePendingEventWithResponse(ctx context.Context, eventId EventID, reqEditors ...RequestEditorFn) (*ValidatePendingEventResponse, error)
// ListPendingGamesWithResponse request
ListPendingGamesWithResponse(ctx context.Context, pendingEventId EventID, pendingSectionId SectionID, reqEditors ...RequestEditorFn) (*ListPendingGamesResponse, error)
// CreatePendingGameWithBodyWithResponse request with any body
CreatePendingGameWithBodyWithResponse(ctx context.Context, pendingEventId EventID, pendingSectionId SectionID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreatePendingGameResponse, error)
CreatePendingGameWithApplicationWildcardPlusJSONBodyWithResponse(ctx context.Context, pendingEventId EventID, pendingSectionId SectionID, body CreatePendingGameApplicationWildcardPlusJSONRequestBody, reqEditors ...RequestEditorFn) (*CreatePendingGameResponse, error)
CreatePendingGameWithResponse(ctx context.Context, pendingEventId EventID, pendingSectionId SectionID, body CreatePendingGameJSONRequestBody, reqEditors ...RequestEditorFn) (*CreatePendingGameResponse, error)
// DeletePendingGameWithResponse request
DeletePendingGameWithResponse(ctx context.Context, pendingEventId EventID, pendingSectionId SectionID, pendingGameId string, reqEditors ...RequestEditorFn) (*DeletePendingGameResponse, error)
// GetPendingGameWithResponse request
GetPendingGameWithResponse(ctx context.Context, pendingEventId EventID, pendingSectionId SectionID, pendingGameId string, reqEditors ...RequestEditorFn) (*GetPendingGameResponse, error)
// UpdatePendingGameWithBodyWithResponse request with any body
UpdatePendingGameWithBodyWithResponse(ctx context.Context, pendingEventId EventID, pendingSectionId SectionID, pendingGameId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdatePendingGameResponse, error)
UpdatePendingGameWithApplicationWildcardPlusJSONBodyWithResponse(ctx context.Context, pendingEventId EventID, pendingSectionId SectionID, pendingGameId string, body UpdatePendingGameApplicationWildcardPlusJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdatePendingGameResponse, error)
UpdatePendingGameWithResponse(ctx context.Context, pendingEventId EventID, pendingSectionId SectionID, pendingGameId string, body UpdatePendingGameJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdatePendingGameResponse, error)
// ListPendingPlayersWithResponse request
ListPendingPlayersWithResponse(ctx context.Context, pendingEventId EventID, sectionId SectionID, params *ListPendingPlayersParams, reqEditors ...RequestEditorFn) (*ListPendingPlayersResponse, error)
// CreatePendingPlayerWithBodyWithResponse request with any body
CreatePendingPlayerWithBodyWithResponse(ctx context.Context, pendingEventId EventID, sectionId SectionID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreatePendingPlayerResponse, error)
CreatePendingPlayerWithApplicationWildcardPlusJSONBodyWithResponse(ctx context.Context, pendingEventId EventID, sectionId SectionID, body CreatePendingPlayerApplicationWildcardPlusJSONRequestBody, reqEditors ...RequestEditorFn) (*CreatePendingPlayerResponse, error)
CreatePendingPlayerWithResponse(ctx context.Context, pendingEventId EventID, sectionId SectionID, body CreatePendingPlayerJSONRequestBody, reqEditors ...RequestEditorFn) (*CreatePendingPlayerResponse, error)
// DeletePendingPlayerWithResponse request
DeletePendingPlayerWithResponse(ctx context.Context, pendingEventId EventID, sectionId SectionID, playerId string, reqEditors ...RequestEditorFn) (*DeletePendingPlayerResponse, error)
// GetPendingPlayerWithResponse request
GetPendingPlayerWithResponse(ctx context.Context, pendingEventId EventID, sectionId SectionID, playerId string, reqEditors ...RequestEditorFn) (*GetPendingPlayerResponse, error)
// UpdatePendingPlayerWithBodyWithResponse request with any body
UpdatePendingPlayerWithBodyWithResponse(ctx context.Context, pendingEventId EventID, sectionId SectionID, playerId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdatePendingPlayerResponse, error)
UpdatePendingPlayerWithApplicationWildcardPlusJSONBodyWithResponse(ctx context.Context, pendingEventId EventID, sectionId SectionID, playerId string, body UpdatePendingPlayerApplicationWildcardPlusJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdatePendingPlayerResponse, error)
UpdatePendingPlayerWithResponse(ctx context.Context, pendingEventId EventID, sectionId SectionID, playerId string, body UpdatePendingPlayerJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdatePendingPlayerResponse, error)
// GetPromoCodesPageWithResponse request
GetPromoCodesPageWithResponse(ctx context.Context, params *GetPromoCodesPageParams, reqEditors ...RequestEditorFn) (*GetPromoCodesPageResponse, error)
// GetPromoCodeByDiscountCodeWithResponse request
GetPromoCodeByDiscountCodeWithResponse(ctx context.Context, discountCode string, reqEditors ...RequestEditorFn) (*GetPromoCodeByDiscountCodeResponse, error)
// GetPromoCodeWithResponse request
GetPromoCodeWithResponse(ctx context.Context, promoCodeId string, reqEditors ...RequestEditorFn) (*GetPromoCodeResponse, error)
// GetRatedEventsPageWithResponse request
GetRatedEventsPageWithResponse(ctx context.Context, params *GetRatedEventsPageParams, reqEditors ...RequestEditorFn) (*GetRatedEventsPageResponse, error)
// GetRatedEventWithResponse request
GetRatedEventWithResponse(ctx context.Context, eventId EventID, reqEditors ...RequestEditorFn) (*GetRatedEventResponse, error)
// ListRatedEventOfficialsWithResponse request
ListRatedEventOfficialsWithResponse(ctx context.Context, eventId EventID, reqEditors ...RequestEditorFn) (*ListRatedEventOfficialsResponse, error)
// GetRatedEventSectionDetailWithResponse request
GetRatedEventSectionDetailWithResponse(ctx context.Context, eventId EventID, sectionNumber int32, reqEditors ...RequestEditorFn) (*GetRatedEventSectionDetailResponse, error)
// GetRatedEventStandingsPageWithResponse request
GetRatedEventStandingsPageWithResponse(ctx context.Context, eventId EventID, sectionNumber int32, params *GetRatedEventStandingsPageParams, reqEditors ...RequestEditorFn) (*GetRatedEventStandingsPageResponse, error)
// GetRatedSectionsPageWithResponse request
GetRatedSectionsPageWithResponse(ctx context.Context, params *GetRatedSectionsPageParams, reqEditors ...RequestEditorFn) (*GetRatedSectionsPageResponse, error)
// GetReportDefinitionsWithResponse request
GetReportDefinitionsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetReportDefinitionsResponse, error)
// StartTopPlayerReportJobWithBodyWithResponse request with any body
StartTopPlayerReportJobWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*StartTopPlayerReportJobResponse, error)
StartTopPlayerReportJobWithApplicationWildcardPlusJSONBodyWithResponse(ctx context.Context, body StartTopPlayerReportJobApplicationWildcardPlusJSONRequestBody, reqEditors ...RequestEditorFn) (*StartTopPlayerReportJobResponse, error)
StartTopPlayerReportJobWithResponse(ctx context.Context, body StartTopPlayerReportJobJSONRequestBody, reqEditors ...RequestEditorFn) (*StartTopPlayerReportJobResponse, error)
// GetReportWithResponse request
GetReportWithResponse(ctx context.Context, definitionId string, params *GetReportParams, reqEditors ...RequestEditorFn) (*GetReportResponse, error)
}
ClientWithResponsesInterface is the interface specification for the client with responses above.
type CreatePendingEventApplicationWildcardPlusJSONBody ¶
type CreatePendingEventApplicationWildcardPlusJSONBody = PendingEventCreate
CreatePendingEventApplicationWildcardPlusJSONBody defines parameters for CreatePendingEvent.
type CreatePendingEventApplicationWildcardPlusJSONRequestBody ¶
type CreatePendingEventApplicationWildcardPlusJSONRequestBody = CreatePendingEventApplicationWildcardPlusJSONBody
CreatePendingEventApplicationWildcardPlusJSONRequestBody defines body for CreatePendingEvent for application/*+json ContentType.
type CreatePendingEventJSONBody ¶
type CreatePendingEventJSONBody = PendingEventCreate
CreatePendingEventJSONBody defines parameters for CreatePendingEvent.
type CreatePendingEventJSONRequestBody ¶
type CreatePendingEventJSONRequestBody = CreatePendingEventJSONBody
CreatePendingEventJSONRequestBody defines body for CreatePendingEvent for application/json ContentType.
type CreatePendingEventResponse ¶
type CreatePendingEventResponse struct {
Body []byte
HTTPResponse *http.Response
JSON201 *PendingEventDetail
JSON400 *ProblemDetails
}
func ParseCreatePendingEventResponse ¶
func ParseCreatePendingEventResponse(rsp *http.Response) (*CreatePendingEventResponse, error)
ParseCreatePendingEventResponse parses an HTTP response from a CreatePendingEventWithResponse call
func (CreatePendingEventResponse) ContentType ¶
func (r CreatePendingEventResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (CreatePendingEventResponse) Status ¶
func (r CreatePendingEventResponse) Status() string
Status returns HTTPResponse.Status
func (CreatePendingEventResponse) StatusCode ¶
func (r CreatePendingEventResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreatePendingGameApplicationWildcardPlusJSONBody ¶
type CreatePendingGameApplicationWildcardPlusJSONBody = PendingGameCreate
CreatePendingGameApplicationWildcardPlusJSONBody defines parameters for CreatePendingGame.
type CreatePendingGameApplicationWildcardPlusJSONRequestBody ¶
type CreatePendingGameApplicationWildcardPlusJSONRequestBody = CreatePendingGameApplicationWildcardPlusJSONBody
CreatePendingGameApplicationWildcardPlusJSONRequestBody defines body for CreatePendingGame for application/*+json ContentType.
type CreatePendingGameJSONBody ¶
type CreatePendingGameJSONBody = PendingGameCreate
CreatePendingGameJSONBody defines parameters for CreatePendingGame.
type CreatePendingGameJSONRequestBody ¶
type CreatePendingGameJSONRequestBody = CreatePendingGameJSONBody
CreatePendingGameJSONRequestBody defines body for CreatePendingGame for application/json ContentType.
type CreatePendingGameResponse ¶
type CreatePendingGameResponse struct {
Body []byte
HTTPResponse *http.Response
JSON201 *PendingGame
JSON400 *ProblemDetails
}
func ParseCreatePendingGameResponse ¶
func ParseCreatePendingGameResponse(rsp *http.Response) (*CreatePendingGameResponse, error)
ParseCreatePendingGameResponse parses an HTTP response from a CreatePendingGameWithResponse call
func (CreatePendingGameResponse) ContentType ¶
func (r CreatePendingGameResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (CreatePendingGameResponse) Status ¶
func (r CreatePendingGameResponse) Status() string
Status returns HTTPResponse.Status
func (CreatePendingGameResponse) StatusCode ¶
func (r CreatePendingGameResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreatePendingPlayerApplicationWildcardPlusJSONBody ¶
type CreatePendingPlayerApplicationWildcardPlusJSONBody = PendingPlayerCreate
CreatePendingPlayerApplicationWildcardPlusJSONBody defines parameters for CreatePendingPlayer.
type CreatePendingPlayerApplicationWildcardPlusJSONRequestBody ¶
type CreatePendingPlayerApplicationWildcardPlusJSONRequestBody = CreatePendingPlayerApplicationWildcardPlusJSONBody
CreatePendingPlayerApplicationWildcardPlusJSONRequestBody defines body for CreatePendingPlayer for application/*+json ContentType.
type CreatePendingPlayerJSONBody ¶
type CreatePendingPlayerJSONBody = PendingPlayerCreate
CreatePendingPlayerJSONBody defines parameters for CreatePendingPlayer.
type CreatePendingPlayerJSONRequestBody ¶
type CreatePendingPlayerJSONRequestBody = CreatePendingPlayerJSONBody
CreatePendingPlayerJSONRequestBody defines body for CreatePendingPlayer for application/json ContentType.
type CreatePendingPlayerResponse ¶
type CreatePendingPlayerResponse struct {
Body []byte
HTTPResponse *http.Response
JSON201 *PendingPlayer
JSON400 *ProblemDetails
}
func ParseCreatePendingPlayerResponse ¶
func ParseCreatePendingPlayerResponse(rsp *http.Response) (*CreatePendingPlayerResponse, error)
ParseCreatePendingPlayerResponse parses an HTTP response from a CreatePendingPlayerWithResponse call
func (CreatePendingPlayerResponse) ContentType ¶
func (r CreatePendingPlayerResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (CreatePendingPlayerResponse) Status ¶
func (r CreatePendingPlayerResponse) Status() string
Status returns HTTPResponse.Status
func (CreatePendingPlayerResponse) StatusCode ¶
func (r CreatePendingPlayerResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreatePendingSectionApplicationWildcardPlusJSONBody ¶
type CreatePendingSectionApplicationWildcardPlusJSONBody = PendingSectionCreate
CreatePendingSectionApplicationWildcardPlusJSONBody defines parameters for CreatePendingSection.
type CreatePendingSectionApplicationWildcardPlusJSONRequestBody ¶
type CreatePendingSectionApplicationWildcardPlusJSONRequestBody = CreatePendingSectionApplicationWildcardPlusJSONBody
CreatePendingSectionApplicationWildcardPlusJSONRequestBody defines body for CreatePendingSection for application/*+json ContentType.
type CreatePendingSectionJSONBody ¶
type CreatePendingSectionJSONBody = PendingSectionCreate
CreatePendingSectionJSONBody defines parameters for CreatePendingSection.
type CreatePendingSectionJSONRequestBody ¶
type CreatePendingSectionJSONRequestBody = CreatePendingSectionJSONBody
CreatePendingSectionJSONRequestBody defines body for CreatePendingSection for application/json ContentType.
type CreatePendingSectionResponse ¶
type CreatePendingSectionResponse struct {
Body []byte
HTTPResponse *http.Response
JSON201 *PendingSectionDetail
JSON400 *ProblemDetails
}
func ParseCreatePendingSectionResponse ¶
func ParseCreatePendingSectionResponse(rsp *http.Response) (*CreatePendingSectionResponse, error)
ParseCreatePendingSectionResponse parses an HTTP response from a CreatePendingSectionWithResponse call
func (CreatePendingSectionResponse) ContentType ¶
func (r CreatePendingSectionResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (CreatePendingSectionResponse) Status ¶
func (r CreatePendingSectionResponse) Status() string
Status returns HTTPResponse.Status
func (CreatePendingSectionResponse) StatusCode ¶
func (r CreatePendingSectionResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateUnplayedRoundApplicationWildcardPlusJSONBody ¶
type CreateUnplayedRoundApplicationWildcardPlusJSONBody = UnplayedRoundCreate
CreateUnplayedRoundApplicationWildcardPlusJSONBody defines parameters for CreateUnplayedRound.
type CreateUnplayedRoundApplicationWildcardPlusJSONRequestBody ¶
type CreateUnplayedRoundApplicationWildcardPlusJSONRequestBody = CreateUnplayedRoundApplicationWildcardPlusJSONBody
CreateUnplayedRoundApplicationWildcardPlusJSONRequestBody defines body for CreateUnplayedRound for application/*+json ContentType.
type CreateUnplayedRoundJSONBody ¶
type CreateUnplayedRoundJSONBody = UnplayedRoundCreate
CreateUnplayedRoundJSONBody defines parameters for CreateUnplayedRound.
type CreateUnplayedRoundJSONRequestBody ¶
type CreateUnplayedRoundJSONRequestBody = CreateUnplayedRoundJSONBody
CreateUnplayedRoundJSONRequestBody defines body for CreateUnplayedRound for application/json ContentType.
type CreateUnplayedRoundResponse ¶
type CreateUnplayedRoundResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *UnplayedRound
}
func ParseCreateUnplayedRoundResponse ¶
func ParseCreateUnplayedRoundResponse(rsp *http.Response) (*CreateUnplayedRoundResponse, error)
ParseCreateUnplayedRoundResponse parses an HTTP response from a CreateUnplayedRoundWithResponse call
func (CreateUnplayedRoundResponse) ContentType ¶
func (r CreateUnplayedRoundResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (CreateUnplayedRoundResponse) Status ¶
func (r CreateUnplayedRoundResponse) Status() string
Status returns HTTPResponse.Status
func (CreateUnplayedRoundResponse) StatusCode ¶
func (r CreateUnplayedRoundResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteEntirePendingRoundResponse ¶
func ParseDeleteEntirePendingRoundResponse ¶
func ParseDeleteEntirePendingRoundResponse(rsp *http.Response) (*DeleteEntirePendingRoundResponse, error)
ParseDeleteEntirePendingRoundResponse parses an HTTP response from a DeleteEntirePendingRoundWithResponse call
func (DeleteEntirePendingRoundResponse) ContentType ¶
func (r DeleteEntirePendingRoundResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (DeleteEntirePendingRoundResponse) Status ¶
func (r DeleteEntirePendingRoundResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteEntirePendingRoundResponse) StatusCode ¶
func (r DeleteEntirePendingRoundResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteOfficialResponse ¶
func ParseDeleteOfficialResponse ¶
func ParseDeleteOfficialResponse(rsp *http.Response) (*DeleteOfficialResponse, error)
ParseDeleteOfficialResponse parses an HTTP response from a DeleteOfficialWithResponse call
func (DeleteOfficialResponse) ContentType ¶
func (r DeleteOfficialResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (DeleteOfficialResponse) Status ¶
func (r DeleteOfficialResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteOfficialResponse) StatusCode ¶
func (r DeleteOfficialResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeletePendingEventResponse ¶
type DeletePendingEventResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *PendingEventDetail
}
func ParseDeletePendingEventResponse ¶
func ParseDeletePendingEventResponse(rsp *http.Response) (*DeletePendingEventResponse, error)
ParseDeletePendingEventResponse parses an HTTP response from a DeletePendingEventWithResponse call
func (DeletePendingEventResponse) ContentType ¶
func (r DeletePendingEventResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (DeletePendingEventResponse) Status ¶
func (r DeletePendingEventResponse) Status() string
Status returns HTTPResponse.Status
func (DeletePendingEventResponse) StatusCode ¶
func (r DeletePendingEventResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeletePendingGameResponse ¶
func ParseDeletePendingGameResponse ¶
func ParseDeletePendingGameResponse(rsp *http.Response) (*DeletePendingGameResponse, error)
ParseDeletePendingGameResponse parses an HTTP response from a DeletePendingGameWithResponse call
func (DeletePendingGameResponse) ContentType ¶
func (r DeletePendingGameResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (DeletePendingGameResponse) Status ¶
func (r DeletePendingGameResponse) Status() string
Status returns HTTPResponse.Status
func (DeletePendingGameResponse) StatusCode ¶
func (r DeletePendingGameResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeletePendingPlayerResponse ¶
type DeletePendingPlayerResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *[]PendingPlayer
}
func ParseDeletePendingPlayerResponse ¶
func ParseDeletePendingPlayerResponse(rsp *http.Response) (*DeletePendingPlayerResponse, error)
ParseDeletePendingPlayerResponse parses an HTTP response from a DeletePendingPlayerWithResponse call
func (DeletePendingPlayerResponse) ContentType ¶
func (r DeletePendingPlayerResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (DeletePendingPlayerResponse) Status ¶
func (r DeletePendingPlayerResponse) Status() string
Status returns HTTPResponse.Status
func (DeletePendingPlayerResponse) StatusCode ¶
func (r DeletePendingPlayerResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeletePendingSectionResponse ¶
func ParseDeletePendingSectionResponse ¶
func ParseDeletePendingSectionResponse(rsp *http.Response) (*DeletePendingSectionResponse, error)
ParseDeletePendingSectionResponse parses an HTTP response from a DeletePendingSectionWithResponse call
func (DeletePendingSectionResponse) ContentType ¶
func (r DeletePendingSectionResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (DeletePendingSectionResponse) Status ¶
func (r DeletePendingSectionResponse) Status() string
Status returns HTTPResponse.Status
func (DeletePendingSectionResponse) StatusCode ¶
func (r DeletePendingSectionResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteUnplayedRoundParams ¶
type DeleteUnplayedRoundParams struct {
PlayerId *string `form:"playerId,omitempty" json:"playerId,omitempty"`
}
DeleteUnplayedRoundParams defines parameters for DeleteUnplayedRound.
type DeleteUnplayedRoundResponse ¶
func ParseDeleteUnplayedRoundResponse ¶
func ParseDeleteUnplayedRoundResponse(rsp *http.Response) (*DeleteUnplayedRoundResponse, error)
ParseDeleteUnplayedRoundResponse parses an HTTP response from a DeleteUnplayedRoundWithResponse call
func (DeleteUnplayedRoundResponse) ContentType ¶
func (r DeleteUnplayedRoundResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (DeleteUnplayedRoundResponse) Status ¶
func (r DeleteUnplayedRoundResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteUnplayedRoundResponse) StatusCode ¶
func (r DeleteUnplayedRoundResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DiscountType ¶
type DiscountType string
DiscountType defines model for DiscountType.
const ( Fixed DiscountType = "Fixed" Percentage DiscountType = "Percentage" )
Defines values for DiscountType.
func (DiscountType) Valid ¶
func (e DiscountType) Valid() bool
Valid indicates whether the value is a known member of the DiscountType enum.
type DomesticStatus ¶
type DomesticStatus string
DomesticStatus defines model for DomesticStatus.
const ( Domestic DomesticStatus = "Domestic" NonDomestic DomesticStatus = "NonDomestic" )
Defines values for DomesticStatus.
func (DomesticStatus) Valid ¶
func (e DomesticStatus) Valid() bool
Valid indicates whether the value is a known member of the DomesticStatus enum.
type EventCompliance ¶
type EventCompliance struct {
IsComply bool `json:"isComply,omitempty,omitzero"`
}
EventCompliance defines model for EventComplianceDto.
type EventReviewStatus ¶
type EventReviewStatus string
EventReviewStatus defines model for EventReviewStatus.
const ( EventReviewStatusApproved EventReviewStatus = "Approved" EventReviewStatusNone EventReviewStatus = "None" EventReviewStatusRejected EventReviewStatus = "Rejected" EventReviewStatusReviewNeeded EventReviewStatus = "ReviewNeeded" )
Defines values for EventReviewStatus.
func (EventReviewStatus) Valid ¶
func (e EventReviewStatus) Valid() bool
Valid indicates whether the value is a known member of the EventReviewStatus enum.
type EventStatus ¶
type EventStatus string
EventStatus defines model for EventStatus.
const ( EventStatusArchived EventStatus = "Archived" EventStatusCorrection EventStatus = "Correction" EventStatusEntry EventStatus = "Entry" EventStatusRated EventStatus = "Rated" )
Defines values for EventStatus.
func (EventStatus) Valid ¶
func (e EventStatus) Valid() bool
Valid indicates whether the value is a known member of the EventStatus enum.
type EventValidationStatus ¶
type EventValidationStatus string
EventValidationStatus defines model for EventValidationStatus.
const ( EventValidationStatusFatal EventValidationStatus = "Fatal" EventValidationStatusHot EventValidationStatus = "Hot" EventValidationStatusMedium EventValidationStatus = "Medium" EventValidationStatusMild EventValidationStatus = "Mild" EventValidationStatusNone EventValidationStatus = "None" EventValidationStatusValidated EventValidationStatus = "Validated" )
Defines values for EventValidationStatus.
func (EventValidationStatus) Valid ¶
func (e EventValidationStatus) Valid() bool
Valid indicates whether the value is a known member of the EventValidationStatus enum.
type ExemptionStatus ¶
type ExemptionStatus string
ExemptionStatus defines model for ExemptionStatus.
const ( ExemptionStatusHousePlayer ExemptionStatus = "HousePlayer" ExemptionStatusMemberCorrection ExemptionStatus = "MemberCorrection" ExemptionStatusNone ExemptionStatus = "None" )
Defines values for ExemptionStatus.
func (ExemptionStatus) Valid ¶
func (e ExemptionStatus) Valid() bool
Valid indicates whether the value is a known member of the ExemptionStatus enum.
type FieldWithValidation ¶
type FieldWithValidation struct {
Field string `json:"field,omitempty,omitzero"`
Validations []ValidationInfo `json:"validations,omitempty,omitzero"`
}
FieldWithValidation defines model for FieldWithValidationDto.
type Gender ¶
type Gender string
Gender defines model for Gender.
type GetAffiliateRatedEventsParams ¶
type GetAffiliateRatedEventsParams struct {
Name *string `form:"Name,omitempty" json:"Name,omitempty"`
FromDate *openapi_types.Date `form:"FromDate,omitempty" json:"FromDate,omitempty"`
ToDate *openapi_types.Date `form:"ToDate,omitempty" json:"ToDate,omitempty"`
StateCode *string `form:"StateCode,omitempty" json:"StateCode,omitempty"`
City *string `form:"City,omitempty" json:"City,omitempty"`
Affiliate *string `form:"Affiliate,omitempty" json:"Affiliate,omitempty"`
ScholasticCode *ParticipantCoding `form:"ScholasticCode,omitempty" json:"ScholasticCode,omitempty"`
Women *bool `form:"Women,omitempty" json:"Women,omitempty"`
MinSize *int32 `form:"MinSize,omitempty" json:"MinSize,omitempty"`
RatingSource *RatingType `form:"RatingSource,omitempty" json:"RatingSource,omitempty"`
DomesticStatus *DomesticStatus `form:"DomesticStatus,omitempty" json:"DomesticStatus,omitempty"`
SortBy AffiliateEventSortBy `form:"SortBy,omitempty" json:"SortBy,omitempty,omitzero"`
Dir SortDirection `form:"Dir,omitempty" json:"Dir,omitempty,omitzero"`
Offset int32 `form:"Offset,omitempty" json:"Offset,omitempty,omitzero"`
Size int32 `form:"Size,omitempty" json:"Size,omitempty,omitzero"`
}
GetAffiliateRatedEventsParams defines parameters for GetAffiliateRatedEvents.
type GetAffiliateRatedEventsResponse ¶
type GetAffiliateRatedEventsResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *RatedEventPage
}
func ParseGetAffiliateRatedEventsResponse ¶
func ParseGetAffiliateRatedEventsResponse(rsp *http.Response) (*GetAffiliateRatedEventsResponse, error)
ParseGetAffiliateRatedEventsResponse parses an HTTP response from a GetAffiliateRatedEventsWithResponse call
func (GetAffiliateRatedEventsResponse) ContentType ¶
func (r GetAffiliateRatedEventsResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetAffiliateRatedEventsResponse) Status ¶
func (r GetAffiliateRatedEventsResponse) Status() string
Status returns HTTPResponse.Status
func (GetAffiliateRatedEventsResponse) StatusCode ¶
func (r GetAffiliateRatedEventsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetAffiliateResponse ¶
func ParseGetAffiliateResponse ¶
func ParseGetAffiliateResponse(rsp *http.Response) (*GetAffiliateResponse, error)
ParseGetAffiliateResponse parses an HTTP response from a GetAffiliateWithResponse call
func (GetAffiliateResponse) ContentType ¶
func (r GetAffiliateResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetAffiliateResponse) Status ¶
func (r GetAffiliateResponse) Status() string
Status returns HTTPResponse.Status
func (GetAffiliateResponse) StatusCode ¶
func (r GetAffiliateResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetAffiliatesPageParams ¶
type GetAffiliatesPageParams struct {
Fuzzy *string `form:"Fuzzy,omitempty" json:"Fuzzy,omitempty"`
StateCode *string `form:"StateCode,omitempty" json:"StateCode,omitempty"`
SortBy AffiliateSortBy `form:"SortBy,omitempty" json:"SortBy,omitempty,omitzero"`
Dir SortDirection `form:"Dir,omitempty" json:"Dir,omitempty,omitzero"`
Offset int32 `form:"Offset,omitempty" json:"Offset,omitempty,omitzero"`
Size int32 `form:"Size,omitempty" json:"Size,omitempty,omitzero"`
}
GetAffiliatesPageParams defines parameters for GetAffiliatesPage.
type GetAffiliatesPageResponse ¶
type GetAffiliatesPageResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *AffiliatePage
}
func ParseGetAffiliatesPageResponse ¶
func ParseGetAffiliatesPageResponse(rsp *http.Response) (*GetAffiliatesPageResponse, error)
ParseGetAffiliatesPageResponse parses an HTTP response from a GetAffiliatesPageWithResponse call
func (GetAffiliatesPageResponse) ContentType ¶
func (r GetAffiliatesPageResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetAffiliatesPageResponse) Status ¶
func (r GetAffiliatesPageResponse) Status() string
Status returns HTTPResponse.Status
func (GetAffiliatesPageResponse) StatusCode ¶
func (r GetAffiliatesPageResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetGrandPrixSectionsParams ¶
type GetGrandPrixSectionsParams struct {
Search *string `form:"Search,omitempty" json:"Search,omitempty"`
StateCode *string `form:"StateCode,omitempty" json:"StateCode,omitempty"`
IsWomen *bool `form:"IsWomen,omitempty" json:"IsWomen,omitempty"`
SortBy GrandPrixSectionSortBy `form:"SortBy,omitempty" json:"SortBy,omitempty,omitzero"`
Dir SortDirection `form:"Dir,omitempty" json:"Dir,omitempty,omitzero"`
Offset int32 `form:"Offset,omitempty" json:"Offset,omitempty,omitzero"`
Size int32 `form:"Size,omitempty" json:"Size,omitempty,omitzero"`
}
GetGrandPrixSectionsParams defines parameters for GetGrandPrixSections.
type GetGrandPrixSectionsResponse ¶
type GetGrandPrixSectionsResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *GrandPrixSectionPage
}
func ParseGetGrandPrixSectionsResponse ¶
func ParseGetGrandPrixSectionsResponse(rsp *http.Response) (*GetGrandPrixSectionsResponse, error)
ParseGetGrandPrixSectionsResponse parses an HTTP response from a GetGrandPrixSectionsWithResponse call
func (GetGrandPrixSectionsResponse) ContentType ¶
func (r GetGrandPrixSectionsResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetGrandPrixSectionsResponse) Status ¶
func (r GetGrandPrixSectionsResponse) Status() string
Status returns HTTPResponse.Status
func (GetGrandPrixSectionsResponse) StatusCode ¶
func (r GetGrandPrixSectionsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetGrandPrixStandingsParams ¶
type GetGrandPrixStandingsParams struct {
Search *string `form:"Search,omitempty" json:"Search,omitempty"`
StateCode *string `form:"StateCode,omitempty" json:"StateCode,omitempty"`
IsWomen *bool `form:"IsWomen,omitempty" json:"IsWomen,omitempty"`
SortBy GrandPrixStandingSortBy `form:"SortBy,omitempty" json:"SortBy,omitempty,omitzero"`
Dir SortDirection `form:"Dir,omitempty" json:"Dir,omitempty,omitzero"`
Offset int32 `form:"Offset,omitempty" json:"Offset,omitempty,omitzero"`
Size int32 `form:"Size,omitempty" json:"Size,omitempty,omitzero"`
}
GetGrandPrixStandingsParams defines parameters for GetGrandPrixStandings.
type GetGrandPrixStandingsResponse ¶
type GetGrandPrixStandingsResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *GrandPrixPlayerPage
JSON404 *ProblemDetails
}
func ParseGetGrandPrixStandingsResponse ¶
func ParseGetGrandPrixStandingsResponse(rsp *http.Response) (*GetGrandPrixStandingsResponse, error)
ParseGetGrandPrixStandingsResponse parses an HTTP response from a GetGrandPrixStandingsWithResponse call
func (GetGrandPrixStandingsResponse) ContentType ¶
func (r GetGrandPrixStandingsResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetGrandPrixStandingsResponse) Status ¶
func (r GetGrandPrixStandingsResponse) Status() string
Status returns HTTPResponse.Status
func (GetGrandPrixStandingsResponse) StatusCode ¶
func (r GetGrandPrixStandingsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetMaxRanksResponse ¶
func ParseGetMaxRanksResponse ¶
func ParseGetMaxRanksResponse(rsp *http.Response) (*GetMaxRanksResponse, error)
ParseGetMaxRanksResponse parses an HTTP response from a GetMaxRanksWithResponse call
func (GetMaxRanksResponse) ContentType ¶
func (r GetMaxRanksResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetMaxRanksResponse) Status ¶
func (r GetMaxRanksResponse) Status() string
Status returns HTTPResponse.Status
func (GetMaxRanksResponse) StatusCode ¶
func (r GetMaxRanksResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetMemberAwardsPageParams ¶
type GetMemberAwardsPageParams struct {
Offset int32 `form:"Offset,omitempty" json:"Offset,omitempty,omitzero"`
Size int32 `form:"Size,omitempty" json:"Size,omitempty,omitzero"`
}
GetMemberAwardsPageParams defines parameters for GetMemberAwardsPage.
type GetMemberAwardsPageResponse ¶
type GetMemberAwardsPageResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *MemberAwardPage
}
func ParseGetMemberAwardsPageResponse ¶
func ParseGetMemberAwardsPageResponse(rsp *http.Response) (*GetMemberAwardsPageResponse, error)
ParseGetMemberAwardsPageResponse parses an HTTP response from a GetMemberAwardsPageWithResponse call
func (GetMemberAwardsPageResponse) ContentType ¶
func (r GetMemberAwardsPageResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetMemberAwardsPageResponse) Status ¶
func (r GetMemberAwardsPageResponse) Status() string
Status returns HTTPResponse.Status
func (GetMemberAwardsPageResponse) StatusCode ¶
func (r GetMemberAwardsPageResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetMemberDirectorshipsPageParams ¶
type GetMemberDirectorshipsPageParams struct {
Offset int32 `form:"Offset,omitempty" json:"Offset,omitempty,omitzero"`
Size int32 `form:"Size,omitempty" json:"Size,omitempty,omitzero"`
}
GetMemberDirectorshipsPageParams defines parameters for GetMemberDirectorshipsPage.
type GetMemberDirectorshipsPageResponse ¶
type GetMemberDirectorshipsPageResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *MemberDirectorshipPage
}
func ParseGetMemberDirectorshipsPageResponse ¶
func ParseGetMemberDirectorshipsPageResponse(rsp *http.Response) (*GetMemberDirectorshipsPageResponse, error)
ParseGetMemberDirectorshipsPageResponse parses an HTTP response from a GetMemberDirectorshipsPageWithResponse call
func (GetMemberDirectorshipsPageResponse) ContentType ¶
func (r GetMemberDirectorshipsPageResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetMemberDirectorshipsPageResponse) Status ¶
func (r GetMemberDirectorshipsPageResponse) Status() string
Status returns HTTPResponse.Status
func (GetMemberDirectorshipsPageResponse) StatusCode ¶
func (r GetMemberDirectorshipsPageResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetMemberRatedEventsPageParams ¶
type GetMemberRatedEventsPageParams struct {
Offset int32 `form:"Offset,omitempty" json:"Offset,omitempty,omitzero"`
Size int32 `form:"Size,omitempty" json:"Size,omitempty,omitzero"`
}
GetMemberRatedEventsPageParams defines parameters for GetMemberRatedEventsPage.
type GetMemberRatedEventsPageResponse ¶
type GetMemberRatedEventsPageResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *RatedEventPage
}
func ParseGetMemberRatedEventsPageResponse ¶
func ParseGetMemberRatedEventsPageResponse(rsp *http.Response) (*GetMemberRatedEventsPageResponse, error)
ParseGetMemberRatedEventsPageResponse parses an HTTP response from a GetMemberRatedEventsPageWithResponse call
func (GetMemberRatedEventsPageResponse) ContentType ¶
func (r GetMemberRatedEventsPageResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetMemberRatedEventsPageResponse) Status ¶
func (r GetMemberRatedEventsPageResponse) Status() string
Status returns HTTPResponse.Status
func (GetMemberRatedEventsPageResponse) StatusCode ¶
func (r GetMemberRatedEventsPageResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetMemberRatedGamesParams ¶
type GetMemberRatedGamesParams struct {
OnOrAfterDate *openapi_types.Date `form:"OnOrAfterDate,omitempty" json:"OnOrAfterDate,omitempty"`
OnOrBeforeDate *openapi_types.Date `form:"OnOrBeforeDate,omitempty" json:"OnOrBeforeDate,omitempty"`
RatingSource *RatingType `form:"RatingSource,omitempty" json:"RatingSource,omitempty"`
OpponentId *MemberID `form:"OpponentId,omitempty" json:"OpponentId,omitempty"`
PreRating *int32 `form:"PreRating,omitempty" json:"PreRating,omitempty"`
PostRating *int32 `form:"PostRating,omitempty" json:"PostRating,omitempty"`
Offset int32 `form:"Offset,omitempty" json:"Offset,omitempty,omitzero"`
Size int32 `form:"Size,omitempty" json:"Size,omitempty,omitzero"`
}
GetMemberRatedGamesParams defines parameters for GetMemberRatedGames.
type GetMemberRatedGamesResponse ¶
type GetMemberRatedGamesResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *MemberRatedGamePage
}
func ParseGetMemberRatedGamesResponse ¶
func ParseGetMemberRatedGamesResponse(rsp *http.Response) (*GetMemberRatedGamesResponse, error)
ParseGetMemberRatedGamesResponse parses an HTTP response from a GetMemberRatedGamesWithResponse call
func (GetMemberRatedGamesResponse) ContentType ¶
func (r GetMemberRatedGamesResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetMemberRatedGamesResponse) Status ¶
func (r GetMemberRatedGamesResponse) Status() string
Status returns HTTPResponse.Status
func (GetMemberRatedGamesResponse) StatusCode ¶
func (r GetMemberRatedGamesResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetMemberRatedSectionsPageParams ¶
type GetMemberRatedSectionsPageParams struct {
OnOrAfterDate *openapi_types.Date `form:"OnOrAfterDate,omitempty" json:"OnOrAfterDate,omitempty"`
OnOrBeforeDate *openapi_types.Date `form:"OnOrBeforeDate,omitempty" json:"OnOrBeforeDate,omitempty"`
RatingSource *RatingType `form:"RatingSource,omitempty" json:"RatingSource,omitempty"`
Offset int32 `form:"Offset,omitempty" json:"Offset,omitempty,omitzero"`
Size int32 `form:"Size,omitempty" json:"Size,omitempty,omitzero"`
}
GetMemberRatedSectionsPageParams defines parameters for GetMemberRatedSectionsPage.
type GetMemberRatedSectionsPageResponse ¶
type GetMemberRatedSectionsPageResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *MemberRatedSectionPage
}
func ParseGetMemberRatedSectionsPageResponse ¶
func ParseGetMemberRatedSectionsPageResponse(rsp *http.Response) (*GetMemberRatedSectionsPageResponse, error)
ParseGetMemberRatedSectionsPageResponse parses an HTTP response from a GetMemberRatedSectionsPageWithResponse call
func (GetMemberRatedSectionsPageResponse) ContentType ¶
func (r GetMemberRatedSectionsPageResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetMemberRatedSectionsPageResponse) Status ¶
func (r GetMemberRatedSectionsPageResponse) Status() string
Status returns HTTPResponse.Status
func (GetMemberRatedSectionsPageResponse) StatusCode ¶
func (r GetMemberRatedSectionsPageResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetMemberResponse ¶
type GetMemberResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *MemberDetail
}
func ParseGetMemberResponse ¶
func ParseGetMemberResponse(rsp *http.Response) (*GetMemberResponse, error)
ParseGetMemberResponse parses an HTTP response from a GetMemberWithResponse call
func (GetMemberResponse) ContentType ¶
func (r GetMemberResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetMemberResponse) Status ¶
func (r GetMemberResponse) Status() string
Status returns HTTPResponse.Status
func (GetMemberResponse) StatusCode ¶
func (r GetMemberResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetMembersPageParams ¶
type GetMembersPageParams struct {
Fuzzy *string `form:"Fuzzy,omitempty" json:"Fuzzy,omitempty"`
RatingSource *RatingType `form:"RatingSource,omitempty" json:"RatingSource,omitempty"`
StateRep *string `form:"StateRep,omitempty" json:"StateRep,omitempty"`
Jurisdiction *string `form:"Jurisdiction,omitempty" json:"Jurisdiction,omitempty"`
Gender *Gender `form:"Gender,omitempty" json:"Gender,omitempty"`
Fide *bool `form:"Fide,omitempty" json:"Fide,omitempty"`
Domestic *bool `form:"Domestic,omitempty" json:"Domestic,omitempty"`
MinRating *int32 `form:"MinRating,omitempty" json:"MinRating,omitempty"`
MaxRating *int32 `form:"MaxRating,omitempty" json:"MaxRating,omitempty"`
Ranked *bool `form:"Ranked,omitempty" json:"Ranked,omitempty"`
Status *[]MemberStatusFilter `form:"Status,omitempty" json:"Status,omitempty"`
ExpireStartDate *openapi_types.Date `form:"ExpireStartDate,omitempty" json:"ExpireStartDate,omitempty"`
ExpireEndDate *openapi_types.Date `form:"ExpireEndDate,omitempty" json:"ExpireEndDate,omitempty"`
UsePeak *bool `form:"UsePeak,omitempty" json:"UsePeak,omitempty"`
RatingCutoffFrom *openapi_types.Date `form:"RatingCutoffFrom,omitempty" json:"RatingCutoffFrom,omitempty"`
RatingCutoffTo *openapi_types.Date `form:"RatingCutoffTo,omitempty" json:"RatingCutoffTo,omitempty"`
UseUnofficialRatings *bool `form:"UseUnofficialRatings,omitempty" json:"UseUnofficialRatings,omitempty"`
MinAge *int32 `form:"MinAge,omitempty" json:"MinAge,omitempty"`
MaxAge *int32 `form:"MaxAge,omitempty" json:"MaxAge,omitempty"`
AgeDate *openapi_types.Date `form:"AgeDate,omitempty" json:"AgeDate,omitempty"`
SortBy MemberSortBy `form:"SortBy,omitempty" json:"SortBy,omitempty,omitzero"`
Dir SortDirection `form:"Dir,omitempty" json:"Dir,omitempty,omitzero"`
Offset int32 `form:"Offset,omitempty" json:"Offset,omitempty,omitzero"`
Size int32 `form:"Size,omitempty" json:"Size,omitempty,omitzero"`
}
GetMembersPageParams defines parameters for GetMembersPage.
type GetMembersPageResponse ¶
type GetMembersPageResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *MemberDetailPage
}
func ParseGetMembersPageResponse ¶
func ParseGetMembersPageResponse(rsp *http.Response) (*GetMembersPageResponse, error)
ParseGetMembersPageResponse parses an HTTP response from a GetMembersPageWithResponse call
func (GetMembersPageResponse) ContentType ¶
func (r GetMembersPageResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetMembersPageResponse) Status ¶
func (r GetMembersPageResponse) Status() string
Status returns HTTPResponse.Status
func (GetMembersPageResponse) StatusCode ¶
func (r GetMembersPageResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetNormsResponse ¶
type GetNormsResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *NormItemsEnvelope
JSON404 *ProblemDetails
}
func ParseGetNormsResponse ¶
func ParseGetNormsResponse(rsp *http.Response) (*GetNormsResponse, error)
ParseGetNormsResponse parses an HTTP response from a GetNormsWithResponse call
func (GetNormsResponse) ContentType ¶
func (r GetNormsResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetNormsResponse) Status ¶
func (r GetNormsResponse) Status() string
Status returns HTTPResponse.Status
func (GetNormsResponse) StatusCode ¶
func (r GetNormsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetOfficialResponse ¶
func ParseGetOfficialResponse ¶
func ParseGetOfficialResponse(rsp *http.Response) (*GetOfficialResponse, error)
ParseGetOfficialResponse parses an HTTP response from a GetOfficialWithResponse call
func (GetOfficialResponse) ContentType ¶
func (r GetOfficialResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetOfficialResponse) Status ¶
func (r GetOfficialResponse) Status() string
Status returns HTTPResponse.Status
func (GetOfficialResponse) StatusCode ¶
func (r GetOfficialResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetPendingEventBySectionIdResponse ¶
type GetPendingEventBySectionIdResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *PendingEventDetail
}
func ParseGetPendingEventBySectionIdResponse ¶
func ParseGetPendingEventBySectionIdResponse(rsp *http.Response) (*GetPendingEventBySectionIdResponse, error)
ParseGetPendingEventBySectionIdResponse parses an HTTP response from a GetPendingEventBySectionIdWithResponse call
func (GetPendingEventBySectionIdResponse) ContentType ¶
func (r GetPendingEventBySectionIdResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetPendingEventBySectionIdResponse) Status ¶
func (r GetPendingEventBySectionIdResponse) Status() string
Status returns HTTPResponse.Status
func (GetPendingEventBySectionIdResponse) StatusCode ¶
func (r GetPendingEventBySectionIdResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetPendingEventResponse ¶
type GetPendingEventResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *PendingEventDetail
}
func ParseGetPendingEventResponse ¶
func ParseGetPendingEventResponse(rsp *http.Response) (*GetPendingEventResponse, error)
ParseGetPendingEventResponse parses an HTTP response from a GetPendingEventWithResponse call
func (GetPendingEventResponse) ContentType ¶
func (r GetPendingEventResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetPendingEventResponse) Status ¶
func (r GetPendingEventResponse) Status() string
Status returns HTTPResponse.Status
func (GetPendingEventResponse) StatusCode ¶
func (r GetPendingEventResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetPendingEventsPageParams ¶
type GetPendingEventsPageParams struct {
Name *string `form:"Name,omitempty" json:"Name,omitempty"`
FromDate *openapi_types.Date `form:"FromDate,omitempty" json:"FromDate,omitempty"`
ToDate *openapi_types.Date `form:"ToDate,omitempty" json:"ToDate,omitempty"`
StateCode *string `form:"StateCode,omitempty" json:"StateCode,omitempty"`
City *string `form:"City,omitempty" json:"City,omitempty"`
ScholasticCode *ParticipantCoding `form:"ScholasticCode,omitempty" json:"ScholasticCode,omitempty"`
Women *bool `form:"Women,omitempty" json:"Women,omitempty"`
GrandPrix *bool `form:"GrandPrix,omitempty" json:"GrandPrix,omitempty"`
MinSize *int32 `form:"MinSize,omitempty" json:"MinSize,omitempty"`
TimeControl *string `form:"TimeControl,omitempty" json:"TimeControl,omitempty"`
RatingSource *RatingType `form:"RatingSource,omitempty" json:"RatingSource,omitempty"`
Status *[]EventStatus `form:"Status,omitempty" json:"Status,omitempty"`
ReviewStatus *[]EventReviewStatus `form:"ReviewStatus,omitempty" json:"ReviewStatus,omitempty"`
DomesticStatus *DomesticStatus `form:"DomesticStatus,omitempty" json:"DomesticStatus,omitempty"`
OwnerId *string `form:"OwnerId,omitempty" json:"OwnerId,omitempty"`
AffiliateId *AffiliateID `form:"AffiliateId,omitempty" json:"AffiliateId,omitempty"`
SortBy PendingEventSortBy `form:"SortBy,omitempty" json:"SortBy,omitempty,omitzero"`
Dir SortDirection `form:"Dir,omitempty" json:"Dir,omitempty,omitzero"`
Offset int32 `form:"Offset,omitempty" json:"Offset,omitempty,omitzero"`
Size int32 `form:"Size,omitempty" json:"Size,omitempty,omitzero"`
}
GetPendingEventsPageParams defines parameters for GetPendingEventsPage.
type GetPendingEventsPageResponse ¶
type GetPendingEventsPageResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *PendingEventPage
JSON403 *ProblemDetails
}
func ParseGetPendingEventsPageResponse ¶
func ParseGetPendingEventsPageResponse(rsp *http.Response) (*GetPendingEventsPageResponse, error)
ParseGetPendingEventsPageResponse parses an HTTP response from a GetPendingEventsPageWithResponse call
func (GetPendingEventsPageResponse) ContentType ¶
func (r GetPendingEventsPageResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetPendingEventsPageResponse) Status ¶
func (r GetPendingEventsPageResponse) Status() string
Status returns HTTPResponse.Status
func (GetPendingEventsPageResponse) StatusCode ¶
func (r GetPendingEventsPageResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetPendingGameResponse ¶
type GetPendingGameResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *PendingGame
}
func ParseGetPendingGameResponse ¶
func ParseGetPendingGameResponse(rsp *http.Response) (*GetPendingGameResponse, error)
ParseGetPendingGameResponse parses an HTTP response from a GetPendingGameWithResponse call
func (GetPendingGameResponse) ContentType ¶
func (r GetPendingGameResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetPendingGameResponse) Status ¶
func (r GetPendingGameResponse) Status() string
Status returns HTTPResponse.Status
func (GetPendingGameResponse) StatusCode ¶
func (r GetPendingGameResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetPendingPlayerResponse ¶
type GetPendingPlayerResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *PendingPlayer
}
func ParseGetPendingPlayerResponse ¶
func ParseGetPendingPlayerResponse(rsp *http.Response) (*GetPendingPlayerResponse, error)
ParseGetPendingPlayerResponse parses an HTTP response from a GetPendingPlayerWithResponse call
func (GetPendingPlayerResponse) ContentType ¶
func (r GetPendingPlayerResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetPendingPlayerResponse) Status ¶
func (r GetPendingPlayerResponse) Status() string
Status returns HTTPResponse.Status
func (GetPendingPlayerResponse) StatusCode ¶
func (r GetPendingPlayerResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetPendingSectionResponse ¶
type GetPendingSectionResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *PendingSectionDetail
}
func ParseGetPendingSectionResponse ¶
func ParseGetPendingSectionResponse(rsp *http.Response) (*GetPendingSectionResponse, error)
ParseGetPendingSectionResponse parses an HTTP response from a GetPendingSectionWithResponse call
func (GetPendingSectionResponse) ContentType ¶
func (r GetPendingSectionResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetPendingSectionResponse) Status ¶
func (r GetPendingSectionResponse) Status() string
Status returns HTTPResponse.Status
func (GetPendingSectionResponse) StatusCode ¶
func (r GetPendingSectionResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetPlayerOptions ¶
type GetPlayerOptions struct {
// IncludeSupplements retrieves every page of rating supplements.
IncludeSupplements bool
// IncludeEvents retrieves every page of the member's rated events.
IncludeEvents bool
// IncludeLiveRatings includes rating records from sections ending after
// the most recent monthly-rating cutoff, allowing Player.LiveRatings to
// calculate the player's current ratings.
IncludeLiveRatings bool
// RecentGamesOnOrAfter retrieves every page of rated games on or after
// this date.
RecentGamesOnOrAfter *time.Time
// RecentSectionsOnOrAfter retrieves every page of rated sections on or
// after this date.
RecentSectionsOnOrAfter *time.Time
}
GetPlayerOptions configures the optional aggregate data retrieved by GetPlayer.
func DefaultGetPlayerOptions ¶
func DefaultGetPlayerOptions() GetPlayerOptions
DefaultGetPlayerOptions returns the options used by GetPlayer when opts is nil. It includes live ratings, rating supplements, games & sections from the previous year.
A new value is returned on each call so callers may modify it safely.
type GetPromoCodeByDiscountCodeResponse ¶
type GetPromoCodeByDiscountCodeResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *PromoCode
JSON403 *ProblemDetails
}
func ParseGetPromoCodeByDiscountCodeResponse ¶
func ParseGetPromoCodeByDiscountCodeResponse(rsp *http.Response) (*GetPromoCodeByDiscountCodeResponse, error)
ParseGetPromoCodeByDiscountCodeResponse parses an HTTP response from a GetPromoCodeByDiscountCodeWithResponse call
func (GetPromoCodeByDiscountCodeResponse) ContentType ¶
func (r GetPromoCodeByDiscountCodeResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetPromoCodeByDiscountCodeResponse) Status ¶
func (r GetPromoCodeByDiscountCodeResponse) Status() string
Status returns HTTPResponse.Status
func (GetPromoCodeByDiscountCodeResponse) StatusCode ¶
func (r GetPromoCodeByDiscountCodeResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetPromoCodeResponse ¶
type GetPromoCodeResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *PromoCode
JSON403 *ProblemDetails
}
func ParseGetPromoCodeResponse ¶
func ParseGetPromoCodeResponse(rsp *http.Response) (*GetPromoCodeResponse, error)
ParseGetPromoCodeResponse parses an HTTP response from a GetPromoCodeWithResponse call
func (GetPromoCodeResponse) ContentType ¶
func (r GetPromoCodeResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetPromoCodeResponse) Status ¶
func (r GetPromoCodeResponse) Status() string
Status returns HTTPResponse.Status
func (GetPromoCodeResponse) StatusCode ¶
func (r GetPromoCodeResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetPromoCodesPageParams ¶
type GetPromoCodesPageParams struct {
Fuzzy *string `form:"fuzzy,omitempty" json:"fuzzy,omitempty"`
Offset int32 `form:"Offset,omitempty" json:"Offset,omitempty,omitzero"`
Size int32 `form:"Size,omitempty" json:"Size,omitempty,omitzero"`
}
GetPromoCodesPageParams defines parameters for GetPromoCodesPage.
type GetPromoCodesPageResponse ¶
type GetPromoCodesPageResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *PromoCodePage
}
func ParseGetPromoCodesPageResponse ¶
func ParseGetPromoCodesPageResponse(rsp *http.Response) (*GetPromoCodesPageResponse, error)
ParseGetPromoCodesPageResponse parses an HTTP response from a GetPromoCodesPageWithResponse call
func (GetPromoCodesPageResponse) ContentType ¶
func (r GetPromoCodesPageResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetPromoCodesPageResponse) Status ¶
func (r GetPromoCodesPageResponse) Status() string
Status returns HTTPResponse.Status
func (GetPromoCodesPageResponse) StatusCode ¶
func (r GetPromoCodesPageResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetRatedEventResponse ¶
type GetRatedEventResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *RatedEventDetail
}
func ParseGetRatedEventResponse ¶
func ParseGetRatedEventResponse(rsp *http.Response) (*GetRatedEventResponse, error)
ParseGetRatedEventResponse parses an HTTP response from a GetRatedEventWithResponse call
func (GetRatedEventResponse) ContentType ¶
func (r GetRatedEventResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetRatedEventResponse) Status ¶
func (r GetRatedEventResponse) Status() string
Status returns HTTPResponse.Status
func (GetRatedEventResponse) StatusCode ¶
func (r GetRatedEventResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetRatedEventSectionDetailResponse ¶
type GetRatedEventSectionDetailResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *SectionDetail
}
func ParseGetRatedEventSectionDetailResponse ¶
func ParseGetRatedEventSectionDetailResponse(rsp *http.Response) (*GetRatedEventSectionDetailResponse, error)
ParseGetRatedEventSectionDetailResponse parses an HTTP response from a GetRatedEventSectionDetailWithResponse call
func (GetRatedEventSectionDetailResponse) ContentType ¶
func (r GetRatedEventSectionDetailResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetRatedEventSectionDetailResponse) Status ¶
func (r GetRatedEventSectionDetailResponse) Status() string
Status returns HTTPResponse.Status
func (GetRatedEventSectionDetailResponse) StatusCode ¶
func (r GetRatedEventSectionDetailResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetRatedEventStandingsPageParams ¶
type GetRatedEventStandingsPageParams struct {
Offset int32 `form:"Offset,omitempty" json:"Offset,omitempty,omitzero"`
Size int32 `form:"Size,omitempty" json:"Size,omitempty,omitzero"`
}
GetRatedEventStandingsPageParams defines parameters for GetRatedEventStandingsPage.
type GetRatedEventStandingsPageResponse ¶
type GetRatedEventStandingsPageResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *StandingsPage
}
func ParseGetRatedEventStandingsPageResponse ¶
func ParseGetRatedEventStandingsPageResponse(rsp *http.Response) (*GetRatedEventStandingsPageResponse, error)
ParseGetRatedEventStandingsPageResponse parses an HTTP response from a GetRatedEventStandingsPageWithResponse call
func (GetRatedEventStandingsPageResponse) ContentType ¶
func (r GetRatedEventStandingsPageResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetRatedEventStandingsPageResponse) Status ¶
func (r GetRatedEventStandingsPageResponse) Status() string
Status returns HTTPResponse.Status
func (GetRatedEventStandingsPageResponse) StatusCode ¶
func (r GetRatedEventStandingsPageResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetRatedEventsPageParams ¶
type GetRatedEventsPageParams struct {
Name *string `form:"Name,omitempty" json:"Name,omitempty"`
FromDate *openapi_types.Date `form:"FromDate,omitempty" json:"FromDate,omitempty"`
ToDate *openapi_types.Date `form:"ToDate,omitempty" json:"ToDate,omitempty"`
StateCode *string `form:"StateCode,omitempty" json:"StateCode,omitempty"`
City *string `form:"City,omitempty" json:"City,omitempty"`
ScholasticCode *ParticipantCoding `form:"ScholasticCode,omitempty" json:"ScholasticCode,omitempty"`
Women *bool `form:"Women,omitempty" json:"Women,omitempty"`
GrandPrix *bool `form:"GrandPrix,omitempty" json:"GrandPrix,omitempty"`
MinSize *int32 `form:"MinSize,omitempty" json:"MinSize,omitempty"`
RatingSource *RatingType `form:"RatingSource,omitempty" json:"RatingSource,omitempty"`
DomesticStatus *DomesticStatus `form:"DomesticStatus,omitempty" json:"DomesticStatus,omitempty"`
SortBy RatedEventSortBy `form:"SortBy,omitempty" json:"SortBy,omitempty,omitzero"`
Dir SortDirection `form:"Dir,omitempty" json:"Dir,omitempty,omitzero"`
Offset int32 `form:"Offset,omitempty" json:"Offset,omitempty,omitzero"`
Size int32 `form:"Size,omitempty" json:"Size,omitempty,omitzero"`
}
GetRatedEventsPageParams defines parameters for GetRatedEventsPage.
type GetRatedEventsPageResponse ¶
type GetRatedEventsPageResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *RatedEventPage
}
func ParseGetRatedEventsPageResponse ¶
func ParseGetRatedEventsPageResponse(rsp *http.Response) (*GetRatedEventsPageResponse, error)
ParseGetRatedEventsPageResponse parses an HTTP response from a GetRatedEventsPageWithResponse call
func (GetRatedEventsPageResponse) ContentType ¶
func (r GetRatedEventsPageResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetRatedEventsPageResponse) Status ¶
func (r GetRatedEventsPageResponse) Status() string
Status returns HTTPResponse.Status
func (GetRatedEventsPageResponse) StatusCode ¶
func (r GetRatedEventsPageResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetRatedSectionsPageParams ¶
type GetRatedSectionsPageParams struct {
EventName *string `form:"EventName,omitempty" json:"EventName,omitempty"`
PlayerName *string `form:"PlayerName,omitempty" json:"PlayerName,omitempty"`
FromDate *openapi_types.Date `form:"FromDate,omitempty" json:"FromDate,omitempty"`
ToDate *openapi_types.Date `form:"ToDate,omitempty" json:"ToDate,omitempty"`
StateCode *string `form:"StateCode,omitempty" json:"StateCode,omitempty"`
City *string `form:"City,omitempty" json:"City,omitempty"`
DomesticStatus *DomesticStatus `form:"DomesticStatus,omitempty" json:"DomesticStatus,omitempty"`
IsWomens *bool `form:"IsWomens,omitempty" json:"IsWomens,omitempty"`
IsGrandPrix *bool `form:"IsGrandPrix,omitempty" json:"IsGrandPrix,omitempty"`
IsGrandPrixJr *bool `form:"IsGrandPrixJr,omitempty" json:"IsGrandPrixJr,omitempty"`
IsGrandPrixExtended *bool `form:"IsGrandPrixExtended,omitempty" json:"IsGrandPrixExtended,omitempty"`
Offset int32 `form:"Offset,omitempty" json:"Offset,omitempty,omitzero"`
Size int32 `form:"Size,omitempty" json:"Size,omitempty,omitzero"`
}
GetRatedSectionsPageParams defines parameters for GetRatedSectionsPage.
type GetRatedSectionsPageResponse ¶
type GetRatedSectionsPageResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *RatedSectionPage
}
func ParseGetRatedSectionsPageResponse ¶
func ParseGetRatedSectionsPageResponse(rsp *http.Response) (*GetRatedSectionsPageResponse, error)
ParseGetRatedSectionsPageResponse parses an HTTP response from a GetRatedSectionsPageWithResponse call
func (GetRatedSectionsPageResponse) ContentType ¶
func (r GetRatedSectionsPageResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetRatedSectionsPageResponse) Status ¶
func (r GetRatedSectionsPageResponse) Status() string
Status returns HTTPResponse.Status
func (GetRatedSectionsPageResponse) StatusCode ¶
func (r GetRatedSectionsPageResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetRatingSupplementsPageParams ¶
type GetRatingSupplementsPageParams struct {
Offset int32 `form:"Offset,omitempty" json:"Offset,omitempty,omitzero"`
Size int32 `form:"Size,omitempty" json:"Size,omitempty,omitzero"`
}
GetRatingSupplementsPageParams defines parameters for GetRatingSupplementsPage.
type GetRatingSupplementsPageResponse ¶
type GetRatingSupplementsPageResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *RatingSupplementPage
}
func ParseGetRatingSupplementsPageResponse ¶
func ParseGetRatingSupplementsPageResponse(rsp *http.Response) (*GetRatingSupplementsPageResponse, error)
ParseGetRatingSupplementsPageResponse parses an HTTP response from a GetRatingSupplementsPageWithResponse call
func (GetRatingSupplementsPageResponse) ContentType ¶
func (r GetRatingSupplementsPageResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetRatingSupplementsPageResponse) Status ¶
func (r GetRatingSupplementsPageResponse) Status() string
Status returns HTTPResponse.Status
func (GetRatingSupplementsPageResponse) StatusCode ¶
func (r GetRatingSupplementsPageResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetReportDefinitionsResponse ¶
type GetReportDefinitionsResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *TopPlayerReportDefinitionItemsEnvelope
JSON404 *ProblemDetails
}
func ParseGetReportDefinitionsResponse ¶
func ParseGetReportDefinitionsResponse(rsp *http.Response) (*GetReportDefinitionsResponse, error)
ParseGetReportDefinitionsResponse parses an HTTP response from a GetReportDefinitionsWithResponse call
func (GetReportDefinitionsResponse) ContentType ¶
func (r GetReportDefinitionsResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetReportDefinitionsResponse) Status ¶
func (r GetReportDefinitionsResponse) Status() string
Status returns HTTPResponse.Status
func (GetReportDefinitionsResponse) StatusCode ¶
func (r GetReportDefinitionsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetReportParams ¶
type GetReportParams struct {
Date *openapi_types.Date `form:"Date,omitempty" json:"Date,omitempty"`
Provisional *bool `form:"Provisional,omitempty" json:"Provisional,omitempty"`
}
GetReportParams defines parameters for GetReport.
type GetReportResponse ¶
type GetReportResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *TopPlayerReport
JSON403 *ProblemDetails
JSON404 *ProblemDetails
}
func ParseGetReportResponse ¶
func ParseGetReportResponse(rsp *http.Response) (*GetReportResponse, error)
ParseGetReportResponse parses an HTTP response from a GetReportWithResponse call
func (GetReportResponse) ContentType ¶
func (r GetReportResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetReportResponse) Status ¶
func (r GetReportResponse) Status() string
Status returns HTTPResponse.Status
func (GetReportResponse) StatusCode ¶
func (r GetReportResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetTopPlayersReportForMemberParams ¶
type GetTopPlayersReportForMemberParams struct {
Offset int32 `form:"Offset,omitempty" json:"Offset,omitempty,omitzero"`
Size int32 `form:"Size,omitempty" json:"Size,omitempty,omitzero"`
}
GetTopPlayersReportForMemberParams defines parameters for GetTopPlayersReportForMember.
type GetTopPlayersReportForMemberResponse ¶
type GetTopPlayersReportForMemberResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *TopPlayerReportPage
JSON404 *ProblemDetails
}
func ParseGetTopPlayersReportForMemberResponse ¶
func ParseGetTopPlayersReportForMemberResponse(rsp *http.Response) (*GetTopPlayersReportForMemberResponse, error)
ParseGetTopPlayersReportForMemberResponse parses an HTTP response from a GetTopPlayersReportForMemberWithResponse call
func (GetTopPlayersReportForMemberResponse) ContentType ¶
func (r GetTopPlayersReportForMemberResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetTopPlayersReportForMemberResponse) Status ¶
func (r GetTopPlayersReportForMemberResponse) Status() string
Status returns HTTPResponse.Status
func (GetTopPlayersReportForMemberResponse) StatusCode ¶
func (r GetTopPlayersReportForMemberResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetUnofficialRankLookupParams ¶
type GetUnofficialRankLookupParams struct {
Jurisdiction *string `form:"jurisdiction,omitempty" json:"jurisdiction,omitempty"`
}
GetUnofficialRankLookupParams defines parameters for GetUnofficialRankLookup.
type GetUnofficialRankLookupResponse ¶
type GetUnofficialRankLookupResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *UnofficialRankLookup
}
func ParseGetUnofficialRankLookupResponse ¶
func ParseGetUnofficialRankLookupResponse(rsp *http.Response) (*GetUnofficialRankLookupResponse, error)
ParseGetUnofficialRankLookupResponse parses an HTTP response from a GetUnofficialRankLookupWithResponse call
func (GetUnofficialRankLookupResponse) ContentType ¶
func (r GetUnofficialRankLookupResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetUnofficialRankLookupResponse) Status ¶
func (r GetUnofficialRankLookupResponse) Status() string
Status returns HTTPResponse.Status
func (GetUnofficialRankLookupResponse) StatusCode ¶
func (r GetUnofficialRankLookupResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GrandPrixPlayer ¶
type GrandPrixPlayer struct {
ExpirationDate openapi_types.Date `json:"expirationDate,omitempty,omitzero"`
FideCountry string `json:"fideCountry,omitempty,omitzero"`
FideTitle string `json:"fideTitle,omitempty,omitzero"`
FirstName string `json:"firstName,omitempty,omitzero"`
Id MemberID `json:"id,omitempty,omitzero"`
Jurisdiction string `json:"jurisdiction,omitempty,omitzero"`
LastName string `json:"lastName,omitempty,omitzero"`
Points float32 `json:"points,omitempty,omitzero"`
PointsFromPreviousYear float32 `json:"pointsFromPreviousYear,omitempty,omitzero"`
SectionCount float32 `json:"sectionCount,omitempty,omitzero"`
SectionCountFromPreviousYear float32 `json:"sectionCountFromPreviousYear,omitempty,omitzero"`
StateRep string `json:"stateRep,omitempty,omitzero"`
Status MemberStatus `json:"status,omitempty,omitzero"`
UscfTitle string `json:"uscfTitle,omitempty,omitzero"`
}
GrandPrixPlayer defines model for GrandPrixPlayerDto.
type GrandPrixPlayerPage ¶
type GrandPrixPlayerPage struct {
HasNextPage bool `json:"hasNextPage,omitempty,omitzero"`
HasPreviousPage bool `json:"hasPreviousPage,omitempty,omitzero"`
Items []GrandPrixPlayer `json:"items,omitempty,omitzero"`
Offset int32 `json:"offset,omitempty,omitzero"`
PageSize int32 `json:"pageSize,omitempty,omitzero"`
}
GrandPrixPlayerPage defines model for GrandPrixPlayerDtoPage.
type GrandPrixSection ¶
type GrandPrixSection struct {
EndDate openapi_types.Date `json:"endDate,omitempty,omitzero"`
Event MinimalRatedEvent `json:"event,omitempty,omitzero"`
Id SectionID `json:"id,omitempty,omitzero"`
IsEnhancedGrandPrix bool `json:"isEnhancedGrandPrix,omitempty,omitzero"`
IsGrandPrix bool `json:"isGrandPrix,omitempty,omitzero"`
IsJrGrandPrix bool `json:"isJrGrandPrix,omitempty,omitzero"`
Name string `json:"name,omitempty,omitzero"`
Number int32 `json:"number,omitempty,omitzero"`
Points int32 `json:"points,omitempty,omitzero"`
RatedDate openapi_types.Date `json:"ratedDate,omitempty,omitzero"`
SectionFormat SectionFormat `json:"sectionFormat,omitempty,omitzero"`
StartDate openapi_types.Date `json:"startDate,omitempty,omitzero"`
Winners []GrandPrixWinner `json:"winners,omitempty,omitzero"`
}
GrandPrixSection defines model for GrandPrixSectionDto.
type GrandPrixSectionPage ¶
type GrandPrixSectionPage struct {
HasNextPage bool `json:"hasNextPage,omitempty,omitzero"`
HasPreviousPage bool `json:"hasPreviousPage,omitempty,omitzero"`
Items []GrandPrixSection `json:"items,omitempty,omitzero"`
Offset int32 `json:"offset,omitempty,omitzero"`
PageSize int32 `json:"pageSize,omitempty,omitzero"`
}
GrandPrixSectionPage defines model for GrandPrixSectionDtoPage.
type GrandPrixSectionSortBy ¶
type GrandPrixSectionSortBy string
GrandPrixSectionSortBy defines model for GrandPrixSectionSortBy.
const ( GrandPrixSectionSortByEndDate GrandPrixSectionSortBy = "EndDate" GrandPrixSectionSortByEventName GrandPrixSectionSortBy = "EventName" GrandPrixSectionSortByIsEnhanced GrandPrixSectionSortBy = "IsEnhanced" GrandPrixSectionSortByPoints GrandPrixSectionSortBy = "Points" GrandPrixSectionSortByRatedDate GrandPrixSectionSortBy = "RatedDate" GrandPrixSectionSortByStartDate GrandPrixSectionSortBy = "StartDate" GrandPrixSectionSortByStateCode GrandPrixSectionSortBy = "StateCode" )
Defines values for GrandPrixSectionSortBy.
func (GrandPrixSectionSortBy) Valid ¶
func (e GrandPrixSectionSortBy) Valid() bool
Valid indicates whether the value is a known member of the GrandPrixSectionSortBy enum.
type GrandPrixStandingSortBy ¶
type GrandPrixStandingSortBy string
GrandPrixStandingSortBy defines model for GrandPrixStandingSortBy.
const ( GrandPrixStandingSortByName GrandPrixStandingSortBy = "Name" GrandPrixStandingSortByPointsLastYear GrandPrixStandingSortBy = "PointsLastYear" GrandPrixStandingSortByPointsThisYear GrandPrixStandingSortBy = "PointsThisYear" GrandPrixStandingSortBySectionCount GrandPrixStandingSortBy = "SectionCount" )
Defines values for GrandPrixStandingSortBy.
func (GrandPrixStandingSortBy) Valid ¶
func (e GrandPrixStandingSortBy) Valid() bool
Valid indicates whether the value is a known member of the GrandPrixStandingSortBy enum.
type GrandPrixWinner ¶
type GrandPrixWinner struct {
ExpirationDate openapi_types.Date `json:"expirationDate,omitempty,omitzero"`
FideCountry string `json:"fideCountry,omitempty,omitzero"`
FideTitle string `json:"fideTitle,omitempty,omitzero"`
FirstName string `json:"firstName,omitempty,omitzero"`
Id MemberID `json:"id,omitempty,omitzero"`
Jurisdiction string `json:"jurisdiction,omitempty,omitzero"`
LastName string `json:"lastName,omitempty,omitzero"`
Points float32 `json:"points,omitempty,omitzero"`
StateRep string `json:"stateRep,omitempty,omitzero"`
Status MemberStatus `json:"status,omitempty,omitzero"`
UscfTitle string `json:"uscfTitle,omitempty,omitzero"`
}
GrandPrixWinner defines model for GrandPrixWinnerDto.
type HttpRequestDoer ¶
Doer performs HTTP requests.
The standard http.Client implements this interface.
type Link ¶
type Link struct {
Href string `json:"href,omitempty,omitzero"`
Method string `json:"method,omitempty,omitzero"`
Rel string `json:"rel,omitempty,omitzero"`
}
Link defines model for Link.
type ListAllPendingGamesResponse ¶
type ListAllPendingGamesResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *[]PendingGame
}
func ParseListAllPendingGamesResponse ¶
func ParseListAllPendingGamesResponse(rsp *http.Response) (*ListAllPendingGamesResponse, error)
ParseListAllPendingGamesResponse parses an HTTP response from a ListAllPendingGamesWithResponse call
func (ListAllPendingGamesResponse) ContentType ¶
func (r ListAllPendingGamesResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ListAllPendingGamesResponse) Status ¶
func (r ListAllPendingGamesResponse) Status() string
Status returns HTTPResponse.Status
func (ListAllPendingGamesResponse) StatusCode ¶
func (r ListAllPendingGamesResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListAllPendingPlayersResponse ¶
type ListAllPendingPlayersResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *[]PendingPlayer
}
func ParseListAllPendingPlayersResponse ¶
func ParseListAllPendingPlayersResponse(rsp *http.Response) (*ListAllPendingPlayersResponse, error)
ParseListAllPendingPlayersResponse parses an HTTP response from a ListAllPendingPlayersWithResponse call
func (ListAllPendingPlayersResponse) ContentType ¶
func (r ListAllPendingPlayersResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ListAllPendingPlayersResponse) Status ¶
func (r ListAllPendingPlayersResponse) Status() string
Status returns HTTPResponse.Status
func (ListAllPendingPlayersResponse) StatusCode ¶
func (r ListAllPendingPlayersResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListPendingEventOfficialsResponse ¶
type ListPendingEventOfficialsResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *[]Official
}
func ParseListPendingEventOfficialsResponse ¶
func ParseListPendingEventOfficialsResponse(rsp *http.Response) (*ListPendingEventOfficialsResponse, error)
ParseListPendingEventOfficialsResponse parses an HTTP response from a ListPendingEventOfficialsWithResponse call
func (ListPendingEventOfficialsResponse) ContentType ¶
func (r ListPendingEventOfficialsResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ListPendingEventOfficialsResponse) Status ¶
func (r ListPendingEventOfficialsResponse) Status() string
Status returns HTTPResponse.Status
func (ListPendingEventOfficialsResponse) StatusCode ¶
func (r ListPendingEventOfficialsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListPendingGamesResponse ¶
type ListPendingGamesResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *[]PendingGame
}
func ParseListPendingGamesResponse ¶
func ParseListPendingGamesResponse(rsp *http.Response) (*ListPendingGamesResponse, error)
ParseListPendingGamesResponse parses an HTTP response from a ListPendingGamesWithResponse call
func (ListPendingGamesResponse) ContentType ¶
func (r ListPendingGamesResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ListPendingGamesResponse) Status ¶
func (r ListPendingGamesResponse) Status() string
Status returns HTTPResponse.Status
func (ListPendingGamesResponse) StatusCode ¶
func (r ListPendingGamesResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListPendingPlayersParams ¶
type ListPendingPlayersParams struct {
Fuzzy *string `form:"Fuzzy,omitempty" json:"Fuzzy,omitempty"`
State *string `form:"State,omitempty" json:"State,omitempty"`
WithValidation *[]ValidationFilter `form:"WithValidation,omitempty" json:"WithValidation,omitempty"`
SortBy PendingPlayerSortBy `form:"SortBy,omitempty" json:"SortBy,omitempty,omitzero"`
Dir SortDirection `form:"Dir,omitempty" json:"Dir,omitempty,omitzero"`
Offset int32 `form:"Offset,omitempty" json:"Offset,omitempty,omitzero"`
Size int32 `form:"Size,omitempty" json:"Size,omitempty,omitzero"`
}
ListPendingPlayersParams defines parameters for ListPendingPlayers.
type ListPendingPlayersResponse ¶
type ListPendingPlayersResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *PendingPlayerPage
}
func ParseListPendingPlayersResponse ¶
func ParseListPendingPlayersResponse(rsp *http.Response) (*ListPendingPlayersResponse, error)
ParseListPendingPlayersResponse parses an HTTP response from a ListPendingPlayersWithResponse call
func (ListPendingPlayersResponse) ContentType ¶
func (r ListPendingPlayersResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ListPendingPlayersResponse) Status ¶
func (r ListPendingPlayersResponse) Status() string
Status returns HTTPResponse.Status
func (ListPendingPlayersResponse) StatusCode ¶
func (r ListPendingPlayersResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListPendingSectionsResponse ¶
type ListPendingSectionsResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *[]PendingSectionDetail
}
func ParseListPendingSectionsResponse ¶
func ParseListPendingSectionsResponse(rsp *http.Response) (*ListPendingSectionsResponse, error)
ParseListPendingSectionsResponse parses an HTTP response from a ListPendingSectionsWithResponse call
func (ListPendingSectionsResponse) ContentType ¶
func (r ListPendingSectionsResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ListPendingSectionsResponse) Status ¶
func (r ListPendingSectionsResponse) Status() string
Status returns HTTPResponse.Status
func (ListPendingSectionsResponse) StatusCode ¶
func (r ListPendingSectionsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListRatedEventOfficialsResponse ¶
type ListRatedEventOfficialsResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *[]Official
}
func ParseListRatedEventOfficialsResponse ¶
func ParseListRatedEventOfficialsResponse(rsp *http.Response) (*ListRatedEventOfficialsResponse, error)
ParseListRatedEventOfficialsResponse parses an HTTP response from a ListRatedEventOfficialsWithResponse call
func (ListRatedEventOfficialsResponse) ContentType ¶
func (r ListRatedEventOfficialsResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ListRatedEventOfficialsResponse) Status ¶
func (r ListRatedEventOfficialsResponse) Status() string
Status returns HTTPResponse.Status
func (ListRatedEventOfficialsResponse) StatusCode ¶
func (r ListRatedEventOfficialsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListRoundUnpairedPlayersParams ¶
type ListRoundUnpairedPlayersParams struct {
Fuzzy *string `form:"Fuzzy,omitempty" json:"Fuzzy,omitempty"`
State *string `form:"State,omitempty" json:"State,omitempty"`
WithValidation *[]ValidationFilter `form:"WithValidation,omitempty" json:"WithValidation,omitempty"`
SortBy PendingPlayerSortBy `form:"SortBy,omitempty" json:"SortBy,omitempty,omitzero"`
Dir SortDirection `form:"Dir,omitempty" json:"Dir,omitempty,omitzero"`
Offset int32 `form:"Offset,omitempty" json:"Offset,omitempty,omitzero"`
Size int32 `form:"Size,omitempty" json:"Size,omitempty,omitzero"`
}
ListRoundUnpairedPlayersParams defines parameters for ListRoundUnpairedPlayers.
type ListRoundUnpairedPlayersResponse ¶
type ListRoundUnpairedPlayersResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *[]PendingPlayer
}
func ParseListRoundUnpairedPlayersResponse ¶
func ParseListRoundUnpairedPlayersResponse(rsp *http.Response) (*ListRoundUnpairedPlayersResponse, error)
ParseListRoundUnpairedPlayersResponse parses an HTTP response from a ListRoundUnpairedPlayersWithResponse call
func (ListRoundUnpairedPlayersResponse) ContentType ¶
func (r ListRoundUnpairedPlayersResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ListRoundUnpairedPlayersResponse) Status ¶
func (r ListRoundUnpairedPlayersResponse) Status() string
Status returns HTTPResponse.Status
func (ListRoundUnpairedPlayersResponse) StatusCode ¶
func (r ListRoundUnpairedPlayersResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListUnplayedRoundsParams ¶
type ListUnplayedRoundsParams struct {
RoundNumber *int32 `form:"roundNumber,omitempty" json:"roundNumber,omitempty"`
}
ListUnplayedRoundsParams defines parameters for ListUnplayedRounds.
type ListUnplayedRoundsResponse ¶
type ListUnplayedRoundsResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *[]UnplayedRound
}
func ParseListUnplayedRoundsResponse ¶
func ParseListUnplayedRoundsResponse(rsp *http.Response) (*ListUnplayedRoundsResponse, error)
ParseListUnplayedRoundsResponse parses an HTTP response from a ListUnplayedRoundsWithResponse call
func (ListUnplayedRoundsResponse) ContentType ¶
func (r ListUnplayedRoundsResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ListUnplayedRoundsResponse) Status ¶
func (r ListUnplayedRoundsResponse) Status() string
Status returns HTTPResponse.Status
func (ListUnplayedRoundsResponse) StatusCode ¶
func (r ListUnplayedRoundsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type MaxRank ¶
type MaxRank struct {
Jurisdiction string `json:"jurisdiction,omitempty,omitzero"`
MaxRank int32 `json:"maxRank,omitempty,omitzero"`
RatingType RatingType `json:"ratingSource,omitempty,omitzero"`
}
MaxRank defines model for MaxRankDto.
type Member ¶
type Member struct {
ExpirationDate openapi_types.Date `json:"expirationDate,omitempty,omitzero"`
FideCountry string `json:"fideCountry,omitempty,omitzero"`
FideTitle string `json:"fideTitle,omitempty,omitzero"`
FirstName string `json:"firstName,omitempty,omitzero"`
Id MemberID `json:"id,omitempty,omitzero"`
Jurisdiction string `json:"jurisdiction,omitempty,omitzero"`
LastName string `json:"lastName,omitempty,omitzero"`
StateRep string `json:"stateRep,omitempty,omitzero"`
Status MemberStatus `json:"status,omitempty,omitzero"`
UscfTitle string `json:"uscfTitle,omitempty,omitzero"`
}
Member defines model for MemberDto.
type MemberAward ¶
type MemberAward struct {
Category AwardCategory `json:"category,omitempty,omitzero"`
Date openapi_types.Date `json:"date,omitempty,omitzero"`
Event MinimalRatedEvent `json:"event,omitempty,omitzero"`
Id string `json:"id,omitempty,omitzero"`
RatingType RatingType `json:"ratingSource,omitempty,omitzero"`
SectionNumber int32 `json:"sectionNumber,omitempty,omitzero"`
Type AwardType `json:"type,omitempty,omitzero"`
WinCount int32 `json:"winCount,omitempty,omitzero"`
}
MemberAward defines model for MemberAwardDto.
type MemberAwardPage ¶
type MemberAwardPage struct {
HasNextPage bool `json:"hasNextPage,omitempty,omitzero"`
HasPreviousPage bool `json:"hasPreviousPage,omitempty,omitzero"`
Items []MemberAward `json:"items,omitempty,omitzero"`
Offset int32 `json:"offset,omitempty,omitzero"`
PageSize int32 `json:"pageSize,omitempty,omitzero"`
}
MemberAwardPage defines model for MemberAwardDtoPage.
type MemberDetail ¶
type MemberDetail struct {
ExpirationDate openapi_types.Date `json:"expirationDate,omitempty,omitzero"`
FideCountry string `json:"fideCountry,omitempty,omitzero"`
FideId FIDEID `json:"fideId,omitempty,omitzero"`
FideTitle string `json:"fideTitle,omitempty,omitzero"`
FirstName string `json:"firstName,omitempty,omitzero"`
Gender Gender `json:"gender,omitempty,omitzero"`
Id MemberID `json:"id,omitempty,omitzero"`
Jurisdiction string `json:"jurisdiction,omitempty,omitzero"`
LastChangedDate openapi_types.Date `json:"lastChangedDate,omitempty,omitzero"`
LastName string `json:"lastName,omitempty,omitzero"`
Ordinal int32 `json:"ordinal,omitempty,omitzero"`
Rank int32 `json:"rank,omitempty,omitzero"`
Ratings []MemberRating `json:"ratings,omitempty,omitzero"`
SafePlayExpirationDate openapi_types.Date `json:"safePlayExpirationDate,omitempty,omitzero"`
StateRank int32 `json:"stateRank,omitempty,omitzero"`
StateRep string `json:"stateRep,omitempty,omitzero"`
Status MemberStatus `json:"status,omitempty,omitzero"`
TdCertExpirationDate openapi_types.Date `json:"tdCertExpirationDate,omitempty,omitzero"`
TdCertStatus TournamentDirectorCertStatus `json:"tdCertStatus,omitempty,omitzero"`
TdLevel TournamentDirectorLevel `json:"tdLevel,omitempty,omitzero"`
UscfTitle string `json:"uscfTitle,omitempty,omitzero"`
}
MemberDetail defines model for MemberDetailDto.
type MemberDetailPage ¶
type MemberDetailPage struct {
HasNextPage bool `json:"hasNextPage,omitempty,omitzero"`
HasPreviousPage bool `json:"hasPreviousPage,omitempty,omitzero"`
Items []MemberDetail `json:"items,omitempty,omitzero"`
Offset int32 `json:"offset,omitempty,omitzero"`
PageSize int32 `json:"pageSize,omitempty,omitzero"`
}
MemberDetailPage defines model for MemberDetailDtoPage.
type MemberDirectorship ¶
type MemberDirectorship struct {
Event MinimalRatedEvent `json:"event,omitempty,omitzero"`
Office Office `json:"office,omitempty,omitzero"`
OfficeType OfficeType `json:"officeType,omitempty,omitzero"`
Section MinimalSection `json:"section,omitempty,omitzero"`
}
MemberDirectorship defines model for MemberDirectorshipDto.
type MemberDirectorshipPage ¶
type MemberDirectorshipPage struct {
HasNextPage bool `json:"hasNextPage,omitempty,omitzero"`
HasPreviousPage bool `json:"hasPreviousPage,omitempty,omitzero"`
Items []MemberDirectorship `json:"items,omitempty,omitzero"`
Offset int32 `json:"offset,omitempty,omitzero"`
PageSize int32 `json:"pageSize,omitempty,omitzero"`
}
MemberDirectorshipPage defines model for MemberDirectorshipDtoPage.
type MemberOpponentGamePlayer ¶
type MemberOpponentGamePlayer struct {
Color ChessColor `json:"color,omitempty,omitzero"`
FirstName string `json:"firstName,omitempty,omitzero"`
Id MemberID `json:"id,omitempty,omitzero"`
LastName string `json:"lastName,omitempty,omitzero"`
Outcome PlayerGameOutcome `json:"outcome,omitempty,omitzero"`
StateRep string `json:"stateRep,omitempty,omitzero"`
}
MemberOpponentGamePlayer defines model for MemberOpponentGamePlayerDto.
type MemberPlayerGamePlayer ¶
type MemberPlayerGamePlayer struct {
Color ChessColor `json:"color,omitempty,omitzero"`
Outcome PlayerGameOutcome `json:"outcome,omitempty,omitzero"`
}
MemberPlayerGamePlayer defines model for MemberPlayerGamePlayerDto.
type MemberRatedGame ¶
type MemberRatedGame struct {
Event MinimalRatedEvent `json:"event,omitempty,omitzero"`
Opponent MemberOpponentGamePlayer `json:"opponent,omitempty,omitzero"`
Player MemberPlayerGamePlayer `json:"player,omitempty,omitzero"`
RatingType SectionRatingType `json:"ratingSystem,omitempty,omitzero"`
Section MinimalSection `json:"section,omitempty,omitzero"`
}
MemberRatedGame defines model for MemberRatedGameDto.
type MemberRatedGamePage ¶
type MemberRatedGamePage struct {
HasNextPage bool `json:"hasNextPage,omitempty,omitzero"`
HasPreviousPage bool `json:"hasPreviousPage,omitempty,omitzero"`
Items []MemberRatedGame `json:"items,omitempty,omitzero"`
Offset int32 `json:"offset,omitempty,omitzero"`
PageSize int32 `json:"pageSize,omitempty,omitzero"`
}
MemberRatedGamePage defines model for MemberRatedGameDtoPage.
type MemberRatedSection ¶
type MemberRatedSection struct {
EndDate openapi_types.Date `json:"endDate,omitempty,omitzero"`
Event MinimalRatedEvent `json:"event,omitempty,omitzero"`
Format SectionFormat `json:"format,omitempty,omitzero"`
Id SectionID `json:"id,omitempty,omitzero"`
RatingRecords []MinimalRatingRecord `json:"ratingRecords,omitempty,omitzero"`
RatingType SectionRatingType `json:"ratingSystem,omitempty,omitzero"`
SectionName string `json:"sectionName,omitempty,omitzero"`
SectionNumber int32 `json:"sectionNumber,omitempty,omitzero"`
StartDate openapi_types.Date `json:"startDate,omitempty,omitzero"`
}
MemberRatedSection defines model for MemberRatedSectionDto.
type MemberRatedSectionPage ¶
type MemberRatedSectionPage struct {
HasNextPage bool `json:"hasNextPage,omitempty,omitzero"`
HasPreviousPage bool `json:"hasPreviousPage,omitempty,omitzero"`
Items []MemberRatedSection `json:"items,omitempty,omitzero"`
Offset int32 `json:"offset,omitempty,omitzero"`
PageSize int32 `json:"pageSize,omitempty,omitzero"`
}
MemberRatedSectionPage defines model for MemberRatedSectionDtoPage.
type MemberRating ¶
type MemberRating struct {
Floor int32 `json:"floor,omitempty,omitzero"`
GamesPlayed int32 `json:"gamesPlayed,omitempty,omitzero"`
IsProvisional bool `json:"isProvisional,omitempty,omitzero"`
Rating int32 `json:"rating,omitempty,omitzero"`
RatingType RatingType `json:"ratingSystem,omitempty,omitzero"`
}
MemberRating defines model for MemberRatingDto.
type MemberSortBy ¶
type MemberSortBy string
MemberSortBy defines model for MemberSortBy.
const ( MemberSortByExpirationDate MemberSortBy = "ExpirationDate" MemberSortByFideCountry MemberSortBy = "FideCountry" MemberSortByFideTitle MemberSortBy = "FideTitle" MemberSortById MemberSortBy = "Id" MemberSortByLastChangedDate MemberSortBy = "LastChangedDate" MemberSortByName MemberSortBy = "Name" MemberSortByRating MemberSortBy = "Rating" MemberSortByState MemberSortBy = "State" MemberSortByStatus MemberSortBy = "Status" )
Defines values for MemberSortBy.
func (MemberSortBy) Valid ¶
func (e MemberSortBy) Valid() bool
Valid indicates whether the value is a known member of the MemberSortBy enum.
type MemberStatus ¶
type MemberStatus string
MemberStatus defines model for MemberStatus.
const ( MemberStatusActive MemberStatus = "Active" MemberStatusDeceased MemberStatus = "Deceased" MemberStatusDuplicateId MemberStatus = "DuplicateId" MemberStatusExpired MemberStatus = "Expired" MemberStatusInactive MemberStatus = "Inactive" MemberStatusNewFromImport MemberStatus = "NewFromImport" MemberStatusNewFromLogin MemberStatus = "NewFromLogin" MemberStatusNone MemberStatus = "None" MemberStatusRevoked MemberStatus = "Revoked" MemberStatusRevokedButCanPlay MemberStatus = "RevokedButCanPlay" MemberStatusStrangeImportData MemberStatus = "StrangeImportData" MemberStatusSuspended MemberStatus = "Suspended" )
Defines values for MemberStatus.
func (MemberStatus) Valid ¶
func (e MemberStatus) Valid() bool
Valid indicates whether the value is a known member of the MemberStatus enum.
type MemberStatusFilter ¶
type MemberStatusFilter string
MemberStatusFilter defines model for MemberStatusFilter.
const ( MemberStatusFilterActive MemberStatusFilter = "Active" MemberStatusFilterDeceased MemberStatusFilter = "Deceased" MemberStatusFilterExpired MemberStatusFilter = "Expired" MemberStatusFilterInactive MemberStatusFilter = "Inactive" MemberStatusFilterRevoked MemberStatusFilter = "Revoked" MemberStatusFilterSuspended MemberStatusFilter = "Suspended" )
Defines values for MemberStatusFilter.
func (MemberStatusFilter) Valid ¶
func (e MemberStatusFilter) Valid() bool
Valid indicates whether the value is a known member of the MemberStatusFilter enum.
type MinimalAffiliate ¶
type MinimalAffiliate struct {
ExpirationDate openapi_types.Date `json:"expirationDate,omitempty,omitzero"`
Id AffiliateID `json:"id,omitempty,omitzero"`
Name string `json:"name,omitempty,omitzero"`
StateCode string `json:"stateCode,omitempty,omitzero"`
Status MemberStatus `json:"status,omitempty,omitzero"`
}
MinimalAffiliate defines model for MinimalAffiliateDto.
type MinimalRatedEvent ¶
type MinimalRatedEvent struct {
EndDate openapi_types.Date `json:"endDate,omitempty,omitzero"`
Id EventID `json:"id,omitempty,omitzero"`
Name string `json:"name,omitempty,omitzero"`
StartDate openapi_types.Date `json:"startDate,omitempty,omitzero"`
StateCode string `json:"stateCode,omitempty,omitzero"`
}
MinimalRatedEvent defines model for MinimalRatedEventDto.
type MinimalRatingRecord ¶
type MinimalRatingRecord struct {
EventId EventID `json:"eventId,omitempty,omitzero"`
PostProvisionalGameCount int32 `json:"postProvisionalGameCount,omitempty,omitzero"`
PostRating int32 `json:"postRating,omitempty,omitzero"`
PostRatingDecimal float64 `json:"postRatingDecimal,omitempty,omitzero"`
PreRating int32 `json:"preRating,omitempty,omitzero"`
PreRatingDecimal float64 `json:"preRatingDecimal,omitempty,omitzero"`
RatingType RatingType `json:"ratingSource,omitempty,omitzero"`
SectionNumber int32 `json:"sectionNumber,omitempty,omitzero"`
}
MinimalRatingRecord defines model for MinimalRatingRecordDto.
type MinimalSection ¶
type MinimalSection struct {
Id SectionID `json:"id,omitempty,omitzero"`
Name string `json:"name,omitempty,omitzero"`
Number int32 `json:"number,omitempty,omitzero"`
}
MinimalSection defines model for MinimalSectionDto.
type Norm ¶
type Norm struct {
Event MinimalRatedEvent `json:"event,omitempty,omitzero"`
Expected float64 `json:"expected,omitempty,omitzero"`
Games int32 `json:"games,omitempty,omitzero"`
Level NormLevel `json:"level,omitempty,omitzero"`
PlayedGames int32 `json:"playedGames,omitempty,omitzero"`
PostRating int32 `json:"postRating,omitempty,omitzero"`
PostType NormPostType `json:"postType,omitempty,omitzero"`
Score float64 `json:"score,omitempty,omitzero"`
SectionNumber int32 `json:"sectionNumber,omitempty,omitzero"`
Status NormStatus `json:"status,omitempty,omitzero"`
}
Norm defines model for NormDto.
type NormItemsEnvelope ¶
type NormItemsEnvelope struct {
Items []Norm `json:"items,omitempty,omitzero"`
}
NormItemsEnvelope defines model for NormDtoItemsEnvelope.
type NormLevel ¶
type NormLevel string
NormLevel defines model for NormLevel.
const ( NormLevelCandidateMaster NormLevel = "CandidateMaster" NormLevelFirstCategory NormLevel = "FirstCategory" NormLevelFourthCategory NormLevel = "FourthCategory" NormLevelLifeMaster NormLevel = "LifeMaster" NormLevelSecondCategory NormLevel = "SecondCategory" NormLevelSeniorLifeMaster NormLevel = "SeniorLifeMaster" NormLevelThirdCategory NormLevel = "ThirdCategory" )
Defines values for NormLevel.
type NormPostType ¶
type NormPostType string
NormPostType defines model for NormPostType.
const ( AllDraws NormPostType = "AllDraws" AllWins NormPostType = "AllWins" Established NormPostType = "Established" Provisional NormPostType = "Provisional" )
Defines values for NormPostType.
func (NormPostType) Valid ¶
func (e NormPostType) Valid() bool
Valid indicates whether the value is a known member of the NormPostType enum.
type NormStatus ¶
type NormStatus string
NormStatus defines model for NormStatus.
const ( NormStatusActive NormStatus = "Active" NormStatusDeleted NormStatus = "Deleted" NormStatusPreview NormStatus = "Preview" )
Defines values for NormStatus.
func (NormStatus) Valid ¶
func (e NormStatus) Valid() bool
Valid indicates whether the value is a known member of the NormStatus enum.
type Office ¶
type Office string
Office defines model for Office.
type OfficeType ¶
type OfficeType string
OfficeType defines model for OfficeType.
const ( OfficeTypeChief OfficeType = "Chief" OfficeTypeFloor OfficeType = "Floor" OfficeTypeFloorAndPairing OfficeType = "FloorAndPairing" OfficeTypeNone OfficeType = "None" OfficeTypePairing OfficeType = "Pairing" )
Defines values for OfficeType.
func (OfficeType) Valid ¶
func (e OfficeType) Valid() bool
Valid indicates whether the value is a known member of the OfficeType enum.
type Official ¶
type Official struct {
ExpirationDate openapi_types.Date `json:"expirationDate,omitempty,omitzero"`
FirstName string `json:"firstName,omitempty,omitzero"`
Id string `json:"id,omitempty,omitzero"`
LastName string `json:"lastName,omitempty,omitzero"`
Links []Link `json:"links,omitempty,omitzero"`
MemberId MemberID `json:"memberId,omitempty,omitzero"`
Office Office `json:"office,omitempty,omitzero"`
OfficeType OfficeType `json:"officeType,omitempty,omitzero"`
SectionId SectionID `json:"sectionId,omitempty,omitzero"`
SectionNumber int32 `json:"sectionNumber,omitempty,omitzero"`
StateRep string `json:"stateRep,omitempty,omitzero"`
Status MemberStatus `json:"status,omitempty,omitzero"`
}
Official defines model for OfficialDto.
type OfficialCreate ¶
type OfficialCreate struct {
MemberId MemberID `json:"memberId,omitempty,omitzero"`
Office Office `json:"office,omitempty,omitzero"`
OfficeType OfficeType `json:"officeType,omitempty,omitzero"`
SectionId SectionID `json:"sectionId,omitempty,omitzero"`
}
OfficialCreate defines model for OfficialCreateDto.
type OfficialUpdate ¶
type OfficialUpdate struct {
MemberId MemberID `json:"memberId,omitempty,omitzero"`
Office Office `json:"office,omitempty,omitzero"`
OfficeType OfficeType `json:"officeType,omitempty,omitzero"`
}
OfficialUpdate defines model for OfficialUpdate.
type OfficialValidation ¶
type OfficialValidation struct {
Id string `json:"id,omitempty,omitzero"`
MemberId []string `json:"memberId,omitempty,omitzero"`
}
OfficialValidation defines model for OfficialValidationDto.
type ParticipantCoding ¶
type ParticipantCoding string
ParticipantCoding defines model for ParticipantCoding.
const ( JtpK12 ParticipantCoding = "JtpK12" JtpPrimary ParticipantCoding = "JtpPrimary" NonScholastic ParticipantCoding = "NonScholastic" None ParticipantCoding = "None" Primary ParticipantCoding = "Primary" Scholastic ParticipantCoding = "Scholastic" )
Defines values for ParticipantCoding.
func (ParticipantCoding) Valid ¶
func (e ParticipantCoding) Valid() bool
Valid indicates whether the value is a known member of the ParticipantCoding enum.
type PendingEvent ¶
type PendingEvent struct {
BillStatus BillStatus `json:"billStatus,omitempty,omitzero"`
City string `json:"city,omitempty,omitzero"`
ComplianceAccepted bool `json:"complianceAccepted,omitempty,omitzero"`
CountryCode string `json:"countryCode,omitempty,omitzero"`
CreatedByMemberId MemberID `json:"createdByMemberId,omitempty,omitzero"`
// Deprecated: this property has been marked as deprecated upstream, but no `x-deprecated-reason` was set
CreatedDate openapi_types.Date `json:"createdDate,omitempty,omitzero"`
EndDate openapi_types.Date `json:"endDate,omitempty,omitzero"`
FideEventCode string `json:"fideEventCode,omitempty,omitzero"`
Id EventID `json:"id,omitempty,omitzero"`
LastRatedDate openapi_types.Date `json:"lastRatedDate,omitempty,omitzero"`
Name string `json:"name,omitempty,omitzero"`
PlayerCount int32 `json:"playerCount,omitempty,omitzero"`
ReviewStatus EventReviewStatus `json:"reviewStatus,omitempty,omitzero"`
SectionCount int32 `json:"sectionCount,omitempty,omitzero"`
StartDate openapi_types.Date `json:"startDate,omitempty,omitzero"`
StateCode string `json:"stateCode,omitempty,omitzero"`
Status EventStatus `json:"status,omitempty,omitzero"`
SubmittedByMemberId MemberID `json:"submittedByMemberId,omitempty,omitzero"`
ValidationStatus EventValidationStatus `json:"validationStatus,omitempty,omitzero"`
}
PendingEvent defines model for PendingEventDto.
type PendingEventCreate ¶
type PendingEventCreate struct {
Name string `json:"name,omitempty,omitzero"`
}
PendingEventCreate defines model for PendingEventCreateDto.
type PendingEventDetail ¶
type PendingEventDetail struct {
Affiliate MinimalAffiliate `json:"affiliate,omitempty,omitzero"`
BillStatus BillStatus `json:"billStatus,omitempty,omitzero"`
ChampEventStatus ChampEventStatus `json:"champEventStatus,omitempty,omitzero"`
City string `json:"city,omitempty,omitzero"`
Comment string `json:"comment,omitempty,omitzero"`
ComplianceAccepted bool `json:"complianceAccepted,omitempty,omitzero"`
CountryCode string `json:"countryCode,omitempty,omitzero"`
CreatedByMemberId MemberID `json:"createdByMemberId,omitempty,omitzero"`
// Deprecated: this property has been marked as deprecated upstream, but no `x-deprecated-reason` was set
CreatedDate openapi_types.Date `json:"createdDate,omitempty,omitzero"`
Description string `json:"description,omitempty,omitzero"`
EndDate openapi_types.Date `json:"endDate,omitempty,omitzero"`
FideEventCode string `json:"fideEventCode,omitempty,omitzero"`
HasFideAdjSection bool `json:"hasFideAdjSection,omitempty,omitzero"`
Id EventID `json:"id,omitempty,omitzero"`
ImportFormatStandard string `json:"importFormatStandard,omitempty,omitzero"`
ImportProgramVersion string `json:"importProgramVersion,omitempty,omitzero"`
IsMailInSubmission bool `json:"isMailInSubmission,omitempty,omitzero"`
IsWomens bool `json:"isWomens,omitempty,omitzero"`
LastRatedDate openapi_types.Date `json:"lastRatedDate,omitempty,omitzero"`
Links []Link `json:"links,omitempty,omitzero"`
Name string `json:"name,omitempty,omitzero"`
ParallelEventId EventID `json:"parallelEventId,omitempty,omitzero"`
PlayerCount int32 `json:"playerCount,omitempty,omitzero"`
PrizeReporting string `json:"prizeReporting,omitempty,omitzero"`
ReviewStatus EventReviewStatus `json:"reviewStatus,omitempty,omitzero"`
SectionCount int32 `json:"sectionCount,omitempty,omitzero"`
StartDate openapi_types.Date `json:"startDate,omitempty,omitzero"`
StateCode string `json:"stateCode,omitempty,omitzero"`
Status EventStatus `json:"status,omitempty,omitzero"`
SubmittedByMemberId MemberID `json:"submittedByMemberId,omitempty,omitzero"`
TlaReference string `json:"tlaReference,omitempty,omitzero"`
ValidationStatus EventValidationStatus `json:"validationStatus,omitempty,omitzero"`
Validations []FieldWithValidation `json:"validations,omitempty,omitzero"`
Volunteers string `json:"volunteers,omitempty,omitzero"`
ZipCode string `json:"zipCode,omitempty,omitzero"`
}
PendingEventDetail defines model for PendingEventDetailDto.
type PendingEventPage ¶
type PendingEventPage struct {
HasNextPage bool `json:"hasNextPage,omitempty,omitzero"`
HasPreviousPage bool `json:"hasPreviousPage,omitempty,omitzero"`
Items []PendingEvent `json:"items,omitempty,omitzero"`
Offset int32 `json:"offset,omitempty,omitzero"`
PageSize int32 `json:"pageSize,omitempty,omitzero"`
}
PendingEventPage defines model for PendingEventDtoPage.
type PendingEventSortBy ¶
type PendingEventSortBy string
PendingEventSortBy defines model for PendingEventSortBy.
const ( PendingEventSortByCity PendingEventSortBy = "City" PendingEventSortByCreatedOn PendingEventSortBy = "CreatedOn" PendingEventSortById PendingEventSortBy = "Id" PendingEventSortByName PendingEventSortBy = "Name" PendingEventSortByPlayerCount PendingEventSortBy = "PlayerCount" PendingEventSortBySectionCount PendingEventSortBy = "SectionCount" PendingEventSortByStartDate PendingEventSortBy = "StartDate" PendingEventSortByState PendingEventSortBy = "State" PendingEventSortByUpdatedOn PendingEventSortBy = "UpdatedOn" )
Defines values for PendingEventSortBy.
func (PendingEventSortBy) Valid ¶
func (e PendingEventSortBy) Valid() bool
Valid indicates whether the value is a known member of the PendingEventSortBy enum.
type PendingEventUpdate ¶
type PendingEventUpdate struct {
AffiliateId AffiliateID `json:"affiliateId,omitempty,omitzero"`
ChampEventStatus ChampEventStatus `json:"champEventStatus,omitempty,omitzero"`
City string `json:"city,omitempty,omitzero"`
Comment string `json:"comment,omitempty,omitzero"`
CountryCode string `json:"countryCode,omitempty,omitzero"`
Description string `json:"description,omitempty,omitzero"`
IsMailInSubmission bool `json:"isMailInSubmission,omitempty,omitzero"`
Name string `json:"name,omitempty,omitzero"`
PrizeReporting string `json:"prizeReporting,omitempty,omitzero"`
StateCode string `json:"stateCode,omitempty,omitzero"`
TlaReference string `json:"tlaReference,omitempty,omitzero"`
Volunteers string `json:"volunteers,omitempty,omitzero"`
ZipCode string `json:"zipCode,omitempty,omitzero"`
}
PendingEventUpdate defines model for PendingEventUpdateDto.
type PendingEventValidationLevel ¶
type PendingEventValidationLevel struct {
AffiliateId []string `json:"affiliateId,omitempty,omitzero"`
ChiefTD []string `json:"chiefTD,omitempty,omitzero"`
City []string `json:"city,omitempty,omitzero"`
CountryCode []string `json:"countryCode,omitempty,omitzero"`
EndDate []string `json:"endDate,omitempty,omitzero"`
General []string `json:"general,omitempty,omitzero"`
Name []string `json:"name,omitempty,omitzero"`
Officials []OfficialValidation `json:"officials,omitempty,omitzero"`
Sections []PendingSectionValidation `json:"sections,omitempty,omitzero"`
StartDate []string `json:"startDate,omitempty,omitzero"`
StateCode []string `json:"stateCode,omitempty,omitzero"`
ZipCode []string `json:"zipCode,omitempty,omitzero"`
}
PendingEventValidationLevel defines model for PendingEventValidationLevelDto.
type PendingEventValidationResult ¶
type PendingEventValidationResult struct {
Alerts PendingEventValidationLevel `json:"alerts,omitempty,omitzero"`
Errors PendingEventValidationLevel `json:"errors,omitempty,omitzero"`
Id string `json:"id,omitempty,omitzero"`
IsValidEnough bool `json:"isValidEnough,omitempty,omitzero"`
ValidationStatus EventValidationStatus `json:"validationStatus,omitempty,omitzero"`
Warnings PendingEventValidationLevel `json:"warnings,omitempty,omitzero"`
}
PendingEventValidationResult defines model for PendingEventValidationResultDto.
type PendingGame ¶
type PendingGame struct {
Id string `json:"id,omitempty,omitzero"`
Players []PendingGamePlayer `json:"players,omitempty,omitzero"`
PreviousVersionId string `json:"previousVersionId,omitempty,omitzero"`
RoundNumber int32 `json:"roundNumber,omitempty,omitzero"`
SectionId SectionID `json:"sectionId,omitempty,omitzero"`
}
PendingGame defines model for PendingGameDto.
type PendingGameCreate ¶
type PendingGameCreate struct {
Players []PendingGamePlayerUpdate `json:"players,omitempty,omitzero"`
RoundNumber int32 `json:"roundNumber,omitempty,omitzero"`
}
PendingGameCreate defines model for PendingGameCreateDto.
type PendingGamePlayer ¶
type PendingGamePlayer struct {
Color ChessColor `json:"color,omitempty,omitzero"`
FirstName string `json:"firstName,omitempty,omitzero"`
LastName string `json:"lastName,omitempty,omitzero"`
MemberId MemberID `json:"memberId,omitempty,omitzero"`
Outcome PlayerGameOutcome `json:"outcome,omitempty,omitzero"`
PairingNumber int32 `json:"pairingNumber,omitempty,omitzero"`
PlayerId string `json:"playerId,omitempty,omitzero"`
RoundNumber int32 `json:"roundNumber,omitempty,omitzero"`
// Deprecated: this property has been marked as deprecated upstream, but no `x-deprecated-reason` was set
SectionId SectionID `json:"sectionId,omitempty,omitzero"`
Validations []FieldWithValidation `json:"validations,omitempty,omitzero"`
}
PendingGamePlayer defines model for PendingGamePlayerDto.
type PendingGamePlayerUpdate ¶
type PendingGamePlayerUpdate struct {
Color ChessColor `json:"color,omitempty,omitzero"`
Outcome PlayerGameOutcome `json:"outcome,omitempty,omitzero"`
PlayerId string `json:"playerId,omitempty,omitzero"`
RoundNumber int32 `json:"roundNumber,omitempty,omitzero"`
}
PendingGamePlayerUpdate defines model for PendingGamePlayerUpdateDto.
type PendingGamePlayerValidation ¶
type PendingGamePlayerValidation struct {
Color []string `json:"color,omitempty,omitzero"`
Opponent []string `json:"opponent,omitempty,omitzero"`
Outcome []string `json:"outcome,omitempty,omitzero"`
PlayerId string `json:"playerId,omitempty,omitzero"`
Round []string `json:"round,omitempty,omitzero"`
}
PendingGamePlayerValidation defines model for PendingGamePlayerValidationDto.
type PendingGameUpdate ¶
type PendingGameUpdate struct {
Players []PendingGamePlayerUpdate `json:"players,omitempty,omitzero"`
RoundNumber int32 `json:"roundNumber,omitempty,omitzero"`
}
PendingGameUpdate defines model for PendingGameUpdateDto.
type PendingGameValidation ¶
type PendingGameValidation struct {
GamePlayers []PendingGamePlayerValidation `json:"gamePlayers,omitempty,omitzero"`
Id string `json:"id,omitempty,omitzero"`
Round []string `json:"round,omitempty,omitzero"`
}
PendingGameValidation defines model for PendingGameValidationDto.
type PendingPlayer ¶
type PendingPlayer struct {
ExemptionStatus ExemptionStatus `json:"exemptionStatus,omitempty,omitzero"`
FideCountry string `json:"fideCountry,omitempty,omitzero"`
FideId FIDEID `json:"fideId,omitempty,omitzero"`
FideRating int32 `json:"fideRating,omitempty,omitzero"`
FirstName string `json:"firstName,omitempty,omitzero"`
Floor int32 `json:"floor,omitempty,omitzero"`
HasValidMemberId bool `json:"hasValidMemberId,omitempty,omitzero"`
Id string `json:"id,omitempty,omitzero"`
LastName string `json:"lastName,omitempty,omitzero"`
Member Member `json:"member,omitempty,omitzero"`
MemberId MemberID `json:"memberId,omitempty,omitzero"`
Notes string `json:"notes,omitempty,omitzero"`
PairingNumber int32 `json:"pairingNumber,omitempty,omitzero"`
PreProvisionalGameCount int32 `json:"preProvisionalGameCount,omitempty,omitzero"`
// Deprecated: this property has been marked as deprecated upstream, but no `x-deprecated-reason` was set
PreviousVersionId string `json:"previousVersionId,omitempty,omitzero"`
Rating int32 `json:"rating,omitempty,omitzero"`
SectionId string `json:"sectionId,omitempty,omitzero"`
StateRep string `json:"stateRep,omitempty,omitzero"`
Validations []FieldWithValidation `json:"validations,omitempty,omitzero"`
}
PendingPlayer defines model for PendingPlayerDto.
type PendingPlayerCreate ¶
type PendingPlayerCreate struct {
FirstName string `json:"firstName,omitempty,omitzero"`
LastName string `json:"lastName,omitempty,omitzero"`
MemberId MemberID `json:"memberId,omitempty,omitzero"`
Notes string `json:"notes,omitempty,omitzero"`
PairingNumber int32 `json:"pairingNumber,omitempty,omitzero"`
StateRep string `json:"stateRep,omitempty,omitzero"`
}
PendingPlayerCreate defines model for PendingPlayerCreateDto.
type PendingPlayerPage ¶
type PendingPlayerPage struct {
HasNextPage bool `json:"hasNextPage,omitempty,omitzero"`
HasPreviousPage bool `json:"hasPreviousPage,omitempty,omitzero"`
Items []PendingPlayer `json:"items,omitempty,omitzero"`
Offset int32 `json:"offset,omitempty,omitzero"`
PageSize int32 `json:"pageSize,omitempty,omitzero"`
}
PendingPlayerPage defines model for PendingPlayerDtoPage.
type PendingPlayerSortBy ¶
type PendingPlayerSortBy string
PendingPlayerSortBy defines model for PendingPlayerSortBy.
const ( PendingPlayerSortByExpirationDate PendingPlayerSortBy = "ExpirationDate" PendingPlayerSortByMemberId PendingPlayerSortBy = "MemberId" PendingPlayerSortByName PendingPlayerSortBy = "Name" PendingPlayerSortByPairingNumber PendingPlayerSortBy = "PairingNumber" )
Defines values for PendingPlayerSortBy.
func (PendingPlayerSortBy) Valid ¶
func (e PendingPlayerSortBy) Valid() bool
Valid indicates whether the value is a known member of the PendingPlayerSortBy enum.
type PendingPlayerUpdate ¶
type PendingPlayerUpdate struct {
ExemptionStatus ExemptionStatus `json:"exemptionStatus,omitempty,omitzero"`
FirstName string `json:"firstName,omitempty,omitzero"`
LastName string `json:"lastName,omitempty,omitzero"`
MemberId MemberID `json:"memberId,omitempty,omitzero"`
Notes string `json:"notes,omitempty,omitzero"`
PairingNumber int32 `json:"pairingNumber,omitempty,omitzero"`
StateRep string `json:"stateRep,omitempty,omitzero"`
}
PendingPlayerUpdate defines model for PendingPlayerUpdateDto.
type PendingPlayerValidation ¶
type PendingPlayerValidation struct {
BirthDate []string `json:"birthDate,omitempty,omitzero"`
ExemptionStatus []string `json:"exemptionStatus,omitempty,omitzero"`
FirstName []string `json:"firstName,omitempty,omitzero"`
Id string `json:"id,omitempty,omitzero"`
LastName []string `json:"lastName,omitempty,omitzero"`
MemberId []string `json:"memberId,omitempty,omitzero"`
PairingNumber []string `json:"pairingNumber,omitempty,omitzero"`
StateRep []string `json:"stateRep,omitempty,omitzero"`
}
PendingPlayerValidation defines model for PendingPlayerValidationDto.
type PendingSectionCreate ¶
type PendingSectionCreate struct {
EndDate openapi_types.Date `json:"endDate,omitempty,omitzero"`
Name string `json:"name,omitempty,omitzero"`
StartDate openapi_types.Date `json:"startDate,omitempty,omitzero"`
}
PendingSectionCreate defines model for PendingSectionCreateDto.
type PendingSectionDetail ¶
type PendingSectionDetail struct {
EndDate openapi_types.Date `json:"endDate,omitempty,omitzero"`
Format SectionFormat `json:"format,omitempty,omitzero"`
GameCount int32 `json:"gameCount,omitempty,omitzero"`
GpPoints int32 `json:"gpPoints,omitempty,omitzero"`
Id SectionID `json:"id,omitempty,omitzero"`
IsBlitz bool `json:"isBlitz,omitempty,omitzero"`
IsEnhancedGp bool `json:"isEnhancedGp,omitempty,omitzero"`
IsGrandPrix bool `json:"isGrandPrix,omitempty,omitzero"`
IsJuniorGp bool `json:"isJuniorGp,omitempty,omitzero"`
IsOnline bool `json:"isOnline,omitempty,omitzero"`
IsTeamEvent bool `json:"isTeamEvent,omitempty,omitzero"`
Links []Link `json:"links,omitempty,omitzero"`
Name string `json:"name,omitempty,omitzero"`
NewEventId EventID `json:"newEventId,omitempty,omitzero"`
Ordinal int32 `json:"ordinal,omitempty,omitzero"`
ParticipantCoding ParticipantCoding `json:"participantCoding,omitempty,omitzero"`
PlayerCount int32 `json:"playerCount,omitempty,omitzero"`
PreviousVersionId string `json:"previousVersionId,omitempty,omitzero"`
// Deprecated: this property has been marked as deprecated upstream, but no `x-deprecated-reason` was set
RatingType SectionRatingType `json:"ratingSystem,omitempty,omitzero"`
RoundCount int32 `json:"roundCount,omitempty,omitzero"`
ShouldSubmitToFide bool `json:"shouldSubmitToFide,omitempty,omitzero"`
StartDate openapi_types.Date `json:"startDate,omitempty,omitzero"`
TimeControl string `json:"timeControl,omitempty,omitzero"`
Validations []FieldWithValidation `json:"validations,omitempty,omitzero"`
Volunteers string `json:"volunteers,omitempty,omitzero"`
}
PendingSectionDetail defines model for PendingSectionDetailDto.
type PendingSectionUpdate ¶
type PendingSectionUpdate struct {
EndDate openapi_types.Date `json:"endDate,omitempty,omitzero"`
Format SectionFormatUpdate `json:"format,omitempty,omitzero"`
GpPoints int32 `json:"gpPoints,omitempty,omitzero"`
IsBlitz bool `json:"isBlitz,omitempty,omitzero"`
IsEnhancedGp bool `json:"isEnhancedGp,omitempty,omitzero"`
IsGrandPrix bool `json:"isGrandPrix,omitempty,omitzero"`
IsJuniorGp bool `json:"isJuniorGp,omitempty,omitzero"`
IsOnline bool `json:"isOnline,omitempty,omitzero"`
IsTeamEvent bool `json:"isTeamEvent,omitempty,omitzero"`
Name string `json:"name,omitempty,omitzero"`
ParticipantCoding ParticipantCoding `json:"participantCoding,omitempty,omitzero"`
ShouldSubmitToFide bool `json:"shouldSubmitToFide,omitempty,omitzero"`
StartDate openapi_types.Date `json:"startDate,omitempty,omitzero"`
TimeControl string `json:"timeControl,omitempty,omitzero"`
Volunteers string `json:"volunteers,omitempty,omitzero"`
}
PendingSectionUpdate defines model for PendingSectionUpdateDto.
type PendingSectionValidation ¶
type PendingSectionValidation struct {
ChiefTD []string `json:"chiefTD,omitempty,omitzero"`
EndDate []string `json:"endDate,omitempty,omitzero"`
GameCount []string `json:"gameCount,omitempty,omitzero"`
Games []PendingGameValidation `json:"games,omitempty,omitzero"`
GpPoints []string `json:"gpPoints,omitempty,omitzero"`
Id string `json:"id,omitempty,omitzero"`
IsBlitz []string `json:"isBlitz,omitempty,omitzero"`
IsEnhancedGp []string `json:"isEnhancedGp,omitempty,omitzero"`
IsJuniorGp []string `json:"isJuniorGp,omitempty,omitzero"`
IsOnline []string `json:"isOnline,omitempty,omitzero"`
IsTeamEvent []string `json:"isTeamEvent,omitempty,omitzero"`
Name []string `json:"name,omitempty,omitzero"`
Officials []OfficialValidation `json:"officials,omitempty,omitzero"`
ParticipantCoding []string `json:"participantCoding,omitempty,omitzero"`
PlayerCount []string `json:"playerCount,omitempty,omitzero"`
Players []PendingPlayerValidation `json:"players,omitempty,omitzero"`
RatingSystem []string `json:"ratingSystem,omitempty,omitzero"`
ShouldSubmitToFide []string `json:"shouldSubmitToFide,omitempty,omitzero"`
StartDate []string `json:"startDate,omitempty,omitzero"`
TimeControl []string `json:"timeControl,omitempty,omitzero"`
}
PendingSectionValidation defines model for PendingSectionValidationDto.
type Player ¶
type Player struct {
MemberDetail
RatingSupplements []RatingSupplement
MemberEvents []RatedEvent
MemberRatedGames []MemberRatedGame
MemberRatedSections []MemberRatedSection
// contains filtered or unexported fields
}
Player is a convenience aggregation of MemberDetail with optional other information regarding the member (e.g. rating supplements, recent tournaments, etc)
func (*Player) LiveRatings ¶
func (p *Player) LiveRatings() ([]RatingSupplementSystem, error)
LiveRatings returns the player's ratings from the latest rating supplement, updated with rating records from sections completed since that supplement.
It returns an error unless the Player was retrieved with includeLiveRating set to true.
type PlayerGameOutcome ¶
type PlayerGameOutcome string
PlayerGameOutcome defines model for PlayerGameOutcome.
const ( PlayerGameOutcomeDraw PlayerGameOutcome = "Draw" PlayerGameOutcomeDrawAsym PlayerGameOutcome = "DrawAsym" PlayerGameOutcomeDrawForfeit PlayerGameOutcome = "DrawForfeit" PlayerGameOutcomeForfeit PlayerGameOutcome = "Forfeit" PlayerGameOutcomeLoss PlayerGameOutcome = "Loss" PlayerGameOutcomeLossAsym PlayerGameOutcome = "LossAsym" PlayerGameOutcomeNotReported PlayerGameOutcome = "NotReported" PlayerGameOutcomeReportNoResult PlayerGameOutcome = "ReportNoResult" PlayerGameOutcomeWin PlayerGameOutcome = "Win" PlayerGameOutcomeWinAsym PlayerGameOutcome = "WinAsym" PlayerGameOutcomeWinForfeit PlayerGameOutcome = "WinForfeit" )
Defines values for PlayerGameOutcome.
func (PlayerGameOutcome) Valid ¶
func (e PlayerGameOutcome) Valid() bool
Valid indicates whether the value is a known member of the PlayerGameOutcome enum.
type PlayerOutcome ¶
type PlayerOutcome string
PlayerOutcome defines model for PlayerOutcome.
const ( PlayerOutcomeByeFull PlayerOutcome = "ByeFull" PlayerOutcomeByeHalf PlayerOutcome = "ByeHalf" PlayerOutcomeDraw PlayerOutcome = "Draw" PlayerOutcomeDrawAsym PlayerOutcome = "DrawAsym" PlayerOutcomeDrawForfeit PlayerOutcome = "DrawForfeit" PlayerOutcomeForfeit PlayerOutcome = "Forfeit" PlayerOutcomeLoss PlayerOutcome = "Loss" PlayerOutcomeLossAsym PlayerOutcome = "LossAsym" PlayerOutcomeNotReported PlayerOutcome = "NotReported" PlayerOutcomeReportNoResult PlayerOutcome = "ReportNoResult" PlayerOutcomeUnpaired PlayerOutcome = "Unpaired" PlayerOutcomeWin PlayerOutcome = "Win" PlayerOutcomeWinAsym PlayerOutcome = "WinAsym" PlayerOutcomeWinForfeit PlayerOutcome = "WinForfeit" )
Defines values for PlayerOutcome.
func (PlayerOutcome) Valid ¶
func (e PlayerOutcome) Valid() bool
Valid indicates whether the value is a known member of the PlayerOutcome enum.
type ProblemDetails ¶
type ProblemDetails struct {
Detail string `json:"detail,omitempty,omitzero"`
Instance string `json:"instance,omitempty,omitzero"`
Status int32 `json:"status,omitempty,omitzero"`
Title string `json:"title,omitempty,omitzero"`
Type string `json:"type,omitempty,omitzero"`
AdditionalProperties map[string]interface{} `json:"-"`
}
ProblemDetails defines model for ProblemDetails.
func (ProblemDetails) Get ¶
func (a ProblemDetails) Get(fieldName string) (value interface{}, found bool)
Getter for additional properties for ProblemDetails. Returns the specified element and whether it was found
func (ProblemDetails) MarshalJSON ¶
func (a ProblemDetails) MarshalJSON() ([]byte, error)
Override default JSON handling for ProblemDetails to handle AdditionalProperties
func (*ProblemDetails) Set ¶
func (a *ProblemDetails) Set(fieldName string, value interface{})
Setter for additional properties for ProblemDetails
func (*ProblemDetails) UnmarshalJSON ¶
func (a *ProblemDetails) UnmarshalJSON(b []byte) error
Override default JSON handling for ProblemDetails to handle AdditionalProperties
type PromoCode ¶
type PromoCode struct {
DiscountAmount float64 `json:"discountAmount,omitempty,omitzero"`
DiscountType DiscountType `json:"discountType,omitempty,omitzero"`
Id string `json:"id,omitempty,omitzero"`
RequiresAdmin bool `json:"requiresAdmin,omitempty,omitzero"`
ValidFrom openapi_types.Date `json:"validFrom,omitempty,omitzero"`
ValidTo openapi_types.Date `json:"validTo,omitempty,omitzero"`
}
PromoCode defines model for PromoCodeDto.
type PromoCodePage ¶
type PromoCodePage struct {
HasNextPage bool `json:"hasNextPage,omitempty,omitzero"`
HasPreviousPage bool `json:"hasPreviousPage,omitempty,omitzero"`
Items []PromoCode `json:"items,omitempty,omitzero"`
Offset int32 `json:"offset,omitempty,omitzero"`
PageSize int32 `json:"pageSize,omitempty,omitzero"`
}
PromoCodePage defines model for PromoCodeDtoPage.
type RatedEvent ¶
type RatedEvent struct {
Affiliate MinimalAffiliate `json:"affiliate,omitempty,omitzero"`
City string `json:"city,omitempty,omitzero"`
CountryCode string `json:"countryCode,omitempty,omitzero"`
EndDate openapi_types.Date `json:"endDate,omitempty,omitzero"`
Id EventID `json:"id,omitempty,omitzero"`
Name string `json:"name,omitempty,omitzero"`
PlayerCount int32 `json:"playerCount,omitempty,omitzero"`
SectionCount int32 `json:"sectionCount,omitempty,omitzero"`
StartDate openapi_types.Date `json:"startDate,omitempty,omitzero"`
StateCode string `json:"stateCode,omitempty,omitzero"`
}
RatedEvent defines model for RatedEventDto.
type RatedEventDetail ¶
type RatedEventDetail struct {
Affiliate MinimalAffiliate `json:"affiliate,omitempty,omitzero"`
City string `json:"city,omitempty,omitzero"`
CountryCode string `json:"countryCode,omitempty,omitzero"`
CreatedDate openapi_types.Date `json:"createdDate,omitempty,omitzero"`
EndDate openapi_types.Date `json:"endDate,omitempty,omitzero"`
FirstRatedDate openapi_types.Date `json:"firstRatedDate,omitempty,omitzero"`
GameCount int32 `json:"gameCount,omitempty,omitzero"`
Id EventID `json:"id,omitempty,omitzero"`
IsWomens bool `json:"isWomens,omitempty,omitzero"`
LastRatedDate openapi_types.Date `json:"lastRatedDate,omitempty,omitzero"`
Name string `json:"name,omitempty,omitzero"`
PlayerCount int32 `json:"playerCount,omitempty,omitzero"`
SectionCount int32 `json:"sectionCount,omitempty,omitzero"`
Sections []MinimalSection `json:"sections,omitempty,omitzero"`
StartDate openapi_types.Date `json:"startDate,omitempty,omitzero"`
StateCode string `json:"stateCode,omitempty,omitzero"`
Status EventStatus `json:"status,omitempty,omitzero"`
ZipCode string `json:"zipCode,omitempty,omitzero"`
}
RatedEventDetail defines model for RatedEventDetailDto.
type RatedEventPage ¶
type RatedEventPage struct {
HasNextPage bool `json:"hasNextPage,omitempty,omitzero"`
HasPreviousPage bool `json:"hasPreviousPage,omitempty,omitzero"`
Items []RatedEvent `json:"items,omitempty,omitzero"`
Offset int32 `json:"offset,omitempty,omitzero"`
PageSize int32 `json:"pageSize,omitempty,omitzero"`
}
RatedEventPage defines model for RatedEventDtoPage.
type RatedEventSortBy ¶
type RatedEventSortBy string
RatedEventSortBy defines model for RatedEventSortBy.
const ( RatedEventSortByCity RatedEventSortBy = "City" RatedEventSortById RatedEventSortBy = "Id" RatedEventSortByName RatedEventSortBy = "Name" RatedEventSortByPlayerCount RatedEventSortBy = "PlayerCount" RatedEventSortBySectionCount RatedEventSortBy = "SectionCount" RatedEventSortByStartDate RatedEventSortBy = "StartDate" RatedEventSortByState RatedEventSortBy = "State" )
Defines values for RatedEventSortBy.
func (RatedEventSortBy) Valid ¶
func (e RatedEventSortBy) Valid() bool
Valid indicates whether the value is a known member of the RatedEventSortBy enum.
type RatedSection ¶
type RatedSection struct {
CountryCode string `json:"countryCode,omitempty,omitzero"`
EndDate openapi_types.Date `json:"endDate,omitempty,omitzero"`
EventId EventID `json:"eventId,omitempty,omitzero"`
EventName string `json:"eventName,omitempty,omitzero"`
Format SectionFormat `json:"format,omitempty,omitzero"`
GameCount int32 `json:"gameCount,omitempty,omitzero"`
GpPoints int32 `json:"gpPoints,omitempty,omitzero"`
Id SectionID `json:"id,omitempty,omitzero"`
IsBlitz bool `json:"isBlitz,omitempty,omitzero"`
IsExtendedGp bool `json:"isExtendedGp,omitempty,omitzero"`
IsGrandPrix bool `json:"isGrandPrix,omitempty,omitzero"`
IsJuniorGp bool `json:"isJuniorGp,omitempty,omitzero"`
IsOnline bool `json:"isOnline,omitempty,omitzero"`
IsTeamEvent bool `json:"isTeamEvent,omitempty,omitzero"`
ParticipantCoding ParticipantCoding `json:"participantCoding,omitempty,omitzero"`
PlayerCount int32 `json:"playerCount,omitempty,omitzero"`
RatedDate openapi_types.Date `json:"ratedDate,omitempty,omitzero"`
RoundCount int32 `json:"roundCount,omitempty,omitzero"`
SectionName string `json:"sectionName,omitempty,omitzero"`
SectionNumber int32 `json:"sectionNumber,omitempty,omitzero"`
ShouldSubmitToFide bool `json:"shouldSubmitToFide,omitempty,omitzero"`
StartDate openapi_types.Date `json:"startDate,omitempty,omitzero"`
StateCode string `json:"stateCode,omitempty,omitzero"`
TimeControl string `json:"timeControl,omitempty,omitzero"`
}
RatedSection defines model for RatedSectionDto.
type RatedSectionPage ¶
type RatedSectionPage struct {
HasNextPage bool `json:"hasNextPage,omitempty,omitzero"`
HasPreviousPage bool `json:"hasPreviousPage,omitempty,omitzero"`
Items []RatedSection `json:"items,omitempty,omitzero"`
Offset int32 `json:"offset,omitempty,omitzero"`
PageSize int32 `json:"pageSize,omitempty,omitzero"`
}
RatedSectionPage defines model for RatedSectionDtoPage.
type RatingRecord ¶
type RatingRecord struct {
PostProvisionalGameCount int32 `json:"postProvisionalGameCount,omitempty,omitzero"`
PostRating int32 `json:"postRating,omitempty,omitzero"`
PostRatingDecimal float64 `json:"postRatingDecimal,omitempty,omitzero"`
PreRating int32 `json:"preRating,omitempty,omitzero"`
PreRatingDecimal float64 `json:"preRatingDecimal,omitempty,omitzero"`
RatingType RatingType `json:"ratingSystem,omitempty,omitzero"`
}
RatingRecord defines model for RatingRecordDto.
type RatingSupplement ¶
type RatingSupplement struct {
RatingSupplementDate openapi_types.Date `json:"ratingSupplementDate,omitempty,omitzero"`
Ratings []RatingSupplementSystem `json:"ratings,omitempty,omitzero"`
}
RatingSupplement defines model for RatingSupplementDto.
type RatingSupplementPage ¶
type RatingSupplementPage struct {
HasNextPage bool `json:"hasNextPage,omitempty,omitzero"`
HasPreviousPage bool `json:"hasPreviousPage,omitempty,omitzero"`
Items []RatingSupplement `json:"items,omitempty,omitzero"`
Offset int32 `json:"offset,omitempty,omitzero"`
PageSize int32 `json:"pageSize,omitempty,omitzero"`
}
RatingSupplementPage defines model for RatingSupplementDtoPage.
type RatingSupplementSystem ¶
type RatingSupplementSystem struct {
ProvisionalGameCount int32 `json:"provisionalGameCount,omitempty,omitzero"`
Rating int32 `json:"rating,omitempty,omitzero"`
RatingType RatingType `json:"source,omitempty,omitzero"`
}
RatingSupplementSystem defines model for RatingSupplementSystemDto.
func (RatingSupplementSystem) String ¶
func (r RatingSupplementSystem) String() string
String returns the rating system in the format used by US Chess rating supplements.
type RatingType ¶
type RatingType string
RatingType defines model for RatingSource.
const ( RatingTypeB RatingType = "B" RatingTypeC RatingType = "C" RatingTypeCFC RatingType = "CFC" RatingTypeDNR RatingType = "DNR" RatingTypeF RatingType = "F" RatingTypeOB RatingType = "OB" RatingTypeOQ RatingType = "OQ" RatingTypeOR RatingType = "OR" RatingTypeQ RatingType = "Q" RatingTypeR RatingType = "R" RatingTypeU RatingType = "U" )
Defines values for RatingType.
func (RatingType) String ¶
func (r RatingType) String() string
String returns the display name for a rating type.
func (RatingType) Valid ¶
func (e RatingType) Valid() bool
Valid indicates whether the value is a known member of the RatingType enum.
type RatingValidationErrorLevel ¶
type RatingValidationErrorLevel string
RatingValidationErrorLevel defines model for RatingValidationErrorLevel.
const ( Fatal RatingValidationErrorLevel = "Fatal" Hot RatingValidationErrorLevel = "Hot" Medium RatingValidationErrorLevel = "Medium" Mild RatingValidationErrorLevel = "Mild" )
Defines values for RatingValidationErrorLevel.
func (RatingValidationErrorLevel) Valid ¶
func (e RatingValidationErrorLevel) Valid() bool
Valid indicates whether the value is a known member of the RatingValidationErrorLevel enum.
type ReleaseForReviewApplicationWildcardPlusJSONBody ¶
type ReleaseForReviewApplicationWildcardPlusJSONBody = ReviewCreate
ReleaseForReviewApplicationWildcardPlusJSONBody defines parameters for ReleaseForReview.
type ReleaseForReviewApplicationWildcardPlusJSONRequestBody ¶
type ReleaseForReviewApplicationWildcardPlusJSONRequestBody = ReleaseForReviewApplicationWildcardPlusJSONBody
ReleaseForReviewApplicationWildcardPlusJSONRequestBody defines body for ReleaseForReview for application/*+json ContentType.
type ReleaseForReviewJSONBody ¶
type ReleaseForReviewJSONBody = ReviewCreate
ReleaseForReviewJSONBody defines parameters for ReleaseForReview.
type ReleaseForReviewJSONRequestBody ¶
type ReleaseForReviewJSONRequestBody = ReleaseForReviewJSONBody
ReleaseForReviewJSONRequestBody defines body for ReleaseForReview for application/json ContentType.
type ReleaseForReviewResponse ¶
type ReleaseForReviewResponse struct {
Body []byte
HTTPResponse *http.Response
JSON400 *ProblemDetails
}
func ParseReleaseForReviewResponse ¶
func ParseReleaseForReviewResponse(rsp *http.Response) (*ReleaseForReviewResponse, error)
ParseReleaseForReviewResponse parses an HTTP response from a ReleaseForReviewWithResponse call
func (ReleaseForReviewResponse) ContentType ¶
func (r ReleaseForReviewResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ReleaseForReviewResponse) Status ¶
func (r ReleaseForReviewResponse) Status() string
Status returns HTTPResponse.Status
func (ReleaseForReviewResponse) StatusCode ¶
func (r ReleaseForReviewResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type RequestEditorFn ¶
RequestEditorFn is the function signature for the RequestEditor callback function
type ReviewCreate ¶
type ReviewCreate struct {
IsComply bool `json:"isComply,omitempty,omitzero"`
}
ReviewCreate defines model for ReviewCreateDto.
type ReviewUpdate ¶
type ReviewUpdate struct {
ReviewStatus EventReviewStatus `json:"reviewStatus,omitempty,omitzero"`
}
ReviewUpdate defines model for ReviewUpdateDto.
type SectionDetail ¶
type SectionDetail struct {
CreatedDate openapi_types.Date `json:"createdDate,omitempty,omitzero"`
EndDate openapi_types.Date `json:"endDate,omitempty,omitzero"`
FirstRatedDate openapi_types.Date `json:"firstRatedDate,omitempty,omitzero"`
Format SectionFormat `json:"format,omitempty,omitzero"`
GameCount int32 `json:"gameCount,omitempty,omitzero"`
GpPoints int32 `json:"gpPoints,omitempty,omitzero"`
Id SectionID `json:"id,omitempty,omitzero"`
IsBlitz bool `json:"isBlitz,omitempty,omitzero"`
IsExtendedGp bool `json:"isExtendedGp,omitempty,omitzero"`
IsGrandPrix bool `json:"isGrandPrix,omitempty,omitzero"`
IsJuniorGp bool `json:"isJuniorGp,omitempty,omitzero"`
IsOnline bool `json:"isOnline,omitempty,omitzero"`
IsTeamEvent bool `json:"isTeamEvent,omitempty,omitzero"`
LastRatedDate openapi_types.Date `json:"lastRatedDate,omitempty,omitzero"`
Name string `json:"name,omitempty,omitzero"`
Number int32 `json:"number,omitempty,omitzero"`
ParticipantCoding ParticipantCoding `json:"participantCoding,omitempty,omitzero"`
PlayerCount int32 `json:"playerCount,omitempty,omitzero"`
RatingType SectionRatingType `json:"ratingSystem,omitempty,omitzero"`
RoundCount int32 `json:"roundCount,omitempty,omitzero"`
ShouldSubmitToFide bool `json:"shouldSubmitToFide,omitempty,omitzero"`
StartDate openapi_types.Date `json:"startDate,omitempty,omitzero"`
TimeControl string `json:"timeControl,omitempty,omitzero"`
Volunteers string `json:"volunteers,omitempty,omitzero"`
}
SectionDetail defines model for SectionDetailDto.
type SectionFormat ¶
type SectionFormat string
SectionFormat defines model for SectionFormat.
const ( SectionFormatDoubleRoundRobin SectionFormat = "DoubleRoundRobin" SectionFormatDoubleRoundSwiss SectionFormat = "DoubleRoundSwiss" SectionFormatFideAdjustment SectionFormat = "FideAdjustment" SectionFormatMatch SectionFormat = "Match" SectionFormatOther SectionFormat = "Other" SectionFormatRoundRobin SectionFormat = "RoundRobin" SectionFormatSwiss SectionFormat = "Swiss" )
Defines values for SectionFormat.
func (SectionFormat) Valid ¶
func (e SectionFormat) Valid() bool
Valid indicates whether the value is a known member of the SectionFormat enum.
type SectionFormatUpdate ¶
type SectionFormatUpdate string
SectionFormatUpdate defines model for SectionFormatUpdate.
const ( SectionFormatUpdateDoubleRoundRobin SectionFormatUpdate = "DoubleRoundRobin" SectionFormatUpdateDoubleRoundSwiss SectionFormatUpdate = "DoubleRoundSwiss" SectionFormatUpdateMatch SectionFormatUpdate = "Match" SectionFormatUpdateOther SectionFormatUpdate = "Other" SectionFormatUpdateRoundRobin SectionFormatUpdate = "RoundRobin" SectionFormatUpdateSwiss SectionFormatUpdate = "Swiss" )
Defines values for SectionFormatUpdate.
func (SectionFormatUpdate) Valid ¶
func (e SectionFormatUpdate) Valid() bool
Valid indicates whether the value is a known member of the SectionFormatUpdate enum.
type SectionRatingType ¶
type SectionRatingType string
SectionRatingType defines model for SectionRatingSystem.
const ( SectionRatingTypeA SectionRatingType = "A" SectionRatingTypeB SectionRatingType = "B" SectionRatingTypeD SectionRatingType = "D" SectionRatingTypeF SectionRatingType = "F" SectionRatingTypeG SectionRatingType = "G" SectionRatingTypeOB SectionRatingType = "OB" SectionRatingTypeOQ SectionRatingType = "OQ" SectionRatingTypeOR SectionRatingType = "OR" SectionRatingTypeQ SectionRatingType = "Q" SectionRatingTypeR SectionRatingType = "R" SectionRatingTypeU SectionRatingType = "U" )
Defines values for SectionRatingType.
func (SectionRatingType) String ¶
func (r SectionRatingType) String() string
String returns the display name for a section rating type.
func (SectionRatingType) Valid ¶
func (e SectionRatingType) Valid() bool
Valid indicates whether the value is a known member of the SectionRatingType enum.
type SortDirection ¶
type SortDirection string
SortDirection defines model for SortDirection.
const ( Asc SortDirection = "Asc" Desc SortDirection = "Desc" )
Defines values for SortDirection.
func (SortDirection) Valid ¶
func (e SortDirection) Valid() bool
Valid indicates whether the value is a known member of the SortDirection enum.
type Standings ¶
type Standings struct {
FideCountry string `json:"fideCountry,omitempty,omitzero"`
FideId FIDEID `json:"fideId,omitempty,omitzero"`
FideRating int32 `json:"fideRating,omitempty,omitzero"`
FirstName string `json:"firstName,omitempty,omitzero"`
LastName string `json:"lastName,omitempty,omitzero"`
MemberId MemberID `json:"memberId,omitempty,omitzero"`
Ordinal int32 `json:"ordinal,omitempty,omitzero"`
PairingNumber int32 `json:"pairingNumber,omitempty,omitzero"`
PlayerId string `json:"playerId,omitempty,omitzero"`
Ratings []RatingRecord `json:"ratings,omitempty,omitzero"`
RoundOutcomes []StandingsRound `json:"roundOutcomes,omitempty,omitzero"`
Score float32 `json:"score,omitempty,omitzero"`
StateRep string `json:"stateRep,omitempty,omitzero"`
}
Standings defines model for StandingsDto.
type StandingsOneSection ¶
type StandingsOneSection []Standings
StandingsOneSection contains the standings/crosstable entries for one tournament section.
type StandingsPage ¶
type StandingsPage struct {
HasNextPage bool `json:"hasNextPage,omitempty,omitzero"`
HasPreviousPage bool `json:"hasPreviousPage,omitempty,omitzero"`
Items []Standings `json:"items,omitempty,omitzero"`
Offset int32 `json:"offset,omitempty,omitzero"`
PageSize int32 `json:"pageSize,omitempty,omitzero"`
}
StandingsPage defines model for StandingsDtoPage.
type StandingsRound ¶
type StandingsRound struct {
Color ChessColor `json:"color,omitempty,omitzero"`
Id string `json:"id,omitempty,omitzero"`
OpponentFirstName string `json:"opponentFirstName,omitempty,omitzero"`
OpponentLastName string `json:"opponentLastName,omitempty,omitzero"`
OpponentMemberId MemberID `json:"opponentMemberId,omitempty,omitzero"`
OpponentOrdinal int32 `json:"opponentOrdinal,omitempty,omitzero"`
OpponentPairingNumber int32 `json:"opponentPairingNumber,omitempty,omitzero"`
OpponentPlayerId string `json:"opponentPlayerId,omitempty,omitzero"`
OpponentRoundNumber int32 `json:"opponentRoundNumber,omitempty,omitzero"`
Outcome PlayerOutcome `json:"outcome,omitempty,omitzero"`
PlayerRoundNumber int32 `json:"playerRoundNumber,omitempty,omitzero"`
RoundNumber int32 `json:"roundNumber,omitempty,omitzero"`
}
StandingsRound defines model for StandingsRoundDto.
type StartTopPlayerReportJobApplicationWildcardPlusJSONBody ¶
type StartTopPlayerReportJobApplicationWildcardPlusJSONBody = TopPlayerReportOptions
StartTopPlayerReportJobApplicationWildcardPlusJSONBody defines parameters for StartTopPlayerReportJob.
type StartTopPlayerReportJobApplicationWildcardPlusJSONRequestBody ¶
type StartTopPlayerReportJobApplicationWildcardPlusJSONRequestBody = StartTopPlayerReportJobApplicationWildcardPlusJSONBody
StartTopPlayerReportJobApplicationWildcardPlusJSONRequestBody defines body for StartTopPlayerReportJob for application/*+json ContentType.
type StartTopPlayerReportJobJSONBody ¶
type StartTopPlayerReportJobJSONBody = TopPlayerReportOptions
StartTopPlayerReportJobJSONBody defines parameters for StartTopPlayerReportJob.
type StartTopPlayerReportJobJSONRequestBody ¶
type StartTopPlayerReportJobJSONRequestBody = StartTopPlayerReportJobJSONBody
StartTopPlayerReportJobJSONRequestBody defines body for StartTopPlayerReportJob for application/json ContentType.
type StartTopPlayerReportJobResponse ¶
type StartTopPlayerReportJobResponse struct {
Body []byte
HTTPResponse *http.Response
JSON401 *ProblemDetails
JSON403 *ProblemDetails
}
func ParseStartTopPlayerReportJobResponse ¶
func ParseStartTopPlayerReportJobResponse(rsp *http.Response) (*StartTopPlayerReportJobResponse, error)
ParseStartTopPlayerReportJobResponse parses an HTTP response from a StartTopPlayerReportJobWithResponse call
func (StartTopPlayerReportJobResponse) ContentType ¶
func (r StartTopPlayerReportJobResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (StartTopPlayerReportJobResponse) Status ¶
func (r StartTopPlayerReportJobResponse) Status() string
Status returns HTTPResponse.Status
func (StartTopPlayerReportJobResponse) StatusCode ¶
func (r StartTopPlayerReportJobResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type TopPlayer ¶
type TopPlayer struct {
// Deprecated: this property has been marked as deprecated upstream, but no `x-deprecated-reason` was set
Age int32 `json:"age,omitempty,omitzero"`
CountryCode string `json:"countryCode,omitempty,omitzero"`
ExpirationDate openapi_types.Date `json:"expirationDate,omitempty,omitzero"`
FideCountry string `json:"fideCountry,omitempty,omitzero"`
FideTitle string `json:"fideTitle,omitempty,omitzero"`
FirstName string `json:"firstName,omitempty,omitzero"`
Gender Gender `json:"gender,omitempty,omitzero"`
Id MemberID `json:"id,omitempty,omitzero"`
Jurisdiction string `json:"jurisdiction,omitempty,omitzero"`
LastName string `json:"lastName,omitempty,omitzero"`
Ordinal int32 `json:"ordinal,omitempty,omitzero"`
Rating int32 `json:"rating,omitempty,omitzero"`
StateRep string `json:"stateRep,omitempty,omitzero"`
Status MemberStatus `json:"status,omitempty,omitzero"`
TieIndex int32 `json:"tieIndex,omitempty,omitzero"`
UscfTitle string `json:"uscfTitle,omitempty,omitzero"`
// Deprecated: this property has been marked as deprecated upstream, but no `x-deprecated-reason` was set
VerifiedBirthDate bool `json:"verifiedBirthDate,omitempty,omitzero"`
// Deprecated: this property has been marked as deprecated upstream, but no `x-deprecated-reason` was set
VerifiedGender bool `json:"verifiedGender,omitempty,omitzero"`
}
TopPlayer defines model for TopPlayerDto.
type TopPlayerReport ¶
type TopPlayerReport struct {
Gender Gender `json:"gender,omitempty,omitzero"`
IsAnyFed bool `json:"isAnyFed,omitempty,omitzero"`
IsProvisional bool `json:"isProvisional,omitempty,omitzero"`
MaxAge int32 `json:"maxAge,omitempty,omitzero"`
MinAge int32 `json:"minAge,omitempty,omitzero"`
Name string `json:"name,omitempty,omitzero"`
RatingType RatingType `json:"ratingSource,omitempty,omitzero"`
ReportDate openapi_types.Date `json:"reportDate,omitempty,omitzero"`
TopPlayerReportDefinitionId string `json:"topPlayerReportDefinitionId,omitempty,omitzero"`
TopPlayers []TopPlayer `json:"topPlayers,omitempty,omitzero"`
TopPlayersProvisional []TopPlayer `json:"topPlayersProvisional,omitempty,omitzero"`
}
TopPlayerReport defines model for TopPlayerReportDto.
type TopPlayerReportDefinition ¶
type TopPlayerReportDefinition struct {
FideUsaOnly bool `json:"fideUsaOnly,omitempty,omitzero"`
Gender Gender `json:"gender,omitempty,omitzero"`
Id string `json:"id,omitempty,omitzero"`
MaxAge int32 `json:"maxAge,omitempty,omitzero"`
MinAge int32 `json:"minAge,omitempty,omitzero"`
Name string `json:"name,omitempty,omitzero"`
RatingType RatingType `json:"ratingSource,omitempty,omitzero"`
}
TopPlayerReportDefinition defines model for TopPlayerReportDefinitionDto.
type TopPlayerReportDefinitionItemsEnvelope ¶
type TopPlayerReportDefinitionItemsEnvelope struct {
Items []TopPlayerReportDefinition `json:"items,omitempty,omitzero"`
}
TopPlayerReportDefinitionItemsEnvelope defines model for TopPlayerReportDefinitionDtoItemsEnvelope.
type TopPlayerReportOptions ¶
type TopPlayerReportOptions struct {
IsProvisional bool `json:"isProvisional,omitempty,omitzero"`
}
TopPlayerReportOptions defines model for TopPlayerReportOptionsDto.
type TopPlayerReportPage ¶
type TopPlayerReportPage struct {
HasNextPage bool `json:"hasNextPage,omitempty,omitzero"`
HasPreviousPage bool `json:"hasPreviousPage,omitempty,omitzero"`
Items []TopPlayerReport `json:"items,omitempty,omitzero"`
Offset int32 `json:"offset,omitempty,omitzero"`
PageSize int32 `json:"pageSize,omitempty,omitzero"`
}
TopPlayerReportPage defines model for TopPlayerReportDtoPage.
type Tournament ¶
type Tournament struct {
RatedEventDetail
SectionStandings []StandingsOneSection
}
Tournament is a convenience aggregation of RatedEventDetail with standings/crosstable information included for each section
type TournamentDirectorCertStatus ¶
type TournamentDirectorCertStatus string
TournamentDirectorCertStatus defines model for TournamentDirectorCertStatus.
const ( TournamentDirectorCertStatusActive TournamentDirectorCertStatus = "Active" TournamentDirectorCertStatusInactive TournamentDirectorCertStatus = "Inactive" TournamentDirectorCertStatusLapsed TournamentDirectorCertStatus = "Lapsed" TournamentDirectorCertStatusSuspended TournamentDirectorCertStatus = "Suspended" )
Defines values for TournamentDirectorCertStatus.
func (TournamentDirectorCertStatus) Valid ¶
func (e TournamentDirectorCertStatus) Valid() bool
Valid indicates whether the value is a known member of the TournamentDirectorCertStatus enum.
type TournamentDirectorLevel ¶
type TournamentDirectorLevel string
TournamentDirectorLevel defines model for TournamentDirectorLevel.
const ( ANTD TournamentDirectorLevel = "ANTD" Club TournamentDirectorLevel = "Club" Local TournamentDirectorLevel = "Local" N TournamentDirectorLevel = "N" NationalTd TournamentDirectorLevel = "NationalTd" Senior TournamentDirectorLevel = "Senior" )
Defines values for TournamentDirectorLevel.
func (TournamentDirectorLevel) Valid ¶
func (e TournamentDirectorLevel) Valid() bool
Valid indicates whether the value is a known member of the TournamentDirectorLevel enum.
type UnofficialRankLookup ¶
type UnofficialRankLookup struct {
Jurisdiction string `json:"jurisdiction,omitempty,omitzero"`
RatingType RatingType `json:"ratingSource,omitempty,omitzero"`
RatingToUnofficialRank map[string]int32 `json:"ratingToUnofficialRank,omitempty,omitzero"`
}
UnofficialRankLookup defines model for UnofficialRankLookupDto.
type UnpairedType ¶
type UnpairedType string
UnpairedType defines model for UnpairedType.
const ( ByeFull UnpairedType = "ByeFull" ByeHalf UnpairedType = "ByeHalf" Unpaired UnpairedType = "Unpaired" )
Defines values for UnpairedType.
func (UnpairedType) Valid ¶
func (e UnpairedType) Valid() bool
Valid indicates whether the value is a known member of the UnpairedType enum.
type UnplayedRound ¶
type UnplayedRound struct {
FirstName string `json:"firstName,omitempty,omitzero"`
Id string `json:"id,omitempty,omitzero"`
LastName string `json:"lastName,omitempty,omitzero"`
MemberId MemberID `json:"memberId,omitempty,omitzero"`
PairingNumber int32 `json:"pairingNumber,omitempty,omitzero"`
PlayerId string `json:"playerId,omitempty,omitzero"`
PreviousVersionId string `json:"previousVersionId,omitempty,omitzero"`
RoundNumber int32 `json:"roundNumber,omitempty,omitzero"`
SectionId SectionID `json:"sectionId,omitempty,omitzero"`
Type UnpairedType `json:"type,omitempty,omitzero"`
}
UnplayedRound defines model for UnplayedRoundDto.
type UnplayedRoundCreate ¶
type UnplayedRoundCreate struct {
PlayerId string `json:"playerId,omitempty,omitzero"`
RoundNumber int32 `json:"roundNumber,omitempty,omitzero"`
Type UnpairedType `json:"type,omitempty,omitzero"`
}
UnplayedRoundCreate defines model for UnplayedRoundCreateDto.
type UpdateComplianceApplicationWildcardPlusJSONBody ¶
type UpdateComplianceApplicationWildcardPlusJSONBody = EventCompliance
UpdateComplianceApplicationWildcardPlusJSONBody defines parameters for UpdateCompliance.
type UpdateComplianceApplicationWildcardPlusJSONRequestBody ¶
type UpdateComplianceApplicationWildcardPlusJSONRequestBody = UpdateComplianceApplicationWildcardPlusJSONBody
UpdateComplianceApplicationWildcardPlusJSONRequestBody defines body for UpdateCompliance for application/*+json ContentType.
type UpdateComplianceJSONBody ¶
type UpdateComplianceJSONBody = EventCompliance
UpdateComplianceJSONBody defines parameters for UpdateCompliance.
type UpdateComplianceJSONRequestBody ¶
type UpdateComplianceJSONRequestBody = UpdateComplianceJSONBody
UpdateComplianceJSONRequestBody defines body for UpdateCompliance for application/json ContentType.
type UpdateComplianceResponse ¶
type UpdateComplianceResponse struct {
Body []byte
HTTPResponse *http.Response
JSON400 *ProblemDetails
}
func ParseUpdateComplianceResponse ¶
func ParseUpdateComplianceResponse(rsp *http.Response) (*UpdateComplianceResponse, error)
ParseUpdateComplianceResponse parses an HTTP response from a UpdateComplianceWithResponse call
func (UpdateComplianceResponse) ContentType ¶
func (r UpdateComplianceResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (UpdateComplianceResponse) Status ¶
func (r UpdateComplianceResponse) Status() string
Status returns HTTPResponse.Status
func (UpdateComplianceResponse) StatusCode ¶
func (r UpdateComplianceResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UpdateOfficialApplicationWildcardPlusJSONBody ¶
type UpdateOfficialApplicationWildcardPlusJSONBody = OfficialUpdate
UpdateOfficialApplicationWildcardPlusJSONBody defines parameters for UpdateOfficial.
type UpdateOfficialApplicationWildcardPlusJSONRequestBody ¶
type UpdateOfficialApplicationWildcardPlusJSONRequestBody = UpdateOfficialApplicationWildcardPlusJSONBody
UpdateOfficialApplicationWildcardPlusJSONRequestBody defines body for UpdateOfficial for application/*+json ContentType.
type UpdateOfficialJSONBody ¶
type UpdateOfficialJSONBody = OfficialUpdate
UpdateOfficialJSONBody defines parameters for UpdateOfficial.
type UpdateOfficialJSONRequestBody ¶
type UpdateOfficialJSONRequestBody = UpdateOfficialJSONBody
UpdateOfficialJSONRequestBody defines body for UpdateOfficial for application/json ContentType.
type UpdateOfficialResponse ¶
type UpdateOfficialResponse struct {
Body []byte
HTTPResponse *http.Response
JSON400 *ProblemDetails
}
func ParseUpdateOfficialResponse ¶
func ParseUpdateOfficialResponse(rsp *http.Response) (*UpdateOfficialResponse, error)
ParseUpdateOfficialResponse parses an HTTP response from a UpdateOfficialWithResponse call
func (UpdateOfficialResponse) ContentType ¶
func (r UpdateOfficialResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (UpdateOfficialResponse) Status ¶
func (r UpdateOfficialResponse) Status() string
Status returns HTTPResponse.Status
func (UpdateOfficialResponse) StatusCode ¶
func (r UpdateOfficialResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UpdatePendingEventApplicationWildcardPlusJSONBody ¶
type UpdatePendingEventApplicationWildcardPlusJSONBody = PendingEventUpdate
UpdatePendingEventApplicationWildcardPlusJSONBody defines parameters for UpdatePendingEvent.
type UpdatePendingEventApplicationWildcardPlusJSONRequestBody ¶
type UpdatePendingEventApplicationWildcardPlusJSONRequestBody = UpdatePendingEventApplicationWildcardPlusJSONBody
UpdatePendingEventApplicationWildcardPlusJSONRequestBody defines body for UpdatePendingEvent for application/*+json ContentType.
type UpdatePendingEventJSONBody ¶
type UpdatePendingEventJSONBody = PendingEventUpdate
UpdatePendingEventJSONBody defines parameters for UpdatePendingEvent.
type UpdatePendingEventJSONRequestBody ¶
type UpdatePendingEventJSONRequestBody = UpdatePendingEventJSONBody
UpdatePendingEventJSONRequestBody defines body for UpdatePendingEvent for application/json ContentType.
type UpdatePendingEventResponse ¶
type UpdatePendingEventResponse struct {
Body []byte
HTTPResponse *http.Response
JSON400 *ProblemDetails
}
func ParseUpdatePendingEventResponse ¶
func ParseUpdatePendingEventResponse(rsp *http.Response) (*UpdatePendingEventResponse, error)
ParseUpdatePendingEventResponse parses an HTTP response from a UpdatePendingEventWithResponse call
func (UpdatePendingEventResponse) ContentType ¶
func (r UpdatePendingEventResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (UpdatePendingEventResponse) Status ¶
func (r UpdatePendingEventResponse) Status() string
Status returns HTTPResponse.Status
func (UpdatePendingEventResponse) StatusCode ¶
func (r UpdatePendingEventResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UpdatePendingGameApplicationWildcardPlusJSONBody ¶
type UpdatePendingGameApplicationWildcardPlusJSONBody = PendingGameUpdate
UpdatePendingGameApplicationWildcardPlusJSONBody defines parameters for UpdatePendingGame.
type UpdatePendingGameApplicationWildcardPlusJSONRequestBody ¶
type UpdatePendingGameApplicationWildcardPlusJSONRequestBody = UpdatePendingGameApplicationWildcardPlusJSONBody
UpdatePendingGameApplicationWildcardPlusJSONRequestBody defines body for UpdatePendingGame for application/*+json ContentType.
type UpdatePendingGameJSONBody ¶
type UpdatePendingGameJSONBody = PendingGameUpdate
UpdatePendingGameJSONBody defines parameters for UpdatePendingGame.
type UpdatePendingGameJSONRequestBody ¶
type UpdatePendingGameJSONRequestBody = UpdatePendingGameJSONBody
UpdatePendingGameJSONRequestBody defines body for UpdatePendingGame for application/json ContentType.
type UpdatePendingGameResponse ¶
type UpdatePendingGameResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *PendingGame
JSON400 *ProblemDetails
}
func ParseUpdatePendingGameResponse ¶
func ParseUpdatePendingGameResponse(rsp *http.Response) (*UpdatePendingGameResponse, error)
ParseUpdatePendingGameResponse parses an HTTP response from a UpdatePendingGameWithResponse call
func (UpdatePendingGameResponse) ContentType ¶
func (r UpdatePendingGameResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (UpdatePendingGameResponse) Status ¶
func (r UpdatePendingGameResponse) Status() string
Status returns HTTPResponse.Status
func (UpdatePendingGameResponse) StatusCode ¶
func (r UpdatePendingGameResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UpdatePendingPlayerApplicationWildcardPlusJSONBody ¶
type UpdatePendingPlayerApplicationWildcardPlusJSONBody = PendingPlayerUpdate
UpdatePendingPlayerApplicationWildcardPlusJSONBody defines parameters for UpdatePendingPlayer.
type UpdatePendingPlayerApplicationWildcardPlusJSONRequestBody ¶
type UpdatePendingPlayerApplicationWildcardPlusJSONRequestBody = UpdatePendingPlayerApplicationWildcardPlusJSONBody
UpdatePendingPlayerApplicationWildcardPlusJSONRequestBody defines body for UpdatePendingPlayer for application/*+json ContentType.
type UpdatePendingPlayerJSONBody ¶
type UpdatePendingPlayerJSONBody = PendingPlayerUpdate
UpdatePendingPlayerJSONBody defines parameters for UpdatePendingPlayer.
type UpdatePendingPlayerJSONRequestBody ¶
type UpdatePendingPlayerJSONRequestBody = UpdatePendingPlayerJSONBody
UpdatePendingPlayerJSONRequestBody defines body for UpdatePendingPlayer for application/json ContentType.
type UpdatePendingPlayerResponse ¶
type UpdatePendingPlayerResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *PendingPlayer
JSON400 *ProblemDetails
}
func ParseUpdatePendingPlayerResponse ¶
func ParseUpdatePendingPlayerResponse(rsp *http.Response) (*UpdatePendingPlayerResponse, error)
ParseUpdatePendingPlayerResponse parses an HTTP response from a UpdatePendingPlayerWithResponse call
func (UpdatePendingPlayerResponse) ContentType ¶
func (r UpdatePendingPlayerResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (UpdatePendingPlayerResponse) Status ¶
func (r UpdatePendingPlayerResponse) Status() string
Status returns HTTPResponse.Status
func (UpdatePendingPlayerResponse) StatusCode ¶
func (r UpdatePendingPlayerResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UpdatePendingSectionApplicationWildcardPlusJSONBody ¶
type UpdatePendingSectionApplicationWildcardPlusJSONBody = PendingSectionUpdate
UpdatePendingSectionApplicationWildcardPlusJSONBody defines parameters for UpdatePendingSection.
type UpdatePendingSectionApplicationWildcardPlusJSONRequestBody ¶
type UpdatePendingSectionApplicationWildcardPlusJSONRequestBody = UpdatePendingSectionApplicationWildcardPlusJSONBody
UpdatePendingSectionApplicationWildcardPlusJSONRequestBody defines body for UpdatePendingSection for application/*+json ContentType.
type UpdatePendingSectionJSONBody ¶
type UpdatePendingSectionJSONBody = PendingSectionUpdate
UpdatePendingSectionJSONBody defines parameters for UpdatePendingSection.
type UpdatePendingSectionJSONRequestBody ¶
type UpdatePendingSectionJSONRequestBody = UpdatePendingSectionJSONBody
UpdatePendingSectionJSONRequestBody defines body for UpdatePendingSection for application/json ContentType.
type UpdatePendingSectionResponse ¶
type UpdatePendingSectionResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *PendingSectionDetail
JSON400 *ProblemDetails
}
func ParseUpdatePendingSectionResponse ¶
func ParseUpdatePendingSectionResponse(rsp *http.Response) (*UpdatePendingSectionResponse, error)
ParseUpdatePendingSectionResponse parses an HTTP response from a UpdatePendingSectionWithResponse call
func (UpdatePendingSectionResponse) ContentType ¶
func (r UpdatePendingSectionResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (UpdatePendingSectionResponse) Status ¶
func (r UpdatePendingSectionResponse) Status() string
Status returns HTTPResponse.Status
func (UpdatePendingSectionResponse) StatusCode ¶
func (r UpdatePendingSectionResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UpdateReviewApplicationWildcardPlusJSONBody ¶
type UpdateReviewApplicationWildcardPlusJSONBody = ReviewUpdate
UpdateReviewApplicationWildcardPlusJSONBody defines parameters for UpdateReview.
type UpdateReviewApplicationWildcardPlusJSONRequestBody ¶
type UpdateReviewApplicationWildcardPlusJSONRequestBody = UpdateReviewApplicationWildcardPlusJSONBody
UpdateReviewApplicationWildcardPlusJSONRequestBody defines body for UpdateReview for application/*+json ContentType.
type UpdateReviewJSONBody ¶
type UpdateReviewJSONBody = ReviewUpdate
UpdateReviewJSONBody defines parameters for UpdateReview.
type UpdateReviewJSONRequestBody ¶
type UpdateReviewJSONRequestBody = UpdateReviewJSONBody
UpdateReviewJSONRequestBody defines body for UpdateReview for application/json ContentType.
type UpdateReviewResponse ¶
type UpdateReviewResponse struct {
Body []byte
HTTPResponse *http.Response
JSON400 *ProblemDetails
JSON403 *ProblemDetails
}
func ParseUpdateReviewResponse ¶
func ParseUpdateReviewResponse(rsp *http.Response) (*UpdateReviewResponse, error)
ParseUpdateReviewResponse parses an HTTP response from a UpdateReviewWithResponse call
func (UpdateReviewResponse) ContentType ¶
func (r UpdateReviewResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (UpdateReviewResponse) Status ¶
func (r UpdateReviewResponse) Status() string
Status returns HTTPResponse.Status
func (UpdateReviewResponse) StatusCode ¶
func (r UpdateReviewResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UploadMultipartBody ¶
type UploadMultipartBody struct {
EventFile openapi_types.File `json:"eventFile,omitempty,omitzero"`
PlayersFile openapi_types.File `json:"playersFile,omitempty,omitzero"`
SectionsFile openapi_types.File `json:"sectionsFile,omitempty,omitzero"`
}
UploadMultipartBody defines parameters for Upload.
type UploadMultipartRequestBody ¶
type UploadMultipartRequestBody UploadMultipartBody
UploadMultipartRequestBody defines body for Upload for multipart/form-data ContentType.
type UploadResponse ¶
type UploadResponse struct {
Body []byte
HTTPResponse *http.Response
JSON201 *PendingEventDetail
JSON400 *ProblemDetails
}
func ParseUploadResponse ¶
func ParseUploadResponse(rsp *http.Response) (*UploadResponse, error)
ParseUploadResponse parses an HTTP response from a UploadWithResponse call
func (UploadResponse) ContentType ¶
func (r UploadResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (UploadResponse) Status ¶
func (r UploadResponse) Status() string
Status returns HTTPResponse.Status
func (UploadResponse) StatusCode ¶
func (r UploadResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ValidatePendingEventResponse ¶
type ValidatePendingEventResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *PendingEventValidationResult
}
func ParseValidatePendingEventResponse ¶
func ParseValidatePendingEventResponse(rsp *http.Response) (*ValidatePendingEventResponse, error)
ParseValidatePendingEventResponse parses an HTTP response from a ValidatePendingEventWithResponse call
func (ValidatePendingEventResponse) ContentType ¶
func (r ValidatePendingEventResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ValidatePendingEventResponse) Status ¶
func (r ValidatePendingEventResponse) Status() string
Status returns HTTPResponse.Status
func (ValidatePendingEventResponse) StatusCode ¶
func (r ValidatePendingEventResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ValidationFilter ¶
type ValidationFilter string
ValidationFilter defines model for ValidationFilter.
const ( Alert ValidationFilter = "Alert" Error ValidationFilter = "Error" Warning ValidationFilter = "Warning" )
Defines values for ValidationFilter.
func (ValidationFilter) Valid ¶
func (e ValidationFilter) Valid() bool
Valid indicates whether the value is a known member of the ValidationFilter enum.
type ValidationInfo ¶
type ValidationInfo struct {
Level RatingValidationErrorLevel `json:"level,omitempty,omitzero"`
Message string `json:"message,omitempty,omitzero"`
}
ValidationInfo defines model for ValidationInfoDto.
Source Files
¶
Directories
¶
| Path | Synopsis |
|---|---|
|
examples
|
|
|
affiliate-description
command
Command affiliatedescription prints a summary of a US Chess affiliate.
|
Command affiliatedescription prints a summary of a US Chess affiliate. |
|
crosstable
command
Command crosstable writes a CSV crosstable for each section of an event.
|
Command crosstable writes a CSV crosstable for each section of an event. |
|
event-description
command
Command eventdescription prints a summary of a rated event.
|
Command eventdescription prints a summary of a rated event. |
|
event-standings
command
Command eventstandings prints an event's standings, grouped by section.
|
Command eventstandings prints an event's standings, grouped by section. |
|
member
command
Command member fetches a US Chess member profile using the generated OpenAPI client.
|
Command member fetches a US Chess member profile using the generated OpenAPI client. |
|
player
command
Command player retrieves a member with every GetPlayer option enabled.
|
Command player retrieves a member with every GetPlayer option enabled. |
|
rating-estimate
command
Command rating-estimate estimates a player's post-event Regular rating.
|
Command rating-estimate estimates a player's post-event Regular rating. |
|
rating-supplements
command
Command ratingsupplements prints a member's rating supplements.
|
Command ratingsupplements prints a member's rating supplements. |