Documentation ¶
Index ¶
- Constants
- type ModelsAdminConcurrentRecordRequest
- type ModelsAdminGameConcurrentRecordRequest
- type ModelsAdminGameRecordRequest
- type ModelsAdminGameRecordResponse
- type ModelsAdminPlayerConcurrentRecordRequest
- type ModelsAdminPlayerRecordKeyInfo
- type ModelsAdminPlayerRecordRequest
- type ModelsAdminPlayerRecordResponse
- type ModelsAppConfig
- type ModelsBinaryInfoResponse
- type ModelsBinaryRecordRequest
- type ModelsBulkGetAdminGameRecordRequest
- type ModelsBulkGetAdminGameRecordResponse
- type ModelsBulkGetAdminPlayerRecordRequest
- type ModelsBulkGetAdminPlayerRecordResponse
- type ModelsBulkGetGameBinaryRecordResponse
- type ModelsBulkGetGameRecordRequest
- type ModelsBulkGetGameRecordResponse
- type ModelsBulkGetPlayerBinaryRecordResponse
- type ModelsBulkGetPlayerRecordResponse
- type ModelsBulkGetPlayerRecordSizeResponse
- type ModelsBulkGetPlayerRecordsRequest
- type ModelsBulkUpdatePlayerRecordRequestDetail
- type ModelsBulkUpdatePlayerRecordResponse
- type ModelsBulkUpdatePlayerRecordsRequest
- type ModelsBulkUserIDsRequest
- type ModelsBulkUserKeyRequest
- type ModelsConcurrentRecordRequest
- type ModelsCustomConfig
- type ModelsCustomFunction
- type ModelsGameBinaryRecordAdminResponse
- type ModelsGameBinaryRecordCreate
- type ModelsGameBinaryRecordMetadataRequest
- type ModelsGameBinaryRecordResponse
- type ModelsGameRecordAdminResponse
- type ModelsGameRecordRequest
- type ModelsGameRecordResponse
- type ModelsListAdminGameRecordKeysResponse
- type ModelsListAdminPlayerRecordKeysResponse
- type ModelsListGameBinaryRecordsAdminResponse
- type ModelsListGameBinaryRecordsResponse
- type ModelsListGameRecordKeysResponse
- type ModelsListPlayerBinaryRecordsResponse
- type ModelsListPlayerRecordKeysResponse
- type ModelsListTagsResponse
- type ModelsPagination
- type ModelsPlayerBinaryRecordCreate
- type ModelsPlayerBinaryRecordMetadataPublicRequest
- type ModelsPlayerBinaryRecordMetadataRequest
- type ModelsPlayerBinaryRecordResponse
- type ModelsPlayerRecordConcurrentUpdateResponse
- type ModelsPlayerRecordKeyInfo
- type ModelsPlayerRecordRequest
- type ModelsPlayerRecordResponse
- type ModelsPlayerRecordSizeResponse
- type ModelsPluginRequest
- type ModelsPluginResponse
- type ModelsPublicGameBinaryRecordCreate
- type ModelsPublicPlayerBinaryRecordCreate
- type ModelsResponseError
- type ModelsTTLConfigDTO
- type ModelsTagInfo
- type ModelsTagRequest
- type ModelsUploadBinaryRecordRequest
- type ModelsUploadBinaryRecordResponse
- type ModelsUserKeyRequest
Constants ¶
const ( // ModelsAdminConcurrentRecordRequestSetByCLIENT captures enum value "CLIENT" ModelsAdminConcurrentRecordRequestSetByCLIENT string = "CLIENT" // ModelsAdminConcurrentRecordRequestSetBySERVER captures enum value "SERVER" ModelsAdminConcurrentRecordRequestSetBySERVER string = "SERVER" )
const ( // ModelsGameBinaryRecordAdminResponseSetByCLIENT captures enum value "CLIENT" ModelsGameBinaryRecordAdminResponseSetByCLIENT string = "CLIENT" // ModelsGameBinaryRecordAdminResponseSetBySERVER captures enum value "SERVER" ModelsGameBinaryRecordAdminResponseSetBySERVER string = "SERVER" )
const ( // ModelsGameBinaryRecordCreateSetByCLIENT captures enum value "CLIENT" ModelsGameBinaryRecordCreateSetByCLIENT string = "CLIENT" // ModelsGameBinaryRecordCreateSetBySERVER captures enum value "SERVER" ModelsGameBinaryRecordCreateSetBySERVER string = "SERVER" )
const ( // ModelsGameBinaryRecordMetadataRequestSetByCLIENT captures enum value "CLIENT" ModelsGameBinaryRecordMetadataRequestSetByCLIENT string = "CLIENT" // ModelsGameBinaryRecordMetadataRequestSetBySERVER captures enum value "SERVER" ModelsGameBinaryRecordMetadataRequestSetBySERVER string = "SERVER" )
const ( // ModelsGameBinaryRecordResponseSetByCLIENT captures enum value "CLIENT" ModelsGameBinaryRecordResponseSetByCLIENT string = "CLIENT" // ModelsGameBinaryRecordResponseSetBySERVER captures enum value "SERVER" ModelsGameBinaryRecordResponseSetBySERVER string = "SERVER" )
const ( // ModelsGameRecordAdminResponseSetByCLIENT captures enum value "CLIENT" ModelsGameRecordAdminResponseSetByCLIENT string = "CLIENT" // ModelsGameRecordAdminResponseSetBySERVER captures enum value "SERVER" ModelsGameRecordAdminResponseSetBySERVER string = "SERVER" )
const ( // ModelsGameRecordResponseSetByCLIENT captures enum value "CLIENT" ModelsGameRecordResponseSetByCLIENT string = "CLIENT" // ModelsGameRecordResponseSetBySERVER captures enum value "SERVER" ModelsGameRecordResponseSetBySERVER string = "SERVER" )
const ( // ModelsPlayerBinaryRecordCreateSetByCLIENT captures enum value "CLIENT" ModelsPlayerBinaryRecordCreateSetByCLIENT string = "CLIENT" // ModelsPlayerBinaryRecordCreateSetBySERVER captures enum value "SERVER" ModelsPlayerBinaryRecordCreateSetBySERVER string = "SERVER" )
const ( // ModelsPlayerBinaryRecordMetadataRequestSetByCLIENT captures enum value "CLIENT" ModelsPlayerBinaryRecordMetadataRequestSetByCLIENT string = "CLIENT" // ModelsPlayerBinaryRecordMetadataRequestSetBySERVER captures enum value "SERVER" ModelsPlayerBinaryRecordMetadataRequestSetBySERVER string = "SERVER" )
const ( // ModelsPlayerBinaryRecordResponseSetByCLIENT captures enum value "CLIENT" ModelsPlayerBinaryRecordResponseSetByCLIENT string = "CLIENT" // ModelsPlayerBinaryRecordResponseSetBySERVER captures enum value "SERVER" ModelsPlayerBinaryRecordResponseSetBySERVER string = "SERVER" )
const ( // ModelsPlayerRecordResponseSetByCLIENT captures enum value "CLIENT" ModelsPlayerRecordResponseSetByCLIENT string = "CLIENT" // ModelsPlayerRecordResponseSetBySERVER captures enum value "SERVER" ModelsPlayerRecordResponseSetBySERVER string = "SERVER" )
const ( // ModelsPluginRequestExtendTypeAPP captures enum value "APP" ModelsPluginRequestExtendTypeAPP string = "APP" // ModelsPluginRequestExtendTypeCUSTOM captures enum value "CUSTOM" ModelsPluginRequestExtendTypeCUSTOM string = "CUSTOM" )
const ( // ModelsPluginResponseExtendTypeAPP captures enum value "APP" ModelsPluginResponseExtendTypeAPP string = "APP" // ModelsPluginResponseExtendTypeCUSTOM captures enum value "CUSTOM" ModelsPluginResponseExtendTypeCUSTOM string = "CUSTOM" )
const ( // ModelsTTLConfigDTOActionDELETE captures enum value "DELETE" ModelsTTLConfigDTOActionDELETE string = "DELETE" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ModelsAdminConcurrentRecordRequest ¶ added in v0.16.0
type ModelsAdminConcurrentRecordRequest struct { // Indicate which party that could modify the record // Enum: ['CLIENT', 'SERVER'] // Required: true SetBy *string `json:"set_by"` // TTL configuration for the game record TTLConfig *ModelsTTLConfigDTO `json:"ttl_config,omitempty"` // Precondition for concurrent request, updatedAt should be the same as record's updatedAt // Required: true UpdatedAt *string `json:"updatedAt"` // Record data, should be in valid json format // Required: true Value interface{} `json:"value"` }
ModelsAdminConcurrentRecordRequest Models admin concurrent record request
swagger:model Models admin concurrent record request.
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 ModelsAdminGameConcurrentRecordRequest ¶ added in v0.49.0
type ModelsAdminGameConcurrentRecordRequest struct { // Precondition for concurrent request, updatedAt should be the same as record's updatedAt // Required: true UpdatedAt *string `json:"updatedAt"` // Admin game record data, should be in valid json format // Required: true Value interface{} `json:"value"` }
ModelsAdminGameConcurrentRecordRequest Models admin game concurrent record request
swagger:model Models admin game concurrent record request.
func (*ModelsAdminGameConcurrentRecordRequest) MarshalBinary ¶ added in v0.49.0
func (m *ModelsAdminGameConcurrentRecordRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ModelsAdminGameConcurrentRecordRequest) UnmarshalBinary ¶ added in v0.49.0
func (m *ModelsAdminGameConcurrentRecordRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ModelsAdminGameRecordRequest ¶ added in v0.49.0
type ModelsAdminGameRecordRequest interface{}
ModelsAdminGameRecordRequest Models admin game record request
swagger:model Models admin game record request.
type ModelsAdminGameRecordResponse ¶ added in v0.49.0
type ModelsAdminGameRecordResponse struct { // created_at // Required: true // Format: date-time CreatedAt strfmt.DateTime `json:"created_at"` // Admin game record identifier // Required: true Key *string `json:"key"` // Namespace of the game // Required: true Namespace *string `json:"namespace"` // updated_at // Required: true // Format: date-time UpdatedAt strfmt.DateTime `json:"updated_at"` // Admin game record data, should be in valid json format // Required: true Value interface{} `json:"value"` }
ModelsAdminGameRecordResponse Models admin game record response
swagger:model Models admin game record response.
func (*ModelsAdminGameRecordResponse) MarshalBinary ¶ added in v0.49.0
func (m *ModelsAdminGameRecordResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ModelsAdminGameRecordResponse) UnmarshalBinary ¶ added in v0.49.0
func (m *ModelsAdminGameRecordResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ModelsAdminPlayerConcurrentRecordRequest ¶ added in v0.49.0
type ModelsAdminPlayerConcurrentRecordRequest struct { // Precondition for concurrent request, updatedAt should be the same as record's updatedAt // Required: true UpdatedAt *string `json:"updatedAt"` // Admin player record data, should be in valid json format // Required: true Value interface{} `json:"value"` }
ModelsAdminPlayerConcurrentRecordRequest Models admin player concurrent record request
swagger:model Models admin player concurrent record request.
func (*ModelsAdminPlayerConcurrentRecordRequest) MarshalBinary ¶ added in v0.49.0
func (m *ModelsAdminPlayerConcurrentRecordRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ModelsAdminPlayerConcurrentRecordRequest) UnmarshalBinary ¶ added in v0.49.0
func (m *ModelsAdminPlayerConcurrentRecordRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ModelsAdminPlayerRecordKeyInfo ¶ added in v0.49.0
type ModelsAdminPlayerRecordKeyInfo struct { // Key of the record // Required: true Key *string `json:"key"` // User ID who owns the record // Required: true UserID *string `json:"user_id"` }
ModelsAdminPlayerRecordKeyInfo Models admin player record key info
swagger:model Models admin player record key info.
func (*ModelsAdminPlayerRecordKeyInfo) MarshalBinary ¶ added in v0.49.0
func (m *ModelsAdminPlayerRecordKeyInfo) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ModelsAdminPlayerRecordKeyInfo) UnmarshalBinary ¶ added in v0.49.0
func (m *ModelsAdminPlayerRecordKeyInfo) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ModelsAdminPlayerRecordRequest ¶ added in v0.49.0
type ModelsAdminPlayerRecordRequest interface{}
ModelsAdminPlayerRecordRequest Models admin player record request
swagger:model Models admin player record request.
type ModelsAdminPlayerRecordResponse ¶ added in v0.49.0
type ModelsAdminPlayerRecordResponse struct { // created_at // Required: true // Format: date-time CreatedAt strfmt.DateTime `json:"created_at"` // Admin player record identifier // Required: true Key *string `json:"key"` // Namespace of the game // Required: true Namespace *string `json:"namespace"` // updated_at // Required: true // Format: date-time UpdatedAt strfmt.DateTime `json:"updated_at"` // User ID who owns the record // Required: true UserID *string `json:"user_id"` // Admin player record data, should be in valid json format // Required: true Value interface{} `json:"value"` }
ModelsAdminPlayerRecordResponse Models admin player record response
swagger:model Models admin player record response.
func (*ModelsAdminPlayerRecordResponse) MarshalBinary ¶ added in v0.49.0
func (m *ModelsAdminPlayerRecordResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ModelsAdminPlayerRecordResponse) UnmarshalBinary ¶ added in v0.49.0
func (m *ModelsAdminPlayerRecordResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ModelsAppConfig ¶ added in v0.50.0
type ModelsAppConfig struct { // Extend app name // Required: true AppName *string `json:"appName"` }
ModelsAppConfig Models app config
swagger:model Models app config.
func (*ModelsAppConfig) MarshalBinary ¶ added in v0.50.0
func (m *ModelsAppConfig) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ModelsAppConfig) UnmarshalBinary ¶ added in v0.50.0
func (m *ModelsAppConfig) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ModelsBinaryInfoResponse ¶ added in v0.51.0
type ModelsBinaryInfoResponse struct { // Content type of the binary record // Required: true ContentType *string `json:"content_type"` // created_at // Required: true // Format: date-time CreatedAt strfmt.DateTime `json:"created_at"` // File location of the binary record // Required: true FileLocation *string `json:"file_location"` // updated_at // Required: true // Format: date-time UpdatedAt strfmt.DateTime `json:"updated_at"` // URL for accessing the binary record URL string `json:"url,omitempty"` // Version of the binary file // Required: true // Format: int32 Version *int32 `json:"version"` }
ModelsBinaryInfoResponse Models binary info response
swagger:model Models binary info response.
func (*ModelsBinaryInfoResponse) MarshalBinary ¶ added in v0.51.0
func (m *ModelsBinaryInfoResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ModelsBinaryInfoResponse) UnmarshalBinary ¶ added in v0.51.0
func (m *ModelsBinaryInfoResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ModelsBinaryRecordRequest ¶ added in v0.51.0
type ModelsBinaryRecordRequest struct { // Content type of the binary record // Required: true ContentType *string `json:"content_type"` // File location of the binary record // Required: true FileLocation *string `json:"file_location"` }
ModelsBinaryRecordRequest Models binary record request
swagger:model Models binary record request.
func (*ModelsBinaryRecordRequest) MarshalBinary ¶ added in v0.51.0
func (m *ModelsBinaryRecordRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ModelsBinaryRecordRequest) UnmarshalBinary ¶ added in v0.51.0
func (m *ModelsBinaryRecordRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ModelsBulkGetAdminGameRecordRequest ¶ added in v0.49.0
type ModelsBulkGetAdminGameRecordRequest struct { // Keys of the record // Required: true Keys []string `json:"keys"` }
ModelsBulkGetAdminGameRecordRequest Models bulk get admin game record request
swagger:model Models bulk get admin game record request.
func (*ModelsBulkGetAdminGameRecordRequest) MarshalBinary ¶ added in v0.49.0
func (m *ModelsBulkGetAdminGameRecordRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ModelsBulkGetAdminGameRecordRequest) UnmarshalBinary ¶ added in v0.49.0
func (m *ModelsBulkGetAdminGameRecordRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ModelsBulkGetAdminGameRecordResponse ¶ added in v0.49.0
type ModelsBulkGetAdminGameRecordResponse struct { // data // Required: true Data []*ModelsAdminGameRecordResponse `json:"data"` }
ModelsBulkGetAdminGameRecordResponse Models bulk get admin game record response
swagger:model Models bulk get admin game record response.
func (*ModelsBulkGetAdminGameRecordResponse) MarshalBinary ¶ added in v0.49.0
func (m *ModelsBulkGetAdminGameRecordResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ModelsBulkGetAdminGameRecordResponse) UnmarshalBinary ¶ added in v0.49.0
func (m *ModelsBulkGetAdminGameRecordResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ModelsBulkGetAdminPlayerRecordRequest ¶ added in v0.49.0
type ModelsBulkGetAdminPlayerRecordRequest struct { // Keys of the record // Required: true Keys []string `json:"keys"` }
ModelsBulkGetAdminPlayerRecordRequest Models bulk get admin player record request
swagger:model Models bulk get admin player record request.
func (*ModelsBulkGetAdminPlayerRecordRequest) MarshalBinary ¶ added in v0.49.0
func (m *ModelsBulkGetAdminPlayerRecordRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ModelsBulkGetAdminPlayerRecordRequest) UnmarshalBinary ¶ added in v0.49.0
func (m *ModelsBulkGetAdminPlayerRecordRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ModelsBulkGetAdminPlayerRecordResponse ¶ added in v0.49.0
type ModelsBulkGetAdminPlayerRecordResponse struct { // data // Required: true Data []*ModelsAdminPlayerRecordResponse `json:"data"` }
ModelsBulkGetAdminPlayerRecordResponse Models bulk get admin player record response
swagger:model Models bulk get admin player record response.
func (*ModelsBulkGetAdminPlayerRecordResponse) MarshalBinary ¶ added in v0.49.0
func (m *ModelsBulkGetAdminPlayerRecordResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ModelsBulkGetAdminPlayerRecordResponse) UnmarshalBinary ¶ added in v0.49.0
func (m *ModelsBulkGetAdminPlayerRecordResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ModelsBulkGetGameBinaryRecordResponse ¶ added in v0.51.0
type ModelsBulkGetGameBinaryRecordResponse struct { // data // Required: true Data []*ModelsGameBinaryRecordResponse `json:"data"` }
ModelsBulkGetGameBinaryRecordResponse Models bulk get game binary record response
swagger:model Models bulk get game binary record response.
func (*ModelsBulkGetGameBinaryRecordResponse) MarshalBinary ¶ added in v0.51.0
func (m *ModelsBulkGetGameBinaryRecordResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ModelsBulkGetGameBinaryRecordResponse) UnmarshalBinary ¶ added in v0.51.0
func (m *ModelsBulkGetGameBinaryRecordResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ModelsBulkGetGameRecordRequest ¶ added in v0.36.0
type ModelsBulkGetGameRecordRequest struct { // Keys of the record // Required: true Keys []string `json:"keys"` }
ModelsBulkGetGameRecordRequest Models bulk get game record request
swagger:model Models bulk get game record request.
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 bulk get game record response.
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 ModelsBulkGetPlayerBinaryRecordResponse ¶ added in v0.51.0
type ModelsBulkGetPlayerBinaryRecordResponse struct { // data // Required: true Data []*ModelsPlayerBinaryRecordResponse `json:"data"` }
ModelsBulkGetPlayerBinaryRecordResponse Models bulk get player binary record response
swagger:model Models bulk get player binary record response.
func (*ModelsBulkGetPlayerBinaryRecordResponse) MarshalBinary ¶ added in v0.51.0
func (m *ModelsBulkGetPlayerBinaryRecordResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ModelsBulkGetPlayerBinaryRecordResponse) UnmarshalBinary ¶ added in v0.51.0
func (m *ModelsBulkGetPlayerBinaryRecordResponse) 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 bulk get player record response.
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 bulk get player record size response.
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 of the record // Required: true Keys []string `json:"keys"` }
ModelsBulkGetPlayerRecordsRequest Models bulk get player records request
swagger:model Models bulk get player records request.
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 ModelsBulkUpdatePlayerRecordRequestDetail ¶ added in v0.60.0
type ModelsBulkUpdatePlayerRecordRequestDetail struct { // Player record identifier // Required: true Key *string `json:"key"` // Player record data, should be in valid json format // Required: true Value interface{} `json:"value"` }
ModelsBulkUpdatePlayerRecordRequestDetail Models bulk update player record request detail
swagger:model Models bulk update player record request detail.
func (*ModelsBulkUpdatePlayerRecordRequestDetail) MarshalBinary ¶ added in v0.60.0
func (m *ModelsBulkUpdatePlayerRecordRequestDetail) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ModelsBulkUpdatePlayerRecordRequestDetail) UnmarshalBinary ¶ added in v0.60.0
func (m *ModelsBulkUpdatePlayerRecordRequestDetail) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ModelsBulkUpdatePlayerRecordResponse ¶ added in v0.60.0
type ModelsBulkUpdatePlayerRecordResponse struct { // Detail if the update operation failed // Required: true Detail interface{} `json:"detail"` // Player record identifier // Required: true Key *string `json:"key"` // Success state of the update operation // Required: true Success *bool `json:"success"` }
ModelsBulkUpdatePlayerRecordResponse Models bulk update player record response
swagger:model Models bulk update player record response.
func (*ModelsBulkUpdatePlayerRecordResponse) MarshalBinary ¶ added in v0.60.0
func (m *ModelsBulkUpdatePlayerRecordResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ModelsBulkUpdatePlayerRecordResponse) UnmarshalBinary ¶ added in v0.60.0
func (m *ModelsBulkUpdatePlayerRecordResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ModelsBulkUpdatePlayerRecordsRequest ¶ added in v0.60.0
type ModelsBulkUpdatePlayerRecordsRequest struct { // data // Required: true Data []*ModelsBulkUpdatePlayerRecordRequestDetail `json:"data"` }
ModelsBulkUpdatePlayerRecordsRequest Models bulk update player records request
swagger:model Models bulk update player records request.
func (*ModelsBulkUpdatePlayerRecordsRequest) MarshalBinary ¶ added in v0.60.0
func (m *ModelsBulkUpdatePlayerRecordsRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ModelsBulkUpdatePlayerRecordsRequest) UnmarshalBinary ¶ added in v0.60.0
func (m *ModelsBulkUpdatePlayerRecordsRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ModelsBulkUserIDsRequest ¶ added in v0.10.0
type ModelsBulkUserIDsRequest struct { // User IDs who own the record // Required: true UserIds []string `json:"userIds"` }
ModelsBulkUserIDsRequest Models bulk user I ds request
swagger:model Models bulk user I ds request.
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 bulk user key request.
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 { // Precondition for concurrent request, updatedAt should be the same as record's updatedAt // Required: true UpdatedAt *string `json:"updatedAt"` // Record data, should be in valid json format // Required: true Value interface{} `json:"value"` }
ModelsConcurrentRecordRequest Models concurrent record request
swagger:model Models concurrent record request.
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 ModelsCustomConfig ¶ added in v0.50.0
type ModelsCustomConfig struct { // grpcaddress // Required: true GRPCAddress *string `json:"GRPCAddress"` }
ModelsCustomConfig Models custom config
swagger:model Models custom config.
func (*ModelsCustomConfig) MarshalBinary ¶ added in v0.50.0
func (m *ModelsCustomConfig) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ModelsCustomConfig) UnmarshalBinary ¶ added in v0.50.0
func (m *ModelsCustomConfig) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ModelsCustomFunction ¶ added in v0.50.0
type ModelsCustomFunction struct { // enable/disable after bulk read game binary record custom validation // Required: true AfterBulkReadGameBinaryRecord *bool `json:"afterBulkReadGameBinaryRecord"` // enable/disable after bulk read game record custom validation // Required: true AfterBulkReadGameRecord *bool `json:"afterBulkReadGameRecord"` // enable/disable after bulk read player binary record custom validation // Required: true AfterBulkReadPlayerBinaryRecord *bool `json:"afterBulkReadPlayerBinaryRecord"` // enable/disable after bulk read player record custom validation // Required: true AfterBulkReadPlayerRecord *bool `json:"afterBulkReadPlayerRecord"` // enable/disable after read game binary record custom validation // Required: true AfterReadGameBinaryRecord *bool `json:"afterReadGameBinaryRecord"` // enable/disable after read game record custom validation // Required: true AfterReadGameRecord *bool `json:"afterReadGameRecord"` // enable/disable after read player binary record custom validation // Required: true AfterReadPlayerBinaryRecord *bool `json:"afterReadPlayerBinaryRecord"` // enable/disable after read player record custom validation // Required: true AfterReadPlayerRecord *bool `json:"afterReadPlayerRecord"` // enable/disable before write admin game record custom validation // Required: true BeforeWriteAdminGameRecord *bool `json:"beforeWriteAdminGameRecord"` // enable/disable before write admin player record custom validation // Required: true BeforeWriteAdminPlayerRecord *bool `json:"beforeWriteAdminPlayerRecord"` // enable/disable before write game binary record custom validation // Required: true BeforeWriteGameBinaryRecord *bool `json:"beforeWriteGameBinaryRecord"` // enable/disable before write game record custom validation // Required: true BeforeWriteGameRecord *bool `json:"beforeWriteGameRecord"` // enable/disable before write player binary record custom validation // Required: true BeforeWritePlayerBinaryRecord *bool `json:"beforeWritePlayerBinaryRecord"` // enable/disable before write player record custom validation // Required: true BeforeWritePlayerRecord *bool `json:"beforeWritePlayerRecord"` }
ModelsCustomFunction Models custom function
swagger:model Models custom function.
func (*ModelsCustomFunction) MarshalBinary ¶ added in v0.50.0
func (m *ModelsCustomFunction) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ModelsCustomFunction) UnmarshalBinary ¶ added in v0.50.0
func (m *ModelsCustomFunction) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ModelsGameBinaryRecordAdminResponse ¶ added in v0.64.0
type ModelsGameBinaryRecordAdminResponse struct { // binary_info BinaryInfo *ModelsBinaryInfoResponse `json:"binary_info,omitempty"` // created_at // Required: true // Format: date-time CreatedAt strfmt.DateTime `json:"created_at"` // key // Required: true Key *string `json:"key"` // Namespace of the game // Required: true Namespace *string `json:"namespace"` // Indicate which party that could modify the record // Enum: ['CLIENT', 'SERVER'] SetBy string `json:"set_by,omitempty"` // TTL configuration for the game record TTLConfig *ModelsTTLConfigDTO `json:"ttl_config,omitempty"` // updated_at // Required: true // Format: date-time UpdatedAt strfmt.DateTime `json:"updated_at"` }
ModelsGameBinaryRecordAdminResponse Models game binary record admin response
swagger:model Models game binary record admin response.
func (*ModelsGameBinaryRecordAdminResponse) MarshalBinary ¶ added in v0.64.0
func (m *ModelsGameBinaryRecordAdminResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ModelsGameBinaryRecordAdminResponse) UnmarshalBinary ¶ added in v0.64.0
func (m *ModelsGameBinaryRecordAdminResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ModelsGameBinaryRecordCreate ¶ added in v0.51.0
type ModelsGameBinaryRecordCreate struct { // File type of the game binary record // Required: true FileType *string `json:"file_type"` // Game binary record identifier // Required: true Key *string `json:"key"` // Indicate which party that could modify the record // Enum: ['CLIENT', 'SERVER'] // Required: true SetBy *string `json:"set_by"` // TTL configuration for the game record TTLConfig *ModelsTTLConfigDTO `json:"ttl_config,omitempty"` }
ModelsGameBinaryRecordCreate Models game binary record create
swagger:model Models game binary record create.
func (*ModelsGameBinaryRecordCreate) MarshalBinary ¶ added in v0.51.0
func (m *ModelsGameBinaryRecordCreate) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ModelsGameBinaryRecordCreate) UnmarshalBinary ¶ added in v0.51.0
func (m *ModelsGameBinaryRecordCreate) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ModelsGameBinaryRecordMetadataRequest ¶ added in v0.51.0
type ModelsGameBinaryRecordMetadataRequest struct { // Indicate which party that could modify the record // Enum: ['CLIENT', 'SERVER'] // Required: true SetBy *string `json:"set_by"` // TTL configuration for the game record TTLConfig *ModelsTTLConfigDTO `json:"ttl_config,omitempty"` }
ModelsGameBinaryRecordMetadataRequest Models game binary record metadata request
swagger:model Models game binary record metadata request.
func (*ModelsGameBinaryRecordMetadataRequest) MarshalBinary ¶ added in v0.51.0
func (m *ModelsGameBinaryRecordMetadataRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ModelsGameBinaryRecordMetadataRequest) UnmarshalBinary ¶ added in v0.51.0
func (m *ModelsGameBinaryRecordMetadataRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ModelsGameBinaryRecordResponse ¶ added in v0.51.0
type ModelsGameBinaryRecordResponse struct { // binary_info BinaryInfo *ModelsBinaryInfoResponse `json:"binary_info,omitempty"` // created_at // Required: true // Format: date-time CreatedAt strfmt.DateTime `json:"created_at"` // key // Required: true Key *string `json:"key"` // Namespace of the game // Required: true Namespace *string `json:"namespace"` // Indicate which party that could modify the record // Enum: ['CLIENT', 'SERVER'] SetBy string `json:"set_by,omitempty"` // updated_at // Required: true // Format: date-time UpdatedAt strfmt.DateTime `json:"updated_at"` }
ModelsGameBinaryRecordResponse Models game binary record response
swagger:model Models game binary record response.
func (*ModelsGameBinaryRecordResponse) MarshalBinary ¶ added in v0.51.0
func (m *ModelsGameBinaryRecordResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ModelsGameBinaryRecordResponse) UnmarshalBinary ¶ added in v0.51.0
func (m *ModelsGameBinaryRecordResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ModelsGameRecordAdminResponse ¶ added in v0.64.0
type ModelsGameRecordAdminResponse struct { // created_at // Required: true // Format: date-time CreatedAt strfmt.DateTime `json:"created_at"` // Game record identifier // Required: true Key *string `json:"key"` // Namespace of the game // Required: true Namespace *string `json:"namespace"` // Indicate which party that could modify the record // Enum: ['CLIENT', 'SERVER'] SetBy string `json:"set_by,omitempty"` // TTL configuration for the game record TTLConfig *ModelsTTLConfigDTO `json:"ttl_config,omitempty"` // updated_at // Required: true // Format: date-time UpdatedAt strfmt.DateTime `json:"updated_at"` // Game record data, should be in valid json format // Required: true Value interface{} `json:"value"` }
ModelsGameRecordAdminResponse Models game record admin response
swagger:model Models game record admin response.
func (*ModelsGameRecordAdminResponse) MarshalBinary ¶ added in v0.64.0
func (m *ModelsGameRecordAdminResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ModelsGameRecordAdminResponse) UnmarshalBinary ¶ added in v0.64.0
func (m *ModelsGameRecordAdminResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ModelsGameRecordRequest ¶
type ModelsGameRecordRequest interface{}
ModelsGameRecordRequest Models game record request
swagger:model Models game record request.
type ModelsGameRecordResponse ¶ added in v0.15.0
type ModelsGameRecordResponse struct { // created_at // Required: true // Format: date-time CreatedAt strfmt.DateTime `json:"created_at"` // Game record identifier // Required: true Key *string `json:"key"` // Namespace of the game // Required: true Namespace *string `json:"namespace"` // Indicate which party that could modify the record // Enum: ['CLIENT', 'SERVER'] SetBy string `json:"set_by,omitempty"` // updated_at // Required: true // Format: date-time UpdatedAt strfmt.DateTime `json:"updated_at"` // Game record data, should be in valid json format // Required: true Value interface{} `json:"value"` }
ModelsGameRecordResponse Models game record response
swagger:model Models game record response.
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 ModelsListAdminGameRecordKeysResponse ¶ added in v0.49.0
type ModelsListAdminGameRecordKeysResponse struct { // data // Required: true Data []string `json:"data"` // paging // Required: true Paging *ModelsPagination `json:"paging"` }
ModelsListAdminGameRecordKeysResponse Models list admin game record keys response
swagger:model Models list admin game record keys response.
func (*ModelsListAdminGameRecordKeysResponse) MarshalBinary ¶ added in v0.49.0
func (m *ModelsListAdminGameRecordKeysResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ModelsListAdminGameRecordKeysResponse) UnmarshalBinary ¶ added in v0.49.0
func (m *ModelsListAdminGameRecordKeysResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ModelsListAdminPlayerRecordKeysResponse ¶ added in v0.49.0
type ModelsListAdminPlayerRecordKeysResponse struct { // data // Required: true Data []*ModelsAdminPlayerRecordKeyInfo `json:"data"` // paging // Required: true Paging *ModelsPagination `json:"paging"` }
ModelsListAdminPlayerRecordKeysResponse Models list admin player record keys response
swagger:model Models list admin player record keys response.
func (*ModelsListAdminPlayerRecordKeysResponse) MarshalBinary ¶ added in v0.49.0
func (m *ModelsListAdminPlayerRecordKeysResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ModelsListAdminPlayerRecordKeysResponse) UnmarshalBinary ¶ added in v0.49.0
func (m *ModelsListAdminPlayerRecordKeysResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ModelsListGameBinaryRecordsAdminResponse ¶ added in v0.64.0
type ModelsListGameBinaryRecordsAdminResponse struct { // data // Required: true Data []*ModelsGameBinaryRecordAdminResponse `json:"data"` // paging // Required: true Paging *ModelsPagination `json:"paging"` }
ModelsListGameBinaryRecordsAdminResponse Models list game binary records admin response
swagger:model Models list game binary records admin response.
func (*ModelsListGameBinaryRecordsAdminResponse) MarshalBinary ¶ added in v0.64.0
func (m *ModelsListGameBinaryRecordsAdminResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ModelsListGameBinaryRecordsAdminResponse) UnmarshalBinary ¶ added in v0.64.0
func (m *ModelsListGameBinaryRecordsAdminResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ModelsListGameBinaryRecordsResponse ¶ added in v0.51.0
type ModelsListGameBinaryRecordsResponse struct { // data // Required: true Data []*ModelsGameBinaryRecordResponse `json:"data"` // paging // Required: true Paging *ModelsPagination `json:"paging"` }
ModelsListGameBinaryRecordsResponse Models list game binary records response
swagger:model Models list game binary records response.
func (*ModelsListGameBinaryRecordsResponse) MarshalBinary ¶ added in v0.51.0
func (m *ModelsListGameBinaryRecordsResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ModelsListGameBinaryRecordsResponse) UnmarshalBinary ¶ added in v0.51.0
func (m *ModelsListGameBinaryRecordsResponse) 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 list game record keys response.
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 ModelsListPlayerBinaryRecordsResponse ¶ added in v0.51.0
type ModelsListPlayerBinaryRecordsResponse struct { // data // Required: true Data []*ModelsPlayerBinaryRecordResponse `json:"data"` // paging // Required: true Paging *ModelsPagination `json:"paging"` }
ModelsListPlayerBinaryRecordsResponse Models list player binary records response
swagger:model Models list player binary records response.
func (*ModelsListPlayerBinaryRecordsResponse) MarshalBinary ¶ added in v0.51.0
func (m *ModelsListPlayerBinaryRecordsResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ModelsListPlayerBinaryRecordsResponse) UnmarshalBinary ¶ added in v0.51.0
func (m *ModelsListPlayerBinaryRecordsResponse) 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 list player record keys response.
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 ModelsListTagsResponse ¶ added in v0.64.0
type ModelsListTagsResponse struct { // data // Required: true Data []*ModelsTagInfo `json:"data"` // paging // Required: true Paging *ModelsPagination `json:"paging"` }
ModelsListTagsResponse Models list tags response
swagger:model Models list tags response.
func (*ModelsListTagsResponse) MarshalBinary ¶ added in v0.64.0
func (m *ModelsListTagsResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ModelsListTagsResponse) UnmarshalBinary ¶ added in v0.64.0
func (m *ModelsListTagsResponse) 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 ModelsPlayerBinaryRecordCreate ¶ added in v0.51.0
type ModelsPlayerBinaryRecordCreate struct { // File type of the binary record // Required: true FileType *string `json:"file_type"` // Indicate whether the player record is a public record or not IsPublic bool `json:"is_public"` // Player binary record identifier // Required: true Key *string `json:"key"` // Indicate which party that could modify the record // Enum: ['CLIENT', 'SERVER'] // Required: true SetBy *string `json:"set_by"` }
ModelsPlayerBinaryRecordCreate Models player binary record create
swagger:model Models player binary record create.
func (*ModelsPlayerBinaryRecordCreate) MarshalBinary ¶ added in v0.51.0
func (m *ModelsPlayerBinaryRecordCreate) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ModelsPlayerBinaryRecordCreate) UnmarshalBinary ¶ added in v0.51.0
func (m *ModelsPlayerBinaryRecordCreate) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ModelsPlayerBinaryRecordMetadataPublicRequest ¶ added in v0.51.0
type ModelsPlayerBinaryRecordMetadataPublicRequest struct { // Indicate whether the player record is public or not IsPublic bool `json:"is_public"` }
ModelsPlayerBinaryRecordMetadataPublicRequest Models player binary record metadata public request
swagger:model Models player binary record metadata public request.
func (*ModelsPlayerBinaryRecordMetadataPublicRequest) MarshalBinary ¶ added in v0.51.0
func (m *ModelsPlayerBinaryRecordMetadataPublicRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ModelsPlayerBinaryRecordMetadataPublicRequest) UnmarshalBinary ¶ added in v0.51.0
func (m *ModelsPlayerBinaryRecordMetadataPublicRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ModelsPlayerBinaryRecordMetadataRequest ¶ added in v0.51.0
type ModelsPlayerBinaryRecordMetadataRequest struct { // Indicate whether the player record is public or not IsPublic bool `json:"is_public"` // Indicate which party that could modify the record // Enum: ['CLIENT', 'SERVER'] SetBy string `json:"set_by,omitempty"` }
ModelsPlayerBinaryRecordMetadataRequest Models player binary record metadata request
swagger:model Models player binary record metadata request.
func (*ModelsPlayerBinaryRecordMetadataRequest) MarshalBinary ¶ added in v0.51.0
func (m *ModelsPlayerBinaryRecordMetadataRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ModelsPlayerBinaryRecordMetadataRequest) UnmarshalBinary ¶ added in v0.51.0
func (m *ModelsPlayerBinaryRecordMetadataRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ModelsPlayerBinaryRecordResponse ¶ added in v0.51.0
type ModelsPlayerBinaryRecordResponse struct { // binary_info BinaryInfo *ModelsBinaryInfoResponse `json:"binary_info,omitempty"` // created_at // Required: true // Format: date-time CreatedAt strfmt.DateTime `json:"created_at"` // Indicate whether the player record is public or not // Required: true IsPublic *bool `json:"is_public"` // Player binary record identifier // Required: true Key *string `json:"key"` // Namespace of the game // Required: true Namespace *string `json:"namespace"` // Indicate which party that could modify the record // Enum: ['CLIENT', 'SERVER'] SetBy string `json:"set_by,omitempty"` // updated_at // Required: true // Format: date-time UpdatedAt strfmt.DateTime `json:"updated_at"` // User ID who owns the binary record // Required: true UserID *string `json:"user_id"` }
ModelsPlayerBinaryRecordResponse Models player binary record response
swagger:model Models player binary record response.
func (*ModelsPlayerBinaryRecordResponse) MarshalBinary ¶ added in v0.51.0
func (m *ModelsPlayerBinaryRecordResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ModelsPlayerBinaryRecordResponse) UnmarshalBinary ¶ added in v0.51.0
func (m *ModelsPlayerBinaryRecordResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ModelsPlayerRecordConcurrentUpdateResponse ¶ added in v0.59.0
type ModelsPlayerRecordConcurrentUpdateResponse struct { // Precondition for concurrent request, required for making the concurrent request // Required: true // Format: date-time UpdatedAt strfmt.DateTime `json:"updated_at"` }
ModelsPlayerRecordConcurrentUpdateResponse Models player record concurrent update response
swagger:model Models player record concurrent update response.
func (*ModelsPlayerRecordConcurrentUpdateResponse) MarshalBinary ¶ added in v0.59.0
func (m *ModelsPlayerRecordConcurrentUpdateResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ModelsPlayerRecordConcurrentUpdateResponse) UnmarshalBinary ¶ added in v0.59.0
func (m *ModelsPlayerRecordConcurrentUpdateResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ModelsPlayerRecordKeyInfo ¶ added in v0.15.0
type ModelsPlayerRecordKeyInfo struct { // Player record identifier // Required: true Key *string `json:"key"` // User ID who owns the record // Required: true UserID *string `json:"user_id"` }
ModelsPlayerRecordKeyInfo Models player record key info
swagger:model Models player record key info.
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 player record request.
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"` // Player record identifier // Required: true Key *string `json:"key"` // Namespace of the game // Required: true Namespace *string `json:"namespace"` // Indicate which party that could modify the record // Enum: ['CLIENT', 'SERVER'] SetBy string `json:"set_by,omitempty"` // updated_at // Required: true // Format: date-time UpdatedAt strfmt.DateTime `json:"updated_at"` // User ID who owns the record // Required: true UserID *string `json:"user_id"` // Player record data, should be in valid json format // Required: true Value interface{} `json:"value"` }
ModelsPlayerRecordResponse Models player record response
swagger:model Models player record response.
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 { // Player record current size // Required: true // Format: int64 CurrentSize *int64 `json:"current_size"` // Player record identifier // Required: true Key *string `json:"key"` // Namespace of the game // Required: true Namespace *string `json:"namespace"` // Player record remaining size // Required: true // Format: int64 RemainingSize *int64 `json:"remaining_size"` // User ID who owns the record // Required: true UserID *string `json:"user_id"` }
ModelsPlayerRecordSizeResponse Models player record size response
swagger:model Models player record size response.
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 ModelsPluginRequest ¶ added in v0.50.0
type ModelsPluginRequest struct { // Config for APP extend type AppConfig *ModelsAppConfig `json:"appConfig,omitempty"` // Config for CUSTOM extend type CustomConfig *ModelsCustomConfig `json:"customConfig,omitempty"` // List of functions that can be extended // Required: true CustomFunction *ModelsCustomFunction `json:"customFunction"` // Plugin extend type // Enum: ['APP', 'CUSTOM'] // Required: true ExtendType *string `json:"extendType"` }
ModelsPluginRequest Models plugin request
swagger:model Models plugin request.
func (*ModelsPluginRequest) MarshalBinary ¶ added in v0.50.0
func (m *ModelsPluginRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ModelsPluginRequest) UnmarshalBinary ¶ added in v0.50.0
func (m *ModelsPluginRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ModelsPluginResponse ¶ added in v0.50.0
type ModelsPluginResponse struct { // Config for APP extend type AppConfig *ModelsAppConfig `json:"appConfig,omitempty"` // Config for CUSTOM extend type CustomConfig *ModelsCustomConfig `json:"customConfig,omitempty"` // List of functions that can be extended // Required: true CustomFunction *ModelsCustomFunction `json:"customFunction"` // Plugin extend type // Enum: ['APP', 'CUSTOM'] // Required: true ExtendType *string `json:"extendType"` // Namespace of the game // Required: true Namespace *string `json:"namespace"` }
ModelsPluginResponse Models plugin response
swagger:model Models plugin response.
func (*ModelsPluginResponse) MarshalBinary ¶ added in v0.50.0
func (m *ModelsPluginResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ModelsPluginResponse) UnmarshalBinary ¶ added in v0.50.0
func (m *ModelsPluginResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ModelsPublicGameBinaryRecordCreate ¶ added in v0.51.0
type ModelsPublicGameBinaryRecordCreate struct { // File type of game binary record // Required: true FileType *string `json:"file_type"` // Game binary record identifier // Required: true Key *string `json:"key"` }
ModelsPublicGameBinaryRecordCreate Models public game binary record create
swagger:model Models public game binary record create.
func (*ModelsPublicGameBinaryRecordCreate) MarshalBinary ¶ added in v0.51.0
func (m *ModelsPublicGameBinaryRecordCreate) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ModelsPublicGameBinaryRecordCreate) UnmarshalBinary ¶ added in v0.51.0
func (m *ModelsPublicGameBinaryRecordCreate) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ModelsPublicPlayerBinaryRecordCreate ¶ added in v0.51.0
type ModelsPublicPlayerBinaryRecordCreate struct { // File type of the binary record // Required: true FileType *string `json:"file_type"` // Indicate whether the player record is a public record or not IsPublic bool `json:"is_public"` // Player binary record identifier // Required: true Key *string `json:"key"` }
ModelsPublicPlayerBinaryRecordCreate Models public player binary record create
swagger:model Models public player binary record create.
func (*ModelsPublicPlayerBinaryRecordCreate) MarshalBinary ¶ added in v0.51.0
func (m *ModelsPublicPlayerBinaryRecordCreate) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ModelsPublicPlayerBinaryRecordCreate) UnmarshalBinary ¶ added in v0.51.0
func (m *ModelsPublicPlayerBinaryRecordCreate) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ModelsResponseError ¶ added in v0.7.0
type ModelsResponseError struct { // errorcode // Required: true // Format: int32 ErrorCode *int32 `json:"errorCode"` // errormessage // Required: true ErrorMessage *string `json:"errorMessage"` }
ModelsResponseError Models response error
swagger:model Models response error.
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 ModelsTTLConfigDTO ¶ added in v0.64.0
type ModelsTTLConfigDTO struct { // Incidate what action will be done after the record expires // Enum: ['DELETE'] // Required: true Action *string `json:"action"` // Indicate when the record will be expired, should be in RFC3339 format // Required: true // Format: date-time ExpiresAt strfmt.DateTime `json:"expires_at"` }
ModelsTTLConfigDTO Models TTL config DTO
swagger:model Models TTL config DTO.
func (*ModelsTTLConfigDTO) MarshalBinary ¶ added in v0.64.0
func (m *ModelsTTLConfigDTO) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ModelsTTLConfigDTO) UnmarshalBinary ¶ added in v0.64.0
func (m *ModelsTTLConfigDTO) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ModelsTagInfo ¶ added in v0.64.0
type ModelsTagInfo struct { // created_at // Required: true // Format: date-time CreatedAt strfmt.DateTime `json:"created_at"` // tag // Required: true Tag *string `json:"tag"` }
ModelsTagInfo Models tag info
swagger:model Models tag info.
func (*ModelsTagInfo) MarshalBinary ¶ added in v0.64.0
func (m *ModelsTagInfo) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ModelsTagInfo) UnmarshalBinary ¶ added in v0.64.0
func (m *ModelsTagInfo) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ModelsTagRequest ¶ added in v0.64.0
type ModelsTagRequest struct { // tag // Required: true Tag *string `json:"tag"` }
ModelsTagRequest Models tag request
swagger:model Models tag request.
func (*ModelsTagRequest) MarshalBinary ¶ added in v0.64.0
func (m *ModelsTagRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ModelsTagRequest) UnmarshalBinary ¶ added in v0.64.0
func (m *ModelsTagRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ModelsUploadBinaryRecordRequest ¶ added in v0.51.0
type ModelsUploadBinaryRecordRequest struct { // File type of the binary record // Required: true FileType *string `json:"file_type"` }
ModelsUploadBinaryRecordRequest Models upload binary record request
swagger:model Models upload binary record request.
func (*ModelsUploadBinaryRecordRequest) MarshalBinary ¶ added in v0.51.0
func (m *ModelsUploadBinaryRecordRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ModelsUploadBinaryRecordRequest) UnmarshalBinary ¶ added in v0.51.0
func (m *ModelsUploadBinaryRecordRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ModelsUploadBinaryRecordResponse ¶ added in v0.51.0
type ModelsUploadBinaryRecordResponse struct { // File type of game binary record // Required: true ContentType *string `json:"content_type"` // File location of the binary record // Required: true FileLocation *string `json:"file_location"` // URL for accessing the binary record // Required: true URL *string `json:"url"` // Version of the binary file // Required: true // Format: int32 Version *int32 `json:"version"` }
ModelsUploadBinaryRecordResponse Models upload binary record response
swagger:model Models upload binary record response.
func (*ModelsUploadBinaryRecordResponse) MarshalBinary ¶ added in v0.51.0
func (m *ModelsUploadBinaryRecordResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ModelsUploadBinaryRecordResponse) UnmarshalBinary ¶ added in v0.51.0
func (m *ModelsUploadBinaryRecordResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ModelsUserKeyRequest ¶ added in v0.27.0
type ModelsUserKeyRequest struct { // Keys of the record // Required: true Keys []string `json:"keys"` // User ID who owns the record // Required: true UserID *string `json:"user_id"` }
ModelsUserKeyRequest Models user key request
swagger:model Models user key request.
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_admin_game_concurrent_record_request.go
- models_admin_game_record_request.go
- models_admin_game_record_response.go
- models_admin_player_concurrent_record_request.go
- models_admin_player_record_key_info.go
- models_admin_player_record_request.go
- models_admin_player_record_response.go
- models_app_config.go
- models_binary_info_response.go
- models_binary_record_request.go
- models_bulk_get_admin_game_record_request.go
- models_bulk_get_admin_game_record_response.go
- models_bulk_get_admin_player_record_request.go
- models_bulk_get_admin_player_record_response.go
- models_bulk_get_game_binary_record_response.go
- models_bulk_get_game_record_request.go
- models_bulk_get_game_record_response.go
- models_bulk_get_player_binary_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_update_player_record_request_detail.go
- models_bulk_update_player_record_response.go
- models_bulk_update_player_records_request.go
- models_bulk_user_i_ds_request.go
- models_bulk_user_key_request.go
- models_concurrent_record_request.go
- models_custom_config.go
- models_custom_function.go
- models_game_binary_record_admin_response.go
- models_game_binary_record_create.go
- models_game_binary_record_metadata_request.go
- models_game_binary_record_response.go
- models_game_record_admin_response.go
- models_game_record_request.go
- models_game_record_response.go
- models_list_admin_game_record_keys_response.go
- models_list_admin_player_record_keys_response.go
- models_list_game_binary_records_admin_response.go
- models_list_game_binary_records_response.go
- models_list_game_record_keys_response.go
- models_list_player_binary_records_response.go
- models_list_player_record_keys_response.go
- models_list_tags_response.go
- models_pagination.go
- models_player_binary_record_create.go
- models_player_binary_record_metadata_public_request.go
- models_player_binary_record_metadata_request.go
- models_player_binary_record_response.go
- models_player_record_concurrent_update_response.go
- models_player_record_key_info.go
- models_player_record_request.go
- models_player_record_response.go
- models_player_record_size_response.go
- models_plugin_request.go
- models_plugin_response.go
- models_public_game_binary_record_create.go
- models_public_player_binary_record_create.go
- models_response_error.go
- models_tag_info.go
- models_tag_request.go
- models_ttl_config_dto.go
- models_upload_binary_record_request.go
- models_upload_binary_record_response.go
- models_user_key_request.go