Help us shape the future of Go! Take the 2026 Go Developer Survey

cloudsaveclientmodels

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Sep 23, 2025 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (

	// ModelsAdminConcurrentRecordRequestSetByCLIENT captures enum value "CLIENT"
	ModelsAdminConcurrentRecordRequestSetByCLIENT string = "CLIENT"

	// ModelsAdminConcurrentRecordRequestSetBySERVER captures enum value "SERVER"
	ModelsAdminConcurrentRecordRequestSetBySERVER string = "SERVER"
)
View Source
const (

	// ModelsGameBinaryRecordAdminResponseSetByCLIENT captures enum value "CLIENT"
	ModelsGameBinaryRecordAdminResponseSetByCLIENT string = "CLIENT"

	// ModelsGameBinaryRecordAdminResponseSetBySERVER captures enum value "SERVER"
	ModelsGameBinaryRecordAdminResponseSetBySERVER string = "SERVER"
)
View Source
const (

	// ModelsGameBinaryRecordCreateSetByCLIENT captures enum value "CLIENT"
	ModelsGameBinaryRecordCreateSetByCLIENT string = "CLIENT"

	// ModelsGameBinaryRecordCreateSetBySERVER captures enum value "SERVER"
	ModelsGameBinaryRecordCreateSetBySERVER string = "SERVER"
)
View Source
const (

	// ModelsGameBinaryRecordMetadataRequestSetByCLIENT captures enum value "CLIENT"
	ModelsGameBinaryRecordMetadataRequestSetByCLIENT string = "CLIENT"

	// ModelsGameBinaryRecordMetadataRequestSetBySERVER captures enum value "SERVER"
	ModelsGameBinaryRecordMetadataRequestSetBySERVER string = "SERVER"
)
View Source
const (

	// ModelsGameBinaryRecordResponseSetByCLIENT captures enum value "CLIENT"
	ModelsGameBinaryRecordResponseSetByCLIENT string = "CLIENT"

	// ModelsGameBinaryRecordResponseSetBySERVER captures enum value "SERVER"
	ModelsGameBinaryRecordResponseSetBySERVER string = "SERVER"
)
View Source
const (

	// ModelsGameRecordAdminResponseSetByCLIENT captures enum value "CLIENT"
	ModelsGameRecordAdminResponseSetByCLIENT string = "CLIENT"

	// ModelsGameRecordAdminResponseSetBySERVER captures enum value "SERVER"
	ModelsGameRecordAdminResponseSetBySERVER string = "SERVER"
)
View Source
const (

	// ModelsGameRecordResponseSetByCLIENT captures enum value "CLIENT"
	ModelsGameRecordResponseSetByCLIENT string = "CLIENT"

	// ModelsGameRecordResponseSetBySERVER captures enum value "SERVER"
	ModelsGameRecordResponseSetBySERVER string = "SERVER"
)
View Source
const (

	// ModelsPlayerBinaryRecordCreateSetByCLIENT captures enum value "CLIENT"
	ModelsPlayerBinaryRecordCreateSetByCLIENT string = "CLIENT"

	// ModelsPlayerBinaryRecordCreateSetBySERVER captures enum value "SERVER"
	ModelsPlayerBinaryRecordCreateSetBySERVER string = "SERVER"
)
View Source
const (

	// ModelsPlayerBinaryRecordMetadataRequestSetByCLIENT captures enum value "CLIENT"
	ModelsPlayerBinaryRecordMetadataRequestSetByCLIENT string = "CLIENT"

	// ModelsPlayerBinaryRecordMetadataRequestSetBySERVER captures enum value "SERVER"
	ModelsPlayerBinaryRecordMetadataRequestSetBySERVER string = "SERVER"
)
View Source
const (

	// ModelsPlayerBinaryRecordResponseSetByCLIENT captures enum value "CLIENT"
	ModelsPlayerBinaryRecordResponseSetByCLIENT string = "CLIENT"

	// ModelsPlayerBinaryRecordResponseSetBySERVER captures enum value "SERVER"
	ModelsPlayerBinaryRecordResponseSetBySERVER string = "SERVER"
)
View Source
const (

	// ModelsPlayerRecordResponseSetByCLIENT captures enum value "CLIENT"
	ModelsPlayerRecordResponseSetByCLIENT string = "CLIENT"

	// ModelsPlayerRecordResponseSetBySERVER captures enum value "SERVER"
	ModelsPlayerRecordResponseSetBySERVER string = "SERVER"
)
View Source
const (

	// ModelsPluginRequestExtendTypeAPP captures enum value "APP"
	ModelsPluginRequestExtendTypeAPP string = "APP"

	// ModelsPluginRequestExtendTypeCUSTOM captures enum value "CUSTOM"
	ModelsPluginRequestExtendTypeCUSTOM string = "CUSTOM"
)
View Source
const (

	// ModelsPluginResponseExtendTypeAPP captures enum value "APP"
	ModelsPluginResponseExtendTypeAPP string = "APP"

	// ModelsPluginResponseExtendTypeCUSTOM captures enum value "CUSTOM"
	ModelsPluginResponseExtendTypeCUSTOM string = "CUSTOM"
)
View Source
const (

	// ModelsTTLConfigDTOActionDELETE captures enum value "DELETE"
	ModelsTTLConfigDTOActionDELETE string = "DELETE"
)

