sessionbrowserclientmodels

package
v0.58.0 Latest Latest
Warning

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

Go to latest
Published: Nov 21, 2023 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 ModelsActiveCustomGameResponse added in v0.4.0

type ModelsActiveCustomGameResponse struct {

	// pagination
	// Required: true
	Pagination *ModelsPagingCursor `json:"pagination"`

	// sessions
	// Required: true
	Sessions []*ModelsCustomGameResponse `json:"sessions"`
}

ModelsActiveCustomGameResponse Models active custom game response

swagger:model Models active custom game response.

func (*ModelsActiveCustomGameResponse) MarshalBinary added in v0.4.0

func (m *ModelsActiveCustomGameResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ModelsActiveCustomGameResponse) UnmarshalBinary added in v0.4.0

func (m *ModelsActiveCustomGameResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ModelsActiveCustomGameResponse) Validate added in v0.4.0

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

Validate validates this Models active custom game response

type ModelsActiveMatchmakingGameResponse added in v0.4.0

type ModelsActiveMatchmakingGameResponse struct {

	// pagination
	// Required: true
	Pagination *ModelsPagingCursor `json:"pagination"`

	// sessions
	// Required: true
	Sessions []*ModelsGameSession `json:"sessions"`
}

ModelsActiveMatchmakingGameResponse Models active matchmaking game response

swagger:model Models active matchmaking game response.

func (*ModelsActiveMatchmakingGameResponse) MarshalBinary added in v0.4.0

func (m *ModelsActiveMatchmakingGameResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ModelsActiveMatchmakingGameResponse) UnmarshalBinary added in v0.4.0

func (m *ModelsActiveMatchmakingGameResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ModelsActiveMatchmakingGameResponse) Validate added in v0.4.0

Validate validates this Models active matchmaking game response

type ModelsAddPlayerRequest added in v0.4.0

type ModelsAddPlayerRequest struct {

	// as_spectator
	// Required: true
	AsSpectator *bool `json:"as_spectator"`

	// user_id
	// Required: true
	UserID *string `json:"user_id"`
}

ModelsAddPlayerRequest Models add player request

swagger:model Models add player request.

func (*ModelsAddPlayerRequest) MarshalBinary added in v0.4.0

func (m *ModelsAddPlayerRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ModelsAddPlayerRequest) UnmarshalBinary added in v0.4.0

func (m *ModelsAddPlayerRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ModelsAddPlayerRequest) Validate added in v0.4.0

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

Validate validates this Models add player request

type ModelsAddPlayerResponse added in v0.4.0

type ModelsAddPlayerResponse struct {

	// status
	// Required: true
	Status *bool `json:"status"`
}

ModelsAddPlayerResponse Models add player response

swagger:model Models add player response.

func (*ModelsAddPlayerResponse) MarshalBinary added in v0.4.0

func (m *ModelsAddPlayerResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ModelsAddPlayerResponse) UnmarshalBinary added in v0.4.0

func (m *ModelsAddPlayerResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ModelsAddPlayerResponse) Validate added in v0.4.0

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

Validate validates this Models add player response

type ModelsAdminSessionResponse added in v0.4.0

type ModelsAdminSessionResponse struct {

	// all_players
	// Required: true
	AllPlayers []string `json:"all_players"`

	// created_at
	// Required: true
	// Format: date-time
	CreatedAt strfmt.DateTime `json:"created_at"`

	// game_session_setting
	// Required: true
	GameSessionSetting *ModelsGameSessionSetting `json:"game_session_setting"`

	// game_version
	// Required: true
	GameVersion *string `json:"game_version"`

	// joinable
	// Required: true
	Joinable *bool `json:"joinable"`

	// match
	// Required: true
	Match *ModelsMatchMaking `json:"match"`

	// namespace
	// Required: true
	Namespace *string `json:"namespace"`

	// players
	// Required: true
	Players []string `json:"players"`

	// server
	// Required: true
	Server *ModelsServer `json:"server"`

	// session_id
	// Required: true
	SessionID *string `json:"session_id"`

	// session_type
	// Required: true
	SessionType *string `json:"session_type"`

	// spectators
	// Required: true
	Spectators []string `json:"spectators"`

	// user_id
	// Required: true
	UserID *string `json:"user_id"`

	// username
	// Required: true
	Username *string `json:"username"`
}

