Documentation
¶
Index ¶
- type ModelsAdminConcurrentRecordRequest
- type ModelsBulkGetGameRecordRequest
- type ModelsBulkGetGameRecordResponse
- type ModelsBulkGetPlayerRecordResponse
- type ModelsBulkGetPlayerRecordSizeResponse
- type ModelsBulkGetPlayerRecordsRequest
- type ModelsBulkUserIDsRequest
- type ModelsBulkUserKeyRequest
- type ModelsConcurrentRecordRequest
- type ModelsGameRecordRequest
- type ModelsGameRecordResponse
- type ModelsListGameRecordKeysResponse
- type ModelsListPlayerRecordKeysResponse
- type ModelsPagination
- type ModelsPlayerRecordKeyInfo
- type ModelsPlayerRecordRequest
- type ModelsPlayerRecordResponse
- type ModelsPlayerRecordSizeResponse
- type ModelsResponseError
- type ModelsUserKeyRequest
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ModelsAdminConcurrentRecordRequest ¶ added in v0.16.0
type ModelsAdminConcurrentRecordRequest struct {
// set by
// Required: true
SetBy *string `json:"set_by"`
// updated at
// Required: true
UpdatedAt *string `json:"updatedAt"`
// value
// Required: true
Value interface{} `json:"value"`
}
ModelsAdminConcurrentRecordRequest models admin concurrent record request
swagger:model models.AdminConcurrentRecordRequest
func (*ModelsAdminConcurrentRecordRequest) MarshalBinary ¶ added in v0.16.0
func (m *ModelsAdminConcurrentRecordRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ModelsAdminConcurrentRecordRequest) UnmarshalBinary ¶ added in v0.16.0
func (m *ModelsAdminConcurrentRecordRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ModelsBulkGetGameRecordRequest ¶ added in v0.36.0
type ModelsBulkGetGameRecordRequest struct {
// keys
// Required: true
Keys []string `json:"keys"`
}
ModelsBulkGetGameRecordRequest models bulk get game record request
swagger:model models.BulkGetGameRecordRequest
func (*ModelsBulkGetGameRecordRequest) MarshalBinary ¶ added in v0.36.0
func (m *ModelsBulkGetGameRecordRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ModelsBulkGetGameRecordRequest) UnmarshalBinary ¶ added in v0.36.0
func (m *ModelsBulkGetGameRecordRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ModelsBulkGetGameRecordResponse ¶ added in v0.36.0
type ModelsBulkGetGameRecordResponse struct {
// data
// Required: true
Data []*ModelsGameRecordResponse `json:"data"`
}
ModelsBulkGetGameRecordResponse models bulk get game record response
swagger:model models.BulkGetGameRecordResponse
func (*ModelsBulkGetGameRecordResponse) MarshalBinary ¶ added in v0.36.0
func (m *ModelsBulkGetGameRecordResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ModelsBulkGetGameRecordResponse) UnmarshalBinary ¶ added in v0.36.0
func (m *ModelsBulkGetGameRecordResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ModelsBulkGetPlayerRecordResponse ¶ added in v0.10.0
type ModelsBulkGetPlayerRecordResponse struct {
// data
// Required: true
Data []*ModelsPlayerRecordResponse `json:"data"`
}
ModelsBulkGetPlayerRecordResponse models bulk get player record response
swagger:model models.BulkGetPlayerRecordResponse
func (*ModelsBulkGetPlayerRecordResponse) MarshalBinary ¶ added in v0.10.0
func (m *ModelsBulkGetPlayerRecordResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ModelsBulkGetPlayerRecordResponse) UnmarshalBinary ¶ added in v0.10.0
func (m *ModelsBulkGetPlayerRecordResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ModelsBulkGetPlayerRecordSizeResponse ¶ added in v0.27.0
type ModelsBulkGetPlayerRecordSizeResponse struct {
// data
// Required: true
Data []*ModelsPlayerRecordSizeResponse `json:"data"`
}
ModelsBulkGetPlayerRecordSizeResponse models bulk get player record size response
swagger:model models.BulkGetPlayerRecordSizeResponse
func (*ModelsBulkGetPlayerRecordSizeResponse) MarshalBinary ¶ added in v0.27.0
func (m *ModelsBulkGetPlayerRecordSizeResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ModelsBulkGetPlayerRecordSizeResponse) UnmarshalBinary ¶ added in v0.27.0
func (m *ModelsBulkGetPlayerRecordSizeResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ModelsBulkGetPlayerRecordsRequest ¶ added in v0.36.0
type ModelsBulkGetPlayerRecordsRequest struct {
// keys
// Required: true
Keys []string `json:"keys"`
}
ModelsBulkGetPlayerRecordsRequest models bulk get player records request
swagger:model models.BulkGetPlayerRecordsRequest
func (*ModelsBulkGetPlayerRecordsRequest) MarshalBinary ¶ added in v0.36.0
func (m *ModelsBulkGetPlayerRecordsRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ModelsBulkGetPlayerRecordsRequest) UnmarshalBinary ¶ added in v0.36.0
func (m *ModelsBulkGetPlayerRecordsRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ModelsBulkUserIDsRequest ¶ added in v0.10.0
type ModelsBulkUserIDsRequest struct {
// user ids
// Required: true
UserIds []string `json:"userIds"`
}
ModelsBulkUserIDsRequest models bulk user i ds request
swagger:model models.BulkUserIDsRequest
func (*ModelsBulkUserIDsRequest) MarshalBinary ¶ added in v0.10.0
func (m *ModelsBulkUserIDsRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ModelsBulkUserIDsRequest) UnmarshalBinary ¶ added in v0.10.0
func (m *ModelsBulkUserIDsRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ModelsBulkUserKeyRequest ¶ added in v0.27.0
type ModelsBulkUserKeyRequest struct {
// data
// Required: true
Data []*ModelsUserKeyRequest `json:"data"`
}
ModelsBulkUserKeyRequest models bulk user key request
swagger:model models.BulkUserKeyRequest
func (*ModelsBulkUserKeyRequest) MarshalBinary ¶ added in v0.27.0
func (m *ModelsBulkUserKeyRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ModelsBulkUserKeyRequest) UnmarshalBinary ¶ added in v0.27.0
func (m *ModelsBulkUserKeyRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ModelsConcurrentRecordRequest ¶
type ModelsConcurrentRecordRequest struct {
// updated at
// Required: true
UpdatedAt *string `json:"updatedAt"`
// value
// Required: true
Value interface{} `json:"value"`
}
ModelsConcurrentRecordRequest models concurrent record request
swagger:model models.ConcurrentRecordRequest
func (*ModelsConcurrentRecordRequest) MarshalBinary ¶
func (m *ModelsConcurrentRecordRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ModelsConcurrentRecordRequest) UnmarshalBinary ¶
func (m *ModelsConcurrentRecordRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ModelsGameRecordRequest ¶
type ModelsGameRecordRequest interface{}
ModelsGameRecordRequest models game record request
swagger:model models.GameRecordRequest
type ModelsGameRecordResponse ¶ added in v0.15.0
type ModelsGameRecordResponse struct {
// created at
// Required: true
// Format: date-time
CreatedAt strfmt.DateTime `json:"created_at"`
// key
// Required: true
Key *string `json:"key"`
// namespace
// Required: true
Namespace *string `json:"namespace"`
// Indicate which party that could modify the record
SetBy *string `json:"set_by,omitempty"`
// updated at
// Required: true
// Format: date-time
UpdatedAt strfmt.DateTime `json:"updated_at"`
// value
// Required: true
Value interface{} `json:"value"`
}
ModelsGameRecordResponse models game record response
swagger:model models.GameRecordResponse
func (*ModelsGameRecordResponse) MarshalBinary ¶ added in v0.15.0
func (m *ModelsGameRecordResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ModelsGameRecordResponse) UnmarshalBinary ¶ added in v0.15.0
func (m *ModelsGameRecordResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ModelsListGameRecordKeysResponse ¶ added in v0.15.0
type ModelsListGameRecordKeysResponse struct {
// data
// Required: true
Data []string `json:"data"`
// paging
// Required: true
Paging *ModelsPagination `json:"paging"`
}
ModelsListGameRecordKeysResponse models list game record keys response
swagger:model models.ListGameRecordKeysResponse
func (*ModelsListGameRecordKeysResponse) MarshalBinary ¶ added in v0.15.0
func (m *ModelsListGameRecordKeysResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ModelsListGameRecordKeysResponse) UnmarshalBinary ¶ added in v0.15.0
func (m *ModelsListGameRecordKeysResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ModelsListPlayerRecordKeysResponse ¶ added in v0.15.0
type ModelsListPlayerRecordKeysResponse struct {
// data
// Required: true
Data []*ModelsPlayerRecordKeyInfo `json:"data"`
// paging
// Required: true
Paging *ModelsPagination `json:"paging"`
}
ModelsListPlayerRecordKeysResponse models list player record keys response
swagger:model models.ListPlayerRecordKeysResponse
func (*ModelsListPlayerRecordKeysResponse) MarshalBinary ¶ added in v0.15.0
func (m *ModelsListPlayerRecordKeysResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ModelsListPlayerRecordKeysResponse) UnmarshalBinary ¶ added in v0.15.0
func (m *ModelsListPlayerRecordKeysResponse) 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 ModelsPlayerRecordKeyInfo ¶ added in v0.15.0
type ModelsPlayerRecordKeyInfo struct {
// key
// Required: true
Key *string `json:"key"`
// user id
// Required: true
UserID *string `json:"user_id"`
}
ModelsPlayerRecordKeyInfo models player record key info
swagger:model models.PlayerRecordKeyInfo
func (*ModelsPlayerRecordKeyInfo) MarshalBinary ¶ added in v0.15.0
func (m *ModelsPlayerRecordKeyInfo) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ModelsPlayerRecordKeyInfo) UnmarshalBinary ¶ added in v0.15.0
func (m *ModelsPlayerRecordKeyInfo) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ModelsPlayerRecordRequest ¶
type ModelsPlayerRecordRequest interface{}
ModelsPlayerRecordRequest models player record request
swagger:model models.PlayerRecordRequest
type ModelsPlayerRecordResponse ¶ added in v0.15.0
type ModelsPlayerRecordResponse struct {
// created at
// Required: true
// Format: date-time
CreatedAt strfmt.DateTime `json:"created_at"`
// Indicate whether the player record is a public record or not
// Required: true
IsPublic bool `json:"is_public"`
// key
// Required: true
Key *string `json:"key"`
// namespace
// Required: true
Namespace *string `json:"namespace"`
// Indicate which party that could modify the record
SetBy *string `json:"set_by,omitempty"`
// updated at
// Required: true
// Format: date-time
UpdatedAt strfmt.DateTime `json:"updated_at"`
// user id
// Required: true
UserID *string `json:"user_id"`
// value
// Required: true
Value interface{} `json:"value"`
}
ModelsPlayerRecordResponse models player record response
swagger:model models.PlayerRecordResponse
func (*ModelsPlayerRecordResponse) MarshalBinary ¶ added in v0.15.0
func (m *ModelsPlayerRecordResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ModelsPlayerRecordResponse) UnmarshalBinary ¶ added in v0.15.0
func (m *ModelsPlayerRecordResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ModelsPlayerRecordSizeResponse ¶ added in v0.27.0
type ModelsPlayerRecordSizeResponse struct {
// current size
// Required: true
CurrentSize *int64 `json:"current_size"`
// key
// Required: true
Key *string `json:"key"`
// namespace
// Required: true
Namespace *string `json:"namespace"`
// remaining size
// Required: true
RemainingSize *int64 `json:"remaining_size"`
// user id
// Required: true
UserID *string `json:"user_id"`
}
ModelsPlayerRecordSizeResponse models player record size response
swagger:model models.PlayerRecordSizeResponse
func (*ModelsPlayerRecordSizeResponse) MarshalBinary ¶ added in v0.27.0
func (m *ModelsPlayerRecordSizeResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ModelsPlayerRecordSizeResponse) UnmarshalBinary ¶ added in v0.27.0
func (m *ModelsPlayerRecordSizeResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ModelsResponseError ¶ added in v0.7.0
type ModelsResponseError struct {
// error code
// Required: true
ErrorCode *int32 `json:"errorCode"`
// error message
// Required: true
ErrorMessage *string `json:"errorMessage"`
}
ModelsResponseError models response error
swagger:model models.ResponseError
func (*ModelsResponseError) MarshalBinary ¶ added in v0.7.0
func (m *ModelsResponseError) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ModelsResponseError) UnmarshalBinary ¶ added in v0.7.0
func (m *ModelsResponseError) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ModelsUserKeyRequest ¶ added in v0.27.0
type ModelsUserKeyRequest struct {
// keys
// Required: true
Keys []string `json:"keys"`
// user id
// Required: true
UserID *string `json:"user_id"`
}
ModelsUserKeyRequest models user key request
swagger:model models.UserKeyRequest
func (*ModelsUserKeyRequest) MarshalBinary ¶ added in v0.27.0
func (m *ModelsUserKeyRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ModelsUserKeyRequest) UnmarshalBinary ¶ added in v0.27.0
func (m *ModelsUserKeyRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
Source Files
¶
- models_admin_concurrent_record_request.go
- models_bulk_get_game_record_request.go
- models_bulk_get_game_record_response.go
- models_bulk_get_player_record_response.go
- models_bulk_get_player_record_size_response.go
- models_bulk_get_player_records_request.go
- models_bulk_user_i_ds_request.go
- models_bulk_user_key_request.go
- models_concurrent_record_request.go
- models_game_record_request.go
- models_game_record_response.go
- models_list_game_record_keys_response.go
- models_list_player_record_keys_response.go
- models_pagination.go
- models_player_record_key_info.go
- models_player_record_request.go
- models_player_record_response.go
- models_player_record_size_response.go
- models_response_error.go
- models_user_key_request.go