Variables

View Source
var (
	Error18001 = ApiError{Code: "18001", Message: "unable to get record"}
	Error18003 = ApiError{Code: "18003", Message: "record not found"}
	Error18004 = ApiError{Code: "18004", Message: "unable to retrieve list of key records"}
	Error18005 = ApiError{Code: "18005", Message: "unable to decode record"}
	Error18006 = ApiError{Code: "18006", Message: "unable to decode record"}
	Error18011 = ApiError{Code: "18011", Message: "invalid request body"}
	Error18012 = ApiError{Code: "18012", Message: "unable to marshal request body"}
	Error18013 = ApiError{Code: "18013", Message: "unable to save record"}
	Error18015 = ApiError{Code: "18015", Message: "invalid request body: size of the request body must be less than [%d]MB"}
	Error18020 = ApiError{Code: "18020", Message: "unable to get record"}
	Error18022 = ApiError{Code: "18022", Message: "record not found"}
	Error18023 = ApiError{Code: "18023", Message: "get action is forbidden on other user's record"}
	Error18030 = ApiError{Code: "18030", Message: "invalid request body"}
	Error18033 = ApiError{Code: "18033", Message: "unable to save record"}
	Error18035 = ApiError{Code: "18035", Message: "post action is forbidden on other user's record"}
	Error18040 = ApiError{Code: "18040", Message: "unable to delete record"}
	Error18050 = ApiError{Code: "18050", Message: "invalid request body"}
	Error18051 = ApiError{Code: "18051", Message: "unable to marshal request body"}
	Error18052 = ApiError{Code: "18052", Message: "invalid request body: size of the request body must be less than [%d]MB"}
	Error18053 = ApiError{Code: "18053", Message: "unable to update record"}
	Error18056 = ApiError{Code: "18056", Message: "precondition failed: record has changed"}
	Error18060 = ApiError{Code: "18060", Message: "invalid request body"}
	Error18061 = ApiError{Code: "18061", Message: "unable to update record"}
	Error18063 = ApiError{Code: "18063", Message: "put action is forbidden on other user's record"}
	Error18064 = ApiError{Code: "18064", Message: "validation error"}
	Error18065 = ApiError{Code: "18065", Message: "unable to update record"}
	Error18066 = ApiError{Code: "18066", Message: "precondition failed: record has changed"}
	Error18070 = ApiError{Code: "18070", Message: "unable to delete record"}
	Error18072 = ApiError{Code: "18072", Message: "delete action is forbidden on other user's record"}
	Error18080 = ApiError{Code: "18080", Message: "unable to get record"}
	Error18081 = ApiError{Code: "18081", Message: "record not found"}
	Error18083 = ApiError{Code: "18083", Message: "invalid request body"}
	Error18084 = ApiError{Code: "18084", Message: "unable to get record"}
	Error18090 = ApiError{Code: "18090", Message: "invalid request body"}
	Error18091 = ApiError{Code: "18091", Message: "unable to save record"}
	Error18100 = ApiError{Code: "18100", Message: "invalid request body"}
	Error18101 = ApiError{Code: "18101", Message: "unable to update record"}
	Error18102 = ApiError{Code: "18102", Message: "validation error"}
	Error18103 = ApiError{Code: "18103", Message: "precondition failed: record has changed"}
	Error18113 = ApiError{Code: "18113", Message: "invalid request body"}
	Error18114 = ApiError{Code: "18114", Message: "unable to retrieve list of key records"}
	Error18120 = ApiError{Code: "18120", Message: "unable to delete record"}
	Error18122 = ApiError{Code: "18122", Message: "record not found"}
	Error18124 = ApiError{Code: "18124", Message: "unable to get record"}
	Error18125 = ApiError{Code: "18125", Message: "invalid request body"}
	Error18126 = ApiError{Code: "18126", Message: "request record keys list exceed max size [%d]"}
	Error18128 = ApiError{Code: "18128", Message: "invalid request body"}
	Error18129 = ApiError{Code: "18129", Message: "request record keys list exceed max size [%d]"}
	Error18130 = ApiError{Code: "18130", Message: "unable to get record"}
	Error18131 = ApiError{Code: "18131", Message: "unable to decode record"}
	Error18133 = ApiError{Code: "18133", Message: "record not found"}
	Error18134 = ApiError{Code: "18134", Message: "invalid request body"}
	Error18135 = ApiError{Code: "18135", Message: "unable to marshal request body"}
	Error18136 = ApiError{Code: "18136", Message: "invalid request body: size of the request body must be less than [%d]MB"}
	Error18138 = ApiError{Code: "18138", Message: "unable to decode record"}
	Error18139 = ApiError{Code: "18139", Message: "unable to get record"}
	Error18140 = ApiError{Code: "18140", Message: "record not found"}
	Error18142 = ApiError{Code: "18142", Message: "unable to delete record"}
	Error18144 = ApiError{Code: "18144", Message: "invalid request body"}
	Error18145 = ApiError{Code: "18145", Message: "unable to marshal request body"}
	Error18146 = ApiError{Code: "18146", Message: "invalid request body: size of the request body must be less than [%d]MB"}
	Error18147 = ApiError{Code: "18147", Message: "unable to update record"}
	Error18149 = ApiError{Code: "18149", Message: "invalid request body"}
	Error18150 = ApiError{Code: "18150", Message: "invalid request body"}
	Error18151 = ApiError{Code: "18151", Message: "unable to get record"}
	Error18152 = ApiError{Code: "18152", Message: "record not found"}
	Error18154 = ApiError{Code: "18154", Message: "unable to delete record"}
	Error18156 = ApiError{Code: "18156", Message: "invalid request body"}
	Error18157 = ApiError{Code: "18157", Message: "unable to decode record"}
	Error18159 = ApiError{Code: "18159", Message: "invalid request body"}
	Error18160 = ApiError{Code: "18160", Message: "unable to retrieve list of key records"}
	Error18162 = ApiError{Code: "18162", Message: "unable to decode record"}
	Error18163 = ApiError{Code: "18163", Message: "unable to decode record"}
	Error18164 = ApiError{Code: "18164", Message: "unable to decode record"}
	Error18165 = ApiError{Code: "18165", Message: "unable to decode record"}
	Error18167 = ApiError{Code: "18167", Message: "record not found"}
	Error18168 = ApiError{Code: "18168", Message: "invalid request body"}
	Error18169 = ApiError{Code: "18169", Message: "request record keys list exceed max size [%d]"}
	Error18170 = ApiError{Code: "18170", Message: "unable to get record"}
	Error18171 = ApiError{Code: "18171", Message: "record not found"}
	Error18172 = ApiError{Code: "18172", Message: "unable to decode record"}
	Error18174 = ApiError{Code: "18174", Message: "invalid request body"}
	Error18175 = ApiError{Code: "18175", Message: "request record keys list exceed max size [%d]"}
	Error18176 = ApiError{Code: "18176", Message: "unable to get record"}
	Error18177 = ApiError{Code: "18177", Message: "record not found"}
	Error18178 = ApiError{Code: "18178", Message: "unable to decode record"}
	Error18180 = ApiError{Code: "18180", Message: "precondition failed: record has changed"}
	Error18181 = ApiError{Code: "18181", Message: "validation error"}
	Error18182 = ApiError{Code: "18182", Message: "unable to update record"}
	Error18183 = ApiError{Code: "18183", Message: "precondition failed: record has changed"}
	Error18184 = ApiError{Code: "18184", Message: "invalid request body"}
	Error18185 = ApiError{Code: "18185", Message: "unable to get record"}
	Error18186 = ApiError{Code: "18186", Message: "record not found"}
	Error18187 = ApiError{Code: "18187", Message: "unable to decode record"}
	Error18201 = ApiError{Code: "18201", Message: "invalid record operator, expect [%s] but actual [%s]"}
	Error18301 = ApiError{Code: "18301", Message: "unable to get record"}
	Error18303 = ApiError{Code: "18303", Message: "record not found"}
	Error18304 = ApiError{Code: "18304", Message: "invalid request body"}
	Error18305 = ApiError{Code: "18305", Message: "invalid request body"}
	Error18307 = ApiError{Code: "18307", Message: "unable to save record"}
	Error18309 = ApiError{Code: "18309", Message: "key already exists"}
	Error18310 = ApiError{Code: "18310", Message: "unable to get presigned URL"}
	Error18311 = ApiError{Code: "18311", Message: "invalid request body"}
	Error18312 = ApiError{Code: "18312", Message: "unable to get record"}
	Error18313 = ApiError{Code: "18313", Message: "record not found"}
	Error18314 = ApiError{Code: "18314", Message: "unable to get presigned URL"}
	Error18316 = ApiError{Code: "18316", Message: "invalid request body"}
	Error18317 = ApiError{Code: "18317", Message: "record not found"}
	Error18318 = ApiError{Code: "18318", Message: "unable to update record"}
	Error18320 = ApiError{Code: "18320", Message: "unable to delete record"}
	Error18322 = ApiError{Code: "18322", Message: "record not found"}
	Error18323 = ApiError{Code: "18323", Message: "unable to get record"}
	Error18325 = ApiError{Code: "18325", Message: "record not found"}
	Error18326 = ApiError{Code: "18326", Message: "invalid request body"}
	Error18327 = ApiError{Code: "18327", Message: "invalid request body"}
	Error18328 = ApiError{Code: "18328", Message: "unable to save record"}
	Error18330 = ApiError{Code: "18330", Message: "key already exists"}
	Error18331 = ApiError{Code: "18331", Message: "unable to get presigned URL"}
	Error18332 = ApiError{Code: "18332", Message: "invalid request body"}
	Error18333 = ApiError{Code: "18333", Message: "record not found"}
	Error18334 = ApiError{Code: "18334", Message: "unable to update record"}
	Error18336 = ApiError{Code: "18336", Message: "unable to delete record"}
	Error18338 = ApiError{Code: "18338", Message: "record not found"}
	Error18339 = ApiError{Code: "18339", Message: "unable to get record"}
	Error18340 = ApiError{Code: "18340", Message: "record not found"}
	Error18342 = ApiError{Code: "18342", Message: "invalid request body"}
	Error18343 = ApiError{Code: "18343", Message: "unable to get record"}
	Error18345 = ApiError{Code: "18345", Message: "unable to retrieve list of key records"}
	Error18347 = ApiError{Code: "18347", Message: "invalid request body"}
	Error18349 = ApiError{Code: "18349", Message: "unable to get record"}
	Error18350 = ApiError{Code: "18350", Message: "invalid request body"}
	Error18351 = ApiError{Code: "18351", Message: "request record keys list exceed max size [%d]"}
	Error18353 = ApiError{Code: "18353", Message: "invalid request body"}
	Error18354 = ApiError{Code: "18354", Message: "records amount exceeded max limit"}
	Error18355 = ApiError{Code: "18355", Message: "unable to marshal request body"}
	Error18356 = ApiError{Code: "18356", Message: "invalid request body: size of the request body must be less than [%d]MB"}
	Error18361 = ApiError{Code: "18361", Message: "record not found"}
	Error18362 = ApiError{Code: "18362", Message: "unable to update record"}
	Error18401 = ApiError{Code: "18401", Message: "invalid request body"}
	Error18402 = ApiError{Code: "18402", Message: "plugins already configured"}
	Error18404 = ApiError{Code: "18404", Message: "plugins not found"}
	Error18406 = ApiError{Code: "18406", Message: "plugins config not found"}
	Error18408 = ApiError{Code: "18408", Message: "invalid request body"}
	Error18409 = ApiError{Code: "18409", Message: "plugins config not found"}
	Error18502 = ApiError{Code: "18502", Message: "unable to list tags"}
	Error18503 = ApiError{Code: "18503", Message: "unable to list tags"}
	Error18505 = ApiError{Code: "18505", Message: "invalid request body"}
	Error18506 = ApiError{Code: "18506", Message: "tag already exists"}
	Error18507 = ApiError{Code: "18507", Message: "unable to create tag"}
	Error18509 = ApiError{Code: "18509", Message: "unable to delete tag"}
	Error18510 = ApiError{Code: "18510", Message: "tag not found"}
	Error20000 = ApiError{Code: "20000", Message: "internal server error"}
	Error20001 = ApiError{Code: "20001", Message: "unauthorized access"}
	Error20002 = ApiError{Code: "20002", Message: "validation error"}
	Error20013 = ApiError{Code: "20013", Message: "insufficient permission"}
)

