evchargers

package
v0.24.0 Latest Latest
Warning

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

Go to latest
Published: Jan 14, 2022 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_proto_evchargers_proto protoreflect.FileDescriptor

Functions

func NewEvchargersEndpoints

func NewEvchargersEndpoints() []*api.Endpoint

func RegisterEvchargersHandler

func RegisterEvchargersHandler(s server.Server, hdlr EvchargersHandler, opts ...server.HandlerOption) error

Types

type Address

type Address struct {
	Location        *Coordinates `protobuf:"bytes,1,opt,name=location,proto3" json:"location,omitempty"`
	Title           string       `protobuf:"bytes,2,opt,name=title,proto3" json:"title,omitempty"`
	AddressLine_1   string       `protobuf:"bytes,3,opt,name=address_line_1,json=addressLine1,proto3" json:"address_line_1,omitempty"`
	AddressLine_2   string       `protobuf:"bytes,4,opt,name=address_line_2,json=addressLine2,proto3" json:"address_line_2,omitempty"`
	Town            string       `protobuf:"bytes,5,opt,name=town,proto3" json:"town,omitempty"`
	StateOrProvince string       `protobuf:"bytes,6,opt,name=state_or_province,json=stateOrProvince,proto3" json:"state_or_province,omitempty"`
	// Any comments about how to access the charger
	AccessComments string   `protobuf:"bytes,7,opt,name=access_comments,json=accessComments,proto3" json:"access_comments,omitempty"`
	Postcode       string   `protobuf:"bytes,8,opt,name=postcode,proto3" json:"postcode,omitempty"`
	CountryId      string   `protobuf:"bytes,9,opt,name=country_id,json=countryId,proto3" json:"country_id,omitempty"`
	Country        *Country `protobuf:"bytes,10,opt,name=country,proto3" json:"country,omitempty"`
	LatLng         string   `protobuf:"bytes,11,opt,name=lat_lng,json=latLng,proto3" json:"lat_lng,omitempty"`
	// contains filtered or unexported fields
}

func (*Address) Descriptor deprecated

func (*Address) Descriptor() ([]byte, []int)

Deprecated: Use Address.ProtoReflect.Descriptor instead.

func (*Address) GetAccessComments

func (x *Address) GetAccessComments() string

func (*Address) GetAddressLine_1

func (x *Address) GetAddressLine_1() string

func (*Address) GetAddressLine_2

func (x *Address) GetAddressLine_2() string

func (*Address) GetCountry

func (x *Address) GetCountry() *Country

func (*Address) GetCountryId

func (x *Address) GetCountryId() string

func (*Address) GetLatLng

func (x *Address) GetLatLng() string

func (*Address) GetLocation

func (x *Address) GetLocation() *Coordinates

func (*Address) GetPostcode

func (x *Address) GetPostcode() string

func (*Address) GetStateOrProvince

func (x *Address) GetStateOrProvince() string

func (*Address) GetTitle

func (x *Address) GetTitle() string

func (*Address) GetTown

func (x *Address) GetTown() string

func (*Address) ProtoMessage

func (*Address) ProtoMessage()

func (*Address) ProtoReflect

func (x *Address) ProtoReflect() protoreflect.Message

func (*Address) Reset

func (x *Address) Reset()

func (*Address) String

func (x *Address) String() string

type BoundingBox

type BoundingBox struct {
	BottomLeft *Coordinates `protobuf:"bytes,1,opt,name=bottom_left,json=bottomLeft,proto3" json:"bottom_left,omitempty"`
	TopRight   *Coordinates `protobuf:"bytes,2,opt,name=top_right,json=topRight,proto3" json:"top_right,omitempty"`
	// contains filtered or unexported fields
}

Box to search (top left and bottom right coordinates)

func (*BoundingBox) Descriptor deprecated

func (*BoundingBox) Descriptor() ([]byte, []int)

Deprecated: Use BoundingBox.ProtoReflect.Descriptor instead.

func (*BoundingBox) GetBottomLeft

func (x *BoundingBox) GetBottomLeft() *Coordinates

func (*BoundingBox) GetTopRight

func (x *BoundingBox) GetTopRight() *Coordinates

func (*BoundingBox) ProtoMessage

func (*BoundingBox) ProtoMessage()

func (*BoundingBox) ProtoReflect

func (x *BoundingBox) ProtoReflect() protoreflect.Message

func (*BoundingBox) Reset

func (x *BoundingBox) Reset()

func (*BoundingBox) String

func (x *BoundingBox) String() string

type ChargerType

