Documentation ¶
Index ¶
- type LogAppMessageDeclaration
- type ModelsAllianceFlexingRule
- type ModelsAllianceRule
- type ModelsAllianceRuleV1
- type ModelsChannel
- type ModelsChannelRequest
- type ModelsChannelV1
- type ModelsCreateChannelResponse
- type ModelsDequeueRequest
- type ModelsFlexingRule
- type ModelsGetChannelsResponse
- type ModelsImportConfigResponse
- type ModelsMatchAddUserIntoSessionRequest
- type ModelsMatchOption
- type ModelsMatchOptionRule
- type ModelsMatchResultRequest
- type ModelsMatchResultResponse
- type ModelsMatchingAlly
- type ModelsMatchingParty
- type ModelsMatchingRule
- type ModelsMatchmakingResult
- type ModelsPagination
- type ModelsPartyMember
- type ModelsPlayerResultRequest
- type ModelsPlayerResultResponse
- type ModelsResultAttributeRequest
- type ModelsResultAttributeResponse
- type ModelsRuleSet
- type ModelsRuleSetV1
- type ModelsSubGameMode
- type ModelsUpdateAllianceRule
- type ModelsUpdateChannelRequest
- type ModelsUpdatePlayTimeWeightRequest
- type ModelsUpdatePlayerPlaytimeWeightResponse
- type ModelsUpdateRuleset
- type ModelsUpdateRulesetSubGameModes
- type ResponseError
- type ResponseErrorV1
- type ServiceGetSessionHistoryDetailedResponseItem
- type ServiceGetSessionHistorySearchResponse
- type ServiceGetSessionHistorySearchResponseItem
- type ServiceGetSessionHistorySearchResponseItemV2
- type ServiceGetSessionHistorySearchResponseV2
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LogAppMessageDeclaration ¶
type LogAppMessageDeclaration struct { // attributes // Required: true Attributes []string `json:"Attributes"` // code // Required: true Code *string `json:"Code"` // code name // Required: true CodeName *string `json:"CodeName"` // section // Required: true Section *string `json:"Section"` // service // Required: true Service *string `json:"Service"` // text // Required: true Text *string `json:"Text"` }
LogAppMessageDeclaration log app message declaration
swagger:model log.AppMessageDeclaration
func (*LogAppMessageDeclaration) MarshalBinary ¶
func (m *LogAppMessageDeclaration) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*LogAppMessageDeclaration) UnmarshalBinary ¶
func (m *LogAppMessageDeclaration) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ModelsAllianceFlexingRule ¶ added in v0.8.0
type ModelsAllianceFlexingRule struct { // duration // Required: true Duration *int64 `json:"duration"` // max number // Required: true MaxNumber *int32 `json:"max_number"` // min number // Required: true MinNumber *int32 `json:"min_number"` // player max number // Required: true PlayerMaxNumber *int32 `json:"player_max_number"` // player min number // Required: true PlayerMinNumber *int32 `json:"player_min_number"` }
ModelsAllianceFlexingRule models alliance flexing rule
swagger:model models.AllianceFlexingRule
func (*ModelsAllianceFlexingRule) MarshalBinary ¶ added in v0.8.0
func (m *ModelsAllianceFlexingRule) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ModelsAllianceFlexingRule) UnmarshalBinary ¶ added in v0.8.0
func (m *ModelsAllianceFlexingRule) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ModelsAllianceRule ¶
type ModelsAllianceRule struct { // max number // Required: true MaxNumber *int32 `json:"max_number"` // min number // Required: true MinNumber *int32 `json:"min_number"` // player max number // Required: true PlayerMaxNumber *int32 `json:"player_max_number"` // player min number // Required: true PlayerMinNumber *int32 `json:"player_min_number"` }
ModelsAllianceRule models alliance rule
swagger:model models.AllianceRule
func (*ModelsAllianceRule) MarshalBinary ¶
func (m *ModelsAllianceRule) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ModelsAllianceRule) UnmarshalBinary ¶
func (m *ModelsAllianceRule) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ModelsAllianceRuleV1 ¶
type ModelsAllianceRuleV1 struct { // max number // Required: true MaxNumber *int32 `json:"maxNumber"` // min number // Required: true MinNumber *int32 `json:"minNumber"` // player max number // Required: true PlayerMaxNumber *int32 `json:"playerMaxNumber"` // player min number // Required: true PlayerMinNumber *int32 `json:"playerMinNumber"` }
ModelsAllianceRuleV1 models alliance rule v1
swagger:model models.AllianceRuleV1
func (*ModelsAllianceRuleV1) MarshalBinary ¶
func (m *ModelsAllianceRuleV1) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ModelsAllianceRuleV1) UnmarshalBinary ¶
func (m *ModelsAllianceRuleV1) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ModelsChannel ¶
type ModelsChannel struct { // deployment // Required: true Deployment *string `json:"deployment"` // description // Required: true Description *string `json:"description"` // find match timeout seconds // Required: true FindMatchTimeoutSeconds *int32 `json:"find_match_timeout_seconds"` // game mode // Required: true GameMode *string `json:"game_mode"` // joinable // Required: true Joinable *bool `json:"joinable"` // max delay ms // Required: true MaxDelayMs *int32 `json:"max_delay_ms"` // namespace // Required: true Namespace *string `json:"namespace"` // ruleset // Required: true Ruleset *ModelsRuleSet `json:"ruleset"` // session queue timeout seconds // Required: true SessionQueueTimeoutSeconds *int32 `json:"session_queue_timeout_seconds"` // slug // Required: true Slug *string `json:"slug"` // social matchmaking // Required: true SocialMatchmaking *bool `json:"social_matchmaking"` // updated at // Required: true UpdatedAt *string `json:"updated_at"` // use sub gamemode // Required: true UseSubGamemode *bool `json:"use_sub_gamemode"` }
ModelsChannel models channel
swagger:model models.Channel
func (*ModelsChannel) MarshalBinary ¶
func (m *ModelsChannel) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ModelsChannel) UnmarshalBinary ¶
func (m *ModelsChannel) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ModelsChannelRequest ¶
type ModelsChannelRequest struct { // deployment // Required: true Deployment string `json:"deployment"` // description // Required: true Description string `json:"description"` // find match timeout seconds // Required: true FindMatchTimeoutSeconds int32 `json:"find_match_timeout_seconds"` // game mode // Required: true GameMode string `json:"game_mode"` // joinable Joinable *bool `json:"joinable,omitempty"` // max delay ms // Required: true MaxDelayMs int32 `json:"max_delay_ms"` // rule set // Required: true RuleSet *ModelsRuleSet `json:"rule_set"` // session queue timeout seconds // Required: true SessionQueueTimeoutSeconds int32 `json:"session_queue_timeout_seconds"` // social matchmaking SocialMatchmaking *bool `json:"social_matchmaking,omitempty"` // use sub gamemode UseSubGamemode *bool `json:"use_sub_gamemode,omitempty"` }
ModelsChannelRequest models channel request
swagger:model models.ChannelRequest
func (*ModelsChannelRequest) MarshalBinary ¶
func (m *ModelsChannelRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ModelsChannelRequest) UnmarshalBinary ¶
func (m *ModelsChannelRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ModelsChannelV1 ¶
type ModelsChannelV1 struct { // deployment // Required: true Deployment *string `json:"deployment"` // description // Required: true Description *string `json:"description"` // find match timeout seconds // Required: true FindMatchTimeoutSeconds *int32 `json:"findMatchTimeoutSeconds"` // game mode // Required: true GameMode *string `json:"gameMode"` // joinable // Required: true Joinable *bool `json:"joinable"` // max delay ms // Required: true MaxDelayMs *int32 `json:"max_delay_ms"` // namespace // Required: true Namespace *string `json:"namespace"` // rule set // Required: true RuleSet *ModelsRuleSetV1 `json:"ruleSet"` // session queue timeout seconds // Required: true SessionQueueTimeoutSeconds *int32 `json:"sessionQueueTimeoutSeconds"` // slug // Required: true Slug *string `json:"slug"` // social matchmaking // Required: true SocialMatchmaking *bool `json:"socialMatchmaking"` // updated at // Required: true UpdatedAt *string `json:"updatedAt"` // use sub gamemode // Required: true UseSubGamemode *bool `json:"use_sub_gamemode"` }
ModelsChannelV1 models channel v1
swagger:model models.ChannelV1
func (*ModelsChannelV1) MarshalBinary ¶
func (m *ModelsChannelV1) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ModelsChannelV1) UnmarshalBinary ¶
func (m *ModelsChannelV1) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ModelsCreateChannelResponse ¶
type ModelsCreateChannelResponse struct { // deployment // Required: true Deployment *string `json:"deployment"` // description // Required: true Description *string `json:"description"` // find match timeout seconds // Required: true FindMatchTimeoutSeconds *int32 `json:"find_match_timeout_seconds"` // game mode // Required: true GameMode *string `json:"game_mode"` // joinable // Required: true Joinable *bool `json:"joinable"` // max delay ms // Required: true MaxDelayMs *int32 `json:"max_delay_ms"` // namespace // Required: true Namespace *string `json:"namespace"` // ruleset // Required: true Ruleset *ModelsRuleSet `json:"ruleset"` // session queue timeout seconds // Required: true SessionQueueTimeoutSeconds *int32 `json:"session_queue_timeout_seconds"` // slug // Required: true Slug *string `json:"slug"` // social matchmaking // Required: true SocialMatchmaking *bool `json:"social_matchmaking"` // updated at // Required: true UpdatedAt *string `json:"updated_at"` // use sub gamemode // Required: true UseSubGamemode *bool `json:"use_sub_gamemode"` }
ModelsCreateChannelResponse models create channel response
swagger:model models.CreateChannelResponse
func (*ModelsCreateChannelResponse) MarshalBinary ¶
func (m *ModelsCreateChannelResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ModelsCreateChannelResponse) UnmarshalBinary ¶
func (m *ModelsCreateChannelResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ModelsDequeueRequest ¶
type ModelsDequeueRequest struct { // match id // Required: true MatchID *string `json:"match_id"` }
ModelsDequeueRequest models dequeue request
swagger:model models.DequeueRequest
func (*ModelsDequeueRequest) MarshalBinary ¶
func (m *ModelsDequeueRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ModelsDequeueRequest) UnmarshalBinary ¶
func (m *ModelsDequeueRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ModelsFlexingRule ¶
type ModelsFlexingRule struct { // attribute // Required: true Attribute string `json:"attribute"` // criteria // Required: true Criteria string `json:"criteria"` // duration // Required: true Duration *int64 `json:"duration"` // reference // Required: true Reference float64 `json:"reference"` }
ModelsFlexingRule models flexing rule
swagger:model models.FlexingRule
func (*ModelsFlexingRule) MarshalBinary ¶
func (m *ModelsFlexingRule) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ModelsFlexingRule) UnmarshalBinary ¶
func (m *ModelsFlexingRule) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ModelsGetChannelsResponse ¶
type ModelsGetChannelsResponse struct { // data // Required: true Data []*ModelsChannel `json:"data"` // pagination // Required: true Pagination *ModelsPagination `json:"pagination"` }
ModelsGetChannelsResponse models get channels response
swagger:model models.GetChannelsResponse
func (*ModelsGetChannelsResponse) MarshalBinary ¶
func (m *ModelsGetChannelsResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ModelsGetChannelsResponse) UnmarshalBinary ¶
func (m *ModelsGetChannelsResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ModelsImportConfigResponse ¶
type ModelsImportConfigResponse struct { // failed configs // Required: true FailedConfigs []string `json:"failedConfigs"` // ignored configs // Required: true IgnoredConfigs []string `json:"ignoredConfigs"` // new configs // Required: true NewConfigs []string `json:"newConfigs"` // replaced configs // Required: true ReplacedConfigs []string `json:"replacedConfigs"` }
ModelsImportConfigResponse models import config response
swagger:model models.ImportConfigResponse
func (*ModelsImportConfigResponse) MarshalBinary ¶
func (m *ModelsImportConfigResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ModelsImportConfigResponse) UnmarshalBinary ¶
func (m *ModelsImportConfigResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ModelsMatchAddUserIntoSessionRequest ¶
type ModelsMatchAddUserIntoSessionRequest struct { // blocked players BlockedPlayers []string `json:"blocked_players"` // party id PartyID *string `json:"party_id,omitempty"` // user id // Required: true UserID string `json:"user_id"` }
ModelsMatchAddUserIntoSessionRequest models match add user into session request
swagger:model models.MatchAddUserIntoSessionRequest
func (*ModelsMatchAddUserIntoSessionRequest) MarshalBinary ¶
func (m *ModelsMatchAddUserIntoSessionRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ModelsMatchAddUserIntoSessionRequest) UnmarshalBinary ¶
func (m *ModelsMatchAddUserIntoSessionRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ModelsMatchOption ¶
type ModelsMatchOption struct { // name // Required: true Name string `json:"name"` // type // Required: true Type *string `json:"type"` }
ModelsMatchOption models match option
swagger:model models.MatchOption
func (*ModelsMatchOption) MarshalBinary ¶
func (m *ModelsMatchOption) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ModelsMatchOption) UnmarshalBinary ¶
func (m *ModelsMatchOption) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ModelsMatchOptionRule ¶
type ModelsMatchOptionRule struct { // options // Required: true Options []*ModelsMatchOption `json:"options"` }
ModelsMatchOptionRule models match option rule
swagger:model models.MatchOptionRule
func (*ModelsMatchOptionRule) MarshalBinary ¶
func (m *ModelsMatchOptionRule) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ModelsMatchOptionRule) UnmarshalBinary ¶
func (m *ModelsMatchOptionRule) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ModelsMatchResultRequest ¶
type ModelsMatchResultRequest struct { // match id // Required: true MatchID string `json:"match_id"` // players // Required: true Players []*ModelsPlayerResultRequest `json:"players"` }
ModelsMatchResultRequest models match result request
swagger:model models.MatchResultRequest
func (*ModelsMatchResultRequest) MarshalBinary ¶
func (m *ModelsMatchResultRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ModelsMatchResultRequest) UnmarshalBinary ¶
func (m *ModelsMatchResultRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ModelsMatchResultResponse ¶
type ModelsMatchResultResponse struct { // match id // Required: true MatchID *string `json:"match_id"` // players // Required: true Players []*ModelsPlayerResultResponse `json:"players"` }
ModelsMatchResultResponse models match result response
swagger:model models.MatchResultResponse
func (*ModelsMatchResultResponse) MarshalBinary ¶
func (m *ModelsMatchResultResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ModelsMatchResultResponse) UnmarshalBinary ¶
func (m *ModelsMatchResultResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ModelsMatchingAlly ¶
type ModelsMatchingAlly struct { // matching parties // Required: true MatchingParties []*ModelsMatchingParty `json:"matching_parties"` }
ModelsMatchingAlly models matching ally
swagger:model models.MatchingAlly
func (*ModelsMatchingAlly) MarshalBinary ¶
func (m *ModelsMatchingAlly) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ModelsMatchingAlly) UnmarshalBinary ¶
func (m *ModelsMatchingAlly) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ModelsMatchingParty ¶
type ModelsMatchingParty struct { // first ticket created at // Required: true FirstTicketCreatedAt *int64 `json:"first_ticket_created_at"` // party attributes // Required: true PartyAttributes interface{} `json:"party_attributes"` // party id // Required: true PartyID string `json:"party_id"` // party members // Required: true PartyMembers []*ModelsPartyMember `json:"party_members"` }
ModelsMatchingParty models matching party
swagger:model models.MatchingParty
func (*ModelsMatchingParty) MarshalBinary ¶
func (m *ModelsMatchingParty) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ModelsMatchingParty) UnmarshalBinary ¶
func (m *ModelsMatchingParty) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ModelsMatchingRule ¶
type ModelsMatchingRule struct { // attribute // Required: true Attribute string `json:"attribute"` // criteria // Required: true Criteria string `json:"criteria"` // reference // Required: true Reference float64 `json:"reference"` }
ModelsMatchingRule models matching rule
swagger:model models.MatchingRule
func (*ModelsMatchingRule) MarshalBinary ¶
func (m *ModelsMatchingRule) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ModelsMatchingRule) UnmarshalBinary ¶
func (m *ModelsMatchingRule) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ModelsMatchmakingResult ¶
type ModelsMatchmakingResult struct { // channel // Required: true Channel string `json:"channel"` // client version // Required: true ClientVersion string `json:"client_version"` // deployment // Required: true Deployment string `json:"deployment"` // game mode // Required: true GameMode string `json:"game_mode"` // joinable Joinable *bool `json:"joinable,omitempty"` // match id // Required: true MatchID string `json:"match_id"` // matching allies // Required: true MatchingAllies []*ModelsMatchingAlly `json:"matching_allies"` // namespace // Required: true Namespace string `json:"namespace"` // party attributes // Required: true PartyAttributes interface{} `json:"party_attributes"` // party id PartyID *string `json:"party_id,omitempty"` // queued at // Required: true QueuedAt int64 `json:"queued_at"` // region // Required: true Region string `json:"region"` // server name // Required: true ServerName string `json:"server_name"` // status // Required: true Status string `json:"status"` // updated at // Required: true // Format: date-time UpdatedAt strfmt.DateTime `json:"updated_at"` }
ModelsMatchmakingResult models matchmaking result
swagger:model models.MatchmakingResult
func (*ModelsMatchmakingResult) MarshalBinary ¶
func (m *ModelsMatchmakingResult) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ModelsMatchmakingResult) UnmarshalBinary ¶
func (m *ModelsMatchmakingResult) 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 ModelsPartyMember ¶
type ModelsPartyMember struct { // extra attributes // Required: true ExtraAttributes interface{} `json:"extra_attributes"` // user id // Required: true UserID string `json:"user_id"` }
ModelsPartyMember models party member
swagger:model models.PartyMember
func (*ModelsPartyMember) MarshalBinary ¶
func (m *ModelsPartyMember) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ModelsPartyMember) UnmarshalBinary ¶
func (m *ModelsPartyMember) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ModelsPlayerResultRequest ¶
type ModelsPlayerResultRequest struct { // results // Required: true Results []*ModelsResultAttributeRequest `json:"results"` // user id // Required: true UserID string `json:"user_id"` }
ModelsPlayerResultRequest models player result request
swagger:model models.PlayerResultRequest
func (*ModelsPlayerResultRequest) MarshalBinary ¶
func (m *ModelsPlayerResultRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ModelsPlayerResultRequest) UnmarshalBinary ¶
func (m *ModelsPlayerResultRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ModelsPlayerResultResponse ¶
type ModelsPlayerResultResponse struct { // current score // Required: true CurrentScore []*ModelsResultAttributeResponse `json:"current_score"` // user id // Required: true UserID *string `json:"user_id"` }
ModelsPlayerResultResponse models player result response
swagger:model models.PlayerResultResponse
func (*ModelsPlayerResultResponse) MarshalBinary ¶
func (m *ModelsPlayerResultResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ModelsPlayerResultResponse) UnmarshalBinary ¶
func (m *ModelsPlayerResultResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ModelsResultAttributeRequest ¶
type ModelsResultAttributeRequest struct { // attribute // Required: true Attribute string `json:"attribute"` // value // Required: true Value float64 `json:"value"` }
ModelsResultAttributeRequest models result attribute request
swagger:model models.ResultAttributeRequest
func (*ModelsResultAttributeRequest) MarshalBinary ¶
func (m *ModelsResultAttributeRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ModelsResultAttributeRequest) UnmarshalBinary ¶
func (m *ModelsResultAttributeRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ModelsResultAttributeResponse ¶
type ModelsResultAttributeResponse struct { // attribute // Required: true Attribute *string `json:"attribute"` // value // Required: true Value *float64 `json:"value"` }
ModelsResultAttributeResponse models result attribute response
swagger:model models.ResultAttributeResponse
func (*ModelsResultAttributeResponse) MarshalBinary ¶
func (m *ModelsResultAttributeResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ModelsResultAttributeResponse) UnmarshalBinary ¶
func (m *ModelsResultAttributeResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ModelsRuleSet ¶
type ModelsRuleSet struct { // alliance // Required: true Alliance *ModelsAllianceRule `json:"alliance"` // alliance flexing rule // Required: true AllianceFlexingRule []*ModelsAllianceFlexingRule `json:"alliance_flexing_rule"` // flexing rule // Required: true FlexingRule []*ModelsFlexingRule `json:"flexing_rule"` // match options // Required: true MatchOptions *ModelsMatchOptionRule `json:"match_options"` // matching rule // Required: true MatchingRule []*ModelsMatchingRule `json:"matching_rule"` // sub game modes // Required: true SubGameModes map[string]ModelsSubGameMode `json:"sub_game_modes"` }
ModelsRuleSet models rule set
swagger:model models.RuleSet
func (*ModelsRuleSet) MarshalBinary ¶
func (m *ModelsRuleSet) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ModelsRuleSet) UnmarshalBinary ¶
func (m *ModelsRuleSet) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ModelsRuleSetV1 ¶
type ModelsRuleSetV1 struct { // alliance // Required: true Alliance *ModelsAllianceRuleV1 `json:"alliance"` // alliance flexing rule // Required: true AllianceFlexingRule []*ModelsAllianceFlexingRule `json:"alliance_flexing_rule"` // flexing rules // Required: true FlexingRules []*ModelsFlexingRule `json:"flexingRules"` // match options // Required: true MatchOptions *ModelsMatchOptionRule `json:"match_options"` // matching rules // Required: true MatchingRules []*ModelsMatchingRule `json:"matchingRules"` // sub game modes // Required: true SubGameModes map[string]ModelsSubGameMode `json:"sub_game_modes"` }
ModelsRuleSetV1 models rule set v1
swagger:model models.RuleSetV1
func (*ModelsRuleSetV1) MarshalBinary ¶
func (m *ModelsRuleSetV1) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ModelsRuleSetV1) UnmarshalBinary ¶
func (m *ModelsRuleSetV1) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ModelsSubGameMode ¶
type ModelsSubGameMode struct { // alliance // Required: true Alliance *ModelsAllianceRule `json:"alliance"` // alliance flexing rule // Required: true AllianceFlexingRule []*ModelsAllianceFlexingRule `json:"alliance_flexing_rule"` // name // Required: true Name string `json:"name"` }
ModelsSubGameMode models sub game mode
swagger:model models.SubGameMode
func (*ModelsSubGameMode) MarshalBinary ¶
func (m *ModelsSubGameMode) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ModelsSubGameMode) UnmarshalBinary ¶
func (m *ModelsSubGameMode) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ModelsUpdateAllianceRule ¶
type ModelsUpdateAllianceRule struct { // max number MaxNumber int32 `json:"maxNumber,omitempty"` // min number MinNumber int32 `json:"minNumber,omitempty"` // player max number PlayerMaxNumber int32 `json:"playerMaxNumber,omitempty"` // player min number PlayerMinNumber int32 `json:"playerMinNumber,omitempty"` }
ModelsUpdateAllianceRule models update alliance rule
swagger:model models.UpdateAllianceRule
func (*ModelsUpdateAllianceRule) MarshalBinary ¶
func (m *ModelsUpdateAllianceRule) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ModelsUpdateAllianceRule) UnmarshalBinary ¶
func (m *ModelsUpdateAllianceRule) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ModelsUpdateChannelRequest ¶
type ModelsUpdateChannelRequest struct { // deployment // Required: true Deployment *string `json:"deployment"` // description // Required: true Description *string `json:"description"` // find match timeout seconds // Required: true FindMatchTimeoutSeconds *int32 `json:"findMatchTimeoutSeconds"` // joinable // Required: true Joinable *bool `json:"joinable"` // max delay ms // Required: true MaxDelayMs *int32 `json:"max_delay_ms"` // rule set // Required: true RuleSet *ModelsUpdateRuleset `json:"ruleSet"` // session queue timeout seconds // Required: true SessionQueueTimeoutSeconds *int32 `json:"sessionQueueTimeoutSeconds"` // social matchmaking // Required: true SocialMatchmaking *bool `json:"socialMatchmaking"` // use sub gamemode // Required: true UseSubGamemode *bool `json:"use_sub_gamemode"` }
ModelsUpdateChannelRequest models update channel request
swagger:model models.UpdateChannelRequest
func (*ModelsUpdateChannelRequest) MarshalBinary ¶
func (m *ModelsUpdateChannelRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ModelsUpdateChannelRequest) UnmarshalBinary ¶
func (m *ModelsUpdateChannelRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ModelsUpdatePlayTimeWeightRequest ¶
type ModelsUpdatePlayTimeWeightRequest struct { // playtime // Required: true Playtime *int32 `json:"playtime"` // user ID // Required: true UserID *string `json:"userID"` // weight // Required: true Weight *float64 `json:"weight"` }
ModelsUpdatePlayTimeWeightRequest models update play time weight request
swagger:model models.UpdatePlayTimeWeightRequest
func (*ModelsUpdatePlayTimeWeightRequest) MarshalBinary ¶
func (m *ModelsUpdatePlayTimeWeightRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ModelsUpdatePlayTimeWeightRequest) UnmarshalBinary ¶
func (m *ModelsUpdatePlayTimeWeightRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ModelsUpdatePlayerPlaytimeWeightResponse ¶
type ModelsUpdatePlayerPlaytimeWeightResponse struct { // playtime // Required: true Playtime *string `json:"playtime"` // user ID // Required: true UserID *string `json:"userID"` // weight // Required: true Weight *float64 `json:"weight"` }
ModelsUpdatePlayerPlaytimeWeightResponse models update player playtime weight response
swagger:model models.UpdatePlayerPlaytimeWeightResponse
func (*ModelsUpdatePlayerPlaytimeWeightResponse) MarshalBinary ¶
func (m *ModelsUpdatePlayerPlaytimeWeightResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ModelsUpdatePlayerPlaytimeWeightResponse) UnmarshalBinary ¶
func (m *ModelsUpdatePlayerPlaytimeWeightResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ModelsUpdateRuleset ¶
type ModelsUpdateRuleset struct { // alliance // Required: true Alliance *ModelsUpdateAllianceRule `json:"alliance"` // alliance flexing rule // Required: true AllianceFlexingRule []*ModelsAllianceFlexingRule `json:"alliance_flexing_rule"` // flexing rules FlexingRules []*ModelsFlexingRule `json:"flexingRules"` // match options MatchOptions *ModelsMatchOptionRule `json:"match_options,omitempty"` // matching rules MatchingRules []*ModelsMatchingRule `json:"matchingRules"` // sub game modes SubGameModes ModelsUpdateRulesetSubGameModes `json:"sub_game_modes,omitempty"` }
ModelsUpdateRuleset models update ruleset
swagger:model models.UpdateRuleset
func (*ModelsUpdateRuleset) MarshalBinary ¶
func (m *ModelsUpdateRuleset) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ModelsUpdateRuleset) UnmarshalBinary ¶
func (m *ModelsUpdateRuleset) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ModelsUpdateRulesetSubGameModes ¶
type ModelsUpdateRulesetSubGameModes map[string]ModelsSubGameMode
ModelsUpdateRulesetSubGameModes models update ruleset sub game modes
swagger:model models.UpdateRuleset.sub_game_modes
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
type ResponseErrorV1 ¶
type ResponseErrorV1 struct { // error code // Required: true ErrorCode int32 `json:"errorCode"` // error message // Required: true ErrorMessage string `json:"errorMessage"` }
ResponseErrorV1 response error v1
swagger:model response.ErrorV1
func (*ResponseErrorV1) MarshalBinary ¶
func (m *ResponseErrorV1) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ResponseErrorV1) UnmarshalBinary ¶
func (m *ResponseErrorV1) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ServiceGetSessionHistoryDetailedResponseItem ¶
type ServiceGetSessionHistoryDetailedResponseItem struct { // id // Required: true ID string `json:"_id"` // channel // Required: true Channel string `json:"channel"` // client version // Required: true ClientVersion string `json:"client_version"` // created at // Required: true // Format: date-time CreatedAt strfmt.DateTime `json:"created_at"` // event description // Required: true EventDescription *string `json:"event_description"` // event name // Required: true EventName string `json:"event_name"` // game mode // Required: true GameMode string `json:"game_mode"` // joinable // Required: true Joinable bool `json:"joinable"` // match id // Required: true MatchID string `json:"match_id"` // matching allies // Required: true MatchingAllies []*ModelsMatchingAlly `json:"matching_allies"` // namespace // Required: true Namespace string `json:"namespace"` // party id PartyID string `json:"party_id,omitempty"` // region // Required: true Region string `json:"region"` // server name // Required: true ServerName string `json:"server_name"` // status // Required: true Status string `json:"status"` }
ServiceGetSessionHistoryDetailedResponseItem service get session history detailed response item
swagger:model service.GetSessionHistoryDetailedResponseItem
func (*ServiceGetSessionHistoryDetailedResponseItem) MarshalBinary ¶
func (m *ServiceGetSessionHistoryDetailedResponseItem) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ServiceGetSessionHistoryDetailedResponseItem) UnmarshalBinary ¶
func (m *ServiceGetSessionHistoryDetailedResponseItem) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ServiceGetSessionHistorySearchResponse ¶
type ServiceGetSessionHistorySearchResponse struct { // data // Required: true Data []*ServiceGetSessionHistorySearchResponseItem `json:"data"` // pagination // Required: true Pagination *ModelsPagination `json:"pagination"` }
ServiceGetSessionHistorySearchResponse service get session history search response
swagger:model service.GetSessionHistorySearchResponse
func (*ServiceGetSessionHistorySearchResponse) MarshalBinary ¶
func (m *ServiceGetSessionHistorySearchResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ServiceGetSessionHistorySearchResponse) UnmarshalBinary ¶
func (m *ServiceGetSessionHistorySearchResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ServiceGetSessionHistorySearchResponseItem ¶
type ServiceGetSessionHistorySearchResponseItem struct { // id // Required: true ID string `json:"_id"` // channel // Required: true Channel string `json:"channel"` // client version // Required: true ClientVersion string `json:"client_version"` // created at // Required: true // Format: date-time CreatedAt strfmt.DateTime `json:"created_at"` // event description // Required: true EventDescription *string `json:"event_description"` // event name // Required: true EventName string `json:"event_name"` // game mode // Required: true GameMode string `json:"game_mode"` // joinable // Required: true Joinable bool `json:"joinable"` // match id // Required: true MatchID string `json:"match_id"` // namespace // Required: true Namespace string `json:"namespace"` // party id PartyID *string `json:"party_id,omitempty"` // region // Required: true Region string `json:"region"` // server name // Required: true ServerName string `json:"server_name"` // status // Required: true Status string `json:"status"` }
ServiceGetSessionHistorySearchResponseItem service get session history search response item
swagger:model service.GetSessionHistorySearchResponseItem
func (*ServiceGetSessionHistorySearchResponseItem) MarshalBinary ¶
func (m *ServiceGetSessionHistorySearchResponseItem) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ServiceGetSessionHistorySearchResponseItem) UnmarshalBinary ¶
func (m *ServiceGetSessionHistorySearchResponseItem) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ServiceGetSessionHistorySearchResponseItemV2 ¶ added in v0.11.0
type ServiceGetSessionHistorySearchResponseItemV2 struct { // id // Required: true ID string `json:"_id"` // created at // Required: true // Format: date-time CreatedAt strfmt.DateTime `json:"created_at"` // game mode // Required: true GameMode string `json:"game_mode"` // joinable // Required: true Joinable bool `json:"joinable"` // match id // Required: true MatchID string `json:"match_id"` // namespace // Required: true Namespace string `json:"namespace"` // status // Required: true Status string `json:"status"` }
ServiceGetSessionHistorySearchResponseItemV2 service get session history search response item v2
swagger:model service.GetSessionHistorySearchResponseItemV2
func (*ServiceGetSessionHistorySearchResponseItemV2) MarshalBinary ¶ added in v0.11.0
func (m *ServiceGetSessionHistorySearchResponseItemV2) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ServiceGetSessionHistorySearchResponseItemV2) UnmarshalBinary ¶ added in v0.11.0
func (m *ServiceGetSessionHistorySearchResponseItemV2) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ServiceGetSessionHistorySearchResponseV2 ¶ added in v0.11.0
type ServiceGetSessionHistorySearchResponseV2 struct { // data // Required: true Data []*ServiceGetSessionHistorySearchResponseItemV2 `json:"data"` // pagination // Required: true Pagination *ModelsPagination `json:"pagination"` }
ServiceGetSessionHistorySearchResponseV2 service get session history search response v2
swagger:model service.GetSessionHistorySearchResponseV2
func (*ServiceGetSessionHistorySearchResponseV2) MarshalBinary ¶ added in v0.11.0
func (m *ServiceGetSessionHistorySearchResponseV2) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ServiceGetSessionHistorySearchResponseV2) UnmarshalBinary ¶ added in v0.11.0
func (m *ServiceGetSessionHistorySearchResponseV2) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
Source Files ¶
- log_app_message_declaration.go
- models_alliance_flexing_rule.go
- models_alliance_rule.go
- models_alliance_rule_v1.go
- models_channel.go
- models_channel_request.go
- models_channel_v1.go
- models_create_channel_response.go
- models_dequeue_request.go
- models_flexing_rule.go
- models_get_channels_response.go
- models_import_config_response.go
- models_match_add_user_into_session_request.go
- models_match_option.go
- models_match_option_rule.go
- models_match_result_request.go
- models_match_result_response.go
- models_matching_ally.go
- models_matching_party.go
- models_matching_rule.go
- models_matchmaking_result.go
- models_pagination.go
- models_party_member.go
- models_player_result_request.go
- models_player_result_response.go
- models_result_attribute_request.go
- models_result_attribute_response.go
- models_rule_set.go
- models_rule_set_v1.go
- models_sub_game_mode.go
- models_update_alliance_rule.go
- models_update_channel_request.go
- models_update_play_time_weight_request.go
- models_update_player_playtime_weight_response.go
- models_update_ruleset.go
- models_update_ruleset_sub_game_modes.go
- response_error.go
- response_error_v1.go
- service_get_session_history_detailed_response_item.go
- service_get_session_history_search_response.go
- service_get_session_history_search_response_item.go
- service_get_session_history_search_response_item_v2.go
- service_get_session_history_search_response_v2.go