Functions

This section is empty.

Types

type ApiError

type ApiError struct {
	Code    string
	Message string
}

func (*ApiError) Error

func (e *ApiError) Error() string

func (*ApiError) IsAvailable

func (e *ApiError) IsAvailable() bool

type ApiResponse

type ApiResponse struct {
	IsSuccess   bool
	StatusCode  int
	ContentType *string
	Error       *ApiError
}

type ModelsAdminConcurrentRecordRequest

type ModelsAdminConcurrentRecordRequest struct {

	// Indicate which party that could modify the record
	// Enum: ['CLIENT', 'SERVER']
	// Required: true
	SetBy *string `json:"set_by"`

	// Tagging for the record
	Tags []string `json:"tags,omitempty"`

	// 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
	// Format: date-time
	UpdatedAt strfmt.DateTime `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

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

MarshalBinary interface implementation

func (*ModelsAdminConcurrentRecordRequest) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ModelsAdminConcurrentRecordRequest) Validate

Validate validates this Models admin concurrent record request

type ModelsAdminGameConcurrentRecordRequest

type ModelsAdminGameConcurrentRecordRequest struct {

	// Tagging for admin game record
	Tags []string `json:"tags,omitempty"`

	// TTL configuration for the admin game record
	TTLConfig *ModelsTTLConfigDTO `json:"ttl_config,omitempty"`

	// Precondition for concurrent request, updatedAt should be the same as record's updatedAt
	// Required: true
	// Format: date-time
	UpdatedAt strfmt.DateTime `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

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

MarshalBinary interface implementation

func (*ModelsAdminGameConcurrentRecordRequest) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ModelsAdminGameConcurrentRecordRequest) Validate