type ChargerType struct {
	Id       string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Title    string `protobuf:"bytes,2,opt,name=title,proto3" json:"title,omitempty"`
	Comments string `protobuf:"bytes,3,opt,name=comments,proto3" json:"comments,omitempty"`
	// Is this 40KW+
	IsFastChargeCapable bool `protobuf:"varint,4,opt,name=is_fast_charge_capable,json=isFastChargeCapable,proto3" json:"is_fast_charge_capable,omitempty"`
	// contains filtered or unexported fields
}

func (*ChargerType) Descriptor deprecated

func (*ChargerType) Descriptor() ([]byte, []int)

Deprecated: Use ChargerType.ProtoReflect.Descriptor instead.

func (*ChargerType) GetComments

func (x *ChargerType) GetComments() string

func (*ChargerType) GetId

func (x *ChargerType) GetId() string

func (*ChargerType) GetIsFastChargeCapable

func (x *ChargerType) GetIsFastChargeCapable() bool

func (*ChargerType) GetTitle

func (x *ChargerType) GetTitle() string

func (*ChargerType) ProtoMessage

func (*ChargerType) ProtoMessage()

func (*ChargerType) ProtoReflect

func (x *ChargerType) ProtoReflect() protoreflect.Message

func (*ChargerType) Reset

func (x *ChargerType) Reset()

func (*ChargerType) String

func (x *ChargerType) String() string

type CheckinStatusType

type CheckinStatusType struct {
	Id          string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Title       string `protobuf:"bytes,2,opt,name=title,proto3" json:"title,omitempty"`
	IsPositive  bool   `protobuf:"varint,3,opt,name=is_positive,json=isPositive,proto3" json:"is_positive,omitempty"`
	IsAutomated bool   `protobuf:"varint,4,opt,name=is_automated,json=isAutomated,proto3" json:"is_automated,omitempty"`
	// contains filtered or unexported fields
}

func (*CheckinStatusType) Descriptor deprecated

func (*CheckinStatusType) Descriptor() ([]byte, []int)

Deprecated: Use CheckinStatusType.ProtoReflect.Descriptor instead.

func (*CheckinStatusType) GetId

func (x *CheckinStatusType) GetId() string

func (*CheckinStatusType) GetIsAutomated

func (x *CheckinStatusType) GetIsAutomated() bool

func (*CheckinStatusType) GetIsPositive

func (x *CheckinStatusType) GetIsPositive() bool

func (*CheckinStatusType) GetTitle

func (x *CheckinStatusType) GetTitle() string

func (*CheckinStatusType) ProtoMessage

func (*CheckinStatusType) ProtoMessage()

func (*CheckinStatusType) ProtoReflect

func (x *CheckinStatusType) ProtoReflect() protoreflect.Message

func (*CheckinStatusType) Reset

func (x *CheckinStatusType) Reset()

func (*CheckinStatusType) String

func (x *CheckinStatusType) String() string

type Connection

type Connection struct {

	// The ID of the connection type
	ConnectionTypeId string `protobuf:"bytes,1,opt,name=connection_type_id,json=connectionTypeId,proto3" json:"connection_type_id,omitempty"`
	Reference        string `protobuf:"bytes,2,opt,name=reference,proto3" json:"reference,omitempty"`
	// The level of charging power available
	LevelId string `protobuf:"bytes,4,opt,name=level_id,json=levelId,proto3" json:"level_id,omitempty"`
	// The amps offered
	Amps float32 `protobuf:"fixed32,5,opt,name=amps,proto3" json:"amps,omitempty"`
	// The voltage offered
	Voltage float32 `protobuf:"fixed32,6,opt,name=voltage,proto3" json:"voltage,omitempty"`
	// The power in KW
	Power float32 `protobuf:"fixed32,7,opt,name=power,proto3" json:"power,omitempty"`
	// The current
	Current        string          `protobuf:"bytes,8,opt,name=current,proto3" json:"current,omitempty"`
	ConnectionType *ConnectionType `protobuf:"bytes,9,opt,name=connection_type,json=connectionType,proto3" json:"connection_type,omitempty"`
	Level          *ChargerType    `protobuf:"bytes,10,opt,name=level,proto3" json:"level,omitempty"`
	// contains filtered or unexported fields
}

func (*Connection) Descriptor deprecated

func (*Connection) Descriptor() ([]byte, []int)

Deprecated: Use Connection.ProtoReflect.Descriptor instead.

func (*Connection) GetAmps

func (x *Connection) GetAmps() float32

func (*Connection) GetConnectionType

func (x *Connection) GetConnectionType() *ConnectionType

func (*Connection) GetConnectionTypeId

func (x *Connection) GetConnectionTypeId() string

func (*Connection) GetCurrent

func (x *Connection) GetCurrent() string

func (*Connection) GetLevel

func (x *Connection) GetLevel() *ChargerType

func (*Connection) GetLevelId

func (x *Connection) GetLevelId() string

func (*Connection) GetPower

func (x *Connection) GetPower() float32

func (*Connection) GetReference

