cloudsaveclientmodels

package
v0.1.0-alpha.8 Latest Latest
Warning

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

Go to latest
Published: Mar 13, 2024 License: MIT Imports: 6 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

This section is empty.

Functions

This section is empty.

Types

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

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

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

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

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

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

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

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

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

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