ModelsAdminSessionResponse Models admin session response

swagger:model Models admin session response.

func (*ModelsAdminSessionResponse) MarshalBinary added in v0.4.0

func (m *ModelsAdminSessionResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ModelsAdminSessionResponse) UnmarshalBinary added in v0.4.0

func (m *ModelsAdminSessionResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ModelsAdminSessionResponse) Validate added in v0.4.0

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

Validate validates this Models admin session response

type ModelsCountActiveSessionResponse added in v0.4.0

type ModelsCountActiveSessionResponse struct {

	// custom_game
	// Required: true
	// Format: int64
	CustomGame *int64 `json:"custom_game"`

	// matchmaking_game
	// Required: true
	// Format: int64
	MatchmakingGame *int64 `json:"matchmaking_game"`

	// total
	// Required: true
	// Format: int64
	Total *int64 `json:"total"`
}

ModelsCountActiveSessionResponse Models count active session response

swagger:model Models count active session response.

func (*ModelsCountActiveSessionResponse) MarshalBinary added in v0.4.0

func (m *ModelsCountActiveSessionResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ModelsCountActiveSessionResponse) UnmarshalBinary added in v0.4.0

func (m *ModelsCountActiveSessionResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ModelsCountActiveSessionResponse) Validate added in v0.4.0

Validate validates this Models count active session response

type ModelsCreateSessionRequest

type ModelsCreateSessionRequest struct {

	// game_session_setting
	// Required: true
	GameSessionSetting *ModelsGameSessionSetting `json:"game_session_setting"`

	// game_version
	// Required: true
	GameVersion *string `json:"game_version"`

	// namespace
	// Required: true
	Namespace *string `json:"namespace"`

	// session_type
	// Required: true
	SessionType *string `json:"session_type"`

	// username
	// Required: true
	Username *string `json:"username"`
}

ModelsCreateSessionRequest Models create session request

swagger:model Models create session request.

func (*ModelsCreateSessionRequest) MarshalBinary

func (m *ModelsCreateSessionRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ModelsCreateSessionRequest) UnmarshalBinary

func (m *ModelsCreateSessionRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ModelsCreateSessionRequest) Validate

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

Validate validates this Models create session request

type ModelsCustomGameResponse added in v0.4.0

type ModelsCustomGameResponse struct {

	// all_players
	// Required: true
	AllPlayers []string `json:"all_players"`

	// created_at
	// Required: true
	// Format: date-time
	CreatedAt strfmt.DateTime `json:"created_at"`

	// game_session_setting
	// Required: true
	GameSessionSetting *ModelsGameSessionSetting `json:"game_session_setting"`

	// joinable
	// Required: true
	Joinable *bool `json:"joinable"`

	// namespace
	// Required: true
	Namespace *string `json:"namespace"`

	// players
	// Required: true
	Players []string `json:"players"`

	// server
	// Required: true
	Server *ModelsServer `json:"server"`

	// session_id
	// Required: true
	SessionID *string `json:"session_id"`

	// session_type
	// Required: true
	SessionType *string `json:"session_type"`

	// spectators
	// Required: true
	Spectators []string `json:"spectators"`
}

ModelsCustomGameResponse Models custom game response

swagger:model Models custom game response.

func (*ModelsCustomGameResponse) MarshalBinary added in v0.4.0

func (m *ModelsCustomGameResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ModelsCustomGameResponse) UnmarshalBinary added in v0.4.0

func (m *ModelsCustomGameResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ModelsCustomGameResponse) Validate added in v0.4.0

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

Validate validates this Models custom game response

type ModelsGameSession