func (x *Connection) GetReference() string

func (*Connection) GetVoltage

func (x *Connection) GetVoltage() float32

func (*Connection) ProtoMessage

func (*Connection) ProtoMessage()

func (*Connection) ProtoReflect

func (x *Connection) ProtoReflect() protoreflect.Message

func (*Connection) Reset

func (x *Connection) Reset()

func (*Connection) String

func (x *Connection) String() string

type ConnectionType

type ConnectionType struct {
	Id             string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Title          string `protobuf:"bytes,2,opt,name=title,proto3" json:"title,omitempty"`
	FormalName     string `protobuf:"bytes,3,opt,name=formal_name,json=formalName,proto3" json:"formal_name,omitempty"`
	IsDiscontinued bool   `protobuf:"varint,4,opt,name=is_discontinued,json=isDiscontinued,proto3" json:"is_discontinued,omitempty"`
	IsObsolete     bool   `protobuf:"varint,5,opt,name=is_obsolete,json=isObsolete,proto3" json:"is_obsolete,omitempty"`
	// contains filtered or unexported fields
}

func (*ConnectionType) Descriptor deprecated

func (*ConnectionType) Descriptor() ([]byte, []int)

Deprecated: Use ConnectionType.ProtoReflect.Descriptor instead.

func (*ConnectionType) GetFormalName

func (x *ConnectionType) GetFormalName() string

func (*ConnectionType) GetId

func (x *ConnectionType) GetId() string

func (*ConnectionType) GetIsDiscontinued

func (x *ConnectionType) GetIsDiscontinued() bool

func (*ConnectionType) GetIsObsolete

func (x *ConnectionType) GetIsObsolete() bool

func (*ConnectionType) GetTitle

func (x *ConnectionType) GetTitle() string

func (*ConnectionType) ProtoMessage

func (*ConnectionType) ProtoMessage()

func (*ConnectionType) ProtoReflect

func (x *ConnectionType) ProtoReflect() protoreflect.Message

func (*ConnectionType) Reset

func (x *ConnectionType) Reset()

func (*ConnectionType) String

func (x *ConnectionType) String() string

type Coordinates

type Coordinates struct {
	Latitude  float32 `protobuf:"fixed32,1,opt,name=latitude,proto3" json:"latitude,omitempty"`
	Longitude float32 `protobuf:"fixed32,2,opt,name=longitude,proto3" json:"longitude,omitempty"`
	// contains filtered or unexported fields
}

func (*Coordinates) Descriptor deprecated

func (*Coordinates) Descriptor() ([]byte, []int)

Deprecated: Use Coordinates.ProtoReflect.Descriptor instead.

func (*Coordinates) GetLatitude

func (x *Coordinates) GetLatitude() float32

func (*Coordinates) GetLongitude

func (x *Coordinates) GetLongitude() float32

func (*Coordinates) ProtoMessage

func (*Coordinates) ProtoMessage()

func (*Coordinates) ProtoReflect

func (x *Coordinates) ProtoReflect() protoreflect.Message

func (*Coordinates) Reset

func (x *Coordinates) Reset()

func (*Coordinates) String

func (x *Coordinates) String() string

type Country

type Country struct {
	Id            string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Title         string `protobuf:"bytes,2,opt,name=title,proto3" json:"title,omitempty"`
	IsoCode       string `protobuf:"bytes,3,opt,name=iso_code,json=isoCode,proto3" json:"iso_code,omitempty"`
	ContinentCode string `protobuf:"bytes,4,opt,name=continent_code,json=continentCode,proto3" json:"continent_code,omitempty"`
	// contains filtered or unexported fields
}

func (*Country) Descriptor deprecated

func (*Country) Descriptor() ([]byte, []int)

Deprecated: Use Country.ProtoReflect.Descriptor instead.

func (*Country) GetContinentCode

func (x *Country) GetContinentCode() string

func (*Country) GetId

func (x *Country) GetId() string

func (*Country) GetIsoCode

func (x *Country) GetIsoCode() string

func (*Country) GetTitle

func (x *Country) GetTitle() string

func (*Country) ProtoMessage

func (*Country) ProtoMessage()

func (*Country) ProtoReflect

func (x *Country) ProtoReflect() protoreflect.Message

func (*Country) Reset

func (x *Country) Reset()

func (*Country) String

func (x *Country) String() string

type CurrentType

type CurrentType struct {
	Id          string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Title       string `protobuf:"bytes,2,opt,name=title,proto3" json:"title,omitempty"`
	Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
	// contains filtered or unexported fields
}

func (*CurrentType) Descriptor deprecated

func (*CurrentType) Descriptor() ([]byte, []int)

Deprecated: Use CurrentType.ProtoReflect.Descriptor instead.

func (*CurrentType) GetDescription

