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

gametelemetryclientmodels

package
v0.89.1 Latest Latest
Warning

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

Go to latest
Published: Aug 27, 2026 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BaseErrorResponse added in v0.66.0

type BaseErrorResponse struct {

	// errorcode
	// Required: true
	ErrorCode *int64 `json:"errorCode"`

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

BaseErrorResponse Base error response

swagger:model Base error response.

func (*BaseErrorResponse) MarshalBinary added in v0.66.0

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

MarshalBinary interface implementation

func (*BaseErrorResponse) UnmarshalBinary added in v0.66.0

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

UnmarshalBinary interface implementation

func (*BaseErrorResponse) Validate added in v0.66.0

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

Validate validates this Base error response

type GetNamespaceEventResponse added in v0.66.0

type GetNamespaceEventResponse struct {

	// eventid
	// Required: true
	EventID *string `json:"EventId"`

	// eventname
	// Required: true
	EventName *string `json:"EventName"`

	// eventnamespace
	// Required: true
	EventNamespace *string `json:"EventNamespace"`

	// eventtimestamp
	// Required: true
	EventTimestamp *string `json:"EventTimestamp"`

	// flightid
	FlightID string `json:"FlightId,omitempty"`

	// payload
	Payload interface{} `json:"Payload,omitempty"`

	// userid
	UserID string `json:"UserId,omitempty"`

	// usernamespace
	UserNamespace string `json:"UserNamespace,omitempty"`
}

GetNamespaceEventResponse Get namespace event response

swagger:model Get namespace event response.

func (*GetNamespaceEventResponse) MarshalBinary added in v0.66.0

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

MarshalBinary interface implementation

func (*GetNamespaceEventResponse) UnmarshalBinary added in v0.66.0

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

UnmarshalBinary interface implementation

func (*GetNamespaceEventResponse) Validate added in v0.66.0

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

Validate validates this Get namespace event response

type HTTPValidationError

type HTTPValidationError struct {

	// detail
	Detail []*ValidationError `json:"detail,omitempty"`
}

HTTPValidationError HTTP validation error

swagger:model HTTP validation error.

func (*HTTPValidationError) MarshalBinary

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

MarshalBinary interface implementation

func (*HTTPValidationError) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*HTTPValidationError) Validate

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

Validate validates this HTTP validation error

type ListBaseResponseStr added in v0.66.0

type ListBaseResponseStr struct {

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

ListBaseResponseStr List base response str

swagger:model List base response str.

func (*ListBaseResponseStr) MarshalBinary added in v0.66.0

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

MarshalBinary interface implementation

func (*ListBaseResponseStr) UnmarshalBinary added in v0.66.0

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

UnmarshalBinary interface implementation

func (*ListBaseResponseStr) Validate added in v0.66.0

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

Validate validates this List base response str

type PagedResponseGetNamespaceEventResponse added in v0.66.0

type PagedResponseGetNamespaceEventResponse struct {

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

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

PagedResponseGetNamespaceEventResponse Paged response get namespace event response

swagger:model Paged response get namespace event response.

func (*PagedResponseGetNamespaceEventResponse) MarshalBinary added in v0.66.0

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

MarshalBinary interface implementation

func (*PagedResponseGetNamespaceEventResponse) UnmarshalBinary added in v0.66.0

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

UnmarshalBinary interface implementation

func (*PagedResponseGetNamespaceEventResponse) Validate added in v0.66.0

Validate validates this Paged response get namespace event response

type Paging added in v0.69.0

type Paging struct {

	// next
	Next string `json:"next,omitempty"`

	// previous
	Previous string `json:"previous,omitempty"`
}

Paging Paging

swagger:model Paging.

func (*Paging) MarshalBinary added in v0.69.0

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

MarshalBinary interface implementation

func (*Paging) UnmarshalBinary added in v0.69.0

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

UnmarshalBinary interface implementation

func (*Paging) Validate added in v0.69.0

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

Validate validates this Paging

type PlayTimeResponse added in v0.66.0

type PlayTimeResponse struct {

	// total_playtime
	// Required: true
	TotalPlaytime *float64 `json:"total_playtime"`
}

PlayTimeResponse Play time response

swagger:model Play time response.

func (*PlayTimeResponse) MarshalBinary added in v0.66.0

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

MarshalBinary interface implementation

func (*PlayTimeResponse) UnmarshalBinary added in v0.66.0

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

UnmarshalBinary interface implementation

func (*PlayTimeResponse) Validate added in v0.66.0

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

Validate validates this Play time response

type TelemetryBody

type TelemetryBody struct {

	// clienttimestamp
	// Format: date-time
	ClientTimestamp *strfmt.DateTime `json:"ClientTimestamp,omitempty"`

	// devicetype
	DeviceType string `json:"DeviceType,omitempty"`

	// Adding this `EventID` field in the request body does not override the `EventID` generated by server which is saved in the data lake
	EventID string `json:"EventId,omitempty"`

	// eventname
	// Required: true
	EventName *string `json:"EventName"`

	// eventnamespace
	// Required: true
	EventNamespace *string `json:"EventNamespace"`

	// Adding this `EventTimestamp` field in the request body does not override the `EventTimestamp` generated by server which is saved in the data lake. To add specific timestamp of your telemetry data, please add it to ClientTimestamp field OR a new subfield in the `payload` field
	// Format: date-time
	EventTimestamp *strfmt.DateTime `json:"EventTimestamp,omitempty"`

	// payload
	// Required: true
	Payload interface{} `json:"Payload"`
}

TelemetryBody Telemetry body

swagger:model Telemetry body.

func (*TelemetryBody) MarshalBinary

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

MarshalBinary interface implementation

func (*TelemetryBody) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*TelemetryBody) Validate

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

Validate validates this Telemetry body

type ValidationError

type ValidationError struct {

	// loc
	// Required: true
	Loc []string `json:"loc"`

	// msg
	// Required: true
	Msg *string `json:"msg"`

	// type
	// Required: true
	Type *string `json:"type"`
}

ValidationError Validation error

swagger:model Validation error.

func (*ValidationError) MarshalBinary

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

MarshalBinary interface implementation

func (*ValidationError) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ValidationError) Validate

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

Validate validates this Validation error

Jump to

Keyboard shortcuts

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