type ModelsGameSession struct {

	// all_players
	// Required: true
	AllPlayers []string `json:"all_players"`

	// created_at
	// Required: true
	// Format: date-time
	CreatedAt strfmt.DateTime `json:"created_at"`

	// game_session_setting
	// Required: true
	GameSessionSetting *ModelsGameSessionSetting `json:"game_session_setting"`

	// game_version
	// Required: true
	GameVersion *string `json:"game_version"`

	// joinable
	// Required: true
	Joinable *bool `json:"joinable"`

	// match
	// Required: true
	Match *ModelsMatchMaking `json:"match"`

	// namespace
	// Required: true
	Namespace *string `json:"namespace"`

	// players
	// Required: true
	Players []string `json:"players"`

	// server
	// Required: true
	Server *ModelsServer `json:"server"`

	// session_id
	// Required: true
	SessionID *string `json:"session_id"`

	// session_type
	// Required: true
	SessionType *string `json:"session_type"`

	// spectators
	// Required: true
	Spectators []string `json:"spectators"`

	// user_id
	// Required: true
	UserID *string `json:"user_id"`

	// username
	// Required: true
	Username *string `json:"username"`
}

ModelsGameSession Models game session

swagger:model Models game session.

func (*ModelsGameSession) MarshalBinary

func (m *ModelsGameSession) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ModelsGameSession) UnmarshalBinary

func (m *ModelsGameSession) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ModelsGameSession) Validate

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

Validate validates this Models game session

type ModelsGameSessionSetting

type ModelsGameSessionSetting struct {

	// allow_join_in_progress
	// Required: true
	AllowJoinInProgress *bool `json:"allow_join_in_progress"`

	// current_internal_player
	// Required: true
	// Format: int32
	CurrentInternalPlayer *int32 `json:"current_internal_player"`

	// current_player
	// Required: true
	// Format: int32
	CurrentPlayer *int32 `json:"current_player"`

	// map_name
	// Required: true
	MapName *string `json:"map_name"`

	// max_internal_player
	// Required: true
	// Format: int32
	MaxInternalPlayer *int32 `json:"max_internal_player"`

	// max_player
	// Required: true
	// Format: int32
	MaxPlayer *int32 `json:"max_player"`

	// mode
	// Required: true
	Mode *string `json:"mode"`

	// num_bot
	// Required: true
	// Format: int32
	NumBot *int32 `json:"num_bot"`

	// password
	// Required: true
	Password *string `json:"password"`

	// settings
	// Required: true
	Settings interface{} `json:"settings"`
}

ModelsGameSessionSetting Models game session setting

swagger:model Models game session setting.

func (*ModelsGameSessionSetting) MarshalBinary

func (m *ModelsGameSessionSetting) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ModelsGameSessionSetting) UnmarshalBinary

func (m *ModelsGameSessionSetting) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ModelsGameSessionSetting) Validate

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

Validate validates this Models game session setting

type ModelsGetSessionHistoryDetailedResponseItem added in v0.28.0

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

	// joining
	// Required: true
	Joining []*ModelsSessionPlayerJoining `json:"joining"`

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

	// players
	// Required: true
	Players []*ModelsSessionPlayerHistory `json:"players"`

	// region
	// Required: true
	Region string `json:"region"`

	// removed_reason
	// Required: true
	RemovedReason *string `json:"removed_reason"`

	// server_name
	// Required: true
	ServerName string `json:"server_name"`

	// session_type
	// Required: true
	SessionType *string `json:"session_type"`

	// status
	// Required: true
	Status string `json:"status"`

	// user_id
	// Required: true
	UserID *string `json:"user_id"`
}

ModelsGetSessionHistoryDetailedResponseItem Models get session history detailed response item

swagger:model Models get session history detailed response item.

func (*ModelsGetSessionHistoryDetailedResponseItem) MarshalBinary added in v0.28.0

func (m *ModelsGetSessionHistoryDetailedResponseItem) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ModelsGetSessionHistoryDetailedResponseItem) UnmarshalBinary added in v0.28.0

func (m *ModelsGetSessionHistoryDetailedResponseItem) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ModelsGetSessionHistoryDetailedResponseItem) Validate added in v0.28.0

Validate validates this Models get session history detailed response item

