matchmakingclientmodels

package
v0.18.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 10, 2022 License: MIT Imports: 5 Imported by: 0

Documentation

Index

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

func (*LogAppMessageDeclaration) Validate

func (m *LogAppMessageDeclaration) Validate(formats strfmt.Registry) error

Validate validates this log app message declaration

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

func (*ModelsAllianceFlexingRule) Validate added in v0.8.0

func (m *ModelsAllianceFlexingRule) Validate(formats strfmt.Registry) error

Validate validates this models alliance flexing rule

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

func (*ModelsAllianceRule) Validate

func (m *ModelsAllianceRule) Validate(formats strfmt.Registry) error

Validate validates this models alliance rule

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

func (*ModelsAllianceRuleV1) Validate

func (m *ModelsAllianceRuleV1) Validate(formats strfmt.Registry) error

Validate validates this models alliance rule v1

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

func (*ModelsChannel) Validate

func (m *ModelsChannel) Validate(formats strfmt.Registry) error

Validate validates this models channel

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"`

	// 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"`

	// use sub gamemode
	UseSubGamemode *bool `json:"use_sub_gamemode"`
}

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

func (*ModelsChannelRequest) Validate

func (m *ModelsChannelRequest) Validate(formats strfmt.Registry) error

Validate validates this models channel request

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

func (*ModelsChannelV1) Validate

func (m *ModelsChannelV1) Validate(formats strfmt.Registry) error

Validate validates this models channel v1

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

func (*ModelsCreateChannelResponse) Validate

func (m *ModelsCreateChannelResponse) Validate(formats strfmt.Registry) error

Validate validates this models create channel response

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

func (*ModelsDequeueRequest) Validate

func (m *ModelsDequeueRequest) Validate(formats strfmt.Registry) error

Validate validates this models dequeue request

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

func (*ModelsFlexingRule) Validate

func (m *ModelsFlexingRule) Validate(formats strfmt.Registry) error

Validate validates this models flexing rule

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

func (*ModelsGetChannelsResponse) Validate

func (m *ModelsGetChannelsResponse) Validate(formats strfmt.Registry) error

Validate validates this models get channels response

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

func (*ModelsImportConfigResponse) Validate

func (m *ModelsImportConfigResponse) Validate(formats strfmt.Registry) error

Validate validates this models import config response

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

func (*ModelsMatchAddUserIntoSessionRequest) Validate

Validate validates this models match add user into session request

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

func (*ModelsMatchOption) Validate

func (m *ModelsMatchOption) Validate(formats strfmt.Registry) error

Validate validates this models match option

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

func (*ModelsMatchOptionRule) Validate

func (m *ModelsMatchOptionRule) Validate(formats strfmt.Registry) error

Validate validates this models match option rule

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

func (*ModelsMatchResultRequest) Validate

func (m *ModelsMatchResultRequest) Validate(formats strfmt.Registry) error

Validate validates this models match result request

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

func (*ModelsMatchResultResponse) Validate

func (m *ModelsMatchResultResponse) Validate(formats strfmt.Registry) error

Validate validates this models match result response

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

func (*ModelsMatchingAlly) Validate

func (m *ModelsMatchingAlly) Validate(formats strfmt.Registry) error

Validate validates this models matching ally

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

func (*ModelsMatchingParty) Validate

func (m *ModelsMatchingParty) Validate(formats strfmt.Registry) error

Validate validates this models matching party

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

func (*ModelsMatchingRule) Validate

func (m *ModelsMatchingRule) Validate(formats strfmt.Registry) error

Validate validates this models matching rule

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"`

	// 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

func (*ModelsMatchmakingResult) Validate

func (m *ModelsMatchmakingResult) Validate(formats strfmt.Registry) error

Validate validates this models matchmaking result

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

func (*ModelsPagination) Validate

func (m *ModelsPagination) Validate(formats strfmt.Registry) error

Validate validates this models pagination

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

func (*ModelsPartyMember) Validate

func (m *ModelsPartyMember) Validate(formats strfmt.Registry) error

Validate validates this models party member

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