Validate validates this Models admin game concurrent record request

type ModelsAdminGameRecordRequest

type ModelsAdminGameRecordRequest interface{}

ModelsAdminGameRecordRequest Models admin game record request

swagger:model Models admin game record request.

type ModelsAdminGameRecordResponse

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"`

	// Tagging for admin game record
	Tags []string `json:"tags,omitempty"`

	// TTL configuration for the admin record
	TTLConfig *ModelsTTLConfigDTO `json:"ttl_config,omitempty"`

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

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

MarshalBinary interface implementation

func (*ModelsAdminGameRecordResponse) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ModelsAdminGameRecordResponse) Validate

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

Validate validates this Models admin game record response

type ModelsAdminPlayerConcurrentRecordRequest

type ModelsAdminPlayerConcurrentRecordRequest struct {

	// Tagging for admin player record
	Tags []string `json:"tags,omitempty"`

	// Precondition for concurrent request, updatedAt should be the same as record's updatedAt
	// Required: true
	// Format: date-time
	UpdatedAt strfmt.DateTime `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

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

MarshalBinary interface implementation

func (*ModelsAdminPlayerConcurrentRecordRequest) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ModelsAdminPlayerConcurrentRecordRequest) Validate

Validate validates this Models admin player concurrent record request

type ModelsAdminPlayerRecordKeyInfo

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

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

MarshalBinary interface implementation

func (*ModelsAdminPlayerRecordKeyInfo) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ModelsAdminPlayerRecordKeyInfo) Validate

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

Validate validates this Models admin player record key info

type ModelsAdminPlayerRecordRequest

type ModelsAdminPlayerRecordRequest interface{}

ModelsAdminPlayerRecordRequest Models admin player record request

swagger:model Models admin player record request.

type ModelsAdminPlayerRecordResponse

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"`

	// Tagging for admin player record
	Tags []string `json:"tags,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"`

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

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

MarshalBinary interface implementation

func (*ModelsAdminPlayerRecordResponse) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ModelsAdminPlayerRecordResponse) Validate

