gametelemetryclientmodels

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jan 3, 2025 License: MIT Imports: 6 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

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 BaseErrorResponse

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

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

MarshalBinary interface implementation

func (*BaseErrorResponse) TranslateToApiError

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

func (*BaseErrorResponse) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*BaseErrorResponse) Validate

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

Validate validates this Base error response

type GetNamespaceEventResponse

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

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

MarshalBinary interface implementation

func (*GetNamespaceEventResponse) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*GetNamespaceEventResponse) Validate

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

type ListBaseResponseStr struct {

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

ListBaseResponseStr List base response str

swagger:model List base response str.

func (*ListBaseResponseStr) MarshalBinary

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

MarshalBinary interface implementation

func (*ListBaseResponseStr) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ListBaseResponseStr) Validate

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

Validate validates this List base response str

type PagedResponseGetNamespaceEventResponse

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

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

MarshalBinary interface implementation

func (*PagedResponseGetNamespaceEventResponse) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*PagedResponseGetNamespaceEventResponse) Validate

Validate validates this Paged response get namespace event response

type Paging

type Paging struct {

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

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

Paging Paging

swagger:model Paging.

func (*Paging) MarshalBinary

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

MarshalBinary interface implementation

func (*Paging) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*Paging) Validate

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

Validate validates this Paging

type PlayTimeResponse

type PlayTimeResponse struct {

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

PlayTimeResponse Play time response

swagger:model Play time response.

func (*PlayTimeResponse) MarshalBinary

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

MarshalBinary interface implementation

func (*PlayTimeResponse) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*PlayTimeResponse) Validate

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

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

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