models

package
v0.1.5 Latest Latest
Warning

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

Go to latest
Published: Aug 24, 2023 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PowertrainType

type PowertrainType string
const (
	ICE  PowertrainType = "ICE"
	HEV  PowertrainType = "HEV"
	PHEV PowertrainType = "PHEV"
	BEV  PowertrainType = "BEV"
	FCEV PowertrainType = "FCEV"
)

func (PowertrainType) String

func (p PowertrainType) String() string

func (*PowertrainType) UnmarshalJSON

func (p *PowertrainType) UnmarshalJSON(b []byte) error

type UserDeviceMetadata

type UserDeviceMetadata struct {
	PowertrainType          *PowertrainType `json:"powertrainType,omitempty"`
	ElasticDefinitionSynced bool            `json:"elasticDefinitionSynced,omitempty"`
	ElasticRegionSynced     bool            `json:"elasticRegionSynced,omitempty"`
	PostalCode              *string         `json:"postal_code"`
	GeoDecodedCountry       *string         `json:"geoDecodedCountry"`
	GeoDecodedStateProv     *string         `json:"geoDecodedStateProv"`
	// CANProtocol is the protocol that was detected by edge-network from the autopi.
	CANProtocol *string `json:"canProtocol,omitempty"`
}

Jump to

Keyboard shortcuts

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