sessionbrowserclientmodels

package
v0.1.0-alpha.4 Latest Latest
Warning

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

Go to latest
Published: Mar 27, 2024 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

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

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

MarshalBinary interface implementation

func (*ModelsActiveCustomGameResponse) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ModelsActiveCustomGameResponse) Validate

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

Validate validates this Models active custom game response

type ModelsActiveMatchmakingGameResponse

type ModelsActiveMatchmakingGameResponse struct {

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

	// sessions
	Sessions []*ModelsGameSession `json:"sessions,omitempty"`
}

ModelsActiveMatchmakingGameResponse Models active matchmaking game response

swagger:model Models active matchmaking game response.

func (*ModelsActiveMatchmakingGameResponse) MarshalBinary

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

MarshalBinary interface implementation

func (*ModelsActiveMatchmakingGameResponse) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ModelsActiveMatchmakingGameResponse) Validate

Validate validates this Models active matchmaking game response

type ModelsAddPlayerRequest

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

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

MarshalBinary interface implementation

func (*ModelsAddPlayerRequest) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ModelsAddPlayerRequest) Validate

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

Validate validates this Models add player request

type ModelsAddPlayerResponse

type ModelsAddPlayerResponse struct {

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

ModelsAddPlayerResponse Models add player response

swagger:model Models add player response.

func (*ModelsAddPlayerResponse) MarshalBinary

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

MarshalBinary interface implementation

func (*ModelsAddPlayerResponse) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ModelsAddPlayerResponse) Validate

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

Validate validates this Models add player response

type ModelsAdminSessionResponse

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
	GameSessionSetting *ModelsGameSessionSetting `json:"game_session_setting,omitempty"`

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

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

	// match
	Match *ModelsMatchMaking `json:"match,omitempty"`

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

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

MarshalBinary interface implementation

func (*ModelsAdminSessionResponse) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ModelsAdminSessionResponse) Validate

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

Validate validates this Models admin session response

type ModelsCountActiveSessionResponse

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

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

MarshalBinary interface implementation

func (*ModelsCountActiveSessionResponse) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ModelsCountActiveSessionResponse) Validate

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

type ModelsCustomGameResponse struct {

	// all_players
	AllPlayers []string `json:"all_players,omitempty"`

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

	// game_session_setting
	GameSessionSetting *ModelsGameSessionSetting `json:"game_session_setting,omitempty"`

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

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

	// players
	Players []string `json:"players,omitempty"`

	// server
	Server *ModelsServer `json:"server,omitempty"`

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

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

	// spectators
	Spectators []string `json:"spectators,omitempty"`
}

ModelsCustomGameResponse Models custom game response

swagger:model Models custom game response.

func (*ModelsCustomGameResponse) MarshalBinary

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

MarshalBinary interface implementation

func (*ModelsCustomGameResponse) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ModelsCustomGameResponse) Validate

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

Validate validates this Models custom game response

type ModelsGameSession

type ModelsGameSession struct {

	// all_players
	AllPlayers []string `json:"all_players,omitempty"`

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

	// game_session_setting
	GameSessionSetting *ModelsGameSessionSetting `json:"game_session_setting,omitempty"`

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

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

	// match
	Match *ModelsMatchMaking `json:"match,omitempty"`

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

	// players
	Players []string `json:"players,omitempty"`

	// 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
	Spectators []string `json:"spectators,omitempty"`

	// 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
	Settings interface{} `json:"settings,omitempty"`
}

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

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
	Joining []*ModelsSessionPlayerJoining `json:"joining,omitempty"`

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

	// matching_allies
	MatchingAllies []*ModelsMatchingAlly `json:"matching_allies,omitempty"`

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

	// party_id
	PartyID string `json:"party_id,omitempty"`

	// players
	Players []*ModelsSessionPlayerHistory `json:"players,omitempty"`

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

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

MarshalBinary interface implementation

func (*ModelsGetSessionHistoryDetailedResponseItem) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ModelsGetSessionHistoryDetailedResponseItem) Validate

Validate validates this Models get session history detailed response item

type ModelsGetSessionHistorySearchResponseItemV2

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
	Joining []*ModelsSessionPlayerJoining `json:"joining,omitempty"`

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

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

	// players
	Players []*ModelsSessionPlayerHistory `json:"players,omitempty"`

	// 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
	SubGameMode []string `json:"sub_game_mode,omitempty"`

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

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

MarshalBinary interface implementation

func (*ModelsGetSessionHistorySearchResponseItemV2) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ModelsGetSessionHistorySearchResponseItemV2) Validate

Validate validates this Models get session history search response item V2

type ModelsGetSessionHistorySearchResponseV2

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

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

MarshalBinary interface implementation

func (*ModelsGetSessionHistorySearchResponseV2) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ModelsGetSessionHistorySearchResponseV2) Validate

Validate validates this Models get session history search response V2

type ModelsJoinGameSessionRequest

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

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

MarshalBinary interface implementation

func (*ModelsJoinGameSessionRequest) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ModelsJoinGameSessionRequest) Validate

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

Validate validates this Models join game session request

type ModelsMatchAttributes

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

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

MarshalBinary interface implementation

func (*ModelsMatchAttributes) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ModelsMatchAttributes) Validate

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
	MatchingAllies []*ModelsMatchingAlly `json:"matching_allies,omitempty"`

	// 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
	SubGameMode []string `json:"sub_game_mode,omitempty"`
}

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
	MatchingParties []*ModelsMatchingParty `json:"matching_parties,omitempty"`
}

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
	MatchAttributes *ModelsMatchAttributes `json:"match_attributes,omitempty"`

	// party_attributes
	PartyAttributes interface{} `json:"party_attributes,omitempty"`

	// party_id
	// Required: true
	PartyID string `json:"party_id"`

	// party_members
	PartyMembers []*ModelsPartyMember `json:"party_members,omitempty"`
}

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

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

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

MarshalBinary interface implementation

func (*ModelsPagingCursor) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ModelsPagingCursor) Validate

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

Validate validates this Models paging cursor

type ModelsPartyMember

type ModelsPartyMember struct {

	// extra_attributes
	ExtraAttributes interface{} `json:"extra_attributes,omitempty"`

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

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

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

MarshalBinary interface implementation

func (*ModelsRecentPlayerHistory) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ModelsRecentPlayerHistory) Validate

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

Validate validates this Models recent player history

type ModelsRecentPlayerQueryResponse

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

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

MarshalBinary interface implementation

func (*ModelsRecentPlayerQueryResponse) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ModelsRecentPlayerQueryResponse) Validate

Validate validates this Models recent player query response

type ModelsServer

type ModelsServer struct {

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

	// alternate_ips
	AlternateIps []string `json:"alternate_ips,omitempty"`

	// 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
	Ports map[string]int64 `json:"ports,omitempty"`

	// 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
	StatusHistory []*ModelsStatusHistory `json:"status_history,omitempty"`
}

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

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

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

MarshalBinary interface implementation

func (*ModelsSessionPlayerHistory) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ModelsSessionPlayerHistory) Validate

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

Validate validates this Models session player history

type ModelsSessionPlayerJoining

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

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

MarshalBinary interface implementation

func (*ModelsSessionPlayerJoining) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ModelsSessionPlayerJoining) Validate

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

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

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

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

MarshalBinary interface implementation

func (*RestapiErrorResponseV2) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*RestapiErrorResponseV2) Validate

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

Validate validates this Restapi error response V2

type RestapiErrorV1

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

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

MarshalBinary interface implementation

func (*RestapiErrorV1) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*RestapiErrorV1) Validate

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