Validate validates this Models admin player record response

type ModelsAppConfig

type ModelsAppConfig struct {

	// Extend app name
	// Required: true
	AppName *string `json:"appName"`
}

ModelsAppConfig Models app config

swagger:model Models app config.

func (*ModelsAppConfig) MarshalBinary

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

MarshalBinary interface implementation

func (*ModelsAppConfig) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ModelsAppConfig) Validate

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

Validate validates this Models app config

type ModelsBinaryInfoResponse

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

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

MarshalBinary interface implementation

func (*ModelsBinaryInfoResponse) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ModelsBinaryInfoResponse) Validate

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

Validate validates this Models binary info response

type ModelsBinaryRecordRequest

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

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

MarshalBinary interface implementation

func (*ModelsBinaryRecordRequest) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ModelsBinaryRecordRequest) Validate

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

Validate validates this Models binary record request

type ModelsBulkGetAdminGameRecordRequest

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

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

MarshalBinary interface implementation

func (*ModelsBulkGetAdminGameRecordRequest) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ModelsBulkGetAdminGameRecordRequest) Validate

Validate validates this Models bulk get admin game record request

type ModelsBulkGetAdminGameRecordResponse

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

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

MarshalBinary interface implementation

func (*ModelsBulkGetAdminGameRecordResponse) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ModelsBulkGetAdminGameRecordResponse) Validate

Validate validates this Models bulk get admin game record response

type ModelsBulkGetAdminPlayerRecordRequest

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

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

MarshalBinary interface implementation

func (*ModelsBulkGetAdminPlayerRecordRequest) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ModelsBulkGetAdminPlayerRecordRequest) Validate

Validate validates this Models bulk get admin player record request

type ModelsBulkGetAdminPlayerRecordResponse

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

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

MarshalBinary interface implementation

func (*ModelsBulkGetAdminPlayerRecordResponse) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ModelsBulkGetAdminPlayerRecordResponse) Validate

Validate validates this Models bulk get admin player record response

type ModelsBulkGetGameBinaryRecordResponse

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

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

MarshalBinary interface implementation

func (*ModelsBulkGetGameBinaryRecordResponse) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ModelsBulkGetGameBinaryRecordResponse) Validate

Validate validates this Models bulk get game binary record response

type ModelsBulkGetGameRecordRequest

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

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

MarshalBinary interface implementation

func (*ModelsBulkGetGameRecordRequest) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ModelsBulkGetGameRecordRequest) Validate

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

Validate validates this Models bulk get game record request

type ModelsBulkGetGameRecordResponse

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

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

MarshalBinary interface implementation

func (*ModelsBulkGetGameRecordResponse) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ModelsBulkGetGameRecordResponse) Validate

Validate validates this Models bulk get game record response

type ModelsBulkGetPlayerBinaryRecordResponse

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

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

MarshalBinary interface implementation

func (*ModelsBulkGetPlayerBinaryRecordResponse) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ModelsBulkGetPlayerBinaryRecordResponse) Validate

Validate validates this Models bulk get player binary record response

type ModelsBulkGetPlayerRecordResponse

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

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

MarshalBinary interface implementation

func (*ModelsBulkGetPlayerRecordResponse) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ModelsBulkGetPlayerRecordResponse) Validate

Validate validates this Models bulk get player record response

type ModelsBulkGetPlayerRecordSizeResponse

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

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

MarshalBinary interface implementation

func (*ModelsBulkGetPlayerRecordSizeResponse) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ModelsBulkGetPlayerRecordSizeResponse) Validate

Validate validates this Models bulk get player record size response

type ModelsBulkGetPlayerRecordsRequest

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

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