type ModelsGetSessionHistorySearchResponseItemV2 added in v0.28.0

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

	// joining
	// Required: true
	Joining []*ModelsSessionPlayerJoining `json:"joining"`

	// match_id
	// Required: true
	MatchID string `json:"match_id"`

	// namespace
	// Required: true
	Namespace string `json:"namespace"`

	// players
	// Required: true
	Players []*ModelsSessionPlayerHistory `json:"players"`

	// removed_reason
	// Required: true
	RemovedReason *string `json:"removed_reason"`

	// session_type
	// Required: true
	SessionType *string `json:"session_type"`

	// status
	// Required: true
	Status string `json:"status"`

	// sub_game_mode
	// Required: true
	SubGameMode []string `json:"sub_game_mode"`

	// user_id
	// Required: true
	UserID *string `json:"user_id"`
}

ModelsGetSessionHistorySearchResponseItemV2 Models get session history search response item V2

swagger:model Models get session history search response item V2.

func (*ModelsGetSessionHistorySearchResponseItemV2) MarshalBinary added in v0.28.0

func (m *ModelsGetSessionHistorySearchResponseItemV2) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ModelsGetSessionHistorySearchResponseItemV2) UnmarshalBinary added in v0.28.0

func (m *ModelsGetSessionHistorySearchResponseItemV2) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ModelsGetSessionHistorySearchResponseItemV2) Validate added in v0.28.0

Validate validates this Models get session history search response item V2

type ModelsGetSessionHistorySearchResponseV2 added in v0.28.0

type ModelsGetSessionHistorySearchResponseV2 struct {

	// data
	// Required: true
	Data []*ModelsGetSessionHistorySearchResponseItemV2 `json:"data"`

	// pagination
	// Required: true
	Pagination *ModelsPagination `json:"pagination"`
}

ModelsGetSessionHistorySearchResponseV2 Models get session history search response V2

swagger:model Models get session history search response V2.

func (*ModelsGetSessionHistorySearchResponseV2) MarshalBinary added in v0.28.0

func (m *ModelsGetSessionHistorySearchResponseV2) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ModelsGetSessionHistorySearchResponseV2) UnmarshalBinary added in v0.28.0

func (m *ModelsGetSessionHistorySearchResponseV2) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ModelsGetSessionHistorySearchResponseV2) Validate added in v0.28.0

Validate validates this Models get session history search response V2

type ModelsJoinGameSessionRequest added in v0.4.0

type ModelsJoinGameSessionRequest struct {

	// password
	// Required: true
	Password *string `json:"password"`
}

ModelsJoinGameSessionRequest Models join game session request

swagger:model Models join game session request.

func (*ModelsJoinGameSessionRequest) MarshalBinary added in v0.4.0

func (m *ModelsJoinGameSessionRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ModelsJoinGameSessionRequest) UnmarshalBinary added in v0.4.0

func (m *ModelsJoinGameSessionRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ModelsJoinGameSessionRequest) Validate added in v0.4.0

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

Validate validates this Models join game session request

type ModelsMatchAttributes added in v0.28.0

type ModelsMatchAttributes struct {

	// first_ticket_created_at
	// Required: true
	// Format: int64
	FirstTicketCreatedAt *int64 `json:"first_ticket_created_at"`
}

ModelsMatchAttributes Models match attributes

swagger:model Models match attributes.

func (*ModelsMatchAttributes) MarshalBinary added in v0.28.0

func (m *ModelsMatchAttributes) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ModelsMatchAttributes) UnmarshalBinary added in v0.28.0

func (m *ModelsMatchAttributes) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ModelsMatchAttributes) Validate added in v0.28.0

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

Validate validates this Models match attributes

type ModelsMatchMaking

type ModelsMatchMaking struct {

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

	// deployment
	// Required: true
	Deployment string `json:"deployment"`

	// event
	// Required: true
	Event *string `json:"event"`

	// 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
	// Format: int64
	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"`

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

ModelsMatchMaking Models match making

swagger:model Models match making.

func (*ModelsMatchMaking) MarshalBinary

func (m *ModelsMatchMaking) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ModelsMatchMaking) UnmarshalBinary

func (m *ModelsMatchMaking) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ModelsMatchMaking) Validate

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

Validate validates this Models match making

type ModelsMatchingAlly

type ModelsMatchingAlly struct {

	// matching_parties
	// Required: true
	MatchingParties []*ModelsMatchingParty `json:"matching_parties"`
}

ModelsMatchingAlly Models matching ally

