Documentation
¶
Index ¶
- type Address
- type ChargerType
- type CheckinStatusType
- type Connection
- type ConnectionType
- type Country
- type CurrentType
- type DataProvider
- type DataProviderStatus
- type Evchargers
- type Operator
- type Poi
- type Position
- type ReferenceData
- type StatusType
- type SubmissionStatusType
- type UsageType
- type UserCommentType
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Address ¶
type Address struct {
Title string `bson:"Title" json:"Title"`
Latitude float64 `bson:"Latitude" json:"Latitude"`
Longitude float64 `bson:"Longitude" json:"Longitude"`
AddressLine1 string `bson:"AddressLine1" json:"AddressLine1"`
AddressLine2 string `bson:"AddressLine2" json:"AddressLine2"`
Town string `bson:"Town" json:"Town"`
StateOrProvince string `bson:"StateOrProvince" json:"StateOrProvince"`
AccessComments string `bson:"AccessComments" json:"AccessComments"`
Postcode string `bson:"Postcode" json:"Postcode"`
CountryID int32 `bson:"CountryID" json:"CountryID"`
Country Country `bson:"Country" json:"Country"`
}
type ChargerType ¶
type CheckinStatusType ¶
type Connection ¶
type Connection struct {
TypeID int32 `bson:"ConnectionTypeID" json:"ConnectionTypeID"`
Type ConnectionType `bson:"ConnectionType" json:"ConnectionType"`
StatusTypeID int32 `bson:"StatusTypeID" json:"StatusTypeID"`
StatusType StatusType `bson:"StatusType" json:"StatusType"`
LevelID int32 `bson:"LevelID" json:"LevelID"`
Level ChargerType `bson:"Level" json:"Level"`
Amps float64 `bson:"Amps" json:"Amps"`
Voltage float64 `bson:"Voltage" json:"Voltage"`
Power float64 `bson:"PowerKW" json:"PowerKW"`
CurrentTypeID int32 `bson:"CurrentTypeID" json:"CurrentTypeID"`
CurrentType CurrentType `bson:"CurrentType" json:"CurrentType"`
Quantity int32 `bson:"Quantity" json:"Quantity"`
Reference string `bson:"Reference" json:"Reference"`
}
type ConnectionType ¶
type CurrentType ¶
type DataProvider ¶
type DataProvider struct {
ID int32 `bson:"ID" json:"ID"`
Title string `bson:"Title" json:"Title"`
WebsiteURL string `bson:"WebsiteURL" json:"WebsiteURL"`
Comments string `bson:"Comments" json:"Comments"`
DataProviderStatus DataProviderStatus `bson:"DataProviderStatusType" json:"DataProviderStatusType"`
IsOpenDataLicensed bool `bson:"IsOpenDataLicensed" json:"IsOpenDataLicensed"`
License string `bson:"License" json:"License"`
}
type DataProviderStatus ¶
type Evchargers ¶
type Evchargers struct {
// contains filtered or unexported fields
}
func New ¶
func New() *Evchargers
func (*Evchargers) ReferenceData ¶
func (e *Evchargers) ReferenceData(ctx context.Context, request *evchargers.ReferenceDataRequest, response *evchargers.ReferenceDataResponse) error
func (*Evchargers) Search ¶
func (e *Evchargers) Search(ctx context.Context, request *evchargers.SearchRequest, response *evchargers.SearchResponse) error
type Operator ¶
type Operator struct {
ID int32 `bson:"ID" json:"ID"`
Title string `bson:"Title" json:"Title"`
WebsiteURL string `bson:"WebsiteURL" json:"WebsiteURL"`
Comments string `bson:"Comments" json:"Comments"`
PhonePrimary string `bson:"PhonePrimaryContact" json:"PhonePrimaryContact"`
PhoneSecondary string `bson:"PhoneSecondaryContact" json:"PhoneSecondaryContact"`
IsPrivateIndividual bool `bson:"IsPrivateIndividual" json:"IsPrivateIndividual"`
ContactEmail string `bson:"ContactEmail" json:"ContactEmail"`
FaultReportEmail string `bson:"FaultReportEmail" json:"FaultReportEmail"`
}
type Poi ¶
type Poi struct {
ID int32 `bson:"ID" json:"ID"`
DataProviderID int32 `bson:"DataProviderID" json:"DataProviderID"`
DataProvider DataProvider `bson:"DataProvider" json:"DataProvider"`
OperatorID int32 `bson:"OperatorID" json:"OperatorID"`
OperatorInfo Operator `bson:"OperatorInfo" json:"OperatorInfo"`
UsageTypeID int32 `bson:"UsageTypeID" json:"UsageTypeID"`
UsageType UsageType `bson:"UsageType" json:"UsageType"`
Cost string `bson:"UsageCost" json:"UsageCost"`
Address Address `bson:"AddressInfo" json:"AddressInfo"`
Connections []Connection `bson:"Connections" json:"Connections"`
NumberOfPoints int32 `bson:"NumberOfPoints" json:"NumberOfPoints"`
GeneralComments string `bson:"GeneralComments" json:"GeneralComments"`
StatusTypeID int32 `bson:"StatusTypeID" json:"StatusTypeID"`
StatusType StatusType `bson:"StatusType" json:"StatusType"`
SpatialPosition Position `bson:"SpatialPosition" json:"SpatialPosition"`
}
type ReferenceData ¶
type ReferenceData struct {
ChargerTypes []ChargerType `bson:"ChargerTypes" json:"ChargerTypes"`
ConnectionTypes []ConnectionType `bson:"ConnectionTypes" json:"ConnectionTypes"`
CurrentTypes []CurrentType `bson:"CurrentTypes" json:"CurrentTypes"`
Countries []Country `bson:"Countries" json:"Countries"`
DataProviders []DataProvider `bson:"DataProviders" json:"DataProviders"`
Operators []Operator `bson:"Operators" json:"Operators"`
StatusTypes []StatusType `bson:"StatusTypes" json:"StatusTypes"`
UsageTypes []UsageType `bson:"UsageTypes" json:"UsageTypes"`
UserCommentTypes []UserCommentType `bson:"UserCommentTypes" json:"UserCommentTypes"`
CheckinStatusTypes []CheckinStatusType `bson:"CheckinStatusTypes" json:"CheckinStatusTypes"`
SubmissionStatusTypes []SubmissionStatusType `bson:"SubmissionStatusTypes" json:"SubmissionStatusTypes"`
}
type StatusType ¶
type SubmissionStatusType ¶
type UsageType ¶
type UsageType struct {
ID int32 `bson:"ID" json:"ID"`
Title string `bson:"Title" json:"Title"`
IsPayAtLocation bool `bson:"IsPayAtLocation" json:"IsPayAtLocation"`
IsMembershipRequired bool `bson:"IsMembershipRequired" json:"IsMembershipRequired"`
IsAccessKeyRequired bool `bson:"IsAccessKeyRequired" json:"IsAccessKeyRequired"`
}
type UserCommentType ¶
Click to show internal directories.
Click to hide internal directories.