MarshalBinary interface implementation

func (*ModelsBulkGetPlayerRecordsRequest) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ModelsBulkGetPlayerRecordsRequest) Validate

Validate validates this Models bulk get player records request

type ModelsBulkUpdatePlayerRecordByKeyRequestDetail

type ModelsBulkUpdatePlayerRecordByKeyRequestDetail struct {

	// User ID who owns the record, should follow UUID version 4 without hyphen format
	// Required: true
	UserID *string `json:"user_id"`

	// Player record data, should be in valid json format
	// Required: true
	Value interface{} `json:"value"`
}

ModelsBulkUpdatePlayerRecordByKeyRequestDetail Models bulk update player record by key request detail

swagger:model Models bulk update player record by key request detail.

func (*ModelsBulkUpdatePlayerRecordByKeyRequestDetail) MarshalBinary

MarshalBinary interface implementation

func (*ModelsBulkUpdatePlayerRecordByKeyRequestDetail) UnmarshalBinary

UnmarshalBinary interface implementation

func (*ModelsBulkUpdatePlayerRecordByKeyRequestDetail) Validate

Validate validates this Models bulk update player record by key request detail

type ModelsBulkUpdatePlayerRecordByKeyResponse

type ModelsBulkUpdatePlayerRecordByKeyResponse struct {

	// Detail if the update operation failed
	// Required: true
	Detail interface{} `json:"detail"`

	// Success state of the update operation
	// Required: true
	Success *bool `json:"success"`

	// User ID who owns the record
	// Required: true
	UserID *string `json:"user_id"`
}

ModelsBulkUpdatePlayerRecordByKeyResponse Models bulk update player record by key response

swagger:model Models bulk update player record by key response.

func (*ModelsBulkUpdatePlayerRecordByKeyResponse) MarshalBinary

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

MarshalBinary interface implementation

func (*ModelsBulkUpdatePlayerRecordByKeyResponse) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ModelsBulkUpdatePlayerRecordByKeyResponse) Validate

Validate validates this Models bulk update player record by key response

type ModelsBulkUpdatePlayerRecordRequestDetail

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

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

MarshalBinary interface implementation

func (*ModelsBulkUpdatePlayerRecordRequestDetail) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ModelsBulkUpdatePlayerRecordRequestDetail) Validate

Validate validates this Models bulk update player record request detail

type ModelsBulkUpdatePlayerRecordResponse

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

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

MarshalBinary interface implementation

func (*ModelsBulkUpdatePlayerRecordResponse) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ModelsBulkUpdatePlayerRecordResponse) Validate

Validate validates this Models bulk update player record response

type ModelsBulkUpdatePlayerRecordsByKeyRequest

type ModelsBulkUpdatePlayerRecordsByKeyRequest struct {

	// data
	// Required: true
	Data []*ModelsBulkUpdatePlayerRecordByKeyRequestDetail `json:"data"`
}

ModelsBulkUpdatePlayerRecordsByKeyRequest Models bulk update player records by key request

swagger:model Models bulk update player records by key request.

func (*ModelsBulkUpdatePlayerRecordsByKeyRequest) MarshalBinary

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

MarshalBinary interface implementation

func (*ModelsBulkUpdatePlayerRecordsByKeyRequest) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ModelsBulkUpdatePlayerRecordsByKeyRequest) Validate

Validate validates this Models bulk update player records by key request

type ModelsBulkUpdatePlayerRecordsRequest

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

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

MarshalBinary interface implementation

func (*ModelsBulkUpdatePlayerRecordsRequest) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ModelsBulkUpdatePlayerRecordsRequest) Validate

Validate validates this Models bulk update player records request

type ModelsBulkUserIDsRequest

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

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

MarshalBinary interface implementation

func (*ModelsBulkUserIDsRequest) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ModelsBulkUserIDsRequest) Validate

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

Validate validates this Models bulk user I ds request

type ModelsBulkUserKeyRequest

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

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

MarshalBinary interface implementation

func (*ModelsBulkUserKeyRequest) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ModelsBulkUserKeyRequest) Validate

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

Validate validates this Models bulk user key request

type ModelsConcurrentRecordRequest