swagger:model Models matching ally.

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 {

	// match_attributes
	// Required: true
	MatchAttributes *ModelsMatchAttributes `json:"match_attributes"`

	// 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 matching party.

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 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 ModelsPagingCursor added in v0.4.0

type ModelsPagingCursor struct {

	// next
	// Required: true
	Next *string `json:"next"`

	// previous
	// Required: true
	Previous *string `json:"previous"`
}

ModelsPagingCursor Models paging cursor

swagger:model Models paging cursor.

func (*ModelsPagingCursor) MarshalBinary added in v0.4.0

func (m *ModelsPagingCursor) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ModelsPagingCursor) UnmarshalBinary added in v0.4.0

func (m *ModelsPagingCursor) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ModelsPagingCursor) Validate added in v0.4.0

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

Validate validates this Models paging cursor

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 party member.

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 ModelsRecentPlayerHistory added in v0.4.0

type ModelsRecentPlayerHistory struct {

	// created_at
	// Required: true
	// Format: date-time
	CreatedAt strfmt.DateTime `json:"created_at"`

	// namespace
	// Required: true
	Namespace *string `json:"namespace"`

	// other_display_name
	// Required: true
	OtherDisplayName *string `json:"other_display_name"`

	// other_id
	// Required: true
	OtherID *string `json:"other_id"`

	// updated_at
	// Required: true
	// Format: date-time
	UpdatedAt strfmt.DateTime `json:"updated_at"`

	// user_id
	// Required: true
	UserID *string `json:"user_id"`
}

ModelsRecentPlayerHistory Models recent player history

swagger:model Models recent player history.

func (*ModelsRecentPlayerHistory) MarshalBinary added in v0.4.0

func (m *ModelsRecentPlayerHistory) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ModelsRecentPlayerHistory) UnmarshalBinary added in v0.4.0

func (m *ModelsRecentPlayerHistory) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ModelsRecentPlayerHistory) Validate added in v0.4.0

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

Validate validates this Models recent player history

type ModelsRecentPlayerQueryResponse added in v0.4.0

type ModelsRecentPlayerQueryResponse struct {

	// data
	// Required: true
	Data []*ModelsRecentPlayerHistory `json:"data"`
}

ModelsRecentPlayerQueryResponse Models recent player query response

swagger:model Models recent player query response.

func (*ModelsRecentPlayerQueryResponse) MarshalBinary added in v0.4.0

func (m *ModelsRecentPlayerQueryResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ModelsRecentPlayerQueryResponse) UnmarshalBinary added in v0.4.0

func (m *ModelsRecentPlayerQueryResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ModelsRecentPlayerQueryResponse) Validate added in v0.4.0

Validate validates this Models recent player query response

type ModelsServer

type ModelsServer struct {

	// allocation_id
	// Required: true
	AllocationID *string `json:"allocation_id"`

	// alternate_ips
	// Required: true
	AlternateIps []string `json:"alternate_ips"`

	// cpu_limit
	// Required: true
	// Format: int32
	CPULimit *int32 `json:"cpu_limit"`

	// cpu_request
	// Required: true
	CPURequest *string `json:"cpu_request"`

	// deployment
	// Required: true
	Deployment *string `json:"deployment"`

	// game_version
	// Required: true
	GameVersion *string `json:"game_version"`

	// image_version
	// Required: true
	ImageVersion *string `json:"image_version"`

	// ip
	// Required: true
	IP *string `json:"ip"`

	// is_override_game_version
	// Required: true
	IsOverrideGameVersion *bool `json:"is_override_game_version"`

	// last_update
	// Required: true
	// Format: date-time
	LastUpdate strfmt.DateTime `json:"last_update"`

	// mem_limit
	// Required: true
	// Format: int32
	MemLimit *int32 `json:"mem_limit"`

	// mem_request
	// Required: true
	MemRequest *string `json:"mem_request"`

	// namespace
	// Required: true
	Namespace *string `json:"namespace"`

	// params
	// Required: true
	Params *string `json:"params"`

	// pod_name
	// Required: true
	PodName *string `json:"pod_name"`

	// port
	// Required: true
	// Format: int32
	Port *int32 `json:"port"`

	// ports
	// Required: true
	Ports map[string]int64 `json:"ports"`

	// provider
	// Required: true
	Provider *string `json:"provider"`

	// region
	// Required: true
	Region *string `json:"region"`

	// session_id
	// Required: true
	SessionID *string `json:"session_id"`

	// status
	// Required: true
	Status *string `json:"status"`

	// status_history
	// Required: true
	StatusHistory []*ModelsStatusHistory `json:"status_history"`
}

