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 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.ActiveCustomGameResponse
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.ActiveMatchmakingGameResponse
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.AddPlayerRequest
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.AddPlayerResponse
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.AdminSessionResponse
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 CustomGame *int64 `json:"custom_game"` // matchmaking game // Required: true MatchmakingGame *int64 `json:"matchmaking_game"` // total // Required: true Total *int64 `json:"total"` }
ModelsCountActiveSessionResponse models count active session response
swagger:model models.CountActiveSessionResponse
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.CreateSessionRequest
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.CustomGameResponse
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.GameSession
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 CurrentInternalPlayer *int32 `json:"current_internal_player"` // current player // Required: true CurrentPlayer *int32 `json:"current_player"` // map name // Required: true MapName *string `json:"map_name"` // max internal player // Required: true MaxInternalPlayer *int32 `json:"max_internal_player"` // max player // Required: true MaxPlayer *int32 `json:"max_player"` // mode // Required: true Mode *string `json:"mode"` // num bot // Required: true 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.GameSessionSetting
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"` // match id // Required: true MatchID string `json:"match_id"` // matching allies // Required: true MatchingAllies []*ModelsMatchingAlly `json:"matching_allies"` // namespace // Required: true Namespace string `json:"namespace"` // party id PartyID string `json:"party_id,omitempty"` // region // Required: true Region string `json:"region"` // server name // Required: true ServerName string `json:"server_name"` // status // Required: true Status string `json:"status"` }
ModelsGetSessionHistoryDetailedResponseItem models get session history detailed response item
swagger:model models.GetSessionHistoryDetailedResponseItem
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"` // match id // Required: true MatchID string `json:"match_id"` // namespace // Required: true Namespace string `json:"namespace"` // status // Required: true Status string `json:"status"` // sub game mode // Required: true SubGameMode []string `json:"sub_game_mode"` }
ModelsGetSessionHistorySearchResponseItemV2 models get session history search response item v2
swagger:model models.GetSessionHistorySearchResponseItemV2
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.GetSessionHistorySearchResponseV2
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.JoinGameSessionRequest
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 FirstTicketCreatedAt *int64 `json:"first_ticket_created_at"` }
ModelsMatchAttributes models match attributes
swagger:model models.MatchAttributes
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 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.MatchMaking
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.MatchingAlly
func (*ModelsMatchingAlly) MarshalBinary ¶
func (m *ModelsMatchingAlly) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ModelsMatchingAlly) UnmarshalBinary ¶
func (m *ModelsMatchingAlly) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ModelsMatchingParty ¶
type ModelsMatchingParty struct { // 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.MatchingParty
func (*ModelsMatchingParty) MarshalBinary ¶
func (m *ModelsMatchingParty) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ModelsMatchingParty) UnmarshalBinary ¶
func (m *ModelsMatchingParty) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type 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.PagingCursor
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.PartyMember
func (*ModelsPartyMember) MarshalBinary ¶
func (m *ModelsPartyMember) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ModelsPartyMember) UnmarshalBinary ¶
func (m *ModelsPartyMember) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type 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.RecentPlayerHistory
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.RecentPlayerQueryResponse
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 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 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 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.SessionByUserIDsResponse
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 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.SessionQueryResponse
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.SessionResponse
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.StatusHistory
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 GameMaxPlayer *int32 `json:"game_max_player"` }
ModelsUpdateSessionRequest models update session request
swagger:model models.UpdateSessionRequest
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.UpdateSettingsRequest
type ResponseError ¶
type ResponseError struct { // error code // Required: true ErrorCode *int32 `json:"errorCode"` // error message // Required: true ErrorMessage *string `json:"errorMessage"` }
ResponseError response error
swagger:model response.Error
func (*ResponseError) MarshalBinary ¶
func (m *ResponseError) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ResponseError) UnmarshalBinary ¶
func (m *ResponseError) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type RestapiErrorResponseV2 ¶ added in v0.4.0
type RestapiErrorResponseV2 struct { // attributes // Required: true Attributes map[string]string `json:"attributes"` // error code // Required: true ErrorCode *int32 `json:"errorCode"` // error message // 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.ErrorResponseV2
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 { // error code // Required: true ErrorCode int32 `json:"errorCode"` // error message // Required: true ErrorMessage string `json:"errorMessage"` }
RestapiErrorV1 restapi error v1
swagger:model restapi.ErrorV1
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_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