type ModelsConcurrentRecordRequest struct {

	// Precondition for concurrent request, updatedAt should be the same as record's updatedAt
	// Required: true
	// Format: date-time
	UpdatedAt strfmt.DateTime `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

func (*ModelsConcurrentRecordRequest) Validate

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

Validate validates this Models concurrent record request

type ModelsCustomConfig

type ModelsCustomConfig struct {

	// grpcaddress
	// Required: true
	GRPCAddress *string `json:"GRPCAddress"`
}

ModelsCustomConfig Models custom config

swagger:model Models custom config.

func (*ModelsCustomConfig) MarshalBinary

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

MarshalBinary interface implementation

func (*ModelsCustomConfig) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ModelsCustomConfig) Validate

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

Validate validates this Models custom config

type ModelsCustomFunction

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

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

MarshalBinary interface implementation

func (*ModelsCustomFunction) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ModelsCustomFunction) Validate

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

Validate validates this Models custom function

type ModelsGameBinaryRecordAdminResponse

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"`

	// Tagging for game binary record
	Tags []string `json:"tags,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

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

MarshalBinary interface implementation

func (*ModelsGameBinaryRecordAdminResponse) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ModelsGameBinaryRecordAdminResponse) Validate

Validate validates this Models game binary record admin response

type ModelsGameBinaryRecordCreate

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

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

MarshalBinary interface implementation

func (*ModelsGameBinaryRecordCreate) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ModelsGameBinaryRecordCreate) Validate

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

Validate validates this Models game binary record create

type ModelsGameBinaryRecordMetadataRequest

type ModelsGameBinaryRecordMetadataRequest struct {

	// Indicate which party that could modify the record
	// Enum: ['CLIENT', 'SERVER']
	// Required: true
	SetBy *string `json:"set_by"`

	// Tagging for game binary record
	Tags []string `json:"tags,omitempty"`

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

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

MarshalBinary interface implementation

func (*ModelsGameBinaryRecordMetadataRequest) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ModelsGameBinaryRecordMetadataRequest) Validate

Validate validates this Models game binary record metadata request

type ModelsGameBinaryRecordResponse

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"`

	// Tagging for game binary record
	Tags []string `json:"tags,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

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

MarshalBinary interface implementation

func (*ModelsGameBinaryRecordResponse) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ModelsGameBinaryRecordResponse) Validate

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

Validate validates this Models game binary record response

type ModelsGameRecordAdminResponse

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"`

	// Tagging for game record
	Tags []string `json:"tags,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

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

MarshalBinary interface implementation

func (*ModelsGameRecordAdminResponse) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ModelsGameRecordAdminResponse) Validate

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

Validate validates this Models game record admin response

type ModelsGameRecordRequest

type ModelsGameRecordRequest interface{}

ModelsGameRecordRequest Models game record request

swagger:model Models game record request.

type ModelsGameRecordResponse

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"`

	// Tagging for game record
	Tags []string `json:"tags,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

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

MarshalBinary interface implementation

func (*ModelsGameRecordResponse) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ModelsGameRecordResponse) Validate

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

Validate validates this Models game record response

type ModelsListAdminGameRecordKeysResponse

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

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

MarshalBinary interface implementation

func (*ModelsListAdminGameRecordKeysResponse) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ModelsListAdminGameRecordKeysResponse) Validate

Validate validates this Models list admin game record keys response

type ModelsListAdminPlayerRecordKeysResponse

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

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

MarshalBinary interface implementation

func (*ModelsListAdminPlayerRecordKeysResponse) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ModelsListAdminPlayerRecordKeysResponse) Validate

Validate validates this Models list admin player record keys response

type ModelsListGameBinaryRecordsAdminResponse

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

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

MarshalBinary interface implementation

func (*ModelsListGameBinaryRecordsAdminResponse) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ModelsListGameBinaryRecordsAdminResponse) Validate

Validate validates this Models list game binary records admin response

type ModelsListGameBinaryRecordsResponse

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

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

MarshalBinary interface implementation

func (*ModelsListGameBinaryRecordsResponse) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ModelsListGameBinaryRecordsResponse) Validate

Validate validates this Models list game binary records response

type ModelsListGameRecordKeysResponse

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

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

MarshalBinary interface implementation

func (*ModelsListGameRecordKeysResponse) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ModelsListGameRecordKeysResponse) Validate

Validate validates this Models list game record keys response

type ModelsListPlayerBinaryRecordsResponse

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

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

MarshalBinary interface implementation

func (*ModelsListPlayerBinaryRecordsResponse) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ModelsListPlayerBinaryRecordsResponse) Validate

Validate validates this Models list player binary records response

type ModelsListPlayerRecordKeysResponse

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

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

MarshalBinary interface implementation

func (*ModelsListPlayerRecordKeysResponse) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ModelsListPlayerRecordKeysResponse) Validate

Validate validates this Models list player record keys response

type ModelsListTagsResponse

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

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

MarshalBinary interface implementation

func (*ModelsListTagsResponse) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ModelsListTagsResponse) Validate

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

Validate validates this Models list tags response

type ModelsPagination

type ModelsPagination struct {

	// first
	// Required: true
	First *string `json:"first"`

	// last
	// Required: true
	Last *string `json:"last"`

	// next
	// Required: true
	Next *string `json:"next"`

	// previous
	// Required: true
	Previous *string `json:"previous"`
}

ModelsPagination Models pagination

swagger:model Models pagination.

func (*ModelsPagination) MarshalBinary

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

MarshalBinary interface implementation

func (*ModelsPagination) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ModelsPagination) Validate

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

Validate validates this Models pagination

type ModelsPlayerBinaryRecordCreate

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

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

MarshalBinary interface implementation

func (*ModelsPlayerBinaryRecordCreate) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ModelsPlayerBinaryRecordCreate) Validate

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

Validate validates this Models player binary record create

type ModelsPlayerBinaryRecordMetadataPublicRequest

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

MarshalBinary interface implementation

func (*ModelsPlayerBinaryRecordMetadataPublicRequest) UnmarshalBinary

UnmarshalBinary interface implementation

func (*ModelsPlayerBinaryRecordMetadataPublicRequest) Validate

Validate validates this Models player binary record metadata public request

type ModelsPlayerBinaryRecordMetadataRequest

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"`

	// Tagging for player binary record
	Tags []string `json:"tags,omitempty"`
}