func (x *CurrentType) GetDescription() string

func (*CurrentType) GetId

func (x *CurrentType) GetId() string

func (*CurrentType) GetTitle

func (x *CurrentType) GetTitle() string

func (*CurrentType) ProtoMessage

func (*CurrentType) ProtoMessage()

func (*CurrentType) ProtoReflect

func (x *CurrentType) ProtoReflect() protoreflect.Message

func (*CurrentType) Reset

func (x *CurrentType) Reset()

func (*CurrentType) String

func (x *CurrentType) String() string

type DataProvider

type DataProvider struct {
	Id                     string                  `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Title                  string                  `protobuf:"bytes,2,opt,name=title,proto3" json:"title,omitempty"`
	Website                string                  `protobuf:"bytes,3,opt,name=website,proto3" json:"website,omitempty"`
	Comments               string                  `protobuf:"bytes,4,opt,name=comments,proto3" json:"comments,omitempty"`
	DataProviderStatusType *DataProviderStatusType `` /* 131-byte string literal not displayed */
	// How is this data licensed
	License string `protobuf:"bytes,6,opt,name=license,proto3" json:"license,omitempty"`
	// contains filtered or unexported fields
}

func (*DataProvider) Descriptor deprecated

func (*DataProvider) Descriptor() ([]byte, []int)

Deprecated: Use DataProvider.ProtoReflect.Descriptor instead.

func (*DataProvider) GetComments

func (x *DataProvider) GetComments() string

func (*DataProvider) GetDataProviderStatusType

func (x *DataProvider) GetDataProviderStatusType() *DataProviderStatusType

func (*DataProvider) GetId

func (x *DataProvider) GetId() string

func (*DataProvider) GetLicense

func (x *DataProvider) GetLicense() string

func (*DataProvider) GetTitle

func (x *DataProvider) GetTitle() string

func (*DataProvider) GetWebsite

func (x *DataProvider) GetWebsite() string

func (*DataProvider) ProtoMessage

func (*DataProvider) ProtoMessage()

func (*DataProvider) ProtoReflect

func (x *DataProvider) ProtoReflect() protoreflect.Message

func (*DataProvider) Reset

func (x *DataProvider) Reset()

func (*DataProvider) String

func (x *DataProvider) String() string

type DataProviderStatusType

type DataProviderStatusType struct {
	Id                string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Title             string `protobuf:"bytes,2,opt,name=title,proto3" json:"title,omitempty"`
	IsProviderEnabled bool   `protobuf:"varint,3,opt,name=is_provider_enabled,json=isProviderEnabled,proto3" json:"is_provider_enabled,omitempty"`
	// contains filtered or unexported fields
}

func (*DataProviderStatusType) Descriptor deprecated

func (*DataProviderStatusType) Descriptor() ([]byte, []int)

Deprecated: Use DataProviderStatusType.ProtoReflect.Descriptor instead.

func (*DataProviderStatusType) GetId

func (x *DataProviderStatusType) GetId() string

func (*DataProviderStatusType) GetIsProviderEnabled

func (x *DataProviderStatusType) GetIsProviderEnabled() bool

func (*DataProviderStatusType) GetTitle

func (x *DataProviderStatusType) GetTitle() string

func (*DataProviderStatusType) ProtoMessage

func (*DataProviderStatusType) ProtoMessage()

func (*DataProviderStatusType) ProtoReflect

func (x *DataProviderStatusType) ProtoReflect() protoreflect.Message

func (*DataProviderStatusType) Reset

func (x *DataProviderStatusType) Reset()

func (*DataProviderStatusType) String

func (x *DataProviderStatusType) String() string

type EvchargersHandler

type EvchargersHandler interface {
	Search(context.Context, *SearchRequest, *SearchResponse) error
	ReferenceData(context.Context, *ReferenceDataRequest, *ReferenceDataResponse) error
}

type EvchargersService

type EvchargersService interface {
	Search(ctx context.Context, in *SearchRequest, opts ...client.CallOption) (*SearchResponse, error)
	ReferenceData(ctx context.Context, in *ReferenceDataRequest, opts ...client.CallOption) (*ReferenceDataResponse, error)
}

func NewEvchargersService

func NewEvchargersService(name string, c client.Client) EvchargersService

type Operator

type Operator struct {
	Id       string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Title    string `protobuf:"bytes,2,opt,name=title,proto3" json:"title,omitempty"`
	Website  string `protobuf:"bytes,3,opt,name=website,proto3" json:"website,omitempty"`
	Comments string `protobuf:"bytes,4,opt,name=comments,proto3" json:"comments,omitempty"`
	// Is this operator a private individual vs a company
	IsPrivateIndividual bool   `protobuf:"varint,5,opt,name=is_private_individual,json=isPrivateIndividual,proto3" json:"is_private_individual,omitempty"`
	ContactEmail        string `protobuf:"bytes,6,opt,name=contact_email,json=contactEmail,proto3" json:"contact_email,omitempty"`
	PhonePrimary        string `protobuf:"bytes,7,opt,name=phone_primary,json=phonePrimary,proto3" json:"phone_primary,omitempty"`
	PhoneSecondary      string `protobuf:"bytes,8,opt,name=phone_secondary,json=phoneSecondary,proto3" json:"phone_secondary,omitempty"`
	FaultReportEmail    string `protobuf:"bytes,9,opt,name=fault_report_email,json=faultReportEmail,proto3" json:"fault_report_email,omitempty"`
	// contains filtered or unexported fields
}

func (*Operator) Descriptor deprecated

func (*Operator) Descriptor() ([]byte, []int)

Deprecated: Use Operator.ProtoReflect.Descriptor instead.

func (*Operator) GetComments

func (x *Operator) GetComments() string

func (*Operator) GetContactEmail

func (x *Operator) GetContactEmail() string

func (*Operator) GetFaultReportEmail

func (x *Operator) GetFaultReportEmail() string

func (*Operator) GetId

func (x *Operator) GetId() string

func (*Operator) GetIsPrivateIndividual

func (x *Operator) GetIsPrivateIndividual() bool

func (*Operator) GetPhonePrimary

func (x *Operator) GetPhonePrimary() string

func (*Operator) GetPhoneSecondary

func (x *Operator) GetPhoneSecondary() string

func (*Operator) GetTitle

func (x *Operator) GetTitle() string

func (*Operator) GetWebsite

func (x *Operator) GetWebsite() string

func (*Operator) ProtoMessage

func (*Operator) ProtoMessage()

func (*Operator) ProtoReflect

func (x *Operator) ProtoReflect() protoreflect.Message

func (*Operator) Reset

func (x *Operator) Reset()

func (*Operator) String

func (x *Operator) String() string

type Poi

type Poi struct {

	// The ID of the charger
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// The ID of the data provider
	DataProviderId string `protobuf:"bytes,2,opt,name=data_provider_id,json=dataProviderId,proto3" json:"data_provider_id,omitempty"`
	// The ID of the operator of the charger
	OperatorId string `protobuf:"bytes,3,opt,name=operator_id,json=operatorId,proto3" json:"operator_id,omitempty"`
	// The type of usage for this charger point (is it public, membership required, etc)
	UsageTypeId string `protobuf:"bytes,4,opt,name=usage_type_id,json=usageTypeId,proto3" json:"usage_type_id,omitempty"`
	// The address
	Address *Address `protobuf:"bytes,5,opt,name=address,proto3" json:"address,omitempty"`
	// The connections available at this charge point
	Connections []*Connection `protobuf:"bytes,6,rep,name=connections,proto3" json:"connections,omitempty"`
	// The number of charging points
	NumPoints int64 `protobuf:"varint,7,opt,name=num_points,json=numPoints,proto3" json:"num_points,omitempty"`
	// The cost of charging
	Cost string `protobuf:"bytes,8,opt,name=cost,proto3" json:"cost,omitempty"`
	// The operator
	Operator *Operator `protobuf:"bytes,10,opt,name=operator,proto3" json:"operator,omitempty"`
	// The type of usage
	UsageType *UsageType `protobuf:"bytes,11,opt,name=usage_type,json=usageType,proto3" json:"usage_type,omitempty"`
	// contains filtered or unexported fields
}

func (*Poi) Descriptor deprecated

func (*Poi) Descriptor() ([]byte, []int)

Deprecated: Use Poi.ProtoReflect.Descriptor instead.

func (*Poi) GetAddress

func (x *Poi) GetAddress() *Address

func (*Poi) GetConnections

func (x *Poi) GetConnections() []*Connection

func (*Poi) GetCost

func (x *Poi) GetCost() string

func (*Poi) GetDataProviderId

func (x *Poi) GetDataProviderId() string

func (*Poi) GetId

func (x *Poi) GetId() string

func (*Poi) GetNumPoints

func (x *Poi) GetNumPoints() int64

func (*Poi) GetOperator

func (x *Poi) GetOperator() *Operator

func (*Poi) GetOperatorId

func (x *Poi) GetOperatorId() string

func (*Poi) GetUsageType

func (x *Poi) GetUsageType() *UsageType

func (*Poi) GetUsageTypeId

func (x *Poi) GetUsageTypeId() string

func (*Poi) ProtoMessage

func (*Poi) ProtoMessage()

func (*Poi) ProtoReflect

func (x *Poi) ProtoReflect() protoreflect.Message

func (*Poi) Reset

func (x *Poi) Reset()

func (*Poi) String

func (x *Poi) String() string

type ReferenceDataRequest

type ReferenceDataRequest struct {
	// contains filtered or unexported fields
}

Retrieve reference data as used by this API and in conjunction with the Search endpoint

func (*ReferenceDataRequest) Descriptor deprecated

func (*ReferenceDataRequest) Descriptor() ([]byte, []int)

Deprecated: Use ReferenceDataRequest.ProtoReflect.Descriptor instead.

func (*ReferenceDataRequest) ProtoMessage

func (*ReferenceDataRequest) ProtoMessage()

func (*ReferenceDataRequest) ProtoReflect

func (x *ReferenceDataRequest) ProtoReflect() protoreflect.Message

func (*ReferenceDataRequest) Reset

func (x *ReferenceDataRequest) Reset()

func (*ReferenceDataRequest) String

func (x *ReferenceDataRequest) String() string

type ReferenceDataResponse

type ReferenceDataResponse struct {

	// The types of charger
	ChargerTypes []*ChargerType `protobuf:"bytes,1,rep,name=charger_types,json=chargerTypes,proto3" json:"charger_types,omitempty"`
	// The types of connection
	ConnectionTypes []*ConnectionType `protobuf:"bytes,2,rep,name=connection_types,json=connectionTypes,proto3" json:"connection_types,omitempty"`
	// The types of current
	CurrentTypes []*CurrentType `protobuf:"bytes,3,rep,name=current_types,json=currentTypes,proto3" json:"current_types,omitempty"`
	// The countries
	Countries []*Country `protobuf:"bytes,4,rep,name=countries,proto3" json:"countries,omitempty"`
	// The providers of the charger data
	DataProviders []*DataProvider `protobuf:"bytes,5,rep,name=data_providers,json=dataProviders,proto3" json:"data_providers,omitempty"`
	// The companies operating the chargers
	Operators []*Operator `protobuf:"bytes,6,rep,name=operators,proto3" json:"operators,omitempty"`
	// The status of the charger
	StatusTypes []*StatusType `protobuf:"bytes,7,rep,name=status_types,json=statusTypes,proto3" json:"status_types,omitempty"`
	// The status of a submission
	SubmissionStatusTypes []*SubmissionStatusType `` /* 126-byte string literal not displayed */
	// The different types of usage
	UsageTypes []*UsageType `protobuf:"bytes,9,rep,name=usage_types,json=usageTypes,proto3" json:"usage_types,omitempty"`
	// The types of user comment
	UserCommentTypes []*UserCommentType `protobuf:"bytes,10,rep,name=user_comment_types,json=userCommentTypes,proto3" json:"user_comment_types,omitempty"`
	// The types of checkin status
	CheckinStatusTypes []*CheckinStatusType `protobuf:"bytes,11,rep,name=checkin_status_types,json=checkinStatusTypes,proto3" json:"checkin_status_types,omitempty"`
	// contains filtered or unexported fields
}

func (*ReferenceDataResponse) Descriptor deprecated

func (*ReferenceDataResponse) Descriptor() ([]byte, []int)

Deprecated: Use ReferenceDataResponse.ProtoReflect.Descriptor instead.

func (*ReferenceDataResponse) GetChargerTypes

func (x *ReferenceDataResponse) GetChargerTypes() []*ChargerType

func (*ReferenceDataResponse) GetCheckinStatusTypes

func (x *ReferenceDataResponse) GetCheckinStatusTypes() []*CheckinStatusType

func (*ReferenceDataResponse) GetConnectionTypes

func (x *ReferenceDataResponse) GetConnectionTypes() []*ConnectionType

func (*ReferenceDataResponse) GetCountries

func (x *ReferenceDataResponse) GetCountries() []*Country

func (*ReferenceDataResponse) GetCurrentTypes

func (x *ReferenceDataResponse) GetCurrentTypes() []*CurrentType

func (*ReferenceDataResponse) GetDataProviders

func (x *ReferenceDataResponse) GetDataProviders() []*DataProvider

func (*ReferenceDataResponse) GetOperators

func (x *ReferenceDataResponse) GetOperators() []*Operator

func (*ReferenceDataResponse) GetStatusTypes

func (x *ReferenceDataResponse) GetStatusTypes() []*StatusType

func (*ReferenceDataResponse) GetSubmissionStatusTypes

func (x *ReferenceDataResponse) GetSubmissionStatusTypes() []*SubmissionStatusType

func (*ReferenceDataResponse) GetUsageTypes

func (x *ReferenceDataResponse) GetUsageTypes() []*UsageType

func (*ReferenceDataResponse) GetUserCommentTypes

func (x *ReferenceDataResponse) GetUserCommentTypes() []*UserCommentType

func (*ReferenceDataResponse) ProtoMessage

func (*ReferenceDataResponse) ProtoMessage()

func (*ReferenceDataResponse) ProtoReflect

func (x *ReferenceDataResponse) ProtoReflect() protoreflect.Message

func (*ReferenceDataResponse) Reset

func (x *ReferenceDataResponse) Reset()

func (*ReferenceDataResponse) String

func (x *ReferenceDataResponse) String() string

type SearchRequest

type SearchRequest struct {

	// Coordinates from which to begin search
	Location *Coordinates `protobuf:"bytes,1,opt,name=location,proto3" json:"location,omitempty"`
	// Search distance from point in metres, defaults to 5000m
	Distance int64 `protobuf:"varint,2,opt,name=distance,proto3" json:"distance,omitempty"`
	// Bounding box to search within (top left and bottom right coordinates)
	Box *BoundingBox `protobuf:"bytes,3,opt,name=box,proto3" json:"box,omitempty"`
	// Maximum number of results to return, defaults to 100
	MaxResults int64 `protobuf:"varint,4,opt,name=max_results,json=maxResults,proto3" json:"max_results,omitempty"`
	// Country ID
	CountryId string `protobuf:"bytes,5,opt,name=country_id,json=countryId,proto3" json:"country_id,omitempty"`
	// IDs of the the EV charger operator
	Operators []string `protobuf:"bytes,6,rep,name=operators,proto3" json:"operators,omitempty"`
	// IDs of the connection type
	ConnectionTypes []string `protobuf:"bytes,7,rep,name=connection_types,json=connectionTypes,proto3" json:"connection_types,omitempty"`
	// Supported charging levels
	Levels []string `protobuf:"bytes,8,rep,name=levels,proto3" json:"levels,omitempty"`
	// Minimum power in KW. Note: data not available for many chargers
	MinPower int64 `protobuf:"varint,9,opt,name=min_power,json=minPower,proto3" json:"min_power,omitempty"`
	// Usage of the charge point (is it public, membership required, etc)
	UsageTypes []string `protobuf:"bytes,11,rep,name=usage_types,json=usageTypes,proto3" json:"usage_types,omitempty"`
	// contains filtered or unexported fields
}

Search by giving a coordinate and a max distance, or bounding box and optional filters

func (*SearchRequest) Descriptor deprecated

func (*SearchRequest) Descriptor() ([]byte, []int)

Deprecated: Use SearchRequest.ProtoReflect.Descriptor instead.

func (*SearchRequest) GetBox

func (x *SearchRequest) GetBox() *BoundingBox

func (*SearchRequest) GetConnectionTypes

func (x *SearchRequest) GetConnectionTypes() []string

func (*SearchRequest) GetCountryId

func (x *SearchRequest) GetCountryId() string

func (*SearchRequest) GetDistance

func (x *SearchRequest) GetDistance() int64

func (*SearchRequest) GetLevels

func (x *SearchRequest) GetLevels() []string

func (*SearchRequest) GetLocation

func (x *SearchRequest) GetLocation() *Coordinates

func (*SearchRequest) GetMaxResults

func (x *SearchRequest) GetMaxResults() int64

func (*SearchRequest) GetMinPower

func (x *SearchRequest) GetMinPower() int64

func (*SearchRequest) GetOperators

func (x *SearchRequest) GetOperators() []string

func (*SearchRequest) GetUsageTypes

func (x *SearchRequest) GetUsageTypes() []string

func (*SearchRequest) ProtoMessage

func (*SearchRequest) ProtoMessage()

func (*SearchRequest) ProtoReflect

func (x *SearchRequest) ProtoReflect() protoreflect.Message

func (*SearchRequest) Reset

func (x *SearchRequest) Reset()

func (*SearchRequest) String

func (x *SearchRequest) String() string

type SearchResponse

type SearchResponse struct {
	Pois []*Poi `protobuf:"bytes,1,rep,name=pois,proto3" json:"pois,omitempty"`
	// contains filtered or unexported fields
}

func (*SearchResponse) Descriptor deprecated

func (*SearchResponse) Descriptor() ([]byte, []int)

Deprecated: Use SearchResponse.ProtoReflect.Descriptor instead.

func (*SearchResponse) GetPois

func (x *SearchResponse) GetPois() []*Poi

func (*SearchResponse) ProtoMessage

func (*SearchResponse) ProtoMessage()

func (*SearchResponse) ProtoReflect

func (x *SearchResponse) ProtoReflect() protoreflect.Message

func (*SearchResponse) Reset

func (x *SearchResponse) Reset()

func (*SearchResponse) String

func (x *SearchResponse) String() string

type StatusType

type StatusType struct {
	Id            string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Title         string `protobuf:"bytes,2,opt,name=title,proto3" json:"title,omitempty"`
	IsOperational bool   `protobuf:"varint,3,opt,name=is_operational,json=isOperational,proto3" json:"is_operational,omitempty"`
	// contains filtered or unexported fields
}

func (*StatusType) Descriptor deprecated

func (*StatusType) Descriptor() ([]byte, []int)

Deprecated: Use StatusType.ProtoReflect.Descriptor instead.

func (*StatusType) GetId

func (x *StatusType) GetId() string

func (*StatusType) GetIsOperational

func (x *StatusType) GetIsOperational() bool

func (*StatusType) GetTitle

func (x *StatusType) GetTitle() string

func (*StatusType) ProtoMessage

func (*StatusType) ProtoMessage()

func (*StatusType) ProtoReflect

func (x *StatusType) ProtoReflect() protoreflect.Message

func (*StatusType) Reset

func (x *StatusType) Reset()

func (*StatusType) String

func (x *StatusType) String() string

type SubmissionStatusType

type SubmissionStatusType struct {
	Id     string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Title  string `protobuf:"bytes,2,opt,name=title,proto3" json:"title,omitempty"`
	IsLive bool   `protobuf:"varint,3,opt,name=is_live,json=isLive,proto3" json:"is_live,omitempty"`
	// contains filtered or unexported fields
}

func (*SubmissionStatusType) Descriptor deprecated

func (*SubmissionStatusType) Descriptor() ([]byte, []int)

Deprecated: Use SubmissionStatusType.ProtoReflect.Descriptor instead.

func (*SubmissionStatusType) GetId

func (x *SubmissionStatusType) GetId() string

func (*SubmissionStatusType) GetIsLive

func (x *SubmissionStatusType) GetIsLive() bool

func (*SubmissionStatusType) GetTitle

func (x *SubmissionStatusType) GetTitle() string

func (*SubmissionStatusType) ProtoMessage

func (*SubmissionStatusType) ProtoMessage()

func (*SubmissionStatusType) ProtoReflect

func (x *SubmissionStatusType) ProtoReflect() protoreflect.Message

func (*SubmissionStatusType) Reset

func (x *SubmissionStatusType) Reset()

func (*SubmissionStatusType) String

func (x *SubmissionStatusType) String() string

type UsageType

type UsageType struct {
	Id                   string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Title                string `protobuf:"bytes,2,opt,name=title,proto3" json:"title,omitempty"`
	IsPayAtLocation      bool   `protobuf:"varint,3,opt,name=is_pay_at_location,json=isPayAtLocation,proto3" json:"is_pay_at_location,omitempty"`
	IsMembershipRequired bool   `protobuf:"varint,4,opt,name=is_membership_required,json=isMembershipRequired,proto3" json:"is_membership_required,omitempty"`
	IsAccessKeyRequired  bool   `protobuf:"varint,5,opt,name=is_access_key_required,json=isAccessKeyRequired,proto3" json:"is_access_key_required,omitempty"`
	// contains filtered or unexported fields
}

func (*UsageType) Descriptor deprecated

func (*UsageType) Descriptor() ([]byte, []int)

Deprecated: Use UsageType.ProtoReflect.Descriptor instead.

func (*UsageType) GetId

func (x *UsageType) GetId() string

func (*UsageType) GetIsAccessKeyRequired

func (x *UsageType) GetIsAccessKeyRequired() bool

func (*UsageType) GetIsMembershipRequired

func (x *UsageType) GetIsMembershipRequired() bool

func (*UsageType) GetIsPayAtLocation

func (x *UsageType) GetIsPayAtLocation() bool

func (*UsageType) GetTitle

func (x *UsageType) GetTitle() string

func (*UsageType) ProtoMessage

func (*UsageType) ProtoMessage()

func (*UsageType) ProtoReflect

func (x *UsageType) ProtoReflect() protoreflect.Message

func (*UsageType) Reset

func (x *UsageType) Reset()

func (*UsageType) String

func (x *UsageType) String() string

type UserCommentType

type UserCommentType struct {
	Id    string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Title string `protobuf:"bytes,2,opt,name=title,proto3" json:"title,omitempty"`
	// contains filtered or unexported fields
}

func (*UserCommentType) Descriptor deprecated

func (*UserCommentType) Descriptor() ([]byte, []int)

Deprecated: Use UserCommentType.ProtoReflect.Descriptor instead.

func (*UserCommentType) GetId

func (x *UserCommentType) GetId() string

func (*UserCommentType) GetTitle

func (x *UserCommentType) GetTitle() string

func (*UserCommentType) ProtoMessage

func (*UserCommentType) ProtoMessage()

func (*UserCommentType) ProtoReflect

func (x *UserCommentType) ProtoReflect() protoreflect.Message

func (*UserCommentType) Reset

func (x *UserCommentType) Reset()

func (*UserCommentType) String

func (x *UserCommentType) String() string

Jump to

Keyboard shortcuts

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