ModelsServer Models server

swagger:model Models server.

func (*ModelsServer) MarshalBinary

func (m *ModelsServer) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ModelsServer) UnmarshalBinary

func (m *ModelsServer) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ModelsServer) Validate

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

Validate validates this Models server

type ModelsSessionByUserIDsResponse

type ModelsSessionByUserIDsResponse struct {

	// data
	// Required: true
	Data []*ModelsGameSession `json:"data"`
}

ModelsSessionByUserIDsResponse Models session by user I ds response

swagger:model Models session by user I ds response.

func (*ModelsSessionByUserIDsResponse) MarshalBinary

func (m *ModelsSessionByUserIDsResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ModelsSessionByUserIDsResponse) UnmarshalBinary

func (m *ModelsSessionByUserIDsResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ModelsSessionByUserIDsResponse) Validate

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

Validate validates this Models session by user I ds response

type ModelsSessionPlayerHistory added in v0.38.0

type ModelsSessionPlayerHistory struct {

	// action
	// Required: true
	Action *string `json:"Action"`

	// date
	// Required: true
	// Format: date-time
	Date strfmt.DateTime `json:"Date"`

	// userid
	// Required: true
	UserID *string `json:"UserID"`
}

ModelsSessionPlayerHistory Models session player history

swagger:model Models session player history.

func (*ModelsSessionPlayerHistory) MarshalBinary added in v0.38.0

func (m *ModelsSessionPlayerHistory) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ModelsSessionPlayerHistory) UnmarshalBinary added in v0.38.0

func (m *ModelsSessionPlayerHistory) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ModelsSessionPlayerHistory) Validate added in v0.38.0

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

Validate validates this Models session player history

type ModelsSessionPlayerJoining added in v0.38.0

type ModelsSessionPlayerJoining struct {

	// date
	// Required: true
	// Format: date-time
	Date strfmt.DateTime `json:"Date"`

	// state
	// Required: true
	State *string `json:"State"`

	// userid
	// Required: true
	UserID *string `json:"UserID"`
}

ModelsSessionPlayerJoining Models session player joining

swagger:model Models session player joining.

func (*ModelsSessionPlayerJoining) MarshalBinary added in v0.38.0

func (m *ModelsSessionPlayerJoining) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ModelsSessionPlayerJoining) UnmarshalBinary added in v0.38.0

func (m *ModelsSessionPlayerJoining) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ModelsSessionPlayerJoining) Validate added in v0.38.0

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

Validate validates this Models session player joining

type ModelsSessionQueryResponse

type ModelsSessionQueryResponse struct {

	// pagination
	// Required: true
	Pagination *ModelsPagingCursor `json:"pagination"`

	// sessions
	// Required: true
	Sessions []*ModelsGameSession `json:"sessions"`
}

ModelsSessionQueryResponse Models session query response

swagger:model Models session query response.

func (*ModelsSessionQueryResponse) MarshalBinary

func (m *ModelsSessionQueryResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ModelsSessionQueryResponse) UnmarshalBinary

func (m *ModelsSessionQueryResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ModelsSessionQueryResponse) Validate

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

Validate validates this Models session query response

type ModelsSessionResponse