ModelsPlayerBinaryRecordMetadataRequest Models player binary record metadata request

swagger:model Models player binary record metadata request.

func (*ModelsPlayerBinaryRecordMetadataRequest) MarshalBinary

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

MarshalBinary interface implementation

func (*ModelsPlayerBinaryRecordMetadataRequest) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ModelsPlayerBinaryRecordMetadataRequest) Validate

Validate validates this Models player binary record metadata request

type ModelsPlayerBinaryRecordResponse

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"`

	// Tagging for player binary record
	Tags []string `json:"tags,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

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

MarshalBinary interface implementation

func (*ModelsPlayerBinaryRecordResponse) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ModelsPlayerBinaryRecordResponse) Validate

Validate validates this Models player binary record response

type ModelsPlayerRecordConcurrentUpdateResponse

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

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

MarshalBinary interface implementation

func (*ModelsPlayerRecordConcurrentUpdateResponse) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ModelsPlayerRecordConcurrentUpdateResponse) Validate

Validate validates this Models player record concurrent update response

type ModelsPlayerRecordKeyInfo

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

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

MarshalBinary interface implementation

func (*ModelsPlayerRecordKeyInfo) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ModelsPlayerRecordKeyInfo) Validate

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

Validate validates this Models player record key info

type ModelsPlayerRecordRequest

type ModelsPlayerRecordRequest interface{}

ModelsPlayerRecordRequest Models player record request

swagger:model Models player record request.

type ModelsPlayerRecordResponse

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"`

	// Tagging for the player record
	Tags []string `json:"tags,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

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

MarshalBinary interface implementation

func (*ModelsPlayerRecordResponse) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ModelsPlayerRecordResponse) Validate

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

Validate validates this Models player record response

type ModelsPlayerRecordSizeResponse

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

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

MarshalBinary interface implementation

func (*ModelsPlayerRecordSizeResponse) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ModelsPlayerRecordSizeResponse) Validate

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

Validate validates this Models player record size response

type ModelsPluginRequest

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

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

MarshalBinary interface implementation

func (*ModelsPluginRequest) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ModelsPluginRequest) Validate

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

Validate validates this Models plugin request

type ModelsPluginResponse

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

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

MarshalBinary interface implementation

func (*ModelsPluginResponse) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ModelsPluginResponse) Validate

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

Validate validates this Models plugin response

type ModelsPublicGameBinaryRecordCreate

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

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

MarshalBinary interface implementation

func (*ModelsPublicGameBinaryRecordCreate) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ModelsPublicGameBinaryRecordCreate) Validate

Validate validates this Models public game binary record create

type ModelsPublicPlayerBinaryRecordCreate

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

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

MarshalBinary interface implementation

func (*ModelsPublicPlayerBinaryRecordCreate) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ModelsPublicPlayerBinaryRecordCreate) Validate

Validate validates this Models public player binary record create

type ModelsResponseError

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

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

MarshalBinary interface implementation

func (*ModelsResponseError) TranslateToApiError

func (m *ModelsResponseError) TranslateToApiError() (*ApiError, error)

func (*ModelsResponseError) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ModelsResponseError) Validate

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

Validate validates this Models response error

type ModelsTTLConfigDTO

type ModelsTTLConfigDTO struct {

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

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

MarshalBinary interface implementation

func (*ModelsTTLConfigDTO) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ModelsTTLConfigDTO) Validate

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

Validate validates this Models TTL config DTO

type ModelsTagInfo

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

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

MarshalBinary interface implementation

func (*ModelsTagInfo) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ModelsTagInfo) Validate

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

Validate validates this Models tag info

type ModelsTagRequest

type ModelsTagRequest struct {

	// tag
	// Required: true
	Tag *string `json:"tag"`
}

ModelsTagRequest Models tag request

swagger:model Models tag request.

func (*ModelsTagRequest) MarshalBinary

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

MarshalBinary interface implementation

func (*ModelsTagRequest) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ModelsTagRequest) Validate

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

Validate validates this Models tag request

type ModelsUploadBinaryRecordRequest

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

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

MarshalBinary interface implementation

func (*ModelsUploadBinaryRecordRequest) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ModelsUploadBinaryRecordRequest) Validate

Validate validates this Models upload binary record request

type ModelsUploadBinaryRecordResponse

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

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

MarshalBinary interface implementation

func (*ModelsUploadBinaryRecordResponse) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ModelsUploadBinaryRecordResponse) Validate

Validate validates this Models upload binary record response

type ModelsUserKeyRequest

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

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

MarshalBinary interface implementation

func (*ModelsUserKeyRequest) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ModelsUserKeyRequest) Validate

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

Validate validates this Models user key request

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL