cloudsaveclientmodels

package
v0.6.1 Latest Latest
Warning

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

Go to latest
Published: Sep 23, 2021 License: MIT Imports: 5 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ModelsConcurrentRecordRequest

type ModelsConcurrentRecordRequest struct {

	// updated at
	// Required: true
	UpdatedAt *string `json:"updatedAt"`

	// value
	// Required: true
	Value interface{} `json:"value"`
}

ModelsConcurrentRecordRequest models concurrent record request

swagger:model models.ConcurrentRecordRequest

func (*ModelsConcurrentRecordRequest) MarshalBinary

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

MarshalBinary interface implementation

func (*ModelsConcurrentRecordRequest) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ModelsConcurrentRecordRequest) Validate

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

Validate validates this models concurrent record request

type ModelsGameRecord

type ModelsGameRecord struct {

	// created at
	// Required: true
	// Format: date-time
	CreatedAt *strfmt.DateTime `json:"created_at"`

	// key
	// Required: true
	Key *string `json:"key"`

	// namespace
	// Required: true
	Namespace *string `json:"namespace"`

	// updated at
	// Required: true
	// Format: date-time
	UpdatedAt *strfmt.DateTime `json:"updated_at"`

	// value
	// Required: true
	Value interface{} `json:"value"`
}

ModelsGameRecord models game record

swagger:model models.GameRecord

func (*ModelsGameRecord) MarshalBinary

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

MarshalBinary interface implementation

func (*ModelsGameRecord) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ModelsGameRecord) Validate

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

Validate validates this models game record

type ModelsGameRecordRequest

type ModelsGameRecordRequest map[string]string

ModelsGameRecordRequest models game record request

swagger:model models.GameRecordRequest

func (ModelsGameRecordRequest) Validate

func (m ModelsGameRecordRequest) Validate(formats strfmt.Registry) error

Validate validates this models game record request

type ModelsListGameRecordKeys

type ModelsListGameRecordKeys struct {

	// data
	// Required: true
	Data []string `json:"data"`

	// paging
	// Required: true
	Paging *ModelsPagination `json:"paging"`
}

ModelsListGameRecordKeys models list game record keys

swagger:model models.ListGameRecordKeys

func (*ModelsListGameRecordKeys) MarshalBinary

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

MarshalBinary interface implementation

func (*ModelsListGameRecordKeys) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ModelsListGameRecordKeys) Validate

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

Validate validates this models list game record keys

type ModelsListPlayerRecordKeys

type ModelsListPlayerRecordKeys struct {

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

	// paging
	// Required: true
	Paging *ModelsPagination `json:"paging"`
}

ModelsListPlayerRecordKeys List of player records key

swagger:model models.ListPlayerRecordKeys

func (*ModelsListPlayerRecordKeys) MarshalBinary

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

MarshalBinary interface implementation

func (*ModelsListPlayerRecordKeys) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ModelsListPlayerRecordKeys) Validate

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

Validate validates this models list player record keys

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 ModelsPlayerRecord

type ModelsPlayerRecord struct {

	// created at
	// Required: true
	// Format: date-time
	CreatedAt *strfmt.DateTime `json:"created_at"`

	// is public
	// Required: true
	IsPublic *bool `json:"is_public"`

	// key
	// Required: true
	Key *string `json:"key"`

	// namespace
	// Required: true
	Namespace *string `json:"namespace"`

	// updated at
	// Required: true
	// Format: date-time
	UpdatedAt *strfmt.DateTime `json:"updated_at"`

	// user id
	// Required: true
	UserID *string `json:"user_id"`

	// value
	// Required: true
	Value interface{} `json:"value"`
}

ModelsPlayerRecord models player record

swagger:model models.PlayerRecord

func (*ModelsPlayerRecord) MarshalBinary

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

MarshalBinary interface implementation

func (*ModelsPlayerRecord) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ModelsPlayerRecord) Validate

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

Validate validates this models player record

type ModelsPlayerRecordKey

type ModelsPlayerRecordKey struct {

	// key
	// Required: true
	Key *string `json:"key"`

	// user id
	// Required: true
	UserID *string `json:"user_id"`
}

ModelsPlayerRecordKey models player record key

swagger:model models.PlayerRecordKey

func (*ModelsPlayerRecordKey) MarshalBinary

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

MarshalBinary interface implementation

func (*ModelsPlayerRecordKey) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ModelsPlayerRecordKey) Validate

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

Validate validates this models player record key

type ModelsPlayerRecordRequest

type ModelsPlayerRecordRequest map[string]string

ModelsPlayerRecordRequest models player record request

swagger:model models.PlayerRecordRequest

func (ModelsPlayerRecordRequest) Validate

func (m ModelsPlayerRecordRequest) Validate(formats strfmt.Registry) error

Validate validates this models player record request

type ResponseError

type ResponseError struct {

	// error code
	// Required: true
	ErrorCode *int32 `json:"errorCode"`

	// error message
	// Required: true
	ErrorMessage *string `json:"errorMessage"`
}

ResponseError Error general response

swagger:model response.Error

func (*ResponseError) MarshalBinary

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

MarshalBinary interface implementation

func (*ResponseError) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ResponseError) Validate

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

Validate validates this response error

Jump to

Keyboard shortcuts

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