type ModelsSessionResponse struct {

	// all_players
	// Required: true
	AllPlayers []string `json:"all_players"`

	// created_at
	// Required: true
	// Format: date-time
	CreatedAt strfmt.DateTime `json:"created_at"`

	// game_session_setting
	// Required: true
	GameSessionSetting *ModelsGameSessionSetting `json:"game_session_setting"`

	// game_version
	// Required: true
	GameVersion *string `json:"game_version"`

	// joinable
	// Required: true
	Joinable *bool `json:"joinable"`

	// match
	// Required: true
	Match *ModelsMatchMaking `json:"match"`

	// namespace
	// Required: true
	Namespace *string `json:"namespace"`

	// players
	// Required: true
	Players []string `json:"players"`

	// server
	// Required: true
	Server *ModelsServer `json:"server"`

	// session_id
	// Required: true
	SessionID *string `json:"session_id"`

	// session_type
	// Required: true
	SessionType *string `json:"session_type"`

	// spectators
	// Required: true
	Spectators []string `json:"spectators"`

	// user_id
	// Required: true
	UserID *string `json:"user_id"`

	// username
	// Required: true
	Username *string `json:"username"`
}

ModelsSessionResponse Models session response

swagger:model Models session response.

func (*ModelsSessionResponse) MarshalBinary

func (m *ModelsSessionResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ModelsSessionResponse) UnmarshalBinary

func (m *ModelsSessionResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ModelsSessionResponse) Validate

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

Validate validates this Models session response

type ModelsStatusHistory

type ModelsStatusHistory struct {

	// status
	// Required: true
	Status *string `json:"status"`

	// time_stamp
	// Required: true
	// Format: date-time
	TimeStamp strfmt.DateTime `json:"time_stamp"`
}

ModelsStatusHistory Models status history

swagger:model Models status history.

func (*ModelsStatusHistory) MarshalBinary

func (m *ModelsStatusHistory) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ModelsStatusHistory) UnmarshalBinary

func (m *ModelsStatusHistory) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ModelsStatusHistory) Validate

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

Validate validates this Models status history

type ModelsUpdateSessionRequest

type ModelsUpdateSessionRequest struct {

	// game_max_player
	// Required: true
	// Format: int32
	GameMaxPlayer *int32 `json:"game_max_player"`
}

ModelsUpdateSessionRequest Models update session request

swagger:model Models update session request.

func (*ModelsUpdateSessionRequest) MarshalBinary

func (m *ModelsUpdateSessionRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ModelsUpdateSessionRequest) UnmarshalBinary

func (m *ModelsUpdateSessionRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ModelsUpdateSessionRequest) Validate

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

Validate validates this Models update session request

type ModelsUpdateSettingsRequest added in v0.18.0

type ModelsUpdateSettingsRequest interface{}

ModelsUpdateSettingsRequest Models update settings request

swagger:model Models update settings request.

type ResponseError

type ResponseError struct {

	// errorcode
	// Required: true
	// Format: int32
	ErrorCode *int32 `json:"errorCode"`

	// errormessage
	// 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 RestapiErrorResponseV2 added in v0.4.0

type RestapiErrorResponseV2 struct {

	// attributes
	// Required: true
	Attributes map[string]string `json:"attributes"`

	// errorcode
	// Required: true
	// Format: int32
	ErrorCode *int32 `json:"errorCode"`

	// errormessage
	// Required: true
	ErrorMessage *string `json:"errorMessage"`

	// message
	// Required: true
	Message *string `json:"message"`

	// name
	// Required: true
	Name *string `json:"name"`
}

RestapiErrorResponseV2 Restapi error response V2

swagger:model Restapi error response V2.

func (*RestapiErrorResponseV2) MarshalBinary added in v0.4.0

func (m *RestapiErrorResponseV2) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*RestapiErrorResponseV2) UnmarshalBinary added in v0.4.0

func (m *RestapiErrorResponseV2) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*RestapiErrorResponseV2) Validate added in v0.4.0

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

Validate validates this Restapi error response V2

type RestapiErrorV1 added in v0.28.0

type RestapiErrorV1 struct {

	// errorcode
	// Required: true
	// Format: int32
	ErrorCode int32 `json:"errorCode"`

	// errormessage
	// Required: true
	ErrorMessage string `json:"errorMessage"`
}

RestapiErrorV1 Restapi error V1

swagger:model Restapi error V1.

func (*RestapiErrorV1) MarshalBinary added in v0.28.0

func (m *RestapiErrorV1) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*RestapiErrorV1) UnmarshalBinary added in v0.28.0

func (m *RestapiErrorV1) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*RestapiErrorV1) Validate added in v0.28.0

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

Validate validates this Restapi error V1

Jump to

Keyboard shortcuts

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