Documentation ¶
Index ¶
- Constants
- type ApproveReviewCommand
- type ApproveReviewCommandHandler
- type ApproveReviewCommandResult
- type CreateDeviceDefinitionCommand
- type CreateDeviceDefinitionCommandHandler
- type CreateDeviceDefinitionCommandResult
- type CreateDeviceIntegrationCommand
- type CreateDeviceIntegrationCommandHandler
- type CreateDeviceIntegrationCommandResult
- type CreateDeviceMakeCommand
- type CreateDeviceMakeCommandHandler
- type CreateDeviceMakeCommandResult
- type CreateDeviceStyleCommand
- type CreateDeviceStyleCommandHandler
- type CreateDeviceStyleCommandResult
- type CreateDeviceTypeCommand
- type CreateDeviceTypeCommandHandler
- type CreateDeviceTypeCommandResult
- type CreateIntegrationCommand
- type CreateIntegrationCommandHandler
- type CreateIntegrationCommandResult
- type CreateIntegrationFeatureCommand
- type CreateIntegrationFeatureCommandHandler
- type CreateIntegrationFeatureCommandResult
- type CreateReviewCommand
- type CreateReviewCommandHandler
- type CreateReviewCommandResult
- type DeleteDeviceTypeCommand
- type DeleteDeviceTypeCommandHandler
- type DeleteDeviceTypeCommandResult
- type DeleteIntegrationFeatureCommand
- type DeleteIntegrationFeatureCommandHandler
- type DeleteIntegrationFeatureResult
- type DeleteReviewCommand
- type DeleteReviewCommandHandler
- type DeleteReviewCommandResult
- type NHTSARecallMetadata
- type SyncIPFSDataCommand
- type SyncIPFSDataCommandHandler
- type SyncIPFSDataCommandResult
- type SyncNHTSARecallsCommand
- type SyncNHTSARecallsCommandHandler
- type SyncNHTSARecallsCommandResult
- type SyncSearchDataCommand
- type SyncSearchDataCommandHandler
- type SyncSearchDataCommandResult
- type SyncSmartCartCompatibilityCommand
- type SyncSmartCartCompatibilityCommandHandler
- type SyncSmartCartCompatibilityCommandResult
- type SyncSmartCartForwardCompatibilityCommand
- type SyncSmartCartForwardCompatibilityCommandHandler
- type SyncSmartCartForwardCompatibilityCommandResult
- type SyncTeslaIntegrationCommand
- type SyncTeslaIntegrationCommandResult
- type SyncTestlaIntegrationCommandHandler
- type UpdateDeviceDefinitionCommand
- type UpdateDeviceDefinitionCommandHandler
- type UpdateDeviceDefinitionCommandResult
- type UpdateDeviceDefinitionImageCommand
- type UpdateDeviceDefinitionImageCommandHandler
- type UpdateDeviceDefinitionImageCommandResult
- type UpdateDeviceIntegrations
- type UpdateDeviceMakeCommand
- type UpdateDeviceMakeCommandHandler
- type UpdateDeviceMakeCommandResult
- type UpdateDeviceStyleCommand
- type UpdateDeviceStyleCommandHandler
- type UpdateDeviceStyleCommandResult
- type UpdateDeviceStyles
- type UpdateDeviceTypeCommand
- type UpdateDeviceTypeCommandHandler
- type UpdateDeviceTypeCommandResult
- type UpdateDeviceVehicleInfo
- type UpdateIntegrationFeatureCommand
- type UpdateIntegrationFeatureCommandHandler
- type UpdateIntegrationFeatureResult
- type UpdateReviewCommand
- type UpdateReviewCommandHandler
- type UpdateReviewCommandResult
Constants ¶
View Source
const NHTSARecallsMatchingVersion = "2022.10.20.0"
NHTSARecallsMatchingVersion is a YYYY.MM.DD.N version used for matching. Update this version if you change how matching works and existing matches will be rematched.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ApproveReviewCommand ¶ added in v0.4.0
type ApproveReviewCommand struct { ReviewID string `json:"review_id"` ApprovedBy string `json:"approved_by"` }
func (*ApproveReviewCommand) Key ¶ added in v0.4.0
func (*ApproveReviewCommand) Key() string
type ApproveReviewCommandHandler ¶ added in v0.4.0
type ApproveReviewCommandHandler struct {
DBS func() *db.ReaderWriter
}
func NewApproveReviewCommandHandler ¶ added in v0.4.0
func NewApproveReviewCommandHandler(dbs func() *db.ReaderWriter) ApproveReviewCommandHandler
type ApproveReviewCommandResult ¶ added in v0.4.0
type ApproveReviewCommandResult struct {
ID string `json:"id"`
}
type CreateDeviceDefinitionCommand ¶
type CreateDeviceDefinitionCommand struct { Source string `json:"source"` Make string `json:"make"` Model string `json:"model"` Year int `json:"year"` // DeviceTypeID comes from the device_types.id table, determines what kind of device this is, typically a vehicle DeviceTypeID string `json:"device_type_id"` // DeviceAttributes sets definition metadata eg. vehicle info. Allowed key/values are defined in device_types.properties DeviceAttributes []*coremodels.UpdateDeviceTypeAttribute `json:"deviceAttributes"` }
func (*CreateDeviceDefinitionCommand) Key ¶
func (*CreateDeviceDefinitionCommand) Key() string
type CreateDeviceDefinitionCommandHandler ¶
type CreateDeviceDefinitionCommandHandler struct { Repository repositories.DeviceDefinitionRepository DBS func() *db.ReaderWriter }
func NewCreateDeviceDefinitionCommandHandler ¶
func NewCreateDeviceDefinitionCommandHandler(repository repositories.DeviceDefinitionRepository, dbs func() *db.ReaderWriter) CreateDeviceDefinitionCommandHandler
type CreateDeviceDefinitionCommandResult ¶
type CreateDeviceDefinitionCommandResult struct {
ID string `json:"id"`
}
type CreateDeviceIntegrationCommand ¶
type CreateDeviceIntegrationCommand struct { DeviceDefinitionID string `json:"device_definition_id"` IntegrationID string `json:"integration_id"` Region string `json:"region"` }
func (*CreateDeviceIntegrationCommand) Key ¶
func (*CreateDeviceIntegrationCommand) Key() string
type CreateDeviceIntegrationCommandHandler ¶
type CreateDeviceIntegrationCommandHandler struct {
Repository repositories.DeviceIntegrationRepository
}
func NewCreateDeviceIntegrationCommandHandler ¶
func NewCreateDeviceIntegrationCommandHandler(repository repositories.DeviceIntegrationRepository) CreateDeviceIntegrationCommandHandler
type CreateDeviceIntegrationCommandResult ¶
type CreateDeviceIntegrationCommandResult struct {
ID string `json:"id"`
}
type CreateDeviceMakeCommand ¶ added in v0.1.26
func (*CreateDeviceMakeCommand) Key ¶ added in v0.1.26
func (*CreateDeviceMakeCommand) Key() string
type CreateDeviceMakeCommandHandler ¶ added in v0.1.26
type CreateDeviceMakeCommandHandler struct {
Repository repositories.DeviceMakeRepository
}
func NewCreateDeviceMakeCommandHandler ¶ added in v0.1.26
func NewCreateDeviceMakeCommandHandler(repository repositories.DeviceMakeRepository) CreateDeviceMakeCommandHandler
type CreateDeviceMakeCommandResult ¶ added in v0.1.26
type CreateDeviceMakeCommandResult struct {
ID string `json:"id"`
}
type CreateDeviceStyleCommand ¶ added in v0.1.11
type CreateDeviceStyleCommand struct { DeviceDefinitionID string `json:"device_definition_id"` Name string `json:"name"` ExternalStyleID string `json:"external_style_id"` Source string `json:"source"` SubModel string `json:"sub_model"` }
func (*CreateDeviceStyleCommand) Key ¶ added in v0.1.11
func (*CreateDeviceStyleCommand) Key() string
type CreateDeviceStyleCommandHandler ¶ added in v0.1.11
type CreateDeviceStyleCommandHandler struct {
// contains filtered or unexported fields
}
func NewCreateDeviceStyleCommandHandler ¶ added in v0.1.11
func NewCreateDeviceStyleCommandHandler(repository repositories.DeviceStyleRepository, cache services.DeviceDefinitionCacheService) CreateDeviceStyleCommandHandler
type CreateDeviceStyleCommandResult ¶ added in v0.1.11
type CreateDeviceStyleCommandResult struct {
ID string `json:"id"`
}
type CreateDeviceTypeCommand ¶ added in v0.2.3
func (*CreateDeviceTypeCommand) Key ¶ added in v0.2.3
func (*CreateDeviceTypeCommand) Key() string
type CreateDeviceTypeCommandHandler ¶ added in v0.2.3
type CreateDeviceTypeCommandHandler struct {
DBS func() *db.ReaderWriter
}
func NewCreateDeviceTypeCommandHandler ¶ added in v0.2.3
func NewCreateDeviceTypeCommandHandler(dbs func() *db.ReaderWriter) CreateDeviceTypeCommandHandler
type CreateDeviceTypeCommandResult ¶ added in v0.2.3
type CreateDeviceTypeCommandResult struct {
ID string `json:"id"`
}
type CreateIntegrationCommand ¶ added in v0.1.28
type CreateIntegrationCommand struct { Vendor string `json:"vendor"` Type string `json:"type"` Style string `json:"style"` }
func (*CreateIntegrationCommand) Key ¶ added in v0.1.28
func (*CreateIntegrationCommand) Key() string
type CreateIntegrationCommandHandler ¶ added in v0.1.28
type CreateIntegrationCommandHandler struct {
DBS func() *db.ReaderWriter
}
func NewCreateIntegrationCommandHandler ¶ added in v0.1.28
func NewCreateIntegrationCommandHandler(dbs func() *db.ReaderWriter) CreateIntegrationCommandHandler
type CreateIntegrationCommandResult ¶ added in v0.1.28
type CreateIntegrationCommandResult struct {
ID string `json:"id"`
}
type CreateIntegrationFeatureCommand ¶ added in v0.3.5
type CreateIntegrationFeatureCommand struct { ID string `json:"id"` ElasticProperty string `json:"elastic_property"` DisplayName string `json:"display_name"` CSSIcon string `json:"css_icon"` FeatureWeight float64 `json:"feature_weight"` }
func (*CreateIntegrationFeatureCommand) Key ¶ added in v0.3.5
func (*CreateIntegrationFeatureCommand) Key() string
type CreateIntegrationFeatureCommandHandler ¶ added in v0.3.5
type CreateIntegrationFeatureCommandHandler struct {
DBS func() *db.ReaderWriter
}
func NewCreateIntegrationFeatureCommandHandler ¶ added in v0.3.5
func NewCreateIntegrationFeatureCommandHandler(dbs func() *db.ReaderWriter) CreateIntegrationFeatureCommandHandler
type CreateIntegrationFeatureCommandResult ¶ added in v0.3.5
type CreateIntegrationFeatureCommandResult struct {
ID string `json:"id"`
}
type CreateReviewCommand ¶ added in v0.4.0
type CreateReviewCommand struct { DeviceDefinitionID string `json:"device_definition_id"` URL string `json:"url"` ImageURL string `json:"imageURL"` Channel string `json:"channel"` Comments string `json:"comments"` }
func (*CreateReviewCommand) Key ¶ added in v0.4.0
func (*CreateReviewCommand) Key() string
type CreateReviewCommandHandler ¶ added in v0.4.0
type CreateReviewCommandHandler struct {
DBS func() *db.ReaderWriter
}
func NewCreateReviewCommandHandler ¶ added in v0.4.0
func NewCreateReviewCommandHandler(dbs func() *db.ReaderWriter) CreateReviewCommandHandler
type CreateReviewCommandResult ¶ added in v0.4.0
type CreateReviewCommandResult struct {
ID string `json:"id"`
}
type DeleteDeviceTypeCommand ¶ added in v0.2.3
type DeleteDeviceTypeCommand struct {
ID string `json:"id"`
}
func (*DeleteDeviceTypeCommand) Key ¶ added in v0.2.3
func (*DeleteDeviceTypeCommand) Key() string
type DeleteDeviceTypeCommandHandler ¶ added in v0.2.3
type DeleteDeviceTypeCommandHandler struct {
DBS func() *db.ReaderWriter
}
func NewDeleteDeviceTypeCommandHandler ¶ added in v0.2.3
func NewDeleteDeviceTypeCommandHandler(dbs func() *db.ReaderWriter) DeleteDeviceTypeCommandHandler
type DeleteDeviceTypeCommandResult ¶ added in v0.2.3
type DeleteDeviceTypeCommandResult struct {
ID string `json:"id"`
}
type DeleteIntegrationFeatureCommand ¶ added in v0.3.5
type DeleteIntegrationFeatureCommand struct {
ID string `json:"id"`
}
func (*DeleteIntegrationFeatureCommand) Key ¶ added in v0.3.5
func (*DeleteIntegrationFeatureCommand) Key() string
type DeleteIntegrationFeatureCommandHandler ¶ added in v0.3.5
type DeleteIntegrationFeatureCommandHandler struct {
DBS func() *db.ReaderWriter
}
func NewDeleteIntegrationFeatureCommandHandler ¶ added in v0.3.5
func NewDeleteIntegrationFeatureCommandHandler(dbs func() *db.ReaderWriter) DeleteIntegrationFeatureCommandHandler
type DeleteIntegrationFeatureResult ¶ added in v0.3.5
type DeleteIntegrationFeatureResult struct {
ID string `json:"id"`
}
type DeleteReviewCommand ¶ added in v0.4.0
type DeleteReviewCommand struct {
ReviewID string `json:"review_id"`
}
func (*DeleteReviewCommand) Key ¶ added in v0.4.0
func (*DeleteReviewCommand) Key() string
type DeleteReviewCommandHandler ¶ added in v0.4.0
type DeleteReviewCommandHandler struct {
DBS func() *db.ReaderWriter
}
func NewDeleteReviewCommandHandler ¶ added in v0.4.0
func NewDeleteReviewCommandHandler(dbs func() *db.ReaderWriter) DeleteReviewCommandHandler
type DeleteReviewCommandResult ¶ added in v0.4.0
type DeleteReviewCommandResult struct {
ID string `json:"id"`
}
type NHTSARecallMetadata ¶ added in v0.2.4
type NHTSARecallMetadata struct { MatchingVersion string `json:"matchingVersion,omitempty"` MatchType string `json:"matchType,omitempty"` MatchedMake []string `json:"matchedMake,omitempty"` MatchedModel []string `json:"matchedModel,omitempty"` AdditionalData []string `json:"additionalData,omitempty"` }
type SyncIPFSDataCommand ¶
type SyncIPFSDataCommand struct { }
func (*SyncIPFSDataCommand) Key ¶
func (*SyncIPFSDataCommand) Key() string
type SyncIPFSDataCommandHandler ¶
type SyncIPFSDataCommandHandler struct { DBS func() *db.ReaderWriter IPFSEndpoint string }
func NewSyncIPFSDataCommandHandler ¶
func NewSyncIPFSDataCommandHandler(dbs func() *db.ReaderWriter, IPFSEndpoint string) SyncIPFSDataCommandHandler
type SyncIPFSDataCommandResult ¶
type SyncIPFSDataCommandResult struct { }
type SyncNHTSARecallsCommand ¶ added in v0.2.4
type SyncNHTSARecallsCommand struct { }
func (*SyncNHTSARecallsCommand) Key ¶ added in v0.2.4
func (*SyncNHTSARecallsCommand) Key() string
type SyncNHTSARecallsCommandHandler ¶ added in v0.2.4
type SyncNHTSARecallsCommandHandler struct {
// contains filtered or unexported fields
}
func NewSyncNHTSARecallsCommandHandler ¶ added in v0.2.4
func NewSyncNHTSARecallsCommandHandler(dbs func() *db.ReaderWriter, logger *zerolog.Logger, recallsRepo repositories.DeviceNHTSARecallsRepository, ddRepo repositories.DeviceDefinitionRepository, file *string) SyncNHTSARecallsCommandHandler
func (SyncNHTSARecallsCommandHandler) DownloadFileToTemp ¶ added in v0.2.4
func (ch SyncNHTSARecallsCommandHandler) DownloadFileToTemp(filename string, url string) (localpath *string, err error)
type SyncNHTSARecallsCommandResult ¶ added in v0.2.4
type SyncSearchDataCommand ¶
type SyncSearchDataCommand struct { }
func (*SyncSearchDataCommand) Key ¶
func (*SyncSearchDataCommand) Key() string
type SyncSearchDataCommandHandler ¶
type SyncSearchDataCommandHandler struct { DBS func() *db.ReaderWriter // contains filtered or unexported fields }
func NewSyncSearchDataCommandHandler ¶
func NewSyncSearchDataCommandHandler(dbs func() *db.ReaderWriter, esSvc elastic.SearchService, logger zerolog.Logger) SyncSearchDataCommandHandler
type SyncSearchDataCommandResult ¶
type SyncSearchDataCommandResult struct {
Status bool
}
type SyncSmartCartCompatibilityCommand ¶
type SyncSmartCartCompatibilityCommand struct { }
func (*SyncSmartCartCompatibilityCommand) Key ¶
func (*SyncSmartCartCompatibilityCommand) Key() string
type SyncSmartCartCompatibilityCommandHandler ¶
type SyncSmartCartCompatibilityCommandHandler struct { DBS func() *db.ReaderWriter Repository repositories.DeviceDefinitionRepository // contains filtered or unexported fields }
func NewSyncSmartCartCompatibilityCommandHandler ¶
func NewSyncSmartCartCompatibilityCommandHandler(dbs func() *db.ReaderWriter, scSvc gateways.SmartCarService, repository repositories.DeviceDefinitionRepository) SyncSmartCartCompatibilityCommandHandler
type SyncSmartCartCompatibilityCommandResult ¶
type SyncSmartCartCompatibilityCommandResult struct {
Status bool
}
type SyncSmartCartForwardCompatibilityCommand ¶
type SyncSmartCartForwardCompatibilityCommand struct { }
func (*SyncSmartCartForwardCompatibilityCommand) Key ¶
func (*SyncSmartCartForwardCompatibilityCommand) Key() string
type SyncSmartCartForwardCompatibilityCommandHandler ¶
type SyncSmartCartForwardCompatibilityCommandHandler struct { DBS func() *db.ReaderWriter Repository repositories.DeviceDefinitionRepository // contains filtered or unexported fields }
func NewSyncSmartCartForwardCompatibilityCommandHandler ¶
func NewSyncSmartCartForwardCompatibilityCommandHandler(dbs func() *db.ReaderWriter, scSvc gateways.SmartCarService, repository repositories.DeviceDefinitionRepository) SyncSmartCartForwardCompatibilityCommandHandler
type SyncSmartCartForwardCompatibilityCommandResult ¶
type SyncSmartCartForwardCompatibilityCommandResult struct {
Status bool
}
type SyncTeslaIntegrationCommand ¶ added in v0.1.17
type SyncTeslaIntegrationCommand struct { }
func (*SyncTeslaIntegrationCommand) Key ¶ added in v0.1.17
func (*SyncTeslaIntegrationCommand) Key() string
type SyncTeslaIntegrationCommandResult ¶ added in v0.1.17
type SyncTeslaIntegrationCommandResult struct {
Status bool
}
type SyncTestlaIntegrationCommandHandler ¶ added in v0.1.17
type SyncTestlaIntegrationCommandHandler struct { DBS func() *db.ReaderWriter // contains filtered or unexported fields }
func NewSyncTestlaIntegrationCommandHandler ¶ added in v0.1.17
func NewSyncTestlaIntegrationCommandHandler(dbs func() *db.ReaderWriter, log *zerolog.Logger) SyncTestlaIntegrationCommandHandler
type UpdateDeviceDefinitionCommand ¶
type UpdateDeviceDefinitionCommand struct { DeviceDefinitionID string `json:"deviceDefinitionId"` Source string `json:"source"` ExternalID string `json:"external_id"` ImageURL string `json:"image_url"` VehicleInfo *UpdateDeviceVehicleInfo Verified bool `json:"verified"` Model string `json:"model"` Year int16 `json:"year"` DeviceMakeID string `json:"device_make_id"` DeviceStyles []UpdateDeviceStyles `json:"deviceStyles"` DeviceIntegrations []UpdateDeviceIntegrations `json:"deviceIntegrations"` // DeviceTypeID comes from the device_types.id table, determines what kind of device this is, typically a vehicle DeviceTypeID string `json:"device_type_id"` // DeviceAttributes sets definition metadata eg. vehicle info. Allowed key/values are defined in device_types.properties DeviceAttributes []*coremodels.UpdateDeviceTypeAttribute `json:"deviceAttributes"` ExternalIds []*coremodels.ExternalID `json:"externalIds"` }
func (*UpdateDeviceDefinitionCommand) Key ¶
func (*UpdateDeviceDefinitionCommand) Key() string
func (*UpdateDeviceDefinitionCommand) Validate ¶ added in v0.3.4
func (udc *UpdateDeviceDefinitionCommand) Validate() error
Validate validates the contents of a UpdateDeviceDefinitionCommand
type UpdateDeviceDefinitionCommandHandler ¶
type UpdateDeviceDefinitionCommandHandler struct { Repository repositories.DeviceDefinitionRepository DBS func() *db.ReaderWriter DDCache services.DeviceDefinitionCacheService }
func NewUpdateDeviceDefinitionCommandHandler ¶
func NewUpdateDeviceDefinitionCommandHandler(repository repositories.DeviceDefinitionRepository, dbs func() *db.ReaderWriter, cache services.DeviceDefinitionCacheService) UpdateDeviceDefinitionCommandHandler
type UpdateDeviceDefinitionCommandResult ¶
type UpdateDeviceDefinitionCommandResult struct {
ID string `json:"id"`
}
type UpdateDeviceDefinitionImageCommand ¶ added in v0.1.6
type UpdateDeviceDefinitionImageCommand struct { DeviceDefinitionID string `json:"deviceDefinitionId"` ImageURL string `json:"image_url"` }
func (*UpdateDeviceDefinitionImageCommand) Key ¶ added in v0.1.6
func (*UpdateDeviceDefinitionImageCommand) Key() string
type UpdateDeviceDefinitionImageCommandHandler ¶ added in v0.1.6
type UpdateDeviceDefinitionImageCommandHandler struct { DBS func() *db.ReaderWriter DDCache services.DeviceDefinitionCacheService }
func NewUpdateDeviceDefinitionImageCommandHandler ¶ added in v0.1.6
func NewUpdateDeviceDefinitionImageCommandHandler(dbs func() *db.ReaderWriter, cache services.DeviceDefinitionCacheService) UpdateDeviceDefinitionImageCommandHandler
type UpdateDeviceDefinitionImageCommandResult ¶ added in v0.1.6
type UpdateDeviceDefinitionImageCommandResult struct {
ID string `json:"id"`
}
type UpdateDeviceIntegrations ¶ added in v0.1.11
type UpdateDeviceMakeCommand ¶ added in v0.1.38
type UpdateDeviceMakeCommand struct { ID string `json:"id"` Name string `json:"name"` LogoURL null.String `json:"logo_url"` OemPlatformName null.String `json:"oem_platform_name"` TokenID *big.Int `json:"tokenId,omitempty"` ExternalIds json.RawMessage `json:"external_ids"` }
func (*UpdateDeviceMakeCommand) Key ¶ added in v0.1.38
func (*UpdateDeviceMakeCommand) Key() string
type UpdateDeviceMakeCommandHandler ¶ added in v0.1.38
type UpdateDeviceMakeCommandHandler struct {
DBS func() *db.ReaderWriter
}
func NewUpdateDeviceMakeCommandHandler ¶ added in v0.1.38
func NewUpdateDeviceMakeCommandHandler(dbs func() *db.ReaderWriter) UpdateDeviceMakeCommandHandler
type UpdateDeviceMakeCommandResult ¶ added in v0.1.38
type UpdateDeviceMakeCommandResult struct {
ID string `json:"id"`
}
type UpdateDeviceStyleCommand ¶ added in v0.1.38
type UpdateDeviceStyleCommand struct { ID string `json:"id"` DeviceDefinitionID string `json:"device_definition_id"` Name string `json:"name"` ExternalStyleID string `json:"external_style_id"` Source string `json:"source"` SubModel string `json:"sub_model"` }
func (*UpdateDeviceStyleCommand) Key ¶ added in v0.1.38
func (*UpdateDeviceStyleCommand) Key() string
type UpdateDeviceStyleCommandHandler ¶ added in v0.1.38
type UpdateDeviceStyleCommandHandler struct {
DBS func() *db.ReaderWriter
}
func NewUpdateDeviceStyleCommandHandler ¶ added in v0.1.38
func NewUpdateDeviceStyleCommandHandler(dbs func() *db.ReaderWriter) UpdateDeviceStyleCommandHandler
type UpdateDeviceStyleCommandResult ¶ added in v0.1.38
type UpdateDeviceStyleCommandResult struct {
ID string `json:"id"`
}
type UpdateDeviceStyles ¶ added in v0.1.11
type UpdateDeviceTypeCommand ¶ added in v0.2.3
type UpdateDeviceTypeCommand struct { ID string `json:"id"` Name string `json:"name"` DeviceAttributes []*coremodels.CreateDeviceTypeAttribute `json:"deviceAttributes"` }
func (*UpdateDeviceTypeCommand) Key ¶ added in v0.2.3
func (*UpdateDeviceTypeCommand) Key() string
type UpdateDeviceTypeCommandHandler ¶ added in v0.2.3
type UpdateDeviceTypeCommandHandler struct {
DBS func() *db.ReaderWriter
}
func NewUpdateDeviceTypeCommandHandler ¶ added in v0.2.3
func NewUpdateDeviceTypeCommandHandler(dbs func() *db.ReaderWriter) UpdateDeviceTypeCommandHandler
type UpdateDeviceTypeCommandResult ¶ added in v0.2.3
type UpdateDeviceTypeCommandResult struct {
ID string `json:"id"`
}
type UpdateDeviceVehicleInfo ¶
type UpdateDeviceVehicleInfo struct { FuelType string `json:"fuel_type,omitempty"` DrivenWheels string `json:"driven_wheels,omitempty"` NumberOfDoors string `json:"number_of_doors,omitempty"` BaseMSRP int `json:"base_msrp,omitempty"` EPAClass string `json:"epa_class,omitempty"` VehicleType string `json:"vehicle_type,omitempty"` // VehicleType PASSENGER CAR, from NHTSA MPGHighway string `json:"mpg_highway,omitempty"` MPGCity string `json:"mpg_city,omitempty"` FuelTankCapacityGal string `json:"fuel_tank_capacity_gal,omitempty"` MPG string `json:"mpg,omitempty"` }
type UpdateIntegrationFeatureCommand ¶ added in v0.3.5
type UpdateIntegrationFeatureCommand struct { ID string `json:"id"` ElasticProperty string `json:"elastic_property"` DisplayName string `json:"display_name"` CSSIcon string `json:"css_icon"` FeatureWeight float64 `json:"feature_weight"` }
func (*UpdateIntegrationFeatureCommand) Key ¶ added in v0.3.5
func (*UpdateIntegrationFeatureCommand) Key() string
type UpdateIntegrationFeatureCommandHandler ¶ added in v0.3.5
type UpdateIntegrationFeatureCommandHandler struct {
DBS func() *db.ReaderWriter
}
func NewUpdateIntegrationFeatureCommandHandler ¶ added in v0.3.5
func NewUpdateIntegrationFeatureCommandHandler(dbs func() *db.ReaderWriter) UpdateIntegrationFeatureCommandHandler
type UpdateIntegrationFeatureResult ¶ added in v0.3.5
type UpdateIntegrationFeatureResult struct {
ID string `json:"id"`
}
type UpdateReviewCommand ¶ added in v0.4.0
type UpdateReviewCommand struct { ReviewID string `json:"review_id"` URL string `json:"url"` ImageURL string `json:"imageURL"` Channel string `json:"channel"` Comments string `json:"comments"` }
func (*UpdateReviewCommand) Key ¶ added in v0.4.0
func (*UpdateReviewCommand) Key() string
type UpdateReviewCommandHandler ¶ added in v0.4.0
type UpdateReviewCommandHandler struct {
DBS func() *db.ReaderWriter
}
func NewUpdateReviewCommandHandler ¶ added in v0.4.0
func NewUpdateReviewCommandHandler(dbs func() *db.ReaderWriter) UpdateReviewCommandHandler
type UpdateReviewCommandResult ¶ added in v0.4.0
type UpdateReviewCommandResult struct {
ID string `json:"id"`
}
Source Files ¶
- approve_review.go
- create_dd.go
- create_di.go
- create_dm.go
- create_ds.go
- create_dt.go
- create_in.go
- create_integration_feature.go
- create_review.go
- delete_dt.go
- delete_integration_feature.go
- delete_review.go
- nhtsa_recalls.go
- sync_dd_ipfs_data.go
- sync_dd_search_data.go
- sync_dd_smart_cart_compatibility.go
- sync_dd_smart_cart_forward_compatibilty_data.go
- sync_dd_tesla_integration.go
- update_dd.go
- update_dd_image.go
- update_dm.go
- update_ds.go
- update_dt.go
- update_integration_feature.go
- update_review.go
Click to show internal directories.
Click to hide internal directories.