Documentation
¶
Index ¶
- type APIBackFillAcceptRequest
- type APIBackFillCreateRequest
- type APIBackFillRejectRequest
- type APIBackfillCreateResponse
- type APIBackfillGetResponse
- type APIBackfillProposalResponse
- type APIListMatchFunctionsResponse
- type APIListMatchPoolsResponse
- type APIListRuleSetsResponse
- type APIMatch
- type APIMatchFunctionConfig
- type APIMatchFunctionOverride
- type APIMatchFunctionRequest
- type APIMatchPool
- type APIMatchPoolConfig
- type APIMatchRuleSetNameData
- type APIMatchTicketRequest
- type APIMatchTicketResponse
- type APIMatchTicketStatus
- type APIParty
- type APIPlayerData
- type APIProposedProposal
- type APIRuleSetPayload
- type APITeam
- type APITicket
- type APITicketMetricResultRecord
- type ModelsPagination
- type ResponseError
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type APIBackFillAcceptRequest ¶
type APIBackFillAcceptRequest struct { // proposal Id // Required: true ProposalID *string `json:"proposalId"` // stop // Required: true Stop *bool `json:"stop"` }
APIBackFillAcceptRequest api back fill accept request
swagger:model api.BackFillAcceptRequest
func (*APIBackFillAcceptRequest) MarshalBinary ¶
func (m *APIBackFillAcceptRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*APIBackFillAcceptRequest) UnmarshalBinary ¶
func (m *APIBackFillAcceptRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type APIBackFillCreateRequest ¶
type APIBackFillCreateRequest struct { // match pool // Required: true MatchPool *string `json:"matchPool"` // session Id // Required: true SessionID *string `json:"sessionId"` }
APIBackFillCreateRequest api back fill create request
swagger:model api.BackFillCreateRequest
func (*APIBackFillCreateRequest) MarshalBinary ¶
func (m *APIBackFillCreateRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*APIBackFillCreateRequest) UnmarshalBinary ¶
func (m *APIBackFillCreateRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type APIBackFillRejectRequest ¶
type APIBackFillRejectRequest struct { // proposal Id // Required: true ProposalID *string `json:"proposalId"` // stop // Required: true Stop *bool `json:"stop"` }
APIBackFillRejectRequest api back fill reject request
swagger:model api.backFillRejectRequest
func (*APIBackFillRejectRequest) MarshalBinary ¶
func (m *APIBackFillRejectRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*APIBackFillRejectRequest) UnmarshalBinary ¶
func (m *APIBackFillRejectRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type APIBackfillCreateResponse ¶ added in v0.39.0
type APIBackfillCreateResponse struct { // id // Required: true ID *string `json:"id"` }
APIBackfillCreateResponse api backfill create response
swagger:model api.BackfillCreateResponse
func (*APIBackfillCreateResponse) MarshalBinary ¶ added in v0.39.0
func (m *APIBackfillCreateResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*APIBackfillCreateResponse) UnmarshalBinary ¶ added in v0.39.0
func (m *APIBackfillCreateResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type APIBackfillGetResponse ¶ added in v0.37.0
type APIBackfillGetResponse struct { // created at // Format: date-time CreatedAt *strfmt.DateTime `json:"createdAt,omitempty"` // match pool MatchPool string `json:"matchPool,omitempty"` // match session ID MatchSessionID string `json:"matchSessionID,omitempty"` // partial match PartialMatch *APIMatch `json:"partialMatch,omitempty"` // ticket ID TicketID string `json:"ticketID,omitempty"` }
APIBackfillGetResponse api backfill get response
swagger:model api.BackfillGetResponse
func (*APIBackfillGetResponse) MarshalBinary ¶ added in v0.37.0
func (m *APIBackfillGetResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*APIBackfillGetResponse) UnmarshalBinary ¶ added in v0.37.0
func (m *APIBackfillGetResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type APIBackfillProposalResponse ¶ added in v0.37.0
type APIBackfillProposalResponse struct { // backfill ticket ID BackfillTicketID string `json:"backfillTicketID,omitempty"` // created at // Format: date-time CreatedAt *strfmt.DateTime `json:"createdAt,omitempty"` // match pool MatchPool string `json:"matchPool,omitempty"` // match session ID MatchSessionID string `json:"matchSessionID,omitempty"` // proposal ID ProposalID string `json:"proposalID,omitempty"` // proposed teams ProposedTeams []*APITeam `json:"proposedTeams"` // tickets Tickets []*APITicket `json:"tickets"` }
APIBackfillProposalResponse api backfill proposal response
swagger:model api.BackfillProposalResponse
func (*APIBackfillProposalResponse) MarshalBinary ¶ added in v0.37.0
func (m *APIBackfillProposalResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*APIBackfillProposalResponse) UnmarshalBinary ¶ added in v0.37.0
func (m *APIBackfillProposalResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type APIListMatchFunctionsResponse ¶
type APIListMatchFunctionsResponse struct { // configs // Required: true Configs []*APIMatchFunctionConfig `json:"configs"` // functions // Required: true Functions []string `json:"functions"` // pagination // Required: true Pagination *ModelsPagination `json:"pagination"` }
APIListMatchFunctionsResponse api list match functions response
swagger:model api.ListMatchFunctionsResponse
func (*APIListMatchFunctionsResponse) MarshalBinary ¶
func (m *APIListMatchFunctionsResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*APIListMatchFunctionsResponse) UnmarshalBinary ¶
func (m *APIListMatchFunctionsResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type APIListMatchPoolsResponse ¶
type APIListMatchPoolsResponse struct { // data // Required: true Data []*APIMatchPool `json:"data"` // pagination // Required: true Pagination *ModelsPagination `json:"pagination"` }
APIListMatchPoolsResponse api list match pools response
swagger:model api.ListMatchPoolsResponse
func (*APIListMatchPoolsResponse) MarshalBinary ¶
func (m *APIListMatchPoolsResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*APIListMatchPoolsResponse) UnmarshalBinary ¶
func (m *APIListMatchPoolsResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type APIListRuleSetsResponse ¶
type APIListRuleSetsResponse struct { // data // Required: true Data []*APIMatchRuleSetNameData `json:"data"` // pagination // Required: true Pagination *ModelsPagination `json:"pagination"` }
APIListRuleSetsResponse api list rule sets response
swagger:model api.ListRuleSetsResponse
func (*APIListRuleSetsResponse) MarshalBinary ¶
func (m *APIListRuleSetsResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*APIListRuleSetsResponse) UnmarshalBinary ¶
func (m *APIListRuleSetsResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type APIMatch ¶ added in v0.37.0
type APIMatch struct { // backfill Backfill bool `json:"backfill"` // client version ClientVersion string `json:"clientVersion,omitempty"` // match attributes MatchAttributes interface{} `json:"matchAttributes,omitempty"` // region preference RegionPreference []string `json:"regionPreference"` // server name ServerName string `json:"serverName,omitempty"` // teams Teams []*APITeam `json:"teams"` // tickets Tickets []*APITicket `json:"tickets"` }
APIMatch api match
swagger:model api.Match
func (*APIMatch) MarshalBinary ¶ added in v0.37.0
MarshalBinary interface implementation
func (*APIMatch) UnmarshalBinary ¶ added in v0.37.0
UnmarshalBinary interface implementation
type APIMatchFunctionConfig ¶
type APIMatchFunctionConfig struct { // match function // Required: true MatchFunction *string `json:"match_function"` // url // Required: true URL *string `json:"url"` }
APIMatchFunctionConfig api match function config
swagger:model api.MatchFunctionConfig
func (*APIMatchFunctionConfig) MarshalBinary ¶
func (m *APIMatchFunctionConfig) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*APIMatchFunctionConfig) UnmarshalBinary ¶
func (m *APIMatchFunctionConfig) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type APIMatchFunctionOverride ¶ added in v0.36.0
type APIMatchFunctionOverride struct { // backfill matches BackfillMatches string `json:"backfill_matches,omitempty"` // hydration Hydration []string `json:"hydration"` // make matches MakeMatches string `json:"make_matches,omitempty"` // stat codes StatCodes []string `json:"stat_codes"` // validation Validation []string `json:"validation"` }
APIMatchFunctionOverride api match function override
swagger:model api.MatchFunctionOverride
func (*APIMatchFunctionOverride) MarshalBinary ¶ added in v0.36.0
func (m *APIMatchFunctionOverride) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*APIMatchFunctionOverride) UnmarshalBinary ¶ added in v0.36.0
func (m *APIMatchFunctionOverride) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type APIMatchFunctionRequest ¶
type APIMatchFunctionRequest struct { // match function // Required: true MatchFunction *string `json:"match_function"` // url // Required: true URL *string `json:"url"` }
APIMatchFunctionRequest api match function request
swagger:model api.MatchFunctionRequest
func (*APIMatchFunctionRequest) MarshalBinary ¶
func (m *APIMatchFunctionRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*APIMatchFunctionRequest) UnmarshalBinary ¶
func (m *APIMatchFunctionRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type APIMatchPool ¶
type APIMatchPool struct { // auto accept backfill proposal // Required: true AutoAcceptBackfillProposal *bool `json:"auto_accept_backfill_proposal"` // backfill proposal expiration seconds // Required: true BackfillProposalExpirationSeconds *int32 `json:"backfill_proposal_expiration_seconds"` // backfill ticket expiration seconds // Required: true BackfillTicketExpirationSeconds *int32 `json:"backfill_ticket_expiration_seconds"` // match function // Required: true MatchFunction *string `json:"match_function"` // match function override // Required: true MatchFunctionOverride *APIMatchFunctionOverride `json:"match_function_override"` // name // Required: true Name *string `json:"name"` // rule set // Required: true RuleSet *string `json:"rule_set"` // session template // Required: true SessionTemplate *string `json:"session_template"` // ticket expiration seconds // Required: true TicketExpirationSeconds *int32 `json:"ticket_expiration_seconds"` }
APIMatchPool api match pool
swagger:model api.MatchPool
func (*APIMatchPool) MarshalBinary ¶
func (m *APIMatchPool) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*APIMatchPool) UnmarshalBinary ¶
func (m *APIMatchPool) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type APIMatchPoolConfig ¶
type APIMatchPoolConfig struct { // auto accept backfill proposal // Required: true AutoAcceptBackfillProposal *bool `json:"auto_accept_backfill_proposal"` // backfill proposal expiration seconds // Required: true BackfillProposalExpirationSeconds *int32 `json:"backfill_proposal_expiration_seconds"` // backfill ticket expiration seconds // Required: true BackfillTicketExpirationSeconds *int32 `json:"backfill_ticket_expiration_seconds"` // match function // Required: true MatchFunction *string `json:"match_function"` // match function override // Required: true MatchFunctionOverride *APIMatchFunctionOverride `json:"match_function_override"` // rule set // Required: true RuleSet *string `json:"rule_set"` // session template // Required: true SessionTemplate *string `json:"session_template"` // ticket expiration seconds // Required: true TicketExpirationSeconds *int32 `json:"ticket_expiration_seconds"` }
APIMatchPoolConfig api match pool config
swagger:model api.MatchPoolConfig
func (*APIMatchPoolConfig) MarshalBinary ¶
func (m *APIMatchPoolConfig) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*APIMatchPoolConfig) UnmarshalBinary ¶
func (m *APIMatchPoolConfig) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type APIMatchRuleSetNameData ¶
type APIMatchRuleSetNameData struct { // name // Required: true Name *string `json:"name"` }
APIMatchRuleSetNameData api match rule set name data
swagger:model api.MatchRuleSetNameData
func (*APIMatchRuleSetNameData) MarshalBinary ¶
func (m *APIMatchRuleSetNameData) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*APIMatchRuleSetNameData) UnmarshalBinary ¶
func (m *APIMatchRuleSetNameData) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type APIMatchTicketRequest ¶
type APIMatchTicketRequest struct { // attributes // Required: true Attributes interface{} `json:"attributes"` // latencies // Required: true Latencies map[string]int64 `json:"latencies"` // match pool // Required: true MatchPool *string `json:"matchPool"` // session ID // Required: true SessionID *string `json:"sessionID"` }
APIMatchTicketRequest api match ticket request
swagger:model api.MatchTicketRequest
func (*APIMatchTicketRequest) MarshalBinary ¶
func (m *APIMatchTicketRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*APIMatchTicketRequest) UnmarshalBinary ¶
func (m *APIMatchTicketRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type APIMatchTicketResponse ¶
type APIMatchTicketResponse struct { // match ticket ID // Required: true MatchTicketID *string `json:"matchTicketID"` }
APIMatchTicketResponse api match ticket response
swagger:model api.MatchTicketResponse
func (*APIMatchTicketResponse) MarshalBinary ¶
func (m *APIMatchTicketResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*APIMatchTicketResponse) UnmarshalBinary ¶
func (m *APIMatchTicketResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type APIMatchTicketStatus ¶
type APIMatchTicketStatus struct { // match found // Required: true MatchFound *bool `json:"matchFound"` // proposed proposal ProposedProposal *APIProposedProposal `json:"proposedProposal,omitempty"` // session ID // Required: true SessionID *string `json:"sessionID"` }
APIMatchTicketStatus api match ticket status
swagger:model api.MatchTicketStatus
func (*APIMatchTicketStatus) MarshalBinary ¶
func (m *APIMatchTicketStatus) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*APIMatchTicketStatus) UnmarshalBinary ¶
func (m *APIMatchTicketStatus) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type APIParty ¶ added in v0.37.0
type APIParty struct { // party ID PartyID string `json:"partyID,omitempty"` // user i ds UserIDs []string `json:"userIDs"` }
APIParty api party
swagger:model api.Party
func (*APIParty) MarshalBinary ¶ added in v0.37.0
MarshalBinary interface implementation
func (*APIParty) UnmarshalBinary ¶ added in v0.37.0
UnmarshalBinary interface implementation
type APIPlayerData ¶ added in v0.37.0
type APIPlayerData struct { // attributes Attributes interface{} `json:"attributes,omitempty"` // party ID PartyID string `json:"partyID,omitempty"` // player ID PlayerID string `json:"playerID,omitempty"` }
APIPlayerData api player data
swagger:model api.PlayerData
func (*APIPlayerData) MarshalBinary ¶ added in v0.37.0
func (m *APIPlayerData) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*APIPlayerData) UnmarshalBinary ¶ added in v0.37.0
func (m *APIPlayerData) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type APIProposedProposal ¶ added in v0.37.0
type APIProposedProposal struct { // backfill ID BackfillID string `json:"backfillID,omitempty"` // proposal ID ProposalID string `json:"proposalID,omitempty"` // status Status string `json:"status,omitempty"` }
APIProposedProposal api proposed proposal
swagger:model api.ProposedProposal
func (*APIProposedProposal) MarshalBinary ¶ added in v0.37.0
func (m *APIProposedProposal) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*APIProposedProposal) UnmarshalBinary ¶ added in v0.37.0
func (m *APIProposedProposal) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type APIRuleSetPayload ¶ added in v0.38.0
type APIRuleSetPayload struct { // data // Required: true Data interface{} `json:"data"` // enable custom match function // Required: true EnableCustomMatchFunction *bool `json:"enable_custom_match_function"` // name // Required: true Name *string `json:"name"` }
APIRuleSetPayload api rule set payload
swagger:model api.RuleSetPayload
func (*APIRuleSetPayload) MarshalBinary ¶ added in v0.38.0
func (m *APIRuleSetPayload) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*APIRuleSetPayload) UnmarshalBinary ¶ added in v0.38.0
func (m *APIRuleSetPayload) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type APITeam ¶ added in v0.37.0
type APITeam struct { // parties Parties []*APIParty `json:"parties"` // user i ds UserIDs []string `json:"userIDs"` }
APITeam api team
swagger:model api.Team
func (*APITeam) MarshalBinary ¶ added in v0.37.0
MarshalBinary interface implementation
func (*APITeam) UnmarshalBinary ¶ added in v0.37.0
UnmarshalBinary interface implementation
type APITicket ¶ added in v0.37.0
type APITicket struct { // created at // Format: date-time CreatedAt *strfmt.DateTime `json:"createdAt,omitempty"` // latencies Latencies map[string]int64 `json:"latencies,omitempty"` // match pool MatchPool string `json:"matchPool,omitempty"` // namespace Namespace string `json:"namespace,omitempty"` // party session ID PartySessionID string `json:"partySessionID,omitempty"` // players Players []*APIPlayerData `json:"players"` // ticket attributes TicketAttributes interface{} `json:"ticketAttributes,omitempty"` // ticket ID TicketID string `json:"ticketID,omitempty"` }
APITicket api ticket
swagger:model api.Ticket
func (*APITicket) MarshalBinary ¶ added in v0.37.0
MarshalBinary interface implementation
func (*APITicket) UnmarshalBinary ¶ added in v0.37.0
UnmarshalBinary interface implementation
type APITicketMetricResultRecord ¶ added in v0.39.0
type APITicketMetricResultRecord struct { // queue time // Required: true QueueTime *int32 `json:"queueTime"` }
APITicketMetricResultRecord api ticket metric result record
swagger:model api.TicketMetricResultRecord
func (*APITicketMetricResultRecord) MarshalBinary ¶ added in v0.39.0
func (m *APITicketMetricResultRecord) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*APITicketMetricResultRecord) UnmarshalBinary ¶ added in v0.39.0
func (m *APITicketMetricResultRecord) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ModelsPagination ¶
type ModelsPagination struct { // first // Required: true First *string `json:"first"` // last // Required: true Last *string `json:"last"` // next // Required: true Next *string `json:"next"` // previous // Required: true Previous *string `json:"previous"` }
ModelsPagination models pagination
swagger:model models.Pagination
func (*ModelsPagination) MarshalBinary ¶
func (m *ModelsPagination) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ModelsPagination) UnmarshalBinary ¶
func (m *ModelsPagination) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ResponseError ¶
type ResponseError struct { // error code // Required: true ErrorCode int32 `json:"ErrorCode"` // error message // Required: true ErrorMessage string `json:"ErrorMessage"` }
ResponseError response error
swagger:model response.Error
func (*ResponseError) MarshalBinary ¶
func (m *ResponseError) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ResponseError) UnmarshalBinary ¶
func (m *ResponseError) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
Source Files
¶
- api_back_fill_accept_request.go
- api_back_fill_create_request.go
- api_back_fill_reject_request.go
- api_backfill_create_response.go
- api_backfill_get_response.go
- api_backfill_proposal_response.go
- api_list_match_functions_response.go
- api_list_match_pools_response.go
- api_list_rule_sets_response.go
- api_match.go
- api_match_function_config.go
- api_match_function_override.go
- api_match_function_request.go
- api_match_pool.go
- api_match_pool_config.go
- api_match_rule_set_name_data.go
- api_match_ticket_request.go
- api_match_ticket_response.go
- api_match_ticket_status.go
- api_party.go
- api_player_data.go
- api_proposed_proposal.go
- api_rule_set_payload.go
- api_team.go
- api_ticket.go
- api_ticket_metric_result_record.go
- models_pagination.go
- response_error.go