func (*ModelsPlayerResultRequest) Validate

func (m *ModelsPlayerResultRequest) Validate(formats strfmt.Registry) error

Validate validates this models player result request

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

func (*ModelsPlayerResultResponse) Validate

func (m *ModelsPlayerResultResponse) Validate(formats strfmt.Registry) error

Validate validates this models player result response

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

func (*ModelsResultAttributeRequest) Validate

func (m *ModelsResultAttributeRequest) Validate(formats strfmt.Registry) error

Validate validates this models result attribute request

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

func (*ModelsResultAttributeResponse) Validate

func (m *ModelsResultAttributeResponse) Validate(formats strfmt.Registry) error

Validate validates this models result attribute response

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

func (*ModelsRuleSet) Validate

func (m *ModelsRuleSet) Validate(formats strfmt.Registry) error

Validate validates this models rule set

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

func (*ModelsRuleSetV1) Validate

func (m *ModelsRuleSetV1) Validate(formats strfmt.Registry) error

Validate validates this models rule set v1

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

func (*ModelsSubGameMode) Validate

func (m *ModelsSubGameMode) Validate(formats strfmt.Registry) error

Validate validates this models sub game mode

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

func (*ModelsUpdateAllianceRule) Validate

func (m *ModelsUpdateAllianceRule) Validate(formats strfmt.Registry) error

Validate validates this models update alliance rule

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

func (*ModelsUpdateChannelRequest) Validate

func (m *ModelsUpdateChannelRequest) Validate(formats strfmt.Registry) error

Validate validates this models update channel request

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

func (*ModelsUpdatePlayTimeWeightRequest) Validate

Validate validates this models update play time weight request

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

func (*ModelsUpdatePlayerPlaytimeWeightResponse) Validate

Validate validates this models update player playtime weight response

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

func (*ModelsUpdateRuleset) Validate

func (m *ModelsUpdateRuleset) Validate(formats strfmt.Registry) error

Validate validates this models update ruleset

type ModelsUpdateRulesetSubGameModes

type ModelsUpdateRulesetSubGameModes map[string]ModelsSubGameMode

ModelsUpdateRulesetSubGameModes models update ruleset sub game modes

swagger:model models.UpdateRuleset.sub_game_modes

func (ModelsUpdateRulesetSubGameModes) Validate

Validate validates this models update ruleset 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

func (*ResponseError) Validate

func (m *ResponseError) Validate(formats strfmt.Registry) error

Validate validates this response error

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

func (*ResponseErrorV1) Validate

func (m *ResponseErrorV1) Validate(formats strfmt.Registry) error

Validate validates this response error v1

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

MarshalBinary interface implementation

func (*ServiceGetSessionHistoryDetailedResponseItem) UnmarshalBinary

UnmarshalBinary interface implementation

func (*ServiceGetSessionHistoryDetailedResponseItem) Validate

Validate validates this service get session history detailed response item

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

func (*ServiceGetSessionHistorySearchResponse) Validate

Validate validates this service get session history search response

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"`

	// sub game mode
	// Required: true
	SubGameMode []string `json:"sub_game_mode"`
}

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

func (*ServiceGetSessionHistorySearchResponseItem) Validate

Validate validates this service get session history search response item

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"`

	// sub game mode
	// Required: true
	SubGameMode []string `json:"sub_game_mode"`
}

ServiceGetSessionHistorySearchResponseItemV2 service get session history search response item v2

swagger:model service.GetSessionHistorySearchResponseItemV2

func (*ServiceGetSessionHistorySearchResponseItemV2) MarshalBinary added in v0.11.0

MarshalBinary interface implementation

func (*ServiceGetSessionHistorySearchResponseItemV2) UnmarshalBinary added in v0.11.0

UnmarshalBinary interface implementation

func (*ServiceGetSessionHistorySearchResponseItemV2) Validate added in v0.11.0

Validate validates this service get session history search response item v2

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

func (*ServiceGetSessionHistorySearchResponseV2) Validate added in v0.11.0

Validate validates this service get session history search response v2

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL