Documentation
¶
Index ¶
- type ModelsActiveCustomGameResponse
- type ModelsActiveMatchmakingGameResponse
- type ModelsAddPlayerRequest
- type ModelsAddPlayerResponse
- type ModelsAdminSessionResponse
- type ModelsCountActiveSessionResponse
- type ModelsCreateSessionRequest
- type ModelsCustomGameResponse
- type ModelsGameSession
- type ModelsGameSessionSetting
- type ModelsGetSessionHistoryDetailedResponseItem
- type ModelsGetSessionHistorySearchResponseItemV2
- type ModelsGetSessionHistorySearchResponseV2
- type ModelsJoinGameSessionRequest
- type ModelsMatchAttributes
- type ModelsMatchMaking
- type ModelsMatchingAlly
- type ModelsMatchingParty
- type ModelsPagination
- type ModelsPagingCursor
- type ModelsPartyMember
- type ModelsRecentPlayerHistory
- type ModelsRecentPlayerQueryResponse
- type ModelsServer
- type ModelsSessionByUserIDsResponse
- type ModelsSessionPlayerHistory
- type ModelsSessionPlayerJoining
- type ModelsSessionQueryResponse
- type ModelsSessionResponse
- type ModelsStatusHistory
- type ModelsUpdateSessionRequest
- type ModelsUpdateSettingsRequest
- type ResponseError
- type RestapiErrorResponseV2
- type RestapiErrorV1
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
type ModelsPagination ¶
type ModelsPagination struct {
// first
// Required: true
First *string `json:"first"`
// last
// Required: true
Last *string `json:"last"`
// next
// Required: true
Next *string `json:"next"`
// previous
// Required: true
Previous *string `json:"previous"`
}
ModelsPagination Models pagination
swagger:model Models pagination.
func (*ModelsPagination) MarshalBinary ¶
func (m *ModelsPagination) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ModelsPagination) UnmarshalBinary ¶
func (m *ModelsPagination) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type 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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
Source Files
¶
- models_active_custom_game_response.go
- models_active_matchmaking_game_response.go
- models_add_player_request.go
- models_add_player_response.go
- models_admin_session_response.go
- models_count_active_session_response.go
- models_create_session_request.go
- models_custom_game_response.go
- models_game_session.go
- models_game_session_setting.go
- models_get_session_history_detailed_response_item.go
- models_get_session_history_search_response_item_v2.go
- models_get_session_history_search_response_v2.go
- models_join_game_session_request.go
- models_match_attributes.go
- models_match_making.go
- models_matching_ally.go
- models_matching_party.go
- models_pagination.go
- models_paging_cursor.go
- models_party_member.go
- models_recent_player_history.go
- models_recent_player_query_response.go
- models_server.go
- models_session_by_user_i_ds_response.go
- models_session_player_history.go
- models_session_player_joining.go
- models_session_query_response.go
- models_session_response.go
- models_status_history.go
- models_update_session_request.go
- models_update_settings_request.go
- response_error.go
- restapi_error_response_v2.go
- restapi_error_v1.go