gametelemetryclientmodels

package
v0.1.0-alpha.5 Latest Latest
Warning

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

Go to latest
Published: May 8, 2024 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

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

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